WP Live Chat Support - Version 9.4.1

Version Description

  • 2021-11-03 =
  • Fixed issue on sound notification played even if it is disabled on settings.
  • Fixed issue on Operation Hours related to caching.
  • Fixed issue on Operating Hours in case that server is configured in +/- time zones more than 5.
  • Fixed issue on New Message shown when session terminated by the user.
  • Fixed issue on Phone Only mode in case that Allow Chat is disabled on PBX.
Download this release

Release Info

Developer wordpress3cx
Plugin Icon 128x128 WP Live Chat Support
Version 9.4.1
Comparing to
See all releases

Code changes from version 9.4.0 to 9.4.1

ajax/user.php CHANGED
@@ -42,6 +42,17 @@ add_action( 'wp_ajax_nopriv_wplc_get_general_info', 'wplc_get_general_info' );
42
 
43
  add_action( 'wp_ajax_nopriv_wplc_test', 'wplc_test' );
44
 
 
 
 
 
 
 
 
 
 
 
 
45
  function wplc_get_general_info() {
46
  // This function used to load general NOT protected information
47
  $wplc_settings = TCXSettings::getSettings();
@@ -53,25 +64,107 @@ function wplc_get_general_info() {
53
  $now_wp = current_time( 'timestamp' ); // unix timestamp adjusted to wp timezone, considering also DST
54
  $now = ( new DateTime( "now", new DateTimeZone( "UTC" ) ) )->getTimestamp(); // for sure UTC, no DST, bypassing PHP timezone configuration
55
  $skew = $now - $now_wp; // difference from wordpress time and UTC
56
- $now_day = gmdate( 'd', $now_wp );
57
  $now_month = gmdate( 'm', $now_wp );
58
  $now_year = gmdate( 'Y', $now_wp );
59
 
60
- // calculate time in UTC then add skew, so schedule in UTC timestamps
61
- for($day_of_week=0; $day_of_week<7; $day_of_week++) {
62
- if ( array_key_exists( $day_of_week, $wplc_settings->wplc_bh_schedule ) && is_array( $wplc_settings->wplc_bh_schedule[ $day_of_week ] ) ) {
63
- foreach ( $wplc_settings->wplc_bh_schedule[ $day_of_week ] as &$schedule ) {
64
- $t1 = $skew + gmmktime( $schedule['from']['h'], $schedule['from']['m'], 0, $now_month, $now_day, $now_year );
65
- $t2 = $skew + gmmktime( $schedule['to']['h'], $schedule['to']['m'], 59, $now_month, $now_day, $now_year );
66
- $schedule['from']['h'] = gmdate( 'H', $t1 );
67
- $schedule['from']['m'] = gmdate( 'i', $t1 );
68
- $schedule['to']['h'] = gmdate( 'H', $t2 );
69
- $schedule['to']['m'] = gmdate( 'i', $t2 );
70
- }
71
- }
72
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
 
74
- $result['businessSchedule'] = $wplc_settings->wplc_bh_schedule;
75
  }
76
  die( TCXChatAjaxResponse::success_ajax_respose( $result, ChatStatus::NOT_STARTED ) );
77
  }
42
 
43
  add_action( 'wp_ajax_nopriv_wplc_test', 'wplc_test' );
44
 
45
+ function wplc_construct_schedule_slot( $fromHour, $fromMinute, $toHour, $toMinute ){
46
+ $slot = new stdClass();
47
+ $slot->from = new stdClass();
48
+ $slot->from->h = $fromHour;
49
+ $slot->from->m = $fromMinute;
50
+ $slot->to = new stdClass();
51
+ $slot->to->h = $toHour;
52
+ $slot->to->m = $toMinute;
53
+ return $slot;
54
+ }
55
+
56
  function wplc_get_general_info() {
57
  // This function used to load general NOT protected information
58
  $wplc_settings = TCXSettings::getSettings();
64
  $now_wp = current_time( 'timestamp' ); // unix timestamp adjusted to wp timezone, considering also DST
65
  $now = ( new DateTime( "now", new DateTimeZone( "UTC" ) ) )->getTimestamp(); // for sure UTC, no DST, bypassing PHP timezone configuration
66
  $skew = $now - $now_wp; // difference from wordpress time and UTC
67
+ $now_month_day = gmdate( 'd', $now_wp );
68
  $now_month = gmdate( 'm', $now_wp );
69
  $now_year = gmdate( 'Y', $now_wp );
70
 
71
+ //initialize slots ==> week array with an array of slots for each day
72
+ $computedScheduleSlots = array_fill(0, 7, array());
73
+
74
+ $schedule = $wplc_settings->wplc_bh_schedule;
75
+ for($day_of_week=0; $day_of_week<7; $day_of_week++) {
76
+ if ( array_key_exists( $day_of_week, $wplc_settings->wplc_bh_schedule ) && is_array( $wplc_settings->wplc_bh_schedule[ $day_of_week ] ) ) {
77
+ $day_schedule = $schedule[$day_of_week];
78
+ $previousWeekDay = ($day_of_week - 1) < 0 ? 6 : ($day_of_week - 1);
79
+ $nextWeekDay = ($day_of_week + 1) > 6 ? 0 : ($day_of_week + 1);
80
+
81
+ for($slotIndex=0; $slotIndex<count($day_schedule); $slotIndex++) {
82
+ $slot = $day_schedule[$slotIndex];
83
+
84
+ // Current time slot details
85
+ $fromCurrentTime = gmmktime( $slot['from']['h'], $slot['from']['m'], 0, $now_month, $now_month_day, $now_year );
86
+ $fromCurrentWeekDay = gmdate( 'w', $fromCurrentTime );
87
+ $toCurrentTime = gmmktime( $slot['to']['h'], $slot['to']['m'], 59, $now_month, $now_month_day, $now_year );
88
+ $toCurrentWeekDay = gmdate( 'w', $toCurrentTime );
89
+
90
+ // UTC slot details
91
+ $fromUtcTime = $skew + $fromCurrentTime;
92
+ $fromUtcWeekDay = gmdate( 'w', $fromUtcTime );
93
+ $toUtcTime = $skew + $toCurrentTime;
94
+ $toUtcWeekDay = gmdate( 'w', $toUtcTime );
95
+
96
+ // case 1 --> shifted slot spans fully to previous week day
97
+ if($fromUtcWeekDay < $fromCurrentWeekDay && $toUtcWeekDay < $toCurrentWeekDay) {
98
+ $slotUTC = wplc_construct_schedule_slot(
99
+ gmdate( 'H', $fromUtcTime ),
100
+ gmdate( 'i', $fromUtcTime ),
101
+ gmdate( 'H', $toUtcTime ),
102
+ gmdate( 'i', $toUtcTime )
103
+ );
104
+ array_push($computedScheduleSlots[$previousWeekDay],$slotUTC);
105
+ }
106
+ //case 2 --> shifted slot is split to previous and current week day
107
+ else if($fromUtcWeekDay < $fromCurrentWeekDay && $toUtcWeekDay == $toCurrentWeekDay) {
108
+ $slotInPreviousDayUTC = wplc_construct_schedule_slot(
109
+ gmdate( 'H', $fromUtcTime ),
110
+ gmdate( 'i', $fromUtcTime ),
111
+ '23',
112
+ '59'
113
+ );
114
+ array_push($computedScheduleSlots[$previousWeekDay],$slotInPreviousDayUTC);
115
+
116
+ $slotInCurrentDayUTC = wplc_construct_schedule_slot(
117
+ '00',
118
+ '00',
119
+ gmdate( 'H', $toUtcTime ),
120
+ gmdate( 'i', $toUtcTime )
121
+ );
122
+ array_push($computedScheduleSlots[$day_of_week],$slotInCurrentDayUTC);
123
+ }
124
+ // case 3 --> shifted slot spans fully to next week day
125
+ else if($fromUtcWeekDay > $fromCurrentWeekDay && $toUtcWeekDay > $toCurrentWeekDay) {
126
+ $slotUTC = wplc_construct_schedule_slot(
127
+ gmdate( 'H', $fromUtcTime ),
128
+ gmdate( 'i', $fromUtcTime ),
129
+ gmdate( 'H', $toUtcTime ),
130
+ gmdate( 'i', $toUtcTime )
131
+ );
132
+ array_push($computedScheduleSlots[$nextWeekDay],$slotUTC);
133
+ }
134
+ //case 4 --> shifted slot is split to current and next week day
135
+ else if($fromUtcWeekDay == $fromCurrentWeekDay && $toUtcWeekDay > $toCurrentWeekDay) {
136
+ $slotInCurrentDayUTC = wplc_construct_schedule_slot(
137
+ gmdate( 'H', $fromUtcTime ),
138
+ gmdate( 'i', $fromUtcTime ),
139
+ '23',
140
+ '59'
141
+ );
142
+ array_push($computedScheduleSlots[$day_of_week],$slotInCurrentDayUTC);
143
+
144
+ $slotInNextDayUTC = wplc_construct_schedule_slot(
145
+ '00',
146
+ '00',
147
+ gmdate( 'H', $toUtcTime ),
148
+ gmdate( 'i', $toUtcTime )
149
+ );
150
+ array_push($computedScheduleSlots[$nextWeekDay],$slotInNextDayUTC);
151
+ }
152
+ // case 5 (normal) --> shifted slot spans within the current day
153
+ // newFrom.day === slot.from.day && newTo.day === slot.to.day
154
+ else {
155
+ $slotUTC = wplc_construct_schedule_slot(
156
+ gmdate( 'H', $fromUtcTime ),
157
+ gmdate( 'i', $fromUtcTime ),
158
+ gmdate( 'H', $toUtcTime ),
159
+ gmdate( 'i', $toUtcTime )
160
+ );
161
+ array_push($computedScheduleSlots[$day_of_week],$slotUTC);
162
+ }
163
+ }
164
+ }
165
+ }
166
 
167
+ $result['businessSchedule'] = $computedScheduleSlots;
168
  }
169
  die( TCXChatAjaxResponse::success_ajax_respose( $result, ChatStatus::NOT_STARTED ) );
170
  }
changelog.txt CHANGED
@@ -1,4 +1,11 @@
1
- = 9.4.0 - 2021-09-24 =
 
 
 
 
 
 
 
2
  * Improved file attachment handling for agent/visitor.
3
  * Fixed Gutenberg block functionality.
4
  * Improved agent's chat page user interface.
@@ -104,7 +111,7 @@
104
  * Added the ability to configure the profile picture prior taking ownership.
105
  * Improved “Chat Operating Hours” configuration page.
106
  * Fixed drop-downs to be of the same width.
107
- * Added support for Automated first response for “3CX” mode.
108
 
109
  = 9.1.2 - 2020-11-18 =
110
  * Hot Fix settings validation when on Hosted Mode
@@ -231,10 +238,10 @@
231
 
232
  = 9.0.5 - 2020-07-22 =
233
  * Fix bug responsible for faulty roles migration from older version.
234
- * Fix chat list rendering on agent online - offline toggle.
235
 
236
  = 9.0.4 - 2020-07-21 =
237
- * Fix UTF8 characters on settings.
238
  * Fix bug on ajax calls due to trailing slash.
239
  * Fix bug on received files load on chat client.
240
  * Added missing functions prefix to isolate them from external calls.
@@ -361,7 +368,7 @@
361
 
362
  = 8.1.0 - 2019-10-15 =
363
  * "Request a new chat" now ends user's session
364
- * "The chat has been ended by the operator" Changed to: "The chat has been ended by the agent".
365
  * 'Play a sound when there is a new visitor' is now enabled by default on new installations.
366
  * Added IP to Chat History page
367
  * Added Ukraine Language files (Thanks to Volodymyr Kryvutsa)
@@ -448,7 +455,7 @@
448
  * Disabled google analytics for now
449
  * Disabled possibility for an agent to chat to himself
450
  * Don't send a request to get_messages rest-api endpoint if the chat is not active
451
- * Doubled timeout for long poll
452
  * Ensure default theme is selected for new installations
453
  * Ensured desktop notifications include new notification icon
454
  * Escape Quick Responses in admin area
@@ -486,7 +493,7 @@
486
  * Fixed a bug with the 'Send Message' offline button styling, did not respect color scheme selection
487
  * Fixed alignment issues with Facebook and Twitter icons
488
  * Fixed all broken translation strings (html inside, spaces, slashed, untrimmed, etc)
489
- * Fixed an agent translation error
490
  * Fixed an issue where a chat ended by 1 agent would not appear ended/finished nor disappear for other logged in agents. Partial workaround for the moment, need full re-design.
491
  * Fixed an issue where periodic websocket messages would sometimes cause ended chats to re-open as ghost chats.
492
  * Fixed an issue where sometimes 2 chat transcripts would be sent at the end of a chat conversation on both onpremise and 3CX Chat server mode.
@@ -545,7 +552,7 @@
545
  * Forced wplc_newtheme to 'theme-2'
546
  * Fourth batch wp_localize_script fixed
547
  * Function wplc_first_run_check now empty, removing
548
- * Functions.php line 16, 'user_agent' => $_SERVER['HTTP_USER_AGENT'] added sanitize_text_field()
549
  * GDPR Label renamed to "GDPR Control"
550
  * GRPR page styling fixes
551
  * Hide roi reports tab for chat server due to issues related to functionality of
@@ -715,7 +722,7 @@
715
  * Fixed issues with event logging
716
  * Added auto responder first message storage
717
  * Fixed styling issues with system notifications
718
- * Restructured chat input tools
719
  * Restyled styling for chat input tools
720
  * Fixed issues with emoji popup container placement
721
  * Changed custom color scheme selector title
@@ -753,7 +760,7 @@
753
  * Changed session handling when user ends chats
754
  * Overall improvements to chat session handling
755
  * Fixed styling issues with settings tooltips
756
- * Fixed issues with editing custom fields
757
  * Added default field name to custom field dropdown as 'first choice'
758
  * Changed position of visitor avatar in dashboard
759
  * Added check for if minute value is less than 10 - Active visitor row in dashboard
@@ -790,7 +797,7 @@
790
  * Fixed bug where empty social and redirects links were not allowed
791
  * Fixed bug with scrollable region becoming visible in firefox in some instances
792
  * Fixed issue with attachment stacking in agent dashboard
793
- * Added click to open for image attachments
794
  * Added scroll support to message input on frontend
795
  * Fixed missing pointer cursors on front end chat controls
796
  * Standardized size of in chat controls
@@ -809,7 +816,7 @@
809
  * Changed auto end chats to only notify visitor that the agent has left
810
  * Fixed issues with tagline being sent twice in some cases
811
  * Removed involved agents when user restarts chats
812
- * Clear chatbox when user restarts chat
813
  * Changed structure of lifetime tracking
814
  * Fixed history processing issue
815
  * Made changes to agent satisfaction reporting
@@ -832,10 +839,10 @@
832
  * Added code to show the confirm button in dialogs by default
833
  * Improved message deserialization
834
  * Added code to rebuild header when agent rejoins after going offline
835
- * Removed code which disables transcript once
836
  * Improved participant tracking
837
  * Added code to remove the 'restart chat' button on frontend if agent reaches out again
838
- * Added auto join on invite accepted
839
  * Fixed bug where switching an agent to offline mode would cause agent counter to behave unexpectedly
840
  * Improvements to join event control
841
  * Fixed bug where one agent initiates a chat, but all agents are added to the chat involved list
@@ -892,10 +899,10 @@
892
  * Removed setting to disable remote servers
893
  * Removed local encryption functionality, every chat message is using HTTPS secure connection
894
  * Removed AES and CryptoHelpers as these are no longer used
895
- * Removed manual inclusion of SMTP and PHPMailer
896
  * Removed mail type setting, along with SMTP options
897
 
898
- = 8.0.30 - 2019-05-20 - High priority =
899
  * Security revision, code updated with latest security best practices
900
  * Removed all external dependencies
901
  * Nonce fields and URLs added to actions within admin area
@@ -911,12 +918,12 @@
911
  * Fixed bug in wplc_choose.js where duplicate Switchery toggles were generated
912
  * Changed position/style of Online/Offline toggle
913
  * Changed loading of wplc_node.js file on the frontend to use wp_enqueue_script
914
- * Deprecated 'wplc_submit_find_us' handler as this is no longer in use
915
  * Removed any reference to Pro version
916
  * Replaced all CURL requests with WordPress HTTP API requests
917
  * Removed hardocded media.tenor image reference (loading graphic in GIF integration)
918
- * Replaced all 'esc_' calls with respective WordPress sanitization calls
919
- * Added sanitization to all $_GET and $_POST variable to prevent any injection or storage of unsafe values
920
  * Deprecated 'wplc_api_call_to_server_visitor' REST endpoint as it was not in use and made use of session data
921
  * Removed AJAX use of 'ob_start' to improve performance
922
  * Added checks to prevent direct file access.
@@ -934,14 +941,14 @@
934
  * Minor changes in the admin menu names/slugs
935
  * Fixed styling issue in Triggers content replacement editor
936
  * Fixed various PHP warnings/notices
937
- * Removed the option to download/delete chats from the front-end
938
  * Fixed an issue where Document Suggestions would appear twice
939
  * Updated/synchronised translation files
940
  * Improved security for js configuration
941
  * Fixed XSS attack in GDPR page
942
  * Security Patch: Added save settings nonce field and processing to prevent remote access. Resolves potential Cross Site Scripting attacks. Thanks to John Castro (Sucuri.net)
943
  * Improved file upload extension validation
944
-
945
  = 8.0.26 - 2019-04-04 - Medium priority =
946
  * Added 16 more servers
947
  * Improved server selection code
@@ -1024,7 +1031,7 @@
1024
  * Updated EL translation files. Thanks to Ioannis Barkouzos
1025
  * Updated FR translation files. Thanks to Freitas Junior
1026
  * Updated IT translation files. Thanks to Carlo Piazzano
1027
- * Updated AR translation files.
1028
 
1029
  = 8.0.14 - 2018-07-19 - Medium priority =
1030
  * Removed 'let' from wplc_server.js file (Adds Safari compatibility)
@@ -1110,7 +1117,7 @@
1110
  = 8.0.02 - 2018-01-29 =
1111
  * Fixed a PHP warning
1112
  * Modified rest_url filter to no longer use anonymous function
1113
- * Fixed styling conflicts between our settings and other pages in WordPress admin
1114
  * Fixed issues with file uploads (Bleeper core)
1115
  * Fixed hints in settings area
1116
  * Fixed links in chat bubbles not being clearly visible
@@ -1149,7 +1156,7 @@
1149
 
1150
  = 7.1.07 - 2017-11-06 - High priority =
1151
  * Patched a security exploit found by James @ Pritect, Inc. Thank you James!
1152
-
1153
  = 7.1.06 - 2017-09-27 - Low priority =
1154
  * Fixed a bug that stopped agents from deleting offline messages
1155
 
@@ -1183,9 +1190,9 @@
1183
  * Fixed a bug with the listing of all missed chats
1184
  * Fixed a bug that sent pings to the node server when it was not necessary, causing an overload of the node server
1185
  * Fixed a bug that did not allow you to view the chat history of a missed chat
1186
- * Fixed a bug that caused the 'display name' and 'display avatar' to behave erratically
1187
  * Fixed a bug that caused the time and date display functionality to behave erratically
1188
- * Fixed a bug that caused a JavaScript error on the admin chat dashboard when a single visitor leaves the site
1189
  * Fixed a bug that caused the chat widow to appear before the chat circle when engaged in a chat and moving from page to page
1190
  * The visitor can now restart any chat that has been ended by an agent
1191
  * You can now customize the text "The chat has been ended by the operator"
@@ -1219,7 +1226,7 @@
1219
  * Bug Fix: Compatibility bug fix for decryption in the Pro version
1220
 
1221
  = 7.0.05 - 2017-03-01 - Low priority =
1222
- * Fixed broken links on the plugins page
1223
 
1224
  = 7.0.04 - 2017-02-15 =
1225
  * Fixed a bug that caused messages to be returned encoded after refreshing the page
@@ -1260,7 +1267,7 @@
1260
  * Integrated with Contact Form Ready to allow for custom forms to be used for the offline message form
1261
  * Google Analytics Integration
1262
  * Ability to change the subject of the offline message
1263
- * Ability to add custom CSS and JavaScript in the settings page
1264
 
1265
  = 6.2.11 - 2016-10-27 - Medium Priority =
1266
  * Fixed a bug that caused issues with the User JS file when being minified
@@ -1289,8 +1296,8 @@
1289
  * Fixed a bug that caused a fatal error on older PHP version
1290
 
1291
  = 6.2.06 - 2016-09-15 - Medium priority =
1292
- * Added Rest API functionality (Accept chat, end chat, get messages, send message, get sessions)
1293
- * Added 'Device' type logging to live chat dashboard area.
1294
  * Minified User Side JavaScript
1295
  * Added Connection Handling (user), which will now retry to establish connection upon fail
1296
  * Added Connection Handling (admin), which will retry to establish connection upon fail
@@ -1306,7 +1313,7 @@
1306
  * Ability to delete individual Chats from History
1307
  * Minor Styling Conflicts Resolved
1308
  * Fixed the bug that caused "start chat" to be added to the button in the live chat box when offline
1309
- * Fixed a bug that showed slashes when apostrophes were used
1310
  * Added various filters/actions for use in Pro
1311
  * Added ability to open chat box using an elements ID/Class (Click/Hover)
1312
 
@@ -1433,7 +1440,7 @@
1433
  * wplc_hook_admin_visitor_info_display_after - Allows you to add HTML at the end of the vistior details DIV in the live chat window
1434
  * wplc_hook_admin_javascript_chat - Allows you to add Javascript enqueues at the end of the javascript section of the live chat window
1435
  * wplc_hook_admin_settings_main_settings_after - Allows you to add more options to the main chat settings table in the settings page, after the first main table
1436
- * wplc_hook_admin_settings_save - Hook into the save settings head section. i.e. where we handle POST data from the live chat settings page
1437
 
1438
  = 5.0.7 - 2015-10-06 - Low priority =
1439
  * Added a live chat extension page
@@ -1469,7 +1476,7 @@
1469
  * The live chat long poll connection will not automatically reinitialize if the connection times out or returns a 5xx error
1470
 
1471
  = 5.0.0 - Doppio Update - 2015-07-29 - Medium Priority =
1472
- * New, modern chat dashboard
1473
  * Better user handling (chat long polling)
1474
  * Added a welcome page to the live chat dashboard
1475
  * The live hat dashboard is now fully responsive
@@ -1519,7 +1526,7 @@
1519
  * Finnish (Thank you Arttu Piipponen)
1520
  * Translations Updated:
1521
  * French (Thank you Marcello Cavalucci)
1522
- * Dutch (Thank you Niek Groot Bleumink)
1523
  * Bug Fix: Exclude Functionality (Pro)
1524
 
1525
  = 4.3.0 2015-04-13 - Low Priority =
@@ -1529,7 +1536,7 @@
1529
  * New Feature: Functionality added in to handle Chat Experience Ratings (Premium Add-on)
1530
 
1531
  = 4.2.12 2015-03-24 - Low Priority =
1532
- * Bug Fix: Warning to update showing erroneously
1533
 
1534
  = 4.2.11 2015-03-23 - Low Priority =
1535
  * Bug Fix: Bug in the banned user functionality
@@ -1544,9 +1551,9 @@
1544
  * Bug Fix: Including and Excluding the chat window caused issues on some websites
1545
  * Bug Fix: Online/Offline Toggle Switch did not work in some browsers (Pro)
1546
  * New Feature: You can now Ban visitors from chatting with you based on IP Address (Pro)
1547
- * New Feature: You can now choose if you want users to make themselves an agent (Pro)
1548
- * Bug Fix: Chat window would not hide when selecting the option to not accept offline messages (Pro)
1549
- * Enhancement: Support page added
1550
  * Updated Translations:
1551
  * French (Thank you Marcello Cavallucci)
1552
  * New Translations added:
@@ -1565,7 +1572,7 @@
1565
  * Enhancement: Aesthetic Improvement to list of agents (Pro)
1566
  * Code Improvement: PHP error fixed
1567
  * Updated Translations:
1568
- * German (Thank you Dennis Klinger)
1569
 
1570
  = 4.2.7 2015-02-10 - Low Priority =
1571
  * New Live Chat Translation added:
@@ -1574,7 +1581,7 @@
1574
  = 4.2.6 2015-01-29 - Low Priority =
1575
  * New feature: Live Chat dashboard has a new layout and design
1576
  * Code Improvement: jQuery Cookie updated to the latest version
1577
- * Code Improvement: More Live Chat strings are now translatable
1578
  * New Live Chat Translation added:
1579
  * Spanish (Thank you Ana Ayelen Martinez)
1580
 
@@ -1586,14 +1593,14 @@
1586
  * Updated Translations:
1587
  * Italian (Thank You Angelo Giammarresi)
1588
 
1589
- = 4.2.4 2014-12-17 - Low Priority =
1590
  * New feature: The live chat window can be hidden when offline (Pro only)
1591
  * New feature: Desktop notifications added
1592
  * Bug fix: Email address gave false validation error when not it was required.
1593
  * Translations Added:
1594
  * Dutch (Thank you Elsy Aelvoet)
1595
 
1596
- = 4.2.3 2014-12-11 - Low Priority =
1597
  * Updated Translations:
1598
  * French (Thank you Marcello Cavallucci)
1599
  * Italian (Thank You Angelo Giammarresi)
@@ -1624,7 +1631,7 @@
1624
  * New Pro Feature: You can now include or exclude the live chat window on certain pages
1625
 
1626
  = 4.1.9 2014-10-10 - Low priority =
1627
- * Bug fix: Mobile Detect class caused an error if it existed in another plugin or theme. A check has been put in place.
1628
 
1629
  = 4.1.8 2014-10-08 - Low priority =
1630
  * New feature: There is now an option if you do not require the user to input their name and email address before sending a chat request
@@ -1675,7 +1682,7 @@
1675
  = 4.0.1 =
1676
  * Fixed a bug (missing function)
1677
 
1678
- = 4.0.0 =
1679
  * Overhauled the live chat Ajax calls to be less resource intensive
1680
  * Fixed many localization strings
1681
  * Added Feedback Page
@@ -1702,7 +1709,7 @@
1702
 
1703
  = 3.05 =
1704
 
1705
- * Low priority update
1706
 
1707
  = 3.04 =
1708
 
@@ -1723,7 +1730,7 @@
1723
 
1724
  = 3.02 =
1725
 
1726
- * Fixed CSS Box Border Issue
1727
 
1728
  = 3.01 =
1729
 
@@ -1785,4 +1792,4 @@
1785
  * More text fields can be customized
1786
 
1787
  = 1.0 =
1788
- * Launch!
1
+ = 9.4.1 - 2021-11-03 =
2
+ * Fixed issue on sound notification played even if it is disabled on settings.
3
+ * Fixed issue on Operation Hours related to caching.
4
+ * Fixed issue on Operating Hours in case that server is configured in +/- time zones more than 5.
5
+ * Fixed issue on “New Message” shown when session terminated by the user.
6
+ * Fixed issue on “Phone Only” mode in case that “Allow Chat” is disabled on PBX.
7
+
8
+ = 9.4.0 - 2021-08-06 =
9
  * Improved file attachment handling for agent/visitor.
10
  * Fixed Gutenberg block functionality.
11
  * Improved agent's chat page user interface.
111
  * Added the ability to configure the profile picture prior taking ownership.
112
  * Improved “Chat Operating Hours” configuration page.
113
  * Fixed drop-downs to be of the same width.
114
+ * Added support for Automated first response for “3CX” mode.
115
 
116
  = 9.1.2 - 2020-11-18 =
117
  * Hot Fix settings validation when on Hosted Mode
238
 
239
  = 9.0.5 - 2020-07-22 =
240
  * Fix bug responsible for faulty roles migration from older version.
241
+ * Fix chat list rendering on agent online - offline toggle.
242
 
243
  = 9.0.4 - 2020-07-21 =
244
+ * Fix UTF8 characters on settings.
245
  * Fix bug on ajax calls due to trailing slash.
246
  * Fix bug on received files load on chat client.
247
  * Added missing functions prefix to isolate them from external calls.
368
 
369
  = 8.1.0 - 2019-10-15 =
370
  * "Request a new chat" now ends user's session
371
+ * "The chat has been ended by the operator" Changed to: "The chat has been ended by the agent".
372
  * 'Play a sound when there is a new visitor' is now enabled by default on new installations.
373
  * Added IP to Chat History page
374
  * Added Ukraine Language files (Thanks to Volodymyr Kryvutsa)
455
  * Disabled google analytics for now
456
  * Disabled possibility for an agent to chat to himself
457
  * Don't send a request to get_messages rest-api endpoint if the chat is not active
458
+ * Doubled timeout for long poll
459
  * Ensure default theme is selected for new installations
460
  * Ensured desktop notifications include new notification icon
461
  * Escape Quick Responses in admin area
493
  * Fixed a bug with the 'Send Message' offline button styling, did not respect color scheme selection
494
  * Fixed alignment issues with Facebook and Twitter icons
495
  * Fixed all broken translation strings (html inside, spaces, slashed, untrimmed, etc)
496
+ * Fixed an agent translation error
497
  * Fixed an issue where a chat ended by 1 agent would not appear ended/finished nor disappear for other logged in agents. Partial workaround for the moment, need full re-design.
498
  * Fixed an issue where periodic websocket messages would sometimes cause ended chats to re-open as ghost chats.
499
  * Fixed an issue where sometimes 2 chat transcripts would be sent at the end of a chat conversation on both onpremise and 3CX Chat server mode.
552
  * Forced wplc_newtheme to 'theme-2'
553
  * Fourth batch wp_localize_script fixed
554
  * Function wplc_first_run_check now empty, removing
555
+ * Functions.php line 16, 'user_agent' => $_SERVER['HTTP_USER_AGENT'] added sanitize_text_field()
556
  * GDPR Label renamed to "GDPR Control"
557
  * GRPR page styling fixes
558
  * Hide roi reports tab for chat server due to issues related to functionality of
722
  * Fixed issues with event logging
723
  * Added auto responder first message storage
724
  * Fixed styling issues with system notifications
725
+ * Restructured chat input tools
726
  * Restyled styling for chat input tools
727
  * Fixed issues with emoji popup container placement
728
  * Changed custom color scheme selector title
760
  * Changed session handling when user ends chats
761
  * Overall improvements to chat session handling
762
  * Fixed styling issues with settings tooltips
763
+ * Fixed issues with editing custom fields
764
  * Added default field name to custom field dropdown as 'first choice'
765
  * Changed position of visitor avatar in dashboard
766
  * Added check for if minute value is less than 10 - Active visitor row in dashboard
797
  * Fixed bug where empty social and redirects links were not allowed
798
  * Fixed bug with scrollable region becoming visible in firefox in some instances
799
  * Fixed issue with attachment stacking in agent dashboard
800
+ * Added click to open for image attachments
801
  * Added scroll support to message input on frontend
802
  * Fixed missing pointer cursors on front end chat controls
803
  * Standardized size of in chat controls
816
  * Changed auto end chats to only notify visitor that the agent has left
817
  * Fixed issues with tagline being sent twice in some cases
818
  * Removed involved agents when user restarts chats
819
+ * Clear chatbox when user restarts chat
820
  * Changed structure of lifetime tracking
821
  * Fixed history processing issue
822
  * Made changes to agent satisfaction reporting
839
  * Added code to show the confirm button in dialogs by default
840
  * Improved message deserialization
841
  * Added code to rebuild header when agent rejoins after going offline
842
+ * Removed code which disables transcript once
843
  * Improved participant tracking
844
  * Added code to remove the 'restart chat' button on frontend if agent reaches out again
845
+ * Added auto join on invite accepted
846
  * Fixed bug where switching an agent to offline mode would cause agent counter to behave unexpectedly
847
  * Improvements to join event control
848
  * Fixed bug where one agent initiates a chat, but all agents are added to the chat involved list
899
  * Removed setting to disable remote servers
900
  * Removed local encryption functionality, every chat message is using HTTPS secure connection
901
  * Removed AES and CryptoHelpers as these are no longer used
902
+ * Removed manual inclusion of SMTP and PHPMailer
903
  * Removed mail type setting, along with SMTP options
904
 
905
+ = 8.0.30 - 2019-05-20 - High priority =
906
  * Security revision, code updated with latest security best practices
907
  * Removed all external dependencies
908
  * Nonce fields and URLs added to actions within admin area
918
  * Fixed bug in wplc_choose.js where duplicate Switchery toggles were generated
919
  * Changed position/style of Online/Offline toggle
920
  * Changed loading of wplc_node.js file on the frontend to use wp_enqueue_script
921
+ * Deprecated 'wplc_submit_find_us' handler as this is no longer in use
922
  * Removed any reference to Pro version
923
  * Replaced all CURL requests with WordPress HTTP API requests
924
  * Removed hardocded media.tenor image reference (loading graphic in GIF integration)
925
+ * Replaced all 'esc_' calls with respective WordPress sanitization calls
926
+ * Added sanitization to all $_GET and $_POST variable to prevent any injection or storage of unsafe values
927
  * Deprecated 'wplc_api_call_to_server_visitor' REST endpoint as it was not in use and made use of session data
928
  * Removed AJAX use of 'ob_start' to improve performance
929
  * Added checks to prevent direct file access.
941
  * Minor changes in the admin menu names/slugs
942
  * Fixed styling issue in Triggers content replacement editor
943
  * Fixed various PHP warnings/notices
944
+ * Removed the option to download/delete chats from the front-end
945
  * Fixed an issue where Document Suggestions would appear twice
946
  * Updated/synchronised translation files
947
  * Improved security for js configuration
948
  * Fixed XSS attack in GDPR page
949
  * Security Patch: Added save settings nonce field and processing to prevent remote access. Resolves potential Cross Site Scripting attacks. Thanks to John Castro (Sucuri.net)
950
  * Improved file upload extension validation
951
+
952
  = 8.0.26 - 2019-04-04 - Medium priority =
953
  * Added 16 more servers
954
  * Improved server selection code
1031
  * Updated EL translation files. Thanks to Ioannis Barkouzos
1032
  * Updated FR translation files. Thanks to Freitas Junior
1033
  * Updated IT translation files. Thanks to Carlo Piazzano
1034
+ * Updated AR translation files.
1035
 
1036
  = 8.0.14 - 2018-07-19 - Medium priority =
1037
  * Removed 'let' from wplc_server.js file (Adds Safari compatibility)
1117
  = 8.0.02 - 2018-01-29 =
1118
  * Fixed a PHP warning
1119
  * Modified rest_url filter to no longer use anonymous function
1120
+ * Fixed styling conflicts between our settings and other pages in WordPress admin
1121
  * Fixed issues with file uploads (Bleeper core)
1122
  * Fixed hints in settings area
1123
  * Fixed links in chat bubbles not being clearly visible
1156
 
1157
  = 7.1.07 - 2017-11-06 - High priority =
1158
  * Patched a security exploit found by James @ Pritect, Inc. Thank you James!
1159
+
1160
  = 7.1.06 - 2017-09-27 - Low priority =
1161
  * Fixed a bug that stopped agents from deleting offline messages
1162
 
1190
  * Fixed a bug with the listing of all missed chats
1191
  * Fixed a bug that sent pings to the node server when it was not necessary, causing an overload of the node server
1192
  * Fixed a bug that did not allow you to view the chat history of a missed chat
1193
+ * Fixed a bug that caused the 'display name' and 'display avatar' to behave erratically
1194
  * Fixed a bug that caused the time and date display functionality to behave erratically
1195
+ * Fixed a bug that caused a JavaScript error on the admin chat dashboard when a single visitor leaves the site
1196
  * Fixed a bug that caused the chat widow to appear before the chat circle when engaged in a chat and moving from page to page
1197
  * The visitor can now restart any chat that has been ended by an agent
1198
  * You can now customize the text "The chat has been ended by the operator"
1226
  * Bug Fix: Compatibility bug fix for decryption in the Pro version
1227
 
1228
  = 7.0.05 - 2017-03-01 - Low priority =
1229
+ * Fixed broken links on the plugins page
1230
 
1231
  = 7.0.04 - 2017-02-15 =
1232
  * Fixed a bug that caused messages to be returned encoded after refreshing the page
1267
  * Integrated with Contact Form Ready to allow for custom forms to be used for the offline message form
1268
  * Google Analytics Integration
1269
  * Ability to change the subject of the offline message
1270
+ * Ability to add custom CSS and JavaScript in the settings page
1271
 
1272
  = 6.2.11 - 2016-10-27 - Medium Priority =
1273
  * Fixed a bug that caused issues with the User JS file when being minified
1296
  * Fixed a bug that caused a fatal error on older PHP version
1297
 
1298
  = 6.2.06 - 2016-09-15 - Medium priority =
1299
+ * Added Rest API functionality (Accept chat, end chat, get messages, send message, get sessions)
1300
+ * Added 'Device' type logging to live chat dashboard area.
1301
  * Minified User Side JavaScript
1302
  * Added Connection Handling (user), which will now retry to establish connection upon fail
1303
  * Added Connection Handling (admin), which will retry to establish connection upon fail
1313
  * Ability to delete individual Chats from History
1314
  * Minor Styling Conflicts Resolved
1315
  * Fixed the bug that caused "start chat" to be added to the button in the live chat box when offline
1316
+ * Fixed a bug that showed slashes when apostrophes were used
1317
  * Added various filters/actions for use in Pro
1318
  * Added ability to open chat box using an elements ID/Class (Click/Hover)
1319
 
1440
  * wplc_hook_admin_visitor_info_display_after - Allows you to add HTML at the end of the vistior details DIV in the live chat window
1441
  * wplc_hook_admin_javascript_chat - Allows you to add Javascript enqueues at the end of the javascript section of the live chat window
1442
  * wplc_hook_admin_settings_main_settings_after - Allows you to add more options to the main chat settings table in the settings page, after the first main table
1443
+ * wplc_hook_admin_settings_save - Hook into the save settings head section. i.e. where we handle POST data from the live chat settings page
1444
 
1445
  = 5.0.7 - 2015-10-06 - Low priority =
1446
  * Added a live chat extension page
1476
  * The live chat long poll connection will not automatically reinitialize if the connection times out or returns a 5xx error
1477
 
1478
  = 5.0.0 - Doppio Update - 2015-07-29 - Medium Priority =
1479
+ * New, modern chat dashboard
1480
  * Better user handling (chat long polling)
1481
  * Added a welcome page to the live chat dashboard
1482
  * The live hat dashboard is now fully responsive
1526
  * Finnish (Thank you Arttu Piipponen)
1527
  * Translations Updated:
1528
  * French (Thank you Marcello Cavalucci)
1529
+ * Dutch (Thank you Niek Groot Bleumink)
1530
  * Bug Fix: Exclude Functionality (Pro)
1531
 
1532
  = 4.3.0 2015-04-13 - Low Priority =
1536
  * New Feature: Functionality added in to handle Chat Experience Ratings (Premium Add-on)
1537
 
1538
  = 4.2.12 2015-03-24 - Low Priority =
1539
+ * Bug Fix: Warning to update showing erroneously
1540
 
1541
  = 4.2.11 2015-03-23 - Low Priority =
1542
  * Bug Fix: Bug in the banned user functionality
1551
  * Bug Fix: Including and Excluding the chat window caused issues on some websites
1552
  * Bug Fix: Online/Offline Toggle Switch did not work in some browsers (Pro)
1553
  * New Feature: You can now Ban visitors from chatting with you based on IP Address (Pro)
1554
+ * New Feature: You can now choose if you want users to make themselves an agent (Pro)
1555
+ * Bug Fix: Chat window would not hide when selecting the option to not accept offline messages (Pro)
1556
+ * Enhancement: Support page added
1557
  * Updated Translations:
1558
  * French (Thank you Marcello Cavallucci)
1559
  * New Translations added:
1572
  * Enhancement: Aesthetic Improvement to list of agents (Pro)
1573
  * Code Improvement: PHP error fixed
1574
  * Updated Translations:
1575
+ * German (Thank you Dennis Klinger)
1576
 
1577
  = 4.2.7 2015-02-10 - Low Priority =
1578
  * New Live Chat Translation added:
1581
  = 4.2.6 2015-01-29 - Low Priority =
1582
  * New feature: Live Chat dashboard has a new layout and design
1583
  * Code Improvement: jQuery Cookie updated to the latest version
1584
+ * Code Improvement: More Live Chat strings are now translatable
1585
  * New Live Chat Translation added:
1586
  * Spanish (Thank you Ana Ayelen Martinez)
1587
 
1593
  * Updated Translations:
1594
  * Italian (Thank You Angelo Giammarresi)
1595
 
1596
+ = 4.2.4 2014-12-17 - Low Priority =
1597
  * New feature: The live chat window can be hidden when offline (Pro only)
1598
  * New feature: Desktop notifications added
1599
  * Bug fix: Email address gave false validation error when not it was required.
1600
  * Translations Added:
1601
  * Dutch (Thank you Elsy Aelvoet)
1602
 
1603
+ = 4.2.3 2014-12-11 - Low Priority =
1604
  * Updated Translations:
1605
  * French (Thank you Marcello Cavallucci)
1606
  * Italian (Thank You Angelo Giammarresi)
1631
  * New Pro Feature: You can now include or exclude the live chat window on certain pages
1632
 
1633
  = 4.1.9 2014-10-10 - Low priority =
1634
+ * Bug fix: Mobile Detect class caused an error if it existed in another plugin or theme. A check has been put in place.
1635
 
1636
  = 4.1.8 2014-10-08 - Low priority =
1637
  * New feature: There is now an option if you do not require the user to input their name and email address before sending a chat request
1682
  = 4.0.1 =
1683
  * Fixed a bug (missing function)
1684
 
1685
+ = 4.0.0 =
1686
  * Overhauled the live chat Ajax calls to be less resource intensive
1687
  * Fixed many localization strings
1688
  * Added Feedback Page
1709
 
1710
  = 3.05 =
1711
 
1712
+ * Low priority update
1713
 
1714
  = 3.04 =
1715
 
1730
 
1731
  = 3.02 =
1732
 
1733
+ * Fixed CSS Box Border Issue
1734
 
1735
  = 3.01 =
1736
 
1792
  * More text fields can be customized
1793
 
1794
  = 1.0 =
1795
+ * Launch!
config.php CHANGED
@@ -9,7 +9,7 @@ if ( ! defined( 'ABSPATH' ) ) {
9
 
10
  define('WPLC_MIN_WP_VERSION', "5.3");
11
  define('WPLC_MIN_PHP_VERSION', "5.4");
12
- define('WPLC_PLUGIN_VERSION', "9.4.0");
13
  define('WPLC_PLUGIN_DIR', dirname(__FILE__));
14
  define('WPLC_PLUGIN_URL', wplc_plugins_url( '/', __FILE__ ) );
15
  define('WPLC_PLUGIN', plugin_basename( __FILE__ ) );
9
 
10
  define('WPLC_MIN_WP_VERSION', "5.3");
11
  define('WPLC_MIN_PHP_VERSION', "5.4");
12
+ define('WPLC_PLUGIN_VERSION', "9.4.1");
13
  define('WPLC_PLUGIN_DIR', dirname(__FILE__));
14
  define('WPLC_PLUGIN_URL', wplc_plugins_url( '/', __FILE__ ) );
15
  define('WPLC_PLUGIN', plugin_basename( __FILE__ ) );
modules/chat_client/js/callus.js CHANGED
@@ -35,4 +35,4 @@ e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeo
35
  * (c) 2020 kazuya kawaguchi
36
  * Released under the MIT License.
37
  */
38
- var va=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"];function ya(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var Aa=Array.isArray;function wa(e){return null!==e&&"object"==typeof e}function _a(e){return"string"==typeof e}var Ca=Object.prototype.toString;function Sa(e){return"[object Object]"===Ca.call(e)}function Ea(e){return null==e}function Oa(e){return"function"==typeof e}function xa(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=null,i=null;return 1===e.length?wa(e[0])||Aa(e[0])?i=e[0]:"string"==typeof e[0]&&(n=e[0]):2===e.length&&("string"==typeof e[0]&&(n=e[0]),(wa(e[1])||Aa(e[1]))&&(i=e[1])),{locale:n,params:i}}function Ia(e){return JSON.parse(JSON.stringify(e))}function Ta(e,t){return!!~e.indexOf(t)}var Ma=Object.prototype.hasOwnProperty;function Na(e,t){return Ma.call(e,t)}function ka(e){for(var t=arguments,n=Object(e),i=1;i<arguments.length;i++){var s=t[i];if(null!=s){var r=void 0;for(r in s)Na(s,r)&&(wa(s[r])?n[r]=ka(n[r],s[r]):n[r]=s[r])}}return n}function Ra(e,t){if(e===t)return!0;var n=wa(e),i=wa(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var s=Aa(e),r=Aa(t);if(s&&r)return e.length===t.length&&e.every((function(e,n){return Ra(e,t[n])}));if(s||r)return!1;var o=Object.keys(e),a=Object.keys(t);return o.length===a.length&&o.every((function(n){return Ra(e[n],t[n])}))}catch(e){return!1}}function Fa(e){return null!=e&&Object.keys(e).forEach((function(t){"string"==typeof e[t]&&(e[t]=e[t].replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"))})),e}var Da={beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n)if(e.i18n instanceof fl){if(e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{};e.__i18n.forEach((function(e){t=ka(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(e){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Sa(e.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof fl?this.$root.$i18n:null;if(n&&(e.i18n.root=this.$root,e.i18n.formatter=n.formatter,e.i18n.fallbackLocale=n.fallbackLocale,e.i18n.formatFallbackMessages=n.formatFallbackMessages,e.i18n.silentTranslationWarn=n.silentTranslationWarn,e.i18n.silentFallbackWarn=n.silentFallbackWarn,e.i18n.pluralizationRules=n.pluralizationRules,e.i18n.preserveDirectiveContent=n.preserveDirectiveContent),e.__i18n)try{var i=e.i18n&&e.i18n.messages?e.i18n.messages:{};e.__i18n.forEach((function(e){i=ka(i,JSON.parse(e))})),e.i18n.messages=i}catch(e){0}var s=e.i18n.sharedMessages;s&&Sa(s)&&(e.i18n.messages=ka(e.i18n.messages,s)),this._i18n=new fl(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof fl?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof fl&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n?(e.i18n instanceof fl||Sa(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof fl||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof fl)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}},Pa={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,i=t.parent,s=t.props,r=t.slots,o=i.$i18n;if(o){var a=s.path,l=s.locale,c=s.places,f=r(),u=o.i(a,l,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(f)||c?function(e,t){var n=t?function(e){0;return Array.isArray(e)?e.reduce(La,{}):Object.assign({},e)}(t):{};if(!e)return n;var i=(e=e.filter((function(e){return e.tag||""!==e.text.trim()}))).every(ja);0;return e.reduce(i?Ba:La,n)}(f.default,c):f),d=s.tag&&!0!==s.tag||!1===s.tag?s.tag:"span";return d?e(d,n,u):u}}};function Ba(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function La(e,t,n){return e[n]=t,e}function ja(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var Ua,za={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,i=t.parent,s=t.data,r=i.$i18n;if(!r)return null;var o=null,a=null;_a(n.format)?o=n.format:wa(n.format)&&(n.format.key&&(o=n.format.key),a=Object.keys(n.format).reduce((function(e,t){var i;return Ta(va,t)?Object.assign({},e,((i={})[t]=n.format[t],i)):e}),null));var l=n.locale||r.locale,c=r._ntp(n.value,l,o,a),f=c.map((function(e,t){var n,i=s.scopedSlots&&s.scopedSlots[e.type];return i?i(((n={})[e.type]=e.value,n.index=t,n.parts=c,n)):e.value})),u=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return u?e(u,{attrs:s.attrs,class:s.class,staticClass:s.staticClass},f):f}};function qa(e,t,n){Wa(e,n)&&$a(e,t,n)}function Va(e,t,n,i){if(Wa(e,n)){var s=n.context.$i18n;(function(e,t){var n=t.context;return e._locale===n.$i18n.locale})(e,n)&&Ra(t.value,t.oldValue)&&Ra(e._localeMessage,s.getLocaleMessage(s.locale))||$a(e,t,n)}}function Ga(e,t,n,i){if(n.context){var s=n.context.$i18n||{};t.modifiers.preserve||s.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else ya("Vue instance does not exists in VNode context")}function Wa(e,t){var n=t.context;return n?!!n.$i18n||(ya("VueI18n instance does not exists in Vue instance"),!1):(ya("Vue instance does not exists in VNode context"),!1)}function $a(e,t,n){var i,s,r=function(e){var t,n,i,s;_a(e)?t=e:Sa(e)&&(t=e.path,n=e.locale,i=e.args,s=e.choice);return{path:t,locale:n,args:i,choice:s}}(t.value),o=r.path,a=r.locale,l=r.args,c=r.choice;if(o||a||l)if(o){var f=n.context;e._vt=e.textContent=null!=c?(i=f.$i18n).tc.apply(i,[o,c].concat(Ha(a,l))):(s=f.$i18n).t.apply(s,[o].concat(Ha(a,l))),e._locale=f.$i18n.locale,e._localeMessage=f.$i18n.getLocaleMessage(f.$i18n.locale)}else ya("`path` is required in v-t directive");else ya("value type not supported")}function Ha(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||Sa(t))&&n.push(t),n}function Qa(e){Qa.installed=!0;(Ua=e).version&&Number(Ua.version.split(".")[0]);(function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[e,i.locale,i._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var s=this.$i18n;return s._tc.apply(s,[e,s.locale,s._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}})(Ua),Ua.mixin(Da),Ua.directive("t",{bind:qa,update:Va,unbind:Ga}),Ua.component(Pa.name,Pa),Ua.component(za.name,za),Ua.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var Ya=function(){this._caches=Object.create(null)};Ya.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=function(e){var t=[],n=0,i="";for(;n<e.length;){var s=e[n++];if("{"===s){i&&t.push({type:"text",value:i}),i="";var r="";for(s=e[n++];void 0!==s&&"}"!==s;)r+=s,s=e[n++];var o="}"===s,a=Xa.test(r)?"list":o&&Ka.test(r)?"named":"unknown";t.push({value:r,type:a})}else"%"===s?"{"!==e[n]&&(i+=s):i+=s}return i&&t.push({type:"text",value:i}),t}(e),this._caches[e]=n),function(e,t){var n=[],i=0,s=Array.isArray(t)?"list":wa(t)?"named":"unknown";if("unknown"===s)return n;for(;i<e.length;){var r=e[i];switch(r.type){case"text":n.push(r.value);break;case"list":n.push(t[parseInt(r.value,10)]);break;case"named":"named"===s&&n.push(t[r.value]);break;case"unknown":0}i++}return n}(n,t)};var Xa=/^(?:\d)+/,Ka=/^(?:\w)+/;var Za=[];Za[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},Za[1]={ws:[1],".":[2],"[":[4],eof:[7]},Za[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},Za[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},Za[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},Za[5]={"'":[4,0],eof:8,else:[5,0]},Za[6]={'"':[4,0],eof:8,else:[6,0]};var Ja=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function el(e){if(null==e)return"eof";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function tl(e){var t,n,i,s=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(i=s,Ja.test(i)?(n=(t=s).charCodeAt(0))!==t.charCodeAt(t.length-1)||34!==n&&39!==n?t:t.slice(1,-1):"*"+s)}var nl=function(){this._cache=Object.create(null)};nl.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=function(e){var t,n,i,s,r,o,a,l=[],c=-1,f=0,u=0,d=[];function h(){var t=e[c+1];if(5===f&&"'"===t||6===f&&'"'===t)return c++,i="\\"+t,d[0](),!0}for(d[1]=function(){void 0!==n&&(l.push(n),n=void 0)},d[0]=function(){void 0===n?n=i:n+=i},d[2]=function(){d[0](),u++},d[3]=function(){if(u>0)u--,f=4,d[0]();else{if(u=0,void 0===n)return!1;if(!1===(n=tl(n)))return!1;d[1]()}};null!==f;)if(c++,"\\"!==(t=e[c])||!h()){if(s=el(t),8===(r=(a=Za[f])[s]||a.else||8))return;if(f=r[0],(o=d[r[1]])&&(i=void 0===(i=r[2])?t:i,!1===o()))return;if(7===f)return l}}(e))&&(this._cache[e]=t),t||[]},nl.prototype.getPathValue=function(e,t){if(!wa(e))return null;var n=this.parsePath(t);if(0===n.length)return null;for(var i=n.length,s=e,r=0;r<i;){var o=s[n[r]];if(void 0===o)return null;s=o,r++}return s};var il,sl=/<\/?[\w\s="/.':;#-\/]+>/,rl=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,ol=/^@(?:\.([a-z]+))?:/,al=/[()]/g,ll={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},cl=new Ya,fl=function(e){var t=this;void 0===e&&(e={}),!Ua&&"undefined"!=typeof window&&window.Vue&&Qa(window.Vue);var n=e.locale||"en-US",i=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),s=e.messages||{},r=e.dateTimeFormats||{},o=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||cl,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new nl,this._dataListeners=[],this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,this.getChoiceIndex=function(e,n){var i=Object.getPrototypeOf(t);if(i&&i.getChoiceIndex)return i.getChoiceIndex.call(t,e,n);var s,r;return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,n]):(s=e,r=n,s=Math.abs(s),2===r?s?s>1?1:0:1:s?Math.min(s,2):0)},this._exist=function(e,n){return!(!e||!n)&&(!Ea(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(s).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,s[e])})),this._initVM({locale:n,fallbackLocale:i,messages:s,dateTimeFormats:r,numberFormats:o})},ul={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};fl.prototype._checkLocaleMessage=function(e,t,n){var i=function(e,t,n,s){if(Sa(n))Object.keys(n).forEach((function(r){var o=n[r];Sa(o)?(s.push(r),s.push("."),i(e,t,o,s),s.pop(),s.pop()):(s.push(r),i(e,t,o,s),s.pop())}));else if(Aa(n))n.forEach((function(n,r){Sa(n)?(s.push("["+r+"]"),s.push("."),i(e,t,n,s),s.pop(),s.pop()):(s.push("["+r+"]"),i(e,t,n,s),s.pop())}));else if(_a(n)){if(sl.test(n)){var r="Detected HTML in message '"+n+"' of keypath '"+s.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?ya(r):"error"===e&&function(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(r)}}};i(t,e,n,[])},fl.prototype._initVM=function(e){var t=Ua.config.silent;Ua.config.silent=!0,this._vm=new Ua({data:e}),Ua.config.silent=t},fl.prototype.destroyVM=function(){this._vm.$destroy()},fl.prototype.subscribeDataChanging=function(e){this._dataListeners.push(e)},fl.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)e.splice(n,1)}}(this._dataListeners,e)},fl.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){for(var t=e._dataListeners.length;t--;)Ua.nextTick((function(){e._dataListeners[t]&&e._dataListeners[t].$forceUpdate()}))}),{deep:!0})},fl.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var e=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){e.$set(e,"locale",t),e.$forceUpdate()}),{immediate:!0})},fl.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},ul.vm.get=function(){return this._vm},ul.messages.get=function(){return Ia(this._getMessages())},ul.dateTimeFormats.get=function(){return Ia(this._getDateTimeFormats())},ul.numberFormats.get=function(){return Ia(this._getNumberFormats())},ul.availableLocales.get=function(){return Object.keys(this.messages).sort()},ul.locale.get=function(){return this._vm.locale},ul.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},ul.fallbackLocale.get=function(){return this._vm.fallbackLocale},ul.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},ul.formatFallbackMessages.get=function(){return this._formatFallbackMessages},ul.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},ul.missing.get=function(){return this._missing},ul.missing.set=function(e){this._missing=e},ul.formatter.get=function(){return this._formatter},ul.formatter.set=function(e){this._formatter=e},ul.silentTranslationWarn.get=function(){return this._silentTranslationWarn},ul.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},ul.silentFallbackWarn.get=function(){return this._silentFallbackWarn},ul.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},ul.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},ul.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},ul.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},ul.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var i=this._getMessages();Object.keys(i).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,i[e])}))}},ul.postTranslation.get=function(){return this._postTranslation},ul.postTranslation.set=function(e){this._postTranslation=e},fl.prototype._getMessages=function(){return this._vm.messages},fl.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},fl.prototype._getNumberFormats=function(){return this._vm.numberFormats},fl.prototype._warnDefault=function(e,t,n,i,s,r){if(!Ea(n))return n;if(this._missing){var o=this._missing.apply(null,[e,t,i,s]);if(_a(o))return o}else 0;if(this._formatFallbackMessages){var a=xa.apply(void 0,s);return this._render(t,r,a.params,t)}return t},fl.prototype._isFallbackRoot=function(e){return!e&&!Ea(this._root)&&this._fallbackRoot},fl.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},fl.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},fl.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},fl.prototype._interpolate=function(e,t,n,i,s,r,o){if(!t)return null;var a,l=this._path.getPathValue(t,n);if(Aa(l)||Sa(l))return l;if(Ea(l)){if(!Sa(t))return null;if(!_a(a=t[n])&&!Oa(a))return null}else{if(!_a(l)&&!Oa(l))return null;a=l}return _a(a)&&(a.indexOf("@:")>=0||a.indexOf("@.")>=0)&&(a=this._link(e,t,a,i,"raw",r,o)),this._render(a,s,r,n)},fl.prototype._link=function(e,t,n,i,s,r,o){var a=n,l=a.match(rl);for(var c in l)if(l.hasOwnProperty(c)){var f=l[c],u=f.match(ol),d=u[0],h=u[1],p=f.replace(d,"").replace(al,"");if(Ta(o,p))return a;o.push(p);var m=this._interpolate(e,t,p,i,"raw"===s?"string":s,"raw"===s?void 0:r,o);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,p,i,s,r)}m=this._warnDefault(e,p,m,i,Aa(r)?r:[r],s),this._modifiers.hasOwnProperty(h)?m=this._modifiers[h](m):ll.hasOwnProperty(h)&&(m=ll[h](m)),o.pop(),a=m?a.replace(f,m):a}return a},fl.prototype._createMessageContext=function(e){var t=Aa(e)?e:[],n=wa(e)?e:{};return{list:function(e){return t[e]},named:function(e){return n[e]}}},fl.prototype._render=function(e,t,n,i){if(Oa(e))return e(this._createMessageContext(n));var s=this._formatter.interpolate(e,n,i);return s||(s=cl.interpolate(e,n,i)),"string"!==t||_a(s)?s:s.join("")},fl.prototype._appendItemToChain=function(e,t,n){var i=!1;return Ta(e,t)||(i=!0,t&&(i="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n&&n[t]&&(i=n[t]))),i},fl.prototype._appendLocaleToChain=function(e,t,n){var i,s=t.split("-");do{var r=s.join("-");i=this._appendItemToChain(e,r,n),s.splice(-1,1)}while(s.length&&!0===i);return i},fl.prototype._appendBlockToChain=function(e,t,n){for(var i=!0,s=0;s<t.length&&"boolean"==typeof i;s++){var r=t[s];_a(r)&&(i=this._appendLocaleToChain(e,r,n))}return i},fl.prototype._getLocaleChain=function(e,t){if(""===e)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){t||(t=this.fallbackLocale),n=[];for(var i,s=[e];Aa(s);)s=this._appendBlockToChain(n,s,t);(s=_a(i=Aa(t)?t:wa(t)?t.default?t.default:null:t)?[i]:i)&&this._appendBlockToChain(n,s,null),this._localeChainCache[e]=n}return n},fl.prototype._translate=function(e,t,n,i,s,r,o){for(var a,l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var f=l[c];if(!Ea(a=this._interpolate(f,e[f],i,s,r,o,[i])))return a}return null},fl.prototype._t=function(e,t,n,i){for(var s,r=[],o=arguments.length-4;o-- >0;)r[o]=arguments[o+4];if(!e)return"";var a=xa.apply(void 0,r);this._escapeParameterHtml&&(a.params=Fa(a.params));var l=a.locale||t,c=this._translate(n,l,this.fallbackLocale,e,i,"string",a.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(s=this._root).$t.apply(s,[e].concat(r))}return c=this._warnDefault(l,e,c,i,r,"string"),this._postTranslation&&null!=c&&(c=this._postTranslation(c,e)),c},fl.prototype.t=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},fl.prototype._i=function(e,t,n,i,s){var r=this._translate(n,t,this.fallbackLocale,e,i,"raw",s);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,s)}return this._warnDefault(t,e,r,i,[s],"raw")},fl.prototype.i=function(e,t,n){return e?(_a(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},fl.prototype._tc=function(e,t,n,i,s){for(var r,o=[],a=arguments.length-5;a-- >0;)o[a]=arguments[a+5];if(!e)return"";void 0===s&&(s=1);var l={count:s,n:s},c=xa.apply(void 0,o);return c.params=Object.assign(l,c.params),o=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((r=this)._t.apply(r,[e,t,n,i].concat(o)),s)},fl.prototype.fetchChoice=function(e,t){if(!e||!_a(e))return null;var n=e.split("|");return n[t=this.getChoiceIndex(t,n.length)]?n[t].trim():e},fl.prototype.tc=function(e,t){for(var n,i=[],s=arguments.length-2;s-- >0;)i[s]=arguments[s+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(i))},fl.prototype._te=function(e,t,n){for(var i=[],s=arguments.length-3;s-- >0;)i[s]=arguments[s+3];var r=xa.apply(void 0,i).locale||t;return this._exist(n[r],e)},fl.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},fl.prototype.getLocaleMessage=function(e){return Ia(this._vm.messages[e]||{})},fl.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},fl.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,ka({},this._vm.messages[e]||{},t))},fl.prototype.getDateTimeFormat=function(e){return Ia(this._vm.dateTimeFormats[e]||{})},fl.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},fl.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,ka(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},fl.prototype._clearDateTimeFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},fl.prototype._localizeDateTime=function(e,t,n,i,s){for(var r=t,o=i[r],a=this._getLocaleChain(t,n),l=0;l<a.length;l++){var c=a[l];if(r=c,!Ea(o=i[c])&&!Ea(o[s]))break}if(Ea(o)||Ea(o[s]))return null;var f=o[s],u=r+"__"+s,d=this._dateTimeFormatters[u];return d||(d=this._dateTimeFormatters[u]=new Intl.DateTimeFormat(r,f)),d.format(e)},fl.prototype._d=function(e,t,n){if(!n)return new Intl.DateTimeFormat(t).format(e);var i=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return i||""},fl.prototype.d=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.locale,s=null;return 1===t.length?_a(t[0])?s=t[0]:wa(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(s=t[0].key)):2===t.length&&(_a(t[0])&&(s=t[0]),_a(t[1])&&(i=t[1])),this._d(e,i,s)},fl.prototype.getNumberFormat=function(e){return Ia(this._vm.numberFormats[e]||{})},fl.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},fl.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,ka(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},fl.prototype._clearNumberFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},fl.prototype._getNumberFormatter=function(e,t,n,i,s,r){for(var o=t,a=i[o],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var f=l[c];if(o=f,!Ea(a=i[f])&&!Ea(a[s]))break}if(Ea(a)||Ea(a[s]))return null;var u,d=a[s];if(r)u=new Intl.NumberFormat(o,Object.assign({},d,r));else{var h=o+"__"+s;(u=this._numberFormatters[h])||(u=this._numberFormatters[h]=new Intl.NumberFormat(o,d))}return u},fl.prototype._n=function(e,t,n,i){if(!fl.availabilities.numberFormat)return"";if(!n)return(i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t)).format(e);var s=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),r=s&&s.format(e);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},i))}return r||""},fl.prototype.n=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.locale,s=null,r=null;return 1===t.length?_a(t[0])?s=t[0]:wa(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(s=t[0].key),r=Object.keys(t[0]).reduce((function(e,n){var i;return Ta(va,n)?Object.assign({},e,((i={})[n]=t[0][n],i)):e}),null)):2===t.length&&(_a(t[0])&&(s=t[0]),_a(t[1])&&(i=t[1])),this._n(e,i,s,r)},fl.prototype._ntp=function(e,t,n,i){if(!fl.availabilities.numberFormat)return[];if(!n)return(i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t)).formatToParts(e);var s=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),r=s&&s.formatToParts(e);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,i)}return r||[]},Object.defineProperties(fl.prototype,ul),Object.defineProperty(fl,"availabilities",{get:function(){if(!il){var e="undefined"!=typeof Intl;il={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return il}}),fl.install=Qa,fl.version="8.22.1";const dl=fl,hl=JSON.parse('{"Auth":{"Submit":"Chat","Name":"Name","Email":"Email","OfflineEnterValidEmail":"I\'m sorry, that doesn\'t look like an email address. Can you try again?","FieldValidation":"Required Field","OfflineSubmit":"Send","FieldsReplacement":"Please click \'Chat\' to initiate a chat with an agent","ChatIntro":"Could we have your contact info ?","CloseButton":"Close","PhoneText":"Phone","EnterValidPhone":"Invalid phone number","EnterValidName":"Invalid Name","EnterValidEmail":"Invalid Email","MaxCharactersReached":"Maximum characters reached","AuthEmailMessage":"Could we have your email?","AuthNameMessage":"Could we have your name?","DepartmentMessage":"Please select department"},"Chat":{"TypeYourMessage":"Type your message...","MessageNotDeliveredError":"A network related error occurred. Message not delivered.","TryAgain":" Click here to try again. ","FileError":"Unable to upload selected file.","RateComment":"Tell us your feedback","RateFeedbackRequest":"Do you want to give us more detailed feedback?","RateRequest":"Rate your conversation","UnsupportedFileError":"Selected file isn\'t supported.","OperatorJoined":"Agent %%OPERATOR%% joined the chat"},"Offline":{"OfflineNameMessage":"Could we have your name?","OfflineEmailMessage":"Could we have your email?","CharactersLimit":"Length cannot exceed 50 characters","OfflineFormInvalidEmail":"I\'m sorry, that doesn\'t look like an email address. Can you try again?","OfflineFormInvalidName":"I\'m sorry, the provided name is not valid."},"MessageBox":{"Ok":"OK","TryAgain":"Try again"},"Inputs":{"InviteMessage":"Hello! How can we help you today?","EndingMessage":"Your session is over. Please feel free to contact us again!","NotAllowedError":"Allow microphone access from your browser","NotFoundError":"Microphone not found","ServiceUnavailable":"Service unavailable","UnavailableMessage":"We are away, leave us a message!","OperatorName":"Support","WindowTitle":"Live Chat & Talk","CallTitle":"Call Us","PoweredBy":"Powered By 3CX","OfflineMessagePlaceholder":"Message","OfflineMessageSent":"We\'ll contact you soon.","InvalidIdErrorMessage":"Invalid ID. Contact the Website Admin. ID must match the Click2Talk Friendly Name","IsTyping":"is typing...","NewMessageTitleNotification":"New Message","ChatIsDisabled":"Chat is not available at the moment.","GreetingMessage":"Hey, we\'re here to help!","BlockMessage":"Your session is over because your ip banned by the agent","Dialing":"Dialing","Connected":"Connected","ChatWithUs":"Chat with us"},"ChatCompleted":{"StartNew":"Start New"},"Rate":{"Bad":"Bad","Good":"Good","Neutral":"Neutral","VeryBad":"Very bad","VeryGood":"Very good","GiveFeedback":"Yes","NoFeedback":"No"}}');var pl=n.t(hl,2);const ml=JSON.parse('{"Auth":{"Submit":"Chat","Name":"Nombre","Email":"Correo Electrónico","OfflineEnterValidEmail":"Lo sentimos, eso no parece una dirección de correo. ¿Puede intentarlo de nuevo?","FieldValidation":"Campo requerido","OfflineSubmit":"Enviar","FieldsReplacement":"Por favor, haga clic en \'chat\' para inciciar un chat con un agente","ChatIntro":"¿Podríamos tener su información de contacto?","CloseButton":"Cerrar","PhoneText":"Teléfono","EnterValidPhone":"Número de teléfono inválido","EnterValidName":"Nombre Inválido","EnterValidEmail":"Correo Electrónico Inválido","MaxCharactersReached":"Número máximo de caracteres alcanzado","AuthEmailMessage":"¿Podría decirnos su correo electrónico?","AuthNameMessage":"¿Podría decirnos su nombre?","DepartmentMessage":"Por favor, seleccione el departamento"},"Chat":{"TypeYourMessage":"Escriba su mensaje...","MessageNotDeliveredError":"Se detectó un error relacionado con la red. Mensaje no entregado.","TryAgain":" Haga clic aquí para intentarlo de nuevo. ","FileError":"No es posible subir el archivo seleccionado.","RateComment":"Denos su opinión","RateFeedbackRequest":"¿Quiere darnos un feedback más detallado?","RateRequest":"Califique su conversación","UnsupportedFileError":"El archivo seleccionado no esta sorpotado.","OperatorJoined":"El agente %%OPERATOR%% se unió al chat"},"Offline":{"OfflineNameMessage":"¿Podemos tener su nombre?","OfflineEmailMessage":"¿Podemos tener su correo electrónico?","CharactersLimit":"La extensión no puede ser mayor de 50 caracteres","OfflineFormInvalidEmail":"Lo sentimos, eso no parece una dirección de correo. ¿Puede intentarlo de nuevo?","OfflineFormInvalidName":"Lo sentimos, el nombre proporcionado no es válido."},"MessageBox":{"Ok":"Aceptar","TryAgain":"Intente de nuevo"},"Inputs":{"InviteMessage":"¡Hola! ¿Cómo puedo ayudarle el día de hoy?","EndingMessage":"Su sesión ha terminado. ¡Por favor, no dude en contactarnos de nuevo!","NotAllowedError":"Permitir el acceso a su micrófono por parte del navegador","NotFoundError":"No se encontró un micrófono","ServiceUnavailable":"Servicio no disponible","UnavailableMessage":"Ahora estamos ausentes, ¡Dejenos un mensaje!","OperatorName":"Soporte","WindowTitle":"Live Chat & Talk","CallTitle":"Llámenos","PoweredBy":"Powered By 3CX","OfflineMessagePlaceholder":"Mensaje","OfflineMessageSent":"Nos prondremos en contacto pronto.","InvalidIdErrorMessage":"ID Inválido. Contacte al administrador del Sitio Web. El ID debe ser igual al nombre amistoso de Click2Talk","IsTyping":"está escribiendo...","NewMessageTitleNotification":"Nuevo Mensaje","ChatIsDisabled":"El Chat no está disponible en este momento.","GreetingMessage":"Hola, ¡Estamos aquí para ayudar!","BlockMessage":"Su sesión ha terminado porque su ip ha sido bloqueada por el agente","Dialing":"Llamando","Connected":"Conectado","ChatWithUs":"Chatea con nosotros"},"ChatCompleted":{"StartNew":"Empezar un nuevo Chat"},"Rate":{"Bad":"Malo","Good":"Bueno","Neutral":"Neutral","VeryBad":"Muy malo","VeryGood":"Muy bueno","GiveFeedback":"Sí","NoFeedback":"No"}}');var gl=n.t(ml,2);const bl=JSON.parse('{"Auth":{"Submit":"Chat","Name":"Name","Email":"Email","OfflineEnterValidEmail":"Es tut mir leid, das sieht nicht nach einer E-Mail-Adresse aus. Kannst du es nochmal versuchen?","FieldValidation":"Pflichtfeld","OfflineSubmit":"Senden","FieldsReplacement":"Bitte klicken Sie auf \\"Chat\\", um einen Chat mit einem Agenten zu starten","ChatIntro":"Könnten wir Ihre Kontaktinformationen haben?","CloseButton":"Schließen","PhoneText":"Telefonnummer","EnterValidPhone":"Ungültige Telefonnummer","EnterValidName":"Ungültiger Name","EnterValidEmail":"Ungültige E-Mail","MaxCharactersReached":"Maximal erreichte Zeichen","AuthEmailMessage":"Könnten wir Ihre E-Mail haben?","AuthNameMessage":"Könnten wir Ihren Namen haben?","DepartmentMessage":"Bitte eine Abteilung wählen"},"Chat":{"TypeYourMessage":"Geben Sie Ihre Nachricht ein ...","MessageNotDeliveredError":"Ein Netzwerkfehler ist aufgetreten. Nachricht nicht zugestellt.","TryAgain":" Klicken Sie hier, um es erneut zu versuchen. ","FileError":"Ausgewählte Datei kann nicht hochgeladen werden.","RateComment":"Sagen Sie uns Ihr Feedback","RateFeedbackRequest":"Möchten Sie uns detaillierteres Feedback geben?","RateRequest":"Bewerten Sie Ihr Gespräch","UnsupportedFileError":"Die ausgewählte Datei wird nicht unterstützt.","OperatorJoined":"Agent %%OPERATOR%% ist dem Chat beigetreten"},"Offline":{"OfflineNameMessage":"Könnten wir Ihren Namen haben?","OfflineEmailMessage":"Könnten wir Ihre E-Mail haben?","CharactersLimit":"Die maximale Länge beträgt 50 Zeichen","OfflineFormInvalidEmail":"Es tut mir leid, das sieht nicht nach einer E-Mail-Adresse aus. Können Sie es nochmal versuchen?","OfflineFormInvalidName":"Es tut mir leid, der angegebene Name ist ungültig."},"MessageBox":{"Ok":"OK","TryAgain":"Versuchen Sie es nochmal"},"Inputs":{"InviteMessage":"Hallo! Wie können wir Ihnen weiterhelfen?","EndingMessage":"Ihre Sitzung ist beendet. Bitte zögern Sie nicht, uns erneut zu kontaktieren!","NotAllowedError":"Ermöglichen Sie den Mikrofonzugriff über Ihren Browser","NotFoundError":"Mikrofon nicht gefunden","ServiceUnavailable":"Dienst nicht verfügbar","UnavailableMessage":"Aktuell ist leider kein Agent verfügbar, hinterlassen Sie uns eine Nachricht!","OperatorName":"Unterstützung","WindowTitle":"3CX Live Chat & Talk","CallTitle":"Rufen Sie uns an","PoweredBy":"Powered By 3CX","OfflineMessagePlaceholder":"Nachricht","OfflineMessageSent":"Wir werden uns bald bei Ihnen melden.","InvalidIdErrorMessage":"Ungültige ID. Wenden Sie sich an den Website-Administrator. Die ID muss mit dem Click2Talk-Anzeigenamen übereinstimmen","IsTyping":"tippt...","NewMessageTitleNotification":"Neue Nachricht","ChatIsDisabled":"Der Chat ist momentan nicht verfügbar.","GreetingMessage":"Hey, wir sind hier um zu helfen!","BlockMessage":"Ihre Sitzung ist beendet, da Ihre IP vom Agenten gesperrt wurde","Dialing":"Wählen","Connected":"Verbunden","ChatWithUs":"Chatte mit uns"},"ChatCompleted":{"StartNew":"Neu anfangen"},"Rate":{"Bad":"Schlecht","Good":"Gut","Neutral":"Neutral","VeryBad":"Sehr schlecht","VeryGood":"Sehr gut","GiveFeedback":"Ja","NoFeedback":"Nein"}}');var vl=n.t(bl,2);const yl=JSON.parse('{"Auth":{"Submit":"Chat","Name":"Nom","Email":"Email","EnterValidEmail":"Email invalide","OfflineEnterValidEmail":"Désolé, cela ne ressemble pas à une adresse email. Pouvez-vous réessayer ?","FieldValidation":"Champ obligatoire","OfflineSubmit":"Envoyer","FieldsReplacement":"Cliquez sur \'Chat\' pour commencer une discussion avec un agent","ChatIntro":"Pouvons-nous avoir vos coordonnées ?","CloseButton":"Fermer","PhoneText":"Téléphone","EnterValidPhone":"Numéro de téléphone invalide","EnterValidName":"Nom invalide","MaxCharactersReached":"Nombre maximum de caractères atteint","AuthEmailMessage":"Pourriez-vous nous communiquer votre email ?","AuthNameMessage":"Pourriez-vous nous communiquer votre nom ?","DepartmentMessage":"Veuillez sélectionner un département"},"Chat":{"TypeYourMessage":"Ecrivez votre message...","MessageNotDeliveredError":"Une erreur liée au réseau est survenue. Le message n\'a pas pu être délivré.","TryAgain":" Cliquez ici pour réessayer. ","FileError":"Impossible d\'uploader le fichier sélectionné.","RateComment":"Merci de nous donner votre avis","RateFeedbackRequest":"Souhaitez-vous nous faire part de commentaires plus détaillés ?","RateRequest":"Notez votre conversation","UnsupportedFileError":"Le fichier sélectionné n\'est pas supporté.","OperatorJoined":"L\'agent %%OPERATOR%% a rejoint le chat"},"Offline":{"OfflineNameMessage":"Pourriez-vous nous communiquer votre nom ?","OfflineEmailMessage":"Pourriez-vous nous communiquer votre email ?","CharactersLimit":"La longueur ne peut pas excéder 50 caractères","OfflineFormInvalidEmail":"Désolé, cela ne ressemble pas à une adresse email. Pouvez-vous réessayer ?","OfflineFormInvalidName":"Désolé, le nom fourni n\'est pas valide."},"MessageBox":{"Ok":"OK","TryAgain":"Merci de réessayer"},"Inputs":{"InviteMessage":"Bonjour, comment pouvons-nous vous aider ?","EndingMessage":"Votre session est terminée. N\'hésitez pas à nous recontacter !","NotAllowedError":"Permettre l\'accès au microphone depuis votre navigateur","NotFoundError":"Microphone introuvable","ServiceUnavailable":"Service indisponible","UnavailableMessage":"Nous sommes absents, laissez-nous un message !","OperatorName":"Support","WindowTitle":"Live Chat & Talk","CallTitle":"Appelez-nous","PoweredBy":"Powered By 3CX","OfflineMessagePlaceholder":"Message","OfflineMessageSent":"Nous vous contacterons bientôt.","InvalidIdErrorMessage":"ID invalide. Contactez l\'administrateur de votre site web. L\'ID doit correspondre au pseudonyme Click2Talk","IsTyping":"Est en train d\'écrire...","NewMessageTitleNotification":"Nouveau message","ChatIsDisabled":"Le chat n\'est pas disponible pour le moment.","GreetingMessage":"Bonjour, nous sommes là pour vous aider !","BlockMessage":"Votre chat est terminé car votre IP a été bannie par l\'agent","Dialing":"Appel en cours\\r","Connected":"Connecté","ChatWithUs":"Discutez avec nous"},"ChatCompleted":{"StartNew":"Commencer un nouveau chat"},"Rate":{"Bad":"Mauvais","Good":"Bon","Neutral":"Neutre","VeryBad":"Très mauvais","VeryGood":"Très bon","GiveFeedback":"Oui","NoFeedback":"Non"}}');var Al=n.t(yl,2);const wl=JSON.parse('{"Auth":{"Submit":"Chat","Name":"Nome","Email":"Email","OfflineEnterValidEmail":"Mi spiace ma questo non sembra un indirizzo mail. Puoi riprovare?","FieldValidation":"Campo obbligatorio","OfflineSubmit":"Invia","FieldsReplacement":"Clicca su \'Chat\' per avviare una chat con un agente","ChatIntro":"Possiamo avere i tuoi dati di contatto?","CloseButton":"Chiuso","PhoneText":"Telefono","EnterValidPhone":"Numero di telefono non valido","EnterValidName":"Nome non valida","EnterValidEmail":"Email non valida","MaxCharactersReached":"Numero massimo di caratteri raggiunto","AuthEmailMessage":"Possiamo avere la tua email?","AuthNameMessage":"Possiamo avere il tuo nome?","DepartmentMessage":"Si prega di selezione il dipartimento"},"Chat":{"TypeYourMessage":"Scrivi il tuo messaggio ...","MessageNotDeliveredError":"Si è verificato un errore di rete. Messaggio non consegnato.","TryAgain":" Clicca qui per riprovare. ","FileError":"Impossibile caricare il file selezionato.","RateComment":"Dacci il tuo parere","RateFeedbackRequest":"Vuoi darci un parere più dettagliato?","RateRequest":"Valuta la tua conversazione","UnsupportedFileError":"Il file selezionato non è supportato.","OperatorJoined":"Agente %%OPERATOR%% collegato alla chat"},"Offline":{"OfflineNameMessage":"Possiamo avere il tuo nome?","OfflineEmailMessage":"Possiamo avere la tua email?","CharactersLimit":"Massimo 50 caratteri consentiti","OfflineFormInvalidEmail":"Mi spiace ma questo non sembra un indirizzo mail. Puoi riprovare?","OfflineFormInvalidName":"Il nome fornito non è valido."},"MessageBox":{"Ok":"OK","TryAgain":"Riprova"},"Inputs":{"InviteMessage":"Ciao! Come possiamo aiutarti oggi?","EndingMessage":"La sessione è terminata. Non esitare a contattarci di nuovo!","NotAllowedError":"Consenti l\'accesso al microfono dal tuo browser","NotFoundError":"Microfono non trovato","ServiceUnavailable":"Servizio non disponibile","UnavailableMessage":"Siamo assenti, lasciaci un messaggio!","OperatorName":"Supporto","WindowTitle":"Live Chat & Talk","CallTitle":"Chiamaci","PoweredBy":"Powered By 3CX","OfflineMessagePlaceholder":"Messaggio","OfflineMessageSent":"TI contatteremo al più presto.","InvalidIdErrorMessage":"ID non valido. Contatta l\'amministratore del sito web. L\'ID deve corrispondere al nome Click2Talk","IsTyping":"Sta scrivendo...","NewMessageTitleNotification":"Nuovo Messaggio","ChatIsDisabled":"La Chat non è al momento disponibile.","GreetingMessage":"Ciao, siamo qui per aiutare!","BlockMessage":"La tua sessione è terminata perché il tuo ip è stato bannato dall\'agente","Dialing":"In chiamata","Connected":"Connesso","ChatWithUs":"Chatta con noi"},"ChatCompleted":{"StartNew":"Inizia un nuova chat"},"Rate":{"Bad":"Male","Good":"Bene","Neutral":"Neutrale","VeryBad":"Molto male","VeryGood":"Molto bene","GiveFeedback":"Si","NoFeedback":"No"}}');var _l=n.t(wl,2);const Cl=JSON.parse('{"Auth":{"Submit":"Czat","Name":"Nazwisko","Email":"Email","OfflineEnterValidEmail":"Przykro mi, to nie wygląda jak adres email. Czy możesz spróbować ponownie?","FieldValidation":"Pole wymagane","OfflineSubmit":"Wyślij","FieldsReplacement":"Kliknij \\"Czat\\", aby rozpocząć rozmowę z agentem","ChatIntro":"Czy możemy prosić o Twoje imię i adres e-mail?","CloseButton":"Zamknij","PhoneText":"Telefon","EnterValidPhone":"Nieprawidłowy numer telefonu","EnterValidName":"Nieprawidłowa nazwa","EnterValidEmail":"Nieprawidłowy email","MaxCharactersReached":"Osiągnięto maksimum znaków","AuthEmailMessage":"Czy możesz podać swój email?","AuthNameMessage":"Czy możesz podać swoje imię?","DepartmentMessage":"Wybierz dział"},"Chat":{"TypeYourMessage":"Wpisz swoją wiadomość….","MessageNotDeliveredError":"Błąd sieci. Wiadomość nie dostarczona.","TryAgain":" Kliknij tutaj, aby spróbować ponownie. ","FileError":"Nie można załadować wybranego pliku.","RateComment":"Podziel się swoją opinią","RateFeedbackRequest":"Czy chesz podać nam więcej szczegółów?","RateRequest":"Oceń swoją rozmowę","UnsupportedFileError":"Wybrany plik nie jest wspierany.","OperatorJoined":"Agent %%OPERATOR%% dołączył do czata"},"Offline":{"OfflineNameMessage":"Czy możesz się przedstawić?","OfflineEmailMessage":"Czy możesz podać swój email?","CharactersLimit":"Długość nie może przekraczać 50 znaków","OfflineFormInvalidEmail":"Przykro mi, to nie wygląda jak adres email. Czy możesz spróbować ponownie?","OfflineFormInvalidName":"Przykro mi, podana nazwa jest nieprawidłowa."},"MessageBox":{"Ok":"OK","TryAgain":"Spróbuj ponownie"},"Inputs":{"InviteMessage":"Witaj! Jak możemy Ci dziś pomóc?","EndingMessage":"Twoja sesja się zakończyła. Zapraszamy do ponownego kontaktu!","NotAllowedError":"Zezwól na dostęp do mikrofonu swojej przeglądarce","NotFoundError":"Nie znaleziono mikrofonu","ServiceUnavailable":"Usługa niedostępna","UnavailableMessage":"Nie ma nas, zostaw wiadomość!","OperatorName":"Wsparcie","WindowTitle":"Chat i rozmowa na żywo","CallTitle":"Zadzwoń do nas","PoweredBy":"Wspierane przez 3CX","OfflineMessagePlaceholder":"Wiadomość","OfflineMessageSent":"Wkrótce się z Tobą skontaktujemy.","InvalidIdErrorMessage":"Nieprawidłowe ID. Skontaktuj się z administratorem strony. ID musi odpowiadać Przyjaznej nazwie Click2Talk","IsTyping":"Pisze…","NewMessageTitleNotification":"Nowa wiadomość","ChatIsDisabled":"Czat jest w tym momencie niedostępny.","GreetingMessage":"Cześć, jesteśmy tu żeby pomóc!","BlockMessage":"Sesja zakończyła się gdyż agent zablokował Twój adres IP","Dialing":"Wybieranie","Connected":"Połączony","ChatWithUs":"Czat z nami"},"ChatCompleted":{"StartNew":"Zacznij nowy"},"Rate":{"Bad":"Źle","Good":"Dobrze","Neutral":"Neutralnie","VeryBad":"Bardzo źle","VeryGood":"Bardzo dobrze","GiveFeedback":"Tak","NoFeedback":"Nie"}}');var Sl=n.t(Cl,2);const El=JSON.parse('{"Auth":{"Submit":"Начать чат","Name":"Имя","Email":"E-mail","OfflineEnterValidEmail":"Это не похоже на адрес электронной почты. Можете попробовать еще раз?","FieldValidation":"Необходимое поле","OfflineSubmit":"Отправить","FieldsReplacement":"Нажмите \'Начать чат\', чтобы связаться с оператором","ChatIntro":"Можно узнать ваши контакты?","CloseButton":"Закрыть","PhoneText":"Телефон","EnterValidPhone":"Неверный номер","EnterValidName":"Неверный имя","EnterValidEmail":"Неверный e-mail","MaxCharactersReached":"Достигнуто предельное количество символов","AuthEmailMessage":"Могли бы вы указать ваш e-mail?","AuthNameMessage":"Могли бы вы указать ваше имя?","DepartmentMessage":"Выберите отдел"},"Chat":{"TypeYourMessage":"Введите сообщение...","MessageNotDeliveredError":"Ошибка сети. Сообщение не доставлено.","TryAgain":" Нажмите, чтобы попробовать снова. ","FileError":"Невозможно загрузить выбранный файл.","RateComment":"Оставьте свой отзыв","RateFeedbackRequest":"Хотите оставить подробный отзыв?","RateRequest":"Оцените диалог с оператором","UnsupportedFileError":"Выбранный файл не поддерживается.","OperatorJoined":"Оператор %%OPERATOR%% подключился к чату"},"Offline":{"OfflineNameMessage":"Могли бы вы указать ваше имя?","OfflineEmailMessage":"Могли бы вы указать ваш e-mail?","CharactersLimit":"Длина не должна превышать 50 символов","OfflineFormInvalidEmail":"Это не похоже на адрес электронной почты. Можете попробовать еще раз?","OfflineFormInvalidName":"Вы указали некорректное имя."},"MessageBox":{"Ok":"OK","TryAgain":"Попробуйте снова"},"Inputs":{"InviteMessage":"Здравствуйте! Мы можем вам помочь?","EndingMessage":"Сессия завершена. Свяжитесь с нами, когда будет удобно!","NotAllowedError":"Разрешите доступ браузера к микрофону","NotFoundError":"Микрофон не найден","ServiceUnavailable":"Сервис недоступен","UnavailableMessage":"Сейчас мы не на связи. Пожалуйста, оставьте сообщение!","OperatorName":"Поддержка","WindowTitle":"Live Chat & Talk","CallTitle":"Свяжитесь с нами","PoweredBy":"Заряжено 3CX","OfflineMessagePlaceholder":"Сообщение","OfflineMessageSent":"Мы свяжемся с вами в ближайшее время.","InvalidIdErrorMessage":"Неверный ID. Свяжитесь с администратором сайта. ID должен соответствовать короткому имени в параметрах Click2Talk","IsTyping":"набирает...","NewMessageTitleNotification":"Новое сообщение","ChatIsDisabled":"Чат сейчас недоступен.","GreetingMessage":"Добрый день! Готовы вам помочь!","BlockMessage":"Сессия завершена, поскольку ваш IP-адрес заблокирован оператором","Dialing":"Набор","Connected":"Соединено","ChatWithUs":"Поболтай с нами"},"ChatCompleted":{"StartNew":"Начать новый чат"},"Rate":{"Bad":"Плохо","Good":"Хорошо","Neutral":"Нейтрально","VeryBad":"Очень плохо","VeryGood":"Очень хорошо","GiveFeedback":"Да","NoFeedback":"Нет"}}');var Ol=n.t(El,2);const xl=JSON.parse('{"Auth":{"Submit":"Bate-papo","Name":"Nome","Email":"E-mail","OfflineEnterValidEmail":"Sinto muito, isso não parece ser um endereço de e-mail. Você pode tentar de novo?","FieldValidation":"Campo obrigatório","OfflineSubmit":"Enviar","FieldsReplacement":"Clique em \'Chat\' para iniciar um chat com um agente","ChatIntro":"Você poderia informar suas informações para contato?","CloseButton":"Fechar","PhoneText":"Telefone","EnterValidPhone":"Número de telefone inválido","EnterValidName":"Nome Inválido","EnterValidEmail":"E-mail Inválido","MaxCharactersReached":"Número máximo de caracteres atingido","AuthEmailMessage":"Você pode nos informar seu e-mail?","AuthNameMessage":"Você pode nos informar seu nome?","DepartmentMessage":"Por favor, selecione o departamento"},"Chat":{"TypeYourMessage":"Escreva sua mensagem...","MessageNotDeliveredError":"Ocorreu um erro relacionado à rede. Mensagem não enviada.","TryAgain":" Clique aqui para tentar novamente ","FileError":"Incapaz de carregar o arquivo selecionado.","RateComment":"Dê sua opinião","RateFeedbackRequest":"Você quer nos dar um feedback mais detalhado?","RateRequest":"Avalie sua conversa","UnsupportedFileError":"O arquivo selecionado não é suportado.","OperatorJoined":"Agente %%OPERATOR%% entrou no chat"},"Offline":{"OfflineNameMessage":"Podemos saber o seu nome?","OfflineEmailMessage":"Podemos saber o seu e-mail?","CharactersLimit":"O comprimento não pode exceder 50 caracteres","OfflineFormInvalidEmail":"Sinto muito, isso não parece ser um endereço de e-mail. Você pode tentar de novo?","OfflineFormInvalidName":"Sinto muito, o nome fornecido não é válido."},"MessageBox":{"Ok":"Ok","TryAgain":"Tente novamente"},"Inputs":{"InviteMessage":"Olá! Como podemos te ajudar hoje?","EndingMessage":"Sua sessão terminou. Por favor, sinta-se à vontade para nos contatar novamente!","NotAllowedError":"Permitir acesso ao microfone pelo seu navegador","NotFoundError":"Microfone não encontrado","ServiceUnavailable":"Serviço indisponível","UnavailableMessage":"Estamos fora, deixe-nos uma mensagem!","OperatorName":"Suporte","WindowTitle":"Chat ao vivo","CallTitle":"Entre em contato","PoweredBy":"Desenvolvido Por 3CX","OfflineMessagePlaceholder":"Mensagem","OfflineMessageSent":"Entraremos em contato em breve.","InvalidIdErrorMessage":"ID inválido. Entre em contato com o administrador do site. O ID deve corresponder ao apelido usado no Click2Talk","IsTyping":"Digitando...","NewMessageTitleNotification":"Nova mensagem","ChatIsDisabled":"O chat não está disponível no momento.","GreetingMessage":"Ei, estamos aqui para ajudar!","BlockMessage":"Sua sessão acabou porque seu ip foi banido pelo agente","Dialing":"Discando","Connected":"Conectado","ChatWithUs":"Converse conosco"},"ChatCompleted":{"StartNew":"Começe um novo"},"Rate":{"Bad":"Ruim","Good":"Bom","Neutral":"Neutro","VeryBad":"Muito ruim","VeryGood":"Muito bom","GiveFeedback":"Sim","NoFeedback":"Não"}}');var Il=n.t(xl,2);const Tl=JSON.parse('{"Auth":{"Submit":"聊天","Name":"姓名","Email":"邮箱","OfflineEnterValidEmail":"很抱歉,该地址看起来不像电子邮箱地址。您可以重试吗?","FieldValidation":"必填字段","OfflineSubmit":"发送","FieldsReplacement":"请点击 \\"聊天\\",开始与坐席交谈","ChatIntro":"能给我们您的联系方式吗?","CloseButton":"关闭","PhoneText":"电话","EnterValidPhone":"无效的电话号码","EnterValidName":"名称无效","EnterValidEmail":"无效的邮箱","MaxCharactersReached":"已达到最大字符限制","AuthEmailMessage":"能告诉我们您的邮箱吗?","AuthNameMessage":"能告诉我们您的姓名吗?","DepartmentMessage":"请选择部门"},"Chat":{"TypeYourMessage":"输入您的消息...","MessageNotDeliveredError":"发生网络相关错误。信息未送达。","TryAgain":" 点击此处再试一次 ","FileError":"无法上传所选文件。","RateComment":"告诉我们您的反馈","RateFeedbackRequest":"您是否想给我们更详细的反馈?","RateRequest":"为您的对话评分","UnsupportedFileError":"不支持所选文件。","OperatorJoined":"坐席%%OPERATOR%% 加入聊天"},"Offline":{"OfflineNameMessage":"能告诉我们您的名字吗?","OfflineEmailMessage":"能告诉我们您的电子邮箱吗?","CharactersLimit":"长度不能超过50个字符","OfflineFormInvalidEmail":"很抱歉,该地址看起来不像电子邮箱地址。您可以重试吗?","OfflineFormInvalidName":"抱歉,您提供的名字无效。"},"MessageBox":{"Ok":"OK","TryAgain":"再次尝试"},"Inputs":{"InviteMessage":"您好!请问有什么可以帮到您的?","EndingMessage":"您的会话结束了。请随时与我们联系!","NotAllowedError":"允许通过浏览器访问麦克风","NotFoundError":"未发现麦克风","ServiceUnavailable":"服务不可用","UnavailableMessage":"我们不在线,给我们留言吧!","OperatorName":"支持","WindowTitle":"在线聊天和通话","CallTitle":"致电我们","PoweredBy":"由3CX提供支持","OfflineMessagePlaceholder":"留言信息","OfflineMessageSent":"我们会尽快与您联系。","InvalidIdErrorMessage":"无效的ID。联系网站管理员。ID必须与Click2Talk友好名称匹配","IsTyping":"正在输入...","NewMessageTitleNotification":"新消息","ChatIsDisabled":"在线聊天暂不可用。","GreetingMessage":"嘿,很高兴为您服务!","BlockMessage":"你的会话已经结束,因为你的IP被坐席禁止了","Dialing":"拨号","Connected":"已连接","ChatWithUs":"与我们聊天"},"ChatCompleted":{"StartNew":"开始新的聊天"},"Rate":{"Bad":"差","Good":"好","Neutral":"一般","VeryBad":"非常差","VeryGood":"非常好","GiveFeedback":"是","NoFeedback":"否"}}');var Ml=n.t(Tl,2);Xs.use(dl);const Nl=new dl({locale:"en",messages:{en:pl,es:gl,de:vl,fr:Al,it:_l,pl:Sl,ru:Ol,pt_BR:Il,pt_PT:Il,pt:Il,zh:Ml,zh_CN:Ml}}),kl=e=>t=>t.pipe(jo((t=>t instanceof e)),$r((e=>e))),Rl=(e,t)=>new jr((n=>{t||(t={}),t.headers||(t.headers={}),Object.assign(t.headers,{pragma:"no-cache","cache-control":"no-store"}),fetch(e,t).then((e=>{e.ok?(n.next(e),n.complete()):n.error(e)})).catch((e=>{e instanceof TypeError?n.error("Failed to contact chat service URL. Please check chat URL parameter and ensure CORS requests are allowed from current domain."):n.error(e)}))})),Fl=e=>{const t=new Uint8Array(e),n=ba.decode(t,t.length);return delete n.MessageId,Object.values(n)[0]},Dl=e=>{const t=new URL(window.location.href),n=e.startsWith("http")?e:t.protocol+(e.startsWith("//")?e:"//"+e);return new URL(n)};function Pl(e,t){return e?t?`${e.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`:e:t}const Bl=e=>"string"==typeof e?e:e instanceof Error?"NotAllowedError"===e.name?Nl.t("Inputs.NotAllowedError").toString():"NotFoundError"===e.name?Nl.t("Inputs.NotFoundError").toString():e.message:Nl.t("Inputs.ServiceUnavailable").toString(),Ll=(()=>{const e=window.document.title,t=Nl.t("Inputs.NewMessageTitleNotification").toString();let n;const i=()=>{window.document.title=window.document.title===t?e:t},s=()=>{clearInterval(n),window.document.title=e,window.document.onmousemove=null,n=null};return{startBlinkWithStopOnMouseMove(){n||(n=setInterval(i,1e3),window.document.onmousemove=s)},startBlink(){n||(n=setInterval(i,1e3))},stopBlink(){n&&s()}}})(),jl=(e,t=!0)=>{let n="0123456789";n+=t?"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ":"";let i="";for(let t=0;t<e;t+=1)i+=n.charAt(Math.floor(Math.random()*n.length));return i},Ul="https:"===window.location.protocol||window.location.host.startsWith("localhost");function zl(e){return e&&"function"==typeof e.schedule}const ql=e=>t=>{for(let n=0,i=e.length;n<i&&!t.closed;n++)t.next(e[n]);t.complete()};function Vl(e,t){return new jr((n=>{const i=new Nr;let s=0;return i.add(t.schedule((function(){s!==e.length?(n.next(e[s++]),n.closed||i.add(this.schedule())):n.complete()}))),i}))}function Gl(e,t){return t?Vl(e,t):new jr(ql(e))}function Wl(...e){let t=e[e.length-1];return zl(t)?(e.pop(),Vl(e,t)):Gl(e)}const $l="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",Hl=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Ql(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const Yl=e=>{if(e&&"function"==typeof e[Pr])return i=e,e=>{const t=i[Pr]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Hl(e))return ql(e);if(Ql(e))return n=e,e=>(n.then((t=>{e.closed||(e.next(t),e.complete())}),(t=>e.error(t))).then(null,Or),e);if(e&&"function"==typeof e[$l])return t=e,e=>{const n=t[$l]();for(;;){let t;try{t=n.next()}catch(t){return e.error(t),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add((()=>{n.return&&n.return()})),e};{const t=Tr(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,i};function Xl(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[Pr]}(e))return function(e,t){return new jr((n=>{const i=new Nr;return i.add(t.schedule((()=>{const s=e[Pr]();i.add(s.subscribe({next(e){i.add(t.schedule((()=>n.next(e))))},error(e){i.add(t.schedule((()=>n.error(e))))},complete(){i.add(t.schedule((()=>n.complete())))}}))}))),i}))}(e,t);if(Ql(e))return function(e,t){return new jr((n=>{const i=new Nr;return i.add(t.schedule((()=>e.then((e=>{i.add(t.schedule((()=>{n.next(e),i.add(t.schedule((()=>n.complete())))})))}),(e=>{i.add(t.schedule((()=>n.error(e))))}))))),i}))}(e,t);if(Hl(e))return Vl(e,t);if(function(e){return e&&"function"==typeof e[$l]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new jr((n=>{const i=new Nr;let s;return i.add((()=>{s&&"function"==typeof s.return&&s.return()})),i.add(t.schedule((()=>{s=e[$l](),i.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=s.next();e=n.value,t=n.done}catch(e){return void n.error(e)}t?n.complete():(n.next(e),this.schedule())})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function Kl(e,t){return t?Xl(e,t):e instanceof jr?e:new jr(Yl(e))}class Zl extends Fr{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Jl extends Fr{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function ec(e,t){if(!t.closed)return e instanceof jr?e.subscribe(t):Yl(e)(t)}function tc(e,t){return"function"==typeof t?n=>n.pipe(tc(((n,i)=>Kl(e(n,i)).pipe($r(((e,s)=>t(n,e,i,s))))))):t=>t.lift(new nc(e))}class nc{constructor(e){this.project=e}call(e,t){return t.subscribe(new ic(e,this.project))}}class ic extends Jl{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new Zl(this),i=this.destination;i.add(n),this.innerSubscription=ec(e,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}function sc(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(sc(((n,i)=>Kl(e(n,i)).pipe($r(((e,s)=>t(n,e,i,s))))),n)):("number"==typeof t&&(n=t),t=>t.lift(new rc(e,n)))}class rc{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new oc(e,this.project,this.concurrent))}}class oc extends Jl{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t)}_innerSub(e){const t=new Zl(this),n=this.destination;n.add(t);const i=ec(e,t);i!==t&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function ac(e=Number.POSITIVE_INFINITY){return sc(Br,e)}function lc(...e){return ac(1)(Wl(...e))}function cc(...e){const t=e[e.length-1];return zl(t)?(e.pop(),n=>lc(e,n,t)):t=>lc(e,t)}class fc extends Nr{constructor(e,t){super()}schedule(e,t=0){return this}}class uc extends fc{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,i=void 0;try{this.work(e)}catch(e){n=!0,i=!!e&&e||new Error(e)}if(n)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}class dc{constructor(e,t=dc.now){this.SchedulerAction=e,this.now=t}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}dc.now=()=>Date.now();class hc extends dc{constructor(e,t=dc.now){super(e,(()=>hc.delegate&&hc.delegate!==this?hc.delegate.now():t())),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return hc.delegate&&hc.delegate!==this?hc.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}const pc=new class extends hc{}(class extends uc{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}),mc=new jr((e=>e.complete()));function gc(e){return e?function(e){return new jr((t=>e.schedule((()=>t.complete()))))}(e):mc}var bc;!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(bc||(bc={}));class vc{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Wl(this.value);case"E":return Fo(this.error);case"C":return gc()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new vc("N",e):vc.undefinedValueNotification}static createError(e){return new vc("E",void 0,e)}static createComplete(){return vc.completeNotification}}vc.completeNotification=new vc("C"),vc.undefinedValueNotification=new vc("N",void 0);class yc extends Fr{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(yc.dispatch,this.delay,new Ac(e,this.destination)))}_next(e){this.scheduleMessage(vc.createNext(e))}_error(e){this.scheduleMessage(vc.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(vc.createComplete()),this.unsubscribe()}}class Ac{constructor(e,t){this.notification=e,this.destination=t}}class wc extends Gr{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new _c(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,s=n.length;let r;if(this.closed)throw new zr;if(this.isStopped||this.hasError?r=Nr.EMPTY:(this.observers.push(e),r=new qr(this,e)),i&&e.add(e=new yc(e,i)),t)for(let t=0;t<s&&!e.closed;t++)e.next(n[t]);else for(let t=0;t<s&&!e.closed;t++)e.next(n[t].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),r}_getNow(){return(this.scheduler||pc).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,i=this._events,s=i.length;let r=0;for(;r<s&&!(e-i[r].time<n);)r++;return s>t&&(r=Math.max(r,s-t)),r>0&&i.splice(0,r),i}}class _c{constructor(e,t){this.time=e,this.value=t}}function Cc(e,t,n,i){n&&"function"!=typeof n&&(i=n);const s="function"==typeof n?n:void 0,r=new wc(e,t,i);return e=>ro((()=>r),s)(e)}const Sc=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function Ec(e){return t=>0===e?gc():t.lift(new Oc(e))}class Oc{constructor(e){if(this.total=e,this.total<0)throw new Sc}call(e,t){return t.subscribe(new xc(e,this.total))}}class xc extends Fr{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}function Ic(e){return function(t){const n=new Tc(e),i=t.lift(n);return n.caught=i}}class Tc{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Mc(e,this.selector,this.caught))}}class Mc extends Jl{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let t;try{t=this.selector(e,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const n=new Zl(this);this.add(n);const i=ec(t,n);i!==n&&this.add(i)}}}class Nc{constructor(e){this.name="",this.emailTag="",this.image="",Object.assign(this,e)}}const kc=new Nc;class Rc{constructor(e,t,n,i,s){this.connect$=new Gr,this.changeOperator$=new Gr,this.chatMessages=[],this.hasSession=!1,this.mySession$=this.connect$.pipe(tc((r=>r&&void 0!==this.auth?s.createMySession(this.auth,t,e,n,i):Wl(Bo()))),cc(Bo()),Cc(1),Jr()),this.onOperatorChange$=this.changeOperator$.pipe(Cc(1),Jr()),this.notificationsOfType$(Nc).subscribe((t=>{""!==t.image&&"AgentGravatar"!==t.image&&(t.image=e+t.image),this.changeOperator$.next(t)})),this.notificationsOfType$(ca).subscribe((t=>{var n,i;t&&t.TakenBy&&(null===(i=null===(n=t.TakenBy)||void 0===n?void 0:n.Contact)||void 0===i?void 0:i.FirstName)&&this.changeOperator$.next({name:t.TakenBy.Contact.FirstName,emailTag:"default",image:void 0!==t.TakenBy.Contact&&""!==t.TakenBy.Contact.ContactImage?e+t.TakenBy.Contact.ContactImage:""})})),this.mySession$.subscribe((e=>{this.hasSession=e.sessionState===Co.Connected}))}closeSession(){this.connect$.next(!1)}reconnect(){this.connect$.next(!0)}setAuthentication(e){this.auth=e}injectAuthenticationName(e){const t=this.auth&&void 0!==this.auth.name?this.auth.name:"";return e.replace("%NAME%",t)}lastMessage(){return this.chatMessages[this.chatMessages.length-1]}clearMessages(){this.chatMessages=[]}notificationsOfType$(e){return this.mySession$.pipe(tc((e=>e.messages$)),kl(e))}notificationsFilter$(e){return this.mySession$.pipe(tc((e=>e.messages$)),jo((t=>t===e)))}get(e,t=!0){return this.mySession$.pipe(Ec(1),tc((e=>e.sessionState!==Co.Connected?(this.reconnect(),this.mySession$.pipe(jo((t=>t!==e)))):Wl(e))),tc((n=>n.get(e,t))),Ic((e=>e instanceof Error&&"NotImplemented"===e.name?Wl(null):Fo(e))),Ec(1))}}var Fc=n(3999);const Dc=e=>Fc.G(e),Pc=e=>/^([^\u0000-\u007F]|[\w\d-_\s])+$/i.test(e),Bc=e=>!e||!!e&&e.length<=200,Lc=(e,t=50)=>!e||!!e&&e.length<=t,jc=e=>Lc(e,254),Uc=(e,t)=>{return(n=e)&&/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/|\/\/)?[a-z0-9.-]+([-.]{1})[a-z0-9]{1,5}(:[0-9]{1,5})?(\/[a-zA-Z0-9-._~:/?#@!$&*=;+%()']*)?$/i.test(n)&&Bc(e)?e:t;var n},zc=(e,t)=>e?t?Lc(e,t)?e:e.substring(0,t):Lc(e,50)?e:e.substring(0,50):"",qc=(e,t)=>Dc(e)&&Bc(e)?e:t,Vc=(e,t)=>{return(n=e)&&/^(https?:\/\/)?((w{3}\.)?)facebook.com\/.*/i.test(n)&&Bc(e)?e:t;var n},Gc=(e,t)=>{return(n=e)&&/^(https?:\/\/)?((w{3}\.)?)twitter.com\/.*/i.test(n)&&Bc(e)?e:t;var n};var Wc=n(5088);class $c{static convertDateToTicks(e){return(e.getTime()-60*e.getTimezoneOffset()*1e3)*this.ticksPerMillisecondInCSharp+this.epochTicks}static convertTicksToDate(e){const t=(e-this.epochTicks)/this.ticksPerMillisecondInCSharp,n=new Date(t);return new Date(n.getTime()+60*n.getTimezoneOffset()*1e3)}static isDoubleByte(e){if(void 0!==e&&null!=e)for(let t=0,n=e.length;t<n;t+=1)if(e.charCodeAt(t)>255)return!0;return!1}static isDesktop(){return!Wc.isMobile||window.innerWidth>600}static decodeHtml(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value}static escapeHtml(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}static focusElement(e){setTimeout((()=>{e&&e.focus()}),200)}static blurElement(e){setTimeout((()=>{e&&e.blur()}),200)}static popupCenter(e,t,n){const i=void 0!==window.screenLeft?window.screenLeft:window.screenX,s=void 0!==window.screenTop?window.screenTop:window.screenY,r=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:window.screen.width,o=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:window.screen.height,a=r/window.screen.availWidth,l=(r-t)/2/a+i,c=(o-n)/2/a+s;return window.open(e,"_blank",`directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes, width=${t}, height=${n}, top=${c}, left=${l}`)}static retrieveHexFromCssColorProperty(e,t,n){const i=this.retrieveCssProperty(e,t),s=$c.colorNameToHex(i);return""!==s?s.replace("#",""):n}static retrieveCssProperty(e,t){let n="";if(e.$root&&e.$root.$el&&e.$root.$el.getRootNode()instanceof ShadowRoot){const i=e.$root.$el.getRootNode();i&&(n=getComputedStyle(i.host).getPropertyValue(t))}return n}static setCssProperty(e,t,n){if(e.$root&&e.$root.$el&&e.$root.$el.getRootNode()instanceof ShadowRoot){const i=e.$root.$el.getRootNode();i&&i.host.style.setProperty(t,n)}}static colorNameToHex(e){const t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return void 0!==t[e.toLowerCase()]?t[e.toLowerCase()]:e}}$c.epochTicks=621355968e9,$c.ticksPerMillisecondInCSharp=1e4,$c.IdGenerator=(()=>{let e=-1;return{getNext:()=>(e<0&&(e=1e5),e+=1,e)}})();var Hc=n(2721);const Qc=new hc(uc);function Yc(e){return!Ir(e)&&e-parseFloat(e)+1>=0}function Xc(e){const{index:t,period:n,subscriber:i}=e;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function Kc(e){return t=>t.lift(new Zc(e))}class Zc{constructor(e){this.predicate=e}call(e,t){return t.subscribe(new Jc(e,this.predicate))}}class Jc extends Fr{constructor(e,t){super(e),this.predicate=t,this.skipping=!0,this.index=0}_next(e){const t=this.destination;this.skipping&&this.tryCallPredicate(e),this.skipping||t.next(e)}tryCallPredicate(e){try{const t=this.predicate(e,this.index++);this.skipping=Boolean(t)}catch(e){this.destination.error(e)}}}class ef{constructor(){}static init(e){this.getTextHelper().dictionary=e}static getTextHelper(){return void 0===ef.instance&&(ef.instance=new ef),ef.instance}getPropertyValue(e,t){var n;let i=t.find((e=>""!==e&&void 0!==e));return void 0!==this.dictionary&&Object.prototype.hasOwnProperty.call(this.dictionary,e)&&(i=$c.decodeHtml(null!==(n=this.dictionary[e])&&void 0!==n?n:"")),void 0!==i?i:""}}var tf=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let nf=class extends Xs{constructor(){super(...arguments),this.textHelper=ef.getTextHelper(),this.ViewState=So,this.ChatViewMessageType=No}getPropertyValue(e,t){return this.textHelper.getPropertyValue(e,t)}};nf=tf([dr],nf);const sf=nf;class rf extends Gr{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new zr;return this._value}next(e){super.next(this._value=e)}}function of(e){return t=>t.lift(new af(e))}class af{constructor(e){this.notifier=e}call(e,t){const n=new lf(e),i=ec(this.notifier,new Zl(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class lf extends Jl{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class cf{constructor(){this.onError=new Gr,this.onRestored=new Gr,this.onMinimized=new Gr,this.onToggleCollapsed=new Gr,this.onRestart=new Gr,this.onLoaded=new Gr,this.onAnimationActivatedChange=new rf(!0),this.onChatInitiated=new rf(!1),this.onChatCompleted=new Gr,this.onClosed=new Gr,this.onClosed$=this.onClosed.asObservable().pipe(of(this.onChatCompleted)),this.onCallChannelEnable=new Gr,this.onFileUpload=new Gr,this.onClientChatTyping=new Gr,this.onEnableNotification=new Gr,this.onToggleSoundNotification=new Gr,this.onSoundNotification=new Gr,this.onUnattendedMessage=new Gr,this.onAttendChat=new Gr,this.onTriggerFocusInput=new Gr,this.onShowMessage=new Gr,this.onScrollToBottom=new Gr}}class ff{constructor(){this.activeLoaders={},this.key=0}show(e="default"){this.activeLoaders[e]=!0,this.key+=1}hide(e="default"){delete this.activeLoaders[e],this.key+=1}loading(e="default"){return this.activeLoaders[e]}}var uf,df,hf,pf,mf;!function(e){e[e.Name=0]="Name",e[e.Email=1]="Email",e[e.Both=2]="Both",e[e.None=3]="None"}(uf||(uf={})),function(e){e[e.BubbleLeft=0]="BubbleLeft",e[e.BubbleRight=1]="BubbleRight"}(df||(df={})),function(e){e[e.None=0]="None",e[e.FadeIn=1]="FadeIn",e[e.SlideLeft=2]="SlideLeft",e[e.SlideRight=3]="SlideRight",e[e.SlideUp=4]="SlideUp"}(hf||(hf={})),function(e){e[e.Phone=0]="Phone",e[e.WP=1]="WP",e[e.MCU=2]="MCU"}(pf||(pf={})),function(e){e[e.None=0]="None",e[e.Desktop=1]="Desktop",e[e.Mobile=2]="Mobile",e[e.Both=3]="Both"}(mf||(mf={}));var gf=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let bf=class extends(rr(sf)){constructor(){super(),this.preloadOperations=new Gr,this.preloadOperations$=this.preloadOperations.asObservable(),this.channelType=pf.Phone,this.eventBus=new cf,this.loadingService=new ff,Nl.locale=this.lang}beforeMount(){if(function(e=0,t,n){let i=-1;return Yc(t)?i=Number(t)<1?1:Number(t):zl(t)&&(n=t),zl(n)||(n=Qc),new jr((t=>{const s=Yc(e)?e:+e-n.now();return n.schedule(Xc,s,{index:0,period:i,subscriber:t})}))}(0,200).pipe(Kc((e=>""===this.assetsGuid&&e<10)),Ec(1)).subscribe((e=>this.preloadOperations.next(""!==this.assetsGuid))),this.wpUrl.length>0){const e=new URL(this.wpUrl.startsWith("//")?window.location.protocol+this.wpUrl:this.wpUrl),t=document.createElement("script"),n=""!==e.port?":"+e.port:"";t.setAttribute("src",`${e.protocol}//${e.hostname}${n}/wp-content/wplc_data/check.js`),document.head.appendChild(t)}}};gf([vr()],bf.prototype,"currentChannel",void 0),gf([wr()],bf.prototype,"inviteMessage",void 0),gf([wr()],bf.prototype,"endingMessage",void 0),gf([wr({default:""})],bf.prototype,"firstResponseMessage",void 0),gf([wr()],bf.prototype,"unavailableMessage",void 0),gf([wr({default:!1})],bf.prototype,"isPopout",void 0),gf([wr({default:"true"})],bf.prototype,"allowCall",void 0),gf([wr({default:"true"})],bf.prototype,"enableOnmobile",void 0),gf([wr({default:"true"})],bf.prototype,"enable",void 0),gf([wr({default:"true"})],bf.prototype,"allowMinimize",void 0),gf([wr({default:"false"})],bf.prototype,"minimized",void 0),gf([wr({default:"false"})],bf.prototype,"popupWhenOnline",void 0),gf([wr({default:"true"})],bf.prototype,"allowSoundnotifications",void 0),gf([wr({default:"false"})],bf.prototype,"enableMute",void 0),gf([wr({default:""})],bf.prototype,"soundnotificationUrl",void 0),gf([wr({default:""})],bf.prototype,"facebookIntegrationUrl",void 0),gf([wr({default:""})],bf.prototype,"twitterIntegrationUrl",void 0),gf([wr({default:""})],bf.prototype,"emailIntegrationUrl",void 0),gf([wr({default:"bubbleRight"})],bf.prototype,"minimizedStyle",void 0),gf([wr({default:"right"})],bf.prototype,"bubblePosition",void 0),gf([wr({default:"none"})],bf.prototype,"animationStyle",void 0),gf([wr({default:"true"})],bf.prototype,"allowVideo",void 0),gf([wr({default:"none"})],bf.prototype,"authentication",void 0),gf([wr({default:void 0})],bf.prototype,"channelUrl",void 0),gf([wr({default:void 0})],bf.prototype,"phonesystemUrl",void 0),gf([wr({default:""})],bf.prototype,"wpUrl",void 0),gf([wr({default:""})],bf.prototype,"filesUrl",void 0),gf([wr({default:""})],bf.prototype,"party",void 0),gf([wr({default:""})],bf.prototype,"operatorIcon",void 0),gf([wr({default:""})],bf.prototype,"windowIcon",void 0),gf([wr({default:""})],bf.prototype,"buttonIcon",void 0),gf([wr({default:"Default"})],bf.prototype,"buttonIconType",void 0),gf([wr()],bf.prototype,"operatorName",void 0),gf([wr()],bf.prototype,"windowTitle",void 0),gf([wr({default:"true"})],bf.prototype,"enablePoweredby",void 0),gf([wr({default:""})],bf.prototype,"userIcon",void 0),gf([wr()],bf.prototype,"callTitle",void 0),gf([wr({default:"true"})],bf.prototype,"popout",void 0),gf([wr({default:"false"})],bf.prototype,"forceToOpen",void 0),gf([wr({default:"false"})],bf.prototype,"ignoreQueueownership",void 0),gf([wr({default:"false"})],bf.prototype,"showOperatorActualName",void 0),gf([wr({default:void 0})],bf.prototype,"authenticationString",void 0),gf([wr({default:"phone"})],bf.prototype,"channel",void 0),gf([wr({default:"true"})],bf.prototype,"aknowledgeReceived",void 0),gf([wr({default:"false"})],bf.prototype,"gdprEnabled",void 0),gf([wr({default:"false"})],bf.prototype,"filesEnabled",void 0),gf([wr({default:"true"})],bf.prototype,"offlineEnabled",void 0),gf([wr({default:""})],bf.prototype,"gdprMessage",void 0),gf([wr({default:"false"})],bf.prototype,"ratingEnabled",void 0),gf([wr({default:"false"})],bf.prototype,"departmentsEnabled",void 0),gf([wr({default:"both"})],bf.prototype,"messageDateformat",void 0),gf([wr({default:"both"})],bf.prototype,"messageUserinfoFormat",void 0),gf([wr({default:""})],bf.prototype,"chatIcon",void 0),gf([wr({default:""})],bf.prototype,"chatLogo",void 0),gf([wr({default:""})],bf.prototype,"visitorName",void 0),gf([wr({default:""})],bf.prototype,"visitorEmail",void 0),gf([wr({default:""})],bf.prototype,"authenticationMessage",void 0),gf([wr()],bf.prototype,"startChatButtonText",void 0),gf([wr()],bf.prototype,"offlineFinishMessage",void 0),gf([wr({default:"none"})],bf.prototype,"greetingVisibility",void 0),gf([wr()],bf.prototype,"greetingMessage",void 0),gf([wr({default:"none"})],bf.prototype,"greetingOfflineVisibility",void 0),gf([wr({default:0})],bf.prototype,"chatDelay",void 0),gf([wr()],bf.prototype,"greetingOfflineMessage",void 0),gf([wr()],bf.prototype,"offlineNameMessage",void 0),gf([wr()],bf.prototype,"offlineEmailMessage",void 0),gf([wr()],bf.prototype,"offlineFormInvalidEmail",void 0),gf([wr()],bf.prototype,"offlineFormMaximumCharactersReached",void 0),gf([wr()],bf.prototype,"offlineFormInvalidName",void 0),gf([wr({default:"false"})],bf.prototype,"enableDirectCall",void 0),gf([wr({default:"false"})],bf.prototype,"enableGa",void 0),gf([wr({default:""})],bf.prototype,"assetsGuid",void 0),gf([wr({default:()=>(0,Hc.Z)({languages:Object.keys(Nl.messages),fallback:"en"})})],bf.prototype,"lang",void 0),gf([wr()],bf.prototype,"cssVariables",void 0),gf([vr()],bf.prototype,"eventBus",void 0),gf([vr()],bf.prototype,"loadingService",void 0),bf=gf([dr({i18n:Nl})],bf);const vf=bf;var yf=n(2568),Af=n.n(yf);function wf(e){return!!e&&(e instanceof jr||"function"==typeof e.lift&&"function"==typeof e.subscribe)}function _f(...e){let t=Number.POSITIVE_INFINITY,n=null,i=e[e.length-1];return zl(i)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof i&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof jr?e[0]:ac(t)(Gl(e,n))}const Cf=(()=>{function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e})();function Sf(e){return e instanceof Date&&!isNaN(+e)}class Ef{constructor(e,t,n,i){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=i}call(e,t){return t.subscribe(new Of(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class Of extends Jl{constructor(e,t,n,i,s){super(e),this.absoluteTimeout=t,this.waitFor=n,this.withObservable=i,this.scheduler=s,this.scheduleTimeout()}static dispatchTimeout(e){const{withObservable:t}=e;e._unsubscribeAndRecycle(),e.add(ec(t,new Zl(e)))}scheduleTimeout(){const{action:e}=this;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(Of.dispatchTimeout,this.waitFor,this))}_next(e){this.absoluteTimeout||this.scheduleTimeout(),super._next(e)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}function xf(e,t=Qc){return function(e,t,n=Qc){return i=>{let s=Sf(e),r=s?+e-n.now():Math.abs(e);return i.lift(new Ef(r,s,t,n))}}(e,Fo(new Cf),t)}function If(e,t,n){return function(i){return i.lift(new Tf(e,t,n))}}class Tf{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new Mf(e,this.nextOrObserver,this.error,this.complete))}}class Mf extends Fr{constructor(e,t,n,i){super(e),this._tapNext=Kr,this._tapError=Kr,this._tapComplete=Kr,this._tapError=n||Kr,this._tapComplete=i||Kr,Cr(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Kr,this._tapError=t.error||Kr,this._tapComplete=t.complete||Kr)}_next(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}function Nf(){try{return"true"===localStorage.getItem("callus.loggerenabled")}catch(e){return!1}}function kf(e){Nf()&&console.log("Request",e)}function Rf(e){Nf()&&console.log("Response",e)}function Ff(e){Nf()&&console.log(e)}function Df(e){console.error("call-us:",e)}class Pf{constructor(e){this.Description=e}toGenericMessage(){const e=new ba;return e.MessageId=-1,e}}class Bf{constructor(e){Object.assign(this,e)}}class Lf{constructor(e){this.messages=[],Object.assign(this,e)}}class jf{constructor(e){this.message=e}}class Uf{constructor(e){Object.assign(this,e)}}class zf{constructor(e){this.isTyping=!1,Object.assign(this,e)}}class qf{static getChannelChatTyping(e){return{action:"wplc_typing",user:"user",type:Math.floor(Date.now()/1e3),cid:e.idConversation}}static getChannelChatFile(e){return{action:"wplc_upload_file",cid:e.idConversation,file:e.file}}static getChannelRequestSendChatMessage(e){return{action:"wplc_user_send_msg",cid:e.idConversation,msg:e.message}}getChannelObject(e){let t=e;return t=e instanceof zf?qf.getChannelChatTyping(e):e instanceof Uf?qf.getChannelChatFile(e):e instanceof jf?qf.getChannelRequestSendChatMessage(e):new Pf("WP doesn't support this call"),t}getClientMessages(e){const t=new Lf;t.messages=new Array;const n=Wf();return Object.keys(e).forEach((i=>{var s;let r;null!=e[i].file&&(r=new Uf({fileName:e[i].file.FileName,fileLink:e[i].file.FileLink,fileState:Oo.Available,fileSize:e[i].file.FileSize}));const o=new Bf({id:parseInt(i,10),senderNumber:e[i].originates,senderName:"2"===e[i].originates?null!==(s=null==n?void 0:n.name)&&void 0!==s?s:"":"Support",senderBridgeNumber:"",isNew:!0,party:e[i].aid.toString(),partyNew:"",isAnonymousActive:!1,idConversation:e[i].cid.toString(),message:e[i].msg,time:new Date(e[i].added_at),file:r,isLocal:"2"===e[i].originates,code:e[i].code});t.messages.push(o)})),t}getClientObject(e,t){let n;if(n=e,void 0!==e.Data&&null!=e.Data)switch(t){case"ClientChatMessageQueue":Object.prototype.hasOwnProperty.call(e.Data,"Messages")&&(n=this.getClientMessages(e.Data.Messages))}return n}}class Vf{constructor(e){this.code="",this.image="",this.name="",Object.assign(this,e)}}class Gf{constructor(e){this.portalId="",this.name="Guest",this.operator=new Nc,this.isQueue=!1,this.isPopoutAvailable=!1,this.isChatEnabled=!1,this.isAvailable=!1,this.chatUniqueCode=-1,this.clientId="",this.chatSessionCode="",this.chatStatusCode=-1,this.chatSecret="",this.authorized=!1,this.dictionary={},this.country=new Vf,this.inBusinessSchedule=!1,Object.assign(this,e)}}function Wf(){const e=localStorage.getItem("ChatData");return e?new Gf(JSON.parse(e)):void 0}class $f{constructor(e,t,n){this.endpoint=e,this.fileEndpoint=t,this.sessionId=n,this.messages$=new Gr,this.sessionState=Co.Connected,this.supportsWebRTC=!1,this.serverProvideSystemMessages=!0,this.supportUnicodeEmoji=!1,this.dataMapper=new qf}getSessionUniqueCode(){return parseInt(this.sessionId,10)}fileEndPoint(e){return""!==e?e:this.fileEndpoint}emojiEndpoint(){return this.fileEndpoint+"/images/emojis/32/"}get(e,t=!0){var n,i;kf(e);const s=t?this.dataMapper.getChannelObject(e.data):e.data;if(!(s instanceof Pf)){let t,r={};const o=Wf();return e.containsFile?(t=new FormData,t.append("security",null!==(i=null==o?void 0:o.chatSecret)&&void 0!==i?i:""),Object.entries(s).forEach((([e,n])=>{"containsFile"!==e&&t.append(e,n)}))):(r={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},t=new URLSearchParams,t.set("security",null!==(n=null==o?void 0:o.chatSecret)&&void 0!==n?n:""),Object.entries(s).forEach((([e,n])=>{"containsFile"!==e&&t.set(e,n)}))),Rl(this.endpoint,{headers:r,method:"POST",credentials:"include",body:t}).pipe(tc((e=>e.json())),tc((e=>{if(!e.ErrorFound){const t=e;return Rf(t),Wl(t)}return Fo(e.ErrorMessage)})),Ic((e=>(console.log(e),Fo(e)))))}const r=new Error("Not implemented on this channel");return r.name="NotImplemented",Fo(r)}}class Hf{constructor(e){Object.assign(this,e)}}class Qf{constructor(e){Object.assign(this,e)}}class Yf{constructor(e){Object.assign(this,e)}}class Xf{constructor(e){Object.assign(this,e)}}class Kf{constructor(){this.LastReceived=""}getInfo(e,t){const n=Wf(),i=n?n.chatSessionCode:jl(12),s=new URLSearchParams;return s.set("action","wplc_init_session"),s.set("security","NoToken"),s.set("wplcsession",i),s.set("wplc_is_mobile","false"),this.wordpressAjaxCall(e,s).pipe($r((e=>{var t;return new Gf({isAvailable:e.Data.available,isChatEnabled:e.Data.enabled,chatUniqueCode:e.Data.cid,chatSessionCode:i,chatStatusCode:e.Status,name:e.Data.name,operator:new Nc({name:e.Data.operator.Name,emailTag:e.Data.operator.EmailTag,image:null!==(t=e.Data.operator.Image)&&void 0!==t?t:""}),chatSecret:e.Data.nonce,portalId:e.Data.portal_id,dictionary:e.Data.dictionary,country:e.Data.country,customFields:e.Data.custom_fields.map((e=>new Qf({id:e.id,name:e.name,type:e.type,defaultText:"TEXT"===e.type?e.values:"",options:"DROPDOWN"===e.type?e.values:[]}))),departments:e.Data.departments.map((e=>new Hf({id:e.id,name:e.name})))})})),If((e=>{n&&n.chatUniqueCode===e.chatUniqueCode?e.authorized=n.authorized:(e.authorized=!1,e.chatSessionCode=jl(12)),localStorage.setItem("ChatData",JSON.stringify(e))})),Cc(1),Jr())}startWpSession(e,t,n,i){const s=Wf(),r=new URLSearchParams;return r.set("action","wplc_start_chat"),r.set("email",void 0!==e.email?e.email:""),r.set("name",void 0!==e.name?e.name:""),r.set("department",void 0!==e.department?e.department.toString():"-1"),r.set("customFields",void 0!==e.customFields?JSON.stringify(e.customFields):JSON.stringify({})),r.set("cid",s?""+(null==s?void 0:s.chatUniqueCode):""),this.wordpressAjaxCall(t,r).pipe($r((e=>new $f(t,n,e.Data.cid))),If((()=>{s&&(s.authorized=!0,localStorage.setItem("ChatData",JSON.stringify(s)))})),Cc(1),Jr())}setExternalSession(e,t){const n=Wf(),i=new URLSearchParams;return i.set("action","wplc_register_external_session"),i.set("ext_session",t),i.set("cid",n?""+(null==n?void 0:n.chatUniqueCode):""),this.wordpressAjaxCall(e,i)}closeWpSession(e){return this.getChatData().pipe($r((e=>{const t=new URLSearchParams;return t.set("action","wplc_user_close_chat"),t.set("cid",e.chatUniqueCode.toString()),t.set("status",e.chatStatusCode.toString()),t})),tc((t=>this.wordpressAjaxCall(e,t))),$r((()=>!0)),Cc(1),Jr())}resetWpSession(e){return this.getChatData().pipe($r((e=>{const t=new URLSearchParams;return t.set("action","wplc_user_reset_session"),t.set("cid",e.chatUniqueCode.toString()),t})),tc((t=>{let n=this.wordpressAjaxCall(e,t);const i=t.get("cid");return null!==i&&parseInt(i,10)>0&&(n=Wl(!0)),n})),$r((()=>!0)),Cc(1),Jr())}getChatData(){return new jr((e=>{const t=Wf();t?(e.next(t),e.complete()):e.error("Component hasn't initialized properly")}))}getChatMessages(e,t){return this.getChatData().pipe($r((e=>{const n=new URLSearchParams;return n.set("action",t),n.set("cid",e.chatUniqueCode.toString()),n.set("wplc_name",void 0!==e.name?e.name:""),n.set("wplc_email",void 0!==e.email?e.email:""),n.set("status",e.chatStatusCode.toString()),n.set("wplcsession",e.chatSessionCode),n.set("wplc_is_mobile","false"),n.set("short_poll","false"),void 0!==this.LastReceived&&n.set("last_informed",this.LastReceived),n})),tc((t=>this.wordpressAjaxCall(e.endpoint,t))))}createMySession(e,t,n,i,s){if(this.isAuthorized()){const t=Wf();t&&(e={email:t.email,name:t.name,department:t.department})}return this.startWpSession(e,n,i,s).pipe(Ic((e=>Wl(Lo(Bl(e))))))}dropSession(e,t,n){return n?this.closeWpSession(e).pipe(If((()=>{this.cleanLocalChatData()}))):this.resetWpSession(e).pipe(If((()=>{this.cleanLocalChatData()})))}cleanLocalChatData(){return localStorage.removeItem("ChatData"),!0}sendSingleCommand(e,t,n){const i=new URLSearchParams;return i.set("action",Kf.mapObjectToAction(n)),Object.entries(n.data).forEach((([e,t])=>{i.set(e,t)})),this.wordpressAjaxCall(e,i)}isAuthorized(){let e=!1;const t=Wf();return t&&(e=t.authorized),e}getAuth(){var e;const t=null!==(e=Wf())&&void 0!==e?e:new Gf;return{email:t.email,name:t.name,department:t.department,customFields:t.customFieldsValues}}setAuthentication(e){var t;const n=null!==(t=Wf())&&void 0!==t?t:new Gf,i=[];void 0!==e.customFields&&e.customFields.forEach((e=>{null!==e&&i.push(e)})),n.email=e.email,n.name=e.name,n.department=e.department,n.customFieldsValues=i,localStorage.setItem("ChatData",JSON.stringify(n))}wordpressAjaxCall(e,t){const n=Wf();return n&&t.set("security",n.chatSecret),Rl(e,{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},credentials:"include",method:"POST",body:t}).pipe(tc((e=>e.json())),tc((e=>e.ErrorFound?Fo(e.ErrorMessage):Wl({Data:e.Data,Status:e.Status}))),Ic((e=>(console.log(e),Fo(e)))))}static mapObjectToAction(e){let t="";return e instanceof Yf?t="wplc_send_offline_msg":e instanceof Xf&&(t="wplc_rate_chat"),t}}const Zf={"*\\0/*":"1f646","*\\O/*":"1f646","-___-":"1f611",":'-)":"1f602","':-)":"1f605","':-D":"1f605",">:-)":"1f606","':-(":"1f613",">:-(":"1f620",":'-(":"1f622","O:-)":"1f607","0:-3":"1f607","0:-)":"1f607","0;^)":"1f607","O;-)":"1f607","0;-)":"1f607","O:-3":"1f607","-__-":"1f611",":-Þ":"1f61b","</3":"1f494",":')":"1f602",":-D":"1f603","':)":"1f605","'=)":"1f605","':D":"1f605","'=D":"1f605",">:)":"1f606",">;)":"1f606",">=)":"1f606",";-)":"1f609","*-)":"1f609",";-]":"1f609",";^)":"1f609","':(":"1f613","'=(":"1f613",":-*":"1f618",":^*":"1f618",">:P":"1f61c","X-P":"1f61c",">:[":"1f61e",":-(":"1f61e",":-[":"1f61e",">:(":"1f620",":'(":"1f622",";-(":"1f622",">.<":"1f623","#-)":"1f635","%-)":"1f635","X-)":"1f635","\\0/":"1f646","\\O/":"1f646","0:3":"1f607","0:)":"1f607","O:)":"1f607","O=)":"1f607","O:3":"1f607","B-)":"1f60e","8-)":"1f60e","B-D":"1f60e","8-D":"1f60e","-_-":"1f611",">:\\":"1f615",">:/":"1f615",":-/":"1f615",":-.":"1f615",":-P":"1f61b",":Þ":"1f61b",":-b":"1f61b",":-O":"1f62e",O_O:"1f62e",">:O":"1f62e",":-X":"1f636",":-#":"1f636",":-)":"1f642","(y)":"1f44d","<3":"2764",":D":"1f603","=D":"1f603",";)":"1f609","*)":"1f609",";]":"1f609",";D":"1f609",":*":"1f618","=*":"1f618",":(":"1f61e",":[":"1f61e","=(":"1f61e",":@":"1f620",";(":"1f622","D:":"1f628",":$":"1f633","=$":"1f633","#)":"1f635","%)":"1f635","X)":"1f635","B)":"1f60e","8)":"1f60e",":/":"1f615",":\\":"1f615","=/":"1f615","=\\":"1f615",":L":"1f615","=L":"1f615",":P":"1f61b","=P":"1f61b",":b":"1f61b",":O":"1f62e",":X":"1f636",":#":"1f636","=X":"1f636","=#":"1f636",":)":"1f642","=]":"1f642","=)":"1f642",":]":"1f642"},Jf=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|((\\s|^)(\\*\\\\0\\/\\*|\\*\\\\O\\/\\*|\\-___\\-|\\:'\\-\\)|'\\:\\-\\)|'\\:\\-D|\\>\\:\\-\\)|>\\:\\-\\)|'\\:\\-\\(|\\>\\:\\-\\(|>\\:\\-\\(|\\:'\\-\\(|O\\:\\-\\)|0\\:\\-3|0\\:\\-\\)|0;\\^\\)|O;\\-\\)|0;\\-\\)|O\\:\\-3|\\-__\\-|\\:\\-Þ|\\:\\-Þ|\\<\\/3|<\\/3|\\:'\\)|\\:\\-D|'\\:\\)|'\\=\\)|'\\:D|'\\=D|\\>\\:\\)|>\\:\\)|\\>;\\)|>;\\)|\\>\\=\\)|>\\=\\)|;\\-\\)|\\*\\-\\)|;\\-\\]|;\\^\\)|'\\:\\(|'\\=\\(|\\:\\-\\*|\\:\\^\\*|\\>\\:P|>\\:P|X\\-P|\\>\\:\\[|>\\:\\[|\\:\\-\\(|\\:\\-\\[|\\>\\:\\(|>\\:\\(|\\:'\\(|;\\-\\(|\\>\\.\\<|>\\.<|#\\-\\)|%\\-\\)|X\\-\\)|\\\\0\\/|\\\\O\\/|0\\:3|0\\:\\)|O\\:\\)|O\\=\\)|O\\:3|B\\-\\)|8\\-\\)|B\\-D|8\\-D|\\-_\\-|\\>\\:\\\\|>\\:\\\\|\\>\\:\\/|>\\:\\/|\\:\\-\\/|\\:\\-\\.|\\:\\-P|\\:Þ|\\:Þ|\\:\\-b|\\:\\-O|O_O|\\>\\:O|>\\:O|\\:\\-X|\\:\\-#|\\:\\-\\)|\\(y\\)|\\<3|<3|\\:D|\\=D|;\\)|\\*\\)|;\\]|;D|\\:\\*|\\=\\*|\\:\\(|\\:\\[|\\=\\(|\\:@|;\\(|D\\:|\\:\\$|\\=\\$|#\\)|%\\)|X\\)|B\\)|8\\)|\\:\\/|\\:\\\\|\\=\\/|\\=\\\\|\\:L|\\=L|\\:P|\\=P|\\:b|\\:O|\\:X|\\:#|\\=X|\\=#|\\:\\)|\\=\\]|\\=\\)|\\:\\])(?=\\s|$|[!,.?]))","gi");function eu(e){return e.replace(Jf,((e,t,n,i)=>{if(void 0===i||""===i||!(i in Zf))return e;return n+function(e){if(e.indexOf("-")>-1){const t=[],n=e.split("-");for(let e=0;e<n.length;e+=1){let i=parseInt(n[e],16);if(i>=65536&&i<=1114111){const e=Math.floor((i-65536)/1024)+55296,t=(i-65536)%1024+56320;i=String.fromCharCode(e)+String.fromCharCode(t)}else i=String.fromCharCode(i);t.push(i)}return t.join("")}const t=parseInt(e,16);if(t>=65536&&t<=1114111){const e=Math.floor((t-65536)/1024)+55296,n=(t-65536)%1024+56320;return String.fromCharCode(e)+String.fromCharCode(n)}return String.fromCharCode(t)}(Zf[i=i].toUpperCase())}))}class tu{constructor(e){Object.assign(this,e)}}class nu{constructor(e){this.items=e}}class iu{constructor(e){Object.assign(this,e)}}class su{getClientChatTyping(e){return new zf({party:e.Party,user:e.User,idConversation:e.IdConversation,isTyping:!0,time:new Date})}getClientChatFileState(e){switch(e){case Qo.CF_Uploading:return Oo.Uploading;case Qo.CF_Available:return Oo.Available;default:return Oo.Deleted}}getClientFile(e){const t=new Uf;return t.fileName=e.FileName,t.fileLink=e.FileLink,t.progress=e.Progress,t.hasPreview=e.HasPreview,t.fileSize=e.FileSize,t.fileState=this.getClientChatFileState(e.FileState),t}getClientMessage(e){return new Bf({id:e.Id,senderNumber:e.SenderNumber,senderName:e.SenderName,senderBridgeNumber:e.SenderBridgeNumber,isNew:e.IsNew,party:e.Party,partyNew:e.PartyNew,isAnonymousActive:e.IsAnonymousActive,idConversation:e.IdConversation.toString(10),recipient:new iu({bridgeNumber:e.Recipient.BridgeNumber,email:e.Recipient.Email,extNumber:e.Recipient.ExtNumber,name:e.Recipient.Name}),message:e.Message,messageType:this.getClientMessageType(e.MessageType),time:new Date(e.Time.Year,e.Time.Month-1,e.Time.Day,e.Time.Hour,e.Time.Minute,e.Time.Second),file:void 0!==e.File?this.getClientFile(e.File):void 0,isLocal:"webrtc"===e.SenderBridgeNumber})}getClientChatTransferOperator(e){const t=e.PartyInfo.Recipients.find((e=>!e.IsAnonymousActive&&!e.IsRemoved));return t?new Nc({name:t.Recipient.Contact.FirstName,emailTag:void 0!==t.Recipient.Email&&""!==t.Recipient.Email?Af()(t.Recipient.Email):"default",image:void 0!==t.Recipient.Contact?t.Recipient.Contact.ContactImage:""}):new Nc}getClientMessageQueue(e){return new Lf({messages:e.Messages.map((e=>this.getClientMessage(e)))})}getClientChatFileProgress(e){return new tu({id:e.Id,party:e.Party,file:this.getClientFile(e.File),idConversation:e.IdConversation})}getClientMessageType(e){let t=ko.Normal;switch(e){case Yo.CMT_Closed:case Yo.CMT_Dealt:t=ko.Completed;break;default:t=ko.Normal}return t}getClientObject(e){let t=e;return e instanceof ga?t=this.getClientChatTyping(e):e instanceof oa?t=this.getClientMessageQueue(e):e instanceof na?t=this.getClientMessage(e):e instanceof sa?t=this.getClientChatFileProgress(e):e instanceof la&&(t=this.getClientChatTransferOperator(e)),t}getChannelChatTyping(e){return new ga({Party:e.party,User:e.user,IdConversation:e.idConversation})}getChannelChatFileState(e){switch(e){case Oo.Uploading:return Qo.CF_Uploading;case Oo.Available:return Qo.CF_Available;default:return Qo.CF_Deleted}}getChannelDateTime(e){return new Zo({Year:e.getFullYear(),Month:e.getMonth(),Day:e.getDay(),Hour:e.getHours(),Minute:e.getMinutes(),Second:e.getSeconds()})}getChannelChatFile(e){return new ia({FileName:e.fileName,FileLink:e.fileLink,Progress:e.progress,HasPreview:e.hasPreview,FileSize:e.fileSize,FileState:this.getChannelChatFileState(e.fileState)})}getChannelChatMessage(e){return new na({Id:e.id,SenderNumber:e.senderNumber,SenderName:e.senderName,SenderBridgeNumber:e.senderBridgeNumber,IsNew:e.isNew,Party:e.party,PartyNew:e.partyNew,IsAnonymousActive:e.isAnonymousActive,IdConversation:parseInt(e.idConversation,10),Recipient:this.getChannelRecipient(e.recipient),Message:e.message,Time:this.getChannelDateTime(e.time),File:void 0!==e.file?this.getChannelChatFile(e.file):void 0})}getChannelRecipient(e){return new ta({BridgeNumber:e.bridgeNumber,Email:e.email,ExtNumber:e.extNumber,Name:e.name})}getChannelChatMessageQueue(e){return new oa({Messages:e.messages.map((e=>this.getChannelChatMessage(e)))})}getChannelRequestSendChatMessage(e){return new ra({Message:e.message})}getChannelRequestSetChatReceived(e){return new aa({Items:e.items})}getChannelOfflineMessage(e){return new ra({Message:eu(`Offline Message:\n\nName: ${e.data.name}\nEmail: ${e.data.email}\nPhone: ${e.data.phone}\nContent: ${e.data.message}`)})}getChannelObject(e){let t=new ea;return e instanceof zf?t=this.getChannelChatTyping(e):e instanceof Lf?t=this.getChannelChatMessageQueue(e):e instanceof jf?t=this.getChannelRequestSendChatMessage(e):e instanceof nu?t=this.getChannelRequestSetChatReceived(e):e instanceof Yf?t=this.getChannelOfflineMessage(e):e instanceof class{constructor(e,t){this.idConversation=e,this.action=t}}&&(t=new Pf("PBX doesn't support this call")),t}}class ru{static Merge(e,t){return t.Action===Ho.FullUpdate||t.Action===Ho.Updated?ru.MergePlainObject(e,t):t.Action||Object.assign(e,t),e}static notify(e,t){const n=Reflect.get(e,t.toString()+"$");void 0!==n&&n.next(Reflect.get(e,t))}static MergePlainObject(e,t){void 0!==e&&Reflect.ownKeys(t).filter((e=>"Action"!==e&&"Id"!==e)).forEach((n=>{const i=Reflect.get(t,n),s=Reflect.get(e,n);if(void 0!==i){if(i instanceof Array){const t=i;if(0===t.length)return;if(t[0]instanceof Object){const i={};(s||[]).forEach((e=>{i[e.Id]=e})),t.forEach((e=>{const t=e.Id,n=i[t];switch(e.Action){case Ho.Deleted:delete i[t];break;case Ho.FullUpdate:i[t]=e;break;case Ho.Inserted:case Ho.Updated:i[t]=void 0===n?e:ru.Merge(n,e)}})),Reflect.set(e,n,Object.values(i))}else Reflect.set(e,n,i)}else i instanceof Object?Reflect.set(e,n,void 0===s?i:ru.Merge(s,i)):Reflect.set(e,n,i);ru.notify(e,n)}}))}}class ou{constructor(e,t,n){this.sessionId=n,this.messages$=new Gr,this.webRTCEndpoint=new fa,this.webRTCEndpoint$=new wc,this.sessionState=Co.Connected,this.pbxEndpoint=e,this.endpoint=Pl(e,"/MyPhone/MPWebService.asmx"),this.fileEndpoint=Pl(t,"/MyPhone/downloadChatFile/"),this.supportsWebRTC=!0,this.webRTCEndpoint$.next(this.webRTCEndpoint),this.dataMapper=new su,this.serverProvideSystemMessages=!0,this.chatConversationId=0}getSessionUniqueCode(){return this.chatConversationId}onWebRtcEndpoint(e){this.webRTCEndpoint=ru.Merge(this.webRTCEndpoint,e),this.webRTCEndpoint$.next(this.webRTCEndpoint)}fileEndPoint(e){return`${this.fileEndpoint}${e}?sessionId=${this.sessionId}`}emojiEndpoint(){return this.pbxEndpoint+"/webclient/assets/emojione/32/"}get(e,t=!0){kf(e);const n=t?this.dataMapper.getChannelObject(e.data):e.data;if(!(n instanceof Pf))return Rl(this.endpoint,{headers:{"Content-Type":"application/octet-stream",MyPhoneSession:this.sessionId},method:"POST",body:ba.encode(n.toGenericMessage()).finish()}).pipe(tc((e=>e.arrayBuffer())),$r((e=>{const t=Fl(e);if(Rf(t),t instanceof ea&&!t.Success){const e=new Error(t.Message||"Received unsuccessful ack for "+n.constructor.name);throw e.state=t.ErrorType,e}return t})));const i=new Error("Not implemented on this channel");return i.name="NotImplemented",Fo(i)}}class au{constructor(e){this.containsFile=!1,this.data=e}}class lu{constructor(e){this.sessionUniqueCode=-1,this.status=Io.BROWSE,Object.assign(this,e)}}class cu{constructor(){this.AddpTimeoutMs=2e4,this.ProtocolVersion="1.9",this.ClientVersion="1.0",this.ClientInfo="3CX Callus",this.User="click2call",this.wpChannel=new Kf}createClick2CallSession(e,t,n,i){let s=Pl(t,"/MyPhone/c2clogin?c2cid="+encodeURIComponent(i));return e.email&&(s+="&email="+encodeURIComponent(e.email)),e.name&&(s+="&displayname="+encodeURIComponent(e.name)),e.phone&&(s+="&phone="+encodeURIComponent(e.phone)),Rl(s).pipe(tc((e=>e.json())),$r((e=>e.sessionId)),Ic((e=>e instanceof Response&&404===e.status?Fo(Nl.t("Inputs.InvalidIdErrorMessage").toString()):Fo(e))),tc((e=>this.login(t,n,e))))}login(e,t,n){const i=new ou(e,t,n),s=new au(new Xo({ProtocolVersion:this.ProtocolVersion,ClientVersion:this.ClientVersion,ClientInfo:this.ClientInfo,User:this.User,Password:""})),r=i.get(s,!1);return wf(r)?r.pipe(tc((e=>e.Nonce?(s.data.Password=Af()(""+e.Nonce).toUpperCase(),i.get(s,!1)):Fo(e.ValidationMessage))),$r((t=>(i.notificationChannelEndpoint=Pl(`${"https:"===window.location.protocol?"wss:":"ws:"}${e.replace("http:","").replace("https:","")}`,`/ws/webclient?sessionId=${encodeURIComponent(n)}&pass=${encodeURIComponent(Af()(""+t.Nonce).toUpperCase())}`),i)))):Fo("Invalid channel setup")}createNotificationChannel(e){return new jr((t=>{const n=new WebSocket(e.notificationChannelEndpoint);return n.binaryType="arraybuffer",n.onmessage=e=>t.next(e.data),n.onerror=e=>t.error(e),()=>n.close()})).pipe(xf(this.AddpTimeoutMs),jo((e=>"ADDP"!==e)),Kc((e=>"START"!==e)),If((e=>{this.setAuthorized()})),sc((t=>{if("START"===t){const t=new au(new Jo),n=new au(new ma({register:!0}));return _f(e.get(t,!1),e.get(n,!1)).pipe(jo((e=>!(e instanceof ea))))}if("NOT AUTH"===t||"STOP"===t){const t=new lu({sessionUniqueCode:e.getSessionUniqueCode(),status:Io.ENDED_BY_AGENT});e.messages$.next(t)}const n=Fl(t);return Wl(e.dataMapper.getClientObject(n))}),t,1),lo());var t}processMyPhoneMessages(e,t){let n=!1;return new jr((i=>t.subscribe((t=>{Ff(t),!n&&t instanceof fa&&(i.next(e),n=!0),t instanceof fa&&e.onWebRtcEndpoint(t);const s=e.dataMapper.getClientObject(t);if(t instanceof Lf){if(0===e.chatConversationId&&t.messages.length>0){e.chatConversationId=parseInt(t.messages[0].idConversation,10);const n=new lu;n.sessionUniqueCode=parseInt(t.messages[0].idConversation,10),n.status=Io.ACTIVE,e.messages$.next(n)}s.messages=t.messages.filter((e=>!e.isLocal))}e.messages$.next(s)}),(e=>i.error(e)),(()=>i.complete()))))}createMySession(e,t,n,i,s){return this.createClick2CallSession(e,n,i,s).pipe(tc((e=>this.processMyPhoneMessages(e,this.createNotificationChannel(e)))),Ic((e=>Wl(Lo(Bl(e))))))}dropSession(e,t,n){var i;return null!==(null!==(i=Wf())&&void 0!==i?i:null)&&localStorage.removeItem("ChatData"),Wl(!0)}sendSingleCommand(e,t,n){return this.createClick2CallSession(n.auth,t,"",n.party).pipe(tc((e=>{const t=new au(n),i=e.get(t,!0);return wf(i)?i.pipe(tc((()=>{const t=new au(new Ko);return e.get(t,!1)}))):Fo("Invalid channel setup")})))}isAuthorized(){var e;const t=null!==(e=Wf())&&void 0!==e?e:null;return null!==t&&t.authorized}setAuthentication(e){var t;const n=null!==(t=Wf())&&void 0!==t?t:new Gf;n.email=e.email,n.name=e.name,this.checkIfPopoutOpening()&&this.setAuthorized(n),localStorage.setItem("ChatData",JSON.stringify(n))}getAuth(){var e;const t=null!==(e=Wf())&&void 0!==e?e:new Gf;return{email:t.email,name:t.name}}getInfo(e,t){const n=new URLSearchParams;n.set("action","wplc_get_general_info"),n.set("security","NoToken");const i=new Gf;let s,r=!0;if(""!==e){const o=localStorage.getItem("chatInfo");s=null!=o?Wl(JSON.parse(o)).pipe(If((e=>{i.dictionary=e.Data.dictionary,r=!e.Data.scheduleEnable||this.checkBusinessSchedule(e.Data.businessSchedule)})),tc((()=>Rl(t)))):this.wpChannel.wordpressAjaxCall(e,n).pipe(If((e=>{i.dictionary=e.Data.dictionary,r=!e.Data.scheduleEnable||this.checkBusinessSchedule(e.Data.businessSchedule),localStorage.setItem("chatInfo",JSON.stringify(e))})),tc((()=>Rl(t))))}else s=Rl(t);return s.pipe(tc((e=>e.json())),If((e=>{const n=Dl(t),s=e.profilePicture?e.profilePicture:"";i.isAvailable=r&&e.isAvailable,i.isChatEnabled=!Object.prototype.hasOwnProperty.call(e,"isChatEnabled")||e.isChatEnabled,i.isPopoutAvailable=e.isPoputAvailable,i.isQueue=e.isQueue,i.operator=new Nc,i.operator.name=i.isQueue?"":e.name,i.operator.image=s?`//${n.host}${s}`:"",i.chatUniqueCode=-1,i.webRtcCodecs=e.webRtcCodecs})),$r((()=>i)),Cc(1),Jr())}setAuthorized(e=null){var t;null===e&&(e=null!==(t=Wf())&&void 0!==t?t:new Gf),e.authorized=!0,localStorage.setItem("ChatData",JSON.stringify(e))}checkIfPopoutOpening(){let e=!1;return window.performance&&performance.navigation?e=performance.navigation.type===performance.navigation.TYPE_NAVIGATE:window.performance&&window.performance.getEntriesByType&&(e="navigate"===window.performance.getEntriesByType("navigation")[0].entryType),e}checkBusinessSchedule(e){let t=!1;const n=new Date,i=n.getUTCDay(),s=n.getUTCDate(),r=n.getUTCMonth(),o=n.getUTCFullYear();return i in e&&Ir(e[i])&&e[i].forEach((e=>{if(!t){const i=Date.UTC(o,r,s,e.from.h,e.from.m,0),a=Date.UTC(o,r,s,e.to.h,e.to.m,59);n.getTime()>=i&&n.getTime()<=a&&(t=!0)}})),t}}function fu(e){const{subscriber:t,counter:n,period:i}=e;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}function uu(e,t,n){let i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:i}){let s,r,o=0,a=!1,l=!1;return function(c){let f;o++,!s||a?(a=!1,s=new wc(e,t,i),f=s.subscribe(this),r=c.subscribe({next(e){s.next(e)},error(e){a=!0,s.error(e)},complete(){l=!0,r=void 0,s.complete()}})):f=s.subscribe(this),this.add((()=>{o--,f.unsubscribe(),r&&!l&&n&&0===o&&(r.unsubscribe(),r=void 0,s=void 0)}))}}(i))}function du(e,t=Qc){const n=Sf(e)?+e-t.now():Math.abs(e);return e=>e.lift(new hu(n,t))}class hu{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new pu(e,this.delay,this.scheduler))}}class pu extends Fr{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,i=e.scheduler,s=e.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const t=Math.max(0,n[0].time-i.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0;this.destination.add(e.schedule(pu.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new mu(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(vc.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(vc.createComplete()),this.unsubscribe()}}class mu{constructor(e,t){this.time=e,this.notification=t}}class gu{constructor(e,t,n){this.portalId=e,this.sessionId=t,this.clientId=n}getChannelRequestSendChatMessage(e){return{action:"request",notification:"chat",id:$c.IdGenerator.getNext(),cid:e.idConversation,message:e.message,tick:$c.convertDateToTicks(new Date),from:this.clientId,sid:this.sessionId,pid:this.portalId}}getChannelChatFile(e){return{action:"request",notification:"file",id:$c.IdGenerator.getNext(),cid:e.idConversation,url:null,tick:$c.convertDateToTicks(new Date),from:this.clientId,sid:this.sessionId,pid:this.portalId}}getChannelObject(e){let t;return t=e instanceof jf?this.getChannelRequestSendChatMessage(e):e instanceof zf?this.getChannelChatTyping(e):e instanceof Uf?this.getChannelChatFile(e):new Pf("MCU doesn't support this call"),t}getChannelChatTyping(e){return{action:"indication",notification:"typing",id:$c.IdGenerator.getNext(),cid:e.idConversation,tick:$c.convertDateToTicks(new Date),from:this.clientId,sid:this.sessionId,pid:this.portalId}}static getClientMessages(e){const t=new Bf({id:e.id,senderNumber:e.from,senderName:"Support",senderBridgeNumber:"",isNew:!0,party:e.from,partyNew:"",isAnonymousActive:!1,idConversation:e.sid,message:$c.decodeHtml(e.message),time:$c.convertTicksToDate(e.tick),isLocal:"Client"===e.senderType,code:e.sid});return new Lf({messages:[t]})}static getClientMessageFile(e){const t=new Uf({fileName:e.name,fileLink:e.url,fileState:Oo.Available,fileSize:e.size,hasPreview:!1}),n=new Bf({id:e.id,file:t,senderNumber:e.from,senderName:"Support",senderBridgeNumber:"",isNew:!0,party:e.from,partyNew:"",isAnonymousActive:!1,idConversation:e.sid,message:e.url,time:$c.convertTicksToDate(e.tick),isLocal:!1,code:e.sid});return new Lf({messages:[n]})}getClientChatTyping(e){return new zf({party:e.from,user:e.from,idConversation:e.sid,isTyping:!0,time:new Date})}getClientOperator(e){return new Nc({name:e.agent_name,image:"AgentGravatar",emailTag:e.agent_tag})}getClientObject(e,t){let n=e;switch(t){case"ClientChatTyping":Object.prototype.hasOwnProperty.call(e,"sid")&&(n=this.getClientChatTyping(e));break;case"ClientChatMessageQueue":Object.prototype.hasOwnProperty.call(e,"message")&&(n=gu.getClientMessages(e));break;case"ClientChatOperator":Object.prototype.hasOwnProperty.call(e,"agent_name")&&(n=this.getClientOperator(e));break;case"ClientChatMessageQueueFile":Object.prototype.hasOwnProperty.call(e,"url")&&(n=gu.getClientMessageFile(e))}return n}}class bu{constructor(e,t,n,i,s,r,o){this.messages$=new Gr,this.sessionState=Co.Connected,this.endpoint=e+"/chatchannel",this.sessionId=s,this.fileEndpoint=""+n,this.supportsWebRTC=!1,this.clientId=r,this.dataMapper=new gu(o,s,r),this.sessionState=Co.Connected,this.serverProvideSystemMessages=!1,this.persistentSession=i}getSessionUniqueCode(){return parseInt(this.persistentSession.sessionId,10)}fileEndPoint(e){return""!==e?e:this.fileEndpoint}emojiEndpoint(){return this.persistentSession.emojiEndpoint()}get(e,t=!0){kf(e);const n=t?this.dataMapper.getChannelObject(e.data):e.data,i=this.persistentSession.get(e,t);if(null!==i)return i.pipe(If((t=>{if(!(n instanceof Pf))return e.containsFile&&(n.url=t.Data.FileLink,n.name=t.Data.FileName,n.size=t.Data.FileSize),this.notificationSocket.send(JSON.stringify(n)),Wl(t);const i=new Error("Not implemented on this channel");return i.name="NotImplemented",Fo(i)})));const s=new Error("Not implemented on this channel");return s.name="NotImplemented",Fo(s)}}class vu{constructor(){this.messagesWaitingAcknowledgement$=new Gr,this.wpChannel=new Kf}getInfo(e,t){return this.wpChannel.getInfo(e,t)}initMcuSocket(e){return new jr((t=>(this.mcuSocket=new WebSocket(e),this.mcuSocket.onopen=e=>t.next("READY"),this.mcuSocket.onmessage=e=>t.next(e),this.mcuSocket.onclose=e=>{t.next(1e3!==e.code?"FAULTY_CLOSE":"CLOSE")},this.mcuSocket.onerror=e=>t.error(e),()=>this.mcuSocket.close())))}initMcuSession(e,t,n,i){const s=this.wpChannel.getChatData().pipe(uu());this.socketData$=s.pipe(tc((e=>this.initMcuSocket(`${t}/chatchannel?cid=${i.getSessionUniqueCode()}&pid=${e.portalId}`))),uu());const r=this.socketData$.pipe(jo((e=>"FAULTY_CLOSE"===e||"CLOSE"===e))),o=function(e=0,t=Qc){return(!Yc(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=Qc),new jr((n=>(n.add(t.schedule(fu,e,{subscriber:n,counter:0,period:e})),n)))}(5e3).pipe(of(r),tc((()=>s))),a=this.socketData$.pipe(jo((e=>"READY"===e)),If((t=>{o.subscribe((t=>{const n=new Date,s=$c.convertDateToTicks(n),r={id:$c.IdGenerator.getNext(),action:"indication",notification:"keepalive",tick:s,pid:t.portalId,cid:i.getSessionUniqueCode(),sid:t.chatSessionCode,name:e.name};this.mcuSocket.send(JSON.stringify(r))}))})),tc((e=>s))),l=this.socketData$.pipe($r((e=>void 0!==e.data?JSON.parse(e.data):e)),jo((e=>Object.prototype.hasOwnProperty.call(e,"notification")&&"login_client"===e.notification&&Object.prototype.hasOwnProperty.call(e,"action")&&"reply"===e.action)));return a.subscribe((t=>{const n=new Date,s=$c.convertDateToTicks(n),r={id:$c.IdGenerator.getNext(),action:"request",notification:"login",tick:s,pid:t.portalId,cid:i.getSessionUniqueCode(),sid:t.chatSessionCode,country:t.country,departmentid:void 0!==e.department?e.department.toString():"-1",name:e.name,email:e.email};this.mcuSocket.send(JSON.stringify(r))})),l.pipe(If((e=>{s.subscribe((t=>{t.chatSessionCode=e.sid,t.clientId=e.key,localStorage.setItem("ChatData",JSON.stringify(t))}))})),tc((()=>s)),tc((e=>{const s=new bu(t,n,"",i,e.chatSessionCode,e.clientId,e.portalId);return s.notificationSocket=this.mcuSocket,Wl(s)})),If((e=>{r.pipe(jo((e=>"FAULTY_CLOSE"===e))).subscribe((t=>{e.messages$.next("ReConnect")}))})))}createNotificationChannel(e){return lc(this.wpChannel.getChatMessages(e.persistentSession,"wplc_chat_history").pipe($r((e=>(e.source="wpHistory",e)))),this.socketData$.pipe($r((e=>{if(void 0!==e.data){const t=JSON.parse(e.data);return t.source="socketMessages",t}return e}))))}processMessages(e,t){let n=!1;return new jr((i=>t.subscribe((t=>{if(Ff(t),n||(i.next(e),n=!0,e.messages$.next(new lu({sessionUniqueCode:e.getSessionUniqueCode(),status:Io.PENDING_AGENT}))),"wpHistory"===t.source){const n=e.persistentSession.dataMapper.getClientObject(t,"ClientChatMessageQueue");n instanceof Lf&&n.messages.length>0&&(n.messages.forEach((e=>{e.isNew=!1})),e.messages$.next(n))}else if("chat"===t.action){if("agent_join"===t.notification){const n=e.dataMapper.getClientObject(t,"ClientChatOperator");e.messages$.next(n)}else if("text"===t.notification){const n=e.dataMapper.getClientObject(t,"ClientChatMessageQueue");e.messages$.next(n)}else if("file"===t.notification){const n=e.dataMapper.getClientObject(t,"ClientChatMessageQueueFile");e.messages$.next(n)}}else if("indication"===t.action)if("end"===t.notification){const n=new lu({sessionUniqueCode:e.getSessionUniqueCode(),status:t.data.Status});e.messages$.next(n)}else if("block"===t.notification){const n=new lu({sessionUniqueCode:e.getSessionUniqueCode(),status:t.data.Status});e.messages$.next(n)}else if("UpdateChat"===t.notification){const n=new lu({sessionUniqueCode:e.getSessionUniqueCode(),status:t.data.status});e.messages$.next(n)}else if("typing"===t.notification){const n=e.dataMapper.getClientObject(t,"ClientChatTyping");if(n.isTyping){const t=n;e.messages$.next(t)}}}),(e=>i.error(e)),(()=>i.complete()))))}createMySession(e,t,n,i,s){if(this.isAuthorized()){const t=Wf();t&&(e={email:t.email,name:t.name,department:t.department})}return this.wpChannel.startWpSession(e,t,i,s).pipe(tc((i=>this.initMcuSession(e,n,t,i))),tc((e=>this.wpChannel.setExternalSession(t,e.sessionId).pipe($r((t=>e))))),tc((e=>this.processMessages(e,this.createNotificationChannel(e)))),Ic((r=>Wl(r).pipe(du(5e3),tc((r=>"Wrong Chat id"===r?Wl(Lo("Chat session not found please try again.")):this.createMySession(e,t,n,i,s)))))))}dropSession(e,t,n){return n&&this.wpChannel.getChatData().subscribe((e=>{const t={action:"indication",notification:"end",id:$c.IdGenerator.getNext(),tick:$c.convertDateToTicks(new Date),from:e.clientId,sid:e.chatSessionCode,pid:e.portalId,status:15};this.mcuSocket.send(JSON.stringify(t))})),void 0!==this.mcuSocket&&this.mcuSocket.close(),this.wpChannel.dropSession(e,t,n)}sendSingleCommand(e,t,n){return this.wpChannel.sendSingleCommand(e,t,n)}isAuthorized(){return this.wpChannel.isAuthorized()}getAuth(){return this.wpChannel.getAuth()}setAuthentication(e){this.wpChannel.setAuthentication(e)}}function yu(e){var t;if("phone"===e.channel)e.channelType=pf.Phone,e.currentChannel=new cu,e.info$=e.currentChannel.getInfo(e.wpUrl,Pl(null!==(t=e.channelUrl)&&void 0!==t?t:e.phonesystemUrl,"/MyPhone/c2cinfo?c2cid="+encodeURIComponent(e.party)));else{if("mcu"!==e.channel)throw new Error("No channel available named "+e.channel);e.channelType=pf.MCU,e.currentChannel=new vu,e.info$=e.currentChannel.getInfo(e.wpUrl,e.channelUrl)}}class Au{constructor(e){this.remoteStream$=new wc(1),this.isActive=!1,this.isMuted=!1,this.isVideoCall=!1,this.isVideoReceived=!1,this.toneSend$=mc,this.isNegotiationInProgress=!1,Object.assign(this,e)}get isVideoSend(){return!!this.video}}const wu=new Au({lastWebRTCState:new ha({sdpType:ua.WRTCInitial,holdState:da.WebRTCHoldState_NOHOLD})});function _u(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new Cu(e,t,n))}}class Cu{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new Su(e,this.accumulator,this.seed,this.hasSeed))}}class Su extends Fr{constructor(e,t,n,i){super(e),this.accumulator=t,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(e){this.destination.error(e)}this.seed=n,this.destination.next(n)}}const Eu="data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAAWGluZwAAAA8AAABeAAAreQACBwsOERQYGx0gIyYqLTAzMzY5Oz5AQ0VISk1PUlZYXF9fYmVpbG5xc3Z5e36BhIeJjIyOkZSXmpyfoaSmqautsLKytbe6vL/BxMbJy87Q09XY2trd3+Lk5+ns7vHz9vj7/f8AAAAbTEFNRTMuOTlyA5UAAAAAAAAAABQgJAJAQQABrgAAK3nRrtihAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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YGSfc02ppIotcSnTL6Kf8ypaqhQ8NSpRGAg232gAAeed/7+R65f6//r/6/1P95TOa31IHZqRzGf/7EMQQgEcBeQughHfAWIBi/ACIAJEEwMqqOLQ3Nhzatfn/89ZFOVmOme49BwAAAIABwAr/T/t///////1////s9NXD6z2i+4MAADYQepbrKt9AwO3+//+Q/6H2f2MDh8DcUiu7//RZ//sQxBKABNgBEaCEQAB2gGK8AIgAWBQhWAFVgXABkACQu1P3btP//9b6v9n+3////1Y24sofjceADAAAAUDLFbHf/t///+n/c30oU78y///6bY/WW0CWTeJzzRdPqKa9vRGo/uXogFf/+xDEGYBDwAEToIRNwMKAYbQAiAD7dhqlSiRURsQoQFDh1iiKtu2qy3psGPiMdB1d/////////9+7////8XQ7NCODsi3fIgIMW5aVVKfbv3MbXGfqUijZ2al/v/pez7t5N3R/1rUxxv/7EMQbgAHEAxQAAEAAq4AiPBCJuIkT9troEdupAAB3end/+vR6kK4v1//yqf/n/84sd++B75tuI/7qRZnmXff//8z6syv7gy2m6GAQhABTLattTruc//////6v6933I//05oyqgAQA//sQxCiABmlxDaCEV8hngGKugCAAAAAFgbaCSAI5ruwExMaa5/OHQUHgca/fjQxxItIXcvktX85DmIp9Hv2e7lOb2W/0Xe5b+z/T/aAAA1SAgAAYOh0ZwKEIxKMTbuMIANNcWjNDBcT/+xDEKwAHTFcfWaGAAL4E59M6EABdOgBUQInjACIuttE414QGl5HaUwAAKgAwDACxGCSYbgjpiEDRmZIQ6fDVTZwkFQmK4MKYqAbphChjGEmCQYJ4ORgIAQLljMVER3IVxe70gBxAwP/7EMQfggdkISUd4QAg3wPlNb9wRNJpughATDhwy2DML5ZA2xvfTMcBMQhpOhMhnJQFxYJRe+7X1zDO6N+//6v9X/9Vv+3/1dgxsOMyBTVyQ8JrMk9Lw+Aejzn3EnMSAD43E7MlQTCD//sQxA+CRXgfJA37YmDdhCTpv2xM4w+PMBFYKpwTIf6PvAIgCoLmMCho6Sc9fGOivGcwqqR1LhdmI4C8binm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IBBMQHVoRTYv3j37KP9nf/7EMQigAXMAxGgBEAAmoBiPBCIAN/9nrd3ddxv9bKv/utywugACAAA/f//////V6NX/6/er//98cXAtoEklArxqO9Oqni3/9nSmEv2UX2tukEeRGPUsWT6P/o9I1TEVbqI3GpHmQAA//sQxCGAQqgDEwAAQBCTgGH0AIgAnPatdl19zNFvVX9PmdjrKaFUUsYlqDyYu1iWvYgSBdVFYt26etrFhAHBQEQy6vCu7MrXDMgEC6HrS9yHor2uo7f/u+d9X13f9lrP//o7E5CKKpL/+xDELYAGnAMLoIRAAJEAInwAiADbBYxJ4AAAtIacYbttY/088VH/2I/Wb3v0UtrDjBpFQ14wCDCrCjJ9zlPd3W6W8eXICYqLGCDAAU6swBhwCAAupVSHJZ8X+///7urUz/TUYT/////7EMQqAAbcAQughE3AgoBivBCIAP7xWYr3Ua2iWeIAAKMCDEsYkVWfoqvt/t21o0JrZvzjx1Ckqeh740XRW3UTWllqov6uxDkkBGeNms4Jq2AJgBqXUMtZd/rUyKf//1JlJPJixxBA//sQxCeARqADDaCEQACwgCG0EIm4dnjl2hMHHMJ9/9VOiXBIVBIK1f////////7vr/2f/9WFGFjevmFult9RAIeLJQNpeqxlO7a/p/3+3/s7N+xn1p/Win/0WkDwnUpVZZQFRCl0IAL/+xDEIAACFAESAABAAJcAIjQQiAADSzRZzJ/chGjmer/G+uzdqavtumVuNGypGK9F9E9kNSa3rVCg8mKhgur//////////////9mi+Au31v3jIACDfN1pPiyGp0EtHZ/u9X/T/R32M//7EMQuA8ZgAw3gBEAAMwBiwAAIAN/p//p96ExxyyNyXMAAArR6kIpvnNFtKi1atv0/u8whgnxo2tgsFSePHtFjoGCwjFXMFtSq6f1wG+MAASoPe6wC2+kAAWJPIWt6PmXYl9+j93R1//sQxDeABFQDE6CEQADXgGF0EIgA+zoZEAMEkNcZvNnRcmKkGHWxZ3T288m4HDAiLBoIAGBH/////9df+939/fs/7qnav1eXE1WADAAADgMAAN7f/60X//+oTf6dLvb/X093//fVMA//+xDENIMGhAENoIRNwFgAYkgACAAgAO4O34AACFjOi/ke7Sv////v/kEXf/zn/6F3lgdmZ3+HaAQFCjnWvreKJl9cx/9FH2Dnfynro/T/9qv//Xd/t7tb/mQAHHBd5BybWb379TLf1f/7EMQ4gAOcAROghEuAb4BivACIAK+kv+r9SuL60U6dN9X/7OytiQB9RMALwCAB1MVot/9t////U711uu/e31LfV/9XNm40u4Qrq6qiO6EAAJZzs5vuMlrnPl/P+v/15f/6f6/RbKuT//sQxEWABGwBFeAEQACagGJ0EIgApdxptoH3C2lokJXH3Cn/fH6XhEFBAI1nkABwcFGAAAAal/us9Xv///////7///+jItem//8XXUeggAKUwKtTTKJfbbGeq3/Z/+hf/emu1g59Cf//+xDESgAEFAERoARAANycYbwQiXj/frdSIFL//////2+y2Oteac20M2B6+i+7MPJ/+awKgYREYPwzM7qqou/zACBSa0nmMdZVbc1+9qPzlb/zn9L8i/OtN9NTnW6FPNU/iz19a4uq///7EMRHgAN4ARXgBE3Al4AiNBCJuP/////////////6B9sBhhhwwARGrR2dHq/T/+5LU+z7/91rH+rv//sOLKpT131Fvg3BIABrSxzW1pScH7OLQhu//1XCnYKGl47Q0uhFMm6t/0xb//sQxFAAA7QDDAAAQAC4gGI8EIgA/9cVDYWAgAwRIA4KL8N9qe5Ht0ez/v///+gy1PHf///k3NggAE4AAAHZAAHS3//6f9X6f39n0k9hg1TZU/dv/0b3MKEVhsMjj0aWybw3IKbH3PL/+xDEU4ABiAMaAABAAIKAYnQAiABOfcze7o/jPX/XRQ1Uw9hvvyNyxBOdX/V8uScMJ7ZtBWJbqgAAVYkcYVi1PumNnV8c31c3q7bja3MPsELBG4nGj2BN0Dd+3/c9ObShwdCQzkErkP/7EMRmgEWsAw+ghEAAdgAifACIAFqEKtam1ddmL/am//V/ANj8J0rKNSxbhND70LRWXrBwsIjCFvQ7f1oi4YHhcMAgwHgQ///////R/Rl96d5uKLWW0tt/+uToiEQBQGhlHg1HAXSq//sQxGqARGwBEaCETcC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qqqqqqqqqo=";class Ou extends Fr{notifyNext(e,t,n,i,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class xu extends Fr{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Iu(e,t,n,i,s=new xu(e,n,i)){if(!s.closed)return t instanceof jr?t.subscribe(s):Yl(t)(s)}const Tu={};class Mu{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new Nu(e,this.resultSelector))}}class Nu extends Ou{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(Tu),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add(Iu(this,t,void 0,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const i=this.values,s=i[n],r=this.toRespond?s===Tu?--this.toRespond:this.toRespond:0;i[n]=t,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)}}class ku{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new Ru(e,this.resultSelector))}}class Ru extends Fr{constructor(e,t,n=Object.create(null)){super(e),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(e){const t=this.iterators;Ir(e)?t.push(new Du(e)):"function"==typeof e[$l]?t.push(new Fu(e[$l]())):t.push(new Pu(this.destination,this,e))}_complete(){const e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(let n=0;n<t;n++){let t=e[n];if(t.stillUnsubscribed){this.destination.add(t.subscribe())}else this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const e=this.iterators,t=e.length,n=this.destination;for(let n=0;n<t;n++){let t=e[n];if("function"==typeof t.hasValue&&!t.hasValue())return}let i=!1;const s=[];for(let r=0;r<t;r++){let t=e[r],o=t.next();if(t.hasCompleted()&&(i=!0),o.done)return void n.complete();s.push(o.value)}this.resultSelector?this._tryresultSelector(s):n.next(s),i&&n.complete()}_tryresultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)}}class Fu{constructor(e){this.iterator=e,this.nextResult=e.next()}hasValue(){return!0}next(){const e=this.nextResult;return this.nextResult=this.iterator.next(),e}hasCompleted(){const e=this.nextResult;return Boolean(e&&e.done)}}class Du{constructor(e){this.array=e,this.index=0,this.length=0,this.length=e.length}[$l](){return this}next(e){const t=this.index++,n=this.array;return t<this.length?{value:n[t],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class Pu extends Jl{constructor(e,t,n){super(e),this.parent=t,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[$l](){return this}next(){const e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(e){this.buffer.push(e),this.parent.checkIterators()}subscribe(){return ec(this.observable,new Zl(this))}}class Bu{constructor(e){this.callback=e}call(e,t){return t.subscribe(new Lu(e,this.callback))}}class Lu extends Fr{constructor(e,t){super(e),this.add(new Nr(t))}}var ju=n(7539);function Uu(e,t,n){return function(e,t,n,i,s){const r=-1!==n?n:e.length;for(let n=t;n<r;++n)if(0===e[n].indexOf(i)&&(!s||-1!==e[n].toLowerCase().indexOf(s.toLowerCase())))return n;return null}(e,0,-1,t,n)}function zu(e,t){const n=Uu(e,"a=rtpmap",t);return n?function(e){const t=new RegExp("a=rtpmap:(\\d+) [a-zA-Z0-9-]+\\/\\d+"),n=e.match(t);return n&&2===n.length?n[1]:null}(e[n]):null}function qu(e,t){return t?e:e.replace("sendrecv","sendonly")}function Vu(e){e.getAudioTracks().forEach((e=>e.stop())),e.getVideoTracks().forEach((e=>e.stop()))}function Gu(e,t,n){const{peerConnection:i}=e,s=s=>{e.localStream=s,s.getTracks().forEach((r=>{"video"===r.kind?n&&"live"===r.readyState&&(e.video=i.addTrack(r,s)):t&&"live"===r.readyState&&(r.enabled=!e.isMuted,e.audio=i.addTrack(r,s))})),e.audio&&e.audio.dtmf&&(e.toneSend$=Yr(e.audio.dtmf,"tonechange").pipe(_u(((e,t)=>e+t.tone),"")))};if(e.localStream){n||e.localStream.getVideoTracks().forEach((e=>e.stop())),t||e.localStream.getAudioTracks().forEach((e=>e.stop()));const i=e.localStream.getVideoTracks().some((e=>"live"===e.readyState)),r=e.localStream.getAudioTracks().some((e=>"live"===e.readyState));if((!n||n&&i)&&(!t||t&&r))return s(e.localStream),Wl(e.localStream);Vu(e.localStream)}return Kl(navigator.mediaDevices.getUserMedia({audio:t,video:n})).pipe(Ic((e=>(console.log(e),Kl(navigator.mediaDevices.getUserMedia({audio:t,video:!1}))))),If(s))}function Wu(e){return function(e){e.peerConnection&&e.peerConnection.close(),e.audio=void 0,e.isVideoReceived=!1,e.toneSend$=mc,e.video=void 0,e.remoteStream$.next(null)}(e),e.peerConnection=new RTCPeerConnection({}),e.peerConnection.ontrack=t=>e.remoteStream$.next(t.streams[0]),e.peerConnection}function $u(e,t){let n=!1,i=!1;return e&&ju.splitSections(e).filter((e=>t.indexOf(ju.getDirection(e))>=0&&!ju.isRejected(e))).map((e=>ju.getKind(e))).forEach((e=>{"video"===e?i=!0:"audio"===e&&(n=!0)})),[n,i]}function Hu(e){return $u(e,["sendrecv","recvonly"])}function Qu(e,t){return Kl(e.setRemoteDescription(t))}function Yu(e){e&&(e.localStream&&Vu(e.localStream),e.peerConnection&&e.peerConnection.close(),e.isVideoCall=!1)}class Xu{constructor(e,t=!1,n=[]){this.myPhoneService=e,this.isElevateVideoDisabled=t,this.webRtcCodecs=n,this.globalTransactionId=0,this.forcedEmit=new rf(!0),this.suspendStream=new Gr,this.resumeStream=new Gr;const i=this.myPhoneService.mySession$.pipe(tc((e=>void 0!==e.webRTCEndpoint$?e.webRTCEndpoint$:new jr)),cc(new fa),(s=this.suspendStream,r=this.resumeStream,e=>new jr((t=>{let n=0,i=[];const o=[s.subscribe((()=>{n+=1})),r.subscribe((()=>{n-=1,0===n&&(i.forEach((e=>t.next(e))),i=[])})),e.subscribe((e=>{n>0?i.push(e):t.next(e)}),(e=>t.error(e)),(()=>t.complete()))];return()=>{o.forEach((e=>e.unsubscribe()))}}))));var s,r;this.mediaDevice$=function(...e){let t=void 0,n=void 0;return zl(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Ir(e[0])&&(e=e[0]),Gl(e,n).lift(new Mu(t))}(i,this.forcedEmit).pipe(_u(((e,t)=>{const n=e,[i]=t,s=i.Items.reduce(((e,t)=>(e[t.Id]=t,e)),{});this.lastOutgoingMedia&&s[this.lastOutgoingMedia.lastWebRTCState.Id]&&(n.push(this.lastOutgoingMedia),this.lastOutgoingMedia=void 0);const r=[];n.forEach((e=>{const t=s[e.lastWebRTCState.Id];if(t){const{lastWebRTCState:n}=e;e.lastWebRTCState=Object.assign({},t),e.isActive||t.holdState!==da.WebRTCHoldState_NOHOLD||n.holdState!==da.WebRTCHoldState_HELD||this.hold(e,!1).subscribe(),n.sdpType===t.sdpType&&n.sdp===t.sdp||this.processState(n.sdpType,e).subscribe((()=>{}),(e=>{})),delete s[t.Id],r.push(e)}else Yu(e)}));const o=Object.values(s).filter((e=>e.sdpType===ua.WRTCOffer||e.sdpType===ua.WRTCRequestForOffer)).map((e=>new Au({lastWebRTCState:Object.assign({},e)})));return r.concat(o)}),[]),ro((()=>new wc(1))),Jr())}setLocalDescription(e,t,n){return n&&this.webRtcCodecs&&this.webRtcCodecs.length>0&&this.webRtcCodecs.slice().reverse().forEach((e=>{t.sdp&&(t.sdp=function(e,t,n){if(!n)return e;const i=e.split("\r\n"),s=Uu(i,"m=",t);if(null===s)return e;const r=zu(i,n);return r&&(i[s]=function(e,t){const n=e.split(" "),i=n.slice(0,3);i.push(t);for(let e=3;e<n.length;e++)n[e]!==t&&i.push(n[e]);return i.join(" ")}(i[s],r)),i.join("\r\n")}(t.sdp,"audio",e))})),Kl(e.setLocalDescription(t)).pipe(tc((()=>Yr(e,"icegatheringstatechange"))),jo((()=>"complete"===e.iceGatheringState)),Ec(1))}processState(e,t){switch(t.lastWebRTCState.sdpType){case ua.WRTCAnswerProvided:return this.processAnswerProvided(e,t);case ua.WRTCOffer:return this.processOffer(t);case ua.WRTCRequestForOffer:return this.processRequestForOffer(t);case ua.WRTCConfirmed:this.processConfirmed(t)}return mc}processConfirmed(e){if(e.isNegotiationInProgress=!1,e.peerConnection.remoteDescription){const[t,n]=$u(e.peerConnection.remoteDescription.sdp,["sendrecv","sendonly"]);e.isVideoReceived=n}}processAnswerProvided(e,t){const n=t.lastWebRTCState;if(e===ua.WRTCConfirmed)return this.setConfirmed(n.Id);const[i,s]=Hu(t.lastWebRTCState.sdp);return!s&&t.video&&(t.localStream&&t.localStream.getVideoTracks().forEach((e=>e.stop())),t.video=void 0),Qu(t.peerConnection,{type:"answer",sdp:n.sdp}).pipe(tc((()=>this.setConfirmed(n.Id))))}setConfirmed(e){return this.requestChangeState({Id:e,sdpType:ua.WRTCConfirm})}processOffer(e){if(!this.isElevateVideoDisabled){const[t,n]=Hu(e.lastWebRTCState.sdp);!e.isVideoCall&&n&&window.confirm("Enable video in a call?")&&(e.isVideoCall=!0)}return this.processAnswer(e)}processRequestForOffer(e){return this.processAnswer(e)}getLastOutgoingMedia(){const e=this.lastOutgoingMedia;return this.lastOutgoingMedia=void 0,e}holdAll(e){return this.mediaDevice$.pipe(Ec(1),$r((t=>t.filter((t=>t.lastWebRTCState.Id!==e)))),tc((e=>e.length?function(...e){const t=e[e.length-1];return"function"==typeof t&&e.pop(),Gl(e,void 0).lift(new ku(t))}(...e.map((e=>this.hold(e,!1)))):Wl([]))))}dropCall(e){return this.requestChangeState(new pa({Id:e,sdpType:ua.WRTCTerminate}))}makeCall(e,t){const n=new Au({lastWebRTCState:new ha({sdpType:ua.WRTCInitial,holdState:da.WebRTCHoldState_NOHOLD})});n.isActive=!0,n.isNegotiationInProgress=!0,n.isVideoCall=t;const i=Wu(n);return this.holdAll().pipe(tc((()=>Gu(n,!0,t))),tc((e=>Kl(i.createOffer({offerToReceiveAudio:!0,offerToReceiveVideo:t})))),tc((e=>this.setLocalDescription(i,e,!0))),tc((()=>i.localDescription&&i.localDescription.sdp?this.requestChangeState({Id:0,sdpType:ua.WRTCOffer,destinationNumber:e,transactionId:this.globalTransactionId++,sdp:i.localDescription.sdp},!0):Fo("Local sdp missing"))),If((e=>{n.lastWebRTCState=new ha({Id:e.CallId,sdpType:ua.WRTCInitial}),this.lastOutgoingMedia=n})),Ic((e=>(Yu(n),Fo(e)))))}answer(e,t){return e.isNegotiationInProgress?mc:(e.isActive=!0,e.isVideoCall=t,this.holdAll(e.lastWebRTCState.Id).pipe(tc((()=>this.processAnswer(e)))))}processAnswer(e){const t=e.lastWebRTCState,n=Wu(e);let i,s;if(e.isActive||(e.isMuted=!0),e.isNegotiationInProgress=!0,t.sdpType===ua.WRTCOffer){if(!t.sdp)return Fo("Offer doesn't have sdp");const[r,o]=Hu(t.sdp);s=ua.WRTCAnswer,i=Gu(e,r,o&&e.isVideoCall).pipe(tc((()=>Qu(n,{type:"offer",sdp:t.sdp}))),tc((()=>Kl(n.createAnswer()))),tc((e=>this.setLocalDescription(n,e,!1))))}else{if(t.sdpType!==ua.WRTCRequestForOffer)return e.isNegotiationInProgress=!1,Fo("Can't answer when state "+t.sdpType);{s=ua.WRTCOffer;const t={offerToReceiveAudio:!0,offerToReceiveVideo:e.isVideoCall};i=Gu(e,!0,e.isVideoCall).pipe(tc((()=>Kl(n.createOffer(t)))),tc((e=>this.setLocalDescription(n,e,!0))))}}return i.pipe(tc((()=>n.localDescription&&n.localDescription.sdp?this.requestChangeState({Id:t.Id,sdpType:s,transactionId:t.transactionId,sdp:n.localDescription.sdp}):Fo("Local sdp missing"))),Ic((t=>(e.isNegotiationInProgress=!1,Fo(t)))))}sendDtmf(e,t){e.audio&&e.audio.dtmf&&e.audio.dtmf.insertDTMF(t,100,100)}video(e){return(!e.isVideoCall||e.isVideoReceived&&e.isVideoSend)&&(e.isVideoCall=!e.isVideoCall),this.renegotiate(e,!0)}mute(e){this.setMute(e,!e.isMuted)}setMute(e,t){e.isMuted=t,e.audio&&e.audio.track&&(e.audio.track.enabled=!t)}hold(e,t){e.isActive=t;const n=e.lastWebRTCState;return t||n.holdState===da.WebRTCHoldState_NOHOLD?t&&n.holdState!==da.WebRTCHoldState_HOLD?Wl(!0):(this.setMute(e,!t),this.renegotiate(e,t)):Wl(!0)}renegotiate(e,t){if(e.isNegotiationInProgress)return Wl(!0);const n=e.lastWebRTCState;e.isNegotiationInProgress=!0,this.forcedEmit.next(!0);const i=Wu(e);let s=Wl(!0);return t&&(s=this.holdAll(e.lastWebRTCState.Id)),s.pipe(tc((()=>Gu(e,!0,!!t&&e.isVideoCall))),tc((()=>Kl(i.createOffer({offerToReceiveAudio:t,offerToReceiveVideo:t&&e.isVideoCall})))),tc((e=>this.setLocalDescription(i,e,!0))),tc((()=>i.localDescription&&i.localDescription.sdp?this.requestChangeState({Id:n.Id,sdpType:ua.WRTCOffer,transactionId:this.globalTransactionId++,sdp:qu(i.localDescription.sdp,t)}):Fo("Local sdp missing"))),Ic((t=>(e.isNegotiationInProgress=!1,this.forcedEmit.next(!0),Fo(t)))))}requestChangeState(e,t){const n=this.myPhoneService.get(new au(new pa(e)),!1);return wf(n)?t?n.pipe((i=()=>this.suspendStream.next(),e=>new jr((t=>(i(),e.subscribe(t))))),tc((e=>e.Success?Wl(e):Fo(e.Message))),function(e){return t=>t.lift(new Bu(e))}((()=>this.resumeStream.next()))):n.pipe(tc((e=>e.Success?Wl(e):Fo(e.Message)))):Fo("Invalid channel setup");var i}}class Ku{constructor(e){this.isTryingCall=!1,this.isEstablished=!1,this.media=wu,Object.assign(this,e)}}function Zu(e,t){const n=e.find((e=>e.media.lastWebRTCState.Id===t.lastWebRTCState.Id));return!!n&&(!!n.isEstablished||t.lastWebRTCState.sdpType===ua.WRTCConfirmed)}class Ju{constructor(e){this.webrtcService=e,this.callControl$=new Gr,this.myCalls$=_f(this.webrtcService.mediaDevice$,this.callControl$).pipe(_u(((e,t)=>{if("removeTryingCall"===t)return e.filter((e=>!e.isTryingCall));if("requestTryingCall"===t)return e.concat([new Ku({isTryingCall:!0,media:wu})]);const n=t.map((t=>new Ku({media:t,isEstablished:Zu(e,t)}))),i=e.find((e=>e.isTryingCall));return i&&0===n.length&&n.push(i),n}),[]),uu(1)),this.soundToPlay$=this.myCalls$.pipe($r((e=>{if(0===e.length)return;const t=e[0];if(t.isEstablished)return;if(t.isTryingCall)return Eu;const n=t.media.lastWebRTCState.sdpType;return n===ua.WRTCOffer||n===ua.WRTCProcessingOffer?Eu:void 0})))}call$(e,t){return this.callControl$.next("requestTryingCall"),this.webrtcService.makeCall("",t||!1).pipe(Ic((e=>(Yu(this.webrtcService.getLastOutgoingMedia()),this.callControl$.next("removeTryingCall"),Fo(e)))))}}class ed{constructor(){this.hasTryingCall=!1,this.hasEstablishedCall=!1,this.media=wu,this.videoOnlyLocalStream=null,this.remoteStream=null,this.videoOnlyRemoteStream=null,this.audioNotificationUrl=null,this.hasCall=!1,this.isFullscreen=!1,this.videoCallInProcess$=new Gr,this.webRtcCodecs=[]}setChatService(e){this.myChatService=e}setWebRtcCodecs(e){this.webRtcCodecs=e}initCallChannel(e,t){if(this.myChatService&&(e||t)){this.webRTCControlService=new Xu(this.myChatService,!t,this.webRtcCodecs),this.phoneService=new Ju(this.webRTCControlService);const e=this.phoneService.myCalls$.pipe($r((e=>e.length>0?e[0].media:wu)),tc((e=>e.remoteStream$)));this.phoneService.soundToPlay$.subscribe((e=>{this.audioNotificationUrl=e})),e.subscribe((e=>{this.remoteStream=e,this.videoOnlyRemoteStream=this.videoOnly(e)})),this.phoneService.myCalls$.subscribe((e=>{this.hasCall=e.length>0,this.hasTryingCall=this.hasCall&&e[0].isTryingCall,this.hasEstablishedCall=this.hasCall&&e[0].isEstablished,this.media=e.length?e[0].media:wu,this.media?(this.videoOnlyLocalStream=this.videoOnly(this.media.localStream),this.videoCallInProcess$.next(!0)):this.videoOnlyLocalStream=null})),this.addFullScreenListener()}}get isVideoActive(){return this.media.isVideoCall&&(this.media.isVideoSend||this.media.isVideoReceived)}videoOnly(e){if(!e)return null;const t=e.getVideoTracks();return 0===t.length?null:new MediaStream(t)}mute(){this.webRTCControlService.mute(this.media)}call(e){return this.phoneService.call$("",e||!1)}dropCall(){return this.media?this.webRTCControlService.dropCall(this.media.lastWebRTCState.Id):Fo("No media initialized")}removeDroppedCall(){return this.hasCall=!1,Yu(this.media)}isFullscreenSupported(){const e=document;return!!(e.fullscreenEnabled||e.webkitFullscreenEnabled||e.mozFullScreenEnabled||e.msFullscreenEnabled)}addFullScreenListener(){document.addEventListener("fullscreenchange",(()=>{this.onFullScreenChange()})),document.addEventListener("webkitfullscreenchange",(()=>{this.onFullScreenChange()})),document.addEventListener("mozfullscreenchange",(()=>{this.onFullScreenChange()})),document.addEventListener("MSFullscreenChange",(()=>{this.onFullScreenChange()})),this.videoContainer&&(this.videoContainer.addEventListener("webkitbeginfullscreen",(()=>{this.isFullscreen=!0})),this.videoContainer.addEventListener("webkitendfullscreen",(()=>{this.isFullscreen=!1})))}isFullscreenActive(){const e=document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||null}onFullScreenChange(){this.isFullscreenActive()?this.isFullscreen=!0:this.isFullscreen=!1}goFullScreen(){if(this.isFullscreen)return;const e=this.videoContainer;try{null!=e&&this.isFullscreenSupported()?e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen():Df("fullscreen is not supported")}catch(e){Df(e)}}}function td(e,t,n,i,s,r,o,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):s&&(l=a?function(){s.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(c.functional){c._injectStyles=l;var f=c.render;c.render=function(e,t){return l.call(t),f(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:c}}const nd=td({name:"ToolbarButton",props:{title:{type:String,default:""},disabled:Boolean}},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("button",{class:[e.$style.button],attrs:{id:"wplc-chat-button",title:e.title,disabled:e.disabled},on:{mousedown:function(e){e.preventDefault()},click:function(t){return t.preventDefault(),t.stopPropagation(),e.$emit("click")}}},[e._t("default")],2)}),[],!1,(function(e){var t=n(1368);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var id=n(1466),sd=n.n(id),rd=n(3787),od=n.n(rd),ad=n(7123),ld=n.n(ad),cd=n(3852),fd=n.n(cd),ud=n(8642),dd=n.n(ud),hd=n(6561),pd=n.n(hd),md=n(5852),gd=n.n(md),bd=n(2154),vd=n.n(bd),yd=n(6011),Ad=n.n(yd),wd=n(2371),_d=n.n(wd),Cd=n(3582),Sd=n.n(Cd),Ed=n(2106),Od=n.n(Ed),xd=n(9028),Id=n.n(xd),Td=n(1724),Md=n.n(Td),Nd=n(4684),kd=n.n(Nd),Rd=n(5227),Fd=n.n(Rd),Dd=n(7474),Pd=n.n(Dd),Bd=n(6375),Ld=n.n(Bd),jd=n(6842),Ud=n.n(jd),zd=n(7308),qd=n.n(zd),Vd=n(8840),Gd=n.n(Vd),Wd=n(7707),$d=n.n(Wd),Hd=n(1623),Qd=n.n(Hd),Yd=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Xd=class extends(rr(sf)){constructor(){super(...arguments),this.isWebRtcAllowed=Ul}beforeMount(){this.myWebRTCService&&this.myWebRTCService.initCallChannel(this.allowCall,!1)}mounted(){const e=this.$refs.singleButton;void 0!==e&&e.$el instanceof HTMLElement&&(e.$el.style.fill="#FFFFFF")}makeCall(){this.myWebRTCService.call(!1).pipe(Ec(1)).subscribe((()=>{}),(e=>this.eventBus.onError.next(e)))}dropCall(){this.myWebRTCService.dropCall().pipe(Ec(1)).subscribe((()=>{}),(e=>this.eventBus.onError.next(e)))}};Yd([wr({default:!1})],Xd.prototype,"disabled",void 0),Yd([wr()],Xd.prototype,"allowCall",void 0),Yd([wr()],Xd.prototype,"callTitle",void 0),Yd([pr()],Xd.prototype,"myWebRTCService",void 0),Yd([pr()],Xd.prototype,"eventBus",void 0),Xd=Yd([dr({components:{ToolbarButton:nd,GlyphiconCall:od()}})],Xd);const Kd=td(Xd,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.myWebRTCService?n("div",{class:[e.$style.root]},[e.myWebRTCService.audioNotificationUrl?n("audio",{attrs:{src:e.myWebRTCService.audioNotificationUrl,autoplay:"",loop:""}}):e._e(),e._v(" "),e.myWebRTCService.remoteStream?n("audio",{directives:[{name:"srcObject",rawName:"v-srcObject",value:e.myWebRTCService.remoteStream,expression:"myWebRTCService.remoteStream"}],attrs:{autoplay:""}}):e._e(),e._v(" "),e.myWebRTCService.hasCall?n("toolbar-button",{ref:"singleButton",class:[e.$style["single-button"],e.$style.bubble,e.$style["button-end-call"]],on:{click:e.dropCall}},[n("glyphicon-call")],1):n("toolbar-button",{ref:"singleButton",class:[e.$style["single-button"],e.$style.bubble],attrs:{disabled:!e.isWebRtcAllowed||e.disabled,title:e.callTitle},on:{click:e.makeCall}},[n("glyphicon-call")],1)],1):e._e()}),[],!1,(function(e){var t=n(2324);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Zd=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Jd=class extends vf{constructor(){super(),this.viewState=So.None,this.delayEllapsed=!1,yu(this);const e=this.phonesystemUrl?this.phonesystemUrl:this.channelUrl,t=this.phonesystemUrl?this.phonesystemUrl:this.filesUrl;this.myChatService=new Rc(e,"",t,this.party,this.currentChannel),this.myChatService.setAuthentication({}),this.myWebRTCService=new ed,this.myWebRTCService.setChatService(this.myChatService)}get animationsCallUs(){if(this.$style)switch(this.animationStyle.toLowerCase()){case"slideleft":return[this.$style.slideLeft];case"slideright":return[this.$style.slideRight];case"fadein":return[this.$style.fadeIn];case"slideup":return[this.$style.slideUp]}return[]}get isHidden(){return!$c.isDesktop()&&"false"===this.enableOnmobile||"false"===this.enable}get callTitleHover(){var e;if(this.viewState!==So.Disabled){const t=zc(null!==(e=this.callTitle)&&void 0!==e?e:Nl.t("Inputs.CallTitle"),250);return ef.getTextHelper().getPropertyValue("CallTitle",[t,Nl.t("Inputs.CallTitle").toString()])}return""}isPhoneDisabled(e){const t=void 0===e.isChatEnabled||e.isChatEnabled,n=!e.isAvailable;return!t||n}beforeMount(){setTimeout((()=>{this.delayEllapsed=!0}),this.chatDelay),this.isHidden||(this.$subscribeTo(this.eventBus.onError,(e=>{alert(Bl(e))})),this.$subscribeTo(this.info$,(e=>{void 0!==e.dictionary?ef.init(e.dictionary):ef.init({}),this.isPhoneDisabled(e)&&(this.viewState=So.Disabled),this.myWebRTCService.setWebRtcCodecs(e.webRtcCodecs)}),(e=>{console.error(e),this.viewState=So.Disabled})))}};Zd([vr()],Jd.prototype,"myChatService",void 0),Zd([vr()],Jd.prototype,"myWebRTCService",void 0),Jd=Zd([dr({components:{CallButton:Kd}})],Jd);const eh=td(Jd,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.delayEllapsed?n("div",{attrs:{id:"callus-phone-container"}},[n("div",{class:[e.animationsCallUs,e.isHidden?"":[this.$style.root]]},[e.isHidden?e._e():n("call-button",{attrs:{"allow-call":!0,"call-title":e.callTitleHover,disabled:e.viewState===e.ViewState.Disabled}})],1)]):e._e()}),[],!1,(function(e){var t=n(7601);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var th=n(8620),nh=n(2419);const ih=td({name:"MaterialCheckbox",props:{value:Boolean,checkName:{type:String,default:""},checkLabel:{type:String,default:""}},data(){return{checked:this.value}},methods:{handleCheckbox(e){this.$emit("change",this.checked)}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.materialCheckbox},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],class:e.$style.wplc_checkbox,attrs:{id:"ck"+e.checkName,type:"checkbox",name:"checkboxInput"},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{change:[function(t){var n=e.checked,i=t.target,s=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.checked=n.concat([null])):r>-1&&(e.checked=n.slice(0,r).concat(n.slice(r+1)))}else e.checked=s},e.handleCheckbox]}}),e._v(" "),n("label",{class:e.$style.wplc_checkbox,attrs:{for:"ck"+e.checkName}},[e._v(e._s(e.checkLabel))])])}),[],!1,(function(e){var t=n(265);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;const sh=td({name:"MaterialDropdown",props:{value:{type:String,default:""},label:{type:String,default:""},options:{type:Array,default:()=>[]},optionsType:{type:String,default:""}},methods:{handleChanged(e){this.$emit("input",e.target.value)}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.materialSelectDiv},[n("select",{ref:"selectControl",class:[e.$style.materialSelect,e.value&&"-1"!==e.value?e.$style.valueSelected:""],domProps:{value:e.value},on:{change:function(t){return e.handleChanged(t)}}},[e._l(e.options,(function(t,i){return["object-collection"===e.optionsType?n("option",{key:i,domProps:{value:t.value}},[e._v("\n "+e._s(t.text)+"\n ")]):e._e(),e._v(" "),"text-collection"===e.optionsType?n("option",{key:i,domProps:{value:t}},[e._v("\n "+e._s(t)+"\n ")]):e._e()]}))],2),e._v(" "),n("label",{class:e.$style.materialSelectLabel},[e._v(e._s(e.label))])])}),[],!1,(function(e){var t=n(17);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;const rh=td({name:"MaterialInput",props:{value:{type:String,default:""},placeholder:{type:String,default:""},maxLength:{type:String,default:"50"},disabled:Boolean},data(){return{content:this.value}},methods:{focus(){this.$refs.input&&this.$refs.input.focus()},handleInput(e){this.$emit("input",this.content)}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.materialInput},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.content,expression:"content"}],ref:"input",attrs:{placeholder:e.placeholder,autocomplete:"false",maxlength:e.maxLength,type:"text",disabled:e.disabled},domProps:{value:e.content},on:{input:[function(t){t.target.composing||(e.content=t.target.value)},e.handleInput]}}),e._v(" "),n("span",{class:e.$style.bar})])}),[],!1,(function(e){var t=n(4753);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var oh=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let ah=class extends(rr(sf)){};oh([wr()],ah.prototype,"show",void 0),oh([wr()],ah.prototype,"text",void 0),ah=oh([dr({components:{}})],ah);const lh=td(ah,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.show?n("div",{class:e.$style.loading},[n("div",{class:e.$style.loader},[e._v("\n "+e._s(e.text)+"\n ")])]):e._e()}),[],!1,(function(e){var t=n(978);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;function ch(e,t){return n=>n.lift(new fh(e,t))}class fh{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new uh(e,this.compare,this.keySelector))}}class uh extends Fr{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(e){return this.destination.error(e)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(e){return this.destination.error(e)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}var dh=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let hh=class extends(rr(sf)){constructor(){super(...arguments),this.showNotification=!1}onClick(){this.$emit("click")}get isBubble(){return this.config.minimizedStyle===df.BubbleRight||this.config.minimizedStyle===df.BubbleLeft}beforeMount(){this.$subscribeTo(this.eventBus.onUnattendedMessage,(e=>{this.showNotification=!e.preventBubbleIndication})),this.$subscribeTo(this.eventBus.onAttendChat,(()=>{this.showNotification=!1}))}mounted(){const e=this.$refs.toolbarButton;void 0!==e&&e.$el instanceof HTMLElement&&(e.$el.style.fill="#FFFFFF")}};dh([wr()],hh.prototype,"disabled",void 0),dh([wr({default:!0})],hh.prototype,"collapsed",void 0),dh([wr()],hh.prototype,"config",void 0),dh([pr()],hh.prototype,"eventBus",void 0),hh=dh([dr({components:{ToolbarButton:nd,GlyphiconCall:od(),GlyphiconChevron:sd(),WplcIcon:Pd(),WplcIconBubble:Ud(),WplcIconDoubleBubble:Ld()}})],hh);const ph=td(hh,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("toolbar-button",{ref:"toolbarButton",class:[e.$style["minimized-button"],e.$style.bubble],attrs:{disabled:e.disabled},on:{click:function(t){return e.onClick()}}},[e.isBubble?[e.collapsed&&"url"===e.config.buttonIconType&&""!==e.config.buttonIcon?n("img",{class:e.$style["minimize-image"],attrs:{src:e.config.buttonIcon}}):e.collapsed&&"Bubble"===e.config.buttonIconType?n("WplcIconBubble",{class:e.$style["minimize-image"]}):e.collapsed&&"DoubleBubble"===e.config.buttonIconType?n("WplcIconDoubleBubble",{class:e.$style["minimize-image"]}):e.collapsed?n("WplcIcon",{class:e.$style["minimize-image"]}):e.collapsed?e._e():n("glyphicon-chevron",{class:[e.$style["minimize-image"],e.$style.chevron_down_icon]}),e._v(" "),e.showNotification?n("span",{class:e.$style["notification-indicator"]}):e._e()]:e._e()],2)}),[],!1,(function(e){var t=n(4806);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;const mh="data:image/png;base64,iVBORw0KGgoAAAANS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NDNSxcWtSlCBAAAAAAAAAAAAAAAAAAAAAAAAAAAAwCn+AEXGNosxDBhFAAAAAElFTkSuQmCC";var gh=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let bh=class extends(rr(sf)){operatorHasImage(){return!!this.operator.image}onGreetingClosed(){this.$emit("closed")}onGreetingClicked(){this.$emit("clicked")}updateNotFoundImage(e){null!==e&&null!==e.target&&(e.target.src=mh)}mounted(){!$c.isDesktop()&&this.$refs.greetingText instanceof HTMLElement&&(this.$refs.greetingText.style.fontSize="15px")}};gh([wr()],bh.prototype,"greetingMessage",void 0),gh([wr({default:()=>kc})],bh.prototype,"operator",void 0),bh=gh([dr({components:{GlyphiconTimes:fd(),OperatorIcon:qd()}})],bh);const vh=td(bh,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"greetingContainer",class:[e.$style.root],attrs:{id:"greetingContainer"},on:{click:function(t){return e.onGreetingClicked()}}},[n("div",{class:e.$style["operator-img-container"]},[e.operatorHasImage()?n("img",{ref:"greetingOperatorIcon",class:[e.$style["operator-img"],e.$style["rounded-circle"]],attrs:{src:e.operator.image,alt:"avatar"},on:{error:function(t){return e.updateNotFoundImage(t)}}}):n("operatorIcon",{class:[e.$style["operator-img"]]})],1),e._v(" "),n("div",{class:e.$style["greeting-content"]},[n("span",{ref:"greetingText",class:e.$style["greeting-message"]},[e._v(e._s(e.greetingMessage))])]),e._v(" "),n("div",{class:e.$style["greeting-action-container"]},[n("div",{ref:"greetingCloseBtn",class:[e.$style["action-btn"],e.$style["close-btn"]],attrs:{id:"close_greeting_btn"},on:{click:function(t){return t.stopPropagation(),e.onGreetingClosed()}}},[n("glyphicon-times")],1)])])}),[],!1,(function(e){var t=n(8391);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var yh=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Ah=class extends(rr(sf)){constructor(){super(...arguments),this.isGreetingActivated=!1,this.isAnimationActivated=!0}get showGreeting(){return this.collapsed&&!this.disabled&&this.isGreetingEnabledOnDevice&&this.retrieveGreetingActivated()}get isGreetingEnabledOnDevice(){const e=$c.isDesktop();return this.greetingVisibilityOnState===mf.Both||this.greetingVisibilityOnState===mf.Mobile&&!e||this.greetingVisibilityOnState===mf.Desktop&&e}get greetingVisibilityOnState(){return this.panelState===So.Authenticate||this.panelState===So.Chat||this.panelState===So.PopoutButton||this.panelState===So.Intro?this.config.greetingVisibility:this.panelState===So.Offline?this.config.greetingOfflineVisibility:mf.None}get greetingMessage(){return this.panelState===So.Authenticate||this.panelState===So.Chat||this.panelState===So.PopoutButton||this.panelState===So.Intro?this.getPropertyValue("GreetingMessage",[this.config.greetingMessage]):this.panelState===So.Offline?this.getPropertyValue("GreetingOfflineMessage",[this.config.greetingOfflineMessage]):""}get getMinimizedStyle(){return this.$style?this.config.minimizedStyle===df.BubbleLeft?this.$style.bubble_left:(this.config.minimizedStyle,df.BubbleRight,this.$style.bubble_right):[]}get animationsMinimizedBubble(){if(this.$style&&this.config&&this.isAnimationActivated)switch(this.config.animationStyle){case hf.FadeIn:return[this.$style.fadeIn];case hf.SlideLeft:return[this.$style.slideLeft];case hf.SlideRight:return[this.$style.slideRight];case hf.SlideUp:return[this.$style.slideUp]}return[]}deactivateAnimation(e){this.$el===e.target&&this.eventBus.onAnimationActivatedChange.next(!1)}beforeMount(){this.initializeGreetingActivated(),this.$subscribeTo(this.eventBus.onAnimationActivatedChange.pipe(ch()),(e=>{this.isAnimationActivated=e})),this.$subscribeTo(this.eventBus.onChatInitiated.pipe(ch()),(e=>{e&&this.storeGreetingActivated(!1)}))}initializeGreetingActivated(){const e=this.retrieveGreetingActivated();this.storeGreetingActivated(e&&this.isGreetingEnabledOnDevice)}retrieveGreetingActivated(){sessionStorage||(this.isGreetingActivated=!1);const e=sessionStorage.getItem("callus.greeting_activated");return this.isGreetingActivated=!e||"true"===e,this.isGreetingActivated}storeGreetingActivated(e){sessionStorage&&(this.isGreetingActivated=e,sessionStorage.setItem("callus.greeting_activated",e.toString()))}onGreetingClosed(){this.storeGreetingActivated(!1),this.gaService.chatInteractionEvent()}onBubbleClicked(){this.gaService.chatInteractionEvent(),this.$emit("clicked")}};yh([wr({default:!1})],Ah.prototype,"disabled",void 0),yh([wr({default:!0})],Ah.prototype,"collapsed",void 0),yh([wr()],Ah.prototype,"config",void 0),yh([wr({default:So.Chat})],Ah.prototype,"panelState",void 0),yh([wr({default:()=>kc})],Ah.prototype,"operator",void 0),yh([pr()],Ah.prototype,"eventBus",void 0),yh([pr()],Ah.prototype,"gaService",void 0),Ah=yh([dr({components:{Greeting:vh,MinimizedButton:ph}})],Ah);const wh=td(Ah,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"minimizedBubbleContainer",class:[e.animationsMinimizedBubble,e.$style.root,e.collapsed?"":e.$style.chat_expanded,e.getMinimizedStyle],on:{animationend:function(t){return e.deactivateAnimation(t)}}},[e.showGreeting?n("greeting",{ref:"greeting",attrs:{"greeting-message":e.greetingMessage,operator:e.operator},on:{clicked:function(t){return e.onBubbleClicked()},closed:function(t){return e.onGreetingClosed()}}}):e._e(),e._v(" "),n("minimized-button",{ref:"minimizedButton",attrs:{config:e.config,collapsed:e.collapsed,disabled:e.disabled},on:{click:function(t){return e.onBubbleClicked()}}})],1)}),[],!1,(function(e){var t=n(7498);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var _h=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Ch=class extends(rr(sf)){constructor(){super(...arguments),this.collapsed=!1,this.hideCloseButton=!1,this.isAnimationActivated=!0}get isFullScreen(){return this.fullscreenService.isFullScreen}get animations(){if(this.$style&&this.config&&this.isAnimationActivated)switch(this.config.animationStyle){case hf.FadeIn:return[this.$style.fadeIn];case hf.SlideLeft:return[this.$style.slideLeft];case hf.SlideRight:return[this.$style.slideRight];case hf.SlideUp:return[this.$style.slideUp]}return[]}get popoutStyle(){return this.$style&&!this.collapsed&&this.config.isPopout?this.panelState===So.Authenticate?this.$style["popout-small"]:this.$style.popout:[]}get getMinimizedStyle(){return this.$style?this.config.minimizedStyle===df.BubbleLeft?this.$style.bubble_left:(this.config.minimizedStyle,df.BubbleRight,this.$style.bubble_right):[]}get panelHeight(){let e="";return this.$style&&(e=this.fullscreenService.isFullScreen?this.$style["full-screen"]:this.panelState===So.Chat||this.panelState===So.Offline?this.$style["chat-form-height"]:this.panelState===So.Intro?this.$style["intro-form-height"]:this.$style["small-form-height"]),e}get isVideoActive(){return this.myWebRTCService&&this.myWebRTCService.isVideoActive}get showPanel(){return!this.collapsed||!this.allowMinimize}get showBubble(){return this.allowMinimize&&(!this.isFullScreen||this.isFullScreen&&this.collapsed)}onToggleCollapsed(){this.allowMinimize&&(this.collapsed?(this.eventBus.onRestored.next(),this.allowFullscreen&&this.fullscreenService.goFullScreen()):(this.eventBus.onMinimized.next(),this.fullscreenService.isFullScreen&&this.fullscreenService.closeFullScreen()))}onClose(){this.hideCloseButton=!0,this.loadingService.show(),this.$emit("close")}beforeMount(){this.collapsed="#popoutchat"!==document.location.hash&&Boolean(this.startMinimized),this.$subscribeTo(this.eventBus.onToggleCollapsed,(()=>{this.onToggleCollapsed()})),this.$subscribeTo(this.eventBus.onMinimized,(()=>{this.collapsed=!0,sessionStorage.setItem("callus.collapsed","1")})),this.$subscribeTo(this.eventBus.onRestored,(()=>{this.collapsed=!1,sessionStorage.setItem("callus.collapsed","0")})),!this.allowFullscreen&&this.fullscreenService.isFullScreen&&this.fullscreenService.closeFullScreen(),this.$subscribeTo(this.eventBus.onAnimationActivatedChange.pipe(ch()),(e=>{this.isAnimationActivated=e}))}deactivateAnimation(e){this.$el===e.target&&this.eventBus.onAnimationActivatedChange.next(!1)}};_h([pr()],Ch.prototype,"eventBus",void 0),_h([pr()],Ch.prototype,"loadingService",void 0),_h([pr()],Ch.prototype,"myWebRTCService",void 0),_h([wr({default:So.Chat})],Ch.prototype,"panelState",void 0),_h([wr()],Ch.prototype,"allowMinimize",void 0),_h([pr()],Ch.prototype,"fullscreenService",void 0),_h([wr()],Ch.prototype,"startMinimized",void 0),_h([wr()],Ch.prototype,"config",void 0),_h([wr({default:!1})],Ch.prototype,"allowFullscreen",void 0),_h([wr({default:()=>kc})],Ch.prototype,"operator",void 0),Ch=_h([dr({components:{MinimizedBubble:wh,GlyphiconTimes:fd(),GlyphiconChevron:sd(),ToolbarButton:nd,MinimizedButton:ph,Greeting:vh,Loading:lh,WplcIcon:Pd(),WplcIconBubble:Ud(),WplcIconDoubleBubble:Ld()}})],Ch);const Sh=td(Ch,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",class:[e.$style.panel,e.animations,e.popoutStyle,e.isFullScreen?e.$style["full-screen"]:""],on:{animationend:function(t){return e.deactivateAnimation(t)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showPanel,expression:"showPanel"}],class:[e.$style.panel_content,e.panelHeight,e.isVideoActive?e.$style.video_extend:""]},[e._t("overlay"),e._v(" "),e._t("panel-top"),e._v(" "),n("div",{class:e.$style.panel_body},[n("loading",{key:e.loadingService.key,attrs:{show:e.loadingService.loading(),text:"loading"}}),e._v(" "),e._t("panel-content")],2)],2),e._v(" "),e.showBubble?n("minimized-bubble",{ref:"minimizedBubble",attrs:{collapsed:e.collapsed,config:e.config,operator:e.operator,"panel-state":e.panelState,disabled:!1},on:{clicked:function(t){return e.onToggleCollapsed()}}}):e._e()],1)}),[],!1,(function(e){var t=n(6711);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;class Eh{constructor(e){Object.assign(this,e)}}class Oh{constructor(e){Object.assign(this,e)}}const xh=td(Xs.directive("srcObject",{bind:(e,t,n)=>{e.srcObject=t.value},update:(e,t,n)=>{const i=e;i.srcObject!==t.value&&(i.srcObject=t.value)}}),undefined,undefined,!1,null,null,null,!0).exports;var Ih=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Th=class extends(rr(sf)){constructor(){super(...arguments),this.isWebRtcAllowed=Ul,this.callChannelInitiated=!1}get isVideoActive(){return this.myWebRTCService&&this.myWebRTCService.isVideoActive}get isFullScreenSupported(){return this.myWebRTCService&&this.myWebRTCService.isFullscreenSupported()}get showCallControls(){return this.myWebRTCService&&(this.allowCall||this.allowVideo)&&this.myChatService.hasSession}beforeMount(){this.$subscribeTo(this.eventBus.onCallChannelEnable,(e=>{this.callChannelInitiated||this.myWebRTCService&&this.myWebRTCService.initCallChannel(e.allowCall,e.allowVideo)})),this.myWebRTCService&&this.myWebRTCService.initCallChannel(this.allowCall,this.allowVideo)}onMakeVideoCall(){this.makeCall(!0)}onMakeCall(){this.makeCall(!1)}makeCall(e){this.myWebRTCService.call(e||!1).pipe(Ec(1)).subscribe((()=>{}),(e=>this.eventBus.onError.next(e)))}dropCall(){this.myWebRTCService.dropCall().pipe(Ec(1)).subscribe((()=>{}),(e=>this.eventBus.onError.next(e)))}toggleMute(){this.myWebRTCService.mute()}videoOutputClick(){this.myWebRTCService.goFullScreen()}};Ih([pr()],Th.prototype,"eventBus",void 0),Ih([pr()],Th.prototype,"myChatService",void 0),Ih([pr()],Th.prototype,"myWebRTCService",void 0),Ih([wr({default:!1})],Th.prototype,"allowVideo",void 0),Ih([wr({default:!1})],Th.prototype,"allowCall",void 0),Ih([wr({default:!1})],Th.prototype,"isFullScreen",void 0),Th=Ih([dr({directives:{SrcObject:xh},components:{GlyphiconCall:od(),GlyphiconVideo:ld(),GlyphiconMic:pd(),GlyphiconMicoff:gd(),GlyphiconFullscreen:dd(),ToolbarButton:nd}})],Th);const Mh=td(Th,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.showCallControls?n("div",{ref:"phoneControlsContainer",class:[e.$style.root,e.isFullScreen?e.$style["full-screen-controls"]:""]},[e.myWebRTCService.audioNotificationUrl?n("audio",{attrs:{src:e.myWebRTCService.audioNotificationUrl,autoplay:"",loop:""}}):e._e(),e._v(" "),e.myWebRTCService.remoteStream?n("audio",{directives:[{name:"srcObject",rawName:"v-srcObject",value:e.myWebRTCService.remoteStream,expression:"myWebRTCService.remoteStream"}],attrs:{autoplay:""}}):e._e(),e._v(" "),e.myWebRTCService.hasCall?[n("toolbar-button",{class:[e.$style["toolbar-button"],e.$style["button-end-call"]],attrs:{id:"callUsDropCallBtn",disabled:e.myWebRTCService.hasTryingCall},on:{click:e.dropCall}},[n("glyphicon-call")],1),e._v(" "),e.myWebRTCService.media.isMuted?n("toolbar-button",{class:e.$style["toolbar-button"],attrs:{id:"callUsUnmuteBtn",disabled:e.myWebRTCService.hasTryingCall},on:{click:e.toggleMute}},[n("glyphicon-micoff")],1):n("toolbar-button",{class:e.$style["toolbar-button"],attrs:{id:"callUsMuteBtn",disabled:e.myWebRTCService.hasTryingCall},on:{click:e.toggleMute}},[n("glyphicon-mic")],1),e._v(" "),e.isVideoActive&&e.isFullScreenSupported?n("toolbar-button",{class:e.$style["toolbar-button"],attrs:{id:"callUsFullscreenBtn"},on:{click:function(t){return e.videoOutputClick()}}},[n("glyphicon-fullscreen")],1):e._e()]:[e.allowCall?n("toolbar-button",{class:e.$style["toolbar-button"],attrs:{id:"callUsCallBtn",disabled:!e.isWebRtcAllowed},on:{click:e.onMakeCall}},[n("glyphicon-call")],1):e._e(),e._v(" "),e.allowVideo?n("toolbar-button",{class:e.$style["toolbar-button"],attrs:{id:"callUsVideoBtn",disabled:!e.isWebRtcAllowed},on:{click:e.onMakeVideoCall}},[n("glyphicon-video")],1):e._e()]],2):e._e()}),[],!1,(function(e){var t=n(6043);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Nh=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let kh=class extends(rr(sf)){constructor(){super(),this.hideCloseButton=!1,this.imageNotFound=mh,this.currentOperator=new Nc({image:void 0!==this.operator.image&&""!==this.operator.image?this.operator.image:this.config.operatorIcon,name:this.operator.name,emailTag:this.operator.emailTag})}onPropertyChanged(e,t){t&&!e&&(this.hideCloseButton=!1)}showOperatorInfo(){return this.currentState===So.Chat&&!!this.myChatService&&this.myChatService.hasSession&&this.chatOnline}showCallControls(){return this.currentState===So.Chat&&!!this.myChatService&&this.myChatService.hasSession&&!!this.myWebRTCService&&this.chatOnline}showMinimize(){return this.isFullScreen&&!!this.config.allowMinimize}showClose(){return!!this.myChatService&&this.myChatService.hasSession&&!this.hideCloseButton&&this.chatOnline}beforeMount(){this.config.showOperatorActualName&&this.myChatService&&this.$subscribeTo(this.myChatService.onOperatorChange$.pipe(jo((()=>this.showOperatorInfo()))),(e=>{void 0!==e.image&&""!==e.image||(e.image=this.config.operatorIcon),this.currentOperator=e}))}mounted(){if(void 0!==this.$refs.headerContainer&&this.$refs.headerContainer instanceof HTMLElement){const e="#FFFFFF";this.$refs.headerContainer.style.color=e,this.$refs.headerContainer.style.fill=e}}onToggleCollapsed(){this.eventBus.onToggleCollapsed.next()}onClose(){this.hideCloseButton=!0,this.$emit("close")}updateNotFoundImage(e){null!==e&&null!==e.target&&(e.target.src=this.imageNotFound)}getAgentIcon(){let e=this.currentOperator.image;if("AgentGravatar"===e){const t=$c.retrieveHexFromCssColorProperty(this,"--call-us-agent-text-color","eeeeee"),n="FFFFFF",i=`${window.location.protocol}//ui-avatars.com/api/${this.currentOperator.name}/32/${t}/${n}/2/0/0/1/false`;e=`//www.gravatar.com/avatar/${this.currentOperator.emailTag}?s=80&d=${i}`}return e}};Nh([pr({default:null})],kh.prototype,"myChatService",void 0),Nh([pr({default:null})],kh.prototype,"myWebRTCService",void 0),Nh([pr()],kh.prototype,"eventBus",void 0),Nh([wr()],kh.prototype,"config",void 0),Nh([wr({default:()=>kc})],kh.prototype,"operator",void 0),Nh([wr({default:So.Chat})],kh.prototype,"currentState",void 0),Nh([wr({default:!1})],kh.prototype,"isFullScreen",void 0),Nh([wr({default:!1})],kh.prototype,"allowVideo",void 0),Nh([wr({default:!1})],kh.prototype,"allowCall",void 0),Nh([wr({default:!1})],kh.prototype,"chatOnline",void 0),Nh([_r("myChatService.hasSession")],kh.prototype,"onPropertyChanged",null),kh=Nh([dr({components:{GlyphiconTimes:fd(),GlyphiconChevron:sd(),WplcIcon:Pd(),WplcIconBubble:Ud(),WplcIconDoubleBubble:Ld(),OperatorIcon:qd(),CallControls:Mh}})],kh);const Rh=td(kh,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"headerContainer",class:[e.$style.root]},[e.showOperatorInfo()?n("div",{class:e.$style["operator-info"]},[n("div",{class:e.$style["operator-img-container"]},[""!==e.currentOperator.image?n("img",{ref:"operatorIcon",class:[e.$style["rounded-circle"],e.$style["operator-img"]],attrs:{src:e.getAgentIcon(),alt:"avatar"},on:{error:function(t){return e.updateNotFoundImage(t)}}}):n("operatorIcon",{class:e.$style["operator-img"]}),e._v(" "),n("span",{class:e.$style["online-icon"]})],1),e._v(" "),n("div",{class:[e.$style.operator_name,e.config.isPopout?e.$style.popout:""],attrs:{title:e.currentOperator.name}},[n("span",[e._v(e._s(e.currentOperator.name))])])]):n("div",{class:e.$style["header-title"]},[null!=e.config.windowIcon&&e.config.windowIcon.replace(/\s/g,"").length>0?n("img",{ref:"windowIcon",class:e.$style["logo-icon"],attrs:{src:e.config.windowIcon,alt:""},on:{error:function(t){return e.updateNotFoundImage(t)}}}):"Bubble"===e.config.buttonIconType?n("WplcIconBubble",{class:e.$style["logo-icon"]}):"DoubleBubble"===e.config.buttonIconType?n("WplcIconDoubleBubble",{class:e.$style["logo-icon"]}):n("WplcIcon",{class:e.$style["logo-icon"]}),e._v(" "),n("div",{class:[e.$style.panel_head_title],attrs:{title:e.getPropertyValue("ChatTitle",[e.config.windowTitle])}},[e._v("\n "+e._s(e.getPropertyValue("ChatTitle",[e.config.windowTitle]))+"\n ")])],1),e._v(" "),e.showCallControls()?n("call-controls",{attrs:{"allow-call":e.allowCall,"allow-video":e.allowVideo,"is-full-screen":e.isFullScreen}}):e._e(),e._v(" "),n("div",{class:e.$style["space-expander"]}),e._v(" "),n("div",{class:[e.$style.action_menu,e.isFullScreen?e.$style["full-screen-menu"]:""]},[e.showMinimize()?n("span",{ref:"minimizeButton",class:[e.$style.action_menu_btn,e.$style.minimize_btn],attrs:{id:"minimize_btn"},on:{click:function(t){return e.onToggleCollapsed()}}},[n("glyphicon-chevron")],1):e._e(),e._v(" "),e.showClose()?n("span",{class:[e.$style.action_menu_btn,e.$style.close_btn],attrs:{id:"close_btn"},on:{click:function(t){return e.onClose()}}},[n("glyphicon-times")],1):e._e()])],1)}),[],!1,(function(e){var t=n(7367);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Fh=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Dh=class extends(rr(sf)){constructor(){super(...arguments),this.AuthenticationType=uf,this.isSubmitted=!1,this.viewDepartments=[],this.name="",this.email="",this.isNameDisabled=!1,this.isEmailDisabled=!1,this.department="-1",this.customFieldsValues={},this.disableAuth=!1,this.gdprAccepted=!1}beforeMount(){this.$subscribeTo(this.eventBus.onRestored,(()=>this.focusInput())),void 0!==this.customFields&&this.customFields.length>0&&this.customFields.forEach((e=>{this.$set(this.customFieldsValues,"cf"+e.id,"")})),void 0!==this.departments&&Array.isArray(this.departments)&&(this.viewDepartments=this.departments.map((e=>new Eh({value:e.id.toString(),text:e.name})))),this.isNameDisabled=!!this.config.visitorName,this.isEmailDisabled=!!this.config.visitorEmail,this.name=this.config.visitorName||"",this.email=this.config.visitorEmail||""}mounted(){this.focusInput(),void 0!==this.$refs.submitButton&&this.$refs.submitButton instanceof HTMLElement&&(this.$refs.submitButton.style.color="#FFFFFF")}submit(){const e=this;if(e.isSubmitted=!0,this.$v&&(this.$v.$touch(),!this.$v.$invalid)){const t={name:this.config.authenticationType===uf.Name||this.config.authenticationType===uf.Both?e.name:this.name,email:this.config.authenticationType===uf.Email||this.config.authenticationType===uf.Both?e.email:this.email,department:Number.isNaN(Number(e.department))?-1:Number(e.department),customFields:this.getCustomFieldsData(e)};this.$emit("submit",t)}}getCustomFieldsData(e){let t=[];if(void 0!==e.customFields&&e.customFields.length>0)return t=e.customFields.map((t=>{var n;return void 0!==e.$v?new Oh({name:t.name,id:t.id,value:null===(n=e.$v.customFieldsValues["cf"+t.id])||void 0===n?void 0:n.$model}):null})).filter((e=>null!==e)),t}focusInput(){this.$refs.nameInput?$c.focusElement(this.$refs.nameInput):this.$refs.emailInput&&$c.focusElement(this.$refs.emailInput)}gdprChanged(e){this.$v&&(this.$v.gdprAccepted.$model=e)}};Fh([pr()],Dh.prototype,"eventBus",void 0),Fh([pr()],Dh.prototype,"loadingService",void 0),Fh([pr()],Dh.prototype,"fullscreenService",void 0),Fh([wr()],Dh.prototype,"startMinimized",void 0),Fh([wr()],Dh.prototype,"config",void 0),Fh([wr()],Dh.prototype,"departments",void 0),Fh([wr()],Dh.prototype,"customFields",void 0),Fh([wr()],Dh.prototype,"authType",void 0),Fh([wr()],Dh.prototype,"chatEnabled",void 0),Fh([wr({default:()=>kc})],Dh.prototype,"operator",void 0),Fh([vr()],Dh.prototype,"myWebRTCService",void 0),Dh=Fh([dr({components:{Panel:Sh,MaterialInput:rh,MaterialCheckbox:ih,MaterialDropdown:sh,Loading:lh,CallUsHeader:Rh},mixins:[th.oE],validations(){const e={},t=this,n=e=>Dc(e),i=e=>Pc(e),s=e=>Lc(e),r=e=>jc(e),o=e=>e,a=e=>(e=>e.length>0&&(Number.isNaN(Number(e))||!Number.isNaN(Number(e))&&Number(e)>0))(e);return t.authType!==uf.Both&&t.authType!==uf.Name||(e.name={required:nh.Z,nameValid:i,maxCharactersReached:s}),t.authType!==uf.Both&&t.authType!==uf.Email||(e.email={required:nh.Z,emailValid:n,maxEmailCharactersReached:r}),t.config.gdprEnabled&&(e.gdprAccepted={required:nh.Z,checkboxSelected:o}),t.config.departmentsEnabled&&(e.department={required:nh.Z,dropdownSelected:a}),void 0!==t.customFields&&t.customFields.length>0&&(e.customFieldsValues={},t.customFields.forEach((t=>{e.customFieldsValues["cf"+t.id]={required:nh.Z}}))),e}})],Dh);const Ph=td(Dh,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("panel",{attrs:{config:e.config,"start-minimized":e.startMinimized,"allow-minimize":e.config.allowMinimize,"panel-state":e.ViewState.Authenticate,"full-screen-service":e.fullscreenService,operator:e.operator}},[n("call-us-header",{attrs:{slot:"panel-top","current-state":e.ViewState.Authenticate,config:e.config,operator:e.operator,"is-full-screen":e.fullscreenService.isFullScreen},slot:"panel-top"}),e._v(" "),n("div",{class:e.$style.root,attrs:{slot:"panel-content"},slot:"panel-content"},[e.chatEnabled?n("form",{ref:"authenticateForm",attrs:{novalidate:"novalidate"},on:{submit:function(t){return t.preventDefault(),e.submit(t)}}},[n("div",{class:e.$style.form_body},[n("loading",{attrs:{show:e.loadingService.loading(),text:"loading"}}),e._v(" "),e.authType===e.AuthenticationType.None?n("div",{class:[e.$style.replaceFieldsText]},[e._v("\n "+e._s(e.getPropertyValue("AuthFieldsReplacement",[e.$t("Auth.FieldsReplacement")]))+"\n ")]):n("div",{class:e.$style.chatIntroText},[e._v("\n "+e._s(e.getPropertyValue("ChatIntro",[e.config.authenticationMessage,e.$t("Auth.ChatIntro")]))+"\n ")]),e._v(" "),e.authType===e.AuthenticationType.Both||e.authType===e.AuthenticationType.Name?n("div",[n("material-input",{ref:"nameInput",attrs:{id:"auth_name",placeholder:e.$t("Auth.Name"),disabled:e.isNameDisabled,name:"name"},model:{value:e.$v.name.$model,callback:function(t){e.$set(e.$v.name,"$model",t)},expression:"$v.name.$model"}}),e._v(" "),e.$v.name.$dirty&&e.isSubmitted?n("div",[e.$v.name.required?e.$v.name.nameValid?e.$v.name.maxCharactersReached?e._e():n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.MaxCharactersReached"))+"\n ")]):n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.EnterValidName"))+"\n ")]):n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.FieldValidation"))+"\n ")])]):e._e()],1):e._e(),e._v(" "),e.authType===e.AuthenticationType.Both||e.authType===e.AuthenticationType.Email?n("div",[n("material-input",{ref:"emailInput",attrs:{id:"auth_email",name:"emailInput",placeholder:e.$t("Auth.Email"),"max-length":"254",disabled:e.isEmailDisabled},model:{value:e.$v.email.$model,callback:function(t){e.$set(e.$v.email,"$model",t)},expression:"$v.email.$model"}}),e._v(" "),e.$v.email.$dirty&&e.isSubmitted?n("div",[e.$v.email.required?e.$v.email.emailValid?e.$v.email.maxEmailCharactersReached?e._e():n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.MaxCharactersReached"))+"\n ")]):n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.EnterValidEmail"))+"\n ")]):n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.FieldValidation"))+"\n ")])]):e._e()],1):e._e(),e._v(" "),e.config.departmentsEnabled?n("div",[n("material-dropdown",{ref:"departmentSelector",attrs:{id:"auth_departments",label:"Department",options:e.viewDepartments,"options-type":"object-collection"},model:{value:e.$v.department.$model,callback:function(t){e.$set(e.$v.department,"$model",t)},expression:"$v.department.$model"}}),e._v(" "),e.isSubmitted?n("div",[e.$v.department.required&&e.$v.department.dropdownSelected?e._e():n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.FieldValidation"))+"\n ")])]):e._e()],1):e._e(),e._v(" "),void 0!==e.customFields&&e.customFields.length>0?e._l(e.customFields,(function(t){return n("div",{key:t.id},["DROPDOWN"===t.type?[n("material-dropdown",{ref:"{{field.name}}Selector",refInFor:!0,attrs:{id:"auth_custom_"+t.name,label:t.name,options:t.options,"options-type":"text-collection"},model:{value:e.$v.customFieldsValues["cf"+t.id].$model,callback:function(n){e.$set(e.$v.customFieldsValues["cf"+t.id],"$model",n)},expression:"$v.customFieldsValues['cf' + field.id].$model"}}),e._v(" "),e.$v.customFieldsValues["cf"+t.id].$dirty&&e.isSubmitted&&!e.$v.customFieldsValues["cf"+t.id].required?n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.FieldValidation"))+"\n ")]):e._e()]:e._e(),e._v(" "),"TEXT"===t.type?[n("material-input",{attrs:{id:"auth_custom_"+t.name,name:t.name,placeholder:t.name},model:{value:e.$v.customFieldsValues["cf"+t.id].$model,callback:function(n){e.$set(e.$v.customFieldsValues["cf"+t.id],"$model",n)},expression:"$v.customFieldsValues['cf' + field.id].$model"}}),e._v(" "),e.$v.customFieldsValues["cf"+t.id].$dirty&&e.isSubmitted&&!e.$v.customFieldsValues["cf"+t.id].required?n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.FieldValidation"))+"\n ")]):e._e()]:e._e()],2)})):e._e(),e._v(" "),e.config.gdprEnabled?n("div",[n("material-checkbox",{ref:"gdprCheck",attrs:{id:"auth_gdpr","check-name":"gdprCheck","check-label":e.config.gdprMessage},on:{change:e.gdprChanged},model:{value:e.$v.gdprAccepted.$model,callback:function(t){e.$set(e.$v.gdprAccepted,"$model",t)},expression:"$v.gdprAccepted.$model"}}),e._v(" "),e.isSubmitted?n("div",[e.$v.gdprAccepted.required&&e.$v.gdprAccepted.checkboxSelected?e._e():n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.FieldValidation"))+"\n ")])]):e._e()],1):e._e()],2),e._v(" "),n("button",{ref:"submitButton",class:e.$style.submit,attrs:{type:"submit"}},[e._v("\n "+e._s(e.getPropertyValue("StartButtonText",[e.config.startChatButtonText,e.$t("Auth.Submit")]))+"\n ")])]):n("div",{ref:"chatDisabledMessage",class:e.$style["chat-disabled-container"]},[n("div",[e._v("\n "+e._s(e.$t("Inputs.ChatIsDisabled"))+"\n ")])])])],1)}),[],!1,(function(e){var t=n(8915);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;const Bh={leading:!0,trailing:!1};function Lh(e,t=Qc,n=Bh){return i=>i.lift(new jh(e,t,n.leading,n.trailing))}class jh{constructor(e,t,n,i){this.duration=e,this.scheduler=t,this.leading=n,this.trailing=i}call(e,t){return t.subscribe(new Uh(e,this.duration,this.scheduler,this.leading,this.trailing))}}class Uh extends Fr{constructor(e,t,n,i,s){super(e),this.duration=t,this.scheduler=n,this.leading=i,this.trailing=s,this._hasTrailingValue=!1,this._trailingValue=null}_next(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(zh,this.duration,{subscriber:this})),this.leading?this.destination.next(e):this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)}}function zh(e){const{subscriber:t}=e;t.clearThrottle()}class qh{constructor(e){this.closingNotifier=e}call(e,t){return t.subscribe(new Vh(e,this.closingNotifier))}}class Vh extends Jl{constructor(e,t){super(e),this.buffer=[],this.add(ec(t,new Zl(this)))}_next(e){this.buffer.push(e)}notifyNext(){const e=this.buffer;this.buffer=[],this.destination.next(e)}}var Gh=n(7484),Wh=n.n(Gh),$h=n(5176),Hh=n(9830),Qh=n.n(Hh);const Yh=["jpeg","jpg","png","gif","bmp","webp","tif","tiff","heif","doc","docx","pdf","txt","rtf","ppt","pptx","xls","xlsx"],Xh=["jpeg","jpg","png","gif","bmp","webp"];function Kh(e,t){const n=Math.max(0,parseInt(e,10));return t?Math.floor(255*Math.min(100,n)/100):Math.min(255,n)}function Zh(e){const t=e>255||e<0?"ff":e.toString(16);return 1===t.length?"0"+t:t}function Jh(e){const t=function(e){let t=null;null!=e&&(t=/^rgb\(\s*(-?\d+)(%?)\s*,\s*(-?\d+)(%?)\s*,\s*(-?\d+)(%?)\s*\)$/.exec(e));let n="";if(null!=t){let e,i,s;t&&(e=Kh(t[1],t[2]),i=Kh(t[3],t[4]),s=Kh(t[5],t[6]),n=`#${Zh(e)}${Zh(i)}${Zh(s)}`)}return""!==n?n:"#ffffff"}(getComputedStyle(e).backgroundColor);return"#"===(n=t).slice(0,1)&&(n=n.slice(1)),3===n.length&&(n=n.split("").map((e=>e+e)).join("")),(299*parseInt(n.substr(0,2),16)+587*parseInt(n.substr(2,2),16)+114*parseInt(n.substr(4,2),16))/1e3>=128?"#000000":"#FFFFFF";var n}function ep(e){const t=e.lastIndexOf("."),n=e.substring(t+1);return Xh.indexOf(n.toLowerCase())>=0}var tp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let np=class extends(rr(sf)){constructor(){super(),this.ClientChatFileState=Oo}onPropertyChanged(){this.generateFileLinks()}get link(){if(this.file.fileState===Oo.Available)return void 0!==this.fileLink?this.fileLink:void 0!==this.file.fileLink?this.file.fileLink:void 0}beforeMount(){this.$subscribeTo(this.myChatService.mySession$,(e=>{this.session=e,this.generateFileLinks()}))}generateFileLinks(){void 0!==this.session&&(this.fileLink=this.file&&this.file.fileLink?this.session.fileEndPoint(this.file.fileLink):"",this.loadPreview()?this.previewSource=this.file&&this.file.fileLink?this.session.fileEndPoint(this.file.fileLink+".preview"):"":this.previewSource=this.file&&this.file.fileLink?this.session.fileEndPoint(this.file.fileLink):"")}get showFileIcon(){return this.file.fileSize>512e3&&!this.file.hasPreview||this.file.fileSize<=512e3&&!this.file.hasPreview&&!ep(this.file.fileName)}updateNotFoundImage(e){null!==e&&null!==e.target&&(e.target.src=mh)}downloadFile(e){return!(!this.file||this.file.fileState!==Oo.Available)||(e.preventDefault(),!1)}imageLoaded(){this.eventBus.onScrollToBottom.next()}loadPreview(){return this.file.fileSize>512e3&&this.file.hasPreview||this.file.fileSize<=512e3&&!ep(this.file.fileName)&&this.file.hasPreview}};tp([wr({default:()=>({})})],np.prototype,"file",void 0),tp([pr()],np.prototype,"myChatService",void 0),tp([pr()],np.prototype,"eventBus",void 0),tp([_r("file",{deep:!0})],np.prototype,"onPropertyChanged",null),np=tp([dr({components:{FileIcon:Gd(),SpinnerThird:$d(),Times:Qd()},filters:{size:(e=0,t=0)=>function(e=0,t=0){let n=e;return"number"!=typeof e&&(n=parseFloat(String(e))),Number.isNaN(n)||!Number.isFinite(n)?"?":Qh()(n,{unitSeparator:" ",decimalPlaces:0})}(e,t)}})],np);const ip=td(np,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.root},[e.file.fileState===e.ClientChatFileState.Available?n("div",[n("a",{ref:"downloadLink",class:e.$style["file-download-link"],attrs:{target:"_blank",href:e.link,download:e.file.fileName},on:{click:function(t){return e.downloadFile(t)}}},[n("div",{class:[e.showFileIcon?e.$style.horizontal_container:e.$style.vertical_container]},[e.showFileIcon?n("file-icon",{class:e.$style.horizontal_content_image}):n("div",{class:e.$style.vertical_content_image},[n("img",{ref:"downloadImage",attrs:{alt:"download image",src:e.previewSource},on:{load:e.imageLoaded,error:function(t){return e.updateNotFoundImage(t)}}})]),e._v(" "),n("div",{class:e.$style["file-info"]},[n("span",{class:e.$style["file-name"],attrs:{title:e.file.fileName}},[e._v(e._s(e.file.fileName))]),e._v(" "),n("span",{class:e.$style["file-size"]},[e._v(e._s(e._f("size")(e.file.fileSize)))])])],1)])]):e._e(),e._v(" "),e.file.fileState!==e.ClientChatFileState.Available?n("div",{class:e.$style.horizontal_container},[e.file.fileState===e.ClientChatFileState.Uploading?n("spinner-third",{class:[e.$style.horizontal_content_image,e.$style.spin]}):n("times",{class:[e.$style.horizontal_content_image]}),e._v(" "),n("div",{class:e.$style["file-info"]},[n("span",{class:e.$style["file-name"],attrs:{title:e.file.fileName}},[e._v(e._s(e.file.fileName))]),e._v(" "),n("span",{class:e.$style["file-size"]},[e._v(e._s(e._f("size")(e.file.fileSize)))])])],1):e._e()])}),[],!1,(function(e){var t=n(2003);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var sp=n(4860),rp=n.n(sp);const op=n(9100);function ap(e,t,n=32){if(t||(t=""),!e)return"";const i=Array.from(e);for(let e=0;e<i.length;e+=1){let s=op;const r=[];let o=[];for(let t=e;t<Math.min(e+8,i.length);t+=1){const e=i[t].codePointAt(0);let n=e?e.toString(16):"";for(;n.length<4;)n="0"+n;if(!s.s.hasOwnProperty(n))break;if(o.push(n),0!==s.s[n]&&1!==s.s[n].e||(r.push(...o),o=[]),0===s.s[n]||!s.s[n].hasOwnProperty("s"))break;s=s.s[n]}if(r.length>0){let s;s=r.length>1?i.splice(e,r.length,"").join(""):i[e],i[e]=`<img src="${t}${r.filter((e=>"fe0f"!==e&&"200d"!==e)).join("-")}.png" alt="${s}" class="emoji" style="width:${n}px;height:${n}px;">`}}return i.join("")}class lp extends Bf{constructor(e){super(e),this.sent=!1,this.errorType=xo.NoError,this.emojiconUrl="",this.preventSound=!1,this.preventBubbleIndication=!1,this.preventTabNotification=!1,Object.assign(this,e)}viewMessage(){return ap(this.message,this.emojiconUrl)}static createViewMessage(e,t,n,i,s,r,o,a,l,c,f,u,d,h,p,m=!0){const g=new lp;var b;return g.id=e,g.isLocal=i,g.sent=s,g.icon=r,g.senderName=o,g.time=a,g.message=m?(b=rp()(l,{escapeOnly:!0,useNamedReferences:!0}),(0,$h.Z)({input:b,options:{attributes:{target:"_blank",rel:"noopener noreferrer"}}})):l,g.question=c,g.renderNew=u,g.isAutomated=d,g.emojiconUrl=p,g.viewType=t,g.file=f,g.messageType=n,g.isNew=h,g}static createAutomatedViewMessage(e,t,n,i=!0){return this.createViewMessage(-1,No.Text,t,!1,!0,"","",new Date,e,void 0,void 0,!0,!0,i,n)}static createVisitorViewMessage(e,t,n,i,s,r,o=!1,a=new Date){return this.createViewMessage(-1,No.Text,ko.Normal,!0,o,n,t,a,e,void 0,void 0,i,!1,s,r)}static createHtmlVisitorViewMessage(e,t,n,i,s,r=!1,o,a=new Date){return this.createViewMessage(-1,No.Text,ko.Normal,!0,r,n,t,a,e,void 0,void 0,i,!1,o,s,!1)}static createAgentViewMessage(e,t,n,i,s,r,o,a){return this.createViewMessage(e,No.Text,ko.Normal,!1,!0,i,n,r,t,void 0,void 0,s,!1,a,o)}static createVisitorFileMessage(e,t,n,i,s=new Date){return this.createViewMessage(-1,No.File,ko.Normal,!0,!1,n,t,s,"",void 0,e,!0,!1,i,"")}static createAgentFileMessage(e,t,n,i,s,r,o,a){return this.createViewMessage(e,No.Text,ko.Normal,!1,!0,i,n,r,"",void 0,t,s,!1,a,o)}static createOptionsViewMessage(e){return this.createViewMessage(-1,No.Options,ko.Normal,!1,!0,"","",new Date,"",e,void 0,!0,!0,!0,"")}}const cp=td({name:"ChatText",components:{},props:{message:{type:lp,default:()=>{}}}},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{class:e.$style.msg_content,domProps:{innerHTML:e._s(e.message.viewMessage())}})}),[],!1,(function(e){var t=n(4747);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var fp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let up=class extends(rr(sf)){constructor(){super(...arguments),this.loadAgentGravatar=!0}get timeString(){return Wh()(this.message.time).format("HH:mm")}get dateString(){return Wh()(this.message.time).format("YYYY/MM/DD")}get dateTimeString(){return Wh()(this.message.time).format("YYYY/MM/DD HH:mm")}get timeStampString(){return"both"===this.config.messageDateformat?this.dateTimeString:"date"===this.config.messageDateformat?this.dateString:"time"===this.config.messageDateformat?this.timeString:""}get avatarSource(){if("PbxDefaultAgent"===this.msgIcon)return this.loadAgentGravatar=!1,"";if(""!==this.msgIcon&&"DefaultUser"!==this.msgIcon&&"DefaultAgent"!==this.msgIcon)return this.msgIcon;const e=$c.isDoubleByte(this.message.senderName)||""===this.message.senderName?"Guest":this.message.senderName;if("Guest"===e&&!this.message.isLocal)return this.loadAgentGravatar=!1,"";const t=this.message.isLocal?$c.retrieveHexFromCssColorProperty(this,"--call-us-client-text-color","d4d4d4"):$c.retrieveHexFromCssColorProperty(this,"--call-us-agent-text-color","eeeeee"),n=`${window.location.protocol}//ui-avatars.com/api/${e}/48/${t}/FFFFFF/2/0/0/1/false`;return`//www.gravatar.com/avatar/${this.userTag}?s=80&d=${n}`}get showSubArea(){return this.message.isLocal?this.showLocalSubArea:this.showAwaySubArea}get showLocalSubArea(){return"none"!==this.config.messageDateformat||"none"!==this.config.messageUserinfoFormat&&"avatar"!==this.config.messageUserinfoFormat}get showAwaySubArea(){return!this.message.isAutomated&&("none"!==this.config.messageDateformat||"none"!==this.config.messageUserinfoFormat&&"avatar"!==this.config.messageUserinfoFormat)}get showLocalAvatar(){return this.message.isLocal&&("both"===this.config.messageUserinfoFormat||"avatar"===this.config.messageUserinfoFormat)}get showAwayAvatar(){return!this.message.isLocal&&("both"===this.config.messageUserinfoFormat||"avatar"===this.config.messageUserinfoFormat)}get showMessageNotDeliveredError(){return!(this.message.errorType===xo.NoError||this.message.sent)}get showRetrySend(){return this.message.errorType===xo.CanRetry&&!this.message.sent&&!this.message.file}get showNetworkError(){return this.message.errorType===xo.NoRetry||this.message.errorType===xo.CanRetry}get showUnsupportedFileError(){return this.message.errorType===xo.UnsupportedFile}get showFileError(){return this.message.errorType===xo.FileError}get showSendingIndication(){return this.message.errorType===xo.NoError&&!this.message.sent&&!this.message.file}get isUserInfoVisible(){return"both"===this.config.messageUserinfoFormat||"name"===this.config.messageUserinfoFormat}get isTimeStampVisible(){return"date"===this.config.messageDateformat||"time"===this.config.messageDateformat||"both"===this.config.messageDateformat}beforeMount(){this.msgIcon=this.userIcon}mounted(){let e="#ffffff";void 0!==this.$refs.chatText&&this.$refs.chatText instanceof HTMLElement&&(e=Jh(this.$refs.chatText),this.$refs.chatText.style.color=e,this.$refs.chatText.style.fill=e);const t=this.$el.getElementsByClassName("rate_svg");t.length>0&&Array.prototype.forEach.call(t,(t=>{t.style.fill=e}))}sendAgain(e){this.$emit("resend",e)}};fp([wr()],up.prototype,"message",void 0),fp([wr()],up.prototype,"userTag",void 0),fp([wr()],up.prototype,"userIcon",void 0),fp([wr()],up.prototype,"config",void 0),up=fp([dr({components:{ChatFile:ip,ChatText:cp,Loader:Md(),Redo:Fd(),OperatorIcon:qd()}})],up);const dp=td(up,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.$style.root]},[n("div",{class:[e.$style.msg_bubble,e.message.isLocal?e.$style.msg_bubble_client:e.$style.msg_bubble_agent]},[e.showLocalAvatar?n("div",{class:e.$style.avatar_container},[e.message.renderNew?n("img",{class:e.$style.avatar_img,attrs:{alt:"avatar",src:e.avatarSource}}):e._e()]):e._e(),e._v(" "),n("div",{ref:"chatText",class:[e.$style.msg_container,e.message.renderNew?e.$style.new_msg:"",e.message.isLocal?e.$style.msg_client:e.$style.msg_agent]},[e.message.file?n("chat-file",{attrs:{file:e.message.file}}):n("chat-text",{attrs:{message:e.message}}),e._v(" "),e.showSubArea?n("div",{class:e.$style.msg_sub_area},[e.isUserInfoVisible?n("div",{class:[e.$style.msg_sender_name]},[e._v("\n "+e._s(e.message.senderName)+"\n ")]):e._e(),e._v(" "),e.isTimeStampVisible?n("span",{class:[e.$style.msg_timestamp]},[e._v("\n "+e._s(e.timeStampString)+"\n ")]):e._e()]):e._e(),e._v(" "),e.showSendingIndication?n("div",{class:[e.$style.sending_indication]},[n("loader",{class:[e.$style.sending_icon]})],1):e._e()],1),e._v(" "),e.showAwayAvatar?n("div",{class:e.$style.avatar_container},[e.message.renderNew?n("div",[e.loadAgentGravatar&&"DefaultAgent"!==e.avatarSource?n("img",{class:e.$style.avatar_img,attrs:{alt:"avatar",src:e.avatarSource}}):n("OperatorIcon")],1):e._e()]):e._e()]),e._v(" "),e.showMessageNotDeliveredError?n("div",{class:e.$style["error-message"]},[e.showNetworkError?n("span",[e._v(e._s(e.$t("Chat.MessageNotDeliveredError")))]):e.showUnsupportedFileError?n("span",[e._v(e._s(e.$t("Chat.UnsupportedFileError")))]):e.showFileError?n("span",[e._v(e._s(e.$t("Chat.FileError")))]):e._e(),e._v(" "),e.showRetrySend?n("span",[e._v("\n "+e._s(e.$t("Chat.TryAgain"))+"\n "),n("span",{class:e.$style["error-message-retry"],on:{click:function(t){return e.sendAgain(e.message.index)}}},[n("redo",{staticStyle:{height:"12px",fill:"red"}})],1)]):e._e()]):e._e()])}),[],!1,(function(e){var t=n(9036);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;class hp{constructor(e){this.isEnable=!0,this.showOptionsBorders=!0,this.showSelectedLabel=!1,this.showHoveredLabel=!1,this.isCustomField=!1,this.htmlAnswer=!1,this.preventSound=!1,this.preventBubbleIndication=!1,this.preventTabNotification=!1,Object.assign(this,e)}setAnswer(e){this.sanitize,this.answer=e}getAnswer(){return this.answer}}class pp{constructor(e){this.currentIndex=-1,this.submitted=!1,Object.assign(this,e)}validateCurrent(e){let t="";return this.currentIndex>=0&&void 0!==this.questions[this.currentIndex].validate&&(t=this.questions[this.currentIndex].validate(e)),t}current(){if(this.currentIndex>=0)return this.questions[this.currentIndex]}next(){var e,t,n,i;let s=-1;if(void 0!==(null===(e=this.current())||void 0===e?void 0:e.getAnswer())&&((null===(t=this.current())||void 0===t?void 0:t.type)===Mo.MultipleChoice||(null===(n=this.current())||void 0===n?void 0:n.type)===Mo.SingleChoice)){const e=null===(i=this.current())||void 0===i?void 0:i.options.find((e=>{var t;return e.value===(null===(t=this.current())||void 0===t?void 0:t.getAnswer())}));void 0!==e&&(s="FINISH"!==e.nextQuestionAlias?this.questions.findIndex((t=>t.alias===e.nextQuestionAlias)):this.questions.length)}if(this.currentIndex>=0&&void 0!==this.questions[this.currentIndex].submitMethod&&this.questions[this.currentIndex].submitMethod(),s<0){let e=!1;for(;!(e||(this.currentIndex+=1,this.currentIndex>this.questions.length-1));)this.questions[this.currentIndex].isEnable&&(e=!0);if(e)return this.questions[this.currentIndex]}else if(s<this.questions.length)return this.currentIndex=s,this.questions[s];void 0!==this.submitMethod&&this.submitMethod().subscribe((()=>{this.submitted=!0}))}getQuestionByAlias(e){let t;const n=this.questions.findIndex((t=>t.alias===e));return n>=0&&(t=this.questions[n]),t}addSubmissionCallback(e,t=""){if(""!==t){const n=this.questions.findIndex((e=>e.alias===t));n>=0&&(this.questions[n].submitMethod=e)}else this.submitMethod=e}getData(){const e={};return this.questions.forEach((t=>{void 0!==t.propertyToSubmit&&(e[t.propertyToSubmit]=t.getAnswer())})),e}buildFlow(e,t){this.questions=[],this.submitOnCompletion=e,this.config=t}}class mp extends pp{constructor(e){super(e),this.MESSAGE_ALIAS="MESSAGE",this.NAME_ALIAS="NAME",this.EMAIL_ALIAS="EMAIL",this.PHONE_ALIAS="PHONE",Object.assign(this,e)}buildFlow(e,t){const n=ef.getTextHelper();super.buildFlow(e,t),this.questions.push(new hp({alias:this.MESSAGE_ALIAS,type:Mo.Text,propertyToSubmit:"OfflineMessage",preventSound:!0,preventTabNotification:!0,text:n.getPropertyValue("OfflineFormTitle",[this.config.unavailableMessage,Nl.t("Inputs.UnavailableMessage").toString()]),validate:e=>{let t="";return Lc(e,500)||(t=n.getPropertyValue("OfflineFormMaximumCharactersReached",[this.config.offlineFormMaximumCharactersReached,Nl.t("Auth.MaxCharactersReached").toString()])),t}})),this.questions.push(new hp({alias:this.NAME_ALIAS,type:Mo.Text,propertyToSubmit:"Name",text:n.getPropertyValue("OfflineFormNameMessage",[this.config.offlineNameMessage,Nl.t("Offline.OfflineNameMessage").toString()]),validate:e=>{let t="";return Pc(e)?Lc(e)||(t=n.getPropertyValue("OfflineFormMaximumCharactersReached",[this.config.offlineFormMaximumCharactersReached,Nl.t("Auth.MaxCharactersReached").toString()])):t=n.getPropertyValue("OfflineFormInvalidName",[this.config.offlineFormInvalidName,Nl.t("Auth.EnterValidName").toString()]),t}})),this.questions.push(new hp({alias:this.EMAIL_ALIAS,type:Mo.Text,propertyToSubmit:"Email",text:n.getPropertyValue("OfflineFormEmailMessage",[this.config.offlineEmailMessage,Nl.t("Offline.OfflineEmailMessage").toString()]),validate:e=>{let t="";return jc(e)?Dc(e)||(t=n.getPropertyValue("OfflineFormInvalidEmail",[this.config.offlineFormInvalidEmail,Nl.t("Auth.OfflineEnterValidEmail").toString()])):t=n.getPropertyValue("OfflineFormMaximumCharactersReached",[this.config.offlineFormMaximumCharactersReached,Nl.t("Auth.MaxCharactersReached").toString()]),t}}))}getData(){return super.getData()}}class gp{constructor(e){this.getAnswerText=()=>this.text,Object.assign(this,e)}}class bp extends pp{constructor(e){super(e),Object.assign(this,e)}buildFlow(e,t){const n=ef.getTextHelper();super.buildFlow(e,t);const i=[new gp({value:"0",description:Nl.t("Rate.VeryBad").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm0-136c-31.2 0-60.6 13.8-80.6 37.8-5.7 6.8-4.8 16.9 2 22.5s16.9 4.8 22.5-2c27.9-33.4 84.2-33.4 112.1 0 5.3 6.4 15.4 8 22.5 2 6.8-5.7 7.7-15.8 2-22.5-19.9-24-49.3-37.8-80.5-37.8zm-48-96c0-2.9-.9-5.6-1.7-8.2.6.1 1.1.2 1.7.2 6.9 0 13.2-4.5 15.3-11.4 2.6-8.5-2.2-17.4-10.7-19.9l-80-24c-8.4-2.5-17.4 2.3-19.9 10.7-2.6 8.5 2.2 17.4 10.7 19.9l31 9.3c-6.3 5.8-10.5 14.1-10.5 23.4 0 17.7 14.3 32 32 32s32.1-14.3 32.1-32zm171.4-63.3l-80 24c-8.5 2.5-13.3 11.5-10.7 19.9 2.1 6.9 8.4 11.4 15.3 11.4.6 0 1.1-.2 1.7-.2-.7 2.7-1.7 5.3-1.7 8.2 0 17.7 14.3 32 32 32s32-14.3 32-32c0-9.3-4.1-17.5-10.5-23.4l31-9.3c8.5-2.5 13.3-11.5 10.7-19.9-2.4-8.5-11.4-13.2-19.8-10.7z"/></svg></div>'}),new gp({value:"1",description:Nl.t("Rate.Bad").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm0-152c-44.4 0-86.2 19.6-114.8 53.8-5.7 6.8-4.8 16.9 2 22.5 6.8 5.7 16.9 4.8 22.5-2 22.4-26.8 55.3-42.2 90.2-42.2s67.8 15.4 90.2 42.2c5.3 6.4 15.4 8 22.5 2 6.8-5.7 7.7-15.8 2-22.5C334.2 339.6 292.4 320 248 320zm-80-80c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"/></svg></div>'}),new gp({value:"2",description:Nl.t("Rate.Neutral").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm-80-232c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm16 160H152c-8.8 0-16 7.2-16 16s7.2 16 16 16h192c8.8 0 16-7.2 16-16s-7.2-16-16-16z"/></svg></div>'}),new gp({value:"3",description:Nl.t("Rate.Good").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm90.2-146.2C315.8 352.6 282.9 368 248 368s-67.8-15.4-90.2-42.2c-5.7-6.8-15.8-7.7-22.5-2-6.8 5.7-7.7 15.7-2 22.5C161.7 380.4 203.6 400 248 400s86.3-19.6 114.8-53.8c5.7-6.8 4.8-16.9-2-22.5-6.8-5.6-16.9-4.7-22.6 2.1zM168 240c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"/></svg></div>'}),new gp({value:"4",description:Nl.t("Rate.VeryGood").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm123.1-151.2C340.9 330.5 296 336 248 336s-92.9-5.5-123.1-15.2c-5.3-1.7-11.1-.5-15.3 3.1-4.2 3.7-6.2 9.2-5.3 14.8 9.2 55 83.2 93.3 143.8 93.3s134.5-38.3 143.8-93.3c.9-5.5-1.1-11.1-5.3-14.8-4.3-3.7-10.2-4.9-15.5-3.1zM248 400c-35 0-77-16.3-98.5-40.3 57.5 10.8 139.6 10.8 197.1 0C325 383.7 283 400 248 400zm-80-160c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"/></svg></div>'})];i.forEach((e=>{e.getAnswerText=()=>`${e.text}<div class='rate_text'>${e.description}</div>`})),this.questions.push(new hp({alias:"RATE",type:Mo.SingleChoice,options:i,propertyToSubmit:"rate",text:n.getPropertyValue("RateMessage",[Nl.t("Chat.RateRequest").toString()]),showOptionsBorders:!1,showSelectedLabel:!0,showHoveredLabel:!0,htmlAnswer:!0,sanitize:e=>e.replace(/([^\u0000-\u007F]|[^\w\d-_\s])/g,""),validate:e=>{let t="";return Number.isNaN(Number(e))&&(t="Wrong answer"),t}})),this.questions.push(new hp({alias:"FEEDBACK",type:Mo.SingleChoice,options:[new gp({text:Nl.t("Rate.GiveFeedback").toString(),value:1,description:"Yes",nextQuestionAlias:"COMMENT"}),new gp({text:Nl.t("Rate.NoFeedback").toString(),value:0,description:"No",nextQuestionAlias:"FINISH"})],text:n.getPropertyValue("RateFeedbackRequestMessage",[Nl.t("Chat.RateFeedbackRequest").toString()])})),this.questions.push(new hp({alias:"COMMENT",propertyToSubmit:"comment",text:n.getPropertyValue("RateCommentsMessage",[Nl.t("Chat.RateComment").toString()]),validate:e=>{let t="";return Lc(e,500)||(t=Nl.t("Auth.MaxCharactersReached").toString()),t}}))}getData(){return super.getData()}}class vp extends pp{constructor(e){super(e),this.NAME_ALIAS="NAME",this.EMAIL_ALIAS="EMAIL",this.DEPARTMENT_ALIAS="DEPARTMENT",Object.assign(this,e),this.closeOnSubmission=!1}buildFlow(e,t){const n=ef.getTextHelper();super.buildFlow(e,t),this.questions.push(new hp({alias:this.NAME_ALIAS,type:Mo.Text,propertyToSubmit:"name",text:n.getPropertyValue("AuthFormNameMessage",[Nl.t("Auth.AuthNameMessage").toString()]),isEnable:t.authenticationType===uf.Both||t.authenticationType===uf.Name,sanitize:e=>e.replace(/([^\u0000-\u007F]|[^\w\d-_\s])/g,""),validate:e=>{let t="";return Pc(e)||(t=Nl.t("Auth.MaxCharactersReached").toString()),t}})),this.questions.push(new hp({alias:this.EMAIL_ALIAS,type:Mo.Text,propertyToSubmit:"email",text:n.getPropertyValue("AuthFormEmailMessage",[Nl.t("Auth.AuthEmailMessage").toString()]),isEnable:t.authenticationType===uf.Both||t.authenticationType===uf.Email,validate:e=>{let t="";return Dc(e)?jc(e)||(t=Nl.t("Auth.MaxCharactersReached").toString()):t=Nl.t("Auth.OfflineEnterValidEmail").toString(),t}})),this.questions.push(new hp({alias:this.DEPARTMENT_ALIAS,type:Mo.SingleChoice,options:[],propertyToSubmit:"department",text:Nl.t("Auth.DepartmentMessage").toString(),isEnable:t.departmentsEnabled}))}getData(){const e={};return this.questions.forEach((t=>{void 0!==t.propertyToSubmit&&(t.isCustomField?e["cf:"+t.propertyToSubmit]=JSON.stringify(new Oh({name:t.text,id:parseInt(t.alias,10),value:t.getAnswer()})):e[t.propertyToSubmit]=t.getAnswer())})),e}addAuthDepartmentOptions(e){const t=this.getQuestionByAlias(this.DEPARTMENT_ALIAS);void 0!==t&&e.forEach((e=>{t.options.push(new gp({value:e.id,text:e.name,description:e.name}))}))}addAuthCustomFields(e){void 0!==e&&e.forEach((e=>{const t=[],n=new hp({alias:e.id.toString(10),type:"TEXT"===e.type?Mo.Text:Mo.SingleChoice,propertyToSubmit:e.name,text:e.name,isCustomField:!0});"DROPDOWN"===e.type&&(e.options.forEach((e=>{t.push(new gp({value:e,text:e,description:e}))})),n.options=t),this.questions.push(n)}))}}class yp{constructor(e,t,n){this.onReset=new Gr,this.onError=new Gr,this.onError$=this.onError.asObservable().pipe(of(this.onReset)),this.onQuestionAnswered=new Gr,this.onQuestionAnswered$=this.onQuestionAnswered.asObservable().pipe(of(this.onReset)),this.onNewQuestion=new Gr,this.onNewQuestion$=this.onNewQuestion.asObservable().pipe(of(this.onReset)),this.thinking=new Gr,this.thinking$=this.thinking.asObservable(),this.emojiconUrl="",this.chatFlowState=e,this.eventBus=t,this.myChatService=n}getCurrentFlow(){return this.currentFlow&&!this.currentFlow.submitted?this.currentFlow:void 0}think(e,t){this.currentFlow.submitted||setTimeout((()=>{this.thinking.next({key:t,value:e})}),500)}answer(e){let t="",n=e.value;const i=this.currentFlow.current();if(void 0!==i&&(void 0!==i.sanitize&&(n=i.sanitize(e.value.toString())),t=this.currentFlow.validateCurrent(n.toString())),this.onQuestionAnswered.next(e.key),""===t){void 0!==i&&i.setAnswer(n);const e=this.currentFlow.next();void 0!==e&&this.onNewQuestion.next(e)}else this.onError.next(t)}start(){const e=this.currentFlow.next();void 0!==e&&this.onNewQuestion.next(e)}reset(){this.setChatFlowState(To.Chat),this.onReset.next()}setChatFlowState(e){switch(this.chatFlowState=e,e){case To.OfflineForm:this.currentFlow=new mp;break;case To.Rate:this.currentFlow=new bp;break;case To.Auth:this.currentFlow=new vp}}onFlowNewQuestion(e){const t=lp.createAutomatedViewMessage(e.text,ko.Normal,this.emojiconUrl);t.preventSound=e.preventSound,t.preventBubbleIndication=e.preventBubbleIndication,t.preventTabNotification=e.preventTabNotification,this.eventBus.onShowMessage.next(t),e.type===Mo.SingleChoice||e.type===Mo.MultipleChoice?this.eventBus.onShowMessage.next(lp.createOptionsViewMessage(e)):this.eventBus.onTriggerFocusInput.next()}onFlowError(e){this.eventBus.onShowMessage.next(lp.createAutomatedViewMessage(e,ko.Normal,this.emojiconUrl))}onFlowQuestionAnswered(e){e>=0&&(this.myChatService.chatMessages[e].sent=!0)}initFlow(e,t=!1,n=(()=>Wl(!0)),i=(e=>this.onFlowNewQuestion(e)),s=(e=>this.onFlowQuestionAnswered(e)),r=(e=>this.onFlowError(e))){this.currentFlow.buildFlow(t,e),this.currentFlow.addSubmissionCallback(n,""),this.onError$.subscribe((e=>r(e))),this.onNewQuestion$.subscribe((e=>i(e))),this.onQuestionAnswered$.subscribe((e=>s(e)))}}class Ap{constructor(e){Object.assign(this,e)}}var wp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let _p=class extends(rr(sf)){constructor(){super(),this.selected="",this.hovered=new gp,this.lightText=!1}optionHtml(e){return ap(e,this.emojiconUrl,25)}onOptionSelected(e){""===this.selected&&(this.selected=e.value,this.$emit("selected",e))}mouseOver(e,t){this.hovered=t;"#FFFFFF"===Jh(e.target)&&void 0!==this.$style&&(this.lightText=!0)}mouseLeave(e){this.hovered=void 0,this.lightText=!1}};wp([wr()],_p.prototype,"options",void 0),wp([wr()],_p.prototype,"showBorders",void 0),wp([wr()],_p.prototype,"showSelectedLabel",void 0),wp([wr()],_p.prototype,"showHoveredLabel",void 0),wp([wr()],_p.prototype,"emojiconUrl",void 0),_p=wp([dr({components:{}})],_p);const Cp=td(_p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return""===e.selected||void 0===e.selected?n("div",{class:[e.$style.root]},[e._l(e.options,(function(t){return[n("div",{ref:"option_"+t.value,refInFor:!0,class:[e.$style.option_button,e.showBorders?e.$style.bordered:"",e.lightText&&e.hovered.value===t.value?e.$style["light-text"]:""],on:{mouseover:function(n){return e.mouseOver(n,t)},mouseleave:function(t){return e.mouseLeave(t)},blur:function(t){return e.mouseLeave(t)},click:function(n){return e.onOptionSelected(t)}}},[n("span",{domProps:{innerHTML:e._s(e.optionHtml(t.text))}})])]})),e._v(" "),e.hovered&&!e.selected&&e.showHoveredLabel?n("div",{class:[e.$style.hovered_description]},[e._v("\n "+e._s(e.hovered.description)+"\n ")]):e._e()],2):e._e()}),[],!1,(function(e){var t=n(8583);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Sp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Ep=class extends(rr(sf)){beforeMount(){this.addVideoCallListener()}addVideoCallListener(){this.myWebRTCService&&this.$subscribeTo(this.myWebRTCService.videoCallInProcess$,(()=>{this.myWebRTCService.videoContainer=this.$refs.videoContainer}))}};Sp([pr()],Ep.prototype,"myWebRTCService",void 0),Sp([wr({default:!1})],Ep.prototype,"isPopoutWindow",void 0),Ep=Sp([dr({components:{}})],Ep);const Op=td(Ep,(function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("div",{ref:"videoContainer",class:[t.$style.root],attrs:{id:"videoContainer"}},[t.myWebRTCService&&t.myWebRTCService.videoOnlyRemoteStream&&(t.myWebRTCService.media.isVideoReceived||!t.myWebRTCService.media.isVideoSend)?i("video",{directives:[{name:"srcObject",rawName:"v-srcObject",value:t.myWebRTCService.videoOnlyRemoteStream,expression:"myWebRTCService.videoOnlyRemoteStream"}],class:t.myWebRTCService.isFullscreen?t.$style.awayFullVideo:t.$style.awayVideo,attrs:{id:"wplc-remote-video",playsinline:"",autoplay:""}}):t._e(),t._v(" "),t.myWebRTCService&&t.myWebRTCService.videoOnlyLocalStream&&t.myWebRTCService.media.isVideoSend?i("video",{directives:[{name:"srcObject",rawName:"v-srcObject",value:t.myWebRTCService.videoOnlyLocalStream,expression:"myWebRTCService.videoOnlyLocalStream"}],class:(e={},e[t.$style.mirrorVideo]=!0,e[t.myWebRTCService.isFullscreen||!t.isPopoutWindow?t.$style.homeFullVideo:t.$style.homeVideo]=t.myWebRTCService.media.isVideoReceived,e[t.myWebRTCService.isFullscreen||!t.isPopoutWindow?t.$style.awayFullVideo:t.$style.awayVideo]=!t.myWebRTCService.media.isVideoReceived,e),attrs:{id:"wplc-home-video",playsinline:"",autoplay:""}}):t._e()])}),[],!1,(function(e){var t=n(231);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;const xp="data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjUxLjEwMQAAAAAAAAAAAAAA//OEAAAAAAAAAAAAAA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rOV3MLUdWwsOYACRqeWGPg//NEZBAHNOT8AAONGgSIVe0gAHIksiuX9BQmXZI48p8oBd/I2BqHm3/1F1jgYQpP////rCpN1f///1BmjMNJgBQBByu0jpmhimvSSp1aczh6uutUn+Wpaz4sAsw3CTJA//NEZA8HMOb8AAOTGARwXeDAAzQqJjRCFBoBNejAyACKgo5zIhhDhb3/+pcoDkhvDf///+sTa/////1WJoix8RGO659bJQ0CkgSHYsZgWlzn6qg0EJJtSpYgsEzgsmfM//NEZA4HEKDwAANyGgSoXcgAAzIoRE3evQkJAuGrArrBAUZ8AFBd3McoAUDyf/zI+4lQQiCsnv///+s4RY2hrReWEWXOV4NAf2UWT6s7cI9OT1WAljRN/n+gFZQ6AwsE//NEZA0G3GTqAAOUGAUAXdZAAnIoDRPEMHCBCWIQAIgEQgZTME0AHHBgacISUoiFRcKH/qcg5QEHBrADqhIuA4AIAEyWCFCsmUGwJe+9SrN0PLQwD7OUNlhD7JDA4PaW//NEZA0G3GTeoAuZJARgWbGAAHQlZZ050AMgIHQgx6gNcWlcM5CxpatXq1qGd///////jSmDTBsNCdYAjcy+HAYGeC27FQATBbVDvV4uraJV3cm6eMt2Q5hwgYQSmmM5//NEZA8GcGTWAAN5FgUIYa5AAZ4kxEqW4QSAEU1C29L2rdh7v8ypef/////O2duyIizbwO1gIKdbMCwAQAM5kUJkcz+CHACZ/DYFFebaMT2hVnBZFATRgqBwMKDOrCNk//NEZBIGADiuYAeaFgTQWaJgAF5ArI3fhD//qOdmoELzCNDhkkvX2lMulNa4Dhr4LC4jAHyoAAJgjiuhIS+iao0dws4aL6oBaQLOriSHQPs0R+QxTfVA1KQQO8hfo0NM//NEZBkFMD50wDMPGAVgXNjgAlgJOhXQBWEMKwk1OJQq5hliT6JgCSqRsMhZJt396kSg5B0QB3QHhZJMQU1FMy4xMDCqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq";var Ip=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Tp=class extends(rr(sf)){constructor(){super(...arguments),this.soundFlag=this.config.allowSoundNotifications,this.myMessage="",this.MaxChatMessageSize=2e4}get isSendButtonEnabled(){return this.myMessage.length>0}beforeMount(){this.addInputBlurHandler(),this.addInputFocusHandler()}addInputBlurHandler(){this.$subscribeTo(this.eventBus.onMinimized,(()=>{this.blurInput()}))}addInputFocusHandler(){const e=_f(this.eventBus.onRestored,this.eventBus.onTriggerFocusInput);this.$subscribeTo(e,(()=>{this.gaService.chatInteractionEvent(),this.focusInput()}))}focusInput(){setTimeout((()=>{this.$refs.chatInput&&$c.focusElement(this.$refs.chatInput)}),200)}blurInput(){setTimeout((()=>{this.$refs.chatInput&&$c.blurElement(this.$refs.chatInput)}),200)}filePickerToggle(){this.$refs.fileInput.click()}fileSelection(){const e=this.$refs.fileInput;e&&this.eventBus.onFileUpload.next(e.files)}FireTyping(e){this.myMessage=e.target.value,this.eventBus.onClientChatTyping.next()}onInputFocusChange(e){this.$emit("input-focus-change",e),e&&this.eventBus.onAttendChat.next()}sendMessage(){this.myMessage&&(this.$emit("send-message",this.myMessage),this.myMessage="")}onStartNewChat(){this.eventBus.onRestart.next()}onToggleSound(){this.soundFlag=!this.soundFlag,this.eventBus.onToggleSoundNotification.next(this.soundFlag)}};Ip([pr()],Tp.prototype,"eventBus",void 0),Ip([pr()],Tp.prototype,"gaService",void 0),Ip([wr()],Tp.prototype,"config",void 0),Ip([wr({default:!0})],Tp.prototype,"isChatActive",void 0),Ip([wr({default:!1})],Tp.prototype,"chatEnabled",void 0),Ip([wr({default:!0})],Tp.prototype,"chatOnline",void 0),Ip([wr({default:!0})],Tp.prototype,"enableTyping",void 0),Tp=Ip([dr({components:{SoundActive:vd(),SoundInactive:Ad(),FacebookIcon:_d(),PaperPlane:Sd(),TwitterIcon:Od(),EmailIcon:Id(),DefaultSound:xp,PaperClip:kd()}})],Tp);const Mp=td(Tp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.$style.root,e.isChatActive?"":e.$style["chat-disabled"]]},[e.isChatActive?[n("form",{class:e.$style["chat-message-input-form"],attrs:{autocomplete:"off",autocorrect:"off",spellcheck:"false"},on:{submit:function(t){return t.preventDefault(),e.sendMessage()}}},[n("div",{class:e.$style.materialInput},[n("input",{ref:"chatInput",class:e.$style["chat-message-input"],attrs:{disabled:!e.enableTyping,type:"text",placeholder:e.$t("Chat.TypeYourMessage"),maxLength:e.MaxChatMessageSize,name:"chatInput",autocomplete:"off",autocorrect:"off",spellcheck:"false"},domProps:{value:e.myMessage},on:{input:function(t){return e.FireTyping(t)},focus:function(t){return e.onInputFocusChange(!0)},blur:function(t){return e.onInputFocusChange(!1)}}})]),e._v(" "),n("div",{class:[e.$style["send-trigger"],e.isSendButtonEnabled?e.$style.send_enable:e.$style.send_disable],attrs:{disabled:!e.enableTyping},on:{mousedown:function(t){return t.preventDefault(),e.sendMessage()}}},[n("paper-plane")],1)]),e._v(" "),n("div",{class:e.$style.banner},[n("div",{class:e.$style["chat-action-buttons"]},[e.config.filesEnabled&&e.chatOnline?n("input",{ref:"fileInput",staticStyle:{display:"none"},attrs:{id:"avatar",type:"file",name:"file-picker",accept:"image/jpeg,image/pjpeg,image/png,image/gif,image/bmp,image/x-windows-bmp,image/tiff,image/x-tiff,application/msword,application/pdf,text/plain,application/rtf,application/x-rtf,application/mspowerpoint,application/powerpoint,application/vnd.ms-powerpoint,application/x-mspowerpoint,application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel"},on:{change:function(t){return t.preventDefault(),e.fileSelection(t)}}}):e._e(),e._v(" "),e.config.filesEnabled&&e.chatOnline?n("div",{class:[e.$style["action-button"]],attrs:{disabled:!e.enableTyping},on:{click:function(t){return t.preventDefault(),e.filePickerToggle(t)}}},[n("PaperClip")],1):e._e(),e._v(" "),e.config.enableMute&&e.chatEnabled?n("div",{class:e.$style["action-button"],on:{click:e.onToggleSound}},[e.soundFlag?e._e():n("a",[n("soundInactive")],1),e._v(" "),e.soundFlag?n("a",[n("soundActive")],1):e._e()]):e._e(),e._v(" "),e.config.facebookIntegrationUrl?n("div",{class:e.$style["action-button"]},[n("a",{attrs:{target:"_blank",href:e.config.facebookIntegrationUrl}},[n("facebookIcon")],1)]):e._e(),e._v(" "),e.config.twitterIntegrationUrl?n("div",{class:e.$style["action-button"]},[n("a",{attrs:{target:"_blank",href:e.config.twitterIntegrationUrl}},[n("twitterIcon")],1)]):e._e(),e._v(" "),e.config.emailIntegrationUrl?n("div",{class:e.$style["action-button"]},[n("a",{attrs:{href:"mailto:"+e.config.emailIntegrationUrl}},[n("emailIcon")],1)]):e._e()]),e._v(" "),e.config.enablePoweredby?n("span",{class:e.$style["powered-by"]},[n("a",{attrs:{href:"https://www.3cx.com",target:"_blank"}},[e._v(e._s(e.$t("Inputs.PoweredBy"))+" ")])]):e._e()])]:n("button",{ref:"startNewBtn",class:e.$style.submit,attrs:{type:"button"},on:{click:function(t){return e.onStartNewChat()}}},[e._v("\n "+e._s(e.$t("ChatCompleted.StartNew"))+"\n ")])],2)}),[],!1,(function(e){var t=n(7722);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Np=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let kp=class extends(rr(sf)){constructor(){super(...arguments),this.isTypingVisible=!1}beforeMount(){this.addFlowThinkingListener(),this.chatOnline&&this.addServerTypingListener()}addFlowThinkingListener(){this.$subscribeTo(this.chatFlowControlService.thinking$.pipe(If((()=>{this.isTypingVisible=!0})),du(1e3),If((e=>{this.isTypingVisible=!1,this.chatFlowControlService.answer(e)}))),(()=>{}))}addServerTypingListener(){this.$subscribeTo(this.myChatService.notificationsOfType$(zf).pipe(Lh(1e3),If((e=>{this.lastTyping=e.time,this.isTypingVisible=!0})),du(2e3),If((()=>{const e=this.lastTyping.getTime()-(new Date).getTime();this.isTypingVisible=Math.abs(e)<2e3}))),(()=>{}))}};Np([pr()],kp.prototype,"myChatService",void 0),Np([pr()],kp.prototype,"chatFlowControlService",void 0),Np([wr({default:!0})],kp.prototype,"chatOnline",void 0),Np([wr({default:""})],kp.prototype,"operatorName",void 0),kp=Np([dr({components:{}})],kp);const Rp=td(kp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isTypingVisible?n("div",{class:[e.$style.root]},[e.chatOnline?n("div",{class:e.$style.typing_indicator_name},[n("span",{attrs:{title:e.operatorName}},[e._v(e._s(e.operatorName))])]):e._e(),e._v(" "),n("span",[e._v(e._s(e.$t("Inputs.IsTyping")))])]):e._e()}),[],!1,(function(e){var t=n(3530);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;class Fp{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new Dp(e,this.dueTime,this.scheduler))}}class Dp extends Fr{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Pp,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function Pp(e){e.debouncedNext()}var Bp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Lp=class extends(rr(sf)){constructor(){super(),this.newMessageAudioMuted=!1,this.enabled=!1}beforeMount(){this.enableNotification(),this.addSoundToggleHandler(),this.addAttendHandler(),this.addUnattendedMessageHandler()}mounted(){this.audio=this.$refs.lcAudio,this.audio.autoplay=!0,void 0!==this.config.soundnotificationUrl&&""!==this.config.soundnotificationUrl?this.audio.src=this.config.soundnotificationUrl:this.audio.src=xp,this.addSoundNotificationHandler()}addSoundNotificationHandler(){this.$subscribeTo(this.eventBus.onSoundNotification.pipe(jo((()=>!this.newMessageAudioMuted&&this.enabled)),function(e,t=Qc){return n=>n.lift(new Fp(e,t))}(100),If((()=>{this.audio.pause(),this.audio.currentTime=0})),tc((()=>Kl(this.audio.play())))),(()=>{}))}addSoundToggleHandler(){this.$subscribeTo(this.eventBus.onToggleSoundNotification,(e=>{this.newMessageAudioMuted=!e}))}enableNotification(){this.eventBus.onEnableNotification.subscribe((()=>{this.enabled=!0}))}addUnattendedMessageHandler(){this.$subscribeTo(this.eventBus.onUnattendedMessage,(e=>{this.enabled&&!e.preventTabNotification&&(this.config&&this.config.isPopout?Ll.startBlinkWithStopOnMouseMove():Ll.startBlink())}))}addAttendHandler(){this.$subscribeTo(this.eventBus.onAttendChat,(()=>{Ll.stopBlink()}))}};Bp([pr()],Lp.prototype,"myChatService",void 0),Bp([pr()],Lp.prototype,"myWebRTCService",void 0),Bp([pr()],Lp.prototype,"eventBus",void 0),Bp([wr()],Lp.prototype,"config",void 0),Lp=Bp([dr({components:{DefaultSound:xp}})],Lp);const jp=td(Lp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.$style.root]},[n("audio",{ref:"lcAudio"})])}),[],!1,(function(e){var t=n(9831);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Up=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let zp=class extends(rr(sf)){constructor(){super(),this.serverSystemMessages=!1,this.firstResponsePending=!0,this.emojiconUrl="",this.chatConversationId=-1,this.clientName="",this.pendingMessagesToSend=[],this.isPopoutWindow=!1,this.isInputFocused=!1,this.onAknowledgeMessage=new Gr,this.currentOperator=new Nc({image:this.operator.image,name:this.operator.name,emailTag:this.operator.emailTag}),this.chatFlowControlService=new yp(To.Chat,this.eventBus,this.myChatService)}get isVideoActive(){return this.myWebRTCService&&this.myWebRTCService.isVideoActive}enableTyping(){let e=!0;const t=this.chatFlowControlService.getCurrentFlow();if(void 0!==t){const n=t.current();void 0!==n&&(e=n.type!==Mo.MultipleChoice&&n.type!==Mo.SingleChoice)}return e}isChatActive(){let e;const t=this.chatFlowControlService.getCurrentFlow();return e=void 0!==t&&this.chatFlowControlService.chatFlowState!==To.Chat?!t.closeOnSubmission||!(null==t?void 0:t.submitted):!!this.chatOnline&&this.myChatService.hasSession,e}beforeMount(){if(window.addEventListener("resize",(()=>{$c.isDesktop()||this.scrollChatToBottom()})),this.loadingService.show(),this.myChatService.clearMessages(),this.isPopoutWindow=this.config&&this.config.isPopout,this.clientName=void 0!==this.myChatService.auth&&void 0!==this.myChatService.auth.name?this.myChatService.auth.name:"",this.$subscribeTo(this.eventBus.onRestored,(()=>{this.scrollChatToBottom()})),this.addShowMessagesListener(),this.addAcknowledgeMessageListener(),this.addScrollListener(),this.chatOnline){let e;this.addSessionChangeListener(),this.addNewSessionListener(),this.addMessagesListener(),this.addFileMessageListener(),this.configureTypingNotifications(),this.addChatCompletionListener(),this.addFileUploadListener();let t=!1;if(void 0===this.myChatService.auth)if(this.config.authenticationType!==uf.None||this.config.departmentsEnabled||this.customFields.length>0){this.chatFlowControlService.setChatFlowState(To.Auth),this.chatFlowControlService.initFlow(this.config,!0,(()=>this.onAuthFlowSubmit()));const e=this.chatFlowControlService.getCurrentFlow();void 0!==e&&(e.addAuthDepartmentOptions(this.departments),e.addAuthCustomFields(this.customFields))}else this.clientName=this.config.visitorName,e={name:this.config.visitorName},t=!0;else this.clientName=this.myChatService.auth.name?this.myChatService.auth.name:this.config.visitorName,e={name:this.myChatService.auth.name,email:this.myChatService.auth.email,department:this.myChatService.auth.department,customFields:this.myChatService.auth.customFields};t&&void 0!==e&&(this.currentChannel.setAuthentication(e),this.myChatService.setAuthentication(e),this.loadingService.show(),this.myChatService.reconnect())}else this.chatFlowControlService.setChatFlowState(To.OfflineForm),this.chatFlowControlService.initFlow(this.config,!0,(()=>this.onOfflineFlowSubmit())),setTimeout((()=>{this.loadingService.hide(),this.chatFlowControlService.start()}));this.chatOnline&&this.showWelcomeMessage(),this.config.showOperatorActualName?(""===this.currentOperator.image&&(this.currentOperator.image=this.config.operatorIcon),this.addOperatorChangeListener()):(this.currentOperator.name=this.config.operatorName,this.currentOperator.image=this.config.operatorIcon)}mounted(){this.chatOnline||this.eventBus.onEnableNotification.next()}addChatCompletionListener(){this.eventBus.onClosed$.subscribe((e=>{void 0!==this.myWebRTCService&&this.myWebRTCService.hasCall&&this.myWebRTCService.removeDroppedCall(),this.config.ratingEnabled?(this.chatFlowControlService.setChatFlowState(To.Rate),this.chatFlowControlService.initFlow(this.config,!0,(()=>this.onRateFlowSubmit(e))),this.chatFlowControlService.start()):this.completeChat(e)}))}completeChat(e){if(this.serverSystemMessages&&this.myChatService.lastMessage().messageType!==ko.Completed||!this.serverSystemMessages||e.closedByClient){const t=e.closeMessage||this.getPropertyValue("ChatEndMessage",[this.config.endingMessage,Nl.t("Inputs.EndingMessage").toString()]);this.endWithMessage(t)}this.myChatService.setAuthentication(void 0),this.eventBus.onChatCompleted.next()}updated(){void 0!==this.$refs.startNewBtn&&this.$refs.startNewBtn instanceof HTMLElement&&(this.$refs.startNewBtn.style.color="#FFFFFF")}onOfflineFlowSubmit(){const e=this.chatFlowControlService.getCurrentFlow();if(void 0!==e){const t=e.getData(),n=new Yf({auth:{name:t.Name.toString(),email:t.Email.toString(),phone:""},party:this.config.party,data:{message:t.OfflineMessage.toString(),name:t.Name.toString(),email:t.Email.toString(),phone:""}});return this.currentChannel.sendSingleCommand(this.config.wpUrl,this.config.channelUrl,n).pipe(If((()=>{const e=lp.createAutomatedViewMessage(this.getPropertyValue("OfflineFormFinishMessage",[this.config.offlineFinishMessage,Nl.t("Inputs.OfflineMessageSent").toString()]),ko.Completed,this.emojiconUrl);e.preventBubbleIndication=!0,e.preventTabNotification=!0,this.addChatMessage(e),this.gaService.dispatchEvent("chat_offline","OfflineMessage"),this.eventBus.onAttendChat.next(),this.chatFlowControlService.reset()})),tc((()=>Wl(!0))))}return Wl(!1)}onAuthFlowSubmit(){var e,t,n,i;const s=null===(e=this.chatFlowControlService.getCurrentFlow())||void 0===e?void 0:e.getData(),r=[];if(s){Object.keys(s).forEach((e=>{e.startsWith("cf:")&&r.push(JSON.parse(s[e].toString()))}));const e=s.department?parseInt(s.department.toString(),10):-1,o={name:null===(t=s.name)||void 0===t?void 0:t.toString(),email:null===(n=s.email)||void 0===n?void 0:n.toString(),department:Number.isNaN(e)?-1:e,customFields:r};return this.clientName=void 0!==s.name?null===(i=s.name)||void 0===i?void 0:i.toString():this.config.visitorName,this.currentChannel.setAuthentication(o),this.myChatService.setAuthentication(o),this.loadingService.show(),this.chatFlowControlService.reset(),this.myChatService.reconnect(),this.myWebRTCService.setChatService(this.myChatService),Wl(!0)}return Wl(!1)}onRateFlowSubmit(e){const t=this.chatFlowControlService.getCurrentFlow();if(void 0!==t&&void 0!==this.myChatService.auth){const n=t.getData(),i=new Xf({auth:{name:this.myChatService.auth.name,email:this.myChatService.auth.email,phone:this.myChatService.auth.phone},party:this.config.party,data:{rate:n.rate,comments:n.comment?n.comment:"",cid:e.chatUniqueCode}});return this.currentChannel.sendSingleCommand(this.config.wpUrl,this.config.channelUrl,i).pipe(If((()=>{this.completeChat(new Ap({notifyServer:!1,closedByClient:e.closedByClient,chatUniqueCode:this.chatConversationId})),this.chatFlowControlService.reset()})),tc((()=>Wl(!0))))}return Wl(!0)}onOptionSelected(e,t){let n;n=t.htmlAnswer?lp.createHtmlVisitorViewMessage(e.getAnswerText(),this.clientName,this.config.userIcon,!0,this.emojiconUrl,!0,!0,new Date):lp.createVisitorViewMessage(e.getAnswerText(),this.clientName,this.config.userIcon,!0,!0,this.emojiconUrl,!0,new Date),n.preventBubbleIndication=!0,this.addChatMessage(n),this.eventBus.onAttendChat.next(),this.chatFlowControlService.think(e.value,-1)}addShowMessagesListener(){this.$subscribeTo(this.eventBus.onShowMessage,(e=>{this.addChatMessage(e)}))}addScrollListener(){this.$subscribeTo(this.eventBus.onScrollToBottom,(()=>{this.scrollChatToBottom()}))}addOperatorChangeListener(){this.$subscribeTo(this.myChatService.onOperatorChange$,(e=>{if(void 0!==e.image&&""!==e.image||(e.image=this.config.operatorIcon),this.myChatService.hasSession){const t=Nl.t("Chat.OperatorJoined").toString().replace("%%OPERATOR%%",e.name),n=lp.createAutomatedViewMessage(t,ko.Normal,this.emojiconUrl);n.preventSound=!0,this.addChatMessage(n)}this.currentOperator=e}))}configureTypingNotifications(){this.$subscribeTo(this.eventBus.onClientChatTyping.pipe(jo((()=>this.chatFlowControlService.chatFlowState===To.Chat)),Lh(2e3),tc((()=>{const e=new zf({idConversation:this.chatConversationId});return this.myChatService.get(new au(e),!0)}))),(()=>{}),(e=>{this.eventBus.onError.next(e)}))}addNewSessionListener(){this.$subscribeTo(this.myChatService.mySession$,(e=>{this.myChatService.hasSession||e.sessionState!==Co.Error?this.myChatService.hasSession&&(this.loadingService.hide(),this.eventBus.onEnableNotification.next(),this.eventBus.onTriggerFocusInput.next(),this.serverSystemMessages=e.serverProvideSystemMessages,this.emojiconUrl=e.emojiEndpoint(),this.chatFlowControlService.emojiconUrl=this.emojiconUrl,this.chatConversationId=e.getSessionUniqueCode(),this.pendingMessagesToSend.length>0&&(this.pendingMessagesToSend.forEach((e=>{this.sendOnlineMessage(e.message,e.index)})),this.pendingMessagesToSend=[]),this.gaService.chatInitiatedEvent(e)):this.eventBus.onClosed.next(new Ap({notifyServer:!1,closedByClient:!1,chatUniqueCode:this.chatConversationId}))}))}addFileMessageListener(){this.$subscribeTo(this.myChatService.notificationsOfType$(tu),(e=>{const t=this.myChatService.chatMessages.findIndex((t=>t.id===e.id));t>-1&&(this.myChatService.chatMessages[t].file=new Uf({hasPreview:e.file.hasPreview,fileName:e.file.fileName,fileLink:e.file.fileLink,fileSize:e.file.fileSize,fileState:e.file.fileState}))}))}addFileUploadListener(){this.eventBus.onFileUpload.subscribe((e=>{this.fileSelection(e)}))}addMessagesListener(){this.$subscribeTo(this.myChatService.notificationsOfType$(Lf),(e=>{e.messages.forEach((t=>{if(t.messageType===ko.Completed)this.endWithMessage(ef.getTextHelper().getPropertyValue("ChatEndMessage",[this.config.endingMessage,Nl.t("Inputs.EndingMessage").toString()]));else{const e=t.message;let n,i;t.file&&(i=new Uf({hasPreview:t.file.hasPreview,fileName:t.file.fileName,fileLink:t.file.fileLink,fileSize:t.file.fileSize,fileState:t.file.fileState}));const s=this.myChatService.lastMessage(),r=s.isLocal,o=!!s.file,{isLocal:a}=t,l=a?t.senderName:this.currentOperator.name,c="System"===t.senderNumber,f=new Date(t.time),u=f.getTimezoneOffset(),d=a!==r||s.senderName!==l||void 0!==t.file||o||s.isAutomated&&!c;n=a?i?lp.createVisitorFileMessage(i,l,this.config.userIcon,t.isNew,new Date(f.getTime()-60*u*1e3)):lp.createVisitorViewMessage(e,l,this.config.userIcon,d,t.isNew,this.emojiconUrl,!t.isNew,new Date(f.getTime()-60*u*1e3)):i?lp.createAgentFileMessage(t.id,i,l,this.config.operatorIcon,d,new Date(f.getTime()-60*u*1e3),this.emojiconUrl,t.isNew):lp.createAgentViewMessage(t.id,e,l,this.config.operatorIcon,d,new Date(f.getTime()-60*u*1e3),this.emojiconUrl,t.isNew),this.addChatMessage(n)}this.config.aknowledgeReceived&&(this.onAknowledgeMessage.next(e.messages),this.isInputFocused&&this.eventBus.onAttendChat.next())}))}))}addAcknowledgeMessageListener(){var e;this.onAknowledgeMessage.pipe((e=this.eventBus.onAttendChat,function(t){return t.lift(new qh(e))})).subscribe((e=>{e.forEach((e=>{this.setMessagesAsReceived(e)}))}))}showWelcomeMessage(){setTimeout((()=>{let e="";this.chatOnline&&(e=this.myChatService.injectAuthenticationName(this.getPropertyValue("ChatWelcomeMessage",[this.config.inviteMessage])));const t=lp.createAutomatedViewMessage(e,ko.Normal,this.emojiconUrl,!1);t.preventSound=!0,this.addChatMessage(t)}))}addSessionChangeListener(){this.myChatService.notificationsOfType$(lu).subscribe((e=>{if([Io.MISSED,Io.ENDED_DUE_AGENT_INACTIVITY,Io.ENDED_DUE_CLIENT_INACTIVITY,Io.ENDED_BY_CLIENT,Io.ENDED_BY_AGENT,Io.ENDED_DUE_BLOCK].includes(e.status)){let t="";switch(this.serverSystemMessages&&(t=this.myChatService.lastMessage().message),e.status){case Io.ENDED_DUE_BLOCK:t=Nl.t("Inputs.BlockMessage").toString();break;case Io.ENDED_DUE_AGENT_INACTIVITY:case Io.ENDED_DUE_CLIENT_INACTIVITY:t=this.getPropertyValue("InactivityMessage",["Chat session closed due to inactivity."]);break;case Io.ENDED_BY_CLIENT:case Io.ENDED_BY_AGENT:t=this.getPropertyValue("ChatEndMessage",[this.config.endingMessage,Nl.t("Inputs.EndingMessage").toString()]);break;case Io.MISSED:t=this.getPropertyValue("ChatNoAnswerMessage",[this.config.endingMessage,Nl.t("Inputs.EndingMessage").toString()])}this.eventBus.onClosed.next(new Ap({notifyServer:!1,closedByClient:!1,chatUniqueCode:this.chatConversationId,closeMessage:t}))}else e.sessionUniqueCode!==this.chatConversationId&&(this.chatConversationId=e.sessionUniqueCode)}))}setMessagesAsReceived(e){const t=e.filter((e=>e.isNew)).map((e=>e.id));t.length>0&&this.myChatService.get(new au(new nu(t))).subscribe()}onInputFocusChange(e){this.isInputFocused=e}onResendMessage(e){this.sendMessage(this.myChatService.chatMessages[e].message,e)}sendMessage(e="",t=-1){var n;if((n=e)&&!(n.replace(/\s/g,"").length<1))if(e.length<=2e4){this.eventBus.onChatInitiated.next(!0);const n=this.myChatService.lastMessage(),i=n.isLocal;let s;if(t<0){s=lp.createVisitorViewMessage(e,this.clientName,this.config.userIcon,!i||n.senderName!==this.clientName,!0,this.emojiconUrl);t=this.addChatMessage(s)-1}this.myChatService.chatMessages[t].index=t;const r=this.chatFlowControlService.getCurrentFlow();if(this.chatOnline&&this.chatFlowControlService.chatFlowState===To.Chat)this.sendOnlineMessage(e,t);else{if(void 0!==r){void 0===r.current()&&r instanceof vp&&void 0!==s&&this.pendingMessagesToSend.push(s)}this.chatFlowControlService.think(e,t)}}else this.eventBus.onError.next("Chat message too large"),Df("Chat message too large")}sendOnlineMessage(e,t){const n=new jf(e);n.idConversation=this.chatConversationId,this.myChatService.get(new au(n)).subscribe((()=>{this.eventBus.onTriggerFocusInput.next(),this.myChatService.chatMessages[t].sent=!0,this.automatedFirstResponseHandle(this.myChatService.chatMessages[t])}),(e=>{this.eventBus.onError.next(e),this.myChatService.chatMessages[t].errorType=this.mapErrorStateToMessageError(e.state),this.scrollChatToBottom()}))}mapErrorStateToMessageError(e){return 40===e?xo.NoRetry:xo.CanRetry}fileSelection(e){if(null!=e){const t=new Uf;t.idConversation=this.chatConversationId,t.file=e[0],t.fileSize=e[0].size,t.fileState=Oo.Uploading,t.fileName=e[0].name;const n=lp.createVisitorFileMessage(t,this.clientName,this.config.userIcon,!0),i=this.addChatMessage(n)-1,s=new au(t);if(s.containsFile=!0,function(e){const t=e.lastIndexOf("."),n=e.substring(t+1);return Yh.indexOf(n.toLowerCase())>=0}(e[0].name)){const e=this.myChatService.get(s);wf(e)&&e.pipe(Ic((e=>(this.myChatService.chatMessages[i].errorType=xo.FileError,t.fileState=Oo.Error,this.myChatService.chatMessages[i].file=t,this.scrollChatToBottom(),Fo(e))))).subscribe((e=>{t.fileLink=e.Data.FileLink,t.fileState=Oo.Available,this.myChatService.chatMessages[i].file=t,this.myChatService.chatMessages[i].sent=!0}))}else this.myChatService.chatMessages[i].errorType=xo.UnsupportedFile,t.fileState=Oo.Error,this.myChatService.chatMessages[i].file=t,this.scrollChatToBottom()}}scrollChatToBottom(){setTimeout((()=>{const e=this.$refs.chatHistory;e&&(e.scrollTop=e.scrollHeight)}))}addChatMessage(e){const t=this.myChatService.chatMessages.push(e);return!e.isNew||e.isLocal||e.preventSound||this.eventBus.onSoundNotification.next(),!e.isNew||e.isLocal||e.preventBubbleIndication&&e.preventTabNotification||this.isInputFocused||this.eventBus.onUnattendedMessage.next(e),this.scrollChatToBottom(),t}automatedFirstResponseHandle(e){if(this.firstResponsePending&&e.isLocal){let e=this.getPropertyValue("FirstResponse",[this.config.firstResponseMessage]);if(e){e=this.myChatService.injectAuthenticationName(e);if(this.myChatService.chatMessages.filter((e=>!e.isAutomated&&!e.isLocal)).length<=0){this.firstResponsePending=!1;const t=lp.createAutomatedViewMessage(e,ko.Normal,this.emojiconUrl);this.addChatMessage(t)}else this.firstResponsePending=!1}}}endWithMessage(e){e=this.myChatService.injectAuthenticationName(e);const t=lp.createAutomatedViewMessage(e,ko.Completed,this.emojiconUrl);t.preventBubbleIndication=!0,this.addChatMessage(t)}getUserTag(e){return this.myChatService.auth&&e&&void 0!==this.myChatService.auth.email&&this.myChatService.auth.email.length>0?Af()(this.myChatService.auth.email):e?"default":this.currentOperator.emailTag}getUserIcon(e){if(e)return"DefaultUser";let t="DefaultAgent";return this.currentChannel instanceof cu&&(t="PbxDefaultAgent"),""===this.currentOperator.image||"AgentGravatar"===this.currentOperator.image?t:this.currentOperator.image}};Up([wr()],zp.prototype,"config",void 0),Up([wr()],zp.prototype,"operator",void 0),Up([wr({default:!1})],zp.prototype,"chatEnabled",void 0),Up([wr({default:!0})],zp.prototype,"chatOnline",void 0),Up([wr({default:()=>[]})],zp.prototype,"departments",void 0),Up([wr({default:()=>[]})],zp.prototype,"customFields",void 0),Up([pr()],zp.prototype,"myChatService",void 0),Up([pr()],zp.prototype,"myWebRTCService",void 0),Up([pr()],zp.prototype,"currentChannel",void 0),Up([pr()],zp.prototype,"eventBus",void 0),Up([pr()],zp.prototype,"loadingService",void 0),Up([pr()],zp.prototype,"gaService",void 0),Up([vr()],zp.prototype,"chatFlowControlService",void 0),zp=Up([dr({components:{TypingIndicator:Rp,ChatFooter:Mp,VideoOutput:Op,ChatMsg:dp,ChatOptions:Cp,Notifier:jp}})],zp);const qp=td(zp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.$style.root]},[n("notifier",{attrs:{config:e.config}}),e._v(" "),e.isVideoActive?n("video-output",{ref:"videoOutput",attrs:{id:"wplc_videoOutput","is-popout-window":e.isPopoutWindow}}):e._e(),e._v(" "),e.chatEnabled?n("div",{ref:"chatHistory",class:[e.$style["chat-container"]]},[e._l(e.myChatService.chatMessages,(function(t,i){return[t.viewType===e.ChatViewMessageType.Text||t.viewType===e.ChatViewMessageType.File?n("chat-msg",{key:t.index,attrs:{"user-tag":e.getUserTag(t.isLocal),"user-icon":e.getUserIcon(t.isLocal),config:e.config,message:t},on:{resend:function(t){return e.onResendMessage(i)}}}):e._e(),e._v(" "),t.viewType===e.ChatViewMessageType.Options?n("chat-options",{key:t.index,attrs:{options:t.question.options,"show-borders":t.question.showOptionsBorders,"show-selected-label":t.question.showSelectedLabel,"show-hovered-label":t.question.showHoveredLabel,"emojicon-url":e.emojiconUrl},on:{selected:function(n){return e.onOptionSelected(n,t.question)}}}):e._e()]})),e._v(" "),n("typing-indicator",{attrs:{"chat-online":e.chatOnline,"operator-name":e.currentOperator.name}})],2):n("div",{ref:"chatDisabledMessage",class:e.$style["chat-disabled-container"]},[n("div",[e._v("\n "+e._s(e.$t("Inputs.ChatIsDisabled"))+"\n ")])]),e._v(" "),n("chat-footer",{ref:"chatFooter",attrs:{config:e.config,"chat-online":e.chatOnline,"is-chat-active":e.isChatActive(),"chat-enabled":e.chatEnabled,"enable-typing":e.enableTyping()},on:{"input-focus-change":function(t){return e.onInputFocusChange(arguments[0])},"send-message":function(t){return e.sendMessage(arguments[0])}}})],1)}),[],!1,(function(e){var t=n(2114);t.__inject__&&t.__inject__(e),this.$style=t.locals||t;var i=n(2235);i.__inject__&&i.__inject__(e)}),null,null,!0).exports;var Vp;!function(e){e[e.try=1]="try",e[e.ok=2]="ok",e[e.restart=3]="restart"}(Vp||(Vp={}));var Gp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Wp=class extends(rr(sf)){mounted(){this.$nextTick((()=>{this.$refs.submitButton.focus()})),void 0!==this.$refs.submitButton&&this.$refs.submitButton instanceof HTMLElement&&(this.$refs.submitButton.style.color="#FFFFFF")}submit(){this.$emit("submit")}};Gp([wr()],Wp.prototype,"message",void 0),Gp([wr()],Wp.prototype,"button",void 0),Wp=Gp([dr({})],Wp);const $p=td(Wp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.root},[n("div",{class:e.$style.content},[n("div",{class:e.$style["content-message"]},[e._v("\n "+e._s(e.message)+"\n ")]),e._v(" "),n("button",{ref:"submitButton",class:e.$style.submit,attrs:{type:"submit"},on:{click:e.submit}},[e._v("\n "+e._s(1===e.button?e.$t("MessageBox.TryAgain"):e.$t("MessageBox.Ok"))+"\n ")])]),e._v(" "),n("div",{class:e.$style.background,on:{click:e.submit}})])}),[],!1,(function(e){var t=n(7306);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Hp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Qp=class extends(rr(sf)){constructor(){if(super(),this.notificationMessage="",this.notificationButtonType=Vp.try,this.allowCall=!1,this.allowVideo=!1,this.selfClosed=!1,this.cid=-1,this.chatComponentKey=!0,this.myChatService=new Rc(this.config.channelUrl,this.config.wpUrl,this.config.filesUrl,this.config.party,this.currentChannel),this.myWebRTCService=new ed,this.myWebRTCService.setWebRtcCodecs(this.config.webRtcCodecs),this.chatOnline&&(this.currentChannel.isAuthorized()||this.enableAuthForm)){let e=this.currentChannel.getAuth();"Guest"===e.name&&""!==this.config.visitorName&&(e={email:e.email,name:this.config.visitorName}),this.myChatService.setAuthentication(e),this.loadingService.show(),this.myChatService.reconnect(),this.myWebRTCService.setChatService(this.myChatService)}}get currentState(){return this.chatOnline?So.Chat:So.Offline}onClose(){void 0!==this.myWebRTCService&&this.myWebRTCService.hasCall?this.myWebRTCService.dropCall().pipe(Ec(1)).subscribe((()=>{this.closeByClient()}),(e=>{this.closeByClient(),this.eventBus.onError.next(e)})):this.closeByClient()}closeByClient(){this.selfClosed=!0,this.eventBus.onClosed.next(new Ap({notifyServer:!0,closedByClient:!0,chatUniqueCode:this.cid}))}onErrorFormSubmit(){if(this.notificationMessage="",this.notificationButtonType===Vp.restart){this.endMessage=this.getPropertyValue("ChatEndMessage",[this.config.endingMessage,Nl.t("Inputs.EndingMessage").toString()]);const e=this.myChatService.auth&&void 0!==this.myChatService.auth.name?this.myChatService.auth.name:"";this.endMessage=this.endMessage.replace("%NAME%",e),this.eventBus.onClosed.next(new Ap({notifyServer:!1,closedByClient:!1,chatUniqueCode:this.cid}))}}remountChatComponent(){this.chatComponentKey=!this.chatComponentKey}beforeMount(){this.eventBus.onLoaded.subscribe((e=>{this.remountChatComponent(),e&&(this.myChatService.reconnect(),this.setupChatServiceSubscriptions())})),this.setupChatServiceSubscriptions(),this.$subscribeTo(this.eventBus.onClosed,(e=>{this.currentChannel.dropSession(this.config.wpUrl,this.config.channelUrl,e.notifyServer).subscribe((()=>{this.loadingService.hide(),this.eventBus.onAttendChat.next(),this.myChatService.closeSession(),this.gaService.dispatchEvent("chat_complete","ChatCompleted")}),(e=>{this.loadingService.hide(),this.eventBus.onError.next(e)}))})),this.$subscribeTo(this.eventBus.onError,(e=>{this.notificationMessage=Bl(e),this.notificationButtonType=Vp.ok,Df(this.notificationMessage),this.loadingService.hide()})),this.myChatService.notificationsOfType$(lu).subscribe((e=>{e.sessionUniqueCode!==this.cid&&(this.cid=e.sessionUniqueCode)}))}setupChatServiceSubscriptions(){this.myChatService.notificationsFilter$("ReConnect").subscribe((()=>{this.loadingService.show(),this.myChatService.reconnect()}));const e=this.myChatService.mySession$.pipe(If((e=>{var t;e.sessionState===Co.Error&&(this.notificationMessage=null!==(t=e.error)&&void 0!==t?t:"",this.notificationButtonType=Vp.restart,Df(this.notificationMessage),this.loadingService.hide())})));this.config.isQueue&&!this.config.ignoreQueueownership?(this.allowCall=!1,this.allowVideo=!1,this.$subscribeTo(e.pipe(tc((e=>(this.config.isQueue&&(this.allowCall=!1,this.allowVideo=!1),e.messages$))),kl(ca)),(()=>{this.allowCall=this.config.allowCall,this.allowVideo=this.config.allowVideo,this.eventBus.onCallChannelEnable.next({allowCall:this.allowCall,allowVideo:this.allowVideo})}))):(this.$subscribeTo(e,(e=>{})),this.allowCall=this.config.allowCall,this.allowVideo=this.config.allowVideo)}};Hp([wr()],Qp.prototype,"chatEnabled",void 0),Hp([wr()],Qp.prototype,"chatOnline",void 0),Hp([wr()],Qp.prototype,"startMinimized",void 0),Hp([pr()],Qp.prototype,"fullscreenService",void 0),Hp([wr({default:()=>[]})],Qp.prototype,"departments",void 0),Hp([wr({default:()=>[]})],Qp.prototype,"customFields",void 0),Hp([wr()],Qp.prototype,"config",void 0),Hp([wr()],Qp.prototype,"operator",void 0),Hp([wr()],Qp.prototype,"enableAuthForm",void 0),Hp([vr()],Qp.prototype,"myChatService",void 0),Hp([vr()],Qp.prototype,"myWebRTCService",void 0),Hp([pr()],Qp.prototype,"eventBus",void 0),Hp([pr()],Qp.prototype,"currentChannel",void 0),Hp([pr()],Qp.prototype,"loadingService",void 0),Hp([pr()],Qp.prototype,"gaService",void 0),Qp=Hp([dr({components:{CallUsHeader:Rh,CallUsChat:qp,Panel:Sh,OverlayMessage:$p}})],Qp);const Yp=td(Qp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("panel",{ref:"panelComponent",attrs:{auth:e.myChatService.auth,"allow-minimize":e.config.allowMinimize,"start-minimized":e.startMinimized,config:e.config,operator:e.operator,"panel-state":e.currentState,"allow-fullscreen":!0},on:{close:function(t){return e.onClose()}}},[e.notificationMessage?n("overlay-message",{ref:"overlayMessageComponent",attrs:{slot:"overlay",message:e.notificationMessage,button:e.notificationButtonType},on:{submit:function(t){return e.onErrorFormSubmit()}},slot:"overlay"}):e._e(),e._v(" "),n("call-us-header",{attrs:{slot:"panel-top","current-state":e.currentState,config:e.config,"allow-video":e.allowVideo,"allow-call":e.allowCall,operator:e.operator,"is-full-screen":e.fullscreenService.isFullScreen,"chat-online":e.chatOnline},on:{close:function(t){return e.onClose()}},slot:"panel-top"}),e._v(" "),e.currentState===e.ViewState.Chat||e.currentState===e.ViewState.Offline?n("call-us-chat",{key:e.chatComponentKey,ref:"chatComponent",class:e.$style.chat,attrs:{slot:"panel-content",departments:e.departments,"custom-fields":e.customFields,"chat-online":e.chatOnline,"chat-enabled":e.chatEnabled,config:e.config,operator:e.operator},slot:"panel-content"}):e._e()],1)}),[],!1,(function(e){var t=n(8792);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;class Xp{constructor(e){this.enableFullScreen=!1,this.isFullScreen=!1,Object.assign(this,e)}goFullScreen(){if(!this.enableFullScreen||this.isFullScreen)return;this.isFullScreen=!0;const e=window.document.getElementsByTagName("body");e.length>0&&e[0].style.setProperty("overflow","hidden !important");const t=.01*window.innerHeight,n=.01*document.documentElement.clientWidth;window.document.documentElement.style.setProperty("--vh",t+"px"),window.document.documentElement.style.setProperty("--vw",n+"px"),window.addEventListener("resize",(()=>{const e=.01*window.innerHeight,t=.01*document.documentElement.clientWidth;window.document.documentElement.style.setProperty("--vh",e+"px"),window.document.documentElement.style.setProperty("--vw",t+"px")})),this.callUsElement&&(this.componentTop=this.callUsElement.style.getPropertyValue("top"),this.componentBottom=this.callUsElement.style.getPropertyValue("bottom"),this.componentLeft=this.callUsElement.style.getPropertyValue("left"),this.componentRight=this.callUsElement.style.getPropertyValue("right"),this.callUsElement.style.removeProperty("right"),this.callUsElement.style.removeProperty("bottom"),this.callUsElement.style.setProperty("top","0px"),this.callUsElement.style.setProperty("left","0px"))}closeFullScreen(){var e,t,n,i;if(!this.enableFullScreen||!this.isFullScreen)return;this.isFullScreen=!1;const s=window.document.getElementsByTagName("body");s.length>0&&s[0].style.setProperty("overflow","auto !important"),this.callUsElement&&(this.callUsElement.style.setProperty("top",null!==(e=this.componentTop)&&void 0!==e?e:""),this.callUsElement.style.setProperty("bottom",null!==(t=this.componentBottom)&&void 0!==t?t:""),this.callUsElement.style.setProperty("left",null!==(n=this.componentLeft)&&void 0!==n?n:""),this.callUsElement.style.setProperty("right",null!==(i=this.componentRight)&&void 0!==i?i:""))}getSavedPosition(){return{componentTop:this.componentTop,componentBottom:this.componentBottom,componentLeft:this.componentLeft,componentRight:this.componentRight}}}var Kp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Zp=class extends(rr(sf)){constructor(){super(),this.isWebRtcAllowed=Ul,this.myChatService=new Rc(this.config.channelUrl,this.config.wpUrl,this.config.filesUrl,this.config.party,this.currentChannel),this.myWebRTCService=new ed,this.myWebRTCService.setChatService(this.myChatService),this.myWebRTCService.setWebRtcCodecs(this.config.webRtcCodecs),this.myChatService.setAuthentication({})}get callStateTitle(){return this.myWebRTCService.hasCall?this.myWebRTCService.hasCall&&this.myWebRTCService.hasEstablishedCall?Nl.t("Inputs.Connected").toString():Nl.t("Inputs.Dialing").toString():""}beforeMount(){this.myWebRTCService&&(this.myWebRTCService.initCallChannel(!0,!1),this.myWebRTCService.phoneService.myCalls$.pipe($r((e=>e.length>0?e[0].media:wu)),tc((e=>Wl(e!==wu))),ch()).subscribe((e=>{e||this.currentChannel.dropSession(this.config.wpUrl,this.config.channelUrl,!0).subscribe((()=>{this.myChatService.closeSession()}),(e=>{this.eventBus.onError.next(e)}))})))}startChat(){this.myWebRTCService.hasCall||this.$emit("chat")}makeCall(){this.eventBus.onChatInitiated.next(!0),Ul&&this.myWebRTCService.call(!1).pipe(Ec(1)).subscribe((()=>{}),(e=>this.eventBus.onError.next(e)))}dropCall(){this.myWebRTCService.dropCall().pipe(Ec(1)).subscribe((()=>{}),(e=>this.eventBus.onError.next(e)))}};Kp([pr()],Zp.prototype,"fullscreenService",void 0),Kp([pr()],Zp.prototype,"eventBus",void 0),Kp([pr()],Zp.prototype,"loadingService",void 0),Kp([pr()],Zp.prototype,"currentChannel",void 0),Kp([vr()],Zp.prototype,"myChatService",void 0),Kp([vr()],Zp.prototype,"myWebRTCService",void 0),Kp([wr()],Zp.prototype,"config",void 0),Kp([wr({default:()=>kc})],Zp.prototype,"operator",void 0),Kp([wr()],Zp.prototype,"startMinimized",void 0),Zp=Kp([dr({components:{Panel:Sh,CallUsHeader:Rh,WplcIcon:Pd(),GlyphiconCall:od()}})],Zp);const Jp=td(Zp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("panel",{attrs:{config:e.config,"start-minimized":e.startMinimized,"allow-minimize":e.config.allowMinimize,"panel-state":e.ViewState.Intro,"full-screen-service":e.fullscreenService,operator:e.operator}},[n("call-us-header",{attrs:{slot:"panel-top","current-state":e.ViewState.Intro,config:e.config,"is-full-screen":!1},slot:"panel-top"}),e._v(" "),n("div",{class:e.$style.root,attrs:{slot:"panel-content"},slot:"panel-content"},[e.myWebRTCService.audioNotificationUrl?n("audio",{attrs:{src:e.myWebRTCService.audioNotificationUrl,autoplay:"",loop:""}}):e._e(),e._v(" "),e.myWebRTCService.remoteStream?n("audio",{directives:[{name:"srcObject",rawName:"v-srcObject",value:e.myWebRTCService.remoteStream,expression:"myWebRTCService.remoteStream"}],attrs:{autoplay:""}}):e._e(),e._v(" "),n("div",{ref:"startChatOption",class:[e.$style.action_option,e.myWebRTCService.hasCall?e.$style.disabled:""],on:{click:e.startChat}},[n("WplcIcon",{class:e.$style["option-icon"]}),e._v(" "+e._s(e.$t("Inputs.ChatWithUs"))+"\n ")],1),e._v(" "),e.myWebRTCService.hasCall?n("div",{ref:"dropCallOption",class:e.$style.action_option,on:{click:e.dropCall}},[n("glyphicon-call",{class:[e.$style["option-icon"],e.$style["end-call-icon"]]}),e._v("\n "+e._s(e.callStateTitle)+"\n ")],1):n("div",{ref:"makeCallOption",class:[e.$style.action_option,e.isWebRtcAllowed?"":e.$style.disabled],on:{click:e.makeCall}},[n("glyphicon-call",{class:e.$style["option-icon"]}),e._v(" "+e._s(e.$t("Inputs.CallTitle"))+"\n ")],1)])],1)}),[],!1,(function(e){var t=n(3301);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;class em{constructor(e){this.enableGA=!1,this.mode="gtag",this.enableGA=e}isActive(){let e=!1;return this.enableGA&&("function"==typeof window.gtag&&(e=!0),"function"==typeof window.ga&&(this.mode="ga",e=!0)),e}dispatchEvent(e,t,n="3CX Live Chat"){this.isActive()&&("gtag"===this.mode?window.gtag("event",e,{event_label:t,event_category:n}):"ga"===this.mode&&window.ga("send",{hitType:"event",eventAction:e,eventLabel:t,eventCategory:n}))}chatInitiatedEvent(e){const t=localStorage.getItem("wplc-ga-initiated");(!t||void 0===e||t&&e&&parseInt(t,10)!==e.getSessionUniqueCode())&&(this.dispatchEvent("chat_init","ChatInitiated"),void 0!==e&&localStorage.setItem("wplc-ga-initiated",e.getSessionUniqueCode().toString(10)))}chatInteractionEvent(){sessionStorage.getItem("wplc-ga-interacted")||(this.dispatchEvent("chat_interaction","InteractionWithChat"),sessionStorage.setItem("wplc-ga-interacted","1"))}}var tm=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let nm=class extends vf{constructor(){super(),this.viewState=So.None,this.auth={},this.departments=[],this.customFields=[],this.authenticationType=uf.None,this.authWindowMinimized=!1,this.mainWindowMinimized=!1,this.chatEnabled=!1,this.chatOnline=!0,this.popoutMode=!1,this.isQueue=!1,this.webRtcCodecs=[],this.isDesktop=!1,this.isHidden=!1,this.operator=new Nc,this.delayEllapsed=!1,this.keyEventsHandled=!1,this.enableAuthForm=!0,this.fullscreenService=new Xp,this.gaService=new em("true"===this.enableGa),this.gaService.isActive(),yu(this)}get chatWindow(){return window}get chatForm(){let e="NONE";return(this.enableAuthForm||"phone"!==this.channel)&&this.viewState!==So.PopoutButton||this.isPopout?this.viewState===So.Chat||this.viewState===So.Offline||!this.enableAuthForm&&this.viewState===So.Authenticate?e="CHAT":this.enableAuthForm&&this.viewState===So.Authenticate&&(e="AUTH"):e="POPOUT",this.viewState===So.Intro?e="INTRO":this.viewState===So.Disabled&&(e="DISABLED"),e}beforeMount(){if(this.preloadOperations$.subscribe((e=>{if(e){const e=localStorage.getItem("chatInfoGuid");null!==e&&this.assetsGuid!==e&&localStorage.removeItem("chatInfo"),localStorage.setItem("chatInfoGuid",this.assetsGuid)}})),this.delayChat(),"phone"===this.channel&&window.addEventListener("beforeunload",(()=>{this.currentChannel.isAuthorized()&&this.currentChannel.dropSession(this.config.wpUrl,this.config.channelUrl,!1),this.eventBus.onRestart.next()})),this.loadingService.show(),this.isDesktop=$c.isDesktop(),this.fullscreenService.enableFullScreen=!this.isDesktop||this.isPopout,this.popoutMode="phone"===this.channel&&!this.isPopout&&!0===this.config.allowMinimize,this.isHidden=!this.isDesktop&&"false"===this.enableOnmobile&&"false"===this.forceToOpen||"false"===this.enable,this.isHidden)return;"name"===this.authentication?this.authenticationType=uf.Name:"email"===this.authentication?this.authenticationType=uf.Email:"both"===this.authentication&&(this.authenticationType=uf.Both);const e="false"===this.minimized?"none":"true"===this.minimized?"both":this.minimized;if("true"===this.forceToOpen?this.authWindowMinimized=!1:this.authWindowMinimized="both"===e||this.isDesktop&&"desktop"===e||!this.isDesktop&&"mobile"===e,this.eventBus.onRestart.subscribe((()=>{this.authWindowMinimized=!1,this.loadingService.show(),yu(this),this.loadChannelInfo(!1)})),this.$subscribeTo(this.eventBus.onRestored,(()=>{"phone"===this.channel&&this.viewState===So.Authenticate&&this.config.enableDirectCall&&(this.viewState=So.Intro)})),this.loadChannelInfo(!1),this.authenticationString)try{this.auth=JSON.parse(this.authenticationString),this.currentChannel.setAuthentication(this.auth)}catch(e){}}mounted(){$c.isDesktop()||setTimeout((()=>{$c.setCssProperty(this,"--call-us-font-size","17px")}))}updated(){this.stopKeyEventPropagation(),this.fullscreenService.callUsElement||(this.fullscreenService.callUsElement=this.$el.getRootNode().host)}stopKeyEventPropagation(){if(!this.keyEventsHandled){const e=this.$el.getRootNode();e&&(e.addEventListener("keydown",(e=>{this.keyEventHandler(e)})),e.addEventListener("keyup",(e=>{this.keyEventHandler(e)})),e.addEventListener("keypress",(e=>{this.keyEventHandler(e)})),this.keyEventsHandled=!0)}}keyEventHandler(e){return e.stopPropagation(),!0}getMinimizedState(e){let t=!0;return"true"===this.forceToOpen?t=!1:this.authWindowMinimized||("true"===this.popupWhenOnline?e&&(t=!1):t=!1),t}loadChannelInfo(e){const t=Wf();t&&(e=!0,this.auth={name:t.name,email:t.email}),this.$subscribeTo(this.info$,(t=>{var n;if(this.loadingService.hide(),this.isQueue=t.isQueue,this.webRtcCodecs=t.webRtcCodecs,this.chatEnabled=void 0===t.isChatEnabled||t.isChatEnabled,this.departments=null!==(n=t.departments)&&void 0!==n?n:[],this.customFields=t.customFields,void 0!==t.dictionary?ef.init(t.dictionary):ef.init({}),this.authWindowMinimized=this.getMinimizedState(t.isAvailable),this.mainWindowMinimized=this.authWindowMinimized,this.config.showOperatorActualName?(this.operator=t.operator,""===this.operator.name&&(this.operator.name=this.config.operatorName),""===this.operator.image&&(this.operator.image=this.config.operatorIcon)):this.operator=new Nc({name:this.config.operatorName,image:this.config.operatorIcon}),t.isChatEnabled)if(t.isAvailable)if(this.currentChannel.isAuthorized()&&this.popoutMode)this.viewState=So.PopoutButton,this.chatOnline=!0;else if(this.currentChannel.isAuthorized()){this.viewState=So.Chat,this.chatOnline=!0;const e=sessionStorage.getItem("callus.collapsed");this.mainWindowMinimized=!!e&&"1"===e}else"phone"===this.channel&&!this.isPopout&&this.config.enableDirectCall?(this.viewState=So.Intro,this.chatOnline=!0):(this.viewState=So.Authenticate,this.chatOnline=!0);else this.viewState=So.Offline,this.chatOnline=!1,this.isHidden="false"===this.offlineEnabled;else this.viewState=So.Authenticate,this.chatOnline=!1;!this.mainWindowMinimized&&this.fullscreenService.enableFullScreen&&this.fullscreenService.goFullScreen(),this.eventBus.onLoaded.next(e)}),(e=>{console.error(e),this.viewState=So.Disabled}))}popoutChat(){var e,t;const n={},i=ef.getTextHelper();n.inviteMessage=$c.escapeHtml(i.getPropertyValue("ChatWelcomeMessage",[this.config.inviteMessage,Nl.t("Inputs.InviteMessage").toString()])),n.endingMessage=$c.escapeHtml(i.getPropertyValue("ChatEndMessage",[this.config.endingMessage,Nl.t("Inputs.EndingMessage").toString()])),n.unavailableMessage=$c.escapeHtml(zc(this.unavailableMessage,250)),(i.getPropertyValue("FirstResponse",[])||this.firstResponseMessage)&&(n.firstResponseMessage=$c.escapeHtml(i.getPropertyValue("FirstResponse",[this.config.firstResponseMessage]))),"true"!==this.allowCall&&(n.allowCall=this.allowCall),"true"!==this.allowVideo&&(n.allowVideo=this.allowVideo),"true"===this.enableMute&&(n.enableMute=this.enableMute),"true"===this.gdprEnabled&&(n.gdprEnabled=this.gdprEnabled),this.gdprMessage&&(n.gdprMessage=this.gdprMessage),"true"===this.showOperatorActualName&&(n.showOperatorActualName=this.showOperatorActualName),"true"===this.ratingEnabled&&(n.ratingEnabled=this.ratingEnabled),"false"===this.enablePoweredby&&(n.enablePoweredby=this.enablePoweredby),"true"===this.ignoreQueueownership&&(n.ignoreQueueownership=this.ignoreQueueownership),"false"===this.allowSoundnotifications&&(n.allowSoundnotifications=this.allowSoundnotifications),this.userIcon&&(n.userIcon=this.userIcon),n.forceToOpen="true",n.soundnotificationUrl=Uc(this.soundnotificationUrl,"")||void 0,n.emailIntegrationUrl=qc(this.emailIntegrationUrl,"")||void 0,n.twitterIntegrationUrl=Gc(this.twitterIntegrationUrl,"")||void 0,n.facebookIntegrationUrl=Vc(this.facebookIntegrationUrl,"")||void 0,n.isPopout=!0,n.allowMinimize="false",n.minimized="false",n.party=this.party,n.operatorIcon=Uc(this.operatorIcon,"")||void 0,n.windowIcon=Uc(this.windowIcon,"")||void 0,n.operatorName=zc(this.operatorName),n.windowTitle=zc(null!==(e=this.windowTitle)&&void 0!==e?e:Nl.t("Inputs.WindowTitle")),n.visitorName=zc(this.visitorName)||void 0,n.visitorEmail=qc(this.visitorEmail,"")||void 0,n.authenticationMessage=$c.escapeHtml(zc(this.authenticationMessage,250)),n.authentication=this.authentication,n.messageDateformat=this.messageDateformat,n.messageUserinfoFormat=this.messageUserinfoFormat,n.callTitle=zc(null!==(t=this.callTitle)&&void 0!==t?t:Nl.t("Inputs.CallTitle")),n.popout="false",n.startChatButtonText=zc(this.startChatButtonText),n.authenticationString=this.enableAuthForm?JSON.stringify(this.auth):"",n.offlineEmailMessage=$c.escapeHtml(zc(this.offlineEmailMessage)),n.offlineNameMessage=$c.escapeHtml(zc(this.offlineNameMessage)),n.offlineFormInvalidEmail=$c.escapeHtml(zc(this.offlineFormInvalidEmail)),n.offlineFormMaximumCharactersReached=$c.escapeHtml(zc(this.offlineFormMaximumCharactersReached)),n.offlineFormInvalidName=$c.escapeHtml(zc(this.offlineFormInvalidName)),n.lang=this.lang;const s=getComputedStyle(this.$el);let r;n.cssVariables=JSON.stringify(["--call-us-form-header-background","--call-us-header-text-color","--call-us-main-button-background","--call-us-client-text-color","--call-us-agent-text-color","--call-us-font-size"].reduce(((e,t)=>{const n=s.getPropertyValue(t);return n&&(e[t]=n),e}),{})),r=`${Dl(this.config.channelUrl).toString()}livechat#${encodeURIComponent(JSON.stringify(n))}`;const o=$c.popupCenter(r,600,500);o&&o.focus(),this.gaService.chatInitiatedEvent(void 0),this.eventBus.onChatInitiated.next(!0)}authenticateFormSubmit(e){this.auth=e,this.currentChannel.setAuthentication(e),this.eventBus.onChatInitiated.next(!0),this.popoutMode&&"phone"===this.channel?(this.popoutChat(),this.viewState=So.PopoutButton):(this.fullscreenService.goFullScreen(),this.viewState=So.Chat,this.mainWindowMinimized=!1)}onStartChat(){this.authenticationType!==uf.None||this.config.departmentsEnabled||this.config.gdprEnabled||this.customFields&&this.customFields.length>0?this.enableAuthForm?this.viewState=So.Authenticate:this.popoutMode&&!this.currentChannel.isAuthorized()?this.popoutChat():this.viewState=So.Chat:this.popoutMode?this.popoutChat():this.viewState=So.Chat,this.authWindowMinimized=!1,this.mainWindowMinimized=!1}delayChat(){setTimeout((()=>{this.delayEllapsed=!0}),this.chatDelay)}get config(){var e,t,n,i,s,r,o,a,l,c,f,u,d;const h=Ul&&"true"===this.allowCall,p="true"===this.allowVideo;let m,g;this.phonesystemUrl?(m=this.phonesystemUrl,g=this.phonesystemUrl):(m=this.channelUrl,g=this.filesUrl);const b="bubbleleft"===this.minimizedStyle.toLowerCase()?df.BubbleLeft:df.BubbleRight;let v,y,A;switch(this.animationStyle.toLowerCase()){case"slideleft":v=hf.SlideLeft;break;case"slideright":v=hf.SlideRight;break;case"fadein":v=hf.FadeIn;break;case"slideup":v=hf.SlideUp;break;default:v=hf.None}switch(this.greetingVisibility.toLowerCase()){case"desktop":y=mf.Desktop;break;case"mobile":y=mf.Mobile;break;case"both":y=mf.Both;break;default:y=mf.None}switch(this.greetingOfflineVisibility.toLowerCase()){case"desktop":A=mf.Desktop;break;case"mobile":A=mf.Mobile;break;case"both":A=mf.Both;break;default:A=mf.None}const w=zc(this.operatorName);return{isQueue:this.isQueue,webRtcCodecs:this.webRtcCodecs,enablePoweredby:"true"===this.enablePoweredby,animationStyle:v,minimizedStyle:b,isPopout:this.isPopout,windowTitle:zc(null!==(e=this.windowTitle)&&void 0!==e?e:Nl.t("Inputs.WindowTitle")),allowSoundNotifications:"true"===this.allowSoundnotifications,enableMute:"true"===this.enableMute,facebookIntegrationUrl:Vc(this.facebookIntegrationUrl,""),twitterIntegrationUrl:Gc(this.twitterIntegrationUrl,""),emailIntegrationUrl:qc(this.emailIntegrationUrl,""),operatorName:""===w?Nl.t("Inputs.OperatorName").toString():w,operatorIcon:Uc(this.operatorIcon,""),userIcon:Uc(this.operatorIcon,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAAAAADmVT4XAAAHf0lEQVR42u2cu47rMA6G5/3fSQABkj/AxpUrdypduEjlRtK/hZ255eY4zjm72ENMMUDG1hfeRJHCfETgKfFVZBVbBb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u7ANo3J7gJgJGs7/GBSo54CNC9yQdXL+xuAhjcEJBuZrnXh2jt+8XmG5/XK3c/W2Ph3InB1GFq5m6mPwA8oH1hZWufC/2W7Q2KX881srH0ioADcAAAvjKhuZsDOlSWLYnoWaD1Gvyg6+LuAPA7FcMtF5Z7DZFHC9dar37camVjzWpuZmYXJljVgFyWBtNeE5z/5vK5xsaal0GWrWekb04Id7gaxrdEwKeMPzwAwBeAOVwtJrLVcjsM2gMh2Wq5PNKUVmptdQpTc9VLE8AcphanWuZ7UtafekNKKeX2s2VySSIpnf97gPwHyADaGwjjz7sAAAAASUVORK5CYII="),allowCall:h,allowVideo:p,allowMinimize:!this.isPopout&&"true"===this.allowMinimize,inviteMessage:zc(null!==(t=this.inviteMessage)&&void 0!==t?t:Nl.t("Inputs.InviteMessage"),250),endingMessage:zc(null!==(n=this.endingMessage)&&void 0!==n?n:Nl.t("Inputs.EndingMessage"),250),unavailableMessage:zc(null!==(i=this.unavailableMessage)&&void 0!==i?i:Nl.t("Inputs.UnavailableMessage"),250),firstResponseMessage:zc(this.firstResponseMessage,250),party:this.party,channelUrl:m,wpUrl:this.wpUrl,filesUrl:g,windowIcon:Uc(this.windowIcon,""),buttonIcon:Uc(this.buttonIcon,""),buttonIconType:""===this.buttonIconType?"Default":this.buttonIconType,enableOnmobile:"false"===this.enableOnmobile,enable:"true"===this.enable,ignoreQueueownership:"true"===this.ignoreQueueownership,showOperatorActualName:"true"===this.showOperatorActualName,authenticationType:this.authenticationType,channelType:this.channelType,aknowledgeReceived:"true"===this.aknowledgeReceived,gdprEnabled:"true"===this.gdprEnabled,filesEnabled:"true"===this.filesEnabled,gdprMessage:this.gdprMessage,ratingEnabled:"true"===this.ratingEnabled,departmentsEnabled:"true"===this.departmentsEnabled,chatIcon:this.chatIcon,chatLogo:this.chatLogo,messageDateformat:this.messageDateformat,messageUserinfoFormat:this.messageUserinfoFormat,soundnotificationUrl:this.soundnotificationUrl,visitorEmail:this.visitorEmail,visitorName:this.visitorName,authenticationMessage:zc(this.authenticationMessage,250),startChatButtonText:null!==(s=this.startChatButtonText)&&void 0!==s?s:Nl.t("Auth.Submit"),offlineNameMessage:null!==(r=this.offlineNameMessage)&&void 0!==r?r:Nl.t("Offline.OfflineNameMessage"),offlineEmailMessage:null!==(o=this.offlineEmailMessage)&&void 0!==o?o:Nl.t("Offline.OfflineEmailMessage"),offlineFinishMessage:null!==(a=this.offlineFinishMessage)&&void 0!==a?a:Nl.t("Inputs.OfflineMessageSent"),greetingVisibility:y,greetingMessage:null!==(l=this.greetingMessage)&&void 0!==l?l:Nl.t("Inputs.GreetingMessage"),greetingOfflineVisibility:A,greetingOfflineMessage:null!==(c=this.greetingOfflineMessage)&&void 0!==c?c:Nl.t("Inputs.GreetingMessage"),offlineFormInvalidEmail:null!==(f=this.offlineFormInvalidEmail)&&void 0!==f?f:Nl.t("Offline.OfflineFormInvalidEmail"),offlineFormMaximumCharactersReached:null!==(u=this.offlineFormMaximumCharactersReached)&&void 0!==u?u:Nl.t("Auth.MaxCharactersReached"),offlineFormInvalidName:null!==(d=this.offlineFormInvalidName)&&void 0!==d?d:Nl.t("Offline.OfflineFormInvalidName"),enableDirectCall:"true"===this.enableDirectCall}}};tm([vr()],nm.prototype,"fullscreenService",void 0),tm([vr()],nm.prototype,"gaService",void 0),nm=tm([dr({components:{CallUsMainForm:Yp,CallUsAuthenticateForm:Ph,CallUsIntroForm:Jp,MinimizedBubble:wh}})],nm);const im=td(nm,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.delayEllapsed&&!e.isHidden?n("div",{attrs:{id:"callus-container"}},["INTRO"===e.chatForm?n("call-us-intro-form",{attrs:{"start-minimized":e.authWindowMinimized,config:e.config,operator:e.operator},on:{chat:e.onStartChat}}):"AUTH"===e.chatForm?n("call-us-authenticate-form",{attrs:{"start-minimized":e.authWindowMinimized,config:e.config,"auth-type":e.authenticationType,departments:e.departments,"custom-fields":e.customFields,"chat-enabled":e.chatEnabled,operator:e.operator},on:{submit:e.authenticateFormSubmit}}):"CHAT"===e.chatForm?n("call-us-main-form",{attrs:{"chat-enabled":e.chatEnabled,"chat-online":e.chatOnline,departments:e.departments,"custom-fields":e.customFields,"start-minimized":e.mainWindowMinimized,operator:e.operator,config:e.config,"enable-auth-form":e.enableAuthForm}}):"POPOUT"===e.chatForm||"DISABLED"===e.chatForm?n("minimized-bubble",{attrs:{collapsed:!0,config:e.config,operator:e.operator,"panel-state":e.viewState,disabled:"DISABLED"===e.chatForm},on:{clicked:e.popoutChat}}):e._e()],1):e._e()}),[],!1,(function(e){var t=n(8482);t.__inject__&&t.__inject__(e)}),null,null,!0).exports;Xs.use(_o),window.customElements.define("call-us",h(Xs,im)),window.customElements.define("call-us-phone",h(Xs,eh))},4747:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(7928),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},8915:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(2927),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},2324:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(7297),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},6043:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(5731),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},7367:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(8037),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},7601:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(5443),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},7722:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(8185),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},2003:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(3510),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},9036:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(7612),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},8583:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(229),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},2114:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(6009),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},265:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(7841),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},17:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(101),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},4753:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(6126),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},8391:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(4101),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},3301:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(8464),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},978:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(408),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},8792:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(5499),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},7498:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(9083),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},4806:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(1970),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},9831:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(4162),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},7306:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(3114),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},6711:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(9717),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},1368:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(5186),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},3530:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(4115),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},231:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(278),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},2235:(e,t,n)=>{"use strict";n.r(t);var i=n(3e3),s={};for(const e in i)"default"!==e&&(s[e]=()=>i[e]);n.d(t,s)},8482:(e,t,n)=>{"use strict";n.r(t);var i=n(2813),s={};for(const e in i)"default"!==e&&(s[e]=()=>i[e]);n.d(t,s)},2927:(e,t,n)=>{var i=n(512);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("71123166",i,e)}},7297:(e,t,n)=>{var i=n(9214);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("1c24d821",i,e)}},5731:(e,t,n)=>{var i=n(7261);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("6a101c5d",i,e)}},8037:(e,t,n)=>{var i=n(3730);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("237788f6",i,e)}},5443:(e,t,n)=>{var i=n(8336);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("d06758d8",i,e)}},8185:(e,t,n)=>{var i=n(4957);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("091eb5b2",i,e)}},3510:(e,t,n)=>{var i=n(342);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("5eb7a238",i,e)}},7612:(e,t,n)=>{var i=n(1112);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("43aaf5ec",i,e)}},229:(e,t,n)=>{var i=n(9561);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("826a2f2c",i,e)}},6009:(e,t,n)=>{var i=n(3839);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("bb0ee260",i,e)}},7841:(e,t,n)=>{var i=n(9924);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("0dcab23b",i,e)}},101:(e,t,n)=>{var i=n(9292);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("3edd8b1f",i,e)}},6126:(e,t,n)=>{var i=n(5113);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("71f71523",i,e)}},4101:(e,t,n)=>{var i=n(5056);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("159a8851",i,e)}},8464:(e,t,n)=>{var i=n(4687);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("f796abc6",i,e)}},408:(e,t,n)=>{var i=n(2493);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("759cd6a6",i,e)}},5499:(e,t,n)=>{var i=n(857);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("5c397a6c",i,e)}},9083:(e,t,n)=>{var i=n(2424);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("3c6eae0b",i,e)}},1970:(e,t,n)=>{var i=n(7249);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("3b78551e",i,e)}},4162:(e,t,n)=>{var i=n(1484);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("5562b65e",i,e)}},3114:(e,t,n)=>{var i=n(8830);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("a1325450",i,e)}},9717:(e,t,n)=>{var i=n(7629);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("111dc6c4",i,e)}},5186:(e,t,n)=>{var i=n(8690);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("0bfefef9",i,e)}},4115:(e,t,n)=>{var i=n(1240);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("5ecdad51",i,e)}},278:(e,t,n)=>{var i=n(1149);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("2a40662a",i,e)}},7928:(e,t,n)=>{var i=n(9926);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("03b2e6d2",i,e)}},2813:(e,t,n)=>{var i=n(7027);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("7bc72a94",i,e)}},3e3:(e,t,n)=>{var i=n(2953);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("0d4594a2",i,e)}},7708:(e,t,n)=>{"use strict";function i(e,t,n){!function(e,t){const n=t._injectedStyles||(t._injectedStyles={});for(var i=0;i<e.length;i++){var r=e[i];if(!n[r.id]){for(var o=0;o<r.parts.length;o++)s(r.parts[o],t);n[r.id]=!0}}}(function(e,t){for(var n=[],i={},s=0;s<t.length;s++){var r=t[s],o=r[0],a={id:e+":"+s,css:r[1],media:r[2],sourceMap:r[3]};i[o]?i[o].parts.push(a):n.push(i[o]={id:o,parts:[a]})}return n}(e,t),n)}function s(e,t){var n=function(e){var t=document.createElement("style");return t.type="text/css",e.appendChild(t),t}(t),i=e.css,s=e.media,r=e.sourceMap;if(s&&n.setAttribute("media",s),r&&(i+="\n/*# sourceURL="+r.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),n.styleSheet)n.styleSheet.cssText=i;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(i))}}n.d(t,{Z:()=>i})},9028:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 39"},f),...u},r.concat([n("path",{attrs:{d:"M33.25 4.27H1.89V30a2.72 2.72 0 002.72 2.72h29.78A2.72 2.72 0 0037.11 30V4.27zm0 2.27v.08L20 20.78 5.85 6.62a.07.07 0 010-.06zm1.14 23.92H4.61a.45.45 0 01-.45-.46V8.14l.08.09L18.5 22.49a2.13 2.13 0 001.51.62 2.14 2.14 0 001.53-.67l13.3-14.16V30a.45.45 0 01-.45.46z"}})]))}}},2371:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 37"},f),...u},r.concat([n("path",{attrs:{d:"M14.69 18.65v17.89a.47.47 0 00.47.46h6.64a.47.47 0 00.47-.46V18.35h4.81a.46.46 0 00.47-.42l.45-5.48a.47.47 0 00-.46-.51h-5.27V8.06a1.65 1.65 0 011.65-1.65h3.71a.47.47 0 00.47-.47V.46a.47.47 0 00-.47-.46h-6.27a6.67 6.67 0 00-6.67 6.66v5.28h-3.32a.47.47 0 00-.47.47v5.48a.46.46 0 00.47.46h3.32z"}})]))}}},8840:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},f),...u},r.concat([n("path",{attrs:{d:"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zm-22.6 22.7c2.1 2.1 3.5 4.6 4.2 7.4H256V32.5c2.8.7 5.3 2.1 7.4 4.2l83.9 83.9zM336 480H48c-8.8 0-16-7.2-16-16V48c0-8.8 7.2-16 16-16h176v104c0 13.3 10.7 24 24 24h104v304c0 8.8-7.2 16-16 16z"}})]))}}},5227:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},f),...u},r.concat([n("path",{attrs:{d:"M500.33 0h-47.41a12 12 0 00-12 12.57l4 82.76A247.42 247.42 0 00256 8C119.34 8 7.9 119.53 8 256.19 8.1 393.07 119.1 504 256 504a247.1 247.1 0 00166.18-63.91 12 12 0 00.48-17.43l-34-34a12 12 0 00-16.38-.55A176 176 0 11402.1 157.8l-101.53-4.87a12 12 0 00-12.57 12v47.41a12 12 0 0012 12h200.33a12 12 0 0012-12V12a12 12 0 00-12-12z"}})]))}}},7123:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},f),...u},r.concat([n("path",{attrs:{d:"M30.8 11.9v9c0 .6-.4 1-1 1h-1l-5-3.4v-4.1l5-3.4h1c.5-.1 1 .3 1 .9zm-11-4.6h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-14c0-1.1-.9-1.9-2-2z"}})]))}}},8642:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},f),...u},r.concat([n("path",{attrs:{d:"M13.722 12.067a.5.5 0 01-.069.623l-.963.963a.5.5 0 01-.622.068l-4.172-2.657-1.703 1.702a.5.5 0 01-.847-.275L4.108 4.68a.5.5 0 01.572-.572l7.811 1.238a.5.5 0 01.275.848l-1.702 1.702zm5.588 1.586a.5.5 0 00.622.068l4.172-2.657 1.703 1.702a.5.5 0 00.847-.275l1.238-7.811a.5.5 0 00-.572-.572l-7.81 1.238a.5.5 0 00-.275.848l1.702 1.702-2.658 4.171a.5.5 0 00.069.623zm-6.62 4.694a.5.5 0 00-.623-.068l-4.17 2.657-1.704-1.702a.5.5 0 00-.847.275L4.108 27.32a.5.5 0 00.572.572l7.811-1.238a.5.5 0 00.275-.848l-1.702-1.702 2.658-4.171a.5.5 0 00-.069-.623zm13.117.887l-1.703 1.702-4.171-2.657a.5.5 0 00-.623.068l-.963.963a.5.5 0 00-.069.623l2.658 4.171-1.702 1.702a.5.5 0 00.275.848l7.811 1.238a.5.5 0 00.572-.572l-1.238-7.811a.5.5 0 00-.847-.275z"}})]))}}},1466:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},f),...u},r.concat([n("path",{attrs:{d:"M441.9 167.3l-19.8-19.8c-4.7-4.7-12.3-4.7-17 0L224 328.2 42.9 147.5c-4.7-4.7-12.3-4.7-17 0L6.1 167.3c-4.7 4.7-4.7 12.3 0 17l209.4 209.4c4.7 4.7 12.3 4.7 17 0l209.4-209.4c4.7-4.7 4.7-12.3 0-17z"}})]))}}},6561:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"},f),...u},r.concat([n("path",{attrs:{d:"M12.5 14c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3s-3 1.3-3 3v6c0 1.7 1.3 3 3 3zm5.3-3c0 3-2.5 5.1-5.3 5.1S7.2 14 7.2 11H5.5c0 3.4 2.7 6.2 6 6.7V21h2v-3.3c3.3-.5 6-3.3 6-6.7h-1.7z"}})]))}}},5852:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"},f),...u},r.concat([n("path",{attrs:{d:"M19.5 11h-1.7c0 .7-.2 1.4-.4 2.1l1.2 1.2c.6-1 .9-2.1.9-3.3zm-4 .2V5c0-1.7-1.3-3-3-3s-3 1.3-3 3v.2l6 6zM4.8 3L3.5 4.3l6 6v.7c0 1.7 1.3 3 3 3 .2 0 .4 0 .6-.1l1.7 1.7c-.7.3-1.5.5-2.3.5-2.8 0-5.3-2.1-5.3-5.1H5.5c0 3.4 2.7 6.2 6 6.7V21h2v-3.3c.9-.1 1.8-.5 2.5-.9l4.2 4.2 1.3-1.3L4.8 3z"}})]))}}},3852:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},f),...u},r.concat([n("path",{attrs:{d:"M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"}})]))}}},3787:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"},f),...u},r.concat([n("path",{attrs:{d:"M20.9 17.6c-.9-.8-1.8-1.5-2.8-2.1-1-.7-1.3-.6-1.9.5l-.6.9c-.4.5-.9.4-1.4 0-2.3-1.6-4.4-3.6-6-5.9-.3-.6-.5-1-.2-1.4l1.2-.8c1-.6 1-.9.3-1.9-.7-1-1.5-2-2.3-2.9-.6-.7-1-.7-1.6-.1l-.9 1c-1.2.9-1.6 2.5-1 3.8 2 6.1 6.8 10.8 12.9 12.7 1 .4 2.1.2 3-.5l.6-.6.8-.7c.8-1 .8-1.3-.1-2z"}})]))}}},1724:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},f),...u},r.concat([n("circle",{attrs:{cx:"20",cy:"50",r:"10"}},[n("animate",{attrs:{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:".1"}})]),n("circle",{attrs:{cx:"50",cy:"50",r:"10"}},[n("animate",{attrs:{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:".2"}})]),n("circle",{attrs:{cx:"80",cy:"50",r:"10"}},[n("animate",{attrs:{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:".3"}})])]))}}},4684:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30.34 30.34"},f),...u},r.concat([n("path",{attrs:{d:"M22.562 12.491s1.227-.933.293-1.866c-.934-.933-1.842.271-1.842.271l-9.389 9.391s-2.199 2.838-3.871 1.122c-1.67-1.718 1.121-3.872 1.121-3.872l12.311-12.31s2.873-3.165 5.574-.466c2.697 2.7-.477 5.579-.477 5.579L12.449 24.173s-4.426 5.113-8.523 1.015 1.066-8.474 1.066-8.474L15.494 6.209s1.176-.982.295-1.866c-.885-.883-1.865.295-1.865.295L1.873 16.689s-4.549 4.989.531 10.068c5.08 5.082 10.072.533 10.072.533l16.563-16.565s3.314-3.655-.637-7.608-7.607-.639-7.607-.639L6.543 16.728s-3.65 2.969-.338 6.279c3.312 3.314 6.227-.39 6.227-.39l10.13-10.126z"}})]))}}},3582:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},f),...u},r.concat([n("path",{attrs:{d:"M476 3.2L12.5 270.6c-18.1 10.4-15.8 35.6 2.2 43.2L121 358.4l287.3-253.2c5.5-4.9 13.3 2.6 8.6 8.3L176 407v80.5c0 23.6 28.5 32.9 42.5 15.8L282 426l124.6 52.2c14.2 6 30.4-2.9 33-18.2l72-432C515 7.8 493.3-6.8 476 3.2z"}})]))}}},2154:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},f),...u},r.concat([n("path",{attrs:{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3A4.5 4.5 0 0014 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}}),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]))}}},6011:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},f),...u},r.concat([n("path",{attrs:{d:"M16.5 12A4.5 4.5 0 0014 7.97v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51A8.796 8.796 0 0021 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06a8.99 8.99 0 003.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"}}),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]))}}},7707:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},f),...u},r.concat([n("path",{attrs:{d:"M460.115 373.846l-6.941-4.008c-5.546-3.202-7.564-10.177-4.661-15.886 32.971-64.838 31.167-142.731-5.415-205.954-36.504-63.356-103.118-103.876-175.8-107.701C260.952 39.963 256 34.676 256 28.321v-8.012c0-6.904 5.808-12.337 12.703-11.982 83.552 4.306 160.157 50.861 202.106 123.67 42.069 72.703 44.083 162.322 6.034 236.838-3.14 6.149-10.75 8.462-16.728 5.011z"}})]))}}},1623:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},f),...u},r.concat([n("path",{attrs:{d:"M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"}})]))}}},2106:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 39"},f),...u},r.concat([n("path",{attrs:{d:"M38.08 6.78a15.86 15.86 0 01-3.82 1.08c.61-.1 1.48-1.21 1.84-1.65a7 7 0 001.25-2.3.15.15 0 000-.19.22.22 0 00-.21 0 18.94 18.94 0 01-4.49 1.72.31.31 0 01-.31-.08 3 3 0 00-.39-.4 7.91 7.91 0 00-2.18-1.34 7.6 7.6 0 00-3.34-.53 8 8 0 00-3.17.91 8.21 8.21 0 00-2.56 2.08 7.82 7.82 0 00-1.52 3.05 8.17 8.17 0 00-.08 3.23c0 .18 0 .2-.16.18-6.17-.92-10.56-2-15.43-7.86-.18-.21-.28-.2-.43 0C1.26 7.42 2.14 11.8 4.41 14c.31.28 1 .87 1.31 1.13A13.51 13.51 0 012.38 14c-.18-.12-.27 0-.28.15a4.52 4.52 0 000 .89A7.91 7.91 0 007 21.3a5.12 5.12 0 001 .3 8.94 8.94 0 01-2.92.09c-.21 0-.29.07-.21.27 1.29 3.5 4.06 4.55 6.14 5.14.28 0 .55 0 .83.11v.05c-.69 1-3.08 2.15-4.2 2.54a14.78 14.78 0 01-6.35.5c-.35-.05-.42-.05-.51 0s0 .14.1.23a14.73 14.73 0 001.32.78A21.19 21.19 0 006.42 33c7.65 2.11 16.26.56 22-5.15 4.51-4.48 6.09-10.66 6.09-16.84 0-.25.29-.38.46-.51A15.29 15.29 0 0038 7.41a1.21 1.21 0 00.27-.6c.03-.13-.04-.1-.19-.03z"}})]))}}},7308:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 46.9 46.9"},f),...u},r.concat([n("path",{attrs:{d:"M23.4 46.9C10.5 46.9 0 36.4 0 23.4c0-6.2 2.5-12.1 6.8-16.5C11.2 2.5 17.2 0 23.4 0h.1c12.9 0 23.4 10.5 23.4 23.4 0 13-10.5 23.4-23.5 23.5zm0-45.3c-12.1 0-21.9 9.8-21.8 21.9 0 5.8 2.3 11.3 6.4 15.4 4.1 4.1 9.6 6.4 15.4 6.4 12.1 0 21.8-9.8 21.8-21.9 0-12.1-9.7-21.8-21.8-21.8z",fill:"#0596d4"}}),n("circle",{attrs:{cx:"23.4",cy:"23.4",r:"18.6",fill:"#eaeaea"}}),n("path",{attrs:{d:"M27 27.6c3.1-2 4-6.1 2-9.1s-6.1-4-9.1-2-4 6.1-2 9.1c.5.8 1.2 1.5 2 2-4.4.4-7.7 4-7.7 8.4v2.2c6.6 5.1 15.9 5.1 22.5 0V36c0-4.4-3.3-8-7.7-8.4z",fill:"#fff"}})]))}}},7474:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43.074 42.35"},f),...u},r.concat([n("g",{attrs:{"data-name":"Layer 2",transform:"translate(-11.86 -14.678)"}},[n("path",{attrs:{d:"M27.041 53.253c-1.064-1.771-2.107-3.505-3.087-5.276-.352-.636-.583-.81-1.592-.794-3.331.035-3.326.035-4.38.027l-.549-.008c-3.594-.003-5.572-1.992-5.572-5.602V20.27c0-3.607 1.983-5.591 5.588-5.591h31.993c3.523 0 5.462 1.947 5.462 5.48.005 9.007.005 12.633 0 21.64a4.892 4.892 0 01-5.399 5.401h-.008l-5.515-.005c-6.442-.008-4.361-.018-8.483.021a1.099 1.099 0 00-.505.352c-1.059 1.71-2.067 3.45-3.074 5.192l-1.169 2.007c-.084.147-.179.292-.297.473l-1.161 1.79z"}}),n("rect",{attrs:{rx:".812",height:"3.043",width:"32.605",y:"21.789",x:"17.045"}}),n("rect",{attrs:{rx:".812",height:"3.043",width:"32.605",y:"29.228",x:"17.045"}}),n("rect",{attrs:{rx:".812",height:"3.043",width:"19.008",y:"36.668",x:"17.045"}})])]))}}},6842:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},f),...u},r.concat([n("path",{attrs:{d:"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm32 352c0 17.6-14.4 32-32 32H293.3l-8.5 6.4L192 460v-76H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32v288z"}})]))}}},6375:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},f),...u},r.concat([n("path",{attrs:{d:"M512 160h-96V64c0-35.3-28.7-64-64-64H64C28.7 0 0 28.7 0 64v160c0 35.3 28.7 64 64 64h32v52c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4l76.9-43.5V384c0 35.3 28.7 64 64 64h96l108.9 61.6c2.2 1.6 4.7 2.4 7.1 2.4 6.2 0 12-4.9 12-12v-52h32c35.3 0 64-28.7 64-64V224c0-35.3-28.7-64-64-64zM64 256c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h288c17.6 0 32 14.4 32 32v160c0 17.6-14.4 32-32 32H215.6l-7.3 4.2-80.3 45.4V256zm480 128c0 17.6-14.4 32-32 32h-64v49.6l-80.2-45.4-7.3-4.2H256c-17.6 0-32-14.4-32-32v-96h128c35.3 0 64-28.7 64-64v-32h96c17.6 0 32 14.4 32 32z"}})]))}}},8620:(e,t,n)=>{"use strict";t.oE=void 0;var i=n(2584),s=n(8413);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){a(e,t,n[t])}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var c=function(){return null},f=function(e,t,n){return e.reduce((function(e,i){return e[n?n(i):i]=t(i),e}),{})};function u(e){return"function"==typeof e}function d(e){return null!==e&&("object"===l(e)||u(e))}var h=function(e,t,n,i){if("function"==typeof n)return n.call(e,t,i);n=Array.isArray(n)?n:n.split(".");for(var s=0;s<n.length;s++){if(!t||"object"!==l(t))return i;t=t[n[s]]}return void 0===t?i:t};var p={$invalid:function(){var e=this,t=this.proxy;return this.nestedKeys.some((function(t){return e.refProxy(t).$invalid}))||this.ruleKeys.some((function(e){return!t[e]}))},$dirty:function(){var e=this;return!!this.dirty||0!==this.nestedKeys.length&&this.nestedKeys.every((function(t){return e.refProxy(t).$dirty}))},$anyDirty:function(){var e=this;return!!this.dirty||0!==this.nestedKeys.length&&this.nestedKeys.some((function(t){return e.refProxy(t).$anyDirty}))},$error:function(){return this.$dirty&&!this.$pending&&this.$invalid},$anyError:function(){var e=this;return!!this.$error||this.nestedKeys.some((function(t){return e.refProxy(t).$anyError}))},$pending:function(){var e=this;return this.ruleKeys.some((function(t){return e.getRef(t).$pending}))||this.nestedKeys.some((function(t){return e.refProxy(t).$pending}))},$params:function(){var e=this,t=this.validations;return o({},f(this.nestedKeys,(function(e){return t[e]&&t[e].$params||null})),f(this.ruleKeys,(function(t){return e.getRef(t).$params})))}};function m(e){this.dirty=e;var t=this.proxy,n=e?"$touch":"$reset";this.nestedKeys.forEach((function(e){t[e][n]()}))}var g={$touch:function(){m.call(this,!0)},$reset:function(){m.call(this,!1)},$flattenParams:function(){var e=this.proxy,t=[];for(var n in this.$params)if(this.isNested(n)){for(var i=e[n].$flattenParams(),s=0;s<i.length;s++)i[s].path.unshift(n);t=t.concat(i)}else t.push({path:[],name:n,params:this.$params[n]});return t}},b=Object.keys(p),v=Object.keys(g),y=null,A=function(e){if(y)return y;var t=e.extend({computed:{refs:function(){var e=this._vval;this._vval=this.children,(0,i.patchChildren)(e,this._vval);var t={};return this._vval.forEach((function(e){t[e.key]=e.vm})),t}},beforeCreate:function(){this._vval=null},beforeDestroy:function(){this._vval&&((0,i.patchChildren)(this._vval),this._vval=null)},methods:{getModel:function(){return this.lazyModel?this.lazyModel(this.prop):this.model},getModelKey:function(e){var t=this.getModel();if(t)return t[e]},hasIter:function(){return!1}}}),n=t.extend({data:function(){return{rule:null,lazyModel:null,model:null,lazyParentModel:null,rootModel:null}},methods:{runRule:function(t){var n=this.getModel();(0,s.pushParams)();var i,r=this.rule.call(this.rootModel,n,t),o=d(i=r)&&u(i.then)?function(e,t){var n=new e({data:{p:!0,v:!1}});return t.then((function(e){n.p=!1,n.v=e}),(function(e){throw n.p=!1,n.v=!1,e})),n.__isVuelidateAsyncVm=!0,n}(e,r):r,a=(0,s.popParams)();return{output:o,params:a&&a.$sub?a.$sub.length>1?a:a.$sub[0]:null}}},computed:{run:function(){var e=this,t=this.lazyParentModel();if(Array.isArray(t)&&t.__ob__){var n=t.__ob__.dep;n.depend();var i=n.constructor.target;if(!this._indirectWatcher){var s=i.constructor;this._indirectWatcher=new s(this,(function(){return e.runRule(t)}),null,{lazy:!0})}var r=this.getModel();if(!this._indirectWatcher.dirty&&this._lastModel===r)return this._indirectWatcher.depend(),i.value;this._lastModel=r,this._indirectWatcher.evaluate(),this._indirectWatcher.depend()}else this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null);return this._indirectWatcher?this._indirectWatcher.value:this.runRule(t)},$params:function(){return this.run.params},proxy:function(){var e=this.run.output;return e.__isVuelidateAsyncVm?!!e.v:!!e},$pending:function(){var e=this.run.output;return!!e.__isVuelidateAsyncVm&&e.p}},destroyed:function(){this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null)}}),a=t.extend({data:function(){return{dirty:!1,validations:null,lazyModel:null,model:null,prop:null,lazyParentModel:null,rootModel:null}},methods:o({},g,{refProxy:function(e){return this.getRef(e).proxy},getRef:function(e){return this.refs[e]},isNested:function(e){return"function"!=typeof this.validations[e]}}),computed:o({},p,{nestedKeys:function(){return this.keys.filter(this.isNested)},ruleKeys:function(){var e=this;return this.keys.filter((function(t){return!e.isNested(t)}))},keys:function(){return Object.keys(this.validations).filter((function(e){return"$params"!==e}))},proxy:function(){var e=this,t=f(this.keys,(function(t){return{enumerable:!0,configurable:!0,get:function(){return e.refProxy(t)}}})),n=f(b,(function(t){return{enumerable:!0,configurable:!0,get:function(){return e[t]}}})),i=f(v,(function(t){return{enumerable:!1,configurable:!0,get:function(){return e[t]}}})),s=this.hasIter()?{$iter:{enumerable:!0,value:Object.defineProperties({},o({},t))}}:{};return Object.defineProperties({},o({},t,s,{$model:{enumerable:!0,get:function(){var t=e.lazyParentModel();return null!=t?t[e.prop]:null},set:function(t){var n=e.lazyParentModel();null!=n&&(n[e.prop]=t,e.$touch())}}},n,i))},children:function(){var e=this;return r(this.nestedKeys.map((function(t){return A(e,t)}))).concat(r(this.ruleKeys.map((function(t){return w(e,t)})))).filter(Boolean)}})}),l=a.extend({methods:{isNested:function(e){return void 0!==this.validations[e]()},getRef:function(e){var t=this;return{get proxy(){return t.validations[e]()||!1}}}}}),m=a.extend({computed:{keys:function(){var e=this.getModel();return d(e)?Object.keys(e):[]},tracker:function(){var e=this,t=this.validations.$trackBy;return t?function(n){return"".concat(h(e.rootModel,e.getModelKey(n),t))}:function(e){return"".concat(e)}},getModelLazy:function(){var e=this;return function(){return e.getModel()}},children:function(){var e=this,t=this.validations,n=this.getModel(),s=o({},t);delete s.$trackBy;var r={};return this.keys.map((function(t){var o=e.tracker(t);return r.hasOwnProperty(o)?null:(r[o]=!0,(0,i.h)(a,o,{validations:s,prop:t,lazyParentModel:e.getModelLazy,model:n[t],rootModel:e.rootModel}))})).filter(Boolean)}},methods:{isNested:function(){return!0},getRef:function(e){return this.refs[this.tracker(e)]},hasIter:function(){return!0}}}),A=function(e,t){if("$each"===t)return(0,i.h)(m,t,{validations:e.validations[t],lazyParentModel:e.lazyParentModel,prop:t,lazyModel:e.getModel,rootModel:e.rootModel});var n=e.validations[t];if(Array.isArray(n)){var s=e.rootModel,r=f(n,(function(e){return function(){return h(s,s.$v,e)}}),(function(e){return Array.isArray(e)?e.join("."):e}));return(0,i.h)(l,t,{validations:r,lazyParentModel:c,prop:t,lazyModel:c,rootModel:s})}return(0,i.h)(a,t,{validations:n,lazyParentModel:e.getModel,prop:t,lazyModel:e.getModelKey,rootModel:e.rootModel})},w=function(e,t){return(0,i.h)(n,t,{rule:e.validations[t],lazyParentModel:e.lazyParentModel,lazyModel:e.getModel,rootModel:e.rootModel})};return y={VBase:t,Validation:a}},w=null;var _=function(e,t){var n=function(e){if(w)return w;for(var t=e.constructor;t.super;)t=t.super;return w=t,t}(e),s=A(n),r=s.Validation;return new(0,s.VBase)({computed:{children:function(){var n="function"==typeof t?t.call(e):t;return[(0,i.h)(r,"$v",{validations:n,lazyParentModel:c,prop:"$v",model:e,rootModel:e})]}}})},C={data:function(){var e=this.$options.validations;return e&&(this._vuelidate=_(this,e)),{}},beforeCreate:function(){var e=this.$options;e.validations&&(e.computed||(e.computed={}),e.computed.$v||(e.computed.$v=function(){return this._vuelidate?this._vuelidate.refs.$v.proxy:null}))},beforeDestroy:function(){this._vuelidate&&(this._vuelidate.$destroy(),this._vuelidate=null)}};function S(e){e.mixin(C)}t.oE=C},8413:(e,t)=>{"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.pushParams=o,t.popParams=a,t.withParams=function(e,t){if("object"===i(e)&&void 0!==t)return n=e,s=t,c((function(e){return function(){e(n);for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return s.apply(this,i)}}));var n,s;return c(e)},t._setTarget=t.target=void 0;var s=[],r=null;t.target=r;function o(){null!==r&&s.push(r),t.target=r={}}function a(){var e=r,n=t.target=r=s.pop()||null;return n&&(Array.isArray(n.$sub)||(n.$sub=[]),n.$sub.push(e)),e}function l(e){if("object"!==i(e)||Array.isArray(e))throw new Error("params must be an object");t.target=r=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},s=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(i).filter((function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable})))),s.forEach((function(t){n(e,t,i[t])}))}return e}({},r,e)}function c(e){var t=e(l);return function(){o();try{for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.apply(this,n)}finally{a()}}}t._setTarget=function(e){t.target=r=e}},6681:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"withParams",{enumerable:!0,get:function(){return s.default}}),t.regex=t.ref=t.len=t.req=void 0;var i,s=(i=n(8085))&&i.__esModule?i:{default:i};function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=function(e){if(Array.isArray(e))return!!e.length;if(null==e)return!1;if(!1===e)return!0;if(e instanceof Date)return!isNaN(e.getTime());if("object"===r(e)){for(var t in e)return!0;return!1}return!!String(e).length};t.req=o;t.len=function(e){return Array.isArray(e)?e.length:"object"===r(e)?Object.keys(e).length:String(e).length};t.ref=function(e,t,n){return"function"==typeof e?e.call(t,n):n[e]};t.regex=function(e,t){return(0,s.default)({type:e},(function(e){return!o(e)||t.test(e)}))}},2419:(e,t,n)=>{"use strict";t.Z=void 0;var i=n(6681),s=(0,i.withParams)({type:"required"},(function(e){return"string"==typeof e?(0,i.req)(e.trim()):(0,i.req)(e)}));t.Z=s},2584:(e,t)=>{"use strict";function n(e){return null==e}function i(e){return null!=e}function s(e,t){return t.tag===e.tag&&t.key===e.key}function r(e){var t=e.tag;e.vm=new t({data:e.args})}function o(e,t,n){var s,r,o={};for(s=t;s<=n;++s)i(r=e[s].key)&&(o[r]=s);return o}function a(e,t,n){for(;t<=n;++t)r(e[t])}function l(e,t,n){for(;t<=n;++t){var s=e[t];i(s)&&(s.vm.$destroy(),s.vm=null)}}function c(e,t){e!==t&&(t.vm=e.vm,function(e){for(var t=Object.keys(e.args),n=0;n<t.length;n++)t.forEach((function(t){e.vm[t]=e.args[t]}))}(t))}Object.defineProperty(t,"__esModule",{value:!0}),t.patchChildren=function(e,t){i(e)&&i(t)?e!==t&&function(e,t){var f,u,d,h=0,p=0,m=e.length-1,g=e[0],b=e[m],v=t.length-1,y=t[0],A=t[v];for(;h<=m&&p<=v;)n(g)?g=e[++h]:n(b)?b=e[--m]:s(g,y)?(c(g,y),g=e[++h],y=t[++p]):s(b,A)?(c(b,A),b=e[--m],A=t[--v]):s(g,A)?(c(g,A),g=e[++h],A=t[--v]):s(b,y)?(c(b,y),b=e[--m],y=t[++p]):(n(f)&&(f=o(e,h,m)),n(u=i(y.key)?f[y.key]:null)?(r(y),y=t[++p]):s(d=e[u],y)?(c(d,y),e[u]=void 0,y=t[++p]):(r(y),y=t[++p]));h>m?a(t,p,v):p>v&&l(e,h,m)}(e,t):i(t)?a(t,0,t.length-1):i(e)&&l(e,0,e.length-1)},t.h=function(e,t,n){return{tag:e,key:t,args:n}}},8085:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i="web"==={VERSION:"5.0.29",BUILD_DATE:"2021-09-22T07:59:56.290Z",BUILD_NUMBER:"233",DEV:!1}.BUILD?n(16).R:n(8413).withParams;t.default=i},16:(e,t,n)=>{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.R=void 0;var s="undefined"!=typeof window?window:void 0!==n.g?n.g:{},r=s.vuelidate?s.vuelidate.withParams:function(e,t){return"object"===i(e)&&void 0!==t?t:e((function(){}))};t.R=r},7529:e=>{e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var i=arguments[n];for(var s in i)t.call(i,s)&&(e[s]=i[s])}return e};var t=Object.prototype.hasOwnProperty},9100:e=>{"use strict";e.exports=JSON.parse('{"s":{"2049":0,"2122":0,"2139":0,"2194":0,"2195":0,"2196":0,"2197":0,"2198":0,"2199":0,"2328":0,"2600":0,"2601":0,"2602":0,"2603":0,"2604":0,"2611":0,"2614":0,"2615":0,"2618":0,"2620":0,"2622":0,"2623":0,"2626":0,"2638":0,"2639":0,"2640":0,"2642":0,"2648":0,"2649":0,"2650":0,"2651":0,"2652":0,"2653":0,"2660":0,"2663":0,"2665":0,"2666":0,"2668":0,"2692":0,"2693":0,"2694":0,"2695":0,"2696":0,"2697":0,"2699":0,"2702":0,"2705":0,"2708":0,"2709":0,"2712":0,"2714":0,"2716":0,"2721":0,"2728":0,"2733":0,"2734":0,"2744":0,"2747":0,"2753":0,"2754":0,"2755":0,"2757":0,"2763":0,"2764":0,"2795":0,"2796":0,"2797":0,"2934":0,"2935":0,"3030":0,"3297":0,"3299":0,"1f9e1":0,"1f49b":0,"1f49a":0,"1f499":0,"1f49c":0,"1f5a4":0,"1f494":0,"1f495":0,"1f49e":0,"1f493":0,"1f497":0,"1f496":0,"1f498":0,"1f49d":0,"1f49f":0,"262e":0,"271d":0,"262a":0,"1f549":0,"1f52f":0,"1f54e":0,"262f":0,"1f6d0":0,"26ce":0,"264a":0,"264b":0,"264c":0,"264d":0,"264e":0,"264f":0,"1f194":0,"269b":0,"267e":{"e":0,"s":{"fe0f":0}},"1f251":0,"1f4f4":0,"1f4f3":0,"1f236":0,"1f21a":0,"1f238":0,"1f23a":0,"1f237":0,"1f19a":0,"1f4ae":0,"1f250":0,"1f234":0,"1f235":0,"1f239":0,"1f232":0,"1f170":0,"1f171":0,"1f18e":0,"1f191":0,"1f17e":0,"1f198":0,"274c":0,"2b55":0,"1f6d1":0,"26d4":0,"1f4db":0,"1f6ab":0,"1f4af":0,"1f4a2":0,"1f6b7":0,"1f6af":0,"1f6b3":0,"1f6b1":0,"1f51e":0,"1f4f5":0,"1f6ad":0,"203c":0,"1f505":0,"1f506":0,"303d":0,"26a0":0,"1f6b8":0,"1f531":0,"269c":0,"1f530":0,"267b":0,"1f22f":0,"1f4b9":0,"274e":0,"1f310":0,"1f4a0":0,"24c2":0,"1f300":0,"1f4a4":0,"1f3e7":0,"1f6be":0,"267f":0,"1f17f":0,"1f233":0,"1f202":0,"1f6c2":0,"1f6c3":0,"1f6c4":0,"1f6c5":0,"1f6b9":0,"1f6ba":0,"1f6bc":0,"1f6bb":0,"1f6ae":0,"1f3a6":0,"1f4f6":0,"1f201":0,"1f523":0,"1f524":0,"1f521":0,"1f520":0,"1f196":0,"1f197":0,"1f199":0,"1f192":0,"1f195":0,"1f193":0,"0030":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0031":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0032":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0033":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0034":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0035":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0036":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0037":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0038":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0039":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"1f51f":0,"1f522":0,"0023":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"002a":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"23cf":0,"25b6":0,"23f8":0,"23ef":0,"23f9":0,"23fa":0,"23ed":0,"23ee":0,"23e9":0,"23ea":0,"23eb":0,"23ec":0,"25c0":0,"1f53c":0,"1f53d":0,"27a1":0,"2b05":0,"2b06":0,"2b07":0,"21aa":0,"21a9":0,"1f500":0,"1f501":0,"1f502":0,"1f504":0,"1f503":0,"1f3b5":0,"1f3b6":0,"1f4b2":0,"1f4b1":0,"00a9":0,"00ae":0,"27b0":0,"27bf":0,"1f51a":0,"1f519":0,"1f51b":0,"1f51d":0,"1f51c":0,"1f518":0,"26aa":0,"26ab":0,"1f534":0,"1f535":0,"1f53a":0,"1f53b":0,"1f538":0,"1f539":0,"1f536":0,"1f537":0,"1f533":0,"1f532":0,"25aa":0,"25ab":0,"25fe":0,"25fd":0,"25fc":0,"25fb":0,"2b1b":0,"2b1c":0,"1f508":0,"1f507":0,"1f509":0,"1f50a":0,"1f514":0,"1f515":0,"1f4e3":0,"1f4e2":0,"1f5e8":0,"1f441":{"e":1,"s":{"fe0f":{"e":0,"s":{"200d":{"e":0,"s":{"1f5e8":{"e":0,"s":{"fe0f":0}}}}}}}},"1f4ac":0,"1f4ad":0,"1f5ef":0,"1f0cf":0,"1f3b4":0,"1f004":0,"1f550":0,"1f551":0,"1f552":0,"1f553":0,"1f554":0,"1f555":0,"1f556":0,"1f557":0,"1f558":0,"1f559":0,"1f55a":0,"1f55b":0,"1f55c":0,"1f55d":0,"1f55e":0,"1f55f":0,"1f560":0,"1f561":0,"1f562":0,"1f563":0,"1f564":0,"1f565":0,"1f566":0,"1f567":0,"26bd":0,"1f3c0":0,"1f3c8":0,"26be":0,"1f94e":0,"1f3be":0,"1f3d0":0,"1f3c9":0,"1f3b1":0,"1f3d3":0,"1f3f8":0,"1f945":0,"1f3d2":0,"1f3d1":0,"1f3cf":0,"1f94d":0,"26f3":0,"1f94f":0,"1f3f9":0,"1f3a3":0,"1f94a":0,"1f94b":0,"1f3bd":0,"1f6f9":0,"26f8":0,"1f94c":0,"1f6f7":0,"1f3bf":0,"26f7":0,"1f3c2":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f3cb":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f93c":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f938":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"26f9":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f93a":0,"1f93e":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3cc":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f3c7":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9d8":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3c4":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ca":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f93d":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f6a3":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d7":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f6b5":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f6b4":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3c6":0,"1f947":0,"1f948":0,"1f949":0,"1f3c5":0,"1f396":0,"1f3f5":0,"1f397":0,"1f3ab":0,"1f39f":0,"1f3aa":0,"1f939":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ad":0,"1f3a8":0,"1f3ac":0,"1f3a4":0,"1f3a7":0,"1f3bc":0,"1f3b9":0,"1f941":0,"1f3b7":0,"1f3ba":0,"1f3b8":0,"1f3bb":0,"1f3b2":0,"1f3af":0,"1f3b3":0,"1f3ae":0,"1f3b0":0,"231a":0,"1f4f1":0,"1f4f2":0,"1f4bb":0,"1f5a5":0,"1f5a8":0,"1f5b1":0,"1f5b2":0,"1f579":0,"265f":{"e":0,"s":{"fe0f":0}},"1f9e9":0,"1f5dc":0,"1f4bd":0,"1f4be":0,"1f4bf":0,"1f4c0":0,"1f4fc":0,"1f4f7":0,"1f4f8":0,"1f4f9":0,"1f3a5":0,"1f4fd":0,"1f39e":0,"1f4de":0,"260e":0,"1f4df":0,"1f4e0":0,"1f4fa":0,"1f4fb":0,"1f399":0,"1f39a":0,"1f39b":0,"23f1":0,"23f2":0,"23f0":0,"1f570":0,"231b":0,"23f3":0,"1f4e1":0,"1f9ed":0,"1f50b":0,"1f50c":0,"1f9f2":0,"1f4a1":0,"1f526":0,"1f56f":0,"1f9ef":0,"1f5d1":0,"1f6e2":0,"1f4b8":0,"1f4b5":0,"1f4b4":0,"1f4b6":0,"1f4b7":0,"1f4b0":0,"1f4b3":0,"1f48e":0,"1f9ff":0,"1f9f1":0,"1f9f0":0,"1f527":0,"1f528":0,"1f6e0":0,"26cf":0,"1f529":0,"26d3":0,"1f52b":0,"1f4a3":0,"1f52a":0,"1f5e1":0,"1f6e1":0,"1f6ac":0,"26b0":0,"26b1":0,"1f3fa":0,"1f52e":0,"1f4ff":0,"1f488":0,"1f9ea":0,"1f9eb":0,"1f9ec":0,"1f9ee":0,"1f52d":0,"1f52c":0,"1f573":0,"1f48a":0,"1f489":0,"1f321":0,"1f6bd":0,"1f6b0":0,"1f6bf":0,"1f6c1":0,"1f6c0":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9f9":0,"1f9fa":0,"1f9fb":0,"1f9fc":0,"1f9fd":0,"1f9f4":0,"1f9f5":0,"1f9f6":0,"1f6ce":0,"1f511":0,"1f5dd":0,"1f6aa":0,"1f6cb":0,"1f6cf":0,"1f6cc":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9f8":0,"1f5bc":0,"1f6cd":0,"1f6d2":0,"1f381":0,"1f388":0,"1f38f":0,"1f380":0,"1f38a":0,"1f389":0,"1f38e":0,"1f3ee":0,"1f390":0,"1f9e7":0,"1f4e9":0,"1f4e8":0,"1f4e7":0,"1f48c":0,"1f4e5":0,"1f4e4":0,"1f4e6":0,"1f3f7":0,"1f4ea":0,"1f4eb":0,"1f4ec":0,"1f4ed":0,"1f4ee":0,"1f4ef":0,"1f4dc":0,"1f4c3":0,"1f4c4":0,"1f9fe":0,"1f4d1":0,"1f4ca":0,"1f4c8":0,"1f4c9":0,"1f5d2":0,"1f5d3":0,"1f4c6":0,"1f4c5":0,"1f4c7":0,"1f5c3":0,"1f5f3":0,"1f5c4":0,"1f4cb":0,"1f4c1":0,"1f4c2":0,"1f5c2":0,"1f5de":0,"1f4f0":0,"1f4d3":0,"1f4d4":0,"1f4d2":0,"1f4d5":0,"1f4d7":0,"1f4d8":0,"1f4d9":0,"1f4da":0,"1f4d6":0,"1f516":0,"1f517":0,"1f4ce":0,"1f587":0,"1f4d0":0,"1f4cf":0,"1f9f7":0,"1f4cc":0,"1f4cd":0,"1f58a":0,"1f58b":0,"1f58c":0,"1f58d":0,"1f4dd":0,"270f":0,"1f50d":0,"1f50e":0,"1f50f":0,"1f510":0,"1f436":0,"1f431":0,"1f42d":0,"1f439":0,"1f430":0,"1f98a":0,"1f99d":0,"1f43b":0,"1f43c":0,"1f998":0,"1f9a1":0,"1f428":0,"1f42f":0,"1f981":0,"1f42e":0,"1f437":0,"1f43d":0,"1f438":0,"1f435":0,"1f648":0,"1f649":0,"1f64a":0,"1f412":0,"1f414":0,"1f427":0,"1f426":0,"1f424":0,"1f423":0,"1f425":0,"1f986":0,"1f9a2":0,"1f985":0,"1f989":0,"1f99c":0,"1f99a":0,"1f987":0,"1f43a":0,"1f417":0,"1f434":0,"1f984":0,"1f41d":0,"1f41b":0,"1f98b":0,"1f40c":0,"1f41a":0,"1f41e":0,"1f41c":0,"1f997":0,"1f577":0,"1f578":0,"1f982":0,"1f99f":0,"1f9a0":0,"1f422":0,"1f40d":0,"1f98e":0,"1f996":0,"1f995":0,"1f419":0,"1f991":0,"1f990":0,"1f980":0,"1f99e":0,"1f421":0,"1f420":0,"1f41f":0,"1f42c":0,"1f433":0,"1f40b":0,"1f988":0,"1f40a":0,"1f405":0,"1f406":0,"1f993":0,"1f98d":0,"1f418":0,"1f98f":0,"1f99b":0,"1f42a":0,"1f42b":0,"1f992":0,"1f999":0,"1f403":0,"1f402":0,"1f404":0,"1f40e":0,"1f416":0,"1f40f":0,"1f411":0,"1f410":0,"1f98c":0,"1f415":0,"1f429":0,"1f408":0,"1f413":0,"1f983":0,"1f54a":0,"1f407":0,"1f401":0,"1f400":0,"1f43f":0,"1f994":0,"1f43e":0,"1f409":0,"1f432":0,"1f335":0,"1f384":0,"1f332":0,"1f333":0,"1f334":0,"1f331":0,"1f33f":0,"1f340":0,"1f38d":0,"1f38b":0,"1f343":0,"1f342":0,"1f341":0,"1f344":0,"1f33e":0,"1f490":0,"1f337":0,"1f339":0,"1f940":0,"1f33a":0,"1f338":0,"1f33c":0,"1f33b":0,"1f31e":0,"1f31d":0,"1f31b":0,"1f31c":0,"1f31a":0,"1f315":0,"1f316":0,"1f317":0,"1f318":0,"1f311":0,"1f312":0,"1f313":0,"1f314":0,"1f319":0,"1f30e":0,"1f30d":0,"1f30f":0,"1f4ab":0,"2b50":0,"1f31f":0,"26a1":0,"1f4a5":0,"1f525":0,"1f32a":0,"1f308":0,"1f324":0,"26c5":0,"1f325":0,"1f326":0,"1f327":0,"26c8":0,"1f329":0,"1f328":0,"26c4":0,"1f32c":0,"1f4a8":0,"1f4a7":0,"1f4a6":0,"1f30a":0,"1f32b":0,"1f34f":0,"1f34e":0,"1f350":0,"1f34a":0,"1f34b":0,"1f34c":0,"1f349":0,"1f347":0,"1f353":0,"1f348":0,"1f352":0,"1f351":0,"1f96d":0,"1f34d":0,"1f965":0,"1f95d":0,"1f345":0,"1f346":0,"1f951":0,"1f966":0,"1f96c":0,"1f952":0,"1f336":0,"1f33d":0,"1f955":0,"1f954":0,"1f360":0,"1f950":0,"1f35e":0,"1f956":0,"1f968":0,"1f96f":0,"1f9c0":0,"1f95a":0,"1f373":0,"1f95e":0,"1f953":0,"1f969":0,"1f357":0,"1f356":0,"1f32d":0,"1f354":0,"1f35f":0,"1f355":0,"1f96a":0,"1f959":0,"1f32e":0,"1f32f":0,"1f957":0,"1f958":0,"1f96b":0,"1f35d":0,"1f35c":0,"1f372":0,"1f35b":0,"1f363":0,"1f371":0,"1f364":0,"1f359":0,"1f35a":0,"1f358":0,"1f365":0,"1f960":0,"1f362":0,"1f361":0,"1f367":0,"1f368":0,"1f366":0,"1f967":0,"1f370":0,"1f382":0,"1f96e":0,"1f9c1":0,"1f36e":0,"1f36d":0,"1f36c":0,"1f36b":0,"1f37f":0,"1f9c2":0,"1f369":0,"1f95f":0,"1f36a":0,"1f330":0,"1f95c":0,"1f36f":0,"1f95b":0,"1f37c":0,"1f375":0,"1f964":0,"1f376":0,"1f37a":0,"1f37b":0,"1f942":0,"1f377":0,"1f943":0,"1f378":0,"1f379":0,"1f37e":0,"1f944":0,"1f374":0,"1f37d":0,"1f963":0,"1f961":0,"1f962":0,"1f600":0,"1f603":0,"1f604":0,"1f601":0,"1f606":0,"1f605":0,"1f602":0,"1f923":0,"263a":0,"1f60a":0,"1f607":0,"1f642":0,"1f643":0,"1f609":0,"1f60c":0,"1f60d":0,"1f618":0,"1f970":0,"1f617":0,"1f619":0,"1f61a":0,"1f60b":0,"1f61b":0,"1f61d":0,"1f61c":0,"1f92a":0,"1f928":0,"1f9d0":0,"1f913":0,"1f60e":0,"1f929":0,"1f973":0,"1f60f":0,"1f612":0,"1f61e":0,"1f614":0,"1f61f":0,"1f615":0,"1f641":0,"1f623":0,"1f616":0,"1f62b":0,"1f629":0,"1f622":0,"1f62d":0,"1f624":0,"1f620":0,"1f621":0,"1f92c":0,"1f92f":0,"1f633":0,"1f631":0,"1f628":0,"1f630":0,"1f975":0,"1f976":0,"1f97a":0,"1f625":0,"1f613":0,"1f917":0,"1f914":0,"1f92d":0,"1f92b":0,"1f925":0,"1f636":0,"1f610":0,"1f611":0,"1f62c":0,"1f644":0,"1f62f":0,"1f626":0,"1f627":0,"1f62e":0,"1f632":0,"1f634":0,"1f924":0,"1f62a":0,"1f635":0,"1f910":0,"1f974":0,"1f922":0,"1f92e":0,"1f927":0,"1f637":0,"1f912":0,"1f915":0,"1f911":0,"1f920":0,"1f608":0,"1f47f":0,"1f479":0,"1f47a":0,"1f921":0,"1f4a9":0,"1f47b":0,"1f480":0,"1f47d":0,"1f47e":0,"1f916":0,"1f383":0,"1f63a":0,"1f638":0,"1f639":0,"1f63b":0,"1f63c":0,"1f63d":0,"1f640":0,"1f63f":0,"1f63e":0,"1f932":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f450":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f64c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44f":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91d":0,"1f44d":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44e":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91b":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91e":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91f":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f918":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f448":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f449":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f446":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f447":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"261d":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270b":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f590":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f596":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44b":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f919":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f4aa":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9b5":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9b6":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f595":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270d":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f64f":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f48d":0,"1f484":0,"1f48b":0,"1f444":0,"1f445":0,"1f442":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f443":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f463":0,"1f440":0,"1f9e0":0,"1f9b4":0,"1f9b7":0,"1f5e3":0,"1f464":0,"1f465":0,"1f476":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f467":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9d2":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f466":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f469":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"2764":{"e":1,"s":{"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"1f468":0,"1f469":0,"1f48b":{"e":1,"s":{"200d":{"e":1,"s":{"1f468":0,"1f469":0}}}}}}}}}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0,"1f469":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f9d1":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f468":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"2764":{"e":1,"s":{"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"1f468":0,"1f48b":{"e":0,"s":{"200d":{"e":0,"s":{"1f468":0}}}}}}}}}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0,"1f469":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f468":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f471":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d4":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f475":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9d3":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f474":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f472":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f473":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d5":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f46e":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f477":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f482":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f575":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f470":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f935":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f478":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f934":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f936":{"e":1,"s":{"1f3fb":0,"1f3fd":0,"1f3fc":0,"1f3fe":0,"1f3ff":0}},"1f385":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9b8":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9b9":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d9":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9dd":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9db":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9df":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9de":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9dc":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9da":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f47c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f930":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f931":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f647":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f481":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f645":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f646":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f64b":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f926":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f937":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f64e":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f64d":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f487":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f486":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d6":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f485":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f933":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f483":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f57a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3ff":0,"1f3fe":0}},"1f46f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f574":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f6b6":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3c3":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f46b":0,"1f46d":0,"1f46c":0,"1f491":0,"1f48f":0,"1f46a":0,"1f9e5":0,"1f45a":0,"1f455":0,"1f456":0,"1f454":0,"1f457":0,"1f459":0,"1f458":0,"1f97c":0,"1f460":0,"1f461":0,"1f462":0,"1f45e":0,"1f45f":0,"1f97e":0,"1f97f":0,"1f9e6":0,"1f9e4":0,"1f9e3":0,"1f3a9":0,"1f9e2":0,"1f452":0,"1f393":0,"26d1":0,"1f451":0,"1f45d":0,"1f45b":0,"1f45c":0,"1f4bc":0,"1f392":0,"1f453":0,"1f576":0,"1f97d":0,"1f302":0,"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f1ff":{"e":1,"s":{"1f1e6":0,"1f1f2":0,"1f1fc":0}},"1f1fe":{"e":1,"s":{"1f1f9":0,"1f1ea":0}},"1f1fd":{"e":1,"s":{"1f1f0":0}},"1f1fc":{"e":1,"s":{"1f1f8":0,"1f1eb":0}},"1f1fb":{"e":1,"s":{"1f1ec":0,"1f1e8":0,"1f1ee":0,"1f1fa":0,"1f1e6":0,"1f1ea":0,"1f1f3":0}},"1f1fa":{"e":1,"s":{"1f1ec":0,"1f1e6":0,"1f1f8":0,"1f1fe":0,"1f1ff":0,"1f1f2":0,"1f1f3":0}},"1f1f9":{"e":1,"s":{"1f1e9":0,"1f1eb":0,"1f1fc":0,"1f1ef":0,"1f1ff":0,"1f1ed":0,"1f1f1":0,"1f1ec":0,"1f1f0":0,"1f1f4":0,"1f1f9":0,"1f1f3":0,"1f1f7":0,"1f1f2":0,"1f1e8":0,"1f1fb":0,"1f1e6":0}},"1f1f8":{"e":1,"s":{"1f1fb":0,"1f1f2":0,"1f1f9":0,"1f1e6":0,"1f1f3":0,"1f1e8":0,"1f1f1":0,"1f1ec":0,"1f1fd":0,"1f1f0":0,"1f1ee":0,"1f1e7":0,"1f1f4":0,"1f1f8":0,"1f1ed":0,"1f1e9":0,"1f1f7":0,"1f1ff":0,"1f1ea":0,"1f1fe":0,"1f1ef":0}},"1f1f7":{"e":1,"s":{"1f1ea":0,"1f1f4":0,"1f1fa":0,"1f1fc":0,"1f1f8":0}},"1f1f6":{"e":1,"s":{"1f1e6":0}},"1f1f5":{"e":1,"s":{"1f1eb":0,"1f1f0":0,"1f1fc":0,"1f1f8":0,"1f1e6":0,"1f1ec":0,"1f1fe":0,"1f1ea":0,"1f1ed":0,"1f1f3":0,"1f1f1":0,"1f1f9":0,"1f1f7":0,"1f1f2":0}},"1f1f4":{"e":1,"s":{"1f1f2":0}},"1f1f3":{"e":1,"s":{"1f1e6":0,"1f1f7":0,"1f1f5":0,"1f1f1":0,"1f1e8":0,"1f1ff":0,"1f1ee":0,"1f1ea":0,"1f1ec":0,"1f1fa":0,"1f1eb":0,"1f1f4":0}},"1f1f2":{"e":1,"s":{"1f1f4":0,"1f1f0":0,"1f1ec":0,"1f1fc":0,"1f1fe":0,"1f1fb":0,"1f1f1":0,"1f1f9":0,"1f1ed":0,"1f1f6":0,"1f1f7":0,"1f1fa":0,"1f1fd":0,"1f1e9":0,"1f1e8":0,"1f1f3":0,"1f1ea":0,"1f1f8":0,"1f1e6":0,"1f1ff":0,"1f1f2":0,"1f1f5":0,"1f1eb":0}},"1f1f1":{"e":1,"s":{"1f1e6":0,"1f1fb":0,"1f1e7":0,"1f1f8":0,"1f1f7":0,"1f1fe":0,"1f1ee":0,"1f1f9":0,"1f1fa":0,"1f1f0":0,"1f1e8":0}},"1f1f0":{"e":1,"s":{"1f1ed":0,"1f1fe":0,"1f1f2":0,"1f1ff":0,"1f1ea":0,"1f1ee":0,"1f1fc":0,"1f1ec":0,"1f1f5":0,"1f1f7":0,"1f1f3":0}},"1f1ef":{"e":1,"s":{"1f1f2":0,"1f1f5":0,"1f1ea":0,"1f1f4":0}},"1f1ee":{"e":1,"s":{"1f1f4":0,"1f1e8":0,"1f1f8":0,"1f1f3":0,"1f1e9":0,"1f1f7":0,"1f1f6":0,"1f1ea":0,"1f1f2":0,"1f1f1":0,"1f1f9":0}},"1f1ed":{"e":1,"s":{"1f1f7":0,"1f1f9":0,"1f1f3":0,"1f1f0":0,"1f1fa":0,"1f1f2":0}},"1f1ec":{"e":1,"s":{"1f1f6":0,"1f1eb":0,"1f1e6":0,"1f1f2":0,"1f1ea":0,"1f1ed":0,"1f1ee":0,"1f1f7":0,"1f1f1":0,"1f1e9":0,"1f1f5":0,"1f1fa":0,"1f1f9":0,"1f1ec":0,"1f1f3":0,"1f1fc":0,"1f1fe":0,"1f1f8":0,"1f1e7":0}},"1f1eb":{"e":1,"s":{"1f1f0":0,"1f1f4":0,"1f1ef":0,"1f1ee":0,"1f1f7":0,"1f1f2":0}},"1f1ea":{"e":1,"s":{"1f1e8":0,"1f1ec":0,"1f1f7":0,"1f1ea":0,"1f1f9":0,"1f1fa":0,"1f1f8":0,"1f1ed":0,"1f1e6":0}},"1f1e9":{"e":1,"s":{"1f1ff":0,"1f1f0":0,"1f1ef":0,"1f1f2":0,"1f1f4":0,"1f1ea":0,"1f1ec":0}},"1f1e8":{"e":1,"s":{"1f1f2":0,"1f1e6":0,"1f1fb":0,"1f1eb":0,"1f1f1":0,"1f1f3":0,"1f1fd":0,"1f1e8":0,"1f1f4":0,"1f1ec":0,"1f1e9":0,"1f1f0":0,"1f1f7":0,"1f1ee":0,"1f1fa":0,"1f1fc":0,"1f1fe":0,"1f1ff":0,"1f1ed":0,"1f1f5":0}},"1f1e7":{"e":1,"s":{"1f1f8":0,"1f1ed":0,"1f1e9":0,"1f1e7":0,"1f1fe":0,"1f1ea":0,"1f1ff":0,"1f1ef":0,"1f1f2":0,"1f1f9":0,"1f1f4":0,"1f1e6":0,"1f1fc":0,"1f1f7":0,"1f1f3":0,"1f1ec":0,"1f1eb":0,"1f1ee":0,"1f1f6":0,"1f1f1":0,"1f1fb":0}},"1f1e6":{"e":1,"s":{"1f1eb":0,"1f1fd":0,"1f1f1":0,"1f1f8":0,"1f1e9":0,"1f1f4":0,"1f1ee":0,"1f1f6":0,"1f1ec":0,"1f1f7":0,"1f1f2":0,"1f1fc":0,"1f1fa":0,"1f1f9":0,"1f1ff":0,"1f1ea":0,"1f1e8":0}},"1f697":0,"1f695":0,"1f699":0,"1f68c":0,"1f68e":0,"1f3ce":0,"1f693":0,"1f691":0,"1f692":0,"1f690":0,"1f69a":0,"1f69b":0,"1f69c":0,"1f6f4":0,"1f6b2":0,"1f6f5":0,"1f3cd":0,"1f6a8":0,"1f694":0,"1f68d":0,"1f698":0,"1f696":0,"1f6a1":0,"1f6a0":0,"1f69f":0,"1f683":0,"1f68b":0,"1f69e":0,"1f69d":0,"1f684":0,"1f685":0,"1f688":0,"1f682":0,"1f686":0,"1f687":0,"1f68a":0,"1f689":0,"1f6eb":0,"1f6ec":0,"1f6e9":0,"1f4ba":0,"1f9f3":0,"1f6f0":0,"1f680":0,"1f6f8":0,"1f681":0,"1f6f6":0,"26f5":0,"1f6a4":0,"1f6e5":0,"1f6f3":0,"26f4":0,"1f6a2":0,"26fd":0,"1f6a7":0,"1f6a6":0,"1f6a5":0,"1f68f":0,"1f5fa":0,"1f5ff":0,"1f5fd":0,"1f5fc":0,"1f3f0":0,"1f3ef":0,"1f3df":0,"1f3a1":0,"1f3a2":0,"1f3a0":0,"26f2":0,"26f1":0,"1f3d6":0,"1f3dd":0,"1f3dc":0,"1f30b":0,"26f0":0,"1f3d4":0,"1f5fb":0,"1f3d5":0,"26fa":0,"1f3e0":0,"1f3e1":0,"1f3d8":0,"1f3da":0,"1f3d7":0,"1f3ed":0,"1f3e2":0,"1f3ec":0,"1f3e3":0,"1f3e4":0,"1f3e5":0,"1f3e6":0,"1f3e8":0,"1f3ea":0,"1f3eb":0,"1f3e9":0,"1f492":0,"1f3db":0,"26ea":0,"1f54c":0,"1f54d":0,"1f54b":0,"26e9":0,"1f6e4":0,"1f6e3":0,"1f5fe":0,"1f391":0,"1f3de":0,"1f305":0,"1f304":0,"1f320":0,"1f387":0,"1f386":0,"1f9e8":0,"1f307":0,"1f306":0,"1f3d9":0,"1f303":0,"1f30c":0,"1f309":0,"1f512":0,"1f513":0,"1f301":0,"1f3f3":{"e":1,"s":{"fe0f":{"e":0,"s":{"200d":{"e":0,"s":{"1f308":0}}}}}},"1f3f4":{"e":1,"s":{"200d":{"e":0,"s":{"2620":{"e":0,"s":{"fe0f":0}}}},"e0067":{"e":1,"s":{"e0062":{"e":1,"s":{"e0065":{"e":0,"s":{"e006e":{"e":0,"s":{"e0067":{"e":0,"s":{"e007f":0}}}}}},"e0073":{"e":0,"s":{"e0063":{"e":0,"s":{"e0074":{"e":0,"s":{"e007f":0}}}}}},"e0077":{"e":0,"s":{"e006c":{"e":0,"s":{"e0073":{"e":0,"s":{"e007f":0}}}}}}}}}}}},"1f3c1":0,"1f6a9":0,"1f38c":0,"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}}')}},__webpack_module_cache__={};function __webpack_require__(e){if(__webpack_module_cache__[e])return __webpack_module_cache__[e].exports;var t=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(t.exports,t,t.exports,__webpack_require__),t.exports}return __webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);__webpack_require__.r(n);var i={};if(2&t&&"object"==typeof e&&e)for(const t in e)i[t]=()=>e[t];return i.default=()=>e,__webpack_require__.d(n,i),n},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__(293)})()}));
35
  * (c) 2020 kazuya kawaguchi
36
  * Released under the MIT License.
37
  */
38
+ var va=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"];function ya(e,t){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+e),t&&console.warn(t.stack))}var Aa=Array.isArray;function wa(e){return null!==e&&"object"==typeof e}function _a(e){return"string"==typeof e}var Ca=Object.prototype.toString;function Sa(e){return"[object Object]"===Ca.call(e)}function Ea(e){return null==e}function Oa(e){return"function"==typeof e}function xa(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=null,i=null;return 1===e.length?wa(e[0])||Aa(e[0])?i=e[0]:"string"==typeof e[0]&&(n=e[0]):2===e.length&&("string"==typeof e[0]&&(n=e[0]),(wa(e[1])||Aa(e[1]))&&(i=e[1])),{locale:n,params:i}}function Ia(e){return JSON.parse(JSON.stringify(e))}function Ta(e,t){return!!~e.indexOf(t)}var Ma=Object.prototype.hasOwnProperty;function Na(e,t){return Ma.call(e,t)}function ka(e){for(var t=arguments,n=Object(e),i=1;i<arguments.length;i++){var s=t[i];if(null!=s){var r=void 0;for(r in s)Na(s,r)&&(wa(s[r])?n[r]=ka(n[r],s[r]):n[r]=s[r])}}return n}function Ra(e,t){if(e===t)return!0;var n=wa(e),i=wa(t);if(!n||!i)return!n&&!i&&String(e)===String(t);try{var s=Aa(e),r=Aa(t);if(s&&r)return e.length===t.length&&e.every((function(e,n){return Ra(e,t[n])}));if(s||r)return!1;var o=Object.keys(e),a=Object.keys(t);return o.length===a.length&&o.every((function(n){return Ra(e[n],t[n])}))}catch(e){return!1}}function Fa(e){return null!=e&&Object.keys(e).forEach((function(t){"string"==typeof e[t]&&(e[t]=e[t].replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"))})),e}var Da={beforeCreate:function(){var e=this.$options;if(e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n)if(e.i18n instanceof fl){if(e.__i18n)try{var t=e.i18n&&e.i18n.messages?e.i18n.messages:{};e.__i18n.forEach((function(e){t=ka(t,JSON.parse(e))})),Object.keys(t).forEach((function(n){e.i18n.mergeLocaleMessage(n,t[n])}))}catch(e){0}this._i18n=e.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(Sa(e.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof fl?this.$root.$i18n:null;if(n&&(e.i18n.root=this.$root,e.i18n.formatter=n.formatter,e.i18n.fallbackLocale=n.fallbackLocale,e.i18n.formatFallbackMessages=n.formatFallbackMessages,e.i18n.silentTranslationWarn=n.silentTranslationWarn,e.i18n.silentFallbackWarn=n.silentFallbackWarn,e.i18n.pluralizationRules=n.pluralizationRules,e.i18n.preserveDirectiveContent=n.preserveDirectiveContent),e.__i18n)try{var i=e.i18n&&e.i18n.messages?e.i18n.messages:{};e.__i18n.forEach((function(e){i=ka(i,JSON.parse(e))})),e.i18n.messages=i}catch(e){0}var s=e.i18n.sharedMessages;s&&Sa(s)&&(e.i18n.messages=ka(e.i18n.messages,s)),this._i18n=new fl(e.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===e.i18n.sync||e.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof fl?this._i18n=this.$root.$i18n:e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof fl&&(this._i18n=e.parent.$i18n)},beforeMount:function(){var e=this.$options;e.i18n=e.i18n||(e.__i18n?{}:null),e.i18n?(e.i18n instanceof fl||Sa(e.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof fl||e.parent&&e.parent.$i18n&&e.parent.$i18n instanceof fl)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var e=this;this.$nextTick((function(){e._subscribing&&(e._i18n.unsubscribeDataChanging(e),delete e._subscribing),e._i18nWatcher&&(e._i18nWatcher(),e._i18n.destroyVM(),delete e._i18nWatcher),e._localeWatcher&&(e._localeWatcher(),delete e._localeWatcher)}))}}},Pa={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(e,t){var n=t.data,i=t.parent,s=t.props,r=t.slots,o=i.$i18n;if(o){var a=s.path,l=s.locale,c=s.places,f=r(),u=o.i(a,l,function(e){var t;for(t in e)if("default"!==t)return!1;return Boolean(t)}(f)||c?function(e,t){var n=t?function(e){0;return Array.isArray(e)?e.reduce(La,{}):Object.assign({},e)}(t):{};if(!e)return n;var i=(e=e.filter((function(e){return e.tag||""!==e.text.trim()}))).every(ja);0;return e.reduce(i?Ba:La,n)}(f.default,c):f),d=s.tag&&!0!==s.tag||!1===s.tag?s.tag:"span";return d?e(d,n,u):u}}};function Ba(e,t){return t.data&&t.data.attrs&&t.data.attrs.place&&(e[t.data.attrs.place]=t),e}function La(e,t,n){return e[n]=t,e}function ja(e){return Boolean(e.data&&e.data.attrs&&e.data.attrs.place)}var Ua,za={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,t){var n=t.props,i=t.parent,s=t.data,r=i.$i18n;if(!r)return null;var o=null,a=null;_a(n.format)?o=n.format:wa(n.format)&&(n.format.key&&(o=n.format.key),a=Object.keys(n.format).reduce((function(e,t){var i;return Ta(va,t)?Object.assign({},e,((i={})[t]=n.format[t],i)):e}),null));var l=n.locale||r.locale,c=r._ntp(n.value,l,o,a),f=c.map((function(e,t){var n,i=s.scopedSlots&&s.scopedSlots[e.type];return i?i(((n={})[e.type]=e.value,n.index=t,n.parts=c,n)):e.value})),u=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return u?e(u,{attrs:s.attrs,class:s.class,staticClass:s.staticClass},f):f}};function qa(e,t,n){Wa(e,n)&&$a(e,t,n)}function Va(e,t,n,i){if(Wa(e,n)){var s=n.context.$i18n;(function(e,t){var n=t.context;return e._locale===n.$i18n.locale})(e,n)&&Ra(t.value,t.oldValue)&&Ra(e._localeMessage,s.getLocaleMessage(s.locale))||$a(e,t,n)}}function Ga(e,t,n,i){if(n.context){var s=n.context.$i18n||{};t.modifiers.preserve||s.preserveDirectiveContent||(e.textContent=""),e._vt=void 0,delete e._vt,e._locale=void 0,delete e._locale,e._localeMessage=void 0,delete e._localeMessage}else ya("Vue instance does not exists in VNode context")}function Wa(e,t){var n=t.context;return n?!!n.$i18n||(ya("VueI18n instance does not exists in Vue instance"),!1):(ya("Vue instance does not exists in VNode context"),!1)}function $a(e,t,n){var i,s,r=function(e){var t,n,i,s;_a(e)?t=e:Sa(e)&&(t=e.path,n=e.locale,i=e.args,s=e.choice);return{path:t,locale:n,args:i,choice:s}}(t.value),o=r.path,a=r.locale,l=r.args,c=r.choice;if(o||a||l)if(o){var f=n.context;e._vt=e.textContent=null!=c?(i=f.$i18n).tc.apply(i,[o,c].concat(Ha(a,l))):(s=f.$i18n).t.apply(s,[o].concat(Ha(a,l))),e._locale=f.$i18n.locale,e._localeMessage=f.$i18n.getLocaleMessage(f.$i18n.locale)}else ya("`path` is required in v-t directive");else ya("value type not supported")}function Ha(e,t){var n=[];return e&&n.push(e),t&&(Array.isArray(t)||Sa(t))&&n.push(t),n}function Qa(e){Qa.installed=!0;(Ua=e).version&&Number(Ua.version.split(".")[0]);(function(e){e.prototype.hasOwnProperty("$i18n")||Object.defineProperty(e.prototype,"$i18n",{get:function(){return this._i18n}}),e.prototype.$t=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[e,i.locale,i._getMessages(),this].concat(t))},e.prototype.$tc=function(e,t){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var s=this.$i18n;return s._tc.apply(s,[e,s.locale,s._getMessages(),this,t].concat(n))},e.prototype.$te=function(e,t){var n=this.$i18n;return n._te(e,n.locale,n._getMessages(),t)},e.prototype.$d=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this.$i18n).d.apply(t,[e].concat(n))},e.prototype.$n=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this.$i18n).n.apply(t,[e].concat(n))}})(Ua),Ua.mixin(Da),Ua.directive("t",{bind:qa,update:Va,unbind:Ga}),Ua.component(Pa.name,Pa),Ua.component(za.name,za),Ua.config.optionMergeStrategies.i18n=function(e,t){return void 0===t?e:t}}var Ya=function(){this._caches=Object.create(null)};Ya.prototype.interpolate=function(e,t){if(!t)return[e];var n=this._caches[e];return n||(n=function(e){var t=[],n=0,i="";for(;n<e.length;){var s=e[n++];if("{"===s){i&&t.push({type:"text",value:i}),i="";var r="";for(s=e[n++];void 0!==s&&"}"!==s;)r+=s,s=e[n++];var o="}"===s,a=Xa.test(r)?"list":o&&Ka.test(r)?"named":"unknown";t.push({value:r,type:a})}else"%"===s?"{"!==e[n]&&(i+=s):i+=s}return i&&t.push({type:"text",value:i}),t}(e),this._caches[e]=n),function(e,t){var n=[],i=0,s=Array.isArray(t)?"list":wa(t)?"named":"unknown";if("unknown"===s)return n;for(;i<e.length;){var r=e[i];switch(r.type){case"text":n.push(r.value);break;case"list":n.push(t[parseInt(r.value,10)]);break;case"named":"named"===s&&n.push(t[r.value]);break;case"unknown":0}i++}return n}(n,t)};var Xa=/^(?:\d)+/,Ka=/^(?:\w)+/;var Za=[];Za[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},Za[1]={ws:[1],".":[2],"[":[4],eof:[7]},Za[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},Za[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},Za[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},Za[5]={"'":[4,0],eof:8,else:[5,0]},Za[6]={'"':[4,0],eof:8,else:[6,0]};var Ja=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function el(e){if(null==e)return"eof";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function tl(e){var t,n,i,s=e.trim();return("0"!==e.charAt(0)||!isNaN(e))&&(i=s,Ja.test(i)?(n=(t=s).charCodeAt(0))!==t.charCodeAt(t.length-1)||34!==n&&39!==n?t:t.slice(1,-1):"*"+s)}var nl=function(){this._cache=Object.create(null)};nl.prototype.parsePath=function(e){var t=this._cache[e];return t||(t=function(e){var t,n,i,s,r,o,a,l=[],c=-1,f=0,u=0,d=[];function h(){var t=e[c+1];if(5===f&&"'"===t||6===f&&'"'===t)return c++,i="\\"+t,d[0](),!0}for(d[1]=function(){void 0!==n&&(l.push(n),n=void 0)},d[0]=function(){void 0===n?n=i:n+=i},d[2]=function(){d[0](),u++},d[3]=function(){if(u>0)u--,f=4,d[0]();else{if(u=0,void 0===n)return!1;if(!1===(n=tl(n)))return!1;d[1]()}};null!==f;)if(c++,"\\"!==(t=e[c])||!h()){if(s=el(t),8===(r=(a=Za[f])[s]||a.else||8))return;if(f=r[0],(o=d[r[1]])&&(i=void 0===(i=r[2])?t:i,!1===o()))return;if(7===f)return l}}(e))&&(this._cache[e]=t),t||[]},nl.prototype.getPathValue=function(e,t){if(!wa(e))return null;var n=this.parsePath(t);if(0===n.length)return null;for(var i=n.length,s=e,r=0;r<i;){var o=s[n[r]];if(void 0===o)return null;s=o,r++}return s};var il,sl=/<\/?[\w\s="/.':;#-\/]+>/,rl=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,ol=/^@(?:\.([a-z]+))?:/,al=/[()]/g,ll={upper:function(e){return e.toLocaleUpperCase()},lower:function(e){return e.toLocaleLowerCase()},capitalize:function(e){return""+e.charAt(0).toLocaleUpperCase()+e.substr(1)}},cl=new Ya,fl=function(e){var t=this;void 0===e&&(e={}),!Ua&&"undefined"!=typeof window&&window.Vue&&Qa(window.Vue);var n=e.locale||"en-US",i=!1!==e.fallbackLocale&&(e.fallbackLocale||"en-US"),s=e.messages||{},r=e.dateTimeFormats||{},o=e.numberFormats||{};this._vm=null,this._formatter=e.formatter||cl,this._modifiers=e.modifiers||{},this._missing=e.missing||null,this._root=e.root||null,this._sync=void 0===e.sync||!!e.sync,this._fallbackRoot=void 0===e.fallbackRoot||!!e.fallbackRoot,this._formatFallbackMessages=void 0!==e.formatFallbackMessages&&!!e.formatFallbackMessages,this._silentTranslationWarn=void 0!==e.silentTranslationWarn&&e.silentTranslationWarn,this._silentFallbackWarn=void 0!==e.silentFallbackWarn&&!!e.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new nl,this._dataListeners=[],this._componentInstanceCreatedListener=e.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==e.preserveDirectiveContent&&!!e.preserveDirectiveContent,this.pluralizationRules=e.pluralizationRules||{},this._warnHtmlInMessage=e.warnHtmlInMessage||"off",this._postTranslation=e.postTranslation||null,this._escapeParameterHtml=e.escapeParameterHtml||!1,this.getChoiceIndex=function(e,n){var i=Object.getPrototypeOf(t);if(i&&i.getChoiceIndex)return i.getChoiceIndex.call(t,e,n);var s,r;return t.locale in t.pluralizationRules?t.pluralizationRules[t.locale].apply(t,[e,n]):(s=e,r=n,s=Math.abs(s),2===r?s?s>1?1:0:1:s?Math.min(s,2):0)},this._exist=function(e,n){return!(!e||!n)&&(!Ea(t._path.getPathValue(e,n))||!!e[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(s).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,s[e])})),this._initVM({locale:n,fallbackLocale:i,messages:s,dateTimeFormats:r,numberFormats:o})},ul={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};fl.prototype._checkLocaleMessage=function(e,t,n){var i=function(e,t,n,s){if(Sa(n))Object.keys(n).forEach((function(r){var o=n[r];Sa(o)?(s.push(r),s.push("."),i(e,t,o,s),s.pop(),s.pop()):(s.push(r),i(e,t,o,s),s.pop())}));else if(Aa(n))n.forEach((function(n,r){Sa(n)?(s.push("["+r+"]"),s.push("."),i(e,t,n,s),s.pop(),s.pop()):(s.push("["+r+"]"),i(e,t,n,s),s.pop())}));else if(_a(n)){if(sl.test(n)){var r="Detected HTML in message '"+n+"' of keypath '"+s.join("")+"' at '"+t+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===e?ya(r):"error"===e&&function(e,t){"undefined"!=typeof console&&(console.error("[vue-i18n] "+e),t&&console.error(t.stack))}(r)}}};i(t,e,n,[])},fl.prototype._initVM=function(e){var t=Ua.config.silent;Ua.config.silent=!0,this._vm=new Ua({data:e}),Ua.config.silent=t},fl.prototype.destroyVM=function(){this._vm.$destroy()},fl.prototype.subscribeDataChanging=function(e){this._dataListeners.push(e)},fl.prototype.unsubscribeDataChanging=function(e){!function(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)e.splice(n,1)}}(this._dataListeners,e)},fl.prototype.watchI18nData=function(){var e=this;return this._vm.$watch("$data",(function(){for(var t=e._dataListeners.length;t--;)Ua.nextTick((function(){e._dataListeners[t]&&e._dataListeners[t].$forceUpdate()}))}),{deep:!0})},fl.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var e=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){e.$set(e,"locale",t),e.$forceUpdate()}),{immediate:!0})},fl.prototype.onComponentInstanceCreated=function(e){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(e,this)},ul.vm.get=function(){return this._vm},ul.messages.get=function(){return Ia(this._getMessages())},ul.dateTimeFormats.get=function(){return Ia(this._getDateTimeFormats())},ul.numberFormats.get=function(){return Ia(this._getNumberFormats())},ul.availableLocales.get=function(){return Object.keys(this.messages).sort()},ul.locale.get=function(){return this._vm.locale},ul.locale.set=function(e){this._vm.$set(this._vm,"locale",e)},ul.fallbackLocale.get=function(){return this._vm.fallbackLocale},ul.fallbackLocale.set=function(e){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",e)},ul.formatFallbackMessages.get=function(){return this._formatFallbackMessages},ul.formatFallbackMessages.set=function(e){this._formatFallbackMessages=e},ul.missing.get=function(){return this._missing},ul.missing.set=function(e){this._missing=e},ul.formatter.get=function(){return this._formatter},ul.formatter.set=function(e){this._formatter=e},ul.silentTranslationWarn.get=function(){return this._silentTranslationWarn},ul.silentTranslationWarn.set=function(e){this._silentTranslationWarn=e},ul.silentFallbackWarn.get=function(){return this._silentFallbackWarn},ul.silentFallbackWarn.set=function(e){this._silentFallbackWarn=e},ul.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},ul.preserveDirectiveContent.set=function(e){this._preserveDirectiveContent=e},ul.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},ul.warnHtmlInMessage.set=function(e){var t=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=e,n!==e&&("warn"===e||"error"===e)){var i=this._getMessages();Object.keys(i).forEach((function(e){t._checkLocaleMessage(e,t._warnHtmlInMessage,i[e])}))}},ul.postTranslation.get=function(){return this._postTranslation},ul.postTranslation.set=function(e){this._postTranslation=e},fl.prototype._getMessages=function(){return this._vm.messages},fl.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},fl.prototype._getNumberFormats=function(){return this._vm.numberFormats},fl.prototype._warnDefault=function(e,t,n,i,s,r){if(!Ea(n))return n;if(this._missing){var o=this._missing.apply(null,[e,t,i,s]);if(_a(o))return o}else 0;if(this._formatFallbackMessages){var a=xa.apply(void 0,s);return this._render(t,r,a.params,t)}return t},fl.prototype._isFallbackRoot=function(e){return!e&&!Ea(this._root)&&this._fallbackRoot},fl.prototype._isSilentFallbackWarn=function(e){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(e):this._silentFallbackWarn},fl.prototype._isSilentFallback=function(e,t){return this._isSilentFallbackWarn(t)&&(this._isFallbackRoot()||e!==this.fallbackLocale)},fl.prototype._isSilentTranslationWarn=function(e){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(e):this._silentTranslationWarn},fl.prototype._interpolate=function(e,t,n,i,s,r,o){if(!t)return null;var a,l=this._path.getPathValue(t,n);if(Aa(l)||Sa(l))return l;if(Ea(l)){if(!Sa(t))return null;if(!_a(a=t[n])&&!Oa(a))return null}else{if(!_a(l)&&!Oa(l))return null;a=l}return _a(a)&&(a.indexOf("@:")>=0||a.indexOf("@.")>=0)&&(a=this._link(e,t,a,i,"raw",r,o)),this._render(a,s,r,n)},fl.prototype._link=function(e,t,n,i,s,r,o){var a=n,l=a.match(rl);for(var c in l)if(l.hasOwnProperty(c)){var f=l[c],u=f.match(ol),d=u[0],h=u[1],p=f.replace(d,"").replace(al,"");if(Ta(o,p))return a;o.push(p);var m=this._interpolate(e,t,p,i,"raw"===s?"string":s,"raw"===s?void 0:r,o);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var g=this._root.$i18n;m=g._translate(g._getMessages(),g.locale,g.fallbackLocale,p,i,s,r)}m=this._warnDefault(e,p,m,i,Aa(r)?r:[r],s),this._modifiers.hasOwnProperty(h)?m=this._modifiers[h](m):ll.hasOwnProperty(h)&&(m=ll[h](m)),o.pop(),a=m?a.replace(f,m):a}return a},fl.prototype._createMessageContext=function(e){var t=Aa(e)?e:[],n=wa(e)?e:{};return{list:function(e){return t[e]},named:function(e){return n[e]}}},fl.prototype._render=function(e,t,n,i){if(Oa(e))return e(this._createMessageContext(n));var s=this._formatter.interpolate(e,n,i);return s||(s=cl.interpolate(e,n,i)),"string"!==t||_a(s)?s:s.join("")},fl.prototype._appendItemToChain=function(e,t,n){var i=!1;return Ta(e,t)||(i=!0,t&&(i="!"!==t[t.length-1],t=t.replace(/!/g,""),e.push(t),n&&n[t]&&(i=n[t]))),i},fl.prototype._appendLocaleToChain=function(e,t,n){var i,s=t.split("-");do{var r=s.join("-");i=this._appendItemToChain(e,r,n),s.splice(-1,1)}while(s.length&&!0===i);return i},fl.prototype._appendBlockToChain=function(e,t,n){for(var i=!0,s=0;s<t.length&&"boolean"==typeof i;s++){var r=t[s];_a(r)&&(i=this._appendLocaleToChain(e,r,n))}return i},fl.prototype._getLocaleChain=function(e,t){if(""===e)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[e];if(!n){t||(t=this.fallbackLocale),n=[];for(var i,s=[e];Aa(s);)s=this._appendBlockToChain(n,s,t);(s=_a(i=Aa(t)?t:wa(t)?t.default?t.default:null:t)?[i]:i)&&this._appendBlockToChain(n,s,null),this._localeChainCache[e]=n}return n},fl.prototype._translate=function(e,t,n,i,s,r,o){for(var a,l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var f=l[c];if(!Ea(a=this._interpolate(f,e[f],i,s,r,o,[i])))return a}return null},fl.prototype._t=function(e,t,n,i){for(var s,r=[],o=arguments.length-4;o-- >0;)r[o]=arguments[o+4];if(!e)return"";var a=xa.apply(void 0,r);this._escapeParameterHtml&&(a.params=Fa(a.params));var l=a.locale||t,c=this._translate(n,l,this.fallbackLocale,e,i,"string",a.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(s=this._root).$t.apply(s,[e].concat(r))}return c=this._warnDefault(l,e,c,i,r,"string"),this._postTranslation&&null!=c&&(c=this._postTranslation(c,e)),c},fl.prototype.t=function(e){for(var t,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(t=this)._t.apply(t,[e,this.locale,this._getMessages(),null].concat(n))},fl.prototype._i=function(e,t,n,i,s){var r=this._translate(n,t,this.fallbackLocale,e,i,"raw",s);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(e,t,s)}return this._warnDefault(t,e,r,i,[s],"raw")},fl.prototype.i=function(e,t,n){return e?(_a(t)||(t=this.locale),this._i(e,t,this._getMessages(),null,n)):""},fl.prototype._tc=function(e,t,n,i,s){for(var r,o=[],a=arguments.length-5;a-- >0;)o[a]=arguments[a+5];if(!e)return"";void 0===s&&(s=1);var l={count:s,n:s},c=xa.apply(void 0,o);return c.params=Object.assign(l,c.params),o=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((r=this)._t.apply(r,[e,t,n,i].concat(o)),s)},fl.prototype.fetchChoice=function(e,t){if(!e||!_a(e))return null;var n=e.split("|");return n[t=this.getChoiceIndex(t,n.length)]?n[t].trim():e},fl.prototype.tc=function(e,t){for(var n,i=[],s=arguments.length-2;s-- >0;)i[s]=arguments[s+2];return(n=this)._tc.apply(n,[e,this.locale,this._getMessages(),null,t].concat(i))},fl.prototype._te=function(e,t,n){for(var i=[],s=arguments.length-3;s-- >0;)i[s]=arguments[s+3];var r=xa.apply(void 0,i).locale||t;return this._exist(n[r],e)},fl.prototype.te=function(e,t){return this._te(e,this.locale,this._getMessages(),t)},fl.prototype.getLocaleMessage=function(e){return Ia(this._vm.messages[e]||{})},fl.prototype.setLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,t)},fl.prototype.mergeLocaleMessage=function(e,t){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(e,this._warnHtmlInMessage,t),this._vm.$set(this._vm.messages,e,ka({},this._vm.messages[e]||{},t))},fl.prototype.getDateTimeFormat=function(e){return Ia(this._vm.dateTimeFormats[e]||{})},fl.prototype.setDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,t),this._clearDateTimeFormat(e,t)},fl.prototype.mergeDateTimeFormat=function(e,t){this._vm.$set(this._vm.dateTimeFormats,e,ka(this._vm.dateTimeFormats[e]||{},t)),this._clearDateTimeFormat(e,t)},fl.prototype._clearDateTimeFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},fl.prototype._localizeDateTime=function(e,t,n,i,s){for(var r=t,o=i[r],a=this._getLocaleChain(t,n),l=0;l<a.length;l++){var c=a[l];if(r=c,!Ea(o=i[c])&&!Ea(o[s]))break}if(Ea(o)||Ea(o[s]))return null;var f=o[s],u=r+"__"+s,d=this._dateTimeFormatters[u];return d||(d=this._dateTimeFormatters[u]=new Intl.DateTimeFormat(r,f)),d.format(e)},fl.prototype._d=function(e,t,n){if(!n)return new Intl.DateTimeFormat(t).format(e);var i=this._localizeDateTime(e,t,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(e,n,t)}return i||""},fl.prototype.d=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.locale,s=null;return 1===t.length?_a(t[0])?s=t[0]:wa(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(s=t[0].key)):2===t.length&&(_a(t[0])&&(s=t[0]),_a(t[1])&&(i=t[1])),this._d(e,i,s)},fl.prototype.getNumberFormat=function(e){return Ia(this._vm.numberFormats[e]||{})},fl.prototype.setNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,t),this._clearNumberFormat(e,t)},fl.prototype.mergeNumberFormat=function(e,t){this._vm.$set(this._vm.numberFormats,e,ka(this._vm.numberFormats[e]||{},t)),this._clearNumberFormat(e,t)},fl.prototype._clearNumberFormat=function(e,t){for(var n in t){var i=e+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},fl.prototype._getNumberFormatter=function(e,t,n,i,s,r){for(var o=t,a=i[o],l=this._getLocaleChain(t,n),c=0;c<l.length;c++){var f=l[c];if(o=f,!Ea(a=i[f])&&!Ea(a[s]))break}if(Ea(a)||Ea(a[s]))return null;var u,d=a[s];if(r)u=new Intl.NumberFormat(o,Object.assign({},d,r));else{var h=o+"__"+s;(u=this._numberFormatters[h])||(u=this._numberFormatters[h]=new Intl.NumberFormat(o,d))}return u},fl.prototype._n=function(e,t,n,i){if(!fl.availabilities.numberFormat)return"";if(!n)return(i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t)).format(e);var s=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),r=s&&s.format(e);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(e,Object.assign({},{key:n,locale:t},i))}return r||""},fl.prototype.n=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];var i=this.locale,s=null,r=null;return 1===t.length?_a(t[0])?s=t[0]:wa(t[0])&&(t[0].locale&&(i=t[0].locale),t[0].key&&(s=t[0].key),r=Object.keys(t[0]).reduce((function(e,n){var i;return Ta(va,n)?Object.assign({},e,((i={})[n]=t[0][n],i)):e}),null)):2===t.length&&(_a(t[0])&&(s=t[0]),_a(t[1])&&(i=t[1])),this._n(e,i,s,r)},fl.prototype._ntp=function(e,t,n,i){if(!fl.availabilities.numberFormat)return[];if(!n)return(i?new Intl.NumberFormat(t,i):new Intl.NumberFormat(t)).formatToParts(e);var s=this._getNumberFormatter(e,t,this.fallbackLocale,this._getNumberFormats(),n,i),r=s&&s.formatToParts(e);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(e,t,n,i)}return r||[]},Object.defineProperties(fl.prototype,ul),Object.defineProperty(fl,"availabilities",{get:function(){if(!il){var e="undefined"!=typeof Intl;il={dateTimeFormat:e&&void 0!==Intl.DateTimeFormat,numberFormat:e&&void 0!==Intl.NumberFormat}}return il}}),fl.install=Qa,fl.version="8.22.1";const dl=fl,hl=JSON.parse('{"Auth":{"Submit":"Chat","Name":"Name","Email":"Email","OfflineEnterValidEmail":"I\'m sorry, that doesn\'t look like an email address. Can you try again?","FieldValidation":"Required Field","OfflineSubmit":"Send","FieldsReplacement":"Please click \'Chat\' to initiate a chat with an agent","ChatIntro":"Could we have your contact info ?","CloseButton":"Close","PhoneText":"Phone","EnterValidPhone":"Invalid phone number","EnterValidName":"Invalid Name","EnterValidEmail":"Invalid Email","MaxCharactersReached":"Maximum characters reached","AuthEmailMessage":"Could we have your email?","AuthNameMessage":"Could we have your name?","DepartmentMessage":"Please select department"},"Chat":{"TypeYourMessage":"Type your message...","MessageNotDeliveredError":"A network related error occurred. Message not delivered.","TryAgain":" Click here to try again. ","FileError":"Unable to upload selected file.","RateComment":"Tell us your feedback","RateFeedbackRequest":"Do you want to give us more detailed feedback?","RateRequest":"Rate your conversation","UnsupportedFileError":"Selected file isn\'t supported.","OperatorJoined":"Agent %%OPERATOR%% joined the chat"},"Offline":{"OfflineNameMessage":"Could we have your name?","OfflineEmailMessage":"Could we have your email?","CharactersLimit":"Length cannot exceed 50 characters","OfflineFormInvalidEmail":"I\'m sorry, that doesn\'t look like an email address. Can you try again?","OfflineFormInvalidName":"I\'m sorry, the provided name is not valid."},"MessageBox":{"Ok":"OK","TryAgain":"Try again"},"Inputs":{"InviteMessage":"Hello! How can we help you today?","EndingMessage":"Your session is over. Please feel free to contact us again!","NotAllowedError":"Allow microphone access from your browser","NotFoundError":"Microphone not found","ServiceUnavailable":"Service unavailable","UnavailableMessage":"We are away, leave us a message!","OperatorName":"Support","WindowTitle":"Live Chat & Talk","CallTitle":"Call Us","PoweredBy":"Powered By 3CX","OfflineMessagePlaceholder":"Message","OfflineMessageSent":"We\'ll contact you soon.","InvalidIdErrorMessage":"Invalid ID. Contact the Website Admin. ID must match the Click2Talk Friendly Name","IsTyping":"is typing...","NewMessageTitleNotification":"New Message","ChatIsDisabled":"Chat is not available at the moment.","GreetingMessage":"Hey, we\'re here to help!","BlockMessage":"Your session is over because your ip banned by the agent","Dialing":"Dialing","Connected":"Connected","ChatWithUs":"Chat with us"},"ChatCompleted":{"StartNew":"Start New"},"Rate":{"Bad":"Bad","Good":"Good","Neutral":"Neutral","VeryBad":"Very bad","VeryGood":"Very good","GiveFeedback":"Yes","NoFeedback":"No"}}');var pl=n.t(hl,2);const ml=JSON.parse('{"Auth":{"Submit":"Chat","Name":"Nombre","Email":"Correo Electrónico","OfflineEnterValidEmail":"Lo sentimos, eso no parece una dirección de correo. ¿Puede intentarlo de nuevo?","FieldValidation":"Campo requerido","OfflineSubmit":"Enviar","FieldsReplacement":"Por favor, haga clic en \'chat\' para inciciar un chat con un agente","ChatIntro":"¿Podríamos tener su información de contacto?","CloseButton":"Cerrar","PhoneText":"Teléfono","EnterValidPhone":"Número de teléfono inválido","EnterValidName":"Nombre Inválido","EnterValidEmail":"Correo Electrónico Inválido","MaxCharactersReached":"Número máximo de caracteres alcanzado","AuthEmailMessage":"¿Podría decirnos su correo electrónico?","AuthNameMessage":"¿Podría decirnos su nombre?","DepartmentMessage":"Por favor, seleccione el departamento"},"Chat":{"TypeYourMessage":"Escriba su mensaje...","MessageNotDeliveredError":"Se detectó un error relacionado con la red. Mensaje no entregado.","TryAgain":" Haga clic aquí para intentarlo de nuevo. ","FileError":"No es posible subir el archivo seleccionado.","RateComment":"Denos su opinión","RateFeedbackRequest":"¿Quiere darnos un feedback más detallado?","RateRequest":"Califique su conversación","UnsupportedFileError":"El archivo seleccionado no esta sorpotado.","OperatorJoined":"El agente %%OPERATOR%% se unió al chat"},"Offline":{"OfflineNameMessage":"¿Podemos tener su nombre?","OfflineEmailMessage":"¿Podemos tener su correo electrónico?","CharactersLimit":"La extensión no puede ser mayor de 50 caracteres","OfflineFormInvalidEmail":"Lo sentimos, eso no parece una dirección de correo. ¿Puede intentarlo de nuevo?","OfflineFormInvalidName":"Lo sentimos, el nombre proporcionado no es válido."},"MessageBox":{"Ok":"Aceptar","TryAgain":"Intente de nuevo"},"Inputs":{"InviteMessage":"¡Hola! ¿Cómo puedo ayudarle el día de hoy?","EndingMessage":"Su sesión ha terminado. ¡Por favor, no dude en contactarnos de nuevo!","NotAllowedError":"Permitir el acceso a su micrófono por parte del navegador","NotFoundError":"No se encontró un micrófono","ServiceUnavailable":"Servicio no disponible","UnavailableMessage":"Ahora estamos ausentes, ¡Dejenos un mensaje!","OperatorName":"Soporte","WindowTitle":"Live Chat & Talk","CallTitle":"Llámenos","PoweredBy":"Powered By 3CX","OfflineMessagePlaceholder":"Mensaje","OfflineMessageSent":"Nos prondremos en contacto pronto.","InvalidIdErrorMessage":"ID Inválido. Contacte al administrador del Sitio Web. El ID debe ser igual al nombre amistoso de Click2Talk","IsTyping":"está escribiendo...","NewMessageTitleNotification":"Nuevo Mensaje","ChatIsDisabled":"El Chat no está disponible en este momento.","GreetingMessage":"Hola, ¡Estamos aquí para ayudar!","BlockMessage":"Su sesión ha terminado porque su ip ha sido bloqueada por el agente","Dialing":"Llamando","Connected":"Conectado","ChatWithUs":"Chatea con nosotros"},"ChatCompleted":{"StartNew":"Empezar un nuevo Chat"},"Rate":{"Bad":"Malo","Good":"Bueno","Neutral":"Neutral","VeryBad":"Muy malo","VeryGood":"Muy bueno","GiveFeedback":"Sí","NoFeedback":"No"}}');var gl=n.t(ml,2);const bl=JSON.parse('{"Auth":{"Submit":"Chat","Name":"Name","Email":"Email","OfflineEnterValidEmail":"Es tut mir leid, das sieht nicht nach einer E-Mail-Adresse aus. Kannst du es nochmal versuchen?","FieldValidation":"Pflichtfeld","OfflineSubmit":"Senden","FieldsReplacement":"Bitte klicken Sie auf \\"Chat\\", um einen Chat mit einem Agenten zu starten","ChatIntro":"Könnten wir Ihre Kontaktinformationen haben?","CloseButton":"Schließen","PhoneText":"Telefonnummer","EnterValidPhone":"Ungültige Telefonnummer","EnterValidName":"Ungültiger Name","EnterValidEmail":"Ungültige E-Mail","MaxCharactersReached":"Maximal erreichte Zeichen","AuthEmailMessage":"Könnten wir Ihre E-Mail haben?","AuthNameMessage":"Könnten wir Ihren Namen haben?","DepartmentMessage":"Bitte eine Abteilung wählen"},"Chat":{"TypeYourMessage":"Geben Sie Ihre Nachricht ein ...","MessageNotDeliveredError":"Ein Netzwerkfehler ist aufgetreten. Nachricht nicht zugestellt.","TryAgain":" Klicken Sie hier, um es erneut zu versuchen. ","FileError":"Ausgewählte Datei kann nicht hochgeladen werden.","RateComment":"Sagen Sie uns Ihr Feedback","RateFeedbackRequest":"Möchten Sie uns detaillierteres Feedback geben?","RateRequest":"Bewerten Sie Ihr Gespräch","UnsupportedFileError":"Die ausgewählte Datei wird nicht unterstützt.","OperatorJoined":"Agent %%OPERATOR%% ist dem Chat beigetreten"},"Offline":{"OfflineNameMessage":"Könnten wir Ihren Namen haben?","OfflineEmailMessage":"Könnten wir Ihre E-Mail haben?","CharactersLimit":"Die maximale Länge beträgt 50 Zeichen","OfflineFormInvalidEmail":"Es tut mir leid, das sieht nicht nach einer E-Mail-Adresse aus. Können Sie es nochmal versuchen?","OfflineFormInvalidName":"Es tut mir leid, der angegebene Name ist ungültig."},"MessageBox":{"Ok":"OK","TryAgain":"Versuchen Sie es nochmal"},"Inputs":{"InviteMessage":"Hallo! Wie können wir Ihnen weiterhelfen?","EndingMessage":"Ihre Sitzung ist beendet. Bitte zögern Sie nicht, uns erneut zu kontaktieren!","NotAllowedError":"Ermöglichen Sie den Mikrofonzugriff über Ihren Browser","NotFoundError":"Mikrofon nicht gefunden","ServiceUnavailable":"Dienst nicht verfügbar","UnavailableMessage":"Aktuell ist leider kein Agent verfügbar, hinterlassen Sie uns eine Nachricht!","OperatorName":"Unterstützung","WindowTitle":"3CX Live Chat & Talk","CallTitle":"Rufen Sie uns an","PoweredBy":"Powered By 3CX","OfflineMessagePlaceholder":"Nachricht","OfflineMessageSent":"Wir werden uns bald bei Ihnen melden.","InvalidIdErrorMessage":"Ungültige ID. Wenden Sie sich an den Website-Administrator. Die ID muss mit dem Click2Talk-Anzeigenamen übereinstimmen","IsTyping":"tippt...","NewMessageTitleNotification":"Neue Nachricht","ChatIsDisabled":"Der Chat ist momentan nicht verfügbar.","GreetingMessage":"Hey, wir sind hier um zu helfen!","BlockMessage":"Ihre Sitzung ist beendet, da Ihre IP vom Agenten gesperrt wurde","Dialing":"Wählen","Connected":"Verbunden","ChatWithUs":"Chatte mit uns"},"ChatCompleted":{"StartNew":"Neu anfangen"},"Rate":{"Bad":"Schlecht","Good":"Gut","Neutral":"Neutral","VeryBad":"Sehr schlecht","VeryGood":"Sehr gut","GiveFeedback":"Ja","NoFeedback":"Nein"}}');var vl=n.t(bl,2);const yl=JSON.parse('{"Auth":{"Submit":"Chat","Name":"Nom","Email":"Email","EnterValidEmail":"Email invalide","OfflineEnterValidEmail":"Désolé, cela ne ressemble pas à une adresse email. Pouvez-vous réessayer ?","FieldValidation":"Champ obligatoire","OfflineSubmit":"Envoyer","FieldsReplacement":"Cliquez sur \'Chat\' pour commencer une discussion avec un agent","ChatIntro":"Pouvons-nous avoir vos coordonnées ?","CloseButton":"Fermer","PhoneText":"Téléphone","EnterValidPhone":"Numéro de téléphone invalide","EnterValidName":"Nom invalide","MaxCharactersReached":"Nombre maximum de caractères atteint","AuthEmailMessage":"Pourriez-vous nous communiquer votre email ?","AuthNameMessage":"Pourriez-vous nous communiquer votre nom ?","DepartmentMessage":"Veuillez sélectionner un département"},"Chat":{"TypeYourMessage":"Ecrivez votre message...","MessageNotDeliveredError":"Une erreur liée au réseau est survenue. Le message n\'a pas pu être délivré.","TryAgain":" Cliquez ici pour réessayer. ","FileError":"Impossible d\'uploader le fichier sélectionné.","RateComment":"Merci de nous donner votre avis","RateFeedbackRequest":"Souhaitez-vous nous faire part de commentaires plus détaillés ?","RateRequest":"Notez votre conversation","UnsupportedFileError":"Le fichier sélectionné n\'est pas supporté.","OperatorJoined":"L\'agent %%OPERATOR%% a rejoint le chat"},"Offline":{"OfflineNameMessage":"Pourriez-vous nous communiquer votre nom ?","OfflineEmailMessage":"Pourriez-vous nous communiquer votre email ?","CharactersLimit":"La longueur ne peut pas excéder 50 caractères","OfflineFormInvalidEmail":"Désolé, cela ne ressemble pas à une adresse email. Pouvez-vous réessayer ?","OfflineFormInvalidName":"Désolé, le nom fourni n\'est pas valide."},"MessageBox":{"Ok":"OK","TryAgain":"Merci de réessayer"},"Inputs":{"InviteMessage":"Bonjour, comment pouvons-nous vous aider ?","EndingMessage":"Votre session est terminée. N\'hésitez pas à nous recontacter !","NotAllowedError":"Permettre l\'accès au microphone depuis votre navigateur","NotFoundError":"Microphone introuvable","ServiceUnavailable":"Service indisponible","UnavailableMessage":"Nous sommes absents, laissez-nous un message !","OperatorName":"Support","WindowTitle":"Live Chat & Talk","CallTitle":"Appelez-nous","PoweredBy":"Powered By 3CX","OfflineMessagePlaceholder":"Message","OfflineMessageSent":"Nous vous contacterons bientôt.","InvalidIdErrorMessage":"ID invalide. Contactez l\'administrateur de votre site web. L\'ID doit correspondre au pseudonyme Click2Talk","IsTyping":"Est en train d\'écrire...","NewMessageTitleNotification":"Nouveau message","ChatIsDisabled":"Le chat n\'est pas disponible pour le moment.","GreetingMessage":"Bonjour, nous sommes là pour vous aider !","BlockMessage":"Votre chat est terminé car votre IP a été bannie par l\'agent","Dialing":"Appel en cours\\r","Connected":"Connecté","ChatWithUs":"Discutez avec nous"},"ChatCompleted":{"StartNew":"Commencer un nouveau chat"},"Rate":{"Bad":"Mauvais","Good":"Bon","Neutral":"Neutre","VeryBad":"Très mauvais","VeryGood":"Très bon","GiveFeedback":"Oui","NoFeedback":"Non"}}');var Al=n.t(yl,2);const wl=JSON.parse('{"Auth":{"Submit":"Chat","Name":"Nome","Email":"Email","OfflineEnterValidEmail":"Mi spiace ma questo non sembra un indirizzo mail. Puoi riprovare?","FieldValidation":"Campo obbligatorio","OfflineSubmit":"Invia","FieldsReplacement":"Clicca su \'Chat\' per avviare una chat con un agente","ChatIntro":"Possiamo avere i tuoi dati di contatto?","CloseButton":"Chiuso","PhoneText":"Telefono","EnterValidPhone":"Numero di telefono non valido","EnterValidName":"Nome non valida","EnterValidEmail":"Email non valida","MaxCharactersReached":"Numero massimo di caratteri raggiunto","AuthEmailMessage":"Possiamo avere la tua email?","AuthNameMessage":"Possiamo avere il tuo nome?","DepartmentMessage":"Si prega di selezione il dipartimento"},"Chat":{"TypeYourMessage":"Scrivi il tuo messaggio ...","MessageNotDeliveredError":"Si è verificato un errore di rete. Messaggio non consegnato.","TryAgain":" Clicca qui per riprovare. ","FileError":"Impossibile caricare il file selezionato.","RateComment":"Dacci il tuo parere","RateFeedbackRequest":"Vuoi darci un parere più dettagliato?","RateRequest":"Valuta la tua conversazione","UnsupportedFileError":"Il file selezionato non è supportato.","OperatorJoined":"Agente %%OPERATOR%% collegato alla chat"},"Offline":{"OfflineNameMessage":"Possiamo avere il tuo nome?","OfflineEmailMessage":"Possiamo avere la tua email?","CharactersLimit":"Massimo 50 caratteri consentiti","OfflineFormInvalidEmail":"Mi spiace ma questo non sembra un indirizzo mail. Puoi riprovare?","OfflineFormInvalidName":"Il nome fornito non è valido."},"MessageBox":{"Ok":"OK","TryAgain":"Riprova"},"Inputs":{"InviteMessage":"Ciao! Come possiamo aiutarti oggi?","EndingMessage":"La sessione è terminata. Non esitare a contattarci di nuovo!","NotAllowedError":"Consenti l\'accesso al microfono dal tuo browser","NotFoundError":"Microfono non trovato","ServiceUnavailable":"Servizio non disponibile","UnavailableMessage":"Siamo assenti, lasciaci un messaggio!","OperatorName":"Supporto","WindowTitle":"Live Chat & Talk","CallTitle":"Chiamaci","PoweredBy":"Powered By 3CX","OfflineMessagePlaceholder":"Messaggio","OfflineMessageSent":"TI contatteremo al più presto.","InvalidIdErrorMessage":"ID non valido. Contatta l\'amministratore del sito web. L\'ID deve corrispondere al nome Click2Talk","IsTyping":"Sta scrivendo...","NewMessageTitleNotification":"Nuovo Messaggio","ChatIsDisabled":"La Chat non è al momento disponibile.","GreetingMessage":"Ciao, siamo qui per aiutare!","BlockMessage":"La tua sessione è terminata perché il tuo ip è stato bannato dall\'agente","Dialing":"In chiamata","Connected":"Connesso","ChatWithUs":"Chatta con noi"},"ChatCompleted":{"StartNew":"Inizia un nuova chat"},"Rate":{"Bad":"Male","Good":"Bene","Neutral":"Neutrale","VeryBad":"Molto male","VeryGood":"Molto bene","GiveFeedback":"Si","NoFeedback":"No"}}');var _l=n.t(wl,2);const Cl=JSON.parse('{"Auth":{"Submit":"Czat","Name":"Nazwisko","Email":"Email","OfflineEnterValidEmail":"Przykro mi, to nie wygląda jak adres email. Czy możesz spróbować ponownie?","FieldValidation":"Pole wymagane","OfflineSubmit":"Wyślij","FieldsReplacement":"Kliknij \\"Czat\\", aby rozpocząć rozmowę z agentem","ChatIntro":"Czy możemy prosić o Twoje imię i adres e-mail?","CloseButton":"Zamknij","PhoneText":"Telefon","EnterValidPhone":"Nieprawidłowy numer telefonu","EnterValidName":"Nieprawidłowa nazwa","EnterValidEmail":"Nieprawidłowy email","MaxCharactersReached":"Osiągnięto maksimum znaków","AuthEmailMessage":"Czy możesz podać swój email?","AuthNameMessage":"Czy możesz podać swoje imię?","DepartmentMessage":"Wybierz dział"},"Chat":{"TypeYourMessage":"Wpisz swoją wiadomość….","MessageNotDeliveredError":"Błąd sieci. Wiadomość nie dostarczona.","TryAgain":" Kliknij tutaj, aby spróbować ponownie. ","FileError":"Nie można załadować wybranego pliku.","RateComment":"Podziel się swoją opinią","RateFeedbackRequest":"Czy chesz podać nam więcej szczegółów?","RateRequest":"Oceń swoją rozmowę","UnsupportedFileError":"Wybrany plik nie jest wspierany.","OperatorJoined":"Agent %%OPERATOR%% dołączył do czata"},"Offline":{"OfflineNameMessage":"Czy możesz się przedstawić?","OfflineEmailMessage":"Czy możesz podać swój email?","CharactersLimit":"Długość nie może przekraczać 50 znaków","OfflineFormInvalidEmail":"Przykro mi, to nie wygląda jak adres email. Czy możesz spróbować ponownie?","OfflineFormInvalidName":"Przykro mi, podana nazwa jest nieprawidłowa."},"MessageBox":{"Ok":"OK","TryAgain":"Spróbuj ponownie"},"Inputs":{"InviteMessage":"Witaj! Jak możemy Ci dziś pomóc?","EndingMessage":"Twoja sesja się zakończyła. Zapraszamy do ponownego kontaktu!","NotAllowedError":"Zezwól na dostęp do mikrofonu swojej przeglądarce","NotFoundError":"Nie znaleziono mikrofonu","ServiceUnavailable":"Usługa niedostępna","UnavailableMessage":"Nie ma nas, zostaw wiadomość!","OperatorName":"Wsparcie","WindowTitle":"Chat i rozmowa na żywo","CallTitle":"Zadzwoń do nas","PoweredBy":"Wspierane przez 3CX","OfflineMessagePlaceholder":"Wiadomość","OfflineMessageSent":"Wkrótce się z Tobą skontaktujemy.","InvalidIdErrorMessage":"Nieprawidłowe ID. Skontaktuj się z administratorem strony. ID musi odpowiadać Przyjaznej nazwie Click2Talk","IsTyping":"Pisze…","NewMessageTitleNotification":"Nowa wiadomość","ChatIsDisabled":"Czat jest w tym momencie niedostępny.","GreetingMessage":"Cześć, jesteśmy tu żeby pomóc!","BlockMessage":"Sesja zakończyła się gdyż agent zablokował Twój adres IP","Dialing":"Wybieranie","Connected":"Połączony","ChatWithUs":"Czat z nami"},"ChatCompleted":{"StartNew":"Zacznij nowy"},"Rate":{"Bad":"Źle","Good":"Dobrze","Neutral":"Neutralnie","VeryBad":"Bardzo źle","VeryGood":"Bardzo dobrze","GiveFeedback":"Tak","NoFeedback":"Nie"}}');var Sl=n.t(Cl,2);const El=JSON.parse('{"Auth":{"Submit":"Начать чат","Name":"Имя","Email":"E-mail","OfflineEnterValidEmail":"Это не похоже на адрес электронной почты. Можете попробовать еще раз?","FieldValidation":"Необходимое поле","OfflineSubmit":"Отправить","FieldsReplacement":"Нажмите \'Начать чат\', чтобы связаться с оператором","ChatIntro":"Можно узнать ваши контакты?","CloseButton":"Закрыть","PhoneText":"Телефон","EnterValidPhone":"Неверный номер","EnterValidName":"Неверный имя","EnterValidEmail":"Неверный e-mail","MaxCharactersReached":"Достигнуто предельное количество символов","AuthEmailMessage":"Могли бы вы указать ваш e-mail?","AuthNameMessage":"Могли бы вы указать ваше имя?","DepartmentMessage":"Выберите отдел"},"Chat":{"TypeYourMessage":"Введите сообщение...","MessageNotDeliveredError":"Ошибка сети. Сообщение не доставлено.","TryAgain":" Нажмите, чтобы попробовать снова. ","FileError":"Невозможно загрузить выбранный файл.","RateComment":"Оставьте свой отзыв","RateFeedbackRequest":"Хотите оставить подробный отзыв?","RateRequest":"Оцените диалог с оператором","UnsupportedFileError":"Выбранный файл не поддерживается.","OperatorJoined":"Оператор %%OPERATOR%% подключился к чату"},"Offline":{"OfflineNameMessage":"Могли бы вы указать ваше имя?","OfflineEmailMessage":"Могли бы вы указать ваш e-mail?","CharactersLimit":"Длина не должна превышать 50 символов","OfflineFormInvalidEmail":"Это не похоже на адрес электронной почты. Можете попробовать еще раз?","OfflineFormInvalidName":"Вы указали некорректное имя."},"MessageBox":{"Ok":"OK","TryAgain":"Попробуйте снова"},"Inputs":{"InviteMessage":"Здравствуйте! Мы можем вам помочь?","EndingMessage":"Сессия завершена. Свяжитесь с нами, когда будет удобно!","NotAllowedError":"Разрешите доступ браузера к микрофону","NotFoundError":"Микрофон не найден","ServiceUnavailable":"Сервис недоступен","UnavailableMessage":"Сейчас мы не на связи. Пожалуйста, оставьте сообщение!","OperatorName":"Поддержка","WindowTitle":"Live Chat & Talk","CallTitle":"Свяжитесь с нами","PoweredBy":"Заряжено 3CX","OfflineMessagePlaceholder":"Сообщение","OfflineMessageSent":"Мы свяжемся с вами в ближайшее время.","InvalidIdErrorMessage":"Неверный ID. Свяжитесь с администратором сайта. ID должен соответствовать короткому имени в параметрах Click2Talk","IsTyping":"набирает...","NewMessageTitleNotification":"Новое сообщение","ChatIsDisabled":"Чат сейчас недоступен.","GreetingMessage":"Добрый день! Готовы вам помочь!","BlockMessage":"Сессия завершена, поскольку ваш IP-адрес заблокирован оператором","Dialing":"Набор","Connected":"Соединено","ChatWithUs":"Поболтай с нами"},"ChatCompleted":{"StartNew":"Начать новый чат"},"Rate":{"Bad":"Плохо","Good":"Хорошо","Neutral":"Нейтрально","VeryBad":"Очень плохо","VeryGood":"Очень хорошо","GiveFeedback":"Да","NoFeedback":"Нет"}}');var Ol=n.t(El,2);const xl=JSON.parse('{"Auth":{"Submit":"Bate-papo","Name":"Nome","Email":"E-mail","OfflineEnterValidEmail":"Sinto muito, isso não parece ser um endereço de e-mail. Você pode tentar de novo?","FieldValidation":"Campo obrigatório","OfflineSubmit":"Enviar","FieldsReplacement":"Clique em \'Chat\' para iniciar um chat com um agente","ChatIntro":"Você poderia informar suas informações para contato?","CloseButton":"Fechar","PhoneText":"Telefone","EnterValidPhone":"Número de telefone inválido","EnterValidName":"Nome Inválido","EnterValidEmail":"E-mail Inválido","MaxCharactersReached":"Número máximo de caracteres atingido","AuthEmailMessage":"Você pode nos informar seu e-mail?","AuthNameMessage":"Você pode nos informar seu nome?","DepartmentMessage":"Por favor, selecione o departamento"},"Chat":{"TypeYourMessage":"Escreva sua mensagem...","MessageNotDeliveredError":"Ocorreu um erro relacionado à rede. Mensagem não enviada.","TryAgain":" Clique aqui para tentar novamente ","FileError":"Incapaz de carregar o arquivo selecionado.","RateComment":"Dê sua opinião","RateFeedbackRequest":"Você quer nos dar um feedback mais detalhado?","RateRequest":"Avalie sua conversa","UnsupportedFileError":"O arquivo selecionado não é suportado.","OperatorJoined":"Agente %%OPERATOR%% entrou no chat"},"Offline":{"OfflineNameMessage":"Podemos saber o seu nome?","OfflineEmailMessage":"Podemos saber o seu e-mail?","CharactersLimit":"O comprimento não pode exceder 50 caracteres","OfflineFormInvalidEmail":"Sinto muito, isso não parece ser um endereço de e-mail. Você pode tentar de novo?","OfflineFormInvalidName":"Sinto muito, o nome fornecido não é válido."},"MessageBox":{"Ok":"Ok","TryAgain":"Tente novamente"},"Inputs":{"InviteMessage":"Olá! Como podemos te ajudar hoje?","EndingMessage":"Sua sessão terminou. Por favor, sinta-se à vontade para nos contatar novamente!","NotAllowedError":"Permitir acesso ao microfone pelo seu navegador","NotFoundError":"Microfone não encontrado","ServiceUnavailable":"Serviço indisponível","UnavailableMessage":"Estamos fora, deixe-nos uma mensagem!","OperatorName":"Suporte","WindowTitle":"Chat ao vivo","CallTitle":"Entre em contato","PoweredBy":"Desenvolvido Por 3CX","OfflineMessagePlaceholder":"Mensagem","OfflineMessageSent":"Entraremos em contato em breve.","InvalidIdErrorMessage":"ID inválido. Entre em contato com o administrador do site. O ID deve corresponder ao apelido usado no Click2Talk","IsTyping":"Digitando...","NewMessageTitleNotification":"Nova mensagem","ChatIsDisabled":"O chat não está disponível no momento.","GreetingMessage":"Ei, estamos aqui para ajudar!","BlockMessage":"Sua sessão acabou porque seu ip foi banido pelo agente","Dialing":"Discando","Connected":"Conectado","ChatWithUs":"Converse conosco"},"ChatCompleted":{"StartNew":"Começe um novo"},"Rate":{"Bad":"Ruim","Good":"Bom","Neutral":"Neutro","VeryBad":"Muito ruim","VeryGood":"Muito bom","GiveFeedback":"Sim","NoFeedback":"Não"}}');var Il=n.t(xl,2);const Tl=JSON.parse('{"Auth":{"Submit":"聊天","Name":"姓名","Email":"邮箱","OfflineEnterValidEmail":"很抱歉,该地址看起来不像电子邮箱地址。您可以重试吗?","FieldValidation":"必填字段","OfflineSubmit":"发送","FieldsReplacement":"请点击 \\"聊天\\",开始与坐席交谈","ChatIntro":"能给我们您的联系方式吗?","CloseButton":"关闭","PhoneText":"电话","EnterValidPhone":"无效的电话号码","EnterValidName":"名称无效","EnterValidEmail":"无效的邮箱","MaxCharactersReached":"已达到最大字符限制","AuthEmailMessage":"能告诉我们您的邮箱吗?","AuthNameMessage":"能告诉我们您的姓名吗?","DepartmentMessage":"请选择部门"},"Chat":{"TypeYourMessage":"输入您的消息...","MessageNotDeliveredError":"发生网络相关错误。信息未送达。","TryAgain":" 点击此处再试一次 ","FileError":"无法上传所选文件。","RateComment":"告诉我们您的反馈","RateFeedbackRequest":"您是否想给我们更详细的反馈?","RateRequest":"为您的对话评分","UnsupportedFileError":"不支持所选文件。","OperatorJoined":"坐席%%OPERATOR%% 加入聊天"},"Offline":{"OfflineNameMessage":"能告诉我们您的名字吗?","OfflineEmailMessage":"能告诉我们您的电子邮箱吗?","CharactersLimit":"长度不能超过50个字符","OfflineFormInvalidEmail":"很抱歉,该地址看起来不像电子邮箱地址。您可以重试吗?","OfflineFormInvalidName":"抱歉,您提供的名字无效。"},"MessageBox":{"Ok":"OK","TryAgain":"再次尝试"},"Inputs":{"InviteMessage":"您好!请问有什么可以帮到您的?","EndingMessage":"您的会话结束了。请随时与我们联系!","NotAllowedError":"允许通过浏览器访问麦克风","NotFoundError":"未发现麦克风","ServiceUnavailable":"服务不可用","UnavailableMessage":"我们不在线,给我们留言吧!","OperatorName":"支持","WindowTitle":"在线聊天和通话","CallTitle":"致电我们","PoweredBy":"由3CX提供支持","OfflineMessagePlaceholder":"留言信息","OfflineMessageSent":"我们会尽快与您联系。","InvalidIdErrorMessage":"无效的ID。联系网站管理员。ID必须与Click2Talk友好名称匹配","IsTyping":"正在输入...","NewMessageTitleNotification":"新消息","ChatIsDisabled":"在线聊天暂不可用。","GreetingMessage":"嘿,很高兴为您服务!","BlockMessage":"你的会话已经结束,因为你的IP被坐席禁止了","Dialing":"拨号","Connected":"已连接","ChatWithUs":"与我们聊天"},"ChatCompleted":{"StartNew":"开始新的聊天"},"Rate":{"Bad":"差","Good":"好","Neutral":"一般","VeryBad":"非常差","VeryGood":"非常好","GiveFeedback":"是","NoFeedback":"否"}}');var Ml=n.t(Tl,2);Xs.use(dl);const Nl=new dl({locale:"en",messages:{en:pl,es:gl,de:vl,fr:Al,it:_l,pl:Sl,ru:Ol,pt_BR:Il,pt_PT:Il,pt:Il,zh:Ml,zh_CN:Ml}}),kl=e=>t=>t.pipe(jo((t=>t instanceof e)),$r((e=>e))),Rl=(e,t)=>new jr((n=>{t||(t={}),t.headers||(t.headers={}),Object.assign(t.headers,{pragma:"no-cache","cache-control":"no-store"}),fetch(e,t).then((e=>{e.ok?(n.next(e),n.complete()):n.error(e)})).catch((e=>{e instanceof TypeError?n.error("Failed to contact chat service URL. Please check chat URL parameter and ensure CORS requests are allowed from current domain."):n.error(e)}))})),Fl=e=>{const t=new Uint8Array(e),n=ba.decode(t,t.length);return delete n.MessageId,Object.values(n)[0]},Dl=e=>{const t=new URL(window.location.href),n=e.startsWith("http")?e:t.protocol+(e.startsWith("//")?e:"//"+e);return new URL(n)};function Pl(e,t){return e?t?`${e.replace(/\/+$/,"")}/${t.replace(/^\/+/,"")}`:e:t}const Bl=e=>"string"==typeof e?e:e instanceof Error?"NotAllowedError"===e.name?Nl.t("Inputs.NotAllowedError").toString():"NotFoundError"===e.name?Nl.t("Inputs.NotFoundError").toString():e.message:Nl.t("Inputs.ServiceUnavailable").toString(),Ll=(()=>{const e=window.document.title,t=Nl.t("Inputs.NewMessageTitleNotification").toString();let n;const i=()=>{window.document.title=window.document.title===t?e:t},s=()=>{clearInterval(n),window.document.title=e,window.document.onmousemove=null,n=null};return{startBlinkWithStopOnMouseMove(){n||(n=setInterval(i,1e3),window.document.onmousemove=s)},startBlink(){n||(n=setInterval(i,1e3))},stopBlink(){n&&s()}}})(),jl=(e,t=!0)=>{let n="0123456789";n+=t?"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ":"";let i="";for(let t=0;t<e;t+=1)i+=n.charAt(Math.floor(Math.random()*n.length));return i},Ul="https:"===window.location.protocol||window.location.host.startsWith("localhost");function zl(e){return e&&"function"==typeof e.schedule}const ql=e=>t=>{for(let n=0,i=e.length;n<i&&!t.closed;n++)t.next(e[n]);t.complete()};function Vl(e,t){return new jr((n=>{const i=new Nr;let s=0;return i.add(t.schedule((function(){s!==e.length?(n.next(e[s++]),n.closed||i.add(this.schedule())):n.complete()}))),i}))}function Gl(e,t){return t?Vl(e,t):new jr(ql(e))}function Wl(...e){let t=e[e.length-1];return zl(t)?(e.pop(),Vl(e,t)):Gl(e)}const $l="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",Hl=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Ql(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const Yl=e=>{if(e&&"function"==typeof e[Pr])return i=e,e=>{const t=i[Pr]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Hl(e))return ql(e);if(Ql(e))return n=e,e=>(n.then((t=>{e.closed||(e.next(t),e.complete())}),(t=>e.error(t))).then(null,Or),e);if(e&&"function"==typeof e[$l])return t=e,e=>{const n=t[$l]();for(;;){let t;try{t=n.next()}catch(t){return e.error(t),e}if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add((()=>{n.return&&n.return()})),e};{const t=Tr(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,i};function Xl(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[Pr]}(e))return function(e,t){return new jr((n=>{const i=new Nr;return i.add(t.schedule((()=>{const s=e[Pr]();i.add(s.subscribe({next(e){i.add(t.schedule((()=>n.next(e))))},error(e){i.add(t.schedule((()=>n.error(e))))},complete(){i.add(t.schedule((()=>n.complete())))}}))}))),i}))}(e,t);if(Ql(e))return function(e,t){return new jr((n=>{const i=new Nr;return i.add(t.schedule((()=>e.then((e=>{i.add(t.schedule((()=>{n.next(e),i.add(t.schedule((()=>n.complete())))})))}),(e=>{i.add(t.schedule((()=>n.error(e))))}))))),i}))}(e,t);if(Hl(e))return Vl(e,t);if(function(e){return e&&"function"==typeof e[$l]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new jr((n=>{const i=new Nr;let s;return i.add((()=>{s&&"function"==typeof s.return&&s.return()})),i.add(t.schedule((()=>{s=e[$l](),i.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=s.next();e=n.value,t=n.done}catch(e){return void n.error(e)}t?n.complete():(n.next(e),this.schedule())})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function Kl(e,t){return t?Xl(e,t):e instanceof jr?e:new jr(Yl(e))}class Zl extends Fr{constructor(e){super(),this.parent=e}_next(e){this.parent.notifyNext(e)}_error(e){this.parent.notifyError(e),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class Jl extends Fr{notifyNext(e){this.destination.next(e)}notifyError(e){this.destination.error(e)}notifyComplete(){this.destination.complete()}}function ec(e,t){if(!t.closed)return e instanceof jr?e.subscribe(t):Yl(e)(t)}function tc(e,t){return"function"==typeof t?n=>n.pipe(tc(((n,i)=>Kl(e(n,i)).pipe($r(((e,s)=>t(n,e,i,s))))))):t=>t.lift(new nc(e))}class nc{constructor(e){this.project=e}call(e,t){return t.subscribe(new ic(e,this.project))}}class ic extends Jl{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this._innerSub(t)}_innerSub(e){const t=this.innerSubscription;t&&t.unsubscribe();const n=new Zl(this),i=this.destination;i.add(n),this.innerSubscription=ec(e,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=void 0}notifyComplete(){this.innerSubscription=void 0,this.isStopped&&super._complete()}notifyNext(e){this.destination.next(e)}}function sc(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?i=>i.pipe(sc(((n,i)=>Kl(e(n,i)).pipe($r(((e,s)=>t(n,e,i,s))))),n)):("number"==typeof t&&(n=t),t=>t.lift(new rc(e,n)))}class rc{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new oc(e,this.project,this.concurrent))}}class oc extends Jl{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t)}_innerSub(e){const t=new Zl(this),n=this.destination;n.add(t);const i=ec(e,t);i!==t&&n.add(i)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e){this.destination.next(e)}notifyComplete(){const e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function ac(e=Number.POSITIVE_INFINITY){return sc(Br,e)}function lc(...e){return ac(1)(Wl(...e))}function cc(...e){const t=e[e.length-1];return zl(t)?(e.pop(),n=>lc(e,n,t)):t=>lc(e,t)}class fc extends Nr{constructor(e,t){super()}schedule(e,t=0){return this}}class uc extends fc{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,i=void 0;try{this.work(e)}catch(e){n=!0,i=!!e&&e||new Error(e)}if(n)return this.unsubscribe(),i}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}class dc{constructor(e,t=dc.now){this.SchedulerAction=e,this.now=t}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}dc.now=()=>Date.now();class hc extends dc{constructor(e,t=dc.now){super(e,(()=>hc.delegate&&hc.delegate!==this?hc.delegate.now():t())),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return hc.delegate&&hc.delegate!==this?hc.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}const pc=new class extends hc{}(class extends uc{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}),mc=new jr((e=>e.complete()));function gc(e){return e?function(e){return new jr((t=>e.schedule((()=>t.complete()))))}(e):mc}var bc;!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(bc||(bc={}));class vc{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}do(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Wl(this.value);case"E":return Fo(this.error);case"C":return gc()}throw new Error("unexpected notification kind value")}static createNext(e){return void 0!==e?new vc("N",e):vc.undefinedValueNotification}static createError(e){return new vc("E",void 0,e)}static createComplete(){return vc.completeNotification}}vc.completeNotification=new vc("C"),vc.undefinedValueNotification=new vc("N",void 0);class yc extends Fr{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(yc.dispatch,this.delay,new Ac(e,this.destination)))}_next(e){this.scheduleMessage(vc.createNext(e))}_error(e){this.scheduleMessage(vc.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(vc.createComplete()),this.unsubscribe()}}class Ac{constructor(e,t){this.notification=e,this.destination=t}}class wc extends Gr{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){if(!this.isStopped){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift()}super.next(e)}nextTimeWindow(e){this.isStopped||(this._events.push(new _c(this._getNow(),e)),this._trimBufferThenGetEvents()),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,s=n.length;let r;if(this.closed)throw new zr;if(this.isStopped||this.hasError?r=Nr.EMPTY:(this.observers.push(e),r=new qr(this,e)),i&&e.add(e=new yc(e,i)),t)for(let t=0;t<s&&!e.closed;t++)e.next(n[t]);else for(let t=0;t<s&&!e.closed;t++)e.next(n[t].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),r}_getNow(){return(this.scheduler||pc).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,i=this._events,s=i.length;let r=0;for(;r<s&&!(e-i[r].time<n);)r++;return s>t&&(r=Math.max(r,s-t)),r>0&&i.splice(0,r),i}}class _c{constructor(e,t){this.time=e,this.value=t}}function Cc(e,t,n,i){n&&"function"!=typeof n&&(i=n);const s="function"==typeof n?n:void 0,r=new wc(e,t,i);return e=>ro((()=>r),s)(e)}const Sc=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})();function Ec(e){return t=>0===e?gc():t.lift(new Oc(e))}class Oc{constructor(e){if(this.total=e,this.total<0)throw new Sc}call(e,t){return t.subscribe(new xc(e,this.total))}}class xc extends Fr{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}function Ic(e){return function(t){const n=new Tc(e),i=t.lift(n);return n.caught=i}}class Tc{constructor(e){this.selector=e}call(e,t){return t.subscribe(new Mc(e,this.selector,this.caught))}}class Mc extends Jl{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let t;try{t=this.selector(e,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const n=new Zl(this);this.add(n);const i=ec(t,n);i!==n&&this.add(i)}}}class Nc{constructor(e){this.name="",this.emailTag="",this.image="",Object.assign(this,e)}}const kc=new Nc;class Rc{constructor(e,t,n,i,s){this.connect$=new Gr,this.changeOperator$=new Gr,this.chatMessages=[],this.hasSession=!1,this.mySession$=this.connect$.pipe(tc((r=>r&&void 0!==this.auth?s.createMySession(this.auth,t,e,n,i):Wl(Bo()))),cc(Bo()),Cc(1),Jr()),this.onOperatorChange$=this.changeOperator$.pipe(Cc(1),Jr()),this.notificationsOfType$(Nc).subscribe((t=>{""!==t.image&&"AgentGravatar"!==t.image&&(t.image=e+t.image),this.changeOperator$.next(t)})),this.notificationsOfType$(ca).subscribe((t=>{var n,i;t&&t.TakenBy&&(null===(i=null===(n=t.TakenBy)||void 0===n?void 0:n.Contact)||void 0===i?void 0:i.FirstName)&&this.changeOperator$.next({name:t.TakenBy.Contact.FirstName,emailTag:"default",image:void 0!==t.TakenBy.Contact&&""!==t.TakenBy.Contact.ContactImage?e+t.TakenBy.Contact.ContactImage:""})})),this.mySession$.subscribe((e=>{this.hasSession=e.sessionState===Co.Connected}))}closeSession(){this.connect$.next(!1)}reconnect(){this.connect$.next(!0)}setAuthentication(e){this.auth=e}injectAuthenticationName(e){const t=this.auth&&void 0!==this.auth.name?this.auth.name:"";return e.replace("%NAME%",t)}lastMessage(){return this.chatMessages[this.chatMessages.length-1]}clearMessages(){this.chatMessages=[]}notificationsOfType$(e){return this.mySession$.pipe(tc((e=>e.messages$)),kl(e))}notificationsFilter$(e){return this.mySession$.pipe(tc((e=>e.messages$)),jo((t=>t===e)))}get(e,t=!0){return this.mySession$.pipe(Ec(1),tc((e=>e.sessionState!==Co.Connected?(this.reconnect(),this.mySession$.pipe(jo((t=>t!==e)))):Wl(e))),tc((n=>n.get(e,t))),Ic((e=>e instanceof Error&&"NotImplemented"===e.name?Wl(null):Fo(e))),Ec(1))}}var Fc=n(3999);const Dc=e=>Fc.G(e),Pc=e=>/^([^\u0000-\u007F]|[\w\d-_\s])+$/i.test(e),Bc=e=>!e||!!e&&e.length<=200,Lc=(e,t=50)=>!e||!!e&&e.length<=t,jc=e=>Lc(e,254),Uc=(e,t)=>{return(n=e)&&/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/|\/\/)?[a-z0-9.-]+([-.]{1})[a-z0-9]{1,5}(:[0-9]{1,5})?(\/[a-zA-Z0-9-._~:/?#@!$&*=;+%()']*)?$/i.test(n)&&Bc(e)?e:t;var n},zc=(e,t)=>e?t?Lc(e,t)?e:e.substring(0,t):Lc(e,50)?e:e.substring(0,50):"",qc=(e,t)=>Dc(e)&&Bc(e)?e:t,Vc=(e,t)=>{return(n=e)&&/^(https?:\/\/)?((w{3}\.)?)facebook.com\/.*/i.test(n)&&Bc(e)?e:t;var n},Gc=(e,t)=>{return(n=e)&&/^(https?:\/\/)?((w{3}\.)?)twitter.com\/.*/i.test(n)&&Bc(e)?e:t;var n};var Wc=n(5088);class $c{static convertDateToTicks(e){return(e.getTime()-60*e.getTimezoneOffset()*1e3)*this.ticksPerMillisecondInCSharp+this.epochTicks}static convertTicksToDate(e){const t=(e-this.epochTicks)/this.ticksPerMillisecondInCSharp,n=new Date(t);return new Date(n.getTime()+60*n.getTimezoneOffset()*1e3)}static isDoubleByte(e){if(void 0!==e&&null!=e)for(let t=0,n=e.length;t<n;t+=1)if(e.charCodeAt(t)>255)return!0;return!1}static isDesktop(){return!Wc.isMobile||window.innerWidth>600}static decodeHtml(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value}static escapeHtml(e){const t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}static focusElement(e){setTimeout((()=>{e&&e.focus()}),200)}static blurElement(e){setTimeout((()=>{e&&e.blur()}),200)}static popupCenter(e,t,n){const i=void 0!==window.screenLeft?window.screenLeft:window.screenX,s=void 0!==window.screenTop?window.screenTop:window.screenY,r=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:window.screen.width,o=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:window.screen.height,a=r/window.screen.availWidth,l=(r-t)/2/a+i,c=(o-n)/2/a+s;return window.open(e,"_blank",`directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=yes, width=${t}, height=${n}, top=${c}, left=${l}`)}static retrieveHexFromCssColorProperty(e,t,n){const i=this.retrieveCssProperty(e,t),s=$c.colorNameToHex(i);return""!==s?s.replace("#",""):n}static retrieveCssProperty(e,t){let n="";if(e.$root&&e.$root.$el&&e.$root.$el.getRootNode()instanceof ShadowRoot){const i=e.$root.$el.getRootNode();i&&(n=getComputedStyle(i.host).getPropertyValue(t))}return n}static setCssProperty(e,t,n){if(e.$root&&e.$root.$el&&e.$root.$el.getRootNode()instanceof ShadowRoot){const i=e.$root.$el.getRootNode();i&&i.host.style.setProperty(t,n)}}static colorNameToHex(e){const t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return void 0!==t[e.toLowerCase()]?t[e.toLowerCase()]:e}}$c.epochTicks=621355968e9,$c.ticksPerMillisecondInCSharp=1e4,$c.IdGenerator=(()=>{let e=-1;return{getNext:()=>(e<0&&(e=1e5),e+=1,e)}})();var Hc=n(2721);const Qc=new hc(uc);function Yc(e){return!Ir(e)&&e-parseFloat(e)+1>=0}function Xc(e){const{index:t,period:n,subscriber:i}=e;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}function Kc(e){return t=>t.lift(new Zc(e))}class Zc{constructor(e){this.predicate=e}call(e,t){return t.subscribe(new Jc(e,this.predicate))}}class Jc extends Fr{constructor(e,t){super(e),this.predicate=t,this.skipping=!0,this.index=0}_next(e){const t=this.destination;this.skipping&&this.tryCallPredicate(e),this.skipping||t.next(e)}tryCallPredicate(e){try{const t=this.predicate(e,this.index++);this.skipping=Boolean(t)}catch(e){this.destination.error(e)}}}class ef{constructor(){}static init(e){this.getTextHelper().dictionary=e}static getTextHelper(){return void 0===ef.instance&&(ef.instance=new ef),ef.instance}getPropertyValue(e,t){var n;let i=t.find((e=>""!==e&&void 0!==e));return void 0!==this.dictionary&&Object.prototype.hasOwnProperty.call(this.dictionary,e)&&(i=$c.decodeHtml(null!==(n=this.dictionary[e])&&void 0!==n?n:"")),void 0!==i?i:""}}var tf=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let nf=class extends Xs{constructor(){super(...arguments),this.textHelper=ef.getTextHelper(),this.ViewState=So,this.ChatViewMessageType=No}getPropertyValue(e,t){return this.textHelper.getPropertyValue(e,t)}};nf=tf([dr],nf);const sf=nf;class rf extends Gr{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new zr;return this._value}next(e){super.next(this._value=e)}}function of(e){return t=>t.lift(new af(e))}class af{constructor(e){this.notifier=e}call(e,t){const n=new lf(e),i=ec(this.notifier,new Zl(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}class lf extends Jl{constructor(e){super(e),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}class cf{constructor(){this.onError=new Gr,this.onRestored=new Gr,this.onMinimized=new Gr,this.onToggleCollapsed=new Gr,this.onRestart=new Gr,this.onLoaded=new Gr,this.onAnimationActivatedChange=new rf(!0),this.onChatInitiated=new rf(!1),this.onChatCompleted=new Gr,this.onClosed=new Gr,this.onClosed$=this.onClosed.asObservable().pipe(of(this.onChatCompleted)),this.onCallChannelEnable=new Gr,this.onFileUpload=new Gr,this.onClientChatTyping=new Gr,this.onEnableNotification=new Gr,this.onToggleSoundNotification=new Gr,this.onSoundNotification=new Gr,this.onUnattendedMessage=new Gr,this.onAttendChat=new Gr,this.onTriggerFocusInput=new Gr,this.onShowMessage=new Gr,this.onScrollToBottom=new Gr}}class ff{constructor(){this.activeLoaders={},this.key=0}show(e="default"){this.activeLoaders[e]=!0,this.key+=1}hide(e="default"){delete this.activeLoaders[e],this.key+=1}loading(e="default"){return this.activeLoaders[e]}}var uf,df,hf,pf,mf;!function(e){e[e.Name=0]="Name",e[e.Email=1]="Email",e[e.Both=2]="Both",e[e.None=3]="None"}(uf||(uf={})),function(e){e[e.BubbleLeft=0]="BubbleLeft",e[e.BubbleRight=1]="BubbleRight"}(df||(df={})),function(e){e[e.None=0]="None",e[e.FadeIn=1]="FadeIn",e[e.SlideLeft=2]="SlideLeft",e[e.SlideRight=3]="SlideRight",e[e.SlideUp=4]="SlideUp"}(hf||(hf={})),function(e){e[e.Phone=0]="Phone",e[e.WP=1]="WP",e[e.MCU=2]="MCU"}(pf||(pf={})),function(e){e[e.None=0]="None",e[e.Desktop=1]="Desktop",e[e.Mobile=2]="Mobile",e[e.Both=3]="Both"}(mf||(mf={}));var gf=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let bf=class extends(rr(sf)){constructor(){super(),this.preloadOperations=new Gr,this.preloadOperations$=this.preloadOperations.asObservable(),this.channelType=pf.Phone,this.eventBus=new cf,this.loadingService=new ff,Nl.locale=this.lang}beforeMount(){if(function(e=0,t,n){let i=-1;return Yc(t)?i=Number(t)<1?1:Number(t):zl(t)&&(n=t),zl(n)||(n=Qc),new jr((t=>{const s=Yc(e)?e:+e-n.now();return n.schedule(Xc,s,{index:0,period:i,subscriber:t})}))}(0,200).pipe(Kc((e=>""===this.assetsGuid&&e<10)),Ec(1)).subscribe((e=>this.preloadOperations.next(""!==this.assetsGuid))),this.wpUrl.length>0){const e=new URL(this.wpUrl.startsWith("//")?window.location.protocol+this.wpUrl:this.wpUrl),t=document.createElement("script"),n=""!==e.port?":"+e.port:"";t.setAttribute("src",`${e.protocol}//${e.hostname}${n}/wp-content/wplc_data/check.js`),document.head.appendChild(t)}}};gf([vr()],bf.prototype,"currentChannel",void 0),gf([wr()],bf.prototype,"inviteMessage",void 0),gf([wr()],bf.prototype,"endingMessage",void 0),gf([wr({default:""})],bf.prototype,"firstResponseMessage",void 0),gf([wr()],bf.prototype,"unavailableMessage",void 0),gf([wr({default:!1})],bf.prototype,"isPopout",void 0),gf([wr({default:"true"})],bf.prototype,"allowCall",void 0),gf([wr({default:"true"})],bf.prototype,"enableOnmobile",void 0),gf([wr({default:"true"})],bf.prototype,"enable",void 0),gf([wr({default:"true"})],bf.prototype,"allowMinimize",void 0),gf([wr({default:"false"})],bf.prototype,"minimized",void 0),gf([wr({default:"false"})],bf.prototype,"popupWhenOnline",void 0),gf([wr({default:"true"})],bf.prototype,"allowSoundnotifications",void 0),gf([wr({default:"false"})],bf.prototype,"enableMute",void 0),gf([wr({default:""})],bf.prototype,"soundnotificationUrl",void 0),gf([wr({default:""})],bf.prototype,"facebookIntegrationUrl",void 0),gf([wr({default:""})],bf.prototype,"twitterIntegrationUrl",void 0),gf([wr({default:""})],bf.prototype,"emailIntegrationUrl",void 0),gf([wr({default:"bubbleRight"})],bf.prototype,"minimizedStyle",void 0),gf([wr({default:"right"})],bf.prototype,"bubblePosition",void 0),gf([wr({default:"none"})],bf.prototype,"animationStyle",void 0),gf([wr({default:"true"})],bf.prototype,"allowVideo",void 0),gf([wr({default:"none"})],bf.prototype,"authentication",void 0),gf([wr({default:void 0})],bf.prototype,"channelUrl",void 0),gf([wr({default:void 0})],bf.prototype,"phonesystemUrl",void 0),gf([wr({default:""})],bf.prototype,"wpUrl",void 0),gf([wr({default:""})],bf.prototype,"filesUrl",void 0),gf([wr({default:""})],bf.prototype,"party",void 0),gf([wr({default:""})],bf.prototype,"operatorIcon",void 0),gf([wr({default:""})],bf.prototype,"windowIcon",void 0),gf([wr({default:""})],bf.prototype,"buttonIcon",void 0),gf([wr({default:"Default"})],bf.prototype,"buttonIconType",void 0),gf([wr()],bf.prototype,"operatorName",void 0),gf([wr()],bf.prototype,"windowTitle",void 0),gf([wr({default:"true"})],bf.prototype,"enablePoweredby",void 0),gf([wr({default:""})],bf.prototype,"userIcon",void 0),gf([wr()],bf.prototype,"callTitle",void 0),gf([wr({default:"true"})],bf.prototype,"popout",void 0),gf([wr({default:"false"})],bf.prototype,"forceToOpen",void 0),gf([wr({default:"false"})],bf.prototype,"ignoreQueueownership",void 0),gf([wr({default:"false"})],bf.prototype,"showOperatorActualName",void 0),gf([wr({default:void 0})],bf.prototype,"authenticationString",void 0),gf([wr({default:"phone"})],bf.prototype,"channel",void 0),gf([wr({default:"true"})],bf.prototype,"aknowledgeReceived",void 0),gf([wr({default:"false"})],bf.prototype,"gdprEnabled",void 0),gf([wr({default:"false"})],bf.prototype,"filesEnabled",void 0),gf([wr({default:"true"})],bf.prototype,"offlineEnabled",void 0),gf([wr({default:""})],bf.prototype,"gdprMessage",void 0),gf([wr({default:"false"})],bf.prototype,"ratingEnabled",void 0),gf([wr({default:"false"})],bf.prototype,"departmentsEnabled",void 0),gf([wr({default:"both"})],bf.prototype,"messageDateformat",void 0),gf([wr({default:"both"})],bf.prototype,"messageUserinfoFormat",void 0),gf([wr({default:""})],bf.prototype,"chatIcon",void 0),gf([wr({default:""})],bf.prototype,"chatLogo",void 0),gf([wr({default:""})],bf.prototype,"visitorName",void 0),gf([wr({default:""})],bf.prototype,"visitorEmail",void 0),gf([wr({default:""})],bf.prototype,"authenticationMessage",void 0),gf([wr()],bf.prototype,"startChatButtonText",void 0),gf([wr()],bf.prototype,"offlineFinishMessage",void 0),gf([wr({default:"none"})],bf.prototype,"greetingVisibility",void 0),gf([wr()],bf.prototype,"greetingMessage",void 0),gf([wr({default:"none"})],bf.prototype,"greetingOfflineVisibility",void 0),gf([wr({default:0})],bf.prototype,"chatDelay",void 0),gf([wr()],bf.prototype,"greetingOfflineMessage",void 0),gf([wr()],bf.prototype,"offlineNameMessage",void 0),gf([wr()],bf.prototype,"offlineEmailMessage",void 0),gf([wr()],bf.prototype,"offlineFormInvalidEmail",void 0),gf([wr()],bf.prototype,"offlineFormMaximumCharactersReached",void 0),gf([wr()],bf.prototype,"offlineFormInvalidName",void 0),gf([wr({default:"false"})],bf.prototype,"enableDirectCall",void 0),gf([wr({default:"false"})],bf.prototype,"enableGa",void 0),gf([wr({default:""})],bf.prototype,"assetsGuid",void 0),gf([wr({default:()=>(0,Hc.Z)({languages:Object.keys(Nl.messages),fallback:"en"})})],bf.prototype,"lang",void 0),gf([wr()],bf.prototype,"cssVariables",void 0),gf([vr()],bf.prototype,"eventBus",void 0),gf([vr()],bf.prototype,"loadingService",void 0),bf=gf([dr({i18n:Nl})],bf);const vf=bf;var yf=n(2568),Af=n.n(yf);function wf(e){return!!e&&(e instanceof jr||"function"==typeof e.lift&&"function"==typeof e.subscribe)}function _f(...e){let t=Number.POSITIVE_INFINITY,n=null,i=e[e.length-1];return zl(i)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof i&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof jr?e[0]:ac(t)(Gl(e,n))}const Cf=(()=>{function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e})();function Sf(e){return e instanceof Date&&!isNaN(+e)}class Ef{constructor(e,t,n,i){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=i}call(e,t){return t.subscribe(new Of(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class Of extends Jl{constructor(e,t,n,i,s){super(e),this.absoluteTimeout=t,this.waitFor=n,this.withObservable=i,this.scheduler=s,this.scheduleTimeout()}static dispatchTimeout(e){const{withObservable:t}=e;e._unsubscribeAndRecycle(),e.add(ec(t,new Zl(e)))}scheduleTimeout(){const{action:e}=this;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(Of.dispatchTimeout,this.waitFor,this))}_next(e){this.absoluteTimeout||this.scheduleTimeout(),super._next(e)}_unsubscribe(){this.action=void 0,this.scheduler=null,this.withObservable=null}}function xf(e,t=Qc){return function(e,t,n=Qc){return i=>{let s=Sf(e),r=s?+e-n.now():Math.abs(e);return i.lift(new Ef(r,s,t,n))}}(e,Fo(new Cf),t)}function If(e,t,n){return function(i){return i.lift(new Tf(e,t,n))}}class Tf{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new Mf(e,this.nextOrObserver,this.error,this.complete))}}class Mf extends Fr{constructor(e,t,n,i){super(e),this._tapNext=Kr,this._tapError=Kr,this._tapComplete=Kr,this._tapError=n||Kr,this._tapComplete=i||Kr,Cr(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||Kr,this._tapError=t.error||Kr,this._tapComplete=t.complete||Kr)}_next(e){try{this._tapNext.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}function Nf(){try{return"true"===localStorage.getItem("callus.loggerenabled")}catch(e){return!1}}function kf(e){Nf()&&console.log("Request",e)}function Rf(e){Nf()&&console.log("Response",e)}function Ff(e){Nf()&&console.log(e)}function Df(e){console.error("call-us:",e)}class Pf{constructor(e){this.Description=e}toGenericMessage(){const e=new ba;return e.MessageId=-1,e}}class Bf{constructor(e){Object.assign(this,e)}}class Lf{constructor(e){this.messages=[],Object.assign(this,e)}}class jf{constructor(e){this.message=e}}class Uf{constructor(e){Object.assign(this,e)}}class zf{constructor(e){this.isTyping=!1,Object.assign(this,e)}}class qf{static getChannelChatTyping(e){return{action:"wplc_typing",user:"user",type:Math.floor(Date.now()/1e3),cid:e.idConversation}}static getChannelChatFile(e){return{action:"wplc_upload_file",cid:e.idConversation,file:e.file}}static getChannelRequestSendChatMessage(e){return{action:"wplc_user_send_msg",cid:e.idConversation,msg:e.message}}getChannelObject(e){let t=e;return t=e instanceof zf?qf.getChannelChatTyping(e):e instanceof Uf?qf.getChannelChatFile(e):e instanceof jf?qf.getChannelRequestSendChatMessage(e):new Pf("WP doesn't support this call"),t}getClientMessages(e){const t=new Lf;t.messages=new Array;const n=Wf();return Object.keys(e).forEach((i=>{var s;let r;null!=e[i].file&&(r=new Uf({fileName:e[i].file.FileName,fileLink:e[i].file.FileLink,fileState:Oo.Available,fileSize:e[i].file.FileSize}));const o=new Bf({id:parseInt(i,10),senderNumber:e[i].originates,senderName:"2"===e[i].originates?null!==(s=null==n?void 0:n.name)&&void 0!==s?s:"":"Support",senderBridgeNumber:"",isNew:!0,party:e[i].aid.toString(),partyNew:"",isAnonymousActive:!1,idConversation:e[i].cid.toString(),message:e[i].msg,time:new Date(e[i].added_at),file:r,isLocal:"2"===e[i].originates,code:e[i].code});t.messages.push(o)})),t}getClientObject(e,t){let n;if(n=e,void 0!==e.Data&&null!=e.Data)switch(t){case"ClientChatMessageQueue":Object.prototype.hasOwnProperty.call(e.Data,"Messages")&&(n=this.getClientMessages(e.Data.Messages))}return n}}class Vf{constructor(e){this.code="",this.image="",this.name="",Object.assign(this,e)}}class Gf{constructor(e){this.portalId="",this.name="Guest",this.operator=new Nc,this.isQueue=!1,this.isPopoutAvailable=!1,this.isChatEnabled=!1,this.isAvailable=!1,this.chatUniqueCode=-1,this.clientId="",this.chatSessionCode="",this.chatStatusCode=-1,this.chatSecret="",this.authorized=!1,this.dictionary={},this.country=new Vf,this.inBusinessSchedule=!1,Object.assign(this,e)}}function Wf(){const e=localStorage.getItem("ChatData");return e?new Gf(JSON.parse(e)):void 0}class $f{constructor(e,t,n){this.endpoint=e,this.fileEndpoint=t,this.sessionId=n,this.messages$=new Gr,this.sessionState=Co.Connected,this.supportsWebRTC=!1,this.serverProvideSystemMessages=!0,this.supportUnicodeEmoji=!1,this.dataMapper=new qf}getSessionUniqueCode(){return parseInt(this.sessionId,10)}fileEndPoint(e){return""!==e?e:this.fileEndpoint}emojiEndpoint(){return this.fileEndpoint+"/images/emojis/32/"}get(e,t=!0){var n,i;kf(e);const s=t?this.dataMapper.getChannelObject(e.data):e.data;if(!(s instanceof Pf)){let t,r={};const o=Wf();return e.containsFile?(t=new FormData,t.append("security",null!==(i=null==o?void 0:o.chatSecret)&&void 0!==i?i:""),Object.entries(s).forEach((([e,n])=>{"containsFile"!==e&&t.append(e,n)}))):(r={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},t=new URLSearchParams,t.set("security",null!==(n=null==o?void 0:o.chatSecret)&&void 0!==n?n:""),Object.entries(s).forEach((([e,n])=>{"containsFile"!==e&&t.set(e,n)}))),Rl(this.endpoint,{headers:r,method:"POST",credentials:"include",body:t}).pipe(tc((e=>e.json())),tc((e=>{if(!e.ErrorFound){const t=e;return Rf(t),Wl(t)}return Fo(e.ErrorMessage)})),Ic((e=>(console.log(e),Fo(e)))))}const r=new Error("Not implemented on this channel");return r.name="NotImplemented",Fo(r)}}class Hf{constructor(e){Object.assign(this,e)}}class Qf{constructor(e){Object.assign(this,e)}}class Yf{constructor(e){Object.assign(this,e)}}class Xf{constructor(e){Object.assign(this,e)}}class Kf{constructor(){this.LastReceived=""}getInfo(e,t){const n=Wf(),i=n?n.chatSessionCode:jl(12),s=new URLSearchParams;return s.set("action","wplc_init_session"),s.set("security","NoToken"),s.set("wplcsession",i),s.set("wplc_is_mobile","false"),this.wordpressAjaxCall(e,s).pipe($r((e=>{var t;return new Gf({isAvailable:e.Data.available,isChatEnabled:e.Data.enabled,chatUniqueCode:e.Data.cid,chatSessionCode:i,chatStatusCode:e.Status,name:e.Data.name,operator:new Nc({name:e.Data.operator.Name,emailTag:e.Data.operator.EmailTag,image:null!==(t=e.Data.operator.Image)&&void 0!==t?t:""}),chatSecret:e.Data.nonce,portalId:e.Data.portal_id,dictionary:e.Data.dictionary,country:e.Data.country,customFields:e.Data.custom_fields.map((e=>new Qf({id:e.id,name:e.name,type:e.type,defaultText:"TEXT"===e.type?e.values:"",options:"DROPDOWN"===e.type?e.values:[]}))),departments:e.Data.departments.map((e=>new Hf({id:e.id,name:e.name})))})})),If((e=>{n&&n.chatUniqueCode===e.chatUniqueCode?e.authorized=n.authorized:(e.authorized=!1,e.chatSessionCode=jl(12)),localStorage.setItem("ChatData",JSON.stringify(e))})),Cc(1),Jr())}startWpSession(e,t,n,i){const s=Wf(),r=new URLSearchParams;return r.set("action","wplc_start_chat"),r.set("email",void 0!==e.email?e.email:""),r.set("name",void 0!==e.name?e.name:""),r.set("department",void 0!==e.department?e.department.toString():"-1"),r.set("customFields",void 0!==e.customFields?JSON.stringify(e.customFields):JSON.stringify({})),r.set("cid",s?""+(null==s?void 0:s.chatUniqueCode):""),this.wordpressAjaxCall(t,r).pipe($r((e=>new $f(t,n,e.Data.cid))),If((()=>{s&&(s.authorized=!0,localStorage.setItem("ChatData",JSON.stringify(s)))})),Cc(1),Jr())}setExternalSession(e,t){const n=Wf(),i=new URLSearchParams;return i.set("action","wplc_register_external_session"),i.set("ext_session",t),i.set("cid",n?""+(null==n?void 0:n.chatUniqueCode):""),this.wordpressAjaxCall(e,i)}closeWpSession(e){return this.getChatData().pipe($r((e=>{const t=new URLSearchParams;return t.set("action","wplc_user_close_chat"),t.set("cid",e.chatUniqueCode.toString()),t.set("status",e.chatStatusCode.toString()),t})),tc((t=>this.wordpressAjaxCall(e,t))),$r((()=>!0)),Cc(1),Jr())}resetWpSession(e){return this.getChatData().pipe($r((e=>{const t=new URLSearchParams;return t.set("action","wplc_user_reset_session"),t.set("cid",e.chatUniqueCode.toString()),t})),tc((t=>{let n=this.wordpressAjaxCall(e,t);const i=t.get("cid");return null!==i&&parseInt(i,10)>0&&(n=Wl(!0)),n})),$r((()=>!0)),Cc(1),Jr())}getChatData(){return new jr((e=>{const t=Wf();t?(e.next(t),e.complete()):e.error("Component hasn't initialized properly")}))}getChatMessages(e,t){return this.getChatData().pipe($r((e=>{const n=new URLSearchParams;return n.set("action",t),n.set("cid",e.chatUniqueCode.toString()),n.set("wplc_name",void 0!==e.name?e.name:""),n.set("wplc_email",void 0!==e.email?e.email:""),n.set("status",e.chatStatusCode.toString()),n.set("wplcsession",e.chatSessionCode),n.set("wplc_is_mobile","false"),n.set("short_poll","false"),void 0!==this.LastReceived&&n.set("last_informed",this.LastReceived),n})),tc((t=>this.wordpressAjaxCall(e.endpoint,t))))}createMySession(e,t,n,i,s){if(this.isAuthorized()){const t=Wf();t&&(e={email:t.email,name:t.name,department:t.department})}return this.startWpSession(e,n,i,s).pipe(Ic((e=>Wl(Lo(Bl(e))))))}dropSession(e,t,n){return n?this.closeWpSession(e).pipe(If((()=>{this.cleanLocalChatData()}))):this.resetWpSession(e).pipe(If((()=>{this.cleanLocalChatData()})))}cleanLocalChatData(){return localStorage.removeItem("ChatData"),!0}sendSingleCommand(e,t,n){const i=new URLSearchParams;return i.set("action",Kf.mapObjectToAction(n)),Object.entries(n.data).forEach((([e,t])=>{i.set(e,t)})),this.wordpressAjaxCall(e,i)}isAuthorized(){let e=!1;const t=Wf();return t&&(e=t.authorized),e}getAuth(){var e;const t=null!==(e=Wf())&&void 0!==e?e:new Gf;return{email:t.email,name:t.name,department:t.department,customFields:t.customFieldsValues}}setAuthentication(e){var t;const n=null!==(t=Wf())&&void 0!==t?t:new Gf,i=[];void 0!==e.customFields&&e.customFields.forEach((e=>{null!==e&&i.push(e)})),n.email=e.email,n.name=e.name,n.department=e.department,n.customFieldsValues=i,localStorage.setItem("ChatData",JSON.stringify(n))}wordpressAjaxCall(e,t){const n=Wf();return n&&t.set("security",n.chatSecret),Rl(e,{headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},credentials:"include",method:"POST",body:t}).pipe(tc((e=>e.json())),tc((e=>e.ErrorFound?Fo(e.ErrorMessage):Wl({Data:e.Data,Status:e.Status}))),Ic((e=>(console.log(e),Fo(e)))))}static mapObjectToAction(e){let t="";return e instanceof Yf?t="wplc_send_offline_msg":e instanceof Xf&&(t="wplc_rate_chat"),t}}const Zf={"*\\0/*":"1f646","*\\O/*":"1f646","-___-":"1f611",":'-)":"1f602","':-)":"1f605","':-D":"1f605",">:-)":"1f606","':-(":"1f613",">:-(":"1f620",":'-(":"1f622","O:-)":"1f607","0:-3":"1f607","0:-)":"1f607","0;^)":"1f607","O;-)":"1f607","0;-)":"1f607","O:-3":"1f607","-__-":"1f611",":-Þ":"1f61b","</3":"1f494",":')":"1f602",":-D":"1f603","':)":"1f605","'=)":"1f605","':D":"1f605","'=D":"1f605",">:)":"1f606",">;)":"1f606",">=)":"1f606",";-)":"1f609","*-)":"1f609",";-]":"1f609",";^)":"1f609","':(":"1f613","'=(":"1f613",":-*":"1f618",":^*":"1f618",">:P":"1f61c","X-P":"1f61c",">:[":"1f61e",":-(":"1f61e",":-[":"1f61e",">:(":"1f620",":'(":"1f622",";-(":"1f622",">.<":"1f623","#-)":"1f635","%-)":"1f635","X-)":"1f635","\\0/":"1f646","\\O/":"1f646","0:3":"1f607","0:)":"1f607","O:)":"1f607","O=)":"1f607","O:3":"1f607","B-)":"1f60e","8-)":"1f60e","B-D":"1f60e","8-D":"1f60e","-_-":"1f611",">:\\":"1f615",">:/":"1f615",":-/":"1f615",":-.":"1f615",":-P":"1f61b",":Þ":"1f61b",":-b":"1f61b",":-O":"1f62e",O_O:"1f62e",">:O":"1f62e",":-X":"1f636",":-#":"1f636",":-)":"1f642","(y)":"1f44d","<3":"2764",":D":"1f603","=D":"1f603",";)":"1f609","*)":"1f609",";]":"1f609",";D":"1f609",":*":"1f618","=*":"1f618",":(":"1f61e",":[":"1f61e","=(":"1f61e",":@":"1f620",";(":"1f622","D:":"1f628",":$":"1f633","=$":"1f633","#)":"1f635","%)":"1f635","X)":"1f635","B)":"1f60e","8)":"1f60e",":/":"1f615",":\\":"1f615","=/":"1f615","=\\":"1f615",":L":"1f615","=L":"1f615",":P":"1f61b","=P":"1f61b",":b":"1f61b",":O":"1f62e",":X":"1f636",":#":"1f636","=X":"1f636","=#":"1f636",":)":"1f642","=]":"1f642","=)":"1f642",":]":"1f642"},Jf=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|((\\s|^)(\\*\\\\0\\/\\*|\\*\\\\O\\/\\*|\\-___\\-|\\:'\\-\\)|'\\:\\-\\)|'\\:\\-D|\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if(e.indexOf("-")>-1){const t=[],n=e.split("-");for(let e=0;e<n.length;e+=1){let i=parseInt(n[e],16);if(i>=65536&&i<=1114111){const e=Math.floor((i-65536)/1024)+55296,t=(i-65536)%1024+56320;i=String.fromCharCode(e)+String.fromCharCode(t)}else i=String.fromCharCode(i);t.push(i)}return t.join("")}const t=parseInt(e,16);if(t>=65536&&t<=1114111){const e=Math.floor((t-65536)/1024)+55296,n=(t-65536)%1024+56320;return String.fromCharCode(e)+String.fromCharCode(n)}return String.fromCharCode(t)}(Zf[i=i].toUpperCase())}))}class tu{constructor(e){Object.assign(this,e)}}class nu{constructor(e){this.items=e}}class iu{constructor(e){Object.assign(this,e)}}class su{getClientChatTyping(e){return new zf({party:e.Party,user:e.User,idConversation:e.IdConversation,isTyping:!0,time:new Date})}getClientChatFileState(e){switch(e){case Qo.CF_Uploading:return Oo.Uploading;case Qo.CF_Available:return Oo.Available;default:return Oo.Deleted}}getClientFile(e){const t=new Uf;return t.fileName=e.FileName,t.fileLink=e.FileLink,t.progress=e.Progress,t.hasPreview=e.HasPreview,t.fileSize=e.FileSize,t.fileState=this.getClientChatFileState(e.FileState),t}getClientMessage(e){return new Bf({id:e.Id,senderNumber:e.SenderNumber,senderName:e.SenderName,senderBridgeNumber:e.SenderBridgeNumber,isNew:e.IsNew,party:e.Party,partyNew:e.PartyNew,isAnonymousActive:e.IsAnonymousActive,idConversation:e.IdConversation.toString(10),recipient:new iu({bridgeNumber:e.Recipient.BridgeNumber,email:e.Recipient.Email,extNumber:e.Recipient.ExtNumber,name:e.Recipient.Name}),message:e.Message,messageType:this.getClientMessageType(e.MessageType),time:new Date(e.Time.Year,e.Time.Month-1,e.Time.Day,e.Time.Hour,e.Time.Minute,e.Time.Second),file:void 0!==e.File?this.getClientFile(e.File):void 0,isLocal:"webrtc"===e.SenderBridgeNumber})}getClientChatTransferOperator(e){const t=e.PartyInfo.Recipients.find((e=>!e.IsAnonymousActive&&!e.IsRemoved));return t?new Nc({name:t.Recipient.Contact.FirstName,emailTag:void 0!==t.Recipient.Email&&""!==t.Recipient.Email?Af()(t.Recipient.Email):"default",image:void 0!==t.Recipient.Contact?t.Recipient.Contact.ContactImage:""}):new Nc}getClientMessageQueue(e){return new Lf({messages:e.Messages.map((e=>this.getClientMessage(e)))})}getClientChatFileProgress(e){return new tu({id:e.Id,party:e.Party,file:this.getClientFile(e.File),idConversation:e.IdConversation})}getClientMessageType(e){let t=ko.Normal;switch(e){case Yo.CMT_Closed:case Yo.CMT_Dealt:t=ko.Completed;break;default:t=ko.Normal}return t}getClientObject(e){let t=e;return e instanceof ga?t=this.getClientChatTyping(e):e instanceof oa?t=this.getClientMessageQueue(e):e instanceof na?t=this.getClientMessage(e):e instanceof sa?t=this.getClientChatFileProgress(e):e instanceof la&&(t=this.getClientChatTransferOperator(e)),t}getChannelChatTyping(e){return new ga({Party:e.party,User:e.user,IdConversation:e.idConversation})}getChannelChatFileState(e){switch(e){case Oo.Uploading:return Qo.CF_Uploading;case Oo.Available:return Qo.CF_Available;default:return Qo.CF_Deleted}}getChannelDateTime(e){return new Zo({Year:e.getFullYear(),Month:e.getMonth(),Day:e.getDay(),Hour:e.getHours(),Minute:e.getMinutes(),Second:e.getSeconds()})}getChannelChatFile(e){return new ia({FileName:e.fileName,FileLink:e.fileLink,Progress:e.progress,HasPreview:e.hasPreview,FileSize:e.fileSize,FileState:this.getChannelChatFileState(e.fileState)})}getChannelChatMessage(e){return new na({Id:e.id,SenderNumber:e.senderNumber,SenderName:e.senderName,SenderBridgeNumber:e.senderBridgeNumber,IsNew:e.isNew,Party:e.party,PartyNew:e.partyNew,IsAnonymousActive:e.isAnonymousActive,IdConversation:parseInt(e.idConversation,10),Recipient:this.getChannelRecipient(e.recipient),Message:e.message,Time:this.getChannelDateTime(e.time),File:void 0!==e.file?this.getChannelChatFile(e.file):void 0})}getChannelRecipient(e){return new ta({BridgeNumber:e.bridgeNumber,Email:e.email,ExtNumber:e.extNumber,Name:e.name})}getChannelChatMessageQueue(e){return new oa({Messages:e.messages.map((e=>this.getChannelChatMessage(e)))})}getChannelRequestSendChatMessage(e){return new ra({Message:e.message})}getChannelRequestSetChatReceived(e){return new aa({Items:e.items})}getChannelOfflineMessage(e){return new ra({Message:eu(`Offline Message:\n\nName: ${e.data.name}\nEmail: ${e.data.email}\nPhone: ${e.data.phone}\nContent: ${e.data.message}`)})}getChannelObject(e){let t=new ea;return e instanceof zf?t=this.getChannelChatTyping(e):e instanceof Lf?t=this.getChannelChatMessageQueue(e):e instanceof jf?t=this.getChannelRequestSendChatMessage(e):e instanceof nu?t=this.getChannelRequestSetChatReceived(e):e instanceof Yf?t=this.getChannelOfflineMessage(e):e instanceof class{constructor(e,t){this.idConversation=e,this.action=t}}&&(t=new Pf("PBX doesn't support this call")),t}}class ru{static Merge(e,t){return t.Action===Ho.FullUpdate||t.Action===Ho.Updated?ru.MergePlainObject(e,t):t.Action||Object.assign(e,t),e}static notify(e,t){const n=Reflect.get(e,t.toString()+"$");void 0!==n&&n.next(Reflect.get(e,t))}static MergePlainObject(e,t){void 0!==e&&Reflect.ownKeys(t).filter((e=>"Action"!==e&&"Id"!==e)).forEach((n=>{const i=Reflect.get(t,n),s=Reflect.get(e,n);if(void 0!==i){if(i instanceof Array){const t=i;if(0===t.length)return;if(t[0]instanceof Object){const i={};(s||[]).forEach((e=>{i[e.Id]=e})),t.forEach((e=>{const t=e.Id,n=i[t];switch(e.Action){case Ho.Deleted:delete i[t];break;case Ho.FullUpdate:i[t]=e;break;case Ho.Inserted:case Ho.Updated:i[t]=void 0===n?e:ru.Merge(n,e)}})),Reflect.set(e,n,Object.values(i))}else Reflect.set(e,n,i)}else i instanceof Object?Reflect.set(e,n,void 0===s?i:ru.Merge(s,i)):Reflect.set(e,n,i);ru.notify(e,n)}}))}}class ou{constructor(e,t,n){this.sessionId=n,this.messages$=new Gr,this.webRTCEndpoint=new fa,this.webRTCEndpoint$=new wc,this.sessionState=Co.Connected,this.pbxEndpoint=e,this.endpoint=Pl(e,"/MyPhone/MPWebService.asmx"),this.fileEndpoint=Pl(t,"/MyPhone/downloadChatFile/"),this.supportsWebRTC=!0,this.webRTCEndpoint$.next(this.webRTCEndpoint),this.dataMapper=new su,this.serverProvideSystemMessages=!0,this.chatConversationId=0}getSessionUniqueCode(){return this.chatConversationId}onWebRtcEndpoint(e){this.webRTCEndpoint=ru.Merge(this.webRTCEndpoint,e),this.webRTCEndpoint$.next(this.webRTCEndpoint)}fileEndPoint(e){return`${this.fileEndpoint}${e}?sessionId=${this.sessionId}`}emojiEndpoint(){return this.pbxEndpoint+"/webclient/assets/emojione/32/"}get(e,t=!0){kf(e);const n=t?this.dataMapper.getChannelObject(e.data):e.data;if(!(n instanceof Pf))return Rl(this.endpoint,{headers:{"Content-Type":"application/octet-stream",MyPhoneSession:this.sessionId},method:"POST",body:ba.encode(n.toGenericMessage()).finish()}).pipe(tc((e=>e.arrayBuffer())),$r((e=>{const t=Fl(e);if(Rf(t),t instanceof ea&&!t.Success){const e=new Error(t.Message||"Received unsuccessful ack for "+n.constructor.name);throw e.state=t.ErrorType,e}return t})));const i=new Error("Not implemented on this channel");return i.name="NotImplemented",Fo(i)}}class au{constructor(e){this.containsFile=!1,this.data=e}}class lu{constructor(e){this.sessionUniqueCode=-1,this.status=Io.BROWSE,Object.assign(this,e)}}class cu{constructor(){this.AddpTimeoutMs=2e4,this.ProtocolVersion="1.9",this.ClientVersion="1.0",this.ClientInfo="3CX Callus",this.User="click2call",this.wpChannel=new Kf}createClick2CallSession(e,t,n,i){let s=Pl(t,"/MyPhone/c2clogin?c2cid="+encodeURIComponent(i));return e.email&&(s+="&email="+encodeURIComponent(e.email)),e.name&&(s+="&displayname="+encodeURIComponent(e.name)),e.phone&&(s+="&phone="+encodeURIComponent(e.phone)),Rl(s).pipe(tc((e=>e.json())),$r((e=>e.sessionId)),Ic((e=>e instanceof Response&&404===e.status?Fo(Nl.t("Inputs.InvalidIdErrorMessage").toString()):Fo(e))),tc((e=>this.login(t,n,e))))}login(e,t,n){const i=new ou(e,t,n),s=new au(new Xo({ProtocolVersion:this.ProtocolVersion,ClientVersion:this.ClientVersion,ClientInfo:this.ClientInfo,User:this.User,Password:""})),r=i.get(s,!1);return wf(r)?r.pipe(tc((e=>e.Nonce?(s.data.Password=Af()(""+e.Nonce).toUpperCase(),i.get(s,!1)):Fo(e.ValidationMessage))),$r((t=>(i.notificationChannelEndpoint=Pl(`${"https:"===window.location.protocol?"wss:":"ws:"}${e.replace("http:","").replace("https:","")}`,`/ws/webclient?sessionId=${encodeURIComponent(n)}&pass=${encodeURIComponent(Af()(""+t.Nonce).toUpperCase())}`),i)))):Fo("Invalid channel setup")}createNotificationChannel(e){return new jr((t=>{const n=new WebSocket(e.notificationChannelEndpoint);return n.binaryType="arraybuffer",n.onmessage=e=>t.next(e.data),n.onerror=e=>t.error(e),()=>n.close()})).pipe(xf(this.AddpTimeoutMs),jo((e=>"ADDP"!==e)),Kc((e=>"START"!==e)),If((e=>{this.setAuthorized()})),sc((t=>{if("START"===t){const t=new au(new Jo),n=new au(new ma({register:!0}));return _f(e.get(t,!1),e.get(n,!1)).pipe(jo((e=>!(e instanceof ea))))}if("NOT AUTH"===t||"STOP"===t){const t=new lu({sessionUniqueCode:e.getSessionUniqueCode(),status:Io.ENDED_BY_AGENT});e.messages$.next(t)}const n=Fl(t);return Wl(e.dataMapper.getClientObject(n))}),t,1),lo());var t}processMyPhoneMessages(e,t){let n=!1;return new jr((i=>t.subscribe((t=>{Ff(t),!n&&t instanceof fa&&(i.next(e),n=!0),t instanceof fa&&e.onWebRtcEndpoint(t);const s=e.dataMapper.getClientObject(t);if(t instanceof Lf){if(0===e.chatConversationId&&t.messages.length>0){e.chatConversationId=parseInt(t.messages[0].idConversation,10);const n=new lu;n.sessionUniqueCode=parseInt(t.messages[0].idConversation,10),n.status=Io.ACTIVE,e.messages$.next(n)}s.messages=t.messages.filter((e=>!e.isLocal))}e.messages$.next(s)}),(e=>i.error(e)),(()=>i.complete()))))}createMySession(e,t,n,i,s){return this.createClick2CallSession(e,n,i,s).pipe(tc((e=>this.processMyPhoneMessages(e,this.createNotificationChannel(e)))),Ic((e=>Wl(Lo(Bl(e))))))}dropSession(e,t,n){var i;return null!==(null!==(i=Wf())&&void 0!==i?i:null)&&localStorage.removeItem("ChatData"),Wl(!0)}sendSingleCommand(e,t,n){return this.createClick2CallSession(n.auth,t,"",n.party).pipe(tc((e=>{const t=new au(n),i=e.get(t,!0);return wf(i)?i.pipe(tc((()=>{const t=new au(new Ko);return e.get(t,!1)}))):Fo("Invalid channel setup")})))}isAuthorized(){var e;const t=null!==(e=Wf())&&void 0!==e?e:null;return null!==t&&t.authorized}setAuthentication(e){var t;const n=null!==(t=Wf())&&void 0!==t?t:new Gf;n.email=e.email,n.name=e.name,this.checkIfPopoutOpening()&&this.setAuthorized(n),localStorage.setItem("ChatData",JSON.stringify(n))}getAuth(){var e;const t=null!==(e=Wf())&&void 0!==e?e:new Gf;return{email:t.email,name:t.name}}getInfo(e,t){const n=new URLSearchParams;n.set("action","wplc_get_general_info"),n.set("security","NoToken");const i=new Gf;let s,r=!0;if(""!==e){localStorage.getItem("chatInfo");s=this.wpChannel.wordpressAjaxCall(e,n).pipe(If((e=>{i.dictionary=e.Data.dictionary,r=!e.Data.scheduleEnable||this.checkBusinessSchedule(e.Data.businessSchedule),localStorage.setItem("chatInfo",JSON.stringify(e))})),tc((()=>Rl(t))))}else s=Rl(t);return s.pipe(tc((e=>e.json())),If((e=>{const n=Dl(t),s=e.profilePicture?e.profilePicture:"";i.isAvailable=r&&e.isAvailable,i.isChatEnabled=!Object.prototype.hasOwnProperty.call(e,"isChatEnabled")||e.isChatEnabled,i.isPopoutAvailable=e.isPoputAvailable,i.isQueue=e.isQueue,i.operator=new Nc,i.operator.name=i.isQueue?"":e.name,i.operator.image=s?`//${n.host}${s}`:"",i.chatUniqueCode=-1,i.webRtcCodecs=e.webRtcCodecs})),$r((()=>i)),Cc(1),Jr())}setAuthorized(e=null){var t;null===e&&(e=null!==(t=Wf())&&void 0!==t?t:new Gf),e.authorized=!0,localStorage.setItem("ChatData",JSON.stringify(e))}checkIfPopoutOpening(){let e=!1;return window.performance&&performance.navigation?e=performance.navigation.type===performance.navigation.TYPE_NAVIGATE:window.performance&&window.performance.getEntriesByType&&(e="navigate"===window.performance.getEntriesByType("navigation")[0].entryType),e}checkBusinessSchedule(e){let t=!1;const n=new Date,i=n.getUTCDay(),s=n.getUTCDate(),r=n.getUTCMonth(),o=n.getUTCFullYear();return i in e&&Ir(e[i])&&e[i].forEach((e=>{if(!t){const i=Date.UTC(o,r,s,e.from.h,e.from.m,0),a=Date.UTC(o,r,s,e.to.h,e.to.m,59);n.getTime()>=i&&n.getTime()<=a&&(t=!0)}})),t}}function fu(e){const{subscriber:t,counter:n,period:i}=e;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}function uu(e,t,n){let i;return i=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},e=>e.lift(function({bufferSize:e=Number.POSITIVE_INFINITY,windowTime:t=Number.POSITIVE_INFINITY,refCount:n,scheduler:i}){let s,r,o=0,a=!1,l=!1;return function(c){let f;o++,!s||a?(a=!1,s=new wc(e,t,i),f=s.subscribe(this),r=c.subscribe({next(e){s.next(e)},error(e){a=!0,s.error(e)},complete(){l=!0,r=void 0,s.complete()}})):f=s.subscribe(this),this.add((()=>{o--,f.unsubscribe(),r&&!l&&n&&0===o&&(r.unsubscribe(),r=void 0,s=void 0)}))}}(i))}function du(e,t=Qc){const n=Sf(e)?+e-t.now():Math.abs(e);return e=>e.lift(new hu(n,t))}class hu{constructor(e,t){this.delay=e,this.scheduler=t}call(e,t){return t.subscribe(new pu(e,this.delay,this.scheduler))}}class pu extends Fr{constructor(e,t,n){super(e),this.delay=t,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}static dispatch(e){const t=e.source,n=t.queue,i=e.scheduler,s=e.destination;for(;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(s);if(n.length>0){const t=Math.max(0,n[0].time-i.now());this.schedule(e,t)}else this.unsubscribe(),t.active=!1}_schedule(e){this.active=!0;this.destination.add(e.schedule(pu.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}scheduleNotification(e){if(!0===this.errored)return;const t=this.scheduler,n=new mu(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}_next(e){this.scheduleNotification(vc.createNext(e))}_error(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}_complete(){this.scheduleNotification(vc.createComplete()),this.unsubscribe()}}class mu{constructor(e,t){this.time=e,this.notification=t}}class gu{constructor(e,t,n){this.portalId=e,this.sessionId=t,this.clientId=n}getChannelRequestSendChatMessage(e){return{action:"request",notification:"chat",id:$c.IdGenerator.getNext(),cid:e.idConversation,message:e.message,tick:$c.convertDateToTicks(new Date),from:this.clientId,sid:this.sessionId,pid:this.portalId}}getChannelChatFile(e){return{action:"request",notification:"file",id:$c.IdGenerator.getNext(),cid:e.idConversation,url:null,tick:$c.convertDateToTicks(new Date),from:this.clientId,sid:this.sessionId,pid:this.portalId}}getChannelObject(e){let t;return t=e instanceof jf?this.getChannelRequestSendChatMessage(e):e instanceof zf?this.getChannelChatTyping(e):e instanceof Uf?this.getChannelChatFile(e):new Pf("MCU doesn't support this call"),t}getChannelChatTyping(e){return{action:"indication",notification:"typing",id:$c.IdGenerator.getNext(),cid:e.idConversation,tick:$c.convertDateToTicks(new Date),from:this.clientId,sid:this.sessionId,pid:this.portalId}}static getClientMessages(e){const t=new Bf({id:e.id,senderNumber:e.from,senderName:"Support",senderBridgeNumber:"",isNew:!0,party:e.from,partyNew:"",isAnonymousActive:!1,idConversation:e.sid,message:$c.decodeHtml(e.message),time:$c.convertTicksToDate(e.tick),isLocal:"Client"===e.senderType,code:e.sid});return new Lf({messages:[t]})}static getClientMessageFile(e){const t=new Uf({fileName:e.name,fileLink:e.url,fileState:Oo.Available,fileSize:e.size,hasPreview:!1}),n=new Bf({id:e.id,file:t,senderNumber:e.from,senderName:"Support",senderBridgeNumber:"",isNew:!0,party:e.from,partyNew:"",isAnonymousActive:!1,idConversation:e.sid,message:e.url,time:$c.convertTicksToDate(e.tick),isLocal:!1,code:e.sid});return new Lf({messages:[n]})}getClientChatTyping(e){return new zf({party:e.from,user:e.from,idConversation:e.sid,isTyping:!0,time:new Date})}getClientOperator(e){return new Nc({name:e.agent_name,image:"AgentGravatar",emailTag:e.agent_tag})}getClientObject(e,t){let n=e;switch(t){case"ClientChatTyping":Object.prototype.hasOwnProperty.call(e,"sid")&&(n=this.getClientChatTyping(e));break;case"ClientChatMessageQueue":Object.prototype.hasOwnProperty.call(e,"message")&&(n=gu.getClientMessages(e));break;case"ClientChatOperator":Object.prototype.hasOwnProperty.call(e,"agent_name")&&(n=this.getClientOperator(e));break;case"ClientChatMessageQueueFile":Object.prototype.hasOwnProperty.call(e,"url")&&(n=gu.getClientMessageFile(e))}return n}}class bu{constructor(e,t,n,i,s,r,o){this.messages$=new Gr,this.sessionState=Co.Connected,this.endpoint=e+"/chatchannel",this.sessionId=s,this.fileEndpoint=""+n,this.supportsWebRTC=!1,this.clientId=r,this.dataMapper=new gu(o,s,r),this.sessionState=Co.Connected,this.serverProvideSystemMessages=!1,this.persistentSession=i}getSessionUniqueCode(){return parseInt(this.persistentSession.sessionId,10)}fileEndPoint(e){return""!==e?e:this.fileEndpoint}emojiEndpoint(){return this.persistentSession.emojiEndpoint()}get(e,t=!0){kf(e);const n=t?this.dataMapper.getChannelObject(e.data):e.data,i=this.persistentSession.get(e,t);if(null!==i)return i.pipe(If((t=>{if(!(n instanceof Pf))return e.containsFile&&(n.url=t.Data.FileLink,n.name=t.Data.FileName,n.size=t.Data.FileSize),this.notificationSocket.send(JSON.stringify(n)),Wl(t);const i=new Error("Not implemented on this channel");return i.name="NotImplemented",Fo(i)})));const s=new Error("Not implemented on this channel");return s.name="NotImplemented",Fo(s)}}class vu{constructor(){this.messagesWaitingAcknowledgement$=new Gr,this.wpChannel=new Kf}getInfo(e,t){return this.wpChannel.getInfo(e,t)}initMcuSocket(e){return new jr((t=>(this.mcuSocket=new WebSocket(e),this.mcuSocket.onopen=e=>t.next("READY"),this.mcuSocket.onmessage=e=>t.next(e),this.mcuSocket.onclose=e=>{t.next(1e3!==e.code?"FAULTY_CLOSE":"CLOSE")},this.mcuSocket.onerror=e=>t.error(e),()=>this.mcuSocket.close())))}initMcuSession(e,t,n,i){const s=this.wpChannel.getChatData().pipe(uu());this.socketData$=s.pipe(tc((e=>this.initMcuSocket(`${t}/chatchannel?cid=${i.getSessionUniqueCode()}&pid=${e.portalId}`))),uu());const r=this.socketData$.pipe(jo((e=>"FAULTY_CLOSE"===e||"CLOSE"===e))),o=function(e=0,t=Qc){return(!Yc(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=Qc),new jr((n=>(n.add(t.schedule(fu,e,{subscriber:n,counter:0,period:e})),n)))}(5e3).pipe(of(r),tc((()=>s))),a=this.socketData$.pipe(jo((e=>"READY"===e)),If((t=>{o.subscribe((t=>{const n=new Date,s=$c.convertDateToTicks(n),r={id:$c.IdGenerator.getNext(),action:"indication",notification:"keepalive",tick:s,pid:t.portalId,cid:i.getSessionUniqueCode(),sid:t.chatSessionCode,name:e.name};this.mcuSocket.send(JSON.stringify(r))}))})),tc((e=>s))),l=this.socketData$.pipe($r((e=>void 0!==e.data?JSON.parse(e.data):e)),jo((e=>Object.prototype.hasOwnProperty.call(e,"notification")&&"login_client"===e.notification&&Object.prototype.hasOwnProperty.call(e,"action")&&"reply"===e.action)));return a.subscribe((t=>{const n=new Date,s=$c.convertDateToTicks(n),r={id:$c.IdGenerator.getNext(),action:"request",notification:"login",tick:s,pid:t.portalId,cid:i.getSessionUniqueCode(),sid:t.chatSessionCode,country:t.country,departmentid:void 0!==e.department?e.department.toString():"-1",name:e.name,email:e.email};this.mcuSocket.send(JSON.stringify(r))})),l.pipe(If((e=>{s.subscribe((t=>{t.chatSessionCode=e.sid,t.clientId=e.key,localStorage.setItem("ChatData",JSON.stringify(t))}))})),tc((()=>s)),tc((e=>{const s=new bu(t,n,"",i,e.chatSessionCode,e.clientId,e.portalId);return s.notificationSocket=this.mcuSocket,Wl(s)})),If((e=>{r.pipe(jo((e=>"FAULTY_CLOSE"===e))).subscribe((t=>{e.messages$.next("ReConnect")}))})))}createNotificationChannel(e){return lc(this.wpChannel.getChatMessages(e.persistentSession,"wplc_chat_history").pipe($r((e=>(e.source="wpHistory",e)))),this.socketData$.pipe($r((e=>{if(void 0!==e.data){const t=JSON.parse(e.data);return t.source="socketMessages",t}return e}))))}processMessages(e,t){let n=!1;return new jr((i=>t.subscribe((t=>{if(Ff(t),n||(i.next(e),n=!0,e.messages$.next(new lu({sessionUniqueCode:e.getSessionUniqueCode(),status:Io.PENDING_AGENT}))),"wpHistory"===t.source){const n=e.persistentSession.dataMapper.getClientObject(t,"ClientChatMessageQueue");n instanceof Lf&&n.messages.length>0&&(n.messages.forEach((e=>{e.isNew=!1})),e.messages$.next(n))}else if("chat"===t.action){if("agent_join"===t.notification){const n=e.dataMapper.getClientObject(t,"ClientChatOperator");e.messages$.next(n)}else if("text"===t.notification){const n=e.dataMapper.getClientObject(t,"ClientChatMessageQueue");e.messages$.next(n)}else if("file"===t.notification){const n=e.dataMapper.getClientObject(t,"ClientChatMessageQueueFile");e.messages$.next(n)}}else if("indication"===t.action)if("end"===t.notification){const n=new lu({sessionUniqueCode:e.getSessionUniqueCode(),status:t.data.Status});e.messages$.next(n)}else if("block"===t.notification){const n=new lu({sessionUniqueCode:e.getSessionUniqueCode(),status:t.data.Status});e.messages$.next(n)}else if("UpdateChat"===t.notification){const n=new lu({sessionUniqueCode:e.getSessionUniqueCode(),status:t.data.status});e.messages$.next(n)}else if("typing"===t.notification){const n=e.dataMapper.getClientObject(t,"ClientChatTyping");if(n.isTyping){const t=n;e.messages$.next(t)}}}),(e=>i.error(e)),(()=>i.complete()))))}createMySession(e,t,n,i,s){if(this.isAuthorized()){const t=Wf();t&&(e={email:t.email,name:t.name,department:t.department})}return this.wpChannel.startWpSession(e,t,i,s).pipe(tc((i=>this.initMcuSession(e,n,t,i))),tc((e=>this.wpChannel.setExternalSession(t,e.sessionId).pipe($r((t=>e))))),tc((e=>this.processMessages(e,this.createNotificationChannel(e)))),Ic((r=>Wl(r).pipe(du(5e3),tc((r=>"Wrong Chat id"===r?Wl(Lo("Chat session not found please try again.")):this.createMySession(e,t,n,i,s)))))))}dropSession(e,t,n){return n&&this.wpChannel.getChatData().subscribe((e=>{const t={action:"indication",notification:"end",id:$c.IdGenerator.getNext(),tick:$c.convertDateToTicks(new Date),from:e.clientId,sid:e.chatSessionCode,pid:e.portalId,status:15};this.mcuSocket.send(JSON.stringify(t))})),void 0!==this.mcuSocket&&this.mcuSocket.close(),this.wpChannel.dropSession(e,t,n)}sendSingleCommand(e,t,n){return this.wpChannel.sendSingleCommand(e,t,n)}isAuthorized(){return this.wpChannel.isAuthorized()}getAuth(){return this.wpChannel.getAuth()}setAuthentication(e){this.wpChannel.setAuthentication(e)}}function yu(e){var t;if("phone"===e.channel)e.channelType=pf.Phone,e.currentChannel=new cu,e.info$=e.currentChannel.getInfo(e.wpUrl,Pl(null!==(t=e.channelUrl)&&void 0!==t?t:e.phonesystemUrl,"/MyPhone/c2cinfo?c2cid="+encodeURIComponent(e.party)));else{if("mcu"!==e.channel)throw new Error("No channel available named "+e.channel);e.channelType=pf.MCU,e.currentChannel=new vu,e.info$=e.currentChannel.getInfo(e.wpUrl,e.channelUrl)}}class Au{constructor(e){this.remoteStream$=new wc(1),this.isActive=!1,this.isMuted=!1,this.isVideoCall=!1,this.isVideoReceived=!1,this.toneSend$=mc,this.isNegotiationInProgress=!1,Object.assign(this,e)}get isVideoSend(){return!!this.video}}const wu=new Au({lastWebRTCState:new ha({sdpType:ua.WRTCInitial,holdState:da.WebRTCHoldState_NOHOLD})});function _u(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new Cu(e,t,n))}}class Cu{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new Su(e,this.accumulator,this.seed,this.hasSeed))}}class Su extends Fr{constructor(e,t,n,i){super(e),this.accumulator=t,this._seed=n,this.hasSeed=i,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(e){this.destination.error(e)}this.seed=n,this.destination.next(n)}}const Eu="data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAAWGluZwAAAA8AAABeAAAreQACBwsOERQYGx0gIyYqLTAzMzY5Oz5AQ0VISk1PUlZYXF9fYmVpbG5xc3Z5e36BhIeJjIyOkZSXmpyfoaSmqautsLKytbe6vL/BxMbJy87Q09XY2trd3+Lk5+ns7vHz9vj7/f8AAAAbTEFNRTMuOTlyA5UAAAAAAAAAABQgJAJAQQABrgAAK3nRrtihAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//sQxAAAAkwDAgAAQAC9ACG2giAA///////9v6L+76OXf//5POCdFboVskk0IAIC63rQ50nMPvqutN0Lr1dH6/zmp0/c3j3UijGYq0y3/u2403A7QWEihDAEFoDHw4HoQBAJBA1/9Er/+1DECIAKaJMfubaAAXyPZWc80ABUzsV/n4GJBhxil/88wALDBe7LEnAo/vLQM8aK9tQlAjBAN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eg5WRalkOUhMhvXeqqmr83+u1/9/9XZt7f/+rqAJADD0XjDImzDtCjGCZTBWTr4y8tWgMFwEoB0F3NIpjZiYXIw88A2ORE7QZdRDzFDrEr2dRn/+1n6KAAQgA4GAAAD/OKroWiYL4E5ovmAH2B8X/ZhCIf/7EMQOAASQHzuse4IhDAPkHc9sSGIgBAc/z9X+oAwAAjYRigZmJSwY4VJmPFGGZXmaz8FB9lC0mJaDYaMFmBjhkR6ZHrGcByEMqCSWovcu2l7O7//1/b/s0t////r+LroAAACUMACw//sgxAOARvgdMa17ImCMA6f0zuQMCAICYsAZ4adFcYjQppulLEmi4FiYPICgloOCAw0w7kbIqes2e3////9f37v/////qBADDlwoAOAvW8xAwiTo1A6k6hWQprum159nz0s+TrD5oQeiAW9EzHR014zNHZDG9Iyq0fjUROmNt3c4sf/7IMQMgwgILyRt+4IAxINijJwEIAjTYmMBEEGC4EicDEl1mUyB/oex5rdKdwVdE37/b/p/7//2f+//+0h+ElCI0/yRxnQHCbKXJbx/XJsM7qErnSszU0rO/win+U/lrF3RX9rDvRSq2Vcv//N1CAgHX//3///+n+roa45VmtCFf///+xDECgBDOAMQoARAAK+AYbQQiAD61IBU+IIABAwJJ4C+6z6nt1df9V3/Y5q+GOxYGSfc02ppIotcSnTL6Kf8ypaqhQ8NSpRGAg232gAAeed/7+R65f6//r/6/1P95TOa31IHZqRzGf/7EMQQgEcBeQughHfAWIBi/ACIAJEEwMqqOLQ3Nhzatfn/89ZFOVmOme49BwAAAIABwAr/T/t///////1////s9NXD6z2i+4MAADYQepbrKt9AwO3+//+Q/6H2f2MDh8DcUiu7//RZ//sQxBKABNgBEaCEQAB2gGK8AIgAWBQhWAFVgXABkACQu1P3btP//9b6v9n+3////1Y24sofjceADAAAAUDLFbHf/t///+n/c30oU78y///6bY/WW0CWTeJzzRdPqKa9vRGo/uXogFf/+xDEGYBDwAEToIRNwMKAYbQAiAD7dhqlSiRURsQoQFDh1iiKtu2qy3psGPiMdB1d/////////9+7////8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y6htBCKudPb9//Zq0JU49/6P/8UpQXv1kFgtvpAAEzKcnP5ev75/L/y/8rEY5/+v/h355T9tMZnI593oqeTnGam0///1V9nd3Om42V3WGV1RWt8YAId5O5p//sgxAaABgV9EeCEV8DKruG0EIq5xyLLz0eUvP+///zy9///yP1TL89V9P9WX/7///l9P92J2BMNe5cLXegAANuGdSPz89jqI8uf9v//8v/y/r+fThIVTnGKZB/OP7if+v///+u6rTlyjIEUSRhiWZAAAc93ql8H9ctf5ary/+X/7//7IMQLgEaxdwughFfIwq8htBCK+f/zr2uRpxkTU2UQ4E6KRBA24///f/z8tmWgMzJYKTsGlmgknik+51vNSv9f3X5Zy//3/mX/m5/9fLk95y53MlKXF+p7///4NXRn5keQGoSql4eERUcMPkAAGDFGniliMc3lh3qV+tyvZ92jsQj/+xDEDoPF2AMP4ARAAFqAIcAACbjdIqcKtSNZT25j/qryBNQkKEf//////937qZAO5JFej+v//NqSk8UCFZZLbYFpoQAAbQ9ZRjXhI96U2d6G/6P1/ygUQvjiJ5wRYtGVKuhxhUaum//7EMQVAgZ0AQughEuAOwBjvACIAHu1a4seEhIuYIAEwAAECAH/hX////1f/Wp6aiWuW+IAAWdSAA/Wd5/u6+v3l//xf/Y//8jXkfsoasnRuRHGLvI8DyWft///k6eizndbOwNwwGAJ//sQxB0ARtF9DaCEV8DGACF0EIm4Gp2Ipu92jdsf33f2ev7BNPKIkSIcf4CGBgOgc6PQ1KSZeeV/32GyJUJhEoIkENaMNbtboAAAiFqcjemxPVb6f6///encoVMJ3sUl6yDf//psuVH/+xDEEoAFDAMPoIRAALgAYfQAiAAx4VNeQb2SXbtEABjnIOi591NUjRYii5bf0fq/jn1RO21+igktSwKspMM+3/stoGAFVXZZVVVFC31gAAkzV7Wiux/Sxjfdo939qu7zbrUkqgtDzP/7EMQQgEXwAw/ghEAAooAh9BCJuCZU4YS04Kdn/rb33NNhvDf2SW28JEVMGmsoGabapD06f/0P36g6xfI00U6c/f0VJ//Y0k8DhQeq2w0t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SHJZ8X+///7urUz/TUYT/////7EMQqAAbcAQughE3AgoBivBCIAP7xWYr3Ua2iWeIAAKMCDEsYkVWfoqvt/t21o0JrZvzjx1Ckqeh740XRW3UTWllqov6uxDkkBGeNms4Jq2AJgBqXUMtZd/rUyKf//1JlJPJixxBA//sQxCeARqADDaCEQACwgCG0EIm4dnjl2hMHHMJ9/9VOiXBIVBIK1f////////7vr/2f/9WFGFjevmFult9RAIeLJQNpeqxlO7a/p/3+3/s7N+xn1p/Win/0WkDwnUpVZZQFRCl0IAL/+xDEIAACFAESAABAAJcAIjQQiAADSzRZzJ/chGjmer/G+uzdqavtumVuNGypGK9F9E9kNSa3rVCg8mKhgur//////////////9mi+Au31v3jIACDfN1pPiyGp0EtHZ/u9X/T/R32M//7EMQuA8ZgAw3gBEAAMwBiwAAIAN/p//p96ExxyyNyXMAAArR6kIpvnNFtKi1atv0/u8whgnxo2tgsFSePHtFjoGCwjFXMFtSq6f1wG+MAASoPe6wC2+kAAWJPIWt6PmXYl9+j93R1//sQxDeABFQDE6CEQADXgGF0EIgA+zoZEAMEkNcZvNnRcmKkGHWxZ3T288m4HDAiLBoIAGBH/////9df+939/fs/7qnav1eXE1WADAAADgMAAN7f/60X//+oTf6dLvb/X093//fVMA//+xDENIMGhAENoIRNwFgAYkgACAAgAO4O34AACFjOi/ke7Sv////v/kEXf/zn/6F3lgdmZ3+HaAQFCjnWvreKJl9cx/9FH2Dnfynro/T/9qv//Xd/t7tb/mQAHHBd5BybWb379TLf1f/7EMQ4gAOcAROghEuAb4BivACIAK+kv+r9SuL60U6dN9X/7OytiQB9RMALwCAB1MVot/9t////U711uu/e31LfV/9XNm40u4Qrq6qiO6EAAJZzs5vuMlrnPl/P+v/15f/6f6/RbKuT//sQxEWABGwBFeAEQACagGJ0EIgApdxptoH3C2lokJXH3Cn/fH6XhEFBAI1nkABwcFGAAAAal/us9Xv///////7///+jItem//8XXUeggAKUwKtTTKJfbbGeq3/Z/+hf/emu1g59Cf//+xDESgAEF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BCIALZK4AhpYLTbW3/b7MkABRZq2rc8VnieXa0AEVtZZ/u/XtbvkylMzS3FONl7VUUmv/temFAaFDgsMQCAT/mf/z/+Q4aroV86f/Uo3w//r/9bfLr7//sQxIyABwDVC6CAUkCrAGI8AIgAuqhGBKJaMAsqdWn/9f5Gv//////t///9uGhETEFNRTMuOTkuM6qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr/+xDEhIBDpAMRoARAAHAAYrwAiACqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqv/7EMSRAAX0AQ2ghEAAyIAh9BCJuKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq//sQxImBQ6l3DkAEXQhegGD0AIgAqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqo=";class Ou extends Fr{notifyNext(e,t,n,i,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class xu extends Fr{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Iu(e,t,n,i,s=new xu(e,n,i)){if(!s.closed)return t instanceof jr?t.subscribe(s):Yl(t)(s)}const Tu={};class Mu{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new Nu(e,this.resultSelector))}}class Nu extends Ou{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(Tu),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add(Iu(this,t,void 0,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n){const i=this.values,s=i[n],r=this.toRespond?s===Tu?--this.toRespond:this.toRespond:0;i[n]=t,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)}}class ku{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new Ru(e,this.resultSelector))}}class Ru extends Fr{constructor(e,t,n=Object.create(null)){super(e),this.resultSelector=t,this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:void 0}_next(e){const t=this.iterators;Ir(e)?t.push(new Du(e)):"function"==typeof e[$l]?t.push(new Fu(e[$l]())):t.push(new Pu(this.destination,this,e))}_complete(){const e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(let n=0;n<t;n++){let t=e[n];if(t.stillUnsubscribed){this.destination.add(t.subscribe())}else this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const e=this.iterators,t=e.length,n=this.destination;for(let n=0;n<t;n++){let t=e[n];if("function"==typeof t.hasValue&&!t.hasValue())return}let i=!1;const s=[];for(let r=0;r<t;r++){let t=e[r],o=t.next();if(t.hasCompleted()&&(i=!0),o.done)return void n.complete();s.push(o.value)}this.resultSelector?this._tryresultSelector(s):n.next(s),i&&n.complete()}_tryresultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)}}class Fu{constructor(e){this.iterator=e,this.nextResult=e.next()}hasValue(){return!0}next(){const e=this.nextResult;return this.nextResult=this.iterator.next(),e}hasCompleted(){const e=this.nextResult;return Boolean(e&&e.done)}}class Du{constructor(e){this.array=e,this.index=0,this.length=0,this.length=e.length}[$l](){return this}next(e){const t=this.index++,n=this.array;return t<this.length?{value:n[t],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class Pu extends Jl{constructor(e,t,n){super(e),this.parent=t,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[$l](){return this}next(){const e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(e){this.buffer.push(e),this.parent.checkIterators()}subscribe(){return ec(this.observable,new Zl(this))}}class Bu{constructor(e){this.callback=e}call(e,t){return t.subscribe(new Lu(e,this.callback))}}class Lu extends Fr{constructor(e,t){super(e),this.add(new Nr(t))}}var ju=n(7539);function Uu(e,t,n){return function(e,t,n,i,s){const r=-1!==n?n:e.length;for(let n=t;n<r;++n)if(0===e[n].indexOf(i)&&(!s||-1!==e[n].toLowerCase().indexOf(s.toLowerCase())))return n;return null}(e,0,-1,t,n)}function zu(e,t){const n=Uu(e,"a=rtpmap",t);return n?function(e){const t=new RegExp("a=rtpmap:(\\d+) [a-zA-Z0-9-]+\\/\\d+"),n=e.match(t);return n&&2===n.length?n[1]:null}(e[n]):null}function qu(e,t){return t?e:e.replace("sendrecv","sendonly")}function Vu(e){e.getAudioTracks().forEach((e=>e.stop())),e.getVideoTracks().forEach((e=>e.stop()))}function Gu(e,t,n){const{peerConnection:i}=e,s=s=>{e.localStream=s,s.getTracks().forEach((r=>{"video"===r.kind?n&&"live"===r.readyState&&(e.video=i.addTrack(r,s)):t&&"live"===r.readyState&&(r.enabled=!e.isMuted,e.audio=i.addTrack(r,s))})),e.audio&&e.audio.dtmf&&(e.toneSend$=Yr(e.audio.dtmf,"tonechange").pipe(_u(((e,t)=>e+t.tone),"")))};if(e.localStream){n||e.localStream.getVideoTracks().forEach((e=>e.stop())),t||e.localStream.getAudioTracks().forEach((e=>e.stop()));const i=e.localStream.getVideoTracks().some((e=>"live"===e.readyState)),r=e.localStream.getAudioTracks().some((e=>"live"===e.readyState));if((!n||n&&i)&&(!t||t&&r))return s(e.localStream),Wl(e.localStream);Vu(e.localStream)}return Kl(navigator.mediaDevices.getUserMedia({audio:t,video:n})).pipe(Ic((e=>(console.log(e),Kl(navigator.mediaDevices.getUserMedia({audio:t,video:!1}))))),If(s))}function Wu(e){return function(e){e.peerConnection&&e.peerConnection.close(),e.audio=void 0,e.isVideoReceived=!1,e.toneSend$=mc,e.video=void 0,e.remoteStream$.next(null)}(e),e.peerConnection=new RTCPeerConnection({}),e.peerConnection.ontrack=t=>e.remoteStream$.next(t.streams[0]),e.peerConnection}function $u(e,t){let n=!1,i=!1;return e&&ju.splitSections(e).filter((e=>t.indexOf(ju.getDirection(e))>=0&&!ju.isRejected(e))).map((e=>ju.getKind(e))).forEach((e=>{"video"===e?i=!0:"audio"===e&&(n=!0)})),[n,i]}function Hu(e){return $u(e,["sendrecv","recvonly"])}function Qu(e,t){return Kl(e.setRemoteDescription(t))}function Yu(e){e&&(e.localStream&&Vu(e.localStream),e.peerConnection&&e.peerConnection.close(),e.isVideoCall=!1)}class Xu{constructor(e,t=!1,n=[]){this.myPhoneService=e,this.isElevateVideoDisabled=t,this.webRtcCodecs=n,this.globalTransactionId=0,this.forcedEmit=new rf(!0),this.suspendStream=new Gr,this.resumeStream=new Gr;const i=this.myPhoneService.mySession$.pipe(tc((e=>void 0!==e.webRTCEndpoint$?e.webRTCEndpoint$:new jr)),cc(new fa),(s=this.suspendStream,r=this.resumeStream,e=>new jr((t=>{let n=0,i=[];const o=[s.subscribe((()=>{n+=1})),r.subscribe((()=>{n-=1,0===n&&(i.forEach((e=>t.next(e))),i=[])})),e.subscribe((e=>{n>0?i.push(e):t.next(e)}),(e=>t.error(e)),(()=>t.complete()))];return()=>{o.forEach((e=>e.unsubscribe()))}}))));var s,r;this.mediaDevice$=function(...e){let t=void 0,n=void 0;return zl(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Ir(e[0])&&(e=e[0]),Gl(e,n).lift(new Mu(t))}(i,this.forcedEmit).pipe(_u(((e,t)=>{const n=e,[i]=t,s=i.Items.reduce(((e,t)=>(e[t.Id]=t,e)),{});this.lastOutgoingMedia&&s[this.lastOutgoingMedia.lastWebRTCState.Id]&&(n.push(this.lastOutgoingMedia),this.lastOutgoingMedia=void 0);const r=[];n.forEach((e=>{const t=s[e.lastWebRTCState.Id];if(t){const{lastWebRTCState:n}=e;e.lastWebRTCState=Object.assign({},t),e.isActive||t.holdState!==da.WebRTCHoldState_NOHOLD||n.holdState!==da.WebRTCHoldState_HELD||this.hold(e,!1).subscribe(),n.sdpType===t.sdpType&&n.sdp===t.sdp||this.processState(n.sdpType,e).subscribe((()=>{}),(e=>{})),delete s[t.Id],r.push(e)}else Yu(e)}));const o=Object.values(s).filter((e=>e.sdpType===ua.WRTCOffer||e.sdpType===ua.WRTCRequestForOffer)).map((e=>new Au({lastWebRTCState:Object.assign({},e)})));return r.concat(o)}),[]),ro((()=>new wc(1))),Jr())}setLocalDescription(e,t,n){return n&&this.webRtcCodecs&&this.webRtcCodecs.length>0&&this.webRtcCodecs.slice().reverse().forEach((e=>{t.sdp&&(t.sdp=function(e,t,n){if(!n)return e;const i=e.split("\r\n"),s=Uu(i,"m=",t);if(null===s)return e;const r=zu(i,n);return r&&(i[s]=function(e,t){const n=e.split(" "),i=n.slice(0,3);i.push(t);for(let e=3;e<n.length;e++)n[e]!==t&&i.push(n[e]);return i.join(" ")}(i[s],r)),i.join("\r\n")}(t.sdp,"audio",e))})),Kl(e.setLocalDescription(t)).pipe(tc((()=>Yr(e,"icegatheringstatechange"))),jo((()=>"complete"===e.iceGatheringState)),Ec(1))}processState(e,t){switch(t.lastWebRTCState.sdpType){case ua.WRTCAnswerProvided:return this.processAnswerProvided(e,t);case ua.WRTCOffer:return this.processOffer(t);case ua.WRTCRequestForOffer:return this.processRequestForOffer(t);case ua.WRTCConfirmed:this.processConfirmed(t)}return mc}processConfirmed(e){if(e.isNegotiationInProgress=!1,e.peerConnection.remoteDescription){const[t,n]=$u(e.peerConnection.remoteDescription.sdp,["sendrecv","sendonly"]);e.isVideoReceived=n}}processAnswerProvided(e,t){const n=t.lastWebRTCState;if(e===ua.WRTCConfirmed)return this.setConfirmed(n.Id);const[i,s]=Hu(t.lastWebRTCState.sdp);return!s&&t.video&&(t.localStream&&t.localStream.getVideoTracks().forEach((e=>e.stop())),t.video=void 0),Qu(t.peerConnection,{type:"answer",sdp:n.sdp}).pipe(tc((()=>this.setConfirmed(n.Id))))}setConfirmed(e){return this.requestChangeState({Id:e,sdpType:ua.WRTCConfirm})}processOffer(e){if(!this.isElevateVideoDisabled){const[t,n]=Hu(e.lastWebRTCState.sdp);!e.isVideoCall&&n&&window.confirm("Enable video in a call?")&&(e.isVideoCall=!0)}return this.processAnswer(e)}processRequestForOffer(e){return this.processAnswer(e)}getLastOutgoingMedia(){const e=this.lastOutgoingMedia;return this.lastOutgoingMedia=void 0,e}holdAll(e){return this.mediaDevice$.pipe(Ec(1),$r((t=>t.filter((t=>t.lastWebRTCState.Id!==e)))),tc((e=>e.length?function(...e){const t=e[e.length-1];return"function"==typeof t&&e.pop(),Gl(e,void 0).lift(new ku(t))}(...e.map((e=>this.hold(e,!1)))):Wl([]))))}dropCall(e){return this.requestChangeState(new pa({Id:e,sdpType:ua.WRTCTerminate}))}makeCall(e,t){const n=new Au({lastWebRTCState:new ha({sdpType:ua.WRTCInitial,holdState:da.WebRTCHoldState_NOHOLD})});n.isActive=!0,n.isNegotiationInProgress=!0,n.isVideoCall=t;const i=Wu(n);return this.holdAll().pipe(tc((()=>Gu(n,!0,t))),tc((e=>Kl(i.createOffer({offerToReceiveAudio:!0,offerToReceiveVideo:t})))),tc((e=>this.setLocalDescription(i,e,!0))),tc((()=>i.localDescription&&i.localDescription.sdp?this.requestChangeState({Id:0,sdpType:ua.WRTCOffer,destinationNumber:e,transactionId:this.globalTransactionId++,sdp:i.localDescription.sdp},!0):Fo("Local sdp missing"))),If((e=>{n.lastWebRTCState=new ha({Id:e.CallId,sdpType:ua.WRTCInitial}),this.lastOutgoingMedia=n})),Ic((e=>(Yu(n),Fo(e)))))}answer(e,t){return e.isNegotiationInProgress?mc:(e.isActive=!0,e.isVideoCall=t,this.holdAll(e.lastWebRTCState.Id).pipe(tc((()=>this.processAnswer(e)))))}processAnswer(e){const t=e.lastWebRTCState,n=Wu(e);let i,s;if(e.isActive||(e.isMuted=!0),e.isNegotiationInProgress=!0,t.sdpType===ua.WRTCOffer){if(!t.sdp)return Fo("Offer doesn't have sdp");const[r,o]=Hu(t.sdp);s=ua.WRTCAnswer,i=Gu(e,r,o&&e.isVideoCall).pipe(tc((()=>Qu(n,{type:"offer",sdp:t.sdp}))),tc((()=>Kl(n.createAnswer()))),tc((e=>this.setLocalDescription(n,e,!1))))}else{if(t.sdpType!==ua.WRTCRequestForOffer)return e.isNegotiationInProgress=!1,Fo("Can't answer when state "+t.sdpType);{s=ua.WRTCOffer;const t={offerToReceiveAudio:!0,offerToReceiveVideo:e.isVideoCall};i=Gu(e,!0,e.isVideoCall).pipe(tc((()=>Kl(n.createOffer(t)))),tc((e=>this.setLocalDescription(n,e,!0))))}}return i.pipe(tc((()=>n.localDescription&&n.localDescription.sdp?this.requestChangeState({Id:t.Id,sdpType:s,transactionId:t.transactionId,sdp:n.localDescription.sdp}):Fo("Local sdp missing"))),Ic((t=>(e.isNegotiationInProgress=!1,Fo(t)))))}sendDtmf(e,t){e.audio&&e.audio.dtmf&&e.audio.dtmf.insertDTMF(t,100,100)}video(e){return(!e.isVideoCall||e.isVideoReceived&&e.isVideoSend)&&(e.isVideoCall=!e.isVideoCall),this.renegotiate(e,!0)}mute(e){this.setMute(e,!e.isMuted)}setMute(e,t){e.isMuted=t,e.audio&&e.audio.track&&(e.audio.track.enabled=!t)}hold(e,t){e.isActive=t;const n=e.lastWebRTCState;return t||n.holdState===da.WebRTCHoldState_NOHOLD?t&&n.holdState!==da.WebRTCHoldState_HOLD?Wl(!0):(this.setMute(e,!t),this.renegotiate(e,t)):Wl(!0)}renegotiate(e,t){if(e.isNegotiationInProgress)return Wl(!0);const n=e.lastWebRTCState;e.isNegotiationInProgress=!0,this.forcedEmit.next(!0);const i=Wu(e);let s=Wl(!0);return t&&(s=this.holdAll(e.lastWebRTCState.Id)),s.pipe(tc((()=>Gu(e,!0,!!t&&e.isVideoCall))),tc((()=>Kl(i.createOffer({offerToReceiveAudio:t,offerToReceiveVideo:t&&e.isVideoCall})))),tc((e=>this.setLocalDescription(i,e,!0))),tc((()=>i.localDescription&&i.localDescription.sdp?this.requestChangeState({Id:n.Id,sdpType:ua.WRTCOffer,transactionId:this.globalTransactionId++,sdp:qu(i.localDescription.sdp,t)}):Fo("Local sdp missing"))),Ic((t=>(e.isNegotiationInProgress=!1,this.forcedEmit.next(!0),Fo(t)))))}requestChangeState(e,t){const n=this.myPhoneService.get(new au(new pa(e)),!1);return wf(n)?t?n.pipe((i=()=>this.suspendStream.next(),e=>new jr((t=>(i(),e.subscribe(t))))),tc((e=>e.Success?Wl(e):Fo(e.Message))),function(e){return t=>t.lift(new Bu(e))}((()=>this.resumeStream.next()))):n.pipe(tc((e=>e.Success?Wl(e):Fo(e.Message)))):Fo("Invalid channel setup");var i}}class Ku{constructor(e){this.isTryingCall=!1,this.isEstablished=!1,this.media=wu,Object.assign(this,e)}}function Zu(e,t){const n=e.find((e=>e.media.lastWebRTCState.Id===t.lastWebRTCState.Id));return!!n&&(!!n.isEstablished||t.lastWebRTCState.sdpType===ua.WRTCConfirmed)}class Ju{constructor(e){this.webrtcService=e,this.callControl$=new Gr,this.myCalls$=_f(this.webrtcService.mediaDevice$,this.callControl$).pipe(_u(((e,t)=>{if("removeTryingCall"===t)return e.filter((e=>!e.isTryingCall));if("requestTryingCall"===t)return e.concat([new Ku({isTryingCall:!0,media:wu})]);const n=t.map((t=>new Ku({media:t,isEstablished:Zu(e,t)}))),i=e.find((e=>e.isTryingCall));return i&&0===n.length&&n.push(i),n}),[]),uu(1)),this.soundToPlay$=this.myCalls$.pipe($r((e=>{if(0===e.length)return;const t=e[0];if(t.isEstablished)return;if(t.isTryingCall)return Eu;const n=t.media.lastWebRTCState.sdpType;return n===ua.WRTCOffer||n===ua.WRTCProcessingOffer?Eu:void 0})))}call$(e,t){return this.callControl$.next("requestTryingCall"),this.webrtcService.makeCall("",t||!1).pipe(Ic((e=>(Yu(this.webrtcService.getLastOutgoingMedia()),this.callControl$.next("removeTryingCall"),Fo(e)))))}}class ed{constructor(){this.hasTryingCall=!1,this.hasEstablishedCall=!1,this.media=wu,this.videoOnlyLocalStream=null,this.remoteStream=null,this.videoOnlyRemoteStream=null,this.audioNotificationUrl=null,this.hasCall=!1,this.isFullscreen=!1,this.videoCallInProcess$=new Gr,this.webRtcCodecs=[]}setChatService(e){this.myChatService=e}setWebRtcCodecs(e){this.webRtcCodecs=e}initCallChannel(e,t){if(this.myChatService&&(e||t)){this.webRTCControlService=new Xu(this.myChatService,!t,this.webRtcCodecs),this.phoneService=new Ju(this.webRTCControlService);const e=this.phoneService.myCalls$.pipe($r((e=>e.length>0?e[0].media:wu)),tc((e=>e.remoteStream$)));this.phoneService.soundToPlay$.subscribe((e=>{this.audioNotificationUrl=e})),e.subscribe((e=>{this.remoteStream=e,this.videoOnlyRemoteStream=this.videoOnly(e)})),this.phoneService.myCalls$.subscribe((e=>{this.hasCall=e.length>0,this.hasTryingCall=this.hasCall&&e[0].isTryingCall,this.hasEstablishedCall=this.hasCall&&e[0].isEstablished,this.media=e.length?e[0].media:wu,this.media?(this.videoOnlyLocalStream=this.videoOnly(this.media.localStream),this.videoCallInProcess$.next(!0)):this.videoOnlyLocalStream=null})),this.addFullScreenListener()}}get isVideoActive(){return this.media.isVideoCall&&(this.media.isVideoSend||this.media.isVideoReceived)}videoOnly(e){if(!e)return null;const t=e.getVideoTracks();return 0===t.length?null:new MediaStream(t)}mute(){this.webRTCControlService.mute(this.media)}call(e){return this.phoneService.call$("",e||!1)}dropCall(){return this.media?this.webRTCControlService.dropCall(this.media.lastWebRTCState.Id):Fo("No media initialized")}removeDroppedCall(){return this.hasCall=!1,Yu(this.media)}isFullscreenSupported(){const e=document;return!!(e.fullscreenEnabled||e.webkitFullscreenEnabled||e.mozFullScreenEnabled||e.msFullscreenEnabled)}addFullScreenListener(){document.addEventListener("fullscreenchange",(()=>{this.onFullScreenChange()})),document.addEventListener("webkitfullscreenchange",(()=>{this.onFullScreenChange()})),document.addEventListener("mozfullscreenchange",(()=>{this.onFullScreenChange()})),document.addEventListener("MSFullscreenChange",(()=>{this.onFullScreenChange()})),this.videoContainer&&(this.videoContainer.addEventListener("webkitbeginfullscreen",(()=>{this.isFullscreen=!0})),this.videoContainer.addEventListener("webkitendfullscreen",(()=>{this.isFullscreen=!1})))}isFullscreenActive(){const e=document;return e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||null}onFullScreenChange(){this.isFullscreenActive()?this.isFullscreen=!0:this.isFullscreen=!1}goFullScreen(){if(this.isFullscreen)return;const e=this.videoContainer;try{null!=e&&this.isFullscreenSupported()?e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen():Df("fullscreen is not supported")}catch(e){Df(e)}}}function td(e,t,n,i,s,r,o,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):s&&(l=a?function(){s.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(c.functional){c._injectStyles=l;var f=c.render;c.render=function(e,t){return l.call(t),f(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:c}}const nd=td({name:"ToolbarButton",props:{title:{type:String,default:""},disabled:Boolean}},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("button",{class:[e.$style.button],attrs:{id:"wplc-chat-button",title:e.title,disabled:e.disabled},on:{mousedown:function(e){e.preventDefault()},click:function(t){return t.preventDefault(),t.stopPropagation(),e.$emit("click")}}},[e._t("default")],2)}),[],!1,(function(e){var t=n(1368);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var id=n(1466),sd=n.n(id),rd=n(3787),od=n.n(rd),ad=n(7123),ld=n.n(ad),cd=n(3852),fd=n.n(cd),ud=n(8642),dd=n.n(ud),hd=n(6561),pd=n.n(hd),md=n(5852),gd=n.n(md),bd=n(2154),vd=n.n(bd),yd=n(6011),Ad=n.n(yd),wd=n(2371),_d=n.n(wd),Cd=n(3582),Sd=n.n(Cd),Ed=n(2106),Od=n.n(Ed),xd=n(9028),Id=n.n(xd),Td=n(1724),Md=n.n(Td),Nd=n(4684),kd=n.n(Nd),Rd=n(5227),Fd=n.n(Rd),Dd=n(7474),Pd=n.n(Dd),Bd=n(6375),Ld=n.n(Bd),jd=n(6842),Ud=n.n(jd),zd=n(7308),qd=n.n(zd),Vd=n(8840),Gd=n.n(Vd),Wd=n(7707),$d=n.n(Wd),Hd=n(1623),Qd=n.n(Hd),Yd=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Xd=class extends(rr(sf)){constructor(){super(...arguments),this.isWebRtcAllowed=Ul}beforeMount(){this.myWebRTCService&&this.myWebRTCService.initCallChannel(this.allowCall,!1)}mounted(){const e=this.$refs.singleButton;void 0!==e&&e.$el instanceof HTMLElement&&(e.$el.style.fill="#FFFFFF")}makeCall(){this.myWebRTCService.call(!1).pipe(Ec(1)).subscribe((()=>{}),(e=>this.eventBus.onError.next(e)))}dropCall(){this.myWebRTCService.dropCall().pipe(Ec(1)).subscribe((()=>{}),(e=>this.eventBus.onError.next(e)))}};Yd([wr({default:!1})],Xd.prototype,"disabled",void 0),Yd([wr()],Xd.prototype,"allowCall",void 0),Yd([wr()],Xd.prototype,"callTitle",void 0),Yd([pr()],Xd.prototype,"myWebRTCService",void 0),Yd([pr()],Xd.prototype,"eventBus",void 0),Xd=Yd([dr({components:{ToolbarButton:nd,GlyphiconCall:od()}})],Xd);const Kd=td(Xd,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.myWebRTCService?n("div",{class:[e.$style.root]},[e.myWebRTCService.audioNotificationUrl?n("audio",{attrs:{src:e.myWebRTCService.audioNotificationUrl,autoplay:"",loop:""}}):e._e(),e._v(" "),e.myWebRTCService.remoteStream?n("audio",{directives:[{name:"srcObject",rawName:"v-srcObject",value:e.myWebRTCService.remoteStream,expression:"myWebRTCService.remoteStream"}],attrs:{autoplay:""}}):e._e(),e._v(" "),e.myWebRTCService.hasCall?n("toolbar-button",{ref:"singleButton",class:[e.$style["single-button"],e.$style.bubble,e.$style["button-end-call"]],on:{click:e.dropCall}},[n("glyphicon-call")],1):n("toolbar-button",{ref:"singleButton",class:[e.$style["single-button"],e.$style.bubble],attrs:{disabled:!e.isWebRtcAllowed||e.disabled,title:e.callTitle},on:{click:e.makeCall}},[n("glyphicon-call")],1)],1):e._e()}),[],!1,(function(e){var t=n(2324);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Zd=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Jd=class extends vf{constructor(){super(),this.viewState=So.None,this.delayEllapsed=!1,yu(this);const e=this.phonesystemUrl?this.phonesystemUrl:this.channelUrl,t=this.phonesystemUrl?this.phonesystemUrl:this.filesUrl;this.myChatService=new Rc(e,"",t,this.party,this.currentChannel),this.myChatService.setAuthentication({}),this.myWebRTCService=new ed,this.myWebRTCService.setChatService(this.myChatService)}get animationsCallUs(){if(this.$style)switch(this.animationStyle.toLowerCase()){case"slideleft":return[this.$style.slideLeft];case"slideright":return[this.$style.slideRight];case"fadein":return[this.$style.fadeIn];case"slideup":return[this.$style.slideUp]}return[]}get isHidden(){return!$c.isDesktop()&&"false"===this.enableOnmobile||"false"===this.enable}get callTitleHover(){var e;if(this.viewState!==So.Disabled){const t=zc(null!==(e=this.callTitle)&&void 0!==e?e:Nl.t("Inputs.CallTitle"),250);return ef.getTextHelper().getPropertyValue("CallTitle",[t,Nl.t("Inputs.CallTitle").toString()])}return""}isPhoneDisabled(e){return!e.isAvailable}beforeMount(){setTimeout((()=>{this.delayEllapsed=!0}),this.chatDelay),this.isHidden||(this.$subscribeTo(this.eventBus.onError,(e=>{alert(Bl(e))})),this.$subscribeTo(this.info$,(e=>{void 0!==e.dictionary?ef.init(e.dictionary):ef.init({}),this.isPhoneDisabled(e)&&(this.viewState=So.Disabled),this.myWebRTCService.setWebRtcCodecs(e.webRtcCodecs)}),(e=>{console.error(e),this.viewState=So.Disabled})))}};Zd([vr()],Jd.prototype,"myChatService",void 0),Zd([vr()],Jd.prototype,"myWebRTCService",void 0),Jd=Zd([dr({components:{CallButton:Kd}})],Jd);const eh=td(Jd,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.delayEllapsed?n("div",{attrs:{id:"callus-phone-container"}},[n("div",{class:[e.animationsCallUs,e.isHidden?"":[this.$style.root]]},[e.isHidden?e._e():n("call-button",{attrs:{"allow-call":!0,"call-title":e.callTitleHover,disabled:e.viewState===e.ViewState.Disabled}})],1)]):e._e()}),[],!1,(function(e){var t=n(7601);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var th=n(8620),nh=n(2419);const ih=td({name:"MaterialCheckbox",props:{value:Boolean,checkName:{type:String,default:""},checkLabel:{type:String,default:""}},data(){return{checked:this.value}},methods:{handleCheckbox(e){this.$emit("change",this.checked)}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.materialCheckbox},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"checked"}],class:e.$style.wplc_checkbox,attrs:{id:"ck"+e.checkName,type:"checkbox",name:"checkboxInput"},domProps:{checked:Array.isArray(e.checked)?e._i(e.checked,null)>-1:e.checked},on:{change:[function(t){var n=e.checked,i=t.target,s=!!i.checked;if(Array.isArray(n)){var r=e._i(n,null);i.checked?r<0&&(e.checked=n.concat([null])):r>-1&&(e.checked=n.slice(0,r).concat(n.slice(r+1)))}else e.checked=s},e.handleCheckbox]}}),e._v(" "),n("label",{class:e.$style.wplc_checkbox,attrs:{for:"ck"+e.checkName}},[e._v(e._s(e.checkLabel))])])}),[],!1,(function(e){var t=n(265);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;const sh=td({name:"MaterialDropdown",props:{value:{type:String,default:""},label:{type:String,default:""},options:{type:Array,default:()=>[]},optionsType:{type:String,default:""}},methods:{handleChanged(e){this.$emit("input",e.target.value)}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.materialSelectDiv},[n("select",{ref:"selectControl",class:[e.$style.materialSelect,e.value&&"-1"!==e.value?e.$style.valueSelected:""],domProps:{value:e.value},on:{change:function(t){return e.handleChanged(t)}}},[e._l(e.options,(function(t,i){return["object-collection"===e.optionsType?n("option",{key:i,domProps:{value:t.value}},[e._v("\n "+e._s(t.text)+"\n ")]):e._e(),e._v(" "),"text-collection"===e.optionsType?n("option",{key:i,domProps:{value:t}},[e._v("\n "+e._s(t)+"\n ")]):e._e()]}))],2),e._v(" "),n("label",{class:e.$style.materialSelectLabel},[e._v(e._s(e.label))])])}),[],!1,(function(e){var t=n(17);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;const rh=td({name:"MaterialInput",props:{value:{type:String,default:""},placeholder:{type:String,default:""},maxLength:{type:String,default:"50"},disabled:Boolean},data(){return{content:this.value}},methods:{focus(){this.$refs.input&&this.$refs.input.focus()},handleInput(e){this.$emit("input",this.content)}}},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.materialInput},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.content,expression:"content"}],ref:"input",attrs:{placeholder:e.placeholder,autocomplete:"false",maxlength:e.maxLength,type:"text",disabled:e.disabled},domProps:{value:e.content},on:{input:[function(t){t.target.composing||(e.content=t.target.value)},e.handleInput]}}),e._v(" "),n("span",{class:e.$style.bar})])}),[],!1,(function(e){var t=n(4753);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var oh=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let ah=class extends(rr(sf)){};oh([wr()],ah.prototype,"show",void 0),oh([wr()],ah.prototype,"text",void 0),ah=oh([dr({components:{}})],ah);const lh=td(ah,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.show?n("div",{class:e.$style.loading},[n("div",{class:e.$style.loader},[e._v("\n "+e._s(e.text)+"\n ")])]):e._e()}),[],!1,(function(e){var t=n(978);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;function ch(e,t){return n=>n.lift(new fh(e,t))}class fh{constructor(e,t){this.compare=e,this.keySelector=t}call(e,t){return t.subscribe(new uh(e,this.compare,this.keySelector))}}class uh extends Fr{constructor(e,t,n){super(e),this.keySelector=n,this.hasKey=!1,"function"==typeof t&&(this.compare=t)}compare(e,t){return e===t}_next(e){let t;try{const{keySelector:n}=this;t=n?n(e):e}catch(e){return this.destination.error(e)}let n=!1;if(this.hasKey)try{const{compare:e}=this;n=e(this.key,t)}catch(e){return this.destination.error(e)}else this.hasKey=!0;n||(this.key=t,this.destination.next(e))}}var dh=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let hh=class extends(rr(sf)){constructor(){super(...arguments),this.showNotification=!1}onClick(){this.$emit("click")}get isBubble(){return this.config.minimizedStyle===df.BubbleRight||this.config.minimizedStyle===df.BubbleLeft}beforeMount(){this.$subscribeTo(this.eventBus.onUnattendedMessage,(e=>{this.showNotification=!e.preventBubbleIndication})),this.$subscribeTo(this.eventBus.onAttendChat,(()=>{this.showNotification=!1}))}mounted(){const e=this.$refs.toolbarButton;void 0!==e&&e.$el instanceof HTMLElement&&(e.$el.style.fill="#FFFFFF")}};dh([wr()],hh.prototype,"disabled",void 0),dh([wr({default:!0})],hh.prototype,"collapsed",void 0),dh([wr()],hh.prototype,"config",void 0),dh([pr()],hh.prototype,"eventBus",void 0),hh=dh([dr({components:{ToolbarButton:nd,GlyphiconCall:od(),GlyphiconChevron:sd(),WplcIcon:Pd(),WplcIconBubble:Ud(),WplcIconDoubleBubble:Ld()}})],hh);const ph=td(hh,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("toolbar-button",{ref:"toolbarButton",class:[e.$style["minimized-button"],e.$style.bubble],attrs:{disabled:e.disabled},on:{click:function(t){return e.onClick()}}},[e.isBubble?[e.collapsed&&"url"===e.config.buttonIconType&&""!==e.config.buttonIcon?n("img",{class:e.$style["minimize-image"],attrs:{src:e.config.buttonIcon}}):e.collapsed&&"Bubble"===e.config.buttonIconType?n("WplcIconBubble",{class:e.$style["minimize-image"]}):e.collapsed&&"DoubleBubble"===e.config.buttonIconType?n("WplcIconDoubleBubble",{class:e.$style["minimize-image"]}):e.collapsed?n("WplcIcon",{class:e.$style["minimize-image"]}):e.collapsed?e._e():n("glyphicon-chevron",{class:[e.$style["minimize-image"],e.$style.chevron_down_icon]}),e._v(" "),e.showNotification?n("span",{class:e.$style["notification-indicator"]}):e._e()]:e._e()],2)}),[],!1,(function(e){var t=n(4806);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;const mh="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAAANlBMVEXz9Pa5vsq2u8jN0dnV2N/o6u7FydPi5Onw8fS+ws3f4ee6v8v29/jY2+Hu7/Ly9PbJztbQ1dxJagBAAAAC60lEQVR4nO3b2ZaCMBREUQbDJOP//2wbEGVIFCHKTa+zH7uVRVmBBJQgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMCpdOzvQQqaq2KmuSrOzQ02lSeRem8rpsQq/ozg72Kj4UkAxEev8awnzs7P1yiIadsfpQXjfZCHhUCzbfmeurdNz6bDRsBWRsB+k0cXxdHjpa0wkTBn3hKnjzRZyEgYk3IeEv2RKWCt1cN9EJ0zjfm7Mq/rAVgUnbLpwnK/zA2tnuQmzJHquuqJq91blJuwmAW8rHbV3q2ITFrOAt7Xz3l2UmrBMlpcHe9fOUhOqRYVhFO/cqtSEy0H6bh/tJ1uhCctqlTB/NSnG9pOt1ISXjxLq825laVFowo9GaRPrF9talJqw3n6macaZ09yi1ISG2cLyriwePwxzi1ITru4s2naxma59TC2KTRjE83FqmQ6yeDaUDS3KTRhMV96h5TTSLD4HQ4uCE9bxePUU5pYL/3mD5o9CcMKgTONc39NNLrV5iK4aNLUoOWHQ38RQtW3nsm6db92i8ISvGBtct+hvwqyzBFxE9DehrcHlQPU1YWNvcNGirwlfNThv0ZOE9eJG1OsGZy36kVBdczU9e7RvAz5b9CFhqfIwSp4XwG+OwUWLPiRUV/33Z4tbGtTvGK635CfUDfb/SO5rt20N9t8m65fLT9g3GD5abDY2qC+lvEg4NjhEvLW4tUFvEj4a7OXq3TzoW8Jpg0PEzfk8SThv8EMeJFw1+O8SHmrQg4QHG/Qg4cEGxSc83KD4hIcblJ6w3L508TXh+vtDEpLw3GwDEpKQhOdznVD2fRr9tdpRw/1HqQndIeEvkXCXUlDC+1NBndsnge/fwyVnp9PGH3p95dm1WMKza4/fI37j+UPXR/c+2X9/hjQI0uO3LsyuMioM9A8Sjy/W1iIhY7Sn2tzpUahdWyXiNDNSxcWtSlCBAAAAAAAAAAAAAAAAAAAAAAAAAAAAwCn+AEXGNosxDBhFAAAAAElFTkSuQmCC";var gh=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let bh=class extends(rr(sf)){operatorHasImage(){return!!this.operator.image}onGreetingClosed(){this.$emit("closed")}onGreetingClicked(){this.$emit("clicked")}updateNotFoundImage(e){null!==e&&null!==e.target&&(e.target.src=mh)}mounted(){!$c.isDesktop()&&this.$refs.greetingText instanceof HTMLElement&&(this.$refs.greetingText.style.fontSize="15px")}};gh([wr()],bh.prototype,"greetingMessage",void 0),gh([wr({default:()=>kc})],bh.prototype,"operator",void 0),bh=gh([dr({components:{GlyphiconTimes:fd(),OperatorIcon:qd()}})],bh);const vh=td(bh,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"greetingContainer",class:[e.$style.root],attrs:{id:"greetingContainer"},on:{click:function(t){return e.onGreetingClicked()}}},[n("div",{class:e.$style["operator-img-container"]},[e.operatorHasImage()?n("img",{ref:"greetingOperatorIcon",class:[e.$style["operator-img"],e.$style["rounded-circle"]],attrs:{src:e.operator.image,alt:"avatar"},on:{error:function(t){return e.updateNotFoundImage(t)}}}):n("operatorIcon",{class:[e.$style["operator-img"]]})],1),e._v(" "),n("div",{class:e.$style["greeting-content"]},[n("span",{ref:"greetingText",class:e.$style["greeting-message"]},[e._v(e._s(e.greetingMessage))])]),e._v(" "),n("div",{class:e.$style["greeting-action-container"]},[n("div",{ref:"greetingCloseBtn",class:[e.$style["action-btn"],e.$style["close-btn"]],attrs:{id:"close_greeting_btn"},on:{click:function(t){return t.stopPropagation(),e.onGreetingClosed()}}},[n("glyphicon-times")],1)])])}),[],!1,(function(e){var t=n(8391);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var yh=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Ah=class extends(rr(sf)){constructor(){super(...arguments),this.isGreetingActivated=!1,this.isAnimationActivated=!0}get showGreeting(){return this.collapsed&&!this.disabled&&this.isGreetingEnabledOnDevice&&this.retrieveGreetingActivated()}get isGreetingEnabledOnDevice(){const e=$c.isDesktop();return this.greetingVisibilityOnState===mf.Both||this.greetingVisibilityOnState===mf.Mobile&&!e||this.greetingVisibilityOnState===mf.Desktop&&e}get greetingVisibilityOnState(){return this.panelState===So.Authenticate||this.panelState===So.Chat||this.panelState===So.PopoutButton||this.panelState===So.Intro?this.config.greetingVisibility:this.panelState===So.Offline?this.config.greetingOfflineVisibility:mf.None}get greetingMessage(){return this.panelState===So.Authenticate||this.panelState===So.Chat||this.panelState===So.PopoutButton||this.panelState===So.Intro?this.getPropertyValue("GreetingMessage",[this.config.greetingMessage]):this.panelState===So.Offline?this.getPropertyValue("GreetingOfflineMessage",[this.config.greetingOfflineMessage]):""}get getMinimizedStyle(){return this.$style?this.config.minimizedStyle===df.BubbleLeft?this.$style.bubble_left:(this.config.minimizedStyle,df.BubbleRight,this.$style.bubble_right):[]}get animationsMinimizedBubble(){if(this.$style&&this.config&&this.isAnimationActivated)switch(this.config.animationStyle){case hf.FadeIn:return[this.$style.fadeIn];case hf.SlideLeft:return[this.$style.slideLeft];case hf.SlideRight:return[this.$style.slideRight];case hf.SlideUp:return[this.$style.slideUp]}return[]}deactivateAnimation(e){this.$el===e.target&&this.eventBus.onAnimationActivatedChange.next(!1)}beforeMount(){this.initializeGreetingActivated(),this.$subscribeTo(this.eventBus.onAnimationActivatedChange.pipe(ch()),(e=>{this.isAnimationActivated=e})),this.$subscribeTo(this.eventBus.onChatInitiated.pipe(ch()),(e=>{e&&this.storeGreetingActivated(!1)}))}initializeGreetingActivated(){const e=this.retrieveGreetingActivated();this.storeGreetingActivated(e&&this.isGreetingEnabledOnDevice)}retrieveGreetingActivated(){sessionStorage||(this.isGreetingActivated=!1);const e=sessionStorage.getItem("callus.greeting_activated");return this.isGreetingActivated=!e||"true"===e,this.isGreetingActivated}storeGreetingActivated(e){sessionStorage&&(this.isGreetingActivated=e,sessionStorage.setItem("callus.greeting_activated",e.toString()))}onGreetingClosed(){this.storeGreetingActivated(!1),this.gaService.chatInteractionEvent()}onBubbleClicked(){this.gaService.chatInteractionEvent(),this.$emit("clicked")}};yh([wr({default:!1})],Ah.prototype,"disabled",void 0),yh([wr({default:!0})],Ah.prototype,"collapsed",void 0),yh([wr()],Ah.prototype,"config",void 0),yh([wr({default:So.Chat})],Ah.prototype,"panelState",void 0),yh([wr({default:()=>kc})],Ah.prototype,"operator",void 0),yh([pr()],Ah.prototype,"eventBus",void 0),yh([pr()],Ah.prototype,"gaService",void 0),Ah=yh([dr({components:{Greeting:vh,MinimizedButton:ph}})],Ah);const wh=td(Ah,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"minimizedBubbleContainer",class:[e.animationsMinimizedBubble,e.$style.root,e.collapsed?"":e.$style.chat_expanded,e.getMinimizedStyle],on:{animationend:function(t){return e.deactivateAnimation(t)}}},[e.showGreeting?n("greeting",{ref:"greeting",attrs:{"greeting-message":e.greetingMessage,operator:e.operator},on:{clicked:function(t){return e.onBubbleClicked()},closed:function(t){return e.onGreetingClosed()}}}):e._e(),e._v(" "),n("minimized-button",{ref:"minimizedButton",attrs:{config:e.config,collapsed:e.collapsed,disabled:e.disabled},on:{click:function(t){return e.onBubbleClicked()}}})],1)}),[],!1,(function(e){var t=n(7498);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var _h=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Ch=class extends(rr(sf)){constructor(){super(...arguments),this.collapsed=!1,this.hideCloseButton=!1,this.isAnimationActivated=!0}get isFullScreen(){return this.fullscreenService.isFullScreen}get animations(){if(this.$style&&this.config&&this.isAnimationActivated)switch(this.config.animationStyle){case hf.FadeIn:return[this.$style.fadeIn];case hf.SlideLeft:return[this.$style.slideLeft];case hf.SlideRight:return[this.$style.slideRight];case hf.SlideUp:return[this.$style.slideUp]}return[]}get popoutStyle(){return this.$style&&!this.collapsed&&this.config.isPopout?this.panelState===So.Authenticate?this.$style["popout-small"]:this.$style.popout:[]}get getMinimizedStyle(){return this.$style?this.config.minimizedStyle===df.BubbleLeft?this.$style.bubble_left:(this.config.minimizedStyle,df.BubbleRight,this.$style.bubble_right):[]}get panelHeight(){let e="";return this.$style&&(e=this.fullscreenService.isFullScreen?this.$style["full-screen"]:this.panelState===So.Chat||this.panelState===So.Offline?this.$style["chat-form-height"]:this.panelState===So.Intro?this.$style["intro-form-height"]:this.$style["small-form-height"]),e}get isVideoActive(){return this.myWebRTCService&&this.myWebRTCService.isVideoActive}get showPanel(){return!this.collapsed||!this.allowMinimize}get showBubble(){return this.allowMinimize&&(!this.isFullScreen||this.isFullScreen&&this.collapsed)}onToggleCollapsed(){this.allowMinimize&&(this.collapsed?(this.eventBus.onRestored.next(),this.allowFullscreen&&this.fullscreenService.goFullScreen()):(this.eventBus.onMinimized.next(),this.fullscreenService.isFullScreen&&this.fullscreenService.closeFullScreen()))}onClose(){this.hideCloseButton=!0,this.loadingService.show(),this.$emit("close")}beforeMount(){this.collapsed="#popoutchat"!==document.location.hash&&Boolean(this.startMinimized),this.$subscribeTo(this.eventBus.onToggleCollapsed,(()=>{this.onToggleCollapsed()})),this.$subscribeTo(this.eventBus.onMinimized,(()=>{this.collapsed=!0,sessionStorage.setItem("callus.collapsed","1")})),this.$subscribeTo(this.eventBus.onRestored,(()=>{this.collapsed=!1,sessionStorage.setItem("callus.collapsed","0")})),!this.allowFullscreen&&this.fullscreenService.isFullScreen&&this.fullscreenService.closeFullScreen(),this.$subscribeTo(this.eventBus.onAnimationActivatedChange.pipe(ch()),(e=>{this.isAnimationActivated=e}))}deactivateAnimation(e){this.$el===e.target&&this.eventBus.onAnimationActivatedChange.next(!1)}};_h([pr()],Ch.prototype,"eventBus",void 0),_h([pr()],Ch.prototype,"loadingService",void 0),_h([pr()],Ch.prototype,"myWebRTCService",void 0),_h([wr({default:So.Chat})],Ch.prototype,"panelState",void 0),_h([wr()],Ch.prototype,"allowMinimize",void 0),_h([pr()],Ch.prototype,"fullscreenService",void 0),_h([wr()],Ch.prototype,"startMinimized",void 0),_h([wr()],Ch.prototype,"config",void 0),_h([wr({default:!1})],Ch.prototype,"allowFullscreen",void 0),_h([wr({default:()=>kc})],Ch.prototype,"operator",void 0),Ch=_h([dr({components:{MinimizedBubble:wh,GlyphiconTimes:fd(),GlyphiconChevron:sd(),ToolbarButton:nd,MinimizedButton:ph,Greeting:vh,Loading:lh,WplcIcon:Pd(),WplcIconBubble:Ud(),WplcIconDoubleBubble:Ld()}})],Ch);const Sh=td(Ch,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"panel",class:[e.$style.panel,e.animations,e.popoutStyle,e.isFullScreen?e.$style["full-screen"]:""],on:{animationend:function(t){return e.deactivateAnimation(t)}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showPanel,expression:"showPanel"}],class:[e.$style.panel_content,e.panelHeight,e.isVideoActive?e.$style.video_extend:""]},[e._t("overlay"),e._v(" "),e._t("panel-top"),e._v(" "),n("div",{class:e.$style.panel_body},[n("loading",{key:e.loadingService.key,attrs:{show:e.loadingService.loading(),text:"loading"}}),e._v(" "),e._t("panel-content")],2)],2),e._v(" "),e.showBubble?n("minimized-bubble",{ref:"minimizedBubble",attrs:{collapsed:e.collapsed,config:e.config,operator:e.operator,"panel-state":e.panelState,disabled:!1},on:{clicked:function(t){return e.onToggleCollapsed()}}}):e._e()],1)}),[],!1,(function(e){var t=n(6711);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;class Eh{constructor(e){Object.assign(this,e)}}class Oh{constructor(e){Object.assign(this,e)}}const xh=td(Xs.directive("srcObject",{bind:(e,t,n)=>{e.srcObject=t.value},update:(e,t,n)=>{const i=e;i.srcObject!==t.value&&(i.srcObject=t.value)}}),undefined,undefined,!1,null,null,null,!0).exports;var Ih=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Th=class extends(rr(sf)){constructor(){super(...arguments),this.isWebRtcAllowed=Ul,this.callChannelInitiated=!1}get isVideoActive(){return this.myWebRTCService&&this.myWebRTCService.isVideoActive}get isFullScreenSupported(){return this.myWebRTCService&&this.myWebRTCService.isFullscreenSupported()}get showCallControls(){return this.myWebRTCService&&(this.allowCall||this.allowVideo)&&this.myChatService.hasSession}beforeMount(){this.$subscribeTo(this.eventBus.onCallChannelEnable,(e=>{this.callChannelInitiated||this.myWebRTCService&&this.myWebRTCService.initCallChannel(e.allowCall,e.allowVideo)})),this.myWebRTCService&&this.myWebRTCService.initCallChannel(this.allowCall,this.allowVideo)}onMakeVideoCall(){this.makeCall(!0)}onMakeCall(){this.makeCall(!1)}makeCall(e){this.myWebRTCService.call(e||!1).pipe(Ec(1)).subscribe((()=>{}),(e=>this.eventBus.onError.next(e)))}dropCall(){this.myWebRTCService.dropCall().pipe(Ec(1)).subscribe((()=>{}),(e=>this.eventBus.onError.next(e)))}toggleMute(){this.myWebRTCService.mute()}videoOutputClick(){this.myWebRTCService.goFullScreen()}};Ih([pr()],Th.prototype,"eventBus",void 0),Ih([pr()],Th.prototype,"myChatService",void 0),Ih([pr()],Th.prototype,"myWebRTCService",void 0),Ih([wr({default:!1})],Th.prototype,"allowVideo",void 0),Ih([wr({default:!1})],Th.prototype,"allowCall",void 0),Ih([wr({default:!1})],Th.prototype,"isFullScreen",void 0),Th=Ih([dr({directives:{SrcObject:xh},components:{GlyphiconCall:od(),GlyphiconVideo:ld(),GlyphiconMic:pd(),GlyphiconMicoff:gd(),GlyphiconFullscreen:dd(),ToolbarButton:nd}})],Th);const Mh=td(Th,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.showCallControls?n("div",{ref:"phoneControlsContainer",class:[e.$style.root,e.isFullScreen?e.$style["full-screen-controls"]:""]},[e.myWebRTCService.audioNotificationUrl?n("audio",{attrs:{src:e.myWebRTCService.audioNotificationUrl,autoplay:"",loop:""}}):e._e(),e._v(" "),e.myWebRTCService.remoteStream?n("audio",{directives:[{name:"srcObject",rawName:"v-srcObject",value:e.myWebRTCService.remoteStream,expression:"myWebRTCService.remoteStream"}],attrs:{autoplay:""}}):e._e(),e._v(" "),e.myWebRTCService.hasCall?[n("toolbar-button",{class:[e.$style["toolbar-button"],e.$style["button-end-call"]],attrs:{id:"callUsDropCallBtn",disabled:e.myWebRTCService.hasTryingCall},on:{click:e.dropCall}},[n("glyphicon-call")],1),e._v(" "),e.myWebRTCService.media.isMuted?n("toolbar-button",{class:e.$style["toolbar-button"],attrs:{id:"callUsUnmuteBtn",disabled:e.myWebRTCService.hasTryingCall},on:{click:e.toggleMute}},[n("glyphicon-micoff")],1):n("toolbar-button",{class:e.$style["toolbar-button"],attrs:{id:"callUsMuteBtn",disabled:e.myWebRTCService.hasTryingCall},on:{click:e.toggleMute}},[n("glyphicon-mic")],1),e._v(" "),e.isVideoActive&&e.isFullScreenSupported?n("toolbar-button",{class:e.$style["toolbar-button"],attrs:{id:"callUsFullscreenBtn"},on:{click:function(t){return e.videoOutputClick()}}},[n("glyphicon-fullscreen")],1):e._e()]:[e.allowCall?n("toolbar-button",{class:e.$style["toolbar-button"],attrs:{id:"callUsCallBtn",disabled:!e.isWebRtcAllowed},on:{click:e.onMakeCall}},[n("glyphicon-call")],1):e._e(),e._v(" "),e.allowVideo?n("toolbar-button",{class:e.$style["toolbar-button"],attrs:{id:"callUsVideoBtn",disabled:!e.isWebRtcAllowed},on:{click:e.onMakeVideoCall}},[n("glyphicon-video")],1):e._e()]],2):e._e()}),[],!1,(function(e){var t=n(6043);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Nh=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let kh=class extends(rr(sf)){constructor(){super(),this.hideCloseButton=!1,this.imageNotFound=mh,this.currentOperator=new Nc({image:void 0!==this.operator.image&&""!==this.operator.image?this.operator.image:this.config.operatorIcon,name:this.operator.name,emailTag:this.operator.emailTag})}onPropertyChanged(e,t){t&&!e&&(this.hideCloseButton=!1)}showOperatorInfo(){return this.currentState===So.Chat&&!!this.myChatService&&this.myChatService.hasSession&&this.chatOnline}showCallControls(){return this.currentState===So.Chat&&!!this.myChatService&&this.myChatService.hasSession&&!!this.myWebRTCService&&this.chatOnline}showMinimize(){return this.isFullScreen&&!!this.config.allowMinimize}showClose(){return!!this.myChatService&&this.myChatService.hasSession&&!this.hideCloseButton&&this.chatOnline}beforeMount(){this.config.showOperatorActualName&&this.myChatService&&this.$subscribeTo(this.myChatService.onOperatorChange$.pipe(jo((()=>this.showOperatorInfo()))),(e=>{void 0!==e.image&&""!==e.image||(e.image=this.config.operatorIcon),this.currentOperator=e}))}mounted(){if(void 0!==this.$refs.headerContainer&&this.$refs.headerContainer instanceof HTMLElement){const e="#FFFFFF";this.$refs.headerContainer.style.color=e,this.$refs.headerContainer.style.fill=e}}onToggleCollapsed(){this.eventBus.onToggleCollapsed.next()}onClose(){this.hideCloseButton=!0,this.$emit("close")}updateNotFoundImage(e){null!==e&&null!==e.target&&(e.target.src=this.imageNotFound)}getAgentIcon(){let e=this.currentOperator.image;if("AgentGravatar"===e){const t=$c.retrieveHexFromCssColorProperty(this,"--call-us-agent-text-color","eeeeee"),n="FFFFFF",i=`${window.location.protocol}//ui-avatars.com/api/${this.currentOperator.name}/32/${t}/${n}/2/0/0/1/false`;e=`//www.gravatar.com/avatar/${this.currentOperator.emailTag}?s=80&d=${i}`}return e}};Nh([pr({default:null})],kh.prototype,"myChatService",void 0),Nh([pr({default:null})],kh.prototype,"myWebRTCService",void 0),Nh([pr()],kh.prototype,"eventBus",void 0),Nh([wr()],kh.prototype,"config",void 0),Nh([wr({default:()=>kc})],kh.prototype,"operator",void 0),Nh([wr({default:So.Chat})],kh.prototype,"currentState",void 0),Nh([wr({default:!1})],kh.prototype,"isFullScreen",void 0),Nh([wr({default:!1})],kh.prototype,"allowVideo",void 0),Nh([wr({default:!1})],kh.prototype,"allowCall",void 0),Nh([wr({default:!1})],kh.prototype,"chatOnline",void 0),Nh([_r("myChatService.hasSession")],kh.prototype,"onPropertyChanged",null),kh=Nh([dr({components:{GlyphiconTimes:fd(),GlyphiconChevron:sd(),WplcIcon:Pd(),WplcIconBubble:Ud(),WplcIconDoubleBubble:Ld(),OperatorIcon:qd(),CallControls:Mh}})],kh);const Rh=td(kh,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"headerContainer",class:[e.$style.root]},[e.showOperatorInfo()?n("div",{class:e.$style["operator-info"]},[n("div",{class:e.$style["operator-img-container"]},[""!==e.currentOperator.image?n("img",{ref:"operatorIcon",class:[e.$style["rounded-circle"],e.$style["operator-img"]],attrs:{src:e.getAgentIcon(),alt:"avatar"},on:{error:function(t){return e.updateNotFoundImage(t)}}}):n("operatorIcon",{class:e.$style["operator-img"]}),e._v(" "),n("span",{class:e.$style["online-icon"]})],1),e._v(" "),n("div",{class:[e.$style.operator_name,e.config.isPopout?e.$style.popout:""],attrs:{title:e.currentOperator.name}},[n("span",[e._v(e._s(e.currentOperator.name))])])]):n("div",{class:e.$style["header-title"]},[null!=e.config.windowIcon&&e.config.windowIcon.replace(/\s/g,"").length>0?n("img",{ref:"windowIcon",class:e.$style["logo-icon"],attrs:{src:e.config.windowIcon,alt:""},on:{error:function(t){return e.updateNotFoundImage(t)}}}):"Bubble"===e.config.buttonIconType?n("WplcIconBubble",{class:e.$style["logo-icon"]}):"DoubleBubble"===e.config.buttonIconType?n("WplcIconDoubleBubble",{class:e.$style["logo-icon"]}):n("WplcIcon",{class:e.$style["logo-icon"]}),e._v(" "),n("div",{class:[e.$style.panel_head_title],attrs:{title:e.getPropertyValue("ChatTitle",[e.config.windowTitle])}},[e._v("\n "+e._s(e.getPropertyValue("ChatTitle",[e.config.windowTitle]))+"\n ")])],1),e._v(" "),e.showCallControls()?n("call-controls",{attrs:{"allow-call":e.allowCall,"allow-video":e.allowVideo,"is-full-screen":e.isFullScreen}}):e._e(),e._v(" "),n("div",{class:e.$style["space-expander"]}),e._v(" "),n("div",{class:[e.$style.action_menu,e.isFullScreen?e.$style["full-screen-menu"]:""]},[e.showMinimize()?n("span",{ref:"minimizeButton",class:[e.$style.action_menu_btn,e.$style.minimize_btn],attrs:{id:"minimize_btn"},on:{click:function(t){return e.onToggleCollapsed()}}},[n("glyphicon-chevron")],1):e._e(),e._v(" "),e.showClose()?n("span",{class:[e.$style.action_menu_btn,e.$style.close_btn],attrs:{id:"close_btn"},on:{click:function(t){return e.onClose()}}},[n("glyphicon-times")],1):e._e()])],1)}),[],!1,(function(e){var t=n(7367);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Fh=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Dh=class extends(rr(sf)){constructor(){super(...arguments),this.AuthenticationType=uf,this.isSubmitted=!1,this.viewDepartments=[],this.name="",this.email="",this.isNameDisabled=!1,this.isEmailDisabled=!1,this.department="-1",this.customFieldsValues={},this.disableAuth=!1,this.gdprAccepted=!1}beforeMount(){this.$subscribeTo(this.eventBus.onRestored,(()=>this.focusInput())),void 0!==this.customFields&&this.customFields.length>0&&this.customFields.forEach((e=>{this.$set(this.customFieldsValues,"cf"+e.id,"")})),void 0!==this.departments&&Array.isArray(this.departments)&&(this.viewDepartments=this.departments.map((e=>new Eh({value:e.id.toString(),text:e.name})))),this.isNameDisabled=!!this.config.visitorName,this.isEmailDisabled=!!this.config.visitorEmail,this.name=this.config.visitorName||"",this.email=this.config.visitorEmail||""}mounted(){this.focusInput(),void 0!==this.$refs.submitButton&&this.$refs.submitButton instanceof HTMLElement&&(this.$refs.submitButton.style.color="#FFFFFF")}submit(){const e=this;if(e.isSubmitted=!0,this.$v&&(this.$v.$touch(),!this.$v.$invalid)){const t={name:this.config.authenticationType===uf.Name||this.config.authenticationType===uf.Both?e.name:this.name,email:this.config.authenticationType===uf.Email||this.config.authenticationType===uf.Both?e.email:this.email,department:Number.isNaN(Number(e.department))?-1:Number(e.department),customFields:this.getCustomFieldsData(e)};this.$emit("submit",t)}}getCustomFieldsData(e){let t=[];if(void 0!==e.customFields&&e.customFields.length>0)return t=e.customFields.map((t=>{var n;return void 0!==e.$v?new Oh({name:t.name,id:t.id,value:null===(n=e.$v.customFieldsValues["cf"+t.id])||void 0===n?void 0:n.$model}):null})).filter((e=>null!==e)),t}focusInput(){this.$refs.nameInput?$c.focusElement(this.$refs.nameInput):this.$refs.emailInput&&$c.focusElement(this.$refs.emailInput)}gdprChanged(e){this.$v&&(this.$v.gdprAccepted.$model=e)}};Fh([pr()],Dh.prototype,"eventBus",void 0),Fh([pr()],Dh.prototype,"loadingService",void 0),Fh([pr()],Dh.prototype,"fullscreenService",void 0),Fh([wr()],Dh.prototype,"startMinimized",void 0),Fh([wr()],Dh.prototype,"config",void 0),Fh([wr()],Dh.prototype,"departments",void 0),Fh([wr()],Dh.prototype,"customFields",void 0),Fh([wr()],Dh.prototype,"authType",void 0),Fh([wr()],Dh.prototype,"chatEnabled",void 0),Fh([wr({default:()=>kc})],Dh.prototype,"operator",void 0),Fh([vr()],Dh.prototype,"myWebRTCService",void 0),Dh=Fh([dr({components:{Panel:Sh,MaterialInput:rh,MaterialCheckbox:ih,MaterialDropdown:sh,Loading:lh,CallUsHeader:Rh},mixins:[th.oE],validations(){const e={},t=this,n=e=>Dc(e),i=e=>Pc(e),s=e=>Lc(e),r=e=>jc(e),o=e=>e,a=e=>(e=>e.length>0&&(Number.isNaN(Number(e))||!Number.isNaN(Number(e))&&Number(e)>0))(e);return t.authType!==uf.Both&&t.authType!==uf.Name||(e.name={required:nh.Z,nameValid:i,maxCharactersReached:s}),t.authType!==uf.Both&&t.authType!==uf.Email||(e.email={required:nh.Z,emailValid:n,maxEmailCharactersReached:r}),t.config.gdprEnabled&&(e.gdprAccepted={required:nh.Z,checkboxSelected:o}),t.config.departmentsEnabled&&(e.department={required:nh.Z,dropdownSelected:a}),void 0!==t.customFields&&t.customFields.length>0&&(e.customFieldsValues={},t.customFields.forEach((t=>{e.customFieldsValues["cf"+t.id]={required:nh.Z}}))),e}})],Dh);const Ph=td(Dh,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("panel",{attrs:{config:e.config,"start-minimized":e.startMinimized,"allow-minimize":e.config.allowMinimize,"panel-state":e.ViewState.Authenticate,"full-screen-service":e.fullscreenService,operator:e.operator}},[n("call-us-header",{attrs:{slot:"panel-top","current-state":e.ViewState.Authenticate,config:e.config,operator:e.operator,"is-full-screen":e.fullscreenService.isFullScreen},slot:"panel-top"}),e._v(" "),n("div",{class:e.$style.root,attrs:{slot:"panel-content"},slot:"panel-content"},[e.chatEnabled?n("form",{ref:"authenticateForm",attrs:{novalidate:"novalidate"},on:{submit:function(t){return t.preventDefault(),e.submit(t)}}},[n("div",{class:e.$style.form_body},[n("loading",{attrs:{show:e.loadingService.loading(),text:"loading"}}),e._v(" "),e.authType===e.AuthenticationType.None?n("div",{class:[e.$style.replaceFieldsText]},[e._v("\n "+e._s(e.getPropertyValue("AuthFieldsReplacement",[e.$t("Auth.FieldsReplacement")]))+"\n ")]):n("div",{class:e.$style.chatIntroText},[e._v("\n "+e._s(e.getPropertyValue("ChatIntro",[e.config.authenticationMessage,e.$t("Auth.ChatIntro")]))+"\n ")]),e._v(" "),e.authType===e.AuthenticationType.Both||e.authType===e.AuthenticationType.Name?n("div",[n("material-input",{ref:"nameInput",attrs:{id:"auth_name",placeholder:e.$t("Auth.Name"),disabled:e.isNameDisabled,name:"name"},model:{value:e.$v.name.$model,callback:function(t){e.$set(e.$v.name,"$model",t)},expression:"$v.name.$model"}}),e._v(" "),e.$v.name.$dirty&&e.isSubmitted?n("div",[e.$v.name.required?e.$v.name.nameValid?e.$v.name.maxCharactersReached?e._e():n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.MaxCharactersReached"))+"\n ")]):n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.EnterValidName"))+"\n ")]):n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.FieldValidation"))+"\n ")])]):e._e()],1):e._e(),e._v(" "),e.authType===e.AuthenticationType.Both||e.authType===e.AuthenticationType.Email?n("div",[n("material-input",{ref:"emailInput",attrs:{id:"auth_email",name:"emailInput",placeholder:e.$t("Auth.Email"),"max-length":"254",disabled:e.isEmailDisabled},model:{value:e.$v.email.$model,callback:function(t){e.$set(e.$v.email,"$model",t)},expression:"$v.email.$model"}}),e._v(" "),e.$v.email.$dirty&&e.isSubmitted?n("div",[e.$v.email.required?e.$v.email.emailValid?e.$v.email.maxEmailCharactersReached?e._e():n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.MaxCharactersReached"))+"\n ")]):n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.EnterValidEmail"))+"\n ")]):n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.FieldValidation"))+"\n ")])]):e._e()],1):e._e(),e._v(" "),e.config.departmentsEnabled?n("div",[n("material-dropdown",{ref:"departmentSelector",attrs:{id:"auth_departments",label:"Department",options:e.viewDepartments,"options-type":"object-collection"},model:{value:e.$v.department.$model,callback:function(t){e.$set(e.$v.department,"$model",t)},expression:"$v.department.$model"}}),e._v(" "),e.isSubmitted?n("div",[e.$v.department.required&&e.$v.department.dropdownSelected?e._e():n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.FieldValidation"))+"\n ")])]):e._e()],1):e._e(),e._v(" "),void 0!==e.customFields&&e.customFields.length>0?e._l(e.customFields,(function(t){return n("div",{key:t.id},["DROPDOWN"===t.type?[n("material-dropdown",{ref:"{{field.name}}Selector",refInFor:!0,attrs:{id:"auth_custom_"+t.name,label:t.name,options:t.options,"options-type":"text-collection"},model:{value:e.$v.customFieldsValues["cf"+t.id].$model,callback:function(n){e.$set(e.$v.customFieldsValues["cf"+t.id],"$model",n)},expression:"$v.customFieldsValues['cf' + field.id].$model"}}),e._v(" "),e.$v.customFieldsValues["cf"+t.id].$dirty&&e.isSubmitted&&!e.$v.customFieldsValues["cf"+t.id].required?n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.FieldValidation"))+"\n ")]):e._e()]:e._e(),e._v(" "),"TEXT"===t.type?[n("material-input",{attrs:{id:"auth_custom_"+t.name,name:t.name,placeholder:t.name},model:{value:e.$v.customFieldsValues["cf"+t.id].$model,callback:function(n){e.$set(e.$v.customFieldsValues["cf"+t.id],"$model",n)},expression:"$v.customFieldsValues['cf' + field.id].$model"}}),e._v(" "),e.$v.customFieldsValues["cf"+t.id].$dirty&&e.isSubmitted&&!e.$v.customFieldsValues["cf"+t.id].required?n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.FieldValidation"))+"\n ")]):e._e()]:e._e()],2)})):e._e(),e._v(" "),e.config.gdprEnabled?n("div",[n("material-checkbox",{ref:"gdprCheck",attrs:{id:"auth_gdpr","check-name":"gdprCheck","check-label":e.config.gdprMessage},on:{change:e.gdprChanged},model:{value:e.$v.gdprAccepted.$model,callback:function(t){e.$set(e.$v.gdprAccepted,"$model",t)},expression:"$v.gdprAccepted.$model"}}),e._v(" "),e.isSubmitted?n("div",[e.$v.gdprAccepted.required&&e.$v.gdprAccepted.checkboxSelected?e._e():n("div",{class:e.$style.error},[e._v("\n "+e._s(e.$t("Auth.FieldValidation"))+"\n ")])]):e._e()],1):e._e()],2),e._v(" "),n("button",{ref:"submitButton",class:e.$style.submit,attrs:{type:"submit"}},[e._v("\n "+e._s(e.getPropertyValue("StartButtonText",[e.config.startChatButtonText,e.$t("Auth.Submit")]))+"\n ")])]):n("div",{ref:"chatDisabledMessage",class:e.$style["chat-disabled-container"]},[n("div",[e._v("\n "+e._s(e.$t("Inputs.ChatIsDisabled"))+"\n ")])])])],1)}),[],!1,(function(e){var t=n(8915);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;const Bh={leading:!0,trailing:!1};function Lh(e,t=Qc,n=Bh){return i=>i.lift(new jh(e,t,n.leading,n.trailing))}class jh{constructor(e,t,n,i){this.duration=e,this.scheduler=t,this.leading=n,this.trailing=i}call(e,t){return t.subscribe(new Uh(e,this.duration,this.scheduler,this.leading,this.trailing))}}class Uh extends Fr{constructor(e,t,n,i,s){super(e),this.duration=t,this.scheduler=n,this.leading=i,this.trailing=s,this._hasTrailingValue=!1,this._trailingValue=null}_next(e){this.throttled?this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(zh,this.duration,{subscriber:this})),this.leading?this.destination.next(e):this.trailing&&(this._trailingValue=e,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const e=this.throttled;e&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),e.unsubscribe(),this.remove(e),this.throttled=null)}}function zh(e){const{subscriber:t}=e;t.clearThrottle()}class qh{constructor(e){this.closingNotifier=e}call(e,t){return t.subscribe(new Vh(e,this.closingNotifier))}}class Vh extends Jl{constructor(e,t){super(e),this.buffer=[],this.add(ec(t,new Zl(this)))}_next(e){this.buffer.push(e)}notifyNext(){const e=this.buffer;this.buffer=[],this.destination.next(e)}}var Gh=n(7484),Wh=n.n(Gh),$h=n(5176),Hh=n(9830),Qh=n.n(Hh);const Yh=["jpeg","jpg","png","gif","bmp","webp","tif","tiff","heif","doc","docx","pdf","txt","rtf","ppt","pptx","xls","xlsx"],Xh=["jpeg","jpg","png","gif","bmp","webp"];function Kh(e,t){const n=Math.max(0,parseInt(e,10));return t?Math.floor(255*Math.min(100,n)/100):Math.min(255,n)}function Zh(e){const t=e>255||e<0?"ff":e.toString(16);return 1===t.length?"0"+t:t}function Jh(e){const t=function(e){let t=null;null!=e&&(t=/^rgb\(\s*(-?\d+)(%?)\s*,\s*(-?\d+)(%?)\s*,\s*(-?\d+)(%?)\s*\)$/.exec(e));let n="";if(null!=t){let e,i,s;t&&(e=Kh(t[1],t[2]),i=Kh(t[3],t[4]),s=Kh(t[5],t[6]),n=`#${Zh(e)}${Zh(i)}${Zh(s)}`)}return""!==n?n:"#ffffff"}(getComputedStyle(e).backgroundColor);return"#"===(n=t).slice(0,1)&&(n=n.slice(1)),3===n.length&&(n=n.split("").map((e=>e+e)).join("")),(299*parseInt(n.substr(0,2),16)+587*parseInt(n.substr(2,2),16)+114*parseInt(n.substr(4,2),16))/1e3>=128?"#000000":"#FFFFFF";var n}function ep(e){const t=e.lastIndexOf("."),n=e.substring(t+1);return Xh.indexOf(n.toLowerCase())>=0}var tp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let np=class extends(rr(sf)){constructor(){super(),this.ClientChatFileState=Oo}onPropertyChanged(){this.generateFileLinks()}get link(){if(this.file.fileState===Oo.Available)return void 0!==this.fileLink?this.fileLink:void 0!==this.file.fileLink?this.file.fileLink:void 0}beforeMount(){this.$subscribeTo(this.myChatService.mySession$,(e=>{this.session=e,this.generateFileLinks()}))}generateFileLinks(){void 0!==this.session&&(this.fileLink=this.file&&this.file.fileLink?this.session.fileEndPoint(this.file.fileLink):"",this.loadPreview()?this.previewSource=this.file&&this.file.fileLink?this.session.fileEndPoint(this.file.fileLink+".preview"):"":this.previewSource=this.file&&this.file.fileLink?this.session.fileEndPoint(this.file.fileLink):"")}get showFileIcon(){return this.file.fileSize>512e3&&!this.file.hasPreview||this.file.fileSize<=512e3&&!this.file.hasPreview&&!ep(this.file.fileName)}updateNotFoundImage(e){null!==e&&null!==e.target&&(e.target.src=mh)}downloadFile(e){return!(!this.file||this.file.fileState!==Oo.Available)||(e.preventDefault(),!1)}imageLoaded(){this.eventBus.onScrollToBottom.next()}loadPreview(){return this.file.fileSize>512e3&&this.file.hasPreview||this.file.fileSize<=512e3&&!ep(this.file.fileName)&&this.file.hasPreview}};tp([wr({default:()=>({})})],np.prototype,"file",void 0),tp([pr()],np.prototype,"myChatService",void 0),tp([pr()],np.prototype,"eventBus",void 0),tp([_r("file",{deep:!0})],np.prototype,"onPropertyChanged",null),np=tp([dr({components:{FileIcon:Gd(),SpinnerThird:$d(),Times:Qd()},filters:{size:(e=0,t=0)=>function(e=0,t=0){let n=e;return"number"!=typeof e&&(n=parseFloat(String(e))),Number.isNaN(n)||!Number.isFinite(n)?"?":Qh()(n,{unitSeparator:" ",decimalPlaces:0})}(e,t)}})],np);const ip=td(np,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.root},[e.file.fileState===e.ClientChatFileState.Available?n("div",[n("a",{ref:"downloadLink",class:e.$style["file-download-link"],attrs:{target:"_blank",href:e.link,download:e.file.fileName},on:{click:function(t){return e.downloadFile(t)}}},[n("div",{class:[e.showFileIcon?e.$style.horizontal_container:e.$style.vertical_container]},[e.showFileIcon?n("file-icon",{class:e.$style.horizontal_content_image}):n("div",{class:e.$style.vertical_content_image},[n("img",{ref:"downloadImage",attrs:{alt:"download image",src:e.previewSource},on:{load:e.imageLoaded,error:function(t){return e.updateNotFoundImage(t)}}})]),e._v(" "),n("div",{class:e.$style["file-info"]},[n("span",{class:e.$style["file-name"],attrs:{title:e.file.fileName}},[e._v(e._s(e.file.fileName))]),e._v(" "),n("span",{class:e.$style["file-size"]},[e._v(e._s(e._f("size")(e.file.fileSize)))])])],1)])]):e._e(),e._v(" "),e.file.fileState!==e.ClientChatFileState.Available?n("div",{class:e.$style.horizontal_container},[e.file.fileState===e.ClientChatFileState.Uploading?n("spinner-third",{class:[e.$style.horizontal_content_image,e.$style.spin]}):n("times",{class:[e.$style.horizontal_content_image]}),e._v(" "),n("div",{class:e.$style["file-info"]},[n("span",{class:e.$style["file-name"],attrs:{title:e.file.fileName}},[e._v(e._s(e.file.fileName))]),e._v(" "),n("span",{class:e.$style["file-size"]},[e._v(e._s(e._f("size")(e.file.fileSize)))])])],1):e._e()])}),[],!1,(function(e){var t=n(2003);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var sp=n(4860),rp=n.n(sp);const op=n(9100);function ap(e,t,n=32){if(t||(t=""),!e)return"";const i=Array.from(e);for(let e=0;e<i.length;e+=1){let s=op;const r=[];let o=[];for(let t=e;t<Math.min(e+8,i.length);t+=1){const e=i[t].codePointAt(0);let n=e?e.toString(16):"";for(;n.length<4;)n="0"+n;if(!s.s.hasOwnProperty(n))break;if(o.push(n),0!==s.s[n]&&1!==s.s[n].e||(r.push(...o),o=[]),0===s.s[n]||!s.s[n].hasOwnProperty("s"))break;s=s.s[n]}if(r.length>0){let s;s=r.length>1?i.splice(e,r.length,"").join(""):i[e],i[e]=`<img src="${t}${r.filter((e=>"fe0f"!==e&&"200d"!==e)).join("-")}.png" alt="${s}" class="emoji" style="width:${n}px;height:${n}px;">`}}return i.join("")}class lp extends Bf{constructor(e){super(e),this.sent=!1,this.errorType=xo.NoError,this.emojiconUrl="",this.preventSound=!1,this.preventBubbleIndication=!1,this.preventBlinkingTitle=!1,this.preventTabNotification=!1,Object.assign(this,e)}viewMessage(){return ap(this.message,this.emojiconUrl)}static createViewMessage(e,t,n,i,s,r,o,a,l,c,f,u,d,h,p,m=!0){const g=new lp;var b;return g.id=e,g.isLocal=i,g.sent=s,g.icon=r,g.senderName=o,g.time=a,g.message=m?(b=rp()(l,{escapeOnly:!0,useNamedReferences:!0}),(0,$h.Z)({input:b,options:{attributes:{target:"_blank",rel:"noopener noreferrer"}}})):l,g.question=c,g.renderNew=u,g.isAutomated=d,g.emojiconUrl=p,g.viewType=t,g.file=f,g.messageType=n,g.isNew=h,g}static createAutomatedViewMessage(e,t,n,i=!0){return this.createViewMessage(-1,No.Text,t,!1,!0,"","",new Date,e,void 0,void 0,!0,!0,i,n)}static createVisitorViewMessage(e,t,n,i,s,r,o=!1,a=new Date){return this.createViewMessage(-1,No.Text,ko.Normal,!0,o,n,t,a,e,void 0,void 0,i,!1,s,r)}static createHtmlVisitorViewMessage(e,t,n,i,s,r=!1,o,a=new Date){return this.createViewMessage(-1,No.Text,ko.Normal,!0,r,n,t,a,e,void 0,void 0,i,!1,o,s,!1)}static createAgentViewMessage(e,t,n,i,s,r,o,a){return this.createViewMessage(e,No.Text,ko.Normal,!1,!0,i,n,r,t,void 0,void 0,s,!1,a,o)}static createVisitorFileMessage(e,t,n,i,s=new Date){return this.createViewMessage(-1,No.File,ko.Normal,!0,!1,n,t,s,"",void 0,e,!0,!1,i,"")}static createAgentFileMessage(e,t,n,i,s,r,o,a){return this.createViewMessage(e,No.Text,ko.Normal,!1,!0,i,n,r,"",void 0,t,s,!1,a,o)}static createOptionsViewMessage(e){return this.createViewMessage(-1,No.Options,ko.Normal,!1,!0,"","",new Date,"",e,void 0,!0,!0,!0,"")}}const cp=td({name:"ChatText",components:{},props:{message:{type:lp,default:()=>{}}}},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("span",{class:e.$style.msg_content,domProps:{innerHTML:e._s(e.message.viewMessage())}})}),[],!1,(function(e){var t=n(4747);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var fp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let up=class extends(rr(sf)){constructor(){super(...arguments),this.loadAgentGravatar=!0}get timeString(){return Wh()(this.message.time).format("HH:mm")}get dateString(){return Wh()(this.message.time).format("YYYY/MM/DD")}get dateTimeString(){return Wh()(this.message.time).format("YYYY/MM/DD HH:mm")}get timeStampString(){return"both"===this.config.messageDateformat?this.dateTimeString:"date"===this.config.messageDateformat?this.dateString:"time"===this.config.messageDateformat?this.timeString:""}get avatarSource(){if("PbxDefaultAgent"===this.msgIcon)return this.loadAgentGravatar=!1,"";if(""!==this.msgIcon&&"DefaultUser"!==this.msgIcon&&"DefaultAgent"!==this.msgIcon)return this.msgIcon;const e=$c.isDoubleByte(this.message.senderName)||""===this.message.senderName?"Guest":this.message.senderName;if("Guest"===e&&!this.message.isLocal)return this.loadAgentGravatar=!1,"";const t=this.message.isLocal?$c.retrieveHexFromCssColorProperty(this,"--call-us-client-text-color","d4d4d4"):$c.retrieveHexFromCssColorProperty(this,"--call-us-agent-text-color","eeeeee"),n=`${window.location.protocol}//ui-avatars.com/api/${e}/48/${t}/FFFFFF/2/0/0/1/false`;return`//www.gravatar.com/avatar/${this.userTag}?s=80&d=${n}`}get showSubArea(){return this.message.isLocal?this.showLocalSubArea:this.showAwaySubArea}get showLocalSubArea(){return"none"!==this.config.messageDateformat||"none"!==this.config.messageUserinfoFormat&&"avatar"!==this.config.messageUserinfoFormat}get showAwaySubArea(){return!this.message.isAutomated&&("none"!==this.config.messageDateformat||"none"!==this.config.messageUserinfoFormat&&"avatar"!==this.config.messageUserinfoFormat)}get showLocalAvatar(){return this.message.isLocal&&("both"===this.config.messageUserinfoFormat||"avatar"===this.config.messageUserinfoFormat)}get showAwayAvatar(){return!this.message.isLocal&&("both"===this.config.messageUserinfoFormat||"avatar"===this.config.messageUserinfoFormat)}get showMessageNotDeliveredError(){return!(this.message.errorType===xo.NoError||this.message.sent)}get showRetrySend(){return this.message.errorType===xo.CanRetry&&!this.message.sent&&!this.message.file}get showNetworkError(){return this.message.errorType===xo.NoRetry||this.message.errorType===xo.CanRetry}get showUnsupportedFileError(){return this.message.errorType===xo.UnsupportedFile}get showFileError(){return this.message.errorType===xo.FileError}get showSendingIndication(){return this.message.errorType===xo.NoError&&!this.message.sent&&!this.message.file}get isUserInfoVisible(){return"both"===this.config.messageUserinfoFormat||"name"===this.config.messageUserinfoFormat}get isTimeStampVisible(){return"date"===this.config.messageDateformat||"time"===this.config.messageDateformat||"both"===this.config.messageDateformat}beforeMount(){this.msgIcon=this.userIcon}mounted(){let e="#ffffff";void 0!==this.$refs.chatText&&this.$refs.chatText instanceof HTMLElement&&(e=Jh(this.$refs.chatText),this.$refs.chatText.style.color=e,this.$refs.chatText.style.fill=e);const t=this.$el.getElementsByClassName("rate_svg");t.length>0&&Array.prototype.forEach.call(t,(t=>{t.style.fill=e}))}sendAgain(e){this.$emit("resend",e)}};fp([wr()],up.prototype,"message",void 0),fp([wr()],up.prototype,"userTag",void 0),fp([wr()],up.prototype,"userIcon",void 0),fp([wr()],up.prototype,"config",void 0),up=fp([dr({components:{ChatFile:ip,ChatText:cp,Loader:Md(),Redo:Fd(),OperatorIcon:qd()}})],up);const dp=td(up,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.$style.root]},[n("div",{class:[e.$style.msg_bubble,e.message.isLocal?e.$style.msg_bubble_client:e.$style.msg_bubble_agent]},[e.showLocalAvatar?n("div",{class:e.$style.avatar_container},[e.message.renderNew?n("img",{class:e.$style.avatar_img,attrs:{alt:"avatar",src:e.avatarSource}}):e._e()]):e._e(),e._v(" "),n("div",{ref:"chatText",class:[e.$style.msg_container,e.message.renderNew?e.$style.new_msg:"",e.message.isLocal?e.$style.msg_client:e.$style.msg_agent]},[e.message.file?n("chat-file",{attrs:{file:e.message.file}}):n("chat-text",{attrs:{message:e.message}}),e._v(" "),e.showSubArea?n("div",{class:e.$style.msg_sub_area},[e.isUserInfoVisible?n("div",{class:[e.$style.msg_sender_name]},[e._v("\n "+e._s(e.message.senderName)+"\n ")]):e._e(),e._v(" "),e.isTimeStampVisible?n("span",{class:[e.$style.msg_timestamp]},[e._v("\n "+e._s(e.timeStampString)+"\n ")]):e._e()]):e._e(),e._v(" "),e.showSendingIndication?n("div",{class:[e.$style.sending_indication]},[n("loader",{class:[e.$style.sending_icon]})],1):e._e()],1),e._v(" "),e.showAwayAvatar?n("div",{class:e.$style.avatar_container},[e.message.renderNew?n("div",[e.loadAgentGravatar&&"DefaultAgent"!==e.avatarSource?n("img",{class:e.$style.avatar_img,attrs:{alt:"avatar",src:e.avatarSource}}):n("OperatorIcon")],1):e._e()]):e._e()]),e._v(" "),e.showMessageNotDeliveredError?n("div",{class:e.$style["error-message"]},[e.showNetworkError?n("span",[e._v(e._s(e.$t("Chat.MessageNotDeliveredError")))]):e.showUnsupportedFileError?n("span",[e._v(e._s(e.$t("Chat.UnsupportedFileError")))]):e.showFileError?n("span",[e._v(e._s(e.$t("Chat.FileError")))]):e._e(),e._v(" "),e.showRetrySend?n("span",[e._v("\n "+e._s(e.$t("Chat.TryAgain"))+"\n "),n("span",{class:e.$style["error-message-retry"],on:{click:function(t){return e.sendAgain(e.message.index)}}},[n("redo",{staticStyle:{height:"12px",fill:"red"}})],1)]):e._e()]):e._e()])}),[],!1,(function(e){var t=n(9036);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;class hp{constructor(e){this.isEnable=!0,this.showOptionsBorders=!0,this.showSelectedLabel=!1,this.showHoveredLabel=!1,this.isCustomField=!1,this.htmlAnswer=!1,this.preventSound=!1,this.preventBubbleIndication=!1,this.preventTabNotification=!1,Object.assign(this,e)}setAnswer(e){this.sanitize,this.answer=e}getAnswer(){return this.answer}}class pp{constructor(e){this.currentIndex=-1,this.submitted=!1,Object.assign(this,e)}validateCurrent(e){let t="";return this.currentIndex>=0&&void 0!==this.questions[this.currentIndex].validate&&(t=this.questions[this.currentIndex].validate(e)),t}current(){if(this.currentIndex>=0)return this.questions[this.currentIndex]}next(){var e,t,n,i;let s=-1;if(void 0!==(null===(e=this.current())||void 0===e?void 0:e.getAnswer())&&((null===(t=this.current())||void 0===t?void 0:t.type)===Mo.MultipleChoice||(null===(n=this.current())||void 0===n?void 0:n.type)===Mo.SingleChoice)){const e=null===(i=this.current())||void 0===i?void 0:i.options.find((e=>{var t;return e.value===(null===(t=this.current())||void 0===t?void 0:t.getAnswer())}));void 0!==e&&(s="FINISH"!==e.nextQuestionAlias?this.questions.findIndex((t=>t.alias===e.nextQuestionAlias)):this.questions.length)}if(this.currentIndex>=0&&void 0!==this.questions[this.currentIndex].submitMethod&&this.questions[this.currentIndex].submitMethod(),s<0){let e=!1;for(;!(e||(this.currentIndex+=1,this.currentIndex>this.questions.length-1));)this.questions[this.currentIndex].isEnable&&(e=!0);if(e)return this.questions[this.currentIndex]}else if(s<this.questions.length)return this.currentIndex=s,this.questions[s];void 0!==this.submitMethod&&this.submitMethod().subscribe((()=>{this.submitted=!0}))}getQuestionByAlias(e){let t;const n=this.questions.findIndex((t=>t.alias===e));return n>=0&&(t=this.questions[n]),t}addSubmissionCallback(e,t=""){if(""!==t){const n=this.questions.findIndex((e=>e.alias===t));n>=0&&(this.questions[n].submitMethod=e)}else this.submitMethod=e}getData(){const e={};return this.questions.forEach((t=>{void 0!==t.propertyToSubmit&&(e[t.propertyToSubmit]=t.getAnswer())})),e}buildFlow(e,t){this.questions=[],this.submitOnCompletion=e,this.config=t}}class mp extends pp{constructor(e){super(e),this.MESSAGE_ALIAS="MESSAGE",this.NAME_ALIAS="NAME",this.EMAIL_ALIAS="EMAIL",this.PHONE_ALIAS="PHONE",Object.assign(this,e)}buildFlow(e,t){const n=ef.getTextHelper();super.buildFlow(e,t),this.questions.push(new hp({alias:this.MESSAGE_ALIAS,type:Mo.Text,propertyToSubmit:"OfflineMessage",preventSound:!0,preventTabNotification:!0,text:n.getPropertyValue("OfflineFormTitle",[this.config.unavailableMessage,Nl.t("Inputs.UnavailableMessage").toString()]),validate:e=>{let t="";return Lc(e,500)||(t=n.getPropertyValue("OfflineFormMaximumCharactersReached",[this.config.offlineFormMaximumCharactersReached,Nl.t("Auth.MaxCharactersReached").toString()])),t}})),this.questions.push(new hp({alias:this.NAME_ALIAS,type:Mo.Text,propertyToSubmit:"Name",text:n.getPropertyValue("OfflineFormNameMessage",[this.config.offlineNameMessage,Nl.t("Offline.OfflineNameMessage").toString()]),validate:e=>{let t="";return Pc(e)?Lc(e)||(t=n.getPropertyValue("OfflineFormMaximumCharactersReached",[this.config.offlineFormMaximumCharactersReached,Nl.t("Auth.MaxCharactersReached").toString()])):t=n.getPropertyValue("OfflineFormInvalidName",[this.config.offlineFormInvalidName,Nl.t("Auth.EnterValidName").toString()]),t}})),this.questions.push(new hp({alias:this.EMAIL_ALIAS,type:Mo.Text,propertyToSubmit:"Email",text:n.getPropertyValue("OfflineFormEmailMessage",[this.config.offlineEmailMessage,Nl.t("Offline.OfflineEmailMessage").toString()]),validate:e=>{let t="";return jc(e)?Dc(e)||(t=n.getPropertyValue("OfflineFormInvalidEmail",[this.config.offlineFormInvalidEmail,Nl.t("Auth.OfflineEnterValidEmail").toString()])):t=n.getPropertyValue("OfflineFormMaximumCharactersReached",[this.config.offlineFormMaximumCharactersReached,Nl.t("Auth.MaxCharactersReached").toString()]),t}}))}getData(){return super.getData()}}class gp{constructor(e){this.getAnswerText=()=>this.text,Object.assign(this,e)}}class bp extends pp{constructor(e){super(e),Object.assign(this,e)}buildFlow(e,t){const n=ef.getTextHelper();super.buildFlow(e,t);const i=[new gp({value:"0",description:Nl.t("Rate.VeryBad").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm0-136c-31.2 0-60.6 13.8-80.6 37.8-5.7 6.8-4.8 16.9 2 22.5s16.9 4.8 22.5-2c27.9-33.4 84.2-33.4 112.1 0 5.3 6.4 15.4 8 22.5 2 6.8-5.7 7.7-15.8 2-22.5-19.9-24-49.3-37.8-80.5-37.8zm-48-96c0-2.9-.9-5.6-1.7-8.2.6.1 1.1.2 1.7.2 6.9 0 13.2-4.5 15.3-11.4 2.6-8.5-2.2-17.4-10.7-19.9l-80-24c-8.4-2.5-17.4 2.3-19.9 10.7-2.6 8.5 2.2 17.4 10.7 19.9l31 9.3c-6.3 5.8-10.5 14.1-10.5 23.4 0 17.7 14.3 32 32 32s32.1-14.3 32.1-32zm171.4-63.3l-80 24c-8.5 2.5-13.3 11.5-10.7 19.9 2.1 6.9 8.4 11.4 15.3 11.4.6 0 1.1-.2 1.7-.2-.7 2.7-1.7 5.3-1.7 8.2 0 17.7 14.3 32 32 32s32-14.3 32-32c0-9.3-4.1-17.5-10.5-23.4l31-9.3c8.5-2.5 13.3-11.5 10.7-19.9-2.4-8.5-11.4-13.2-19.8-10.7z"/></svg></div>'}),new gp({value:"1",description:Nl.t("Rate.Bad").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm0-152c-44.4 0-86.2 19.6-114.8 53.8-5.7 6.8-4.8 16.9 2 22.5 6.8 5.7 16.9 4.8 22.5-2 22.4-26.8 55.3-42.2 90.2-42.2s67.8 15.4 90.2 42.2c5.3 6.4 15.4 8 22.5 2 6.8-5.7 7.7-15.8 2-22.5C334.2 339.6 292.4 320 248 320zm-80-80c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"/></svg></div>'}),new gp({value:"2",description:Nl.t("Rate.Neutral").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm-80-232c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm16 160H152c-8.8 0-16 7.2-16 16s7.2 16 16 16h192c8.8 0 16-7.2 16-16s-7.2-16-16-16z"/></svg></div>'}),new gp({value:"3",description:Nl.t("Rate.Good").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm90.2-146.2C315.8 352.6 282.9 368 248 368s-67.8-15.4-90.2-42.2c-5.7-6.8-15.8-7.7-22.5-2-6.8 5.7-7.7 15.7-2 22.5C161.7 380.4 203.6 400 248 400s86.3-19.6 114.8-53.8c5.7-6.8 4.8-16.9-2-22.5-6.8-5.6-16.9-4.7-22.6 2.1zM168 240c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"/></svg></div>'}),new gp({value:"4",description:Nl.t("Rate.VeryGood").toString(),text:'<div class="rate_svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 464c-119.1 0-216-96.9-216-216S128.9 40 248 40s216 96.9 216 216-96.9 216-216 216zm123.1-151.2C340.9 330.5 296 336 248 336s-92.9-5.5-123.1-15.2c-5.3-1.7-11.1-.5-15.3 3.1-4.2 3.7-6.2 9.2-5.3 14.8 9.2 55 83.2 93.3 143.8 93.3s134.5-38.3 143.8-93.3c.9-5.5-1.1-11.1-5.3-14.8-4.3-3.7-10.2-4.9-15.5-3.1zM248 400c-35 0-77-16.3-98.5-40.3 57.5 10.8 139.6 10.8 197.1 0C325 383.7 283 400 248 400zm-80-160c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"/></svg></div>'})];i.forEach((e=>{e.getAnswerText=()=>`${e.text}<div class='rate_text'>${e.description}</div>`})),this.questions.push(new hp({alias:"RATE",type:Mo.SingleChoice,options:i,propertyToSubmit:"rate",text:n.getPropertyValue("RateMessage",[Nl.t("Chat.RateRequest").toString()]),showOptionsBorders:!1,showSelectedLabel:!0,showHoveredLabel:!0,htmlAnswer:!0,sanitize:e=>e.replace(/([^\u0000-\u007F]|[^\w\d-_\s])/g,""),validate:e=>{let t="";return Number.isNaN(Number(e))&&(t="Wrong answer"),t}})),this.questions.push(new hp({alias:"FEEDBACK",type:Mo.SingleChoice,options:[new gp({text:Nl.t("Rate.GiveFeedback").toString(),value:1,description:"Yes",nextQuestionAlias:"COMMENT"}),new gp({text:Nl.t("Rate.NoFeedback").toString(),value:0,description:"No",nextQuestionAlias:"FINISH"})],text:n.getPropertyValue("RateFeedbackRequestMessage",[Nl.t("Chat.RateFeedbackRequest").toString()])})),this.questions.push(new hp({alias:"COMMENT",propertyToSubmit:"comment",text:n.getPropertyValue("RateCommentsMessage",[Nl.t("Chat.RateComment").toString()]),validate:e=>{let t="";return Lc(e,500)||(t=Nl.t("Auth.MaxCharactersReached").toString()),t}}))}getData(){return super.getData()}}class vp extends pp{constructor(e){super(e),this.NAME_ALIAS="NAME",this.EMAIL_ALIAS="EMAIL",this.DEPARTMENT_ALIAS="DEPARTMENT",Object.assign(this,e),this.closeOnSubmission=!1}buildFlow(e,t){const n=ef.getTextHelper();super.buildFlow(e,t),this.questions.push(new hp({alias:this.NAME_ALIAS,type:Mo.Text,propertyToSubmit:"name",text:n.getPropertyValue("AuthFormNameMessage",[Nl.t("Auth.AuthNameMessage").toString()]),isEnable:t.authenticationType===uf.Both||t.authenticationType===uf.Name,sanitize:e=>e.replace(/([^\u0000-\u007F]|[^\w\d-_\s])/g,""),validate:e=>{let t="";return Pc(e)||(t=Nl.t("Auth.MaxCharactersReached").toString()),t}})),this.questions.push(new hp({alias:this.EMAIL_ALIAS,type:Mo.Text,propertyToSubmit:"email",text:n.getPropertyValue("AuthFormEmailMessage",[Nl.t("Auth.AuthEmailMessage").toString()]),isEnable:t.authenticationType===uf.Both||t.authenticationType===uf.Email,validate:e=>{let t="";return Dc(e)?jc(e)||(t=Nl.t("Auth.MaxCharactersReached").toString()):t=Nl.t("Auth.OfflineEnterValidEmail").toString(),t}})),this.questions.push(new hp({alias:this.DEPARTMENT_ALIAS,type:Mo.SingleChoice,options:[],propertyToSubmit:"department",text:Nl.t("Auth.DepartmentMessage").toString(),isEnable:t.departmentsEnabled}))}getData(){const e={};return this.questions.forEach((t=>{void 0!==t.propertyToSubmit&&(t.isCustomField?e["cf:"+t.propertyToSubmit]=JSON.stringify(new Oh({name:t.text,id:parseInt(t.alias,10),value:t.getAnswer()})):e[t.propertyToSubmit]=t.getAnswer())})),e}addAuthDepartmentOptions(e){const t=this.getQuestionByAlias(this.DEPARTMENT_ALIAS);void 0!==t&&e.forEach((e=>{t.options.push(new gp({value:e.id,text:e.name,description:e.name}))}))}addAuthCustomFields(e){void 0!==e&&e.forEach((e=>{const t=[],n=new hp({alias:e.id.toString(10),type:"TEXT"===e.type?Mo.Text:Mo.SingleChoice,propertyToSubmit:e.name,text:e.name,isCustomField:!0});"DROPDOWN"===e.type&&(e.options.forEach((e=>{t.push(new gp({value:e,text:e,description:e}))})),n.options=t),this.questions.push(n)}))}}class yp{constructor(e,t,n){this.onReset=new Gr,this.onError=new Gr,this.onError$=this.onError.asObservable().pipe(of(this.onReset)),this.onQuestionAnswered=new Gr,this.onQuestionAnswered$=this.onQuestionAnswered.asObservable().pipe(of(this.onReset)),this.onNewQuestion=new Gr,this.onNewQuestion$=this.onNewQuestion.asObservable().pipe(of(this.onReset)),this.thinking=new Gr,this.thinking$=this.thinking.asObservable(),this.emojiconUrl="",this.chatFlowState=e,this.eventBus=t,this.myChatService=n}getCurrentFlow(){return this.currentFlow&&!this.currentFlow.submitted?this.currentFlow:void 0}think(e,t){this.currentFlow.submitted||setTimeout((()=>{this.thinking.next({key:t,value:e})}),500)}answer(e){let t="",n=e.value;const i=this.currentFlow.current();if(void 0!==i&&(void 0!==i.sanitize&&(n=i.sanitize(e.value.toString())),t=this.currentFlow.validateCurrent(n.toString())),this.onQuestionAnswered.next(e.key),""===t){void 0!==i&&i.setAnswer(n);const e=this.currentFlow.next();void 0!==e&&this.onNewQuestion.next(e)}else this.onError.next(t)}start(){const e=this.currentFlow.next();void 0!==e&&this.onNewQuestion.next(e)}reset(){this.setChatFlowState(To.Chat),this.onReset.next()}setChatFlowState(e){switch(this.chatFlowState=e,e){case To.OfflineForm:this.currentFlow=new mp;break;case To.Rate:this.currentFlow=new bp;break;case To.Auth:this.currentFlow=new vp}}onFlowNewQuestion(e){const t=lp.createAutomatedViewMessage(e.text,ko.Normal,this.emojiconUrl);t.preventSound=e.preventSound,t.preventBubbleIndication=e.preventBubbleIndication,t.preventTabNotification=e.preventTabNotification,this.eventBus.onShowMessage.next(t),e.type===Mo.SingleChoice||e.type===Mo.MultipleChoice?this.eventBus.onShowMessage.next(lp.createOptionsViewMessage(e)):this.eventBus.onTriggerFocusInput.next()}onFlowError(e){this.eventBus.onShowMessage.next(lp.createAutomatedViewMessage(e,ko.Normal,this.emojiconUrl))}onFlowQuestionAnswered(e){e>=0&&(this.myChatService.chatMessages[e].sent=!0)}initFlow(e,t=!1,n=(()=>Wl(!0)),i=(e=>this.onFlowNewQuestion(e)),s=(e=>this.onFlowQuestionAnswered(e)),r=(e=>this.onFlowError(e))){this.currentFlow.buildFlow(t,e),this.currentFlow.addSubmissionCallback(n,""),this.onError$.subscribe((e=>r(e))),this.onNewQuestion$.subscribe((e=>i(e))),this.onQuestionAnswered$.subscribe((e=>s(e)))}}class Ap{constructor(e){Object.assign(this,e)}}var wp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let _p=class extends(rr(sf)){constructor(){super(),this.selected="",this.hovered=new gp,this.lightText=!1}optionHtml(e){return ap(e,this.emojiconUrl,25)}onOptionSelected(e){""===this.selected&&(this.selected=e.value,this.$emit("selected",e))}mouseOver(e,t){this.hovered=t;"#FFFFFF"===Jh(e.target)&&void 0!==this.$style&&(this.lightText=!0)}mouseLeave(e){this.hovered=void 0,this.lightText=!1}};wp([wr()],_p.prototype,"options",void 0),wp([wr()],_p.prototype,"showBorders",void 0),wp([wr()],_p.prototype,"showSelectedLabel",void 0),wp([wr()],_p.prototype,"showHoveredLabel",void 0),wp([wr()],_p.prototype,"emojiconUrl",void 0),_p=wp([dr({components:{}})],_p);const Cp=td(_p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return""===e.selected||void 0===e.selected?n("div",{class:[e.$style.root]},[e._l(e.options,(function(t){return[n("div",{ref:"option_"+t.value,refInFor:!0,class:[e.$style.option_button,e.showBorders?e.$style.bordered:"",e.lightText&&e.hovered.value===t.value?e.$style["light-text"]:""],on:{mouseover:function(n){return e.mouseOver(n,t)},mouseleave:function(t){return e.mouseLeave(t)},blur:function(t){return e.mouseLeave(t)},click:function(n){return e.onOptionSelected(t)}}},[n("span",{domProps:{innerHTML:e._s(e.optionHtml(t.text))}})])]})),e._v(" "),e.hovered&&!e.selected&&e.showHoveredLabel?n("div",{class:[e.$style.hovered_description]},[e._v("\n "+e._s(e.hovered.description)+"\n ")]):e._e()],2):e._e()}),[],!1,(function(e){var t=n(8583);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Sp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Ep=class extends(rr(sf)){beforeMount(){this.addVideoCallListener()}addVideoCallListener(){this.myWebRTCService&&this.$subscribeTo(this.myWebRTCService.videoCallInProcess$,(()=>{this.myWebRTCService.videoContainer=this.$refs.videoContainer}))}};Sp([pr()],Ep.prototype,"myWebRTCService",void 0),Sp([wr({default:!1})],Ep.prototype,"isPopoutWindow",void 0),Ep=Sp([dr({components:{}})],Ep);const Op=td(Ep,(function(){var e,t=this,n=t.$createElement,i=t._self._c||n;return i("div",{ref:"videoContainer",class:[t.$style.root],attrs:{id:"videoContainer"}},[t.myWebRTCService&&t.myWebRTCService.videoOnlyRemoteStream&&(t.myWebRTCService.media.isVideoReceived||!t.myWebRTCService.media.isVideoSend)?i("video",{directives:[{name:"srcObject",rawName:"v-srcObject",value:t.myWebRTCService.videoOnlyRemoteStream,expression:"myWebRTCService.videoOnlyRemoteStream"}],class:t.myWebRTCService.isFullscreen?t.$style.awayFullVideo:t.$style.awayVideo,attrs:{id:"wplc-remote-video",playsinline:"",autoplay:""}}):t._e(),t._v(" "),t.myWebRTCService&&t.myWebRTCService.videoOnlyLocalStream&&t.myWebRTCService.media.isVideoSend?i("video",{directives:[{name:"srcObject",rawName:"v-srcObject",value:t.myWebRTCService.videoOnlyLocalStream,expression:"myWebRTCService.videoOnlyLocalStream"}],class:(e={},e[t.$style.mirrorVideo]=!0,e[t.myWebRTCService.isFullscreen||!t.isPopoutWindow?t.$style.homeFullVideo:t.$style.homeVideo]=t.myWebRTCService.media.isVideoReceived,e[t.myWebRTCService.isFullscreen||!t.isPopoutWindow?t.$style.awayFullVideo:t.$style.awayVideo]=!t.myWebRTCService.media.isVideoReceived,e),attrs:{id:"wplc-home-video",playsinline:"",autoplay:""}}):t._e()])}),[],!1,(function(e){var t=n(231);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;const xp="data:audio/mpeg;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjUxLjEwMQAAAAAAAAAAAAAA//OEAAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAABsAAApQAAJCw0QEhQXGRseICInKSwuMDM1Nzo8PkFFSEpMT1FTVlhaXV9hZmhrbW9ydHZ5e32AhIaJi42QkpSXmZueoKWnqayusLO1t7q8vsPFyMrMz9HT1tja3d/k5ujr7e/y9Pb5+/0AAAAATGF2YzU4LjEwAAAAAAAAAAAAAAAAJAJAAAAAAAAAKUBtWwo7AAAAAAAAAAAAAAAAAAAA//NEZAAAAAGkAAAAAAAAA0gAAAAABinWAdZt1Jl//5sI5oz/S/Exg1UTNaDYRzWl3pNDgpOZJojw4bdubm45+bm49hgs/cmvLZC0yBazARDM0hEZpmLituoQYz//qEkU//NEZEsAAAGkAAAAAAAAA0gAAAAAeqEjGTsLk7eddv/zrVGL8Mgxt+0e/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IoDRPEMHCBCWIQAIgEQgZTME0AHHBgacISUoiFRcKH/qcg5QEHBrADqhIuA4AIAEyWCFCsmUGwJe+9SrN0PLQwD7OUNlhD7JDA4PaW//NEZA0G3GTeoAuZJARgWbGAAHQlZZ050AMgIHQgx6gNcWlcM5CxpatXq1qGd///////jSmDTBsNCdYAjcy+HAYGeC27FQATBbVDvV4uraJV3cm6eMt2Q5hwgYQSmmM5//NEZA8GcGTWAAN5FgUIYa5AAZ4kxEqW4QSAEU1C29L2rdh7v8ypef/////O2duyIizbwO1gIKdbMCwAQAM5kUJkcz+CHACZ/DYFFebaMT2hVnBZFATRgqBwMKDOrCNk//NEZBIGADiuYAeaFgTQWaJgAF5ArI3fhD//qOdmoELzCNDhkkvX2lMulNa4Dhr4LC4jAHyoAAJgjiuhIS+iao0dws4aL6oBaQLOriSHQPs0R+QxTfVA1KQQO8hfo0NM//NEZBkFMD50wDMPGAVgXNjgAlgJOhXQBWEMKwk1OJQq5hliT6JgCSqRsMhZJt396kSg5B0QB3QHhZJMQU1FMy4xMDCqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq";var Ip=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Tp=class extends(rr(sf)){constructor(){super(...arguments),this.soundFlag=this.config.allowSoundNotifications,this.myMessage="",this.MaxChatMessageSize=2e4}get isSendButtonEnabled(){return this.myMessage.length>0}beforeMount(){this.addInputBlurHandler(),this.addInputFocusHandler()}addInputBlurHandler(){this.$subscribeTo(this.eventBus.onMinimized,(()=>{this.blurInput()}))}addInputFocusHandler(){const e=_f(this.eventBus.onRestored,this.eventBus.onTriggerFocusInput);this.$subscribeTo(e,(()=>{this.gaService.chatInteractionEvent(),this.focusInput()}))}focusInput(){setTimeout((()=>{this.$refs.chatInput&&$c.focusElement(this.$refs.chatInput)}),200)}blurInput(){setTimeout((()=>{this.$refs.chatInput&&$c.blurElement(this.$refs.chatInput)}),200)}filePickerToggle(){this.$refs.fileInput.click()}fileSelection(){const e=this.$refs.fileInput;e&&this.eventBus.onFileUpload.next(e.files)}FireTyping(e){this.myMessage=e.target.value,this.eventBus.onClientChatTyping.next()}onInputFocusChange(e){this.$emit("input-focus-change",e),e&&this.eventBus.onAttendChat.next()}sendMessage(){this.myMessage&&(this.$emit("send-message",this.myMessage),this.myMessage="")}onStartNewChat(){this.eventBus.onRestart.next()}onToggleSound(){this.soundFlag=!this.soundFlag,this.eventBus.onToggleSoundNotification.next(this.soundFlag)}};Ip([pr()],Tp.prototype,"eventBus",void 0),Ip([pr()],Tp.prototype,"gaService",void 0),Ip([wr()],Tp.prototype,"config",void 0),Ip([wr({default:!0})],Tp.prototype,"isChatActive",void 0),Ip([wr({default:!1})],Tp.prototype,"chatEnabled",void 0),Ip([wr({default:!0})],Tp.prototype,"chatOnline",void 0),Ip([wr({default:!0})],Tp.prototype,"enableTyping",void 0),Tp=Ip([dr({components:{SoundActive:vd(),SoundInactive:Ad(),FacebookIcon:_d(),PaperPlane:Sd(),TwitterIcon:Od(),EmailIcon:Id(),DefaultSound:xp,PaperClip:kd()}})],Tp);const Mp=td(Tp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.$style.root,e.isChatActive?"":e.$style["chat-disabled"]]},[e.isChatActive?[n("form",{class:e.$style["chat-message-input-form"],attrs:{autocomplete:"off",autocorrect:"off",spellcheck:"false"},on:{submit:function(t){return t.preventDefault(),e.sendMessage()}}},[n("div",{class:e.$style.materialInput},[n("input",{ref:"chatInput",class:e.$style["chat-message-input"],attrs:{disabled:!e.enableTyping,type:"text",placeholder:e.$t("Chat.TypeYourMessage"),maxLength:e.MaxChatMessageSize,name:"chatInput",autocomplete:"off",autocorrect:"off",spellcheck:"false"},domProps:{value:e.myMessage},on:{input:function(t){return e.FireTyping(t)},focus:function(t){return e.onInputFocusChange(!0)},blur:function(t){return e.onInputFocusChange(!1)}}})]),e._v(" "),n("div",{class:[e.$style["send-trigger"],e.isSendButtonEnabled?e.$style.send_enable:e.$style.send_disable],attrs:{disabled:!e.enableTyping},on:{mousedown:function(t){return t.preventDefault(),e.sendMessage()}}},[n("paper-plane")],1)]),e._v(" "),n("div",{class:e.$style.banner},[n("div",{class:e.$style["chat-action-buttons"]},[e.config.filesEnabled&&e.chatOnline?n("input",{ref:"fileInput",staticStyle:{display:"none"},attrs:{id:"avatar",type:"file",name:"file-picker",accept:"image/jpeg,image/pjpeg,image/png,image/gif,image/bmp,image/x-windows-bmp,image/tiff,image/x-tiff,application/msword,application/pdf,text/plain,application/rtf,application/x-rtf,application/mspowerpoint,application/powerpoint,application/vnd.ms-powerpoint,application/x-mspowerpoint,application/excel,application/vnd.ms-excel,application/x-excel,application/x-msexcel"},on:{change:function(t){return t.preventDefault(),e.fileSelection(t)}}}):e._e(),e._v(" "),e.config.filesEnabled&&e.chatOnline?n("div",{class:[e.$style["action-button"]],attrs:{disabled:!e.enableTyping},on:{click:function(t){return t.preventDefault(),e.filePickerToggle(t)}}},[n("PaperClip")],1):e._e(),e._v(" "),e.config.enableMute&&e.chatEnabled?n("div",{class:e.$style["action-button"],on:{click:e.onToggleSound}},[e.soundFlag?e._e():n("a",[n("soundInactive")],1),e._v(" "),e.soundFlag?n("a",[n("soundActive")],1):e._e()]):e._e(),e._v(" "),e.config.facebookIntegrationUrl?n("div",{class:e.$style["action-button"]},[n("a",{attrs:{target:"_blank",href:e.config.facebookIntegrationUrl}},[n("facebookIcon")],1)]):e._e(),e._v(" "),e.config.twitterIntegrationUrl?n("div",{class:e.$style["action-button"]},[n("a",{attrs:{target:"_blank",href:e.config.twitterIntegrationUrl}},[n("twitterIcon")],1)]):e._e(),e._v(" "),e.config.emailIntegrationUrl?n("div",{class:e.$style["action-button"]},[n("a",{attrs:{href:"mailto:"+e.config.emailIntegrationUrl}},[n("emailIcon")],1)]):e._e()]),e._v(" "),e.config.enablePoweredby?n("span",{class:e.$style["powered-by"]},[n("a",{attrs:{href:"https://www.3cx.com",target:"_blank"}},[e._v(e._s(e.$t("Inputs.PoweredBy"))+" ")])]):e._e()])]:n("button",{ref:"startNewBtn",class:e.$style.submit,attrs:{type:"button"},on:{click:function(t){return e.onStartNewChat()}}},[e._v("\n "+e._s(e.$t("ChatCompleted.StartNew"))+"\n ")])],2)}),[],!1,(function(e){var t=n(7722);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Np=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let kp=class extends(rr(sf)){constructor(){super(...arguments),this.isTypingVisible=!1}beforeMount(){this.addFlowThinkingListener(),this.chatOnline&&this.addServerTypingListener()}addFlowThinkingListener(){this.$subscribeTo(this.chatFlowControlService.thinking$.pipe(If((()=>{this.isTypingVisible=!0})),du(1e3),If((e=>{this.isTypingVisible=!1,this.chatFlowControlService.answer(e)}))),(()=>{}))}addServerTypingListener(){this.$subscribeTo(this.myChatService.notificationsOfType$(zf).pipe(Lh(1e3),If((e=>{this.lastTyping=e.time,this.isTypingVisible=!0})),du(2e3),If((()=>{const e=this.lastTyping.getTime()-(new Date).getTime();this.isTypingVisible=Math.abs(e)<2e3}))),(()=>{}))}};Np([pr()],kp.prototype,"myChatService",void 0),Np([pr()],kp.prototype,"chatFlowControlService",void 0),Np([wr({default:!0})],kp.prototype,"chatOnline",void 0),Np([wr({default:""})],kp.prototype,"operatorName",void 0),kp=Np([dr({components:{}})],kp);const Rp=td(kp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isTypingVisible?n("div",{class:[e.$style.root]},[e.chatOnline?n("div",{class:e.$style.typing_indicator_name},[n("span",{attrs:{title:e.operatorName}},[e._v(e._s(e.operatorName))])]):e._e(),e._v(" "),n("span",[e._v(e._s(e.$t("Inputs.IsTyping")))])]):e._e()}),[],!1,(function(e){var t=n(3530);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;class Fp{constructor(e,t){this.dueTime=e,this.scheduler=t}call(e,t){return t.subscribe(new Dp(e,this.dueTime,this.scheduler))}}class Dp extends Fr{constructor(e,t,n){super(e),this.dueTime=t,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Pp,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:e}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}clearDebounce(){const e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}function Pp(e){e.debouncedNext()}var Bp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Lp=class extends(rr(sf)){constructor(){super(),this.newMessageAudioMuted=!this.config.allowSoundNotifications,this.enabled=!1}beforeMount(){this.enableNotification(),this.addSoundToggleHandler(),this.addAttendHandler(),this.addUnattendedMessageHandler()}mounted(){this.audio=this.$refs.lcAudio,void 0!==this.config.soundnotificationUrl&&""!==this.config.soundnotificationUrl?this.audio.src=this.config.soundnotificationUrl:this.audio.src=xp,this.addSoundNotificationHandler()}addSoundNotificationHandler(){this.$subscribeTo(this.eventBus.onSoundNotification.pipe(jo((()=>!this.newMessageAudioMuted&&this.enabled)),function(e,t=Qc){return n=>n.lift(new Fp(e,t))}(100),If((()=>{this.audio.pause(),this.audio.currentTime=0})),tc((()=>Kl(this.audio.play())))),(()=>{}))}addSoundToggleHandler(){this.$subscribeTo(this.eventBus.onToggleSoundNotification,(e=>{this.newMessageAudioMuted=!e}))}enableNotification(){this.eventBus.onEnableNotification.subscribe((()=>{this.enabled=!0}))}addUnattendedMessageHandler(){this.$subscribeTo(this.eventBus.onUnattendedMessage,(e=>{!this.enabled||e.preventTabNotification||e.preventBlinkingTitle||(this.config&&this.config.isPopout?Ll.startBlinkWithStopOnMouseMove():Ll.startBlink())}))}addAttendHandler(){this.$subscribeTo(this.eventBus.onAttendChat,(()=>{Ll.stopBlink()}))}};Bp([pr()],Lp.prototype,"myChatService",void 0),Bp([pr()],Lp.prototype,"myWebRTCService",void 0),Bp([pr()],Lp.prototype,"eventBus",void 0),Bp([wr()],Lp.prototype,"config",void 0),Lp=Bp([dr({components:{DefaultSound:xp}})],Lp);const jp=td(Lp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.$style.root]},[n("audio",{ref:"lcAudio"})])}),[],!1,(function(e){var t=n(9831);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Up=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let zp=class extends(rr(sf)){constructor(){super(),this.serverSystemMessages=!1,this.firstResponsePending=!0,this.emojiconUrl="",this.chatConversationId=-1,this.clientName="",this.pendingMessagesToSend=[],this.isPopoutWindow=!1,this.isInputFocused=!1,this.onAknowledgeMessage=new Gr,this.currentOperator=new Nc({image:this.operator.image,name:this.operator.name,emailTag:this.operator.emailTag}),this.chatFlowControlService=new yp(To.Chat,this.eventBus,this.myChatService)}get isVideoActive(){return this.myWebRTCService&&this.myWebRTCService.isVideoActive}enableTyping(){let e=!0;const t=this.chatFlowControlService.getCurrentFlow();if(void 0!==t){const n=t.current();void 0!==n&&(e=n.type!==Mo.MultipleChoice&&n.type!==Mo.SingleChoice)}return e}isChatActive(){let e;const t=this.chatFlowControlService.getCurrentFlow();return e=void 0!==t&&this.chatFlowControlService.chatFlowState!==To.Chat?!t.closeOnSubmission||!(null==t?void 0:t.submitted):!!this.chatOnline&&this.myChatService.hasSession,e}beforeMount(){if(window.addEventListener("resize",(()=>{$c.isDesktop()||this.scrollChatToBottom()})),this.loadingService.show(),this.myChatService.clearMessages(),this.isPopoutWindow=this.config&&this.config.isPopout,this.clientName=void 0!==this.myChatService.auth&&void 0!==this.myChatService.auth.name?this.myChatService.auth.name:"",this.$subscribeTo(this.eventBus.onRestored,(()=>{this.scrollChatToBottom()})),this.addShowMessagesListener(),this.addAcknowledgeMessageListener(),this.addScrollListener(),this.chatOnline){let e;this.addSessionChangeListener(),this.addNewSessionListener(),this.addMessagesListener(),this.addFileMessageListener(),this.configureTypingNotifications(),this.addChatCompletionListener(),this.addFileUploadListener();let t=!1;if(void 0===this.myChatService.auth)if(this.config.authenticationType!==uf.None||this.config.departmentsEnabled||this.customFields.length>0){this.chatFlowControlService.setChatFlowState(To.Auth),this.chatFlowControlService.initFlow(this.config,!0,(()=>this.onAuthFlowSubmit()));const e=this.chatFlowControlService.getCurrentFlow();void 0!==e&&(e.addAuthDepartmentOptions(this.departments),e.addAuthCustomFields(this.customFields))}else this.clientName=this.config.visitorName,e={name:this.config.visitorName},t=!0;else this.clientName=this.myChatService.auth.name?this.myChatService.auth.name:this.config.visitorName,e={name:this.myChatService.auth.name,email:this.myChatService.auth.email,department:this.myChatService.auth.department,customFields:this.myChatService.auth.customFields};t&&void 0!==e&&(this.currentChannel.setAuthentication(e),this.myChatService.setAuthentication(e),this.loadingService.show(),this.myChatService.reconnect())}else this.chatFlowControlService.setChatFlowState(To.OfflineForm),this.chatFlowControlService.initFlow(this.config,!0,(()=>this.onOfflineFlowSubmit())),setTimeout((()=>{this.loadingService.hide(),this.chatFlowControlService.start()}));this.chatOnline&&this.showWelcomeMessage(),this.config.showOperatorActualName?(""===this.currentOperator.image&&(this.currentOperator.image=this.config.operatorIcon),this.addOperatorChangeListener()):(this.currentOperator.name=this.config.operatorName,this.currentOperator.image=this.config.operatorIcon)}mounted(){this.chatOnline||this.eventBus.onEnableNotification.next()}addChatCompletionListener(){this.eventBus.onClosed$.subscribe((e=>{void 0!==this.myWebRTCService&&this.myWebRTCService.hasCall&&this.myWebRTCService.removeDroppedCall(),this.config.ratingEnabled?(this.chatFlowControlService.setChatFlowState(To.Rate),this.chatFlowControlService.initFlow(this.config,!0,(()=>this.onRateFlowSubmit(e))),this.chatFlowControlService.start()):this.completeChat(e)}))}completeChat(e){if(this.serverSystemMessages&&this.myChatService.lastMessage().messageType!==ko.Completed||!this.serverSystemMessages||e.closedByClient){const t=e.closeMessage||this.getPropertyValue("ChatEndMessage",[this.config.endingMessage,Nl.t("Inputs.EndingMessage").toString()]);this.endWithMessage(t)}this.myChatService.setAuthentication(void 0),this.eventBus.onChatCompleted.next()}updated(){void 0!==this.$refs.startNewBtn&&this.$refs.startNewBtn instanceof HTMLElement&&(this.$refs.startNewBtn.style.color="#FFFFFF")}onOfflineFlowSubmit(){const e=this.chatFlowControlService.getCurrentFlow();if(void 0!==e){const t=e.getData(),n=new Yf({auth:{name:t.Name.toString(),email:t.Email.toString(),phone:""},party:this.config.party,data:{message:t.OfflineMessage.toString(),name:t.Name.toString(),email:t.Email.toString(),phone:""}});return this.currentChannel.sendSingleCommand(this.config.wpUrl,this.config.channelUrl,n).pipe(If((()=>{const e=lp.createAutomatedViewMessage(this.getPropertyValue("OfflineFormFinishMessage",[this.config.offlineFinishMessage,Nl.t("Inputs.OfflineMessageSent").toString()]),ko.Completed,this.emojiconUrl);e.preventBubbleIndication=!0,e.preventTabNotification=!0,this.addChatMessage(e),this.gaService.dispatchEvent("chat_offline","OfflineMessage"),this.eventBus.onAttendChat.next(),this.chatFlowControlService.reset()})),tc((()=>Wl(!0))))}return Wl(!1)}onAuthFlowSubmit(){var e,t,n,i;const s=null===(e=this.chatFlowControlService.getCurrentFlow())||void 0===e?void 0:e.getData(),r=[];if(s){Object.keys(s).forEach((e=>{e.startsWith("cf:")&&r.push(JSON.parse(s[e].toString()))}));const e=s.department?parseInt(s.department.toString(),10):-1,o={name:null===(t=s.name)||void 0===t?void 0:t.toString(),email:null===(n=s.email)||void 0===n?void 0:n.toString(),department:Number.isNaN(e)?-1:e,customFields:r};return this.clientName=void 0!==s.name?null===(i=s.name)||void 0===i?void 0:i.toString():this.config.visitorName,this.currentChannel.setAuthentication(o),this.myChatService.setAuthentication(o),this.loadingService.show(),this.chatFlowControlService.reset(),this.myChatService.reconnect(),this.myWebRTCService.setChatService(this.myChatService),Wl(!0)}return Wl(!1)}onRateFlowSubmit(e){const t=this.chatFlowControlService.getCurrentFlow();if(void 0!==t&&void 0!==this.myChatService.auth){const n=t.getData(),i=new Xf({auth:{name:this.myChatService.auth.name,email:this.myChatService.auth.email,phone:this.myChatService.auth.phone},party:this.config.party,data:{rate:n.rate,comments:n.comment?n.comment:"",cid:e.chatUniqueCode}});return this.currentChannel.sendSingleCommand(this.config.wpUrl,this.config.channelUrl,i).pipe(If((()=>{this.completeChat(new Ap({notifyServer:!1,closedByClient:e.closedByClient,chatUniqueCode:this.chatConversationId})),this.chatFlowControlService.reset()})),tc((()=>Wl(!0))))}return Wl(!0)}onOptionSelected(e,t){let n;n=t.htmlAnswer?lp.createHtmlVisitorViewMessage(e.getAnswerText(),this.clientName,this.config.userIcon,!0,this.emojiconUrl,!0,!0,new Date):lp.createVisitorViewMessage(e.getAnswerText(),this.clientName,this.config.userIcon,!0,!0,this.emojiconUrl,!0,new Date),n.preventBubbleIndication=!0,this.addChatMessage(n),this.eventBus.onAttendChat.next(),this.chatFlowControlService.think(e.value,-1)}addShowMessagesListener(){this.$subscribeTo(this.eventBus.onShowMessage,(e=>{this.addChatMessage(e)}))}addScrollListener(){this.$subscribeTo(this.eventBus.onScrollToBottom,(()=>{this.scrollChatToBottom()}))}addOperatorChangeListener(){this.$subscribeTo(this.myChatService.onOperatorChange$,(e=>{if(void 0!==e.image&&""!==e.image||(e.image=this.config.operatorIcon),this.myChatService.hasSession){const t=Nl.t("Chat.OperatorJoined").toString().replace("%%OPERATOR%%",e.name),n=lp.createAutomatedViewMessage(t,ko.Normal,this.emojiconUrl);n.preventSound=!0,this.addChatMessage(n)}this.currentOperator=e}))}configureTypingNotifications(){this.$subscribeTo(this.eventBus.onClientChatTyping.pipe(jo((()=>this.chatFlowControlService.chatFlowState===To.Chat)),Lh(2e3),tc((()=>{const e=new zf({idConversation:this.chatConversationId});return this.myChatService.get(new au(e),!0)}))),(()=>{}),(e=>{this.eventBus.onError.next(e)}))}addNewSessionListener(){this.$subscribeTo(this.myChatService.mySession$,(e=>{this.myChatService.hasSession||e.sessionState!==Co.Error?this.myChatService.hasSession&&(this.loadingService.hide(),this.eventBus.onEnableNotification.next(),this.eventBus.onTriggerFocusInput.next(),this.serverSystemMessages=e.serverProvideSystemMessages,this.emojiconUrl=e.emojiEndpoint(),this.chatFlowControlService.emojiconUrl=this.emojiconUrl,this.chatConversationId=e.getSessionUniqueCode(),this.pendingMessagesToSend.length>0&&(this.pendingMessagesToSend.forEach((e=>{this.sendOnlineMessage(e.message,e.index)})),this.pendingMessagesToSend=[]),this.gaService.chatInitiatedEvent(e)):this.eventBus.onClosed.next(new Ap({notifyServer:!1,closedByClient:!1,chatUniqueCode:this.chatConversationId}))}))}addFileMessageListener(){this.$subscribeTo(this.myChatService.notificationsOfType$(tu),(e=>{const t=this.myChatService.chatMessages.findIndex((t=>t.id===e.id));t>-1&&(this.myChatService.chatMessages[t].file=new Uf({hasPreview:e.file.hasPreview,fileName:e.file.fileName,fileLink:e.file.fileLink,fileSize:e.file.fileSize,fileState:e.file.fileState}))}))}addFileUploadListener(){this.eventBus.onFileUpload.subscribe((e=>{this.fileSelection(e)}))}addMessagesListener(){this.$subscribeTo(this.myChatService.notificationsOfType$(Lf),(e=>{e.messages.forEach((t=>{if(t.messageType===ko.Completed)this.endWithMessage(ef.getTextHelper().getPropertyValue("ChatEndMessage",[this.config.endingMessage,Nl.t("Inputs.EndingMessage").toString()]));else{const e=t.message;let n,i;t.file&&(i=new Uf({hasPreview:t.file.hasPreview,fileName:t.file.fileName,fileLink:t.file.fileLink,fileSize:t.file.fileSize,fileState:t.file.fileState}));const s=this.myChatService.lastMessage(),r=s.isLocal,o=!!s.file,{isLocal:a}=t,l=a?t.senderName:this.currentOperator.name,c="System"===t.senderNumber,f=new Date(t.time),u=f.getTimezoneOffset(),d=a!==r||s.senderName!==l||void 0!==t.file||o||s.isAutomated&&!c;n=a?i?lp.createVisitorFileMessage(i,l,this.config.userIcon,t.isNew,new Date(f.getTime()-60*u*1e3)):lp.createVisitorViewMessage(e,l,this.config.userIcon,d,t.isNew,this.emojiconUrl,!t.isNew,new Date(f.getTime()-60*u*1e3)):i?lp.createAgentFileMessage(t.id,i,l,this.config.operatorIcon,d,new Date(f.getTime()-60*u*1e3),this.emojiconUrl,t.isNew):lp.createAgentViewMessage(t.id,e,l,this.config.operatorIcon,d,new Date(f.getTime()-60*u*1e3),this.emojiconUrl,t.isNew),this.addChatMessage(n)}this.config.aknowledgeReceived&&(this.onAknowledgeMessage.next(e.messages),this.isInputFocused&&this.eventBus.onAttendChat.next())}))}))}addAcknowledgeMessageListener(){var e;this.onAknowledgeMessage.pipe((e=this.eventBus.onAttendChat,function(t){return t.lift(new qh(e))})).subscribe((e=>{e.forEach((e=>{this.setMessagesAsReceived(e)}))}))}showWelcomeMessage(){setTimeout((()=>{let e="";this.chatOnline&&(e=this.myChatService.injectAuthenticationName(this.getPropertyValue("ChatWelcomeMessage",[this.config.inviteMessage])));const t=lp.createAutomatedViewMessage(e,ko.Normal,this.emojiconUrl,!1);t.preventSound=!0,this.addChatMessage(t)}))}addSessionChangeListener(){this.myChatService.notificationsOfType$(lu).subscribe((e=>{if([Io.MISSED,Io.ENDED_DUE_AGENT_INACTIVITY,Io.ENDED_DUE_CLIENT_INACTIVITY,Io.ENDED_BY_CLIENT,Io.ENDED_BY_AGENT,Io.ENDED_DUE_BLOCK].includes(e.status)){let t="";switch(this.serverSystemMessages&&(t=this.myChatService.lastMessage().message),e.status){case Io.ENDED_DUE_BLOCK:t=Nl.t("Inputs.BlockMessage").toString();break;case Io.ENDED_DUE_AGENT_INACTIVITY:case Io.ENDED_DUE_CLIENT_INACTIVITY:t=this.getPropertyValue("InactivityMessage",["Chat session closed due to inactivity."]);break;case Io.ENDED_BY_CLIENT:case Io.ENDED_BY_AGENT:t=this.getPropertyValue("ChatEndMessage",[this.config.endingMessage,Nl.t("Inputs.EndingMessage").toString()]);break;case Io.MISSED:t=this.getPropertyValue("ChatNoAnswerMessage",[this.config.endingMessage,Nl.t("Inputs.EndingMessage").toString()])}this.eventBus.onClosed.next(new Ap({notifyServer:!1,closedByClient:!1,chatUniqueCode:this.chatConversationId,closeMessage:t}))}else e.sessionUniqueCode!==this.chatConversationId&&(this.chatConversationId=e.sessionUniqueCode)}))}setMessagesAsReceived(e){const t=e.filter((e=>e.isNew)).map((e=>e.id));t.length>0&&this.myChatService.get(new au(new nu(t))).subscribe()}onInputFocusChange(e){this.isInputFocused=e}onResendMessage(e){this.sendMessage(this.myChatService.chatMessages[e].message,e)}sendMessage(e="",t=-1){var n;if((n=e)&&!(n.replace(/\s/g,"").length<1))if(e.length<=2e4){this.eventBus.onChatInitiated.next(!0);const n=this.myChatService.lastMessage(),i=n.isLocal;let s;if(t<0){s=lp.createVisitorViewMessage(e,this.clientName,this.config.userIcon,!i||n.senderName!==this.clientName,!0,this.emojiconUrl);t=this.addChatMessage(s)-1}this.myChatService.chatMessages[t].index=t;const r=this.chatFlowControlService.getCurrentFlow();if(this.chatOnline&&this.chatFlowControlService.chatFlowState===To.Chat)this.sendOnlineMessage(e,t);else{if(void 0!==r){void 0===r.current()&&r instanceof vp&&void 0!==s&&this.pendingMessagesToSend.push(s)}this.chatFlowControlService.think(e,t)}}else this.eventBus.onError.next("Chat message too large"),Df("Chat message too large")}sendOnlineMessage(e,t){const n=new jf(e);n.idConversation=this.chatConversationId,this.myChatService.get(new au(n)).subscribe((()=>{this.eventBus.onTriggerFocusInput.next(),this.myChatService.chatMessages[t].sent=!0,this.automatedFirstResponseHandle(this.myChatService.chatMessages[t])}),(e=>{this.eventBus.onError.next(e),this.myChatService.chatMessages[t].errorType=this.mapErrorStateToMessageError(e.state),this.scrollChatToBottom()}))}mapErrorStateToMessageError(e){return 40===e?xo.NoRetry:xo.CanRetry}fileSelection(e){if(null!=e){const t=new Uf;t.idConversation=this.chatConversationId,t.file=e[0],t.fileSize=e[0].size,t.fileState=Oo.Uploading,t.fileName=e[0].name;const n=lp.createVisitorFileMessage(t,this.clientName,this.config.userIcon,!0),i=this.addChatMessage(n)-1,s=new au(t);if(s.containsFile=!0,function(e){const t=e.lastIndexOf("."),n=e.substring(t+1);return Yh.indexOf(n.toLowerCase())>=0}(e[0].name)){const e=this.myChatService.get(s);wf(e)&&e.pipe(Ic((e=>(this.myChatService.chatMessages[i].errorType=xo.FileError,t.fileState=Oo.Error,this.myChatService.chatMessages[i].file=t,this.scrollChatToBottom(),Fo(e))))).subscribe((e=>{t.fileLink=e.Data.FileLink,t.fileState=Oo.Available,this.myChatService.chatMessages[i].file=t,this.myChatService.chatMessages[i].sent=!0}))}else this.myChatService.chatMessages[i].errorType=xo.UnsupportedFile,t.fileState=Oo.Error,this.myChatService.chatMessages[i].file=t,this.scrollChatToBottom()}}scrollChatToBottom(){setTimeout((()=>{const e=this.$refs.chatHistory;e&&(e.scrollTop=e.scrollHeight)}))}addChatMessage(e){const t=this.myChatService.chatMessages.push(e);return!e.isNew||e.isLocal||e.preventSound||this.isInputFocused||this.eventBus.onSoundNotification.next(),!e.isNew||e.isLocal||e.preventBubbleIndication&&e.preventTabNotification||this.isInputFocused||this.eventBus.onUnattendedMessage.next(e),this.scrollChatToBottom(),t}automatedFirstResponseHandle(e){if(this.firstResponsePending&&e.isLocal){let e=this.getPropertyValue("FirstResponse",[this.config.firstResponseMessage]);if(e){e=this.myChatService.injectAuthenticationName(e);if(this.myChatService.chatMessages.filter((e=>!e.isAutomated&&!e.isLocal)).length<=0){this.firstResponsePending=!1;const t=lp.createAutomatedViewMessage(e,ko.Normal,this.emojiconUrl);this.addChatMessage(t)}else this.firstResponsePending=!1}}}endWithMessage(e){e=this.myChatService.injectAuthenticationName(e);const t=lp.createAutomatedViewMessage(e,ko.Completed,this.emojiconUrl);t.preventBubbleIndication=!0,t.preventBlinkingTitle=!0,this.addChatMessage(t)}getUserTag(e){return this.myChatService.auth&&e&&void 0!==this.myChatService.auth.email&&this.myChatService.auth.email.length>0?Af()(this.myChatService.auth.email):e?"default":this.currentOperator.emailTag}getUserIcon(e){if(e)return"DefaultUser";let t="DefaultAgent";return this.currentChannel instanceof cu&&(t="PbxDefaultAgent"),""===this.currentOperator.image||"AgentGravatar"===this.currentOperator.image?t:this.currentOperator.image}};Up([wr()],zp.prototype,"config",void 0),Up([wr()],zp.prototype,"operator",void 0),Up([wr({default:!1})],zp.prototype,"chatEnabled",void 0),Up([wr({default:!0})],zp.prototype,"chatOnline",void 0),Up([wr({default:()=>[]})],zp.prototype,"departments",void 0),Up([wr({default:()=>[]})],zp.prototype,"customFields",void 0),Up([pr()],zp.prototype,"myChatService",void 0),Up([pr()],zp.prototype,"myWebRTCService",void 0),Up([pr()],zp.prototype,"currentChannel",void 0),Up([pr()],zp.prototype,"eventBus",void 0),Up([pr()],zp.prototype,"loadingService",void 0),Up([pr()],zp.prototype,"gaService",void 0),Up([vr()],zp.prototype,"chatFlowControlService",void 0),zp=Up([dr({components:{TypingIndicator:Rp,ChatFooter:Mp,VideoOutput:Op,ChatMsg:dp,ChatOptions:Cp,Notifier:jp}})],zp);const qp=td(zp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:[e.$style.root]},[n("notifier",{attrs:{config:e.config}}),e._v(" "),e.isVideoActive?n("video-output",{ref:"videoOutput",attrs:{id:"wplc_videoOutput","is-popout-window":e.isPopoutWindow}}):e._e(),e._v(" "),e.chatEnabled?n("div",{ref:"chatHistory",class:[e.$style["chat-container"]]},[e._l(e.myChatService.chatMessages,(function(t,i){return[t.viewType===e.ChatViewMessageType.Text||t.viewType===e.ChatViewMessageType.File?n("chat-msg",{key:t.index,attrs:{"user-tag":e.getUserTag(t.isLocal),"user-icon":e.getUserIcon(t.isLocal),config:e.config,message:t},on:{resend:function(t){return e.onResendMessage(i)}}}):e._e(),e._v(" "),t.viewType===e.ChatViewMessageType.Options?n("chat-options",{key:t.index,attrs:{options:t.question.options,"show-borders":t.question.showOptionsBorders,"show-selected-label":t.question.showSelectedLabel,"show-hovered-label":t.question.showHoveredLabel,"emojicon-url":e.emojiconUrl},on:{selected:function(n){return e.onOptionSelected(n,t.question)}}}):e._e()]})),e._v(" "),n("typing-indicator",{attrs:{"chat-online":e.chatOnline,"operator-name":e.currentOperator.name}})],2):n("div",{ref:"chatDisabledMessage",class:e.$style["chat-disabled-container"]},[n("div",[e._v("\n "+e._s(e.$t("Inputs.ChatIsDisabled"))+"\n ")])]),e._v(" "),n("chat-footer",{ref:"chatFooter",attrs:{config:e.config,"chat-online":e.chatOnline,"is-chat-active":e.isChatActive(),"chat-enabled":e.chatEnabled,"enable-typing":e.enableTyping()},on:{"input-focus-change":function(t){return e.onInputFocusChange(arguments[0])},"send-message":function(t){return e.sendMessage(arguments[0])}}})],1)}),[],!1,(function(e){var t=n(2114);t.__inject__&&t.__inject__(e),this.$style=t.locals||t;var i=n(2235);i.__inject__&&i.__inject__(e)}),null,null,!0).exports;var Vp;!function(e){e[e.try=1]="try",e[e.ok=2]="ok",e[e.restart=3]="restart"}(Vp||(Vp={}));var Gp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Wp=class extends(rr(sf)){mounted(){this.$nextTick((()=>{this.$refs.submitButton.focus()})),void 0!==this.$refs.submitButton&&this.$refs.submitButton instanceof HTMLElement&&(this.$refs.submitButton.style.color="#FFFFFF")}submit(){this.$emit("submit")}};Gp([wr()],Wp.prototype,"message",void 0),Gp([wr()],Wp.prototype,"button",void 0),Wp=Gp([dr({})],Wp);const $p=td(Wp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.$style.root},[n("div",{class:e.$style.content},[n("div",{class:e.$style["content-message"]},[e._v("\n "+e._s(e.message)+"\n ")]),e._v(" "),n("button",{ref:"submitButton",class:e.$style.submit,attrs:{type:"submit"},on:{click:e.submit}},[e._v("\n "+e._s(1===e.button?e.$t("MessageBox.TryAgain"):e.$t("MessageBox.Ok"))+"\n ")])]),e._v(" "),n("div",{class:e.$style.background,on:{click:e.submit}})])}),[],!1,(function(e){var t=n(7306);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;var Hp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Qp=class extends(rr(sf)){constructor(){if(super(),this.notificationMessage="",this.notificationButtonType=Vp.try,this.allowCall=!1,this.allowVideo=!1,this.selfClosed=!1,this.cid=-1,this.chatComponentKey=!0,this.myChatService=new Rc(this.config.channelUrl,this.config.wpUrl,this.config.filesUrl,this.config.party,this.currentChannel),this.myWebRTCService=new ed,this.myWebRTCService.setWebRtcCodecs(this.config.webRtcCodecs),this.chatOnline&&(this.currentChannel.isAuthorized()||this.enableAuthForm)){let e=this.currentChannel.getAuth();"Guest"===e.name&&""!==this.config.visitorName&&(e={email:e.email,name:this.config.visitorName}),this.myChatService.setAuthentication(e),this.loadingService.show(),this.myChatService.reconnect(),this.myWebRTCService.setChatService(this.myChatService)}}get currentState(){return this.chatOnline?So.Chat:So.Offline}onClose(){void 0!==this.myWebRTCService&&this.myWebRTCService.hasCall?this.myWebRTCService.dropCall().pipe(Ec(1)).subscribe((()=>{this.closeByClient()}),(e=>{this.closeByClient(),this.eventBus.onError.next(e)})):this.closeByClient()}closeByClient(){this.selfClosed=!0,this.eventBus.onClosed.next(new Ap({notifyServer:!0,closedByClient:!0,chatUniqueCode:this.cid}))}onErrorFormSubmit(){if(this.notificationMessage="",this.notificationButtonType===Vp.restart){this.endMessage=this.getPropertyValue("ChatEndMessage",[this.config.endingMessage,Nl.t("Inputs.EndingMessage").toString()]);const e=this.myChatService.auth&&void 0!==this.myChatService.auth.name?this.myChatService.auth.name:"";this.endMessage=this.endMessage.replace("%NAME%",e),this.eventBus.onClosed.next(new Ap({notifyServer:!1,closedByClient:!1,chatUniqueCode:this.cid}))}}remountChatComponent(){this.chatComponentKey=!this.chatComponentKey}beforeMount(){this.eventBus.onLoaded.subscribe((e=>{this.remountChatComponent(),e&&(this.myChatService.reconnect(),this.setupChatServiceSubscriptions())})),this.setupChatServiceSubscriptions(),this.$subscribeTo(this.eventBus.onClosed,(e=>{this.currentChannel.dropSession(this.config.wpUrl,this.config.channelUrl,e.notifyServer).subscribe((()=>{this.loadingService.hide(),this.eventBus.onAttendChat.next(),this.myChatService.closeSession(),this.gaService.dispatchEvent("chat_complete","ChatCompleted")}),(e=>{this.loadingService.hide(),this.eventBus.onError.next(e)}))})),this.$subscribeTo(this.eventBus.onError,(e=>{this.notificationMessage=Bl(e),this.notificationButtonType=Vp.ok,Df(this.notificationMessage),this.loadingService.hide()})),this.myChatService.notificationsOfType$(lu).subscribe((e=>{e.sessionUniqueCode!==this.cid&&(this.cid=e.sessionUniqueCode)}))}setupChatServiceSubscriptions(){this.myChatService.notificationsFilter$("ReConnect").subscribe((()=>{this.loadingService.show(),this.myChatService.reconnect()}));const e=this.myChatService.mySession$.pipe(If((e=>{var t;e.sessionState===Co.Error&&(this.notificationMessage=null!==(t=e.error)&&void 0!==t?t:"",this.notificationButtonType=Vp.restart,Df(this.notificationMessage),this.loadingService.hide())})));this.config.isQueue&&!this.config.ignoreQueueownership?(this.allowCall=!1,this.allowVideo=!1,this.$subscribeTo(e.pipe(tc((e=>(this.config.isQueue&&(this.allowCall=!1,this.allowVideo=!1),e.messages$))),kl(ca)),(()=>{this.allowCall=this.config.allowCall,this.allowVideo=this.config.allowVideo,this.eventBus.onCallChannelEnable.next({allowCall:this.allowCall,allowVideo:this.allowVideo})}))):(this.$subscribeTo(e,(e=>{})),this.allowCall=this.config.allowCall,this.allowVideo=this.config.allowVideo)}};Hp([wr()],Qp.prototype,"chatEnabled",void 0),Hp([wr()],Qp.prototype,"chatOnline",void 0),Hp([wr()],Qp.prototype,"startMinimized",void 0),Hp([pr()],Qp.prototype,"fullscreenService",void 0),Hp([wr({default:()=>[]})],Qp.prototype,"departments",void 0),Hp([wr({default:()=>[]})],Qp.prototype,"customFields",void 0),Hp([wr()],Qp.prototype,"config",void 0),Hp([wr()],Qp.prototype,"operator",void 0),Hp([wr()],Qp.prototype,"enableAuthForm",void 0),Hp([vr()],Qp.prototype,"myChatService",void 0),Hp([vr()],Qp.prototype,"myWebRTCService",void 0),Hp([pr()],Qp.prototype,"eventBus",void 0),Hp([pr()],Qp.prototype,"currentChannel",void 0),Hp([pr()],Qp.prototype,"loadingService",void 0),Hp([pr()],Qp.prototype,"gaService",void 0),Qp=Hp([dr({components:{CallUsHeader:Rh,CallUsChat:qp,Panel:Sh,OverlayMessage:$p}})],Qp);const Yp=td(Qp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("panel",{ref:"panelComponent",attrs:{auth:e.myChatService.auth,"allow-minimize":e.config.allowMinimize,"start-minimized":e.startMinimized,config:e.config,operator:e.operator,"panel-state":e.currentState,"allow-fullscreen":!0},on:{close:function(t){return e.onClose()}}},[e.notificationMessage?n("overlay-message",{ref:"overlayMessageComponent",attrs:{slot:"overlay",message:e.notificationMessage,button:e.notificationButtonType},on:{submit:function(t){return e.onErrorFormSubmit()}},slot:"overlay"}):e._e(),e._v(" "),n("call-us-header",{attrs:{slot:"panel-top","current-state":e.currentState,config:e.config,"allow-video":e.allowVideo,"allow-call":e.allowCall,operator:e.operator,"is-full-screen":e.fullscreenService.isFullScreen,"chat-online":e.chatOnline},on:{close:function(t){return e.onClose()}},slot:"panel-top"}),e._v(" "),e.currentState===e.ViewState.Chat||e.currentState===e.ViewState.Offline?n("call-us-chat",{key:e.chatComponentKey,ref:"chatComponent",class:e.$style.chat,attrs:{slot:"panel-content",departments:e.departments,"custom-fields":e.customFields,"chat-online":e.chatOnline,"chat-enabled":e.chatEnabled,config:e.config,operator:e.operator},slot:"panel-content"}):e._e()],1)}),[],!1,(function(e){var t=n(8792);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;class Xp{constructor(e){this.enableFullScreen=!1,this.isFullScreen=!1,Object.assign(this,e)}goFullScreen(){if(!this.enableFullScreen||this.isFullScreen)return;this.isFullScreen=!0;const e=window.document.getElementsByTagName("body");e.length>0&&e[0].style.setProperty("overflow","hidden !important");const t=.01*window.innerHeight,n=.01*document.documentElement.clientWidth;window.document.documentElement.style.setProperty("--vh",t+"px"),window.document.documentElement.style.setProperty("--vw",n+"px"),window.addEventListener("resize",(()=>{const e=.01*window.innerHeight,t=.01*document.documentElement.clientWidth;window.document.documentElement.style.setProperty("--vh",e+"px"),window.document.documentElement.style.setProperty("--vw",t+"px")})),this.callUsElement&&(this.componentTop=this.callUsElement.style.getPropertyValue("top"),this.componentBottom=this.callUsElement.style.getPropertyValue("bottom"),this.componentLeft=this.callUsElement.style.getPropertyValue("left"),this.componentRight=this.callUsElement.style.getPropertyValue("right"),this.callUsElement.style.removeProperty("right"),this.callUsElement.style.removeProperty("bottom"),this.callUsElement.style.setProperty("top","0px"),this.callUsElement.style.setProperty("left","0px"))}closeFullScreen(){var e,t,n,i;if(!this.enableFullScreen||!this.isFullScreen)return;this.isFullScreen=!1;const s=window.document.getElementsByTagName("body");s.length>0&&s[0].style.setProperty("overflow","auto !important"),this.callUsElement&&(this.callUsElement.style.setProperty("top",null!==(e=this.componentTop)&&void 0!==e?e:""),this.callUsElement.style.setProperty("bottom",null!==(t=this.componentBottom)&&void 0!==t?t:""),this.callUsElement.style.setProperty("left",null!==(n=this.componentLeft)&&void 0!==n?n:""),this.callUsElement.style.setProperty("right",null!==(i=this.componentRight)&&void 0!==i?i:""))}getSavedPosition(){return{componentTop:this.componentTop,componentBottom:this.componentBottom,componentLeft:this.componentLeft,componentRight:this.componentRight}}}var Kp=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let Zp=class extends(rr(sf)){constructor(){super(),this.isWebRtcAllowed=Ul,this.myChatService=new Rc(this.config.channelUrl,this.config.wpUrl,this.config.filesUrl,this.config.party,this.currentChannel),this.myWebRTCService=new ed,this.myWebRTCService.setChatService(this.myChatService),this.myWebRTCService.setWebRtcCodecs(this.config.webRtcCodecs),this.myChatService.setAuthentication({})}get callStateTitle(){return this.myWebRTCService.hasCall?this.myWebRTCService.hasCall&&this.myWebRTCService.hasEstablishedCall?Nl.t("Inputs.Connected").toString():Nl.t("Inputs.Dialing").toString():""}beforeMount(){this.myWebRTCService&&(this.myWebRTCService.initCallChannel(!0,!1),this.myWebRTCService.phoneService.myCalls$.pipe($r((e=>e.length>0?e[0].media:wu)),tc((e=>Wl(e!==wu))),ch()).subscribe((e=>{e||this.currentChannel.dropSession(this.config.wpUrl,this.config.channelUrl,!0).subscribe((()=>{this.myChatService.closeSession()}),(e=>{this.eventBus.onError.next(e)}))})))}startChat(){this.myWebRTCService.hasCall||this.$emit("chat")}makeCall(){this.eventBus.onChatInitiated.next(!0),Ul&&this.myWebRTCService.call(!1).pipe(Ec(1)).subscribe((()=>{}),(e=>this.eventBus.onError.next(e)))}dropCall(){this.myWebRTCService.dropCall().pipe(Ec(1)).subscribe((()=>{}),(e=>this.eventBus.onError.next(e)))}};Kp([pr()],Zp.prototype,"fullscreenService",void 0),Kp([pr()],Zp.prototype,"eventBus",void 0),Kp([pr()],Zp.prototype,"loadingService",void 0),Kp([pr()],Zp.prototype,"currentChannel",void 0),Kp([vr()],Zp.prototype,"myChatService",void 0),Kp([vr()],Zp.prototype,"myWebRTCService",void 0),Kp([wr()],Zp.prototype,"config",void 0),Kp([wr({default:()=>kc})],Zp.prototype,"operator",void 0),Kp([wr()],Zp.prototype,"startMinimized",void 0),Zp=Kp([dr({components:{Panel:Sh,CallUsHeader:Rh,WplcIcon:Pd(),GlyphiconCall:od()}})],Zp);const Jp=td(Zp,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("panel",{attrs:{config:e.config,"start-minimized":e.startMinimized,"allow-minimize":e.config.allowMinimize,"panel-state":e.ViewState.Intro,"full-screen-service":e.fullscreenService,operator:e.operator}},[n("call-us-header",{attrs:{slot:"panel-top","current-state":e.ViewState.Intro,config:e.config,"is-full-screen":!1},slot:"panel-top"}),e._v(" "),n("div",{class:e.$style.root,attrs:{slot:"panel-content"},slot:"panel-content"},[e.myWebRTCService.audioNotificationUrl?n("audio",{attrs:{src:e.myWebRTCService.audioNotificationUrl,autoplay:"",loop:""}}):e._e(),e._v(" "),e.myWebRTCService.remoteStream?n("audio",{directives:[{name:"srcObject",rawName:"v-srcObject",value:e.myWebRTCService.remoteStream,expression:"myWebRTCService.remoteStream"}],attrs:{autoplay:""}}):e._e(),e._v(" "),n("div",{ref:"startChatOption",class:[e.$style.action_option,e.myWebRTCService.hasCall?e.$style.disabled:""],on:{click:e.startChat}},[n("WplcIcon",{class:e.$style["option-icon"]}),e._v(" "+e._s(e.$t("Inputs.ChatWithUs"))+"\n ")],1),e._v(" "),e.myWebRTCService.hasCall?n("div",{ref:"dropCallOption",class:e.$style.action_option,on:{click:e.dropCall}},[n("glyphicon-call",{class:[e.$style["option-icon"],e.$style["end-call-icon"]]}),e._v("\n "+e._s(e.callStateTitle)+"\n ")],1):n("div",{ref:"makeCallOption",class:[e.$style.action_option,e.isWebRtcAllowed?"":e.$style.disabled],on:{click:e.makeCall}},[n("glyphicon-call",{class:e.$style["option-icon"]}),e._v(" "+e._s(e.$t("Inputs.CallTitle"))+"\n ")],1)])],1)}),[],!1,(function(e){var t=n(3301);t.__inject__&&t.__inject__(e),this.$style=t.locals||t}),null,null,!0).exports;class em{constructor(e){this.enableGA=!1,this.mode="gtag",this.enableGA=e}isActive(){let e=!1;return this.enableGA&&("function"==typeof window.gtag&&(e=!0),"function"==typeof window.ga&&(this.mode="ga",e=!0)),e}dispatchEvent(e,t,n="3CX Live Chat"){this.isActive()&&("gtag"===this.mode?window.gtag("event",e,{event_label:t,event_category:n}):"ga"===this.mode&&window.ga("send",{hitType:"event",eventAction:e,eventLabel:t,eventCategory:n}))}chatInitiatedEvent(e){const t=localStorage.getItem("wplc-ga-initiated");(!t||void 0===e||t&&e&&parseInt(t,10)!==e.getSessionUniqueCode())&&(this.dispatchEvent("chat_init","ChatInitiated"),void 0!==e&&localStorage.setItem("wplc-ga-initiated",e.getSessionUniqueCode().toString(10)))}chatInteractionEvent(){sessionStorage.getItem("wplc-ga-interacted")||(this.dispatchEvent("chat_interaction","InteractionWithChat"),sessionStorage.setItem("wplc-ga-interacted","1"))}}var tm=function(e,t,n,i){var s,r=arguments.length,o=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(r<3?s(o):r>3?s(t,n,o):s(t,n))||o);return r>3&&o&&Object.defineProperty(t,n,o),o};let nm=class extends vf{constructor(){super(),this.viewState=So.None,this.auth={},this.departments=[],this.customFields=[],this.authenticationType=uf.None,this.authWindowMinimized=!1,this.mainWindowMinimized=!1,this.chatEnabled=!1,this.chatOnline=!0,this.popoutMode=!1,this.isQueue=!1,this.webRtcCodecs=[],this.isDesktop=!1,this.isHidden=!1,this.operator=new Nc,this.delayEllapsed=!1,this.keyEventsHandled=!1,this.enableAuthForm=!0,this.fullscreenService=new Xp,this.gaService=new em("true"===this.enableGa),this.gaService.isActive(),yu(this)}get chatWindow(){return window}get chatForm(){let e="NONE";return(this.enableAuthForm||"phone"!==this.channel)&&this.viewState!==So.PopoutButton||this.isPopout?this.viewState===So.Chat||this.viewState===So.Offline||!this.enableAuthForm&&this.viewState===So.Authenticate?e="CHAT":this.enableAuthForm&&this.viewState===So.Authenticate&&(e="AUTH"):e="POPOUT",this.viewState===So.Intro?e="INTRO":this.viewState===So.Disabled&&(e="DISABLED"),e}beforeMount(){if(this.preloadOperations$.subscribe((e=>{if(e){const e=localStorage.getItem("chatInfoGuid");null!==e&&this.assetsGuid!==e&&localStorage.removeItem("chatInfo"),localStorage.setItem("chatInfoGuid",this.assetsGuid)}})),this.delayChat(),"phone"===this.channel&&window.addEventListener("beforeunload",(()=>{this.currentChannel.isAuthorized()&&this.currentChannel.dropSession(this.config.wpUrl,this.config.channelUrl,!1),this.eventBus.onRestart.next()})),this.loadingService.show(),this.isDesktop=$c.isDesktop(),this.fullscreenService.enableFullScreen=!this.isDesktop||this.isPopout,this.popoutMode="phone"===this.channel&&!this.isPopout&&!0===this.config.allowMinimize,this.isHidden=!this.isDesktop&&"false"===this.enableOnmobile&&"false"===this.forceToOpen||"false"===this.enable,this.isHidden)return;"name"===this.authentication?this.authenticationType=uf.Name:"email"===this.authentication?this.authenticationType=uf.Email:"both"===this.authentication&&(this.authenticationType=uf.Both);const e="false"===this.minimized?"none":"true"===this.minimized?"both":this.minimized;if("true"===this.forceToOpen?this.authWindowMinimized=!1:this.authWindowMinimized="both"===e||this.isDesktop&&"desktop"===e||!this.isDesktop&&"mobile"===e,this.eventBus.onRestart.subscribe((()=>{this.authWindowMinimized=!1,this.loadingService.show(),yu(this),this.loadChannelInfo(!1)})),this.$subscribeTo(this.eventBus.onRestored,(()=>{"phone"===this.channel&&this.viewState===So.Authenticate&&this.config.enableDirectCall&&(this.viewState=So.Intro)})),this.loadChannelInfo(!1),this.authenticationString)try{this.auth=JSON.parse(this.authenticationString),this.currentChannel.setAuthentication(this.auth)}catch(e){}}mounted(){$c.isDesktop()||setTimeout((()=>{$c.setCssProperty(this,"--call-us-font-size","17px")}))}updated(){this.stopKeyEventPropagation(),this.fullscreenService.callUsElement||(this.fullscreenService.callUsElement=this.$el.getRootNode().host)}stopKeyEventPropagation(){if(!this.keyEventsHandled){const e=this.$el.getRootNode();e&&(e.addEventListener("keydown",(e=>{this.keyEventHandler(e)})),e.addEventListener("keyup",(e=>{this.keyEventHandler(e)})),e.addEventListener("keypress",(e=>{this.keyEventHandler(e)})),this.keyEventsHandled=!0)}}keyEventHandler(e){return e.stopPropagation(),!0}getMinimizedState(e){let t=!0;return"true"===this.forceToOpen?t=!1:this.authWindowMinimized||("true"===this.popupWhenOnline?e&&(t=!1):t=!1),t}loadChannelInfo(e){const t=Wf();t&&(e=!0,this.auth={name:t.name,email:t.email}),this.$subscribeTo(this.info$,(t=>{var n;if(this.loadingService.hide(),this.isQueue=t.isQueue,this.webRtcCodecs=t.webRtcCodecs,this.chatEnabled=void 0===t.isChatEnabled||t.isChatEnabled,this.departments=null!==(n=t.departments)&&void 0!==n?n:[],this.customFields=t.customFields,void 0!==t.dictionary?ef.init(t.dictionary):ef.init({}),this.authWindowMinimized=this.getMinimizedState(t.isAvailable),this.mainWindowMinimized=this.authWindowMinimized,this.config.showOperatorActualName?(this.operator=t.operator,""===this.operator.name&&(this.operator.name=this.config.operatorName),""===this.operator.image&&(this.operator.image=this.config.operatorIcon)):this.operator=new Nc({name:this.config.operatorName,image:this.config.operatorIcon}),t.isChatEnabled)if(t.isAvailable)if(this.currentChannel.isAuthorized()&&this.popoutMode)this.viewState=So.PopoutButton,this.chatOnline=!0;else if(this.currentChannel.isAuthorized()){this.viewState=So.Chat,this.chatOnline=!0;const e=sessionStorage.getItem("callus.collapsed");this.mainWindowMinimized=!!e&&"1"===e}else"phone"===this.channel&&!this.isPopout&&this.config.enableDirectCall?(this.viewState=So.Intro,this.chatOnline=!0):(this.viewState=So.Authenticate,this.chatOnline=!0);else this.viewState=So.Offline,this.chatOnline=!1,this.isHidden="false"===this.offlineEnabled;else this.viewState=So.Authenticate,this.chatOnline=!1;!this.mainWindowMinimized&&this.fullscreenService.enableFullScreen&&this.fullscreenService.goFullScreen(),this.eventBus.onLoaded.next(e)}),(e=>{console.error(e),this.viewState=So.Disabled}))}popoutChat(){var e,t;const n={},i=ef.getTextHelper();n.inviteMessage=$c.escapeHtml(i.getPropertyValue("ChatWelcomeMessage",[this.config.inviteMessage,Nl.t("Inputs.InviteMessage").toString()])),n.endingMessage=$c.escapeHtml(i.getPropertyValue("ChatEndMessage",[this.config.endingMessage,Nl.t("Inputs.EndingMessage").toString()])),n.unavailableMessage=$c.escapeHtml(zc(this.unavailableMessage,250)),(i.getPropertyValue("FirstResponse",[])||this.firstResponseMessage)&&(n.firstResponseMessage=$c.escapeHtml(i.getPropertyValue("FirstResponse",[this.config.firstResponseMessage]))),"true"!==this.allowCall&&(n.allowCall=this.allowCall),"true"!==this.allowVideo&&(n.allowVideo=this.allowVideo),"true"===this.enableMute&&(n.enableMute=this.enableMute),"true"===this.gdprEnabled&&(n.gdprEnabled=this.gdprEnabled),this.gdprMessage&&(n.gdprMessage=this.gdprMessage),"true"===this.showOperatorActualName&&(n.showOperatorActualName=this.showOperatorActualName),"true"===this.ratingEnabled&&(n.ratingEnabled=this.ratingEnabled),"false"===this.enablePoweredby&&(n.enablePoweredby=this.enablePoweredby),"true"===this.ignoreQueueownership&&(n.ignoreQueueownership=this.ignoreQueueownership),"false"===this.allowSoundnotifications&&(n.allowSoundnotifications=this.allowSoundnotifications),this.userIcon&&(n.userIcon=this.userIcon),n.forceToOpen="true",n.soundnotificationUrl=Uc(this.soundnotificationUrl,"")||void 0,n.emailIntegrationUrl=qc(this.emailIntegrationUrl,"")||void 0,n.twitterIntegrationUrl=Gc(this.twitterIntegrationUrl,"")||void 0,n.facebookIntegrationUrl=Vc(this.facebookIntegrationUrl,"")||void 0,n.isPopout=!0,n.allowMinimize="false",n.minimized="false",n.party=this.party,n.operatorIcon=Uc(this.operatorIcon,"")||void 0,n.windowIcon=Uc(this.windowIcon,"")||void 0,n.operatorName=zc(this.operatorName),n.windowTitle=zc(null!==(e=this.windowTitle)&&void 0!==e?e:Nl.t("Inputs.WindowTitle")),n.visitorName=zc(this.visitorName)||void 0,n.visitorEmail=qc(this.visitorEmail,"")||void 0,n.authenticationMessage=$c.escapeHtml(zc(this.authenticationMessage,250)),n.authentication=this.authentication,n.messageDateformat=this.messageDateformat,n.messageUserinfoFormat=this.messageUserinfoFormat,n.callTitle=zc(null!==(t=this.callTitle)&&void 0!==t?t:Nl.t("Inputs.CallTitle")),n.popout="false",n.startChatButtonText=zc(this.startChatButtonText),n.authenticationString=this.enableAuthForm?JSON.stringify(this.auth):"",n.offlineEmailMessage=$c.escapeHtml(zc(this.offlineEmailMessage)),n.offlineNameMessage=$c.escapeHtml(zc(this.offlineNameMessage)),n.offlineFormInvalidEmail=$c.escapeHtml(zc(this.offlineFormInvalidEmail)),n.offlineFormMaximumCharactersReached=$c.escapeHtml(zc(this.offlineFormMaximumCharactersReached)),n.offlineFormInvalidName=$c.escapeHtml(zc(this.offlineFormInvalidName)),n.lang=this.lang;const s=getComputedStyle(this.$el);let r;n.cssVariables=JSON.stringify(["--call-us-form-header-background","--call-us-header-text-color","--call-us-main-button-background","--call-us-client-text-color","--call-us-agent-text-color","--call-us-font-size"].reduce(((e,t)=>{const n=s.getPropertyValue(t);return n&&(e[t]=n),e}),{})),r=`${Dl(this.config.channelUrl).toString()}livechat#${encodeURIComponent(JSON.stringify(n))}`;const o=$c.popupCenter(r,600,500);o&&o.focus(),this.gaService.chatInitiatedEvent(void 0),this.eventBus.onChatInitiated.next(!0)}authenticateFormSubmit(e){this.auth=e,this.currentChannel.setAuthentication(e),this.eventBus.onChatInitiated.next(!0),this.popoutMode&&"phone"===this.channel?(this.popoutChat(),this.viewState=So.PopoutButton):(this.fullscreenService.goFullScreen(),this.viewState=So.Chat,this.mainWindowMinimized=!1)}onStartChat(){this.authenticationType!==uf.None||this.config.departmentsEnabled||this.config.gdprEnabled||this.customFields&&this.customFields.length>0?this.enableAuthForm?this.viewState=So.Authenticate:this.popoutMode&&!this.currentChannel.isAuthorized()?this.popoutChat():this.viewState=So.Chat:this.popoutMode?this.popoutChat():this.viewState=So.Chat,this.authWindowMinimized=!1,this.mainWindowMinimized=!1}delayChat(){setTimeout((()=>{this.delayEllapsed=!0}),this.chatDelay)}get config(){var e,t,n,i,s,r,o,a,l,c,f,u,d;const h=Ul&&"true"===this.allowCall,p="true"===this.allowVideo;let m,g;this.phonesystemUrl?(m=this.phonesystemUrl,g=this.phonesystemUrl):(m=this.channelUrl,g=this.filesUrl);const b="bubbleleft"===this.minimizedStyle.toLowerCase()?df.BubbleLeft:df.BubbleRight;let v,y,A;switch(this.animationStyle.toLowerCase()){case"slideleft":v=hf.SlideLeft;break;case"slideright":v=hf.SlideRight;break;case"fadein":v=hf.FadeIn;break;case"slideup":v=hf.SlideUp;break;default:v=hf.None}switch(this.greetingVisibility.toLowerCase()){case"desktop":y=mf.Desktop;break;case"mobile":y=mf.Mobile;break;case"both":y=mf.Both;break;default:y=mf.None}switch(this.greetingOfflineVisibility.toLowerCase()){case"desktop":A=mf.Desktop;break;case"mobile":A=mf.Mobile;break;case"both":A=mf.Both;break;default:A=mf.None}const w=zc(this.operatorName);return{isQueue:this.isQueue,webRtcCodecs:this.webRtcCodecs,enablePoweredby:"true"===this.enablePoweredby,animationStyle:v,minimizedStyle:b,isPopout:this.isPopout,windowTitle:zc(null!==(e=this.windowTitle)&&void 0!==e?e:Nl.t("Inputs.WindowTitle")),allowSoundNotifications:"true"===this.allowSoundnotifications,enableMute:"true"===this.enableMute,facebookIntegrationUrl:Vc(this.facebookIntegrationUrl,""),twitterIntegrationUrl:Gc(this.twitterIntegrationUrl,""),emailIntegrationUrl:qc(this.emailIntegrationUrl,""),operatorName:""===w?Nl.t("Inputs.OperatorName").toString():w,operatorIcon:Uc(this.operatorIcon,""),userIcon:Uc(this.operatorIcon,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAAAAADmVT4XAAAHf0lEQVR42u2cu47rMA6G5/3fSQABkj/AxpUrdypduEjlRtK/hZ255eY4zjm72ENMMUDG1hfeRJHCfETgKfFVZBVbBbsk4uPJ9T8B7JdgJ8HH8s6vF2+V30DPP7+85ANwN98vL4CY+wJgZpcqvSW/TXAGsCfF3cz8rIEdAL+NuQdg1QD+tOp/vOQM8PSLfmvk6bW/APyF17wiXz7wD+AfwD+A/02AH2nwKyvaHwNQVTV3BJbd5Pm0fIQGzsXErn3hdQB3M1NVVd3zhgOccKnq9u6KrwP8+PrP74wvAogsK5uqiojonwZwRNcPOec89H0XWBWBtwGEKcJVYYAkDHmcK1uttTZyHnPfqYgDGqEC6OEAgKkBCEnaDVMplYu0RpKFp9xpEg1XczW8AcDN4Zq0yzPJxjNArevv89h7UnVgkyme9QHzCJPU5VMjWZZ1W62NtZSyaGTOfRJHbIrKZzVggAr6U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teMessage:zc(null!==(t=this.inviteMessage)&&void 0!==t?t:Nl.t("Inputs.InviteMessage"),250),endingMessage:zc(null!==(n=this.endingMessage)&&void 0!==n?n:Nl.t("Inputs.EndingMessage"),250),unavailableMessage:zc(null!==(i=this.unavailableMessage)&&void 0!==i?i:Nl.t("Inputs.UnavailableMessage"),250),firstResponseMessage:zc(this.firstResponseMessage,250),party:this.party,channelUrl:m,wpUrl:this.wpUrl,filesUrl:g,windowIcon:Uc(this.windowIcon,""),buttonIcon:Uc(this.buttonIcon,""),buttonIconType:""===this.buttonIconType?"Default":this.buttonIconType,enableOnmobile:"false"===this.enableOnmobile,enable:"true"===this.enable,ignoreQueueownership:"true"===this.ignoreQueueownership,showOperatorActualName:"true"===this.showOperatorActualName,authenticationType:this.authenticationType,channelType:this.channelType,aknowledgeReceived:"true"===this.aknowledgeReceived,gdprEnabled:"true"===this.gdprEnabled,filesEnabled:"true"===this.filesEnabled,gdprMessage:this.gdprMessage,ratingEnabled:"true"===this.ratingEnabled,departmentsEnabled:"true"===this.departmentsEnabled,chatIcon:this.chatIcon,chatLogo:this.chatLogo,messageDateformat:this.messageDateformat,messageUserinfoFormat:this.messageUserinfoFormat,soundnotificationUrl:this.soundnotificationUrl,visitorEmail:this.visitorEmail,visitorName:this.visitorName,authenticationMessage:zc(this.authenticationMessage,250),startChatButtonText:null!==(s=this.startChatButtonText)&&void 0!==s?s:Nl.t("Auth.Submit"),offlineNameMessage:null!==(r=this.offlineNameMessage)&&void 0!==r?r:Nl.t("Offline.OfflineNameMessage"),offlineEmailMessage:null!==(o=this.offlineEmailMessage)&&void 0!==o?o:Nl.t("Offline.OfflineEmailMessage"),offlineFinishMessage:null!==(a=this.offlineFinishMessage)&&void 0!==a?a:Nl.t("Inputs.OfflineMessageSent"),greetingVisibility:y,greetingMessage:null!==(l=this.greetingMessage)&&void 0!==l?l:Nl.t("Inputs.GreetingMessage"),greetingOfflineVisibility:A,greetingOfflineMessage:null!==(c=this.greetingOfflineMessage)&&void 0!==c?c:Nl.t("Inputs.GreetingMessage"),offlineFormInvalidEmail:null!==(f=this.offlineFormInvalidEmail)&&void 0!==f?f:Nl.t("Offline.OfflineFormInvalidEmail"),offlineFormMaximumCharactersReached:null!==(u=this.offlineFormMaximumCharactersReached)&&void 0!==u?u:Nl.t("Auth.MaxCharactersReached"),offlineFormInvalidName:null!==(d=this.offlineFormInvalidName)&&void 0!==d?d:Nl.t("Offline.OfflineFormInvalidName"),enableDirectCall:"true"===this.enableDirectCall}}};tm([vr()],nm.prototype,"fullscreenService",void 0),tm([vr()],nm.prototype,"gaService",void 0),nm=tm([dr({components:{CallUsMainForm:Yp,CallUsAuthenticateForm:Ph,CallUsIntroForm:Jp,MinimizedBubble:wh}})],nm);const im=td(nm,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.delayEllapsed&&!e.isHidden?n("div",{attrs:{id:"callus-container"}},["INTRO"===e.chatForm?n("call-us-intro-form",{attrs:{"start-minimized":e.authWindowMinimized,config:e.config,operator:e.operator},on:{chat:e.onStartChat}}):"AUTH"===e.chatForm?n("call-us-authenticate-form",{attrs:{"start-minimized":e.authWindowMinimized,config:e.config,"auth-type":e.authenticationType,departments:e.departments,"custom-fields":e.customFields,"chat-enabled":e.chatEnabled,operator:e.operator},on:{submit:e.authenticateFormSubmit}}):"CHAT"===e.chatForm?n("call-us-main-form",{attrs:{"chat-enabled":e.chatEnabled,"chat-online":e.chatOnline,departments:e.departments,"custom-fields":e.customFields,"start-minimized":e.mainWindowMinimized,operator:e.operator,config:e.config,"enable-auth-form":e.enableAuthForm}}):"POPOUT"===e.chatForm||"DISABLED"===e.chatForm?n("minimized-bubble",{attrs:{collapsed:!0,config:e.config,operator:e.operator,"panel-state":e.viewState,disabled:"DISABLED"===e.chatForm},on:{clicked:e.popoutChat}}):e._e()],1):e._e()}),[],!1,(function(e){var t=n(8482);t.__inject__&&t.__inject__(e)}),null,null,!0).exports;Xs.use(_o),window.customElements.define("call-us",h(Xs,im)),window.customElements.define("call-us-phone",h(Xs,eh))},4747:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(7928),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},8915:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(2927),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},2324:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(7297),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},6043:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(5731),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},7367:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(8037),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},7601:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(5443),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},7722:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(8185),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},2003:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(3510),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},9036:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(7612),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},8583:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(229),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},2114:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(6009),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},265:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(7841),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},17:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(101),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},4753:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(6126),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},8391:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(4101),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},3301:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(8464),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},978:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(408),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},8792:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(5499),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},7498:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(9083),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},4806:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(1970),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},9831:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(4162),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},7306:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(3114),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},6711:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(9717),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},1368:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(5186),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},3530:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(4115),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},231:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s.a});var i=n(278),s=n.n(i),r={};for(const e in i)"default"!==e&&(r[e]=()=>i[e]);n.d(t,r)},2235:(e,t,n)=>{"use strict";n.r(t);var i=n(3e3),s={};for(const e in i)"default"!==e&&(s[e]=()=>i[e]);n.d(t,s)},8482:(e,t,n)=>{"use strict";n.r(t);var i=n(2813),s={};for(const e in i)"default"!==e&&(s[e]=()=>i[e]);n.d(t,s)},2927:(e,t,n)=>{var i=n(512);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("71123166",i,e)}},7297:(e,t,n)=>{var i=n(9214);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("1c24d821",i,e)}},5731:(e,t,n)=>{var i=n(7261);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("6a101c5d",i,e)}},8037:(e,t,n)=>{var i=n(3730);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("237788f6",i,e)}},5443:(e,t,n)=>{var i=n(8336);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("d06758d8",i,e)}},8185:(e,t,n)=>{var i=n(4957);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("091eb5b2",i,e)}},3510:(e,t,n)=>{var i=n(342);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("5eb7a238",i,e)}},7612:(e,t,n)=>{var i=n(1112);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("43aaf5ec",i,e)}},229:(e,t,n)=>{var i=n(9561);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("826a2f2c",i,e)}},6009:(e,t,n)=>{var i=n(3839);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("bb0ee260",i,e)}},7841:(e,t,n)=>{var i=n(9924);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("0dcab23b",i,e)}},101:(e,t,n)=>{var i=n(9292);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("3edd8b1f",i,e)}},6126:(e,t,n)=>{var i=n(5113);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("71f71523",i,e)}},4101:(e,t,n)=>{var i=n(5056);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("159a8851",i,e)}},8464:(e,t,n)=>{var i=n(4687);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("f796abc6",i,e)}},408:(e,t,n)=>{var i=n(2493);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("759cd6a6",i,e)}},5499:(e,t,n)=>{var i=n(857);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("5c397a6c",i,e)}},9083:(e,t,n)=>{var i=n(2424);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("3c6eae0b",i,e)}},1970:(e,t,n)=>{var i=n(7249);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("3b78551e",i,e)}},4162:(e,t,n)=>{var i=n(1484);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("5562b65e",i,e)}},3114:(e,t,n)=>{var i=n(8830);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("a1325450",i,e)}},9717:(e,t,n)=>{var i=n(7629);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("111dc6c4",i,e)}},5186:(e,t,n)=>{var i=n(8690);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("0bfefef9",i,e)}},4115:(e,t,n)=>{var i=n(1240);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("5ecdad51",i,e)}},278:(e,t,n)=>{var i=n(1149);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("2a40662a",i,e)}},7928:(e,t,n)=>{var i=n(9926);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("03b2e6d2",i,e)}},2813:(e,t,n)=>{var i=n(7027);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("7bc72a94",i,e)}},3e3:(e,t,n)=>{var i=n(2953);"string"==typeof i&&(i=[[e.id,i,""]]),i.locals&&(e.exports=i.locals);var s=n(7708).Z;e.exports.__inject__=function(e){s("0d4594a2",i,e)}},7708:(e,t,n)=>{"use strict";function i(e,t,n){!function(e,t){const n=t._injectedStyles||(t._injectedStyles={});for(var i=0;i<e.length;i++){var r=e[i];if(!n[r.id]){for(var o=0;o<r.parts.length;o++)s(r.parts[o],t);n[r.id]=!0}}}(function(e,t){for(var n=[],i={},s=0;s<t.length;s++){var r=t[s],o=r[0],a={id:e+":"+s,css:r[1],media:r[2],sourceMap:r[3]};i[o]?i[o].parts.push(a):n.push(i[o]={id:o,parts:[a]})}return n}(e,t),n)}function s(e,t){var n=function(e){var t=document.createElement("style");return t.type="text/css",e.appendChild(t),t}(t),i=e.css,s=e.media,r=e.sourceMap;if(s&&n.setAttribute("media",s),r&&(i+="\n/*# sourceURL="+r.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),n.styleSheet)n.styleSheet.cssText=i;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(i))}}n.d(t,{Z:()=>i})},9028:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 39"},f),...u},r.concat([n("path",{attrs:{d:"M33.25 4.27H1.89V30a2.72 2.72 0 002.72 2.72h29.78A2.72 2.72 0 0037.11 30V4.27zm0 2.27v.08L20 20.78 5.85 6.62a.07.07 0 010-.06zm1.14 23.92H4.61a.45.45 0 01-.45-.46V8.14l.08.09L18.5 22.49a2.13 2.13 0 001.51.62 2.14 2.14 0 001.53-.67l13.3-14.16V30a.45.45 0 01-.45.46z"}})]))}}},2371:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 37"},f),...u},r.concat([n("path",{attrs:{d:"M14.69 18.65v17.89a.47.47 0 00.47.46h6.64a.47.47 0 00.47-.46V18.35h4.81a.46.46 0 00.47-.42l.45-5.48a.47.47 0 00-.46-.51h-5.27V8.06a1.65 1.65 0 011.65-1.65h3.71a.47.47 0 00.47-.47V.46a.47.47 0 00-.47-.46h-6.27a6.67 6.67 0 00-6.67 6.66v5.28h-3.32a.47.47 0 00-.47.47v5.48a.46.46 0 00.47.46h3.32z"}})]))}}},8840:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},f),...u},r.concat([n("path",{attrs:{d:"M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zm-22.6 22.7c2.1 2.1 3.5 4.6 4.2 7.4H256V32.5c2.8.7 5.3 2.1 7.4 4.2l83.9 83.9zM336 480H48c-8.8 0-16-7.2-16-16V48c0-8.8 7.2-16 16-16h176v104c0 13.3 10.7 24 24 24h104v304c0 8.8-7.2 16-16 16z"}})]))}}},5227:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},f),...u},r.concat([n("path",{attrs:{d:"M500.33 0h-47.41a12 12 0 00-12 12.57l4 82.76A247.42 247.42 0 00256 8C119.34 8 7.9 119.53 8 256.19 8.1 393.07 119.1 504 256 504a247.1 247.1 0 00166.18-63.91 12 12 0 00.48-17.43l-34-34a12 12 0 00-16.38-.55A176 176 0 11402.1 157.8l-101.53-4.87a12 12 0 00-12.57 12v47.41a12 12 0 0012 12h200.33a12 12 0 0012-12V12a12 12 0 00-12-12z"}})]))}}},7123:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},f),...u},r.concat([n("path",{attrs:{d:"M30.8 11.9v9c0 .6-.4 1-1 1h-1l-5-3.4v-4.1l5-3.4h1c.5-.1 1 .3 1 .9zm-11-4.6h-14c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-14c0-1.1-.9-1.9-2-2z"}})]))}}},8642:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},f),...u},r.concat([n("path",{attrs:{d:"M13.722 12.067a.5.5 0 01-.069.623l-.963.963a.5.5 0 01-.622.068l-4.172-2.657-1.703 1.702a.5.5 0 01-.847-.275L4.108 4.68a.5.5 0 01.572-.572l7.811 1.238a.5.5 0 01.275.848l-1.702 1.702zm5.588 1.586a.5.5 0 00.622.068l4.172-2.657 1.703 1.702a.5.5 0 00.847-.275l1.238-7.811a.5.5 0 00-.572-.572l-7.81 1.238a.5.5 0 00-.275.848l1.702 1.702-2.658 4.171a.5.5 0 00.069.623zm-6.62 4.694a.5.5 0 00-.623-.068l-4.17 2.657-1.704-1.702a.5.5 0 00-.847.275L4.108 27.32a.5.5 0 00.572.572l7.811-1.238a.5.5 0 00.275-.848l-1.702-1.702 2.658-4.171a.5.5 0 00-.069-.623zm13.117.887l-1.703 1.702-4.171-2.657a.5.5 0 00-.623.068l-.963.963a.5.5 0 00-.069.623l2.658 4.171-1.702 1.702a.5.5 0 00.275.848l7.811 1.238a.5.5 0 00.572-.572l-1.238-7.811a.5.5 0 00-.847-.275z"}})]))}}},1466:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},f),...u},r.concat([n("path",{attrs:{d:"M441.9 167.3l-19.8-19.8c-4.7-4.7-12.3-4.7-17 0L224 328.2 42.9 147.5c-4.7-4.7-12.3-4.7-17 0L6.1 167.3c-4.7 4.7-4.7 12.3 0 17l209.4 209.4c4.7 4.7 12.3 4.7 17 0l209.4-209.4c4.7-4.7 4.7-12.3 0-17z"}})]))}}},6561:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"},f),...u},r.concat([n("path",{attrs:{d:"M12.5 14c1.7 0 3-1.3 3-3V5c0-1.7-1.3-3-3-3s-3 1.3-3 3v6c0 1.7 1.3 3 3 3zm5.3-3c0 3-2.5 5.1-5.3 5.1S7.2 14 7.2 11H5.5c0 3.4 2.7 6.2 6 6.7V21h2v-3.3c3.3-.5 6-3.3 6-6.7h-1.7z"}})]))}}},5852:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"},f),...u},r.concat([n("path",{attrs:{d:"M19.5 11h-1.7c0 .7-.2 1.4-.4 2.1l1.2 1.2c.6-1 .9-2.1.9-3.3zm-4 .2V5c0-1.7-1.3-3-3-3s-3 1.3-3 3v.2l6 6zM4.8 3L3.5 4.3l6 6v.7c0 1.7 1.3 3 3 3 .2 0 .4 0 .6-.1l1.7 1.7c-.7.3-1.5.5-2.3.5-2.8 0-5.3-2.1-5.3-5.1H5.5c0 3.4 2.7 6.2 6 6.7V21h2v-3.3c.9-.1 1.8-.5 2.5-.9l4.2 4.2 1.3-1.3L4.8 3z"}})]))}}},3852:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},f),...u},r.concat([n("path",{attrs:{d:"M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"}})]))}}},3787:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 25"},f),...u},r.concat([n("path",{attrs:{d:"M20.9 17.6c-.9-.8-1.8-1.5-2.8-2.1-1-.7-1.3-.6-1.9.5l-.6.9c-.4.5-.9.4-1.4 0-2.3-1.6-4.4-3.6-6-5.9-.3-.6-.5-1-.2-1.4l1.2-.8c1-.6 1-.9.3-1.9-.7-1-1.5-2-2.3-2.9-.6-.7-1-.7-1.6-.1l-.9 1c-1.2.9-1.6 2.5-1 3.8 2 6.1 6.8 10.8 12.9 12.7 1 .4 2.1.2 3-.5l.6-.6.8-.7c.8-1 .8-1.3-.1-2z"}})]))}}},1724:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"},f),...u},r.concat([n("circle",{attrs:{cx:"20",cy:"50",r:"10"}},[n("animate",{attrs:{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:".1"}})]),n("circle",{attrs:{cx:"50",cy:"50",r:"10"}},[n("animate",{attrs:{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:".2"}})]),n("circle",{attrs:{cx:"80",cy:"50",r:"10"}},[n("animate",{attrs:{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:".3"}})])]))}}},4684:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30.34 30.34"},f),...u},r.concat([n("path",{attrs:{d:"M22.562 12.491s1.227-.933.293-1.866c-.934-.933-1.842.271-1.842.271l-9.389 9.391s-2.199 2.838-3.871 1.122c-1.67-1.718 1.121-3.872 1.121-3.872l12.311-12.31s2.873-3.165 5.574-.466c2.697 2.7-.477 5.579-.477 5.579L12.449 24.173s-4.426 5.113-8.523 1.015 1.066-8.474 1.066-8.474L15.494 6.209s1.176-.982.295-1.866c-.885-.883-1.865.295-1.865.295L1.873 16.689s-4.549 4.989.531 10.068c5.08 5.082 10.072.533 10.072.533l16.563-16.565s3.314-3.655-.637-7.608-7.607-.639-7.607-.639L6.543 16.728s-3.65 2.969-.338 6.279c3.312 3.314 6.227-.39 6.227-.39l10.13-10.126z"}})]))}}},3582:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},f),...u},r.concat([n("path",{attrs:{d:"M476 3.2L12.5 270.6c-18.1 10.4-15.8 35.6 2.2 43.2L121 358.4l287.3-253.2c5.5-4.9 13.3 2.6 8.6 8.3L176 407v80.5c0 23.6 28.5 32.9 42.5 15.8L282 426l124.6 52.2c14.2 6 30.4-2.9 33-18.2l72-432C515 7.8 493.3-6.8 476 3.2z"}})]))}}},2154:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},f),...u},r.concat([n("path",{attrs:{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3A4.5 4.5 0 0014 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"}}),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]))}}},6011:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},f),...u},r.concat([n("path",{attrs:{d:"M16.5 12A4.5 4.5 0 0014 7.97v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51A8.796 8.796 0 0021 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06a8.99 8.99 0 003.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"}}),n("path",{attrs:{d:"M0 0h24v24H0z",fill:"none"}})]))}}},7707:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},f),...u},r.concat([n("path",{attrs:{d:"M460.115 373.846l-6.941-4.008c-5.546-3.202-7.564-10.177-4.661-15.886 32.971-64.838 31.167-142.731-5.415-205.954-36.504-63.356-103.118-103.876-175.8-107.701C260.952 39.963 256 34.676 256 28.321v-8.012c0-6.904 5.808-12.337 12.703-11.982 83.552 4.306 160.157 50.861 202.106 123.67 42.069 72.703 44.083 162.322 6.034 236.838-3.14 6.149-10.75 8.462-16.728 5.011z"}})]))}}},1623:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},f),...u},r.concat([n("path",{attrs:{d:"M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"}})]))}}},2106:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 39 39"},f),...u},r.concat([n("path",{attrs:{d:"M38.08 6.78a15.86 15.86 0 01-3.82 1.08c.61-.1 1.48-1.21 1.84-1.65a7 7 0 001.25-2.3.15.15 0 000-.19.22.22 0 00-.21 0 18.94 18.94 0 01-4.49 1.72.31.31 0 01-.31-.08 3 3 0 00-.39-.4 7.91 7.91 0 00-2.18-1.34 7.6 7.6 0 00-3.34-.53 8 8 0 00-3.17.91 8.21 8.21 0 00-2.56 2.08 7.82 7.82 0 00-1.52 3.05 8.17 8.17 0 00-.08 3.23c0 .18 0 .2-.16.18-6.17-.92-10.56-2-15.43-7.86-.18-.21-.28-.2-.43 0C1.26 7.42 2.14 11.8 4.41 14c.31.28 1 .87 1.31 1.13A13.51 13.51 0 012.38 14c-.18-.12-.27 0-.28.15a4.52 4.52 0 000 .89A7.91 7.91 0 007 21.3a5.12 5.12 0 001 .3 8.94 8.94 0 01-2.92.09c-.21 0-.29.07-.21.27 1.29 3.5 4.06 4.55 6.14 5.14.28 0 .55 0 .83.11v.05c-.69 1-3.08 2.15-4.2 2.54a14.78 14.78 0 01-6.35.5c-.35-.05-.42-.05-.51 0s0 .14.1.23a14.73 14.73 0 001.32.78A21.19 21.19 0 006.42 33c7.65 2.11 16.26.56 22-5.15 4.51-4.48 6.09-10.66 6.09-16.84 0-.25.29-.38.46-.51A15.29 15.29 0 0038 7.41a1.21 1.21 0 00.27-.6c.03-.13-.04-.1-.19-.03z"}})]))}}},7308:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 46.9 46.9"},f),...u},r.concat([n("path",{attrs:{d:"M23.4 46.9C10.5 46.9 0 36.4 0 23.4c0-6.2 2.5-12.1 6.8-16.5C11.2 2.5 17.2 0 23.4 0h.1c12.9 0 23.4 10.5 23.4 23.4 0 13-10.5 23.4-23.5 23.5zm0-45.3c-12.1 0-21.9 9.8-21.8 21.9 0 5.8 2.3 11.3 6.4 15.4 4.1 4.1 9.6 6.4 15.4 6.4 12.1 0 21.8-9.8 21.8-21.9 0-12.1-9.7-21.8-21.8-21.8z",fill:"#0596d4"}}),n("circle",{attrs:{cx:"23.4",cy:"23.4",r:"18.6",fill:"#eaeaea"}}),n("path",{attrs:{d:"M27 27.6c3.1-2 4-6.1 2-9.1s-6.1-4-9.1-2-4 6.1-2 9.1c.5.8 1.2 1.5 2 2-4.4.4-7.7 4-7.7 8.4v2.2c6.6 5.1 15.9 5.1 22.5 0V36c0-4.4-3.3-8-7.7-8.4z",fill:"#fff"}})]))}}},7474:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 43.074 42.35"},f),...u},r.concat([n("g",{attrs:{"data-name":"Layer 2",transform:"translate(-11.86 -14.678)"}},[n("path",{attrs:{d:"M27.041 53.253c-1.064-1.771-2.107-3.505-3.087-5.276-.352-.636-.583-.81-1.592-.794-3.331.035-3.326.035-4.38.027l-.549-.008c-3.594-.003-5.572-1.992-5.572-5.602V20.27c0-3.607 1.983-5.591 5.588-5.591h31.993c3.523 0 5.462 1.947 5.462 5.48.005 9.007.005 12.633 0 21.64a4.892 4.892 0 01-5.399 5.401h-.008l-5.515-.005c-6.442-.008-4.361-.018-8.483.021a1.099 1.099 0 00-.505.352c-1.059 1.71-2.067 3.45-3.074 5.192l-1.169 2.007c-.084.147-.179.292-.297.473l-1.161 1.79z"}}),n("rect",{attrs:{rx:".812",height:"3.043",width:"32.605",y:"21.789",x:"17.045"}}),n("rect",{attrs:{rx:".812",height:"3.043",width:"32.605",y:"29.228",x:"17.045"}}),n("rect",{attrs:{rx:".812",height:"3.043",width:"19.008",y:"36.668",x:"17.045"}})])]))}}},6842:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},f),...u},r.concat([n("path",{attrs:{d:"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm32 352c0 17.6-14.4 32-32 32H293.3l-8.5 6.4L192 460v-76H64c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h384c17.6 0 32 14.4 32 32v288z"}})]))}}},6375:e=>{e.exports={functional:!0,render(e,t){const{_c:n,_v:i,data:s,children:r=[]}=t,{class:o,staticClass:a,style:l,staticStyle:c,attrs:f={},...u}=s;return n("svg",{class:[o,a],style:[l,c],attrs:Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},f),...u},r.concat([n("path",{attrs:{d:"M512 160h-96V64c0-35.3-28.7-64-64-64H64C28.7 0 0 28.7 0 64v160c0 35.3 28.7 64 64 64h32v52c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4l76.9-43.5V384c0 35.3 28.7 64 64 64h96l108.9 61.6c2.2 1.6 4.7 2.4 7.1 2.4 6.2 0 12-4.9 12-12v-52h32c35.3 0 64-28.7 64-64V224c0-35.3-28.7-64-64-64zM64 256c-17.6 0-32-14.4-32-32V64c0-17.6 14.4-32 32-32h288c17.6 0 32 14.4 32 32v160c0 17.6-14.4 32-32 32H215.6l-7.3 4.2-80.3 45.4V256zm480 128c0 17.6-14.4 32-32 32h-64v49.6l-80.2-45.4-7.3-4.2H256c-17.6 0-32-14.4-32-32v-96h128c35.3 0 64-28.7 64-64v-32h96c17.6 0 32 14.4 32 32z"}})]))}}},8620:(e,t,n)=>{"use strict";t.oE=void 0;var i=n(2584),s=n(8413);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){a(e,t,n[t])}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var c=function(){return null},f=function(e,t,n){return e.reduce((function(e,i){return e[n?n(i):i]=t(i),e}),{})};function u(e){return"function"==typeof e}function d(e){return null!==e&&("object"===l(e)||u(e))}var h=function(e,t,n,i){if("function"==typeof n)return n.call(e,t,i);n=Array.isArray(n)?n:n.split(".");for(var s=0;s<n.length;s++){if(!t||"object"!==l(t))return i;t=t[n[s]]}return void 0===t?i:t};var p={$invalid:function(){var e=this,t=this.proxy;return this.nestedKeys.some((function(t){return e.refProxy(t).$invalid}))||this.ruleKeys.some((function(e){return!t[e]}))},$dirty:function(){var e=this;return!!this.dirty||0!==this.nestedKeys.length&&this.nestedKeys.every((function(t){return e.refProxy(t).$dirty}))},$anyDirty:function(){var e=this;return!!this.dirty||0!==this.nestedKeys.length&&this.nestedKeys.some((function(t){return e.refProxy(t).$anyDirty}))},$error:function(){return this.$dirty&&!this.$pending&&this.$invalid},$anyError:function(){var e=this;return!!this.$error||this.nestedKeys.some((function(t){return e.refProxy(t).$anyError}))},$pending:function(){var e=this;return this.ruleKeys.some((function(t){return e.getRef(t).$pending}))||this.nestedKeys.some((function(t){return e.refProxy(t).$pending}))},$params:function(){var e=this,t=this.validations;return o({},f(this.nestedKeys,(function(e){return t[e]&&t[e].$params||null})),f(this.ruleKeys,(function(t){return e.getRef(t).$params})))}};function m(e){this.dirty=e;var t=this.proxy,n=e?"$touch":"$reset";this.nestedKeys.forEach((function(e){t[e][n]()}))}var g={$touch:function(){m.call(this,!0)},$reset:function(){m.call(this,!1)},$flattenParams:function(){var e=this.proxy,t=[];for(var n in this.$params)if(this.isNested(n)){for(var i=e[n].$flattenParams(),s=0;s<i.length;s++)i[s].path.unshift(n);t=t.concat(i)}else t.push({path:[],name:n,params:this.$params[n]});return t}},b=Object.keys(p),v=Object.keys(g),y=null,A=function(e){if(y)return y;var t=e.extend({computed:{refs:function(){var e=this._vval;this._vval=this.children,(0,i.patchChildren)(e,this._vval);var t={};return this._vval.forEach((function(e){t[e.key]=e.vm})),t}},beforeCreate:function(){this._vval=null},beforeDestroy:function(){this._vval&&((0,i.patchChildren)(this._vval),this._vval=null)},methods:{getModel:function(){return this.lazyModel?this.lazyModel(this.prop):this.model},getModelKey:function(e){var t=this.getModel();if(t)return t[e]},hasIter:function(){return!1}}}),n=t.extend({data:function(){return{rule:null,lazyModel:null,model:null,lazyParentModel:null,rootModel:null}},methods:{runRule:function(t){var n=this.getModel();(0,s.pushParams)();var i,r=this.rule.call(this.rootModel,n,t),o=d(i=r)&&u(i.then)?function(e,t){var n=new e({data:{p:!0,v:!1}});return t.then((function(e){n.p=!1,n.v=e}),(function(e){throw n.p=!1,n.v=!1,e})),n.__isVuelidateAsyncVm=!0,n}(e,r):r,a=(0,s.popParams)();return{output:o,params:a&&a.$sub?a.$sub.length>1?a:a.$sub[0]:null}}},computed:{run:function(){var e=this,t=this.lazyParentModel();if(Array.isArray(t)&&t.__ob__){var n=t.__ob__.dep;n.depend();var i=n.constructor.target;if(!this._indirectWatcher){var s=i.constructor;this._indirectWatcher=new s(this,(function(){return e.runRule(t)}),null,{lazy:!0})}var r=this.getModel();if(!this._indirectWatcher.dirty&&this._lastModel===r)return this._indirectWatcher.depend(),i.value;this._lastModel=r,this._indirectWatcher.evaluate(),this._indirectWatcher.depend()}else this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null);return this._indirectWatcher?this._indirectWatcher.value:this.runRule(t)},$params:function(){return this.run.params},proxy:function(){var e=this.run.output;return e.__isVuelidateAsyncVm?!!e.v:!!e},$pending:function(){var e=this.run.output;return!!e.__isVuelidateAsyncVm&&e.p}},destroyed:function(){this._indirectWatcher&&(this._indirectWatcher.teardown(),this._indirectWatcher=null)}}),a=t.extend({data:function(){return{dirty:!1,validations:null,lazyModel:null,model:null,prop:null,lazyParentModel:null,rootModel:null}},methods:o({},g,{refProxy:function(e){return this.getRef(e).proxy},getRef:function(e){return this.refs[e]},isNested:function(e){return"function"!=typeof this.validations[e]}}),computed:o({},p,{nestedKeys:function(){return this.keys.filter(this.isNested)},ruleKeys:function(){var e=this;return this.keys.filter((function(t){return!e.isNested(t)}))},keys:function(){return Object.keys(this.validations).filter((function(e){return"$params"!==e}))},proxy:function(){var e=this,t=f(this.keys,(function(t){return{enumerable:!0,configurable:!0,get:function(){return e.refProxy(t)}}})),n=f(b,(function(t){return{enumerable:!0,configurable:!0,get:function(){return e[t]}}})),i=f(v,(function(t){return{enumerable:!1,configurable:!0,get:function(){return e[t]}}})),s=this.hasIter()?{$iter:{enumerable:!0,value:Object.defineProperties({},o({},t))}}:{};return Object.defineProperties({},o({},t,s,{$model:{enumerable:!0,get:function(){var t=e.lazyParentModel();return null!=t?t[e.prop]:null},set:function(t){var n=e.lazyParentModel();null!=n&&(n[e.prop]=t,e.$touch())}}},n,i))},children:function(){var e=this;return r(this.nestedKeys.map((function(t){return A(e,t)}))).concat(r(this.ruleKeys.map((function(t){return w(e,t)})))).filter(Boolean)}})}),l=a.extend({methods:{isNested:function(e){return void 0!==this.validations[e]()},getRef:function(e){var t=this;return{get proxy(){return t.validations[e]()||!1}}}}}),m=a.extend({computed:{keys:function(){var e=this.getModel();return d(e)?Object.keys(e):[]},tracker:function(){var e=this,t=this.validations.$trackBy;return t?function(n){return"".concat(h(e.rootModel,e.getModelKey(n),t))}:function(e){return"".concat(e)}},getModelLazy:function(){var e=this;return function(){return e.getModel()}},children:function(){var e=this,t=this.validations,n=this.getModel(),s=o({},t);delete s.$trackBy;var r={};return this.keys.map((function(t){var o=e.tracker(t);return r.hasOwnProperty(o)?null:(r[o]=!0,(0,i.h)(a,o,{validations:s,prop:t,lazyParentModel:e.getModelLazy,model:n[t],rootModel:e.rootModel}))})).filter(Boolean)}},methods:{isNested:function(){return!0},getRef:function(e){return this.refs[this.tracker(e)]},hasIter:function(){return!0}}}),A=function(e,t){if("$each"===t)return(0,i.h)(m,t,{validations:e.validations[t],lazyParentModel:e.lazyParentModel,prop:t,lazyModel:e.getModel,rootModel:e.rootModel});var n=e.validations[t];if(Array.isArray(n)){var s=e.rootModel,r=f(n,(function(e){return function(){return h(s,s.$v,e)}}),(function(e){return Array.isArray(e)?e.join("."):e}));return(0,i.h)(l,t,{validations:r,lazyParentModel:c,prop:t,lazyModel:c,rootModel:s})}return(0,i.h)(a,t,{validations:n,lazyParentModel:e.getModel,prop:t,lazyModel:e.getModelKey,rootModel:e.rootModel})},w=function(e,t){return(0,i.h)(n,t,{rule:e.validations[t],lazyParentModel:e.lazyParentModel,lazyModel:e.getModel,rootModel:e.rootModel})};return y={VBase:t,Validation:a}},w=null;var _=function(e,t){var n=function(e){if(w)return w;for(var t=e.constructor;t.super;)t=t.super;return w=t,t}(e),s=A(n),r=s.Validation;return new(0,s.VBase)({computed:{children:function(){var n="function"==typeof t?t.call(e):t;return[(0,i.h)(r,"$v",{validations:n,lazyParentModel:c,prop:"$v",model:e,rootModel:e})]}}})},C={data:function(){var e=this.$options.validations;return e&&(this._vuelidate=_(this,e)),{}},beforeCreate:function(){var e=this.$options;e.validations&&(e.computed||(e.computed={}),e.computed.$v||(e.computed.$v=function(){return this._vuelidate?this._vuelidate.refs.$v.proxy:null}))},beforeDestroy:function(){this._vuelidate&&(this._vuelidate.$destroy(),this._vuelidate=null)}};function S(e){e.mixin(C)}t.oE=C},8413:(e,t)=>{"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.pushParams=o,t.popParams=a,t.withParams=function(e,t){if("object"===i(e)&&void 0!==t)return n=e,s=t,c((function(e){return function(){e(n);for(var t=arguments.length,i=new Array(t),r=0;r<t;r++)i[r]=arguments[r];return s.apply(this,i)}}));var n,s;return c(e)},t._setTarget=t.target=void 0;var s=[],r=null;t.target=r;function o(){null!==r&&s.push(r),t.target=r={}}function a(){var e=r,n=t.target=r=s.pop()||null;return n&&(Array.isArray(n.$sub)||(n.$sub=[]),n.$sub.push(e)),e}function l(e){if("object"!==i(e)||Array.isArray(e))throw new Error("params must be an object");t.target=r=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},s=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(i).filter((function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable})))),s.forEach((function(t){n(e,t,i[t])}))}return e}({},r,e)}function c(e){var t=e(l);return function(){o();try{for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.apply(this,n)}finally{a()}}}t._setTarget=function(e){t.target=r=e}},6681:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"withParams",{enumerable:!0,get:function(){return s.default}}),t.regex=t.ref=t.len=t.req=void 0;var i,s=(i=n(8085))&&i.__esModule?i:{default:i};function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=function(e){if(Array.isArray(e))return!!e.length;if(null==e)return!1;if(!1===e)return!0;if(e instanceof Date)return!isNaN(e.getTime());if("object"===r(e)){for(var t in e)return!0;return!1}return!!String(e).length};t.req=o;t.len=function(e){return Array.isArray(e)?e.length:"object"===r(e)?Object.keys(e).length:String(e).length};t.ref=function(e,t,n){return"function"==typeof e?e.call(t,n):n[e]};t.regex=function(e,t){return(0,s.default)({type:e},(function(e){return!o(e)||t.test(e)}))}},2419:(e,t,n)=>{"use strict";t.Z=void 0;var i=n(6681),s=(0,i.withParams)({type:"required"},(function(e){return"string"==typeof e?(0,i.req)(e.trim()):(0,i.req)(e)}));t.Z=s},2584:(e,t)=>{"use strict";function n(e){return null==e}function i(e){return null!=e}function s(e,t){return t.tag===e.tag&&t.key===e.key}function r(e){var t=e.tag;e.vm=new t({data:e.args})}function o(e,t,n){var s,r,o={};for(s=t;s<=n;++s)i(r=e[s].key)&&(o[r]=s);return o}function a(e,t,n){for(;t<=n;++t)r(e[t])}function l(e,t,n){for(;t<=n;++t){var s=e[t];i(s)&&(s.vm.$destroy(),s.vm=null)}}function c(e,t){e!==t&&(t.vm=e.vm,function(e){for(var t=Object.keys(e.args),n=0;n<t.length;n++)t.forEach((function(t){e.vm[t]=e.args[t]}))}(t))}Object.defineProperty(t,"__esModule",{value:!0}),t.patchChildren=function(e,t){i(e)&&i(t)?e!==t&&function(e,t){var f,u,d,h=0,p=0,m=e.length-1,g=e[0],b=e[m],v=t.length-1,y=t[0],A=t[v];for(;h<=m&&p<=v;)n(g)?g=e[++h]:n(b)?b=e[--m]:s(g,y)?(c(g,y),g=e[++h],y=t[++p]):s(b,A)?(c(b,A),b=e[--m],A=t[--v]):s(g,A)?(c(g,A),g=e[++h],A=t[--v]):s(b,y)?(c(b,y),b=e[--m],y=t[++p]):(n(f)&&(f=o(e,h,m)),n(u=i(y.key)?f[y.key]:null)?(r(y),y=t[++p]):s(d=e[u],y)?(c(d,y),e[u]=void 0,y=t[++p]):(r(y),y=t[++p]));h>m?a(t,p,v):p>v&&l(e,h,m)}(e,t):i(t)?a(t,0,t.length-1):i(e)&&l(e,0,e.length-1)},t.h=function(e,t,n){return{tag:e,key:t,args:n}}},8085:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i="web"==={VERSION:"5.0.34",BUILD_DATE:"2021-10-27T14:17:52.289Z",BUILD_NUMBER:"247",DEV:!1}.BUILD?n(16).R:n(8413).withParams;t.default=i},16:(e,t,n)=>{"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.R=void 0;var s="undefined"!=typeof window?window:void 0!==n.g?n.g:{},r=s.vuelidate?s.vuelidate.withParams:function(e,t){return"object"===i(e)&&void 0!==t?t:e((function(){}))};t.R=r},7529:e=>{e.exports=function(){for(var e={},n=0;n<arguments.length;n++){var i=arguments[n];for(var s in i)t.call(i,s)&&(e[s]=i[s])}return e};var t=Object.prototype.hasOwnProperty},9100:e=>{"use strict";e.exports=JSON.parse('{"s":{"2049":0,"2122":0,"2139":0,"2194":0,"2195":0,"2196":0,"2197":0,"2198":0,"2199":0,"2328":0,"2600":0,"2601":0,"2602":0,"2603":0,"2604":0,"2611":0,"2614":0,"2615":0,"2618":0,"2620":0,"2622":0,"2623":0,"2626":0,"2638":0,"2639":0,"2640":0,"2642":0,"2648":0,"2649":0,"2650":0,"2651":0,"2652":0,"2653":0,"2660":0,"2663":0,"2665":0,"2666":0,"2668":0,"2692":0,"2693":0,"2694":0,"2695":0,"2696":0,"2697":0,"2699":0,"2702":0,"2705":0,"2708":0,"2709":0,"2712":0,"2714":0,"2716":0,"2721":0,"2728":0,"2733":0,"2734":0,"2744":0,"2747":0,"2753":0,"2754":0,"2755":0,"2757":0,"2763":0,"2764":0,"2795":0,"2796":0,"2797":0,"2934":0,"2935":0,"3030":0,"3297":0,"3299":0,"1f9e1":0,"1f49b":0,"1f49a":0,"1f499":0,"1f49c":0,"1f5a4":0,"1f494":0,"1f495":0,"1f49e":0,"1f493":0,"1f497":0,"1f496":0,"1f498":0,"1f49d":0,"1f49f":0,"262e":0,"271d":0,"262a":0,"1f549":0,"1f52f":0,"1f54e":0,"262f":0,"1f6d0":0,"26ce":0,"264a":0,"264b":0,"264c":0,"264d":0,"264e":0,"264f":0,"1f194":0,"269b":0,"267e":{"e":0,"s":{"fe0f":0}},"1f251":0,"1f4f4":0,"1f4f3":0,"1f236":0,"1f21a":0,"1f238":0,"1f23a":0,"1f237":0,"1f19a":0,"1f4ae":0,"1f250":0,"1f234":0,"1f235":0,"1f239":0,"1f232":0,"1f170":0,"1f171":0,"1f18e":0,"1f191":0,"1f17e":0,"1f198":0,"274c":0,"2b55":0,"1f6d1":0,"26d4":0,"1f4db":0,"1f6ab":0,"1f4af":0,"1f4a2":0,"1f6b7":0,"1f6af":0,"1f6b3":0,"1f6b1":0,"1f51e":0,"1f4f5":0,"1f6ad":0,"203c":0,"1f505":0,"1f506":0,"303d":0,"26a0":0,"1f6b8":0,"1f531":0,"269c":0,"1f530":0,"267b":0,"1f22f":0,"1f4b9":0,"274e":0,"1f310":0,"1f4a0":0,"24c2":0,"1f300":0,"1f4a4":0,"1f3e7":0,"1f6be":0,"267f":0,"1f17f":0,"1f233":0,"1f202":0,"1f6c2":0,"1f6c3":0,"1f6c4":0,"1f6c5":0,"1f6b9":0,"1f6ba":0,"1f6bc":0,"1f6bb":0,"1f6ae":0,"1f3a6":0,"1f4f6":0,"1f201":0,"1f523":0,"1f524":0,"1f521":0,"1f520":0,"1f196":0,"1f197":0,"1f199":0,"1f192":0,"1f195":0,"1f193":0,"0030":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0031":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0032":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0033":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0034":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0035":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0036":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0037":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0038":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"0039":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"1f51f":0,"1f522":0,"0023":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"002a":{"e":0,"s":{"fe0f":{"e":0,"s":{"20e3":0}}}},"23cf":0,"25b6":0,"23f8":0,"23ef":0,"23f9":0,"23fa":0,"23ed":0,"23ee":0,"23e9":0,"23ea":0,"23eb":0,"23ec":0,"25c0":0,"1f53c":0,"1f53d":0,"27a1":0,"2b05":0,"2b06":0,"2b07":0,"21aa":0,"21a9":0,"1f500":0,"1f501":0,"1f502":0,"1f504":0,"1f503":0,"1f3b5":0,"1f3b6":0,"1f4b2":0,"1f4b1":0,"00a9":0,"00ae":0,"27b0":0,"27bf":0,"1f51a":0,"1f519":0,"1f51b":0,"1f51d":0,"1f51c":0,"1f518":0,"26aa":0,"26ab":0,"1f534":0,"1f535":0,"1f53a":0,"1f53b":0,"1f538":0,"1f539":0,"1f536":0,"1f537":0,"1f533":0,"1f532":0,"25aa":0,"25ab":0,"25fe":0,"25fd":0,"25fc":0,"25fb":0,"2b1b":0,"2b1c":0,"1f508":0,"1f507":0,"1f509":0,"1f50a":0,"1f514":0,"1f515":0,"1f4e3":0,"1f4e2":0,"1f5e8":0,"1f441":{"e":1,"s":{"fe0f":{"e":0,"s":{"200d":{"e":0,"s":{"1f5e8":{"e":0,"s":{"fe0f":0}}}}}}}},"1f4ac":0,"1f4ad":0,"1f5ef":0,"1f0cf":0,"1f3b4":0,"1f004":0,"1f550":0,"1f551":0,"1f552":0,"1f553":0,"1f554":0,"1f555":0,"1f556":0,"1f557":0,"1f558":0,"1f559":0,"1f55a":0,"1f55b":0,"1f55c":0,"1f55d":0,"1f55e":0,"1f55f":0,"1f560":0,"1f561":0,"1f562":0,"1f563":0,"1f564":0,"1f565":0,"1f566":0,"1f567":0,"26bd":0,"1f3c0":0,"1f3c8":0,"26be":0,"1f94e":0,"1f3be":0,"1f3d0":0,"1f3c9":0,"1f3b1":0,"1f3d3":0,"1f3f8":0,"1f945":0,"1f3d2":0,"1f3d1":0,"1f3cf":0,"1f94d":0,"26f3":0,"1f94f":0,"1f3f9":0,"1f3a3":0,"1f94a":0,"1f94b":0,"1f3bd":0,"1f6f9":0,"26f8":0,"1f94c":0,"1f6f7":0,"1f3bf":0,"26f7":0,"1f3c2":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f3cb":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f93c":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f938":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"26f9":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f93a":0,"1f93e":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3cc":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f3c7":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9d8":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3c4":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ca":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f93d":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f6a3":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d7":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f6b5":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f6b4":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3c6":0,"1f947":0,"1f948":0,"1f949":0,"1f3c5":0,"1f396":0,"1f3f5":0,"1f397":0,"1f3ab":0,"1f39f":0,"1f3aa":0,"1f939":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ad":0,"1f3a8":0,"1f3ac":0,"1f3a4":0,"1f3a7":0,"1f3bc":0,"1f3b9":0,"1f941":0,"1f3b7":0,"1f3ba":0,"1f3b8":0,"1f3bb":0,"1f3b2":0,"1f3af":0,"1f3b3":0,"1f3ae":0,"1f3b0":0,"231a":0,"1f4f1":0,"1f4f2":0,"1f4bb":0,"1f5a5":0,"1f5a8":0,"1f5b1":0,"1f5b2":0,"1f579":0,"265f":{"e":0,"s":{"fe0f":0}},"1f9e9":0,"1f5dc":0,"1f4bd":0,"1f4be":0,"1f4bf":0,"1f4c0":0,"1f4fc":0,"1f4f7":0,"1f4f8":0,"1f4f9":0,"1f3a5":0,"1f4fd":0,"1f39e":0,"1f4de":0,"260e":0,"1f4df":0,"1f4e0":0,"1f4fa":0,"1f4fb":0,"1f399":0,"1f39a":0,"1f39b":0,"23f1":0,"23f2":0,"23f0":0,"1f570":0,"231b":0,"23f3":0,"1f4e1":0,"1f9ed":0,"1f50b":0,"1f50c":0,"1f9f2":0,"1f4a1":0,"1f526":0,"1f56f":0,"1f9ef":0,"1f5d1":0,"1f6e2":0,"1f4b8":0,"1f4b5":0,"1f4b4":0,"1f4b6":0,"1f4b7":0,"1f4b0":0,"1f4b3":0,"1f48e":0,"1f9ff":0,"1f9f1":0,"1f9f0":0,"1f527":0,"1f528":0,"1f6e0":0,"26cf":0,"1f529":0,"26d3":0,"1f52b":0,"1f4a3":0,"1f52a":0,"1f5e1":0,"1f6e1":0,"1f6ac":0,"26b0":0,"26b1":0,"1f3fa":0,"1f52e":0,"1f4ff":0,"1f488":0,"1f9ea":0,"1f9eb":0,"1f9ec":0,"1f9ee":0,"1f52d":0,"1f52c":0,"1f573":0,"1f48a":0,"1f489":0,"1f321":0,"1f6bd":0,"1f6b0":0,"1f6bf":0,"1f6c1":0,"1f6c0":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9f9":0,"1f9fa":0,"1f9fb":0,"1f9fc":0,"1f9fd":0,"1f9f4":0,"1f9f5":0,"1f9f6":0,"1f6ce":0,"1f511":0,"1f5dd":0,"1f6aa":0,"1f6cb":0,"1f6cf":0,"1f6cc":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9f8":0,"1f5bc":0,"1f6cd":0,"1f6d2":0,"1f381":0,"1f388":0,"1f38f":0,"1f380":0,"1f38a":0,"1f389":0,"1f38e":0,"1f3ee":0,"1f390":0,"1f9e7":0,"1f4e9":0,"1f4e8":0,"1f4e7":0,"1f48c":0,"1f4e5":0,"1f4e4":0,"1f4e6":0,"1f3f7":0,"1f4ea":0,"1f4eb":0,"1f4ec":0,"1f4ed":0,"1f4ee":0,"1f4ef":0,"1f4dc":0,"1f4c3":0,"1f4c4":0,"1f9fe":0,"1f4d1":0,"1f4ca":0,"1f4c8":0,"1f4c9":0,"1f5d2":0,"1f5d3":0,"1f4c6":0,"1f4c5":0,"1f4c7":0,"1f5c3":0,"1f5f3":0,"1f5c4":0,"1f4cb":0,"1f4c1":0,"1f4c2":0,"1f5c2":0,"1f5de":0,"1f4f0":0,"1f4d3":0,"1f4d4":0,"1f4d2":0,"1f4d5":0,"1f4d7":0,"1f4d8":0,"1f4d9":0,"1f4da":0,"1f4d6":0,"1f516":0,"1f517":0,"1f4ce":0,"1f587":0,"1f4d0":0,"1f4cf":0,"1f9f7":0,"1f4cc":0,"1f4cd":0,"1f58a":0,"1f58b":0,"1f58c":0,"1f58d":0,"1f4dd":0,"270f":0,"1f50d":0,"1f50e":0,"1f50f":0,"1f510":0,"1f436":0,"1f431":0,"1f42d":0,"1f439":0,"1f430":0,"1f98a":0,"1f99d":0,"1f43b":0,"1f43c":0,"1f998":0,"1f9a1":0,"1f428":0,"1f42f":0,"1f981":0,"1f42e":0,"1f437":0,"1f43d":0,"1f438":0,"1f435":0,"1f648":0,"1f649":0,"1f64a":0,"1f412":0,"1f414":0,"1f427":0,"1f426":0,"1f424":0,"1f423":0,"1f425":0,"1f986":0,"1f9a2":0,"1f985":0,"1f989":0,"1f99c":0,"1f99a":0,"1f987":0,"1f43a":0,"1f417":0,"1f434":0,"1f984":0,"1f41d":0,"1f41b":0,"1f98b":0,"1f40c":0,"1f41a":0,"1f41e":0,"1f41c":0,"1f997":0,"1f577":0,"1f578":0,"1f982":0,"1f99f":0,"1f9a0":0,"1f422":0,"1f40d":0,"1f98e":0,"1f996":0,"1f995":0,"1f419":0,"1f991":0,"1f990":0,"1f980":0,"1f99e":0,"1f421":0,"1f420":0,"1f41f":0,"1f42c":0,"1f433":0,"1f40b":0,"1f988":0,"1f40a":0,"1f405":0,"1f406":0,"1f993":0,"1f98d":0,"1f418":0,"1f98f":0,"1f99b":0,"1f42a":0,"1f42b":0,"1f992":0,"1f999":0,"1f403":0,"1f402":0,"1f404":0,"1f40e":0,"1f416":0,"1f40f":0,"1f411":0,"1f410":0,"1f98c":0,"1f415":0,"1f429":0,"1f408":0,"1f413":0,"1f983":0,"1f54a":0,"1f407":0,"1f401":0,"1f400":0,"1f43f":0,"1f994":0,"1f43e":0,"1f409":0,"1f432":0,"1f335":0,"1f384":0,"1f332":0,"1f333":0,"1f334":0,"1f331":0,"1f33f":0,"1f340":0,"1f38d":0,"1f38b":0,"1f343":0,"1f342":0,"1f341":0,"1f344":0,"1f33e":0,"1f490":0,"1f337":0,"1f339":0,"1f940":0,"1f33a":0,"1f338":0,"1f33c":0,"1f33b":0,"1f31e":0,"1f31d":0,"1f31b":0,"1f31c":0,"1f31a":0,"1f315":0,"1f316":0,"1f317":0,"1f318":0,"1f311":0,"1f312":0,"1f313":0,"1f314":0,"1f319":0,"1f30e":0,"1f30d":0,"1f30f":0,"1f4ab":0,"2b50":0,"1f31f":0,"26a1":0,"1f4a5":0,"1f525":0,"1f32a":0,"1f308":0,"1f324":0,"26c5":0,"1f325":0,"1f326":0,"1f327":0,"26c8":0,"1f329":0,"1f328":0,"26c4":0,"1f32c":0,"1f4a8":0,"1f4a7":0,"1f4a6":0,"1f30a":0,"1f32b":0,"1f34f":0,"1f34e":0,"1f350":0,"1f34a":0,"1f34b":0,"1f34c":0,"1f349":0,"1f347":0,"1f353":0,"1f348":0,"1f352":0,"1f351":0,"1f96d":0,"1f34d":0,"1f965":0,"1f95d":0,"1f345":0,"1f346":0,"1f951":0,"1f966":0,"1f96c":0,"1f952":0,"1f336":0,"1f33d":0,"1f955":0,"1f954":0,"1f360":0,"1f950":0,"1f35e":0,"1f956":0,"1f968":0,"1f96f":0,"1f9c0":0,"1f95a":0,"1f373":0,"1f95e":0,"1f953":0,"1f969":0,"1f357":0,"1f356":0,"1f32d":0,"1f354":0,"1f35f":0,"1f355":0,"1f96a":0,"1f959":0,"1f32e":0,"1f32f":0,"1f957":0,"1f958":0,"1f96b":0,"1f35d":0,"1f35c":0,"1f372":0,"1f35b":0,"1f363":0,"1f371":0,"1f364":0,"1f359":0,"1f35a":0,"1f358":0,"1f365":0,"1f960":0,"1f362":0,"1f361":0,"1f367":0,"1f368":0,"1f366":0,"1f967":0,"1f370":0,"1f382":0,"1f96e":0,"1f9c1":0,"1f36e":0,"1f36d":0,"1f36c":0,"1f36b":0,"1f37f":0,"1f9c2":0,"1f369":0,"1f95f":0,"1f36a":0,"1f330":0,"1f95c":0,"1f36f":0,"1f95b":0,"1f37c":0,"1f375":0,"1f964":0,"1f376":0,"1f37a":0,"1f37b":0,"1f942":0,"1f377":0,"1f943":0,"1f378":0,"1f379":0,"1f37e":0,"1f944":0,"1f374":0,"1f37d":0,"1f963":0,"1f961":0,"1f962":0,"1f600":0,"1f603":0,"1f604":0,"1f601":0,"1f606":0,"1f605":0,"1f602":0,"1f923":0,"263a":0,"1f60a":0,"1f607":0,"1f642":0,"1f643":0,"1f609":0,"1f60c":0,"1f60d":0,"1f618":0,"1f970":0,"1f617":0,"1f619":0,"1f61a":0,"1f60b":0,"1f61b":0,"1f61d":0,"1f61c":0,"1f92a":0,"1f928":0,"1f9d0":0,"1f913":0,"1f60e":0,"1f929":0,"1f973":0,"1f60f":0,"1f612":0,"1f61e":0,"1f614":0,"1f61f":0,"1f615":0,"1f641":0,"1f623":0,"1f616":0,"1f62b":0,"1f629":0,"1f622":0,"1f62d":0,"1f624":0,"1f620":0,"1f621":0,"1f92c":0,"1f92f":0,"1f633":0,"1f631":0,"1f628":0,"1f630":0,"1f975":0,"1f976":0,"1f97a":0,"1f625":0,"1f613":0,"1f917":0,"1f914":0,"1f92d":0,"1f92b":0,"1f925":0,"1f636":0,"1f610":0,"1f611":0,"1f62c":0,"1f644":0,"1f62f":0,"1f626":0,"1f627":0,"1f62e":0,"1f632":0,"1f634":0,"1f924":0,"1f62a":0,"1f635":0,"1f910":0,"1f974":0,"1f922":0,"1f92e":0,"1f927":0,"1f637":0,"1f912":0,"1f915":0,"1f911":0,"1f920":0,"1f608":0,"1f47f":0,"1f479":0,"1f47a":0,"1f921":0,"1f4a9":0,"1f47b":0,"1f480":0,"1f47d":0,"1f47e":0,"1f916":0,"1f383":0,"1f63a":0,"1f638":0,"1f639":0,"1f63b":0,"1f63c":0,"1f63d":0,"1f640":0,"1f63f":0,"1f63e":0,"1f932":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f450":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f64c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44f":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91d":0,"1f44d":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44e":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91b":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91e":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91f":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f918":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f448":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f449":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f446":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f447":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"261d":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270b":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f91a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f590":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f596":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f44b":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f919":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f4aa":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9b5":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9b6":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f595":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"270d":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f64f":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f48d":0,"1f484":0,"1f48b":0,"1f444":0,"1f445":0,"1f442":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f443":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f463":0,"1f440":0,"1f9e0":0,"1f9b4":0,"1f9b7":0,"1f5e3":0,"1f464":0,"1f465":0,"1f476":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f467":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9d2":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f466":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f469":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"2764":{"e":1,"s":{"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"1f468":0,"1f469":0,"1f48b":{"e":1,"s":{"200d":{"e":1,"s":{"1f468":0,"1f469":0}}}}}}}}}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0,"1f469":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f9d1":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f468":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0}}}},"200d":{"e":1,"s":{"2695":{"e":0,"s":{"fe0f":0}},"2696":{"e":0,"s":{"fe0f":0}},"2708":{"e":0,"s":{"fe0f":0}},"2764":{"e":1,"s":{"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"1f468":0,"1f48b":{"e":0,"s":{"200d":{"e":0,"s":{"1f468":0}}}}}}}}}},"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f33e":0,"1f373":0,"1f393":0,"1f3a4":0,"1f3eb":0,"1f3ed":0,"1f4bb":0,"1f4bc":0,"1f527":0,"1f52c":0,"1f3a8":0,"1f692":0,"1f680":0,"1f469":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f468":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f466":{"e":1,"s":{"200d":{"e":0,"s":{"1f466":0}}}},"1f467":{"e":1,"s":{"200d":{"e":1,"s":{"1f466":0,"1f467":0}}}}}}}},"1f471":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d4":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f475":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9d3":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f474":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f472":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f473":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d5":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f46e":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f477":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f482":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f575":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"fe0f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}}}},"1f470":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f935":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f478":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f934":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f936":{"e":1,"s":{"1f3fb":0,"1f3fd":0,"1f3fc":0,"1f3fe":0,"1f3ff":0}},"1f385":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f9b8":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9b9":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d9":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9dd":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9db":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9df":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9de":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9dc":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9da":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f47c":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f930":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f931":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f647":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f481":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f645":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f646":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f64b":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f926":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f937":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f64e":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f64d":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f487":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f486":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f9d6":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f485":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f933":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f483":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f57a":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3ff":0,"1f3fe":0}},"1f46f":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f574":{"e":1,"s":{"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}},"1f6b6":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3c3":{"e":1,"s":{"1f3fb":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fc":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fd":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3fe":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f3ff":{"e":1,"s":{"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"200d":{"e":1,"s":{"2640":{"e":0,"s":{"fe0f":0}},"2642":{"e":0,"s":{"fe0f":0}}}}}},"1f46b":0,"1f46d":0,"1f46c":0,"1f491":0,"1f48f":0,"1f46a":0,"1f9e5":0,"1f45a":0,"1f455":0,"1f456":0,"1f454":0,"1f457":0,"1f459":0,"1f458":0,"1f97c":0,"1f460":0,"1f461":0,"1f462":0,"1f45e":0,"1f45f":0,"1f97e":0,"1f97f":0,"1f9e6":0,"1f9e4":0,"1f9e3":0,"1f3a9":0,"1f9e2":0,"1f452":0,"1f393":0,"26d1":0,"1f451":0,"1f45d":0,"1f45b":0,"1f45c":0,"1f4bc":0,"1f392":0,"1f453":0,"1f576":0,"1f97d":0,"1f302":0,"1f9b0":0,"1f9b1":0,"1f9b3":0,"1f9b2":0,"1f1ff":{"e":1,"s":{"1f1e6":0,"1f1f2":0,"1f1fc":0}},"1f1fe":{"e":1,"s":{"1f1f9":0,"1f1ea":0}},"1f1fd":{"e":1,"s":{"1f1f0":0}},"1f1fc":{"e":1,"s":{"1f1f8":0,"1f1eb":0}},"1f1fb":{"e":1,"s":{"1f1ec":0,"1f1e8":0,"1f1ee":0,"1f1fa":0,"1f1e6":0,"1f1ea":0,"1f1f3":0}},"1f1fa":{"e":1,"s":{"1f1ec":0,"1f1e6":0,"1f1f8":0,"1f1fe":0,"1f1ff":0,"1f1f2":0,"1f1f3":0}},"1f1f9":{"e":1,"s":{"1f1e9":0,"1f1eb":0,"1f1fc":0,"1f1ef":0,"1f1ff":0,"1f1ed":0,"1f1f1":0,"1f1ec":0,"1f1f0":0,"1f1f4":0,"1f1f9":0,"1f1f3":0,"1f1f7":0,"1f1f2":0,"1f1e8":0,"1f1fb":0,"1f1e6":0}},"1f1f8":{"e":1,"s":{"1f1fb":0,"1f1f2":0,"1f1f9":0,"1f1e6":0,"1f1f3":0,"1f1e8":0,"1f1f1":0,"1f1ec":0,"1f1fd":0,"1f1f0":0,"1f1ee":0,"1f1e7":0,"1f1f4":0,"1f1f8":0,"1f1ed":0,"1f1e9":0,"1f1f7":0,"1f1ff":0,"1f1ea":0,"1f1fe":0,"1f1ef":0}},"1f1f7":{"e":1,"s":{"1f1ea":0,"1f1f4":0,"1f1fa":0,"1f1fc":0,"1f1f8":0}},"1f1f6":{"e":1,"s":{"1f1e6":0}},"1f1f5":{"e":1,"s":{"1f1eb":0,"1f1f0":0,"1f1fc":0,"1f1f8":0,"1f1e6":0,"1f1ec":0,"1f1fe":0,"1f1ea":0,"1f1ed":0,"1f1f3":0,"1f1f1":0,"1f1f9":0,"1f1f7":0,"1f1f2":0}},"1f1f4":{"e":1,"s":{"1f1f2":0}},"1f1f3":{"e":1,"s":{"1f1e6":0,"1f1f7":0,"1f1f5":0,"1f1f1":0,"1f1e8":0,"1f1ff":0,"1f1ee":0,"1f1ea":0,"1f1ec":0,"1f1fa":0,"1f1eb":0,"1f1f4":0}},"1f1f2":{"e":1,"s":{"1f1f4":0,"1f1f0":0,"1f1ec":0,"1f1fc":0,"1f1fe":0,"1f1fb":0,"1f1f1":0,"1f1f9":0,"1f1ed":0,"1f1f6":0,"1f1f7":0,"1f1fa":0,"1f1fd":0,"1f1e9":0,"1f1e8":0,"1f1f3":0,"1f1ea":0,"1f1f8":0,"1f1e6":0,"1f1ff":0,"1f1f2":0,"1f1f5":0,"1f1eb":0}},"1f1f1":{"e":1,"s":{"1f1e6":0,"1f1fb":0,"1f1e7":0,"1f1f8":0,"1f1f7":0,"1f1fe":0,"1f1ee":0,"1f1f9":0,"1f1fa":0,"1f1f0":0,"1f1e8":0}},"1f1f0":{"e":1,"s":{"1f1ed":0,"1f1fe":0,"1f1f2":0,"1f1ff":0,"1f1ea":0,"1f1ee":0,"1f1fc":0,"1f1ec":0,"1f1f5":0,"1f1f7":0,"1f1f3":0}},"1f1ef":{"e":1,"s":{"1f1f2":0,"1f1f5":0,"1f1ea":0,"1f1f4":0}},"1f1ee":{"e":1,"s":{"1f1f4":0,"1f1e8":0,"1f1f8":0,"1f1f3":0,"1f1e9":0,"1f1f7":0,"1f1f6":0,"1f1ea":0,"1f1f2":0,"1f1f1":0,"1f1f9":0}},"1f1ed":{"e":1,"s":{"1f1f7":0,"1f1f9":0,"1f1f3":0,"1f1f0":0,"1f1fa":0,"1f1f2":0}},"1f1ec":{"e":1,"s":{"1f1f6":0,"1f1eb":0,"1f1e6":0,"1f1f2":0,"1f1ea":0,"1f1ed":0,"1f1ee":0,"1f1f7":0,"1f1f1":0,"1f1e9":0,"1f1f5":0,"1f1fa":0,"1f1f9":0,"1f1ec":0,"1f1f3":0,"1f1fc":0,"1f1fe":0,"1f1f8":0,"1f1e7":0}},"1f1eb":{"e":1,"s":{"1f1f0":0,"1f1f4":0,"1f1ef":0,"1f1ee":0,"1f1f7":0,"1f1f2":0}},"1f1ea":{"e":1,"s":{"1f1e8":0,"1f1ec":0,"1f1f7":0,"1f1ea":0,"1f1f9":0,"1f1fa":0,"1f1f8":0,"1f1ed":0,"1f1e6":0}},"1f1e9":{"e":1,"s":{"1f1ff":0,"1f1f0":0,"1f1ef":0,"1f1f2":0,"1f1f4":0,"1f1ea":0,"1f1ec":0}},"1f1e8":{"e":1,"s":{"1f1f2":0,"1f1e6":0,"1f1fb":0,"1f1eb":0,"1f1f1":0,"1f1f3":0,"1f1fd":0,"1f1e8":0,"1f1f4":0,"1f1ec":0,"1f1e9":0,"1f1f0":0,"1f1f7":0,"1f1ee":0,"1f1fa":0,"1f1fc":0,"1f1fe":0,"1f1ff":0,"1f1ed":0,"1f1f5":0}},"1f1e7":{"e":1,"s":{"1f1f8":0,"1f1ed":0,"1f1e9":0,"1f1e7":0,"1f1fe":0,"1f1ea":0,"1f1ff":0,"1f1ef":0,"1f1f2":0,"1f1f9":0,"1f1f4":0,"1f1e6":0,"1f1fc":0,"1f1f7":0,"1f1f3":0,"1f1ec":0,"1f1eb":0,"1f1ee":0,"1f1f6":0,"1f1f1":0,"1f1fb":0}},"1f1e6":{"e":1,"s":{"1f1eb":0,"1f1fd":0,"1f1f1":0,"1f1f8":0,"1f1e9":0,"1f1f4":0,"1f1ee":0,"1f1f6":0,"1f1ec":0,"1f1f7":0,"1f1f2":0,"1f1fc":0,"1f1fa":0,"1f1f9":0,"1f1ff":0,"1f1ea":0,"1f1e8":0}},"1f697":0,"1f695":0,"1f699":0,"1f68c":0,"1f68e":0,"1f3ce":0,"1f693":0,"1f691":0,"1f692":0,"1f690":0,"1f69a":0,"1f69b":0,"1f69c":0,"1f6f4":0,"1f6b2":0,"1f6f5":0,"1f3cd":0,"1f6a8":0,"1f694":0,"1f68d":0,"1f698":0,"1f696":0,"1f6a1":0,"1f6a0":0,"1f69f":0,"1f683":0,"1f68b":0,"1f69e":0,"1f69d":0,"1f684":0,"1f685":0,"1f688":0,"1f682":0,"1f686":0,"1f687":0,"1f68a":0,"1f689":0,"1f6eb":0,"1f6ec":0,"1f6e9":0,"1f4ba":0,"1f9f3":0,"1f6f0":0,"1f680":0,"1f6f8":0,"1f681":0,"1f6f6":0,"26f5":0,"1f6a4":0,"1f6e5":0,"1f6f3":0,"26f4":0,"1f6a2":0,"26fd":0,"1f6a7":0,"1f6a6":0,"1f6a5":0,"1f68f":0,"1f5fa":0,"1f5ff":0,"1f5fd":0,"1f5fc":0,"1f3f0":0,"1f3ef":0,"1f3df":0,"1f3a1":0,"1f3a2":0,"1f3a0":0,"26f2":0,"26f1":0,"1f3d6":0,"1f3dd":0,"1f3dc":0,"1f30b":0,"26f0":0,"1f3d4":0,"1f5fb":0,"1f3d5":0,"26fa":0,"1f3e0":0,"1f3e1":0,"1f3d8":0,"1f3da":0,"1f3d7":0,"1f3ed":0,"1f3e2":0,"1f3ec":0,"1f3e3":0,"1f3e4":0,"1f3e5":0,"1f3e6":0,"1f3e8":0,"1f3ea":0,"1f3eb":0,"1f3e9":0,"1f492":0,"1f3db":0,"26ea":0,"1f54c":0,"1f54d":0,"1f54b":0,"26e9":0,"1f6e4":0,"1f6e3":0,"1f5fe":0,"1f391":0,"1f3de":0,"1f305":0,"1f304":0,"1f320":0,"1f387":0,"1f386":0,"1f9e8":0,"1f307":0,"1f306":0,"1f3d9":0,"1f303":0,"1f30c":0,"1f309":0,"1f512":0,"1f513":0,"1f301":0,"1f3f3":{"e":1,"s":{"fe0f":{"e":0,"s":{"200d":{"e":0,"s":{"1f308":0}}}}}},"1f3f4":{"e":1,"s":{"200d":{"e":0,"s":{"2620":{"e":0,"s":{"fe0f":0}}}},"e0067":{"e":1,"s":{"e0062":{"e":1,"s":{"e0065":{"e":0,"s":{"e006e":{"e":0,"s":{"e0067":{"e":0,"s":{"e007f":0}}}}}},"e0073":{"e":0,"s":{"e0063":{"e":0,"s":{"e0074":{"e":0,"s":{"e007f":0}}}}}},"e0077":{"e":0,"s":{"e006c":{"e":0,"s":{"e0073":{"e":0,"s":{"e007f":0}}}}}}}}}}}},"1f3c1":0,"1f6a9":0,"1f38c":0,"1f3fb":0,"1f3fc":0,"1f3fd":0,"1f3fe":0,"1f3ff":0}}')}},__webpack_module_cache__={};function __webpack_require__(e){if(__webpack_module_cache__[e])return __webpack_module_cache__[e].exports;var t=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(t.exports,t,t.exports,__webpack_require__),t.exports}return __webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);__webpack_require__.r(n);var i={};if(2&t&&"object"==typeof e&&e)for(const t in e)i[t]=()=>e[t];return i.default=()=>e,__webpack_require__.d(n,i),n},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__(293)})()}));
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: chat plugin, live chat, live help, live support, wordpress live chat
4
  Requires at least: 5.3
5
  Tested up to: 5.8
6
  Requires PHP: 5.4
7
- Stable tag: 9.4.0
8
  License: GPLv2
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
  Text Domain: wp-live-chat-support
@@ -65,7 +65,7 @@ Connect with your website visitors for free with the 3CX Live Chat plugin. With
65
  Get [3CX Live Chat](https://www.3cx.com/live-chat/free-wordpress-plugin/) for free!
66
 
67
  = 30 seconds live chat installation =
68
- Our live chat plugin is quick and easy to install and configure and instantly gives you the ability to chat directly with website visitors in real-time. The user-friendly setup wizard makes installation simple and our comprehensive guides ensure you have everything you need to fully customize the plugin.
69
 
70
  = Quick Overview =
71
  Agents can initiate a live chat with a visitor or vice versa. Once the live chat plugin is activated, click on “Live Chat” in the left menu navigation. When a visitor lands on your website, their details will be displayed in the live chat control panel. They can start a conversation by entering their details in the live chat box displayed on their screen and clicking “Start chat”. A notification will play in your live chat control panel. Once you accept the chat, you can converse with your visitor. Increase your website conversion rates by providing real time live support and assistance.
@@ -139,7 +139,14 @@ Huge update with over 300 changes that include: Bugfixes, Vulnerability Fixes &
139
 
140
  == Changelog ==
141
 
142
- = 9.4.0 - 2021-09-24 =
 
 
 
 
 
 
 
143
  * Improved file attachment handling for agent/visitor.
144
  * Fixed Gutenberg block functionality.
145
  * Improved agent's chat page user interface.
@@ -206,46 +213,46 @@ Huge update with over 300 changes that include: Bugfixes, Vulnerability Fixes &
206
  * Fixed issue not showing exception in case of a non-valid attachment uploaded by the visitor.
207
 
208
  = 9.2.1 - 2020-12-23 =
209
- * Adjusted default popout behavior on 3CX mode.
210
- * Fixed “New Message” tab notification to be shown only after the visitor engaged on chat.
211
- * Fixed special characters set on welcome message not shown properly on popout window for 3CX mode.
212
- * Fixed issue of not passing all parameters to the popout window for 3CX mode.
213
- * Security fixes.
214
 
215
  = 9.2.0 - 2020-12-15 =
216
- * Revamped offline form to be of conversation style.
217
- * Added greeting functionality that can be configured for Online and Offline mode.
218
- * Added indicator on minimized bubble for unread messages.
219
- * Added a variable for the visitor name that can be used for messages, e.g Welcome message.
220
- * Fixed issue with chat not fit on screen when video activated.
221
- * Fixed spacing on “is typing”
222
  * Improved the visual presentation custom fields to the agents on “Standard - No 3CX” mode.
223
- * Fixed issue with flickering screen when switching between conversations
224
- * Adjusted UI to hide the arrow from consecutive conversations when they are coming from the same end.
225
- * Fixed issue with offline form not shown on “Standard - No 3CX” mode when specific times are set on Chat Operating Hours options.
226
- * Fixed issue with hanging in case that offline form failed to submit.
227
- * Fixed issue with agent faulty refresh on “Standard - No 3CX” mode.
228
  * Fixed issue with file attachment send remains hanging on “Standard - No 3CX” mode.
229
- * Fixed issue with chat ended message not being configurable.
230
  * Improved the handling of chats in case of inactivity or missed chats on “Standard - No 3CX” mode.
231
- * Fixed issue of not hiding the minimized bubble in case of Phone Only mode when configuration is not valid or offline.
232
- * Fixed issue with animation repetition on each user action.
233
- * Fixed issue of not properly wrapping date/time inside the chat message box.
234
- * Fixed issue of not resizing properly the chat window on iOS and Safari browser.
235
- * Fixed issue with default visitor name configuration.
236
- * Fixed issue with scrolling on Android devices.
237
- * Fixed issue with chat window in caset that is configured using the percentage.
238
- * Updated incoming chat sound notification.
239
- * Fixed issue with avatar background color not respecting the chat color configuration.
240
- * Fixed issue on plugin editor with "number of chat rings" validation.
241
- * Fixed issues with “is typing” indicator flickering.
242
  * Fixed styling issue on department selection.
243
  * Adjusted status indicator on agents chat conversions for “Standard - No 3CX” mode.
244
- * Added the option to “Ignore Queue ownership” on “3CX” mode.
245
- * Added the ability to configure the profile picture prior taking ownership.
246
- * Improved “Chat Operating Hours” configuration page.
247
- * Fixed drop-downs to be of the same width.
248
- * Added support for Automated first response for “3CX” mode.
249
 
250
  = 9.1.2 - 2020-11-18 =
251
  * Hot Fix settings validation when on Hosted Mode
@@ -372,10 +379,10 @@ Huge update with over 300 changes that include: Bugfixes, Vulnerability Fixes &
372
 
373
  = 9.0.5 - 2020-07-22 =
374
  * Fix bug responsible for faulty roles migration from older version.
375
- * Fix chat list rendering on agent online - offline toggle.
376
 
377
  = 9.0.4 - 2020-07-21 =
378
- * Fix UTF8 characters on settings.
379
  * Fix bug on ajax calls due to trailing slash.
380
  * Fix bug on received files load on chat client.
381
  * Added missing functions prefix to isolate them from external calls.
4
  Requires at least: 5.3
5
  Tested up to: 5.8
6
  Requires PHP: 5.4
7
+ Stable tag: 9.4.1
8
  License: GPLv2
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
  Text Domain: wp-live-chat-support
65
  Get [3CX Live Chat](https://www.3cx.com/live-chat/free-wordpress-plugin/) for free!
66
 
67
  = 30 seconds live chat installation =
68
+ Our live chat plugin is free, quick and easy to install and configure, to instantly give you the ability to chat directly with website visitors in real-time.
69
 
70
  = Quick Overview =
71
  Agents can initiate a live chat with a visitor or vice versa. Once the live chat plugin is activated, click on “Live Chat” in the left menu navigation. When a visitor lands on your website, their details will be displayed in the live chat control panel. They can start a conversation by entering their details in the live chat box displayed on their screen and clicking “Start chat”. A notification will play in your live chat control panel. Once you accept the chat, you can converse with your visitor. Increase your website conversion rates by providing real time live support and assistance.
139
 
140
  == Changelog ==
141
 
142
+ = 9.4.1 - 2021-11-03 =
143
+ * Fixed issue on sound notification played even if it is disabled on settings.
144
+ * Fixed issue on Operation Hours related to caching.
145
+ * Fixed issue on Operating Hours in case that server is configured in +/- time zones more than 5.
146
+ * Fixed issue on “New Message” shown when session terminated by the user.
147
+ * Fixed issue on “Phone Only” mode in case that “Allow Chat” is disabled on PBX.
148
+
149
+ = 9.4.0 - 2021-08-06 =
150
  * Improved file attachment handling for agent/visitor.
151
  * Fixed Gutenberg block functionality.
152
  * Improved agent's chat page user interface.
213
  * Fixed issue not showing exception in case of a non-valid attachment uploaded by the visitor.
214
 
215
  = 9.2.1 - 2020-12-23 =
216
+ * Adjusted default popout behavior on 3CX mode.
217
+ * Fixed “New Message” tab notification to be shown only after the visitor engaged on chat.
218
+ * Fixed special characters set on welcome message not shown properly on popout window for 3CX mode.
219
+ * Fixed issue of not passing all parameters to the popout window for 3CX mode.
220
+ * Security fixes.
221
 
222
  = 9.2.0 - 2020-12-15 =
223
+ * Revamped offline form to be of conversation style.
224
+ * Added greeting functionality that can be configured for Online and Offline mode.
225
+ * Added indicator on minimized bubble for unread messages.
226
+ * Added a variable for the visitor name that can be used for messages, e.g Welcome message.
227
+ * Fixed issue with chat not fit on screen when video activated.
228
+ * Fixed spacing on “is typing”
229
  * Improved the visual presentation custom fields to the agents on “Standard - No 3CX” mode.
230
+ * Fixed issue with flickering screen when switching between conversations
231
+ * Adjusted UI to hide the arrow from consecutive conversations when they are coming from the same end.
232
+ * Fixed issue with offline form not shown on “Standard - No 3CX” mode when specific times are set on Chat Operating Hours options.
233
+ * Fixed issue with hanging in case that offline form failed to submit.
234
+ * Fixed issue with agent faulty refresh on “Standard - No 3CX” mode.
235
  * Fixed issue with file attachment send remains hanging on “Standard - No 3CX” mode.
236
+ * Fixed issue with chat ended message not being configurable.
237
  * Improved the handling of chats in case of inactivity or missed chats on “Standard - No 3CX” mode.
238
+ * Fixed issue of not hiding the minimized bubble in case of Phone Only mode when configuration is not valid or offline.
239
+ * Fixed issue with animation repetition on each user action.
240
+ * Fixed issue of not properly wrapping date/time inside the chat message box.
241
+ * Fixed issue of not resizing properly the chat window on iOS and Safari browser.
242
+ * Fixed issue with default visitor name configuration.
243
+ * Fixed issue with scrolling on Android devices.
244
+ * Fixed issue with chat window in caset that is configured using the percentage.
245
+ * Updated incoming chat sound notification.
246
+ * Fixed issue with avatar background color not respecting the chat color configuration.
247
+ * Fixed issue on plugin editor with "number of chat rings" validation.
248
+ * Fixed issues with “is typing” indicator flickering.
249
  * Fixed styling issue on department selection.
250
  * Adjusted status indicator on agents chat conversions for “Standard - No 3CX” mode.
251
+ * Added the option to “Ignore Queue ownership” on “3CX” mode.
252
+ * Added the ability to configure the profile picture prior taking ownership.
253
+ * Improved “Chat Operating Hours” configuration page.
254
+ * Fixed drop-downs to be of the same width.
255
+ * Added support for Automated first response for “3CX” mode.
256
 
257
  = 9.1.2 - 2020-11-18 =
258
  * Hot Fix settings validation when on Hosted Mode
379
 
380
  = 9.0.5 - 2020-07-22 =
381
  * Fix bug responsible for faulty roles migration from older version.
382
+ * Fix chat list rendering on agent online - offline toggle.
383
 
384
  = 9.0.4 - 2020-07-21 =
385
+ * Fix UTF8 characters on settings.
386
  * Fix bug on ajax calls due to trailing slash.
387
  * Fix bug on received files load on chat client.
388
  * Added missing functions prefix to isolate them from external calls.
wp-live-chat-support.php CHANGED
@@ -3,12 +3,12 @@
3
  Plugin Name: 3CX Live Chat
4
  Plugin URI: https://www.3cx.com/wp-live-chat/
5
  Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with 3CX Live Chat.
6
- Version: 9.4.0
7
  Author: 3CX
8
  Author URI: https://www.3cx.com/wp-live-chat/
9
  Domain Path: /languages
10
  License: GPLv2 or later
11
- License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
 
14
  use Leafo\ScssPhp\Compiler;
3
  Plugin Name: 3CX Live Chat
4
  Plugin URI: https://www.3cx.com/wp-live-chat/
5
  Description: The easiest to use website live chat plugin. Let your visitors chat with you and increase sales conversion rates with 3CX Live Chat.
6
+ Version: 9.4.1
7
  Author: 3CX
8
  Author URI: https://www.3cx.com/wp-live-chat/
9
  Domain Path: /languages
10
  License: GPLv2 or later
11
+ License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
  */
13
 
14
  use Leafo\ScssPhp\Compiler;