Changeset 3369470
- Timestamp:
- 09/29/2025 07:04:32 AM (6 months ago)
- Location:
- valorpos
- Files:
-
- 18 edited
- 1 copied
-
tags/8.2.4 (copied) (copied from valorpos/trunk)
-
tags/8.2.4/README.txt (modified) (2 diffs)
-
tags/8.2.4/includes/class-wc-valorpay-api.php (modified) (3 diffs)
-
tags/8.2.4/includes/class-wc-valorpay-gateway-addons-blocks-support.php (modified) (1 diff)
-
tags/8.2.4/includes/class-wc-valorpay-gateway.php (modified) (3 diffs)
-
tags/8.2.4/languages/wc-valorpay.pot (modified) (22 diffs)
-
tags/8.2.4/public/js/build/wc-valorpay.asset.php (modified) (1 diff)
-
tags/8.2.4/public/js/build/wc-valorpay.js (modified) (12 diffs)
-
tags/8.2.4/public/js/build/wc-valorpay.js.map (modified) (1 diff)
-
tags/8.2.4/wc-valorpay.php (modified) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/includes/class-wc-valorpay-api.php (modified) (3 diffs)
-
trunk/includes/class-wc-valorpay-gateway-addons-blocks-support.php (modified) (1 diff)
-
trunk/includes/class-wc-valorpay-gateway.php (modified) (3 diffs)
-
trunk/languages/wc-valorpay.pot (modified) (22 diffs)
-
trunk/public/js/build/wc-valorpay.asset.php (modified) (1 diff)
-
trunk/public/js/build/wc-valorpay.js (modified) (12 diffs)
-
trunk/public/js/build/wc-valorpay.js.map (modified) (1 diff)
-
trunk/wc-valorpay.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
valorpos/tags/8.2.4/README.txt
r3325387 r3369470 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.0 7 Stable tag: 8.2. 37 Stable tag: 8.2.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 43 43 44 44 == Changelog == 45 = 8.2.4 = 46 * Added PO Number for L2 Authorization. 47 45 48 = 8.2.3 = 46 49 * Remove port number from staging URL. -
valorpos/tags/8.2.4/includes/class-wc-valorpay-api.php
r3325387 r3369470 443 443 $valorpay_avs_street = ( isset( $_POST['valorpay_avs_street'] ) && $_POST['valorpay_avs_street'] ) ? sanitize_text_field( wp_unslash( $_POST['valorpay_avs_street'] ) ) : wc_clean( $billing_address ); // phpcs:ignore 444 444 $valorpay_terms = ( isset( $_POST['valorpay_terms'] ) && $_POST['valorpay_terms'] ) ? 1 : 0; // phpcs:ignore 445 $valorpay_po_number = ( isset( $_POST['valorpay_po_number'] ) && $_POST['valorpay_po_number'] ) ? sanitize_text_field( wp_unslash( $_POST['valorpay_po_number'] ) ) : ''; // phpcs:ignore 445 446 446 447 $card_number = str_replace( ' ', '', ( isset( $_POST['wc_valorpay-card-number'] ) ) ? sanitize_text_field( wp_unslash( $_POST['wc_valorpay-card-number'] ) ) : '' ); // phpcs:ignore … … 466 467 'terms_checked' => $valorpay_terms, 467 468 'ecomm_channel' => self::WC_VALORPAY_ECOMM_CHANNEL, 469 'po_number' => $valorpay_po_number, 468 470 ) + $surcharge_data; 469 471 … … 525 527 } 526 528 } 527 // Add QB sync data. 529 530 if ( 'yes' === $this->gateway->enable_l2_l3 && ! empty( $valorpay_po_number ) ) { 531 $data['po_number'] = $valorpay_po_number; 532 } 533 // Add QB sync data. 528 534 if ( 'yes' === $this->gateway->enable_qb_sync ) { 529 535 $data['is_sync_qb'] = 1; -
valorpos/tags/8.2.4/includes/class-wc-valorpay-gateway-addons-blocks-support.php
r3284557 r3369470 114 114 'is_ach_enable' => $this->get_setting( 'enable_ach' ) === 'yes', 115 115 'is_gift_card_enable' => $this->get_setting( 'enable_gift_support' ) === 'yes', 116 'is_enable_l2_l3' => $this->get_setting( 'enable_l2_l3' ) === 'yes', 116 117 ); 117 118 } -
valorpos/tags/8.2.4/includes/class-wc-valorpay-gateway.php
r3304689 r3369470 1178 1178 // Call the sale or authorization API. 1179 1179 $response = $valorpay_api->purchase( $order, $amount, $card, $token_id ); 1180 if ( isset( $_POST['valorpay_po_number_nonce'] ) 1181 && wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['valorpay_po_number_nonce'] ) ), 'valorpay_po_number_action' ) ) { 1182 1183 $po_number = isset( $_POST['valorpay_po_number'] ) 1184 ? sanitize_text_field( wp_unslash( $_POST['valorpay_po_number'] ) ) 1185 : ''; 1186 } else { 1187 // Nonce check failed — handle as needed (maybe exit or ignore). 1188 $po_number = isset( $_POST['valorpay_po_number'] ) 1189 ? sanitize_text_field( wp_unslash( $_POST['valorpay_po_number'] ) ) 1190 : ''; 1191 } 1180 1192 if ( isset( $response->error_no ) && 'S00' === $response->error_no ) { 1181 1193 $trans_id = $response->txnid; … … 1184 1196 $amount_approved = number_format( $amount, '2', '.', '' ); 1185 1197 $message = 'auth' === $this->payment_action ? 'authorized' : 'completed'; 1186 $order->add_order_note( 1187 sprintf( 1188 /* translators: 1: Error Message, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number. */ 1189 __( 'Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s', 'wc-valorpay' ), 1190 $message, 1191 $amount_approved, 1192 "\n\n", 1193 $response->approval_code, 1194 "\n\n", 1195 $response->rrn 1196 ) 1197 ); 1198 $enable_l2_l3 = $this->get_option( 'enable_l2_l3', 'no' ); 1199 if ( 'yes' === $enable_l2_l3 ) { 1200 // With PO Number. 1201 $order->add_order_note( 1202 sprintf( 1203 /* translators: 1: Status, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number, 7: Line Break, 8: PO Number. */ 1204 __( 'Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s.%7$s <strong>PO Number:</strong> %8$s', 'wc-valorpay' ), 1205 $message, 1206 $amount_approved, 1207 "\n\n", 1208 $response->approval_code, 1209 "\n\n", 1210 $response->rrn, 1211 "\n\n", 1212 $po_number ? $po_number : __( 'N/A', 'wc-valorpay' ) 1213 ) 1214 ); 1215 } else { 1216 // Without PO Number. 1217 $order->add_order_note( 1218 sprintf( 1219 /* translators: 1: Status, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number. */ 1220 __( 'Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s', 'wc-valorpay' ), 1221 $message, 1222 $amount_approved, 1223 "\n\n", 1224 $response->approval_code, 1225 "\n\n", 1226 $response->rrn 1227 ) 1228 ); 1229 } 1198 1230 // Save the card if possible . 1199 1231 if ( is_user_logged_in() && isset( $_POST['wc-wc_valorpay-new-payment-method'] ) && sanitize_text_field( wp_unslash( $_POST['wc-wc_valorpay-new-payment-method'] ) ) && isset( $_POST['wc_valorpay-card-expiry'] ) && sanitize_text_field( wp_unslash( $_POST['wc_valorpay-card-expiry'] ) ) ) { // phpcs:ignore … … 1216 1248 'rrn' => $response->rrn, 1217 1249 'approval_code' => $response->approval_code, 1250 'po_number' => $po_number, 1218 1251 ); 1219 1252 $order->add_meta_data( '_valorpay_transaction', $tran_meta ); -
valorpos/tags/8.2.4/languages/wc-valorpay.pot
r3325387 r3369470 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Valor Pay 8.2. 3\n"5 "Project-Id-Version: Valor Pay 8.2.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/valorpos\n" 7 7 "Last-Translator: Valor Paytech LLC <isvsupport@valorpaytech.com>\n" … … 11 11 "Content-Transfer-Encoding: 8bit\n" 12 12 "POT-Creation-Date: 2024-11-05T11:19:31+05:30\n" 13 "PO-Revision-Date: 2025-0 7-08T06:56:49+00:00\n"14 "X-Generator: WP-CLI 2. 7.1\n"13 "PO-Revision-Date: 2025-09-29T11:25:07+05:30\n" 14 "X-Generator: WP-CLI 2.12.0\n" 15 15 "X-Domain: wc-valorpay\n" 16 16 17 17 #. Plugin Name of the plugin 18 #: wc-valorpay.php 18 19 #: includes/class-wc-valorpay-gateway.php:730 19 #: public/js/build/wc-valorpay.js:58 0720 #: public/js/build/wc-valorpay.js:5 16020 #: public/js/build/wc-valorpay.js:5864 21 #: public/js/build/wc-valorpay.js:5230 21 22 msgid "Valor Pay" 22 23 msgstr "" … … 24 25 #. Plugin URI of the plugin 25 26 #. Author URI of the plugin 27 #: wc-valorpay.php 26 28 msgid "https://valorpaytech.com" 27 29 msgstr "" 28 30 29 31 #. Description of the plugin 32 #: wc-valorpay.php 30 33 msgid "Adds the Valor Payment Gateway to WooCommerce." 31 34 msgstr "" 32 35 33 36 #. Author of the plugin 37 #: wc-valorpay.php 34 38 msgid "Valor Paytech LLC" 35 39 msgstr "" … … 64 68 #. translators: 1: Email Address, 2: Mobile Number 65 69 #: admin/class-wc-valorpay-admin.php:266 70 #, php-format 66 71 msgid "OTP sent to your registered Email Address %1$s and Mobile Number %2$s" 67 72 msgstr "" … … 140 145 #: includes/class-wc-valorpay-api.php:364 141 146 #: includes/class-wc-valorpay-api.php:371 142 #: includes/class-wc-valorpay-api.php:821 143 #: includes/class-wc-valorpay-api.php:831 144 #: includes/class-wc-valorpay-api.php:859 147 #: includes/class-wc-valorpay-api.php:827 148 #: includes/class-wc-valorpay-api.php:837 145 149 #: includes/class-wc-valorpay-api.php:865 150 #: includes/class-wc-valorpay-api.php:871 146 151 msgid "Sorry, we're unable to create a card token right now." 147 152 msgstr "" … … 152 157 msgstr "" 153 158 154 #: includes/class-wc-valorpay-api.php:7 55155 #: includes/class-wc-valorpay-api.php:76 0156 #: includes/class-wc-valorpay-api.php:7 68157 #: includes/class-wc-valorpay-api.php:77 2158 #: includes/class-wc-valorpay-api.php:10 15159 #: includes/class-wc-valorpay-api.php:761 160 #: includes/class-wc-valorpay-api.php:766 161 #: includes/class-wc-valorpay-api.php:774 162 #: includes/class-wc-valorpay-api.php:778 163 #: includes/class-wc-valorpay-api.php:1021 159 164 msgid "There was a problem connecting to the payment gateway." 160 165 msgstr "" … … 163 168 #: includes/class-wc-valorpay-gateway-addons-blocks-support.php:90 164 169 #: includes/class-wc-valorpay-gateway.php:646 170 #, php-format 165 171 msgid "I agree to the <a href=\"%s\" target=\"_blank\">Terms and Conditions</a>" 166 172 msgstr "" … … 253 259 #: includes/class-wc-valorpay-gateway-addons.php:238 254 260 #: includes/class-wc-valorpay-gateway-addons.php:289 261 #, php-format 255 262 msgid "Payment processing failed. Reason: %s" 256 263 msgstr "" … … 259 266 #: includes/class-wc-valorpay-gateway-addons.php:264 260 267 #: includes/class-wc-valorpay-gateway.php:1056 268 #, php-format 261 269 msgid "Valor Pay %1$s for %2$s.%3$s <strong>Desc:</strong> %4$s.%5$s <strong>Reference Number:</strong> %6$s.%7$s <strong>Document ID:</strong> %8$s.%9$s <strong>Routing Number:</strong> %10$s.%11$s <strong>Account Number:</strong> %12$s" 262 270 msgstr "" … … 264 272 #. translators: 1: Error Message, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number. 265 273 #: includes/class-wc-valorpay-gateway-addons.php:308 274 #, php-format 266 275 msgid "Valor Pay completed for %1$s.%2$s <strong>Approval Code:</strong> %3$s.%4$s <strong>RRN:</strong> %5$s" 267 276 msgstr "" … … 276 285 277 286 #: includes/class-wc-valorpay-gateway.php:271 278 #: public/js/build/wc-valorpay.js: 5992279 #: public/js/build/wc-valorpay.js:5 372287 #: public/js/build/wc-valorpay.js:6058 288 #: public/js/build/wc-valorpay.js:5451 280 289 msgid "TEST MODE ENABLED. Use test card number 4111111111111111 with 999 as CVC and a future expiration date." 281 290 msgstr "" … … 291 300 #. translators: %s: Settings URL. 292 301 #: includes/class-wc-valorpay-gateway.php:310 302 #, php-format 293 303 msgid "Valor Pay error: The APP ID is required. %s" 294 304 msgstr "" … … 302 312 #. translators: %s: Settings URL. 303 313 #: includes/class-wc-valorpay-gateway.php:321 314 #, php-format 304 315 msgid "Valor Pay error: The APP KEY is required. %s" 305 316 msgstr "" … … 307 318 #. translators: %s: Settings URL. 308 319 #: includes/class-wc-valorpay-gateway.php:330 320 #, php-format 309 321 msgid "Valor Pay error: The EPI is required. %s" 310 322 msgstr "" … … 622 634 #. translators: 1: Tracker URL. 623 635 #: includes/class-wc-valorpay-gateway.php:918 636 #, php-format 624 637 msgid "Disable the payment method in the checkout page for failed transactions. <a id=\"valorpay-goto-tracker\" href=\"%s\">Unblock IP</a>" 625 638 msgstr "" … … 695 708 #. translators: 1: Maximum percentage. 696 709 #: includes/class-wc-valorpay-gateway.php:980 710 #, php-format 697 711 msgid "Surcharge percentage cannot be more than %s" 698 712 msgstr "" … … 700 714 #. translators: 1: Maximum flat rate. 701 715 #: includes/class-wc-valorpay-gateway.php:985 716 #, php-format 702 717 msgid "Surcharge flat rate cannot be more than %s" 703 718 msgstr "" … … 710 725 #: includes/class-wc-valorpay-gateway.php:1093 711 726 #: includes/class-wc-valorpay-gateway.php:1096 712 #: includes/class-wc-valorpay-gateway.php:1234 713 #: includes/class-wc-valorpay-gateway.php:1237 714 #: includes/class-wc-valorpay-gateway.php:1311 715 #: includes/class-wc-valorpay-gateway.php:1314 727 #: includes/class-wc-valorpay-gateway.php:1267 728 #: includes/class-wc-valorpay-gateway.php:1270 729 #: includes/class-wc-valorpay-gateway.php:1344 730 #: includes/class-wc-valorpay-gateway.php:1347 731 #, php-format 716 732 msgid "Payment error: %s" 717 733 msgstr "" 718 734 719 735 #: includes/class-wc-valorpay-gateway.php:1098 720 #: includes/class-wc-valorpay-gateway.php:12 39721 #: includes/class-wc-valorpay-gateway.php:13 16736 #: includes/class-wc-valorpay-gateway.php:1272 737 #: includes/class-wc-valorpay-gateway.php:1349 722 738 msgid "Unable to process the transaction using Valor Pay, please try again." 723 739 msgstr "" … … 735 751 msgstr "" 736 752 753 #. translators: 1: Status, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number, 7: Line Break, 8: PO Number. 754 #: includes/class-wc-valorpay-gateway.php:1204 755 #, php-format 756 msgid "Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s.%7$s <strong>PO Number:</strong> %8$s" 757 msgstr "" 758 759 #: includes/class-wc-valorpay-gateway.php:1212 760 msgid "N/A" 761 msgstr "" 762 763 #. translators: 1: Status, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number. 737 764 #. translators: 1: Error Message, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number. 738 #: includes/class-wc-valorpay-gateway.php:1189 739 #: includes/class-wc-valorpay-gateway.php:1284 765 #: includes/class-wc-valorpay-gateway.php:1220 766 #: includes/class-wc-valorpay-gateway.php:1317 767 #, php-format 740 768 msgid "Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s" 741 769 msgstr "" 742 770 743 #: includes/class-wc-valorpay-gateway.php:1 269771 #: includes/class-wc-valorpay-gateway.php:1302 744 772 msgid "Payment error: Subscription products are not allowed in gift card sales" 745 773 msgstr "" 746 774 747 #: includes/class-wc-valorpay-gateway.php:1 270775 #: includes/class-wc-valorpay-gateway.php:1303 748 776 msgid "Subscription products are not allowed in gift card sales. Please remove the subscription product and try again." 749 777 msgstr "" 750 778 751 779 #. translators: 1: Disable Time, 2: Unblock IP URL, 3: Customer IP. 752 #: includes/class-wc-valorpay-gateway.php:1424 780 #: includes/class-wc-valorpay-gateway.php:1457 781 #, php-format 753 782 msgid "Valor Pay method is disabled for %1$s. <a target=\"_blank\" href=\"%2$s\">To Unblock IP</a> %3$s" 754 783 msgstr "" 755 784 756 #: includes/class-wc-valorpay-gateway.php:1 487785 #: includes/class-wc-valorpay-gateway.php:1520 757 786 msgid "Refund failed." 758 787 msgstr "" 759 788 760 789 #. translators: 1: Amount, 2: Line Break, 3: Approval code, 4: Line Break, 5: RRN Code 761 #: includes/class-wc-valorpay-gateway.php:1499 790 #: includes/class-wc-valorpay-gateway.php:1532 791 #, php-format 762 792 msgid "Valor Pay Refund for %1$s.%2$s <strong>Approval Code:</strong> %3$s.%4$s <strong>RRN:</strong> %5$s" 763 793 msgstr "" 764 794 765 #: includes/class-wc-valorpay-gateway.php:15 20795 #: includes/class-wc-valorpay-gateway.php:1553 766 796 msgid "Saving to Account Is Disabled." 767 797 msgstr "" 768 798 769 #: includes/class-wc-valorpay-gateway.php:15 31799 #: includes/class-wc-valorpay-gateway.php:1564 770 800 msgid "Initial card can only be added from the checkout page." 771 801 msgstr "" 772 802 773 803 #. translators: %s: Error add payment profile from API. 774 #: includes/class-wc-valorpay-gateway.php:1545 775 #: includes/class-wc-valorpay-gateway.php:1620 804 #: includes/class-wc-valorpay-gateway.php:1578 805 #: includes/class-wc-valorpay-gateway.php:1653 806 #, php-format 776 807 msgid "Error Vault Card Add: %s" 777 808 msgstr "" 778 809 779 810 #. translators: %s: Error add payment profile from API. 780 #: includes/class-wc-valorpay-gateway.php:1603 811 #: includes/class-wc-valorpay-gateway.php:1636 812 #, php-format 781 813 msgid "Error Vault Customer Add: %s" 782 814 msgstr "" 783 815 784 816 #. translators: %s: Vault ID. 785 #: includes/class-wc-valorpay-gateway.php:1607 817 #: includes/class-wc-valorpay-gateway.php:1640 818 #, php-format 786 819 msgid "Vault customer added to vault id: %s" 787 820 msgstr "" 788 821 789 #: includes/class-wc-valorpay-gateway.php:16 22822 #: includes/class-wc-valorpay-gateway.php:1655 790 823 msgid "Card added to vault." 791 824 msgstr "" 792 825 793 826 #. translators: 1: Card Brand 2: Last 4 digits 3: 794 #: includes/class-wc-valorpay-gateway.php:1674 827 #: includes/class-wc-valorpay-gateway.php:1707 828 #, php-format 795 829 msgid "%1$s ending in %2$s" 796 830 msgstr "" … … 837 871 838 872 #: public/class-wc-valorpay-public.php:198 839 #: public/js/build/wc-valorpay.js:5 768840 #: public/js/build/wc-valorpay.js:51 10873 #: public/js/build/wc-valorpay.js:5825 874 #: public/js/build/wc-valorpay.js:5180 841 875 msgid "Valor Pay is disabled due to multiple payment failures." 842 876 msgstr "" … … 905 939 #: public/js/build/wc-valorpay.js:321 906 940 #: public/js/build/wc-valorpay.js:630 907 #: public/js/build/wc-valorpay.js: 5968908 #: public/js/build/wc-valorpay.js:61 06941 #: public/js/build/wc-valorpay.js:6034 942 #: public/js/build/wc-valorpay.js:6182 909 943 #: public/js/build/wc-valorpay.js:223 910 944 #: public/js/build/wc-valorpay.js:514 911 #: public/js/build/wc-valorpay.js:5 336912 #: public/js/build/wc-valorpay.js:55 01945 #: public/js/build/wc-valorpay.js:5415 946 #: public/js/build/wc-valorpay.js:5590 913 947 msgid "Please provide payment information" 914 948 msgstr "" … … 966 1000 msgstr "" 967 1001 968 #: public/js/build/wc-valorpay.js:5 775969 #: public/js/build/wc-valorpay.js:51 221002 #: public/js/build/wc-valorpay.js:5832 1003 #: public/js/build/wc-valorpay.js:5192 970 1004 msgid "Only debit card allowed" 971 1005 msgstr "" 972 1006 973 #: public/js/build/wc-valorpay.js:5 778974 #: public/js/build/wc-valorpay.js:51 251007 #: public/js/build/wc-valorpay.js:5835 1008 #: public/js/build/wc-valorpay.js:5195 975 1009 msgid "Only credit card allowed" 976 1010 msgstr "" 977 1011 978 #: public/js/build/wc-valorpay.js:5 843979 #: public/js/build/wc-valorpay.js:5 1991012 #: public/js/build/wc-valorpay.js:5900 1013 #: public/js/build/wc-valorpay.js:5269 980 1014 msgid "Card" 981 1015 msgstr "" 982 1016 983 #: public/js/build/wc-valorpay.js:5 848984 #: public/js/build/wc-valorpay.js:52 031017 #: public/js/build/wc-valorpay.js:5905 1018 #: public/js/build/wc-valorpay.js:5273 985 1019 msgid "ACH" 986 1020 msgstr "" 987 1021 988 #: public/js/build/wc-valorpay.js:5 854989 #: public/js/build/wc-valorpay.js:52 071022 #: public/js/build/wc-valorpay.js:5911 1023 #: public/js/build/wc-valorpay.js:5277 990 1024 msgid "Gift Card" 991 1025 msgstr "" 992 1026 993 #: public/js/build/wc-valorpay.js: 5996994 #: public/js/build/wc-valorpay.js:5 3811027 #: public/js/build/wc-valorpay.js:6062 1028 #: public/js/build/wc-valorpay.js:5460 995 1029 msgid "Fetching Card Type..." 996 1030 msgstr "" -
valorpos/tags/8.2.4/public/js/build/wc-valorpay.asset.php
r3284557 r3369470 1 <?php return array('dependencies' => array('react', 'wc-blocks-checkout', 'wc-blocks-components', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-settings', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => ' 9878e2a6e5246e3cc3b7');1 <?php return array('dependencies' => array('react', 'wc-blocks-checkout', 'wc-blocks-components', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-settings', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => '71f69e215ad31fe79911'); -
valorpos/tags/8.2.4/public/js/build/wc-valorpay.js
r3284557 r3369470 1106 1106 const zipField = react__WEBPACK_IMPORTED_MODULE_0___default().useRef(); 1107 1107 const addressField = react__WEBPACK_IMPORTED_MODULE_0___default().useRef(); 1108 const poNumberField = react__WEBPACK_IMPORTED_MODULE_0___default().useRef(); 1108 1109 1109 1110 /** ====== START: META STUFF ====== */ … … 1545 1546 }), [handleBlurAddress, handleChangeAddress, handleFocusAddress, handleKeyDownAddress]); 1546 1547 /** ====== END: ADDRESS STUFF ====== */ 1548 1549 /** ====== START: PO NUMBER STUFF ====== */ 1550 const handleBlurPONumber = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback((props = {}) => { 1551 return e => { 1552 props.onBlur && props.onBlur(e); 1553 onBlur && onBlur(e); 1554 setFocused(undefined); 1555 setInputTouched('poNumber', true); 1556 }; 1557 }, [onBlur, setInputTouched]); 1558 const handleChangePONumber = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback((props = {}) => { 1559 return e => { 1560 let value = e.target.value; 1561 value = value.replace(/[^a-zA-Z0-9]/g, ''); 1562 if (value.length > 25) { 1563 value = value.slice(0, 25); 1564 } 1565 e.target.value = value; 1566 setInputTouched('poNumber', false); 1567 props.onChange && props.onChange(e); 1568 onChange && onChange(e); 1569 1570 // You can add validation here if needed 1571 let poError; 1572 if (value && !/^[a-zA-Z0-9]{3,25}$/.test(value)) { 1573 poError = errorMessages?.poNumber || 'PO Number Must Be 3 to 25 Alpha Numeric.'; 1574 } 1575 setInputError('poNumber', poError); 1576 props.onError && props.onError(poError); 1577 }; 1578 }, [errorMessages, onChange, setInputError, setInputTouched]); 1579 const handleFocusPONumber = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback((props = {}) => { 1580 return e => { 1581 props.onFocus && props.onFocus(e); 1582 setFocused('poNumber'); 1583 }; 1584 }, []); 1585 const getPONumberProps = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback(({ 1586 refKey, 1587 ...props 1588 } = {}) => ({ 1589 autoComplete: 'off', 1590 id: 'poNumber', 1591 name: 'poNumber', 1592 placeholder: 'PO Number', 1593 type: 'text', 1594 [refKey || 'ref']: poNumberField, 1595 ...props, 1596 onBlur: handleBlurPONumber(props), 1597 onChange: handleChangePONumber(props), 1598 onFocus: handleFocusPONumber(props) 1599 }), [handleBlurPONumber, handleChangePONumber, handleFocusPONumber]); 1600 /** ====== END: PO NUMBER STUFF ====== */ 1601 1547 1602 /** ====== START: CARD IMAGE STUFF ====== */ 1548 1603 const getCardImageProps = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback((props = {}) => { … … 1618 1673 getZIPProps, 1619 1674 getStreetAddressProps, 1675 getPONumberProps, 1620 1676 wrapperProps: { 1621 1677 error, … … 1634 1690 cvcField, 1635 1691 zipField, 1636 addressField 1692 addressField, 1693 poNumberField 1637 1694 } 1638 1695 }; … … 5884 5941 paymentFields.push('streetaddress'); 5885 5942 } 5943 if (settings.is_enable_l2_l3) { 5944 paymentFields.push('poNumber'); 5945 } 5886 5946 const { 5887 5947 getCardNumberProps, … … 5891 5951 getZIPProps, 5892 5952 getStreetAddressProps, 5953 getPONumberProps, 5893 5954 wrapperProps, 5894 5955 meta: { … … 5899 5960 cvcField, 5900 5961 zipField, 5901 addressField 5962 addressField, 5963 poNumberField 5902 5964 } 5903 5965 } = (0,_hooks__WEBPACK_IMPORTED_MODULE_5__.usePaymentInputs)({ 5904 5966 avsType: settings.avs_type, 5905 5967 setIsFetchingCardType, 5906 paymentFields: paymentFields 5968 paymentFields: paymentFields, 5969 paymentFields: paymentFields.concat(['poNumber']) 5907 5970 }); 5908 5971 const { … … 5950 6013 if (settings.avs_type === 'zipandaddress' || settings.avs_type === 'zip') { 5951 6014 paymentMethodData.valorpay_avs_zip = zipField.current.value; 6015 } 6016 if (settings.is_enable_l2_l3) { 6017 paymentMethodData.valorpay_po_number = poNumberField.current.value; 5952 6018 } 5953 6019 if (settings.avs_type === 'zipandaddress' || settings.avs_type === 'address') { … … 6012 6078 }), (settings.avs_type === 'zipandaddress' || settings.avs_type === 'address') && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("input", { 6013 6079 ...getStreetAddressProps() 6080 }), settings.is_enable_l2_l3 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("input", { 6081 ...getPONumberProps() 6014 6082 })] 6015 6083 }) … … 6035 6103 paymentFields.push('streetaddress'); 6036 6104 } 6105 if (settings.is_enable_l2_l3) { 6106 paymentFields.push('poNumber'); 6107 } 6037 6108 const { 6038 6109 getZIPProps, 6039 6110 getStreetAddressProps, 6111 getPONumberProps, 6040 6112 wrapperProps, 6041 6113 meta: { 6042 6114 erroredInputs, 6043 6115 zipField, 6044 addressField 6116 addressField, 6117 poNumberField 6045 6118 } 6046 6119 } = (0,_hooks__WEBPACK_IMPORTED_MODULE_5__.usePaymentInputs)({ … … 6092 6165 paymentMethodData.valorpay_avs_street = addressField.current.value; 6093 6166 } 6167 if (settings.is_enable_l2_l3) { 6168 paymentMethodData.valorpay_po_number = poNumberField.current.value; 6169 } 6094 6170 return { 6095 6171 type: emitResponse.responseTypes.SUCCESS, … … 6135 6211 }), (settings.avs_type === 'zipandaddress' || settings.avs_type === 'address') && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("input", { 6136 6212 ...getStreetAddressProps() 6213 }), settings.is_enable_l2_l3 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("input", { 6214 ...getPONumberProps() 6137 6215 })] 6138 6216 }) -
valorpos/tags/8.2.4/public/js/build/wc-valorpay.js.map
r3284557 r3369470 1 {"version":3,"file":"wc-valorpay.js","mappings":";;;;;;;;;;;;;;;AAAuC;;AAEvC,igIAAigI;;AAEjgI,iCAAiC,4DAAO;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEkC;;;;;;;;;;;;;;;;ACdlC;AACA;AACA;AACA;AACA;AACA;AACA;;AAE8B;;;;;;;;;;;;;;;;ACR9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEmC;;;;;;;;;;;;;;;;;;AClDnC;AACA;AACA;AAC8D;;AAE9D,eAAe,kCAAkC,4CAA4C;;AAE7F;AACA;AACA;AACA,WAAW,2CAA2C;AACtD;AACA;AACA,WAAW,2CAA2C;AACtD;AACA,YAAY,cAAc;AAC1B;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,SAAS,gEAAY;AACrB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,iEAAe,8DAAU,MAAM,EAAC;AAChC;;;;;;;;;;;;;;;;;;AC9BA;AACA;AACA;AACkD;AACF;AAChD,iCAAiC,sDAAI,CAAC,sDAAG;AACzC;AACA;AACA,yBAAyB,sDAAI,CAAC,uDAAI;AAClC;AACA,GAAG;AACH,CAAC;AACD,iEAAe,WAAW,EAAC;AAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;ACb4C;AACe;AACtB;AACE;AAC4B;AACrC;AAAA;AAE9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;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;A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sCAAsC,UAAU,mBAAmB,IAAI;AAClH;;AAEO;AACP,+BAA+B,uCAAuC,YAAY,KAAK,OAAO;AAC9F;AACA;;AAEA;AACA,wCAAwC,4BAA4B;AACpE,CAAC;AACD;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP,2CAA2C;AAC3C;;AAEO;AACP;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,8CAA8C;AACnE;AACA;AACA,qBAAqB,aAAa;AAClC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E,SAAS,gBAAgB;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjXK;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACrBmE;AAC0B;AACjD;AACV;AACL;;AAEpC;AACA,WAAW,YAAY;AACvB,YAAY;AACZ;AACO;AACP,cAAc,mDAAM;;AAEpB;AACA;;AAEA,kBAAkB,YAAY;AAC9B;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,UAAU;AACrB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB;AACO;AACP;AACA;A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,oBAAOxb,uDAAA,CAACqb,QAAQ;MAAA,GAAK7a;IAAK,CAAG,CAAC;EAC/B;EACA,oBAAOR,uDAAA,CAACgb,IAAI;IAAA,GAAKxa;EAAK,CAAG,CAAC;AAC3B,CAAC;;AAED;AACA;AACA;AACA,MAAMmd,QAAQ,GAAG;EAChB5N,IAAI,EAAE,aAAa;EACnBlJ,KAAK,eAAE7G,uDAAA,CAACmd,KAAK,IAAE,CAAC;EAChBS,SAAS,EAAE,aAAa;EACxBC,OAAO,eAAE7d,uDAAA,CAAC0d,OAAO,IAAE,CAAC;EACpBI,IAAI,eAAE9d,uDAAA,CAAC0d,OAAO,IAAE,CAAC;EACjBK,cAAc,EAAEA,CAAA,KAAM5E,QAAQ,CAACC,cAAc;EAC7C4E,mBAAmB,eAAEhe,uDAAA,CAACid,UAAU,IAAE,CAAC;EACnCgB,SAAS,EAAEpX,KAAK;EAChBqX,QAAQ,EAAE;IACTC,QAAQ,EAAEhF,QAAQ,CAAC+E,QAAQ;IAC3BE,cAAc,EAAEjF,QAAQ,CAACkF;EAC1B;AACD,CAAC;AAED1F,mFAAqB,CAAEgF,QAAS,CAAC,C","sources":["webpack://wc-valorpay/./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","webpack://wc-valorpay/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack://wc-valorpay/./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack://wc-valorpay/./node_modules/@wordpress/icons/build-module/icon/index.js","webpack://wc-valorpay/./node_modules/@wordpress/icons/build-module/library/chevron-down.js","webpack://wc-valorpay/./blocks/components/AchForm.jsx","webpack://wc-valorpay/./blocks/components/GiftForm.jsx","webpack://wc-valorpay/./blocks/components/PaymentInputsContainer.jsx","webpack://wc-valorpay/./blocks/components/PaymentInputsWrapper.jsx","webpack://wc-valorpay/./blocks/components/Select.jsx","webpack://wc-valorpay/./blocks/components/TermsCheckbox.jsx","webpack://wc-valorpay/./blocks/components/index.js","webpack://wc-valorpay/./blocks/hooks/index.js","webpack://wc-valorpay/./blocks/hooks/usePaymentInputs.jsx","webpack://wc-valorpay/./blocks/images/amex.jsx","webpack://wc-valorpay/./blocks/images/dinersclub.jsx","webpack://wc-valorpay/./blocks/images/discover.jsx","webpack://wc-valorpay/./blocks/images/hipercard.jsx","webpack://wc-valorpay/./blocks/images/index.jsx","webpack://wc-valorpay/./blocks/images/jcb.jsx","webpack://wc-valorpay/./blocks/images/mastercard.jsx","webpack://wc-valorpay/./blocks/images/placeholder.jsx","webpack://wc-valorpay/./blocks/images/troy.jsx","webpack://wc-valorpay/./blocks/images/unionpay.jsx","webpack://wc-valorpay/./blocks/images/visa.jsx","webpack://wc-valorpay/./blocks/utils/cardTypes.js","webpack://wc-valorpay/./blocks/utils/formatter.js","webpack://wc-valorpay/./blocks/utils/index.js","webpack://wc-valorpay/./blocks/utils/validator.js","webpack://wc-valorpay/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://wc-valorpay/./node_modules/react/jsx-runtime.js","webpack://wc-valorpay/./node_modules/shallowequal/index.js","webpack://wc-valorpay/./node_modules/styled-components/dist/styled-components.browser.esm.js","webpack://wc-valorpay/external window \"React\"","webpack://wc-valorpay/external window [\"wc\",\"blocksCheckout\"]","webpack://wc-valorpay/external window [\"wc\",\"blocksComponents\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksData\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksRegistry\"]","webpack://wc-valorpay/external window [\"wc\",\"wcSettings\"]","webpack://wc-valorpay/external window [\"wp\",\"data\"]","webpack://wc-valorpay/external window [\"wp\",\"element\"]","webpack://wc-valorpay/external window [\"wp\",\"htmlEntities\"]","webpack://wc-valorpay/external window [\"wp\",\"i18n\"]","webpack://wc-valorpay/external window [\"wp\",\"primitives\"]","webpack://wc-valorpay/./node_modules/styled-components/node_modules/tslib/tslib.es6.mjs","webpack://wc-valorpay/./node_modules/stylis/src/Enum.js","webpack://wc-valorpay/./node_modules/stylis/src/Middleware.js","webpack://wc-valorpay/./node_modules/stylis/src/Parser.js","webpack://wc-valorpay/./node_modules/stylis/src/Prefixer.js","webpack://wc-valorpay/./node_modules/stylis/src/Serializer.js","webpack://wc-valorpay/./node_modules/stylis/src/Tokenizer.js","webpack://wc-valorpay/./node_modules/stylis/src/Utility.js","webpack://wc-valorpay/webpack/bootstrap","webpack://wc-valorpay/webpack/runtime/compat get default export","webpack://wc-valorpay/webpack/runtime/define property getters","webpack://wc-valorpay/webpack/runtime/hasOwnProperty shorthand","webpack://wc-valorpay/webpack/runtime/make namespace object","webpack://wc-valorpay/webpack/runtime/nonce","webpack://wc-valorpay/./blocks/index.js"],"sourcesContent":["import memoize from '@emotion/memoize';\n\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","var unitlessKeys = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","/**\n * WordPress dependencies\n */\nimport { cloneElement, forwardRef } from '@wordpress/element';\n\n/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */\n\n/**\n * Return an SVG icon.\n *\n * @param {IconProps} props icon is the SVG component to render\n * size is a number specifying the icon size in pixels\n * Other props will be passed to wrapped SVG component\n * @param {import('react').ForwardedRef<HTMLElement>} ref The forwarded ref to the SVG element.\n *\n * @return {JSX.Element} Icon component\n */\nfunction Icon({\n icon,\n size = 24,\n ...props\n}, ref) {\n return cloneElement(icon, {\n width: size,\n height: size,\n ...props,\n ref\n });\n}\nexport default forwardRef(Icon);\n//# sourceMappingURL=index.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst chevronDown = /*#__PURE__*/_jsx(SVG, {\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z\"\n })\n});\nexport default chevronDown;\n//# sourceMappingURL=chevron-down.js.map","import { useEffect, useState } from 'react';\nimport { TextInput } from '@woocommerce/blocks-components';\nimport { __ } from '@wordpress/i18n';\nimport styled from 'styled-components';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\nimport Select from './Select';\n\nconst AchGroup = styled.div`\n\tdisplay: flex;\n\tgap: 10px;\n`;\n\nexport default function AchForm(props) {\n const {\n eventRegistration,\n emitResponse,\n paymentStatus,\n } = props;\n \n const { onPaymentSetup, onCheckoutAfterProcessingWithError } = eventRegistration;\n const [accountNumber, setAccountNumber] = useState('');\n const [accountNumberError, setAccountNumberError] = useState('');\n const [routingNumber, setRoutingNumber] = useState('');\n const [routingNumberError, setRoutingNumberError] = useState('');\n const [nameOnAccount, setNameOnAccount] = useState('');\n const [nameOnAccountError, setNameOnAccountError] = useState('');\n const [accountType, setAccountType] = useState('C');\n const [entryClass, setEntryClass] = useState('Business');\n const [txnType, setTxnType] = useState('Debit');\n\n const [phoneNumber, setPhoneNumber] = useState('');\n const [phoneNumberError, setPhoneNumberError] = useState('');\n const [email, setEmail] = useState('');\n const [emailError, setEmailError] = useState('');\n \n\n useEffect(() => {\n const elements = document.querySelectorAll('.wc-block-components-payment-methods__save-card-info');\n // Filter elements to ensure they have the same parent\n const filteredElements = Array.from(elements).filter((element, index, array) => {\n return element.parentElement === array[0].parentElement; // Check if they have the same parent\n });\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'none';\n }\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"ach\",\n },\n } );\n return () => {\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } )\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'block';\n }\n };\n }, [])\n\n useEffect( () => {\n const unsubscribe = onPaymentSetup( async () => {\n let isInValidForm = false;\n if ( accountNumberError !== '' ) {\n isInValidForm = true;\n }\n if ( routingNumberError !== '' ) {\n isInValidForm = true;\n }\n if ( nameOnAccountError !== '' ) {\n isInValidForm = true;\n }\n if ( phoneNumberError !== '' ) {\n isInValidForm = true;\n }\n if ( emailError !== '' ) {\n isInValidForm = true;\n }\n if (accountNumber === '') {\n setAccountNumberError( __('Please enter a valid Account Number','wc-valorpay'));\n isInValidForm = true;\n }\n if (routingNumber === '') {\n setRoutingNumberError( __('Please enter a valid Routing Number','wc-valorpay'));\n isInValidForm = true;\n }\n if (nameOnAccount === '') {\n setNameOnAccountError( __('Please enter a valid Name On Account','wc-valorpay'));\n isInValidForm = true;\n }\n if (isInValidForm) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: __(\n 'Please provide payment information',\n 'wc-valorpay'\n ),\n };\n }\n return {\n type: emitResponse.responseTypes.SUCCESS,\n meta: {\n paymentMethodData: {\n wc_valorpay_ach_sale: true,\n wc_valorpay_account_number: accountNumber,\n wc_valorpay_routing_number: routingNumber,\n wc_valorpay_name_on_account: nameOnAccount,\n wc_valorpay_account_type: accountType,\n wc_valorpay_entry_class: entryClass,\n wc_valorpay_card_type: txnType,\n wc_valorpay_phone: phoneNumber.replace(/[^0-9]/g, ''),\n wc_valorpay_email: email,\n },\n },\n };\n } );\n const unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n ( { processingResponse } ) => {\n if ( processingResponse?.paymentDetails?.errorMessage ) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: processingResponse.paymentDetails.errorMessage,\n messageContext: emitResponse.noticeContexts.PAYMENTS,\n };\n }\n // so we don't break the observers.\n return true;\n }\n );\n // Unsubscribes when this component is unmounted.\n return () => {\n unsubscribe();\n unsubscribeErrorMsg();\n };\n }, [\n emitResponse.responseTypes.ERROR,\n emitResponse.responseTypes.SUCCESS,\n onPaymentSetup,\n accountNumber,\n accountNumberError,\n routingNumber,\n routingNumberError,\n nameOnAccount,\n nameOnAccountError,\n accountType,\n entryClass,\n txnType,\n phoneNumber,\n phoneNumberError,\n email,\n emailError,\n ] );\n\n const handleAccountNumberChange = (value) => {\n if ( value.length <= 13 && /^[0-9]*$/.test(value) ) {\n setAccountNumberError('');\n setAccountNumber(value);\n }\n };\n\n const handleAccountNumberBlur = (event) => {\n if ( accountNumber === '' ) {\n setAccountNumberError( __('Please enter a valid Account Number','wc-valorpay'));\n }\n }\n\n const handleRoutingNumberChange = (value) => {\n if (value.length <= 9 && /^[0-9]*$/.test(value)) {\n setRoutingNumberError('');\n setRoutingNumber(value);\n }\n };\n\n const handleRoutingNumberBlur = (event) => {\n if ( routingNumber === '' ) {\n setRoutingNumberError( __('Please enter a valid Routing Number','wc-valorpay'))\n }\n }\n\n const handleNameOnAccountChange = (value) => {\n if (value.length <= 22 && /^[a-zA-Z0-9\\s]*$/.test(value)) {\n setNameOnAccountError('');\n setNameOnAccount(value);\n }\n };\n const handleNameOnAccountBlur = (value) => {\n if ( nameOnAccount === '' ) {\n setNameOnAccountError( __('Please enter a valid Name On Account','wc-valorpay'))\n }\n };\n\n const handlePhoneNumberChange = (value) => {\n // Remove any non-digit characters\n let numericValue = value.replace(/[^0-9]/g, '');\n\n // Format the number if it has 10 digits\n if (numericValue.length <= 10) {\n let formattedValue = numericValue;\n const previousVal = phoneNumber.replace(/[^0-9]/g, '');\n if (previousVal === numericValue) {\n numericValue = numericValue.slice(0, -1);\n }\n if (numericValue.length > 3 && numericValue.length <= 6) {\n formattedValue = `(${numericValue.slice(0, 3)}) ${numericValue.slice(3, 6)}-${numericValue.slice(6)}`;\n } else if (numericValue.length > 6) {\n formattedValue = `(${numericValue.slice(0, 3)}) ${numericValue.slice(3, 6)}-${numericValue.slice(6, 10)}`;\n } else if (numericValue.length > 0) {\n formattedValue = `(${numericValue.slice(0, 3)}) ${numericValue.slice(3)}`;\n }\n \n setPhoneNumber(formattedValue);\n setPhoneNumberError('');\n }\n };\n \n const handlePhoneNumberBlur = () => {\n const formattedPhoneNumber = phoneNumber.replace(/[^0-9]/g, '');\n if ( formattedPhoneNumber && formattedPhoneNumber.length !== 10 ) {\n setPhoneNumberError(__('Please enter a valid phone number with 10 digits', 'wc-valorpay'));\n }\n };\n \n const handleEmailChange = (value) => {\n setEmailError('');\n setEmail(value);\n };\n \n const handleEmailBlur = () => {\n const emailRegex = /^[a-z0-9._+-]+@[a-z0-9.-]+\\.[a-z]{2,63}$/i;\n if ( email && !emailRegex.test(email) ) {\n setEmailError(__('Please enter a valid email address', 'wc-valorpay'));\n }\n };\n \n\n const handleAccountTypeChange = (event) => {\n setAccountType(event.target.value);\n };\n\n const handleEntryClassChange = (event) => {\n setEntryClass(event.target.value);\n };\n\n const handleTxnTypeChange = (event) => {\n setTxnType(event.target.value);\n };\n\n return (\n <>\n <TextInput\n id=\"valor-ach-acc-no\"\n label={__('Account Number', 'wc-valorpay')}\n feedback={accountNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{accountNumberError}</p></div>}\n type=\"text\"\n value={accountNumber}\n required=\"true\"\n className={accountNumberError === '' ? '' : \"has-error\"}\n onChange={handleAccountNumberChange}\n onBlur={handleAccountNumberBlur}\n />\n <TextInput\n id=\"valor-ach-rou-no\"\n label={__('Routing Number', 'wc-valorpay')}\n feedback={routingNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{routingNumberError}</p></div>}\n type=\"text\"\n value={routingNumber}\n required=\"true\"\n className={routingNumberError === '' ? '' : \"has-error\"}\n onChange={handleRoutingNumberChange}\n onBlur={handleRoutingNumberBlur}\n />\n <TextInput\n id=\"valor-ach-acc-name\"\n label={__('Name on Account', 'wc-valorpay')}\n feedback={nameOnAccountError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{nameOnAccountError}</p></div>}\n type=\"text\"\n value={nameOnAccount}\n required=\"true\"\n className={nameOnAccountError === '' ? '' : \"has-error\"}\n onChange={handleNameOnAccountChange}\n onBlur={handleNameOnAccountBlur}\n />\n <Select\n id=\"valor-ach-acc-type\"\n label=\"Account Type\"\n options={[\n { label: \"Checking\", value: \"C\" },\n { label: \"Savings\", value: \"S\" },\n ]}\n value={accountType}\n selectOnChange={handleAccountTypeChange}\n />\n <AchGroup>\n <Select\n id=\"valor-ach-acc-entry\"\n label=\"Entry Class\"\n options={[\n { label: \"Business\", value: \"Business\" },\n { label: \"Personal\", value: \"Personal\" },\n ]}\n value={entryClass}\n selectOnChange={handleEntryClassChange}\n />\n </AchGroup>\n <TextInput\n id=\"valor-ach-phone\"\n label={__('Phone Number', 'wc-valorpay')}\n feedback={phoneNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{phoneNumberError}</p></div>}\n type=\"text\"\n value={phoneNumber}\n required=\"true\"\n className={phoneNumberError === '' ? '' : \"has-error\"}\n onChange={handlePhoneNumberChange}\n onBlur={handlePhoneNumberBlur}\n />\n <TextInput\n id=\"valor-ach-email\"\n label={__('Email', 'wc-valorpay')}\n feedback={emailError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{emailError}</p></div>}\n type=\"email\"\n value={email}\n required=\"true\"\n className={emailError === '' ? '' : \"has-error\"}\n onChange={handleEmailChange}\n onBlur={handleEmailBlur}\n />\n </>\n)};","import { useEffect, useState } from 'react';\nimport { TextInput } from '@woocommerce/blocks-components';\nimport { __ } from '@wordpress/i18n';\nimport styled from 'styled-components';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nexport default function GiftForm(props) {\n const { eventRegistration, emitResponse, paymentStatus } = props;\n const { onPaymentSetup, onCheckoutAfterProcessingWithError } = eventRegistration;\n const [cardNumber, setCardNumber] = useState('');\n const [pinNumber, setPinNumber] = useState('');\n const [giftCardNumberError, setGiftCardNumberError] = useState('');\n\n useEffect(() => {\n const elements = document.querySelectorAll('.wc-block-components-payment-methods__save-card-info');\n // Filter elements to ensure they have the same parent\n const filteredElements = Array.from(elements).filter((element, index, array) => {\n return element.parentElement === array[0].parentElement; // Check if they have the same parent\n });\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'none';\n }\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"gift\",\n },\n } );\n return () => {\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } )\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'block';\n }\n };\n }, [])\n\n useEffect( () => {\n const unsubscribe = onPaymentSetup( async () => {\n let isInValidForm = false;\n if ( giftCardNumberError !== '' ) {\n isInValidForm = true;\n }\n if (cardNumber === '') {\n setGiftCardNumberError( __('Please enter a valid Gift Card Number','wc-valorpay'));\n isInValidForm = true;\n }\n if (isInValidForm) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: __(\n 'Please provide payment information',\n 'wc-valorpay'\n ),\n };\n }\n return {\n type: emitResponse.responseTypes.SUCCESS,\n meta: {\n paymentMethodData: {\n wc_valorpay_gift_sale: true,\n wc_valorpay_gift_card_no: cardNumber.replaceAll(\" \", \"\"),\n wc_valorpay_gift_card_pin: pinNumber,\n },\n },\n };\n } );\n\n \n const unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n ( { processingResponse } ) => {\n if ( processingResponse?.paymentDetails?.errorMessage ) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: processingResponse.paymentDetails.errorMessage,\n messageContext: emitResponse.noticeContexts.PAYMENTS,\n };\n }\n // so we don't break the observers.\n return true;\n }\n );\n // Unsubscribes when this component is unmounted.\n return () => {\n unsubscribe();\n unsubscribeErrorMsg();\n };\n }, [\n emitResponse.responseTypes.ERROR,\n emitResponse.responseTypes.SUCCESS,\n onPaymentSetup,\n cardNumber,\n pinNumber,\n giftCardNumberError,\n ] );\n\n const handleGiftCardNumberChange = (value) => {\n let cardNumber = value.replaceAll(\" \", \"\");\n if ( cardNumber.length <= 21 && /^[0-9]*$/.test(cardNumber) ) {\n let newCardNumber = \"\";\n let counter = 0;\n for (let n of cardNumber) {\n if ( (counter% 4) === 0) {\n newCardNumber += \" \";\n }\n newCardNumber+=n;\n counter++;\n }\n setCardNumber(newCardNumber);\n setGiftCardNumberError('');\n }\n };\n\n const handleGiftCardNumberBlur = (event) => {\n if ( cardNumber.length <= 11 ) {\n setGiftCardNumberError( __('Please enter a valid Gift Card Number','wc-valorpay'));\n }\n }\n\n const handleGiftPinChange = (value) => {\n if ( value.length <= 8 && /^[0-9]*$/.test(value) ) {\n setPinNumber(value);\n }\n };\n\n return (\n <>\n <TextInput\n id=\"valor-giftcard-acc-no\"\n label={__('Card Number', 'wc-valorpay')}\n feedback={giftCardNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{giftCardNumberError}</p></div>}\n type=\"text\"\n value={cardNumber}\n required=\"true\"\n className={giftCardNumberError === '' ? '' : \"has-error\"}\n onChange={handleGiftCardNumberChange}\n onBlur={handleGiftCardNumberBlur}\n />\n <TextInput\n id=\"valor-giftcard-pin-no\"\n label={__('Pin Number', 'wc-valorpay')}\n type=\"text\"\n value={pinNumber}\n required=\"false\"\n onChange={handleGiftPinChange}\n />\n </>\n )\n}","import { usePaymentInputs } from '../hooks';\n\nexport default function PaymentInputsContainer( props ) {\n\tconst paymentInputs = usePaymentInputs( props );\n\treturn props.children( paymentInputs );\n}\n","import React from 'react';\nimport styled, { css } from 'styled-components';\n\n// Preventing hasErrored and other internal props from being passed to DOM\nconst FieldWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'styles' ].includes( prop ),\n} )`\n\tdisplay: inline-flex;\n\tflex-direction: column;\n\twidth: 100%;\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored && props.styles.fieldWrapper\n\t\t\t\t? props.styles.fieldWrapper.errored\n\t\t\t\t: undefined };\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.fieldWrapper\n\t\t\t? props.styles.fieldWrapper.base\n\t\t\t: undefined };\n`;\n\nconst InputWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\talign-items: center;\n\tbackground-color: white;\n\tborder: 1px solid #bdbdbd;\n\tbox-shadow: inset 0px 1px 2px #e5e5e5;\n\tborder-radius: 0.2em;\n\tdisplay: flex;\n\theight: 2.5em;\n\tpadding: 0.4em 0.6em;\n\twidth: 100%; /* Ensure the wrapper takes the full width */\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored &&\n\t\t\tcss`\n\t\t\t\tborder-color: #c9444d;\n\t\t\t\tbox-shadow: #c9444d 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.errored };\n\t\t\t` };\n\t}\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.focused &&\n\t\t\tcss`\n\t\t\t\tborder-color: #444bc9;\n\t\t\t\tbox-shadow: #444bc9 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.focused };\n\t\t\t` };\n\t}\n\n\t& input {\n\t\tborder: unset;\n\t\tmargin: unset;\n\t\tpadding: unset;\n\t\toutline: unset;\n\t\tfont-size: inherit;\n\t\twidth: 100%; /* Take full width by default */\n\t\tmin-width: 11em; /* Default minimum width */\n\t\tflex-grow: 1; /* Allow input to grow */\n\n\t\t& {\n\t\t\t${ ( props ) =>\n\t\t\t\tprops.hasErrored && props.styles.input\n\t\t\t\t\t? props.styles.input.errored\n\t\t\t\t\t: undefined };\n\t\t}\n\n\t\t${ ( props ) => props.styles.input && props.styles.input.base };\n\n\t\t&:focus {\n\t\t\twidth: 15em; /* Increase width on focus */\n\t\t\ttransition: width 0.3s ease;\n\t\t}\n\t}\n\n\t& svg {\n\t\tmargin-right: 0.6em;\n\t\t& {\n\t\t\t${ ( props ) => props.styles.cardImage };\n\t\t}\n\t}\n\n\t& input#cardNumber {\n\t\twidth: 10em;\n\t\tmin-width: 10em;\n\n\t\t&:focus {\n\t\t\twidth: 13em;\n\t\t}\n\t}\n\n\t& input#expiryDate {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\n\t& input#cvc {\n\t\twidth: 2.5em;\n\t\tmin-width: 2.5em;\n\n\t\t&:focus {\n\t\t\twidth: 3.5em;\n\t\t}\n\t}\n\n\t& input#zip {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\t& input#streetaddress {\n\t\twidth: 8em;\n\t\tmin-width: 8em;\n\n\t\t&:focus {\n\t\t\twidth: 9em;\n\t\t}\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.inputWrapper\n\t\t\t? props.styles.inputWrapper.base\n\t\t\t: undefined };\n`;\n\nconst ErrorText = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\tcolor: #c9444d;\n\tfont-size: 0.75rem;\n\tmargin-top: 0.25rem;\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.styles.errorText ? props.styles.errorText.base : undefined };\n\t}\n`;\n\nfunction PaymentInputsWrapper( {\n\tchildren,\n\terror,\n\terrorTextProps,\n\tfocused,\n\tinputWrapperProps,\n\tisTouched,\n\tstyles = {}, // Set default value for styles here\n\tisInitPay,\n\t...restProps\n} ) {\n\tconst hasErrored = error && ( isTouched || ( ! focused && isInitPay ) );\n\n\treturn (\n\t\t<FieldWrapper\n\t\t\thasErrored={ hasErrored }\n\t\t\tstyles={ styles }\n\t\t\t{ ...restProps }\n\t\t>\n\t\t\t<InputWrapper\n\t\t\t\tfocused={ focused }\n\t\t\t\thasErrored={ hasErrored }\n\t\t\t\tstyles={ styles }\n\t\t\t\t{ ...inputWrapperProps }\n\t\t\t>\n\t\t\t\t{ children }\n\t\t\t</InputWrapper>\n\t\t\t{ hasErrored && (\n\t\t\t\t<ErrorText styles={ styles } { ...errorTextProps }>\n\t\t\t\t\t{ error }\n\t\t\t\t</ErrorText>\n\t\t\t) }\n\t\t</FieldWrapper>\n\t);\n}\n\nexport default PaymentInputsWrapper;\n","import { useId } from 'react';\nimport { Icon, chevronDown } from '@wordpress/icons';\n\n\nexport default function Select(props) {\n const {\n label,\n selectOnChange,\n options,\n value,\n ...restOfProps\n } = props;\n const generatedId = useId();\n const inputId = restOfProps.id || `wc-blocks-components-select-${ generatedId }`;\n return(\n <div className=\"wc-blocks-components-select\">\n <div className=\"wc-blocks-components-select__container\">\n <label\n htmlFor={ inputId }\n className=\"wc-blocks-components-select__label\"\n >\n { label }\n </label>\n <select \n className=\"wc-blocks-components-select__select\"\n id={ inputId }\n size=\"1\"\n onChange={ selectOnChange }\n value={ value }\n >\n { options.map( ( option ) => (\n <option\n key={ option.value }\n value={ option.value }\n data-alternate-values={ `[${ option.label }]` }\n disabled={\n option.disabled !== undefined\n ? option.disabled\n : false\n }\n >\n { option.label }\n </option>\n\t\t\t\t\t) ) }\n </select>\n <Icon\n className=\"wc-blocks-components-select__expand\"\n icon={ chevronDown }\n />\n </div>\n </div>\n )\n}","export default function TermsCheckbox( { id, label, checked, onChange } ) {\n return (\n\t\t<div className=\"wc-block-components-checkbox\">\n\t\t\t<label htmlFor={ id }>\n\t\t\t\t<input\n\t\t\t\t\tid={ id }\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\taria-invalid=\"false\"\n\t\t\t\t\tchecked={ checked }\n\t\t\t\t\tonChange={ onChange }\n\t\t\t\t/>\n\t\t\t\t<svg\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__mark\"\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 20\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\"></path>\n\t\t\t\t</svg>\n\t\t\t\t<span class=\"wc-block-components-checkbox__label\">\n\t\t\t\t\t{ label }\n\t\t\t\t</span>\n\t\t\t</label>\n\t\t</div>\n\t);\n}","export { default as PaymentInputsContainer } from './PaymentInputsContainer';\nexport { default as PaymentInputsWrapper } from './PaymentInputsWrapper';\nexport { default as TermsCheckbox } from './TermsCheckbox';\nexport { default as AchForm } from './AchForm';\nexport { default as GiftForm } from './GiftForm';\n","export { default as usePaymentInputs } from './usePaymentInputs';\n","import React from 'react';\n\nimport utils from '../utils';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nexport default function usePaymentInputs( {\n\tautoFocus = true,\n\terrorMessages,\n\tonBlur,\n\tonChange,\n\tonError,\n\tonTouch,\n\tcardNumberValidator,\n\tcvcValidator,\n\texpiryValidator,\n\tavsType,\n\tsetIsFetchingCardType,\n\tpaymentFields,\n} = {} ) {\n\tconst cardNumberField = React.useRef();\n\tconst expiryDateField = React.useRef();\n\tconst cvcField = React.useRef();\n\tconst zipField = React.useRef();\n\tconst addressField = React.useRef();\n\n\t/** ====== START: META STUFF ====== */\n\tconst [ touchedInputs, setTouchedInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = false;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ isTouched, setIsTouched ] = React.useState( false );\n\tconst [ erroredInputs, setErroredInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = undefined;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ error, setError ] = React.useState();\n\tconst [ cardType, setCardType ] = React.useState();\n\tconst [ focused, setFocused ] = React.useState();\n\n\tconst setInputError = React.useCallback( ( input, error ) => {\n\t\tsetErroredInputs( ( erroredInputs ) => {\n\t\t\tif ( erroredInputs[ input ] === error ) return erroredInputs;\n\n\t\t\tlet newError = error;\n\t\t\tconst newErroredInputs = { ...erroredInputs, [ input ]: error };\n\t\t\tif ( error ) {\n\t\t\t\tsetError( error );\n\t\t\t} else {\n\t\t\t\tnewError = Object.values( newErroredInputs ).find( Boolean );\n\t\t\t\tsetError( newError );\n\t\t\t}\n\t\t\tonError && onError( newError, newErroredInputs );\n\t\t\treturn newErroredInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\n\tconst setInputTouched = React.useCallback( ( input, value ) => {\n\t\trequestAnimationFrame( () => {\n\t\t\tif ( document.activeElement.tagName !== 'INPUT' ) {\n\t\t\t\tsetIsTouched( true );\n\t\t\t} else if ( value === false ) {\n\t\t\t\tsetIsTouched( false );\n\t\t\t}\n\t\t} );\n\n\t\tsetTouchedInputs( ( touchedInputs ) => {\n\t\t\tif ( touchedInputs[ input ] === value ) return touchedInputs;\n\n\t\t\tconst newTouchedInputs = { ...touchedInputs, [ input ]: value };\n\t\t\tonTouch && onTouch( { [ input ]: value }, newTouchedInputs );\n\t\t\treturn newTouchedInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\t/** ====== END: META STUFF ====== */\n\n\t/** ====== START: CARD NUMBER STUFF ====== */\n\tconst handleBlurCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cardNumber', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\t\t\t\tlet cursorPosition = cardNumberField.current.selectionStart;\n\n\t\t\t\tconst cardType =\n\t\t\t\t\tutils.cardTypes.getCardTypeByValue( cardNumber );\n\t\t\t\tsetCardType( cardType );\n\n\t\t\t\tsetInputTouched( 'cardNumber', false );\n\n\t\t\t\t// @ts-ignore\n\t\t\t\tcardNumberField.current.value =\n\t\t\t\t\tutils.formatter.formatCardNumber( cardNumber );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\t// Due to the card number formatting, the selection cursor will fall to the end of\n\t\t\t\t// the input field. Here, we want to reposition the cursor to the correct place.\n\t\t\t\trequestAnimationFrame( () => {\n\t\t\t\t\tif ( document.activeElement !== cardNumberField.current )\n\t\t\t\t\t\treturn;\n\t\t\t\t\tif (\n\t\t\t\t\t\tcardNumberField.current.value[ cursorPosition - 1 ] ===\n\t\t\t\t\t\t' '\n\t\t\t\t\t) {\n\t\t\t\t\t\tcursorPosition = cursorPosition + 1;\n\t\t\t\t\t}\n\t\t\t\t\tcardNumberField.current.setSelectionRange(\n\t\t\t\t\t\tcursorPosition,\n\t\t\t\t\t\tcursorPosition\n\t\t\t\t\t);\n\t\t\t\t} );\n\n\t\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\t\tcardNumber,\n\t\t\t\t\tcardNumberValidator,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cardNumberError && autoFocus ) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t\tsetIsFetchingCardType( true );\n\t\t\t\t\textensionCartUpdate( {\n\t\t\t\t\t\tnamespace: 'wc-valorpay-fee-update',\n\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\taction_type: 'bin_lookup',\n\t\t\t\t\t\t\tbin: cardNumber.slice( 0, 6 ),\n\t\t\t\t\t\t},\n\t\t\t\t\t} ).then( () => {\n\t\t\t\t\t\tsetIsFetchingCardType( false );\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t\t\tprops.onError && props.onError( cardNumberError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcardNumberValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cardNumber' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyPressCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tutils.validator.hasCardNumberReachedMaxLength( cardNumber )\n\t\t\t\t) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getCardNumberProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Card number',\n\t\t\tautoComplete: 'cc-number',\n\t\t\tid: 'cardNumber',\n\t\t\tname: 'cardNumber',\n\t\t\tplaceholder: 'Card number',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cardNumberField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCardNumber( props ),\n\t\t\tonChange: handleChangeCardNumber( props ),\n\t\t\tonFocus: handleFocusCardNumber( props ),\n\t\t\tonKeyPress: handleKeyPressCardNumber( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurCardNumber,\n\t\t\thandleChangeCardNumber,\n\t\t\thandleFocusCardNumber,\n\t\t\thandleKeyPressCardNumber,\n\t\t]\n\t);\n\t/** ====== END: CARD NUMBER STUFF ====== */\n\n\t/** ====== START: EXPIRY DATE STUFF ====== */\n\tconst handleBlurExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'expiryDate', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tsetInputTouched( 'expiryDate', false );\n\n\t\t\t\texpiryDateField.current.value =\n\t\t\t\t\tutils.formatter.formatExpiry( e );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\t\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\t\texpiryDateField.current.value,\n\t\t\t\t\texpiryValidator,\n\t\t\t\t\t{\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif ( ! expiryDateError && autoFocus ) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t\t\tprops.onError && props.onError( expiryDateError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\terrorMessages,\n\t\t\texpiryValidator,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'expiryDate' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcardNumberField.current && cardNumberField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedExpiryDate = e.target.value || '';\n\t\t\tconst expiryDate = formattedExpiryDate.replace( ' / ', '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif ( expiryDate.length >= 4 ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getExpiryDateProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Expiry date in format MM YY',\n\t\t\tautoComplete: 'cc-exp',\n\t\t\tid: 'expiryDate',\n\t\t\tname: 'expiryDate',\n\t\t\tplaceholder: 'MM/YY',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: expiryDateField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurExpiryDate( props ),\n\t\t\tonChange: handleChangeExpiryDate( props ),\n\t\t\tonFocus: handleFocusExpiryDate( props ),\n\t\t\tonKeyDown: handleKeyDownExpiryDate( props ),\n\t\t\tonKeyPress: handleKeyPressExpiryDate( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurExpiryDate,\n\t\t\thandleChangeExpiryDate,\n\t\t\thandleFocusExpiryDate,\n\t\t\thandleKeyDownExpiryDate,\n\t\t\thandleKeyPressExpiryDate,\n\t\t]\n\t);\n\t/** ====== END: EXPIRY DATE STUFF ====== */\n\n\t/** ====== START: CVC STUFF ====== */\n\tconst handleBlurCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cvc', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCVC = React.useCallback(\n\t\t( props = {}, { cardType } = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst cvc = e.target.value;\n\n\t\t\t\tsetInputTouched( 'cvc', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\t\tcvc,\n\t\t\t\t\tcvcValidator,\n\t\t\t\t\t{ cardType, errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cvcError && autoFocus ) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cvc', cvcError );\n\t\t\t\tprops.onError && props.onError( cvcError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcvcValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCVC = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cvc' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressCVC = React.useCallback(\n\t\t( props = {}, { cardType } ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCVC = e.target.value || '';\n\t\t\t\tconst cvc = formattedCVC.replace( ' / ', '' );\n\n\t\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cardType && cvc.length >= cardType.code.length ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cvc.length >= 4 ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[]\n\t);\n\n\tconst getCVCProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'CVC',\n\t\t\tautoComplete: 'cc-csc',\n\t\t\tid: 'cvc',\n\t\t\tname: 'cvc',\n\t\t\tplaceholder: cardType ? cardType.code.name : 'CVC',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cvcField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCVC( props ),\n\t\t\tonChange: handleChangeCVC( props, { cardType } ),\n\t\t\tonFocus: handleFocusCVC( props ),\n\t\t\tonKeyDown: handleKeyDownCVC( props ),\n\t\t\tonKeyPress: handleKeyPressCVC( props, { cardType } ),\n\t\t} ),\n\t\t[\n\t\t\tcardType,\n\t\t\thandleBlurCVC,\n\t\t\thandleChangeCVC,\n\t\t\thandleFocusCVC,\n\t\t\thandleKeyDownCVC,\n\t\t\thandleKeyPressCVC,\n\t\t]\n\t);\n\t/** ====== END: CVC STUFF ====== */\n\n\t/** ====== START: ZIP STUFF ====== */\n\tconst handleBlurZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'zip', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst zip = e.target.value;\n\n\t\t\t\tsetInputTouched( 'zip', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst zipError = utils.validator.getZIPError( zip, {\n\t\t\t\t\terrorMessages,\n\t\t\t\t} );\n\t\t\t\tif ( ! zipError && autoFocus && zip.length >= 6 ) {\n\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'zip', zipError );\n\t\t\t\tprops.onError && props.onError( zipError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'zip' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getZIPProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'zip',\n\t\t\tmaxLength: '6',\n\t\t\tname: 'zip',\n\t\t\tplaceholder: 'ZIP',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: zipField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurZIP( props ),\n\t\t\tonChange: handleChangeZIP( props ),\n\t\t\tonFocus: handleFocusZIP( props ),\n\t\t\tonKeyDown: handleKeyDownZIP( props ),\n\t\t\tonKeyPress: handleKeyPressZIP( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurZIP,\n\t\t\thandleChangeZIP,\n\t\t\thandleFocusZIP,\n\t\t\thandleKeyDownZIP,\n\t\t\thandleKeyPressZIP,\n\t\t]\n\t);\n\n\t/** ====== END: ZIP STUFF ====== */\n\n\t/** ====== START: ADDRESS STUFF ====== */\n\tconst handleBlurAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'streetaddress', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\tconst handleChangeAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst streetaddress = e.target.value;\n\n\t\t\t\tsetInputTouched( 'streetaddress', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\t\tstreetaddress,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t\t\tprops.onError && props.onError( addressError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusAddress = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'streetaddress' );\n\t\t};\n\t}, [] );\n\tconst handleKeyDownAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\tconst getStreetAddressProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'streetaddress',\n\t\t\tmaxLength: '25',\n\t\t\tname: 'streetaddress',\n\t\t\tplaceholder: 'STREET ADDRESS',\n\t\t\ttype: 'text',\n\t\t\t[ refKey || 'ref' ]: addressField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurAddress( props ),\n\t\t\tonChange: handleChangeAddress( props ),\n\t\t\tonFocus: handleFocusAddress( props ),\n\t\t\tonKeyDown: handleKeyDownAddress( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurAddress,\n\t\t\thandleChangeAddress,\n\t\t\thandleFocusAddress,\n\t\t\thandleKeyDownAddress,\n\t\t]\n\t);\n\t/** ====== END: ADDRESS STUFF ====== */\n\t/** ====== START: CARD IMAGE STUFF ====== */\n\tconst getCardImageProps = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\tconst images = props.images || {};\n\t\t\treturn {\n\t\t\t\t'aria-label': cardType\n\t\t\t\t\t? cardType.displayName\n\t\t\t\t\t: 'Placeholder card',\n\t\t\t\tchildren:\n\t\t\t\t\timages[ cardType ? cardType.type : 'placeholder' ] ||\n\t\t\t\t\timages.placeholder,\n\t\t\t\twidth: '3em',\n\t\t\t\theight: '2em',\n\t\t\t\tviewBox: '0 0 24 16',\n\t\t\t};\n\t\t},\n\t\t[ cardType ]\n\t);\n\t/** ====== END: CARD IMAGE STUFF ====== */\n\n\t// Set default field errors\n\tReact.useLayoutEffect( () => {\n\t\tif ( addressField.current ) {\n\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\taddressField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t}\n\t\tif ( zipField.current ) {\n\t\t\tconst zipError = utils.validator.getZIPError(\n\t\t\t\tzipField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'zip', zipError );\n\t\t}\n\t\tif ( cvcField.current ) {\n\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\tcvcField.current.value,\n\t\t\t\tcvcValidator,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'cvc', cvcError );\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\texpiryDateField.current.value,\n\t\t\t\texpiryValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t}\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\tcardNumberField.current.value,\n\t\t\t\tcardNumberValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t}\n\t}, [\n\t\tcardNumberValidator,\n\t\tcvcValidator,\n\t\terrorMessages,\n\t\texpiryValidator,\n\t\tsetInputError,\n\t] );\n\n\t// Format default values\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tcardNumberField.current.value = utils.formatter.formatCardNumber(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\texpiryDateField.current.value = utils.formatter.formatExpiry( {\n\t\t\t\ttarget: expiryDateField.current,\n\t\t\t} );\n\t\t}\n\t}, [] );\n\n\t// Set default card type\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardType = utils.cardTypes.getCardTypeByValue(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t\tsetCardType( cardType );\n\t\t}\n\t}, [] );\n\n\treturn {\n\t\tgetCardImageProps,\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps: {\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t},\n\n\t\tmeta: {\n\t\t\tcardType,\n\t\t\terroredInputs,\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t\ttouchedInputs,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t},\n\t};\n}\n","export default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#016fd0\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<path\n\t\t\td=\"m13.7640663 13.3938564v-5.70139231l10.1475359.00910497v1.57489503l-1.1728619 1.25339231 1.1728619 1.2648839v1.6083094h-1.8726188l-.9951823-1.0981657-.9881105 1.1023204z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.4418122 12.7687956v-4.448884h3.7722872v1.02488398h-2.550895v.69569062h2.4900774v1.0078232h-2.4900774v.6833149h2.550895v1.0371713z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m18.1952707 12.7687956 2.087337-2.2270055-2.0874254-2.2217901h1.6156464l1.2754917 1.41003315 1.2791161-1.41003315h1.5461657v.03500552l-2.0428729 2.18678458 2.0428729 2.1638895v.063116h-1.5617237l-1.2981216-1.4241768-1.2847735 1.4241768z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.2373481 2.6319558h2.4460552l.8591381 1.95085083v-1.95085083h3.0198453l.5207514 1.46156906.5225194-1.46156906h2.3059447v5.70139227h-12.1865193z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<g fill=\"#016fd0\">\n\t\t\t<path d=\"m14.7004641 3.25135912-1.9740111 4.44517127h1.3539006l.3724199-.89016575h2.0179447l.3721547.89016575h1.3875801l-1.96579-4.44517127zm.1696353 2.55743646.592-1.41507182.5915581 1.41507182z\" />\n\t\t\t<path d=\"m18.2119779 7.69573481v-4.44508288l1.903116.00654144.9792707 2.73272928.9856354-2.73927072h1.8316022v4.44508288l-1.1786077.01043094v-3.05334807l-1.1125746 3.04291713h-1.0758011l-1.1356464-3.05334807v3.05334807z\" />\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-320.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Diners-Club\"\n\t\t\t\t\t\ttransform=\"translate(280.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M10.0021142,2.05179033 L10.0021142,2.03579033 L14.0021142,2.03579033 L14.0021142,2.05179033 C17.1375481,2.28122918 19.5642283,4.89197286 19.5642283,8.03579033 C19.5642283,11.1796078 17.1375481,13.7903515 14.0021142,14.0197903 L14.0021142,14.0357903 L10.0021142,14.0357903 L10.0021142,14.0197903 C6.86668021,13.7903515 4.44,11.1796078 4.44,8.03579033 C4.44,4.89197286 6.86668021,2.28122918 10.0021142,2.05179033 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#0165AC\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M11.6021142,11.4277903 C13.0374002,10.9175027 13.9961556,9.55908923 13.9961556,8.03579033 C13.9961556,6.51249143 13.0374002,5.15407792 11.6021142,4.64379033 L11.6021142,11.4277903 L11.6021142,11.4277903 Z M9.20211417,4.64379033 C7.76682809,5.15407792 6.80807271,6.51249143 6.80807271,8.03579033 C6.80807271,9.55908923 7.76682809,10.9175027 9.20211417,11.4277903 L9.20211417,4.64379033 L9.20211417,4.64379033 Z M10.4021142,13.2357903 C7.53023347,13.2357903 5.20211417,10.907671 5.20211417,8.03579033 C5.20211417,5.16390963 7.53023347,2.83579033 10.4021142,2.83579033 C13.2739949,2.83579033 15.6021142,5.16390963 15.6021142,8.03579033 C15.6021142,10.907671 13.2739949,13.2357903 10.4021142,13.2357903 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-280.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Discover\"\n\t\t\t\t\t\ttransform=\"translate(240.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.6124138,15.9999283 L21.9972414,15.9999283 C22.5240217,16.0043364 23.0309756,15.7992919 23.4065697,15.4299059 C23.7821638,15.06052 23.9956285,14.5570537 24,14.0302731 L24,11.6716524 C20.4561668,13.7059622 16.6127929,15.1667795 12.6124138,15.9999283 L12.6124138,15.9999283 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M23.1724138,9.29647999 L22.32,9.29647999 L21.36,8.03027309 L21.2689655,8.03027309 L21.2689655,9.29647999 L20.5737931,9.29647999 L20.5737931,6.1516524 L21.6,6.1516524 C22.4027586,6.1516524 22.8662069,6.48268688 22.8662069,7.07854895 C22.8662069,7.56682481 22.5765517,7.88130757 22.0551724,7.98061792 L23.1724138,9.29647999 Z M22.1462069,7.10337654 C22.1462069,6.79716964 21.9144828,6.63992826 21.4841379,6.63992826 L21.2689655,6.63992826 L21.2689655,7.5916524 L21.4675862,7.5916524 C21.9144828,7.5916524 22.1462069,7.42613516 22.1462069,7.10337654 L22.1462069,7.10337654 Z M18.1406897,6.1516524 L20.1103448,6.1516524 L20.1103448,6.68130757 L18.8358621,6.68130757 L18.8358621,7.38475585 L20.0606897,7.38475585 L20.0606897,7.92268688 L18.8358621,7.92268688 L18.8358621,8.77510068 L20.1103448,8.77510068 L20.1103448,9.30475585 L18.1406897,9.30475585 L18.1406897,6.1516524 Z M15.9062069,9.37923861 L14.4,6.14337654 L15.1613793,6.14337654 L16.1131034,8.26199723 L17.0731034,6.14337654 L17.817931,6.14337654 L16.2951724,9.37923861 L15.9227586,9.37923861 L15.9062069,9.37923861 Z M9.60827586,9.37096274 C8.54896552,9.37096274 7.72137931,8.65096274 7.72137931,7.71579033 C7.72137931,6.8054455 8.56551724,6.06889378 9.62482759,6.06889378 C9.92275862,6.06889378 10.1710345,6.12682481 10.4772414,6.25923861 L10.4772414,6.98751447 C10.2453534,6.75969251 9.93335245,6.63192067 9.60827586,6.6316524 C8.9462069,6.6316524 8.44137931,7.1116524 8.44137931,7.71579033 C8.44137931,8.35303171 8.93793103,8.80820412 9.64137931,8.80820412 C9.95586207,8.80820412 10.1958621,8.70889378 10.4772414,8.46061792 L10.4772414,9.18889378 C10.1627586,9.32130757 9.89793103,9.37096274 9.60827586,9.37096274 L9.60827586,9.37096274 Z M7.5062069,8.33647999 C7.5062069,8.94889378 7.00137931,9.37096274 6.27310345,9.37096274 C5.74344828,9.37096274 5.36275862,9.18889378 5.04,8.77510068 L5.49517241,8.38613516 C5.65241379,8.66751447 5.91724138,8.80820412 6.24827586,8.80820412 C6.56275862,8.80820412 6.7862069,8.6178593 6.7862069,8.36958343 C6.7862069,8.22889378 6.72,8.12130757 6.57931034,8.03854895 C6.42504922,7.96369158 6.26441119,7.90275992 6.09931034,7.85647999 C5.44551724,7.64958343 5.22206897,7.42613516 5.22206897,6.98751447 C5.22206897,6.47441102 5.70206897,6.0854455 6.33103448,6.0854455 C6.72827586,6.0854455 7.08413793,6.20958343 7.38206897,6.44130757 L7.01793103,6.85510068 C6.87360928,6.69688076 6.66932728,6.60675635 6.45517241,6.60682481 C6.15724138,6.60682481 5.94206897,6.75579033 5.94206897,6.95441102 C5.94206897,7.11992826 6.0662069,7.21096274 6.48,7.3516524 C7.27448276,7.59992826 7.5062069,7.8316524 7.5062069,8.34475585 L7.5062069,8.33647999 Z M4.08827586,6.1516524 L4.78344828,6.1516524 L4.78344828,9.30475585 L4.08827586,9.30475585 L4.08827586,6.1516524 Z M1.8537931,9.30475585 L0.827586207,9.30475585 L0.827586207,6.1516524 L1.8537931,6.1516524 C2.97931034,6.1516524 3.75724138,6.79716964 3.75724138,7.72406619 C3.75724138,8.19579033 3.52551724,8.64268688 3.12,8.94061792 C2.77241379,9.18889378 2.38344828,9.30475585 1.84551724,9.30475585 L1.8537931,9.30475585 Z M2.66482759,6.9378593 C2.43310345,6.75579033 2.16827586,6.68958343 1.71310345,6.68958343 L1.52275862,6.68958343 L1.52275862,8.77510068 L1.71310345,8.77510068 C2.16,8.77510068 2.44137931,8.69234206 2.66482759,8.52682481 C2.90482759,8.32820412 3.04551724,8.03027309 3.04551724,7.72406619 C3.04551724,7.4178593 2.90482759,7.12820412 2.66482759,6.9378593 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#000000\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.4137931,6.06889378 C11.5034483,6.06889378 10.7586207,6.79716964 10.7586207,7.69923861 C10.7586207,8.65923861 11.4703448,9.37923861 12.4137931,9.37923861 C13.3406897,9.37923861 14.0689655,8.65096274 14.0689655,7.72406619 C14.0689655,6.79716964 13.3489655,6.06889378 12.4137931,6.06889378 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g id=\"Group-2\">\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#B3131B\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"2\"\n\t\t\t/>\n\t\t\t<g\n\t\t\t\tid=\"Hipercard_logo\"\n\t\t\t\ttransform=\"translate(2.000000, 6.000000)\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tfillRule=\"nonzero\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\td=\"M4.45845797,4.72911206 L4.71934477,4.72911206 L4.72670967,4.71021617 C4.73076043,4.69982332 4.73407456,4.67539055 4.73407456,4.65592007 C4.73407456,4.63644958 4.74267391,4.56566228 4.75318417,4.49861521 C4.76369454,4.43156695 4.78836018,4.27726169 4.80799675,4.15571305 C4.82763331,4.0341644 4.85703646,3.85139347 4.87333717,3.74955542 C4.88963776,3.64771736 4.90953167,3.51735868 4.91754595,3.45986946 C4.92556023,3.40238023 4.93534271,3.3553436 4.93928464,3.3553436 C4.94322668,3.3553436 4.96009268,3.38074637 4.9767648,3.41179473 L5.0070776,3.46824705 L5.07434118,3.5349692 L5.14160488,3.60169134 L5.22440039,3.63432372 L5.30719578,3.66695609 L5.40587279,3.67955056 L5.5045498,3.69214384 L5.62980554,3.68457856 L5.75506139,3.67701327 L5.8906751,3.64246001 L6.02628894,3.60790675 L6.09908975,3.57519075 C6.13913019,3.55719677 6.21011098,3.51796553 6.25682484,3.48801021 L6.34175912,3.43354447 L6.42095111,3.35561954 C6.46450662,3.31276155 6.5259323,3.24403729 6.55745263,3.20290069 C6.58897283,3.16176409 6.61476215,3.12510239 6.61476215,3.12143264 C6.61476215,3.11776169 6.63024834,3.09228724 6.64917582,3.06482382 C6.66810343,3.0373592 6.70683989,2.96113177 6.73525696,2.8954298 C6.76367415,2.82972783 6.80808531,2.71146429 6.83394853,2.63262192 L6.88097263,2.48927217 L6.90527961,2.36510142 C6.91864839,2.29680721 6.93584673,2.18391928 6.94349809,2.11423935 L6.95740984,1.98754804 L6.9493753,1.88003572 L6.94134076,1.77252341 L6.91602234,1.66501109 L6.89070392,1.55749878 L6.84971924,1.47700311 L6.80873457,1.39650745 L6.72956721,1.31388424 L6.65039973,1.23125983 L6.55674682,1.18360201 L6.4630938,1.13594299 L6.35995932,1.11163207 L6.25682484,1.08732115 L6.15369036,1.07986696 L6.05055588,1.07241397 L5.93566831,1.0854122 L5.82078075,1.09840925 L5.7270093,1.12198192 L5.63323773,1.1455534 L5.55177641,1.18267501 C5.50697261,1.2030916 5.44177912,1.23776791 5.40690207,1.25973387 C5.3720249,1.28169983 5.33604735,1.30697239 5.32695174,1.31589472 C5.31785613,1.32481824 5.29608043,1.34134766 5.27856116,1.3526257 L5.24670802,1.37313308 L5.26898276,1.26820942 C5.28123392,1.21050159 5.29147275,1.15656744 5.2917358,1.14835469 L5.29221386,1.13342243 L5.06976516,1.13342243 L4.84731634,1.13342243 L4.80831003,1.37532513 C4.78685648,1.50837162 4.75298372,1.71398893 4.73303727,1.83225247 C4.7130907,1.95051602 4.68301183,2.12791134 4.66619545,2.22646429 C4.64937895,2.32501725 4.61938307,2.49972476 4.59953794,2.61470321 C4.5796928,2.72968165 4.54689191,2.91245259 4.52664697,3.02086084 C4.50640216,3.12926909 4.47674372,3.28784975 4.46073931,3.37326231 C4.44473502,3.45867488 4.41461296,3.61994335 4.39380151,3.7316367 C4.37299019,3.84333005 4.33954562,4.02072536 4.31948026,4.12584852 C4.29941502,4.23097167 4.26676167,4.39761576 4.24691738,4.49616871 C4.2270731,4.59472167 4.20785211,4.68745104 4.20420394,4.70223398 L4.19757093,4.72911206 L4.45845773,4.72911206 L4.45845797,4.72911206 Z M5.58158434,3.34795511 L5.48028286,3.35395071 L5.41406652,3.34244331 L5.34785018,3.33093472 L5.28059837,3.30070464 L5.21334656,3.27047457 L5.16636177,3.22630134 L5.11937709,3.18212931 L5.09225746,3.12240025 C5.07734166,3.08954926 5.0581828,3.0337432 5.04968233,2.99838718 L5.03422684,2.93410437 L5.04041916,2.8311458 L5.04661147,2.72818843 L5.07787505,2.56691995 C5.09507,2.47822229 5.12594421,2.31157821 5.14648436,2.19659976 C5.1670245,2.08162131 5.19812318,1.9131519 5.21559259,1.82222277 L5.24735509,1.6568975 L5.3169102,1.5999088 C5.35516545,1.56856538 5.41576424,1.52655673 5.45157423,1.50655705 L5.51668327,1.470194 L5.60161755,1.44430981 L5.68655183,1.41842563 L5.79575304,1.41211346 L5.90495426,1.40580129 L5.99387134,1.42445946 L6.08278843,1.44311762 L6.1455397,1.47157016 L6.20829096,1.50002269 L6.2609103,1.55210763 L6.31352963,1.60419138 L6.34191746,1.65934519 C6.3575308,1.68968039 6.37946059,1.74905705 6.39065044,1.79129506 L6.41099548,1.86808991 L6.40476348,2.09506035 L6.39853137,2.32203079 L6.36736983,2.45618705 C6.35023095,2.52997394 6.31760514,2.64286188 6.29486799,2.70704912 L6.25352781,2.82375493 L6.20290006,2.91822719 C6.17505485,2.9701879 6.1321162,3.04040419 6.10748089,3.07426459 C6.08284558,3.10812381 6.04357913,3.15198525 6.0202222,3.17173287 C5.99686528,3.19148049 5.95774892,3.22234369 5.93329695,3.24031617 L5.8888387,3.27299275 L5.7858622,3.30747553 L5.6828857,3.34195951 L5.58158434,3.34795511 Z M8.10111202,3.67635864 L8.23458018,3.67786023 L8.36804833,3.665875 C8.44145581,3.6592833 8.56157715,3.64555995 8.63498463,3.63537973 C8.70839211,3.62519831 8.83520336,3.60240928 8.91678734,3.58473665 L9.06512179,3.5526048 L9.07250973,3.498771 C9.07657311,3.4691621 9.093232,3.38101873 9.10952955,3.3028967 L9.1391613,3.16085621 L9.1326233,3.1544198 L9.12608543,3.1479822 L9.0807372,3.1695444 C9.05579576,3.181403 8.97811171,3.20969069 8.90810597,3.23240685 L8.78082285,3.27370711 L8.6472364,3.29918394 L8.51364995,3.32466077 L8.30131425,3.32506693 L8.08897856,3.32547309 L8.01617775,3.30258252 C7.9761373,3.28999283 7.91724557,3.26695772 7.88530737,3.25139472 L7.82723768,3.22309628 L7.7793106,3.18046765 L7.73138352,3.13783782 L7.69398963,3.07349051 L7.65659562,3.00914319 L7.63315109,2.92843011 L7.60970656,2.84771703 L7.60953911,2.69835615 L7.60937167,2.54899526 L7.63018579,2.41575047 L7.65099978,2.28250449 L7.83358895,2.27410658 L8.01617823,2.26570748 L8.69111697,2.26997453 L9.3660557,2.27424157 L9.38643459,2.18913124 C9.39764288,2.14232038 9.41477886,2.04555929 9.42451439,1.97410661 L9.44221542,1.84419231 L9.44258913,1.73490963 L9.44296284,1.62562694 L9.42374501,1.54404301 L9.40452717,1.46245909 L9.37275132,1.40843654 C9.35527451,1.37872491 9.32448062,1.33566504 9.3043205,1.31274938 C9.28416037,1.28983373 9.24816377,1.25752509 9.22432794,1.24095266 C9.20049222,1.22438023 9.15368992,1.19652977 9.12032288,1.17906499 L9.05965554,1.14730824 L8.95365525,1.12215633 L8.84765497,1.09700442 L8.71705262,1.08471099 L8.58645027,1.07241636 L8.46511559,1.08019547 L8.34378091,1.08797458 L8.19817929,1.11550012 L8.05257767,1.14302686 L7.96157665,1.17884877 C7.9115261,1.198551 7.83508525,1.23447922 7.7917081,1.2586898 C7.74833095,1.28290038 7.68827028,1.32231081 7.65823994,1.34626814 C7.62820961,1.37022427 7.57621515,1.4167998 7.54269681,1.44976786 C7.50917834,1.48273591 7.45959784,1.54196325 7.43251788,1.58138443 C7.40543792,1.62080561 7.36392374,1.69068862 7.34026433,1.73668 C7.31660479,1.78267138 7.28577559,1.84717876 7.27175488,1.88002975 C7.25773417,1.91288073 7.23225571,1.98007593 7.21513599,2.02935241 C7.1980164,2.07862889 7.17110667,2.17270216 7.15533656,2.23840413 C7.13956645,2.3041061 7.11795686,2.41225991 7.10731533,2.47874552 L7.08796742,2.59963476 L7.08814699,2.77739681 L7.08832657,2.95515887 L7.10676835,3.03280665 C7.11691132,3.07551293 7.13630473,3.14002032 7.14986473,3.1761564 C7.16342485,3.21229249 7.18849963,3.26604864 7.20558671,3.29561453 C7.22267367,3.32518042 7.2591652,3.37278329 7.28667905,3.40139948 C7.31419278,3.43001568 7.36400431,3.47343751 7.39737135,3.49789178 C7.43073838,3.52234606 7.49013972,3.55674044 7.52937438,3.57432587 L7.60070995,3.60629765 L7.70017273,3.62996947 C7.75487732,3.64298921 7.83743756,3.65841484 7.88363999,3.66425037 C7.92984242,3.6700847 8.02770503,3.67553319 8.10111251,3.67635864 L8.10111202,3.67635864 Z M8.32965888,1.99352094 C7.99374575,1.99352094 7.71890777,1.99115328 7.71890777,1.98826001 C7.71890777,1.98536673 7.73323995,1.94370571 7.75075703,1.89567996 C7.76827412,1.84765421 7.79903902,1.77617166 7.81912342,1.73682932 L7.85564031,1.66529779 L7.93590903,1.58670271 L8.01617775,1.50810762 L8.09504529,1.47097884 C8.13842244,1.45055747 8.19575308,1.42832273 8.22244671,1.42156738 C8.24914034,1.41481202 8.32558119,1.40585027 8.39231526,1.40165251 L8.51364995,1.39401794 L8.60682685,1.40580726 L8.70000364,1.41759659 L8.76771701,1.44811814 L8.8354305,1.4786385 L8.87257529,1.51806804 C8.89300502,1.53975447 8.9173507,1.5716916 8.92667697,1.58903811 L8.94363374,1.62057745 L8.95483159,1.69057752 L8.96602945,1.76057759 L8.95321966,1.87704927 L8.94040987,1.99352094 L8.32965888,1.99352094 Z M11.959629,3.67642315 L12.0931723,3.67788054 L12.2447655,3.66019237 C12.328143,3.6504637 12.4391291,3.63434164 12.4914025,3.62436569 C12.5436771,3.61438974 12.628308,3.59458597 12.6794712,3.58035851 C12.7306357,3.56612985 12.7769248,3.55074723 12.7823351,3.54617318 C12.7877455,3.54159912 12.8022037,3.48738425 12.8144634,3.42569488 C12.826723,3.3640055 12.8421665,3.28127956 12.8487817,3.24185837 C12.8553968,3.20243719 12.858816,3.16807267 12.8563809,3.16549477 C12.8539445,3.16291567 12.8449948,3.16624735 12.8364917,3.1728952 C12.8279885,3.17954304 12.7684545,3.20420995 12.7041944,3.22770736 L12.5873588,3.27043156 L12.420981,3.302168 L12.2546045,3.33390325 L12.1131465,3.32915121 L11.9716884,3.32439797 L11.8913406,3.29696441 L11.8109916,3.26953085 L11.7489046,3.21605781 L11.6868164,3.16258596 L11.6456318,3.08873695 L11.6044472,3.01488793 L11.5848322,2.91609248 L11.5652172,2.81729702 L11.5653386,2.68912203 L11.5654599,2.56094705 L11.5892961,2.40565148 L11.6131335,2.25035592 L11.6383541,2.16673523 C11.6522263,2.12074385 11.6679222,2.06698769 11.6732342,2.0472771 C11.678545,2.02756651 11.7007978,1.97112254 11.722683,1.92184607 C11.7445681,1.87256959 11.7836087,1.79641025 11.8094409,1.75260257 L11.8564059,1.67295267 L11.9140896,1.61410998 L11.9717721,1.5552673 L12.0328581,1.51796531 L12.0939452,1.48066331 L12.172393,1.45687442 C12.2155396,1.44379137 12.2917924,1.42680322 12.3418429,1.41912326 L12.4328439,1.40516219 L12.5663121,1.41175628 L12.6997802,1.41835037 L12.8575153,1.44943457 L13.0152504,1.48051877 L13.0794061,1.50407591 C13.1146915,1.51703353 13.145104,1.52763425 13.1469871,1.52763425 C13.1488715,1.52763425 13.1573345,1.48328542 13.1657928,1.42908129 C13.1742522,1.37487717 13.1893087,1.28569809 13.1992508,1.23090743 C13.209193,1.17611557 13.2149333,1.12892841 13.2120067,1.12604708 C13.2090789,1.12316575 13.1616662,1.11575337 13.1066446,1.109575 C13.0516217,1.10339663 12.9020779,1.09242679 12.7743246,1.08519718 L12.5420452,1.0720532 L12.3782433,1.08442906 L12.2144415,1.09680493 L12.0931068,1.12190786 L11.9717721,1.14701198 L11.8936314,1.17778201 C11.8506546,1.19470683 11.787705,1.2252463 11.7537446,1.24564856 C11.7197843,1.26605201 11.6765552,1.29349632 11.6576803,1.30663671 C11.6388043,1.3197771 11.5815404,1.37104495 11.5304257,1.42056632 L11.4374894,1.5106043 L11.3856128,1.58542809 C11.3570809,1.62658022 11.3077232,1.71239058 11.2759299,1.77611671 L11.2181236,1.89198153 L11.1738182,2.01741257 C11.1494494,2.08639964 11.1154271,2.19928757 11.098211,2.26827464 L11.0669102,2.39370567 L11.0555485,2.50719089 L11.0441879,2.62067611 L11.0443092,2.76999877 L11.0444306,2.91932143 L11.0558894,3.0061878 L11.0673483,3.09305536 L11.1036916,3.18241243 L11.1400338,3.27176949 L11.1820095,3.33637364 L11.2239841,3.4009766 L11.2907327,3.46565123 L11.3574813,3.53032586 L11.4280836,3.56706401 L11.4986858,3.60380216 L11.591451,3.6291691 C11.642471,3.64312061 11.7161818,3.65913278 11.7552528,3.6647509 C11.7943226,3.67037021 11.8863841,3.67562278 11.9598316,3.67642315 L11.959629,3.67642315 Z M13.9555105,3.67201037 L14.1193123,3.66738973 L14.2224468,3.64140161 L14.3255813,3.6154123 L14.3923154,3.5843508 C14.4290191,3.56726709 14.4890798,3.53354287 14.5257835,3.50940874 C14.5624872,3.48527462 14.6192998,3.43939314 14.6520322,3.40745004 C14.6847659,3.37550574 14.7333071,3.32100536 14.7599012,3.28633861 C14.7864953,3.25167066 14.8098571,3.22488337 14.8118155,3.22681143 C14.8137726,3.22873948 14.8076537,3.2839817 14.7982163,3.34957257 C14.7887801,3.41516345 14.7809516,3.50242641 14.7808217,3.54349015 L14.7805912,3.61815148 L15.003278,3.61815148 L15.2259647,3.61815148 L15.2327728,3.44792364 L15.2395797,3.27769581 L15.2713548,3.05669828 C15.2888318,2.93514963 15.3170592,2.75506651 15.3340824,2.65651355 C15.3511044,2.55796059 15.3806943,2.39131651 15.3998373,2.28619336 C15.4189803,2.1810702 15.4493055,2.01711392 15.4672278,1.92184607 L15.4998135,1.74863178 L15.5009055,1.59901287 L15.5019975,1.44939515 L15.4676343,1.38024561 L15.4332723,1.31109728 L15.3866749,1.26705665 L15.3400776,1.22301602 L15.2635748,1.18484915 L15.1870721,1.14668347 L15.0730551,1.12171553 L14.9590393,1.09674639 L14.8020602,1.08498574 L14.645081,1.07322389 L14.4428707,1.08554122 C14.3316553,1.09231569 14.1751408,1.10569261 14.0950599,1.11526718 L13.9494583,1.13267701 L13.8502272,1.13304733 L13.750996,1.13341765 L13.7365584,1.20210607 C13.7286171,1.2398847 13.7065499,1.32964076 13.687521,1.40156411 C13.6684909,1.47348627 13.6546854,1.53406946 13.6568415,1.53619223 C13.6589976,1.538315 13.7120682,1.52645639 13.7747764,1.50983976 C13.8374846,1.49322194 13.9706919,1.4658947 14.070793,1.44911203 L14.252795,1.41859765 L14.4165969,1.411951 L14.5803987,1.40530435 L14.6859089,1.42351335 L14.7914191,1.44172116 L14.8618442,1.47594352 L14.9322693,1.51016469 L14.971703,1.56803021 L15.0111368,1.62589572 L15.0105787,1.7171259 L15.0100205,1.80835607 L14.989117,1.90846915 L14.9682134,2.00858342 L14.5316331,2.01013398 L14.0950539,2.01168455 L13.9521677,2.05025639 C13.8735792,2.07147095 13.786558,2.09963679 13.7587857,2.11284647 C13.7310146,2.12605735 13.7032351,2.13686592 13.6970543,2.13686592 C13.6908735,2.13686592 13.6441232,2.16238934 13.5931651,2.19358344 L13.5005139,2.25030097 L13.4275457,2.32200093 C13.387413,2.36143645 13.3361406,2.42057897 13.3136063,2.45342996 C13.2910733,2.48628094 13.2544617,2.55490844 13.232249,2.60593498 L13.1918603,2.69871094 L13.173324,2.80304089 L13.1547877,2.90737084 L13.1547877,3.01681838 L13.1547877,3.12626711 L13.1724965,3.21739215 L13.1902065,3.3085184 L13.2230615,3.3679524 C13.2411331,3.40064092 13.2742951,3.44852332 13.2967566,3.47435973 L13.3375954,3.52133305 L13.4101681,3.56473577 L13.4827396,3.60813849 L13.5658078,3.63128231 C13.6114963,3.64401177 13.6810332,3.65942187 13.720336,3.66552618 L13.7917948,3.67662623 L13.9555966,3.67200559 L13.9555105,3.67201037 Z M14.1071788,3.33797677 L14.0101111,3.34295937 L13.9458219,3.32683969 C13.9104626,3.31797351 13.8568096,3.2982008 13.8265924,3.2829006 L13.771652,3.25508 L13.7416666,3.21999634 C13.7251748,3.20069908 13.6999809,3.16278307 13.6856804,3.13573655 L13.6596808,3.08656281 L13.6545823,2.97172771 L13.649485,2.85689381 L13.6700525,2.78723658 C13.6813657,2.74892516 13.7079052,2.68244671 13.7290308,2.6395051 L13.7674417,2.56143085 L13.840996,2.48951348 L13.9145503,2.4175973 L13.9926644,2.38056886 L14.0707784,2.34354042 L14.1678462,2.3208398 L14.2649139,2.29813917 L14.5682506,2.29813917 L14.8715874,2.29813917 L14.8907789,2.30595173 L14.9099692,2.31376429 L14.8938183,2.40749114 C14.8849342,2.4590409 14.8637479,2.55228633 14.8467356,2.61470321 C14.8297232,2.67712008 14.7996905,2.76887348 14.7799954,2.81860031 C14.7603004,2.86832714 14.7441859,2.91229012 14.7441859,2.91629675 C14.7441859,2.92030338 14.7242458,2.95653742 14.6998745,2.99681631 L14.6555643,3.07005131 L14.5828035,3.14102257 C14.5427861,3.18005671 14.5056371,3.21199384 14.5002523,3.21199384 C14.4948674,3.21199384 14.4703372,3.22543885 14.4457427,3.24187151 L14.4010235,3.27174799 L14.3026357,3.30237108 L14.2042466,3.33299417 L14.1071788,3.33797677 Z M18.0566228,3.67628099 L18.1718907,3.67771091 L18.281092,3.66026166 C18.3411526,3.65066439 18.4175935,3.63520412 18.4509605,3.6259067 C18.4843276,3.61660808 18.5443882,3.59247515 18.5844287,3.57227836 L18.6572295,3.53555693 L18.7198576,3.48128471 L18.7824857,3.4270125 L18.8484444,3.34040775 C18.8847223,3.29277621 18.9175725,3.24574076 18.9214467,3.23588547 L18.9284889,3.21796675 L18.922364,3.27769581 C18.9189945,3.3105468 18.9114402,3.36430295 18.9055761,3.39715394 C18.8997132,3.43000492 18.8913059,3.49316841 18.8868942,3.53751724 L18.8788715,3.61815148 L19.1168877,3.61815148 L19.3549039,3.61815148 L19.3549039,3.53751724 L19.3549039,3.456883 L19.391166,3.15226478 C19.411111,2.98472475 19.4406038,2.7616367 19.4567061,2.65651355 C19.4728085,2.5513904 19.4976627,2.40087316 19.5119389,2.32203079 C19.5262139,2.24318843 19.5514964,2.10073461 19.5681205,2.00546676 C19.5847433,1.9101989 19.6147725,1.74355481 19.6348497,1.63514656 C19.654927,1.52673831 19.68706,1.35471861 19.7062552,1.25288055 C19.7254515,1.1510425 19.7552865,0.992461836 19.7725549,0.900479078 C19.7898244,0.80849632 19.8207636,0.647227848 19.841308,0.542104696 C19.8618536,0.436981544 19.8918657,0.289152111 19.9080008,0.213594845 C19.9241371,0.13803758 19.9373165,0.0721862871 19.9372885,0.0672586394 L19.9372886,0.0582992798 L19.6776105,0.0582992798 L19.4179324,0.0582992798 L19.4102629,0.132960609 C19.4060453,0.174024341 19.386167,0.309758638 19.3660873,0.434592381 C19.3460089,0.559426124 19.3132764,0.758323906 19.2933496,0.876587452 C19.2734228,0.994850998 19.2542119,1.109532 19.2506592,1.13143345 L19.2442006,1.17125601 L19.2237071,1.16267653 C19.2124364,1.15795674 19.1513431,1.14127321 19.0879458,1.12560031 L18.9726778,1.09710477 L18.8149427,1.08501083 L18.6572076,1.07291569 L18.5237395,1.08516015 L18.3902713,1.09740461 L18.2689366,1.12760004 L18.147602,1.15779547 L18.032334,1.21314639 L17.9170661,1.26849731 L17.8321318,1.33040529 L17.7471975,1.39231447 L17.6738471,1.46974245 C17.6335045,1.51232808 17.5752238,1.58276537 17.5443344,1.62626963 L17.488171,1.70537002 L17.4222183,1.84048553 C17.3859453,1.91479923 17.3418026,2.01323153 17.3241241,2.05922291 C17.3064456,2.10521429 17.2752675,2.20716464 17.2548384,2.28577884 L17.2176966,2.42871287 L17.1993969,2.61428869 L17.1810984,2.7998633 L17.1948396,2.94918596 L17.2085795,3.09850862 L17.224825,3.15226478 C17.2337589,3.18183067 17.2525985,3.23450692 17.2666891,3.26932419 L17.2923089,3.33262744 L17.3390179,3.39487707 L17.3857281,3.45712789 L17.4390608,3.5001364 L17.4923947,3.54314491 L17.5651955,3.57873388 C17.6052359,3.59830709 17.6724044,3.62360354 17.714459,3.63494729 C17.7565136,3.64629103 17.8247643,3.65990926 17.8661273,3.66521081 C17.9074903,3.67051236 17.9932036,3.67549377 18.056601,3.67628099 L18.0566228,3.67628099 Z M18.2635057,3.33735678 L18.1718907,3.34214706 L18.1100549,3.33118916 C18.0760448,3.3251625 18.0216226,3.30900698 17.989117,3.29528841 L17.9300149,3.27034555 L17.8802835,3.23022554 L17.830552,3.19010433 L17.7935947,3.12041485 L17.7566361,3.05072537 L17.7397949,2.97307759 L17.7229524,2.8954298 L17.7243805,2.74013424 L17.7258074,2.58483867 L17.7453666,2.44746183 L17.7649257,2.31008498 L17.7953249,2.21451848 C17.8120436,2.1619569 17.8258042,2.11236625 17.8259049,2.10431836 C17.8260262,2.09627046 17.8425132,2.05326554 17.8625892,2.00875185 C17.8826665,1.96423817 17.9162082,1.89556528 17.9371288,1.8561441 C17.9580481,1.81672291 17.9971506,1.75526768 18.0240226,1.71957718 C18.0508934,1.68388667 18.0987648,1.63013051 18.1304016,1.60011905 C18.1620384,1.57010758 18.2123656,1.53074374 18.2422382,1.51264345 L18.2965536,1.47973512 L18.3919567,1.44723295 L18.4873609,1.41473079 L18.6875631,1.41461133 L18.8877654,1.41461133 L19.0030333,1.44609571 C19.0664307,1.46341117 19.1337447,1.48349327 19.1526184,1.49072169 L19.1869367,1.50386327 L19.1802341,1.53665453 C19.176548,1.55468912 19.1621274,1.63395198 19.1481884,1.71279434 C19.1342495,1.79163671 19.1067842,1.94215395 19.0871522,2.0472771 C19.0675203,2.15240025 19.0373589,2.31098092 19.0201245,2.39967858 C19.0028914,2.48837624 18.9779292,2.60126417 18.9646527,2.65054064 C18.9513763,2.69981712 18.9326471,2.76806952 18.9230301,2.80221304 C18.9134143,2.83635657 18.890516,2.89548834 18.872146,2.93361698 C18.8537759,2.97174563 18.8216307,3.02713239 18.8007126,3.05669828 C18.7797957,3.08626416 18.7444145,3.12722038 18.7220889,3.14771103 C18.6997633,3.16820288 18.6514661,3.2046173 18.6147623,3.22863316 L18.5480283,3.2722975 L18.4515745,3.30243201 L18.3551207,3.33256771 L18.2635057,3.33735798 L18.2635057,3.33735678 Z M0.406035224,3.61815148 L0.700846957,3.61815148 L0.721999232,3.48973399 C0.733631588,3.41910437 0.756352721,3.28337007 0.772489021,3.18810222 C0.78862532,3.09283436 0.818658081,2.91543904 0.839229163,2.7938904 C0.859799032,2.67234175 0.890636242,2.49225862 0.907755352,2.39370567 C0.924874463,2.29515271 0.952074059,2.14227379 0.968198225,2.05397392 C0.984323604,1.96567525 1.00057639,1.89041663 1.00431713,1.88673254 L1.01111794,1.88003572 L1.80383747,1.88003572 L2.596557,1.88003572 L2.60535861,1.88869883 L2.61416145,1.89736193 L2.60041544,1.96634661 C2.59285507,2.0042877 2.57049188,2.12134114 2.55072039,2.22646429 C2.53094769,2.33158744 2.49770806,2.50898276 2.47685426,2.62067611 C2.45600047,2.73236946 2.42584638,2.89095012 2.40984597,2.97307759 C2.39384435,3.05520505 2.36146377,3.22722475 2.33788965,3.3553436 C2.31431432,3.48346244 2.29507549,3.59500646 2.29513616,3.60321921 L2.2952575,3.61815148 L2.59128136,3.61815148 L2.88730644,3.61815148 L2.90040452,3.54349015 C2.90760938,3.50242641 2.91920048,3.4285117 2.92616388,3.37923522 C2.93312606,3.32995874 2.9499115,3.22513424 2.96346337,3.14629187 C2.97701646,3.06744951 3.00409472,2.91155665 3.02363688,2.7998633 C3.04317905,2.68816995 3.07588966,2.4973356 3.09632728,2.37578695 C3.11676368,2.25423831 3.14708242,2.07684299 3.16370127,1.98157513 C3.18032,1.88630727 3.2099327,1.7250388 3.22950738,1.62320075 C3.24908194,1.52136269 3.28168651,1.34934299 3.30196202,1.24093474 C3.32223741,1.13252649 3.3526127,0.96857021 3.36946269,0.876587452 C3.3863128,0.784604694 3.41703596,0.617960606 3.43773662,0.506267257 C3.45843729,0.394573908 3.48457667,0.264215227 3.49582403,0.216581299 L3.5162739,0.129974156 L3.21654665,0.129974156 L2.91681989,0.129974156 L2.90866742,0.186716767 C2.9041841,0.217925202 2.88970402,0.305278958 2.87649067,0.380836224 C2.86327611,0.456393489 2.83924092,0.590783883 2.82307672,0.679481542 C2.80691251,0.768179202 2.77737358,0.937511097 2.75743465,1.05577464 C2.73749451,1.17403819 2.7120846,1.33059045 2.7009667,1.40366896 L2.68075113,1.53653985 L2.24076366,1.54530688 L1.80077498,1.55407391 L1.43224272,1.54546337 C1.22954949,1.54072805 1.0625869,1.53591269 1.06121339,1.53476231 C1.05983988,1.53361551 1.06674383,1.4871905 1.07655495,1.43160066 C1.08636486,1.37601082 1.10492543,1.27945999 1.11780025,1.21704312 C1.13067507,1.15462624 1.15508154,1.03098708 1.17203685,0.942289422 C1.18899095,0.853591763 1.20819702,0.74339164 1.21471511,0.697400261 C1.22123321,0.651408882 1.23489429,0.574806358 1.24507305,0.52717243 C1.25525061,0.479538501 1.27456709,0.379202037 1.28799762,0.304203835 C1.30142816,0.229204439 1.31573716,0.159321434 1.3197958,0.148908269 L1.32717538,0.129974156 L1.02986779,0.129974156 L0.732560203,0.129974156 L0.713517938,0.234500018 C0.703043115,0.291989241 0.689078706,0.373967381 0.682484166,0.416673662 C0.675889626,0.459379942 0.653744833,0.596458144 0.633273245,0.721291887 C0.612802871,0.84612563 0.582582041,1.03158437 0.566118138,1.13342243 C0.549653021,1.23526048 0.519668795,1.42071922 0.499487197,1.54555297 C0.479305599,1.67038671 0.446005295,1.86390887 0.4254876,1.97560222 C0.404969905,2.08729557 0.375264748,2.24587624 0.359476679,2.3280037 C0.343687397,2.41013116 0.313600035,2.56602402 0.292613988,2.67443227 C0.271629155,2.78284052 0.241013987,2.93604557 0.224581631,3.01488793 C0.208148062,3.0937303 0.189981833,3.18511576 0.184209942,3.21796675 C0.178439265,3.25081773 0.159657869,3.34556595 0.142475664,3.42851887 C0.125292247,3.51147178 0.111233197,3.58807431 0.111233197,3.5987467 L0.111233197,3.61815148 L0.40604493,3.61815148 L0.406035224,3.61815148 Z M3.6696828,3.61815148 L3.93066933,3.61815148 L3.93803423,3.59925559 C3.94208498,3.58886273 3.94539912,3.56160239 3.94539912,3.53867598 C3.94539912,3.51574958 3.96181061,3.39658174 3.98186905,3.27385882 C4.00192749,3.1511347 4.03506982,2.95127648 4.0555186,2.82972783 C4.07596737,2.70817919 4.10616636,2.53078387 4.12262747,2.43551601 C4.13908859,2.34024816 4.16836313,2.18166749 4.18768216,2.08311454 C4.20700119,1.98456158 4.23665805,1.83135654 4.2535863,1.74265888 C4.27051468,1.65396122 4.3038043,1.48521228 4.32756345,1.3676607 C4.3513226,1.25010912 4.37372499,1.14921121 4.37734671,1.14344138 L4.38393166,1.13295176 L4.1200058,1.13617355 L3.85607993,1.13939533 L3.83409918,1.2946909 C3.82200988,1.38010346 3.79557869,1.54943535 3.77536324,1.670984 C3.75514791,1.79253264 3.72457012,1.97799139 3.70741291,2.08311454 C3.69025558,2.18823769 3.66033444,2.35756959 3.64092138,2.45940764 C3.62150844,2.56124569 3.59175924,2.71713855 3.57481193,2.80583621 C3.55786476,2.89453387 3.52745513,3.05042672 3.50723495,3.15226478 C3.48701476,3.25410283 3.45988239,3.38849323 3.44694071,3.4509101 C3.43399891,3.51332697 3.42009966,3.57649045 3.41605327,3.5912734 L3.40869626,3.61815148 L3.6696828,3.61815148 Z M9.77371379,3.61815148 L10.0327662,3.61815148 L10.0405474,3.5102342 C10.0448257,3.45088023 10.0594866,3.33127278 10.0731246,3.24443986 C10.0867638,3.15760695 10.1146878,2.98442611 10.1351788,2.85959237 C10.155671,2.73475862 10.1937543,2.52697555 10.2198085,2.39785326 C10.2458627,2.26872977 10.2753155,2.14038396 10.2852589,2.11263742 C10.295201,2.08489208 10.3033365,2.05482685 10.3033365,2.04582568 C10.3033365,2.03682332 10.3228132,1.98777501 10.346619,1.9368285 C10.3704237,1.885882 10.4147873,1.80786868 10.4452047,1.76346729 L10.5005078,1.6827351 L10.5745377,1.61525798 L10.6485665,1.54777966 L10.7398538,1.50485597 L10.8311424,1.46193228 L10.9706773,1.46264903 L11.1102122,1.46336577 L11.1788136,1.48354942 C11.216545,1.49465186 11.2506704,1.50373426 11.2546478,1.50373426 C11.2586263,1.50373426 11.2618805,1.49103467 11.2618805,1.47551228 C11.2618805,1.45999108 11.2755307,1.38130521 11.2922142,1.30065544 C11.3088977,1.22000687 11.3225479,1.15061842 11.3225479,1.14646009 C11.3225479,1.14230175 11.2829624,1.12704814 11.2345802,1.11256384 C11.186198,1.09807954 11.1193123,1.08290836 11.0859452,1.07885156 L11.0252779,1.07147502 L10.9464103,1.08520913 C10.9030332,1.09276246 10.8385341,1.10943762 10.8030789,1.12226504 C10.7676249,1.13509245 10.7090846,1.16418528 10.6729899,1.18691816 C10.6368953,1.20964985 10.5807489,1.25394851 10.5482203,1.28535763 C10.5156916,1.31676676 10.4609794,1.3800951 10.4266368,1.42608648 C10.392293,1.47207786 10.356378,1.5204584 10.3468229,1.53359879 L10.3294514,1.55749042 L10.339999,1.50970717 C10.3458012,1.48342638 10.3619594,1.39741653 10.375908,1.31857416 C10.3898566,1.2397318 10.4041729,1.16581708 10.4077208,1.15431924 L10.4141733,1.13341406 L10.1828196,1.13341406 L9.95146594,1.13341406 L9.95146594,1.16220945 C9.95146594,1.1780472 9.93781118,1.27346438 9.92112208,1.37424762 C9.90443298,1.47503205 9.87691282,1.64350027 9.85996613,1.74862342 C9.84301943,1.85374657 9.8129425,2.03651751 9.79312843,2.15478105 C9.77331448,2.2730446 9.74322906,2.44237649 9.72627205,2.53107415 C9.70931504,2.61977181 9.67920475,2.77566467 9.65936022,2.87750272 C9.63951569,2.97934078 9.60656725,3.14598486 9.58614129,3.24782292 C9.56571544,3.34966097 9.54127633,3.46992783 9.53183225,3.515083 C9.52238804,3.56023818 9.51466108,3.6018992 9.51466108,3.60766305 L9.51466108,3.61815148 L9.77371379,3.61814311 L9.77371379,3.61815148 Z M15.9231926,3.61815148 L16.1880687,3.61815148 L16.1880687,3.53834508 L16.1880687,3.4585375 L16.2185916,3.26060494 C16.2353807,3.15174036 16.2630766,2.97934914 16.2801399,2.87751109 C16.2972031,2.77567303 16.3184719,2.64665825 16.3274021,2.59081158 C16.3363336,2.53496491 16.3600011,2.41401355 16.3799983,2.32203079 C16.3999955,2.23004804 16.4249722,2.13059914 16.4355041,2.10103326 C16.4460347,2.07146737 16.4547308,2.04044768 16.4548278,2.03210114 C16.4549492,2.0237546 16.4775041,1.97007848 16.5050034,1.9128222 L16.555003,1.80871922 L16.6209641,1.72243342 L16.6869253,1.63614762 L16.7591146,1.58271997 C16.7988189,1.55333566 16.862664,1.51433975 16.9009912,1.49606385 L16.9706774,1.46283419 L17.1223457,1.46386153 L17.2740141,1.46488886 L17.3337192,1.48376564 L17.3934244,1.50264122 L17.4034867,1.49651779 L17.413549,1.49039556 L17.4140586,1.45227648 C17.4143376,1.43131157 17.4273241,1.35330183 17.4429192,1.27892123 L17.4712752,1.14368388 L17.4393799,1.13139044 C17.4218386,1.12462911 17.3801856,1.1106334 17.3468185,1.10028833 L17.2861512,1.08147964 L17.17695,1.0817544 L17.0677488,1.08202915 L16.9787546,1.11285532 L16.8897605,1.1436803 L16.8229391,1.18334995 L16.7561176,1.22301961 L16.669242,1.3126132 L16.5823676,1.4022068 L16.5356913,1.47170873 C16.5100193,1.50993414 16.4874171,1.53950002 16.4854648,1.5374107 C16.4835113,1.53532018 16.4974648,1.45566431 16.5164719,1.36039645 C16.535479,1.2651286 16.5512658,1.17508703 16.5515534,1.16030409 L16.5520751,1.1334272 L16.327606,1.1334272 L16.1031368,1.1334272 L16.1031368,1.14103908 C16.1031368,1.14522489 16.0919461,1.22182741 16.0782681,1.31126691 C16.0645912,1.40070521 16.0371283,1.57333176 16.0172416,1.6948804 C15.9973536,1.81642905 15.9647218,2.01263902 15.9447271,2.13090257 C15.9247312,2.24916611 15.894588,2.41849801 15.8777419,2.50719567 C15.8608958,2.59589333 15.8309746,2.75178618 15.8112517,2.85362424 C15.7915287,2.95546229 15.7591214,3.11941857 15.7392359,3.21797153 C15.7193504,3.31652448 15.6930086,3.44688316 15.6806992,3.50765749 L15.6583178,3.61815625 L15.9231951,3.61815625 L15.9231926,3.61815148 Z M4.18287366,0.70311036 L4.25654638,0.703373168 L4.31510626,0.683728279 L4.37366602,0.664083389 L4.42549425,0.612324572 L4.47732236,0.56056456 L4.50462182,0.491606161 L4.53192127,0.422646568 L4.5328968,0.32110716 L4.53387233,0.219567752 L4.5096054,0.179918405 L4.48533846,0.140270252 L4.4430896,0.114516275 L4.40084074,0.0887622969 L4.30962145,0.0887622969 L4.21840216,0.0887611023 L4.15629991,0.116134932 L4.09419767,0.143508762 L4.05814865,0.181538257 L4.0220995,0.219567752 L3.99378945,0.285269722 L3.96547928,0.350971692 L3.96012782,0.453313859 L3.95477635,0.555656026 L3.98113328,0.606521296 L4.00749008,0.657385372 L4.05834557,0.680117059 L4.10920094,0.702848746 L4.18287366,0.703111554 L4.18287366,0.70311036 Z\"\n\t\t\t\t\tid=\"path2997\"\n\t\t\t\t/>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import amex from './amex';\nimport dinersclub from './dinersclub';\nimport discover from './discover';\nimport hipercard from './hipercard';\nimport jcb from './jcb';\nimport unionpay from './unionpay';\nimport mastercard from './mastercard';\nimport placeholder from './placeholder';\nimport visa from './visa';\nimport troy from './troy';\n\nexport default {\n\tamex,\n\tdinersclub,\n\tdiscover,\n\thipercard,\n\tjcb,\n\tunionpay,\n\tmastercard,\n\tplaceholder,\n\tvisa,\n\ttroy,\n};\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m.20535714 16h4.51785715c1.0278125 0 2.25892857-1.1946667 2.25892857-2.1333333v-13.8666667h-4.51785715c-1.0278125 0-2.25892857 1.19466667-2.25892857 3.2z\"\n\t\t\tfill=\"#047ab1\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m2.76924107 10.816c-.86733559.0001606-1.73039558-.1147397-2.56388393-.3413333v-1.17333337c.64678874.37770431 1.38610045.59084099 2.14598215.61866667.8696875 0 1.35535714-.576 1.35535714-1.36533333v-3.22133334h2.14598214v3.22133334c0 1.25866666-.70026786 2.26133333-3.0834375 2.26133333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 16h4.51785716c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.02781249 0-2.25892856 1.19466667-2.25892856 3.2z\"\n\t\t\tfill=\"#d42d06\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 6.08c.65508929-.59733333 1.78455357-.97066667 3.61428576-.88533333.9939285.04266666 2.0330357.32 2.0330357.32v1.184c-.5943231-.3394747-1.2623758-.54734656-1.9539732-.608-1.3892411-.11733334-2.23633933.61866666-2.23633933 1.90933333s.84709823 2.0266667 2.23633933 1.92c.6920185-.06606555 1.3596342-.27744592 1.9539732-.61866667v1.17333337s-1.0391072.288-2.0330357.3306666c-1.82973219.0853334-2.95919647-.288-3.61428576-.8853333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.0178571 16h4.5178572c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.0278125 0-2.2589286 1.19466667-2.2589286 3.2z\"\n\t\t\tfill=\"#67b637\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m21.6651786 9.28c0 .8533333-.7002679 1.3866667-1.6377232 1.3866667h-4.0095983v-5.33333337h3.6481697l.2597768.01066667c.8245089.04266667 1.4344196.50133333 1.4344196 1.29066667 0 .61866666-.4179018 1.152-1.1746428 1.28v.032c.8358035.05333333 1.4795982.55466666 1.4795982 1.33333333zm-2.880134-3.104c-.0486104-.00686658-.0976798-.01043129-.1468303-.01066667h-1.3553572v1.344h1.5021875c.2823661-.064.5195536-.30933333.5195536-.672 0-.36266666-.2371875-.608-.5195536-.66133333zm.1694197 2.176c-.059755-.00886168-.1202559-.01243275-.1807143-.01066667h-1.4908929v1.46133334h1.4908929l.1807143-.02133334c.2823661-.064.5195536-.34133333.5195536-.71466666 0-.37333334-.2258929-.64-.5195536-.71466667z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#252525\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<circle cx=\"9\" cy=\"8\" fill=\"#eb001b\" r=\"5\" />\n\t\t<circle cx=\"15\" cy=\"8\" fill=\"#f79e1b\" r=\"5\" />\n\t\t<path\n\t\t\td=\"m12 3.99963381c1.2144467.91220633 2 2.36454836 2 4.00036619s-.7855533 3.0881599-2 4.0003662c-1.2144467-.9122063-2-2.36454837-2-4.0003662s.7855533-3.08815986 2-4.00036619z\"\n\t\t\tfill=\"#ff5f00\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#D8D8D8\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"0.923076923\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tx=\"16.6153846\"\n\t\t\t\ty=\"3.76470588\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"2.82352941\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"6.46153846\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"11.9230769\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"5.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"18.4615385\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g>\n\t\t<path\n\t\t\ttransform=\"scale(0.6)\"\n\t\t\td=\"m33.6 24h-31.2c-1.325 0-2.4-1.075-2.4-2.4v-19.2c0-1.325 1.075-2.4 2.4-2.4h31.2c1.325 0 2.4 1.075 2.4 2.4v19.2c0 1.325-1.075 2.4-2.4 2.4zm-8.689-15.321c-.07-.002-.151-.004-.233-.004-.213 0-.424.01-.632.028l.027-.002c-.01.03.542 1.996 1.066 3.83l.064.224c1.114 3.896 1.114 3.896.937 4.274-.153.313-.392.565-.686.729l-.008.004-.231.116-.994.019c-.96.02-.998.024-1.12.111-.228.164-.315.425-.489 1.467-.09.55-.16.982-.16 1.006.148.031.318.049.492.049.084 0 .167-.004.249-.012l-.01.001c.214 0 .48 0 .812-.006.17.016.367.025.566.025.484 0 .956-.054 1.409-.157l-.043.008c1.072-.313 1.958-.975 2.55-1.852l.01-.016c.197-.286 5.257-9.732 5.257-9.814-.167-.024-.359-.038-.555-.038-.09 0-.178.003-.267.009l.012-.001h-.594l-1.4.011-.266.132c-.149.071-.277.163-.385.274-.067.08-.528 1.088-1.12 2.445-.344.887-.691 1.622-1.083 2.33l.049-.096c-.022-.046-.218-1.266-.378-2.282-.187-1.218-.366-2.27-.4-2.346-.065-.168-.191-.3-.349-.372l-.004-.002c-.151-.08-.223-.08-1.539-.095h-.553zm-3.77.131c-.043 0-.052.027-.062.071-.027.123-.418 2.354-.418 2.386.042.047.092.087.148.117l.003.001c.41.281.69.725.746 1.237l.001.008c.003.04.005.087.005.134 0 .787-.538 1.448-1.266 1.637l-.012.003c-.136.032-.19.067-.203.131-.035.168-.418 2.357-.418 2.39 0 .006.023.015.179.015.07 0 .16 0 .25-.007 1.958-.11 3.55-1.545 3.9-3.417l.004-.026c.026-.2.041-.431.041-.665 0-.321-.028-.636-.082-.942l.005.032c-.291-1.35-1.207-2.439-2.423-2.964l-.027-.01c-.108-.056-.232-.101-.364-.129l-.01-.002zm-16.966-.136c-.167 0-.603 0-.612.008s-.025.13-.058.32l-.137.758c-.104.588-.179 1.074-.167 1.082s.32.012.621.012h.596l-.012.091c0 .026-.037.211-.085.489l-.185 1.058c-.172.615-.271 1.322-.271 2.051 0 .156.005.31.013.464l-.001-.021c.182 1.082 1.114 1.766 2.624 1.925.198.021.466.031.701.031.038.003.081.004.125.004.138 0 .273-.016.403-.046l-.012.002c.022-.027.413-2.182.418-2.306 0-.052-.069-.068-.386-.088-.778-.043-1.126-.297-1.126-.823 0-.16.367-2.381.457-2.763.013-.059.032-.075.433-.075h.606c.053.003.116.004.179.004.174 0 .344-.012.512-.034l-.019.002c.025-.042.378-2 .378-2.099 0-.037-.198-.047-.847-.047h-.846l.107-.609c.195-1.063.149-1.32-.278-1.527-.214-.107-.231-.107-1.152-.123l-.953-.012-.024.111c-.012.064-.096.525-.183 1.03s-.171.96-.183 1.022l-.024.112zm6-.008-.025.111c-.04.186-1.415 8.014-1.415 8.053.294.026.637.042.983.042.135 0 .27-.002.404-.007l-.019.001h1.369l.04-.21c.025-.111.16-.871.302-1.686.14-.8.297-1.6.342-1.75.238-.867.892-1.541 1.727-1.805l.018-.005c.2-.061.43-.096.668-.096.056 0 .111.002.165.006h-.007c.499 0 .53-.005.545-.08.045-.195.452-2.57.445-2.593-.066-.021-.141-.034-.22-.034-.024 0-.048.001-.072.003h.003c-.006 0-.014 0-.021 0-.16 0-.317.013-.47.038l.017-.002c-.622.133-1.164.417-1.603.813l.003-.003c-.292.27-.546.576-.756.912l-.011.019c-.022.056-.054.104-.094.144.015-.157.037-.297.066-.435l-.004.024c.166-.885.076-1.192-.4-1.371-.269-.047-.578-.074-.894-.074-.058 0-.115.001-.173.003h.008zm9.704-.026h-.141c-.236 0-.467.022-.691.064l.023-.004c-1.274.263-2.314 1.086-2.869 2.195l-.011.024c-.272.488-.432 1.07-.432 1.689 0 .051.001.101.003.151v-.007c-.001.041-.002.09-.002.139 0 .262.024.518.069.767l-.004-.026c.249 1.142.939 2.09 1.879 2.674l.018.01c.276.177.595.325.933.427l.027.007c.025-.018.139-.633.247-1.233l.218-1.213-.103-.08c-.27-.187-.487-.434-.635-.721l-.005-.011c-.099-.162-.157-.359-.157-.569 0-.052.004-.103.01-.153l-.001.006c-.006-.044-.009-.095-.009-.147 0-.2.051-.387.14-.551l-.003.006c.228-.47.651-.815 1.161-.931l.011-.002c.08-.008.151-.031.151-.052 0-.054.4-2.314.422-2.394-.015-.056-.07-.064-.249-.064z\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m4.54588254.00006676h5.79377466c.8087588 0 1.3117793.72566459 1.1231113 1.61890981l-2.69741608 12.74856503c-.19036262.8901361-1.00010994 1.6164225-1.80943362 1.6164225h-5.79320976c-.80762905 0-1.31177937-.7262864-1.12311135-1.6164225l2.69854581-12.74856503c.18866803-.89324522.9979917-1.61890981 1.80773904-1.61890981\"\n\t\t\tfill=\"#dd2423\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m9.85756516.00006676h6.66269264c.8086174 0 .4439911.72566459.2537697 1.61890981l-2.6969924 12.74856503c-.1892329.8901361-.1302036 1.6164225-.9405158 1.6164225h-6.66269248c-.81031221 0-1.31177939-.7262864-1.12141672-1.6164225l2.69685116-12.74856503c.19149238-.89324522.99912144-1.61890981 1.8083039-1.61890981\"\n\t\t\tfill=\"#16315e\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.2559813.00006676h5.7937745c.8098886 0 1.3129092.72566459 1.1226878 1.61890981l-2.6969924 12.74856503c-.1903626.8901361-1.0006749 1.6164225-1.8104222 1.6164225h-5.7910915c-.8103122 0-1.3129091-.7262864-1.1231113-1.6164225l2.697416-12.74856503c.1886681-.89324522.9974268-1.61890981 1.8077391-1.61890981\"\n\t\t\tfill=\"#036862\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m6.05901135 4.08561434c-.59580116.00668457-.77175951 0-.8279645-.01461278-.02160646.11301588-.42365577 2.15460824-.42478553 2.15631824-.08656699.4130443-.14955043.7074763-.36349659.89759795-.12144798.1105286-.26323144.1638497-.42760986.1638497-.26421996 0-.41814822-.1444178-.44399122-.41832975l-.00494264-.09405035s.08049458-.55326485.08049458-.55637395c0 0 .42196112-1.86048711.49751306-2.10641713.00395412-.01399096.00508387-.02129736.00607239-.02798193-.82132725.00792821-.9669236 0-.97695012-.01461278-.00550753.02005371-.025843.13540142-.025843.13540142l-.43085788 2.09693437-.03699927.1778407-.07159782.5817131c0 .1725552.03078565.31339755.09207452.4324762.19629382.37760055.75622549.4341862 1.07297875.4341862.40812169 0 .79096525-.09544945 1.04967767-.26971465.44907509-.2921002.56656897-.74867195.67135315-1.15440985l.04857917-.20815445s.43467082-1.93230737.5085281-2.18367833c.00282441-.01399096.00395413-.02129736.00776704-.02798193zm1.47893982 1.55881086c-.10478422 0-.29627659.0279819-.46828081.12078865-.0624186.0352883-.12144796.07601755-.18372539.11659135l.056205-.22338905-.03078563-.03762015c-.36476761.08130305-.44639193.0921849-.78333945.14441785l-.02824374.0206755c-.03911752.3570805-.07385733.6255515-.21888878 1.32743145-.05521646.25867735-.11255121.519842-.17002718.7778975l.01553403.03280105c.34527946-.0200537.45006363-.0200537.75015309-.0146128l.02428961-.0290701c.03812903-.21499445.04307165-.2653619.12752039-.70079175.03968242-.20644445.1224365-.66006255.16324868-.8215804.07498704-.038242.14898558-.07586215.21959486-.07586215.16819135 0 .14771465.1615179.14121858.22587635-.00720213.1080413-.06849101.4609245-.13133325.76390655l-.04194194.19556255c-.02923223.14441785-.06128888.2847938-.09052111.427968l.01270966.02860375c.34033679-.0200537.44413246-.0200537.73476028-.0146128l.0341749-.0290701c.0525333-.3357831.06792611-.42563615.16113038-.9145426l.04688457-.22463265c.09108601-.43962715.13684082-.6625498.06792616-.8441214-.07286879-.2034908-.24769738-.2526146-.40826291-.2526146zm1.65214439.4602871c-.18090101.038242-.29627659.0637366-.41094606.08021485-.11368097.02005375-.22453757.038242-.39936616.06498025l-.01383941.0138355-.01270966.01103735c-.01821719.14332965-.0309269.26722735-.05507525.41288885-.02047669.150636-.05196844.3217921-.10323077.56772215-.03968243.18825615-.06015913.25385825-.08275412.32008215-.0220301.06622385-.04631967.1305823-.09094476.31572935l.01045019.0171001.00875554.01570095c.1633899-.00855005.27029237-.0146128.38016043-.01570095.10972684-.00435275.22340776 0 .39936611.00108815l.01539286-.0138355.01652257-.0152346c.02541932-.1669588.02923224-.21188535.04476626-.29334385.01539282-.0873658.04194194-.20830985.10704369-.53134565.03078568-.1517242.06510179-.30298205.09701718-.4578154.03318641-.1542115.06792612-.30609115.10097127-.45781535l-.00494263-.0183437zm.00385525-.620608c-.1643784-.10679765-.45288796-.07290845-.64706354.0746185-.19361063.14457325-.21564072.34977405-.05182718.4579708.16155403.10384405.45119334.0729085.64367421-.0758621.19318708-.14768235.21733543-.3510177.05521651-.4567272zm.99410809 2.473369c.3325698 0 .6734715-.1008904.9300657-.400297.1974235-.2428209.2879446-.60409865.3192952-.7528692.1021011-.4931037.0225949-.7233328-.0772466-.8635533-.1516687-.21375085-.4197016-.28230655-.697761-.28230655-.1672028 0-.5654392.01818825-.87654364.33391765-.22340786.22774175-.32663863.5367866-.38891601.83308405-.06284224.3018939-.13514621.84536505.31887154 1.0476122.14008884.0662239.34203141.08441215.47223481.08441215zm-.0259841-1.10948335c.0766817-.3734032.1672028-.6868008.3982364-.6868008.1810422 0 .1941755.23318275.1136809.6078296-.0144042.0831685-.0804945.3923688-.1698859.5240393-.0624186.09715945-.1362759.15607695-.2179003.15607695-.0242896 0-.1687562 0-.1710157-.23613635-.0011297-.11659135.0204767-.23567.0468846-.3650087zm2.1066988 1.06146325.0259841-.0290701c.0368581-.21499445.0429305-.2655174.1245549-.70079175.0408121-.20644445.1252608-.66006255.1649433-.82158045.0751282-.0383974.1478558-.07601755.2207245-.07601755.1670616 0 .1467262.1615179.140089.2258763-.0060725.1081968-.0673613.4609245-.1313334.76390655l-.0396824.1955626c-.030362.14457325-.0634071.2847938-.0926394.42812345l.0127097.02860375c.3414665-.02005375.441308-.02005375.7336305-.0146128l.0353047-.0290701c.0512623-.33593855.0651017-.42579165.1611304-.9145426l.0457548-.2247881c.0915096-.43962715.1378292-.66239435.0700444-.84396595-.0749871-.2034908-.2509454-.2526146-.4092515-.2526146-.1049254 0-.2974063.02782645-.468422.12078865-.0611476.0352883-.1224365.0758621-.1825956.11659135l.0523921-.22338905-.0281025-.0377756c-.3646263.0814585-.4479453.09234035-.7844692.1445733l-.025843.0206755c-.0408122.35708045-.0739986.62539605-.21903 1.32743145-.0552164.25867735-.1125512.51984195-.1698859.7778975l.0153928.03280105c.3458442-.02005375.4490751-.02005375.7485997-.0146128zm2.5088186.01453505c.0214652-.1153477.1489856-.7990394.1501153-.7990394 0 0 .1085971-.50165375.1152345-.519842 0 0 .0341748-.0522329.0683497-.07290845h.0502738c.4743532 0 1.0099953 0 1.4298381-.3399804.2856852-.2331827.4809905-.57751585.5681223-.99600105.022595-.1026004.0392588-.22463269.0392588-.34666496 0-.16027425-.0292322-.3188385-.1136809-.44273624-.2140874-.32972035-.6404262-.3357831-1.132573-.33827039-.0015534 0-.2426136.00248729-.2426136.00248729-.629976.00855003-.8826161.00606275-.9864117-.00792821-.0087556.05052291-.0252782.14037599-.0252782.14037599s-.2256673 1.15130077-.2256673 1.15316622c0 0-.5400198 2.4477966-.5654392 2.5631443.5500464-.00730635.7755725-.00730635.8704714.0041973zm.4181482-2.0451678s.2399304-1.14896892.2388007-1.14461618l.0077669-.05891749.0033893-.04492654.0958874.01088185s.4948299.046792.5064099.04803565c.1953052.0831685.2757998.29754113.2195948.57736036-.0512623.2557237-.2019425.4707182-.3955532.5745622-.1594358.0879876-.3547411.095294-.5559775.095294h-.1302035zm1.4938667.99045135c-.0634072.2975411-.136276.8410123.3154822 1.0347094.1440429.0674675.2731167.0875212.4043088.08021485.1385355-.00823915.2669031-.08472305.3858092-.1947853-.0107326.04523745-.0214652.0904749-.0321978.1358678l.0204766.0290701c.324944-.01507915.4257741-.01507915.7778319-.0121255l.0319154-.0267383c.0514036-.332674.0998416-.65570975.2334344-1.2921431.0651017-.30484755.1300622-.6067414.1968587-.9103453l-.0104501-.03342285c-.3634967.0741521-.4606551.09000855-.8103124.1445733l-.026549.0237846c-.0035305.0309356-.0072021.0606275-.0105914.09031945-.0543692-.0966931-.1331691-.17923975-.2547583-.2306954-.1554817-.0673121-.5206729.01943185-.8346018.33407305-.2205834.2246327-.3264973.53243385-.3866564.8276432zm.7634275.01818825c.0778115-.3667187.1672028-.67700715.3988014-.67700715.1464436 0 .2235489.14877055.2078737.40247335-.0124272.06327025-.025843.1299605-.0418008.20535625-.0231597.10897405-.0482967.21701535-.0727275.32521215-.0248545.07399665-.0538043.143796-.0855784.1902771-.0595943.09296215-.2013777.150636-.2830021.150636-.0231599 0-.1660731 0-.1710157-.23193905-.0011298-.11550315.0204767-.23442635.0474494-.36500865zm3.9866711-1.21085565-.0281024-.0352883c-.3596838.08021485-.4247856.09296215-.755237.142086l-.0242897.02673825c-.0011296.00435275-.0021182.01103735-.0038128.0171001l-.0011298-.00606275c-.2460027.6247742-.2388006.4899946-.4390485.98185465-.0011298-.02238555-.0011298-.0363765-.0022595-.06016115l-.0501327-1.0662668-.0314917-.0352883c-.3767711.08021485-.3856679.09296215-.7336305.142086l-.0271139.02673825c-.003813.01274735-.003813.0267383-.0060724.0419729l.0022594.00544095c.0434954.2446864.0330452.19012165.0766818.5762722.0203354.1894998.0474494.3800878.0677848.5672558.0343162.3132421.0535219.4674536.0954638.94547815-.2349878.4268798-.2906279.5883977-.51686.9630446l.0015534.0037309-.1592946.27733195c-.0182171.0292256-.0347397.0492793-.0578996.05782935-.0254193.0138355-.0584644.01632275-.1043605.01632275h-.0882616l-.131192.4803564.4500635.00855005c.26422-.00124365.4302931-.1372669.5196844-.32008215l.283002-.53383295h-.004519l.0297972-.03762015c.1903626-.4511308 1.6384179-3.1855867 1.6384179-3.1855867zm-4.7501128 6.3087581h-.1909276l.7066579-2.57293795h.2344228l.0744221-.265051.0072022.29474295c-.0087556.1821934.121448.3437113.4634794.31697305h.3955532l.1361347-.49543555h-.1488443c-.0855785 0-.1252609-.02378465-.1203182-.0747739l-.0072022-.299873h-.7325008v.00155455c-.2368235.00544095-.9440462.0250283-1.0872418.0670012-.1732752.0491238-.3558709.1936971-.3558709.1936971l.071739-.26536195h-.6851925l-.1427719.52652655-.7161194 2.61226815h-.1389591l-.136276.4918601h1.3647364l-.0457548.1640051h.6724828l.0446251-.1640051h.1886681zm-.5599316-2.0501423c-.1097268.03342285-.313929.1347796-.313929.1347796l.1816071-.65757525h.5443977l-.1313333.47911275s-.1681914.01088185-.2807425.0436829zm.0104502.9394154s-.1710158.0236292-.283567.0516111c-.1108566.0369984-.3187303.1535897-.3187303.1535897l.1875382-.6843135h.5472221zm-.3050322 1.1167897h-.5460922l.158306-.5775158h.5443976zm1.315112-1.5959024h.7871525l-.1131162.4032506h-.7976024l-.1197535.4408708h.6979023l-.5284398.8190931c-.0369994.0601612-.0701858.0814585-.1070437.0984031-.0369994.0206755-.0855785.0449265-.1417835.0449265h-.1936107l-.133028.4828437h.5064098c.2632315 0 .4187131-.131826.5335239-.3048476l.3623669-.5459584.0778115.5543531c.0165225.1038439.0843074.1646269.1302034.1882561.0506975.0279819.1030897.0760176.1770882.0831685.0793648.0037309.1366995.0066846.1748285.0066846h.2488272l.1494092-.5403621h-.0981469c-.0563463 0-.1533633-.0104155-.1698859-.0298474-.0165226-.0236292-.0165226-.0600057-.0254194-.1153477l-.0789412-.5555967h-.3232494l.1417836-.1857688h.796049l.1224365-.4408708h-.7370197l.1148107-.4032506h.7347603l.1362759-.497301h-2.1905826zm-6.6483163 1.7081877.1837253-.6728098h.7550958l.1379705-.5004101h-.7558018l.1153756-.4141325h.7385731l.1368408-.4845537h-1.84798632l-.13401641.4845537h.41984283l-.1119863.4141325h-.42097264l-.13952389.5089601h.41970155l-.24487301.8901361c-.03304514.117835.01553408.1627615.04631971.2174817.03149175.0533211.06340718.0886094.13514621.1086631.07399857.0181883.12469597.0290701.19361067.0290701h.8512656l.1516688-.554353-.3773361.0570521c-.0728688 0-.2746701-.0096382-.25264-.0837903zm.0866093-3.22084395-.1913512.38070965c-.0409534.08316845-.0778114.1347796-.1109978.1585642-.0292322.02005375-.0871318.0284483-.1710157.0284483h-.0998415l-.13345158.48704095h.33158128c.1594357 0 .2818722-.0643584.3403368-.09653765.0628422-.0369983.0793647-.0158564.1279439-.0674675l.1119864-.1067977h1.0354146l.1374057-.50709465h-.7579202l.1323219-.2768656zm1.5286064 3.23062205c-.0176524-.027982-.0049427-.0772612.0220301-.1798616l.283002-1.0311339h1.0067472c.1467262-.0023318.25264-.0041973.3215547-.0096382.0739985-.0085501.1544932-.0376202.2421899-.0898531.0905212-.0547202.1368408-.1123941.1759583-.178618.0436366-.0660684.113681-.2106417.1738401-.4335643l.3557296-1.3048905-1.044735.0066846s-.3216959.0522329-.4633381.10990675c-.1429132.06435845-.3471154.2440646-.3471154.2440646l.0943341-.3577023h-.645369l-.9035164 3.29860265c-.0320566.1280949-.0535218.2210571-.0584645.2768655-.0016946.0601612.0689147.1197005.1146695.164627.0540867.0449266.1340164.0376202.2106981.0449266.0806358.0066846.1953053.0108818.3536113.0108818h.4959597l.1522336-.5658567-.4439912.0461702c-.0474494 0-.0817655-.027982-.0960286-.0516111zm.4876277-1.9074346h1.0574447l-.06722.2319391c-.0094616.0054409-.0320566-.0115037-.1396652.0024873h-.9156612zm.2118279-.77789745h1.0663414l-.0766816.27935285s-.5025969-.0054409-.5830915.01088185c-.3541763.06746755-.5610614.27577745-.5610614.27577745zm.802065 1.78653705c-.0087555.0346665-.0225949.0558084-.0419418.0716648-.0214654.0152346-.0562051.0206755-.1080323.0206755h-.1506803l.0088968-.2824619h-.626728l-.0254193 1.380908c-.0009886.0996467.007767.1573206.0739985.2034908.0662315.0576738.2702923.0649802.5449624.0649802h.392729l.1417834-.5168883-.3418902.0206755-.1136809.0073064c-.0155341-.0073064-.030362-.013991-.0468846-.0321792-.0144043-.015701-.0386939-.0060627-.0347398-.1057095l.0026831-.3539713.3585541-.0163228c.1936107 0 .2763648-.0693331.346974-.1354015.0673612-.0632702.0893913-.1360232.1148107-.2344264l.0601592-.3133975h-.4927118z\"\n\t\t\tfill=\"#fefefe\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-80.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g id=\"Visa\" transform=\"translate(40.000000, 0.000000)\">\n\t\t\t\t\t\t<rect\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t\tx=\"0.25\"\n\t\t\t\t\t\t\ty=\"0.25\"\n\t\t\t\t\t\t\twidth=\"23.5\"\n\t\t\t\t\t\t\theight=\"15.5\"\n\t\t\t\t\t\t\trx=\"2\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M2.78773262,5.91443732 C2.26459089,5.62750595 1.6675389,5.39673777 1,5.23659312 L1.0280005,5.1118821 L3.76497922,5.1118821 C4.13596254,5.12488556 4.43699113,5.23650585 4.53494636,5.63071135 L5.12976697,8.46659052 L5.31198338,9.32072617 L6.97796639,5.1118821 L8.77678896,5.1118821 L6.10288111,11.2775284 L4.30396552,11.2775284 L2.78773262,5.91443732 L2.78773262,5.91443732 Z M10.0999752,11.2840738 L8.39882877,11.2840738 L9.46284763,5.1118821 L11.163901,5.1118821 L10.0999752,11.2840738 Z M16.2667821,5.26277458 L16.0354292,6.59558538 L15.881566,6.53004446 C15.5737466,6.40524617 15.1674138,6.28053516 14.6143808,6.29371316 C13.942741,6.29371316 13.6415263,6.56277129 13.6345494,6.82545859 C13.6345494,7.11441463 13.998928,7.3048411 14.5939153,7.58725177 C15.5740257,8.02718756 16.0286384,8.56556562 16.0218476,9.26818871 C16.0080799,10.5486366 14.8460128,11.376058 13.0610509,11.376058 C12.2978746,11.3694253 11.5627918,11.2180965 11.163808,11.0475679 L11.4018587,9.66204513 L11.6258627,9.76066195 C12.1788958,9.99070971 12.5428092,10.0889775 13.221984,10.0889775 C13.7117601,10.0889775 14.2368857,9.89837643 14.2435835,9.48488392 C14.2435835,9.21565125 14.0198586,9.01850486 13.3617074,8.7164581 C12.717789,8.42086943 11.8568435,7.92848346 11.8707973,7.04197926 C11.8780532,5.84042483 13.0610509,5 14.7409877,5 C15.3990458,5 15.9312413,5.13788902 16.2667821,5.26277458 Z M18.5277524,9.0974856 L19.941731,9.0974856 C19.8717762,8.78889347 19.549631,7.31147374 19.549631,7.31147374 L19.4307452,6.77964104 C19.3467437,7.00942698 19.1998574,7.38373457 19.2069273,7.37055657 C19.2069273,7.37055657 18.6678479,8.74290137 18.5277524,9.0974856 Z M20.6276036,5.1118821 L22,11.2839865 L20.4249023,11.2839865 C20.4249023,11.2839865 20.2707601,10.5748181 20.221922,10.3581228 L18.0377903,10.3581228 C17.9746264,10.5221933 17.6807607,11.2839865 17.6807607,11.2839865 L15.8957988,11.2839865 L18.4226343,5.62399144 C18.5977072,5.22341512 18.9059917,5.1118821 19.3117663,5.1118821 L20.6276036,5.1118821 L20.6276036,5.1118821 Z\"\n\t\t\t\t\t\t\tid=\"Shape\"\n\t\t\t\t\t\t\tfill=\"#171E6C\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","export const DEFAULT_CVC_LENGTH = 3;\nexport const DEFAULT_ZIP_LENGTH = 5;\nexport const DEFAULT_CARD_FORMAT = /(\\d{1,4})/g;\nexport const CARD_TYPES = [\n\t{\n\t\tdisplayName: 'Visa',\n\t\ttype: 'visa',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^4/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Mastercard',\n\t\ttype: 'mastercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5[1-5]|677189)|^(222[1-9]|2[3-6]\\d{2}|27[0-1]\\d|2720)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'American Express',\n\t\ttype: 'amex',\n\t\tformat: /(\\d{1,4})(\\d{1,6})?(\\d{1,5})?/,\n\t\tstartPattern: /^3[47]/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 15 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 4,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Diners Club',\n\t\ttype: 'dinersclub',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(36|38|30[0-5])/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 14, 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Discover',\n\t\ttype: 'discover',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(6011|65|64[4-9]|622)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'JCB',\n\t\ttype: 'jcb',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^35/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'UnionPay',\n\t\ttype: 'unionpay',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^62/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVN',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Maestro',\n\t\ttype: 'maestro',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5018|5020|5038|6304|6703|6708|6759|676[1-3])/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 12, 13, 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Elo',\n\t\ttype: 'elo',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern:\n\t\t\t/^(4011(78|79)|43(1274|8935)|45(1416|7393|763(1|2))|50(4175|6699|67[0-7][0-9]|9000)|627780|63(6297|6368)|650(03([^4])|04([0-9])|05(0|1)|4(0[5-9]|3[0-9]|8[5-9]|9[0-9])|5([0-2][0-9]|3[0-8])|9([2-6][0-9]|7[0-8])|541|700|720|901)|651652|655000|655021)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVE',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Hipercard',\n\t\ttype: 'hipercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(384100|384140|384160|606282|637095|637568|60(?!11))/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Troy',\n\t\ttype: 'troy',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^9792/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n];\n\nexport const getCardTypeByValue = ( value ) =>\n\tCARD_TYPES.filter( ( cardType ) =>\n\t\tcardType.startPattern.test( value )\n\t)[ 0 ];\nexport const getCardTypeByType = ( type ) =>\n\tCARD_TYPES.filter( ( cardType ) => cardType.type === type )[ 0 ];\n","import * as cardTypes from './cardTypes';\n\nexport const formatCardNumber = ( cardNumber ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( cardNumber );\n\n\tif ( ! cardType ) return ( cardNumber.match( /\\d+/g ) || [] ).join( '' );\n\n\tconst format = cardType.format;\n\tif ( format && format.global ) {\n\t\treturn ( cardNumber.match( format ) || [] ).join( ' ' );\n\t}\n\n\tif ( format ) {\n\t\tconst execResult = format.exec( cardNumber.split( ' ' ).join( '' ) );\n\t\tif ( execResult ) {\n\t\t\treturn execResult\n\t\t\t\t.splice( 1, 3 )\n\t\t\t\t.filter( ( x ) => x )\n\t\t\t\t.join( ' ' );\n\t\t}\n\t}\n\n\treturn cardNumber;\n};\n\nexport const formatExpiry = ( event ) => {\n\tconst eventData = event.nativeEvent && event.nativeEvent.data;\n\tconst prevExpiry = event.target.value.split( ' / ' ).join( '/' );\n\n\tif ( ! prevExpiry ) return null;\n\tlet expiry = prevExpiry;\n\tif ( /^[2-9]$/.test( expiry ) ) {\n\t\texpiry = `0${ expiry }`;\n\t}\n\n\tif ( prevExpiry.length === 2 && +prevExpiry > 12 ) {\n\t\tconst [ head, ...tail ] = prevExpiry.split( '' );\n\t\texpiry = `0${ head }/${ tail.join( '' ) }`;\n\t}\n\n\tif ( /^1[/-]$/.test( expiry ) ) {\n\t\treturn `01 / `;\n\t}\n\n\texpiry = expiry.match( /(\\d{1,2})/g ) || [];\n\tif ( expiry.length === 1 ) {\n\t\tif ( ! eventData && prevExpiry.includes( '/' ) ) {\n\t\t\treturn expiry[ 0 ];\n\t\t}\n\t\tif ( /\\d{2}/.test( expiry ) ) {\n\t\t\treturn `${ expiry[ 0 ] } / `;\n\t\t}\n\t}\n\tif ( expiry.length > 2 ) {\n\t\tconst [ , month = null, year = null ] =\n\t\t\texpiry.join( '' ).match( /^(\\d{2}).*(\\d{2})$/ ) || [];\n\t\treturn [ month, year ].join( ' / ' );\n\t}\n\treturn expiry.join( ' / ' );\n};\n","import * as cardTypes from './cardTypes';\nimport * as formatter from './formatter';\nimport * as validator from './validator';\n\nexport const BACKSPACE_KEY_CODE = 'Backspace';\nexport const ENTER_KEY_CODE = 'Enter';\n\nexport const isHighlighted = () =>\n\t( window.getSelection() || { type: undefined } ).type === 'Range';\n\nexport default {\n\tcardTypes,\n\tformatter,\n\tvalidator,\n\tBACKSPACE_KEY_CODE,\n\tENTER_KEY_CODE,\n\tisHighlighted,\n};\n","import * as cardTypes from './cardTypes';\n\nconst MONTH_REGEX = /(0[1-9]|1[0-2])/;\n\nexport const EMPTY_CARD_NUMBER = 'Enter a card number';\nexport const EMPTY_EXPIRY_DATE = 'Enter an expiry date';\nexport const EMPTY_CVC = 'Enter a CVC';\nexport const EMPTY_ZIP = 'Enter a ZIP code';\nexport const EMPTY_ADDRESS = 'Enter an Address';\n\nexport const INVALID_CARD_NUMBER = 'Card number is invalid';\nexport const INVALID_EXPIRY_DATE = 'Expiry date is invalid';\nexport const INVALID_CVC = 'CVC is invalid';\nexport const INVALID_ZIP = 'Zip is invalid';\n\nexport const MONTH_OUT_OF_RANGE = 'Expiry month must be between 01 and 12';\nexport const YEAR_OUT_OF_RANGE = 'Expiry year cannot be in the past';\nexport const DATE_OUT_OF_RANGE = 'Expiry date cannot be in the past';\n\nexport const hasCardNumberReachedMaxLength = ( currentValue ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( currentValue );\n\treturn (\n\t\tcardType &&\n\t\tcurrentValue.length >= cardType.lengths[ cardType.lengths.length - 1 ]\n\t);\n};\n\nexport const isNumeric = ( e ) => {\n\treturn /^\\d*$/.test( e.key );\n};\n\nexport const validateLuhn = ( cardNumber ) => {\n\treturn (\n\t\tcardNumber\n\t\t\t.split( '' )\n\t\t\t.reverse()\n\t\t\t.map( ( digit ) => parseInt( digit, 10 ) )\n\t\t\t.map( ( digit, idx ) => ( idx % 2 ? digit * 2 : digit ) )\n\t\t\t.map( ( digit ) => ( digit > 9 ? ( digit % 10 ) + 1 : digit ) )\n\t\t\t.reduce( ( accum, digit ) => ( accum += digit ) ) %\n\t\t\t10 ===\n\t\t0\n\t);\n};\nexport const getCardNumberError = (\n\tcardNumber,\n\tcardNumberValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! cardNumber ) {\n\t\treturn errorMessages.emptyCardNumber || EMPTY_CARD_NUMBER;\n\t}\n\n\tconst rawCardNumber = cardNumber.replace( /\\s/g, '' );\n\tconst cardType = cardTypes.getCardTypeByValue( rawCardNumber );\n\tif ( cardType && cardType.lengths ) {\n\t\tconst doesCardNumberMatchLength = cardType.lengths.includes(\n\t\t\trawCardNumber.length\n\t\t);\n\t\tif ( doesCardNumberMatchLength ) {\n\t\t\tconst isLuhnValid = validateLuhn( rawCardNumber );\n\t\t\tif ( isLuhnValid ) {\n\t\t\t\tif ( cardNumberValidator ) {\n\t\t\t\t\treturn cardNumberValidator( {\n\t\t\t\t\t\tcardNumber: rawCardNumber,\n\t\t\t\t\t\tcardType,\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\treturn errorMessages.invalidCardNumber || INVALID_CARD_NUMBER;\n};\nexport const getExpiryDateError = (\n\texpiryDate,\n\texpiryValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! expiryDate ) {\n\t\treturn errorMessages.emptyExpiryDate || EMPTY_EXPIRY_DATE;\n\t}\n\tconst rawExpiryDate = expiryDate.replace( ' / ', '' ).replace( '/', '' );\n\tif ( rawExpiryDate.length === 4 ) {\n\t\tconst month = rawExpiryDate.slice( 0, 2 );\n\t\tconst year = `20${ rawExpiryDate.slice( 2, 4 ) }`;\n\t\tif ( ! MONTH_REGEX.test( month ) ) {\n\t\t\treturn errorMessages.monthOutOfRange || MONTH_OUT_OF_RANGE;\n\t\t}\n\t\tif ( parseInt( year ) < new Date().getFullYear() ) {\n\t\t\treturn errorMessages.yearOutOfRange || YEAR_OUT_OF_RANGE;\n\t\t}\n\t\tif (\n\t\t\tparseInt( year ) === new Date().getFullYear() &&\n\t\t\tparseInt( month ) < new Date().getMonth() + 1\n\t\t) {\n\t\t\treturn errorMessages.dateOutOfRange || DATE_OUT_OF_RANGE;\n\t\t}\n\t\tif ( expiryValidator ) {\n\t\t\treturn expiryValidator( {\n\t\t\t\texpiryDate: { month, year },\n\t\t\t\terrorMessages,\n\t\t\t} );\n\t\t}\n\t\treturn;\n\t}\n\treturn errorMessages.invalidExpiryDate || INVALID_EXPIRY_DATE;\n};\nexport const getCVCError = (\n\tcvc,\n\tcvcValidator,\n\t{ cardType, errorMessages = {} } = {}\n) => {\n\tif ( ! cvc ) {\n\t\treturn errorMessages.emptyCVC || EMPTY_CVC;\n\t}\n\tif ( cvc.length < 3 ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cardType && cvc.length !== cardType.code.length ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cvcValidator ) {\n\t\treturn cvcValidator( { cvc, cardType, errorMessages } );\n\t}\n\treturn;\n};\nexport const getZIPError = ( zip, { errorMessages = {} } = {} ) => {\n\tif ( ! zip ) {\n\t\treturn errorMessages.emptyZIP || EMPTY_ZIP;\n\t}\n\tif ( zip.length <= 3 ) {\n\t\treturn errorMessages.invalidAddress || INVALID_ZIP;\n\t}\n\treturn;\n};\n\nexport const getAddressError = ( address, { errorMessages = {} } = {} ) => {\n\tif ( ! address ) {\n\t\treturn errorMessages.emptyAddress || EMPTY_ADDRESS;\n\t}\n\treturn;\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n if (ret !== void 0) {\n return !!ret;\n }\n\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n // Test for A's keys different from B.\n for (var idx = 0; idx < keysA.length; idx++) {\n var key = keysA[idx];\n\n if (!bHasOwnProperty(key)) {\n return false;\n }\n\n var valueA = objA[key];\n var valueB = objB[key];\n\n ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n if (ret === false || (ret === void 0 && valueA !== valueB)) {\n return false;\n }\n }\n\n return true;\n};\n","import{__spreadArray as e,__assign as t}from\"tslib\";import n from\"@emotion/is-prop-valid\";import o,{useRef as r,useState as s,useMemo as i,useEffect as a,useContext as c,useDebugValue as l,createElement as u}from\"react\";import p from\"shallowequal\";import*as d from\"stylis\";import h from\"@emotion/unitless\";var f=\"undefined\"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||\"data-styled\",m=\"active\",y=\"data-styled-version\",v=\"6.1.13\",g=\"/*!sc*/\\n\",S=\"undefined\"!=typeof window&&\"HTMLElement\"in window,w=Boolean(\"boolean\"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&\"\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY?\"false\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&\"\"!==process.env.SC_DISABLE_SPEEDY?\"false\"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:\"production\"!==process.env.NODE_ENV),b={},E=/invalid hook call/i,N=new Set,P=function(t,n){if(\"production\"!==process.env.NODE_ENV){var o=n?' with the id of \"'.concat(n,'\"'):\"\",s=\"The component \".concat(t).concat(o,\" has been created dynamically.\\n\")+\"You may see this warning because you've called styled inside another component.\\nTo resolve this only create new StyledComponents outside of any render method and function component.\",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,e([t],n,!1))},r(),a&&!N.has(s)&&(console.warn(s),N.add(s))}catch(e){E.test(e.message)&&N.delete(s)}finally{console.error=i}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}var A=new Set([\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"bdi\",\"bdo\",\"big\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"nav\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"picture\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"track\",\"u\",\"ul\",\"use\",\"var\",\"video\",\"wbr\",\"circle\",\"clipPath\",\"defs\",\"ellipse\",\"foreignObject\",\"g\",\"image\",\"line\",\"linearGradient\",\"marker\",\"mask\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialGradient\",\"rect\",\"stop\",\"svg\",\"text\",\"tspan\"]),O=/[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,\"-\").replace(D,\"\")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n=\"\";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return(j(t%k)+n).replace(T,\"$1-$2\")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z=function(e){return M(F,e)};function $(e){return x(z(e)>>>0)}function B(e){return\"production\"!==process.env.NODE_ENV&&\"string\"==typeof e&&e||e.displayName||e.name||\"Component\"}function L(e){return\"string\"==typeof e&&(\"production\"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G=\"function\"==typeof Symbol&&Symbol.for,Y=G?Symbol.for(\"react.memo\"):60115,W=G?Symbol.for(\"react.forward_ref\"):60112,q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J=((V={})[W]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V[Y]=U,V);function X(e){return(\"type\"in(t=e)&&t.type.$$typeof)===Y?U:\"$$typeof\"in e?J[e.$$typeof]:q;var t}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if(\"string\"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n)}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l)}catch(e){}}}}return e}function re(e){return\"function\"==typeof e}function se(e){return\"object\"==typeof e&&\"styledComponentId\"in e}function ie(e,t){return e&&t?\"\".concat(e,\" \").concat(t):e||t||\"\"}function ae(e,t){if(0===e.length)return\"\";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce(e){return null!==e&&\"object\"==typeof e&&e.constructor.name===Object.name&&!(\"props\"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=!1),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=le(e[o],t[o]);return e}function ue(e,t){Object.defineProperty(e,\"toString\",{value:t})}var pe=\"production\"!==process.env.NODE_ENV?{1:\"Cannot create styled-component for component: %s.\\n\\n\",2:\"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\\n\\n- Are you trying to reuse it across renders?\\n- Are you accidentally calling collectStyles twice?\\n\\n\",3:\"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\\n\\n\",4:\"The `StyleSheetManager` expects a valid target or sheet prop!\\n\\n- Does this error occur on the client and is your target falsy?\\n- Does this error occur on the server and is the sheet falsy?\\n\\n\",5:\"The clone method cannot be used on the client!\\n\\n- Are you running in a client-like environment on the server?\\n- Are you trying to run SSR on the client?\\n\\n\",6:\"Trying to insert a new style tag, but the given Node is unmounted!\\n\\n- Are you using a custom target that isn't mounted?\\n- Does your document not have a valid head element?\\n- Have you accidentally removed a style tag manually?\\n\\n\",7:'ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\\n\\n```js\\ntheme={() => ({})}\\n```\\n\\n',8:'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',9:\"Missing document `<head>`\\n\\n\",10:\"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",11:\"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",12:\"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\\n\\n\",13:\"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\\n\",14:'ThemeProvider: \"theme\" prop is required.\\n\\n',15:\"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\\n\\n```js\\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\\n```\\n\\n\",16:\"Reached the limit of how many styled components may be created at group %s.\\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\\nas for instance in your render method then you may be running into this limitation.\\n\\n\",17:\"CSSStyleSheet could not be found on HTMLStyleElement.\\nHas styled-components' style tag been unmounted or altered by another script?\\n\",18:\"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`\"}:{};function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e)}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return\"production\"===process.env.NODE_ENV?new Error(\"An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#\".concat(t,\" for more information.\").concat(n.length>0?\" Args: \".concat(n.join(\", \")):\"\")):new Error(de.apply(void 0,e([pe[t]],n,!1)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,\"\".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t=\"\";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+=\"\".concat(this.tag.getRule(s)).concat(g);return t},e}(),me=1<<30,ye=new Map,ve=new Map,ge=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge);)ge++;var t=ge++;if(\"production\"!==process.env.NODE_ENV&&((0|t)<0||t>me))throw he(16,\"\".concat(t));return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge=t+1,ye.set(e,t),ve.set(t,e)},be=\"style[\".concat(f,\"][\").concat(y,'=\"').concat(v,'\"]'),Ee=new RegExp(\"^\".concat(f,'\\\\.g(\\\\d+)\\\\[id=\"([\\\\w\\\\d-]+)\"\\\\].*?\"([^\"]*)')),Ne=function(e,t,n){for(var o,r=n.split(\",\"),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o)},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:\"\").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function Ce(){return\"undefined\"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement(\"style\"),r=function(e){var t=Array.from(e.querySelectorAll(\"style[\".concat(f,\"]\")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y,v);var i=Ce();return i&&o.setAttribute(\"nonce\",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode(\"\")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:\"\"},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:\"\"},e}(),De=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:\"\"},e}(),Re=S,Te={isServer:!S,useCSSOMInjection:!w},ke=function(){function e(e,n,o){void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=t(t({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Re&&(Re=!1,_e(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o=\"\",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return\"continue\";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return\"continue\";var a=\"\".concat(f,\".g\").concat(n,'[id=\"').concat(r,'\"]'),c=\"\";void 0!==s&&s.forEach(function(e){e.length>0&&(c+=\"\".concat(e,\",\"))}),o+=\"\".concat(i).concat(a,'{content:\"').concat(c,'\"}').concat(g)},s=0;s<n;s++)r(s);return o}(r)})}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S&&_e(this)},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(t(t({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),je=/&/g,xe=/^\\s*\\/\\/.*$/gm;function Ve(e,t){return e.map(function(e){return\"rule\"===e.type&&(e.value=\"\".concat(t,\" \").concat(e.value),e.value=e.value.replaceAll(\",\",\",\".concat(t,\" \")),e.props=e.props.map(function(e){return\"\".concat(t,\" \").concat(e)})),Array.isArray(e.children)&&\"@keyframes\"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C:e,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,\"\").length>0?\".\".concat(t):e},u=c.slice();u.push(function(e){e.type===d.RULESET&&e.value.includes(\"&\")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l))}),i.prefix&&u.push(d.prefixer),u.push(d.stringify);var p=function(e,r,s,a){void 0===r&&(r=\"\"),void 0===s&&(s=\"\"),void 0===a&&(a=\"&\"),t=a,n=r,o=new RegExp(\"\\\\\".concat(n,\"\\\\b\"),\"g\");var c=e.replace(xe,\"\"),l=d.compile(s||r?\"\".concat(s,\" \").concat(r,\" { \").concat(c,\" }\"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return d.serialize(l,d.middleware(u.concat(d.rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():\"\",p}var Me=new ke,ze=Fe(),$e=o.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze}),Be=$e.Consumer,Le=o.createContext(void 0);function Ge(){return c($e)}function Ye(e){var t=s(e.stylisPlugins),n=t[0],r=t[1],c=Ge().styleSheet,l=i(function(){var t=c;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,c]),u=i(function(){return Fe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);a(function(){p(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var d=i(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:l,stylis:u}},[e.shouldForwardProp,l,u]);return o.createElement($e.Provider,{value:d},o.createElement(Le.Provider,{value:u},e.children))}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,\"@keyframes\"))},this.name=e,this.id=\"sc-keyframes-\".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>=\"A\"&&e<=\"Z\"};function He(e){for(var t=\"\",n=0;n<e.length;n++){var o=e[n];if(1===n&&\"-\"===o&&\"-\"===e[0])return e;qe(o)?t+=\"-\"+o.toLowerCase():t+=o}return t.startsWith(\"ms-\")?\"-\"+t:t}var Ue=function(e){return null==e||!1===e||\"\"===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push(\"\".concat(He(s),\":\"),i,\";\"):ce(i)?r.push.apply(r,e(e([\"\".concat(s,\" {\")],Je(i),!1),[\"}\"],!1)):r.push(\"\".concat(He(s),\": \").concat((n=s,null==(o=i)||\"boolean\"==typeof o||\"\"===o?\"\":\"number\"!=typeof o||0===o||n in h||n.startsWith(\"--\")?String(o).trim():\"\".concat(o,\"px\")),\";\")))}return r};function Xe(e,t,n,o){if(Ue(e))return[];if(se(e))return[\".\".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var r=e(t);return\"production\"===process.env.NODE_ENV||\"object\"!=typeof r||Array.isArray(r)||r instanceof We||ce(r)||null===r||console.error(\"\".concat(B(e),\" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\")),Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return!1}return!0}var Ke=z(v),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId=\"\",this.isStatic=\"production\"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M(Ke,t),this.baseStyle=n,ke.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):\"\";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else{var r=ae(Xe(this.rules,e,t,n)),s=x(M(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,\".\".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}o=ie(o,s),this.staticRulesId=s}else{for(var a=M(this.baseHash,n.hash),c=\"\",l=0;l<this.rules.length;l++){var u=this.rules[l];if(\"string\"==typeof u)c+=u,\"production\"!==process.env.NODE_ENV&&(a=M(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=M(a,p+l),c+=p}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,\".\".concat(d),void 0,this.componentId)),o=ie(o,d)}}return o},e}(),et=o.createContext(void 0),tt=et.Consumer;function nt(){var e=c(et);if(!e)throw he(18);return e}function ot(e){var n=o.useContext(et),r=i(function(){return function(e,n){if(!e)throw he(14);if(re(e)){var o=e(n);if(\"production\"!==process.env.NODE_ENV&&(null===o||Array.isArray(o)||\"object\"!=typeof o))throw he(7);return o}if(Array.isArray(e)||\"object\"!=typeof e)throw he(8);return n?t(t({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?o.createElement(et.Provider,{value:r},e.children):null}var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n=\"string\"!=typeof e?\"sc\":R(e);rt[n]=(rt[n]||0)+1;var o=\"\".concat(n,\"-\").concat($(v+n+rt[n]));return t?\"\".concat(t,\"-\").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?\"styled.\".concat(e):\"Styled(\".concat(B(e),\")\")}(e):m,g=r.displayName&&r.componentId?\"\".concat(R(r.displayName),\"-\").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)}}else w=b}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(et),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;\"production\"!==process.env.NODE_ENV&&l(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=t(t({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]=\"className\"===c?ie(s[c],a[c]):\"style\"===c?t(t({},s[c]),a[c]):a[c]}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||\"$\"===b[0]||\"as\"===b||\"theme\"===b&&g.theme===v||(\"forwardedAs\"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||\"development\"!==process.env.NODE_ENV||n(b)||st.has(b)||!A.has(S)||(st.add(b),console.warn('styled-components: it looks like an unknown prop \"'.concat(b,'\" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return\"production\"!==process.env.NODE_ENV&&l(o),o}(a,g);\"production\"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=\" \"+E),g.className&&(N+=\" \"+g.className),w[L(S)&&!A.has(S)?\"class\":\"className\"]=N,w.ref=s,u(S,w)}(D,e,r)}O.displayName=y;var D=o.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):\"\",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,\"defaultProps\",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],!0);return e}({},a.defaultProps,e):e}}),\"production\"!==process.env.NODE_ENV&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var s=t?' with the id of \"'.concat(t,'\"'):\"\";console.warn(\"Over \".concat(200,\" classes were generated for component \").concat(e).concat(s,\".\\n\")+\"Consider using the attrs method, together with a style object for frequently changed styles.\\nExample:\\n const Component = styled.div.attrs(props => ({\\n style: {\\n background: props.background,\\n },\\n }))`width: 100%;`\\n\\n <Component />\"),o=!0,n={}}}}(y,g)),ue(D,function(){return\".\".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct=function(e){return Object.assign(e,{isCss:!0})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(_,e([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&\"string\"==typeof r[0]?Xe(r):ct(Xe(at(r,n)))}function ut(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt.apply(void 0,e([t],s,!1)))};return s.attrs=function(e){return ut(n,o,t(t({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut(n,o,t(t({},r),e))},s}var pt=function(e){return ut(it,e)},dt=pt;A.forEach(function(e){dt[e]=pt(e)});var ht=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae(Xe(this.rules,t,n,o)),\"\"),s=this.componentId+e;n.insertRules(s,s,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function ft(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt.apply(void 0,e([n],r,!1)),a=\"sc-global-\".concat($(JSON.stringify(i))),c=new ht(i,a);\"production\"!==process.env.NODE_ENV&&P(a);var l=function(e){var t=Ge(),n=o.useContext(et),r=o.useRef(t.styleSheet.allocateGSInstance(a)).current;return\"production\"!==process.env.NODE_ENV&&o.Children.count(e.children)&&console.warn(\"The global style component \".concat(a,\" was given child JSX. createGlobalStyle does not render children.\")),\"production\"!==process.env.NODE_ENV&&i.some(function(e){return\"string\"==typeof e&&-1!==e.indexOf(\"@import\")})&&console.warn(\"Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app.\"),t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b,o,s);else{var i=t(t({},n),{theme:I(n,r,l.defaultProps)});c.renderStyles(e,i,o,s)}}return o.memo(l)}function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.\");var r=ae(lt.apply(void 0,e([t],n,!1))),s=$(r);return new We(s,r)}function yt(e){var n=o.forwardRef(function(n,r){var s=I(n,o.useContext(et),e.defaultProps);return\"production\"!==process.env.NODE_ENV&&void 0===s&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class \"'.concat(B(e),'\"')),o.createElement(e,t({},n,{theme:s,ref:r}))});return n.displayName=\"WithTheme(\".concat(B(e),\")\"),oe(n,e)}var vt=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return\"\";var n=Ce(),o=ae([n&&'nonce=\"'.concat(n,'\"'),\"\".concat(f,'=\"true\"'),\"\".concat(y,'=\"').concat(v,'\"')].filter(Boolean),\" \");return\"<style \".concat(o,\">\").concat(t,\"</style>\")},this.getStyleTags=function(){if(e.sealed)throw he(2);return e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)throw he(2);var r=e.instance.toString();if(!r)return[];var s=((n={})[f]=\"\",n[y]=v,n.dangerouslySetInnerHTML={__html:r},n),i=Ce();return i&&(s.nonce=i),[o.createElement(\"style\",t({},s,{key:\"sc-0-0\"}))]},this.seal=function(){e.sealed=!0},this.instance=new ke({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw he(2);return o.createElement(Ye,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw he(3)},e}(),gt={StyleSheet:ke,mainSheet:Me};\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"It looks like you've imported 'styled-components' on React Native.\\nPerhaps you're looking to import 'styled-components/native'?\\nRead more about this at https://www.styled-components.com/docs/basics#react-native\");var St=\"__sc-\".concat(f,\"__\");\"production\"!==process.env.NODE_ENV&&\"test\"!==process.env.NODE_ENV&&\"undefined\"!=typeof window&&(window[St]||(window[St]=0),1===window[St]&&console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\\n\\nSee https://s-c.sh/2BAXzed for more info.\"),window[St]+=1);export{vt as ServerStyleSheet,Be as StyleSheetConsumer,$e as StyleSheetContext,Ye as StyleSheetManager,tt as ThemeConsumer,et as ThemeContext,ot as ThemeProvider,gt as __PRIVATE__,ft as createGlobalStyle,lt as css,dt as default,se as isStyledComponent,mt as keyframes,dt as styled,nt as useTheme,v as version,yt as withTheme};\n//# sourceMappingURL=styled-components.browser.esm.js.map\n","module.exports = window[\"React\"];","module.exports = window[\"wc\"][\"blocksCheckout\"];","module.exports = window[\"wc\"][\"blocksComponents\"];","module.exports = window[\"wc\"][\"wcBlocksData\"];","module.exports = window[\"wc\"][\"wcBlocksRegistry\"];","module.exports = window[\"wc\"][\"wcSettings\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"htmlEntities\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"primitives\"];","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\nexport var SCOPE = '@scope'\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","import { useEffect, useState } from 'react';\nimport { sprintf, __ } from '@wordpress/i18n';\nimport { registerPaymentMethod } from '@woocommerce/blocks-registry';\nimport { decodeEntities } from '@wordpress/html-entities';\nimport { getSetting } from '@woocommerce/settings';\nimport { usePaymentInputs } from './hooks';\nimport { PaymentInputsWrapper, TermsCheckbox, AchForm, GiftForm } from './components';\nimport images from './images';\nimport { PAYMENT_STORE_KEY } from '@woocommerce/block-data';\nimport { subscribe, select, dispatch, use } from '@wordpress/data';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\nimport styled from 'styled-components';\n\nconst settings = getSetting( 'wc_valorpay_data', {} );\nif ( settings && ! settings.is_not_blocked ) {\n\tdispatch( 'core/notices' ).createErrorNotice(\n\t\t__(\n\t\t\t'Valor Pay is disabled due to multiple payment failures.',\n\t\t\t'wc-valorpay'\n\t\t),\n\t\t{\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t}\n\t);\n}\nif ( settings && settings.card_type_allowed ) {\n\tlet noticeMsg = null;\n\tif ( 'debit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only debit card allowed', 'wc-valorpay' );\n\t}\n\tif ( 'credit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only credit card allowed', 'wc-valorpay' );\n\t}\n\tif ( noticeMsg ) {\n\t\tdispatch( 'core/notices' ).createInfoNotice( noticeMsg, {\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t} );\n\t}\n}\nsubscribe( function () {\n\tconst paymentMethodState = select( PAYMENT_STORE_KEY );\n\tconst chosenPaymentMethod = paymentMethodState.getActivePaymentMethod();\n\tconst savedPaymentMethods = paymentMethodState.getSavedPaymentMethods();\n\tconst selectedPaymentTokenId = +paymentMethodState.getActiveSavedToken();\n\tlet selectedCardType = '';\n\tif ( selectedPaymentTokenId ) {\n\t\tconst foundMethod = savedPaymentMethods.cc.find(\n\t\t\t( method ) =>\n\t\t\t\tmethod.tokenId === selectedPaymentTokenId &&\n\t\t\t\tmethod.method.gateway === 'wc_valorpay'\n\t\t);\n\t\tif ( foundMethod ) {\n\t\t\tselectedCardType = foundMethod.method.card_type;\n\t\t}\n\t}\n\n\textensionCartUpdate( {\n\t\tnamespace: 'wc-valorpay-fee-update',\n\t\tdata: {\n\t\t\taction_type: 'update_payment',\n\t\t\tpayment_method: chosenPaymentMethod,\n\t\t\tcard_type: selectedCardType,\n\t\t},\n\t} );\n}, PAYMENT_STORE_KEY );\n\nconst defaultLabel = __( 'Valor Pay', 'wc-valorpay' );\n\nconst label = decodeEntities( settings.title ) || defaultLabel;\n\n// Tab Button Styled Component\nconst TabButton = styled.button`\n \tflex: 1; // Ensures buttons take equal width\n\tpadding: 20px;\n\tbackground-color: transparent; // Ensure button background doesn't change\n\tcolor: inherit; // Use text color from the theme\n\tborder: none;\n\tcursor: pointer;\n\ttext-align: center;\n\tborder-bottom: ${props => (props.active ? '2px solid' : 'none')};\n \tborder-color: ${props => (props.active ? '#007BFF' : 'transparent')}; // Use theme-based color or default\n\t&:hover {\n\t\topacity: 0.8;\n\t}\n`;\n\n// Tab Container Styled Component\nconst TabContainer = styled.div`\n\tdisplay: flex;\n\twidth: 100%;\n\tpadding: 10px;\n`;\n\n// Tab Content Styled Component\nconst TabContent = styled.div`\n\tbackground-color: #f9f9f9;\n\tborder: 1px solid #ccc;\n\tborder-radius: 5px;\n\tmargin-top: 10px;\n\tpadding: 20px;\n`;\n\nconst Tabs = (props) => {\n\tconst [activeTab, setActiveTab] = useState(0);\n\n\tlet tabTitles = [ __('Card','wc-valorpay') ];\n\tlet tabContents = [ <CardForm {...props}/> ];\n\n\tif ( settings.is_ach_enable ) {\n\t\ttabTitles.push(__('ACH','wc-valorpay'));\n\t\ttabContents.push(<AchForm {...props}/>);\n\t}\n\tif ( settings.is_gift_card_enable ) {\n\t\ttabTitles.push(__('Gift Card','wc-valorpay'));\n\t\ttabContents.push(<GiftForm {...props}/>);\n\t}\n\n\treturn (\n\t<>\n\t\t<TabContainer>\n\t\t\t{tabTitles.map((title, index) => (\n\t\t\t\t<TabButton\n\t\t\t\t\tkey={index}\n\t\t\t\t\tactive={activeTab === index}\n\t\t\t\t\tonClick={() => setActiveTab(index)}\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t>\n\t\t\t\t\t{title}\n\t\t\t\t</TabButton>\n\t\t\t))}\n\t\t</TabContainer>\n\t\t<TabContent>\n\t\t\t{tabContents[activeTab]}\n\t\t</TabContent>\n\t</>\n\t);\n};\n\n/**\n * Content component\n */\nconst CardForm = ( props ) => {\n\tconst [ isFetchingCardType, setIsFetchingCardType ] = useState( false );\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [ 'cardNumber', 'expiryDate', 'cvc' ];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tconst {\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetCardImageProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps,\n\t\tmeta: {\n\t\t\terroredInputs,\n\t\t\tisTouched,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t},\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tsetIsFetchingCardType,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst {\n\t\tcomponents: { LoadingMask },\n\t\teventRegistration,\n\t\temitResponse,\n\t\tpaymentStatus,\n\t} = props;\n\tconst [ isTermsChecked, setIsTermsChecked ] = useState( true );\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst handleCheckboxChange = () => {\n\t\tsetIsTermsChecked((prev) => !prev);\n\t};\n\tuseEffect(() => {\n\t\textensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } );\n\t}, []);\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc_valorpay-card-number': cardNumberField.current.value,\n\t\t\t\t\t'wc_valorpay-card-expiry': expiryDateField.current.value,\n\t\t\t\t\t'wc_valorpay-card-cvc': cvcField.current.value,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\tonCheckoutAfterProcessingWithError,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.is_sandbox_mode && (\n\t\t\t\t<p>\n\t\t\t\t\t{ __(\n\t\t\t\t\t\t'TEST MODE ENABLED. Use test card number 4111111111111111 with 999 as CVC and a future expiration date.',\n\t\t\t\t\t\t'wc-valorpay'\n\t\t\t\t\t) }\n\t\t\t\t</p>\n\t\t\t) }\n\t\t\t<LoadingMask\n\t\t\t\tshowSpinner={ isFetchingCardType }\n\t\t\t\tisLoading={ isFetchingCardType }\n\t\t\t\tscreenReaderLabel={ __(\n\t\t\t\t\t'Fetching Card Type...',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t) }\n\t\t\t>\n\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t>\n\t\t\t\t\t<svg { ...getCardImageProps( { images } ) } />\n\t\t\t\t\t<input { ...getCardNumberProps() } />\n\t\t\t\t\t<input { ...getExpiryDateProps() } />\n\t\t\t\t\t<input { ...getCVCProps() } />\n\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t) }\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t) }\n\t\t\t\t</PaymentInputsWrapper>\n\t\t\t</LoadingMask>\n\t\t\t{settings.is_terms_conditions_enable && <TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-new-card\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ handleCheckboxChange }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>}\n\t\t</>\n\t);\n};\n\nconst SavedToken = ( props ) => {\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tconst {\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps,\n\t\tmeta: { erroredInputs, zipField, addressField },\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst { eventRegistration, emitResponse, paymentStatus, token } = props;\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst [ isTermsChecked, setIsTermsChecked ] = useState( true );\n\tconst handleCheckboxChange = () => {\n\t\tsetIsTermsChecked((prev) => !prev);\n\t};\n\tuseEffect(() => {\n\t\textensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } );\n\t}, []);\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc-wc_valorpay-payment-token': token,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\ttoken,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.avs_type !== 'none' && (\n\t\t\t\t<>\n\t\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t</PaymentInputsWrapper>\n\t\t\t\t</>\n\t\t\t) }\n\t\t\t{settings.is_terms_conditions_enable && <TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-saved-token\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ handleCheckboxChange }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>}\n\t\t</>\n\t);\n};\n\n/**\n * Label component\n *\n * @param {*} props Props from payment API.\n */\nconst Label = ( props ) => {\n\tconst { PaymentMethodLabel, PaymentMethodIcons } = props.components;\n\treturn (\n\t\t<>\n\t\t\t<PaymentMethodLabel text={ label } />\n\t\t\t<PaymentMethodIcons icons={ settings.card_types } align=\"right\" />\n\t\t</>\n\t);\n};\n\nconst Content = (props ) => {\n\tif ( !settings.is_ach_enable && !settings.is_gift_card_enable ) {\n\t\treturn <CardForm {...props} />\n\t}\n\treturn <Tabs {...props} />\n}\n\n/**\n * ValorPay payment method config object.\n */\nconst ValorPay = {\n\tname: 'wc_valorpay',\n\tlabel: <Label />,\n\tgatewayId: 'wc_valorpay',\n\tcontent: <Content />,\n\tedit: <Content />,\n\tcanMakePayment: () => settings.is_not_blocked,\n\tsavedTokenComponent: <SavedToken />,\n\tariaLabel: label,\n\tsupports: {\n\t\tfeatures: settings.supports,\n\t\tshowSaveOption: settings.is_save_to_account_enable,\n\t},\n};\n\nregisterPaymentMethod( ValorPay );\n"],"names":["useEffect","useState","TextInput","__","styled","extensionCartUpdate","Select","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","AchGroup","div","AchForm","props","eventRegistration","emitResponse","paymentStatus","onPaymentSetup","onCheckoutAfterProcessingWithError","accountNumber","setAccountNumber","accountNumberError","setAccountNumberError","routingNumber","setRoutingNumber","routingNumberError","setRoutingNumberError","nameOnAccount","setNameOnAccount","nameOnAccountError","setNameOnAccountError","accountType","setAccountType","entryClass","setEntryClass","txnType","setTxnType","phoneNumber","setPhoneNumber","phoneNumberError","setPhoneNumberError","email","setEmail","emailError","setEmailError","elements","document","querySelectorAll","filteredElements","Array","from","filter","element","index","array","parentElement","length","style","display","namespace","data","action_type","payment_type","unsubscribe","isInValidForm","type","responseTypes","ERROR","message","SUCCESS","meta","paymentMethodData","wc_valorpay_ach_sale","wc_valorpay_account_number","wc_valorpay_routing_number","wc_valorpay_name_on_account","wc_valorpay_account_type","wc_valorpay_entry_class","wc_valorpay_card_type","wc_valorpay_phone","replace","wc_valorpay_email","unsubscribeErrorMsg","processingResponse","paymentDetails","errorMessage","messageContext","noticeContexts","PAYMENTS","handleAccountNumberChange","value","test","handleAccountNumberBlur","event","handleRoutingNumberChange","handleRoutingNumberBlur","handleNameOnAccountChange","handleNameOnAccountBlur","handlePhoneNumberChange","numericValue","formattedValue","previousVal","slice","handlePhoneNumberBlur","formattedPhoneNumber","handleEmailChange","handleEmailBlur","emailRegex","handleAccountTypeChange","target","handleEntryClassChange","handleTxnTypeChange","children","id","label","feedback","className","required","onChange","onBlur","options","selectOnChange","GiftForm","cardNumber","setCardNumber","pinNumber","setPinNumber","giftCardNumberError","setGiftCardNumberError","wc_valorpay_gift_sale","wc_valorpay_gift_card_no","replaceAll","wc_valorpay_gift_card_pin","handleGiftCardNumberChange","newCardNumber","counter","n","handleGiftCardNumberBlur","handleGiftPinChange","usePaymentInputs","PaymentInputsContainer","paymentInputs","React","css","FieldWrapper","withConfig","shouldForwardProp","prop","includes","hasErrored","styles","fieldWrapper","errored","undefined","base","InputWrapper","inputWrapper","focused","input","cardImage","ErrorText","errorText","PaymentInputsWrapper","error","errorTextProps","inputWrapperProps","isTouched","isInitPay","restProps","useId","Icon","chevronDown","restOfProps","generatedId","inputId","htmlFor","size","map","option","disabled","icon","TermsCheckbox","checked","xmlns","viewBox","d","class","default","utils","autoFocus","errorMessages","onError","onTouch","cardNumberValidator","cvcValidator","expiryValidator","avsType","setIsFetchingCardType","paymentFields","cardNumberField","useRef","expiryDateField","cvcField","zipField","addressField","touchedInputs","setTouchedInputs","reduce","acc","field","setIsTouched","erroredInputs","setErroredInputs","setError","cardType","setCardType","setFocused","setInputError","useCallback","newError","newErroredInputs","Object","values","find","Boolean","setInputTouched","requestAnimationFrame","activeElement","tagName","newTouchedInputs","handleBlurCardNumber","e","handleChangeCardNumber","formattedCardNumber","cursorPosition","current","selectionStart","cardTypes","getCardTypeByValue","formatter","formatCardNumber","setSelectionRange","cardNumberError","validator","getCardNumberError","focus","bin","then","handleFocusCardNumber","onFocus","handleKeyPressCardNumber","onKeyPress","key","ENTER_KEY_CODE","isNumeric","preventDefault","hasCardNumberReachedMaxLength","getCardNumberProps","refKey","autoComplete","name","placeholder","handleBlurExpiryDate","handleChangeExpiryDate","formatExpiry","expiryDateError","getExpiryDateError","handleFocusExpiryDate","handleKeyDownExpiryDate","onKeyDown","BACKSPACE_KEY_CODE","handleKeyPressExpiryDate","formattedExpiryDate","expiryDate","getExpiryDateProps","handleBlurCVC","handleChangeCVC","cvc","cvcError","getCVCError","handleFocusCVC","handleKeyDownCVC","handleKeyPressCVC","formattedCVC","code","getCVCProps","handleBlurZIP","handleChangeZIP","zip","zipError","getZIPError","handleFocusZIP","handleKeyDownZIP","handleKeyPressZIP","getZIPProps","maxLength","handleBlurAddress","handleChangeAddress","streetaddress","addressError","getAddressError","handleFocusAddress","handleKeyDownAddress","getStreetAddressProps","getCardImageProps","images","displayName","width","height","useLayoutEffect","wrapperProps","fill","fillRule","rx","stroke","strokeWidth","transform","strokeOpacity","x","y","amex","dinersclub","discover","hipercard","jcb","unionpay","mastercard","visa","troy","cx","cy","r","DEFAULT_CVC_LENGTH","DEFAULT_ZIP_LENGTH","DEFAULT_CARD_FORMAT","CARD_TYPES","format","startPattern","gaps","lengths","getCardTypeByType","match","join","global","execResult","exec","split","splice","eventData","nativeEvent","prevExpiry","expiry","head","tail","month","year","isHighlighted","window","getSelection","MONTH_REGEX","EMPTY_CARD_NUMBER","EMPTY_EXPIRY_DATE","EMPTY_CVC","EMPTY_ZIP","EMPTY_ADDRESS","INVALID_CARD_NUMBER","INVALID_EXPIRY_DATE","INVALID_CVC","INVALID_ZIP","MONTH_OUT_OF_RANGE","YEAR_OUT_OF_RANGE","DATE_OUT_OF_RANGE","currentValue","validateLuhn","reverse","digit","parseInt","idx","accum","emptyCardNumber","rawCardNumber","doesCardNumberMatchLength","isLuhnValid","invalidCardNumber","emptyExpiryDate","rawExpiryDate","monthOutOfRange","Date","getFullYear","yearOutOfRange","getMonth","dateOutOfRange","invalidExpiryDate","emptyCVC","invalidCVC","emptyZIP","invalidAddress","address","emptyAddress","sprintf","registerPaymentMethod","decodeEntities","getSetting","PAYMENT_STORE_KEY","subscribe","select","dispatch","use","settings","is_not_blocked","createErrorNotice","context","card_type_allowed","noticeMsg","createInfoNotice","paymentMethodState","chosenPaymentMethod","getActivePaymentMethod","savedPaymentMethods","getSavedPaymentMethods","selectedPaymentTokenId","getActiveSavedToken","selectedCardType","foundMethod","cc","method","tokenId","gateway","card_type","payment_method","defaultLabel","title","TabButton","button","active","TabContainer","TabContent","Tabs","activeTab","setActiveTab","tabTitles","tabContents","CardForm","is_ach_enable","push","is_gift_card_enable","onClick","isFetchingCardType","setIsInitPay","avs_type","components","LoadingMask","isTermsChecked","setIsTermsChecked","handleCheckboxChange","prev","isValid","errorInput","valorpay_avs_type","valorpay_terms","valorpay_avs_zip","valorpay_avs_street","is_sandbox_mode","showSpinner","isLoading","screenReaderLabel","is_terms_conditions_enable","dangerouslySetInnerHTML","__html","terms_label","SavedToken","token","Label","PaymentMethodLabel","PaymentMethodIcons","text","icons","card_types","align","Content","ValorPay","gatewayId","content","edit","canMakePayment","savedTokenComponent","ariaLabel","supports","features","showSaveOption","is_save_to_account_enable"],"sourceRoot":""}1 {"version":3,"file":"wc-valorpay.js","mappings":";;;;;;;;;;;;;;;AAAuC;;AAEvC,igIAAigI;;AAEjgI,iCAAiC,4DAAO;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEkC;;;;;;;;;;;;;;;;ACdlC;AACA;AACA;AACA;AACA;AACA;AACA;;AAE8B;;;;;;;;;;;;;;;;ACR9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEmC;;;;;;;;;;;;;;;;;;AClDnC;AACA;AACA;AAC8D;;AAE9D,eAAe,kCAAkC,4CAA4C;;AAE7F;AACA;AACA;AACA,WAAW,2CAA2C;AACtD;AACA;AACA,WAAW,2CAA2C;AACtD;AACA,YAAY,cAAc;AAC1B;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,SAAS,gEAAY;AACrB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,iEAAe,8DAAU,MAAM,EAAC;AAChC;;;;;;;;;;;;;;;;;;AC9BA;AACA;AACA;AACkD;AACF;AAChD,iCAAiC,sDAAI,CAAC,sDAAG;AACzC;AACA;AACA,yBAAyB,sDAAI,CAAC,uDAAI;AAClC;AACA,G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A;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;;AAEA,0DAA0D;AAC1D;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;;AAGA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AwC,4BAA4B;AACpE,CAAC;AACD;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP,2CAA2C;AAC3C;;AAEO;AACP;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,8CAA8C;AACnE;AACA;AACA,qBAAqB,aAAa;AAClC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E,SAAS,gBAAgB;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjXK;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACrBmE;AAC0B;AACjD;AACV;AACL;;AAEpC;AACA,WAAW,YAAY;AACvB,YAAY;AACZ;AACO;AACP,cAAc,mDAAM;;AAEpB;AACA;;AAEA,kBAAkB,YAAY;AAC9B;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,UAAU;AACrB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB;AACO;AACP;AACA;AACA;AACA,SAAS,iDAAW,mBAAmB,oDAAM;AAC7C;AACA,SAAS,+CAAS;AAClB,YAAY,yDAAS,EAAE,mDAAI,WAAW,OAAO,oD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;EAChB+X,QAAQ,EAAE;IACTC,QAAQ,EAAEnF,QAAQ,CAACkF,QAAQ;IAC3BE,cAAc,EAAEpF,QAAQ,CAACqF;EAC1B;AACD,CAAC;AAED7F,mFAAqB,CAAEmF,QAAS,CAAC,C","sources":["webpack://wc-valorpay/./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","webpack://wc-valorpay/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack://wc-valorpay/./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack://wc-valorpay/./node_modules/@wordpress/icons/build-module/icon/index.js","webpack://wc-valorpay/./node_modules/@wordpress/icons/build-module/library/chevron-down.js","webpack://wc-valorpay/./blocks/components/AchForm.jsx","webpack://wc-valorpay/./blocks/components/GiftForm.jsx","webpack://wc-valorpay/./blocks/components/PaymentInputsContainer.jsx","webpack://wc-valorpay/./blocks/components/PaymentInputsWrapper.jsx","webpack://wc-valorpay/./blocks/components/Select.jsx","webpack://wc-valorpay/./blocks/components/TermsCheckbox.jsx","webpack://wc-valorpay/./blocks/components/index.js","webpack://wc-valorpay/./blocks/hooks/usePaymentInputs.jsx","webpack://wc-valorpay/./blocks/images/amex.jsx","webpack://wc-valorpay/./blocks/images/dinersclub.jsx","webpack://wc-valorpay/./blocks/images/discover.jsx","webpack://wc-valorpay/./blocks/images/hipercard.jsx","webpack://wc-valorpay/./blocks/images/index.jsx","webpack://wc-valorpay/./blocks/images/jcb.jsx","webpack://wc-valorpay/./blocks/images/mastercard.jsx","webpack://wc-valorpay/./blocks/images/placeholder.jsx","webpack://wc-valorpay/./blocks/images/troy.jsx","webpack://wc-valorpay/./blocks/images/unionpay.jsx","webpack://wc-valorpay/./blocks/images/visa.jsx","webpack://wc-valorpay/./blocks/utils/cardTypes.js","webpack://wc-valorpay/./blocks/utils/formatter.js","webpack://wc-valorpay/./blocks/utils/index.js","webpack://wc-valorpay/./blocks/utils/validator.js","webpack://wc-valorpay/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://wc-valorpay/./node_modules/react/jsx-runtime.js","webpack://wc-valorpay/./node_modules/shallowequal/index.js","webpack://wc-valorpay/./node_modules/styled-components/dist/styled-components.browser.esm.js","webpack://wc-valorpay/external window \"React\"","webpack://wc-valorpay/external window [\"wc\",\"blocksCheckout\"]","webpack://wc-valorpay/external window [\"wc\",\"blocksComponents\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksData\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksRegistry\"]","webpack://wc-valorpay/external window [\"wc\",\"wcSettings\"]","webpack://wc-valorpay/external window [\"wp\",\"data\"]","webpack://wc-valorpay/external window [\"wp\",\"element\"]","webpack://wc-valorpay/external window [\"wp\",\"htmlEntities\"]","webpack://wc-valorpay/external window [\"wp\",\"i18n\"]","webpack://wc-valorpay/external window [\"wp\",\"primitives\"]","webpack://wc-valorpay/./node_modules/styled-components/node_modules/tslib/tslib.es6.mjs","webpack://wc-valorpay/./node_modules/stylis/src/Enum.js","webpack://wc-valorpay/./node_modules/stylis/src/Middleware.js","webpack://wc-valorpay/./node_modules/stylis/src/Parser.js","webpack://wc-valorpay/./node_modules/stylis/src/Prefixer.js","webpack://wc-valorpay/./node_modules/stylis/src/Serializer.js","webpack://wc-valorpay/./node_modules/stylis/src/Tokenizer.js","webpack://wc-valorpay/./node_modules/stylis/src/Utility.js","webpack://wc-valorpay/webpack/bootstrap","webpack://wc-valorpay/webpack/runtime/compat get default export","webpack://wc-valorpay/webpack/runtime/define property getters","webpack://wc-valorpay/webpack/runtime/hasOwnProperty shorthand","webpack://wc-valorpay/webpack/runtime/make namespace object","webpack://wc-valorpay/webpack/runtime/nonce","webpack://wc-valorpay/./blocks/index.js"],"sourcesContent":["import memoize from '@emotion/memoize';\n\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","var unitlessKeys = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","/**\n * WordPress dependencies\n */\nimport { cloneElement, forwardRef } from '@wordpress/element';\n\n/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */\n\n/**\n * Return an SVG icon.\n *\n * @param {IconProps} props icon is the SVG component to render\n * size is a number specifying the icon size in pixels\n * Other props will be passed to wrapped SVG component\n * @param {import('react').ForwardedRef<HTMLElement>} ref The forwarded ref to the SVG element.\n *\n * @return {JSX.Element} Icon component\n */\nfunction Icon({\n icon,\n size = 24,\n ...props\n}, ref) {\n return cloneElement(icon, {\n width: size,\n height: size,\n ...props,\n ref\n });\n}\nexport default forwardRef(Icon);\n//# sourceMappingURL=index.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst chevronDown = /*#__PURE__*/_jsx(SVG, {\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z\"\n })\n});\nexport default chevronDown;\n//# sourceMappingURL=chevron-down.js.map","import { useEffect, useState } from 'react';\nimport { TextInput } from '@woocommerce/blocks-components';\nimport { __ } from '@wordpress/i18n';\nimport styled from 'styled-components';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\nimport Select from './Select';\n\nconst AchGroup = styled.div`\n\tdisplay: flex;\n\tgap: 10px;\n`;\n\nexport default function AchForm(props) {\n const {\n eventRegistration,\n emitResponse,\n paymentStatus,\n } = props;\n \n const { onPaymentSetup, onCheckoutAfterProcessingWithError } = eventRegistration;\n const [accountNumber, setAccountNumber] = useState('');\n const [accountNumberError, setAccountNumberError] = useState('');\n const [routingNumber, setRoutingNumber] = useState('');\n const [routingNumberError, setRoutingNumberError] = useState('');\n const [nameOnAccount, setNameOnAccount] = useState('');\n const [nameOnAccountError, setNameOnAccountError] = useState('');\n const [accountType, setAccountType] = useState('C');\n const [entryClass, setEntryClass] = useState('Business');\n const [txnType, setTxnType] = useState('Debit');\n\n const [phoneNumber, setPhoneNumber] = useState('');\n const [phoneNumberError, setPhoneNumberError] = useState('');\n const [email, setEmail] = useState('');\n const [emailError, setEmailError] = useState('');\n \n\n useEffect(() => {\n const elements = document.querySelectorAll('.wc-block-components-payment-methods__save-card-info');\n // Filter elements to ensure they have the same parent\n const filteredElements = Array.from(elements).filter((element, index, array) => {\n return element.parentElement === array[0].parentElement; // Check if they have the same parent\n });\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'none';\n }\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"ach\",\n },\n } );\n return () => {\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } )\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'block';\n }\n };\n }, [])\n\n useEffect( () => {\n const unsubscribe = onPaymentSetup( async () => {\n let isInValidForm = false;\n if ( accountNumberError !== '' ) {\n isInValidForm = true;\n }\n if ( routingNumberError !== '' ) {\n isInValidForm = true;\n }\n if ( nameOnAccountError !== '' ) {\n isInValidForm = true;\n }\n if ( phoneNumberError !== '' ) {\n isInValidForm = true;\n }\n if ( emailError !== '' ) {\n isInValidForm = true;\n }\n if (accountNumber === '') {\n setAccountNumberError( __('Please enter a valid Account Number','wc-valorpay'));\n isInValidForm = true;\n }\n if (routingNumber === '') {\n setRoutingNumberError( __('Please enter a valid Routing Number','wc-valorpay'));\n isInValidForm = true;\n }\n if (nameOnAccount === '') {\n setNameOnAccountError( __('Please enter a valid Name On Account','wc-valorpay'));\n isInValidForm = true;\n }\n if (isInValidForm) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: __(\n 'Please provide payment information',\n 'wc-valorpay'\n ),\n };\n }\n return {\n type: emitResponse.responseTypes.SUCCESS,\n meta: {\n paymentMethodData: {\n wc_valorpay_ach_sale: true,\n wc_valorpay_account_number: accountNumber,\n wc_valorpay_routing_number: routingNumber,\n wc_valorpay_name_on_account: nameOnAccount,\n wc_valorpay_account_type: accountType,\n wc_valorpay_entry_class: entryClass,\n wc_valorpay_card_type: txnType,\n wc_valorpay_phone: phoneNumber.replace(/[^0-9]/g, ''),\n wc_valorpay_email: email,\n },\n },\n };\n } );\n const unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n ( { processingResponse } ) => {\n if ( processingResponse?.paymentDetails?.errorMessage ) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: processingResponse.paymentDetails.errorMessage,\n messageContext: emitResponse.noticeContexts.PAYMENTS,\n };\n }\n // so we don't break the observers.\n return true;\n }\n );\n // Unsubscribes when this component is unmounted.\n return () => {\n unsubscribe();\n unsubscribeErrorMsg();\n };\n }, [\n emitResponse.responseTypes.ERROR,\n emitResponse.responseTypes.SUCCESS,\n onPaymentSetup,\n accountNumber,\n accountNumberError,\n routingNumber,\n routingNumberError,\n nameOnAccount,\n nameOnAccountError,\n accountType,\n entryClass,\n txnType,\n phoneNumber,\n phoneNumberError,\n email,\n emailError,\n ] );\n\n const handleAccountNumberChange = (value) => {\n if ( value.length <= 13 && /^[0-9]*$/.test(value) ) {\n setAccountNumberError('');\n setAccountNumber(value);\n }\n };\n\n const handleAccountNumberBlur = (event) => {\n if ( accountNumber === '' ) {\n setAccountNumberError( __('Please enter a valid Account Number','wc-valorpay'));\n }\n }\n\n const handleRoutingNumberChange = (value) => {\n if (value.length <= 9 && /^[0-9]*$/.test(value)) {\n setRoutingNumberError('');\n setRoutingNumber(value);\n }\n };\n\n const handleRoutingNumberBlur = (event) => {\n if ( routingNumber === '' ) {\n setRoutingNumberError( __('Please enter a valid Routing Number','wc-valorpay'))\n }\n }\n\n const handleNameOnAccountChange = (value) => {\n if (value.length <= 22 && /^[a-zA-Z0-9\\s]*$/.test(value)) {\n setNameOnAccountError('');\n setNameOnAccount(value);\n }\n };\n const handleNameOnAccountBlur = (value) => {\n if ( nameOnAccount === '' ) {\n setNameOnAccountError( __('Please enter a valid Name On Account','wc-valorpay'))\n }\n };\n\n const handlePhoneNumberChange = (value) => {\n // Remove any non-digit characters\n let numericValue = value.replace(/[^0-9]/g, '');\n\n // Format the number if it has 10 digits\n if (numericValue.length <= 10) {\n let formattedValue = numericValue;\n const previousVal = phoneNumber.replace(/[^0-9]/g, '');\n if (previousVal === numericValue) {\n numericValue = numericValue.slice(0, -1);\n }\n if (numericValue.length > 3 && numericValue.length <= 6) {\n formattedValue = `(${numericValue.slice(0, 3)}) ${numericValue.slice(3, 6)}-${numericValue.slice(6)}`;\n } else if (numericValue.length > 6) {\n formattedValue = `(${numericValue.slice(0, 3)}) ${numericValue.slice(3, 6)}-${numericValue.slice(6, 10)}`;\n } else if (numericValue.length > 0) {\n formattedValue = `(${numericValue.slice(0, 3)}) ${numericValue.slice(3)}`;\n }\n \n setPhoneNumber(formattedValue);\n setPhoneNumberError('');\n }\n };\n \n const handlePhoneNumberBlur = () => {\n const formattedPhoneNumber = phoneNumber.replace(/[^0-9]/g, '');\n if ( formattedPhoneNumber && formattedPhoneNumber.length !== 10 ) {\n setPhoneNumberError(__('Please enter a valid phone number with 10 digits', 'wc-valorpay'));\n }\n };\n \n const handleEmailChange = (value) => {\n setEmailError('');\n setEmail(value);\n };\n \n const handleEmailBlur = () => {\n const emailRegex = /^[a-z0-9._+-]+@[a-z0-9.-]+\\.[a-z]{2,63}$/i;\n if ( email && !emailRegex.test(email) ) {\n setEmailError(__('Please enter a valid email address', 'wc-valorpay'));\n }\n };\n \n\n const handleAccountTypeChange = (event) => {\n setAccountType(event.target.value);\n };\n\n const handleEntryClassChange = (event) => {\n setEntryClass(event.target.value);\n };\n\n const handleTxnTypeChange = (event) => {\n setTxnType(event.target.value);\n };\n\n return (\n <>\n <TextInput\n id=\"valor-ach-acc-no\"\n label={__('Account Number', 'wc-valorpay')}\n feedback={accountNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{accountNumberError}</p></div>}\n type=\"text\"\n value={accountNumber}\n required=\"true\"\n className={accountNumberError === '' ? '' : \"has-error\"}\n onChange={handleAccountNumberChange}\n onBlur={handleAccountNumberBlur}\n />\n <TextInput\n id=\"valor-ach-rou-no\"\n label={__('Routing Number', 'wc-valorpay')}\n feedback={routingNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{routingNumberError}</p></div>}\n type=\"text\"\n value={routingNumber}\n required=\"true\"\n className={routingNumberError === '' ? '' : \"has-error\"}\n onChange={handleRoutingNumberChange}\n onBlur={handleRoutingNumberBlur}\n />\n <TextInput\n id=\"valor-ach-acc-name\"\n label={__('Name on Account', 'wc-valorpay')}\n feedback={nameOnAccountError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{nameOnAccountError}</p></div>}\n type=\"text\"\n value={nameOnAccount}\n required=\"true\"\n className={nameOnAccountError === '' ? '' : \"has-error\"}\n onChange={handleNameOnAccountChange}\n onBlur={handleNameOnAccountBlur}\n />\n <Select\n id=\"valor-ach-acc-type\"\n label=\"Account Type\"\n options={[\n { label: \"Checking\", value: \"C\" },\n { label: \"Savings\", value: \"S\" },\n ]}\n value={accountType}\n selectOnChange={handleAccountTypeChange}\n />\n <AchGroup>\n <Select\n id=\"valor-ach-acc-entry\"\n label=\"Entry Class\"\n options={[\n { label: \"Business\", value: \"Business\" },\n { label: \"Personal\", value: \"Personal\" },\n ]}\n value={entryClass}\n selectOnChange={handleEntryClassChange}\n />\n </AchGroup>\n <TextInput\n id=\"valor-ach-phone\"\n label={__('Phone Number', 'wc-valorpay')}\n feedback={phoneNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{phoneNumberError}</p></div>}\n type=\"text\"\n value={phoneNumber}\n required=\"true\"\n className={phoneNumberError === '' ? '' : \"has-error\"}\n onChange={handlePhoneNumberChange}\n onBlur={handlePhoneNumberBlur}\n />\n <TextInput\n id=\"valor-ach-email\"\n label={__('Email', 'wc-valorpay')}\n feedback={emailError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{emailError}</p></div>}\n type=\"email\"\n value={email}\n required=\"true\"\n className={emailError === '' ? '' : \"has-error\"}\n onChange={handleEmailChange}\n onBlur={handleEmailBlur}\n />\n </>\n)};","import { useEffect, useState } from 'react';\nimport { TextInput } from '@woocommerce/blocks-components';\nimport { __ } from '@wordpress/i18n';\nimport styled from 'styled-components';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nexport default function GiftForm(props) {\n const { eventRegistration, emitResponse, paymentStatus } = props;\n const { onPaymentSetup, onCheckoutAfterProcessingWithError } = eventRegistration;\n const [cardNumber, setCardNumber] = useState('');\n const [pinNumber, setPinNumber] = useState('');\n const [giftCardNumberError, setGiftCardNumberError] = useState('');\n\n useEffect(() => {\n const elements = document.querySelectorAll('.wc-block-components-payment-methods__save-card-info');\n // Filter elements to ensure they have the same parent\n const filteredElements = Array.from(elements).filter((element, index, array) => {\n return element.parentElement === array[0].parentElement; // Check if they have the same parent\n });\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'none';\n }\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"gift\",\n },\n } );\n return () => {\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } )\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'block';\n }\n };\n }, [])\n\n useEffect( () => {\n const unsubscribe = onPaymentSetup( async () => {\n let isInValidForm = false;\n if ( giftCardNumberError !== '' ) {\n isInValidForm = true;\n }\n if (cardNumber === '') {\n setGiftCardNumberError( __('Please enter a valid Gift Card Number','wc-valorpay'));\n isInValidForm = true;\n }\n if (isInValidForm) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: __(\n 'Please provide payment information',\n 'wc-valorpay'\n ),\n };\n }\n return {\n type: emitResponse.responseTypes.SUCCESS,\n meta: {\n paymentMethodData: {\n wc_valorpay_gift_sale: true,\n wc_valorpay_gift_card_no: cardNumber.replaceAll(\" \", \"\"),\n wc_valorpay_gift_card_pin: pinNumber,\n },\n },\n };\n } );\n\n \n const unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n ( { processingResponse } ) => {\n if ( processingResponse?.paymentDetails?.errorMessage ) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: processingResponse.paymentDetails.errorMessage,\n messageContext: emitResponse.noticeContexts.PAYMENTS,\n };\n }\n // so we don't break the observers.\n return true;\n }\n );\n // Unsubscribes when this component is unmounted.\n return () => {\n unsubscribe();\n unsubscribeErrorMsg();\n };\n }, [\n emitResponse.responseTypes.ERROR,\n emitResponse.responseTypes.SUCCESS,\n onPaymentSetup,\n cardNumber,\n pinNumber,\n giftCardNumberError,\n ] );\n\n const handleGiftCardNumberChange = (value) => {\n let cardNumber = value.replaceAll(\" \", \"\");\n if ( cardNumber.length <= 21 && /^[0-9]*$/.test(cardNumber) ) {\n let newCardNumber = \"\";\n let counter = 0;\n for (let n of cardNumber) {\n if ( (counter% 4) === 0) {\n newCardNumber += \" \";\n }\n newCardNumber+=n;\n counter++;\n }\n setCardNumber(newCardNumber);\n setGiftCardNumberError('');\n }\n };\n\n const handleGiftCardNumberBlur = (event) => {\n if ( cardNumber.length <= 11 ) {\n setGiftCardNumberError( __('Please enter a valid Gift Card Number','wc-valorpay'));\n }\n }\n\n const handleGiftPinChange = (value) => {\n if ( value.length <= 8 && /^[0-9]*$/.test(value) ) {\n setPinNumber(value);\n }\n };\n\n return (\n <>\n <TextInput\n id=\"valor-giftcard-acc-no\"\n label={__('Card Number', 'wc-valorpay')}\n feedback={giftCardNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{giftCardNumberError}</p></div>}\n type=\"text\"\n value={cardNumber}\n required=\"true\"\n className={giftCardNumberError === '' ? '' : \"has-error\"}\n onChange={handleGiftCardNumberChange}\n onBlur={handleGiftCardNumberBlur}\n />\n <TextInput\n id=\"valor-giftcard-pin-no\"\n label={__('Pin Number', 'wc-valorpay')}\n type=\"text\"\n value={pinNumber}\n required=\"false\"\n onChange={handleGiftPinChange}\n />\n </>\n )\n}","import { usePaymentInputs } from '../hooks';\n\nexport default function PaymentInputsContainer( props ) {\n\tconst paymentInputs = usePaymentInputs( props );\n\treturn props.children( paymentInputs );\n}\n","import React from 'react';\nimport styled, { css } from 'styled-components';\n\n// Preventing hasErrored and other internal props from being passed to DOM\nconst FieldWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'styles' ].includes( prop ),\n} )`\n\tdisplay: inline-flex;\n\tflex-direction: column;\n\twidth: 100%;\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored && props.styles.fieldWrapper\n\t\t\t\t? props.styles.fieldWrapper.errored\n\t\t\t\t: undefined };\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.fieldWrapper\n\t\t\t? props.styles.fieldWrapper.base\n\t\t\t: undefined };\n`;\n\nconst InputWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\talign-items: center;\n\tbackground-color: white;\n\tborder: 1px solid #bdbdbd;\n\tbox-shadow: inset 0px 1px 2px #e5e5e5;\n\tborder-radius: 0.2em;\n\tdisplay: flex;\n\theight: 2.5em;\n\tpadding: 0.4em 0.6em;\n\twidth: 100%; /* Ensure the wrapper takes the full width */\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored &&\n\t\t\tcss`\n\t\t\t\tborder-color: #c9444d;\n\t\t\t\tbox-shadow: #c9444d 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.errored };\n\t\t\t` };\n\t}\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.focused &&\n\t\t\tcss`\n\t\t\t\tborder-color: #444bc9;\n\t\t\t\tbox-shadow: #444bc9 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.focused };\n\t\t\t` };\n\t}\n\n\t& input {\n\t\tborder: unset;\n\t\tmargin: unset;\n\t\tpadding: unset;\n\t\toutline: unset;\n\t\tfont-size: inherit;\n\t\twidth: 100%; /* Take full width by default */\n\t\tmin-width: 11em; /* Default minimum width */\n\t\tflex-grow: 1; /* Allow input to grow */\n\n\t\t& {\n\t\t\t${ ( props ) =>\n\t\t\t\tprops.hasErrored && props.styles.input\n\t\t\t\t\t? props.styles.input.errored\n\t\t\t\t\t: undefined };\n\t\t}\n\n\t\t${ ( props ) => props.styles.input && props.styles.input.base };\n\n\t\t&:focus {\n\t\t\twidth: 15em; /* Increase width on focus */\n\t\t\ttransition: width 0.3s ease;\n\t\t}\n\t}\n\n\t& svg {\n\t\tmargin-right: 0.6em;\n\t\t& {\n\t\t\t${ ( props ) => props.styles.cardImage };\n\t\t}\n\t}\n\n\t& input#cardNumber {\n\t\twidth: 10em;\n\t\tmin-width: 10em;\n\n\t\t&:focus {\n\t\t\twidth: 13em;\n\t\t}\n\t}\n\n\t& input#expiryDate {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\n\t& input#cvc {\n\t\twidth: 2.5em;\n\t\tmin-width: 2.5em;\n\n\t\t&:focus {\n\t\t\twidth: 3.5em;\n\t\t}\n\t}\n\n\t& input#zip {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\t& input#streetaddress {\n\t\twidth: 8em;\n\t\tmin-width: 8em;\n\n\t\t&:focus {\n\t\t\twidth: 9em;\n\t\t}\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.inputWrapper\n\t\t\t? props.styles.inputWrapper.base\n\t\t\t: undefined };\n`;\n\nconst ErrorText = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\tcolor: #c9444d;\n\tfont-size: 0.75rem;\n\tmargin-top: 0.25rem;\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.styles.errorText ? props.styles.errorText.base : undefined };\n\t}\n`;\n\nfunction PaymentInputsWrapper( {\n\tchildren,\n\terror,\n\terrorTextProps,\n\tfocused,\n\tinputWrapperProps,\n\tisTouched,\n\tstyles = {}, // Set default value for styles here\n\tisInitPay,\n\t...restProps\n} ) {\n\tconst hasErrored = error && ( isTouched || ( ! focused && isInitPay ) );\n\n\treturn (\n\t\t<FieldWrapper\n\t\t\thasErrored={ hasErrored }\n\t\t\tstyles={ styles }\n\t\t\t{ ...restProps }\n\t\t>\n\t\t\t<InputWrapper\n\t\t\t\tfocused={ focused }\n\t\t\t\thasErrored={ hasErrored }\n\t\t\t\tstyles={ styles }\n\t\t\t\t{ ...inputWrapperProps }\n\t\t\t>\n\t\t\t\t{ children }\n\t\t\t</InputWrapper>\n\t\t\t{ hasErrored && (\n\t\t\t\t<ErrorText styles={ styles } { ...errorTextProps }>\n\t\t\t\t\t{ error }\n\t\t\t\t</ErrorText>\n\t\t\t) }\n\t\t</FieldWrapper>\n\t);\n}\n\nexport default PaymentInputsWrapper;\n","import { useId } from 'react';\nimport { Icon, chevronDown } from '@wordpress/icons';\n\n\nexport default function Select(props) {\n const {\n label,\n selectOnChange,\n options,\n value,\n ...restOfProps\n } = props;\n const generatedId = useId();\n const inputId = restOfProps.id || `wc-blocks-components-select-${ generatedId }`;\n return(\n <div className=\"wc-blocks-components-select\">\n <div className=\"wc-blocks-components-select__container\">\n <label\n htmlFor={ inputId }\n className=\"wc-blocks-components-select__label\"\n >\n { label }\n </label>\n <select \n className=\"wc-blocks-components-select__select\"\n id={ inputId }\n size=\"1\"\n onChange={ selectOnChange }\n value={ value }\n >\n { options.map( ( option ) => (\n <option\n key={ option.value }\n value={ option.value }\n data-alternate-values={ `[${ option.label }]` }\n disabled={\n option.disabled !== undefined\n ? option.disabled\n : false\n }\n >\n { option.label }\n </option>\n\t\t\t\t\t) ) }\n </select>\n <Icon\n className=\"wc-blocks-components-select__expand\"\n icon={ chevronDown }\n />\n </div>\n </div>\n )\n}","export default function TermsCheckbox( { id, label, checked, onChange } ) {\n return (\n\t\t<div className=\"wc-block-components-checkbox\">\n\t\t\t<label htmlFor={ id }>\n\t\t\t\t<input\n\t\t\t\t\tid={ id }\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\taria-invalid=\"false\"\n\t\t\t\t\tchecked={ checked }\n\t\t\t\t\tonChange={ onChange }\n\t\t\t\t/>\n\t\t\t\t<svg\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__mark\"\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 20\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\"></path>\n\t\t\t\t</svg>\n\t\t\t\t<span class=\"wc-block-components-checkbox__label\">\n\t\t\t\t\t{ label }\n\t\t\t\t</span>\n\t\t\t</label>\n\t\t</div>\n\t);\n}","export { default as PaymentInputsContainer } from './PaymentInputsContainer';\nexport { default as PaymentInputsWrapper } from './PaymentInputsWrapper';\nexport { default as TermsCheckbox } from './TermsCheckbox';\nexport { default as AchForm } from './AchForm';\nexport { default as GiftForm } from './GiftForm';\n","import React from 'react';\n\nimport utils from '../utils';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nexport default function usePaymentInputs( {\n\tautoFocus = true,\n\terrorMessages,\n\tonBlur,\n\tonChange,\n\tonError,\n\tonTouch,\n\tcardNumberValidator,\n\tcvcValidator,\n\texpiryValidator,\n\tavsType,\n\tsetIsFetchingCardType,\n\tpaymentFields,\n} = {} ) {\n\tconst cardNumberField = React.useRef();\n\tconst expiryDateField = React.useRef();\n\tconst cvcField = React.useRef();\n\tconst zipField = React.useRef();\n\tconst addressField = React.useRef();\n\tconst poNumberField = React.useRef();\n\n\t/** ====== START: META STUFF ====== */\n\tconst [ touchedInputs, setTouchedInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = false;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ isTouched, setIsTouched ] = React.useState( false );\n\tconst [ erroredInputs, setErroredInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = undefined;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ error, setError ] = React.useState();\n\tconst [ cardType, setCardType ] = React.useState();\n\tconst [ focused, setFocused ] = React.useState();\n\n\tconst setInputError = React.useCallback( ( input, error ) => {\n\t\tsetErroredInputs( ( erroredInputs ) => {\n\t\t\tif ( erroredInputs[ input ] === error ) return erroredInputs;\n\n\t\t\tlet newError = error;\n\t\t\tconst newErroredInputs = { ...erroredInputs, [ input ]: error };\n\t\t\tif ( error ) {\n\t\t\t\tsetError( error );\n\t\t\t} else {\n\t\t\t\tnewError = Object.values( newErroredInputs ).find( Boolean );\n\t\t\t\tsetError( newError );\n\t\t\t}\n\t\t\tonError && onError( newError, newErroredInputs );\n\t\t\treturn newErroredInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\n\tconst setInputTouched = React.useCallback( ( input, value ) => {\n\t\trequestAnimationFrame( () => {\n\t\t\tif ( document.activeElement.tagName !== 'INPUT' ) {\n\t\t\t\tsetIsTouched( true );\n\t\t\t} else if ( value === false ) {\n\t\t\t\tsetIsTouched( false );\n\t\t\t}\n\t\t} );\n\n\t\tsetTouchedInputs( ( touchedInputs ) => {\n\t\t\tif ( touchedInputs[ input ] === value ) return touchedInputs;\n\n\t\t\tconst newTouchedInputs = { ...touchedInputs, [ input ]: value };\n\t\t\tonTouch && onTouch( { [ input ]: value }, newTouchedInputs );\n\t\t\treturn newTouchedInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\t/** ====== END: META STUFF ====== */\n\n\t/** ====== START: CARD NUMBER STUFF ====== */\n\tconst handleBlurCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cardNumber', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\t\t\t\tlet cursorPosition = cardNumberField.current.selectionStart;\n\n\t\t\t\tconst cardType =\n\t\t\t\t\tutils.cardTypes.getCardTypeByValue( cardNumber );\n\t\t\t\tsetCardType( cardType );\n\n\t\t\t\tsetInputTouched( 'cardNumber', false );\n\n\t\t\t\t// @ts-ignore\n\t\t\t\tcardNumberField.current.value =\n\t\t\t\t\tutils.formatter.formatCardNumber( cardNumber );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\t// Due to the card number formatting, the selection cursor will fall to the end of\n\t\t\t\t// the input field. Here, we want to reposition the cursor to the correct place.\n\t\t\t\trequestAnimationFrame( () => {\n\t\t\t\t\tif ( document.activeElement !== cardNumberField.current )\n\t\t\t\t\t\treturn;\n\t\t\t\t\tif (\n\t\t\t\t\t\tcardNumberField.current.value[ cursorPosition - 1 ] ===\n\t\t\t\t\t\t' '\n\t\t\t\t\t) {\n\t\t\t\t\t\tcursorPosition = cursorPosition + 1;\n\t\t\t\t\t}\n\t\t\t\t\tcardNumberField.current.setSelectionRange(\n\t\t\t\t\t\tcursorPosition,\n\t\t\t\t\t\tcursorPosition\n\t\t\t\t\t);\n\t\t\t\t} );\n\n\t\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\t\tcardNumber,\n\t\t\t\t\tcardNumberValidator,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cardNumberError && autoFocus ) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t\tsetIsFetchingCardType( true );\n\t\t\t\t\textensionCartUpdate( {\n\t\t\t\t\t\tnamespace: 'wc-valorpay-fee-update',\n\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\taction_type: 'bin_lookup',\n\t\t\t\t\t\t\tbin: cardNumber.slice( 0, 6 ),\n\t\t\t\t\t\t},\n\t\t\t\t\t} ).then( () => {\n\t\t\t\t\t\tsetIsFetchingCardType( false );\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t\t\tprops.onError && props.onError( cardNumberError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcardNumberValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cardNumber' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyPressCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tutils.validator.hasCardNumberReachedMaxLength( cardNumber )\n\t\t\t\t) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getCardNumberProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Card number',\n\t\t\tautoComplete: 'cc-number',\n\t\t\tid: 'cardNumber',\n\t\t\tname: 'cardNumber',\n\t\t\tplaceholder: 'Card number',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cardNumberField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCardNumber( props ),\n\t\t\tonChange: handleChangeCardNumber( props ),\n\t\t\tonFocus: handleFocusCardNumber( props ),\n\t\t\tonKeyPress: handleKeyPressCardNumber( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurCardNumber,\n\t\t\thandleChangeCardNumber,\n\t\t\thandleFocusCardNumber,\n\t\t\thandleKeyPressCardNumber,\n\t\t]\n\t);\n\t/** ====== END: CARD NUMBER STUFF ====== */\n\n\t/** ====== START: EXPIRY DATE STUFF ====== */\n\tconst handleBlurExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'expiryDate', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tsetInputTouched( 'expiryDate', false );\n\n\t\t\t\texpiryDateField.current.value =\n\t\t\t\t\tutils.formatter.formatExpiry( e );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\t\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\t\texpiryDateField.current.value,\n\t\t\t\t\texpiryValidator,\n\t\t\t\t\t{\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif ( ! expiryDateError && autoFocus ) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t\t\tprops.onError && props.onError( expiryDateError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\terrorMessages,\n\t\t\texpiryValidator,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'expiryDate' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcardNumberField.current && cardNumberField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedExpiryDate = e.target.value || '';\n\t\t\tconst expiryDate = formattedExpiryDate.replace( ' / ', '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif ( expiryDate.length >= 4 ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getExpiryDateProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Expiry date in format MM YY',\n\t\t\tautoComplete: 'cc-exp',\n\t\t\tid: 'expiryDate',\n\t\t\tname: 'expiryDate',\n\t\t\tplaceholder: 'MM/YY',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: expiryDateField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurExpiryDate( props ),\n\t\t\tonChange: handleChangeExpiryDate( props ),\n\t\t\tonFocus: handleFocusExpiryDate( props ),\n\t\t\tonKeyDown: handleKeyDownExpiryDate( props ),\n\t\t\tonKeyPress: handleKeyPressExpiryDate( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurExpiryDate,\n\t\t\thandleChangeExpiryDate,\n\t\t\thandleFocusExpiryDate,\n\t\t\thandleKeyDownExpiryDate,\n\t\t\thandleKeyPressExpiryDate,\n\t\t]\n\t);\n\t/** ====== END: EXPIRY DATE STUFF ====== */\n\n\t/** ====== START: CVC STUFF ====== */\n\tconst handleBlurCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cvc', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCVC = React.useCallback(\n\t\t( props = {}, { cardType } = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst cvc = e.target.value;\n\n\t\t\t\tsetInputTouched( 'cvc', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\t\tcvc,\n\t\t\t\t\tcvcValidator,\n\t\t\t\t\t{ cardType, errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cvcError && autoFocus ) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cvc', cvcError );\n\t\t\t\tprops.onError && props.onError( cvcError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcvcValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCVC = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cvc' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressCVC = React.useCallback(\n\t\t( props = {}, { cardType } ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCVC = e.target.value || '';\n\t\t\t\tconst cvc = formattedCVC.replace( ' / ', '' );\n\n\t\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cardType && cvc.length >= cardType.code.length ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cvc.length >= 4 ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[]\n\t);\n\n\tconst getCVCProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'CVC',\n\t\t\tautoComplete: 'cc-csc',\n\t\t\tid: 'cvc',\n\t\t\tname: 'cvc',\n\t\t\tplaceholder: cardType ? cardType.code.name : 'CVC',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cvcField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCVC( props ),\n\t\t\tonChange: handleChangeCVC( props, { cardType } ),\n\t\t\tonFocus: handleFocusCVC( props ),\n\t\t\tonKeyDown: handleKeyDownCVC( props ),\n\t\t\tonKeyPress: handleKeyPressCVC( props, { cardType } ),\n\t\t} ),\n\t\t[\n\t\t\tcardType,\n\t\t\thandleBlurCVC,\n\t\t\thandleChangeCVC,\n\t\t\thandleFocusCVC,\n\t\t\thandleKeyDownCVC,\n\t\t\thandleKeyPressCVC,\n\t\t]\n\t);\n\t/** ====== END: CVC STUFF ====== */\n\n\t/** ====== START: ZIP STUFF ====== */\n\tconst handleBlurZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'zip', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst zip = e.target.value;\n\n\t\t\t\tsetInputTouched( 'zip', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst zipError = utils.validator.getZIPError( zip, {\n\t\t\t\t\terrorMessages,\n\t\t\t\t} );\n\t\t\t\tif ( ! zipError && autoFocus && zip.length >= 6 ) {\n\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'zip', zipError );\n\t\t\t\tprops.onError && props.onError( zipError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'zip' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getZIPProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'zip',\n\t\t\tmaxLength: '6',\n\t\t\tname: 'zip',\n\t\t\tplaceholder: 'ZIP',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: zipField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurZIP( props ),\n\t\t\tonChange: handleChangeZIP( props ),\n\t\t\tonFocus: handleFocusZIP( props ),\n\t\t\tonKeyDown: handleKeyDownZIP( props ),\n\t\t\tonKeyPress: handleKeyPressZIP( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurZIP,\n\t\t\thandleChangeZIP,\n\t\t\thandleFocusZIP,\n\t\t\thandleKeyDownZIP,\n\t\t\thandleKeyPressZIP,\n\t\t]\n\t);\n\n\t/** ====== END: ZIP STUFF ====== */\n\n\t/** ====== START: ADDRESS STUFF ====== */\n\tconst handleBlurAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'streetaddress', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\tconst handleChangeAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst streetaddress = e.target.value;\n\n\t\t\t\tsetInputTouched( 'streetaddress', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\t\tstreetaddress,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t\t\tprops.onError && props.onError( addressError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusAddress = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'streetaddress' );\n\t\t};\n\t}, [] );\n\tconst handleKeyDownAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\tconst getStreetAddressProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'streetaddress',\n\t\t\tmaxLength: '25',\n\t\t\tname: 'streetaddress',\n\t\t\tplaceholder: 'STREET ADDRESS',\n\t\t\ttype: 'text',\n\t\t\t[ refKey || 'ref' ]: addressField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurAddress( props ),\n\t\t\tonChange: handleChangeAddress( props ),\n\t\t\tonFocus: handleFocusAddress( props ),\n\t\t\tonKeyDown: handleKeyDownAddress( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurAddress,\n\t\t\thandleChangeAddress,\n\t\t\thandleFocusAddress,\n\t\t\thandleKeyDownAddress,\n\t\t]\n\t);\n\t/** ====== END: ADDRESS STUFF ====== */\n\n\t/** ====== START: PO NUMBER STUFF ====== */\n\tconst handleBlurPONumber = React.useCallback(\n\t\t(props = {}) => {\n\t\t\treturn (e) => {\n\t\t\t\tprops.onBlur && props.onBlur(e);\n\t\t\t\tonBlur && onBlur(e);\n\t\t\t\tsetFocused(undefined);\n\t\t\t\tsetInputTouched('poNumber', true);\n\t\t\t};\n\t\t},\n\t\t[onBlur, setInputTouched]\n\t);\n\n\tconst handleChangePONumber = React.useCallback(\n\t\t(props = {}) => {\n\t\t\treturn (e) => {\n\t\t\t\tlet value = e.target.value;\n\t\t\t\tvalue = value.replace(/[^a-zA-Z0-9]/g, '');\n\n\t\t\t\tif (value.length > 25) {\n value = value.slice(0, 25);\n \t}\n\n\t\t\t\te.target.value = value;\n\t\t\t\tsetInputTouched('poNumber', false);\n\n\t\t\t\tprops.onChange && props.onChange(e);\n\t\t\t\tonChange && onChange(e);\n\n\t\t\t\t// You can add validation here if needed\n\t\t\t\tlet poError;\n\t\t\t\t if (value && !/^[a-zA-Z0-9]{3,25}$/.test(value)) {\n\t\t\t\tpoError =\n\t\t\t\t\terrorMessages?.poNumber ||\n\t\t\t\t\t'PO Number Must Be 3 to 25 Alpha Numeric.';\n\t\t\t}\n\n\t\t\t\tsetInputError('poNumber', poError);\n\t\t\t\tprops.onError && props.onError(poError);\n\t\t\t};\n\t\t},\n\t\t[errorMessages, onChange, setInputError, setInputTouched]\n\t);\n\n\tconst handleFocusPONumber = React.useCallback((props = {}) => {\n\t\treturn (e) => {\n\t\t\tprops.onFocus && props.onFocus(e);\n\t\t\tsetFocused('poNumber');\n\t\t};\n\t}, []);\n\n\tconst getPONumberProps = React.useCallback(\n\t\t({ refKey, ...props } = {}) => ({\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'poNumber',\n\t\t\tname: 'poNumber',\n\t\t\tplaceholder: 'PO Number',\n\t\t\ttype: 'text',\n\t\t\t[refKey || 'ref']: poNumberField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurPONumber(props),\n\t\t\tonChange: handleChangePONumber(props),\n\t\t\tonFocus: handleFocusPONumber(props),\n\t\t}),\n\t\t[handleBlurPONumber, handleChangePONumber, handleFocusPONumber]\n\t);\n/** ====== END: PO NUMBER STUFF ====== */\n\n\t/** ====== START: CARD IMAGE STUFF ====== */\n\tconst getCardImageProps = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\tconst images = props.images || {};\n\t\t\treturn {\n\t\t\t\t'aria-label': cardType\n\t\t\t\t\t? cardType.displayName\n\t\t\t\t\t: 'Placeholder card',\n\t\t\t\tchildren:\n\t\t\t\t\timages[ cardType ? cardType.type : 'placeholder' ] ||\n\t\t\t\t\timages.placeholder,\n\t\t\t\twidth: '3em',\n\t\t\t\theight: '2em',\n\t\t\t\tviewBox: '0 0 24 16',\n\t\t\t};\n\t\t},\n\t\t[ cardType ]\n\t);\n\t/** ====== END: CARD IMAGE STUFF ====== */\n\n\t// Set default field errors\n\tReact.useLayoutEffect( () => {\n\t\tif ( addressField.current ) {\n\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\taddressField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t}\n\t\tif ( zipField.current ) {\n\t\t\tconst zipError = utils.validator.getZIPError(\n\t\t\t\tzipField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'zip', zipError );\n\t\t}\n\t\tif ( cvcField.current ) {\n\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\tcvcField.current.value,\n\t\t\t\tcvcValidator,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'cvc', cvcError );\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\texpiryDateField.current.value,\n\t\t\t\texpiryValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t}\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\tcardNumberField.current.value,\n\t\t\t\tcardNumberValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t}\n\t}, [\n\t\tcardNumberValidator,\n\t\tcvcValidator,\n\t\terrorMessages,\n\t\texpiryValidator,\n\t\tsetInputError,\n\t] );\n\n\t// Format default values\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tcardNumberField.current.value = utils.formatter.formatCardNumber(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\texpiryDateField.current.value = utils.formatter.formatExpiry( {\n\t\t\t\ttarget: expiryDateField.current,\n\t\t\t} );\n\t\t}\n\t}, [] );\n\n\t// Set default card type\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardType = utils.cardTypes.getCardTypeByValue(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t\tsetCardType( cardType );\n\t\t}\n\t}, [] );\n\n\treturn {\n\t\tgetCardImageProps,\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\tgetPONumberProps,\n\t\twrapperProps: {\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t},\n\n\t\tmeta: {\n\t\t\tcardType,\n\t\t\terroredInputs,\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t\ttouchedInputs,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t\tpoNumberField,\n\t\t},\n\t};\n}\n","export default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#016fd0\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<path\n\t\t\td=\"m13.7640663 13.3938564v-5.70139231l10.1475359.00910497v1.57489503l-1.1728619 1.25339231 1.1728619 1.2648839v1.6083094h-1.8726188l-.9951823-1.0981657-.9881105 1.1023204z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.4418122 12.7687956v-4.448884h3.7722872v1.02488398h-2.550895v.69569062h2.4900774v1.0078232h-2.4900774v.6833149h2.550895v1.0371713z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m18.1952707 12.7687956 2.087337-2.2270055-2.0874254-2.2217901h1.6156464l1.2754917 1.41003315 1.2791161-1.41003315h1.5461657v.03500552l-2.0428729 2.18678458 2.0428729 2.1638895v.063116h-1.5617237l-1.2981216-1.4241768-1.2847735 1.4241768z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.2373481 2.6319558h2.4460552l.8591381 1.95085083v-1.95085083h3.0198453l.5207514 1.46156906.5225194-1.46156906h2.3059447v5.70139227h-12.1865193z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<g fill=\"#016fd0\">\n\t\t\t<path d=\"m14.7004641 3.25135912-1.9740111 4.44517127h1.3539006l.3724199-.89016575h2.0179447l.3721547.89016575h1.3875801l-1.96579-4.44517127zm.1696353 2.55743646.592-1.41507182.5915581 1.41507182z\" />\n\t\t\t<path d=\"m18.2119779 7.69573481v-4.44508288l1.903116.00654144.9792707 2.73272928.9856354-2.73927072h1.8316022v4.44508288l-1.1786077.01043094v-3.05334807l-1.1125746 3.04291713h-1.0758011l-1.1356464-3.05334807v3.05334807z\" />\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-320.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Diners-Club\"\n\t\t\t\t\t\ttransform=\"translate(280.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M10.0021142,2.05179033 L10.0021142,2.03579033 L14.0021142,2.03579033 L14.0021142,2.05179033 C17.1375481,2.28122918 19.5642283,4.89197286 19.5642283,8.03579033 C19.5642283,11.1796078 17.1375481,13.7903515 14.0021142,14.0197903 L14.0021142,14.0357903 L10.0021142,14.0357903 L10.0021142,14.0197903 C6.86668021,13.7903515 4.44,11.1796078 4.44,8.03579033 C4.44,4.89197286 6.86668021,2.28122918 10.0021142,2.05179033 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#0165AC\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M11.6021142,11.4277903 C13.0374002,10.9175027 13.9961556,9.55908923 13.9961556,8.03579033 C13.9961556,6.51249143 13.0374002,5.15407792 11.6021142,4.64379033 L11.6021142,11.4277903 L11.6021142,11.4277903 Z M9.20211417,4.64379033 C7.76682809,5.15407792 6.80807271,6.51249143 6.80807271,8.03579033 C6.80807271,9.55908923 7.76682809,10.9175027 9.20211417,11.4277903 L9.20211417,4.64379033 L9.20211417,4.64379033 Z M10.4021142,13.2357903 C7.53023347,13.2357903 5.20211417,10.907671 5.20211417,8.03579033 C5.20211417,5.16390963 7.53023347,2.83579033 10.4021142,2.83579033 C13.2739949,2.83579033 15.6021142,5.16390963 15.6021142,8.03579033 C15.6021142,10.907671 13.2739949,13.2357903 10.4021142,13.2357903 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-280.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Discover\"\n\t\t\t\t\t\ttransform=\"translate(240.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.6124138,15.9999283 L21.9972414,15.9999283 C22.5240217,16.0043364 23.0309756,15.7992919 23.4065697,15.4299059 C23.7821638,15.06052 23.9956285,14.5570537 24,14.0302731 L24,11.6716524 C20.4561668,13.7059622 16.6127929,15.1667795 12.6124138,15.9999283 L12.6124138,15.9999283 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M23.1724138,9.29647999 L22.32,9.29647999 L21.36,8.03027309 L21.2689655,8.03027309 L21.2689655,9.29647999 L20.5737931,9.29647999 L20.5737931,6.1516524 L21.6,6.1516524 C22.4027586,6.1516524 22.8662069,6.48268688 22.8662069,7.07854895 C22.8662069,7.56682481 22.5765517,7.88130757 22.0551724,7.98061792 L23.1724138,9.29647999 Z M22.1462069,7.10337654 C22.1462069,6.79716964 21.9144828,6.63992826 21.4841379,6.63992826 L21.2689655,6.63992826 L21.2689655,7.5916524 L21.4675862,7.5916524 C21.9144828,7.5916524 22.1462069,7.42613516 22.1462069,7.10337654 L22.1462069,7.10337654 Z M18.1406897,6.1516524 L20.1103448,6.1516524 L20.1103448,6.68130757 L18.8358621,6.68130757 L18.8358621,7.38475585 L20.0606897,7.38475585 L20.0606897,7.92268688 L18.8358621,7.92268688 L18.8358621,8.77510068 L20.1103448,8.77510068 L20.1103448,9.30475585 L18.1406897,9.30475585 L18.1406897,6.1516524 Z M15.9062069,9.37923861 L14.4,6.14337654 L15.1613793,6.14337654 L16.1131034,8.26199723 L17.0731034,6.14337654 L17.817931,6.14337654 L16.2951724,9.37923861 L15.9227586,9.37923861 L15.9062069,9.37923861 Z M9.60827586,9.37096274 C8.54896552,9.37096274 7.72137931,8.65096274 7.72137931,7.71579033 C7.72137931,6.8054455 8.56551724,6.06889378 9.62482759,6.06889378 C9.92275862,6.06889378 10.1710345,6.12682481 10.4772414,6.25923861 L10.4772414,6.98751447 C10.2453534,6.75969251 9.93335245,6.63192067 9.60827586,6.6316524 C8.9462069,6.6316524 8.44137931,7.1116524 8.44137931,7.71579033 C8.44137931,8.35303171 8.93793103,8.80820412 9.64137931,8.80820412 C9.95586207,8.80820412 10.1958621,8.70889378 10.4772414,8.46061792 L10.4772414,9.18889378 C10.1627586,9.32130757 9.89793103,9.37096274 9.60827586,9.37096274 L9.60827586,9.37096274 Z M7.5062069,8.33647999 C7.5062069,8.94889378 7.00137931,9.37096274 6.27310345,9.37096274 C5.74344828,9.37096274 5.36275862,9.18889378 5.04,8.77510068 L5.49517241,8.38613516 C5.65241379,8.66751447 5.91724138,8.80820412 6.24827586,8.80820412 C6.56275862,8.80820412 6.7862069,8.6178593 6.7862069,8.36958343 C6.7862069,8.22889378 6.72,8.12130757 6.57931034,8.03854895 C6.42504922,7.96369158 6.26441119,7.90275992 6.09931034,7.85647999 C5.44551724,7.64958343 5.22206897,7.42613516 5.22206897,6.98751447 C5.22206897,6.47441102 5.70206897,6.0854455 6.33103448,6.0854455 C6.72827586,6.0854455 7.08413793,6.20958343 7.38206897,6.44130757 L7.01793103,6.85510068 C6.87360928,6.69688076 6.66932728,6.60675635 6.45517241,6.60682481 C6.15724138,6.60682481 5.94206897,6.75579033 5.94206897,6.95441102 C5.94206897,7.11992826 6.0662069,7.21096274 6.48,7.3516524 C7.27448276,7.59992826 7.5062069,7.8316524 7.5062069,8.34475585 L7.5062069,8.33647999 Z M4.08827586,6.1516524 L4.78344828,6.1516524 L4.78344828,9.30475585 L4.08827586,9.30475585 L4.08827586,6.1516524 Z M1.8537931,9.30475585 L0.827586207,9.30475585 L0.827586207,6.1516524 L1.8537931,6.1516524 C2.97931034,6.1516524 3.75724138,6.79716964 3.75724138,7.72406619 C3.75724138,8.19579033 3.52551724,8.64268688 3.12,8.94061792 C2.77241379,9.18889378 2.38344828,9.30475585 1.84551724,9.30475585 L1.8537931,9.30475585 Z M2.66482759,6.9378593 C2.43310345,6.75579033 2.16827586,6.68958343 1.71310345,6.68958343 L1.52275862,6.68958343 L1.52275862,8.77510068 L1.71310345,8.77510068 C2.16,8.77510068 2.44137931,8.69234206 2.66482759,8.52682481 C2.90482759,8.32820412 3.04551724,8.03027309 3.04551724,7.72406619 C3.04551724,7.4178593 2.90482759,7.12820412 2.66482759,6.9378593 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#000000\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.4137931,6.06889378 C11.5034483,6.06889378 10.7586207,6.79716964 10.7586207,7.69923861 C10.7586207,8.65923861 11.4703448,9.37923861 12.4137931,9.37923861 C13.3406897,9.37923861 14.0689655,8.65096274 14.0689655,7.72406619 C14.0689655,6.79716964 13.3489655,6.06889378 12.4137931,6.06889378 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g id=\"Group-2\">\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#B3131B\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"2\"\n\t\t\t/>\n\t\t\t<g\n\t\t\t\tid=\"Hipercard_logo\"\n\t\t\t\ttransform=\"translate(2.000000, 6.000000)\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tfillRule=\"nonzero\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\td=\"M4.45845797,4.72911206 L4.71934477,4.72911206 L4.72670967,4.71021617 C4.73076043,4.69982332 4.73407456,4.67539055 4.73407456,4.65592007 C4.73407456,4.63644958 4.74267391,4.56566228 4.75318417,4.49861521 C4.76369454,4.43156695 4.78836018,4.27726169 4.80799675,4.15571305 C4.82763331,4.0341644 4.85703646,3.85139347 4.87333717,3.74955542 C4.88963776,3.64771736 4.90953167,3.51735868 4.91754595,3.45986946 C4.92556023,3.40238023 4.93534271,3.3553436 4.93928464,3.3553436 C4.94322668,3.3553436 4.96009268,3.38074637 4.9767648,3.41179473 L5.0070776,3.46824705 L5.07434118,3.5349692 L5.14160488,3.60169134 L5.22440039,3.63432372 L5.30719578,3.66695609 L5.40587279,3.67955056 L5.5045498,3.69214384 L5.62980554,3.68457856 L5.75506139,3.67701327 L5.8906751,3.64246001 L6.02628894,3.60790675 L6.09908975,3.57519075 C6.13913019,3.55719677 6.21011098,3.51796553 6.25682484,3.48801021 L6.34175912,3.43354447 L6.42095111,3.35561954 C6.46450662,3.31276155 6.5259323,3.24403729 6.55745263,3.20290069 C6.58897283,3.16176409 6.61476215,3.12510239 6.61476215,3.12143264 C6.61476215,3.11776169 6.63024834,3.09228724 6.64917582,3.06482382 C6.66810343,3.0373592 6.70683989,2.96113177 6.73525696,2.8954298 C6.76367415,2.82972783 6.80808531,2.71146429 6.83394853,2.63262192 L6.88097263,2.48927217 L6.90527961,2.36510142 C6.91864839,2.29680721 6.93584673,2.18391928 6.94349809,2.11423935 L6.95740984,1.98754804 L6.9493753,1.88003572 L6.94134076,1.77252341 L6.91602234,1.66501109 L6.89070392,1.55749878 L6.84971924,1.47700311 L6.80873457,1.39650745 L6.72956721,1.31388424 L6.65039973,1.23125983 L6.55674682,1.18360201 L6.4630938,1.13594299 L6.35995932,1.11163207 L6.25682484,1.08732115 L6.15369036,1.07986696 L6.05055588,1.07241397 L5.93566831,1.0854122 L5.82078075,1.09840925 L5.7270093,1.12198192 L5.63323773,1.1455534 L5.55177641,1.18267501 C5.50697261,1.2030916 5.44177912,1.23776791 5.40690207,1.25973387 C5.3720249,1.28169983 5.33604735,1.30697239 5.32695174,1.31589472 C5.31785613,1.32481824 5.29608043,1.34134766 5.27856116,1.3526257 L5.24670802,1.37313308 L5.26898276,1.26820942 C5.28123392,1.21050159 5.29147275,1.15656744 5.2917358,1.14835469 L5.29221386,1.13342243 L5.06976516,1.13342243 L4.84731634,1.13342243 L4.80831003,1.37532513 C4.78685648,1.50837162 4.75298372,1.71398893 4.73303727,1.83225247 C4.7130907,1.95051602 4.68301183,2.12791134 4.66619545,2.22646429 C4.64937895,2.32501725 4.61938307,2.49972476 4.59953794,2.61470321 C4.5796928,2.72968165 4.54689191,2.91245259 4.52664697,3.02086084 C4.50640216,3.12926909 4.47674372,3.28784975 4.46073931,3.37326231 C4.44473502,3.45867488 4.41461296,3.61994335 4.39380151,3.7316367 C4.37299019,3.84333005 4.33954562,4.02072536 4.31948026,4.12584852 C4.29941502,4.23097167 4.26676167,4.39761576 4.24691738,4.49616871 C4.2270731,4.59472167 4.20785211,4.68745104 4.20420394,4.70223398 L4.19757093,4.72911206 L4.45845773,4.72911206 L4.45845797,4.72911206 Z M5.58158434,3.34795511 L5.48028286,3.35395071 L5.41406652,3.34244331 L5.34785018,3.33093472 L5.28059837,3.30070464 L5.21334656,3.27047457 L5.16636177,3.22630134 L5.11937709,3.18212931 L5.09225746,3.12240025 C5.07734166,3.08954926 5.0581828,3.0337432 5.04968233,2.99838718 L5.03422684,2.93410437 L5.04041916,2.8311458 L5.04661147,2.72818843 L5.07787505,2.56691995 C5.09507,2.47822229 5.12594421,2.31157821 5.14648436,2.19659976 C5.1670245,2.08162131 5.19812318,1.9131519 5.21559259,1.82222277 L5.24735509,1.6568975 L5.3169102,1.5999088 C5.35516545,1.56856538 5.41576424,1.52655673 5.45157423,1.50655705 L5.51668327,1.470194 L5.60161755,1.44430981 L5.68655183,1.41842563 L5.79575304,1.41211346 L5.90495426,1.40580129 L5.99387134,1.42445946 L6.08278843,1.44311762 L6.1455397,1.47157016 L6.20829096,1.50002269 L6.2609103,1.55210763 L6.31352963,1.60419138 L6.34191746,1.65934519 C6.3575308,1.68968039 6.37946059,1.74905705 6.39065044,1.79129506 L6.41099548,1.86808991 L6.40476348,2.09506035 L6.39853137,2.32203079 L6.36736983,2.45618705 C6.35023095,2.52997394 6.31760514,2.64286188 6.29486799,2.70704912 L6.25352781,2.82375493 L6.20290006,2.91822719 C6.17505485,2.9701879 6.1321162,3.04040419 6.10748089,3.07426459 C6.08284558,3.10812381 6.04357913,3.15198525 6.0202222,3.17173287 C5.99686528,3.19148049 5.95774892,3.22234369 5.93329695,3.24031617 L5.8888387,3.27299275 L5.7858622,3.30747553 L5.6828857,3.34195951 L5.58158434,3.34795511 Z M8.10111202,3.67635864 L8.23458018,3.67786023 L8.36804833,3.665875 C8.44145581,3.6592833 8.56157715,3.64555995 8.63498463,3.63537973 C8.70839211,3.62519831 8.83520336,3.60240928 8.91678734,3.58473665 L9.06512179,3.5526048 L9.07250973,3.498771 C9.07657311,3.4691621 9.093232,3.38101873 9.10952955,3.3028967 L9.1391613,3.16085621 L9.1326233,3.1544198 L9.12608543,3.1479822 L9.0807372,3.1695444 C9.05579576,3.181403 8.97811171,3.20969069 8.90810597,3.23240685 L8.78082285,3.27370711 L8.6472364,3.29918394 L8.51364995,3.32466077 L8.30131425,3.32506693 L8.08897856,3.32547309 L8.01617775,3.30258252 C7.9761373,3.28999283 7.91724557,3.26695772 7.88530737,3.25139472 L7.82723768,3.22309628 L7.7793106,3.18046765 L7.73138352,3.13783782 L7.69398963,3.07349051 L7.65659562,3.00914319 L7.63315109,2.92843011 L7.60970656,2.84771703 L7.60953911,2.69835615 L7.60937167,2.54899526 L7.63018579,2.41575047 L7.65099978,2.28250449 L7.83358895,2.27410658 L8.01617823,2.26570748 L8.69111697,2.26997453 L9.3660557,2.27424157 L9.38643459,2.18913124 C9.39764288,2.14232038 9.41477886,2.04555929 9.42451439,1.97410661 L9.44221542,1.84419231 L9.44258913,1.73490963 L9.44296284,1.62562694 L9.42374501,1.54404301 L9.40452717,1.46245909 L9.37275132,1.40843654 C9.35527451,1.37872491 9.32448062,1.33566504 9.3043205,1.31274938 C9.28416037,1.28983373 9.24816377,1.25752509 9.22432794,1.24095266 C9.20049222,1.22438023 9.15368992,1.19652977 9.12032288,1.17906499 L9.05965554,1.14730824 L8.95365525,1.12215633 L8.84765497,1.09700442 L8.71705262,1.08471099 L8.58645027,1.07241636 L8.46511559,1.08019547 L8.34378091,1.08797458 L8.19817929,1.11550012 L8.05257767,1.14302686 L7.96157665,1.17884877 C7.9115261,1.198551 7.83508525,1.23447922 7.7917081,1.2586898 C7.74833095,1.28290038 7.68827028,1.32231081 7.65823994,1.34626814 C7.62820961,1.37022427 7.57621515,1.4167998 7.54269681,1.44976786 C7.50917834,1.48273591 7.45959784,1.54196325 7.43251788,1.58138443 C7.40543792,1.62080561 7.36392374,1.69068862 7.34026433,1.73668 C7.31660479,1.78267138 7.28577559,1.84717876 7.27175488,1.88002975 C7.25773417,1.91288073 7.23225571,1.98007593 7.21513599,2.02935241 C7.1980164,2.07862889 7.17110667,2.17270216 7.15533656,2.23840413 C7.13956645,2.3041061 7.11795686,2.41225991 7.10731533,2.47874552 L7.08796742,2.59963476 L7.08814699,2.77739681 L7.08832657,2.95515887 L7.10676835,3.03280665 C7.11691132,3.07551293 7.13630473,3.14002032 7.14986473,3.1761564 C7.16342485,3.21229249 7.18849963,3.26604864 7.20558671,3.29561453 C7.22267367,3.32518042 7.2591652,3.37278329 7.28667905,3.40139948 C7.31419278,3.43001568 7.36400431,3.47343751 7.39737135,3.49789178 C7.43073838,3.52234606 7.49013972,3.55674044 7.52937438,3.57432587 L7.60070995,3.60629765 L7.70017273,3.62996947 C7.75487732,3.64298921 7.83743756,3.65841484 7.88363999,3.66425037 C7.92984242,3.6700847 8.02770503,3.67553319 8.10111251,3.67635864 L8.10111202,3.67635864 Z M8.32965888,1.99352094 C7.99374575,1.99352094 7.71890777,1.99115328 7.71890777,1.98826001 C7.71890777,1.98536673 7.73323995,1.94370571 7.75075703,1.89567996 C7.76827412,1.84765421 7.79903902,1.77617166 7.81912342,1.73682932 L7.85564031,1.66529779 L7.93590903,1.58670271 L8.01617775,1.50810762 L8.09504529,1.47097884 C8.13842244,1.45055747 8.19575308,1.42832273 8.22244671,1.42156738 C8.24914034,1.41481202 8.32558119,1.40585027 8.39231526,1.40165251 L8.51364995,1.39401794 L8.60682685,1.40580726 L8.70000364,1.41759659 L8.76771701,1.44811814 L8.8354305,1.4786385 L8.87257529,1.51806804 C8.89300502,1.53975447 8.9173507,1.5716916 8.92667697,1.58903811 L8.94363374,1.62057745 L8.95483159,1.69057752 L8.96602945,1.76057759 L8.95321966,1.87704927 L8.94040987,1.99352094 L8.32965888,1.99352094 Z M11.959629,3.67642315 L12.0931723,3.67788054 L12.2447655,3.66019237 C12.328143,3.6504637 12.4391291,3.63434164 12.4914025,3.62436569 C12.5436771,3.61438974 12.628308,3.59458597 12.6794712,3.58035851 C12.7306357,3.56612985 12.7769248,3.55074723 12.7823351,3.54617318 C12.7877455,3.54159912 12.8022037,3.48738425 12.8144634,3.42569488 C12.826723,3.3640055 12.8421665,3.28127956 12.8487817,3.24185837 C12.8553968,3.20243719 12.858816,3.16807267 12.8563809,3.16549477 C12.8539445,3.16291567 12.8449948,3.16624735 12.8364917,3.1728952 C12.8279885,3.17954304 12.7684545,3.20420995 12.7041944,3.22770736 L12.5873588,3.27043156 L12.420981,3.302168 L12.2546045,3.33390325 L12.1131465,3.32915121 L11.9716884,3.32439797 L11.8913406,3.29696441 L11.8109916,3.26953085 L11.7489046,3.21605781 L11.6868164,3.16258596 L11.6456318,3.08873695 L11.6044472,3.01488793 L11.5848322,2.91609248 L11.5652172,2.81729702 L11.5653386,2.68912203 L11.5654599,2.56094705 L11.5892961,2.40565148 L11.6131335,2.25035592 L11.6383541,2.16673523 C11.6522263,2.12074385 11.6679222,2.06698769 11.6732342,2.0472771 C11.678545,2.02756651 11.7007978,1.97112254 11.722683,1.92184607 C11.7445681,1.87256959 11.7836087,1.79641025 11.8094409,1.75260257 L11.8564059,1.67295267 L11.9140896,1.61410998 L11.9717721,1.5552673 L12.0328581,1.51796531 L12.0939452,1.48066331 L12.172393,1.45687442 C12.2155396,1.44379137 12.2917924,1.42680322 12.3418429,1.41912326 L12.4328439,1.40516219 L12.5663121,1.41175628 L12.6997802,1.41835037 L12.8575153,1.44943457 L13.0152504,1.48051877 L13.0794061,1.50407591 C13.1146915,1.51703353 13.145104,1.52763425 13.1469871,1.52763425 C13.1488715,1.52763425 13.1573345,1.48328542 13.1657928,1.42908129 C13.1742522,1.37487717 13.1893087,1.28569809 13.1992508,1.23090743 C13.209193,1.17611557 13.2149333,1.12892841 13.2120067,1.12604708 C13.2090789,1.12316575 13.1616662,1.11575337 13.1066446,1.109575 C13.0516217,1.10339663 12.9020779,1.09242679 12.7743246,1.08519718 L12.5420452,1.0720532 L12.3782433,1.08442906 L12.2144415,1.09680493 L12.0931068,1.12190786 L11.9717721,1.14701198 L11.8936314,1.17778201 C11.8506546,1.19470683 11.787705,1.2252463 11.7537446,1.24564856 C11.7197843,1.26605201 11.6765552,1.29349632 11.6576803,1.30663671 C11.6388043,1.3197771 11.5815404,1.37104495 11.5304257,1.42056632 L11.4374894,1.5106043 L11.3856128,1.58542809 C11.3570809,1.62658022 11.3077232,1.71239058 11.2759299,1.77611671 L11.2181236,1.89198153 L11.1738182,2.01741257 C11.1494494,2.08639964 11.1154271,2.19928757 11.098211,2.26827464 L11.0669102,2.39370567 L11.0555485,2.50719089 L11.0441879,2.62067611 L11.0443092,2.76999877 L11.0444306,2.91932143 L11.0558894,3.0061878 L11.0673483,3.09305536 L11.1036916,3.18241243 L11.1400338,3.27176949 L11.1820095,3.33637364 L11.2239841,3.4009766 L11.2907327,3.46565123 L11.3574813,3.53032586 L11.4280836,3.56706401 L11.4986858,3.60380216 L11.591451,3.6291691 C11.642471,3.64312061 11.7161818,3.65913278 11.7552528,3.6647509 C11.7943226,3.67037021 11.8863841,3.67562278 11.9598316,3.67642315 L11.959629,3.67642315 Z M13.9555105,3.67201037 L14.1193123,3.66738973 L14.2224468,3.64140161 L14.3255813,3.6154123 L14.3923154,3.5843508 C14.4290191,3.56726709 14.4890798,3.53354287 14.5257835,3.50940874 C14.5624872,3.48527462 14.6192998,3.43939314 14.6520322,3.40745004 C14.6847659,3.37550574 14.7333071,3.32100536 14.7599012,3.28633861 C14.7864953,3.25167066 14.8098571,3.22488337 14.8118155,3.22681143 C14.8137726,3.22873948 14.8076537,3.2839817 14.7982163,3.34957257 C14.7887801,3.41516345 14.7809516,3.50242641 14.7808217,3.54349015 L14.7805912,3.61815148 L15.003278,3.61815148 L15.2259647,3.61815148 L15.2327728,3.44792364 L15.2395797,3.27769581 L15.2713548,3.05669828 C15.2888318,2.93514963 15.3170592,2.75506651 15.3340824,2.65651355 C15.3511044,2.55796059 15.3806943,2.39131651 15.3998373,2.28619336 C15.4189803,2.1810702 15.4493055,2.01711392 15.4672278,1.92184607 L15.4998135,1.74863178 L15.5009055,1.59901287 L15.5019975,1.44939515 L15.4676343,1.38024561 L15.4332723,1.31109728 L15.3866749,1.26705665 L15.3400776,1.22301602 L15.2635748,1.18484915 L15.1870721,1.14668347 L15.0730551,1.12171553 L14.9590393,1.09674639 L14.8020602,1.08498574 L14.645081,1.07322389 L14.4428707,1.08554122 C14.3316553,1.09231569 14.1751408,1.10569261 14.0950599,1.11526718 L13.9494583,1.13267701 L13.8502272,1.13304733 L13.750996,1.13341765 L13.7365584,1.20210607 C13.7286171,1.2398847 13.7065499,1.32964076 13.687521,1.40156411 C13.6684909,1.47348627 13.6546854,1.53406946 13.6568415,1.53619223 C13.6589976,1.538315 13.7120682,1.52645639 13.7747764,1.50983976 C13.8374846,1.49322194 13.9706919,1.4658947 14.070793,1.44911203 L14.252795,1.41859765 L14.4165969,1.411951 L14.5803987,1.40530435 L14.6859089,1.42351335 L14.7914191,1.44172116 L14.8618442,1.47594352 L14.9322693,1.51016469 L14.971703,1.56803021 L15.0111368,1.62589572 L15.0105787,1.7171259 L15.0100205,1.80835607 L14.989117,1.90846915 L14.9682134,2.00858342 L14.5316331,2.01013398 L14.0950539,2.01168455 L13.9521677,2.05025639 C13.8735792,2.07147095 13.786558,2.09963679 13.7587857,2.11284647 C13.7310146,2.12605735 13.7032351,2.13686592 13.6970543,2.13686592 C13.6908735,2.13686592 13.6441232,2.16238934 13.5931651,2.19358344 L13.5005139,2.25030097 L13.4275457,2.32200093 C13.387413,2.36143645 13.3361406,2.42057897 13.3136063,2.45342996 C13.2910733,2.48628094 13.2544617,2.55490844 13.232249,2.60593498 L13.1918603,2.69871094 L13.173324,2.80304089 L13.1547877,2.90737084 L13.1547877,3.01681838 L13.1547877,3.12626711 L13.1724965,3.21739215 L13.1902065,3.3085184 L13.2230615,3.3679524 C13.2411331,3.40064092 13.2742951,3.44852332 13.2967566,3.47435973 L13.3375954,3.52133305 L13.4101681,3.56473577 L13.4827396,3.60813849 L13.5658078,3.63128231 C13.6114963,3.64401177 13.6810332,3.65942187 13.720336,3.66552618 L13.7917948,3.67662623 L13.9555966,3.67200559 L13.9555105,3.67201037 Z M14.1071788,3.33797677 L14.0101111,3.34295937 L13.9458219,3.32683969 C13.9104626,3.31797351 13.8568096,3.2982008 13.8265924,3.2829006 L13.771652,3.25508 L13.7416666,3.21999634 C13.7251748,3.20069908 13.6999809,3.16278307 13.6856804,3.13573655 L13.6596808,3.08656281 L13.6545823,2.97172771 L13.649485,2.85689381 L13.6700525,2.78723658 C13.6813657,2.74892516 13.7079052,2.68244671 13.7290308,2.6395051 L13.7674417,2.56143085 L13.840996,2.48951348 L13.9145503,2.4175973 L13.9926644,2.38056886 L14.0707784,2.34354042 L14.1678462,2.3208398 L14.2649139,2.29813917 L14.5682506,2.29813917 L14.8715874,2.29813917 L14.8907789,2.30595173 L14.9099692,2.31376429 L14.8938183,2.40749114 C14.8849342,2.4590409 14.8637479,2.55228633 14.8467356,2.61470321 C14.8297232,2.67712008 14.7996905,2.76887348 14.7799954,2.81860031 C14.7603004,2.86832714 14.7441859,2.91229012 14.7441859,2.91629675 C14.7441859,2.92030338 14.7242458,2.95653742 14.6998745,2.99681631 L14.6555643,3.07005131 L14.5828035,3.14102257 C14.5427861,3.18005671 14.5056371,3.21199384 14.5002523,3.21199384 C14.4948674,3.21199384 14.4703372,3.22543885 14.4457427,3.24187151 L14.4010235,3.27174799 L14.3026357,3.30237108 L14.2042466,3.33299417 L14.1071788,3.33797677 Z M18.0566228,3.67628099 L18.1718907,3.67771091 L18.281092,3.66026166 C18.3411526,3.65066439 18.4175935,3.63520412 18.4509605,3.6259067 C18.4843276,3.61660808 18.5443882,3.59247515 18.5844287,3.57227836 L18.6572295,3.53555693 L18.7198576,3.48128471 L18.7824857,3.4270125 L18.8484444,3.34040775 C18.8847223,3.29277621 18.9175725,3.24574076 18.9214467,3.23588547 L18.9284889,3.21796675 L18.922364,3.27769581 C18.9189945,3.3105468 18.9114402,3.36430295 18.9055761,3.39715394 C18.8997132,3.43000492 18.8913059,3.49316841 18.8868942,3.53751724 L18.8788715,3.61815148 L19.1168877,3.61815148 L19.3549039,3.61815148 L19.3549039,3.53751724 L19.3549039,3.456883 L19.391166,3.15226478 C19.411111,2.98472475 19.4406038,2.7616367 19.4567061,2.65651355 C19.4728085,2.5513904 19.4976627,2.40087316 19.5119389,2.32203079 C19.5262139,2.24318843 19.5514964,2.10073461 19.5681205,2.00546676 C19.5847433,1.9101989 19.6147725,1.74355481 19.6348497,1.63514656 C19.654927,1.52673831 19.68706,1.35471861 19.7062552,1.25288055 C19.7254515,1.1510425 19.7552865,0.992461836 19.7725549,0.900479078 C19.7898244,0.80849632 19.8207636,0.647227848 19.841308,0.542104696 C19.8618536,0.436981544 19.8918657,0.289152111 19.9080008,0.213594845 C19.9241371,0.13803758 19.9373165,0.0721862871 19.9372885,0.0672586394 L19.9372886,0.0582992798 L19.6776105,0.0582992798 L19.4179324,0.0582992798 L19.4102629,0.132960609 C19.4060453,0.174024341 19.386167,0.309758638 19.3660873,0.434592381 C19.3460089,0.559426124 19.3132764,0.758323906 19.2933496,0.876587452 C19.2734228,0.994850998 19.2542119,1.109532 19.2506592,1.13143345 L19.2442006,1.17125601 L19.2237071,1.16267653 C19.2124364,1.15795674 19.1513431,1.14127321 19.0879458,1.12560031 L18.9726778,1.09710477 L18.8149427,1.08501083 L18.6572076,1.07291569 L18.5237395,1.08516015 L18.3902713,1.09740461 L18.2689366,1.12760004 L18.147602,1.15779547 L18.032334,1.21314639 L17.9170661,1.26849731 L17.8321318,1.33040529 L17.7471975,1.39231447 L17.6738471,1.46974245 C17.6335045,1.51232808 17.5752238,1.58276537 17.5443344,1.62626963 L17.488171,1.70537002 L17.4222183,1.84048553 C17.3859453,1.91479923 17.3418026,2.01323153 17.3241241,2.05922291 C17.3064456,2.10521429 17.2752675,2.20716464 17.2548384,2.28577884 L17.2176966,2.42871287 L17.1993969,2.61428869 L17.1810984,2.7998633 L17.1948396,2.94918596 L17.2085795,3.09850862 L17.224825,3.15226478 C17.2337589,3.18183067 17.2525985,3.23450692 17.2666891,3.26932419 L17.2923089,3.33262744 L17.3390179,3.39487707 L17.3857281,3.45712789 L17.4390608,3.5001364 L17.4923947,3.54314491 L17.5651955,3.57873388 C17.6052359,3.59830709 17.6724044,3.62360354 17.714459,3.63494729 C17.7565136,3.64629103 17.8247643,3.65990926 17.8661273,3.66521081 C17.9074903,3.67051236 17.9932036,3.67549377 18.056601,3.67628099 L18.0566228,3.67628099 Z M18.2635057,3.33735678 L18.1718907,3.34214706 L18.1100549,3.33118916 C18.0760448,3.3251625 18.0216226,3.30900698 17.989117,3.29528841 L17.9300149,3.27034555 L17.8802835,3.23022554 L17.830552,3.19010433 L17.7935947,3.12041485 L17.7566361,3.05072537 L17.7397949,2.97307759 L17.7229524,2.8954298 L17.7243805,2.74013424 L17.7258074,2.58483867 L17.7453666,2.44746183 L17.7649257,2.31008498 L17.7953249,2.21451848 C17.8120436,2.1619569 17.8258042,2.11236625 17.8259049,2.10431836 C17.8260262,2.09627046 17.8425132,2.05326554 17.8625892,2.00875185 C17.8826665,1.96423817 17.9162082,1.89556528 17.9371288,1.8561441 C17.9580481,1.81672291 17.9971506,1.75526768 18.0240226,1.71957718 C18.0508934,1.68388667 18.0987648,1.63013051 18.1304016,1.60011905 C18.1620384,1.57010758 18.2123656,1.53074374 18.2422382,1.51264345 L18.2965536,1.47973512 L18.3919567,1.44723295 L18.4873609,1.41473079 L18.6875631,1.41461133 L18.8877654,1.41461133 L19.0030333,1.44609571 C19.0664307,1.46341117 19.1337447,1.48349327 19.1526184,1.49072169 L19.1869367,1.50386327 L19.1802341,1.53665453 C19.176548,1.55468912 19.1621274,1.63395198 19.1481884,1.71279434 C19.1342495,1.79163671 19.1067842,1.94215395 19.0871522,2.0472771 C19.0675203,2.15240025 19.0373589,2.31098092 19.0201245,2.39967858 C19.0028914,2.48837624 18.9779292,2.60126417 18.9646527,2.65054064 C18.9513763,2.69981712 18.9326471,2.76806952 18.9230301,2.80221304 C18.9134143,2.83635657 18.890516,2.89548834 18.872146,2.93361698 C18.8537759,2.97174563 18.8216307,3.02713239 18.8007126,3.05669828 C18.7797957,3.08626416 18.7444145,3.12722038 18.7220889,3.14771103 C18.6997633,3.16820288 18.6514661,3.2046173 18.6147623,3.22863316 L18.5480283,3.2722975 L18.4515745,3.30243201 L18.3551207,3.33256771 L18.2635057,3.33735798 L18.2635057,3.33735678 Z M0.406035224,3.61815148 L0.700846957,3.61815148 L0.721999232,3.48973399 C0.733631588,3.41910437 0.756352721,3.28337007 0.772489021,3.18810222 C0.78862532,3.09283436 0.818658081,2.91543904 0.839229163,2.7938904 C0.859799032,2.67234175 0.890636242,2.49225862 0.907755352,2.39370567 C0.924874463,2.29515271 0.952074059,2.14227379 0.968198225,2.05397392 C0.984323604,1.96567525 1.00057639,1.89041663 1.00431713,1.88673254 L1.01111794,1.88003572 L1.80383747,1.88003572 L2.596557,1.88003572 L2.60535861,1.88869883 L2.61416145,1.89736193 L2.60041544,1.96634661 C2.59285507,2.0042877 2.57049188,2.12134114 2.55072039,2.22646429 C2.53094769,2.33158744 2.49770806,2.50898276 2.47685426,2.62067611 C2.45600047,2.73236946 2.42584638,2.89095012 2.40984597,2.97307759 C2.39384435,3.05520505 2.36146377,3.22722475 2.33788965,3.3553436 C2.31431432,3.48346244 2.29507549,3.59500646 2.29513616,3.60321921 L2.2952575,3.61815148 L2.59128136,3.61815148 L2.88730644,3.61815148 L2.90040452,3.54349015 C2.90760938,3.50242641 2.91920048,3.4285117 2.92616388,3.37923522 C2.93312606,3.32995874 2.9499115,3.22513424 2.96346337,3.14629187 C2.97701646,3.06744951 3.00409472,2.91155665 3.02363688,2.7998633 C3.04317905,2.68816995 3.07588966,2.4973356 3.09632728,2.37578695 C3.11676368,2.25423831 3.14708242,2.07684299 3.16370127,1.98157513 C3.18032,1.88630727 3.2099327,1.7250388 3.22950738,1.62320075 C3.24908194,1.52136269 3.28168651,1.34934299 3.30196202,1.24093474 C3.32223741,1.13252649 3.3526127,0.96857021 3.36946269,0.876587452 C3.3863128,0.784604694 3.41703596,0.617960606 3.43773662,0.506267257 C3.45843729,0.394573908 3.48457667,0.264215227 3.49582403,0.216581299 L3.5162739,0.129974156 L3.21654665,0.129974156 L2.91681989,0.129974156 L2.90866742,0.186716767 C2.9041841,0.217925202 2.88970402,0.305278958 2.87649067,0.380836224 C2.86327611,0.456393489 2.83924092,0.590783883 2.82307672,0.679481542 C2.80691251,0.768179202 2.77737358,0.937511097 2.75743465,1.05577464 C2.73749451,1.17403819 2.7120846,1.33059045 2.7009667,1.40366896 L2.68075113,1.53653985 L2.24076366,1.54530688 L1.80077498,1.55407391 L1.43224272,1.54546337 C1.22954949,1.54072805 1.0625869,1.53591269 1.06121339,1.53476231 C1.05983988,1.53361551 1.06674383,1.4871905 1.07655495,1.43160066 C1.08636486,1.37601082 1.10492543,1.27945999 1.11780025,1.21704312 C1.13067507,1.15462624 1.15508154,1.03098708 1.17203685,0.942289422 C1.18899095,0.853591763 1.20819702,0.74339164 1.21471511,0.697400261 C1.22123321,0.651408882 1.23489429,0.574806358 1.24507305,0.52717243 C1.25525061,0.479538501 1.27456709,0.379202037 1.28799762,0.304203835 C1.30142816,0.229204439 1.31573716,0.159321434 1.3197958,0.148908269 L1.32717538,0.129974156 L1.02986779,0.129974156 L0.732560203,0.129974156 L0.713517938,0.234500018 C0.703043115,0.291989241 0.689078706,0.373967381 0.682484166,0.416673662 C0.675889626,0.459379942 0.653744833,0.596458144 0.633273245,0.721291887 C0.612802871,0.84612563 0.582582041,1.03158437 0.566118138,1.13342243 C0.549653021,1.23526048 0.519668795,1.42071922 0.499487197,1.54555297 C0.479305599,1.67038671 0.446005295,1.86390887 0.4254876,1.97560222 C0.404969905,2.08729557 0.375264748,2.24587624 0.359476679,2.3280037 C0.343687397,2.41013116 0.313600035,2.56602402 0.292613988,2.67443227 C0.271629155,2.78284052 0.241013987,2.93604557 0.224581631,3.01488793 C0.208148062,3.0937303 0.189981833,3.18511576 0.184209942,3.21796675 C0.178439265,3.25081773 0.159657869,3.34556595 0.142475664,3.42851887 C0.125292247,3.51147178 0.111233197,3.58807431 0.111233197,3.5987467 L0.111233197,3.61815148 L0.40604493,3.61815148 L0.406035224,3.61815148 Z M3.6696828,3.61815148 L3.93066933,3.61815148 L3.93803423,3.59925559 C3.94208498,3.58886273 3.94539912,3.56160239 3.94539912,3.53867598 C3.94539912,3.51574958 3.96181061,3.39658174 3.98186905,3.27385882 C4.00192749,3.1511347 4.03506982,2.95127648 4.0555186,2.82972783 C4.07596737,2.70817919 4.10616636,2.53078387 4.12262747,2.43551601 C4.13908859,2.34024816 4.16836313,2.18166749 4.18768216,2.08311454 C4.20700119,1.98456158 4.23665805,1.83135654 4.2535863,1.74265888 C4.27051468,1.65396122 4.3038043,1.48521228 4.32756345,1.3676607 C4.3513226,1.25010912 4.37372499,1.14921121 4.37734671,1.14344138 L4.38393166,1.13295176 L4.1200058,1.13617355 L3.85607993,1.13939533 L3.83409918,1.2946909 C3.82200988,1.38010346 3.79557869,1.54943535 3.77536324,1.670984 C3.75514791,1.79253264 3.72457012,1.97799139 3.70741291,2.08311454 C3.69025558,2.18823769 3.66033444,2.35756959 3.64092138,2.45940764 C3.62150844,2.56124569 3.59175924,2.71713855 3.57481193,2.80583621 C3.55786476,2.89453387 3.52745513,3.05042672 3.50723495,3.15226478 C3.48701476,3.25410283 3.45988239,3.38849323 3.44694071,3.4509101 C3.43399891,3.51332697 3.42009966,3.57649045 3.41605327,3.5912734 L3.40869626,3.61815148 L3.6696828,3.61815148 Z M9.77371379,3.61815148 L10.0327662,3.61815148 L10.0405474,3.5102342 C10.0448257,3.45088023 10.0594866,3.33127278 10.0731246,3.24443986 C10.0867638,3.15760695 10.1146878,2.98442611 10.1351788,2.85959237 C10.155671,2.73475862 10.1937543,2.52697555 10.2198085,2.39785326 C10.2458627,2.26872977 10.2753155,2.14038396 10.2852589,2.11263742 C10.295201,2.08489208 10.3033365,2.05482685 10.3033365,2.04582568 C10.3033365,2.03682332 10.3228132,1.98777501 10.346619,1.9368285 C10.3704237,1.885882 10.4147873,1.80786868 10.4452047,1.76346729 L10.5005078,1.6827351 L10.5745377,1.61525798 L10.6485665,1.54777966 L10.7398538,1.50485597 L10.8311424,1.46193228 L10.9706773,1.46264903 L11.1102122,1.46336577 L11.1788136,1.48354942 C11.216545,1.49465186 11.2506704,1.50373426 11.2546478,1.50373426 C11.2586263,1.50373426 11.2618805,1.49103467 11.2618805,1.47551228 C11.2618805,1.45999108 11.2755307,1.38130521 11.2922142,1.30065544 C11.3088977,1.22000687 11.3225479,1.15061842 11.3225479,1.14646009 C11.3225479,1.14230175 11.2829624,1.12704814 11.2345802,1.11256384 C11.186198,1.09807954 11.1193123,1.08290836 11.0859452,1.07885156 L11.0252779,1.07147502 L10.9464103,1.08520913 C10.9030332,1.09276246 10.8385341,1.10943762 10.8030789,1.12226504 C10.7676249,1.13509245 10.7090846,1.16418528 10.6729899,1.18691816 C10.6368953,1.20964985 10.5807489,1.25394851 10.5482203,1.28535763 C10.5156916,1.31676676 10.4609794,1.3800951 10.4266368,1.42608648 C10.392293,1.47207786 10.356378,1.5204584 10.3468229,1.53359879 L10.3294514,1.55749042 L10.339999,1.50970717 C10.3458012,1.48342638 10.3619594,1.39741653 10.375908,1.31857416 C10.3898566,1.2397318 10.4041729,1.16581708 10.4077208,1.15431924 L10.4141733,1.13341406 L10.1828196,1.13341406 L9.95146594,1.13341406 L9.95146594,1.16220945 C9.95146594,1.1780472 9.93781118,1.27346438 9.92112208,1.37424762 C9.90443298,1.47503205 9.87691282,1.64350027 9.85996613,1.74862342 C9.84301943,1.85374657 9.8129425,2.03651751 9.79312843,2.15478105 C9.77331448,2.2730446 9.74322906,2.44237649 9.72627205,2.53107415 C9.70931504,2.61977181 9.67920475,2.77566467 9.65936022,2.87750272 C9.63951569,2.97934078 9.60656725,3.14598486 9.58614129,3.24782292 C9.56571544,3.34966097 9.54127633,3.46992783 9.53183225,3.515083 C9.52238804,3.56023818 9.51466108,3.6018992 9.51466108,3.60766305 L9.51466108,3.61815148 L9.77371379,3.61814311 L9.77371379,3.61815148 Z M15.9231926,3.61815148 L16.1880687,3.61815148 L16.1880687,3.53834508 L16.1880687,3.4585375 L16.2185916,3.26060494 C16.2353807,3.15174036 16.2630766,2.97934914 16.2801399,2.87751109 C16.2972031,2.77567303 16.3184719,2.64665825 16.3274021,2.59081158 C16.3363336,2.53496491 16.3600011,2.41401355 16.3799983,2.32203079 C16.3999955,2.23004804 16.4249722,2.13059914 16.4355041,2.10103326 C16.4460347,2.07146737 16.4547308,2.04044768 16.4548278,2.03210114 C16.4549492,2.0237546 16.4775041,1.97007848 16.5050034,1.9128222 L16.555003,1.80871922 L16.6209641,1.72243342 L16.6869253,1.63614762 L16.7591146,1.58271997 C16.7988189,1.55333566 16.862664,1.51433975 16.9009912,1.49606385 L16.9706774,1.46283419 L17.1223457,1.46386153 L17.2740141,1.46488886 L17.3337192,1.48376564 L17.3934244,1.50264122 L17.4034867,1.49651779 L17.413549,1.49039556 L17.4140586,1.45227648 C17.4143376,1.43131157 17.4273241,1.35330183 17.4429192,1.27892123 L17.4712752,1.14368388 L17.4393799,1.13139044 C17.4218386,1.12462911 17.3801856,1.1106334 17.3468185,1.10028833 L17.2861512,1.08147964 L17.17695,1.0817544 L17.0677488,1.08202915 L16.9787546,1.11285532 L16.8897605,1.1436803 L16.8229391,1.18334995 L16.7561176,1.22301961 L16.669242,1.3126132 L16.5823676,1.4022068 L16.5356913,1.47170873 C16.5100193,1.50993414 16.4874171,1.53950002 16.4854648,1.5374107 C16.4835113,1.53532018 16.4974648,1.45566431 16.5164719,1.36039645 C16.535479,1.2651286 16.5512658,1.17508703 16.5515534,1.16030409 L16.5520751,1.1334272 L16.327606,1.1334272 L16.1031368,1.1334272 L16.1031368,1.14103908 C16.1031368,1.14522489 16.0919461,1.22182741 16.0782681,1.31126691 C16.0645912,1.40070521 16.0371283,1.57333176 16.0172416,1.6948804 C15.9973536,1.81642905 15.9647218,2.01263902 15.9447271,2.13090257 C15.9247312,2.24916611 15.894588,2.41849801 15.8777419,2.50719567 C15.8608958,2.59589333 15.8309746,2.75178618 15.8112517,2.85362424 C15.7915287,2.95546229 15.7591214,3.11941857 15.7392359,3.21797153 C15.7193504,3.31652448 15.6930086,3.44688316 15.6806992,3.50765749 L15.6583178,3.61815625 L15.9231951,3.61815625 L15.9231926,3.61815148 Z M4.18287366,0.70311036 L4.25654638,0.703373168 L4.31510626,0.683728279 L4.37366602,0.664083389 L4.42549425,0.612324572 L4.47732236,0.56056456 L4.50462182,0.491606161 L4.53192127,0.422646568 L4.5328968,0.32110716 L4.53387233,0.219567752 L4.5096054,0.179918405 L4.48533846,0.140270252 L4.4430896,0.114516275 L4.40084074,0.0887622969 L4.30962145,0.0887622969 L4.21840216,0.0887611023 L4.15629991,0.116134932 L4.09419767,0.143508762 L4.05814865,0.181538257 L4.0220995,0.219567752 L3.99378945,0.285269722 L3.96547928,0.350971692 L3.96012782,0.453313859 L3.95477635,0.555656026 L3.98113328,0.606521296 L4.00749008,0.657385372 L4.05834557,0.680117059 L4.10920094,0.702848746 L4.18287366,0.703111554 L4.18287366,0.70311036 Z\"\n\t\t\t\t\tid=\"path2997\"\n\t\t\t\t/>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import amex from './amex';\nimport dinersclub from './dinersclub';\nimport discover from './discover';\nimport hipercard from './hipercard';\nimport jcb from './jcb';\nimport unionpay from './unionpay';\nimport mastercard from './mastercard';\nimport placeholder from './placeholder';\nimport visa from './visa';\nimport troy from './troy';\n\nexport default {\n\tamex,\n\tdinersclub,\n\tdiscover,\n\thipercard,\n\tjcb,\n\tunionpay,\n\tmastercard,\n\tplaceholder,\n\tvisa,\n\ttroy,\n};\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m.20535714 16h4.51785715c1.0278125 0 2.25892857-1.1946667 2.25892857-2.1333333v-13.8666667h-4.51785715c-1.0278125 0-2.25892857 1.19466667-2.25892857 3.2z\"\n\t\t\tfill=\"#047ab1\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m2.76924107 10.816c-.86733559.0001606-1.73039558-.1147397-2.56388393-.3413333v-1.17333337c.64678874.37770431 1.38610045.59084099 2.14598215.61866667.8696875 0 1.35535714-.576 1.35535714-1.36533333v-3.22133334h2.14598214v3.22133334c0 1.25866666-.70026786 2.26133333-3.0834375 2.26133333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 16h4.51785716c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.02781249 0-2.25892856 1.19466667-2.25892856 3.2z\"\n\t\t\tfill=\"#d42d06\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 6.08c.65508929-.59733333 1.78455357-.97066667 3.61428576-.88533333.9939285.04266666 2.0330357.32 2.0330357.32v1.184c-.5943231-.3394747-1.2623758-.54734656-1.9539732-.608-1.3892411-.11733334-2.23633933.61866666-2.23633933 1.90933333s.84709823 2.0266667 2.23633933 1.92c.6920185-.06606555 1.3596342-.27744592 1.9539732-.61866667v1.17333337s-1.0391072.288-2.0330357.3306666c-1.82973219.0853334-2.95919647-.288-3.61428576-.8853333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.0178571 16h4.5178572c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.0278125 0-2.2589286 1.19466667-2.2589286 3.2z\"\n\t\t\tfill=\"#67b637\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m21.6651786 9.28c0 .8533333-.7002679 1.3866667-1.6377232 1.3866667h-4.0095983v-5.33333337h3.6481697l.2597768.01066667c.8245089.04266667 1.4344196.50133333 1.4344196 1.29066667 0 .61866666-.4179018 1.152-1.1746428 1.28v.032c.8358035.05333333 1.4795982.55466666 1.4795982 1.33333333zm-2.880134-3.104c-.0486104-.00686658-.0976798-.01043129-.1468303-.01066667h-1.3553572v1.344h1.5021875c.2823661-.064.5195536-.30933333.5195536-.672 0-.36266666-.2371875-.608-.5195536-.66133333zm.1694197 2.176c-.059755-.00886168-.1202559-.01243275-.1807143-.01066667h-1.4908929v1.46133334h1.4908929l.1807143-.02133334c.2823661-.064.5195536-.34133333.5195536-.71466666 0-.37333334-.2258929-.64-.5195536-.71466667z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#252525\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<circle cx=\"9\" cy=\"8\" fill=\"#eb001b\" r=\"5\" />\n\t\t<circle cx=\"15\" cy=\"8\" fill=\"#f79e1b\" r=\"5\" />\n\t\t<path\n\t\t\td=\"m12 3.99963381c1.2144467.91220633 2 2.36454836 2 4.00036619s-.7855533 3.0881599-2 4.0003662c-1.2144467-.9122063-2-2.36454837-2-4.0003662s.7855533-3.08815986 2-4.00036619z\"\n\t\t\tfill=\"#ff5f00\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#D8D8D8\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"0.923076923\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tx=\"16.6153846\"\n\t\t\t\ty=\"3.76470588\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"2.82352941\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"6.46153846\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"11.9230769\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"5.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"18.4615385\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g>\n\t\t<path\n\t\t\ttransform=\"scale(0.6)\"\n\t\t\td=\"m33.6 24h-31.2c-1.325 0-2.4-1.075-2.4-2.4v-19.2c0-1.325 1.075-2.4 2.4-2.4h31.2c1.325 0 2.4 1.075 2.4 2.4v19.2c0 1.325-1.075 2.4-2.4 2.4zm-8.689-15.321c-.07-.002-.151-.004-.233-.004-.213 0-.424.01-.632.028l.027-.002c-.01.03.542 1.996 1.066 3.83l.064.224c1.114 3.896 1.114 3.896.937 4.274-.153.313-.392.565-.686.729l-.008.004-.231.116-.994.019c-.96.02-.998.024-1.12.111-.228.164-.315.425-.489 1.467-.09.55-.16.982-.16 1.006.148.031.318.049.492.049.084 0 .167-.004.249-.012l-.01.001c.214 0 .48 0 .812-.006.17.016.367.025.566.025.484 0 .956-.054 1.409-.157l-.043.008c1.072-.313 1.958-.975 2.55-1.852l.01-.016c.197-.286 5.257-9.732 5.257-9.814-.167-.024-.359-.038-.555-.038-.09 0-.178.003-.267.009l.012-.001h-.594l-1.4.011-.266.132c-.149.071-.277.163-.385.274-.067.08-.528 1.088-1.12 2.445-.344.887-.691 1.622-1.083 2.33l.049-.096c-.022-.046-.218-1.266-.378-2.282-.187-1.218-.366-2.27-.4-2.346-.065-.168-.191-.3-.349-.372l-.004-.002c-.151-.08-.223-.08-1.539-.095h-.553zm-3.77.131c-.043 0-.052.027-.062.071-.027.123-.418 2.354-.418 2.386.042.047.092.087.148.117l.003.001c.41.281.69.725.746 1.237l.001.008c.003.04.005.087.005.134 0 .787-.538 1.448-1.266 1.637l-.012.003c-.136.032-.19.067-.203.131-.035.168-.418 2.357-.418 2.39 0 .006.023.015.179.015.07 0 .16 0 .25-.007 1.958-.11 3.55-1.545 3.9-3.417l.004-.026c.026-.2.041-.431.041-.665 0-.321-.028-.636-.082-.942l.005.032c-.291-1.35-1.207-2.439-2.423-2.964l-.027-.01c-.108-.056-.232-.101-.364-.129l-.01-.002zm-16.966-.136c-.167 0-.603 0-.612.008s-.025.13-.058.32l-.137.758c-.104.588-.179 1.074-.167 1.082s.32.012.621.012h.596l-.012.091c0 .026-.037.211-.085.489l-.185 1.058c-.172.615-.271 1.322-.271 2.051 0 .156.005.31.013.464l-.001-.021c.182 1.082 1.114 1.766 2.624 1.925.198.021.466.031.701.031.038.003.081.004.125.004.138 0 .273-.016.403-.046l-.012.002c.022-.027.413-2.182.418-2.306 0-.052-.069-.068-.386-.088-.778-.043-1.126-.297-1.126-.823 0-.16.367-2.381.457-2.763.013-.059.032-.075.433-.075h.606c.053.003.116.004.179.004.174 0 .344-.012.512-.034l-.019.002c.025-.042.378-2 .378-2.099 0-.037-.198-.047-.847-.047h-.846l.107-.609c.195-1.063.149-1.32-.278-1.527-.214-.107-.231-.107-1.152-.123l-.953-.012-.024.111c-.012.064-.096.525-.183 1.03s-.171.96-.183 1.022l-.024.112zm6-.008-.025.111c-.04.186-1.415 8.014-1.415 8.053.294.026.637.042.983.042.135 0 .27-.002.404-.007l-.019.001h1.369l.04-.21c.025-.111.16-.871.302-1.686.14-.8.297-1.6.342-1.75.238-.867.892-1.541 1.727-1.805l.018-.005c.2-.061.43-.096.668-.096.056 0 .111.002.165.006h-.007c.499 0 .53-.005.545-.08.045-.195.452-2.57.445-2.593-.066-.021-.141-.034-.22-.034-.024 0-.048.001-.072.003h.003c-.006 0-.014 0-.021 0-.16 0-.317.013-.47.038l.017-.002c-.622.133-1.164.417-1.603.813l.003-.003c-.292.27-.546.576-.756.912l-.011.019c-.022.056-.054.104-.094.144.015-.157.037-.297.066-.435l-.004.024c.166-.885.076-1.192-.4-1.371-.269-.047-.578-.074-.894-.074-.058 0-.115.001-.173.003h.008zm9.704-.026h-.141c-.236 0-.467.022-.691.064l.023-.004c-1.274.263-2.314 1.086-2.869 2.195l-.011.024c-.272.488-.432 1.07-.432 1.689 0 .051.001.101.003.151v-.007c-.001.041-.002.09-.002.139 0 .262.024.518.069.767l-.004-.026c.249 1.142.939 2.09 1.879 2.674l.018.01c.276.177.595.325.933.427l.027.007c.025-.018.139-.633.247-1.233l.218-1.213-.103-.08c-.27-.187-.487-.434-.635-.721l-.005-.011c-.099-.162-.157-.359-.157-.569 0-.052.004-.103.01-.153l-.001.006c-.006-.044-.009-.095-.009-.147 0-.2.051-.387.14-.551l-.003.006c.228-.47.651-.815 1.161-.931l.011-.002c.08-.008.151-.031.151-.052 0-.054.4-2.314.422-2.394-.015-.056-.07-.064-.249-.064z\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m4.54588254.00006676h5.79377466c.8087588 0 1.3117793.72566459 1.1231113 1.61890981l-2.69741608 12.74856503c-.19036262.8901361-1.00010994 1.6164225-1.80943362 1.6164225h-5.79320976c-.80762905 0-1.31177937-.7262864-1.12311135-1.6164225l2.69854581-12.74856503c.18866803-.89324522.9979917-1.61890981 1.80773904-1.61890981\"\n\t\t\tfill=\"#dd2423\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m9.85756516.00006676h6.66269264c.8086174 0 .4439911.72566459.2537697 1.61890981l-2.6969924 12.74856503c-.1892329.8901361-.1302036 1.6164225-.9405158 1.6164225h-6.66269248c-.81031221 0-1.31177939-.7262864-1.12141672-1.6164225l2.69685116-12.74856503c.19149238-.89324522.99912144-1.61890981 1.8083039-1.61890981\"\n\t\t\tfill=\"#16315e\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.2559813.00006676h5.7937745c.8098886 0 1.3129092.72566459 1.1226878 1.61890981l-2.6969924 12.74856503c-.1903626.8901361-1.0006749 1.6164225-1.8104222 1.6164225h-5.7910915c-.8103122 0-1.3129091-.7262864-1.1231113-1.6164225l2.697416-12.74856503c.1886681-.89324522.9974268-1.61890981 1.8077391-1.61890981\"\n\t\t\tfill=\"#036862\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m6.05901135 4.08561434c-.59580116.00668457-.77175951 0-.8279645-.01461278-.02160646.11301588-.42365577 2.15460824-.42478553 2.15631824-.08656699.4130443-.14955043.7074763-.36349659.89759795-.12144798.1105286-.26323144.1638497-.42760986.1638497-.26421996 0-.41814822-.1444178-.44399122-.41832975l-.00494264-.09405035s.08049458-.55326485.08049458-.55637395c0 0 .42196112-1.86048711.49751306-2.10641713.00395412-.01399096.00508387-.02129736.00607239-.02798193-.82132725.00792821-.9669236 0-.97695012-.01461278-.00550753.02005371-.025843.13540142-.025843.13540142l-.43085788 2.09693437-.03699927.1778407-.07159782.5817131c0 .1725552.03078565.31339755.09207452.4324762.19629382.37760055.75622549.4341862 1.07297875.4341862.40812169 0 .79096525-.09544945 1.04967767-.26971465.44907509-.2921002.56656897-.74867195.67135315-1.15440985l.04857917-.20815445s.43467082-1.93230737.5085281-2.18367833c.00282441-.01399096.00395413-.02129736.00776704-.02798193zm1.47893982 1.55881086c-.10478422 0-.29627659.0279819-.46828081.12078865-.0624186.0352883-.12144796.07601755-.18372539.11659135l.056205-.22338905-.03078563-.03762015c-.36476761.08130305-.44639193.0921849-.78333945.14441785l-.02824374.0206755c-.03911752.3570805-.07385733.6255515-.21888878 1.32743145-.05521646.25867735-.11255121.519842-.17002718.7778975l.01553403.03280105c.34527946-.0200537.45006363-.0200537.75015309-.0146128l.02428961-.0290701c.03812903-.21499445.04307165-.2653619.12752039-.70079175.03968242-.20644445.1224365-.66006255.16324868-.8215804.07498704-.038242.14898558-.07586215.21959486-.07586215.16819135 0 .14771465.1615179.14121858.22587635-.00720213.1080413-.06849101.4609245-.13133325.76390655l-.04194194.19556255c-.02923223.14441785-.06128888.2847938-.09052111.427968l.01270966.02860375c.34033679-.0200537.44413246-.0200537.73476028-.0146128l.0341749-.0290701c.0525333-.3357831.06792611-.42563615.16113038-.9145426l.04688457-.22463265c.09108601-.43962715.13684082-.6625498.06792616-.8441214-.07286879-.2034908-.24769738-.2526146-.40826291-.2526146zm1.65214439.4602871c-.18090101.038242-.29627659.0637366-.41094606.08021485-.11368097.02005375-.22453757.038242-.39936616.06498025l-.01383941.0138355-.01270966.01103735c-.01821719.14332965-.0309269.26722735-.05507525.41288885-.02047669.150636-.05196844.3217921-.10323077.56772215-.03968243.18825615-.06015913.25385825-.08275412.32008215-.0220301.06622385-.04631967.1305823-.09094476.31572935l.01045019.0171001.00875554.01570095c.1633899-.00855005.27029237-.0146128.38016043-.01570095.10972684-.00435275.22340776 0 .39936611.00108815l.01539286-.0138355.01652257-.0152346c.02541932-.1669588.02923224-.21188535.04476626-.29334385.01539282-.0873658.04194194-.20830985.10704369-.53134565.03078568-.1517242.06510179-.30298205.09701718-.4578154.03318641-.1542115.06792612-.30609115.10097127-.45781535l-.00494263-.0183437zm.00385525-.620608c-.1643784-.10679765-.45288796-.07290845-.64706354.0746185-.19361063.14457325-.21564072.34977405-.05182718.4579708.16155403.10384405.45119334.0729085.64367421-.0758621.19318708-.14768235.21733543-.3510177.05521651-.4567272zm.99410809 2.473369c.3325698 0 .6734715-.1008904.9300657-.400297.1974235-.2428209.2879446-.60409865.3192952-.7528692.1021011-.4931037.0225949-.7233328-.0772466-.8635533-.1516687-.21375085-.4197016-.28230655-.697761-.28230655-.1672028 0-.5654392.01818825-.87654364.33391765-.22340786.22774175-.32663863.5367866-.38891601.83308405-.06284224.3018939-.13514621.84536505.31887154 1.0476122.14008884.0662239.34203141.08441215.47223481.08441215zm-.0259841-1.10948335c.0766817-.3734032.1672028-.6868008.3982364-.6868008.1810422 0 .1941755.23318275.1136809.6078296-.0144042.0831685-.0804945.3923688-.1698859.5240393-.0624186.09715945-.1362759.15607695-.2179003.15607695-.0242896 0-.1687562 0-.1710157-.23613635-.0011297-.11659135.0204767-.23567.0468846-.3650087zm2.1066988 1.06146325.0259841-.0290701c.0368581-.21499445.0429305-.2655174.1245549-.70079175.0408121-.20644445.1252608-.66006255.1649433-.82158045.0751282-.0383974.1478558-.07601755.2207245-.07601755.1670616 0 .1467262.1615179.140089.2258763-.0060725.1081968-.0673613.4609245-.1313334.76390655l-.0396824.1955626c-.030362.14457325-.0634071.2847938-.0926394.42812345l.0127097.02860375c.3414665-.02005375.441308-.02005375.7336305-.0146128l.0353047-.0290701c.0512623-.33593855.0651017-.42579165.1611304-.9145426l.0457548-.2247881c.0915096-.43962715.1378292-.66239435.0700444-.84396595-.0749871-.2034908-.2509454-.2526146-.4092515-.2526146-.1049254 0-.2974063.02782645-.468422.12078865-.0611476.0352883-.1224365.0758621-.1825956.11659135l.0523921-.22338905-.0281025-.0377756c-.3646263.0814585-.4479453.09234035-.7844692.1445733l-.025843.0206755c-.0408122.35708045-.0739986.62539605-.21903 1.32743145-.0552164.25867735-.1125512.51984195-.1698859.7778975l.0153928.03280105c.3458442-.02005375.4490751-.02005375.7485997-.0146128zm2.5088186.01453505c.0214652-.1153477.1489856-.7990394.1501153-.7990394 0 0 .1085971-.50165375.1152345-.519842 0 0 .0341748-.0522329.0683497-.07290845h.0502738c.4743532 0 1.0099953 0 1.4298381-.3399804.2856852-.2331827.4809905-.57751585.5681223-.99600105.022595-.1026004.0392588-.22463269.0392588-.34666496 0-.16027425-.0292322-.3188385-.1136809-.44273624-.2140874-.32972035-.6404262-.3357831-1.132573-.33827039-.0015534 0-.2426136.00248729-.2426136.00248729-.629976.00855003-.8826161.00606275-.9864117-.00792821-.0087556.05052291-.0252782.14037599-.0252782.14037599s-.2256673 1.15130077-.2256673 1.15316622c0 0-.5400198 2.4477966-.5654392 2.5631443.5500464-.00730635.7755725-.00730635.8704714.0041973zm.4181482-2.0451678s.2399304-1.14896892.2388007-1.14461618l.0077669-.05891749.0033893-.04492654.0958874.01088185s.4948299.046792.5064099.04803565c.1953052.0831685.2757998.29754113.2195948.57736036-.0512623.2557237-.2019425.4707182-.3955532.5745622-.1594358.0879876-.3547411.095294-.5559775.095294h-.1302035zm1.4938667.99045135c-.0634072.2975411-.136276.8410123.3154822 1.0347094.1440429.0674675.2731167.0875212.4043088.08021485.1385355-.00823915.2669031-.08472305.3858092-.1947853-.0107326.04523745-.0214652.0904749-.0321978.1358678l.0204766.0290701c.324944-.01507915.4257741-.01507915.7778319-.0121255l.0319154-.0267383c.0514036-.332674.0998416-.65570975.2334344-1.2921431.0651017-.30484755.1300622-.6067414.1968587-.9103453l-.0104501-.03342285c-.3634967.0741521-.4606551.09000855-.8103124.1445733l-.026549.0237846c-.0035305.0309356-.0072021.0606275-.0105914.09031945-.0543692-.0966931-.1331691-.17923975-.2547583-.2306954-.1554817-.0673121-.5206729.01943185-.8346018.33407305-.2205834.2246327-.3264973.53243385-.3866564.8276432zm.7634275.01818825c.0778115-.3667187.1672028-.67700715.3988014-.67700715.1464436 0 .2235489.14877055.2078737.40247335-.0124272.06327025-.025843.1299605-.0418008.20535625-.0231597.10897405-.0482967.21701535-.0727275.32521215-.0248545.07399665-.0538043.143796-.0855784.1902771-.0595943.09296215-.2013777.150636-.2830021.150636-.0231599 0-.1660731 0-.1710157-.23193905-.0011298-.11550315.0204767-.23442635.0474494-.36500865zm3.9866711-1.21085565-.0281024-.0352883c-.3596838.08021485-.4247856.09296215-.755237.142086l-.0242897.02673825c-.0011296.00435275-.0021182.01103735-.0038128.0171001l-.0011298-.00606275c-.2460027.6247742-.2388006.4899946-.4390485.98185465-.0011298-.02238555-.0011298-.0363765-.0022595-.06016115l-.0501327-1.0662668-.0314917-.0352883c-.3767711.08021485-.3856679.09296215-.7336305.142086l-.0271139.02673825c-.003813.01274735-.003813.0267383-.0060724.0419729l.0022594.00544095c.0434954.2446864.0330452.19012165.0766818.5762722.0203354.1894998.0474494.3800878.0677848.5672558.0343162.3132421.0535219.4674536.0954638.94547815-.2349878.4268798-.2906279.5883977-.51686.9630446l.0015534.0037309-.1592946.27733195c-.0182171.0292256-.0347397.0492793-.0578996.05782935-.0254193.0138355-.0584644.01632275-.1043605.01632275h-.0882616l-.131192.4803564.4500635.00855005c.26422-.00124365.4302931-.1372669.5196844-.32008215l.283002-.53383295h-.004519l.0297972-.03762015c.1903626-.4511308 1.6384179-3.1855867 1.6384179-3.1855867zm-4.7501128 6.3087581h-.1909276l.7066579-2.57293795h.2344228l.0744221-.265051.0072022.29474295c-.0087556.1821934.121448.3437113.4634794.31697305h.3955532l.1361347-.49543555h-.1488443c-.0855785 0-.1252609-.02378465-.1203182-.0747739l-.0072022-.299873h-.7325008v.00155455c-.2368235.00544095-.9440462.0250283-1.0872418.0670012-.1732752.0491238-.3558709.1936971-.3558709.1936971l.071739-.26536195h-.6851925l-.1427719.52652655-.7161194 2.61226815h-.1389591l-.136276.4918601h1.3647364l-.0457548.1640051h.6724828l.0446251-.1640051h.1886681zm-.5599316-2.0501423c-.1097268.03342285-.313929.1347796-.313929.1347796l.1816071-.65757525h.5443977l-.1313333.47911275s-.1681914.01088185-.2807425.0436829zm.0104502.9394154s-.1710158.0236292-.283567.0516111c-.1108566.0369984-.3187303.1535897-.3187303.1535897l.1875382-.6843135h.5472221zm-.3050322 1.1167897h-.5460922l.158306-.5775158h.5443976zm1.315112-1.5959024h.7871525l-.1131162.4032506h-.7976024l-.1197535.4408708h.6979023l-.5284398.8190931c-.0369994.0601612-.0701858.0814585-.1070437.0984031-.0369994.0206755-.0855785.0449265-.1417835.0449265h-.1936107l-.133028.4828437h.5064098c.2632315 0 .4187131-.131826.5335239-.3048476l.3623669-.5459584.0778115.5543531c.0165225.1038439.0843074.1646269.1302034.1882561.0506975.0279819.1030897.0760176.1770882.0831685.0793648.0037309.1366995.0066846.1748285.0066846h.2488272l.1494092-.5403621h-.0981469c-.0563463 0-.1533633-.0104155-.1698859-.0298474-.0165226-.0236292-.0165226-.0600057-.0254194-.1153477l-.0789412-.5555967h-.3232494l.1417836-.1857688h.796049l.1224365-.4408708h-.7370197l.1148107-.4032506h.7347603l.1362759-.497301h-2.1905826zm-6.6483163 1.7081877.1837253-.6728098h.7550958l.1379705-.5004101h-.7558018l.1153756-.4141325h.7385731l.1368408-.4845537h-1.84798632l-.13401641.4845537h.41984283l-.1119863.4141325h-.42097264l-.13952389.5089601h.41970155l-.24487301.8901361c-.03304514.117835.01553408.1627615.04631971.2174817.03149175.0533211.06340718.0886094.13514621.1086631.07399857.0181883.12469597.0290701.19361067.0290701h.8512656l.1516688-.554353-.3773361.0570521c-.0728688 0-.2746701-.0096382-.25264-.0837903zm.0866093-3.22084395-.1913512.38070965c-.0409534.08316845-.0778114.1347796-.1109978.1585642-.0292322.02005375-.0871318.0284483-.1710157.0284483h-.0998415l-.13345158.48704095h.33158128c.1594357 0 .2818722-.0643584.3403368-.09653765.0628422-.0369983.0793647-.0158564.1279439-.0674675l.1119864-.1067977h1.0354146l.1374057-.50709465h-.7579202l.1323219-.2768656zm1.5286064 3.23062205c-.0176524-.027982-.0049427-.0772612.0220301-.1798616l.283002-1.0311339h1.0067472c.1467262-.0023318.25264-.0041973.3215547-.0096382.0739985-.0085501.1544932-.0376202.2421899-.0898531.0905212-.0547202.1368408-.1123941.1759583-.178618.0436366-.0660684.113681-.2106417.1738401-.4335643l.3557296-1.3048905-1.044735.0066846s-.3216959.0522329-.4633381.10990675c-.1429132.06435845-.3471154.2440646-.3471154.2440646l.0943341-.3577023h-.645369l-.9035164 3.29860265c-.0320566.1280949-.0535218.2210571-.0584645.2768655-.0016946.0601612.0689147.1197005.1146695.164627.0540867.0449266.1340164.0376202.2106981.0449266.0806358.0066846.1953053.0108818.3536113.0108818h.4959597l.1522336-.5658567-.4439912.0461702c-.0474494 0-.0817655-.027982-.0960286-.0516111zm.4876277-1.9074346h1.0574447l-.06722.2319391c-.0094616.0054409-.0320566-.0115037-.1396652.0024873h-.9156612zm.2118279-.77789745h1.0663414l-.0766816.27935285s-.5025969-.0054409-.5830915.01088185c-.3541763.06746755-.5610614.27577745-.5610614.27577745zm.802065 1.78653705c-.0087555.0346665-.0225949.0558084-.0419418.0716648-.0214654.0152346-.0562051.0206755-.1080323.0206755h-.1506803l.0088968-.2824619h-.626728l-.0254193 1.380908c-.0009886.0996467.007767.1573206.0739985.2034908.0662315.0576738.2702923.0649802.5449624.0649802h.392729l.1417834-.5168883-.3418902.0206755-.1136809.0073064c-.0155341-.0073064-.030362-.013991-.0468846-.0321792-.0144043-.015701-.0386939-.0060627-.0347398-.1057095l.0026831-.3539713.3585541-.0163228c.1936107 0 .2763648-.0693331.346974-.1354015.0673612-.0632702.0893913-.1360232.1148107-.2344264l.0601592-.3133975h-.4927118z\"\n\t\t\tfill=\"#fefefe\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-80.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g id=\"Visa\" transform=\"translate(40.000000, 0.000000)\">\n\t\t\t\t\t\t<rect\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t\tx=\"0.25\"\n\t\t\t\t\t\t\ty=\"0.25\"\n\t\t\t\t\t\t\twidth=\"23.5\"\n\t\t\t\t\t\t\theight=\"15.5\"\n\t\t\t\t\t\t\trx=\"2\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M2.78773262,5.91443732 C2.26459089,5.62750595 1.6675389,5.39673777 1,5.23659312 L1.0280005,5.1118821 L3.76497922,5.1118821 C4.13596254,5.12488556 4.43699113,5.23650585 4.53494636,5.63071135 L5.12976697,8.46659052 L5.31198338,9.32072617 L6.97796639,5.1118821 L8.77678896,5.1118821 L6.10288111,11.2775284 L4.30396552,11.2775284 L2.78773262,5.91443732 L2.78773262,5.91443732 Z M10.0999752,11.2840738 L8.39882877,11.2840738 L9.46284763,5.1118821 L11.163901,5.1118821 L10.0999752,11.2840738 Z M16.2667821,5.26277458 L16.0354292,6.59558538 L15.881566,6.53004446 C15.5737466,6.40524617 15.1674138,6.28053516 14.6143808,6.29371316 C13.942741,6.29371316 13.6415263,6.56277129 13.6345494,6.82545859 C13.6345494,7.11441463 13.998928,7.3048411 14.5939153,7.58725177 C15.5740257,8.02718756 16.0286384,8.56556562 16.0218476,9.26818871 C16.0080799,10.5486366 14.8460128,11.376058 13.0610509,11.376058 C12.2978746,11.3694253 11.5627918,11.2180965 11.163808,11.0475679 L11.4018587,9.66204513 L11.6258627,9.76066195 C12.1788958,9.99070971 12.5428092,10.0889775 13.221984,10.0889775 C13.7117601,10.0889775 14.2368857,9.89837643 14.2435835,9.48488392 C14.2435835,9.21565125 14.0198586,9.01850486 13.3617074,8.7164581 C12.717789,8.42086943 11.8568435,7.92848346 11.8707973,7.04197926 C11.8780532,5.84042483 13.0610509,5 14.7409877,5 C15.3990458,5 15.9312413,5.13788902 16.2667821,5.26277458 Z M18.5277524,9.0974856 L19.941731,9.0974856 C19.8717762,8.78889347 19.549631,7.31147374 19.549631,7.31147374 L19.4307452,6.77964104 C19.3467437,7.00942698 19.1998574,7.38373457 19.2069273,7.37055657 C19.2069273,7.37055657 18.6678479,8.74290137 18.5277524,9.0974856 Z M20.6276036,5.1118821 L22,11.2839865 L20.4249023,11.2839865 C20.4249023,11.2839865 20.2707601,10.5748181 20.221922,10.3581228 L18.0377903,10.3581228 C17.9746264,10.5221933 17.6807607,11.2839865 17.6807607,11.2839865 L15.8957988,11.2839865 L18.4226343,5.62399144 C18.5977072,5.22341512 18.9059917,5.1118821 19.3117663,5.1118821 L20.6276036,5.1118821 L20.6276036,5.1118821 Z\"\n\t\t\t\t\t\t\tid=\"Shape\"\n\t\t\t\t\t\t\tfill=\"#171E6C\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","export const DEFAULT_CVC_LENGTH = 3;\nexport const DEFAULT_ZIP_LENGTH = 5;\nexport const DEFAULT_CARD_FORMAT = /(\\d{1,4})/g;\nexport const CARD_TYPES = [\n\t{\n\t\tdisplayName: 'Visa',\n\t\ttype: 'visa',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^4/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Mastercard',\n\t\ttype: 'mastercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5[1-5]|677189)|^(222[1-9]|2[3-6]\\d{2}|27[0-1]\\d|2720)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'American Express',\n\t\ttype: 'amex',\n\t\tformat: /(\\d{1,4})(\\d{1,6})?(\\d{1,5})?/,\n\t\tstartPattern: /^3[47]/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 15 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 4,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Diners Club',\n\t\ttype: 'dinersclub',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(36|38|30[0-5])/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 14, 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Discover',\n\t\ttype: 'discover',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(6011|65|64[4-9]|622)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'JCB',\n\t\ttype: 'jcb',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^35/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'UnionPay',\n\t\ttype: 'unionpay',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^62/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVN',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Maestro',\n\t\ttype: 'maestro',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5018|5020|5038|6304|6703|6708|6759|676[1-3])/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 12, 13, 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Elo',\n\t\ttype: 'elo',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern:\n\t\t\t/^(4011(78|79)|43(1274|8935)|45(1416|7393|763(1|2))|50(4175|6699|67[0-7][0-9]|9000)|627780|63(6297|6368)|650(03([^4])|04([0-9])|05(0|1)|4(0[5-9]|3[0-9]|8[5-9]|9[0-9])|5([0-2][0-9]|3[0-8])|9([2-6][0-9]|7[0-8])|541|700|720|901)|651652|655000|655021)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVE',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Hipercard',\n\t\ttype: 'hipercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(384100|384140|384160|606282|637095|637568|60(?!11))/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Troy',\n\t\ttype: 'troy',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^9792/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n];\n\nexport const getCardTypeByValue = ( value ) =>\n\tCARD_TYPES.filter( ( cardType ) =>\n\t\tcardType.startPattern.test( value )\n\t)[ 0 ];\nexport const getCardTypeByType = ( type ) =>\n\tCARD_TYPES.filter( ( cardType ) => cardType.type === type )[ 0 ];\n","import * as cardTypes from './cardTypes';\n\nexport const formatCardNumber = ( cardNumber ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( cardNumber );\n\n\tif ( ! cardType ) return ( cardNumber.match( /\\d+/g ) || [] ).join( '' );\n\n\tconst format = cardType.format;\n\tif ( format && format.global ) {\n\t\treturn ( cardNumber.match( format ) || [] ).join( ' ' );\n\t}\n\n\tif ( format ) {\n\t\tconst execResult = format.exec( cardNumber.split( ' ' ).join( '' ) );\n\t\tif ( execResult ) {\n\t\t\treturn execResult\n\t\t\t\t.splice( 1, 3 )\n\t\t\t\t.filter( ( x ) => x )\n\t\t\t\t.join( ' ' );\n\t\t}\n\t}\n\n\treturn cardNumber;\n};\n\nexport const formatExpiry = ( event ) => {\n\tconst eventData = event.nativeEvent && event.nativeEvent.data;\n\tconst prevExpiry = event.target.value.split( ' / ' ).join( '/' );\n\n\tif ( ! prevExpiry ) return null;\n\tlet expiry = prevExpiry;\n\tif ( /^[2-9]$/.test( expiry ) ) {\n\t\texpiry = `0${ expiry }`;\n\t}\n\n\tif ( prevExpiry.length === 2 && +prevExpiry > 12 ) {\n\t\tconst [ head, ...tail ] = prevExpiry.split( '' );\n\t\texpiry = `0${ head }/${ tail.join( '' ) }`;\n\t}\n\n\tif ( /^1[/-]$/.test( expiry ) ) {\n\t\treturn `01 / `;\n\t}\n\n\texpiry = expiry.match( /(\\d{1,2})/g ) || [];\n\tif ( expiry.length === 1 ) {\n\t\tif ( ! eventData && prevExpiry.includes( '/' ) ) {\n\t\t\treturn expiry[ 0 ];\n\t\t}\n\t\tif ( /\\d{2}/.test( expiry ) ) {\n\t\t\treturn `${ expiry[ 0 ] } / `;\n\t\t}\n\t}\n\tif ( expiry.length > 2 ) {\n\t\tconst [ , month = null, year = null ] =\n\t\t\texpiry.join( '' ).match( /^(\\d{2}).*(\\d{2})$/ ) || [];\n\t\treturn [ month, year ].join( ' / ' );\n\t}\n\treturn expiry.join( ' / ' );\n};\n","import * as cardTypes from './cardTypes';\nimport * as formatter from './formatter';\nimport * as validator from './validator';\n\nexport const BACKSPACE_KEY_CODE = 'Backspace';\nexport const ENTER_KEY_CODE = 'Enter';\n\nexport const isHighlighted = () =>\n\t( window.getSelection() || { type: undefined } ).type === 'Range';\n\nexport default {\n\tcardTypes,\n\tformatter,\n\tvalidator,\n\tBACKSPACE_KEY_CODE,\n\tENTER_KEY_CODE,\n\tisHighlighted,\n};\n","import * as cardTypes from './cardTypes';\n\nconst MONTH_REGEX = /(0[1-9]|1[0-2])/;\n\nexport const EMPTY_CARD_NUMBER = 'Enter a card number';\nexport const EMPTY_EXPIRY_DATE = 'Enter an expiry date';\nexport const EMPTY_CVC = 'Enter a CVC';\nexport const EMPTY_ZIP = 'Enter a ZIP code';\nexport const EMPTY_ADDRESS = 'Enter an Address';\n\nexport const INVALID_CARD_NUMBER = 'Card number is invalid';\nexport const INVALID_EXPIRY_DATE = 'Expiry date is invalid';\nexport const INVALID_CVC = 'CVC is invalid';\nexport const INVALID_ZIP = 'Zip is invalid';\n\nexport const MONTH_OUT_OF_RANGE = 'Expiry month must be between 01 and 12';\nexport const YEAR_OUT_OF_RANGE = 'Expiry year cannot be in the past';\nexport const DATE_OUT_OF_RANGE = 'Expiry date cannot be in the past';\n\nexport const hasCardNumberReachedMaxLength = ( currentValue ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( currentValue );\n\treturn (\n\t\tcardType &&\n\t\tcurrentValue.length >= cardType.lengths[ cardType.lengths.length - 1 ]\n\t);\n};\n\nexport const isNumeric = ( e ) => {\n\treturn /^\\d*$/.test( e.key );\n};\n\nexport const validateLuhn = ( cardNumber ) => {\n\treturn (\n\t\tcardNumber\n\t\t\t.split( '' )\n\t\t\t.reverse()\n\t\t\t.map( ( digit ) => parseInt( digit, 10 ) )\n\t\t\t.map( ( digit, idx ) => ( idx % 2 ? digit * 2 : digit ) )\n\t\t\t.map( ( digit ) => ( digit > 9 ? ( digit % 10 ) + 1 : digit ) )\n\t\t\t.reduce( ( accum, digit ) => ( accum += digit ) ) %\n\t\t\t10 ===\n\t\t0\n\t);\n};\nexport const getCardNumberError = (\n\tcardNumber,\n\tcardNumberValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! cardNumber ) {\n\t\treturn errorMessages.emptyCardNumber || EMPTY_CARD_NUMBER;\n\t}\n\n\tconst rawCardNumber = cardNumber.replace( /\\s/g, '' );\n\tconst cardType = cardTypes.getCardTypeByValue( rawCardNumber );\n\tif ( cardType && cardType.lengths ) {\n\t\tconst doesCardNumberMatchLength = cardType.lengths.includes(\n\t\t\trawCardNumber.length\n\t\t);\n\t\tif ( doesCardNumberMatchLength ) {\n\t\t\tconst isLuhnValid = validateLuhn( rawCardNumber );\n\t\t\tif ( isLuhnValid ) {\n\t\t\t\tif ( cardNumberValidator ) {\n\t\t\t\t\treturn cardNumberValidator( {\n\t\t\t\t\t\tcardNumber: rawCardNumber,\n\t\t\t\t\t\tcardType,\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\treturn errorMessages.invalidCardNumber || INVALID_CARD_NUMBER;\n};\nexport const getExpiryDateError = (\n\texpiryDate,\n\texpiryValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! expiryDate ) {\n\t\treturn errorMessages.emptyExpiryDate || EMPTY_EXPIRY_DATE;\n\t}\n\tconst rawExpiryDate = expiryDate.replace( ' / ', '' ).replace( '/', '' );\n\tif ( rawExpiryDate.length === 4 ) {\n\t\tconst month = rawExpiryDate.slice( 0, 2 );\n\t\tconst year = `20${ rawExpiryDate.slice( 2, 4 ) }`;\n\t\tif ( ! MONTH_REGEX.test( month ) ) {\n\t\t\treturn errorMessages.monthOutOfRange || MONTH_OUT_OF_RANGE;\n\t\t}\n\t\tif ( parseInt( year ) < new Date().getFullYear() ) {\n\t\t\treturn errorMessages.yearOutOfRange || YEAR_OUT_OF_RANGE;\n\t\t}\n\t\tif (\n\t\t\tparseInt( year ) === new Date().getFullYear() &&\n\t\t\tparseInt( month ) < new Date().getMonth() + 1\n\t\t) {\n\t\t\treturn errorMessages.dateOutOfRange || DATE_OUT_OF_RANGE;\n\t\t}\n\t\tif ( expiryValidator ) {\n\t\t\treturn expiryValidator( {\n\t\t\t\texpiryDate: { month, year },\n\t\t\t\terrorMessages,\n\t\t\t} );\n\t\t}\n\t\treturn;\n\t}\n\treturn errorMessages.invalidExpiryDate || INVALID_EXPIRY_DATE;\n};\nexport const getCVCError = (\n\tcvc,\n\tcvcValidator,\n\t{ cardType, errorMessages = {} } = {}\n) => {\n\tif ( ! cvc ) {\n\t\treturn errorMessages.emptyCVC || EMPTY_CVC;\n\t}\n\tif ( cvc.length < 3 ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cardType && cvc.length !== cardType.code.length ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cvcValidator ) {\n\t\treturn cvcValidator( { cvc, cardType, errorMessages } );\n\t}\n\treturn;\n};\nexport const getZIPError = ( zip, { errorMessages = {} } = {} ) => {\n\tif ( ! zip ) {\n\t\treturn errorMessages.emptyZIP || EMPTY_ZIP;\n\t}\n\tif ( zip.length <= 3 ) {\n\t\treturn errorMessages.invalidAddress || INVALID_ZIP;\n\t}\n\treturn;\n};\n\nexport const getAddressError = ( address, { errorMessages = {} } = {} ) => {\n\tif ( ! address ) {\n\t\treturn errorMessages.emptyAddress || EMPTY_ADDRESS;\n\t}\n\treturn;\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n if (ret !== void 0) {\n return !!ret;\n }\n\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n // Test for A's keys different from B.\n for (var idx = 0; idx < keysA.length; idx++) {\n var key = keysA[idx];\n\n if (!bHasOwnProperty(key)) {\n return false;\n }\n\n var valueA = objA[key];\n var valueB = objB[key];\n\n ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n if (ret === false || (ret === void 0 && valueA !== valueB)) {\n return false;\n }\n }\n\n return true;\n};\n","import{__spreadArray as e,__assign as t}from\"tslib\";import n from\"@emotion/is-prop-valid\";import o,{useRef as r,useState as s,useMemo as i,useEffect as a,useContext as c,useDebugValue as l,createElement as u}from\"react\";import p from\"shallowequal\";import*as d from\"stylis\";import h from\"@emotion/unitless\";var f=\"undefined\"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||\"data-styled\",m=\"active\",y=\"data-styled-version\",v=\"6.1.13\",g=\"/*!sc*/\\n\",S=\"undefined\"!=typeof window&&\"HTMLElement\"in window,w=Boolean(\"boolean\"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&\"\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY?\"false\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&\"\"!==process.env.SC_DISABLE_SPEEDY?\"false\"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:\"production\"!==process.env.NODE_ENV),b={},E=/invalid hook call/i,N=new Set,P=function(t,n){if(\"production\"!==process.env.NODE_ENV){var o=n?' with the id of \"'.concat(n,'\"'):\"\",s=\"The component \".concat(t).concat(o,\" has been created dynamically.\\n\")+\"You may see this warning because you've called styled inside another component.\\nTo resolve this only create new StyledComponents outside of any render method and function component.\",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,e([t],n,!1))},r(),a&&!N.has(s)&&(console.warn(s),N.add(s))}catch(e){E.test(e.message)&&N.delete(s)}finally{console.error=i}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}var A=new Set([\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"bdi\",\"bdo\",\"big\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"nav\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"picture\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"track\",\"u\",\"ul\",\"use\",\"var\",\"video\",\"wbr\",\"circle\",\"clipPath\",\"defs\",\"ellipse\",\"foreignObject\",\"g\",\"image\",\"line\",\"linearGradient\",\"marker\",\"mask\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialGradient\",\"rect\",\"stop\",\"svg\",\"text\",\"tspan\"]),O=/[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,\"-\").replace(D,\"\")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n=\"\";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return(j(t%k)+n).replace(T,\"$1-$2\")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z=function(e){return M(F,e)};function $(e){return x(z(e)>>>0)}function B(e){return\"production\"!==process.env.NODE_ENV&&\"string\"==typeof e&&e||e.displayName||e.name||\"Component\"}function L(e){return\"string\"==typeof e&&(\"production\"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G=\"function\"==typeof Symbol&&Symbol.for,Y=G?Symbol.for(\"react.memo\"):60115,W=G?Symbol.for(\"react.forward_ref\"):60112,q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J=((V={})[W]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V[Y]=U,V);function X(e){return(\"type\"in(t=e)&&t.type.$$typeof)===Y?U:\"$$typeof\"in e?J[e.$$typeof]:q;var t}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if(\"string\"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n)}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l)}catch(e){}}}}return e}function re(e){return\"function\"==typeof e}function se(e){return\"object\"==typeof e&&\"styledComponentId\"in e}function ie(e,t){return e&&t?\"\".concat(e,\" \").concat(t):e||t||\"\"}function ae(e,t){if(0===e.length)return\"\";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce(e){return null!==e&&\"object\"==typeof e&&e.constructor.name===Object.name&&!(\"props\"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=!1),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=le(e[o],t[o]);return e}function ue(e,t){Object.defineProperty(e,\"toString\",{value:t})}var pe=\"production\"!==process.env.NODE_ENV?{1:\"Cannot create styled-component for component: %s.\\n\\n\",2:\"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\\n\\n- Are you trying to reuse it across renders?\\n- Are you accidentally calling collectStyles twice?\\n\\n\",3:\"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\\n\\n\",4:\"The `StyleSheetManager` expects a valid target or sheet prop!\\n\\n- Does this error occur on the client and is your target falsy?\\n- Does this error occur on the server and is the sheet falsy?\\n\\n\",5:\"The clone method cannot be used on the client!\\n\\n- Are you running in a client-like environment on the server?\\n- Are you trying to run SSR on the client?\\n\\n\",6:\"Trying to insert a new style tag, but the given Node is unmounted!\\n\\n- Are you using a custom target that isn't mounted?\\n- Does your document not have a valid head element?\\n- Have you accidentally removed a style tag manually?\\n\\n\",7:'ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\\n\\n```js\\ntheme={() => ({})}\\n```\\n\\n',8:'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',9:\"Missing document `<head>`\\n\\n\",10:\"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",11:\"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",12:\"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\\n\\n\",13:\"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\\n\",14:'ThemeProvider: \"theme\" prop is required.\\n\\n',15:\"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\\n\\n```js\\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\\n```\\n\\n\",16:\"Reached the limit of how many styled components may be created at group %s.\\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\\nas for instance in your render method then you may be running into this limitation.\\n\\n\",17:\"CSSStyleSheet could not be found on HTMLStyleElement.\\nHas styled-components' style tag been unmounted or altered by another script?\\n\",18:\"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`\"}:{};function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e)}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return\"production\"===process.env.NODE_ENV?new Error(\"An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#\".concat(t,\" for more information.\").concat(n.length>0?\" Args: \".concat(n.join(\", \")):\"\")):new Error(de.apply(void 0,e([pe[t]],n,!1)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,\"\".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t=\"\";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+=\"\".concat(this.tag.getRule(s)).concat(g);return t},e}(),me=1<<30,ye=new Map,ve=new Map,ge=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge);)ge++;var t=ge++;if(\"production\"!==process.env.NODE_ENV&&((0|t)<0||t>me))throw he(16,\"\".concat(t));return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge=t+1,ye.set(e,t),ve.set(t,e)},be=\"style[\".concat(f,\"][\").concat(y,'=\"').concat(v,'\"]'),Ee=new RegExp(\"^\".concat(f,'\\\\.g(\\\\d+)\\\\[id=\"([\\\\w\\\\d-]+)\"\\\\].*?\"([^\"]*)')),Ne=function(e,t,n){for(var o,r=n.split(\",\"),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o)},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:\"\").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function Ce(){return\"undefined\"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement(\"style\"),r=function(e){var t=Array.from(e.querySelectorAll(\"style[\".concat(f,\"]\")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y,v);var i=Ce();return i&&o.setAttribute(\"nonce\",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode(\"\")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:\"\"},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:\"\"},e}(),De=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:\"\"},e}(),Re=S,Te={isServer:!S,useCSSOMInjection:!w},ke=function(){function e(e,n,o){void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=t(t({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Re&&(Re=!1,_e(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o=\"\",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return\"continue\";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return\"continue\";var a=\"\".concat(f,\".g\").concat(n,'[id=\"').concat(r,'\"]'),c=\"\";void 0!==s&&s.forEach(function(e){e.length>0&&(c+=\"\".concat(e,\",\"))}),o+=\"\".concat(i).concat(a,'{content:\"').concat(c,'\"}').concat(g)},s=0;s<n;s++)r(s);return o}(r)})}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S&&_e(this)},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(t(t({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),je=/&/g,xe=/^\\s*\\/\\/.*$/gm;function Ve(e,t){return e.map(function(e){return\"rule\"===e.type&&(e.value=\"\".concat(t,\" \").concat(e.value),e.value=e.value.replaceAll(\",\",\",\".concat(t,\" \")),e.props=e.props.map(function(e){return\"\".concat(t,\" \").concat(e)})),Array.isArray(e.children)&&\"@keyframes\"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C:e,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,\"\").length>0?\".\".concat(t):e},u=c.slice();u.push(function(e){e.type===d.RULESET&&e.value.includes(\"&\")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l))}),i.prefix&&u.push(d.prefixer),u.push(d.stringify);var p=function(e,r,s,a){void 0===r&&(r=\"\"),void 0===s&&(s=\"\"),void 0===a&&(a=\"&\"),t=a,n=r,o=new RegExp(\"\\\\\".concat(n,\"\\\\b\"),\"g\");var c=e.replace(xe,\"\"),l=d.compile(s||r?\"\".concat(s,\" \").concat(r,\" { \").concat(c,\" }\"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return d.serialize(l,d.middleware(u.concat(d.rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():\"\",p}var Me=new ke,ze=Fe(),$e=o.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze}),Be=$e.Consumer,Le=o.createContext(void 0);function Ge(){return c($e)}function Ye(e){var t=s(e.stylisPlugins),n=t[0],r=t[1],c=Ge().styleSheet,l=i(function(){var t=c;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,c]),u=i(function(){return Fe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);a(function(){p(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var d=i(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:l,stylis:u}},[e.shouldForwardProp,l,u]);return o.createElement($e.Provider,{value:d},o.createElement(Le.Provider,{value:u},e.children))}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,\"@keyframes\"))},this.name=e,this.id=\"sc-keyframes-\".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>=\"A\"&&e<=\"Z\"};function He(e){for(var t=\"\",n=0;n<e.length;n++){var o=e[n];if(1===n&&\"-\"===o&&\"-\"===e[0])return e;qe(o)?t+=\"-\"+o.toLowerCase():t+=o}return t.startsWith(\"ms-\")?\"-\"+t:t}var Ue=function(e){return null==e||!1===e||\"\"===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push(\"\".concat(He(s),\":\"),i,\";\"):ce(i)?r.push.apply(r,e(e([\"\".concat(s,\" {\")],Je(i),!1),[\"}\"],!1)):r.push(\"\".concat(He(s),\": \").concat((n=s,null==(o=i)||\"boolean\"==typeof o||\"\"===o?\"\":\"number\"!=typeof o||0===o||n in h||n.startsWith(\"--\")?String(o).trim():\"\".concat(o,\"px\")),\";\")))}return r};function Xe(e,t,n,o){if(Ue(e))return[];if(se(e))return[\".\".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var r=e(t);return\"production\"===process.env.NODE_ENV||\"object\"!=typeof r||Array.isArray(r)||r instanceof We||ce(r)||null===r||console.error(\"\".concat(B(e),\" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\")),Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return!1}return!0}var Ke=z(v),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId=\"\",this.isStatic=\"production\"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M(Ke,t),this.baseStyle=n,ke.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):\"\";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else{var r=ae(Xe(this.rules,e,t,n)),s=x(M(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,\".\".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}o=ie(o,s),this.staticRulesId=s}else{for(var a=M(this.baseHash,n.hash),c=\"\",l=0;l<this.rules.length;l++){var u=this.rules[l];if(\"string\"==typeof u)c+=u,\"production\"!==process.env.NODE_ENV&&(a=M(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=M(a,p+l),c+=p}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,\".\".concat(d),void 0,this.componentId)),o=ie(o,d)}}return o},e}(),et=o.createContext(void 0),tt=et.Consumer;function nt(){var e=c(et);if(!e)throw he(18);return e}function ot(e){var n=o.useContext(et),r=i(function(){return function(e,n){if(!e)throw he(14);if(re(e)){var o=e(n);if(\"production\"!==process.env.NODE_ENV&&(null===o||Array.isArray(o)||\"object\"!=typeof o))throw he(7);return o}if(Array.isArray(e)||\"object\"!=typeof e)throw he(8);return n?t(t({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?o.createElement(et.Provider,{value:r},e.children):null}var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n=\"string\"!=typeof e?\"sc\":R(e);rt[n]=(rt[n]||0)+1;var o=\"\".concat(n,\"-\").concat($(v+n+rt[n]));return t?\"\".concat(t,\"-\").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?\"styled.\".concat(e):\"Styled(\".concat(B(e),\")\")}(e):m,g=r.displayName&&r.componentId?\"\".concat(R(r.displayName),\"-\").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)}}else w=b}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(et),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;\"production\"!==process.env.NODE_ENV&&l(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=t(t({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]=\"className\"===c?ie(s[c],a[c]):\"style\"===c?t(t({},s[c]),a[c]):a[c]}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||\"$\"===b[0]||\"as\"===b||\"theme\"===b&&g.theme===v||(\"forwardedAs\"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||\"development\"!==process.env.NODE_ENV||n(b)||st.has(b)||!A.has(S)||(st.add(b),console.warn('styled-components: it looks like an unknown prop \"'.concat(b,'\" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return\"production\"!==process.env.NODE_ENV&&l(o),o}(a,g);\"production\"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=\" \"+E),g.className&&(N+=\" \"+g.className),w[L(S)&&!A.has(S)?\"class\":\"className\"]=N,w.ref=s,u(S,w)}(D,e,r)}O.displayName=y;var D=o.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):\"\",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,\"defaultProps\",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],!0);return e}({},a.defaultProps,e):e}}),\"production\"!==process.env.NODE_ENV&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var s=t?' with the id of \"'.concat(t,'\"'):\"\";console.warn(\"Over \".concat(200,\" classes were generated for component \").concat(e).concat(s,\".\\n\")+\"Consider using the attrs method, together with a style object for frequently changed styles.\\nExample:\\n const Component = styled.div.attrs(props => ({\\n style: {\\n background: props.background,\\n },\\n }))`width: 100%;`\\n\\n <Component />\"),o=!0,n={}}}}(y,g)),ue(D,function(){return\".\".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct=function(e){return Object.assign(e,{isCss:!0})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(_,e([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&\"string\"==typeof r[0]?Xe(r):ct(Xe(at(r,n)))}function ut(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt.apply(void 0,e([t],s,!1)))};return s.attrs=function(e){return ut(n,o,t(t({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut(n,o,t(t({},r),e))},s}var pt=function(e){return ut(it,e)},dt=pt;A.forEach(function(e){dt[e]=pt(e)});var ht=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae(Xe(this.rules,t,n,o)),\"\"),s=this.componentId+e;n.insertRules(s,s,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function ft(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt.apply(void 0,e([n],r,!1)),a=\"sc-global-\".concat($(JSON.stringify(i))),c=new ht(i,a);\"production\"!==process.env.NODE_ENV&&P(a);var l=function(e){var t=Ge(),n=o.useContext(et),r=o.useRef(t.styleSheet.allocateGSInstance(a)).current;return\"production\"!==process.env.NODE_ENV&&o.Children.count(e.children)&&console.warn(\"The global style component \".concat(a,\" was given child JSX. createGlobalStyle does not render children.\")),\"production\"!==process.env.NODE_ENV&&i.some(function(e){return\"string\"==typeof e&&-1!==e.indexOf(\"@import\")})&&console.warn(\"Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app.\"),t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b,o,s);else{var i=t(t({},n),{theme:I(n,r,l.defaultProps)});c.renderStyles(e,i,o,s)}}return o.memo(l)}function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.\");var r=ae(lt.apply(void 0,e([t],n,!1))),s=$(r);return new We(s,r)}function yt(e){var n=o.forwardRef(function(n,r){var s=I(n,o.useContext(et),e.defaultProps);return\"production\"!==process.env.NODE_ENV&&void 0===s&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class \"'.concat(B(e),'\"')),o.createElement(e,t({},n,{theme:s,ref:r}))});return n.displayName=\"WithTheme(\".concat(B(e),\")\"),oe(n,e)}var vt=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return\"\";var n=Ce(),o=ae([n&&'nonce=\"'.concat(n,'\"'),\"\".concat(f,'=\"true\"'),\"\".concat(y,'=\"').concat(v,'\"')].filter(Boolean),\" \");return\"<style \".concat(o,\">\").concat(t,\"</style>\")},this.getStyleTags=function(){if(e.sealed)throw he(2);return e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)throw he(2);var r=e.instance.toString();if(!r)return[];var s=((n={})[f]=\"\",n[y]=v,n.dangerouslySetInnerHTML={__html:r},n),i=Ce();return i&&(s.nonce=i),[o.createElement(\"style\",t({},s,{key:\"sc-0-0\"}))]},this.seal=function(){e.sealed=!0},this.instance=new ke({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw he(2);return o.createElement(Ye,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw he(3)},e}(),gt={StyleSheet:ke,mainSheet:Me};\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"It looks like you've imported 'styled-components' on React Native.\\nPerhaps you're looking to import 'styled-components/native'?\\nRead more about this at https://www.styled-components.com/docs/basics#react-native\");var St=\"__sc-\".concat(f,\"__\");\"production\"!==process.env.NODE_ENV&&\"test\"!==process.env.NODE_ENV&&\"undefined\"!=typeof window&&(window[St]||(window[St]=0),1===window[St]&&console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\\n\\nSee https://s-c.sh/2BAXzed for more info.\"),window[St]+=1);export{vt as ServerStyleSheet,Be as StyleSheetConsumer,$e as StyleSheetContext,Ye as StyleSheetManager,tt as ThemeConsumer,et as ThemeContext,ot as ThemeProvider,gt as __PRIVATE__,ft as createGlobalStyle,lt as css,dt as default,se as isStyledComponent,mt as keyframes,dt as styled,nt as useTheme,v as version,yt as withTheme};\n//# sourceMappingURL=styled-components.browser.esm.js.map\n","module.exports = window[\"React\"];","module.exports = window[\"wc\"][\"blocksCheckout\"];","module.exports = window[\"wc\"][\"blocksComponents\"];","module.exports = window[\"wc\"][\"wcBlocksData\"];","module.exports = window[\"wc\"][\"wcBlocksRegistry\"];","module.exports = window[\"wc\"][\"wcSettings\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"htmlEntities\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"primitives\"];","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\nexport var SCOPE = '@scope'\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","import { useEffect, useState } from 'react';\nimport { sprintf, __ } from '@wordpress/i18n';\nimport { registerPaymentMethod } from '@woocommerce/blocks-registry';\nimport { decodeEntities } from '@wordpress/html-entities';\nimport { getSetting } from '@woocommerce/settings';\nimport { usePaymentInputs } from './hooks';\nimport { PaymentInputsWrapper, TermsCheckbox, AchForm, GiftForm } from './components';\nimport images from './images';\nimport { PAYMENT_STORE_KEY } from '@woocommerce/block-data';\nimport { subscribe, select, dispatch, use } from '@wordpress/data';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\nimport styled from 'styled-components';\n\nconst settings = getSetting( 'wc_valorpay_data', {} );\nif ( settings && ! settings.is_not_blocked ) {\n\tdispatch( 'core/notices' ).createErrorNotice(\n\t\t__(\n\t\t\t'Valor Pay is disabled due to multiple payment failures.',\n\t\t\t'wc-valorpay'\n\t\t),\n\t\t{\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t}\n\t);\n}\nif ( settings && settings.card_type_allowed ) {\n\tlet noticeMsg = null;\n\tif ( 'debit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only debit card allowed', 'wc-valorpay' );\n\t}\n\tif ( 'credit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only credit card allowed', 'wc-valorpay' );\n\t}\n\tif ( noticeMsg ) {\n\t\tdispatch( 'core/notices' ).createInfoNotice( noticeMsg, {\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t} );\n\t}\n}\nsubscribe( function () {\n\tconst paymentMethodState = select( PAYMENT_STORE_KEY );\n\tconst chosenPaymentMethod = paymentMethodState.getActivePaymentMethod();\n\tconst savedPaymentMethods = paymentMethodState.getSavedPaymentMethods();\n\tconst selectedPaymentTokenId = +paymentMethodState.getActiveSavedToken();\n\tlet selectedCardType = '';\n\tif ( selectedPaymentTokenId ) {\n\t\tconst foundMethod = savedPaymentMethods.cc.find(\n\t\t\t( method ) =>\n\t\t\t\tmethod.tokenId === selectedPaymentTokenId &&\n\t\t\t\tmethod.method.gateway === 'wc_valorpay'\n\t\t);\n\t\tif ( foundMethod ) {\n\t\t\tselectedCardType = foundMethod.method.card_type;\n\t\t}\n\t}\n\n\textensionCartUpdate( {\n\t\tnamespace: 'wc-valorpay-fee-update',\n\t\tdata: {\n\t\t\taction_type: 'update_payment',\n\t\t\tpayment_method: chosenPaymentMethod,\n\t\t\tcard_type: selectedCardType,\n\t\t},\n\t} );\n}, PAYMENT_STORE_KEY );\n\nconst defaultLabel = __( 'Valor Pay', 'wc-valorpay' );\n\nconst label = decodeEntities( settings.title ) || defaultLabel;\n\n// Tab Button Styled Component\nconst TabButton = styled.button`\n \tflex: 1; // Ensures buttons take equal width\n\tpadding: 20px;\n\tbackground-color: transparent; // Ensure button background doesn't change\n\tcolor: inherit; // Use text color from the theme\n\tborder: none;\n\tcursor: pointer;\n\ttext-align: center;\n\tborder-bottom: ${props => (props.active ? '2px solid' : 'none')};\n \tborder-color: ${props => (props.active ? '#007BFF' : 'transparent')}; // Use theme-based color or default\n\t&:hover {\n\t\topacity: 0.8;\n\t}\n`;\n\n// Tab Container Styled Component\nconst TabContainer = styled.div`\n\tdisplay: flex;\n\twidth: 100%;\n\tpadding: 10px;\n`;\n\n// Tab Content Styled Component\nconst TabContent = styled.div`\n\tbackground-color: #f9f9f9;\n\tborder: 1px solid #ccc;\n\tborder-radius: 5px;\n\tmargin-top: 10px;\n\tpadding: 20px;\n`;\n\nconst Tabs = (props) => {\n\tconst [activeTab, setActiveTab] = useState(0);\n\n\tlet tabTitles = [ __('Card','wc-valorpay') ];\n\tlet tabContents = [ <CardForm {...props}/> ];\n\n\tif ( settings.is_ach_enable ) {\n\t\ttabTitles.push(__('ACH','wc-valorpay'));\n\t\ttabContents.push(<AchForm {...props}/>);\n\t}\n\tif ( settings.is_gift_card_enable ) {\n\t\ttabTitles.push(__('Gift Card','wc-valorpay'));\n\t\ttabContents.push(<GiftForm {...props}/>);\n\t}\n\n\treturn (\n\t<>\n\t\t<TabContainer>\n\t\t\t{tabTitles.map((title, index) => (\n\t\t\t\t<TabButton\n\t\t\t\t\tkey={index}\n\t\t\t\t\tactive={activeTab === index}\n\t\t\t\t\tonClick={() => setActiveTab(index)}\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t>\n\t\t\t\t\t{title}\n\t\t\t\t</TabButton>\n\t\t\t))}\n\t\t</TabContainer>\n\t\t<TabContent>\n\t\t\t{tabContents[activeTab]}\n\t\t</TabContent>\n\t</>\n\t);\n};\n\n/**\n * Content component\n */\nconst CardForm = ( props ) => {\n\tconst [ isFetchingCardType, setIsFetchingCardType ] = useState( false );\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [ 'cardNumber', 'expiryDate', 'cvc' ];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tif ( settings.is_enable_l2_l3 ) {\n\tpaymentFields.push( 'poNumber' );\n\t}\n\tconst {\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetCardImageProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\tgetPONumberProps, \n\t\twrapperProps,\n\t\tmeta: {\n\t\t\terroredInputs,\n\t\t\tisTouched,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t\tpoNumberField, \n\t\t},\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tsetIsFetchingCardType,\n\t\tpaymentFields: paymentFields,\n\t\tpaymentFields: paymentFields.concat(['poNumber']),\n\t} );\n\tconst {\n\t\tcomponents: { LoadingMask },\n\t\teventRegistration,\n\t\temitResponse,\n\t\tpaymentStatus,\n\t} = props;\n\tconst [ isTermsChecked, setIsTermsChecked ] = useState( true );\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst handleCheckboxChange = () => {\n\t\tsetIsTermsChecked((prev) => !prev);\n\t};\n\tuseEffect(() => {\n\t\textensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } );\n\t}, []);\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc_valorpay-card-number': cardNumberField.current.value,\n\t\t\t\t\t'wc_valorpay-card-expiry': expiryDateField.current.value,\n\t\t\t\t\t'wc_valorpay-card-cvc': cvcField.current.value,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif ( settings.is_enable_l2_l3 ) {\n\t\t\t\t\tpaymentMethodData.valorpay_po_number = poNumberField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\tonCheckoutAfterProcessingWithError,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.is_sandbox_mode && (\n\t\t\t\t<p>\n\t\t\t\t\t{ __(\n\t\t\t\t\t\t'TEST MODE ENABLED. Use test card number 4111111111111111 with 999 as CVC and a future expiration date.',\n\t\t\t\t\t\t'wc-valorpay'\n\t\t\t\t\t) }\n\t\t\t\t</p>\n\t\t\t) }\n\t\t\t<LoadingMask\n\t\t\t\tshowSpinner={ isFetchingCardType }\n\t\t\t\tisLoading={ isFetchingCardType }\n\t\t\t\tscreenReaderLabel={ __(\n\t\t\t\t\t'Fetching Card Type...',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t) }\n\t\t\t>\n\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t>\n\t\t\t\t\t<svg { ...getCardImageProps( { images } ) } />\n\t\t\t\t\t<input { ...getCardNumberProps() } />\n\t\t\t\t\t<input { ...getExpiryDateProps() } />\n\t\t\t\t\t<input { ...getCVCProps() } />\n\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t) }\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t) }\n\t\t\t\t\t{ settings.is_enable_l2_l3 && ( \n\t\t\t\t\t<input { ...getPONumberProps() } />\n\t\t\t\t\t) }\n\t\t\t\t</PaymentInputsWrapper>\n\t\t\t</LoadingMask>\n\t\t\t{settings.is_terms_conditions_enable && <TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-new-card\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ handleCheckboxChange }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>}\n\t\t</>\n\t);\n};\n\nconst SavedToken = ( props ) => {\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tif ( settings.is_enable_l2_l3 ) {\n\t\tpaymentFields.push( 'poNumber' );\n\t}\n\tconst {\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\tgetPONumberProps,\n\t\twrapperProps,\n\t\tmeta: { erroredInputs, zipField, addressField, poNumberField },\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst { eventRegistration, emitResponse, paymentStatus, token } = props;\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst [ isTermsChecked, setIsTermsChecked ] = useState( true );\n\tconst handleCheckboxChange = () => {\n\t\tsetIsTermsChecked((prev) => !prev);\n\t};\n\tuseEffect(() => {\n\t\textensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } );\n\t}, []);\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc-wc_valorpay-payment-token': token,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\tif ( settings.is_enable_l2_l3 ) {\n\t\t\t\t\tpaymentMethodData.valorpay_po_number = poNumberField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\ttoken,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.avs_type !== 'none' && (\n\t\t\t\t<>\n\t\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t{ settings.is_enable_l2_l3 && (\n\t\t\t\t\t\t<input {...getPONumberProps()} />\n\t\t\t\t\t)}\n\t\t\t\t\t</PaymentInputsWrapper>\n\t\t\t\t</>\n\t\t\t) }\n\t\t\t{settings.is_terms_conditions_enable && <TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-saved-token\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ handleCheckboxChange }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>}\n\t\t</>\n\t);\n};\n\n/**\n * Label component\n *\n * @param {*} props Props from payment API.\n */\nconst Label = ( props ) => {\n\tconst { PaymentMethodLabel, PaymentMethodIcons } = props.components;\n\treturn (\n\t\t<>\n\t\t\t<PaymentMethodLabel text={ label } />\n\t\t\t<PaymentMethodIcons icons={ settings.card_types } align=\"right\" />\n\t\t</>\n\t);\n};\n\nconst Content = (props ) => {\n\tif ( !settings.is_ach_enable && !settings.is_gift_card_enable ) {\n\t\treturn <CardForm {...props} />\n\t}\n\treturn <Tabs {...props} />\n}\n\n/**\n * ValorPay payment method config object.\n */\nconst ValorPay = {\n\tname: 'wc_valorpay',\n\tlabel: <Label />,\n\tgatewayId: 'wc_valorpay',\n\tcontent: <Content />,\n\tedit: <Content />,\n\tcanMakePayment: () => settings.is_not_blocked,\n\tsavedTokenComponent: <SavedToken />,\n\tariaLabel: label,\n\tsupports: {\n\t\tfeatures: settings.supports,\n\t\tshowSaveOption: settings.is_save_to_account_enable,\n\t},\n};\n\nregisterPaymentMethod( ValorPay );"],"names":["useEffect","useState","TextInput","__","styled","extensionCartUpdate","Select","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","AchGroup","div","AchForm","props","eventRegistration","emitResponse","paymentStatus","onPaymentSetup","onCheckoutAfterProcessingWithError","accountNumber","setAccountNumber","accountNumberError","setAccountNumberError","routingNumber","setRoutingNumber","routingNumberError","setRoutingNumberError","nameOnAccount","setNameOnAccount","nameOnAccountError","setNameOnAccountError","accountType","setAccountType","entryClass","setEntryClass","txnType","setTxnType","phoneNumber","setPhoneNumber","phoneNumberError","setPhoneNumberError","email","setEmail","emailError","setEmailError","elements","document","querySelectorAll","filteredElements","Array","from","filter","element","index","array","parentElement","length","style","display","namespace","data","action_type","payment_type","unsubscribe","isInValidForm","type","responseTypes","ERROR","message","SUCCESS","meta","paymentMethodData","wc_valorpay_ach_sale","wc_valorpay_account_number","wc_valorpay_routing_number","wc_valorpay_name_on_account","wc_valorpay_account_type","wc_valorpay_entry_class","wc_valorpay_card_type","wc_valorpay_phone","replace","wc_valorpay_email","unsubscribeErrorMsg","processingResponse","paymentDetails","errorMessage","messageContext","noticeContexts","PAYMENTS","handleAccountNumberChange","value","test","handleAccountNumberBlur","event","handleRoutingNumberChange","handleRoutingNumberBlur","handleNameOnAccountChange","handleNameOnAccountBlur","handlePhoneNumberChange","numericValue","formattedValue","previousVal","slice","handlePhoneNumberBlur","formattedPhoneNumber","handleEmailChange","handleEmailBlur","emailRegex","handleAccountTypeChange","target","handleEntryClassChange","handleTxnTypeChange","children","id","label","feedback","className","required","onChange","onBlur","options","selectOnChange","GiftForm","cardNumber","setCardNumber","pinNumber","setPinNumber","giftCardNumberError","setGiftCardNumberError","wc_valorpay_gift_sale","wc_valorpay_gift_card_no","replaceAll","wc_valorpay_gift_card_pin","handleGiftCardNumberChange","newCardNumber","counter","n","handleGiftCardNumberBlur","handleGiftPinChange","usePaymentInputs","PaymentInputsContainer","paymentInputs","React","css","FieldWrapper","withConfig","shouldForwardProp","prop","includes","hasErrored","styles","fieldWrapper","errored","undefined","base","InputWrapper","inputWrapper","focused","input","cardImage","ErrorText","errorText","PaymentInputsWrapper","error","errorTextProps","inputWrapperProps","isTouched","isInitPay","restProps","useId","Icon","chevronDown","restOfProps","generatedId","inputId","htmlFor","size","map","option","disabled","icon","TermsCheckbox","checked","xmlns","viewBox","d","class","default","utils","autoFocus","errorMessages","onError","onTouch","cardNumberValidator","cvcValidator","expiryValidator","avsType","setIsFetchingCardType","paymentFields","cardNumberField","useRef","expiryDateField","cvcField","zipField","addressField","poNumberField","touchedInputs","setTouchedInputs","reduce","acc","field","setIsTouched","erroredInputs","setErroredInputs","setError","cardType","setCardType","setFocused","setInputError","useCallback","newError","newErroredInputs","Object","values","find","Boolean","setInputTouched","requestAnimationFrame","activeElement","tagName","newTouchedInputs","handleBlurCardNumber","e","handleChangeCardNumber","formattedCardNumber","cursorPosition","current","selectionStart","cardTypes","getCardTypeByValue","formatter","formatCardNumber","setSelectionRange","cardNumberError","validator","getCardNumberError","focus","bin","then","handleFocusCardNumber","onFocus","handleKeyPressCardNumber","onKeyPress","key","ENTER_KEY_CODE","isNumeric","preventDefault","hasCardNumberReachedMaxLength","getCardNumberProps","refKey","autoComplete","name","placeholder","handleBlurExpiryDate","handleChangeExpiryDate","formatExpiry","expiryDateError","getExpiryDateError","handleFocusExpiryDate","handleKeyDownExpiryDate","onKeyDown","BACKSPACE_KEY_CODE","handleKeyPressExpiryDate","formattedExpiryDate","expiryDate","getExpiryDateProps","handleBlurCVC","handleChangeCVC","cvc","cvcError","getCVCError","handleFocusCVC","handleKeyDownCVC","handleKeyPressCVC","formattedCVC","code","getCVCProps","handleBlurZIP","handleChangeZIP","zip","zipError","getZIPError","handleFocusZIP","handleKeyDownZIP","handleKeyPressZIP","getZIPProps","maxLength","handleBlurAddress","handleChangeAddress","streetaddress","addressError","getAddressError","handleFocusAddress","handleKeyDownAddress","getStreetAddressProps","handleBlurPONumber","handleChangePONumber","poError","poNumber","handleFocusPONumber","getPONumberProps","getCardImageProps","images","displayName","width","height","useLayoutEffect","wrapperProps","fill","fillRule","rx","stroke","strokeWidth","transform","strokeOpacity","x","y","amex","dinersclub","discover","hipercard","jcb","unionpay","mastercard","visa","troy","cx","cy","r","DEFAULT_CVC_LENGTH","DEFAULT_ZIP_LENGTH","DEFAULT_CARD_FORMAT","CARD_TYPES","format","startPattern","gaps","lengths","getCardTypeByType","match","join","global","execResult","exec","split","splice","eventData","nativeEvent","prevExpiry","expiry","head","tail","month","year","isHighlighted","window","getSelection","MONTH_REGEX","EMPTY_CARD_NUMBER","EMPTY_EXPIRY_DATE","EMPTY_CVC","EMPTY_ZIP","EMPTY_ADDRESS","INVALID_CARD_NUMBER","INVALID_EXPIRY_DATE","INVALID_CVC","INVALID_ZIP","MONTH_OUT_OF_RANGE","YEAR_OUT_OF_RANGE","DATE_OUT_OF_RANGE","currentValue","validateLuhn","reverse","digit","parseInt","idx","accum","emptyCardNumber","rawCardNumber","doesCardNumberMatchLength","isLuhnValid","invalidCardNumber","emptyExpiryDate","rawExpiryDate","monthOutOfRange","Date","getFullYear","yearOutOfRange","getMonth","dateOutOfRange","invalidExpiryDate","emptyCVC","invalidCVC","emptyZIP","invalidAddress","address","emptyAddress","sprintf","registerPaymentMethod","decodeEntities","getSetting","PAYMENT_STORE_KEY","subscribe","select","dispatch","use","settings","is_not_blocked","createErrorNotice","context","card_type_allowed","noticeMsg","createInfoNotice","paymentMethodState","chosenPaymentMethod","getActivePaymentMethod","savedPaymentMethods","getSavedPaymentMethods","selectedPaymentTokenId","getActiveSavedToken","selectedCardType","foundMethod","cc","method","tokenId","gateway","card_type","payment_method","defaultLabel","title","TabButton","button","active","TabContainer","TabContent","Tabs","activeTab","setActiveTab","tabTitles","tabContents","CardForm","is_ach_enable","push","is_gift_card_enable","onClick","isFetchingCardType","setIsInitPay","avs_type","is_enable_l2_l3","concat","components","LoadingMask","isTermsChecked","setIsTermsChecked","handleCheckboxChange","prev","isValid","errorInput","valorpay_avs_type","valorpay_terms","valorpay_avs_zip","valorpay_po_number","valorpay_avs_street","is_sandbox_mode","showSpinner","isLoading","screenReaderLabel","is_terms_conditions_enable","dangerouslySetInnerHTML","__html","terms_label","SavedToken","token","Label","PaymentMethodLabel","PaymentMethodIcons","text","icons","card_types","align","Content","ValorPay","gatewayId","content","edit","canMakePayment","savedTokenComponent","ariaLabel","supports","features","showSaveOption","is_save_to_account_enable"],"sourceRoot":""} -
valorpos/tags/8.2.4/wc-valorpay.php
r3325387 r3369470 16 16 * Plugin URI: https://valorpaytech.com 17 17 * Description: Adds the Valor Payment Gateway to WooCommerce. 18 * Version: 8.2. 318 * Version: 8.2.4 19 19 * Author: Valor Paytech LLC 20 20 * Author URI: https://valorpaytech.com … … 37 37 * Rename this for your plugin and update it as you release new versions. 38 38 */ 39 define( 'WC_VALORPAY_VERSION', '8.2. 3' );39 define( 'WC_VALORPAY_VERSION', '8.2.4' ); 40 40 // Directory i.e. /home/user/public_html... 41 41 define( 'WC_VALORPAY_DIR', plugin_dir_path( __FILE__ ) ); -
valorpos/trunk/README.txt
r3325387 r3369470 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.0 7 Stable tag: 8.2. 37 Stable tag: 8.2.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 43 43 44 44 == Changelog == 45 = 8.2.4 = 46 * Added PO Number for L2 Authorization. 47 45 48 = 8.2.3 = 46 49 * Remove port number from staging URL. -
valorpos/trunk/includes/class-wc-valorpay-api.php
r3325387 r3369470 443 443 $valorpay_avs_street = ( isset( $_POST['valorpay_avs_street'] ) && $_POST['valorpay_avs_street'] ) ? sanitize_text_field( wp_unslash( $_POST['valorpay_avs_street'] ) ) : wc_clean( $billing_address ); // phpcs:ignore 444 444 $valorpay_terms = ( isset( $_POST['valorpay_terms'] ) && $_POST['valorpay_terms'] ) ? 1 : 0; // phpcs:ignore 445 $valorpay_po_number = ( isset( $_POST['valorpay_po_number'] ) && $_POST['valorpay_po_number'] ) ? sanitize_text_field( wp_unslash( $_POST['valorpay_po_number'] ) ) : ''; // phpcs:ignore 445 446 446 447 $card_number = str_replace( ' ', '', ( isset( $_POST['wc_valorpay-card-number'] ) ) ? sanitize_text_field( wp_unslash( $_POST['wc_valorpay-card-number'] ) ) : '' ); // phpcs:ignore … … 466 467 'terms_checked' => $valorpay_terms, 467 468 'ecomm_channel' => self::WC_VALORPAY_ECOMM_CHANNEL, 469 'po_number' => $valorpay_po_number, 468 470 ) + $surcharge_data; 469 471 … … 525 527 } 526 528 } 527 // Add QB sync data. 529 530 if ( 'yes' === $this->gateway->enable_l2_l3 && ! empty( $valorpay_po_number ) ) { 531 $data['po_number'] = $valorpay_po_number; 532 } 533 // Add QB sync data. 528 534 if ( 'yes' === $this->gateway->enable_qb_sync ) { 529 535 $data['is_sync_qb'] = 1; -
valorpos/trunk/includes/class-wc-valorpay-gateway-addons-blocks-support.php
r3284557 r3369470 114 114 'is_ach_enable' => $this->get_setting( 'enable_ach' ) === 'yes', 115 115 'is_gift_card_enable' => $this->get_setting( 'enable_gift_support' ) === 'yes', 116 'is_enable_l2_l3' => $this->get_setting( 'enable_l2_l3' ) === 'yes', 116 117 ); 117 118 } -
valorpos/trunk/includes/class-wc-valorpay-gateway.php
r3304689 r3369470 1178 1178 // Call the sale or authorization API. 1179 1179 $response = $valorpay_api->purchase( $order, $amount, $card, $token_id ); 1180 if ( isset( $_POST['valorpay_po_number_nonce'] ) 1181 && wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['valorpay_po_number_nonce'] ) ), 'valorpay_po_number_action' ) ) { 1182 1183 $po_number = isset( $_POST['valorpay_po_number'] ) 1184 ? sanitize_text_field( wp_unslash( $_POST['valorpay_po_number'] ) ) 1185 : ''; 1186 } else { 1187 // Nonce check failed — handle as needed (maybe exit or ignore). 1188 $po_number = isset( $_POST['valorpay_po_number'] ) 1189 ? sanitize_text_field( wp_unslash( $_POST['valorpay_po_number'] ) ) 1190 : ''; 1191 } 1180 1192 if ( isset( $response->error_no ) && 'S00' === $response->error_no ) { 1181 1193 $trans_id = $response->txnid; … … 1184 1196 $amount_approved = number_format( $amount, '2', '.', '' ); 1185 1197 $message = 'auth' === $this->payment_action ? 'authorized' : 'completed'; 1186 $order->add_order_note( 1187 sprintf( 1188 /* translators: 1: Error Message, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number. */ 1189 __( 'Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s', 'wc-valorpay' ), 1190 $message, 1191 $amount_approved, 1192 "\n\n", 1193 $response->approval_code, 1194 "\n\n", 1195 $response->rrn 1196 ) 1197 ); 1198 $enable_l2_l3 = $this->get_option( 'enable_l2_l3', 'no' ); 1199 if ( 'yes' === $enable_l2_l3 ) { 1200 // With PO Number. 1201 $order->add_order_note( 1202 sprintf( 1203 /* translators: 1: Status, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number, 7: Line Break, 8: PO Number. */ 1204 __( 'Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s.%7$s <strong>PO Number:</strong> %8$s', 'wc-valorpay' ), 1205 $message, 1206 $amount_approved, 1207 "\n\n", 1208 $response->approval_code, 1209 "\n\n", 1210 $response->rrn, 1211 "\n\n", 1212 $po_number ? $po_number : __( 'N/A', 'wc-valorpay' ) 1213 ) 1214 ); 1215 } else { 1216 // Without PO Number. 1217 $order->add_order_note( 1218 sprintf( 1219 /* translators: 1: Status, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number. */ 1220 __( 'Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s', 'wc-valorpay' ), 1221 $message, 1222 $amount_approved, 1223 "\n\n", 1224 $response->approval_code, 1225 "\n\n", 1226 $response->rrn 1227 ) 1228 ); 1229 } 1198 1230 // Save the card if possible . 1199 1231 if ( is_user_logged_in() && isset( $_POST['wc-wc_valorpay-new-payment-method'] ) && sanitize_text_field( wp_unslash( $_POST['wc-wc_valorpay-new-payment-method'] ) ) && isset( $_POST['wc_valorpay-card-expiry'] ) && sanitize_text_field( wp_unslash( $_POST['wc_valorpay-card-expiry'] ) ) ) { // phpcs:ignore … … 1216 1248 'rrn' => $response->rrn, 1217 1249 'approval_code' => $response->approval_code, 1250 'po_number' => $po_number, 1218 1251 ); 1219 1252 $order->add_meta_data( '_valorpay_transaction', $tran_meta ); -
valorpos/trunk/languages/wc-valorpay.pot
r3325387 r3369470 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Valor Pay 8.2. 3\n"5 "Project-Id-Version: Valor Pay 8.2.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/valorpos\n" 7 7 "Last-Translator: Valor Paytech LLC <isvsupport@valorpaytech.com>\n" … … 11 11 "Content-Transfer-Encoding: 8bit\n" 12 12 "POT-Creation-Date: 2024-11-05T11:19:31+05:30\n" 13 "PO-Revision-Date: 2025-0 7-08T06:56:49+00:00\n"14 "X-Generator: WP-CLI 2. 7.1\n"13 "PO-Revision-Date: 2025-09-29T11:25:07+05:30\n" 14 "X-Generator: WP-CLI 2.12.0\n" 15 15 "X-Domain: wc-valorpay\n" 16 16 17 17 #. Plugin Name of the plugin 18 #: wc-valorpay.php 18 19 #: includes/class-wc-valorpay-gateway.php:730 19 #: public/js/build/wc-valorpay.js:58 0720 #: public/js/build/wc-valorpay.js:5 16020 #: public/js/build/wc-valorpay.js:5864 21 #: public/js/build/wc-valorpay.js:5230 21 22 msgid "Valor Pay" 22 23 msgstr "" … … 24 25 #. Plugin URI of the plugin 25 26 #. Author URI of the plugin 27 #: wc-valorpay.php 26 28 msgid "https://valorpaytech.com" 27 29 msgstr "" 28 30 29 31 #. Description of the plugin 32 #: wc-valorpay.php 30 33 msgid "Adds the Valor Payment Gateway to WooCommerce." 31 34 msgstr "" 32 35 33 36 #. Author of the plugin 37 #: wc-valorpay.php 34 38 msgid "Valor Paytech LLC" 35 39 msgstr "" … … 64 68 #. translators: 1: Email Address, 2: Mobile Number 65 69 #: admin/class-wc-valorpay-admin.php:266 70 #, php-format 66 71 msgid "OTP sent to your registered Email Address %1$s and Mobile Number %2$s" 67 72 msgstr "" … … 140 145 #: includes/class-wc-valorpay-api.php:364 141 146 #: includes/class-wc-valorpay-api.php:371 142 #: includes/class-wc-valorpay-api.php:821 143 #: includes/class-wc-valorpay-api.php:831 144 #: includes/class-wc-valorpay-api.php:859 147 #: includes/class-wc-valorpay-api.php:827 148 #: includes/class-wc-valorpay-api.php:837 145 149 #: includes/class-wc-valorpay-api.php:865 150 #: includes/class-wc-valorpay-api.php:871 146 151 msgid "Sorry, we're unable to create a card token right now." 147 152 msgstr "" … … 152 157 msgstr "" 153 158 154 #: includes/class-wc-valorpay-api.php:7 55155 #: includes/class-wc-valorpay-api.php:76 0156 #: includes/class-wc-valorpay-api.php:7 68157 #: includes/class-wc-valorpay-api.php:77 2158 #: includes/class-wc-valorpay-api.php:10 15159 #: includes/class-wc-valorpay-api.php:761 160 #: includes/class-wc-valorpay-api.php:766 161 #: includes/class-wc-valorpay-api.php:774 162 #: includes/class-wc-valorpay-api.php:778 163 #: includes/class-wc-valorpay-api.php:1021 159 164 msgid "There was a problem connecting to the payment gateway." 160 165 msgstr "" … … 163 168 #: includes/class-wc-valorpay-gateway-addons-blocks-support.php:90 164 169 #: includes/class-wc-valorpay-gateway.php:646 170 #, php-format 165 171 msgid "I agree to the <a href=\"%s\" target=\"_blank\">Terms and Conditions</a>" 166 172 msgstr "" … … 253 259 #: includes/class-wc-valorpay-gateway-addons.php:238 254 260 #: includes/class-wc-valorpay-gateway-addons.php:289 261 #, php-format 255 262 msgid "Payment processing failed. Reason: %s" 256 263 msgstr "" … … 259 266 #: includes/class-wc-valorpay-gateway-addons.php:264 260 267 #: includes/class-wc-valorpay-gateway.php:1056 268 #, php-format 261 269 msgid "Valor Pay %1$s for %2$s.%3$s <strong>Desc:</strong> %4$s.%5$s <strong>Reference Number:</strong> %6$s.%7$s <strong>Document ID:</strong> %8$s.%9$s <strong>Routing Number:</strong> %10$s.%11$s <strong>Account Number:</strong> %12$s" 262 270 msgstr "" … … 264 272 #. translators: 1: Error Message, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number. 265 273 #: includes/class-wc-valorpay-gateway-addons.php:308 274 #, php-format 266 275 msgid "Valor Pay completed for %1$s.%2$s <strong>Approval Code:</strong> %3$s.%4$s <strong>RRN:</strong> %5$s" 267 276 msgstr "" … … 276 285 277 286 #: includes/class-wc-valorpay-gateway.php:271 278 #: public/js/build/wc-valorpay.js: 5992279 #: public/js/build/wc-valorpay.js:5 372287 #: public/js/build/wc-valorpay.js:6058 288 #: public/js/build/wc-valorpay.js:5451 280 289 msgid "TEST MODE ENABLED. Use test card number 4111111111111111 with 999 as CVC and a future expiration date." 281 290 msgstr "" … … 291 300 #. translators: %s: Settings URL. 292 301 #: includes/class-wc-valorpay-gateway.php:310 302 #, php-format 293 303 msgid "Valor Pay error: The APP ID is required. %s" 294 304 msgstr "" … … 302 312 #. translators: %s: Settings URL. 303 313 #: includes/class-wc-valorpay-gateway.php:321 314 #, php-format 304 315 msgid "Valor Pay error: The APP KEY is required. %s" 305 316 msgstr "" … … 307 318 #. translators: %s: Settings URL. 308 319 #: includes/class-wc-valorpay-gateway.php:330 320 #, php-format 309 321 msgid "Valor Pay error: The EPI is required. %s" 310 322 msgstr "" … … 622 634 #. translators: 1: Tracker URL. 623 635 #: includes/class-wc-valorpay-gateway.php:918 636 #, php-format 624 637 msgid "Disable the payment method in the checkout page for failed transactions. <a id=\"valorpay-goto-tracker\" href=\"%s\">Unblock IP</a>" 625 638 msgstr "" … … 695 708 #. translators: 1: Maximum percentage. 696 709 #: includes/class-wc-valorpay-gateway.php:980 710 #, php-format 697 711 msgid "Surcharge percentage cannot be more than %s" 698 712 msgstr "" … … 700 714 #. translators: 1: Maximum flat rate. 701 715 #: includes/class-wc-valorpay-gateway.php:985 716 #, php-format 702 717 msgid "Surcharge flat rate cannot be more than %s" 703 718 msgstr "" … … 710 725 #: includes/class-wc-valorpay-gateway.php:1093 711 726 #: includes/class-wc-valorpay-gateway.php:1096 712 #: includes/class-wc-valorpay-gateway.php:1234 713 #: includes/class-wc-valorpay-gateway.php:1237 714 #: includes/class-wc-valorpay-gateway.php:1311 715 #: includes/class-wc-valorpay-gateway.php:1314 727 #: includes/class-wc-valorpay-gateway.php:1267 728 #: includes/class-wc-valorpay-gateway.php:1270 729 #: includes/class-wc-valorpay-gateway.php:1344 730 #: includes/class-wc-valorpay-gateway.php:1347 731 #, php-format 716 732 msgid "Payment error: %s" 717 733 msgstr "" 718 734 719 735 #: includes/class-wc-valorpay-gateway.php:1098 720 #: includes/class-wc-valorpay-gateway.php:12 39721 #: includes/class-wc-valorpay-gateway.php:13 16736 #: includes/class-wc-valorpay-gateway.php:1272 737 #: includes/class-wc-valorpay-gateway.php:1349 722 738 msgid "Unable to process the transaction using Valor Pay, please try again." 723 739 msgstr "" … … 735 751 msgstr "" 736 752 753 #. translators: 1: Status, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number, 7: Line Break, 8: PO Number. 754 #: includes/class-wc-valorpay-gateway.php:1204 755 #, php-format 756 msgid "Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s.%7$s <strong>PO Number:</strong> %8$s" 757 msgstr "" 758 759 #: includes/class-wc-valorpay-gateway.php:1212 760 msgid "N/A" 761 msgstr "" 762 763 #. translators: 1: Status, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number. 737 764 #. translators: 1: Error Message, 2: Amount, 3: Line Break, 4: Approval Code, 5: Line Break, 6: RRN Number. 738 #: includes/class-wc-valorpay-gateway.php:1189 739 #: includes/class-wc-valorpay-gateway.php:1284 765 #: includes/class-wc-valorpay-gateway.php:1220 766 #: includes/class-wc-valorpay-gateway.php:1317 767 #, php-format 740 768 msgid "Valor Pay %1$s for %2$s.%3$s <strong>Approval Code:</strong> %4$s.%5$s <strong>RRN:</strong> %6$s" 741 769 msgstr "" 742 770 743 #: includes/class-wc-valorpay-gateway.php:1 269771 #: includes/class-wc-valorpay-gateway.php:1302 744 772 msgid "Payment error: Subscription products are not allowed in gift card sales" 745 773 msgstr "" 746 774 747 #: includes/class-wc-valorpay-gateway.php:1 270775 #: includes/class-wc-valorpay-gateway.php:1303 748 776 msgid "Subscription products are not allowed in gift card sales. Please remove the subscription product and try again." 749 777 msgstr "" 750 778 751 779 #. translators: 1: Disable Time, 2: Unblock IP URL, 3: Customer IP. 752 #: includes/class-wc-valorpay-gateway.php:1424 780 #: includes/class-wc-valorpay-gateway.php:1457 781 #, php-format 753 782 msgid "Valor Pay method is disabled for %1$s. <a target=\"_blank\" href=\"%2$s\">To Unblock IP</a> %3$s" 754 783 msgstr "" 755 784 756 #: includes/class-wc-valorpay-gateway.php:1 487785 #: includes/class-wc-valorpay-gateway.php:1520 757 786 msgid "Refund failed." 758 787 msgstr "" 759 788 760 789 #. translators: 1: Amount, 2: Line Break, 3: Approval code, 4: Line Break, 5: RRN Code 761 #: includes/class-wc-valorpay-gateway.php:1499 790 #: includes/class-wc-valorpay-gateway.php:1532 791 #, php-format 762 792 msgid "Valor Pay Refund for %1$s.%2$s <strong>Approval Code:</strong> %3$s.%4$s <strong>RRN:</strong> %5$s" 763 793 msgstr "" 764 794 765 #: includes/class-wc-valorpay-gateway.php:15 20795 #: includes/class-wc-valorpay-gateway.php:1553 766 796 msgid "Saving to Account Is Disabled." 767 797 msgstr "" 768 798 769 #: includes/class-wc-valorpay-gateway.php:15 31799 #: includes/class-wc-valorpay-gateway.php:1564 770 800 msgid "Initial card can only be added from the checkout page." 771 801 msgstr "" 772 802 773 803 #. translators: %s: Error add payment profile from API. 774 #: includes/class-wc-valorpay-gateway.php:1545 775 #: includes/class-wc-valorpay-gateway.php:1620 804 #: includes/class-wc-valorpay-gateway.php:1578 805 #: includes/class-wc-valorpay-gateway.php:1653 806 #, php-format 776 807 msgid "Error Vault Card Add: %s" 777 808 msgstr "" 778 809 779 810 #. translators: %s: Error add payment profile from API. 780 #: includes/class-wc-valorpay-gateway.php:1603 811 #: includes/class-wc-valorpay-gateway.php:1636 812 #, php-format 781 813 msgid "Error Vault Customer Add: %s" 782 814 msgstr "" 783 815 784 816 #. translators: %s: Vault ID. 785 #: includes/class-wc-valorpay-gateway.php:1607 817 #: includes/class-wc-valorpay-gateway.php:1640 818 #, php-format 786 819 msgid "Vault customer added to vault id: %s" 787 820 msgstr "" 788 821 789 #: includes/class-wc-valorpay-gateway.php:16 22822 #: includes/class-wc-valorpay-gateway.php:1655 790 823 msgid "Card added to vault." 791 824 msgstr "" 792 825 793 826 #. translators: 1: Card Brand 2: Last 4 digits 3: 794 #: includes/class-wc-valorpay-gateway.php:1674 827 #: includes/class-wc-valorpay-gateway.php:1707 828 #, php-format 795 829 msgid "%1$s ending in %2$s" 796 830 msgstr "" … … 837 871 838 872 #: public/class-wc-valorpay-public.php:198 839 #: public/js/build/wc-valorpay.js:5 768840 #: public/js/build/wc-valorpay.js:51 10873 #: public/js/build/wc-valorpay.js:5825 874 #: public/js/build/wc-valorpay.js:5180 841 875 msgid "Valor Pay is disabled due to multiple payment failures." 842 876 msgstr "" … … 905 939 #: public/js/build/wc-valorpay.js:321 906 940 #: public/js/build/wc-valorpay.js:630 907 #: public/js/build/wc-valorpay.js: 5968908 #: public/js/build/wc-valorpay.js:61 06941 #: public/js/build/wc-valorpay.js:6034 942 #: public/js/build/wc-valorpay.js:6182 909 943 #: public/js/build/wc-valorpay.js:223 910 944 #: public/js/build/wc-valorpay.js:514 911 #: public/js/build/wc-valorpay.js:5 336912 #: public/js/build/wc-valorpay.js:55 01945 #: public/js/build/wc-valorpay.js:5415 946 #: public/js/build/wc-valorpay.js:5590 913 947 msgid "Please provide payment information" 914 948 msgstr "" … … 966 1000 msgstr "" 967 1001 968 #: public/js/build/wc-valorpay.js:5 775969 #: public/js/build/wc-valorpay.js:51 221002 #: public/js/build/wc-valorpay.js:5832 1003 #: public/js/build/wc-valorpay.js:5192 970 1004 msgid "Only debit card allowed" 971 1005 msgstr "" 972 1006 973 #: public/js/build/wc-valorpay.js:5 778974 #: public/js/build/wc-valorpay.js:51 251007 #: public/js/build/wc-valorpay.js:5835 1008 #: public/js/build/wc-valorpay.js:5195 975 1009 msgid "Only credit card allowed" 976 1010 msgstr "" 977 1011 978 #: public/js/build/wc-valorpay.js:5 843979 #: public/js/build/wc-valorpay.js:5 1991012 #: public/js/build/wc-valorpay.js:5900 1013 #: public/js/build/wc-valorpay.js:5269 980 1014 msgid "Card" 981 1015 msgstr "" 982 1016 983 #: public/js/build/wc-valorpay.js:5 848984 #: public/js/build/wc-valorpay.js:52 031017 #: public/js/build/wc-valorpay.js:5905 1018 #: public/js/build/wc-valorpay.js:5273 985 1019 msgid "ACH" 986 1020 msgstr "" 987 1021 988 #: public/js/build/wc-valorpay.js:5 854989 #: public/js/build/wc-valorpay.js:52 071022 #: public/js/build/wc-valorpay.js:5911 1023 #: public/js/build/wc-valorpay.js:5277 990 1024 msgid "Gift Card" 991 1025 msgstr "" 992 1026 993 #: public/js/build/wc-valorpay.js: 5996994 #: public/js/build/wc-valorpay.js:5 3811027 #: public/js/build/wc-valorpay.js:6062 1028 #: public/js/build/wc-valorpay.js:5460 995 1029 msgid "Fetching Card Type..." 996 1030 msgstr "" -
valorpos/trunk/public/js/build/wc-valorpay.asset.php
r3284557 r3369470 1 <?php return array('dependencies' => array('react', 'wc-blocks-checkout', 'wc-blocks-components', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-settings', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => ' 9878e2a6e5246e3cc3b7');1 <?php return array('dependencies' => array('react', 'wc-blocks-checkout', 'wc-blocks-components', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-settings', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-primitives'), 'version' => '71f69e215ad31fe79911'); -
valorpos/trunk/public/js/build/wc-valorpay.js
r3284557 r3369470 1106 1106 const zipField = react__WEBPACK_IMPORTED_MODULE_0___default().useRef(); 1107 1107 const addressField = react__WEBPACK_IMPORTED_MODULE_0___default().useRef(); 1108 const poNumberField = react__WEBPACK_IMPORTED_MODULE_0___default().useRef(); 1108 1109 1109 1110 /** ====== START: META STUFF ====== */ … … 1545 1546 }), [handleBlurAddress, handleChangeAddress, handleFocusAddress, handleKeyDownAddress]); 1546 1547 /** ====== END: ADDRESS STUFF ====== */ 1548 1549 /** ====== START: PO NUMBER STUFF ====== */ 1550 const handleBlurPONumber = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback((props = {}) => { 1551 return e => { 1552 props.onBlur && props.onBlur(e); 1553 onBlur && onBlur(e); 1554 setFocused(undefined); 1555 setInputTouched('poNumber', true); 1556 }; 1557 }, [onBlur, setInputTouched]); 1558 const handleChangePONumber = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback((props = {}) => { 1559 return e => { 1560 let value = e.target.value; 1561 value = value.replace(/[^a-zA-Z0-9]/g, ''); 1562 if (value.length > 25) { 1563 value = value.slice(0, 25); 1564 } 1565 e.target.value = value; 1566 setInputTouched('poNumber', false); 1567 props.onChange && props.onChange(e); 1568 onChange && onChange(e); 1569 1570 // You can add validation here if needed 1571 let poError; 1572 if (value && !/^[a-zA-Z0-9]{3,25}$/.test(value)) { 1573 poError = errorMessages?.poNumber || 'PO Number Must Be 3 to 25 Alpha Numeric.'; 1574 } 1575 setInputError('poNumber', poError); 1576 props.onError && props.onError(poError); 1577 }; 1578 }, [errorMessages, onChange, setInputError, setInputTouched]); 1579 const handleFocusPONumber = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback((props = {}) => { 1580 return e => { 1581 props.onFocus && props.onFocus(e); 1582 setFocused('poNumber'); 1583 }; 1584 }, []); 1585 const getPONumberProps = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback(({ 1586 refKey, 1587 ...props 1588 } = {}) => ({ 1589 autoComplete: 'off', 1590 id: 'poNumber', 1591 name: 'poNumber', 1592 placeholder: 'PO Number', 1593 type: 'text', 1594 [refKey || 'ref']: poNumberField, 1595 ...props, 1596 onBlur: handleBlurPONumber(props), 1597 onChange: handleChangePONumber(props), 1598 onFocus: handleFocusPONumber(props) 1599 }), [handleBlurPONumber, handleChangePONumber, handleFocusPONumber]); 1600 /** ====== END: PO NUMBER STUFF ====== */ 1601 1547 1602 /** ====== START: CARD IMAGE STUFF ====== */ 1548 1603 const getCardImageProps = react__WEBPACK_IMPORTED_MODULE_0___default().useCallback((props = {}) => { … … 1618 1673 getZIPProps, 1619 1674 getStreetAddressProps, 1675 getPONumberProps, 1620 1676 wrapperProps: { 1621 1677 error, … … 1634 1690 cvcField, 1635 1691 zipField, 1636 addressField 1692 addressField, 1693 poNumberField 1637 1694 } 1638 1695 }; … … 5884 5941 paymentFields.push('streetaddress'); 5885 5942 } 5943 if (settings.is_enable_l2_l3) { 5944 paymentFields.push('poNumber'); 5945 } 5886 5946 const { 5887 5947 getCardNumberProps, … … 5891 5951 getZIPProps, 5892 5952 getStreetAddressProps, 5953 getPONumberProps, 5893 5954 wrapperProps, 5894 5955 meta: { … … 5899 5960 cvcField, 5900 5961 zipField, 5901 addressField 5962 addressField, 5963 poNumberField 5902 5964 } 5903 5965 } = (0,_hooks__WEBPACK_IMPORTED_MODULE_5__.usePaymentInputs)({ 5904 5966 avsType: settings.avs_type, 5905 5967 setIsFetchingCardType, 5906 paymentFields: paymentFields 5968 paymentFields: paymentFields, 5969 paymentFields: paymentFields.concat(['poNumber']) 5907 5970 }); 5908 5971 const { … … 5950 6013 if (settings.avs_type === 'zipandaddress' || settings.avs_type === 'zip') { 5951 6014 paymentMethodData.valorpay_avs_zip = zipField.current.value; 6015 } 6016 if (settings.is_enable_l2_l3) { 6017 paymentMethodData.valorpay_po_number = poNumberField.current.value; 5952 6018 } 5953 6019 if (settings.avs_type === 'zipandaddress' || settings.avs_type === 'address') { … … 6012 6078 }), (settings.avs_type === 'zipandaddress' || settings.avs_type === 'address') && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("input", { 6013 6079 ...getStreetAddressProps() 6080 }), settings.is_enable_l2_l3 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("input", { 6081 ...getPONumberProps() 6014 6082 })] 6015 6083 }) … … 6035 6103 paymentFields.push('streetaddress'); 6036 6104 } 6105 if (settings.is_enable_l2_l3) { 6106 paymentFields.push('poNumber'); 6107 } 6037 6108 const { 6038 6109 getZIPProps, 6039 6110 getStreetAddressProps, 6111 getPONumberProps, 6040 6112 wrapperProps, 6041 6113 meta: { 6042 6114 erroredInputs, 6043 6115 zipField, 6044 addressField 6116 addressField, 6117 poNumberField 6045 6118 } 6046 6119 } = (0,_hooks__WEBPACK_IMPORTED_MODULE_5__.usePaymentInputs)({ … … 6092 6165 paymentMethodData.valorpay_avs_street = addressField.current.value; 6093 6166 } 6167 if (settings.is_enable_l2_l3) { 6168 paymentMethodData.valorpay_po_number = poNumberField.current.value; 6169 } 6094 6170 return { 6095 6171 type: emitResponse.responseTypes.SUCCESS, … … 6135 6211 }), (settings.avs_type === 'zipandaddress' || settings.avs_type === 'address') && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("input", { 6136 6212 ...getStreetAddressProps() 6213 }), settings.is_enable_l2_l3 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)("input", { 6214 ...getPONumberProps() 6137 6215 })] 6138 6216 }) -
valorpos/trunk/public/js/build/wc-valorpay.js.map
r3284557 r3369470 1 {"version":3,"file":"wc-valorpay.js","mappings":";;;;;;;;;;;;;;;AAAuC;;AAEvC,igIAAigI;;AAEjgI,iCAAiC,4DAAO;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEkC;;;;;;;;;;;;;;;;ACdlC;AACA;AACA;AACA;AACA;AACA;AACA;;AAE8B;;;;;;;;;;;;;;;;ACR9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEmC;;;;;;;;;;;;;;;;;;AClDnC;AACA;AACA;AAC8D;;AAE9D,eAAe,kCAAkC,4CAA4C;;AAE7F;AACA;AACA;AACA,WAAW,2CAA2C;AACtD;AACA;AACA,WAAW,2CAA2C;AACtD;AACA,YAAY,cAAc;AAC1B;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,SAAS,gEAAY;AACrB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,iEAAe,8DAAU,MAAM,EAAC;AAChC;;;;;;;;;;;;;;;;;;AC9BA;AACA;AACA;AACkD;AACF;AAChD,iCAAiC,sDAAI,CAAC,sDAAG;AACzC;AACA;AACA,yBAAyB,sDAAI,CAAC,uDAAI;AAClC;AACA,GAAG;AACH,CAAC;AACD,iEAAe,WAAW,EAAC;AAC3B;;;;;;;;;;;;;;;;;;;;;;;;;;ACb4C;AACe;AACtB;AACE;AAC4B;AACrC;AAAA;AAE9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;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,iGAAiG,eAAe;AAChH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;A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sCAAsC,UAAU,mBAAmB,IAAI;AAClH;;AAEO;AACP,+BAA+B,uCAAuC,YAAY,KAAK,OAAO;AAC9F;AACA;;AAEA;AACA,wCAAwC,4BAA4B;AACpE,CAAC;AACD;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP,2CAA2C;AAC3C;;AAEO;AACP;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,8CAA8C;AACnE;AACA;AACA,qBAAqB,aAAa;AAClC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E,SAAS,gBAAgB;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjXK;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACrBmE;AAC0B;AACjD;AACV;AACL;;AAEpC;AACA,WAAW,YAAY;AACvB,YAAY;AACZ;AACO;AACP,cAAc,mDAAM;;AAEpB;AACA;;AAEA,kBAAkB,YAAY;AAC9B;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,UAAU;AACrB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB;AACO;AACP;AACA;A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,oBAAOxb,uDAAA,CAACqb,QAAQ;MAAA,GAAK7a;IAAK,CAAG,CAAC;EAC/B;EACA,oBAAOR,uDAAA,CAACgb,IAAI;IAAA,GAAKxa;EAAK,CAAG,CAAC;AAC3B,CAAC;;AAED;AACA;AACA;AACA,MAAMmd,QAAQ,GAAG;EAChB5N,IAAI,EAAE,aAAa;EACnBlJ,KAAK,eAAE7G,uDAAA,CAACmd,KAAK,IAAE,CAAC;EAChBS,SAAS,EAAE,aAAa;EACxBC,OAAO,eAAE7d,uDAAA,CAAC0d,OAAO,IAAE,CAAC;EACpBI,IAAI,eAAE9d,uDAAA,CAAC0d,OAAO,IAAE,CAAC;EACjBK,cAAc,EAAEA,CAAA,KAAM5E,QAAQ,CAACC,cAAc;EAC7C4E,mBAAmB,eAAEhe,uDAAA,CAACid,UAAU,IAAE,CAAC;EACnCgB,SAAS,EAAEpX,KAAK;EAChBqX,QAAQ,EAAE;IACTC,QAAQ,EAAEhF,QAAQ,CAAC+E,QAAQ;IAC3BE,cAAc,EAAEjF,QAAQ,CAACkF;EAC1B;AACD,CAAC;AAED1F,mFAAqB,CAAEgF,QAAS,CAAC,C","sources":["webpack://wc-valorpay/./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","webpack://wc-valorpay/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack://wc-valorpay/./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack://wc-valorpay/./node_modules/@wordpress/icons/build-module/icon/index.js","webpack://wc-valorpay/./node_modules/@wordpress/icons/build-module/library/chevron-down.js","webpack://wc-valorpay/./blocks/components/AchForm.jsx","webpack://wc-valorpay/./blocks/components/GiftForm.jsx","webpack://wc-valorpay/./blocks/components/PaymentInputsContainer.jsx","webpack://wc-valorpay/./blocks/components/PaymentInputsWrapper.jsx","webpack://wc-valorpay/./blocks/components/Select.jsx","webpack://wc-valorpay/./blocks/components/TermsCheckbox.jsx","webpack://wc-valorpay/./blocks/components/index.js","webpack://wc-valorpay/./blocks/hooks/index.js","webpack://wc-valorpay/./blocks/hooks/usePaymentInputs.jsx","webpack://wc-valorpay/./blocks/images/amex.jsx","webpack://wc-valorpay/./blocks/images/dinersclub.jsx","webpack://wc-valorpay/./blocks/images/discover.jsx","webpack://wc-valorpay/./blocks/images/hipercard.jsx","webpack://wc-valorpay/./blocks/images/index.jsx","webpack://wc-valorpay/./blocks/images/jcb.jsx","webpack://wc-valorpay/./blocks/images/mastercard.jsx","webpack://wc-valorpay/./blocks/images/placeholder.jsx","webpack://wc-valorpay/./blocks/images/troy.jsx","webpack://wc-valorpay/./blocks/images/unionpay.jsx","webpack://wc-valorpay/./blocks/images/visa.jsx","webpack://wc-valorpay/./blocks/utils/cardTypes.js","webpack://wc-valorpay/./blocks/utils/formatter.js","webpack://wc-valorpay/./blocks/utils/index.js","webpack://wc-valorpay/./blocks/utils/validator.js","webpack://wc-valorpay/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://wc-valorpay/./node_modules/react/jsx-runtime.js","webpack://wc-valorpay/./node_modules/shallowequal/index.js","webpack://wc-valorpay/./node_modules/styled-components/dist/styled-components.browser.esm.js","webpack://wc-valorpay/external window \"React\"","webpack://wc-valorpay/external window [\"wc\",\"blocksCheckout\"]","webpack://wc-valorpay/external window [\"wc\",\"blocksComponents\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksData\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksRegistry\"]","webpack://wc-valorpay/external window [\"wc\",\"wcSettings\"]","webpack://wc-valorpay/external window [\"wp\",\"data\"]","webpack://wc-valorpay/external window [\"wp\",\"element\"]","webpack://wc-valorpay/external window [\"wp\",\"htmlEntities\"]","webpack://wc-valorpay/external window [\"wp\",\"i18n\"]","webpack://wc-valorpay/external window [\"wp\",\"primitives\"]","webpack://wc-valorpay/./node_modules/styled-components/node_modules/tslib/tslib.es6.mjs","webpack://wc-valorpay/./node_modules/stylis/src/Enum.js","webpack://wc-valorpay/./node_modules/stylis/src/Middleware.js","webpack://wc-valorpay/./node_modules/stylis/src/Parser.js","webpack://wc-valorpay/./node_modules/stylis/src/Prefixer.js","webpack://wc-valorpay/./node_modules/stylis/src/Serializer.js","webpack://wc-valorpay/./node_modules/stylis/src/Tokenizer.js","webpack://wc-valorpay/./node_modules/stylis/src/Utility.js","webpack://wc-valorpay/webpack/bootstrap","webpack://wc-valorpay/webpack/runtime/compat get default export","webpack://wc-valorpay/webpack/runtime/define property getters","webpack://wc-valorpay/webpack/runtime/hasOwnProperty shorthand","webpack://wc-valorpay/webpack/runtime/make namespace object","webpack://wc-valorpay/webpack/runtime/nonce","webpack://wc-valorpay/./blocks/index.js"],"sourcesContent":["import memoize from '@emotion/memoize';\n\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","var unitlessKeys = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","/**\n * WordPress dependencies\n */\nimport { cloneElement, forwardRef } from '@wordpress/element';\n\n/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */\n\n/**\n * Return an SVG icon.\n *\n * @param {IconProps} props icon is the SVG component to render\n * size is a number specifying the icon size in pixels\n * Other props will be passed to wrapped SVG component\n * @param {import('react').ForwardedRef<HTMLElement>} ref The forwarded ref to the SVG element.\n *\n * @return {JSX.Element} Icon component\n */\nfunction Icon({\n icon,\n size = 24,\n ...props\n}, ref) {\n return cloneElement(icon, {\n width: size,\n height: size,\n ...props,\n ref\n });\n}\nexport default forwardRef(Icon);\n//# sourceMappingURL=index.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst chevronDown = /*#__PURE__*/_jsx(SVG, {\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z\"\n })\n});\nexport default chevronDown;\n//# sourceMappingURL=chevron-down.js.map","import { useEffect, useState } from 'react';\nimport { TextInput } from '@woocommerce/blocks-components';\nimport { __ } from '@wordpress/i18n';\nimport styled from 'styled-components';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\nimport Select from './Select';\n\nconst AchGroup = styled.div`\n\tdisplay: flex;\n\tgap: 10px;\n`;\n\nexport default function AchForm(props) {\n const {\n eventRegistration,\n emitResponse,\n paymentStatus,\n } = props;\n \n const { onPaymentSetup, onCheckoutAfterProcessingWithError } = eventRegistration;\n const [accountNumber, setAccountNumber] = useState('');\n const [accountNumberError, setAccountNumberError] = useState('');\n const [routingNumber, setRoutingNumber] = useState('');\n const [routingNumberError, setRoutingNumberError] = useState('');\n const [nameOnAccount, setNameOnAccount] = useState('');\n const [nameOnAccountError, setNameOnAccountError] = useState('');\n const [accountType, setAccountType] = useState('C');\n const [entryClass, setEntryClass] = useState('Business');\n const [txnType, setTxnType] = useState('Debit');\n\n const [phoneNumber, setPhoneNumber] = useState('');\n const [phoneNumberError, setPhoneNumberError] = useState('');\n const [email, setEmail] = useState('');\n const [emailError, setEmailError] = useState('');\n \n\n useEffect(() => {\n const elements = document.querySelectorAll('.wc-block-components-payment-methods__save-card-info');\n // Filter elements to ensure they have the same parent\n const filteredElements = Array.from(elements).filter((element, index, array) => {\n return element.parentElement === array[0].parentElement; // Check if they have the same parent\n });\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'none';\n }\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"ach\",\n },\n } );\n return () => {\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } )\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'block';\n }\n };\n }, [])\n\n useEffect( () => {\n const unsubscribe = onPaymentSetup( async () => {\n let isInValidForm = false;\n if ( accountNumberError !== '' ) {\n isInValidForm = true;\n }\n if ( routingNumberError !== '' ) {\n isInValidForm = true;\n }\n if ( nameOnAccountError !== '' ) {\n isInValidForm = true;\n }\n if ( phoneNumberError !== '' ) {\n isInValidForm = true;\n }\n if ( emailError !== '' ) {\n isInValidForm = true;\n }\n if (accountNumber === '') {\n setAccountNumberError( __('Please enter a valid Account Number','wc-valorpay'));\n isInValidForm = true;\n }\n if (routingNumber === '') {\n setRoutingNumberError( __('Please enter a valid Routing Number','wc-valorpay'));\n isInValidForm = true;\n }\n if (nameOnAccount === '') {\n setNameOnAccountError( __('Please enter a valid Name On Account','wc-valorpay'));\n isInValidForm = true;\n }\n if (isInValidForm) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: __(\n 'Please provide payment information',\n 'wc-valorpay'\n ),\n };\n }\n return {\n type: emitResponse.responseTypes.SUCCESS,\n meta: {\n paymentMethodData: {\n wc_valorpay_ach_sale: true,\n wc_valorpay_account_number: accountNumber,\n wc_valorpay_routing_number: routingNumber,\n wc_valorpay_name_on_account: nameOnAccount,\n wc_valorpay_account_type: accountType,\n wc_valorpay_entry_class: entryClass,\n wc_valorpay_card_type: txnType,\n wc_valorpay_phone: phoneNumber.replace(/[^0-9]/g, ''),\n wc_valorpay_email: email,\n },\n },\n };\n } );\n const unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n ( { processingResponse } ) => {\n if ( processingResponse?.paymentDetails?.errorMessage ) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: processingResponse.paymentDetails.errorMessage,\n messageContext: emitResponse.noticeContexts.PAYMENTS,\n };\n }\n // so we don't break the observers.\n return true;\n }\n );\n // Unsubscribes when this component is unmounted.\n return () => {\n unsubscribe();\n unsubscribeErrorMsg();\n };\n }, [\n emitResponse.responseTypes.ERROR,\n emitResponse.responseTypes.SUCCESS,\n onPaymentSetup,\n accountNumber,\n accountNumberError,\n routingNumber,\n routingNumberError,\n nameOnAccount,\n nameOnAccountError,\n accountType,\n entryClass,\n txnType,\n phoneNumber,\n phoneNumberError,\n email,\n emailError,\n ] );\n\n const handleAccountNumberChange = (value) => {\n if ( value.length <= 13 && /^[0-9]*$/.test(value) ) {\n setAccountNumberError('');\n setAccountNumber(value);\n }\n };\n\n const handleAccountNumberBlur = (event) => {\n if ( accountNumber === '' ) {\n setAccountNumberError( __('Please enter a valid Account Number','wc-valorpay'));\n }\n }\n\n const handleRoutingNumberChange = (value) => {\n if (value.length <= 9 && /^[0-9]*$/.test(value)) {\n setRoutingNumberError('');\n setRoutingNumber(value);\n }\n };\n\n const handleRoutingNumberBlur = (event) => {\n if ( routingNumber === '' ) {\n setRoutingNumberError( __('Please enter a valid Routing Number','wc-valorpay'))\n }\n }\n\n const handleNameOnAccountChange = (value) => {\n if (value.length <= 22 && /^[a-zA-Z0-9\\s]*$/.test(value)) {\n setNameOnAccountError('');\n setNameOnAccount(value);\n }\n };\n const handleNameOnAccountBlur = (value) => {\n if ( nameOnAccount === '' ) {\n setNameOnAccountError( __('Please enter a valid Name On Account','wc-valorpay'))\n }\n };\n\n const handlePhoneNumberChange = (value) => {\n // Remove any non-digit characters\n let numericValue = value.replace(/[^0-9]/g, '');\n\n // Format the number if it has 10 digits\n if (numericValue.length <= 10) {\n let formattedValue = numericValue;\n const previousVal = phoneNumber.replace(/[^0-9]/g, '');\n if (previousVal === numericValue) {\n numericValue = numericValue.slice(0, -1);\n }\n if (numericValue.length > 3 && numericValue.length <= 6) {\n formattedValue = `(${numericValue.slice(0, 3)}) ${numericValue.slice(3, 6)}-${numericValue.slice(6)}`;\n } else if (numericValue.length > 6) {\n formattedValue = `(${numericValue.slice(0, 3)}) ${numericValue.slice(3, 6)}-${numericValue.slice(6, 10)}`;\n } else if (numericValue.length > 0) {\n formattedValue = `(${numericValue.slice(0, 3)}) ${numericValue.slice(3)}`;\n }\n \n setPhoneNumber(formattedValue);\n setPhoneNumberError('');\n }\n };\n \n const handlePhoneNumberBlur = () => {\n const formattedPhoneNumber = phoneNumber.replace(/[^0-9]/g, '');\n if ( formattedPhoneNumber && formattedPhoneNumber.length !== 10 ) {\n setPhoneNumberError(__('Please enter a valid phone number with 10 digits', 'wc-valorpay'));\n }\n };\n \n const handleEmailChange = (value) => {\n setEmailError('');\n setEmail(value);\n };\n \n const handleEmailBlur = () => {\n const emailRegex = /^[a-z0-9._+-]+@[a-z0-9.-]+\\.[a-z]{2,63}$/i;\n if ( email && !emailRegex.test(email) ) {\n setEmailError(__('Please enter a valid email address', 'wc-valorpay'));\n }\n };\n \n\n const handleAccountTypeChange = (event) => {\n setAccountType(event.target.value);\n };\n\n const handleEntryClassChange = (event) => {\n setEntryClass(event.target.value);\n };\n\n const handleTxnTypeChange = (event) => {\n setTxnType(event.target.value);\n };\n\n return (\n <>\n <TextInput\n id=\"valor-ach-acc-no\"\n label={__('Account Number', 'wc-valorpay')}\n feedback={accountNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{accountNumberError}</p></div>}\n type=\"text\"\n value={accountNumber}\n required=\"true\"\n className={accountNumberError === '' ? '' : \"has-error\"}\n onChange={handleAccountNumberChange}\n onBlur={handleAccountNumberBlur}\n />\n <TextInput\n id=\"valor-ach-rou-no\"\n label={__('Routing Number', 'wc-valorpay')}\n feedback={routingNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{routingNumberError}</p></div>}\n type=\"text\"\n value={routingNumber}\n required=\"true\"\n className={routingNumberError === '' ? '' : \"has-error\"}\n onChange={handleRoutingNumberChange}\n onBlur={handleRoutingNumberBlur}\n />\n <TextInput\n id=\"valor-ach-acc-name\"\n label={__('Name on Account', 'wc-valorpay')}\n feedback={nameOnAccountError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{nameOnAccountError}</p></div>}\n type=\"text\"\n value={nameOnAccount}\n required=\"true\"\n className={nameOnAccountError === '' ? '' : \"has-error\"}\n onChange={handleNameOnAccountChange}\n onBlur={handleNameOnAccountBlur}\n />\n <Select\n id=\"valor-ach-acc-type\"\n label=\"Account Type\"\n options={[\n { label: \"Checking\", value: \"C\" },\n { label: \"Savings\", value: \"S\" },\n ]}\n value={accountType}\n selectOnChange={handleAccountTypeChange}\n />\n <AchGroup>\n <Select\n id=\"valor-ach-acc-entry\"\n label=\"Entry Class\"\n options={[\n { label: \"Business\", value: \"Business\" },\n { label: \"Personal\", value: \"Personal\" },\n ]}\n value={entryClass}\n selectOnChange={handleEntryClassChange}\n />\n </AchGroup>\n <TextInput\n id=\"valor-ach-phone\"\n label={__('Phone Number', 'wc-valorpay')}\n feedback={phoneNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{phoneNumberError}</p></div>}\n type=\"text\"\n value={phoneNumber}\n required=\"true\"\n className={phoneNumberError === '' ? '' : \"has-error\"}\n onChange={handlePhoneNumberChange}\n onBlur={handlePhoneNumberBlur}\n />\n <TextInput\n id=\"valor-ach-email\"\n label={__('Email', 'wc-valorpay')}\n feedback={emailError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{emailError}</p></div>}\n type=\"email\"\n value={email}\n required=\"true\"\n className={emailError === '' ? '' : \"has-error\"}\n onChange={handleEmailChange}\n onBlur={handleEmailBlur}\n />\n </>\n)};","import { useEffect, useState } from 'react';\nimport { TextInput } from '@woocommerce/blocks-components';\nimport { __ } from '@wordpress/i18n';\nimport styled from 'styled-components';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nexport default function GiftForm(props) {\n const { eventRegistration, emitResponse, paymentStatus } = props;\n const { onPaymentSetup, onCheckoutAfterProcessingWithError } = eventRegistration;\n const [cardNumber, setCardNumber] = useState('');\n const [pinNumber, setPinNumber] = useState('');\n const [giftCardNumberError, setGiftCardNumberError] = useState('');\n\n useEffect(() => {\n const elements = document.querySelectorAll('.wc-block-components-payment-methods__save-card-info');\n // Filter elements to ensure they have the same parent\n const filteredElements = Array.from(elements).filter((element, index, array) => {\n return element.parentElement === array[0].parentElement; // Check if they have the same parent\n });\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'none';\n }\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"gift\",\n },\n } );\n return () => {\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } )\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'block';\n }\n };\n }, [])\n\n useEffect( () => {\n const unsubscribe = onPaymentSetup( async () => {\n let isInValidForm = false;\n if ( giftCardNumberError !== '' ) {\n isInValidForm = true;\n }\n if (cardNumber === '') {\n setGiftCardNumberError( __('Please enter a valid Gift Card Number','wc-valorpay'));\n isInValidForm = true;\n }\n if (isInValidForm) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: __(\n 'Please provide payment information',\n 'wc-valorpay'\n ),\n };\n }\n return {\n type: emitResponse.responseTypes.SUCCESS,\n meta: {\n paymentMethodData: {\n wc_valorpay_gift_sale: true,\n wc_valorpay_gift_card_no: cardNumber.replaceAll(\" \", \"\"),\n wc_valorpay_gift_card_pin: pinNumber,\n },\n },\n };\n } );\n\n \n const unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n ( { processingResponse } ) => {\n if ( processingResponse?.paymentDetails?.errorMessage ) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: processingResponse.paymentDetails.errorMessage,\n messageContext: emitResponse.noticeContexts.PAYMENTS,\n };\n }\n // so we don't break the observers.\n return true;\n }\n );\n // Unsubscribes when this component is unmounted.\n return () => {\n unsubscribe();\n unsubscribeErrorMsg();\n };\n }, [\n emitResponse.responseTypes.ERROR,\n emitResponse.responseTypes.SUCCESS,\n onPaymentSetup,\n cardNumber,\n pinNumber,\n giftCardNumberError,\n ] );\n\n const handleGiftCardNumberChange = (value) => {\n let cardNumber = value.replaceAll(\" \", \"\");\n if ( cardNumber.length <= 21 && /^[0-9]*$/.test(cardNumber) ) {\n let newCardNumber = \"\";\n let counter = 0;\n for (let n of cardNumber) {\n if ( (counter% 4) === 0) {\n newCardNumber += \" \";\n }\n newCardNumber+=n;\n counter++;\n }\n setCardNumber(newCardNumber);\n setGiftCardNumberError('');\n }\n };\n\n const handleGiftCardNumberBlur = (event) => {\n if ( cardNumber.length <= 11 ) {\n setGiftCardNumberError( __('Please enter a valid Gift Card Number','wc-valorpay'));\n }\n }\n\n const handleGiftPinChange = (value) => {\n if ( value.length <= 8 && /^[0-9]*$/.test(value) ) {\n setPinNumber(value);\n }\n };\n\n return (\n <>\n <TextInput\n id=\"valor-giftcard-acc-no\"\n label={__('Card Number', 'wc-valorpay')}\n feedback={giftCardNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{giftCardNumberError}</p></div>}\n type=\"text\"\n value={cardNumber}\n required=\"true\"\n className={giftCardNumberError === '' ? '' : \"has-error\"}\n onChange={handleGiftCardNumberChange}\n onBlur={handleGiftCardNumberBlur}\n />\n <TextInput\n id=\"valor-giftcard-pin-no\"\n label={__('Pin Number', 'wc-valorpay')}\n type=\"text\"\n value={pinNumber}\n required=\"false\"\n onChange={handleGiftPinChange}\n />\n </>\n )\n}","import { usePaymentInputs } from '../hooks';\n\nexport default function PaymentInputsContainer( props ) {\n\tconst paymentInputs = usePaymentInputs( props );\n\treturn props.children( paymentInputs );\n}\n","import React from 'react';\nimport styled, { css } from 'styled-components';\n\n// Preventing hasErrored and other internal props from being passed to DOM\nconst FieldWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'styles' ].includes( prop ),\n} )`\n\tdisplay: inline-flex;\n\tflex-direction: column;\n\twidth: 100%;\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored && props.styles.fieldWrapper\n\t\t\t\t? props.styles.fieldWrapper.errored\n\t\t\t\t: undefined };\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.fieldWrapper\n\t\t\t? props.styles.fieldWrapper.base\n\t\t\t: undefined };\n`;\n\nconst InputWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\talign-items: center;\n\tbackground-color: white;\n\tborder: 1px solid #bdbdbd;\n\tbox-shadow: inset 0px 1px 2px #e5e5e5;\n\tborder-radius: 0.2em;\n\tdisplay: flex;\n\theight: 2.5em;\n\tpadding: 0.4em 0.6em;\n\twidth: 100%; /* Ensure the wrapper takes the full width */\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored &&\n\t\t\tcss`\n\t\t\t\tborder-color: #c9444d;\n\t\t\t\tbox-shadow: #c9444d 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.errored };\n\t\t\t` };\n\t}\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.focused &&\n\t\t\tcss`\n\t\t\t\tborder-color: #444bc9;\n\t\t\t\tbox-shadow: #444bc9 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.focused };\n\t\t\t` };\n\t}\n\n\t& input {\n\t\tborder: unset;\n\t\tmargin: unset;\n\t\tpadding: unset;\n\t\toutline: unset;\n\t\tfont-size: inherit;\n\t\twidth: 100%; /* Take full width by default */\n\t\tmin-width: 11em; /* Default minimum width */\n\t\tflex-grow: 1; /* Allow input to grow */\n\n\t\t& {\n\t\t\t${ ( props ) =>\n\t\t\t\tprops.hasErrored && props.styles.input\n\t\t\t\t\t? props.styles.input.errored\n\t\t\t\t\t: undefined };\n\t\t}\n\n\t\t${ ( props ) => props.styles.input && props.styles.input.base };\n\n\t\t&:focus {\n\t\t\twidth: 15em; /* Increase width on focus */\n\t\t\ttransition: width 0.3s ease;\n\t\t}\n\t}\n\n\t& svg {\n\t\tmargin-right: 0.6em;\n\t\t& {\n\t\t\t${ ( props ) => props.styles.cardImage };\n\t\t}\n\t}\n\n\t& input#cardNumber {\n\t\twidth: 10em;\n\t\tmin-width: 10em;\n\n\t\t&:focus {\n\t\t\twidth: 13em;\n\t\t}\n\t}\n\n\t& input#expiryDate {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\n\t& input#cvc {\n\t\twidth: 2.5em;\n\t\tmin-width: 2.5em;\n\n\t\t&:focus {\n\t\t\twidth: 3.5em;\n\t\t}\n\t}\n\n\t& input#zip {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\t& input#streetaddress {\n\t\twidth: 8em;\n\t\tmin-width: 8em;\n\n\t\t&:focus {\n\t\t\twidth: 9em;\n\t\t}\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.inputWrapper\n\t\t\t? props.styles.inputWrapper.base\n\t\t\t: undefined };\n`;\n\nconst ErrorText = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\tcolor: #c9444d;\n\tfont-size: 0.75rem;\n\tmargin-top: 0.25rem;\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.styles.errorText ? props.styles.errorText.base : undefined };\n\t}\n`;\n\nfunction PaymentInputsWrapper( {\n\tchildren,\n\terror,\n\terrorTextProps,\n\tfocused,\n\tinputWrapperProps,\n\tisTouched,\n\tstyles = {}, // Set default value for styles here\n\tisInitPay,\n\t...restProps\n} ) {\n\tconst hasErrored = error && ( isTouched || ( ! focused && isInitPay ) );\n\n\treturn (\n\t\t<FieldWrapper\n\t\t\thasErrored={ hasErrored }\n\t\t\tstyles={ styles }\n\t\t\t{ ...restProps }\n\t\t>\n\t\t\t<InputWrapper\n\t\t\t\tfocused={ focused }\n\t\t\t\thasErrored={ hasErrored }\n\t\t\t\tstyles={ styles }\n\t\t\t\t{ ...inputWrapperProps }\n\t\t\t>\n\t\t\t\t{ children }\n\t\t\t</InputWrapper>\n\t\t\t{ hasErrored && (\n\t\t\t\t<ErrorText styles={ styles } { ...errorTextProps }>\n\t\t\t\t\t{ error }\n\t\t\t\t</ErrorText>\n\t\t\t) }\n\t\t</FieldWrapper>\n\t);\n}\n\nexport default PaymentInputsWrapper;\n","import { useId } from 'react';\nimport { Icon, chevronDown } from '@wordpress/icons';\n\n\nexport default function Select(props) {\n const {\n label,\n selectOnChange,\n options,\n value,\n ...restOfProps\n } = props;\n const generatedId = useId();\n const inputId = restOfProps.id || `wc-blocks-components-select-${ generatedId }`;\n return(\n <div className=\"wc-blocks-components-select\">\n <div className=\"wc-blocks-components-select__container\">\n <label\n htmlFor={ inputId }\n className=\"wc-blocks-components-select__label\"\n >\n { label }\n </label>\n <select \n className=\"wc-blocks-components-select__select\"\n id={ inputId }\n size=\"1\"\n onChange={ selectOnChange }\n value={ value }\n >\n { options.map( ( option ) => (\n <option\n key={ option.value }\n value={ option.value }\n data-alternate-values={ `[${ option.label }]` }\n disabled={\n option.disabled !== undefined\n ? option.disabled\n : false\n }\n >\n { option.label }\n </option>\n\t\t\t\t\t) ) }\n </select>\n <Icon\n className=\"wc-blocks-components-select__expand\"\n icon={ chevronDown }\n />\n </div>\n </div>\n )\n}","export default function TermsCheckbox( { id, label, checked, onChange } ) {\n return (\n\t\t<div className=\"wc-block-components-checkbox\">\n\t\t\t<label htmlFor={ id }>\n\t\t\t\t<input\n\t\t\t\t\tid={ id }\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\taria-invalid=\"false\"\n\t\t\t\t\tchecked={ checked }\n\t\t\t\t\tonChange={ onChange }\n\t\t\t\t/>\n\t\t\t\t<svg\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__mark\"\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 20\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\"></path>\n\t\t\t\t</svg>\n\t\t\t\t<span class=\"wc-block-components-checkbox__label\">\n\t\t\t\t\t{ label }\n\t\t\t\t</span>\n\t\t\t</label>\n\t\t</div>\n\t);\n}","export { default as PaymentInputsContainer } from './PaymentInputsContainer';\nexport { default as PaymentInputsWrapper } from './PaymentInputsWrapper';\nexport { default as TermsCheckbox } from './TermsCheckbox';\nexport { default as AchForm } from './AchForm';\nexport { default as GiftForm } from './GiftForm';\n","export { default as usePaymentInputs } from './usePaymentInputs';\n","import React from 'react';\n\nimport utils from '../utils';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nexport default function usePaymentInputs( {\n\tautoFocus = true,\n\terrorMessages,\n\tonBlur,\n\tonChange,\n\tonError,\n\tonTouch,\n\tcardNumberValidator,\n\tcvcValidator,\n\texpiryValidator,\n\tavsType,\n\tsetIsFetchingCardType,\n\tpaymentFields,\n} = {} ) {\n\tconst cardNumberField = React.useRef();\n\tconst expiryDateField = React.useRef();\n\tconst cvcField = React.useRef();\n\tconst zipField = React.useRef();\n\tconst addressField = React.useRef();\n\n\t/** ====== START: META STUFF ====== */\n\tconst [ touchedInputs, setTouchedInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = false;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ isTouched, setIsTouched ] = React.useState( false );\n\tconst [ erroredInputs, setErroredInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = undefined;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ error, setError ] = React.useState();\n\tconst [ cardType, setCardType ] = React.useState();\n\tconst [ focused, setFocused ] = React.useState();\n\n\tconst setInputError = React.useCallback( ( input, error ) => {\n\t\tsetErroredInputs( ( erroredInputs ) => {\n\t\t\tif ( erroredInputs[ input ] === error ) return erroredInputs;\n\n\t\t\tlet newError = error;\n\t\t\tconst newErroredInputs = { ...erroredInputs, [ input ]: error };\n\t\t\tif ( error ) {\n\t\t\t\tsetError( error );\n\t\t\t} else {\n\t\t\t\tnewError = Object.values( newErroredInputs ).find( Boolean );\n\t\t\t\tsetError( newError );\n\t\t\t}\n\t\t\tonError && onError( newError, newErroredInputs );\n\t\t\treturn newErroredInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\n\tconst setInputTouched = React.useCallback( ( input, value ) => {\n\t\trequestAnimationFrame( () => {\n\t\t\tif ( document.activeElement.tagName !== 'INPUT' ) {\n\t\t\t\tsetIsTouched( true );\n\t\t\t} else if ( value === false ) {\n\t\t\t\tsetIsTouched( false );\n\t\t\t}\n\t\t} );\n\n\t\tsetTouchedInputs( ( touchedInputs ) => {\n\t\t\tif ( touchedInputs[ input ] === value ) return touchedInputs;\n\n\t\t\tconst newTouchedInputs = { ...touchedInputs, [ input ]: value };\n\t\t\tonTouch && onTouch( { [ input ]: value }, newTouchedInputs );\n\t\t\treturn newTouchedInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\t/** ====== END: META STUFF ====== */\n\n\t/** ====== START: CARD NUMBER STUFF ====== */\n\tconst handleBlurCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cardNumber', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\t\t\t\tlet cursorPosition = cardNumberField.current.selectionStart;\n\n\t\t\t\tconst cardType =\n\t\t\t\t\tutils.cardTypes.getCardTypeByValue( cardNumber );\n\t\t\t\tsetCardType( cardType );\n\n\t\t\t\tsetInputTouched( 'cardNumber', false );\n\n\t\t\t\t// @ts-ignore\n\t\t\t\tcardNumberField.current.value =\n\t\t\t\t\tutils.formatter.formatCardNumber( cardNumber );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\t// Due to the card number formatting, the selection cursor will fall to the end of\n\t\t\t\t// the input field. Here, we want to reposition the cursor to the correct place.\n\t\t\t\trequestAnimationFrame( () => {\n\t\t\t\t\tif ( document.activeElement !== cardNumberField.current )\n\t\t\t\t\t\treturn;\n\t\t\t\t\tif (\n\t\t\t\t\t\tcardNumberField.current.value[ cursorPosition - 1 ] ===\n\t\t\t\t\t\t' '\n\t\t\t\t\t) {\n\t\t\t\t\t\tcursorPosition = cursorPosition + 1;\n\t\t\t\t\t}\n\t\t\t\t\tcardNumberField.current.setSelectionRange(\n\t\t\t\t\t\tcursorPosition,\n\t\t\t\t\t\tcursorPosition\n\t\t\t\t\t);\n\t\t\t\t} );\n\n\t\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\t\tcardNumber,\n\t\t\t\t\tcardNumberValidator,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cardNumberError && autoFocus ) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t\tsetIsFetchingCardType( true );\n\t\t\t\t\textensionCartUpdate( {\n\t\t\t\t\t\tnamespace: 'wc-valorpay-fee-update',\n\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\taction_type: 'bin_lookup',\n\t\t\t\t\t\t\tbin: cardNumber.slice( 0, 6 ),\n\t\t\t\t\t\t},\n\t\t\t\t\t} ).then( () => {\n\t\t\t\t\t\tsetIsFetchingCardType( false );\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t\t\tprops.onError && props.onError( cardNumberError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcardNumberValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cardNumber' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyPressCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tutils.validator.hasCardNumberReachedMaxLength( cardNumber )\n\t\t\t\t) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getCardNumberProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Card number',\n\t\t\tautoComplete: 'cc-number',\n\t\t\tid: 'cardNumber',\n\t\t\tname: 'cardNumber',\n\t\t\tplaceholder: 'Card number',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cardNumberField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCardNumber( props ),\n\t\t\tonChange: handleChangeCardNumber( props ),\n\t\t\tonFocus: handleFocusCardNumber( props ),\n\t\t\tonKeyPress: handleKeyPressCardNumber( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurCardNumber,\n\t\t\thandleChangeCardNumber,\n\t\t\thandleFocusCardNumber,\n\t\t\thandleKeyPressCardNumber,\n\t\t]\n\t);\n\t/** ====== END: CARD NUMBER STUFF ====== */\n\n\t/** ====== START: EXPIRY DATE STUFF ====== */\n\tconst handleBlurExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'expiryDate', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tsetInputTouched( 'expiryDate', false );\n\n\t\t\t\texpiryDateField.current.value =\n\t\t\t\t\tutils.formatter.formatExpiry( e );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\t\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\t\texpiryDateField.current.value,\n\t\t\t\t\texpiryValidator,\n\t\t\t\t\t{\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif ( ! expiryDateError && autoFocus ) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t\t\tprops.onError && props.onError( expiryDateError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\terrorMessages,\n\t\t\texpiryValidator,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'expiryDate' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcardNumberField.current && cardNumberField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedExpiryDate = e.target.value || '';\n\t\t\tconst expiryDate = formattedExpiryDate.replace( ' / ', '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif ( expiryDate.length >= 4 ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getExpiryDateProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Expiry date in format MM YY',\n\t\t\tautoComplete: 'cc-exp',\n\t\t\tid: 'expiryDate',\n\t\t\tname: 'expiryDate',\n\t\t\tplaceholder: 'MM/YY',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: expiryDateField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurExpiryDate( props ),\n\t\t\tonChange: handleChangeExpiryDate( props ),\n\t\t\tonFocus: handleFocusExpiryDate( props ),\n\t\t\tonKeyDown: handleKeyDownExpiryDate( props ),\n\t\t\tonKeyPress: handleKeyPressExpiryDate( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurExpiryDate,\n\t\t\thandleChangeExpiryDate,\n\t\t\thandleFocusExpiryDate,\n\t\t\thandleKeyDownExpiryDate,\n\t\t\thandleKeyPressExpiryDate,\n\t\t]\n\t);\n\t/** ====== END: EXPIRY DATE STUFF ====== */\n\n\t/** ====== START: CVC STUFF ====== */\n\tconst handleBlurCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cvc', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCVC = React.useCallback(\n\t\t( props = {}, { cardType } = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst cvc = e.target.value;\n\n\t\t\t\tsetInputTouched( 'cvc', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\t\tcvc,\n\t\t\t\t\tcvcValidator,\n\t\t\t\t\t{ cardType, errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cvcError && autoFocus ) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cvc', cvcError );\n\t\t\t\tprops.onError && props.onError( cvcError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcvcValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCVC = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cvc' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressCVC = React.useCallback(\n\t\t( props = {}, { cardType } ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCVC = e.target.value || '';\n\t\t\t\tconst cvc = formattedCVC.replace( ' / ', '' );\n\n\t\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cardType && cvc.length >= cardType.code.length ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cvc.length >= 4 ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[]\n\t);\n\n\tconst getCVCProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'CVC',\n\t\t\tautoComplete: 'cc-csc',\n\t\t\tid: 'cvc',\n\t\t\tname: 'cvc',\n\t\t\tplaceholder: cardType ? cardType.code.name : 'CVC',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cvcField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCVC( props ),\n\t\t\tonChange: handleChangeCVC( props, { cardType } ),\n\t\t\tonFocus: handleFocusCVC( props ),\n\t\t\tonKeyDown: handleKeyDownCVC( props ),\n\t\t\tonKeyPress: handleKeyPressCVC( props, { cardType } ),\n\t\t} ),\n\t\t[\n\t\t\tcardType,\n\t\t\thandleBlurCVC,\n\t\t\thandleChangeCVC,\n\t\t\thandleFocusCVC,\n\t\t\thandleKeyDownCVC,\n\t\t\thandleKeyPressCVC,\n\t\t]\n\t);\n\t/** ====== END: CVC STUFF ====== */\n\n\t/** ====== START: ZIP STUFF ====== */\n\tconst handleBlurZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'zip', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst zip = e.target.value;\n\n\t\t\t\tsetInputTouched( 'zip', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst zipError = utils.validator.getZIPError( zip, {\n\t\t\t\t\terrorMessages,\n\t\t\t\t} );\n\t\t\t\tif ( ! zipError && autoFocus && zip.length >= 6 ) {\n\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'zip', zipError );\n\t\t\t\tprops.onError && props.onError( zipError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'zip' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getZIPProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'zip',\n\t\t\tmaxLength: '6',\n\t\t\tname: 'zip',\n\t\t\tplaceholder: 'ZIP',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: zipField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurZIP( props ),\n\t\t\tonChange: handleChangeZIP( props ),\n\t\t\tonFocus: handleFocusZIP( props ),\n\t\t\tonKeyDown: handleKeyDownZIP( props ),\n\t\t\tonKeyPress: handleKeyPressZIP( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurZIP,\n\t\t\thandleChangeZIP,\n\t\t\thandleFocusZIP,\n\t\t\thandleKeyDownZIP,\n\t\t\thandleKeyPressZIP,\n\t\t]\n\t);\n\n\t/** ====== END: ZIP STUFF ====== */\n\n\t/** ====== START: ADDRESS STUFF ====== */\n\tconst handleBlurAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'streetaddress', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\tconst handleChangeAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst streetaddress = e.target.value;\n\n\t\t\t\tsetInputTouched( 'streetaddress', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\t\tstreetaddress,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t\t\tprops.onError && props.onError( addressError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusAddress = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'streetaddress' );\n\t\t};\n\t}, [] );\n\tconst handleKeyDownAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\tconst getStreetAddressProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'streetaddress',\n\t\t\tmaxLength: '25',\n\t\t\tname: 'streetaddress',\n\t\t\tplaceholder: 'STREET ADDRESS',\n\t\t\ttype: 'text',\n\t\t\t[ refKey || 'ref' ]: addressField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurAddress( props ),\n\t\t\tonChange: handleChangeAddress( props ),\n\t\t\tonFocus: handleFocusAddress( props ),\n\t\t\tonKeyDown: handleKeyDownAddress( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurAddress,\n\t\t\thandleChangeAddress,\n\t\t\thandleFocusAddress,\n\t\t\thandleKeyDownAddress,\n\t\t]\n\t);\n\t/** ====== END: ADDRESS STUFF ====== */\n\t/** ====== START: CARD IMAGE STUFF ====== */\n\tconst getCardImageProps = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\tconst images = props.images || {};\n\t\t\treturn {\n\t\t\t\t'aria-label': cardType\n\t\t\t\t\t? cardType.displayName\n\t\t\t\t\t: 'Placeholder card',\n\t\t\t\tchildren:\n\t\t\t\t\timages[ cardType ? cardType.type : 'placeholder' ] ||\n\t\t\t\t\timages.placeholder,\n\t\t\t\twidth: '3em',\n\t\t\t\theight: '2em',\n\t\t\t\tviewBox: '0 0 24 16',\n\t\t\t};\n\t\t},\n\t\t[ cardType ]\n\t);\n\t/** ====== END: CARD IMAGE STUFF ====== */\n\n\t// Set default field errors\n\tReact.useLayoutEffect( () => {\n\t\tif ( addressField.current ) {\n\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\taddressField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t}\n\t\tif ( zipField.current ) {\n\t\t\tconst zipError = utils.validator.getZIPError(\n\t\t\t\tzipField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'zip', zipError );\n\t\t}\n\t\tif ( cvcField.current ) {\n\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\tcvcField.current.value,\n\t\t\t\tcvcValidator,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'cvc', cvcError );\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\texpiryDateField.current.value,\n\t\t\t\texpiryValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t}\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\tcardNumberField.current.value,\n\t\t\t\tcardNumberValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t}\n\t}, [\n\t\tcardNumberValidator,\n\t\tcvcValidator,\n\t\terrorMessages,\n\t\texpiryValidator,\n\t\tsetInputError,\n\t] );\n\n\t// Format default values\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tcardNumberField.current.value = utils.formatter.formatCardNumber(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\texpiryDateField.current.value = utils.formatter.formatExpiry( {\n\t\t\t\ttarget: expiryDateField.current,\n\t\t\t} );\n\t\t}\n\t}, [] );\n\n\t// Set default card type\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardType = utils.cardTypes.getCardTypeByValue(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t\tsetCardType( cardType );\n\t\t}\n\t}, [] );\n\n\treturn {\n\t\tgetCardImageProps,\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps: {\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t},\n\n\t\tmeta: {\n\t\t\tcardType,\n\t\t\terroredInputs,\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t\ttouchedInputs,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t},\n\t};\n}\n","export default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#016fd0\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<path\n\t\t\td=\"m13.7640663 13.3938564v-5.70139231l10.1475359.00910497v1.57489503l-1.1728619 1.25339231 1.1728619 1.2648839v1.6083094h-1.8726188l-.9951823-1.0981657-.9881105 1.1023204z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.4418122 12.7687956v-4.448884h3.7722872v1.02488398h-2.550895v.69569062h2.4900774v1.0078232h-2.4900774v.6833149h2.550895v1.0371713z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m18.1952707 12.7687956 2.087337-2.2270055-2.0874254-2.2217901h1.6156464l1.2754917 1.41003315 1.2791161-1.41003315h1.5461657v.03500552l-2.0428729 2.18678458 2.0428729 2.1638895v.063116h-1.5617237l-1.2981216-1.4241768-1.2847735 1.4241768z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.2373481 2.6319558h2.4460552l.8591381 1.95085083v-1.95085083h3.0198453l.5207514 1.46156906.5225194-1.46156906h2.3059447v5.70139227h-12.1865193z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<g fill=\"#016fd0\">\n\t\t\t<path d=\"m14.7004641 3.25135912-1.9740111 4.44517127h1.3539006l.3724199-.89016575h2.0179447l.3721547.89016575h1.3875801l-1.96579-4.44517127zm.1696353 2.55743646.592-1.41507182.5915581 1.41507182z\" />\n\t\t\t<path d=\"m18.2119779 7.69573481v-4.44508288l1.903116.00654144.9792707 2.73272928.9856354-2.73927072h1.8316022v4.44508288l-1.1786077.01043094v-3.05334807l-1.1125746 3.04291713h-1.0758011l-1.1356464-3.05334807v3.05334807z\" />\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-320.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Diners-Club\"\n\t\t\t\t\t\ttransform=\"translate(280.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M10.0021142,2.05179033 L10.0021142,2.03579033 L14.0021142,2.03579033 L14.0021142,2.05179033 C17.1375481,2.28122918 19.5642283,4.89197286 19.5642283,8.03579033 C19.5642283,11.1796078 17.1375481,13.7903515 14.0021142,14.0197903 L14.0021142,14.0357903 L10.0021142,14.0357903 L10.0021142,14.0197903 C6.86668021,13.7903515 4.44,11.1796078 4.44,8.03579033 C4.44,4.89197286 6.86668021,2.28122918 10.0021142,2.05179033 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#0165AC\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M11.6021142,11.4277903 C13.0374002,10.9175027 13.9961556,9.55908923 13.9961556,8.03579033 C13.9961556,6.51249143 13.0374002,5.15407792 11.6021142,4.64379033 L11.6021142,11.4277903 L11.6021142,11.4277903 Z M9.20211417,4.64379033 C7.76682809,5.15407792 6.80807271,6.51249143 6.80807271,8.03579033 C6.80807271,9.55908923 7.76682809,10.9175027 9.20211417,11.4277903 L9.20211417,4.64379033 L9.20211417,4.64379033 Z M10.4021142,13.2357903 C7.53023347,13.2357903 5.20211417,10.907671 5.20211417,8.03579033 C5.20211417,5.16390963 7.53023347,2.83579033 10.4021142,2.83579033 C13.2739949,2.83579033 15.6021142,5.16390963 15.6021142,8.03579033 C15.6021142,10.907671 13.2739949,13.2357903 10.4021142,13.2357903 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-280.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Discover\"\n\t\t\t\t\t\ttransform=\"translate(240.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.6124138,15.9999283 L21.9972414,15.9999283 C22.5240217,16.0043364 23.0309756,15.7992919 23.4065697,15.4299059 C23.7821638,15.06052 23.9956285,14.5570537 24,14.0302731 L24,11.6716524 C20.4561668,13.7059622 16.6127929,15.1667795 12.6124138,15.9999283 L12.6124138,15.9999283 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M23.1724138,9.29647999 L22.32,9.29647999 L21.36,8.03027309 L21.2689655,8.03027309 L21.2689655,9.29647999 L20.5737931,9.29647999 L20.5737931,6.1516524 L21.6,6.1516524 C22.4027586,6.1516524 22.8662069,6.48268688 22.8662069,7.07854895 C22.8662069,7.56682481 22.5765517,7.88130757 22.0551724,7.98061792 L23.1724138,9.29647999 Z M22.1462069,7.10337654 C22.1462069,6.79716964 21.9144828,6.63992826 21.4841379,6.63992826 L21.2689655,6.63992826 L21.2689655,7.5916524 L21.4675862,7.5916524 C21.9144828,7.5916524 22.1462069,7.42613516 22.1462069,7.10337654 L22.1462069,7.10337654 Z M18.1406897,6.1516524 L20.1103448,6.1516524 L20.1103448,6.68130757 L18.8358621,6.68130757 L18.8358621,7.38475585 L20.0606897,7.38475585 L20.0606897,7.92268688 L18.8358621,7.92268688 L18.8358621,8.77510068 L20.1103448,8.77510068 L20.1103448,9.30475585 L18.1406897,9.30475585 L18.1406897,6.1516524 Z M15.9062069,9.37923861 L14.4,6.14337654 L15.1613793,6.14337654 L16.1131034,8.26199723 L17.0731034,6.14337654 L17.817931,6.14337654 L16.2951724,9.37923861 L15.9227586,9.37923861 L15.9062069,9.37923861 Z M9.60827586,9.37096274 C8.54896552,9.37096274 7.72137931,8.65096274 7.72137931,7.71579033 C7.72137931,6.8054455 8.56551724,6.06889378 9.62482759,6.06889378 C9.92275862,6.06889378 10.1710345,6.12682481 10.4772414,6.25923861 L10.4772414,6.98751447 C10.2453534,6.75969251 9.93335245,6.63192067 9.60827586,6.6316524 C8.9462069,6.6316524 8.44137931,7.1116524 8.44137931,7.71579033 C8.44137931,8.35303171 8.93793103,8.80820412 9.64137931,8.80820412 C9.95586207,8.80820412 10.1958621,8.70889378 10.4772414,8.46061792 L10.4772414,9.18889378 C10.1627586,9.32130757 9.89793103,9.37096274 9.60827586,9.37096274 L9.60827586,9.37096274 Z M7.5062069,8.33647999 C7.5062069,8.94889378 7.00137931,9.37096274 6.27310345,9.37096274 C5.74344828,9.37096274 5.36275862,9.18889378 5.04,8.77510068 L5.49517241,8.38613516 C5.65241379,8.66751447 5.91724138,8.80820412 6.24827586,8.80820412 C6.56275862,8.80820412 6.7862069,8.6178593 6.7862069,8.36958343 C6.7862069,8.22889378 6.72,8.12130757 6.57931034,8.03854895 C6.42504922,7.96369158 6.26441119,7.90275992 6.09931034,7.85647999 C5.44551724,7.64958343 5.22206897,7.42613516 5.22206897,6.98751447 C5.22206897,6.47441102 5.70206897,6.0854455 6.33103448,6.0854455 C6.72827586,6.0854455 7.08413793,6.20958343 7.38206897,6.44130757 L7.01793103,6.85510068 C6.87360928,6.69688076 6.66932728,6.60675635 6.45517241,6.60682481 C6.15724138,6.60682481 5.94206897,6.75579033 5.94206897,6.95441102 C5.94206897,7.11992826 6.0662069,7.21096274 6.48,7.3516524 C7.27448276,7.59992826 7.5062069,7.8316524 7.5062069,8.34475585 L7.5062069,8.33647999 Z M4.08827586,6.1516524 L4.78344828,6.1516524 L4.78344828,9.30475585 L4.08827586,9.30475585 L4.08827586,6.1516524 Z M1.8537931,9.30475585 L0.827586207,9.30475585 L0.827586207,6.1516524 L1.8537931,6.1516524 C2.97931034,6.1516524 3.75724138,6.79716964 3.75724138,7.72406619 C3.75724138,8.19579033 3.52551724,8.64268688 3.12,8.94061792 C2.77241379,9.18889378 2.38344828,9.30475585 1.84551724,9.30475585 L1.8537931,9.30475585 Z M2.66482759,6.9378593 C2.43310345,6.75579033 2.16827586,6.68958343 1.71310345,6.68958343 L1.52275862,6.68958343 L1.52275862,8.77510068 L1.71310345,8.77510068 C2.16,8.77510068 2.44137931,8.69234206 2.66482759,8.52682481 C2.90482759,8.32820412 3.04551724,8.03027309 3.04551724,7.72406619 C3.04551724,7.4178593 2.90482759,7.12820412 2.66482759,6.9378593 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#000000\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.4137931,6.06889378 C11.5034483,6.06889378 10.7586207,6.79716964 10.7586207,7.69923861 C10.7586207,8.65923861 11.4703448,9.37923861 12.4137931,9.37923861 C13.3406897,9.37923861 14.0689655,8.65096274 14.0689655,7.72406619 C14.0689655,6.79716964 13.3489655,6.06889378 12.4137931,6.06889378 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g id=\"Group-2\">\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#B3131B\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"2\"\n\t\t\t/>\n\t\t\t<g\n\t\t\t\tid=\"Hipercard_logo\"\n\t\t\t\ttransform=\"translate(2.000000, 6.000000)\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tfillRule=\"nonzero\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\td=\"M4.45845797,4.72911206 L4.71934477,4.72911206 L4.72670967,4.71021617 C4.73076043,4.69982332 4.73407456,4.67539055 4.73407456,4.65592007 C4.73407456,4.63644958 4.74267391,4.56566228 4.75318417,4.49861521 C4.76369454,4.43156695 4.78836018,4.27726169 4.80799675,4.15571305 C4.82763331,4.0341644 4.85703646,3.85139347 4.87333717,3.74955542 C4.88963776,3.64771736 4.90953167,3.51735868 4.91754595,3.45986946 C4.92556023,3.40238023 4.93534271,3.3553436 4.93928464,3.3553436 C4.94322668,3.3553436 4.96009268,3.38074637 4.9767648,3.41179473 L5.0070776,3.46824705 L5.07434118,3.5349692 L5.14160488,3.60169134 L5.22440039,3.63432372 L5.30719578,3.66695609 L5.40587279,3.67955056 L5.5045498,3.69214384 L5.62980554,3.68457856 L5.75506139,3.67701327 L5.8906751,3.64246001 L6.02628894,3.60790675 L6.09908975,3.57519075 C6.13913019,3.55719677 6.21011098,3.51796553 6.25682484,3.48801021 L6.34175912,3.43354447 L6.42095111,3.35561954 C6.46450662,3.31276155 6.5259323,3.24403729 6.55745263,3.20290069 C6.58897283,3.16176409 6.61476215,3.12510239 6.61476215,3.12143264 C6.61476215,3.11776169 6.63024834,3.09228724 6.64917582,3.06482382 C6.66810343,3.0373592 6.70683989,2.96113177 6.73525696,2.8954298 C6.76367415,2.82972783 6.80808531,2.71146429 6.83394853,2.63262192 L6.88097263,2.48927217 L6.90527961,2.36510142 C6.91864839,2.29680721 6.93584673,2.18391928 6.94349809,2.11423935 L6.95740984,1.98754804 L6.9493753,1.88003572 L6.94134076,1.77252341 L6.91602234,1.66501109 L6.89070392,1.55749878 L6.84971924,1.47700311 L6.80873457,1.39650745 L6.72956721,1.31388424 L6.65039973,1.23125983 L6.55674682,1.18360201 L6.4630938,1.13594299 L6.35995932,1.11163207 L6.25682484,1.08732115 L6.15369036,1.07986696 L6.05055588,1.07241397 L5.93566831,1.0854122 L5.82078075,1.09840925 L5.7270093,1.12198192 L5.63323773,1.1455534 L5.55177641,1.18267501 C5.50697261,1.2030916 5.44177912,1.23776791 5.40690207,1.25973387 C5.3720249,1.28169983 5.33604735,1.30697239 5.32695174,1.31589472 C5.31785613,1.32481824 5.29608043,1.34134766 5.27856116,1.3526257 L5.24670802,1.37313308 L5.26898276,1.26820942 C5.28123392,1.21050159 5.29147275,1.15656744 5.2917358,1.14835469 L5.29221386,1.13342243 L5.06976516,1.13342243 L4.84731634,1.13342243 L4.80831003,1.37532513 C4.78685648,1.50837162 4.75298372,1.71398893 4.73303727,1.83225247 C4.7130907,1.95051602 4.68301183,2.12791134 4.66619545,2.22646429 C4.64937895,2.32501725 4.61938307,2.49972476 4.59953794,2.61470321 C4.5796928,2.72968165 4.54689191,2.91245259 4.52664697,3.02086084 C4.50640216,3.12926909 4.47674372,3.28784975 4.46073931,3.37326231 C4.44473502,3.45867488 4.41461296,3.61994335 4.39380151,3.7316367 C4.37299019,3.84333005 4.33954562,4.02072536 4.31948026,4.12584852 C4.29941502,4.23097167 4.26676167,4.39761576 4.24691738,4.49616871 C4.2270731,4.59472167 4.20785211,4.68745104 4.20420394,4.70223398 L4.19757093,4.72911206 L4.45845773,4.72911206 L4.45845797,4.72911206 Z M5.58158434,3.34795511 L5.48028286,3.35395071 L5.41406652,3.34244331 L5.34785018,3.33093472 L5.28059837,3.30070464 L5.21334656,3.27047457 L5.16636177,3.22630134 L5.11937709,3.18212931 L5.09225746,3.12240025 C5.07734166,3.08954926 5.0581828,3.0337432 5.04968233,2.99838718 L5.03422684,2.93410437 L5.04041916,2.8311458 L5.04661147,2.72818843 L5.07787505,2.56691995 C5.09507,2.47822229 5.12594421,2.31157821 5.14648436,2.19659976 C5.1670245,2.08162131 5.19812318,1.9131519 5.21559259,1.82222277 L5.24735509,1.6568975 L5.3169102,1.5999088 C5.35516545,1.56856538 5.41576424,1.52655673 5.45157423,1.50655705 L5.51668327,1.470194 L5.60161755,1.44430981 L5.68655183,1.41842563 L5.79575304,1.41211346 L5.90495426,1.40580129 L5.99387134,1.42445946 L6.08278843,1.44311762 L6.1455397,1.47157016 L6.20829096,1.50002269 L6.2609103,1.55210763 L6.31352963,1.60419138 L6.34191746,1.65934519 C6.3575308,1.68968039 6.37946059,1.74905705 6.39065044,1.79129506 L6.41099548,1.86808991 L6.40476348,2.09506035 L6.39853137,2.32203079 L6.36736983,2.45618705 C6.35023095,2.52997394 6.31760514,2.64286188 6.29486799,2.70704912 L6.25352781,2.82375493 L6.20290006,2.91822719 C6.17505485,2.9701879 6.1321162,3.04040419 6.10748089,3.07426459 C6.08284558,3.10812381 6.04357913,3.15198525 6.0202222,3.17173287 C5.99686528,3.19148049 5.95774892,3.22234369 5.93329695,3.24031617 L5.8888387,3.27299275 L5.7858622,3.30747553 L5.6828857,3.34195951 L5.58158434,3.34795511 Z M8.10111202,3.67635864 L8.23458018,3.67786023 L8.36804833,3.665875 C8.44145581,3.6592833 8.56157715,3.64555995 8.63498463,3.63537973 C8.70839211,3.62519831 8.83520336,3.60240928 8.91678734,3.58473665 L9.06512179,3.5526048 L9.07250973,3.498771 C9.07657311,3.4691621 9.093232,3.38101873 9.10952955,3.3028967 L9.1391613,3.16085621 L9.1326233,3.1544198 L9.12608543,3.1479822 L9.0807372,3.1695444 C9.05579576,3.181403 8.97811171,3.20969069 8.90810597,3.23240685 L8.78082285,3.27370711 L8.6472364,3.29918394 L8.51364995,3.32466077 L8.30131425,3.32506693 L8.08897856,3.32547309 L8.01617775,3.30258252 C7.9761373,3.28999283 7.91724557,3.26695772 7.88530737,3.25139472 L7.82723768,3.22309628 L7.7793106,3.18046765 L7.73138352,3.13783782 L7.69398963,3.07349051 L7.65659562,3.00914319 L7.63315109,2.92843011 L7.60970656,2.84771703 L7.60953911,2.69835615 L7.60937167,2.54899526 L7.63018579,2.41575047 L7.65099978,2.28250449 L7.83358895,2.27410658 L8.01617823,2.26570748 L8.69111697,2.26997453 L9.3660557,2.27424157 L9.38643459,2.18913124 C9.39764288,2.14232038 9.41477886,2.04555929 9.42451439,1.97410661 L9.44221542,1.84419231 L9.44258913,1.73490963 L9.44296284,1.62562694 L9.42374501,1.54404301 L9.40452717,1.46245909 L9.37275132,1.40843654 C9.35527451,1.37872491 9.32448062,1.33566504 9.3043205,1.31274938 C9.28416037,1.28983373 9.24816377,1.25752509 9.22432794,1.24095266 C9.20049222,1.22438023 9.15368992,1.19652977 9.12032288,1.17906499 L9.05965554,1.14730824 L8.95365525,1.12215633 L8.84765497,1.09700442 L8.71705262,1.08471099 L8.58645027,1.07241636 L8.46511559,1.08019547 L8.34378091,1.08797458 L8.19817929,1.11550012 L8.05257767,1.14302686 L7.96157665,1.17884877 C7.9115261,1.198551 7.83508525,1.23447922 7.7917081,1.2586898 C7.74833095,1.28290038 7.68827028,1.32231081 7.65823994,1.34626814 C7.62820961,1.37022427 7.57621515,1.4167998 7.54269681,1.44976786 C7.50917834,1.48273591 7.45959784,1.54196325 7.43251788,1.58138443 C7.40543792,1.62080561 7.36392374,1.69068862 7.34026433,1.73668 C7.31660479,1.78267138 7.28577559,1.84717876 7.27175488,1.88002975 C7.25773417,1.91288073 7.23225571,1.98007593 7.21513599,2.02935241 C7.1980164,2.07862889 7.17110667,2.17270216 7.15533656,2.23840413 C7.13956645,2.3041061 7.11795686,2.41225991 7.10731533,2.47874552 L7.08796742,2.59963476 L7.08814699,2.77739681 L7.08832657,2.95515887 L7.10676835,3.03280665 C7.11691132,3.07551293 7.13630473,3.14002032 7.14986473,3.1761564 C7.16342485,3.21229249 7.18849963,3.26604864 7.20558671,3.29561453 C7.22267367,3.32518042 7.2591652,3.37278329 7.28667905,3.40139948 C7.31419278,3.43001568 7.36400431,3.47343751 7.39737135,3.49789178 C7.43073838,3.52234606 7.49013972,3.55674044 7.52937438,3.57432587 L7.60070995,3.60629765 L7.70017273,3.62996947 C7.75487732,3.64298921 7.83743756,3.65841484 7.88363999,3.66425037 C7.92984242,3.6700847 8.02770503,3.67553319 8.10111251,3.67635864 L8.10111202,3.67635864 Z M8.32965888,1.99352094 C7.99374575,1.99352094 7.71890777,1.99115328 7.71890777,1.98826001 C7.71890777,1.98536673 7.73323995,1.94370571 7.75075703,1.89567996 C7.76827412,1.84765421 7.79903902,1.77617166 7.81912342,1.73682932 L7.85564031,1.66529779 L7.93590903,1.58670271 L8.01617775,1.50810762 L8.09504529,1.47097884 C8.13842244,1.45055747 8.19575308,1.42832273 8.22244671,1.42156738 C8.24914034,1.41481202 8.32558119,1.40585027 8.39231526,1.40165251 L8.51364995,1.39401794 L8.60682685,1.40580726 L8.70000364,1.41759659 L8.76771701,1.44811814 L8.8354305,1.4786385 L8.87257529,1.51806804 C8.89300502,1.53975447 8.9173507,1.5716916 8.92667697,1.58903811 L8.94363374,1.62057745 L8.95483159,1.69057752 L8.96602945,1.76057759 L8.95321966,1.87704927 L8.94040987,1.99352094 L8.32965888,1.99352094 Z M11.959629,3.67642315 L12.0931723,3.67788054 L12.2447655,3.66019237 C12.328143,3.6504637 12.4391291,3.63434164 12.4914025,3.62436569 C12.5436771,3.61438974 12.628308,3.59458597 12.6794712,3.58035851 C12.7306357,3.56612985 12.7769248,3.55074723 12.7823351,3.54617318 C12.7877455,3.54159912 12.8022037,3.48738425 12.8144634,3.42569488 C12.826723,3.3640055 12.8421665,3.28127956 12.8487817,3.24185837 C12.8553968,3.20243719 12.858816,3.16807267 12.8563809,3.16549477 C12.8539445,3.16291567 12.8449948,3.16624735 12.8364917,3.1728952 C12.8279885,3.17954304 12.7684545,3.20420995 12.7041944,3.22770736 L12.5873588,3.27043156 L12.420981,3.302168 L12.2546045,3.33390325 L12.1131465,3.32915121 L11.9716884,3.32439797 L11.8913406,3.29696441 L11.8109916,3.26953085 L11.7489046,3.21605781 L11.6868164,3.16258596 L11.6456318,3.08873695 L11.6044472,3.01488793 L11.5848322,2.91609248 L11.5652172,2.81729702 L11.5653386,2.68912203 L11.5654599,2.56094705 L11.5892961,2.40565148 L11.6131335,2.25035592 L11.6383541,2.16673523 C11.6522263,2.12074385 11.6679222,2.06698769 11.6732342,2.0472771 C11.678545,2.02756651 11.7007978,1.97112254 11.722683,1.92184607 C11.7445681,1.87256959 11.7836087,1.79641025 11.8094409,1.75260257 L11.8564059,1.67295267 L11.9140896,1.61410998 L11.9717721,1.5552673 L12.0328581,1.51796531 L12.0939452,1.48066331 L12.172393,1.45687442 C12.2155396,1.44379137 12.2917924,1.42680322 12.3418429,1.41912326 L12.4328439,1.40516219 L12.5663121,1.41175628 L12.6997802,1.41835037 L12.8575153,1.44943457 L13.0152504,1.48051877 L13.0794061,1.50407591 C13.1146915,1.51703353 13.145104,1.52763425 13.1469871,1.52763425 C13.1488715,1.52763425 13.1573345,1.48328542 13.1657928,1.42908129 C13.1742522,1.37487717 13.1893087,1.28569809 13.1992508,1.23090743 C13.209193,1.17611557 13.2149333,1.12892841 13.2120067,1.12604708 C13.2090789,1.12316575 13.1616662,1.11575337 13.1066446,1.109575 C13.0516217,1.10339663 12.9020779,1.09242679 12.7743246,1.08519718 L12.5420452,1.0720532 L12.3782433,1.08442906 L12.2144415,1.09680493 L12.0931068,1.12190786 L11.9717721,1.14701198 L11.8936314,1.17778201 C11.8506546,1.19470683 11.787705,1.2252463 11.7537446,1.24564856 C11.7197843,1.26605201 11.6765552,1.29349632 11.6576803,1.30663671 C11.6388043,1.3197771 11.5815404,1.37104495 11.5304257,1.42056632 L11.4374894,1.5106043 L11.3856128,1.58542809 C11.3570809,1.62658022 11.3077232,1.71239058 11.2759299,1.77611671 L11.2181236,1.89198153 L11.1738182,2.01741257 C11.1494494,2.08639964 11.1154271,2.19928757 11.098211,2.26827464 L11.0669102,2.39370567 L11.0555485,2.50719089 L11.0441879,2.62067611 L11.0443092,2.76999877 L11.0444306,2.91932143 L11.0558894,3.0061878 L11.0673483,3.09305536 L11.1036916,3.18241243 L11.1400338,3.27176949 L11.1820095,3.33637364 L11.2239841,3.4009766 L11.2907327,3.46565123 L11.3574813,3.53032586 L11.4280836,3.56706401 L11.4986858,3.60380216 L11.591451,3.6291691 C11.642471,3.64312061 11.7161818,3.65913278 11.7552528,3.6647509 C11.7943226,3.67037021 11.8863841,3.67562278 11.9598316,3.67642315 L11.959629,3.67642315 Z M13.9555105,3.67201037 L14.1193123,3.66738973 L14.2224468,3.64140161 L14.3255813,3.6154123 L14.3923154,3.5843508 C14.4290191,3.56726709 14.4890798,3.53354287 14.5257835,3.50940874 C14.5624872,3.48527462 14.6192998,3.43939314 14.6520322,3.40745004 C14.6847659,3.37550574 14.7333071,3.32100536 14.7599012,3.28633861 C14.7864953,3.25167066 14.8098571,3.22488337 14.8118155,3.22681143 C14.8137726,3.22873948 14.8076537,3.2839817 14.7982163,3.34957257 C14.7887801,3.41516345 14.7809516,3.50242641 14.7808217,3.54349015 L14.7805912,3.61815148 L15.003278,3.61815148 L15.2259647,3.61815148 L15.2327728,3.44792364 L15.2395797,3.27769581 L15.2713548,3.05669828 C15.2888318,2.93514963 15.3170592,2.75506651 15.3340824,2.65651355 C15.3511044,2.55796059 15.3806943,2.39131651 15.3998373,2.28619336 C15.4189803,2.1810702 15.4493055,2.01711392 15.4672278,1.92184607 L15.4998135,1.74863178 L15.5009055,1.59901287 L15.5019975,1.44939515 L15.4676343,1.38024561 L15.4332723,1.31109728 L15.3866749,1.26705665 L15.3400776,1.22301602 L15.2635748,1.18484915 L15.1870721,1.14668347 L15.0730551,1.12171553 L14.9590393,1.09674639 L14.8020602,1.08498574 L14.645081,1.07322389 L14.4428707,1.08554122 C14.3316553,1.09231569 14.1751408,1.10569261 14.0950599,1.11526718 L13.9494583,1.13267701 L13.8502272,1.13304733 L13.750996,1.13341765 L13.7365584,1.20210607 C13.7286171,1.2398847 13.7065499,1.32964076 13.687521,1.40156411 C13.6684909,1.47348627 13.6546854,1.53406946 13.6568415,1.53619223 C13.6589976,1.538315 13.7120682,1.52645639 13.7747764,1.50983976 C13.8374846,1.49322194 13.9706919,1.4658947 14.070793,1.44911203 L14.252795,1.41859765 L14.4165969,1.411951 L14.5803987,1.40530435 L14.6859089,1.42351335 L14.7914191,1.44172116 L14.8618442,1.47594352 L14.9322693,1.51016469 L14.971703,1.56803021 L15.0111368,1.62589572 L15.0105787,1.7171259 L15.0100205,1.80835607 L14.989117,1.90846915 L14.9682134,2.00858342 L14.5316331,2.01013398 L14.0950539,2.01168455 L13.9521677,2.05025639 C13.8735792,2.07147095 13.786558,2.09963679 13.7587857,2.11284647 C13.7310146,2.12605735 13.7032351,2.13686592 13.6970543,2.13686592 C13.6908735,2.13686592 13.6441232,2.16238934 13.5931651,2.19358344 L13.5005139,2.25030097 L13.4275457,2.32200093 C13.387413,2.36143645 13.3361406,2.42057897 13.3136063,2.45342996 C13.2910733,2.48628094 13.2544617,2.55490844 13.232249,2.60593498 L13.1918603,2.69871094 L13.173324,2.80304089 L13.1547877,2.90737084 L13.1547877,3.01681838 L13.1547877,3.12626711 L13.1724965,3.21739215 L13.1902065,3.3085184 L13.2230615,3.3679524 C13.2411331,3.40064092 13.2742951,3.44852332 13.2967566,3.47435973 L13.3375954,3.52133305 L13.4101681,3.56473577 L13.4827396,3.60813849 L13.5658078,3.63128231 C13.6114963,3.64401177 13.6810332,3.65942187 13.720336,3.66552618 L13.7917948,3.67662623 L13.9555966,3.67200559 L13.9555105,3.67201037 Z M14.1071788,3.33797677 L14.0101111,3.34295937 L13.9458219,3.32683969 C13.9104626,3.31797351 13.8568096,3.2982008 13.8265924,3.2829006 L13.771652,3.25508 L13.7416666,3.21999634 C13.7251748,3.20069908 13.6999809,3.16278307 13.6856804,3.13573655 L13.6596808,3.08656281 L13.6545823,2.97172771 L13.649485,2.85689381 L13.6700525,2.78723658 C13.6813657,2.74892516 13.7079052,2.68244671 13.7290308,2.6395051 L13.7674417,2.56143085 L13.840996,2.48951348 L13.9145503,2.4175973 L13.9926644,2.38056886 L14.0707784,2.34354042 L14.1678462,2.3208398 L14.2649139,2.29813917 L14.5682506,2.29813917 L14.8715874,2.29813917 L14.8907789,2.30595173 L14.9099692,2.31376429 L14.8938183,2.40749114 C14.8849342,2.4590409 14.8637479,2.55228633 14.8467356,2.61470321 C14.8297232,2.67712008 14.7996905,2.76887348 14.7799954,2.81860031 C14.7603004,2.86832714 14.7441859,2.91229012 14.7441859,2.91629675 C14.7441859,2.92030338 14.7242458,2.95653742 14.6998745,2.99681631 L14.6555643,3.07005131 L14.5828035,3.14102257 C14.5427861,3.18005671 14.5056371,3.21199384 14.5002523,3.21199384 C14.4948674,3.21199384 14.4703372,3.22543885 14.4457427,3.24187151 L14.4010235,3.27174799 L14.3026357,3.30237108 L14.2042466,3.33299417 L14.1071788,3.33797677 Z M18.0566228,3.67628099 L18.1718907,3.67771091 L18.281092,3.66026166 C18.3411526,3.65066439 18.4175935,3.63520412 18.4509605,3.6259067 C18.4843276,3.61660808 18.5443882,3.59247515 18.5844287,3.57227836 L18.6572295,3.53555693 L18.7198576,3.48128471 L18.7824857,3.4270125 L18.8484444,3.34040775 C18.8847223,3.29277621 18.9175725,3.24574076 18.9214467,3.23588547 L18.9284889,3.21796675 L18.922364,3.27769581 C18.9189945,3.3105468 18.9114402,3.36430295 18.9055761,3.39715394 C18.8997132,3.43000492 18.8913059,3.49316841 18.8868942,3.53751724 L18.8788715,3.61815148 L19.1168877,3.61815148 L19.3549039,3.61815148 L19.3549039,3.53751724 L19.3549039,3.456883 L19.391166,3.15226478 C19.411111,2.98472475 19.4406038,2.7616367 19.4567061,2.65651355 C19.4728085,2.5513904 19.4976627,2.40087316 19.5119389,2.32203079 C19.5262139,2.24318843 19.5514964,2.10073461 19.5681205,2.00546676 C19.5847433,1.9101989 19.6147725,1.74355481 19.6348497,1.63514656 C19.654927,1.52673831 19.68706,1.35471861 19.7062552,1.25288055 C19.7254515,1.1510425 19.7552865,0.992461836 19.7725549,0.900479078 C19.7898244,0.80849632 19.8207636,0.647227848 19.841308,0.542104696 C19.8618536,0.436981544 19.8918657,0.289152111 19.9080008,0.213594845 C19.9241371,0.13803758 19.9373165,0.0721862871 19.9372885,0.0672586394 L19.9372886,0.0582992798 L19.6776105,0.0582992798 L19.4179324,0.0582992798 L19.4102629,0.132960609 C19.4060453,0.174024341 19.386167,0.309758638 19.3660873,0.434592381 C19.3460089,0.559426124 19.3132764,0.758323906 19.2933496,0.876587452 C19.2734228,0.994850998 19.2542119,1.109532 19.2506592,1.13143345 L19.2442006,1.17125601 L19.2237071,1.16267653 C19.2124364,1.15795674 19.1513431,1.14127321 19.0879458,1.12560031 L18.9726778,1.09710477 L18.8149427,1.08501083 L18.6572076,1.07291569 L18.5237395,1.08516015 L18.3902713,1.09740461 L18.2689366,1.12760004 L18.147602,1.15779547 L18.032334,1.21314639 L17.9170661,1.26849731 L17.8321318,1.33040529 L17.7471975,1.39231447 L17.6738471,1.46974245 C17.6335045,1.51232808 17.5752238,1.58276537 17.5443344,1.62626963 L17.488171,1.70537002 L17.4222183,1.84048553 C17.3859453,1.91479923 17.3418026,2.01323153 17.3241241,2.05922291 C17.3064456,2.10521429 17.2752675,2.20716464 17.2548384,2.28577884 L17.2176966,2.42871287 L17.1993969,2.61428869 L17.1810984,2.7998633 L17.1948396,2.94918596 L17.2085795,3.09850862 L17.224825,3.15226478 C17.2337589,3.18183067 17.2525985,3.23450692 17.2666891,3.26932419 L17.2923089,3.33262744 L17.3390179,3.39487707 L17.3857281,3.45712789 L17.4390608,3.5001364 L17.4923947,3.54314491 L17.5651955,3.57873388 C17.6052359,3.59830709 17.6724044,3.62360354 17.714459,3.63494729 C17.7565136,3.64629103 17.8247643,3.65990926 17.8661273,3.66521081 C17.9074903,3.67051236 17.9932036,3.67549377 18.056601,3.67628099 L18.0566228,3.67628099 Z M18.2635057,3.33735678 L18.1718907,3.34214706 L18.1100549,3.33118916 C18.0760448,3.3251625 18.0216226,3.30900698 17.989117,3.29528841 L17.9300149,3.27034555 L17.8802835,3.23022554 L17.830552,3.19010433 L17.7935947,3.12041485 L17.7566361,3.05072537 L17.7397949,2.97307759 L17.7229524,2.8954298 L17.7243805,2.74013424 L17.7258074,2.58483867 L17.7453666,2.44746183 L17.7649257,2.31008498 L17.7953249,2.21451848 C17.8120436,2.1619569 17.8258042,2.11236625 17.8259049,2.10431836 C17.8260262,2.09627046 17.8425132,2.05326554 17.8625892,2.00875185 C17.8826665,1.96423817 17.9162082,1.89556528 17.9371288,1.8561441 C17.9580481,1.81672291 17.9971506,1.75526768 18.0240226,1.71957718 C18.0508934,1.68388667 18.0987648,1.63013051 18.1304016,1.60011905 C18.1620384,1.57010758 18.2123656,1.53074374 18.2422382,1.51264345 L18.2965536,1.47973512 L18.3919567,1.44723295 L18.4873609,1.41473079 L18.6875631,1.41461133 L18.8877654,1.41461133 L19.0030333,1.44609571 C19.0664307,1.46341117 19.1337447,1.48349327 19.1526184,1.49072169 L19.1869367,1.50386327 L19.1802341,1.53665453 C19.176548,1.55468912 19.1621274,1.63395198 19.1481884,1.71279434 C19.1342495,1.79163671 19.1067842,1.94215395 19.0871522,2.0472771 C19.0675203,2.15240025 19.0373589,2.31098092 19.0201245,2.39967858 C19.0028914,2.48837624 18.9779292,2.60126417 18.9646527,2.65054064 C18.9513763,2.69981712 18.9326471,2.76806952 18.9230301,2.80221304 C18.9134143,2.83635657 18.890516,2.89548834 18.872146,2.93361698 C18.8537759,2.97174563 18.8216307,3.02713239 18.8007126,3.05669828 C18.7797957,3.08626416 18.7444145,3.12722038 18.7220889,3.14771103 C18.6997633,3.16820288 18.6514661,3.2046173 18.6147623,3.22863316 L18.5480283,3.2722975 L18.4515745,3.30243201 L18.3551207,3.33256771 L18.2635057,3.33735798 L18.2635057,3.33735678 Z M0.406035224,3.61815148 L0.700846957,3.61815148 L0.721999232,3.48973399 C0.733631588,3.41910437 0.756352721,3.28337007 0.772489021,3.18810222 C0.78862532,3.09283436 0.818658081,2.91543904 0.839229163,2.7938904 C0.859799032,2.67234175 0.890636242,2.49225862 0.907755352,2.39370567 C0.924874463,2.29515271 0.952074059,2.14227379 0.968198225,2.05397392 C0.984323604,1.96567525 1.00057639,1.89041663 1.00431713,1.88673254 L1.01111794,1.88003572 L1.80383747,1.88003572 L2.596557,1.88003572 L2.60535861,1.88869883 L2.61416145,1.89736193 L2.60041544,1.96634661 C2.59285507,2.0042877 2.57049188,2.12134114 2.55072039,2.22646429 C2.53094769,2.33158744 2.49770806,2.50898276 2.47685426,2.62067611 C2.45600047,2.73236946 2.42584638,2.89095012 2.40984597,2.97307759 C2.39384435,3.05520505 2.36146377,3.22722475 2.33788965,3.3553436 C2.31431432,3.48346244 2.29507549,3.59500646 2.29513616,3.60321921 L2.2952575,3.61815148 L2.59128136,3.61815148 L2.88730644,3.61815148 L2.90040452,3.54349015 C2.90760938,3.50242641 2.91920048,3.4285117 2.92616388,3.37923522 C2.93312606,3.32995874 2.9499115,3.22513424 2.96346337,3.14629187 C2.97701646,3.06744951 3.00409472,2.91155665 3.02363688,2.7998633 C3.04317905,2.68816995 3.07588966,2.4973356 3.09632728,2.37578695 C3.11676368,2.25423831 3.14708242,2.07684299 3.16370127,1.98157513 C3.18032,1.88630727 3.2099327,1.7250388 3.22950738,1.62320075 C3.24908194,1.52136269 3.28168651,1.34934299 3.30196202,1.24093474 C3.32223741,1.13252649 3.3526127,0.96857021 3.36946269,0.876587452 C3.3863128,0.784604694 3.41703596,0.617960606 3.43773662,0.506267257 C3.45843729,0.394573908 3.48457667,0.264215227 3.49582403,0.216581299 L3.5162739,0.129974156 L3.21654665,0.129974156 L2.91681989,0.129974156 L2.90866742,0.186716767 C2.9041841,0.217925202 2.88970402,0.305278958 2.87649067,0.380836224 C2.86327611,0.456393489 2.83924092,0.590783883 2.82307672,0.679481542 C2.80691251,0.768179202 2.77737358,0.937511097 2.75743465,1.05577464 C2.73749451,1.17403819 2.7120846,1.33059045 2.7009667,1.40366896 L2.68075113,1.53653985 L2.24076366,1.54530688 L1.80077498,1.55407391 L1.43224272,1.54546337 C1.22954949,1.54072805 1.0625869,1.53591269 1.06121339,1.53476231 C1.05983988,1.53361551 1.06674383,1.4871905 1.07655495,1.43160066 C1.08636486,1.37601082 1.10492543,1.27945999 1.11780025,1.21704312 C1.13067507,1.15462624 1.15508154,1.03098708 1.17203685,0.942289422 C1.18899095,0.853591763 1.20819702,0.74339164 1.21471511,0.697400261 C1.22123321,0.651408882 1.23489429,0.574806358 1.24507305,0.52717243 C1.25525061,0.479538501 1.27456709,0.379202037 1.28799762,0.304203835 C1.30142816,0.229204439 1.31573716,0.159321434 1.3197958,0.148908269 L1.32717538,0.129974156 L1.02986779,0.129974156 L0.732560203,0.129974156 L0.713517938,0.234500018 C0.703043115,0.291989241 0.689078706,0.373967381 0.682484166,0.416673662 C0.675889626,0.459379942 0.653744833,0.596458144 0.633273245,0.721291887 C0.612802871,0.84612563 0.582582041,1.03158437 0.566118138,1.13342243 C0.549653021,1.23526048 0.519668795,1.42071922 0.499487197,1.54555297 C0.479305599,1.67038671 0.446005295,1.86390887 0.4254876,1.97560222 C0.404969905,2.08729557 0.375264748,2.24587624 0.359476679,2.3280037 C0.343687397,2.41013116 0.313600035,2.56602402 0.292613988,2.67443227 C0.271629155,2.78284052 0.241013987,2.93604557 0.224581631,3.01488793 C0.208148062,3.0937303 0.189981833,3.18511576 0.184209942,3.21796675 C0.178439265,3.25081773 0.159657869,3.34556595 0.142475664,3.42851887 C0.125292247,3.51147178 0.111233197,3.58807431 0.111233197,3.5987467 L0.111233197,3.61815148 L0.40604493,3.61815148 L0.406035224,3.61815148 Z M3.6696828,3.61815148 L3.93066933,3.61815148 L3.93803423,3.59925559 C3.94208498,3.58886273 3.94539912,3.56160239 3.94539912,3.53867598 C3.94539912,3.51574958 3.96181061,3.39658174 3.98186905,3.27385882 C4.00192749,3.1511347 4.03506982,2.95127648 4.0555186,2.82972783 C4.07596737,2.70817919 4.10616636,2.53078387 4.12262747,2.43551601 C4.13908859,2.34024816 4.16836313,2.18166749 4.18768216,2.08311454 C4.20700119,1.98456158 4.23665805,1.83135654 4.2535863,1.74265888 C4.27051468,1.65396122 4.3038043,1.48521228 4.32756345,1.3676607 C4.3513226,1.25010912 4.37372499,1.14921121 4.37734671,1.14344138 L4.38393166,1.13295176 L4.1200058,1.13617355 L3.85607993,1.13939533 L3.83409918,1.2946909 C3.82200988,1.38010346 3.79557869,1.54943535 3.77536324,1.670984 C3.75514791,1.79253264 3.72457012,1.97799139 3.70741291,2.08311454 C3.69025558,2.18823769 3.66033444,2.35756959 3.64092138,2.45940764 C3.62150844,2.56124569 3.59175924,2.71713855 3.57481193,2.80583621 C3.55786476,2.89453387 3.52745513,3.05042672 3.50723495,3.15226478 C3.48701476,3.25410283 3.45988239,3.38849323 3.44694071,3.4509101 C3.43399891,3.51332697 3.42009966,3.57649045 3.41605327,3.5912734 L3.40869626,3.61815148 L3.6696828,3.61815148 Z M9.77371379,3.61815148 L10.0327662,3.61815148 L10.0405474,3.5102342 C10.0448257,3.45088023 10.0594866,3.33127278 10.0731246,3.24443986 C10.0867638,3.15760695 10.1146878,2.98442611 10.1351788,2.85959237 C10.155671,2.73475862 10.1937543,2.52697555 10.2198085,2.39785326 C10.2458627,2.26872977 10.2753155,2.14038396 10.2852589,2.11263742 C10.295201,2.08489208 10.3033365,2.05482685 10.3033365,2.04582568 C10.3033365,2.03682332 10.3228132,1.98777501 10.346619,1.9368285 C10.3704237,1.885882 10.4147873,1.80786868 10.4452047,1.76346729 L10.5005078,1.6827351 L10.5745377,1.61525798 L10.6485665,1.54777966 L10.7398538,1.50485597 L10.8311424,1.46193228 L10.9706773,1.46264903 L11.1102122,1.46336577 L11.1788136,1.48354942 C11.216545,1.49465186 11.2506704,1.50373426 11.2546478,1.50373426 C11.2586263,1.50373426 11.2618805,1.49103467 11.2618805,1.47551228 C11.2618805,1.45999108 11.2755307,1.38130521 11.2922142,1.30065544 C11.3088977,1.22000687 11.3225479,1.15061842 11.3225479,1.14646009 C11.3225479,1.14230175 11.2829624,1.12704814 11.2345802,1.11256384 C11.186198,1.09807954 11.1193123,1.08290836 11.0859452,1.07885156 L11.0252779,1.07147502 L10.9464103,1.08520913 C10.9030332,1.09276246 10.8385341,1.10943762 10.8030789,1.12226504 C10.7676249,1.13509245 10.7090846,1.16418528 10.6729899,1.18691816 C10.6368953,1.20964985 10.5807489,1.25394851 10.5482203,1.28535763 C10.5156916,1.31676676 10.4609794,1.3800951 10.4266368,1.42608648 C10.392293,1.47207786 10.356378,1.5204584 10.3468229,1.53359879 L10.3294514,1.55749042 L10.339999,1.50970717 C10.3458012,1.48342638 10.3619594,1.39741653 10.375908,1.31857416 C10.3898566,1.2397318 10.4041729,1.16581708 10.4077208,1.15431924 L10.4141733,1.13341406 L10.1828196,1.13341406 L9.95146594,1.13341406 L9.95146594,1.16220945 C9.95146594,1.1780472 9.93781118,1.27346438 9.92112208,1.37424762 C9.90443298,1.47503205 9.87691282,1.64350027 9.85996613,1.74862342 C9.84301943,1.85374657 9.8129425,2.03651751 9.79312843,2.15478105 C9.77331448,2.2730446 9.74322906,2.44237649 9.72627205,2.53107415 C9.70931504,2.61977181 9.67920475,2.77566467 9.65936022,2.87750272 C9.63951569,2.97934078 9.60656725,3.14598486 9.58614129,3.24782292 C9.56571544,3.34966097 9.54127633,3.46992783 9.53183225,3.515083 C9.52238804,3.56023818 9.51466108,3.6018992 9.51466108,3.60766305 L9.51466108,3.61815148 L9.77371379,3.61814311 L9.77371379,3.61815148 Z M15.9231926,3.61815148 L16.1880687,3.61815148 L16.1880687,3.53834508 L16.1880687,3.4585375 L16.2185916,3.26060494 C16.2353807,3.15174036 16.2630766,2.97934914 16.2801399,2.87751109 C16.2972031,2.77567303 16.3184719,2.64665825 16.3274021,2.59081158 C16.3363336,2.53496491 16.3600011,2.41401355 16.3799983,2.32203079 C16.3999955,2.23004804 16.4249722,2.13059914 16.4355041,2.10103326 C16.4460347,2.07146737 16.4547308,2.04044768 16.4548278,2.03210114 C16.4549492,2.0237546 16.4775041,1.97007848 16.5050034,1.9128222 L16.555003,1.80871922 L16.6209641,1.72243342 L16.6869253,1.63614762 L16.7591146,1.58271997 C16.7988189,1.55333566 16.862664,1.51433975 16.9009912,1.49606385 L16.9706774,1.46283419 L17.1223457,1.46386153 L17.2740141,1.46488886 L17.3337192,1.48376564 L17.3934244,1.50264122 L17.4034867,1.49651779 L17.413549,1.49039556 L17.4140586,1.45227648 C17.4143376,1.43131157 17.4273241,1.35330183 17.4429192,1.27892123 L17.4712752,1.14368388 L17.4393799,1.13139044 C17.4218386,1.12462911 17.3801856,1.1106334 17.3468185,1.10028833 L17.2861512,1.08147964 L17.17695,1.0817544 L17.0677488,1.08202915 L16.9787546,1.11285532 L16.8897605,1.1436803 L16.8229391,1.18334995 L16.7561176,1.22301961 L16.669242,1.3126132 L16.5823676,1.4022068 L16.5356913,1.47170873 C16.5100193,1.50993414 16.4874171,1.53950002 16.4854648,1.5374107 C16.4835113,1.53532018 16.4974648,1.45566431 16.5164719,1.36039645 C16.535479,1.2651286 16.5512658,1.17508703 16.5515534,1.16030409 L16.5520751,1.1334272 L16.327606,1.1334272 L16.1031368,1.1334272 L16.1031368,1.14103908 C16.1031368,1.14522489 16.0919461,1.22182741 16.0782681,1.31126691 C16.0645912,1.40070521 16.0371283,1.57333176 16.0172416,1.6948804 C15.9973536,1.81642905 15.9647218,2.01263902 15.9447271,2.13090257 C15.9247312,2.24916611 15.894588,2.41849801 15.8777419,2.50719567 C15.8608958,2.59589333 15.8309746,2.75178618 15.8112517,2.85362424 C15.7915287,2.95546229 15.7591214,3.11941857 15.7392359,3.21797153 C15.7193504,3.31652448 15.6930086,3.44688316 15.6806992,3.50765749 L15.6583178,3.61815625 L15.9231951,3.61815625 L15.9231926,3.61815148 Z M4.18287366,0.70311036 L4.25654638,0.703373168 L4.31510626,0.683728279 L4.37366602,0.664083389 L4.42549425,0.612324572 L4.47732236,0.56056456 L4.50462182,0.491606161 L4.53192127,0.422646568 L4.5328968,0.32110716 L4.53387233,0.219567752 L4.5096054,0.179918405 L4.48533846,0.140270252 L4.4430896,0.114516275 L4.40084074,0.0887622969 L4.30962145,0.0887622969 L4.21840216,0.0887611023 L4.15629991,0.116134932 L4.09419767,0.143508762 L4.05814865,0.181538257 L4.0220995,0.219567752 L3.99378945,0.285269722 L3.96547928,0.350971692 L3.96012782,0.453313859 L3.95477635,0.555656026 L3.98113328,0.606521296 L4.00749008,0.657385372 L4.05834557,0.680117059 L4.10920094,0.702848746 L4.18287366,0.703111554 L4.18287366,0.70311036 Z\"\n\t\t\t\t\tid=\"path2997\"\n\t\t\t\t/>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import amex from './amex';\nimport dinersclub from './dinersclub';\nimport discover from './discover';\nimport hipercard from './hipercard';\nimport jcb from './jcb';\nimport unionpay from './unionpay';\nimport mastercard from './mastercard';\nimport placeholder from './placeholder';\nimport visa from './visa';\nimport troy from './troy';\n\nexport default {\n\tamex,\n\tdinersclub,\n\tdiscover,\n\thipercard,\n\tjcb,\n\tunionpay,\n\tmastercard,\n\tplaceholder,\n\tvisa,\n\ttroy,\n};\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m.20535714 16h4.51785715c1.0278125 0 2.25892857-1.1946667 2.25892857-2.1333333v-13.8666667h-4.51785715c-1.0278125 0-2.25892857 1.19466667-2.25892857 3.2z\"\n\t\t\tfill=\"#047ab1\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m2.76924107 10.816c-.86733559.0001606-1.73039558-.1147397-2.56388393-.3413333v-1.17333337c.64678874.37770431 1.38610045.59084099 2.14598215.61866667.8696875 0 1.35535714-.576 1.35535714-1.36533333v-3.22133334h2.14598214v3.22133334c0 1.25866666-.70026786 2.26133333-3.0834375 2.26133333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 16h4.51785716c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.02781249 0-2.25892856 1.19466667-2.25892856 3.2z\"\n\t\t\tfill=\"#d42d06\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 6.08c.65508929-.59733333 1.78455357-.97066667 3.61428576-.88533333.9939285.04266666 2.0330357.32 2.0330357.32v1.184c-.5943231-.3394747-1.2623758-.54734656-1.9539732-.608-1.3892411-.11733334-2.23633933.61866666-2.23633933 1.90933333s.84709823 2.0266667 2.23633933 1.92c.6920185-.06606555 1.3596342-.27744592 1.9539732-.61866667v1.17333337s-1.0391072.288-2.0330357.3306666c-1.82973219.0853334-2.95919647-.288-3.61428576-.8853333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.0178571 16h4.5178572c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.0278125 0-2.2589286 1.19466667-2.2589286 3.2z\"\n\t\t\tfill=\"#67b637\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m21.6651786 9.28c0 .8533333-.7002679 1.3866667-1.6377232 1.3866667h-4.0095983v-5.33333337h3.6481697l.2597768.01066667c.8245089.04266667 1.4344196.50133333 1.4344196 1.29066667 0 .61866666-.4179018 1.152-1.1746428 1.28v.032c.8358035.05333333 1.4795982.55466666 1.4795982 1.33333333zm-2.880134-3.104c-.0486104-.00686658-.0976798-.01043129-.1468303-.01066667h-1.3553572v1.344h1.5021875c.2823661-.064.5195536-.30933333.5195536-.672 0-.36266666-.2371875-.608-.5195536-.66133333zm.1694197 2.176c-.059755-.00886168-.1202559-.01243275-.1807143-.01066667h-1.4908929v1.46133334h1.4908929l.1807143-.02133334c.2823661-.064.5195536-.34133333.5195536-.71466666 0-.37333334-.2258929-.64-.5195536-.71466667z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#252525\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<circle cx=\"9\" cy=\"8\" fill=\"#eb001b\" r=\"5\" />\n\t\t<circle cx=\"15\" cy=\"8\" fill=\"#f79e1b\" r=\"5\" />\n\t\t<path\n\t\t\td=\"m12 3.99963381c1.2144467.91220633 2 2.36454836 2 4.00036619s-.7855533 3.0881599-2 4.0003662c-1.2144467-.9122063-2-2.36454837-2-4.0003662s.7855533-3.08815986 2-4.00036619z\"\n\t\t\tfill=\"#ff5f00\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#D8D8D8\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"0.923076923\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tx=\"16.6153846\"\n\t\t\t\ty=\"3.76470588\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"2.82352941\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"6.46153846\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"11.9230769\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"5.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"18.4615385\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g>\n\t\t<path\n\t\t\ttransform=\"scale(0.6)\"\n\t\t\td=\"m33.6 24h-31.2c-1.325 0-2.4-1.075-2.4-2.4v-19.2c0-1.325 1.075-2.4 2.4-2.4h31.2c1.325 0 2.4 1.075 2.4 2.4v19.2c0 1.325-1.075 2.4-2.4 2.4zm-8.689-15.321c-.07-.002-.151-.004-.233-.004-.213 0-.424.01-.632.028l.027-.002c-.01.03.542 1.996 1.066 3.83l.064.224c1.114 3.896 1.114 3.896.937 4.274-.153.313-.392.565-.686.729l-.008.004-.231.116-.994.019c-.96.02-.998.024-1.12.111-.228.164-.315.425-.489 1.467-.09.55-.16.982-.16 1.006.148.031.318.049.492.049.084 0 .167-.004.249-.012l-.01.001c.214 0 .48 0 .812-.006.17.016.367.025.566.025.484 0 .956-.054 1.409-.157l-.043.008c1.072-.313 1.958-.975 2.55-1.852l.01-.016c.197-.286 5.257-9.732 5.257-9.814-.167-.024-.359-.038-.555-.038-.09 0-.178.003-.267.009l.012-.001h-.594l-1.4.011-.266.132c-.149.071-.277.163-.385.274-.067.08-.528 1.088-1.12 2.445-.344.887-.691 1.622-1.083 2.33l.049-.096c-.022-.046-.218-1.266-.378-2.282-.187-1.218-.366-2.27-.4-2.346-.065-.168-.191-.3-.349-.372l-.004-.002c-.151-.08-.223-.08-1.539-.095h-.553zm-3.77.131c-.043 0-.052.027-.062.071-.027.123-.418 2.354-.418 2.386.042.047.092.087.148.117l.003.001c.41.281.69.725.746 1.237l.001.008c.003.04.005.087.005.134 0 .787-.538 1.448-1.266 1.637l-.012.003c-.136.032-.19.067-.203.131-.035.168-.418 2.357-.418 2.39 0 .006.023.015.179.015.07 0 .16 0 .25-.007 1.958-.11 3.55-1.545 3.9-3.417l.004-.026c.026-.2.041-.431.041-.665 0-.321-.028-.636-.082-.942l.005.032c-.291-1.35-1.207-2.439-2.423-2.964l-.027-.01c-.108-.056-.232-.101-.364-.129l-.01-.002zm-16.966-.136c-.167 0-.603 0-.612.008s-.025.13-.058.32l-.137.758c-.104.588-.179 1.074-.167 1.082s.32.012.621.012h.596l-.012.091c0 .026-.037.211-.085.489l-.185 1.058c-.172.615-.271 1.322-.271 2.051 0 .156.005.31.013.464l-.001-.021c.182 1.082 1.114 1.766 2.624 1.925.198.021.466.031.701.031.038.003.081.004.125.004.138 0 .273-.016.403-.046l-.012.002c.022-.027.413-2.182.418-2.306 0-.052-.069-.068-.386-.088-.778-.043-1.126-.297-1.126-.823 0-.16.367-2.381.457-2.763.013-.059.032-.075.433-.075h.606c.053.003.116.004.179.004.174 0 .344-.012.512-.034l-.019.002c.025-.042.378-2 .378-2.099 0-.037-.198-.047-.847-.047h-.846l.107-.609c.195-1.063.149-1.32-.278-1.527-.214-.107-.231-.107-1.152-.123l-.953-.012-.024.111c-.012.064-.096.525-.183 1.03s-.171.96-.183 1.022l-.024.112zm6-.008-.025.111c-.04.186-1.415 8.014-1.415 8.053.294.026.637.042.983.042.135 0 .27-.002.404-.007l-.019.001h1.369l.04-.21c.025-.111.16-.871.302-1.686.14-.8.297-1.6.342-1.75.238-.867.892-1.541 1.727-1.805l.018-.005c.2-.061.43-.096.668-.096.056 0 .111.002.165.006h-.007c.499 0 .53-.005.545-.08.045-.195.452-2.57.445-2.593-.066-.021-.141-.034-.22-.034-.024 0-.048.001-.072.003h.003c-.006 0-.014 0-.021 0-.16 0-.317.013-.47.038l.017-.002c-.622.133-1.164.417-1.603.813l.003-.003c-.292.27-.546.576-.756.912l-.011.019c-.022.056-.054.104-.094.144.015-.157.037-.297.066-.435l-.004.024c.166-.885.076-1.192-.4-1.371-.269-.047-.578-.074-.894-.074-.058 0-.115.001-.173.003h.008zm9.704-.026h-.141c-.236 0-.467.022-.691.064l.023-.004c-1.274.263-2.314 1.086-2.869 2.195l-.011.024c-.272.488-.432 1.07-.432 1.689 0 .051.001.101.003.151v-.007c-.001.041-.002.09-.002.139 0 .262.024.518.069.767l-.004-.026c.249 1.142.939 2.09 1.879 2.674l.018.01c.276.177.595.325.933.427l.027.007c.025-.018.139-.633.247-1.233l.218-1.213-.103-.08c-.27-.187-.487-.434-.635-.721l-.005-.011c-.099-.162-.157-.359-.157-.569 0-.052.004-.103.01-.153l-.001.006c-.006-.044-.009-.095-.009-.147 0-.2.051-.387.14-.551l-.003.006c.228-.47.651-.815 1.161-.931l.011-.002c.08-.008.151-.031.151-.052 0-.054.4-2.314.422-2.394-.015-.056-.07-.064-.249-.064z\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m4.54588254.00006676h5.79377466c.8087588 0 1.3117793.72566459 1.1231113 1.61890981l-2.69741608 12.74856503c-.19036262.8901361-1.00010994 1.6164225-1.80943362 1.6164225h-5.79320976c-.80762905 0-1.31177937-.7262864-1.12311135-1.6164225l2.69854581-12.74856503c.18866803-.89324522.9979917-1.61890981 1.80773904-1.61890981\"\n\t\t\tfill=\"#dd2423\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m9.85756516.00006676h6.66269264c.8086174 0 .4439911.72566459.2537697 1.61890981l-2.6969924 12.74856503c-.1892329.8901361-.1302036 1.6164225-.9405158 1.6164225h-6.66269248c-.81031221 0-1.31177939-.7262864-1.12141672-1.6164225l2.69685116-12.74856503c.19149238-.89324522.99912144-1.61890981 1.8083039-1.61890981\"\n\t\t\tfill=\"#16315e\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.2559813.00006676h5.7937745c.8098886 0 1.3129092.72566459 1.1226878 1.61890981l-2.6969924 12.74856503c-.1903626.8901361-1.0006749 1.6164225-1.8104222 1.6164225h-5.7910915c-.8103122 0-1.3129091-.7262864-1.1231113-1.6164225l2.697416-12.74856503c.1886681-.89324522.9974268-1.61890981 1.8077391-1.61890981\"\n\t\t\tfill=\"#036862\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m6.05901135 4.08561434c-.59580116.00668457-.77175951 0-.8279645-.01461278-.02160646.11301588-.42365577 2.15460824-.42478553 2.15631824-.08656699.4130443-.14955043.7074763-.36349659.89759795-.12144798.1105286-.26323144.1638497-.42760986.1638497-.26421996 0-.41814822-.1444178-.44399122-.41832975l-.00494264-.09405035s.08049458-.55326485.08049458-.55637395c0 0 .42196112-1.86048711.49751306-2.10641713.00395412-.01399096.00508387-.02129736.00607239-.02798193-.82132725.00792821-.9669236 0-.97695012-.01461278-.00550753.02005371-.025843.13540142-.025843.13540142l-.43085788 2.09693437-.03699927.1778407-.07159782.5817131c0 .1725552.03078565.31339755.09207452.4324762.19629382.37760055.75622549.4341862 1.07297875.4341862.40812169 0 .79096525-.09544945 1.04967767-.26971465.44907509-.2921002.56656897-.74867195.67135315-1.15440985l.04857917-.20815445s.43467082-1.93230737.5085281-2.18367833c.00282441-.01399096.00395413-.02129736.00776704-.02798193zm1.47893982 1.55881086c-.10478422 0-.29627659.0279819-.46828081.12078865-.0624186.0352883-.12144796.07601755-.18372539.11659135l.056205-.22338905-.03078563-.03762015c-.36476761.08130305-.44639193.0921849-.78333945.14441785l-.02824374.0206755c-.03911752.3570805-.07385733.6255515-.21888878 1.32743145-.05521646.25867735-.11255121.519842-.17002718.7778975l.01553403.03280105c.34527946-.0200537.45006363-.0200537.75015309-.0146128l.02428961-.0290701c.03812903-.21499445.04307165-.2653619.12752039-.70079175.03968242-.20644445.1224365-.66006255.16324868-.8215804.07498704-.038242.14898558-.07586215.21959486-.07586215.16819135 0 .14771465.1615179.14121858.22587635-.00720213.1080413-.06849101.4609245-.13133325.76390655l-.04194194.19556255c-.02923223.14441785-.06128888.2847938-.09052111.427968l.01270966.02860375c.34033679-.0200537.44413246-.0200537.73476028-.0146128l.0341749-.0290701c.0525333-.3357831.06792611-.42563615.16113038-.9145426l.04688457-.22463265c.09108601-.43962715.13684082-.6625498.06792616-.8441214-.07286879-.2034908-.24769738-.2526146-.40826291-.2526146zm1.65214439.4602871c-.18090101.038242-.29627659.0637366-.41094606.08021485-.11368097.02005375-.22453757.038242-.39936616.06498025l-.01383941.0138355-.01270966.01103735c-.01821719.14332965-.0309269.26722735-.05507525.41288885-.02047669.150636-.05196844.3217921-.10323077.56772215-.03968243.18825615-.06015913.25385825-.08275412.32008215-.0220301.06622385-.04631967.1305823-.09094476.31572935l.01045019.0171001.00875554.01570095c.1633899-.00855005.27029237-.0146128.38016043-.01570095.10972684-.00435275.22340776 0 .39936611.00108815l.01539286-.0138355.01652257-.0152346c.02541932-.1669588.02923224-.21188535.04476626-.29334385.01539282-.0873658.04194194-.20830985.10704369-.53134565.03078568-.1517242.06510179-.30298205.09701718-.4578154.03318641-.1542115.06792612-.30609115.10097127-.45781535l-.00494263-.0183437zm.00385525-.620608c-.1643784-.10679765-.45288796-.07290845-.64706354.0746185-.19361063.14457325-.21564072.34977405-.05182718.4579708.16155403.10384405.45119334.0729085.64367421-.0758621.19318708-.14768235.21733543-.3510177.05521651-.4567272zm.99410809 2.473369c.3325698 0 .6734715-.1008904.9300657-.400297.1974235-.2428209.2879446-.60409865.3192952-.7528692.1021011-.4931037.0225949-.7233328-.0772466-.8635533-.1516687-.21375085-.4197016-.28230655-.697761-.28230655-.1672028 0-.5654392.01818825-.87654364.33391765-.22340786.22774175-.32663863.5367866-.38891601.83308405-.06284224.3018939-.13514621.84536505.31887154 1.0476122.14008884.0662239.34203141.08441215.47223481.08441215zm-.0259841-1.10948335c.0766817-.3734032.1672028-.6868008.3982364-.6868008.1810422 0 .1941755.23318275.1136809.6078296-.0144042.0831685-.0804945.3923688-.1698859.5240393-.0624186.09715945-.1362759.15607695-.2179003.15607695-.0242896 0-.1687562 0-.1710157-.23613635-.0011297-.11659135.0204767-.23567.0468846-.3650087zm2.1066988 1.06146325.0259841-.0290701c.0368581-.21499445.0429305-.2655174.1245549-.70079175.0408121-.20644445.1252608-.66006255.1649433-.82158045.0751282-.0383974.1478558-.07601755.2207245-.07601755.1670616 0 .1467262.1615179.140089.2258763-.0060725.1081968-.0673613.4609245-.1313334.76390655l-.0396824.1955626c-.030362.14457325-.0634071.2847938-.0926394.42812345l.0127097.02860375c.3414665-.02005375.441308-.02005375.7336305-.0146128l.0353047-.0290701c.0512623-.33593855.0651017-.42579165.1611304-.9145426l.0457548-.2247881c.0915096-.43962715.1378292-.66239435.0700444-.84396595-.0749871-.2034908-.2509454-.2526146-.4092515-.2526146-.1049254 0-.2974063.02782645-.468422.12078865-.0611476.0352883-.1224365.0758621-.1825956.11659135l.0523921-.22338905-.0281025-.0377756c-.3646263.0814585-.4479453.09234035-.7844692.1445733l-.025843.0206755c-.0408122.35708045-.0739986.62539605-.21903 1.32743145-.0552164.25867735-.1125512.51984195-.1698859.7778975l.0153928.03280105c.3458442-.02005375.4490751-.02005375.7485997-.0146128zm2.5088186.01453505c.0214652-.1153477.1489856-.7990394.1501153-.7990394 0 0 .1085971-.50165375.1152345-.519842 0 0 .0341748-.0522329.0683497-.07290845h.0502738c.4743532 0 1.0099953 0 1.4298381-.3399804.2856852-.2331827.4809905-.57751585.5681223-.99600105.022595-.1026004.0392588-.22463269.0392588-.34666496 0-.16027425-.0292322-.3188385-.1136809-.44273624-.2140874-.32972035-.6404262-.3357831-1.132573-.33827039-.0015534 0-.2426136.00248729-.2426136.00248729-.629976.00855003-.8826161.00606275-.9864117-.00792821-.0087556.05052291-.0252782.14037599-.0252782.14037599s-.2256673 1.15130077-.2256673 1.15316622c0 0-.5400198 2.4477966-.5654392 2.5631443.5500464-.00730635.7755725-.00730635.8704714.0041973zm.4181482-2.0451678s.2399304-1.14896892.2388007-1.14461618l.0077669-.05891749.0033893-.04492654.0958874.01088185s.4948299.046792.5064099.04803565c.1953052.0831685.2757998.29754113.2195948.57736036-.0512623.2557237-.2019425.4707182-.3955532.5745622-.1594358.0879876-.3547411.095294-.5559775.095294h-.1302035zm1.4938667.99045135c-.0634072.2975411-.136276.8410123.3154822 1.0347094.1440429.0674675.2731167.0875212.4043088.08021485.1385355-.00823915.2669031-.08472305.3858092-.1947853-.0107326.04523745-.0214652.0904749-.0321978.1358678l.0204766.0290701c.324944-.01507915.4257741-.01507915.7778319-.0121255l.0319154-.0267383c.0514036-.332674.0998416-.65570975.2334344-1.2921431.0651017-.30484755.1300622-.6067414.1968587-.9103453l-.0104501-.03342285c-.3634967.0741521-.4606551.09000855-.8103124.1445733l-.026549.0237846c-.0035305.0309356-.0072021.0606275-.0105914.09031945-.0543692-.0966931-.1331691-.17923975-.2547583-.2306954-.1554817-.0673121-.5206729.01943185-.8346018.33407305-.2205834.2246327-.3264973.53243385-.3866564.8276432zm.7634275.01818825c.0778115-.3667187.1672028-.67700715.3988014-.67700715.1464436 0 .2235489.14877055.2078737.40247335-.0124272.06327025-.025843.1299605-.0418008.20535625-.0231597.10897405-.0482967.21701535-.0727275.32521215-.0248545.07399665-.0538043.143796-.0855784.1902771-.0595943.09296215-.2013777.150636-.2830021.150636-.0231599 0-.1660731 0-.1710157-.23193905-.0011298-.11550315.0204767-.23442635.0474494-.36500865zm3.9866711-1.21085565-.0281024-.0352883c-.3596838.08021485-.4247856.09296215-.755237.142086l-.0242897.02673825c-.0011296.00435275-.0021182.01103735-.0038128.0171001l-.0011298-.00606275c-.2460027.6247742-.2388006.4899946-.4390485.98185465-.0011298-.02238555-.0011298-.0363765-.0022595-.06016115l-.0501327-1.0662668-.0314917-.0352883c-.3767711.08021485-.3856679.09296215-.7336305.142086l-.0271139.02673825c-.003813.01274735-.003813.0267383-.0060724.0419729l.0022594.00544095c.0434954.2446864.0330452.19012165.0766818.5762722.0203354.1894998.0474494.3800878.0677848.5672558.0343162.3132421.0535219.4674536.0954638.94547815-.2349878.4268798-.2906279.5883977-.51686.9630446l.0015534.0037309-.1592946.27733195c-.0182171.0292256-.0347397.0492793-.0578996.05782935-.0254193.0138355-.0584644.01632275-.1043605.01632275h-.0882616l-.131192.4803564.4500635.00855005c.26422-.00124365.4302931-.1372669.5196844-.32008215l.283002-.53383295h-.004519l.0297972-.03762015c.1903626-.4511308 1.6384179-3.1855867 1.6384179-3.1855867zm-4.7501128 6.3087581h-.1909276l.7066579-2.57293795h.2344228l.0744221-.265051.0072022.29474295c-.0087556.1821934.121448.3437113.4634794.31697305h.3955532l.1361347-.49543555h-.1488443c-.0855785 0-.1252609-.02378465-.1203182-.0747739l-.0072022-.299873h-.7325008v.00155455c-.2368235.00544095-.9440462.0250283-1.0872418.0670012-.1732752.0491238-.3558709.1936971-.3558709.1936971l.071739-.26536195h-.6851925l-.1427719.52652655-.7161194 2.61226815h-.1389591l-.136276.4918601h1.3647364l-.0457548.1640051h.6724828l.0446251-.1640051h.1886681zm-.5599316-2.0501423c-.1097268.03342285-.313929.1347796-.313929.1347796l.1816071-.65757525h.5443977l-.1313333.47911275s-.1681914.01088185-.2807425.0436829zm.0104502.9394154s-.1710158.0236292-.283567.0516111c-.1108566.0369984-.3187303.1535897-.3187303.1535897l.1875382-.6843135h.5472221zm-.3050322 1.1167897h-.5460922l.158306-.5775158h.5443976zm1.315112-1.5959024h.7871525l-.1131162.4032506h-.7976024l-.1197535.4408708h.6979023l-.5284398.8190931c-.0369994.0601612-.0701858.0814585-.1070437.0984031-.0369994.0206755-.0855785.0449265-.1417835.0449265h-.1936107l-.133028.4828437h.5064098c.2632315 0 .4187131-.131826.5335239-.3048476l.3623669-.5459584.0778115.5543531c.0165225.1038439.0843074.1646269.1302034.1882561.0506975.0279819.1030897.0760176.1770882.0831685.0793648.0037309.1366995.0066846.1748285.0066846h.2488272l.1494092-.5403621h-.0981469c-.0563463 0-.1533633-.0104155-.1698859-.0298474-.0165226-.0236292-.0165226-.0600057-.0254194-.1153477l-.0789412-.5555967h-.3232494l.1417836-.1857688h.796049l.1224365-.4408708h-.7370197l.1148107-.4032506h.7347603l.1362759-.497301h-2.1905826zm-6.6483163 1.7081877.1837253-.6728098h.7550958l.1379705-.5004101h-.7558018l.1153756-.4141325h.7385731l.1368408-.4845537h-1.84798632l-.13401641.4845537h.41984283l-.1119863.4141325h-.42097264l-.13952389.5089601h.41970155l-.24487301.8901361c-.03304514.117835.01553408.1627615.04631971.2174817.03149175.0533211.06340718.0886094.13514621.1086631.07399857.0181883.12469597.0290701.19361067.0290701h.8512656l.1516688-.554353-.3773361.0570521c-.0728688 0-.2746701-.0096382-.25264-.0837903zm.0866093-3.22084395-.1913512.38070965c-.0409534.08316845-.0778114.1347796-.1109978.1585642-.0292322.02005375-.0871318.0284483-.1710157.0284483h-.0998415l-.13345158.48704095h.33158128c.1594357 0 .2818722-.0643584.3403368-.09653765.0628422-.0369983.0793647-.0158564.1279439-.0674675l.1119864-.1067977h1.0354146l.1374057-.50709465h-.7579202l.1323219-.2768656zm1.5286064 3.23062205c-.0176524-.027982-.0049427-.0772612.0220301-.1798616l.283002-1.0311339h1.0067472c.1467262-.0023318.25264-.0041973.3215547-.0096382.0739985-.0085501.1544932-.0376202.2421899-.0898531.0905212-.0547202.1368408-.1123941.1759583-.178618.0436366-.0660684.113681-.2106417.1738401-.4335643l.3557296-1.3048905-1.044735.0066846s-.3216959.0522329-.4633381.10990675c-.1429132.06435845-.3471154.2440646-.3471154.2440646l.0943341-.3577023h-.645369l-.9035164 3.29860265c-.0320566.1280949-.0535218.2210571-.0584645.2768655-.0016946.0601612.0689147.1197005.1146695.164627.0540867.0449266.1340164.0376202.2106981.0449266.0806358.0066846.1953053.0108818.3536113.0108818h.4959597l.1522336-.5658567-.4439912.0461702c-.0474494 0-.0817655-.027982-.0960286-.0516111zm.4876277-1.9074346h1.0574447l-.06722.2319391c-.0094616.0054409-.0320566-.0115037-.1396652.0024873h-.9156612zm.2118279-.77789745h1.0663414l-.0766816.27935285s-.5025969-.0054409-.5830915.01088185c-.3541763.06746755-.5610614.27577745-.5610614.27577745zm.802065 1.78653705c-.0087555.0346665-.0225949.0558084-.0419418.0716648-.0214654.0152346-.0562051.0206755-.1080323.0206755h-.1506803l.0088968-.2824619h-.626728l-.0254193 1.380908c-.0009886.0996467.007767.1573206.0739985.2034908.0662315.0576738.2702923.0649802.5449624.0649802h.392729l.1417834-.5168883-.3418902.0206755-.1136809.0073064c-.0155341-.0073064-.030362-.013991-.0468846-.0321792-.0144043-.015701-.0386939-.0060627-.0347398-.1057095l.0026831-.3539713.3585541-.0163228c.1936107 0 .2763648-.0693331.346974-.1354015.0673612-.0632702.0893913-.1360232.1148107-.2344264l.0601592-.3133975h-.4927118z\"\n\t\t\tfill=\"#fefefe\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-80.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g id=\"Visa\" transform=\"translate(40.000000, 0.000000)\">\n\t\t\t\t\t\t<rect\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t\tx=\"0.25\"\n\t\t\t\t\t\t\ty=\"0.25\"\n\t\t\t\t\t\t\twidth=\"23.5\"\n\t\t\t\t\t\t\theight=\"15.5\"\n\t\t\t\t\t\t\trx=\"2\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M2.78773262,5.91443732 C2.26459089,5.62750595 1.6675389,5.39673777 1,5.23659312 L1.0280005,5.1118821 L3.76497922,5.1118821 C4.13596254,5.12488556 4.43699113,5.23650585 4.53494636,5.63071135 L5.12976697,8.46659052 L5.31198338,9.32072617 L6.97796639,5.1118821 L8.77678896,5.1118821 L6.10288111,11.2775284 L4.30396552,11.2775284 L2.78773262,5.91443732 L2.78773262,5.91443732 Z M10.0999752,11.2840738 L8.39882877,11.2840738 L9.46284763,5.1118821 L11.163901,5.1118821 L10.0999752,11.2840738 Z M16.2667821,5.26277458 L16.0354292,6.59558538 L15.881566,6.53004446 C15.5737466,6.40524617 15.1674138,6.28053516 14.6143808,6.29371316 C13.942741,6.29371316 13.6415263,6.56277129 13.6345494,6.82545859 C13.6345494,7.11441463 13.998928,7.3048411 14.5939153,7.58725177 C15.5740257,8.02718756 16.0286384,8.56556562 16.0218476,9.26818871 C16.0080799,10.5486366 14.8460128,11.376058 13.0610509,11.376058 C12.2978746,11.3694253 11.5627918,11.2180965 11.163808,11.0475679 L11.4018587,9.66204513 L11.6258627,9.76066195 C12.1788958,9.99070971 12.5428092,10.0889775 13.221984,10.0889775 C13.7117601,10.0889775 14.2368857,9.89837643 14.2435835,9.48488392 C14.2435835,9.21565125 14.0198586,9.01850486 13.3617074,8.7164581 C12.717789,8.42086943 11.8568435,7.92848346 11.8707973,7.04197926 C11.8780532,5.84042483 13.0610509,5 14.7409877,5 C15.3990458,5 15.9312413,5.13788902 16.2667821,5.26277458 Z M18.5277524,9.0974856 L19.941731,9.0974856 C19.8717762,8.78889347 19.549631,7.31147374 19.549631,7.31147374 L19.4307452,6.77964104 C19.3467437,7.00942698 19.1998574,7.38373457 19.2069273,7.37055657 C19.2069273,7.37055657 18.6678479,8.74290137 18.5277524,9.0974856 Z M20.6276036,5.1118821 L22,11.2839865 L20.4249023,11.2839865 C20.4249023,11.2839865 20.2707601,10.5748181 20.221922,10.3581228 L18.0377903,10.3581228 C17.9746264,10.5221933 17.6807607,11.2839865 17.6807607,11.2839865 L15.8957988,11.2839865 L18.4226343,5.62399144 C18.5977072,5.22341512 18.9059917,5.1118821 19.3117663,5.1118821 L20.6276036,5.1118821 L20.6276036,5.1118821 Z\"\n\t\t\t\t\t\t\tid=\"Shape\"\n\t\t\t\t\t\t\tfill=\"#171E6C\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","export const DEFAULT_CVC_LENGTH = 3;\nexport const DEFAULT_ZIP_LENGTH = 5;\nexport const DEFAULT_CARD_FORMAT = /(\\d{1,4})/g;\nexport const CARD_TYPES = [\n\t{\n\t\tdisplayName: 'Visa',\n\t\ttype: 'visa',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^4/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Mastercard',\n\t\ttype: 'mastercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5[1-5]|677189)|^(222[1-9]|2[3-6]\\d{2}|27[0-1]\\d|2720)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'American Express',\n\t\ttype: 'amex',\n\t\tformat: /(\\d{1,4})(\\d{1,6})?(\\d{1,5})?/,\n\t\tstartPattern: /^3[47]/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 15 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 4,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Diners Club',\n\t\ttype: 'dinersclub',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(36|38|30[0-5])/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 14, 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Discover',\n\t\ttype: 'discover',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(6011|65|64[4-9]|622)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'JCB',\n\t\ttype: 'jcb',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^35/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'UnionPay',\n\t\ttype: 'unionpay',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^62/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVN',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Maestro',\n\t\ttype: 'maestro',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5018|5020|5038|6304|6703|6708|6759|676[1-3])/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 12, 13, 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Elo',\n\t\ttype: 'elo',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern:\n\t\t\t/^(4011(78|79)|43(1274|8935)|45(1416|7393|763(1|2))|50(4175|6699|67[0-7][0-9]|9000)|627780|63(6297|6368)|650(03([^4])|04([0-9])|05(0|1)|4(0[5-9]|3[0-9]|8[5-9]|9[0-9])|5([0-2][0-9]|3[0-8])|9([2-6][0-9]|7[0-8])|541|700|720|901)|651652|655000|655021)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVE',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Hipercard',\n\t\ttype: 'hipercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(384100|384140|384160|606282|637095|637568|60(?!11))/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Troy',\n\t\ttype: 'troy',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^9792/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n];\n\nexport const getCardTypeByValue = ( value ) =>\n\tCARD_TYPES.filter( ( cardType ) =>\n\t\tcardType.startPattern.test( value )\n\t)[ 0 ];\nexport const getCardTypeByType = ( type ) =>\n\tCARD_TYPES.filter( ( cardType ) => cardType.type === type )[ 0 ];\n","import * as cardTypes from './cardTypes';\n\nexport const formatCardNumber = ( cardNumber ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( cardNumber );\n\n\tif ( ! cardType ) return ( cardNumber.match( /\\d+/g ) || [] ).join( '' );\n\n\tconst format = cardType.format;\n\tif ( format && format.global ) {\n\t\treturn ( cardNumber.match( format ) || [] ).join( ' ' );\n\t}\n\n\tif ( format ) {\n\t\tconst execResult = format.exec( cardNumber.split( ' ' ).join( '' ) );\n\t\tif ( execResult ) {\n\t\t\treturn execResult\n\t\t\t\t.splice( 1, 3 )\n\t\t\t\t.filter( ( x ) => x )\n\t\t\t\t.join( ' ' );\n\t\t}\n\t}\n\n\treturn cardNumber;\n};\n\nexport const formatExpiry = ( event ) => {\n\tconst eventData = event.nativeEvent && event.nativeEvent.data;\n\tconst prevExpiry = event.target.value.split( ' / ' ).join( '/' );\n\n\tif ( ! prevExpiry ) return null;\n\tlet expiry = prevExpiry;\n\tif ( /^[2-9]$/.test( expiry ) ) {\n\t\texpiry = `0${ expiry }`;\n\t}\n\n\tif ( prevExpiry.length === 2 && +prevExpiry > 12 ) {\n\t\tconst [ head, ...tail ] = prevExpiry.split( '' );\n\t\texpiry = `0${ head }/${ tail.join( '' ) }`;\n\t}\n\n\tif ( /^1[/-]$/.test( expiry ) ) {\n\t\treturn `01 / `;\n\t}\n\n\texpiry = expiry.match( /(\\d{1,2})/g ) || [];\n\tif ( expiry.length === 1 ) {\n\t\tif ( ! eventData && prevExpiry.includes( '/' ) ) {\n\t\t\treturn expiry[ 0 ];\n\t\t}\n\t\tif ( /\\d{2}/.test( expiry ) ) {\n\t\t\treturn `${ expiry[ 0 ] } / `;\n\t\t}\n\t}\n\tif ( expiry.length > 2 ) {\n\t\tconst [ , month = null, year = null ] =\n\t\t\texpiry.join( '' ).match( /^(\\d{2}).*(\\d{2})$/ ) || [];\n\t\treturn [ month, year ].join( ' / ' );\n\t}\n\treturn expiry.join( ' / ' );\n};\n","import * as cardTypes from './cardTypes';\nimport * as formatter from './formatter';\nimport * as validator from './validator';\n\nexport const BACKSPACE_KEY_CODE = 'Backspace';\nexport const ENTER_KEY_CODE = 'Enter';\n\nexport const isHighlighted = () =>\n\t( window.getSelection() || { type: undefined } ).type === 'Range';\n\nexport default {\n\tcardTypes,\n\tformatter,\n\tvalidator,\n\tBACKSPACE_KEY_CODE,\n\tENTER_KEY_CODE,\n\tisHighlighted,\n};\n","import * as cardTypes from './cardTypes';\n\nconst MONTH_REGEX = /(0[1-9]|1[0-2])/;\n\nexport const EMPTY_CARD_NUMBER = 'Enter a card number';\nexport const EMPTY_EXPIRY_DATE = 'Enter an expiry date';\nexport const EMPTY_CVC = 'Enter a CVC';\nexport const EMPTY_ZIP = 'Enter a ZIP code';\nexport const EMPTY_ADDRESS = 'Enter an Address';\n\nexport const INVALID_CARD_NUMBER = 'Card number is invalid';\nexport const INVALID_EXPIRY_DATE = 'Expiry date is invalid';\nexport const INVALID_CVC = 'CVC is invalid';\nexport const INVALID_ZIP = 'Zip is invalid';\n\nexport const MONTH_OUT_OF_RANGE = 'Expiry month must be between 01 and 12';\nexport const YEAR_OUT_OF_RANGE = 'Expiry year cannot be in the past';\nexport const DATE_OUT_OF_RANGE = 'Expiry date cannot be in the past';\n\nexport const hasCardNumberReachedMaxLength = ( currentValue ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( currentValue );\n\treturn (\n\t\tcardType &&\n\t\tcurrentValue.length >= cardType.lengths[ cardType.lengths.length - 1 ]\n\t);\n};\n\nexport const isNumeric = ( e ) => {\n\treturn /^\\d*$/.test( e.key );\n};\n\nexport const validateLuhn = ( cardNumber ) => {\n\treturn (\n\t\tcardNumber\n\t\t\t.split( '' )\n\t\t\t.reverse()\n\t\t\t.map( ( digit ) => parseInt( digit, 10 ) )\n\t\t\t.map( ( digit, idx ) => ( idx % 2 ? digit * 2 : digit ) )\n\t\t\t.map( ( digit ) => ( digit > 9 ? ( digit % 10 ) + 1 : digit ) )\n\t\t\t.reduce( ( accum, digit ) => ( accum += digit ) ) %\n\t\t\t10 ===\n\t\t0\n\t);\n};\nexport const getCardNumberError = (\n\tcardNumber,\n\tcardNumberValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! cardNumber ) {\n\t\treturn errorMessages.emptyCardNumber || EMPTY_CARD_NUMBER;\n\t}\n\n\tconst rawCardNumber = cardNumber.replace( /\\s/g, '' );\n\tconst cardType = cardTypes.getCardTypeByValue( rawCardNumber );\n\tif ( cardType && cardType.lengths ) {\n\t\tconst doesCardNumberMatchLength = cardType.lengths.includes(\n\t\t\trawCardNumber.length\n\t\t);\n\t\tif ( doesCardNumberMatchLength ) {\n\t\t\tconst isLuhnValid = validateLuhn( rawCardNumber );\n\t\t\tif ( isLuhnValid ) {\n\t\t\t\tif ( cardNumberValidator ) {\n\t\t\t\t\treturn cardNumberValidator( {\n\t\t\t\t\t\tcardNumber: rawCardNumber,\n\t\t\t\t\t\tcardType,\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\treturn errorMessages.invalidCardNumber || INVALID_CARD_NUMBER;\n};\nexport const getExpiryDateError = (\n\texpiryDate,\n\texpiryValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! expiryDate ) {\n\t\treturn errorMessages.emptyExpiryDate || EMPTY_EXPIRY_DATE;\n\t}\n\tconst rawExpiryDate = expiryDate.replace( ' / ', '' ).replace( '/', '' );\n\tif ( rawExpiryDate.length === 4 ) {\n\t\tconst month = rawExpiryDate.slice( 0, 2 );\n\t\tconst year = `20${ rawExpiryDate.slice( 2, 4 ) }`;\n\t\tif ( ! MONTH_REGEX.test( month ) ) {\n\t\t\treturn errorMessages.monthOutOfRange || MONTH_OUT_OF_RANGE;\n\t\t}\n\t\tif ( parseInt( year ) < new Date().getFullYear() ) {\n\t\t\treturn errorMessages.yearOutOfRange || YEAR_OUT_OF_RANGE;\n\t\t}\n\t\tif (\n\t\t\tparseInt( year ) === new Date().getFullYear() &&\n\t\t\tparseInt( month ) < new Date().getMonth() + 1\n\t\t) {\n\t\t\treturn errorMessages.dateOutOfRange || DATE_OUT_OF_RANGE;\n\t\t}\n\t\tif ( expiryValidator ) {\n\t\t\treturn expiryValidator( {\n\t\t\t\texpiryDate: { month, year },\n\t\t\t\terrorMessages,\n\t\t\t} );\n\t\t}\n\t\treturn;\n\t}\n\treturn errorMessages.invalidExpiryDate || INVALID_EXPIRY_DATE;\n};\nexport const getCVCError = (\n\tcvc,\n\tcvcValidator,\n\t{ cardType, errorMessages = {} } = {}\n) => {\n\tif ( ! cvc ) {\n\t\treturn errorMessages.emptyCVC || EMPTY_CVC;\n\t}\n\tif ( cvc.length < 3 ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cardType && cvc.length !== cardType.code.length ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cvcValidator ) {\n\t\treturn cvcValidator( { cvc, cardType, errorMessages } );\n\t}\n\treturn;\n};\nexport const getZIPError = ( zip, { errorMessages = {} } = {} ) => {\n\tif ( ! zip ) {\n\t\treturn errorMessages.emptyZIP || EMPTY_ZIP;\n\t}\n\tif ( zip.length <= 3 ) {\n\t\treturn errorMessages.invalidAddress || INVALID_ZIP;\n\t}\n\treturn;\n};\n\nexport const getAddressError = ( address, { errorMessages = {} } = {} ) => {\n\tif ( ! address ) {\n\t\treturn errorMessages.emptyAddress || EMPTY_ADDRESS;\n\t}\n\treturn;\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n if (ret !== void 0) {\n return !!ret;\n }\n\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n // Test for A's keys different from B.\n for (var idx = 0; idx < keysA.length; idx++) {\n var key = keysA[idx];\n\n if (!bHasOwnProperty(key)) {\n return false;\n }\n\n var valueA = objA[key];\n var valueB = objB[key];\n\n ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n if (ret === false || (ret === void 0 && valueA !== valueB)) {\n return false;\n }\n }\n\n return true;\n};\n","import{__spreadArray as e,__assign as t}from\"tslib\";import n from\"@emotion/is-prop-valid\";import o,{useRef as r,useState as s,useMemo as i,useEffect as a,useContext as c,useDebugValue as l,createElement as u}from\"react\";import p from\"shallowequal\";import*as d from\"stylis\";import h from\"@emotion/unitless\";var f=\"undefined\"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||\"data-styled\",m=\"active\",y=\"data-styled-version\",v=\"6.1.13\",g=\"/*!sc*/\\n\",S=\"undefined\"!=typeof window&&\"HTMLElement\"in window,w=Boolean(\"boolean\"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&\"\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY?\"false\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&\"\"!==process.env.SC_DISABLE_SPEEDY?\"false\"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:\"production\"!==process.env.NODE_ENV),b={},E=/invalid hook call/i,N=new Set,P=function(t,n){if(\"production\"!==process.env.NODE_ENV){var o=n?' with the id of \"'.concat(n,'\"'):\"\",s=\"The component \".concat(t).concat(o,\" has been created dynamically.\\n\")+\"You may see this warning because you've called styled inside another component.\\nTo resolve this only create new StyledComponents outside of any render method and function component.\",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,e([t],n,!1))},r(),a&&!N.has(s)&&(console.warn(s),N.add(s))}catch(e){E.test(e.message)&&N.delete(s)}finally{console.error=i}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}var A=new Set([\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"bdi\",\"bdo\",\"big\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"nav\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"picture\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"track\",\"u\",\"ul\",\"use\",\"var\",\"video\",\"wbr\",\"circle\",\"clipPath\",\"defs\",\"ellipse\",\"foreignObject\",\"g\",\"image\",\"line\",\"linearGradient\",\"marker\",\"mask\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialGradient\",\"rect\",\"stop\",\"svg\",\"text\",\"tspan\"]),O=/[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,\"-\").replace(D,\"\")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n=\"\";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return(j(t%k)+n).replace(T,\"$1-$2\")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z=function(e){return M(F,e)};function $(e){return x(z(e)>>>0)}function B(e){return\"production\"!==process.env.NODE_ENV&&\"string\"==typeof e&&e||e.displayName||e.name||\"Component\"}function L(e){return\"string\"==typeof e&&(\"production\"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G=\"function\"==typeof Symbol&&Symbol.for,Y=G?Symbol.for(\"react.memo\"):60115,W=G?Symbol.for(\"react.forward_ref\"):60112,q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J=((V={})[W]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V[Y]=U,V);function X(e){return(\"type\"in(t=e)&&t.type.$$typeof)===Y?U:\"$$typeof\"in e?J[e.$$typeof]:q;var t}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if(\"string\"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n)}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l)}catch(e){}}}}return e}function re(e){return\"function\"==typeof e}function se(e){return\"object\"==typeof e&&\"styledComponentId\"in e}function ie(e,t){return e&&t?\"\".concat(e,\" \").concat(t):e||t||\"\"}function ae(e,t){if(0===e.length)return\"\";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce(e){return null!==e&&\"object\"==typeof e&&e.constructor.name===Object.name&&!(\"props\"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=!1),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=le(e[o],t[o]);return e}function ue(e,t){Object.defineProperty(e,\"toString\",{value:t})}var pe=\"production\"!==process.env.NODE_ENV?{1:\"Cannot create styled-component for component: %s.\\n\\n\",2:\"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\\n\\n- Are you trying to reuse it across renders?\\n- Are you accidentally calling collectStyles twice?\\n\\n\",3:\"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\\n\\n\",4:\"The `StyleSheetManager` expects a valid target or sheet prop!\\n\\n- Does this error occur on the client and is your target falsy?\\n- Does this error occur on the server and is the sheet falsy?\\n\\n\",5:\"The clone method cannot be used on the client!\\n\\n- Are you running in a client-like environment on the server?\\n- Are you trying to run SSR on the client?\\n\\n\",6:\"Trying to insert a new style tag, but the given Node is unmounted!\\n\\n- Are you using a custom target that isn't mounted?\\n- Does your document not have a valid head element?\\n- Have you accidentally removed a style tag manually?\\n\\n\",7:'ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\\n\\n```js\\ntheme={() => ({})}\\n```\\n\\n',8:'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',9:\"Missing document `<head>`\\n\\n\",10:\"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",11:\"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",12:\"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\\n\\n\",13:\"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\\n\",14:'ThemeProvider: \"theme\" prop is required.\\n\\n',15:\"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\\n\\n```js\\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\\n```\\n\\n\",16:\"Reached the limit of how many styled components may be created at group %s.\\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\\nas for instance in your render method then you may be running into this limitation.\\n\\n\",17:\"CSSStyleSheet could not be found on HTMLStyleElement.\\nHas styled-components' style tag been unmounted or altered by another script?\\n\",18:\"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`\"}:{};function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e)}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return\"production\"===process.env.NODE_ENV?new Error(\"An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#\".concat(t,\" for more information.\").concat(n.length>0?\" Args: \".concat(n.join(\", \")):\"\")):new Error(de.apply(void 0,e([pe[t]],n,!1)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,\"\".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t=\"\";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+=\"\".concat(this.tag.getRule(s)).concat(g);return t},e}(),me=1<<30,ye=new Map,ve=new Map,ge=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge);)ge++;var t=ge++;if(\"production\"!==process.env.NODE_ENV&&((0|t)<0||t>me))throw he(16,\"\".concat(t));return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge=t+1,ye.set(e,t),ve.set(t,e)},be=\"style[\".concat(f,\"][\").concat(y,'=\"').concat(v,'\"]'),Ee=new RegExp(\"^\".concat(f,'\\\\.g(\\\\d+)\\\\[id=\"([\\\\w\\\\d-]+)\"\\\\].*?\"([^\"]*)')),Ne=function(e,t,n){for(var o,r=n.split(\",\"),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o)},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:\"\").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function Ce(){return\"undefined\"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement(\"style\"),r=function(e){var t=Array.from(e.querySelectorAll(\"style[\".concat(f,\"]\")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y,v);var i=Ce();return i&&o.setAttribute(\"nonce\",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode(\"\")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:\"\"},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:\"\"},e}(),De=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:\"\"},e}(),Re=S,Te={isServer:!S,useCSSOMInjection:!w},ke=function(){function e(e,n,o){void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=t(t({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Re&&(Re=!1,_e(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o=\"\",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return\"continue\";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return\"continue\";var a=\"\".concat(f,\".g\").concat(n,'[id=\"').concat(r,'\"]'),c=\"\";void 0!==s&&s.forEach(function(e){e.length>0&&(c+=\"\".concat(e,\",\"))}),o+=\"\".concat(i).concat(a,'{content:\"').concat(c,'\"}').concat(g)},s=0;s<n;s++)r(s);return o}(r)})}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S&&_e(this)},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(t(t({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),je=/&/g,xe=/^\\s*\\/\\/.*$/gm;function Ve(e,t){return e.map(function(e){return\"rule\"===e.type&&(e.value=\"\".concat(t,\" \").concat(e.value),e.value=e.value.replaceAll(\",\",\",\".concat(t,\" \")),e.props=e.props.map(function(e){return\"\".concat(t,\" \").concat(e)})),Array.isArray(e.children)&&\"@keyframes\"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C:e,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,\"\").length>0?\".\".concat(t):e},u=c.slice();u.push(function(e){e.type===d.RULESET&&e.value.includes(\"&\")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l))}),i.prefix&&u.push(d.prefixer),u.push(d.stringify);var p=function(e,r,s,a){void 0===r&&(r=\"\"),void 0===s&&(s=\"\"),void 0===a&&(a=\"&\"),t=a,n=r,o=new RegExp(\"\\\\\".concat(n,\"\\\\b\"),\"g\");var c=e.replace(xe,\"\"),l=d.compile(s||r?\"\".concat(s,\" \").concat(r,\" { \").concat(c,\" }\"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return d.serialize(l,d.middleware(u.concat(d.rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():\"\",p}var Me=new ke,ze=Fe(),$e=o.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze}),Be=$e.Consumer,Le=o.createContext(void 0);function Ge(){return c($e)}function Ye(e){var t=s(e.stylisPlugins),n=t[0],r=t[1],c=Ge().styleSheet,l=i(function(){var t=c;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,c]),u=i(function(){return Fe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);a(function(){p(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var d=i(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:l,stylis:u}},[e.shouldForwardProp,l,u]);return o.createElement($e.Provider,{value:d},o.createElement(Le.Provider,{value:u},e.children))}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,\"@keyframes\"))},this.name=e,this.id=\"sc-keyframes-\".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>=\"A\"&&e<=\"Z\"};function He(e){for(var t=\"\",n=0;n<e.length;n++){var o=e[n];if(1===n&&\"-\"===o&&\"-\"===e[0])return e;qe(o)?t+=\"-\"+o.toLowerCase():t+=o}return t.startsWith(\"ms-\")?\"-\"+t:t}var Ue=function(e){return null==e||!1===e||\"\"===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push(\"\".concat(He(s),\":\"),i,\";\"):ce(i)?r.push.apply(r,e(e([\"\".concat(s,\" {\")],Je(i),!1),[\"}\"],!1)):r.push(\"\".concat(He(s),\": \").concat((n=s,null==(o=i)||\"boolean\"==typeof o||\"\"===o?\"\":\"number\"!=typeof o||0===o||n in h||n.startsWith(\"--\")?String(o).trim():\"\".concat(o,\"px\")),\";\")))}return r};function Xe(e,t,n,o){if(Ue(e))return[];if(se(e))return[\".\".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var r=e(t);return\"production\"===process.env.NODE_ENV||\"object\"!=typeof r||Array.isArray(r)||r instanceof We||ce(r)||null===r||console.error(\"\".concat(B(e),\" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\")),Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return!1}return!0}var Ke=z(v),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId=\"\",this.isStatic=\"production\"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M(Ke,t),this.baseStyle=n,ke.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):\"\";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else{var r=ae(Xe(this.rules,e,t,n)),s=x(M(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,\".\".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}o=ie(o,s),this.staticRulesId=s}else{for(var a=M(this.baseHash,n.hash),c=\"\",l=0;l<this.rules.length;l++){var u=this.rules[l];if(\"string\"==typeof u)c+=u,\"production\"!==process.env.NODE_ENV&&(a=M(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=M(a,p+l),c+=p}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,\".\".concat(d),void 0,this.componentId)),o=ie(o,d)}}return o},e}(),et=o.createContext(void 0),tt=et.Consumer;function nt(){var e=c(et);if(!e)throw he(18);return e}function ot(e){var n=o.useContext(et),r=i(function(){return function(e,n){if(!e)throw he(14);if(re(e)){var o=e(n);if(\"production\"!==process.env.NODE_ENV&&(null===o||Array.isArray(o)||\"object\"!=typeof o))throw he(7);return o}if(Array.isArray(e)||\"object\"!=typeof e)throw he(8);return n?t(t({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?o.createElement(et.Provider,{value:r},e.children):null}var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n=\"string\"!=typeof e?\"sc\":R(e);rt[n]=(rt[n]||0)+1;var o=\"\".concat(n,\"-\").concat($(v+n+rt[n]));return t?\"\".concat(t,\"-\").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?\"styled.\".concat(e):\"Styled(\".concat(B(e),\")\")}(e):m,g=r.displayName&&r.componentId?\"\".concat(R(r.displayName),\"-\").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)}}else w=b}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(et),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;\"production\"!==process.env.NODE_ENV&&l(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=t(t({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]=\"className\"===c?ie(s[c],a[c]):\"style\"===c?t(t({},s[c]),a[c]):a[c]}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||\"$\"===b[0]||\"as\"===b||\"theme\"===b&&g.theme===v||(\"forwardedAs\"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||\"development\"!==process.env.NODE_ENV||n(b)||st.has(b)||!A.has(S)||(st.add(b),console.warn('styled-components: it looks like an unknown prop \"'.concat(b,'\" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return\"production\"!==process.env.NODE_ENV&&l(o),o}(a,g);\"production\"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=\" \"+E),g.className&&(N+=\" \"+g.className),w[L(S)&&!A.has(S)?\"class\":\"className\"]=N,w.ref=s,u(S,w)}(D,e,r)}O.displayName=y;var D=o.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):\"\",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,\"defaultProps\",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],!0);return e}({},a.defaultProps,e):e}}),\"production\"!==process.env.NODE_ENV&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var s=t?' with the id of \"'.concat(t,'\"'):\"\";console.warn(\"Over \".concat(200,\" classes were generated for component \").concat(e).concat(s,\".\\n\")+\"Consider using the attrs method, together with a style object for frequently changed styles.\\nExample:\\n const Component = styled.div.attrs(props => ({\\n style: {\\n background: props.background,\\n },\\n }))`width: 100%;`\\n\\n <Component />\"),o=!0,n={}}}}(y,g)),ue(D,function(){return\".\".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct=function(e){return Object.assign(e,{isCss:!0})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(_,e([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&\"string\"==typeof r[0]?Xe(r):ct(Xe(at(r,n)))}function ut(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt.apply(void 0,e([t],s,!1)))};return s.attrs=function(e){return ut(n,o,t(t({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut(n,o,t(t({},r),e))},s}var pt=function(e){return ut(it,e)},dt=pt;A.forEach(function(e){dt[e]=pt(e)});var ht=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae(Xe(this.rules,t,n,o)),\"\"),s=this.componentId+e;n.insertRules(s,s,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function ft(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt.apply(void 0,e([n],r,!1)),a=\"sc-global-\".concat($(JSON.stringify(i))),c=new ht(i,a);\"production\"!==process.env.NODE_ENV&&P(a);var l=function(e){var t=Ge(),n=o.useContext(et),r=o.useRef(t.styleSheet.allocateGSInstance(a)).current;return\"production\"!==process.env.NODE_ENV&&o.Children.count(e.children)&&console.warn(\"The global style component \".concat(a,\" was given child JSX. createGlobalStyle does not render children.\")),\"production\"!==process.env.NODE_ENV&&i.some(function(e){return\"string\"==typeof e&&-1!==e.indexOf(\"@import\")})&&console.warn(\"Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app.\"),t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b,o,s);else{var i=t(t({},n),{theme:I(n,r,l.defaultProps)});c.renderStyles(e,i,o,s)}}return o.memo(l)}function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.\");var r=ae(lt.apply(void 0,e([t],n,!1))),s=$(r);return new We(s,r)}function yt(e){var n=o.forwardRef(function(n,r){var s=I(n,o.useContext(et),e.defaultProps);return\"production\"!==process.env.NODE_ENV&&void 0===s&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class \"'.concat(B(e),'\"')),o.createElement(e,t({},n,{theme:s,ref:r}))});return n.displayName=\"WithTheme(\".concat(B(e),\")\"),oe(n,e)}var vt=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return\"\";var n=Ce(),o=ae([n&&'nonce=\"'.concat(n,'\"'),\"\".concat(f,'=\"true\"'),\"\".concat(y,'=\"').concat(v,'\"')].filter(Boolean),\" \");return\"<style \".concat(o,\">\").concat(t,\"</style>\")},this.getStyleTags=function(){if(e.sealed)throw he(2);return e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)throw he(2);var r=e.instance.toString();if(!r)return[];var s=((n={})[f]=\"\",n[y]=v,n.dangerouslySetInnerHTML={__html:r},n),i=Ce();return i&&(s.nonce=i),[o.createElement(\"style\",t({},s,{key:\"sc-0-0\"}))]},this.seal=function(){e.sealed=!0},this.instance=new ke({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw he(2);return o.createElement(Ye,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw he(3)},e}(),gt={StyleSheet:ke,mainSheet:Me};\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"It looks like you've imported 'styled-components' on React Native.\\nPerhaps you're looking to import 'styled-components/native'?\\nRead more about this at https://www.styled-components.com/docs/basics#react-native\");var St=\"__sc-\".concat(f,\"__\");\"production\"!==process.env.NODE_ENV&&\"test\"!==process.env.NODE_ENV&&\"undefined\"!=typeof window&&(window[St]||(window[St]=0),1===window[St]&&console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\\n\\nSee https://s-c.sh/2BAXzed for more info.\"),window[St]+=1);export{vt as ServerStyleSheet,Be as StyleSheetConsumer,$e as StyleSheetContext,Ye as StyleSheetManager,tt as ThemeConsumer,et as ThemeContext,ot as ThemeProvider,gt as __PRIVATE__,ft as createGlobalStyle,lt as css,dt as default,se as isStyledComponent,mt as keyframes,dt as styled,nt as useTheme,v as version,yt as withTheme};\n//# sourceMappingURL=styled-components.browser.esm.js.map\n","module.exports = window[\"React\"];","module.exports = window[\"wc\"][\"blocksCheckout\"];","module.exports = window[\"wc\"][\"blocksComponents\"];","module.exports = window[\"wc\"][\"wcBlocksData\"];","module.exports = window[\"wc\"][\"wcBlocksRegistry\"];","module.exports = window[\"wc\"][\"wcSettings\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"htmlEntities\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"primitives\"];","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\nexport var SCOPE = '@scope'\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","import { useEffect, useState } from 'react';\nimport { sprintf, __ } from '@wordpress/i18n';\nimport { registerPaymentMethod } from '@woocommerce/blocks-registry';\nimport { decodeEntities } from '@wordpress/html-entities';\nimport { getSetting } from '@woocommerce/settings';\nimport { usePaymentInputs } from './hooks';\nimport { PaymentInputsWrapper, TermsCheckbox, AchForm, GiftForm } from './components';\nimport images from './images';\nimport { PAYMENT_STORE_KEY } from '@woocommerce/block-data';\nimport { subscribe, select, dispatch, use } from '@wordpress/data';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\nimport styled from 'styled-components';\n\nconst settings = getSetting( 'wc_valorpay_data', {} );\nif ( settings && ! settings.is_not_blocked ) {\n\tdispatch( 'core/notices' ).createErrorNotice(\n\t\t__(\n\t\t\t'Valor Pay is disabled due to multiple payment failures.',\n\t\t\t'wc-valorpay'\n\t\t),\n\t\t{\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t}\n\t);\n}\nif ( settings && settings.card_type_allowed ) {\n\tlet noticeMsg = null;\n\tif ( 'debit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only debit card allowed', 'wc-valorpay' );\n\t}\n\tif ( 'credit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only credit card allowed', 'wc-valorpay' );\n\t}\n\tif ( noticeMsg ) {\n\t\tdispatch( 'core/notices' ).createInfoNotice( noticeMsg, {\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t} );\n\t}\n}\nsubscribe( function () {\n\tconst paymentMethodState = select( PAYMENT_STORE_KEY );\n\tconst chosenPaymentMethod = paymentMethodState.getActivePaymentMethod();\n\tconst savedPaymentMethods = paymentMethodState.getSavedPaymentMethods();\n\tconst selectedPaymentTokenId = +paymentMethodState.getActiveSavedToken();\n\tlet selectedCardType = '';\n\tif ( selectedPaymentTokenId ) {\n\t\tconst foundMethod = savedPaymentMethods.cc.find(\n\t\t\t( method ) =>\n\t\t\t\tmethod.tokenId === selectedPaymentTokenId &&\n\t\t\t\tmethod.method.gateway === 'wc_valorpay'\n\t\t);\n\t\tif ( foundMethod ) {\n\t\t\tselectedCardType = foundMethod.method.card_type;\n\t\t}\n\t}\n\n\textensionCartUpdate( {\n\t\tnamespace: 'wc-valorpay-fee-update',\n\t\tdata: {\n\t\t\taction_type: 'update_payment',\n\t\t\tpayment_method: chosenPaymentMethod,\n\t\t\tcard_type: selectedCardType,\n\t\t},\n\t} );\n}, PAYMENT_STORE_KEY );\n\nconst defaultLabel = __( 'Valor Pay', 'wc-valorpay' );\n\nconst label = decodeEntities( settings.title ) || defaultLabel;\n\n// Tab Button Styled Component\nconst TabButton = styled.button`\n \tflex: 1; // Ensures buttons take equal width\n\tpadding: 20px;\n\tbackground-color: transparent; // Ensure button background doesn't change\n\tcolor: inherit; // Use text color from the theme\n\tborder: none;\n\tcursor: pointer;\n\ttext-align: center;\n\tborder-bottom: ${props => (props.active ? '2px solid' : 'none')};\n \tborder-color: ${props => (props.active ? '#007BFF' : 'transparent')}; // Use theme-based color or default\n\t&:hover {\n\t\topacity: 0.8;\n\t}\n`;\n\n// Tab Container Styled Component\nconst TabContainer = styled.div`\n\tdisplay: flex;\n\twidth: 100%;\n\tpadding: 10px;\n`;\n\n// Tab Content Styled Component\nconst TabContent = styled.div`\n\tbackground-color: #f9f9f9;\n\tborder: 1px solid #ccc;\n\tborder-radius: 5px;\n\tmargin-top: 10px;\n\tpadding: 20px;\n`;\n\nconst Tabs = (props) => {\n\tconst [activeTab, setActiveTab] = useState(0);\n\n\tlet tabTitles = [ __('Card','wc-valorpay') ];\n\tlet tabContents = [ <CardForm {...props}/> ];\n\n\tif ( settings.is_ach_enable ) {\n\t\ttabTitles.push(__('ACH','wc-valorpay'));\n\t\ttabContents.push(<AchForm {...props}/>);\n\t}\n\tif ( settings.is_gift_card_enable ) {\n\t\ttabTitles.push(__('Gift Card','wc-valorpay'));\n\t\ttabContents.push(<GiftForm {...props}/>);\n\t}\n\n\treturn (\n\t<>\n\t\t<TabContainer>\n\t\t\t{tabTitles.map((title, index) => (\n\t\t\t\t<TabButton\n\t\t\t\t\tkey={index}\n\t\t\t\t\tactive={activeTab === index}\n\t\t\t\t\tonClick={() => setActiveTab(index)}\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t>\n\t\t\t\t\t{title}\n\t\t\t\t</TabButton>\n\t\t\t))}\n\t\t</TabContainer>\n\t\t<TabContent>\n\t\t\t{tabContents[activeTab]}\n\t\t</TabContent>\n\t</>\n\t);\n};\n\n/**\n * Content component\n */\nconst CardForm = ( props ) => {\n\tconst [ isFetchingCardType, setIsFetchingCardType ] = useState( false );\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [ 'cardNumber', 'expiryDate', 'cvc' ];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tconst {\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetCardImageProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps,\n\t\tmeta: {\n\t\t\terroredInputs,\n\t\t\tisTouched,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t},\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tsetIsFetchingCardType,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst {\n\t\tcomponents: { LoadingMask },\n\t\teventRegistration,\n\t\temitResponse,\n\t\tpaymentStatus,\n\t} = props;\n\tconst [ isTermsChecked, setIsTermsChecked ] = useState( true );\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst handleCheckboxChange = () => {\n\t\tsetIsTermsChecked((prev) => !prev);\n\t};\n\tuseEffect(() => {\n\t\textensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } );\n\t}, []);\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc_valorpay-card-number': cardNumberField.current.value,\n\t\t\t\t\t'wc_valorpay-card-expiry': expiryDateField.current.value,\n\t\t\t\t\t'wc_valorpay-card-cvc': cvcField.current.value,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\tonCheckoutAfterProcessingWithError,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.is_sandbox_mode && (\n\t\t\t\t<p>\n\t\t\t\t\t{ __(\n\t\t\t\t\t\t'TEST MODE ENABLED. Use test card number 4111111111111111 with 999 as CVC and a future expiration date.',\n\t\t\t\t\t\t'wc-valorpay'\n\t\t\t\t\t) }\n\t\t\t\t</p>\n\t\t\t) }\n\t\t\t<LoadingMask\n\t\t\t\tshowSpinner={ isFetchingCardType }\n\t\t\t\tisLoading={ isFetchingCardType }\n\t\t\t\tscreenReaderLabel={ __(\n\t\t\t\t\t'Fetching Card Type...',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t) }\n\t\t\t>\n\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t>\n\t\t\t\t\t<svg { ...getCardImageProps( { images } ) } />\n\t\t\t\t\t<input { ...getCardNumberProps() } />\n\t\t\t\t\t<input { ...getExpiryDateProps() } />\n\t\t\t\t\t<input { ...getCVCProps() } />\n\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t) }\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t) }\n\t\t\t\t</PaymentInputsWrapper>\n\t\t\t</LoadingMask>\n\t\t\t{settings.is_terms_conditions_enable && <TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-new-card\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ handleCheckboxChange }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>}\n\t\t</>\n\t);\n};\n\nconst SavedToken = ( props ) => {\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tconst {\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\twrapperProps,\n\t\tmeta: { erroredInputs, zipField, addressField },\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst { eventRegistration, emitResponse, paymentStatus, token } = props;\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst [ isTermsChecked, setIsTermsChecked ] = useState( true );\n\tconst handleCheckboxChange = () => {\n\t\tsetIsTermsChecked((prev) => !prev);\n\t};\n\tuseEffect(() => {\n\t\textensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } );\n\t}, []);\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc-wc_valorpay-payment-token': token,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\ttoken,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.avs_type !== 'none' && (\n\t\t\t\t<>\n\t\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t</PaymentInputsWrapper>\n\t\t\t\t</>\n\t\t\t) }\n\t\t\t{settings.is_terms_conditions_enable && <TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-saved-token\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ handleCheckboxChange }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>}\n\t\t</>\n\t);\n};\n\n/**\n * Label component\n *\n * @param {*} props Props from payment API.\n */\nconst Label = ( props ) => {\n\tconst { PaymentMethodLabel, PaymentMethodIcons } = props.components;\n\treturn (\n\t\t<>\n\t\t\t<PaymentMethodLabel text={ label } />\n\t\t\t<PaymentMethodIcons icons={ settings.card_types } align=\"right\" />\n\t\t</>\n\t);\n};\n\nconst Content = (props ) => {\n\tif ( !settings.is_ach_enable && !settings.is_gift_card_enable ) {\n\t\treturn <CardForm {...props} />\n\t}\n\treturn <Tabs {...props} />\n}\n\n/**\n * ValorPay payment method config object.\n */\nconst ValorPay = {\n\tname: 'wc_valorpay',\n\tlabel: <Label />,\n\tgatewayId: 'wc_valorpay',\n\tcontent: <Content />,\n\tedit: <Content />,\n\tcanMakePayment: () => settings.is_not_blocked,\n\tsavedTokenComponent: <SavedToken />,\n\tariaLabel: label,\n\tsupports: {\n\t\tfeatures: settings.supports,\n\t\tshowSaveOption: settings.is_save_to_account_enable,\n\t},\n};\n\nregisterPaymentMethod( ValorPay );\n"],"names":["useEffect","useState","TextInput","__","styled","extensionCartUpdate","Select","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","AchGroup","div","AchForm","props","eventRegistration","emitResponse","paymentStatus","onPaymentSetup","onCheckoutAfterProcessingWithError","accountNumber","setAccountNumber","accountNumberError","setAccountNumberError","routingNumber","setRoutingNumber","routingNumberError","setRoutingNumberError","nameOnAccount","setNameOnAccount","nameOnAccountError","setNameOnAccountError","accountType","setAccountType","entryClass","setEntryClass","txnType","setTxnType","phoneNumber","setPhoneNumber","phoneNumberError","setPhoneNumberError","email","setEmail","emailError","setEmailError","elements","document","querySelectorAll","filteredElements","Array","from","filter","element","index","array","parentElement","length","style","display","namespace","data","action_type","payment_type","unsubscribe","isInValidForm","type","responseTypes","ERROR","message","SUCCESS","meta","paymentMethodData","wc_valorpay_ach_sale","wc_valorpay_account_number","wc_valorpay_routing_number","wc_valorpay_name_on_account","wc_valorpay_account_type","wc_valorpay_entry_class","wc_valorpay_card_type","wc_valorpay_phone","replace","wc_valorpay_email","unsubscribeErrorMsg","processingResponse","paymentDetails","errorMessage","messageContext","noticeContexts","PAYMENTS","handleAccountNumberChange","value","test","handleAccountNumberBlur","event","handleRoutingNumberChange","handleRoutingNumberBlur","handleNameOnAccountChange","handleNameOnAccountBlur","handlePhoneNumberChange","numericValue","formattedValue","previousVal","slice","handlePhoneNumberBlur","formattedPhoneNumber","handleEmailChange","handleEmailBlur","emailRegex","handleAccountTypeChange","target","handleEntryClassChange","handleTxnTypeChange","children","id","label","feedback","className","required","onChange","onBlur","options","selectOnChange","GiftForm","cardNumber","setCardNumber","pinNumber","setPinNumber","giftCardNumberError","setGiftCardNumberError","wc_valorpay_gift_sale","wc_valorpay_gift_card_no","replaceAll","wc_valorpay_gift_card_pin","handleGiftCardNumberChange","newCardNumber","counter","n","handleGiftCardNumberBlur","handleGiftPinChange","usePaymentInputs","PaymentInputsContainer","paymentInputs","React","css","FieldWrapper","withConfig","shouldForwardProp","prop","includes","hasErrored","styles","fieldWrapper","errored","undefined","base","InputWrapper","inputWrapper","focused","input","cardImage","ErrorText","errorText","PaymentInputsWrapper","error","errorTextProps","inputWrapperProps","isTouched","isInitPay","restProps","useId","Icon","chevronDown","restOfProps","generatedId","inputId","htmlFor","size","map","option","disabled","icon","TermsCheckbox","checked","xmlns","viewBox","d","class","default","utils","autoFocus","errorMessages","onError","onTouch","cardNumberValidator","cvcValidator","expiryValidator","avsType","setIsFetchingCardType","paymentFields","cardNumberField","useRef","expiryDateField","cvcField","zipField","addressField","touchedInputs","setTouchedInputs","reduce","acc","field","setIsTouched","erroredInputs","setErroredInputs","setError","cardType","setCardType","setFocused","setInputError","useCallback","newError","newErroredInputs","Object","values","find","Boolean","setInputTouched","requestAnimationFrame","activeElement","tagName","newTouchedInputs","handleBlurCardNumber","e","handleChangeCardNumber","formattedCardNumber","cursorPosition","current","selectionStart","cardTypes","getCardTypeByValue","formatter","formatCardNumber","setSelectionRange","cardNumberError","validator","getCardNumberError","focus","bin","then","handleFocusCardNumber","onFocus","handleKeyPressCardNumber","onKeyPress","key","ENTER_KEY_CODE","isNumeric","preventDefault","hasCardNumberReachedMaxLength","getCardNumberProps","refKey","autoComplete","name","placeholder","handleBlurExpiryDate","handleChangeExpiryDate","formatExpiry","expiryDateError","getExpiryDateError","handleFocusExpiryDate","handleKeyDownExpiryDate","onKeyDown","BACKSPACE_KEY_CODE","handleKeyPressExpiryDate","formattedExpiryDate","expiryDate","getExpiryDateProps","handleBlurCVC","handleChangeCVC","cvc","cvcError","getCVCError","handleFocusCVC","handleKeyDownCVC","handleKeyPressCVC","formattedCVC","code","getCVCProps","handleBlurZIP","handleChangeZIP","zip","zipError","getZIPError","handleFocusZIP","handleKeyDownZIP","handleKeyPressZIP","getZIPProps","maxLength","handleBlurAddress","handleChangeAddress","streetaddress","addressError","getAddressError","handleFocusAddress","handleKeyDownAddress","getStreetAddressProps","getCardImageProps","images","displayName","width","height","useLayoutEffect","wrapperProps","fill","fillRule","rx","stroke","strokeWidth","transform","strokeOpacity","x","y","amex","dinersclub","discover","hipercard","jcb","unionpay","mastercard","visa","troy","cx","cy","r","DEFAULT_CVC_LENGTH","DEFAULT_ZIP_LENGTH","DEFAULT_CARD_FORMAT","CARD_TYPES","format","startPattern","gaps","lengths","getCardTypeByType","match","join","global","execResult","exec","split","splice","eventData","nativeEvent","prevExpiry","expiry","head","tail","month","year","isHighlighted","window","getSelection","MONTH_REGEX","EMPTY_CARD_NUMBER","EMPTY_EXPIRY_DATE","EMPTY_CVC","EMPTY_ZIP","EMPTY_ADDRESS","INVALID_CARD_NUMBER","INVALID_EXPIRY_DATE","INVALID_CVC","INVALID_ZIP","MONTH_OUT_OF_RANGE","YEAR_OUT_OF_RANGE","DATE_OUT_OF_RANGE","currentValue","validateLuhn","reverse","digit","parseInt","idx","accum","emptyCardNumber","rawCardNumber","doesCardNumberMatchLength","isLuhnValid","invalidCardNumber","emptyExpiryDate","rawExpiryDate","monthOutOfRange","Date","getFullYear","yearOutOfRange","getMonth","dateOutOfRange","invalidExpiryDate","emptyCVC","invalidCVC","emptyZIP","invalidAddress","address","emptyAddress","sprintf","registerPaymentMethod","decodeEntities","getSetting","PAYMENT_STORE_KEY","subscribe","select","dispatch","use","settings","is_not_blocked","createErrorNotice","context","card_type_allowed","noticeMsg","createInfoNotice","paymentMethodState","chosenPaymentMethod","getActivePaymentMethod","savedPaymentMethods","getSavedPaymentMethods","selectedPaymentTokenId","getActiveSavedToken","selectedCardType","foundMethod","cc","method","tokenId","gateway","card_type","payment_method","defaultLabel","title","TabButton","button","active","TabContainer","TabContent","Tabs","activeTab","setActiveTab","tabTitles","tabContents","CardForm","is_ach_enable","push","is_gift_card_enable","onClick","isFetchingCardType","setIsInitPay","avs_type","components","LoadingMask","isTermsChecked","setIsTermsChecked","handleCheckboxChange","prev","isValid","errorInput","valorpay_avs_type","valorpay_terms","valorpay_avs_zip","valorpay_avs_street","is_sandbox_mode","showSpinner","isLoading","screenReaderLabel","is_terms_conditions_enable","dangerouslySetInnerHTML","__html","terms_label","SavedToken","token","Label","PaymentMethodLabel","PaymentMethodIcons","text","icons","card_types","align","Content","ValorPay","gatewayId","content","edit","canMakePayment","savedTokenComponent","ariaLabel","supports","features","showSaveOption","is_save_to_account_enable"],"sourceRoot":""}1 {"version":3,"file":"wc-valorpay.js","mappings":";;;;;;;;;;;;;;;AAAuC;;AAEvC,igIAAigI;;AAEjgI,iCAAiC,4DAAO;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEkC;;;;;;;;;;;;;;;;ACdlC;AACA;AACA;AACA;AACA;AACA;AACA;;AAE8B;;;;;;;;;;;;;;;;ACR9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEmC;;;;;;;;;;;;;;;;;;AClDnC;AACA;AACA;AAC8D;;AAE9D,eAAe,kCAAkC,4CAA4C;;AAE7F;AACA;AACA;AACA,WAAW,2CAA2C;AACtD;AACA;AACA,WAAW,2CAA2C;AACtD;AACA,YAAY,cAAc;AAC1B;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,SAAS,gEAAY;AACrB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,iEAAe,8DAAU,MAAM,EAAC;AAChC;;;;;;;;;;;;;;;;;;AC9BA;AACA;AACA;AACkD;AACF;AAChD,iCAAiC,sDAAI,CAAC,sDAAG;AACzC;AACA;AACA,yBAAyB,sDAAI,CAAC,uDAAI;AAClC;AACA,G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A;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA,KAAK,GAAG;;AAER,kDAAkD;AAClD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,4BAA4B;AAC5B;AACA,qCAAqC;;AAErC,gCAAgC;AAChC;AACA;;AAEA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;;AAGF;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;;AAEvC;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA,sBAAsB;AACtB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,uBAAuB;AACvB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,wBAAwB;AACxB;AACA,SAAS;AACT,iCAAiC;AACjC;AACA,SAAS;AACT,2BAA2B;AAC3B;AACA,SAAS;AACT,OAAO;AACP;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,2DAA2D;;AAE3D;AACA;;AAEA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;;;AAGT;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,aAAa,kBAAkB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;;AAEA;AACA;AACA,gFAAgF;AAChF;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,kBAAkB;;;AAGlB;AACA;AACA,cAAc;AACd;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,8BAA8B;AAC9B;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,2HAA2H;AAC3H;AACA;AACA;;AAEA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA,oEAAoE;;AAEpE;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAiC;;AAEjC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;;AAGF;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC;AACxC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,GAAG;AACd,WAAW,eAAe;AAC1B,WAAW,GAAG;AACd,WAAW,GAAG;AACd;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;;AAER;AACA;AACA;AACA;AACA;AACA,KAAK,GAAG;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,GAAG;AACd,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB;;AAEA;AACA;AACA,kBAAkB;;AAElB;AACA;AACA,oBAAoB;AACpB,2DAA2D,UAAU;AACrE,yBAAyB,UAAU;AACnC;AACA,aAAa,UAAU;AACvB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;AACA;AACA;AACA,MAAM;;;AAGN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA,6DAA6D;AAC7D;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,WAAW;AACtB,WAAW,GAAG;AACd;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA,sBAAsB,iBAAiB;AACvC;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,4CAA4C;;AAE5C;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,cAAc;AACzB;;;AAGA;AACA;AACA;;AAEA,oBAAoB,iBAAiB;AACrC;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8CAA8C;AAC9C;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;;AAEA;AACA;AACA,QAAQ;AACR;AACA,QAAQ;AACR;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;;AAEA,0DAA0D;AAC1D;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;;AAGA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AwC,4BAA4B;AACpE,CAAC;AACD;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP,2CAA2C;AAC3C;;AAEO;AACP;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,8CAA8C;AACnE;AACA;AACA,qBAAqB,aAAa;AAClC;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+EAA+E,SAAS,gBAAgB;AACxG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iEAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACjXK;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACrBmE;AAC0B;AACjD;AACV;AACL;;AAEpC;AACA,WAAW,YAAY;AACvB,YAAY;AACZ;AACO;AACP,cAAc,mDAAM;;AAEpB;AACA;;AAEA,kBAAkB,YAAY;AAC9B;;AAEA;AACA;AACA;;AAEA;AACA,WAAW,UAAU;AACrB,YAAY;AACZ;AACO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,UAAU;AACrB,WAAW,UAAU;AACrB;AACO;AACP;AACA;AACA;AACA,SAAS,iDAAW,mBAAmB,oDAAM;AAC7C;AACA,SAAS,+CAAS;AAClB,YAAY,yDAAS,EAAE,mDAAI,WAAW,OAAO,oD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;EAChB+X,QAAQ,EAAE;IACTC,QAAQ,EAAEnF,QAAQ,CAACkF,QAAQ;IAC3BE,cAAc,EAAEpF,QAAQ,CAACqF;EAC1B;AACD,CAAC;AAED7F,mFAAqB,CAAEmF,QAAS,CAAC,C","sources":["webpack://wc-valorpay/./node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js","webpack://wc-valorpay/./node_modules/@emotion/memoize/dist/emotion-memoize.esm.js","webpack://wc-valorpay/./node_modules/@emotion/unitless/dist/emotion-unitless.esm.js","webpack://wc-valorpay/./node_modules/@wordpress/icons/build-module/icon/index.js","webpack://wc-valorpay/./node_modules/@wordpress/icons/build-module/library/chevron-down.js","webpack://wc-valorpay/./blocks/components/AchForm.jsx","webpack://wc-valorpay/./blocks/components/GiftForm.jsx","webpack://wc-valorpay/./blocks/components/PaymentInputsContainer.jsx","webpack://wc-valorpay/./blocks/components/PaymentInputsWrapper.jsx","webpack://wc-valorpay/./blocks/components/Select.jsx","webpack://wc-valorpay/./blocks/components/TermsCheckbox.jsx","webpack://wc-valorpay/./blocks/components/index.js","webpack://wc-valorpay/./blocks/hooks/usePaymentInputs.jsx","webpack://wc-valorpay/./blocks/images/amex.jsx","webpack://wc-valorpay/./blocks/images/dinersclub.jsx","webpack://wc-valorpay/./blocks/images/discover.jsx","webpack://wc-valorpay/./blocks/images/hipercard.jsx","webpack://wc-valorpay/./blocks/images/index.jsx","webpack://wc-valorpay/./blocks/images/jcb.jsx","webpack://wc-valorpay/./blocks/images/mastercard.jsx","webpack://wc-valorpay/./blocks/images/placeholder.jsx","webpack://wc-valorpay/./blocks/images/troy.jsx","webpack://wc-valorpay/./blocks/images/unionpay.jsx","webpack://wc-valorpay/./blocks/images/visa.jsx","webpack://wc-valorpay/./blocks/utils/cardTypes.js","webpack://wc-valorpay/./blocks/utils/formatter.js","webpack://wc-valorpay/./blocks/utils/index.js","webpack://wc-valorpay/./blocks/utils/validator.js","webpack://wc-valorpay/./node_modules/react/cjs/react-jsx-runtime.development.js","webpack://wc-valorpay/./node_modules/react/jsx-runtime.js","webpack://wc-valorpay/./node_modules/shallowequal/index.js","webpack://wc-valorpay/./node_modules/styled-components/dist/styled-components.browser.esm.js","webpack://wc-valorpay/external window \"React\"","webpack://wc-valorpay/external window [\"wc\",\"blocksCheckout\"]","webpack://wc-valorpay/external window [\"wc\",\"blocksComponents\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksData\"]","webpack://wc-valorpay/external window [\"wc\",\"wcBlocksRegistry\"]","webpack://wc-valorpay/external window [\"wc\",\"wcSettings\"]","webpack://wc-valorpay/external window [\"wp\",\"data\"]","webpack://wc-valorpay/external window [\"wp\",\"element\"]","webpack://wc-valorpay/external window [\"wp\",\"htmlEntities\"]","webpack://wc-valorpay/external window [\"wp\",\"i18n\"]","webpack://wc-valorpay/external window [\"wp\",\"primitives\"]","webpack://wc-valorpay/./node_modules/styled-components/node_modules/tslib/tslib.es6.mjs","webpack://wc-valorpay/./node_modules/stylis/src/Enum.js","webpack://wc-valorpay/./node_modules/stylis/src/Middleware.js","webpack://wc-valorpay/./node_modules/stylis/src/Parser.js","webpack://wc-valorpay/./node_modules/stylis/src/Prefixer.js","webpack://wc-valorpay/./node_modules/stylis/src/Serializer.js","webpack://wc-valorpay/./node_modules/stylis/src/Tokenizer.js","webpack://wc-valorpay/./node_modules/stylis/src/Utility.js","webpack://wc-valorpay/webpack/bootstrap","webpack://wc-valorpay/webpack/runtime/compat get default export","webpack://wc-valorpay/webpack/runtime/define property getters","webpack://wc-valorpay/webpack/runtime/hasOwnProperty shorthand","webpack://wc-valorpay/webpack/runtime/make namespace object","webpack://wc-valorpay/webpack/runtime/nonce","webpack://wc-valorpay/./blocks/index.js"],"sourcesContent":["import memoize from '@emotion/memoize';\n\nvar reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23\n\nvar isPropValid = /* #__PURE__ */memoize(function (prop) {\n return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111\n /* o */\n && prop.charCodeAt(1) === 110\n /* n */\n && prop.charCodeAt(2) < 91;\n}\n/* Z+1 */\n);\n\nexport { isPropValid as default };\n","function memoize(fn) {\n var cache = Object.create(null);\n return function (arg) {\n if (cache[arg] === undefined) cache[arg] = fn(arg);\n return cache[arg];\n };\n}\n\nexport { memoize as default };\n","var unitlessKeys = {\n animationIterationCount: 1,\n aspectRatio: 1,\n borderImageOutset: 1,\n borderImageSlice: 1,\n borderImageWidth: 1,\n boxFlex: 1,\n boxFlexGroup: 1,\n boxOrdinalGroup: 1,\n columnCount: 1,\n columns: 1,\n flex: 1,\n flexGrow: 1,\n flexPositive: 1,\n flexShrink: 1,\n flexNegative: 1,\n flexOrder: 1,\n gridRow: 1,\n gridRowEnd: 1,\n gridRowSpan: 1,\n gridRowStart: 1,\n gridColumn: 1,\n gridColumnEnd: 1,\n gridColumnSpan: 1,\n gridColumnStart: 1,\n msGridRow: 1,\n msGridRowSpan: 1,\n msGridColumn: 1,\n msGridColumnSpan: 1,\n fontWeight: 1,\n lineHeight: 1,\n opacity: 1,\n order: 1,\n orphans: 1,\n tabSize: 1,\n widows: 1,\n zIndex: 1,\n zoom: 1,\n WebkitLineClamp: 1,\n // SVG-related properties\n fillOpacity: 1,\n floodOpacity: 1,\n stopOpacity: 1,\n strokeDasharray: 1,\n strokeDashoffset: 1,\n strokeMiterlimit: 1,\n strokeOpacity: 1,\n strokeWidth: 1\n};\n\nexport { unitlessKeys as default };\n","/**\n * WordPress dependencies\n */\nimport { cloneElement, forwardRef } from '@wordpress/element';\n\n/** @typedef {{icon: JSX.Element, size?: number} & import('@wordpress/primitives').SVGProps} IconProps */\n\n/**\n * Return an SVG icon.\n *\n * @param {IconProps} props icon is the SVG component to render\n * size is a number specifying the icon size in pixels\n * Other props will be passed to wrapped SVG component\n * @param {import('react').ForwardedRef<HTMLElement>} ref The forwarded ref to the SVG element.\n *\n * @return {JSX.Element} Icon component\n */\nfunction Icon({\n icon,\n size = 24,\n ...props\n}, ref) {\n return cloneElement(icon, {\n width: size,\n height: size,\n ...props,\n ref\n });\n}\nexport default forwardRef(Icon);\n//# sourceMappingURL=index.js.map","/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst chevronDown = /*#__PURE__*/_jsx(SVG, {\n viewBox: \"0 0 24 24\",\n xmlns: \"http://www.w3.org/2000/svg\",\n children: /*#__PURE__*/_jsx(Path, {\n d: \"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z\"\n })\n});\nexport default chevronDown;\n//# sourceMappingURL=chevron-down.js.map","import { useEffect, useState } from 'react';\nimport { TextInput } from '@woocommerce/blocks-components';\nimport { __ } from '@wordpress/i18n';\nimport styled from 'styled-components';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\nimport Select from './Select';\n\nconst AchGroup = styled.div`\n\tdisplay: flex;\n\tgap: 10px;\n`;\n\nexport default function AchForm(props) {\n const {\n eventRegistration,\n emitResponse,\n paymentStatus,\n } = props;\n \n const { onPaymentSetup, onCheckoutAfterProcessingWithError } = eventRegistration;\n const [accountNumber, setAccountNumber] = useState('');\n const [accountNumberError, setAccountNumberError] = useState('');\n const [routingNumber, setRoutingNumber] = useState('');\n const [routingNumberError, setRoutingNumberError] = useState('');\n const [nameOnAccount, setNameOnAccount] = useState('');\n const [nameOnAccountError, setNameOnAccountError] = useState('');\n const [accountType, setAccountType] = useState('C');\n const [entryClass, setEntryClass] = useState('Business');\n const [txnType, setTxnType] = useState('Debit');\n\n const [phoneNumber, setPhoneNumber] = useState('');\n const [phoneNumberError, setPhoneNumberError] = useState('');\n const [email, setEmail] = useState('');\n const [emailError, setEmailError] = useState('');\n \n\n useEffect(() => {\n const elements = document.querySelectorAll('.wc-block-components-payment-methods__save-card-info');\n // Filter elements to ensure they have the same parent\n const filteredElements = Array.from(elements).filter((element, index, array) => {\n return element.parentElement === array[0].parentElement; // Check if they have the same parent\n });\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'none';\n }\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"ach\",\n },\n } );\n return () => {\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } )\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'block';\n }\n };\n }, [])\n\n useEffect( () => {\n const unsubscribe = onPaymentSetup( async () => {\n let isInValidForm = false;\n if ( accountNumberError !== '' ) {\n isInValidForm = true;\n }\n if ( routingNumberError !== '' ) {\n isInValidForm = true;\n }\n if ( nameOnAccountError !== '' ) {\n isInValidForm = true;\n }\n if ( phoneNumberError !== '' ) {\n isInValidForm = true;\n }\n if ( emailError !== '' ) {\n isInValidForm = true;\n }\n if (accountNumber === '') {\n setAccountNumberError( __('Please enter a valid Account Number','wc-valorpay'));\n isInValidForm = true;\n }\n if (routingNumber === '') {\n setRoutingNumberError( __('Please enter a valid Routing Number','wc-valorpay'));\n isInValidForm = true;\n }\n if (nameOnAccount === '') {\n setNameOnAccountError( __('Please enter a valid Name On Account','wc-valorpay'));\n isInValidForm = true;\n }\n if (isInValidForm) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: __(\n 'Please provide payment information',\n 'wc-valorpay'\n ),\n };\n }\n return {\n type: emitResponse.responseTypes.SUCCESS,\n meta: {\n paymentMethodData: {\n wc_valorpay_ach_sale: true,\n wc_valorpay_account_number: accountNumber,\n wc_valorpay_routing_number: routingNumber,\n wc_valorpay_name_on_account: nameOnAccount,\n wc_valorpay_account_type: accountType,\n wc_valorpay_entry_class: entryClass,\n wc_valorpay_card_type: txnType,\n wc_valorpay_phone: phoneNumber.replace(/[^0-9]/g, ''),\n wc_valorpay_email: email,\n },\n },\n };\n } );\n const unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n ( { processingResponse } ) => {\n if ( processingResponse?.paymentDetails?.errorMessage ) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: processingResponse.paymentDetails.errorMessage,\n messageContext: emitResponse.noticeContexts.PAYMENTS,\n };\n }\n // so we don't break the observers.\n return true;\n }\n );\n // Unsubscribes when this component is unmounted.\n return () => {\n unsubscribe();\n unsubscribeErrorMsg();\n };\n }, [\n emitResponse.responseTypes.ERROR,\n emitResponse.responseTypes.SUCCESS,\n onPaymentSetup,\n accountNumber,\n accountNumberError,\n routingNumber,\n routingNumberError,\n nameOnAccount,\n nameOnAccountError,\n accountType,\n entryClass,\n txnType,\n phoneNumber,\n phoneNumberError,\n email,\n emailError,\n ] );\n\n const handleAccountNumberChange = (value) => {\n if ( value.length <= 13 && /^[0-9]*$/.test(value) ) {\n setAccountNumberError('');\n setAccountNumber(value);\n }\n };\n\n const handleAccountNumberBlur = (event) => {\n if ( accountNumber === '' ) {\n setAccountNumberError( __('Please enter a valid Account Number','wc-valorpay'));\n }\n }\n\n const handleRoutingNumberChange = (value) => {\n if (value.length <= 9 && /^[0-9]*$/.test(value)) {\n setRoutingNumberError('');\n setRoutingNumber(value);\n }\n };\n\n const handleRoutingNumberBlur = (event) => {\n if ( routingNumber === '' ) {\n setRoutingNumberError( __('Please enter a valid Routing Number','wc-valorpay'))\n }\n }\n\n const handleNameOnAccountChange = (value) => {\n if (value.length <= 22 && /^[a-zA-Z0-9\\s]*$/.test(value)) {\n setNameOnAccountError('');\n setNameOnAccount(value);\n }\n };\n const handleNameOnAccountBlur = (value) => {\n if ( nameOnAccount === '' ) {\n setNameOnAccountError( __('Please enter a valid Name On Account','wc-valorpay'))\n }\n };\n\n const handlePhoneNumberChange = (value) => {\n // Remove any non-digit characters\n let numericValue = value.replace(/[^0-9]/g, '');\n\n // Format the number if it has 10 digits\n if (numericValue.length <= 10) {\n let formattedValue = numericValue;\n const previousVal = phoneNumber.replace(/[^0-9]/g, '');\n if (previousVal === numericValue) {\n numericValue = numericValue.slice(0, -1);\n }\n if (numericValue.length > 3 && numericValue.length <= 6) {\n formattedValue = `(${numericValue.slice(0, 3)}) ${numericValue.slice(3, 6)}-${numericValue.slice(6)}`;\n } else if (numericValue.length > 6) {\n formattedValue = `(${numericValue.slice(0, 3)}) ${numericValue.slice(3, 6)}-${numericValue.slice(6, 10)}`;\n } else if (numericValue.length > 0) {\n formattedValue = `(${numericValue.slice(0, 3)}) ${numericValue.slice(3)}`;\n }\n \n setPhoneNumber(formattedValue);\n setPhoneNumberError('');\n }\n };\n \n const handlePhoneNumberBlur = () => {\n const formattedPhoneNumber = phoneNumber.replace(/[^0-9]/g, '');\n if ( formattedPhoneNumber && formattedPhoneNumber.length !== 10 ) {\n setPhoneNumberError(__('Please enter a valid phone number with 10 digits', 'wc-valorpay'));\n }\n };\n \n const handleEmailChange = (value) => {\n setEmailError('');\n setEmail(value);\n };\n \n const handleEmailBlur = () => {\n const emailRegex = /^[a-z0-9._+-]+@[a-z0-9.-]+\\.[a-z]{2,63}$/i;\n if ( email && !emailRegex.test(email) ) {\n setEmailError(__('Please enter a valid email address', 'wc-valorpay'));\n }\n };\n \n\n const handleAccountTypeChange = (event) => {\n setAccountType(event.target.value);\n };\n\n const handleEntryClassChange = (event) => {\n setEntryClass(event.target.value);\n };\n\n const handleTxnTypeChange = (event) => {\n setTxnType(event.target.value);\n };\n\n return (\n <>\n <TextInput\n id=\"valor-ach-acc-no\"\n label={__('Account Number', 'wc-valorpay')}\n feedback={accountNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{accountNumberError}</p></div>}\n type=\"text\"\n value={accountNumber}\n required=\"true\"\n className={accountNumberError === '' ? '' : \"has-error\"}\n onChange={handleAccountNumberChange}\n onBlur={handleAccountNumberBlur}\n />\n <TextInput\n id=\"valor-ach-rou-no\"\n label={__('Routing Number', 'wc-valorpay')}\n feedback={routingNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{routingNumberError}</p></div>}\n type=\"text\"\n value={routingNumber}\n required=\"true\"\n className={routingNumberError === '' ? '' : \"has-error\"}\n onChange={handleRoutingNumberChange}\n onBlur={handleRoutingNumberBlur}\n />\n <TextInput\n id=\"valor-ach-acc-name\"\n label={__('Name on Account', 'wc-valorpay')}\n feedback={nameOnAccountError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{nameOnAccountError}</p></div>}\n type=\"text\"\n value={nameOnAccount}\n required=\"true\"\n className={nameOnAccountError === '' ? '' : \"has-error\"}\n onChange={handleNameOnAccountChange}\n onBlur={handleNameOnAccountBlur}\n />\n <Select\n id=\"valor-ach-acc-type\"\n label=\"Account Type\"\n options={[\n { label: \"Checking\", value: \"C\" },\n { label: \"Savings\", value: \"S\" },\n ]}\n value={accountType}\n selectOnChange={handleAccountTypeChange}\n />\n <AchGroup>\n <Select\n id=\"valor-ach-acc-entry\"\n label=\"Entry Class\"\n options={[\n { label: \"Business\", value: \"Business\" },\n { label: \"Personal\", value: \"Personal\" },\n ]}\n value={entryClass}\n selectOnChange={handleEntryClassChange}\n />\n </AchGroup>\n <TextInput\n id=\"valor-ach-phone\"\n label={__('Phone Number', 'wc-valorpay')}\n feedback={phoneNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{phoneNumberError}</p></div>}\n type=\"text\"\n value={phoneNumber}\n required=\"true\"\n className={phoneNumberError === '' ? '' : \"has-error\"}\n onChange={handlePhoneNumberChange}\n onBlur={handlePhoneNumberBlur}\n />\n <TextInput\n id=\"valor-ach-email\"\n label={__('Email', 'wc-valorpay')}\n feedback={emailError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{emailError}</p></div>}\n type=\"email\"\n value={email}\n required=\"true\"\n className={emailError === '' ? '' : \"has-error\"}\n onChange={handleEmailChange}\n onBlur={handleEmailBlur}\n />\n </>\n)};","import { useEffect, useState } from 'react';\nimport { TextInput } from '@woocommerce/blocks-components';\nimport { __ } from '@wordpress/i18n';\nimport styled from 'styled-components';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nexport default function GiftForm(props) {\n const { eventRegistration, emitResponse, paymentStatus } = props;\n const { onPaymentSetup, onCheckoutAfterProcessingWithError } = eventRegistration;\n const [cardNumber, setCardNumber] = useState('');\n const [pinNumber, setPinNumber] = useState('');\n const [giftCardNumberError, setGiftCardNumberError] = useState('');\n\n useEffect(() => {\n const elements = document.querySelectorAll('.wc-block-components-payment-methods__save-card-info');\n // Filter elements to ensure they have the same parent\n const filteredElements = Array.from(elements).filter((element, index, array) => {\n return element.parentElement === array[0].parentElement; // Check if they have the same parent\n });\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'none';\n }\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"gift\",\n },\n } );\n return () => {\n extensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } )\n if (filteredElements.length > 0) {\n filteredElements[0].style.display = 'block';\n }\n };\n }, [])\n\n useEffect( () => {\n const unsubscribe = onPaymentSetup( async () => {\n let isInValidForm = false;\n if ( giftCardNumberError !== '' ) {\n isInValidForm = true;\n }\n if (cardNumber === '') {\n setGiftCardNumberError( __('Please enter a valid Gift Card Number','wc-valorpay'));\n isInValidForm = true;\n }\n if (isInValidForm) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: __(\n 'Please provide payment information',\n 'wc-valorpay'\n ),\n };\n }\n return {\n type: emitResponse.responseTypes.SUCCESS,\n meta: {\n paymentMethodData: {\n wc_valorpay_gift_sale: true,\n wc_valorpay_gift_card_no: cardNumber.replaceAll(\" \", \"\"),\n wc_valorpay_gift_card_pin: pinNumber,\n },\n },\n };\n } );\n\n \n const unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n ( { processingResponse } ) => {\n if ( processingResponse?.paymentDetails?.errorMessage ) {\n return {\n type: emitResponse.responseTypes.ERROR,\n message: processingResponse.paymentDetails.errorMessage,\n messageContext: emitResponse.noticeContexts.PAYMENTS,\n };\n }\n // so we don't break the observers.\n return true;\n }\n );\n // Unsubscribes when this component is unmounted.\n return () => {\n unsubscribe();\n unsubscribeErrorMsg();\n };\n }, [\n emitResponse.responseTypes.ERROR,\n emitResponse.responseTypes.SUCCESS,\n onPaymentSetup,\n cardNumber,\n pinNumber,\n giftCardNumberError,\n ] );\n\n const handleGiftCardNumberChange = (value) => {\n let cardNumber = value.replaceAll(\" \", \"\");\n if ( cardNumber.length <= 21 && /^[0-9]*$/.test(cardNumber) ) {\n let newCardNumber = \"\";\n let counter = 0;\n for (let n of cardNumber) {\n if ( (counter% 4) === 0) {\n newCardNumber += \" \";\n }\n newCardNumber+=n;\n counter++;\n }\n setCardNumber(newCardNumber);\n setGiftCardNumberError('');\n }\n };\n\n const handleGiftCardNumberBlur = (event) => {\n if ( cardNumber.length <= 11 ) {\n setGiftCardNumberError( __('Please enter a valid Gift Card Number','wc-valorpay'));\n }\n }\n\n const handleGiftPinChange = (value) => {\n if ( value.length <= 8 && /^[0-9]*$/.test(value) ) {\n setPinNumber(value);\n }\n };\n\n return (\n <>\n <TextInput\n id=\"valor-giftcard-acc-no\"\n label={__('Card Number', 'wc-valorpay')}\n feedback={giftCardNumberError === '' ? '' : <div className=\"wc-block-components-validation-error\"><p>{giftCardNumberError}</p></div>}\n type=\"text\"\n value={cardNumber}\n required=\"true\"\n className={giftCardNumberError === '' ? '' : \"has-error\"}\n onChange={handleGiftCardNumberChange}\n onBlur={handleGiftCardNumberBlur}\n />\n <TextInput\n id=\"valor-giftcard-pin-no\"\n label={__('Pin Number', 'wc-valorpay')}\n type=\"text\"\n value={pinNumber}\n required=\"false\"\n onChange={handleGiftPinChange}\n />\n </>\n )\n}","import { usePaymentInputs } from '../hooks';\n\nexport default function PaymentInputsContainer( props ) {\n\tconst paymentInputs = usePaymentInputs( props );\n\treturn props.children( paymentInputs );\n}\n","import React from 'react';\nimport styled, { css } from 'styled-components';\n\n// Preventing hasErrored and other internal props from being passed to DOM\nconst FieldWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'styles' ].includes( prop ),\n} )`\n\tdisplay: inline-flex;\n\tflex-direction: column;\n\twidth: 100%;\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored && props.styles.fieldWrapper\n\t\t\t\t? props.styles.fieldWrapper.errored\n\t\t\t\t: undefined };\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.fieldWrapper\n\t\t\t? props.styles.fieldWrapper.base\n\t\t\t: undefined };\n`;\n\nconst InputWrapper = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\talign-items: center;\n\tbackground-color: white;\n\tborder: 1px solid #bdbdbd;\n\tbox-shadow: inset 0px 1px 2px #e5e5e5;\n\tborder-radius: 0.2em;\n\tdisplay: flex;\n\theight: 2.5em;\n\tpadding: 0.4em 0.6em;\n\twidth: 100%; /* Ensure the wrapper takes the full width */\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.hasErrored &&\n\t\t\tcss`\n\t\t\t\tborder-color: #c9444d;\n\t\t\t\tbox-shadow: #c9444d 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.errored };\n\t\t\t` };\n\t}\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.focused &&\n\t\t\tcss`\n\t\t\t\tborder-color: #444bc9;\n\t\t\t\tbox-shadow: #444bc9 0px 0px 0px 1px;\n\t\t\t\t${ ( props ) =>\n\t\t\t\t\tprops.styles.inputWrapper &&\n\t\t\t\t\tprops.styles.inputWrapper.focused };\n\t\t\t` };\n\t}\n\n\t& input {\n\t\tborder: unset;\n\t\tmargin: unset;\n\t\tpadding: unset;\n\t\toutline: unset;\n\t\tfont-size: inherit;\n\t\twidth: 100%; /* Take full width by default */\n\t\tmin-width: 11em; /* Default minimum width */\n\t\tflex-grow: 1; /* Allow input to grow */\n\n\t\t& {\n\t\t\t${ ( props ) =>\n\t\t\t\tprops.hasErrored && props.styles.input\n\t\t\t\t\t? props.styles.input.errored\n\t\t\t\t\t: undefined };\n\t\t}\n\n\t\t${ ( props ) => props.styles.input && props.styles.input.base };\n\n\t\t&:focus {\n\t\t\twidth: 15em; /* Increase width on focus */\n\t\t\ttransition: width 0.3s ease;\n\t\t}\n\t}\n\n\t& svg {\n\t\tmargin-right: 0.6em;\n\t\t& {\n\t\t\t${ ( props ) => props.styles.cardImage };\n\t\t}\n\t}\n\n\t& input#cardNumber {\n\t\twidth: 10em;\n\t\tmin-width: 10em;\n\n\t\t&:focus {\n\t\t\twidth: 13em;\n\t\t}\n\t}\n\n\t& input#expiryDate {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\n\t& input#cvc {\n\t\twidth: 2.5em;\n\t\tmin-width: 2.5em;\n\n\t\t&:focus {\n\t\t\twidth: 3.5em;\n\t\t}\n\t}\n\n\t& input#zip {\n\t\twidth: 4em;\n\t\tmin-width: 4em;\n\n\t\t&:focus {\n\t\t\twidth: 5em;\n\t\t}\n\t}\n\t& input#streetaddress {\n\t\twidth: 8em;\n\t\tmin-width: 8em;\n\n\t\t&:focus {\n\t\t\twidth: 9em;\n\t\t}\n\t}\n\n\t${ ( props ) =>\n\t\tprops.styles.inputWrapper\n\t\t\t? props.styles.inputWrapper.base\n\t\t\t: undefined };\n`;\n\nconst ErrorText = styled.div.withConfig( {\n\tshouldForwardProp: ( prop ) =>\n\t\t! [ 'hasErrored', 'focused', 'styles' ].includes( prop ),\n} )`\n\tcolor: #c9444d;\n\tfont-size: 0.75rem;\n\tmargin-top: 0.25rem;\n\n\t& {\n\t\t${ ( props ) =>\n\t\t\tprops.styles.errorText ? props.styles.errorText.base : undefined };\n\t}\n`;\n\nfunction PaymentInputsWrapper( {\n\tchildren,\n\terror,\n\terrorTextProps,\n\tfocused,\n\tinputWrapperProps,\n\tisTouched,\n\tstyles = {}, // Set default value for styles here\n\tisInitPay,\n\t...restProps\n} ) {\n\tconst hasErrored = error && ( isTouched || ( ! focused && isInitPay ) );\n\n\treturn (\n\t\t<FieldWrapper\n\t\t\thasErrored={ hasErrored }\n\t\t\tstyles={ styles }\n\t\t\t{ ...restProps }\n\t\t>\n\t\t\t<InputWrapper\n\t\t\t\tfocused={ focused }\n\t\t\t\thasErrored={ hasErrored }\n\t\t\t\tstyles={ styles }\n\t\t\t\t{ ...inputWrapperProps }\n\t\t\t>\n\t\t\t\t{ children }\n\t\t\t</InputWrapper>\n\t\t\t{ hasErrored && (\n\t\t\t\t<ErrorText styles={ styles } { ...errorTextProps }>\n\t\t\t\t\t{ error }\n\t\t\t\t</ErrorText>\n\t\t\t) }\n\t\t</FieldWrapper>\n\t);\n}\n\nexport default PaymentInputsWrapper;\n","import { useId } from 'react';\nimport { Icon, chevronDown } from '@wordpress/icons';\n\n\nexport default function Select(props) {\n const {\n label,\n selectOnChange,\n options,\n value,\n ...restOfProps\n } = props;\n const generatedId = useId();\n const inputId = restOfProps.id || `wc-blocks-components-select-${ generatedId }`;\n return(\n <div className=\"wc-blocks-components-select\">\n <div className=\"wc-blocks-components-select__container\">\n <label\n htmlFor={ inputId }\n className=\"wc-blocks-components-select__label\"\n >\n { label }\n </label>\n <select \n className=\"wc-blocks-components-select__select\"\n id={ inputId }\n size=\"1\"\n onChange={ selectOnChange }\n value={ value }\n >\n { options.map( ( option ) => (\n <option\n key={ option.value }\n value={ option.value }\n data-alternate-values={ `[${ option.label }]` }\n disabled={\n option.disabled !== undefined\n ? option.disabled\n : false\n }\n >\n { option.label }\n </option>\n\t\t\t\t\t) ) }\n </select>\n <Icon\n className=\"wc-blocks-components-select__expand\"\n icon={ chevronDown }\n />\n </div>\n </div>\n )\n}","export default function TermsCheckbox( { id, label, checked, onChange } ) {\n return (\n\t\t<div className=\"wc-block-components-checkbox\">\n\t\t\t<label htmlFor={ id }>\n\t\t\t\t<input\n\t\t\t\t\tid={ id }\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__input\"\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\taria-invalid=\"false\"\n\t\t\t\t\tchecked={ checked }\n\t\t\t\t\tonChange={ onChange }\n\t\t\t\t/>\n\t\t\t\t<svg\n\t\t\t\t\tclassName=\"wc-block-components-checkbox__mark\"\n\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\tviewBox=\"0 0 24 20\"\n\t\t\t\t>\n\t\t\t\t\t<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\"></path>\n\t\t\t\t</svg>\n\t\t\t\t<span class=\"wc-block-components-checkbox__label\">\n\t\t\t\t\t{ label }\n\t\t\t\t</span>\n\t\t\t</label>\n\t\t</div>\n\t);\n}","export { default as PaymentInputsContainer } from './PaymentInputsContainer';\nexport { default as PaymentInputsWrapper } from './PaymentInputsWrapper';\nexport { default as TermsCheckbox } from './TermsCheckbox';\nexport { default as AchForm } from './AchForm';\nexport { default as GiftForm } from './GiftForm';\n","import React from 'react';\n\nimport utils from '../utils';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\n\nexport default function usePaymentInputs( {\n\tautoFocus = true,\n\terrorMessages,\n\tonBlur,\n\tonChange,\n\tonError,\n\tonTouch,\n\tcardNumberValidator,\n\tcvcValidator,\n\texpiryValidator,\n\tavsType,\n\tsetIsFetchingCardType,\n\tpaymentFields,\n} = {} ) {\n\tconst cardNumberField = React.useRef();\n\tconst expiryDateField = React.useRef();\n\tconst cvcField = React.useRef();\n\tconst zipField = React.useRef();\n\tconst addressField = React.useRef();\n\tconst poNumberField = React.useRef();\n\n\t/** ====== START: META STUFF ====== */\n\tconst [ touchedInputs, setTouchedInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = false;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ isTouched, setIsTouched ] = React.useState( false );\n\tconst [ erroredInputs, setErroredInputs ] = React.useState(\n\t\tpaymentFields.reduce( ( acc, field ) => {\n\t\t\tacc[ field ] = undefined;\n\t\t\treturn acc;\n\t\t}, {} )\n\t);\n\tconst [ error, setError ] = React.useState();\n\tconst [ cardType, setCardType ] = React.useState();\n\tconst [ focused, setFocused ] = React.useState();\n\n\tconst setInputError = React.useCallback( ( input, error ) => {\n\t\tsetErroredInputs( ( erroredInputs ) => {\n\t\t\tif ( erroredInputs[ input ] === error ) return erroredInputs;\n\n\t\t\tlet newError = error;\n\t\t\tconst newErroredInputs = { ...erroredInputs, [ input ]: error };\n\t\t\tif ( error ) {\n\t\t\t\tsetError( error );\n\t\t\t} else {\n\t\t\t\tnewError = Object.values( newErroredInputs ).find( Boolean );\n\t\t\t\tsetError( newError );\n\t\t\t}\n\t\t\tonError && onError( newError, newErroredInputs );\n\t\t\treturn newErroredInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\n\tconst setInputTouched = React.useCallback( ( input, value ) => {\n\t\trequestAnimationFrame( () => {\n\t\t\tif ( document.activeElement.tagName !== 'INPUT' ) {\n\t\t\t\tsetIsTouched( true );\n\t\t\t} else if ( value === false ) {\n\t\t\t\tsetIsTouched( false );\n\t\t\t}\n\t\t} );\n\n\t\tsetTouchedInputs( ( touchedInputs ) => {\n\t\t\tif ( touchedInputs[ input ] === value ) return touchedInputs;\n\n\t\t\tconst newTouchedInputs = { ...touchedInputs, [ input ]: value };\n\t\t\tonTouch && onTouch( { [ input ]: value }, newTouchedInputs );\n\t\t\treturn newTouchedInputs;\n\t\t} );\n\t}, [] ); // eslint-disable-line\n\t/** ====== END: META STUFF ====== */\n\n\t/** ====== START: CARD NUMBER STUFF ====== */\n\tconst handleBlurCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cardNumber', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCardNumber = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\t\t\t\tlet cursorPosition = cardNumberField.current.selectionStart;\n\n\t\t\t\tconst cardType =\n\t\t\t\t\tutils.cardTypes.getCardTypeByValue( cardNumber );\n\t\t\t\tsetCardType( cardType );\n\n\t\t\t\tsetInputTouched( 'cardNumber', false );\n\n\t\t\t\t// @ts-ignore\n\t\t\t\tcardNumberField.current.value =\n\t\t\t\t\tutils.formatter.formatCardNumber( cardNumber );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\t// Due to the card number formatting, the selection cursor will fall to the end of\n\t\t\t\t// the input field. Here, we want to reposition the cursor to the correct place.\n\t\t\t\trequestAnimationFrame( () => {\n\t\t\t\t\tif ( document.activeElement !== cardNumberField.current )\n\t\t\t\t\t\treturn;\n\t\t\t\t\tif (\n\t\t\t\t\t\tcardNumberField.current.value[ cursorPosition - 1 ] ===\n\t\t\t\t\t\t' '\n\t\t\t\t\t) {\n\t\t\t\t\t\tcursorPosition = cursorPosition + 1;\n\t\t\t\t\t}\n\t\t\t\t\tcardNumberField.current.setSelectionRange(\n\t\t\t\t\t\tcursorPosition,\n\t\t\t\t\t\tcursorPosition\n\t\t\t\t\t);\n\t\t\t\t} );\n\n\t\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\t\tcardNumber,\n\t\t\t\t\tcardNumberValidator,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cardNumberError && autoFocus ) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t\tsetIsFetchingCardType( true );\n\t\t\t\t\textensionCartUpdate( {\n\t\t\t\t\t\tnamespace: 'wc-valorpay-fee-update',\n\t\t\t\t\t\tdata: {\n\t\t\t\t\t\t\taction_type: 'bin_lookup',\n\t\t\t\t\t\t\tbin: cardNumber.slice( 0, 6 ),\n\t\t\t\t\t\t},\n\t\t\t\t\t} ).then( () => {\n\t\t\t\t\t\tsetIsFetchingCardType( false );\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t\t\tprops.onError && props.onError( cardNumberError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcardNumberValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cardNumber' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyPressCardNumber = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedCardNumber = e.target.value || '';\n\t\t\tconst cardNumber = formattedCardNumber.replace( /\\s/g, '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tutils.validator.hasCardNumberReachedMaxLength( cardNumber )\n\t\t\t\t) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getCardNumberProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Card number',\n\t\t\tautoComplete: 'cc-number',\n\t\t\tid: 'cardNumber',\n\t\t\tname: 'cardNumber',\n\t\t\tplaceholder: 'Card number',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cardNumberField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCardNumber( props ),\n\t\t\tonChange: handleChangeCardNumber( props ),\n\t\t\tonFocus: handleFocusCardNumber( props ),\n\t\t\tonKeyPress: handleKeyPressCardNumber( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurCardNumber,\n\t\t\thandleChangeCardNumber,\n\t\t\thandleFocusCardNumber,\n\t\t\thandleKeyPressCardNumber,\n\t\t]\n\t);\n\t/** ====== END: CARD NUMBER STUFF ====== */\n\n\t/** ====== START: EXPIRY DATE STUFF ====== */\n\tconst handleBlurExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'expiryDate', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tsetInputTouched( 'expiryDate', false );\n\n\t\t\t\texpiryDateField.current.value =\n\t\t\t\t\tutils.formatter.formatExpiry( e );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\t\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\t\texpiryDateField.current.value,\n\t\t\t\t\texpiryValidator,\n\t\t\t\t\t{\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif ( ! expiryDateError && autoFocus ) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t\t\tprops.onError && props.onError( expiryDateError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\terrorMessages,\n\t\t\texpiryValidator,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'expiryDate' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownExpiryDate = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcardNumberField.current && cardNumberField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressExpiryDate = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tconst formattedExpiryDate = e.target.value || '';\n\t\t\tconst expiryDate = formattedExpiryDate.replace( ' / ', '' );\n\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t\tif ( expiryDate.length >= 4 ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getExpiryDateProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'Expiry date in format MM YY',\n\t\t\tautoComplete: 'cc-exp',\n\t\t\tid: 'expiryDate',\n\t\t\tname: 'expiryDate',\n\t\t\tplaceholder: 'MM/YY',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: expiryDateField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurExpiryDate( props ),\n\t\t\tonChange: handleChangeExpiryDate( props ),\n\t\t\tonFocus: handleFocusExpiryDate( props ),\n\t\t\tonKeyDown: handleKeyDownExpiryDate( props ),\n\t\t\tonKeyPress: handleKeyPressExpiryDate( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurExpiryDate,\n\t\t\thandleChangeExpiryDate,\n\t\t\thandleFocusExpiryDate,\n\t\t\thandleKeyDownExpiryDate,\n\t\t\thandleKeyPressExpiryDate,\n\t\t]\n\t);\n\t/** ====== END: EXPIRY DATE STUFF ====== */\n\n\t/** ====== START: CVC STUFF ====== */\n\tconst handleBlurCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'cvc', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeCVC = React.useCallback(\n\t\t( props = {}, { cardType } = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst cvc = e.target.value;\n\n\t\t\t\tsetInputTouched( 'cvc', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\t\tcvc,\n\t\t\t\t\tcvcValidator,\n\t\t\t\t\t{ cardType, errorMessages }\n\t\t\t\t);\n\t\t\t\tif ( ! cvcError && autoFocus ) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsetInputError( 'cvc', cvcError );\n\t\t\t\tprops.onError && props.onError( cvcError );\n\t\t\t};\n\t\t},\n\t\t[\n\t\t\tautoFocus,\n\t\t\tcvcValidator,\n\t\t\terrorMessages,\n\t\t\tonChange,\n\t\t\tsetInputError,\n\t\t\tsetInputTouched,\n\t\t]\n\t);\n\n\tconst handleFocusCVC = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'cvc' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownCVC = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\texpiryDateField.current && expiryDateField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressCVC = React.useCallback(\n\t\t( props = {}, { cardType } ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst formattedCVC = e.target.value || '';\n\t\t\t\tconst cvc = formattedCVC.replace( ' / ', '' );\n\n\t\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cardType && cvc.length >= cardType.code.length ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t\tif ( cvc.length >= 4 ) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[]\n\t);\n\n\tconst getCVCProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\t'aria-label': 'CVC',\n\t\t\tautoComplete: 'cc-csc',\n\t\t\tid: 'cvc',\n\t\t\tname: 'cvc',\n\t\t\tplaceholder: cardType ? cardType.code.name : 'CVC',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: cvcField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurCVC( props ),\n\t\t\tonChange: handleChangeCVC( props, { cardType } ),\n\t\t\tonFocus: handleFocusCVC( props ),\n\t\t\tonKeyDown: handleKeyDownCVC( props ),\n\t\t\tonKeyPress: handleKeyPressCVC( props, { cardType } ),\n\t\t} ),\n\t\t[\n\t\t\tcardType,\n\t\t\thandleBlurCVC,\n\t\t\thandleChangeCVC,\n\t\t\thandleFocusCVC,\n\t\t\thandleKeyDownCVC,\n\t\t\thandleKeyPressCVC,\n\t\t]\n\t);\n\t/** ====== END: CVC STUFF ====== */\n\n\t/** ====== START: ZIP STUFF ====== */\n\tconst handleBlurZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'zip', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\n\tconst handleChangeZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst zip = e.target.value;\n\n\t\t\t\tsetInputTouched( 'zip', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst zipError = utils.validator.getZIPError( zip, {\n\t\t\t\t\terrorMessages,\n\t\t\t\t} );\n\t\t\t\tif ( ! zipError && autoFocus && zip.length >= 6 ) {\n\t\t\t\t\taddressField.current && addressField.current.focus();\n\t\t\t\t}\n\t\t\t\tsetInputError( 'zip', zipError );\n\t\t\t\tprops.onError && props.onError( zipError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'zip' );\n\t\t};\n\t}, [] );\n\n\tconst handleKeyDownZIP = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\n\tconst handleKeyPressZIP = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onKeyPress && props.onKeyPress( e );\n\n\t\t\tif ( e.key !== utils.ENTER_KEY_CODE ) {\n\t\t\t\tif ( ! utils.validator.isNumeric( e ) ) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}, [] );\n\n\tconst getZIPProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'zip',\n\t\t\tmaxLength: '6',\n\t\t\tname: 'zip',\n\t\t\tplaceholder: 'ZIP',\n\t\t\ttype: 'tel',\n\t\t\t[ refKey || 'ref' ]: zipField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurZIP( props ),\n\t\t\tonChange: handleChangeZIP( props ),\n\t\t\tonFocus: handleFocusZIP( props ),\n\t\t\tonKeyDown: handleKeyDownZIP( props ),\n\t\t\tonKeyPress: handleKeyPressZIP( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurZIP,\n\t\t\thandleChangeZIP,\n\t\t\thandleFocusZIP,\n\t\t\thandleKeyDownZIP,\n\t\t\thandleKeyPressZIP,\n\t\t]\n\t);\n\n\t/** ====== END: ZIP STUFF ====== */\n\n\t/** ====== START: ADDRESS STUFF ====== */\n\tconst handleBlurAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onBlur && props.onBlur( e );\n\t\t\t\tonBlur && onBlur( e );\n\t\t\t\tsetFocused( undefined );\n\t\t\t\tsetInputTouched( 'streetaddress', true );\n\t\t\t};\n\t\t},\n\t\t[ onBlur, setInputTouched ]\n\t);\n\tconst handleChangeAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tconst streetaddress = e.target.value;\n\n\t\t\t\tsetInputTouched( 'streetaddress', false );\n\n\t\t\t\tprops.onChange && props.onChange( e );\n\t\t\t\tonChange && onChange( e );\n\n\t\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\t\tstreetaddress,\n\t\t\t\t\t{ errorMessages }\n\t\t\t\t);\n\t\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t\t\tprops.onError && props.onError( addressError );\n\t\t\t};\n\t\t},\n\t\t[ errorMessages, onChange, setInputError, setInputTouched ]\n\t);\n\n\tconst handleFocusAddress = React.useCallback( ( props = {} ) => {\n\t\treturn ( e ) => {\n\t\t\tprops.onFocus && props.onFocus( e );\n\t\t\tsetFocused( 'streetaddress' );\n\t\t};\n\t}, [] );\n\tconst handleKeyDownAddress = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\treturn ( e ) => {\n\t\t\t\tprops.onKeyDown && props.onKeyDown( e );\n\n\t\t\t\tif (\n\t\t\t\t\te.key === utils.BACKSPACE_KEY_CODE &&\n\t\t\t\t\t! e.target.value &&\n\t\t\t\t\tautoFocus\n\t\t\t\t) {\n\t\t\t\t\tif ( avsType === 'address' ) {\n\t\t\t\t\t\tcvcField.current && cvcField.current.focus();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tzipField.current && zipField.current.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t},\n\t\t[ autoFocus ]\n\t);\n\tconst getStreetAddressProps = React.useCallback(\n\t\t( { refKey, ...props } = {} ) => ( {\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'streetaddress',\n\t\t\tmaxLength: '25',\n\t\t\tname: 'streetaddress',\n\t\t\tplaceholder: 'STREET ADDRESS',\n\t\t\ttype: 'text',\n\t\t\t[ refKey || 'ref' ]: addressField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurAddress( props ),\n\t\t\tonChange: handleChangeAddress( props ),\n\t\t\tonFocus: handleFocusAddress( props ),\n\t\t\tonKeyDown: handleKeyDownAddress( props ),\n\t\t} ),\n\t\t[\n\t\t\thandleBlurAddress,\n\t\t\thandleChangeAddress,\n\t\t\thandleFocusAddress,\n\t\t\thandleKeyDownAddress,\n\t\t]\n\t);\n\t/** ====== END: ADDRESS STUFF ====== */\n\n\t/** ====== START: PO NUMBER STUFF ====== */\n\tconst handleBlurPONumber = React.useCallback(\n\t\t(props = {}) => {\n\t\t\treturn (e) => {\n\t\t\t\tprops.onBlur && props.onBlur(e);\n\t\t\t\tonBlur && onBlur(e);\n\t\t\t\tsetFocused(undefined);\n\t\t\t\tsetInputTouched('poNumber', true);\n\t\t\t};\n\t\t},\n\t\t[onBlur, setInputTouched]\n\t);\n\n\tconst handleChangePONumber = React.useCallback(\n\t\t(props = {}) => {\n\t\t\treturn (e) => {\n\t\t\t\tlet value = e.target.value;\n\t\t\t\tvalue = value.replace(/[^a-zA-Z0-9]/g, '');\n\n\t\t\t\tif (value.length > 25) {\n value = value.slice(0, 25);\n \t}\n\n\t\t\t\te.target.value = value;\n\t\t\t\tsetInputTouched('poNumber', false);\n\n\t\t\t\tprops.onChange && props.onChange(e);\n\t\t\t\tonChange && onChange(e);\n\n\t\t\t\t// You can add validation here if needed\n\t\t\t\tlet poError;\n\t\t\t\t if (value && !/^[a-zA-Z0-9]{3,25}$/.test(value)) {\n\t\t\t\tpoError =\n\t\t\t\t\terrorMessages?.poNumber ||\n\t\t\t\t\t'PO Number Must Be 3 to 25 Alpha Numeric.';\n\t\t\t}\n\n\t\t\t\tsetInputError('poNumber', poError);\n\t\t\t\tprops.onError && props.onError(poError);\n\t\t\t};\n\t\t},\n\t\t[errorMessages, onChange, setInputError, setInputTouched]\n\t);\n\n\tconst handleFocusPONumber = React.useCallback((props = {}) => {\n\t\treturn (e) => {\n\t\t\tprops.onFocus && props.onFocus(e);\n\t\t\tsetFocused('poNumber');\n\t\t};\n\t}, []);\n\n\tconst getPONumberProps = React.useCallback(\n\t\t({ refKey, ...props } = {}) => ({\n\t\t\tautoComplete: 'off',\n\t\t\tid: 'poNumber',\n\t\t\tname: 'poNumber',\n\t\t\tplaceholder: 'PO Number',\n\t\t\ttype: 'text',\n\t\t\t[refKey || 'ref']: poNumberField,\n\t\t\t...props,\n\t\t\tonBlur: handleBlurPONumber(props),\n\t\t\tonChange: handleChangePONumber(props),\n\t\t\tonFocus: handleFocusPONumber(props),\n\t\t}),\n\t\t[handleBlurPONumber, handleChangePONumber, handleFocusPONumber]\n\t);\n/** ====== END: PO NUMBER STUFF ====== */\n\n\t/** ====== START: CARD IMAGE STUFF ====== */\n\tconst getCardImageProps = React.useCallback(\n\t\t( props = {} ) => {\n\t\t\tconst images = props.images || {};\n\t\t\treturn {\n\t\t\t\t'aria-label': cardType\n\t\t\t\t\t? cardType.displayName\n\t\t\t\t\t: 'Placeholder card',\n\t\t\t\tchildren:\n\t\t\t\t\timages[ cardType ? cardType.type : 'placeholder' ] ||\n\t\t\t\t\timages.placeholder,\n\t\t\t\twidth: '3em',\n\t\t\t\theight: '2em',\n\t\t\t\tviewBox: '0 0 24 16',\n\t\t\t};\n\t\t},\n\t\t[ cardType ]\n\t);\n\t/** ====== END: CARD IMAGE STUFF ====== */\n\n\t// Set default field errors\n\tReact.useLayoutEffect( () => {\n\t\tif ( addressField.current ) {\n\t\t\tconst addressError = utils.validator.getAddressError(\n\t\t\t\taddressField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'streetaddress', addressError );\n\t\t}\n\t\tif ( zipField.current ) {\n\t\t\tconst zipError = utils.validator.getZIPError(\n\t\t\t\tzipField.current.value,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'zip', zipError );\n\t\t}\n\t\tif ( cvcField.current ) {\n\t\t\tconst cvcError = utils.validator.getCVCError(\n\t\t\t\tcvcField.current.value,\n\t\t\t\tcvcValidator,\n\t\t\t\t{ errorMessages }\n\t\t\t);\n\t\t\tsetInputError( 'cvc', cvcError );\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\tconst expiryDateError = utils.validator.getExpiryDateError(\n\t\t\t\texpiryDateField.current.value,\n\t\t\t\texpiryValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'expiryDate', expiryDateError );\n\t\t}\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardNumberError = utils.validator.getCardNumberError(\n\t\t\t\tcardNumberField.current.value,\n\t\t\t\tcardNumberValidator,\n\t\t\t\t{\n\t\t\t\t\terrorMessages,\n\t\t\t\t}\n\t\t\t);\n\t\t\tsetInputError( 'cardNumber', cardNumberError );\n\t\t}\n\t}, [\n\t\tcardNumberValidator,\n\t\tcvcValidator,\n\t\terrorMessages,\n\t\texpiryValidator,\n\t\tsetInputError,\n\t] );\n\n\t// Format default values\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tcardNumberField.current.value = utils.formatter.formatCardNumber(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t}\n\t\tif ( expiryDateField.current ) {\n\t\t\texpiryDateField.current.value = utils.formatter.formatExpiry( {\n\t\t\t\ttarget: expiryDateField.current,\n\t\t\t} );\n\t\t}\n\t}, [] );\n\n\t// Set default card type\n\tReact.useLayoutEffect( () => {\n\t\tif ( cardNumberField.current ) {\n\t\t\tconst cardType = utils.cardTypes.getCardTypeByValue(\n\t\t\t\tcardNumberField.current.value\n\t\t\t);\n\t\t\tsetCardType( cardType );\n\t\t}\n\t}, [] );\n\n\treturn {\n\t\tgetCardImageProps,\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\tgetPONumberProps,\n\t\twrapperProps: {\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t},\n\n\t\tmeta: {\n\t\t\tcardType,\n\t\t\terroredInputs,\n\t\t\terror,\n\t\t\tfocused,\n\t\t\tisTouched,\n\t\t\ttouchedInputs,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t\tpoNumberField,\n\t\t},\n\t};\n}\n","export default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#016fd0\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<path\n\t\t\td=\"m13.7640663 13.3938564v-5.70139231l10.1475359.00910497v1.57489503l-1.1728619 1.25339231 1.1728619 1.2648839v1.6083094h-1.8726188l-.9951823-1.0981657-.9881105 1.1023204z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.4418122 12.7687956v-4.448884h3.7722872v1.02488398h-2.550895v.69569062h2.4900774v1.0078232h-2.4900774v.6833149h2.550895v1.0371713z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m18.1952707 12.7687956 2.087337-2.2270055-2.0874254-2.2217901h1.6156464l1.2754917 1.41003315 1.2791161-1.41003315h1.5461657v.03500552l-2.0428729 2.18678458 2.0428729 2.1638895v.063116h-1.5617237l-1.2981216-1.4241768-1.2847735 1.4241768z\"\n\t\t\tfill=\"#016fd0\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m14.2373481 2.6319558h2.4460552l.8591381 1.95085083v-1.95085083h3.0198453l.5207514 1.46156906.5225194-1.46156906h2.3059447v5.70139227h-12.1865193z\"\n\t\t\tfill=\"#fffffe\"\n\t\t/>\n\t\t<g fill=\"#016fd0\">\n\t\t\t<path d=\"m14.7004641 3.25135912-1.9740111 4.44517127h1.3539006l.3724199-.89016575h2.0179447l.3721547.89016575h1.3875801l-1.96579-4.44517127zm.1696353 2.55743646.592-1.41507182.5915581 1.41507182z\" />\n\t\t\t<path d=\"m18.2119779 7.69573481v-4.44508288l1.903116.00654144.9792707 2.73272928.9856354-2.73927072h1.8316022v4.44508288l-1.1786077.01043094v-3.05334807l-1.1125746 3.04291713h-1.0758011l-1.1356464-3.05334807v3.05334807z\" />\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-320.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Diners-Club\"\n\t\t\t\t\t\ttransform=\"translate(280.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M10.0021142,2.05179033 L10.0021142,2.03579033 L14.0021142,2.03579033 L14.0021142,2.05179033 C17.1375481,2.28122918 19.5642283,4.89197286 19.5642283,8.03579033 C19.5642283,11.1796078 17.1375481,13.7903515 14.0021142,14.0197903 L14.0021142,14.0357903 L10.0021142,14.0357903 L10.0021142,14.0197903 C6.86668021,13.7903515 4.44,11.1796078 4.44,8.03579033 C4.44,4.89197286 6.86668021,2.28122918 10.0021142,2.05179033 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#0165AC\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M11.6021142,11.4277903 C13.0374002,10.9175027 13.9961556,9.55908923 13.9961556,8.03579033 C13.9961556,6.51249143 13.0374002,5.15407792 11.6021142,4.64379033 L11.6021142,11.4277903 L11.6021142,11.4277903 Z M9.20211417,4.64379033 C7.76682809,5.15407792 6.80807271,6.51249143 6.80807271,8.03579033 C6.80807271,9.55908923 7.76682809,10.9175027 9.20211417,11.4277903 L9.20211417,4.64379033 L9.20211417,4.64379033 Z M10.4021142,13.2357903 C7.53023347,13.2357903 5.20211417,10.907671 5.20211417,8.03579033 C5.20211417,5.16390963 7.53023347,2.83579033 10.4021142,2.83579033 C13.2739949,2.83579033 15.6021142,5.16390963 15.6021142,8.03579033 C15.6021142,10.907671 13.2739949,13.2357903 10.4021142,13.2357903 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"319\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-280.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g\n\t\t\t\t\t\tid=\"Discover\"\n\t\t\t\t\t\ttransform=\"translate(240.000000, 0.000000)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M21.9972414,15.749927 L21.999381,15.7499362 C22.9544683,15.7581106 23.73806,14.9772525 23.75,14.0041555 L23.7500083,2.00630219 C23.7461702,1.53568921 23.5588633,1.08617106 23.2297297,0.756801782 C22.9014319,0.428268884 22.4589161,0.246148853 21.9972414,0.250070854 L2.00063,0.250061791 C1.54108393,0.246148853 1.09856813,0.428268884 0.77027028,0.756801782 C0.441136651,1.08617106 0.253829819,1.53568921 0.25,2.00426336 L0.249991686,13.9936957 C0.253829819,14.4643086 0.441136651,14.9138268 0.77027028,15.2431961 C1.09856813,15.571729 1.54108393,15.753849 2.00275862,15.749927 L21.9972414,15.749927 Z M21.996203,16.249927 C21.9958359,16.249924 21.9954688,16.249921 21.9951018,16.2499178 L21.9972414,16.249927 L21.996203,16.249927 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.6124138,15.9999283 L21.9972414,15.9999283 C22.5240217,16.0043364 23.0309756,15.7992919 23.4065697,15.4299059 C23.7821638,15.06052 23.9956285,14.5570537 24,14.0302731 L24,11.6716524 C20.4561668,13.7059622 16.6127929,15.1667795 12.6124138,15.9999283 L12.6124138,15.9999283 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M23.1724138,9.29647999 L22.32,9.29647999 L21.36,8.03027309 L21.2689655,8.03027309 L21.2689655,9.29647999 L20.5737931,9.29647999 L20.5737931,6.1516524 L21.6,6.1516524 C22.4027586,6.1516524 22.8662069,6.48268688 22.8662069,7.07854895 C22.8662069,7.56682481 22.5765517,7.88130757 22.0551724,7.98061792 L23.1724138,9.29647999 Z M22.1462069,7.10337654 C22.1462069,6.79716964 21.9144828,6.63992826 21.4841379,6.63992826 L21.2689655,6.63992826 L21.2689655,7.5916524 L21.4675862,7.5916524 C21.9144828,7.5916524 22.1462069,7.42613516 22.1462069,7.10337654 L22.1462069,7.10337654 Z M18.1406897,6.1516524 L20.1103448,6.1516524 L20.1103448,6.68130757 L18.8358621,6.68130757 L18.8358621,7.38475585 L20.0606897,7.38475585 L20.0606897,7.92268688 L18.8358621,7.92268688 L18.8358621,8.77510068 L20.1103448,8.77510068 L20.1103448,9.30475585 L18.1406897,9.30475585 L18.1406897,6.1516524 Z M15.9062069,9.37923861 L14.4,6.14337654 L15.1613793,6.14337654 L16.1131034,8.26199723 L17.0731034,6.14337654 L17.817931,6.14337654 L16.2951724,9.37923861 L15.9227586,9.37923861 L15.9062069,9.37923861 Z M9.60827586,9.37096274 C8.54896552,9.37096274 7.72137931,8.65096274 7.72137931,7.71579033 C7.72137931,6.8054455 8.56551724,6.06889378 9.62482759,6.06889378 C9.92275862,6.06889378 10.1710345,6.12682481 10.4772414,6.25923861 L10.4772414,6.98751447 C10.2453534,6.75969251 9.93335245,6.63192067 9.60827586,6.6316524 C8.9462069,6.6316524 8.44137931,7.1116524 8.44137931,7.71579033 C8.44137931,8.35303171 8.93793103,8.80820412 9.64137931,8.80820412 C9.95586207,8.80820412 10.1958621,8.70889378 10.4772414,8.46061792 L10.4772414,9.18889378 C10.1627586,9.32130757 9.89793103,9.37096274 9.60827586,9.37096274 L9.60827586,9.37096274 Z M7.5062069,8.33647999 C7.5062069,8.94889378 7.00137931,9.37096274 6.27310345,9.37096274 C5.74344828,9.37096274 5.36275862,9.18889378 5.04,8.77510068 L5.49517241,8.38613516 C5.65241379,8.66751447 5.91724138,8.80820412 6.24827586,8.80820412 C6.56275862,8.80820412 6.7862069,8.6178593 6.7862069,8.36958343 C6.7862069,8.22889378 6.72,8.12130757 6.57931034,8.03854895 C6.42504922,7.96369158 6.26441119,7.90275992 6.09931034,7.85647999 C5.44551724,7.64958343 5.22206897,7.42613516 5.22206897,6.98751447 C5.22206897,6.47441102 5.70206897,6.0854455 6.33103448,6.0854455 C6.72827586,6.0854455 7.08413793,6.20958343 7.38206897,6.44130757 L7.01793103,6.85510068 C6.87360928,6.69688076 6.66932728,6.60675635 6.45517241,6.60682481 C6.15724138,6.60682481 5.94206897,6.75579033 5.94206897,6.95441102 C5.94206897,7.11992826 6.0662069,7.21096274 6.48,7.3516524 C7.27448276,7.59992826 7.5062069,7.8316524 7.5062069,8.34475585 L7.5062069,8.33647999 Z M4.08827586,6.1516524 L4.78344828,6.1516524 L4.78344828,9.30475585 L4.08827586,9.30475585 L4.08827586,6.1516524 Z M1.8537931,9.30475585 L0.827586207,9.30475585 L0.827586207,6.1516524 L1.8537931,6.1516524 C2.97931034,6.1516524 3.75724138,6.79716964 3.75724138,7.72406619 C3.75724138,8.19579033 3.52551724,8.64268688 3.12,8.94061792 C2.77241379,9.18889378 2.38344828,9.30475585 1.84551724,9.30475585 L1.8537931,9.30475585 Z M2.66482759,6.9378593 C2.43310345,6.75579033 2.16827586,6.68958343 1.71310345,6.68958343 L1.52275862,6.68958343 L1.52275862,8.77510068 L1.71310345,8.77510068 C2.16,8.77510068 2.44137931,8.69234206 2.66482759,8.52682481 C2.90482759,8.32820412 3.04551724,8.03027309 3.04551724,7.72406619 C3.04551724,7.4178593 2.90482759,7.12820412 2.66482759,6.9378593 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#000000\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M12.4137931,6.06889378 C11.5034483,6.06889378 10.7586207,6.79716964 10.7586207,7.69923861 C10.7586207,8.65923861 11.4703448,9.37923861 12.4137931,9.37923861 C13.3406897,9.37923861 14.0689655,8.65096274 14.0689655,7.72406619 C14.0689655,6.79716964 13.3489655,6.06889378 12.4137931,6.06889378 Z\"\n\t\t\t\t\t\t\tid=\"shape\"\n\t\t\t\t\t\t\tfill=\"#F27712\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g id=\"Page-1\" stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g id=\"Group-2\">\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#B3131B\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"2\"\n\t\t\t/>\n\t\t\t<g\n\t\t\t\tid=\"Hipercard_logo\"\n\t\t\t\ttransform=\"translate(2.000000, 6.000000)\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tfillRule=\"nonzero\"\n\t\t\t>\n\t\t\t\t<path\n\t\t\t\t\td=\"M4.45845797,4.72911206 L4.71934477,4.72911206 L4.72670967,4.71021617 C4.73076043,4.69982332 4.73407456,4.67539055 4.73407456,4.65592007 C4.73407456,4.63644958 4.74267391,4.56566228 4.75318417,4.49861521 C4.76369454,4.43156695 4.78836018,4.27726169 4.80799675,4.15571305 C4.82763331,4.0341644 4.85703646,3.85139347 4.87333717,3.74955542 C4.88963776,3.64771736 4.90953167,3.51735868 4.91754595,3.45986946 C4.92556023,3.40238023 4.93534271,3.3553436 4.93928464,3.3553436 C4.94322668,3.3553436 4.96009268,3.38074637 4.9767648,3.41179473 L5.0070776,3.46824705 L5.07434118,3.5349692 L5.14160488,3.60169134 L5.22440039,3.63432372 L5.30719578,3.66695609 L5.40587279,3.67955056 L5.5045498,3.69214384 L5.62980554,3.68457856 L5.75506139,3.67701327 L5.8906751,3.64246001 L6.02628894,3.60790675 L6.09908975,3.57519075 C6.13913019,3.55719677 6.21011098,3.51796553 6.25682484,3.48801021 L6.34175912,3.43354447 L6.42095111,3.35561954 C6.46450662,3.31276155 6.5259323,3.24403729 6.55745263,3.20290069 C6.58897283,3.16176409 6.61476215,3.12510239 6.61476215,3.12143264 C6.61476215,3.11776169 6.63024834,3.09228724 6.64917582,3.06482382 C6.66810343,3.0373592 6.70683989,2.96113177 6.73525696,2.8954298 C6.76367415,2.82972783 6.80808531,2.71146429 6.83394853,2.63262192 L6.88097263,2.48927217 L6.90527961,2.36510142 C6.91864839,2.29680721 6.93584673,2.18391928 6.94349809,2.11423935 L6.95740984,1.98754804 L6.9493753,1.88003572 L6.94134076,1.77252341 L6.91602234,1.66501109 L6.89070392,1.55749878 L6.84971924,1.47700311 L6.80873457,1.39650745 L6.72956721,1.31388424 L6.65039973,1.23125983 L6.55674682,1.18360201 L6.4630938,1.13594299 L6.35995932,1.11163207 L6.25682484,1.08732115 L6.15369036,1.07986696 L6.05055588,1.07241397 L5.93566831,1.0854122 L5.82078075,1.09840925 L5.7270093,1.12198192 L5.63323773,1.1455534 L5.55177641,1.18267501 C5.50697261,1.2030916 5.44177912,1.23776791 5.40690207,1.25973387 C5.3720249,1.28169983 5.33604735,1.30697239 5.32695174,1.31589472 C5.31785613,1.32481824 5.29608043,1.34134766 5.27856116,1.3526257 L5.24670802,1.37313308 L5.26898276,1.26820942 C5.28123392,1.21050159 5.29147275,1.15656744 5.2917358,1.14835469 L5.29221386,1.13342243 L5.06976516,1.13342243 L4.84731634,1.13342243 L4.80831003,1.37532513 C4.78685648,1.50837162 4.75298372,1.71398893 4.73303727,1.83225247 C4.7130907,1.95051602 4.68301183,2.12791134 4.66619545,2.22646429 C4.64937895,2.32501725 4.61938307,2.49972476 4.59953794,2.61470321 C4.5796928,2.72968165 4.54689191,2.91245259 4.52664697,3.02086084 C4.50640216,3.12926909 4.47674372,3.28784975 4.46073931,3.37326231 C4.44473502,3.45867488 4.41461296,3.61994335 4.39380151,3.7316367 C4.37299019,3.84333005 4.33954562,4.02072536 4.31948026,4.12584852 C4.29941502,4.23097167 4.26676167,4.39761576 4.24691738,4.49616871 C4.2270731,4.59472167 4.20785211,4.68745104 4.20420394,4.70223398 L4.19757093,4.72911206 L4.45845773,4.72911206 L4.45845797,4.72911206 Z M5.58158434,3.34795511 L5.48028286,3.35395071 L5.41406652,3.34244331 L5.34785018,3.33093472 L5.28059837,3.30070464 L5.21334656,3.27047457 L5.16636177,3.22630134 L5.11937709,3.18212931 L5.09225746,3.12240025 C5.07734166,3.08954926 5.0581828,3.0337432 5.04968233,2.99838718 L5.03422684,2.93410437 L5.04041916,2.8311458 L5.04661147,2.72818843 L5.07787505,2.56691995 C5.09507,2.47822229 5.12594421,2.31157821 5.14648436,2.19659976 C5.1670245,2.08162131 5.19812318,1.9131519 5.21559259,1.82222277 L5.24735509,1.6568975 L5.3169102,1.5999088 C5.35516545,1.56856538 5.41576424,1.52655673 5.45157423,1.50655705 L5.51668327,1.470194 L5.60161755,1.44430981 L5.68655183,1.41842563 L5.79575304,1.41211346 L5.90495426,1.40580129 L5.99387134,1.42445946 L6.08278843,1.44311762 L6.1455397,1.47157016 L6.20829096,1.50002269 L6.2609103,1.55210763 L6.31352963,1.60419138 L6.34191746,1.65934519 C6.3575308,1.68968039 6.37946059,1.74905705 6.39065044,1.79129506 L6.41099548,1.86808991 L6.40476348,2.09506035 L6.39853137,2.32203079 L6.36736983,2.45618705 C6.35023095,2.52997394 6.31760514,2.64286188 6.29486799,2.70704912 L6.25352781,2.82375493 L6.20290006,2.91822719 C6.17505485,2.9701879 6.1321162,3.04040419 6.10748089,3.07426459 C6.08284558,3.10812381 6.04357913,3.15198525 6.0202222,3.17173287 C5.99686528,3.19148049 5.95774892,3.22234369 5.93329695,3.24031617 L5.8888387,3.27299275 L5.7858622,3.30747553 L5.6828857,3.34195951 L5.58158434,3.34795511 Z M8.10111202,3.67635864 L8.23458018,3.67786023 L8.36804833,3.665875 C8.44145581,3.6592833 8.56157715,3.64555995 8.63498463,3.63537973 C8.70839211,3.62519831 8.83520336,3.60240928 8.91678734,3.58473665 L9.06512179,3.5526048 L9.07250973,3.498771 C9.07657311,3.4691621 9.093232,3.38101873 9.10952955,3.3028967 L9.1391613,3.16085621 L9.1326233,3.1544198 L9.12608543,3.1479822 L9.0807372,3.1695444 C9.05579576,3.181403 8.97811171,3.20969069 8.90810597,3.23240685 L8.78082285,3.27370711 L8.6472364,3.29918394 L8.51364995,3.32466077 L8.30131425,3.32506693 L8.08897856,3.32547309 L8.01617775,3.30258252 C7.9761373,3.28999283 7.91724557,3.26695772 7.88530737,3.25139472 L7.82723768,3.22309628 L7.7793106,3.18046765 L7.73138352,3.13783782 L7.69398963,3.07349051 L7.65659562,3.00914319 L7.63315109,2.92843011 L7.60970656,2.84771703 L7.60953911,2.69835615 L7.60937167,2.54899526 L7.63018579,2.41575047 L7.65099978,2.28250449 L7.83358895,2.27410658 L8.01617823,2.26570748 L8.69111697,2.26997453 L9.3660557,2.27424157 L9.38643459,2.18913124 C9.39764288,2.14232038 9.41477886,2.04555929 9.42451439,1.97410661 L9.44221542,1.84419231 L9.44258913,1.73490963 L9.44296284,1.62562694 L9.42374501,1.54404301 L9.40452717,1.46245909 L9.37275132,1.40843654 C9.35527451,1.37872491 9.32448062,1.33566504 9.3043205,1.31274938 C9.28416037,1.28983373 9.24816377,1.25752509 9.22432794,1.24095266 C9.20049222,1.22438023 9.15368992,1.19652977 9.12032288,1.17906499 L9.05965554,1.14730824 L8.95365525,1.12215633 L8.84765497,1.09700442 L8.71705262,1.08471099 L8.58645027,1.07241636 L8.46511559,1.08019547 L8.34378091,1.08797458 L8.19817929,1.11550012 L8.05257767,1.14302686 L7.96157665,1.17884877 C7.9115261,1.198551 7.83508525,1.23447922 7.7917081,1.2586898 C7.74833095,1.28290038 7.68827028,1.32231081 7.65823994,1.34626814 C7.62820961,1.37022427 7.57621515,1.4167998 7.54269681,1.44976786 C7.50917834,1.48273591 7.45959784,1.54196325 7.43251788,1.58138443 C7.40543792,1.62080561 7.36392374,1.69068862 7.34026433,1.73668 C7.31660479,1.78267138 7.28577559,1.84717876 7.27175488,1.88002975 C7.25773417,1.91288073 7.23225571,1.98007593 7.21513599,2.02935241 C7.1980164,2.07862889 7.17110667,2.17270216 7.15533656,2.23840413 C7.13956645,2.3041061 7.11795686,2.41225991 7.10731533,2.47874552 L7.08796742,2.59963476 L7.08814699,2.77739681 L7.08832657,2.95515887 L7.10676835,3.03280665 C7.11691132,3.07551293 7.13630473,3.14002032 7.14986473,3.1761564 C7.16342485,3.21229249 7.18849963,3.26604864 7.20558671,3.29561453 C7.22267367,3.32518042 7.2591652,3.37278329 7.28667905,3.40139948 C7.31419278,3.43001568 7.36400431,3.47343751 7.39737135,3.49789178 C7.43073838,3.52234606 7.49013972,3.55674044 7.52937438,3.57432587 L7.60070995,3.60629765 L7.70017273,3.62996947 C7.75487732,3.64298921 7.83743756,3.65841484 7.88363999,3.66425037 C7.92984242,3.6700847 8.02770503,3.67553319 8.10111251,3.67635864 L8.10111202,3.67635864 Z M8.32965888,1.99352094 C7.99374575,1.99352094 7.71890777,1.99115328 7.71890777,1.98826001 C7.71890777,1.98536673 7.73323995,1.94370571 7.75075703,1.89567996 C7.76827412,1.84765421 7.79903902,1.77617166 7.81912342,1.73682932 L7.85564031,1.66529779 L7.93590903,1.58670271 L8.01617775,1.50810762 L8.09504529,1.47097884 C8.13842244,1.45055747 8.19575308,1.42832273 8.22244671,1.42156738 C8.24914034,1.41481202 8.32558119,1.40585027 8.39231526,1.40165251 L8.51364995,1.39401794 L8.60682685,1.40580726 L8.70000364,1.41759659 L8.76771701,1.44811814 L8.8354305,1.4786385 L8.87257529,1.51806804 C8.89300502,1.53975447 8.9173507,1.5716916 8.92667697,1.58903811 L8.94363374,1.62057745 L8.95483159,1.69057752 L8.96602945,1.76057759 L8.95321966,1.87704927 L8.94040987,1.99352094 L8.32965888,1.99352094 Z M11.959629,3.67642315 L12.0931723,3.67788054 L12.2447655,3.66019237 C12.328143,3.6504637 12.4391291,3.63434164 12.4914025,3.62436569 C12.5436771,3.61438974 12.628308,3.59458597 12.6794712,3.58035851 C12.7306357,3.56612985 12.7769248,3.55074723 12.7823351,3.54617318 C12.7877455,3.54159912 12.8022037,3.48738425 12.8144634,3.42569488 C12.826723,3.3640055 12.8421665,3.28127956 12.8487817,3.24185837 C12.8553968,3.20243719 12.858816,3.16807267 12.8563809,3.16549477 C12.8539445,3.16291567 12.8449948,3.16624735 12.8364917,3.1728952 C12.8279885,3.17954304 12.7684545,3.20420995 12.7041944,3.22770736 L12.5873588,3.27043156 L12.420981,3.302168 L12.2546045,3.33390325 L12.1131465,3.32915121 L11.9716884,3.32439797 L11.8913406,3.29696441 L11.8109916,3.26953085 L11.7489046,3.21605781 L11.6868164,3.16258596 L11.6456318,3.08873695 L11.6044472,3.01488793 L11.5848322,2.91609248 L11.5652172,2.81729702 L11.5653386,2.68912203 L11.5654599,2.56094705 L11.5892961,2.40565148 L11.6131335,2.25035592 L11.6383541,2.16673523 C11.6522263,2.12074385 11.6679222,2.06698769 11.6732342,2.0472771 C11.678545,2.02756651 11.7007978,1.97112254 11.722683,1.92184607 C11.7445681,1.87256959 11.7836087,1.79641025 11.8094409,1.75260257 L11.8564059,1.67295267 L11.9140896,1.61410998 L11.9717721,1.5552673 L12.0328581,1.51796531 L12.0939452,1.48066331 L12.172393,1.45687442 C12.2155396,1.44379137 12.2917924,1.42680322 12.3418429,1.41912326 L12.4328439,1.40516219 L12.5663121,1.41175628 L12.6997802,1.41835037 L12.8575153,1.44943457 L13.0152504,1.48051877 L13.0794061,1.50407591 C13.1146915,1.51703353 13.145104,1.52763425 13.1469871,1.52763425 C13.1488715,1.52763425 13.1573345,1.48328542 13.1657928,1.42908129 C13.1742522,1.37487717 13.1893087,1.28569809 13.1992508,1.23090743 C13.209193,1.17611557 13.2149333,1.12892841 13.2120067,1.12604708 C13.2090789,1.12316575 13.1616662,1.11575337 13.1066446,1.109575 C13.0516217,1.10339663 12.9020779,1.09242679 12.7743246,1.08519718 L12.5420452,1.0720532 L12.3782433,1.08442906 L12.2144415,1.09680493 L12.0931068,1.12190786 L11.9717721,1.14701198 L11.8936314,1.17778201 C11.8506546,1.19470683 11.787705,1.2252463 11.7537446,1.24564856 C11.7197843,1.26605201 11.6765552,1.29349632 11.6576803,1.30663671 C11.6388043,1.3197771 11.5815404,1.37104495 11.5304257,1.42056632 L11.4374894,1.5106043 L11.3856128,1.58542809 C11.3570809,1.62658022 11.3077232,1.71239058 11.2759299,1.77611671 L11.2181236,1.89198153 L11.1738182,2.01741257 C11.1494494,2.08639964 11.1154271,2.19928757 11.098211,2.26827464 L11.0669102,2.39370567 L11.0555485,2.50719089 L11.0441879,2.62067611 L11.0443092,2.76999877 L11.0444306,2.91932143 L11.0558894,3.0061878 L11.0673483,3.09305536 L11.1036916,3.18241243 L11.1400338,3.27176949 L11.1820095,3.33637364 L11.2239841,3.4009766 L11.2907327,3.46565123 L11.3574813,3.53032586 L11.4280836,3.56706401 L11.4986858,3.60380216 L11.591451,3.6291691 C11.642471,3.64312061 11.7161818,3.65913278 11.7552528,3.6647509 C11.7943226,3.67037021 11.8863841,3.67562278 11.9598316,3.67642315 L11.959629,3.67642315 Z M13.9555105,3.67201037 L14.1193123,3.66738973 L14.2224468,3.64140161 L14.3255813,3.6154123 L14.3923154,3.5843508 C14.4290191,3.56726709 14.4890798,3.53354287 14.5257835,3.50940874 C14.5624872,3.48527462 14.6192998,3.43939314 14.6520322,3.40745004 C14.6847659,3.37550574 14.7333071,3.32100536 14.7599012,3.28633861 C14.7864953,3.25167066 14.8098571,3.22488337 14.8118155,3.22681143 C14.8137726,3.22873948 14.8076537,3.2839817 14.7982163,3.34957257 C14.7887801,3.41516345 14.7809516,3.50242641 14.7808217,3.54349015 L14.7805912,3.61815148 L15.003278,3.61815148 L15.2259647,3.61815148 L15.2327728,3.44792364 L15.2395797,3.27769581 L15.2713548,3.05669828 C15.2888318,2.93514963 15.3170592,2.75506651 15.3340824,2.65651355 C15.3511044,2.55796059 15.3806943,2.39131651 15.3998373,2.28619336 C15.4189803,2.1810702 15.4493055,2.01711392 15.4672278,1.92184607 L15.4998135,1.74863178 L15.5009055,1.59901287 L15.5019975,1.44939515 L15.4676343,1.38024561 L15.4332723,1.31109728 L15.3866749,1.26705665 L15.3400776,1.22301602 L15.2635748,1.18484915 L15.1870721,1.14668347 L15.0730551,1.12171553 L14.9590393,1.09674639 L14.8020602,1.08498574 L14.645081,1.07322389 L14.4428707,1.08554122 C14.3316553,1.09231569 14.1751408,1.10569261 14.0950599,1.11526718 L13.9494583,1.13267701 L13.8502272,1.13304733 L13.750996,1.13341765 L13.7365584,1.20210607 C13.7286171,1.2398847 13.7065499,1.32964076 13.687521,1.40156411 C13.6684909,1.47348627 13.6546854,1.53406946 13.6568415,1.53619223 C13.6589976,1.538315 13.7120682,1.52645639 13.7747764,1.50983976 C13.8374846,1.49322194 13.9706919,1.4658947 14.070793,1.44911203 L14.252795,1.41859765 L14.4165969,1.411951 L14.5803987,1.40530435 L14.6859089,1.42351335 L14.7914191,1.44172116 L14.8618442,1.47594352 L14.9322693,1.51016469 L14.971703,1.56803021 L15.0111368,1.62589572 L15.0105787,1.7171259 L15.0100205,1.80835607 L14.989117,1.90846915 L14.9682134,2.00858342 L14.5316331,2.01013398 L14.0950539,2.01168455 L13.9521677,2.05025639 C13.8735792,2.07147095 13.786558,2.09963679 13.7587857,2.11284647 C13.7310146,2.12605735 13.7032351,2.13686592 13.6970543,2.13686592 C13.6908735,2.13686592 13.6441232,2.16238934 13.5931651,2.19358344 L13.5005139,2.25030097 L13.4275457,2.32200093 C13.387413,2.36143645 13.3361406,2.42057897 13.3136063,2.45342996 C13.2910733,2.48628094 13.2544617,2.55490844 13.232249,2.60593498 L13.1918603,2.69871094 L13.173324,2.80304089 L13.1547877,2.90737084 L13.1547877,3.01681838 L13.1547877,3.12626711 L13.1724965,3.21739215 L13.1902065,3.3085184 L13.2230615,3.3679524 C13.2411331,3.40064092 13.2742951,3.44852332 13.2967566,3.47435973 L13.3375954,3.52133305 L13.4101681,3.56473577 L13.4827396,3.60813849 L13.5658078,3.63128231 C13.6114963,3.64401177 13.6810332,3.65942187 13.720336,3.66552618 L13.7917948,3.67662623 L13.9555966,3.67200559 L13.9555105,3.67201037 Z M14.1071788,3.33797677 L14.0101111,3.34295937 L13.9458219,3.32683969 C13.9104626,3.31797351 13.8568096,3.2982008 13.8265924,3.2829006 L13.771652,3.25508 L13.7416666,3.21999634 C13.7251748,3.20069908 13.6999809,3.16278307 13.6856804,3.13573655 L13.6596808,3.08656281 L13.6545823,2.97172771 L13.649485,2.85689381 L13.6700525,2.78723658 C13.6813657,2.74892516 13.7079052,2.68244671 13.7290308,2.6395051 L13.7674417,2.56143085 L13.840996,2.48951348 L13.9145503,2.4175973 L13.9926644,2.38056886 L14.0707784,2.34354042 L14.1678462,2.3208398 L14.2649139,2.29813917 L14.5682506,2.29813917 L14.8715874,2.29813917 L14.8907789,2.30595173 L14.9099692,2.31376429 L14.8938183,2.40749114 C14.8849342,2.4590409 14.8637479,2.55228633 14.8467356,2.61470321 C14.8297232,2.67712008 14.7996905,2.76887348 14.7799954,2.81860031 C14.7603004,2.86832714 14.7441859,2.91229012 14.7441859,2.91629675 C14.7441859,2.92030338 14.7242458,2.95653742 14.6998745,2.99681631 L14.6555643,3.07005131 L14.5828035,3.14102257 C14.5427861,3.18005671 14.5056371,3.21199384 14.5002523,3.21199384 C14.4948674,3.21199384 14.4703372,3.22543885 14.4457427,3.24187151 L14.4010235,3.27174799 L14.3026357,3.30237108 L14.2042466,3.33299417 L14.1071788,3.33797677 Z M18.0566228,3.67628099 L18.1718907,3.67771091 L18.281092,3.66026166 C18.3411526,3.65066439 18.4175935,3.63520412 18.4509605,3.6259067 C18.4843276,3.61660808 18.5443882,3.59247515 18.5844287,3.57227836 L18.6572295,3.53555693 L18.7198576,3.48128471 L18.7824857,3.4270125 L18.8484444,3.34040775 C18.8847223,3.29277621 18.9175725,3.24574076 18.9214467,3.23588547 L18.9284889,3.21796675 L18.922364,3.27769581 C18.9189945,3.3105468 18.9114402,3.36430295 18.9055761,3.39715394 C18.8997132,3.43000492 18.8913059,3.49316841 18.8868942,3.53751724 L18.8788715,3.61815148 L19.1168877,3.61815148 L19.3549039,3.61815148 L19.3549039,3.53751724 L19.3549039,3.456883 L19.391166,3.15226478 C19.411111,2.98472475 19.4406038,2.7616367 19.4567061,2.65651355 C19.4728085,2.5513904 19.4976627,2.40087316 19.5119389,2.32203079 C19.5262139,2.24318843 19.5514964,2.10073461 19.5681205,2.00546676 C19.5847433,1.9101989 19.6147725,1.74355481 19.6348497,1.63514656 C19.654927,1.52673831 19.68706,1.35471861 19.7062552,1.25288055 C19.7254515,1.1510425 19.7552865,0.992461836 19.7725549,0.900479078 C19.7898244,0.80849632 19.8207636,0.647227848 19.841308,0.542104696 C19.8618536,0.436981544 19.8918657,0.289152111 19.9080008,0.213594845 C19.9241371,0.13803758 19.9373165,0.0721862871 19.9372885,0.0672586394 L19.9372886,0.0582992798 L19.6776105,0.0582992798 L19.4179324,0.0582992798 L19.4102629,0.132960609 C19.4060453,0.174024341 19.386167,0.309758638 19.3660873,0.434592381 C19.3460089,0.559426124 19.3132764,0.758323906 19.2933496,0.876587452 C19.2734228,0.994850998 19.2542119,1.109532 19.2506592,1.13143345 L19.2442006,1.17125601 L19.2237071,1.16267653 C19.2124364,1.15795674 19.1513431,1.14127321 19.0879458,1.12560031 L18.9726778,1.09710477 L18.8149427,1.08501083 L18.6572076,1.07291569 L18.5237395,1.08516015 L18.3902713,1.09740461 L18.2689366,1.12760004 L18.147602,1.15779547 L18.032334,1.21314639 L17.9170661,1.26849731 L17.8321318,1.33040529 L17.7471975,1.39231447 L17.6738471,1.46974245 C17.6335045,1.51232808 17.5752238,1.58276537 17.5443344,1.62626963 L17.488171,1.70537002 L17.4222183,1.84048553 C17.3859453,1.91479923 17.3418026,2.01323153 17.3241241,2.05922291 C17.3064456,2.10521429 17.2752675,2.20716464 17.2548384,2.28577884 L17.2176966,2.42871287 L17.1993969,2.61428869 L17.1810984,2.7998633 L17.1948396,2.94918596 L17.2085795,3.09850862 L17.224825,3.15226478 C17.2337589,3.18183067 17.2525985,3.23450692 17.2666891,3.26932419 L17.2923089,3.33262744 L17.3390179,3.39487707 L17.3857281,3.45712789 L17.4390608,3.5001364 L17.4923947,3.54314491 L17.5651955,3.57873388 C17.6052359,3.59830709 17.6724044,3.62360354 17.714459,3.63494729 C17.7565136,3.64629103 17.8247643,3.65990926 17.8661273,3.66521081 C17.9074903,3.67051236 17.9932036,3.67549377 18.056601,3.67628099 L18.0566228,3.67628099 Z M18.2635057,3.33735678 L18.1718907,3.34214706 L18.1100549,3.33118916 C18.0760448,3.3251625 18.0216226,3.30900698 17.989117,3.29528841 L17.9300149,3.27034555 L17.8802835,3.23022554 L17.830552,3.19010433 L17.7935947,3.12041485 L17.7566361,3.05072537 L17.7397949,2.97307759 L17.7229524,2.8954298 L17.7243805,2.74013424 L17.7258074,2.58483867 L17.7453666,2.44746183 L17.7649257,2.31008498 L17.7953249,2.21451848 C17.8120436,2.1619569 17.8258042,2.11236625 17.8259049,2.10431836 C17.8260262,2.09627046 17.8425132,2.05326554 17.8625892,2.00875185 C17.8826665,1.96423817 17.9162082,1.89556528 17.9371288,1.8561441 C17.9580481,1.81672291 17.9971506,1.75526768 18.0240226,1.71957718 C18.0508934,1.68388667 18.0987648,1.63013051 18.1304016,1.60011905 C18.1620384,1.57010758 18.2123656,1.53074374 18.2422382,1.51264345 L18.2965536,1.47973512 L18.3919567,1.44723295 L18.4873609,1.41473079 L18.6875631,1.41461133 L18.8877654,1.41461133 L19.0030333,1.44609571 C19.0664307,1.46341117 19.1337447,1.48349327 19.1526184,1.49072169 L19.1869367,1.50386327 L19.1802341,1.53665453 C19.176548,1.55468912 19.1621274,1.63395198 19.1481884,1.71279434 C19.1342495,1.79163671 19.1067842,1.94215395 19.0871522,2.0472771 C19.0675203,2.15240025 19.0373589,2.31098092 19.0201245,2.39967858 C19.0028914,2.48837624 18.9779292,2.60126417 18.9646527,2.65054064 C18.9513763,2.69981712 18.9326471,2.76806952 18.9230301,2.80221304 C18.9134143,2.83635657 18.890516,2.89548834 18.872146,2.93361698 C18.8537759,2.97174563 18.8216307,3.02713239 18.8007126,3.05669828 C18.7797957,3.08626416 18.7444145,3.12722038 18.7220889,3.14771103 C18.6997633,3.16820288 18.6514661,3.2046173 18.6147623,3.22863316 L18.5480283,3.2722975 L18.4515745,3.30243201 L18.3551207,3.33256771 L18.2635057,3.33735798 L18.2635057,3.33735678 Z M0.406035224,3.61815148 L0.700846957,3.61815148 L0.721999232,3.48973399 C0.733631588,3.41910437 0.756352721,3.28337007 0.772489021,3.18810222 C0.78862532,3.09283436 0.818658081,2.91543904 0.839229163,2.7938904 C0.859799032,2.67234175 0.890636242,2.49225862 0.907755352,2.39370567 C0.924874463,2.29515271 0.952074059,2.14227379 0.968198225,2.05397392 C0.984323604,1.96567525 1.00057639,1.89041663 1.00431713,1.88673254 L1.01111794,1.88003572 L1.80383747,1.88003572 L2.596557,1.88003572 L2.60535861,1.88869883 L2.61416145,1.89736193 L2.60041544,1.96634661 C2.59285507,2.0042877 2.57049188,2.12134114 2.55072039,2.22646429 C2.53094769,2.33158744 2.49770806,2.50898276 2.47685426,2.62067611 C2.45600047,2.73236946 2.42584638,2.89095012 2.40984597,2.97307759 C2.39384435,3.05520505 2.36146377,3.22722475 2.33788965,3.3553436 C2.31431432,3.48346244 2.29507549,3.59500646 2.29513616,3.60321921 L2.2952575,3.61815148 L2.59128136,3.61815148 L2.88730644,3.61815148 L2.90040452,3.54349015 C2.90760938,3.50242641 2.91920048,3.4285117 2.92616388,3.37923522 C2.93312606,3.32995874 2.9499115,3.22513424 2.96346337,3.14629187 C2.97701646,3.06744951 3.00409472,2.91155665 3.02363688,2.7998633 C3.04317905,2.68816995 3.07588966,2.4973356 3.09632728,2.37578695 C3.11676368,2.25423831 3.14708242,2.07684299 3.16370127,1.98157513 C3.18032,1.88630727 3.2099327,1.7250388 3.22950738,1.62320075 C3.24908194,1.52136269 3.28168651,1.34934299 3.30196202,1.24093474 C3.32223741,1.13252649 3.3526127,0.96857021 3.36946269,0.876587452 C3.3863128,0.784604694 3.41703596,0.617960606 3.43773662,0.506267257 C3.45843729,0.394573908 3.48457667,0.264215227 3.49582403,0.216581299 L3.5162739,0.129974156 L3.21654665,0.129974156 L2.91681989,0.129974156 L2.90866742,0.186716767 C2.9041841,0.217925202 2.88970402,0.305278958 2.87649067,0.380836224 C2.86327611,0.456393489 2.83924092,0.590783883 2.82307672,0.679481542 C2.80691251,0.768179202 2.77737358,0.937511097 2.75743465,1.05577464 C2.73749451,1.17403819 2.7120846,1.33059045 2.7009667,1.40366896 L2.68075113,1.53653985 L2.24076366,1.54530688 L1.80077498,1.55407391 L1.43224272,1.54546337 C1.22954949,1.54072805 1.0625869,1.53591269 1.06121339,1.53476231 C1.05983988,1.53361551 1.06674383,1.4871905 1.07655495,1.43160066 C1.08636486,1.37601082 1.10492543,1.27945999 1.11780025,1.21704312 C1.13067507,1.15462624 1.15508154,1.03098708 1.17203685,0.942289422 C1.18899095,0.853591763 1.20819702,0.74339164 1.21471511,0.697400261 C1.22123321,0.651408882 1.23489429,0.574806358 1.24507305,0.52717243 C1.25525061,0.479538501 1.27456709,0.379202037 1.28799762,0.304203835 C1.30142816,0.229204439 1.31573716,0.159321434 1.3197958,0.148908269 L1.32717538,0.129974156 L1.02986779,0.129974156 L0.732560203,0.129974156 L0.713517938,0.234500018 C0.703043115,0.291989241 0.689078706,0.373967381 0.682484166,0.416673662 C0.675889626,0.459379942 0.653744833,0.596458144 0.633273245,0.721291887 C0.612802871,0.84612563 0.582582041,1.03158437 0.566118138,1.13342243 C0.549653021,1.23526048 0.519668795,1.42071922 0.499487197,1.54555297 C0.479305599,1.67038671 0.446005295,1.86390887 0.4254876,1.97560222 C0.404969905,2.08729557 0.375264748,2.24587624 0.359476679,2.3280037 C0.343687397,2.41013116 0.313600035,2.56602402 0.292613988,2.67443227 C0.271629155,2.78284052 0.241013987,2.93604557 0.224581631,3.01488793 C0.208148062,3.0937303 0.189981833,3.18511576 0.184209942,3.21796675 C0.178439265,3.25081773 0.159657869,3.34556595 0.142475664,3.42851887 C0.125292247,3.51147178 0.111233197,3.58807431 0.111233197,3.5987467 L0.111233197,3.61815148 L0.40604493,3.61815148 L0.406035224,3.61815148 Z M3.6696828,3.61815148 L3.93066933,3.61815148 L3.93803423,3.59925559 C3.94208498,3.58886273 3.94539912,3.56160239 3.94539912,3.53867598 C3.94539912,3.51574958 3.96181061,3.39658174 3.98186905,3.27385882 C4.00192749,3.1511347 4.03506982,2.95127648 4.0555186,2.82972783 C4.07596737,2.70817919 4.10616636,2.53078387 4.12262747,2.43551601 C4.13908859,2.34024816 4.16836313,2.18166749 4.18768216,2.08311454 C4.20700119,1.98456158 4.23665805,1.83135654 4.2535863,1.74265888 C4.27051468,1.65396122 4.3038043,1.48521228 4.32756345,1.3676607 C4.3513226,1.25010912 4.37372499,1.14921121 4.37734671,1.14344138 L4.38393166,1.13295176 L4.1200058,1.13617355 L3.85607993,1.13939533 L3.83409918,1.2946909 C3.82200988,1.38010346 3.79557869,1.54943535 3.77536324,1.670984 C3.75514791,1.79253264 3.72457012,1.97799139 3.70741291,2.08311454 C3.69025558,2.18823769 3.66033444,2.35756959 3.64092138,2.45940764 C3.62150844,2.56124569 3.59175924,2.71713855 3.57481193,2.80583621 C3.55786476,2.89453387 3.52745513,3.05042672 3.50723495,3.15226478 C3.48701476,3.25410283 3.45988239,3.38849323 3.44694071,3.4509101 C3.43399891,3.51332697 3.42009966,3.57649045 3.41605327,3.5912734 L3.40869626,3.61815148 L3.6696828,3.61815148 Z M9.77371379,3.61815148 L10.0327662,3.61815148 L10.0405474,3.5102342 C10.0448257,3.45088023 10.0594866,3.33127278 10.0731246,3.24443986 C10.0867638,3.15760695 10.1146878,2.98442611 10.1351788,2.85959237 C10.155671,2.73475862 10.1937543,2.52697555 10.2198085,2.39785326 C10.2458627,2.26872977 10.2753155,2.14038396 10.2852589,2.11263742 C10.295201,2.08489208 10.3033365,2.05482685 10.3033365,2.04582568 C10.3033365,2.03682332 10.3228132,1.98777501 10.346619,1.9368285 C10.3704237,1.885882 10.4147873,1.80786868 10.4452047,1.76346729 L10.5005078,1.6827351 L10.5745377,1.61525798 L10.6485665,1.54777966 L10.7398538,1.50485597 L10.8311424,1.46193228 L10.9706773,1.46264903 L11.1102122,1.46336577 L11.1788136,1.48354942 C11.216545,1.49465186 11.2506704,1.50373426 11.2546478,1.50373426 C11.2586263,1.50373426 11.2618805,1.49103467 11.2618805,1.47551228 C11.2618805,1.45999108 11.2755307,1.38130521 11.2922142,1.30065544 C11.3088977,1.22000687 11.3225479,1.15061842 11.3225479,1.14646009 C11.3225479,1.14230175 11.2829624,1.12704814 11.2345802,1.11256384 C11.186198,1.09807954 11.1193123,1.08290836 11.0859452,1.07885156 L11.0252779,1.07147502 L10.9464103,1.08520913 C10.9030332,1.09276246 10.8385341,1.10943762 10.8030789,1.12226504 C10.7676249,1.13509245 10.7090846,1.16418528 10.6729899,1.18691816 C10.6368953,1.20964985 10.5807489,1.25394851 10.5482203,1.28535763 C10.5156916,1.31676676 10.4609794,1.3800951 10.4266368,1.42608648 C10.392293,1.47207786 10.356378,1.5204584 10.3468229,1.53359879 L10.3294514,1.55749042 L10.339999,1.50970717 C10.3458012,1.48342638 10.3619594,1.39741653 10.375908,1.31857416 C10.3898566,1.2397318 10.4041729,1.16581708 10.4077208,1.15431924 L10.4141733,1.13341406 L10.1828196,1.13341406 L9.95146594,1.13341406 L9.95146594,1.16220945 C9.95146594,1.1780472 9.93781118,1.27346438 9.92112208,1.37424762 C9.90443298,1.47503205 9.87691282,1.64350027 9.85996613,1.74862342 C9.84301943,1.85374657 9.8129425,2.03651751 9.79312843,2.15478105 C9.77331448,2.2730446 9.74322906,2.44237649 9.72627205,2.53107415 C9.70931504,2.61977181 9.67920475,2.77566467 9.65936022,2.87750272 C9.63951569,2.97934078 9.60656725,3.14598486 9.58614129,3.24782292 C9.56571544,3.34966097 9.54127633,3.46992783 9.53183225,3.515083 C9.52238804,3.56023818 9.51466108,3.6018992 9.51466108,3.60766305 L9.51466108,3.61815148 L9.77371379,3.61814311 L9.77371379,3.61815148 Z M15.9231926,3.61815148 L16.1880687,3.61815148 L16.1880687,3.53834508 L16.1880687,3.4585375 L16.2185916,3.26060494 C16.2353807,3.15174036 16.2630766,2.97934914 16.2801399,2.87751109 C16.2972031,2.77567303 16.3184719,2.64665825 16.3274021,2.59081158 C16.3363336,2.53496491 16.3600011,2.41401355 16.3799983,2.32203079 C16.3999955,2.23004804 16.4249722,2.13059914 16.4355041,2.10103326 C16.4460347,2.07146737 16.4547308,2.04044768 16.4548278,2.03210114 C16.4549492,2.0237546 16.4775041,1.97007848 16.5050034,1.9128222 L16.555003,1.80871922 L16.6209641,1.72243342 L16.6869253,1.63614762 L16.7591146,1.58271997 C16.7988189,1.55333566 16.862664,1.51433975 16.9009912,1.49606385 L16.9706774,1.46283419 L17.1223457,1.46386153 L17.2740141,1.46488886 L17.3337192,1.48376564 L17.3934244,1.50264122 L17.4034867,1.49651779 L17.413549,1.49039556 L17.4140586,1.45227648 C17.4143376,1.43131157 17.4273241,1.35330183 17.4429192,1.27892123 L17.4712752,1.14368388 L17.4393799,1.13139044 C17.4218386,1.12462911 17.3801856,1.1106334 17.3468185,1.10028833 L17.2861512,1.08147964 L17.17695,1.0817544 L17.0677488,1.08202915 L16.9787546,1.11285532 L16.8897605,1.1436803 L16.8229391,1.18334995 L16.7561176,1.22301961 L16.669242,1.3126132 L16.5823676,1.4022068 L16.5356913,1.47170873 C16.5100193,1.50993414 16.4874171,1.53950002 16.4854648,1.5374107 C16.4835113,1.53532018 16.4974648,1.45566431 16.5164719,1.36039645 C16.535479,1.2651286 16.5512658,1.17508703 16.5515534,1.16030409 L16.5520751,1.1334272 L16.327606,1.1334272 L16.1031368,1.1334272 L16.1031368,1.14103908 C16.1031368,1.14522489 16.0919461,1.22182741 16.0782681,1.31126691 C16.0645912,1.40070521 16.0371283,1.57333176 16.0172416,1.6948804 C15.9973536,1.81642905 15.9647218,2.01263902 15.9447271,2.13090257 C15.9247312,2.24916611 15.894588,2.41849801 15.8777419,2.50719567 C15.8608958,2.59589333 15.8309746,2.75178618 15.8112517,2.85362424 C15.7915287,2.95546229 15.7591214,3.11941857 15.7392359,3.21797153 C15.7193504,3.31652448 15.6930086,3.44688316 15.6806992,3.50765749 L15.6583178,3.61815625 L15.9231951,3.61815625 L15.9231926,3.61815148 Z M4.18287366,0.70311036 L4.25654638,0.703373168 L4.31510626,0.683728279 L4.37366602,0.664083389 L4.42549425,0.612324572 L4.47732236,0.56056456 L4.50462182,0.491606161 L4.53192127,0.422646568 L4.5328968,0.32110716 L4.53387233,0.219567752 L4.5096054,0.179918405 L4.48533846,0.140270252 L4.4430896,0.114516275 L4.40084074,0.0887622969 L4.30962145,0.0887622969 L4.21840216,0.0887611023 L4.15629991,0.116134932 L4.09419767,0.143508762 L4.05814865,0.181538257 L4.0220995,0.219567752 L3.99378945,0.285269722 L3.96547928,0.350971692 L3.96012782,0.453313859 L3.95477635,0.555656026 L3.98113328,0.606521296 L4.00749008,0.657385372 L4.05834557,0.680117059 L4.10920094,0.702848746 L4.18287366,0.703111554 L4.18287366,0.70311036 Z\"\n\t\t\t\t\tid=\"path2997\"\n\t\t\t\t/>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","import amex from './amex';\nimport dinersclub from './dinersclub';\nimport discover from './discover';\nimport hipercard from './hipercard';\nimport jcb from './jcb';\nimport unionpay from './unionpay';\nimport mastercard from './mastercard';\nimport placeholder from './placeholder';\nimport visa from './visa';\nimport troy from './troy';\n\nexport default {\n\tamex,\n\tdinersclub,\n\tdiscover,\n\thipercard,\n\tjcb,\n\tunionpay,\n\tmastercard,\n\tplaceholder,\n\tvisa,\n\ttroy,\n};\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m.20535714 16h4.51785715c1.0278125 0 2.25892857-1.1946667 2.25892857-2.1333333v-13.8666667h-4.51785715c-1.0278125 0-2.25892857 1.19466667-2.25892857 3.2z\"\n\t\t\tfill=\"#047ab1\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m2.76924107 10.816c-.86733559.0001606-1.73039558-.1147397-2.56388393-.3413333v-1.17333337c.64678874.37770431 1.38610045.59084099 2.14598215.61866667.8696875 0 1.35535714-.576 1.35535714-1.36533333v-3.22133334h2.14598214v3.22133334c0 1.25866666-.70026786 2.26133333-3.0834375 2.26133333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 16h4.51785716c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.02781249 0-2.25892856 1.19466667-2.25892856 3.2z\"\n\t\t\tfill=\"#d42d06\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m8.11160714 6.08c.65508929-.59733333 1.78455357-.97066667 3.61428576-.88533333.9939285.04266666 2.0330357.32 2.0330357.32v1.184c-.5943231-.3394747-1.2623758-.54734656-1.9539732-.608-1.3892411-.11733334-2.23633933.61866666-2.23633933 1.90933333s.84709823 2.0266667 2.23633933 1.92c.6920185-.06606555 1.3596342-.27744592 1.9539732-.61866667v1.17333337s-1.0391072.288-2.0330357.3306666c-1.82973219.0853334-2.95919647-.288-3.61428576-.8853333z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.0178571 16h4.5178572c1.0278125 0 2.2589286-1.1946667 2.2589286-2.1333333v-13.8666667h-4.5178572c-1.0278125 0-2.2589286 1.19466667-2.2589286 3.2z\"\n\t\t\tfill=\"#67b637\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m21.6651786 9.28c0 .8533333-.7002679 1.3866667-1.6377232 1.3866667h-4.0095983v-5.33333337h3.6481697l.2597768.01066667c.8245089.04266667 1.4344196.50133333 1.4344196 1.29066667 0 .61866666-.4179018 1.152-1.1746428 1.28v.032c.8358035.05333333 1.4795982.55466666 1.4795982 1.33333333zm-2.880134-3.104c-.0486104-.00686658-.0976798-.01043129-.1468303-.01066667h-1.3553572v1.344h1.5021875c.2823661-.064.5195536-.30933333.5195536-.672 0-.36266666-.2371875-.608-.5195536-.66133333zm.1694197 2.176c-.059755-.00886168-.1202559-.01243275-.1807143-.01066667h-1.4908929v1.46133334h1.4908929l.1807143-.02133334c.2823661-.064.5195536-.34133333.5195536-.71466666 0-.37333334-.2258929-.64-.5195536-.71466667z\"\n\t\t\tfill=\"#fff\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\" fillRule=\"evenodd\">\n\t\t<rect fill=\"#252525\" height=\"16\" rx=\"2\" width=\"24\" />\n\t\t<circle cx=\"9\" cy=\"8\" fill=\"#eb001b\" r=\"5\" />\n\t\t<circle cx=\"15\" cy=\"8\" fill=\"#f79e1b\" r=\"5\" />\n\t\t<path\n\t\t\td=\"m12 3.99963381c1.2144467.91220633 2 2.36454836 2 4.00036619s-.7855533 3.0881599-2 4.0003662c-1.2144467-.9122063-2-2.36454837-2-4.0003662s.7855533-3.08815986 2-4.00036619z\"\n\t\t\tfill=\"#ff5f00\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#D8D8D8\"\n\t\t\t\tx=\"0\"\n\t\t\t\ty=\"0\"\n\t\t\t\twidth=\"24\"\n\t\t\t\theight=\"16\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"0.923076923\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\tx=\"16.6153846\"\n\t\t\t\ty=\"3.76470588\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"2.82352941\"\n\t\t\t\trx=\"1\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"6.46153846\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"11.9230769\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"5.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t\t<rect\n\t\t\t\tid=\"Rectangle\"\n\t\t\t\tfill=\"#A6A6A6\"\n\t\t\t\tx=\"18.4615385\"\n\t\t\t\ty=\"10.3529412\"\n\t\t\t\twidth=\"4.61538462\"\n\t\t\t\theight=\"1.88235294\"\n\t\t\t\trx=\"0.941176471\"\n\t\t\t/>\n\t\t</g>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g>\n\t\t<path\n\t\t\ttransform=\"scale(0.6)\"\n\t\t\td=\"m33.6 24h-31.2c-1.325 0-2.4-1.075-2.4-2.4v-19.2c0-1.325 1.075-2.4 2.4-2.4h31.2c1.325 0 2.4 1.075 2.4 2.4v19.2c0 1.325-1.075 2.4-2.4 2.4zm-8.689-15.321c-.07-.002-.151-.004-.233-.004-.213 0-.424.01-.632.028l.027-.002c-.01.03.542 1.996 1.066 3.83l.064.224c1.114 3.896 1.114 3.896.937 4.274-.153.313-.392.565-.686.729l-.008.004-.231.116-.994.019c-.96.02-.998.024-1.12.111-.228.164-.315.425-.489 1.467-.09.55-.16.982-.16 1.006.148.031.318.049.492.049.084 0 .167-.004.249-.012l-.01.001c.214 0 .48 0 .812-.006.17.016.367.025.566.025.484 0 .956-.054 1.409-.157l-.043.008c1.072-.313 1.958-.975 2.55-1.852l.01-.016c.197-.286 5.257-9.732 5.257-9.814-.167-.024-.359-.038-.555-.038-.09 0-.178.003-.267.009l.012-.001h-.594l-1.4.011-.266.132c-.149.071-.277.163-.385.274-.067.08-.528 1.088-1.12 2.445-.344.887-.691 1.622-1.083 2.33l.049-.096c-.022-.046-.218-1.266-.378-2.282-.187-1.218-.366-2.27-.4-2.346-.065-.168-.191-.3-.349-.372l-.004-.002c-.151-.08-.223-.08-1.539-.095h-.553zm-3.77.131c-.043 0-.052.027-.062.071-.027.123-.418 2.354-.418 2.386.042.047.092.087.148.117l.003.001c.41.281.69.725.746 1.237l.001.008c.003.04.005.087.005.134 0 .787-.538 1.448-1.266 1.637l-.012.003c-.136.032-.19.067-.203.131-.035.168-.418 2.357-.418 2.39 0 .006.023.015.179.015.07 0 .16 0 .25-.007 1.958-.11 3.55-1.545 3.9-3.417l.004-.026c.026-.2.041-.431.041-.665 0-.321-.028-.636-.082-.942l.005.032c-.291-1.35-1.207-2.439-2.423-2.964l-.027-.01c-.108-.056-.232-.101-.364-.129l-.01-.002zm-16.966-.136c-.167 0-.603 0-.612.008s-.025.13-.058.32l-.137.758c-.104.588-.179 1.074-.167 1.082s.32.012.621.012h.596l-.012.091c0 .026-.037.211-.085.489l-.185 1.058c-.172.615-.271 1.322-.271 2.051 0 .156.005.31.013.464l-.001-.021c.182 1.082 1.114 1.766 2.624 1.925.198.021.466.031.701.031.038.003.081.004.125.004.138 0 .273-.016.403-.046l-.012.002c.022-.027.413-2.182.418-2.306 0-.052-.069-.068-.386-.088-.778-.043-1.126-.297-1.126-.823 0-.16.367-2.381.457-2.763.013-.059.032-.075.433-.075h.606c.053.003.116.004.179.004.174 0 .344-.012.512-.034l-.019.002c.025-.042.378-2 .378-2.099 0-.037-.198-.047-.847-.047h-.846l.107-.609c.195-1.063.149-1.32-.278-1.527-.214-.107-.231-.107-1.152-.123l-.953-.012-.024.111c-.012.064-.096.525-.183 1.03s-.171.96-.183 1.022l-.024.112zm6-.008-.025.111c-.04.186-1.415 8.014-1.415 8.053.294.026.637.042.983.042.135 0 .27-.002.404-.007l-.019.001h1.369l.04-.21c.025-.111.16-.871.302-1.686.14-.8.297-1.6.342-1.75.238-.867.892-1.541 1.727-1.805l.018-.005c.2-.061.43-.096.668-.096.056 0 .111.002.165.006h-.007c.499 0 .53-.005.545-.08.045-.195.452-2.57.445-2.593-.066-.021-.141-.034-.22-.034-.024 0-.048.001-.072.003h.003c-.006 0-.014 0-.021 0-.16 0-.317.013-.47.038l.017-.002c-.622.133-1.164.417-1.603.813l.003-.003c-.292.27-.546.576-.756.912l-.011.019c-.022.056-.054.104-.094.144.015-.157.037-.297.066-.435l-.004.024c.166-.885.076-1.192-.4-1.371-.269-.047-.578-.074-.894-.074-.058 0-.115.001-.173.003h.008zm9.704-.026h-.141c-.236 0-.467.022-.691.064l.023-.004c-1.274.263-2.314 1.086-2.869 2.195l-.011.024c-.272.488-.432 1.07-.432 1.689 0 .051.001.101.003.151v-.007c-.001.041-.002.09-.002.139 0 .262.024.518.069.767l-.004-.026c.249 1.142.939 2.09 1.879 2.674l.018.01c.276.177.595.325.933.427l.027.007c.025-.018.139-.633.247-1.233l.218-1.213-.103-.08c-.27-.187-.487-.434-.635-.721l-.005-.011c-.099-.162-.157-.359-.157-.569 0-.052.004-.103.01-.153l-.001.006c-.006-.044-.009-.095-.009-.147 0-.2.051-.387.14-.551l-.003.006c.228-.47.651-.815 1.161-.931l.011-.002c.08-.008.151-.031.151-.052 0-.054.4-2.314.422-2.394-.015-.056-.07-.064-.249-.064z\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g fill=\"none\">\n\t\t<path\n\t\t\td=\"m4.54588254.00006676h5.79377466c.8087588 0 1.3117793.72566459 1.1231113 1.61890981l-2.69741608 12.74856503c-.19036262.8901361-1.00010994 1.6164225-1.80943362 1.6164225h-5.79320976c-.80762905 0-1.31177937-.7262864-1.12311135-1.6164225l2.69854581-12.74856503c.18866803-.89324522.9979917-1.61890981 1.80773904-1.61890981\"\n\t\t\tfill=\"#dd2423\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m9.85756516.00006676h6.66269264c.8086174 0 .4439911.72566459.2537697 1.61890981l-2.6969924 12.74856503c-.1892329.8901361-.1302036 1.6164225-.9405158 1.6164225h-6.66269248c-.81031221 0-1.31177939-.7262864-1.12141672-1.6164225l2.69685116-12.74856503c.19149238-.89324522.99912144-1.61890981 1.8083039-1.61890981\"\n\t\t\tfill=\"#16315e\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m16.2559813.00006676h5.7937745c.8098886 0 1.3129092.72566459 1.1226878 1.61890981l-2.6969924 12.74856503c-.1903626.8901361-1.0006749 1.6164225-1.8104222 1.6164225h-5.7910915c-.8103122 0-1.3129091-.7262864-1.1231113-1.6164225l2.697416-12.74856503c.1886681-.89324522.9974268-1.61890981 1.8077391-1.61890981\"\n\t\t\tfill=\"#036862\"\n\t\t/>\n\t\t<path\n\t\t\td=\"m6.05901135 4.08561434c-.59580116.00668457-.77175951 0-.8279645-.01461278-.02160646.11301588-.42365577 2.15460824-.42478553 2.15631824-.08656699.4130443-.14955043.7074763-.36349659.89759795-.12144798.1105286-.26323144.1638497-.42760986.1638497-.26421996 0-.41814822-.1444178-.44399122-.41832975l-.00494264-.09405035s.08049458-.55326485.08049458-.55637395c0 0 .42196112-1.86048711.49751306-2.10641713.00395412-.01399096.00508387-.02129736.00607239-.02798193-.82132725.00792821-.9669236 0-.97695012-.01461278-.00550753.02005371-.025843.13540142-.025843.13540142l-.43085788 2.09693437-.03699927.1778407-.07159782.5817131c0 .1725552.03078565.31339755.09207452.4324762.19629382.37760055.75622549.4341862 1.07297875.4341862.40812169 0 .79096525-.09544945 1.04967767-.26971465.44907509-.2921002.56656897-.74867195.67135315-1.15440985l.04857917-.20815445s.43467082-1.93230737.5085281-2.18367833c.00282441-.01399096.00395413-.02129736.00776704-.02798193zm1.47893982 1.55881086c-.10478422 0-.29627659.0279819-.46828081.12078865-.0624186.0352883-.12144796.07601755-.18372539.11659135l.056205-.22338905-.03078563-.03762015c-.36476761.08130305-.44639193.0921849-.78333945.14441785l-.02824374.0206755c-.03911752.3570805-.07385733.6255515-.21888878 1.32743145-.05521646.25867735-.11255121.519842-.17002718.7778975l.01553403.03280105c.34527946-.0200537.45006363-.0200537.75015309-.0146128l.02428961-.0290701c.03812903-.21499445.04307165-.2653619.12752039-.70079175.03968242-.20644445.1224365-.66006255.16324868-.8215804.07498704-.038242.14898558-.07586215.21959486-.07586215.16819135 0 .14771465.1615179.14121858.22587635-.00720213.1080413-.06849101.4609245-.13133325.76390655l-.04194194.19556255c-.02923223.14441785-.06128888.2847938-.09052111.427968l.01270966.02860375c.34033679-.0200537.44413246-.0200537.73476028-.0146128l.0341749-.0290701c.0525333-.3357831.06792611-.42563615.16113038-.9145426l.04688457-.22463265c.09108601-.43962715.13684082-.6625498.06792616-.8441214-.07286879-.2034908-.24769738-.2526146-.40826291-.2526146zm1.65214439.4602871c-.18090101.038242-.29627659.0637366-.41094606.08021485-.11368097.02005375-.22453757.038242-.39936616.06498025l-.01383941.0138355-.01270966.01103735c-.01821719.14332965-.0309269.26722735-.05507525.41288885-.02047669.150636-.05196844.3217921-.10323077.56772215-.03968243.18825615-.06015913.25385825-.08275412.32008215-.0220301.06622385-.04631967.1305823-.09094476.31572935l.01045019.0171001.00875554.01570095c.1633899-.00855005.27029237-.0146128.38016043-.01570095.10972684-.00435275.22340776 0 .39936611.00108815l.01539286-.0138355.01652257-.0152346c.02541932-.1669588.02923224-.21188535.04476626-.29334385.01539282-.0873658.04194194-.20830985.10704369-.53134565.03078568-.1517242.06510179-.30298205.09701718-.4578154.03318641-.1542115.06792612-.30609115.10097127-.45781535l-.00494263-.0183437zm.00385525-.620608c-.1643784-.10679765-.45288796-.07290845-.64706354.0746185-.19361063.14457325-.21564072.34977405-.05182718.4579708.16155403.10384405.45119334.0729085.64367421-.0758621.19318708-.14768235.21733543-.3510177.05521651-.4567272zm.99410809 2.473369c.3325698 0 .6734715-.1008904.9300657-.400297.1974235-.2428209.2879446-.60409865.3192952-.7528692.1021011-.4931037.0225949-.7233328-.0772466-.8635533-.1516687-.21375085-.4197016-.28230655-.697761-.28230655-.1672028 0-.5654392.01818825-.87654364.33391765-.22340786.22774175-.32663863.5367866-.38891601.83308405-.06284224.3018939-.13514621.84536505.31887154 1.0476122.14008884.0662239.34203141.08441215.47223481.08441215zm-.0259841-1.10948335c.0766817-.3734032.1672028-.6868008.3982364-.6868008.1810422 0 .1941755.23318275.1136809.6078296-.0144042.0831685-.0804945.3923688-.1698859.5240393-.0624186.09715945-.1362759.15607695-.2179003.15607695-.0242896 0-.1687562 0-.1710157-.23613635-.0011297-.11659135.0204767-.23567.0468846-.3650087zm2.1066988 1.06146325.0259841-.0290701c.0368581-.21499445.0429305-.2655174.1245549-.70079175.0408121-.20644445.1252608-.66006255.1649433-.82158045.0751282-.0383974.1478558-.07601755.2207245-.07601755.1670616 0 .1467262.1615179.140089.2258763-.0060725.1081968-.0673613.4609245-.1313334.76390655l-.0396824.1955626c-.030362.14457325-.0634071.2847938-.0926394.42812345l.0127097.02860375c.3414665-.02005375.441308-.02005375.7336305-.0146128l.0353047-.0290701c.0512623-.33593855.0651017-.42579165.1611304-.9145426l.0457548-.2247881c.0915096-.43962715.1378292-.66239435.0700444-.84396595-.0749871-.2034908-.2509454-.2526146-.4092515-.2526146-.1049254 0-.2974063.02782645-.468422.12078865-.0611476.0352883-.1224365.0758621-.1825956.11659135l.0523921-.22338905-.0281025-.0377756c-.3646263.0814585-.4479453.09234035-.7844692.1445733l-.025843.0206755c-.0408122.35708045-.0739986.62539605-.21903 1.32743145-.0552164.25867735-.1125512.51984195-.1698859.7778975l.0153928.03280105c.3458442-.02005375.4490751-.02005375.7485997-.0146128zm2.5088186.01453505c.0214652-.1153477.1489856-.7990394.1501153-.7990394 0 0 .1085971-.50165375.1152345-.519842 0 0 .0341748-.0522329.0683497-.07290845h.0502738c.4743532 0 1.0099953 0 1.4298381-.3399804.2856852-.2331827.4809905-.57751585.5681223-.99600105.022595-.1026004.0392588-.22463269.0392588-.34666496 0-.16027425-.0292322-.3188385-.1136809-.44273624-.2140874-.32972035-.6404262-.3357831-1.132573-.33827039-.0015534 0-.2426136.00248729-.2426136.00248729-.629976.00855003-.8826161.00606275-.9864117-.00792821-.0087556.05052291-.0252782.14037599-.0252782.14037599s-.2256673 1.15130077-.2256673 1.15316622c0 0-.5400198 2.4477966-.5654392 2.5631443.5500464-.00730635.7755725-.00730635.8704714.0041973zm.4181482-2.0451678s.2399304-1.14896892.2388007-1.14461618l.0077669-.05891749.0033893-.04492654.0958874.01088185s.4948299.046792.5064099.04803565c.1953052.0831685.2757998.29754113.2195948.57736036-.0512623.2557237-.2019425.4707182-.3955532.5745622-.1594358.0879876-.3547411.095294-.5559775.095294h-.1302035zm1.4938667.99045135c-.0634072.2975411-.136276.8410123.3154822 1.0347094.1440429.0674675.2731167.0875212.4043088.08021485.1385355-.00823915.2669031-.08472305.3858092-.1947853-.0107326.04523745-.0214652.0904749-.0321978.1358678l.0204766.0290701c.324944-.01507915.4257741-.01507915.7778319-.0121255l.0319154-.0267383c.0514036-.332674.0998416-.65570975.2334344-1.2921431.0651017-.30484755.1300622-.6067414.1968587-.9103453l-.0104501-.03342285c-.3634967.0741521-.4606551.09000855-.8103124.1445733l-.026549.0237846c-.0035305.0309356-.0072021.0606275-.0105914.09031945-.0543692-.0966931-.1331691-.17923975-.2547583-.2306954-.1554817-.0673121-.5206729.01943185-.8346018.33407305-.2205834.2246327-.3264973.53243385-.3866564.8276432zm.7634275.01818825c.0778115-.3667187.1672028-.67700715.3988014-.67700715.1464436 0 .2235489.14877055.2078737.40247335-.0124272.06327025-.025843.1299605-.0418008.20535625-.0231597.10897405-.0482967.21701535-.0727275.32521215-.0248545.07399665-.0538043.143796-.0855784.1902771-.0595943.09296215-.2013777.150636-.2830021.150636-.0231599 0-.1660731 0-.1710157-.23193905-.0011298-.11550315.0204767-.23442635.0474494-.36500865zm3.9866711-1.21085565-.0281024-.0352883c-.3596838.08021485-.4247856.09296215-.755237.142086l-.0242897.02673825c-.0011296.00435275-.0021182.01103735-.0038128.0171001l-.0011298-.00606275c-.2460027.6247742-.2388006.4899946-.4390485.98185465-.0011298-.02238555-.0011298-.0363765-.0022595-.06016115l-.0501327-1.0662668-.0314917-.0352883c-.3767711.08021485-.3856679.09296215-.7336305.142086l-.0271139.02673825c-.003813.01274735-.003813.0267383-.0060724.0419729l.0022594.00544095c.0434954.2446864.0330452.19012165.0766818.5762722.0203354.1894998.0474494.3800878.0677848.5672558.0343162.3132421.0535219.4674536.0954638.94547815-.2349878.4268798-.2906279.5883977-.51686.9630446l.0015534.0037309-.1592946.27733195c-.0182171.0292256-.0347397.0492793-.0578996.05782935-.0254193.0138355-.0584644.01632275-.1043605.01632275h-.0882616l-.131192.4803564.4500635.00855005c.26422-.00124365.4302931-.1372669.5196844-.32008215l.283002-.53383295h-.004519l.0297972-.03762015c.1903626-.4511308 1.6384179-3.1855867 1.6384179-3.1855867zm-4.7501128 6.3087581h-.1909276l.7066579-2.57293795h.2344228l.0744221-.265051.0072022.29474295c-.0087556.1821934.121448.3437113.4634794.31697305h.3955532l.1361347-.49543555h-.1488443c-.0855785 0-.1252609-.02378465-.1203182-.0747739l-.0072022-.299873h-.7325008v.00155455c-.2368235.00544095-.9440462.0250283-1.0872418.0670012-.1732752.0491238-.3558709.1936971-.3558709.1936971l.071739-.26536195h-.6851925l-.1427719.52652655-.7161194 2.61226815h-.1389591l-.136276.4918601h1.3647364l-.0457548.1640051h.6724828l.0446251-.1640051h.1886681zm-.5599316-2.0501423c-.1097268.03342285-.313929.1347796-.313929.1347796l.1816071-.65757525h.5443977l-.1313333.47911275s-.1681914.01088185-.2807425.0436829zm.0104502.9394154s-.1710158.0236292-.283567.0516111c-.1108566.0369984-.3187303.1535897-.3187303.1535897l.1875382-.6843135h.5472221zm-.3050322 1.1167897h-.5460922l.158306-.5775158h.5443976zm1.315112-1.5959024h.7871525l-.1131162.4032506h-.7976024l-.1197535.4408708h.6979023l-.5284398.8190931c-.0369994.0601612-.0701858.0814585-.1070437.0984031-.0369994.0206755-.0855785.0449265-.1417835.0449265h-.1936107l-.133028.4828437h.5064098c.2632315 0 .4187131-.131826.5335239-.3048476l.3623669-.5459584.0778115.5543531c.0165225.1038439.0843074.1646269.1302034.1882561.0506975.0279819.1030897.0760176.1770882.0831685.0793648.0037309.1366995.0066846.1748285.0066846h.2488272l.1494092-.5403621h-.0981469c-.0563463 0-.1533633-.0104155-.1698859-.0298474-.0165226-.0236292-.0165226-.0600057-.0254194-.1153477l-.0789412-.5555967h-.3232494l.1417836-.1857688h.796049l.1224365-.4408708h-.7370197l.1148107-.4032506h.7347603l.1362759-.497301h-2.1905826zm-6.6483163 1.7081877.1837253-.6728098h.7550958l.1379705-.5004101h-.7558018l.1153756-.4141325h.7385731l.1368408-.4845537h-1.84798632l-.13401641.4845537h.41984283l-.1119863.4141325h-.42097264l-.13952389.5089601h.41970155l-.24487301.8901361c-.03304514.117835.01553408.1627615.04631971.2174817.03149175.0533211.06340718.0886094.13514621.1086631.07399857.0181883.12469597.0290701.19361067.0290701h.8512656l.1516688-.554353-.3773361.0570521c-.0728688 0-.2746701-.0096382-.25264-.0837903zm.0866093-3.22084395-.1913512.38070965c-.0409534.08316845-.0778114.1347796-.1109978.1585642-.0292322.02005375-.0871318.0284483-.1710157.0284483h-.0998415l-.13345158.48704095h.33158128c.1594357 0 .2818722-.0643584.3403368-.09653765.0628422-.0369983.0793647-.0158564.1279439-.0674675l.1119864-.1067977h1.0354146l.1374057-.50709465h-.7579202l.1323219-.2768656zm1.5286064 3.23062205c-.0176524-.027982-.0049427-.0772612.0220301-.1798616l.283002-1.0311339h1.0067472c.1467262-.0023318.25264-.0041973.3215547-.0096382.0739985-.0085501.1544932-.0376202.2421899-.0898531.0905212-.0547202.1368408-.1123941.1759583-.178618.0436366-.0660684.113681-.2106417.1738401-.4335643l.3557296-1.3048905-1.044735.0066846s-.3216959.0522329-.4633381.10990675c-.1429132.06435845-.3471154.2440646-.3471154.2440646l.0943341-.3577023h-.645369l-.9035164 3.29860265c-.0320566.1280949-.0535218.2210571-.0584645.2768655-.0016946.0601612.0689147.1197005.1146695.164627.0540867.0449266.1340164.0376202.2106981.0449266.0806358.0066846.1953053.0108818.3536113.0108818h.4959597l.1522336-.5658567-.4439912.0461702c-.0474494 0-.0817655-.027982-.0960286-.0516111zm.4876277-1.9074346h1.0574447l-.06722.2319391c-.0094616.0054409-.0320566-.0115037-.1396652.0024873h-.9156612zm.2118279-.77789745h1.0663414l-.0766816.27935285s-.5025969-.0054409-.5830915.01088185c-.3541763.06746755-.5610614.27577745-.5610614.27577745zm.802065 1.78653705c-.0087555.0346665-.0225949.0558084-.0419418.0716648-.0214654.0152346-.0562051.0206755-.1080323.0206755h-.1506803l.0088968-.2824619h-.626728l-.0254193 1.380908c-.0009886.0996467.007767.1573206.0739985.2034908.0662315.0576738.2702923.0649802.5449624.0649802h.392729l.1417834-.5168883-.3418902.0206755-.1136809.0073064c-.0155341-.0073064-.030362-.013991-.0468846-.0321792-.0144043-.015701-.0386939-.0060627-.0347398-.1057095l.0026831-.3539713.3585541-.0163228c.1936107 0 .2763648-.0693331.346974-.1354015.0673612-.0632702.0893913-.1360232.1148107-.2344264l.0601592-.3133975h-.4927118z\"\n\t\t\tfill=\"#fefefe\"\n\t\t/>\n\t</g>\n);\n","import React from 'react';\n\nexport default (\n\t<g stroke=\"none\" strokeWidth=\"1\" fill=\"none\" fillRule=\"evenodd\">\n\t\t<g\n\t\t\tid=\"New-Icons\"\n\t\t\ttransform=\"translate(-80.000000, -280.000000)\"\n\t\t\tfillRule=\"nonzero\"\n\t\t>\n\t\t\t<g id=\"Card-Brands\" transform=\"translate(40.000000, 200.000000)\">\n\t\t\t\t<g id=\"Color\" transform=\"translate(0.000000, 80.000000)\">\n\t\t\t\t\t<g id=\"Visa\" transform=\"translate(40.000000, 0.000000)\">\n\t\t\t\t\t\t<rect\n\t\t\t\t\t\t\tstrokeOpacity=\"0.2\"\n\t\t\t\t\t\t\tstroke=\"#000000\"\n\t\t\t\t\t\t\tstrokeWidth=\"0.5\"\n\t\t\t\t\t\t\tfill=\"#FFFFFF\"\n\t\t\t\t\t\t\tx=\"0.25\"\n\t\t\t\t\t\t\ty=\"0.25\"\n\t\t\t\t\t\t\twidth=\"23.5\"\n\t\t\t\t\t\t\theight=\"15.5\"\n\t\t\t\t\t\t\trx=\"2\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<path\n\t\t\t\t\t\t\td=\"M2.78773262,5.91443732 C2.26459089,5.62750595 1.6675389,5.39673777 1,5.23659312 L1.0280005,5.1118821 L3.76497922,5.1118821 C4.13596254,5.12488556 4.43699113,5.23650585 4.53494636,5.63071135 L5.12976697,8.46659052 L5.31198338,9.32072617 L6.97796639,5.1118821 L8.77678896,5.1118821 L6.10288111,11.2775284 L4.30396552,11.2775284 L2.78773262,5.91443732 L2.78773262,5.91443732 Z M10.0999752,11.2840738 L8.39882877,11.2840738 L9.46284763,5.1118821 L11.163901,5.1118821 L10.0999752,11.2840738 Z M16.2667821,5.26277458 L16.0354292,6.59558538 L15.881566,6.53004446 C15.5737466,6.40524617 15.1674138,6.28053516 14.6143808,6.29371316 C13.942741,6.29371316 13.6415263,6.56277129 13.6345494,6.82545859 C13.6345494,7.11441463 13.998928,7.3048411 14.5939153,7.58725177 C15.5740257,8.02718756 16.0286384,8.56556562 16.0218476,9.26818871 C16.0080799,10.5486366 14.8460128,11.376058 13.0610509,11.376058 C12.2978746,11.3694253 11.5627918,11.2180965 11.163808,11.0475679 L11.4018587,9.66204513 L11.6258627,9.76066195 C12.1788958,9.99070971 12.5428092,10.0889775 13.221984,10.0889775 C13.7117601,10.0889775 14.2368857,9.89837643 14.2435835,9.48488392 C14.2435835,9.21565125 14.0198586,9.01850486 13.3617074,8.7164581 C12.717789,8.42086943 11.8568435,7.92848346 11.8707973,7.04197926 C11.8780532,5.84042483 13.0610509,5 14.7409877,5 C15.3990458,5 15.9312413,5.13788902 16.2667821,5.26277458 Z M18.5277524,9.0974856 L19.941731,9.0974856 C19.8717762,8.78889347 19.549631,7.31147374 19.549631,7.31147374 L19.4307452,6.77964104 C19.3467437,7.00942698 19.1998574,7.38373457 19.2069273,7.37055657 C19.2069273,7.37055657 18.6678479,8.74290137 18.5277524,9.0974856 Z M20.6276036,5.1118821 L22,11.2839865 L20.4249023,11.2839865 C20.4249023,11.2839865 20.2707601,10.5748181 20.221922,10.3581228 L18.0377903,10.3581228 C17.9746264,10.5221933 17.6807607,11.2839865 17.6807607,11.2839865 L15.8957988,11.2839865 L18.4226343,5.62399144 C18.5977072,5.22341512 18.9059917,5.1118821 19.3117663,5.1118821 L20.6276036,5.1118821 L20.6276036,5.1118821 Z\"\n\t\t\t\t\t\t\tid=\"Shape\"\n\t\t\t\t\t\t\tfill=\"#171E6C\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t</g>\n\t\t\t\t</g>\n\t\t\t</g>\n\t\t</g>\n\t</g>\n);\n","export const DEFAULT_CVC_LENGTH = 3;\nexport const DEFAULT_ZIP_LENGTH = 5;\nexport const DEFAULT_CARD_FORMAT = /(\\d{1,4})/g;\nexport const CARD_TYPES = [\n\t{\n\t\tdisplayName: 'Visa',\n\t\ttype: 'visa',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^4/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Mastercard',\n\t\ttype: 'mastercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5[1-5]|677189)|^(222[1-9]|2[3-6]\\d{2}|27[0-1]\\d|2720)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'American Express',\n\t\ttype: 'amex',\n\t\tformat: /(\\d{1,4})(\\d{1,6})?(\\d{1,5})?/,\n\t\tstartPattern: /^3[47]/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 15 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 4,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Diners Club',\n\t\ttype: 'dinersclub',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(36|38|30[0-5])/,\n\t\tgaps: [ 4, 10 ],\n\t\tlengths: [ 14, 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Discover',\n\t\ttype: 'discover',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(6011|65|64[4-9]|622)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 19 ],\n\t\tcode: {\n\t\t\tname: 'CID',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'JCB',\n\t\ttype: 'jcb',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^35/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'UnionPay',\n\t\ttype: 'unionpay',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^62/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVN',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Maestro',\n\t\ttype: 'maestro',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(5018|5020|5038|6304|6703|6708|6759|676[1-3])/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 12, 13, 14, 15, 16, 17, 18, 19 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Elo',\n\t\ttype: 'elo',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern:\n\t\t\t/^(4011(78|79)|43(1274|8935)|45(1416|7393|763(1|2))|50(4175|6699|67[0-7][0-9]|9000)|627780|63(6297|6368)|650(03([^4])|04([0-9])|05(0|1)|4(0[5-9]|3[0-9]|8[5-9]|9[0-9])|5([0-2][0-9]|3[0-8])|9([2-6][0-9]|7[0-8])|541|700|720|901)|651652|655000|655021)/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVE',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Hipercard',\n\t\ttype: 'hipercard',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^(384100|384140|384160|606282|637095|637568|60(?!11))/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVC',\n\t\t\tlength: 3,\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Troy',\n\t\ttype: 'troy',\n\t\tformat: DEFAULT_CARD_FORMAT,\n\t\tstartPattern: /^9792/,\n\t\tgaps: [ 4, 8, 12 ],\n\t\tlengths: [ 16 ],\n\t\tcode: {\n\t\t\tname: 'CVV',\n\t\t\tlength: 3,\n\t\t},\n\t},\n];\n\nexport const getCardTypeByValue = ( value ) =>\n\tCARD_TYPES.filter( ( cardType ) =>\n\t\tcardType.startPattern.test( value )\n\t)[ 0 ];\nexport const getCardTypeByType = ( type ) =>\n\tCARD_TYPES.filter( ( cardType ) => cardType.type === type )[ 0 ];\n","import * as cardTypes from './cardTypes';\n\nexport const formatCardNumber = ( cardNumber ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( cardNumber );\n\n\tif ( ! cardType ) return ( cardNumber.match( /\\d+/g ) || [] ).join( '' );\n\n\tconst format = cardType.format;\n\tif ( format && format.global ) {\n\t\treturn ( cardNumber.match( format ) || [] ).join( ' ' );\n\t}\n\n\tif ( format ) {\n\t\tconst execResult = format.exec( cardNumber.split( ' ' ).join( '' ) );\n\t\tif ( execResult ) {\n\t\t\treturn execResult\n\t\t\t\t.splice( 1, 3 )\n\t\t\t\t.filter( ( x ) => x )\n\t\t\t\t.join( ' ' );\n\t\t}\n\t}\n\n\treturn cardNumber;\n};\n\nexport const formatExpiry = ( event ) => {\n\tconst eventData = event.nativeEvent && event.nativeEvent.data;\n\tconst prevExpiry = event.target.value.split( ' / ' ).join( '/' );\n\n\tif ( ! prevExpiry ) return null;\n\tlet expiry = prevExpiry;\n\tif ( /^[2-9]$/.test( expiry ) ) {\n\t\texpiry = `0${ expiry }`;\n\t}\n\n\tif ( prevExpiry.length === 2 && +prevExpiry > 12 ) {\n\t\tconst [ head, ...tail ] = prevExpiry.split( '' );\n\t\texpiry = `0${ head }/${ tail.join( '' ) }`;\n\t}\n\n\tif ( /^1[/-]$/.test( expiry ) ) {\n\t\treturn `01 / `;\n\t}\n\n\texpiry = expiry.match( /(\\d{1,2})/g ) || [];\n\tif ( expiry.length === 1 ) {\n\t\tif ( ! eventData && prevExpiry.includes( '/' ) ) {\n\t\t\treturn expiry[ 0 ];\n\t\t}\n\t\tif ( /\\d{2}/.test( expiry ) ) {\n\t\t\treturn `${ expiry[ 0 ] } / `;\n\t\t}\n\t}\n\tif ( expiry.length > 2 ) {\n\t\tconst [ , month = null, year = null ] =\n\t\t\texpiry.join( '' ).match( /^(\\d{2}).*(\\d{2})$/ ) || [];\n\t\treturn [ month, year ].join( ' / ' );\n\t}\n\treturn expiry.join( ' / ' );\n};\n","import * as cardTypes from './cardTypes';\nimport * as formatter from './formatter';\nimport * as validator from './validator';\n\nexport const BACKSPACE_KEY_CODE = 'Backspace';\nexport const ENTER_KEY_CODE = 'Enter';\n\nexport const isHighlighted = () =>\n\t( window.getSelection() || { type: undefined } ).type === 'Range';\n\nexport default {\n\tcardTypes,\n\tformatter,\n\tvalidator,\n\tBACKSPACE_KEY_CODE,\n\tENTER_KEY_CODE,\n\tisHighlighted,\n};\n","import * as cardTypes from './cardTypes';\n\nconst MONTH_REGEX = /(0[1-9]|1[0-2])/;\n\nexport const EMPTY_CARD_NUMBER = 'Enter a card number';\nexport const EMPTY_EXPIRY_DATE = 'Enter an expiry date';\nexport const EMPTY_CVC = 'Enter a CVC';\nexport const EMPTY_ZIP = 'Enter a ZIP code';\nexport const EMPTY_ADDRESS = 'Enter an Address';\n\nexport const INVALID_CARD_NUMBER = 'Card number is invalid';\nexport const INVALID_EXPIRY_DATE = 'Expiry date is invalid';\nexport const INVALID_CVC = 'CVC is invalid';\nexport const INVALID_ZIP = 'Zip is invalid';\n\nexport const MONTH_OUT_OF_RANGE = 'Expiry month must be between 01 and 12';\nexport const YEAR_OUT_OF_RANGE = 'Expiry year cannot be in the past';\nexport const DATE_OUT_OF_RANGE = 'Expiry date cannot be in the past';\n\nexport const hasCardNumberReachedMaxLength = ( currentValue ) => {\n\tconst cardType = cardTypes.getCardTypeByValue( currentValue );\n\treturn (\n\t\tcardType &&\n\t\tcurrentValue.length >= cardType.lengths[ cardType.lengths.length - 1 ]\n\t);\n};\n\nexport const isNumeric = ( e ) => {\n\treturn /^\\d*$/.test( e.key );\n};\n\nexport const validateLuhn = ( cardNumber ) => {\n\treturn (\n\t\tcardNumber\n\t\t\t.split( '' )\n\t\t\t.reverse()\n\t\t\t.map( ( digit ) => parseInt( digit, 10 ) )\n\t\t\t.map( ( digit, idx ) => ( idx % 2 ? digit * 2 : digit ) )\n\t\t\t.map( ( digit ) => ( digit > 9 ? ( digit % 10 ) + 1 : digit ) )\n\t\t\t.reduce( ( accum, digit ) => ( accum += digit ) ) %\n\t\t\t10 ===\n\t\t0\n\t);\n};\nexport const getCardNumberError = (\n\tcardNumber,\n\tcardNumberValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! cardNumber ) {\n\t\treturn errorMessages.emptyCardNumber || EMPTY_CARD_NUMBER;\n\t}\n\n\tconst rawCardNumber = cardNumber.replace( /\\s/g, '' );\n\tconst cardType = cardTypes.getCardTypeByValue( rawCardNumber );\n\tif ( cardType && cardType.lengths ) {\n\t\tconst doesCardNumberMatchLength = cardType.lengths.includes(\n\t\t\trawCardNumber.length\n\t\t);\n\t\tif ( doesCardNumberMatchLength ) {\n\t\t\tconst isLuhnValid = validateLuhn( rawCardNumber );\n\t\t\tif ( isLuhnValid ) {\n\t\t\t\tif ( cardNumberValidator ) {\n\t\t\t\t\treturn cardNumberValidator( {\n\t\t\t\t\t\tcardNumber: rawCardNumber,\n\t\t\t\t\t\tcardType,\n\t\t\t\t\t\terrorMessages,\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\treturn errorMessages.invalidCardNumber || INVALID_CARD_NUMBER;\n};\nexport const getExpiryDateError = (\n\texpiryDate,\n\texpiryValidator,\n\t{ errorMessages = {} } = {}\n) => {\n\tif ( ! expiryDate ) {\n\t\treturn errorMessages.emptyExpiryDate || EMPTY_EXPIRY_DATE;\n\t}\n\tconst rawExpiryDate = expiryDate.replace( ' / ', '' ).replace( '/', '' );\n\tif ( rawExpiryDate.length === 4 ) {\n\t\tconst month = rawExpiryDate.slice( 0, 2 );\n\t\tconst year = `20${ rawExpiryDate.slice( 2, 4 ) }`;\n\t\tif ( ! MONTH_REGEX.test( month ) ) {\n\t\t\treturn errorMessages.monthOutOfRange || MONTH_OUT_OF_RANGE;\n\t\t}\n\t\tif ( parseInt( year ) < new Date().getFullYear() ) {\n\t\t\treturn errorMessages.yearOutOfRange || YEAR_OUT_OF_RANGE;\n\t\t}\n\t\tif (\n\t\t\tparseInt( year ) === new Date().getFullYear() &&\n\t\t\tparseInt( month ) < new Date().getMonth() + 1\n\t\t) {\n\t\t\treturn errorMessages.dateOutOfRange || DATE_OUT_OF_RANGE;\n\t\t}\n\t\tif ( expiryValidator ) {\n\t\t\treturn expiryValidator( {\n\t\t\t\texpiryDate: { month, year },\n\t\t\t\terrorMessages,\n\t\t\t} );\n\t\t}\n\t\treturn;\n\t}\n\treturn errorMessages.invalidExpiryDate || INVALID_EXPIRY_DATE;\n};\nexport const getCVCError = (\n\tcvc,\n\tcvcValidator,\n\t{ cardType, errorMessages = {} } = {}\n) => {\n\tif ( ! cvc ) {\n\t\treturn errorMessages.emptyCVC || EMPTY_CVC;\n\t}\n\tif ( cvc.length < 3 ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cardType && cvc.length !== cardType.code.length ) {\n\t\treturn errorMessages.invalidCVC || INVALID_CVC;\n\t}\n\tif ( cvcValidator ) {\n\t\treturn cvcValidator( { cvc, cardType, errorMessages } );\n\t}\n\treturn;\n};\nexport const getZIPError = ( zip, { errorMessages = {} } = {} ) => {\n\tif ( ! zip ) {\n\t\treturn errorMessages.emptyZIP || EMPTY_ZIP;\n\t}\n\tif ( zip.length <= 3 ) {\n\t\treturn errorMessages.invalidAddress || INVALID_ZIP;\n\t}\n\treturn;\n};\n\nexport const getAddressError = ( address, { errorMessages = {} } = {} ) => {\n\tif ( ! address ) {\n\t\treturn errorMessages.emptyAddress || EMPTY_ADDRESS;\n\t}\n\treturn;\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\nvar React = require('react');\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types.\nvar REACT_ELEMENT_TYPE = Symbol.for('react.element');\nvar REACT_PORTAL_TYPE = Symbol.for('react.portal');\nvar REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nvar REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nvar REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nvar REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nvar REACT_CONTEXT_TYPE = Symbol.for('react.context');\nvar REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nvar REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nvar REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nvar REACT_MEMO_TYPE = Symbol.for('react.memo');\nvar REACT_LAZY_TYPE = Symbol.for('react.lazy');\nvar REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nvar MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nvar FAUX_ITERATOR_SYMBOL = '@@iterator';\nfunction getIteratorFn(maybeIterable) {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n\n var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];\n\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n\n return null;\n}\n\nvar ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n\nfunction error(format) {\n {\n {\n for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n printWarning('error', format, args);\n }\n }\n}\n\nfunction printWarning(level, format, args) {\n // When changing this logic, you might want to also\n // update consoleWithStackDev.www.js as well.\n {\n var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n var stack = ReactDebugCurrentFrame.getStackAddendum();\n\n if (stack !== '') {\n format += '%s';\n args = args.concat([stack]);\n } // eslint-disable-next-line react-internal/safe-string-coercion\n\n\n var argsWithFormat = args.map(function (item) {\n return String(item);\n }); // Careful: RN currently depends on this prefix\n\n argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it\n // breaks IE9: https://github.com/facebook/react/issues/13610\n // eslint-disable-next-line react-internal/no-production-logging\n\n Function.prototype.apply.call(console[level], console, argsWithFormat);\n }\n}\n\n// -----------------------------------------------------------------------------\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\nvar enableCacheElement = false;\nvar enableTransitionTracing = false; // No known bugs, but needs performance testing\n\nvar enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber\n// stuff. Intended to enable React core members to more easily debug scheduling\n// issues in DEV builds.\n\nvar enableDebugTracing = false; // Track which Fiber(s) schedule render work.\n\nvar REACT_MODULE_REFERENCE;\n\n{\n REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');\n}\n\nfunction isValidElementType(type) {\n if (typeof type === 'string' || typeof type === 'function') {\n return true;\n } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing ) {\n return true;\n }\n\n if (typeof type === 'object' && type !== null) {\n if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object\n // types supported by any Flight configuration anywhere since\n // we don't know which Flight build this will end up being used\n // with.\n type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {\n return true;\n }\n }\n\n return false;\n}\n\nfunction getWrappedName(outerType, innerType, wrapperName) {\n var displayName = outerType.displayName;\n\n if (displayName) {\n return displayName;\n }\n\n var functionName = innerType.displayName || innerType.name || '';\n return functionName !== '' ? wrapperName + \"(\" + functionName + \")\" : wrapperName;\n} // Keep in sync with react-reconciler/getComponentNameFromFiber\n\n\nfunction getContextName(type) {\n return type.displayName || 'Context';\n} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.\n\n\nfunction getComponentNameFromType(type) {\n if (type == null) {\n // Host root, text node or just invalid type.\n return null;\n }\n\n {\n if (typeof type.tag === 'number') {\n error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');\n }\n }\n\n if (typeof type === 'function') {\n return type.displayName || type.name || null;\n }\n\n if (typeof type === 'string') {\n return type;\n }\n\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return 'Fragment';\n\n case REACT_PORTAL_TYPE:\n return 'Portal';\n\n case REACT_PROFILER_TYPE:\n return 'Profiler';\n\n case REACT_STRICT_MODE_TYPE:\n return 'StrictMode';\n\n case REACT_SUSPENSE_TYPE:\n return 'Suspense';\n\n case REACT_SUSPENSE_LIST_TYPE:\n return 'SuspenseList';\n\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_CONTEXT_TYPE:\n var context = type;\n return getContextName(context) + '.Consumer';\n\n case REACT_PROVIDER_TYPE:\n var provider = type;\n return getContextName(provider._context) + '.Provider';\n\n case REACT_FORWARD_REF_TYPE:\n return getWrappedName(type, type.render, 'ForwardRef');\n\n case REACT_MEMO_TYPE:\n var outerName = type.displayName || null;\n\n if (outerName !== null) {\n return outerName;\n }\n\n return getComponentNameFromType(type.type) || 'Memo';\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n return getComponentNameFromType(init(payload));\n } catch (x) {\n return null;\n }\n }\n\n // eslint-disable-next-line no-fallthrough\n }\n }\n\n return null;\n}\n\nvar assign = Object.assign;\n\n// Helpers to patch console.logs to avoid logging during side-effect free\n// replaying on render function. This currently only patches the object\n// lazily which won't cover if the log function was extracted eagerly.\n// We could also eagerly patch the method.\nvar disabledDepth = 0;\nvar prevLog;\nvar prevInfo;\nvar prevWarn;\nvar prevError;\nvar prevGroup;\nvar prevGroupCollapsed;\nvar prevGroupEnd;\n\nfunction disabledLog() {}\n\ndisabledLog.__reactDisabledLog = true;\nfunction disableLogs() {\n {\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd; // https://github.com/facebook/react/issues/19099\n\n var props = {\n configurable: true,\n enumerable: true,\n value: disabledLog,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n disabledDepth++;\n }\n}\nfunction reenableLogs() {\n {\n disabledDepth--;\n\n if (disabledDepth === 0) {\n /* eslint-disable react-internal/no-production-logging */\n var props = {\n configurable: true,\n enumerable: true,\n writable: true\n }; // $FlowFixMe Flow thinks console is immutable.\n\n Object.defineProperties(console, {\n log: assign({}, props, {\n value: prevLog\n }),\n info: assign({}, props, {\n value: prevInfo\n }),\n warn: assign({}, props, {\n value: prevWarn\n }),\n error: assign({}, props, {\n value: prevError\n }),\n group: assign({}, props, {\n value: prevGroup\n }),\n groupCollapsed: assign({}, props, {\n value: prevGroupCollapsed\n }),\n groupEnd: assign({}, props, {\n value: prevGroupEnd\n })\n });\n /* eslint-enable react-internal/no-production-logging */\n }\n\n if (disabledDepth < 0) {\n error('disabledDepth fell below zero. ' + 'This is a bug in React. Please file an issue.');\n }\n }\n}\n\nvar ReactCurrentDispatcher = ReactSharedInternals.ReactCurrentDispatcher;\nvar prefix;\nfunction describeBuiltInComponentFrame(name, source, ownerFn) {\n {\n if (prefix === undefined) {\n // Extract the VM specific prefix used by each line.\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = match && match[1] || '';\n }\n } // We use the prefix to ensure our stacks line up with native stack frames.\n\n\n return '\\n' + prefix + name;\n }\n}\nvar reentry = false;\nvar componentFrameCache;\n\n{\n var PossiblyWeakMap = typeof WeakMap === 'function' ? WeakMap : Map;\n componentFrameCache = new PossiblyWeakMap();\n}\n\nfunction describeNativeComponentFrame(fn, construct) {\n // If something asked for a stack inside a fake render, it should get ignored.\n if ( !fn || reentry) {\n return '';\n }\n\n {\n var frame = componentFrameCache.get(fn);\n\n if (frame !== undefined) {\n return frame;\n }\n }\n\n var control;\n reentry = true;\n var previousPrepareStackTrace = Error.prepareStackTrace; // $FlowFixMe It does accept undefined.\n\n Error.prepareStackTrace = undefined;\n var previousDispatcher;\n\n {\n previousDispatcher = ReactCurrentDispatcher.current; // Set the dispatcher in DEV because this might be call in the render function\n // for warnings.\n\n ReactCurrentDispatcher.current = null;\n disableLogs();\n }\n\n try {\n // This should throw.\n if (construct) {\n // Something should be setting the props in the constructor.\n var Fake = function () {\n throw Error();\n }; // $FlowFixMe\n\n\n Object.defineProperty(Fake.prototype, 'props', {\n set: function () {\n // We use a throwing setter instead of frozen or non-writable props\n // because that won't throw in a non-strict mode function.\n throw Error();\n }\n });\n\n if (typeof Reflect === 'object' && Reflect.construct) {\n // We construct a different control for this case to include any extra\n // frames added by the construct call.\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n control = x;\n }\n\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x) {\n control = x;\n }\n\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x) {\n control = x;\n }\n\n fn();\n }\n } catch (sample) {\n // This is inlined manually because closure doesn't do it for us.\n if (sample && control && typeof sample.stack === 'string') {\n // This extracts the first frame from the sample that isn't also in the control.\n // Skipping one frame that we assume is the frame that calls the two.\n var sampleLines = sample.stack.split('\\n');\n var controlLines = control.stack.split('\\n');\n var s = sampleLines.length - 1;\n var c = controlLines.length - 1;\n\n while (s >= 1 && c >= 0 && sampleLines[s] !== controlLines[c]) {\n // We expect at least one stack frame to be shared.\n // Typically this will be the root most one. However, stack frames may be\n // cut off due to maximum stack limits. In this case, one maybe cut off\n // earlier than the other. We assume that the sample is longer or the same\n // and there for cut off earlier. So we should find the root most frame in\n // the sample somewhere in the control.\n c--;\n }\n\n for (; s >= 1 && c >= 0; s--, c--) {\n // Next we find the first one that isn't the same which should be the\n // frame that called our sample function and the control.\n if (sampleLines[s] !== controlLines[c]) {\n // In V8, the first line is describing the message but other VMs don't.\n // If we're about to return the first line, and the control is also on the same\n // line, that's a pretty good indicator that our sample threw at same line as\n // the control. I.e. before we entered the sample frame. So we ignore this result.\n // This can happen if you passed a class to function component, or non-function.\n if (s !== 1 || c !== 1) {\n do {\n s--;\n c--; // We may still have similar intermediate frames from the construct call.\n // The next one that isn't the same should be our match though.\n\n if (c < 0 || sampleLines[s] !== controlLines[c]) {\n // V8 adds a \"new\" prefix for native classes. Let's remove it to make it prettier.\n var _frame = '\\n' + sampleLines[s].replace(' at new ', ' at '); // If our component frame is labeled \"<anonymous>\"\n // but we have a user-provided \"displayName\"\n // splice it in to make the stack more readable.\n\n\n if (fn.displayName && _frame.includes('<anonymous>')) {\n _frame = _frame.replace('<anonymous>', fn.displayName);\n }\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, _frame);\n }\n } // Return the line we found.\n\n\n return _frame;\n }\n } while (s >= 1 && c >= 0);\n }\n\n break;\n }\n }\n }\n } finally {\n reentry = false;\n\n {\n ReactCurrentDispatcher.current = previousDispatcher;\n reenableLogs();\n }\n\n Error.prepareStackTrace = previousPrepareStackTrace;\n } // Fallback to just using the name if we couldn't make it throw.\n\n\n var name = fn ? fn.displayName || fn.name : '';\n var syntheticFrame = name ? describeBuiltInComponentFrame(name) : '';\n\n {\n if (typeof fn === 'function') {\n componentFrameCache.set(fn, syntheticFrame);\n }\n }\n\n return syntheticFrame;\n}\nfunction describeFunctionComponentFrame(fn, source, ownerFn) {\n {\n return describeNativeComponentFrame(fn, false);\n }\n}\n\nfunction shouldConstruct(Component) {\n var prototype = Component.prototype;\n return !!(prototype && prototype.isReactComponent);\n}\n\nfunction describeUnknownElementTypeFrameInDEV(type, source, ownerFn) {\n\n if (type == null) {\n return '';\n }\n\n if (typeof type === 'function') {\n {\n return describeNativeComponentFrame(type, shouldConstruct(type));\n }\n }\n\n if (typeof type === 'string') {\n return describeBuiltInComponentFrame(type);\n }\n\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame('Suspense');\n\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame('SuspenseList');\n }\n\n if (typeof type === 'object') {\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return describeFunctionComponentFrame(type.render);\n\n case REACT_MEMO_TYPE:\n // Memo may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(type.type, source, ownerFn);\n\n case REACT_LAZY_TYPE:\n {\n var lazyComponent = type;\n var payload = lazyComponent._payload;\n var init = lazyComponent._init;\n\n try {\n // Lazy may contain any component type so we recursively resolve it.\n return describeUnknownElementTypeFrameInDEV(init(payload), source, ownerFn);\n } catch (x) {}\n }\n }\n }\n\n return '';\n}\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nvar loggedTypeFailures = {};\nvar ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame.setExtraStackFrame(null);\n }\n }\n}\n\nfunction checkPropTypes(typeSpecs, values, location, componentName, element) {\n {\n // $FlowFixMe This is okay but Flow doesn't know it.\n var has = Function.call.bind(hasOwnProperty);\n\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error$1 = void 0; // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n // eslint-disable-next-line react-internal/prod-error-codes\n var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n error$1 = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED');\n } catch (ex) {\n error$1 = ex;\n }\n\n if (error$1 && !(error$1 instanceof Error)) {\n setCurrentlyValidatingElement(element);\n\n error('%s: type specification of %s' + ' `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error$1);\n\n setCurrentlyValidatingElement(null);\n }\n\n if (error$1 instanceof Error && !(error$1.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error$1.message] = true;\n setCurrentlyValidatingElement(element);\n\n error('Failed %s type: %s', location, error$1.message);\n\n setCurrentlyValidatingElement(null);\n }\n }\n }\n }\n}\n\nvar isArrayImpl = Array.isArray; // eslint-disable-next-line no-redeclare\n\nfunction isArray(a) {\n return isArrayImpl(a);\n}\n\n/*\n * The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol\n * and Temporal.* types. See https://github.com/facebook/react/pull/22064.\n *\n * The functions in this module will throw an easier-to-understand,\n * easier-to-debug exception with a clear errors message message explaining the\n * problem. (Instead of a confusing exception thrown inside the implementation\n * of the `value` object).\n */\n// $FlowFixMe only called in DEV, so void return is not possible.\nfunction typeName(value) {\n {\n // toStringTag is needed for namespaced types like Temporal.Instant\n var hasToStringTag = typeof Symbol === 'function' && Symbol.toStringTag;\n var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || 'Object';\n return type;\n }\n} // $FlowFixMe only called in DEV, so void return is not possible.\n\n\nfunction willCoercionThrow(value) {\n {\n try {\n testStringCoercion(value);\n return false;\n } catch (e) {\n return true;\n }\n }\n}\n\nfunction testStringCoercion(value) {\n // If you ended up here by following an exception call stack, here's what's\n // happened: you supplied an object or symbol value to React (as a prop, key,\n // DOM attribute, CSS property, string ref, etc.) and when React tried to\n // coerce it to a string using `'' + value`, an exception was thrown.\n //\n // The most common types that will cause this exception are `Symbol` instances\n // and Temporal objects like `Temporal.Instant`. But any object that has a\n // `valueOf` or `[Symbol.toPrimitive]` method that throws will also cause this\n // exception. (Library authors do this to prevent users from using built-in\n // numeric operators like `+` or comparison operators like `>=` because custom\n // methods are needed to perform accurate arithmetic or comparison.)\n //\n // To fix the problem, coerce this object or symbol value to a string before\n // passing it to React. The most reliable way is usually `String(value)`.\n //\n // To find which value is throwing, check the browser or debugger console.\n // Before this exception was thrown, there should be `console.error` output\n // that shows the type (Symbol, Temporal.PlainDate, etc.) that caused the\n // problem and how that type was used: key, atrribute, input value prop, etc.\n // In most cases, this console output also shows the component and its\n // ancestor components where the exception happened.\n //\n // eslint-disable-next-line react-internal/safe-string-coercion\n return '' + value;\n}\nfunction checkKeyStringCoercion(value) {\n {\n if (willCoercionThrow(value)) {\n error('The provided key is an unsupported type %s.' + ' This value must be coerced to a string before before using it here.', typeName(value));\n\n return testStringCoercion(value); // throw (to help callers find troubleshooting comments)\n }\n }\n}\n\nvar ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;\nvar RESERVED_PROPS = {\n key: true,\n ref: true,\n __self: true,\n __source: true\n};\nvar specialPropKeyWarningShown;\nvar specialPropRefWarningShown;\nvar didWarnAboutStringRefs;\n\n{\n didWarnAboutStringRefs = {};\n}\n\nfunction hasValidRef(config) {\n {\n if (hasOwnProperty.call(config, 'ref')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'ref').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.ref !== undefined;\n}\n\nfunction hasValidKey(config) {\n {\n if (hasOwnProperty.call(config, 'key')) {\n var getter = Object.getOwnPropertyDescriptor(config, 'key').get;\n\n if (getter && getter.isReactWarning) {\n return false;\n }\n }\n }\n\n return config.key !== undefined;\n}\n\nfunction warnIfStringRefCannotBeAutoConverted(config, self) {\n {\n if (typeof config.ref === 'string' && ReactCurrentOwner.current && self && ReactCurrentOwner.current.stateNode !== self) {\n var componentName = getComponentNameFromType(ReactCurrentOwner.current.type);\n\n if (!didWarnAboutStringRefs[componentName]) {\n error('Component \"%s\" contains the string ref \"%s\". ' + 'Support for string refs will be removed in a future major release. ' + 'This case cannot be automatically converted to an arrow function. ' + 'We ask you to manually fix this case by using useRef() or createRef() instead. ' + 'Learn more about using refs safely here: ' + 'https://reactjs.org/link/strict-mode-string-ref', getComponentNameFromType(ReactCurrentOwner.current.type), config.ref);\n\n didWarnAboutStringRefs[componentName] = true;\n }\n }\n }\n}\n\nfunction defineKeyPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingKey = function () {\n if (!specialPropKeyWarningShown) {\n specialPropKeyWarningShown = true;\n\n error('%s: `key` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingKey.isReactWarning = true;\n Object.defineProperty(props, 'key', {\n get: warnAboutAccessingKey,\n configurable: true\n });\n }\n}\n\nfunction defineRefPropWarningGetter(props, displayName) {\n {\n var warnAboutAccessingRef = function () {\n if (!specialPropRefWarningShown) {\n specialPropRefWarningShown = true;\n\n error('%s: `ref` is not a prop. Trying to access it will result ' + 'in `undefined` being returned. If you need to access the same ' + 'value within the child component, you should pass it as a different ' + 'prop. (https://reactjs.org/link/special-props)', displayName);\n }\n };\n\n warnAboutAccessingRef.isReactWarning = true;\n Object.defineProperty(props, 'ref', {\n get: warnAboutAccessingRef,\n configurable: true\n });\n }\n}\n/**\n * Factory method to create a new React element. This no longer adheres to\n * the class pattern, so do not use new to call it. Also, instanceof check\n * will not work. Instead test $$typeof field against Symbol.for('react.element') to check\n * if something is a React Element.\n *\n * @param {*} type\n * @param {*} props\n * @param {*} key\n * @param {string|object} ref\n * @param {*} owner\n * @param {*} self A *temporary* helper to detect places where `this` is\n * different from the `owner` when React.createElement is called, so that we\n * can warn. We want to get rid of owner and replace string `ref`s with arrow\n * functions, and as long as `this` and owner are the same, there will be no\n * change in behavior.\n * @param {*} source An annotation object (added by a transpiler or otherwise)\n * indicating filename, line number, and/or other information.\n * @internal\n */\n\n\nvar ReactElement = function (type, key, ref, self, source, owner, props) {\n var element = {\n // This tag allows us to uniquely identify this as a React Element\n $$typeof: REACT_ELEMENT_TYPE,\n // Built-in properties that belong on the element\n type: type,\n key: key,\n ref: ref,\n props: props,\n // Record the component responsible for creating this element.\n _owner: owner\n };\n\n {\n // The validation flag is currently mutative. We put it on\n // an external backing store so that we can freeze the whole object.\n // This can be replaced with a WeakMap once they are implemented in\n // commonly used development environments.\n element._store = {}; // To make comparing ReactElements easier for testing purposes, we make\n // the validation flag non-enumerable (where possible, which should\n // include every environment we run tests in), so the test framework\n // ignores it.\n\n Object.defineProperty(element._store, 'validated', {\n configurable: false,\n enumerable: false,\n writable: true,\n value: false\n }); // self and source are DEV only properties.\n\n Object.defineProperty(element, '_self', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: self\n }); // Two elements created in two different places should be considered\n // equal for testing purposes and therefore we hide it from enumeration.\n\n Object.defineProperty(element, '_source', {\n configurable: false,\n enumerable: false,\n writable: false,\n value: source\n });\n\n if (Object.freeze) {\n Object.freeze(element.props);\n Object.freeze(element);\n }\n }\n\n return element;\n};\n/**\n * https://github.com/reactjs/rfcs/pull/107\n * @param {*} type\n * @param {object} props\n * @param {string} key\n */\n\nfunction jsxDEV(type, config, maybeKey, source, self) {\n {\n var propName; // Reserved names are extracted\n\n var props = {};\n var key = null;\n var ref = null; // Currently, key can be spread in as a prop. This causes a potential\n // issue if key is also explicitly declared (ie. <div {...props} key=\"Hi\" />\n // or <div key=\"Hi\" {...props} /> ). We want to deprecate key spread,\n // but as an intermediary step, we will use jsxDEV for everything except\n // <div {...props} key=\"Hi\" />, because we aren't currently able to tell if\n // key is explicitly declared to be undefined or not.\n\n if (maybeKey !== undefined) {\n {\n checkKeyStringCoercion(maybeKey);\n }\n\n key = '' + maybeKey;\n }\n\n if (hasValidKey(config)) {\n {\n checkKeyStringCoercion(config.key);\n }\n\n key = '' + config.key;\n }\n\n if (hasValidRef(config)) {\n ref = config.ref;\n warnIfStringRefCannotBeAutoConverted(config, self);\n } // Remaining properties are added to a new props object\n\n\n for (propName in config) {\n if (hasOwnProperty.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) {\n props[propName] = config[propName];\n }\n } // Resolve default props\n\n\n if (type && type.defaultProps) {\n var defaultProps = type.defaultProps;\n\n for (propName in defaultProps) {\n if (props[propName] === undefined) {\n props[propName] = defaultProps[propName];\n }\n }\n }\n\n if (key || ref) {\n var displayName = typeof type === 'function' ? type.displayName || type.name || 'Unknown' : type;\n\n if (key) {\n defineKeyPropWarningGetter(props, displayName);\n }\n\n if (ref) {\n defineRefPropWarningGetter(props, displayName);\n }\n }\n\n return ReactElement(type, key, ref, self, source, ReactCurrentOwner.current, props);\n }\n}\n\nvar ReactCurrentOwner$1 = ReactSharedInternals.ReactCurrentOwner;\nvar ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame;\n\nfunction setCurrentlyValidatingElement$1(element) {\n {\n if (element) {\n var owner = element._owner;\n var stack = describeUnknownElementTypeFrameInDEV(element.type, element._source, owner ? owner.type : null);\n ReactDebugCurrentFrame$1.setExtraStackFrame(stack);\n } else {\n ReactDebugCurrentFrame$1.setExtraStackFrame(null);\n }\n }\n}\n\nvar propTypesMisspellWarningShown;\n\n{\n propTypesMisspellWarningShown = false;\n}\n/**\n * Verifies the object is a ReactElement.\n * See https://reactjs.org/docs/react-api.html#isvalidelement\n * @param {?object} object\n * @return {boolean} True if `object` is a ReactElement.\n * @final\n */\n\n\nfunction isValidElement(object) {\n {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n }\n}\n\nfunction getDeclarationErrorAddendum() {\n {\n if (ReactCurrentOwner$1.current) {\n var name = getComponentNameFromType(ReactCurrentOwner$1.current.type);\n\n if (name) {\n return '\\n\\nCheck the render method of `' + name + '`.';\n }\n }\n\n return '';\n }\n}\n\nfunction getSourceInfoErrorAddendum(source) {\n {\n if (source !== undefined) {\n var fileName = source.fileName.replace(/^.*[\\\\\\/]/, '');\n var lineNumber = source.lineNumber;\n return '\\n\\nCheck your code at ' + fileName + ':' + lineNumber + '.';\n }\n\n return '';\n }\n}\n/**\n * Warn if there's no key explicitly set on dynamic arrays of children or\n * object keys are not valid. This allows us to keep track of children between\n * updates.\n */\n\n\nvar ownerHasKeyUseWarning = {};\n\nfunction getCurrentComponentErrorInfo(parentType) {\n {\n var info = getDeclarationErrorAddendum();\n\n if (!info) {\n var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name;\n\n if (parentName) {\n info = \"\\n\\nCheck the top-level render call using <\" + parentName + \">.\";\n }\n }\n\n return info;\n }\n}\n/**\n * Warn if the element doesn't have an explicit key assigned to it.\n * This element is in an array. The array could grow and shrink or be\n * reordered. All children that haven't already been validated are required to\n * have a \"key\" property assigned to it. Error statuses are cached so a warning\n * will only be shown once.\n *\n * @internal\n * @param {ReactElement} element Element that requires a key.\n * @param {*} parentType element's parent's type.\n */\n\n\nfunction validateExplicitKey(element, parentType) {\n {\n if (!element._store || element._store.validated || element.key != null) {\n return;\n }\n\n element._store.validated = true;\n var currentComponentErrorInfo = getCurrentComponentErrorInfo(parentType);\n\n if (ownerHasKeyUseWarning[currentComponentErrorInfo]) {\n return;\n }\n\n ownerHasKeyUseWarning[currentComponentErrorInfo] = true; // Usually the current owner is the offender, but if it accepts children as a\n // property, it may be the creator of the child that's responsible for\n // assigning it a key.\n\n var childOwner = '';\n\n if (element && element._owner && element._owner !== ReactCurrentOwner$1.current) {\n // Give the component that originally created this child.\n childOwner = \" It was passed a child from \" + getComponentNameFromType(element._owner.type) + \".\";\n }\n\n setCurrentlyValidatingElement$1(element);\n\n error('Each child in a list should have a unique \"key\" prop.' + '%s%s See https://reactjs.org/link/warning-keys for more information.', currentComponentErrorInfo, childOwner);\n\n setCurrentlyValidatingElement$1(null);\n }\n}\n/**\n * Ensure that every element either is passed in a static location, in an\n * array with an explicit keys property defined, or in an object literal\n * with valid key property.\n *\n * @internal\n * @param {ReactNode} node Statically passed child of any type.\n * @param {*} parentType node's parent's type.\n */\n\n\nfunction validateChildKeys(node, parentType) {\n {\n if (typeof node !== 'object') {\n return;\n }\n\n if (isArray(node)) {\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n\n if (isValidElement(child)) {\n validateExplicitKey(child, parentType);\n }\n }\n } else if (isValidElement(node)) {\n // This element was passed in a valid location.\n if (node._store) {\n node._store.validated = true;\n }\n } else if (node) {\n var iteratorFn = getIteratorFn(node);\n\n if (typeof iteratorFn === 'function') {\n // Entry iterators used to provide implicit keys,\n // but now we print a separate warning for them later.\n if (iteratorFn !== node.entries) {\n var iterator = iteratorFn.call(node);\n var step;\n\n while (!(step = iterator.next()).done) {\n if (isValidElement(step.value)) {\n validateExplicitKey(step.value, parentType);\n }\n }\n }\n }\n }\n }\n}\n/**\n * Given an element, validate that its props follow the propTypes definition,\n * provided by the type.\n *\n * @param {ReactElement} element\n */\n\n\nfunction validatePropTypes(element) {\n {\n var type = element.type;\n\n if (type === null || type === undefined || typeof type === 'string') {\n return;\n }\n\n var propTypes;\n\n if (typeof type === 'function') {\n propTypes = type.propTypes;\n } else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE || // Note: Memo only checks outer props here.\n // Inner props are checked in the reconciler.\n type.$$typeof === REACT_MEMO_TYPE)) {\n propTypes = type.propTypes;\n } else {\n return;\n }\n\n if (propTypes) {\n // Intentionally inside to avoid triggering lazy initializers:\n var name = getComponentNameFromType(type);\n checkPropTypes(propTypes, element.props, 'prop', name, element);\n } else if (type.PropTypes !== undefined && !propTypesMisspellWarningShown) {\n propTypesMisspellWarningShown = true; // Intentionally inside to avoid triggering lazy initializers:\n\n var _name = getComponentNameFromType(type);\n\n error('Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?', _name || 'Unknown');\n }\n\n if (typeof type.getDefaultProps === 'function' && !type.getDefaultProps.isReactClassApproved) {\n error('getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.');\n }\n }\n}\n/**\n * Given a fragment, validate that it can only be provided with fragment props\n * @param {ReactElement} fragment\n */\n\n\nfunction validateFragmentProps(fragment) {\n {\n var keys = Object.keys(fragment.props);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key !== 'children' && key !== 'key') {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid prop `%s` supplied to `React.Fragment`. ' + 'React.Fragment can only have `key` and `children` props.', key);\n\n setCurrentlyValidatingElement$1(null);\n break;\n }\n }\n\n if (fragment.ref !== null) {\n setCurrentlyValidatingElement$1(fragment);\n\n error('Invalid attribute `ref` supplied to `React.Fragment`.');\n\n setCurrentlyValidatingElement$1(null);\n }\n }\n}\n\nvar didWarnAboutKeySpread = {};\nfunction jsxWithValidation(type, props, key, isStaticChildren, source, self) {\n {\n var validType = isValidElementType(type); // We warn in this case but don't throw. We expect the element creation to\n // succeed and there will likely be errors in render.\n\n if (!validType) {\n var info = '';\n\n if (type === undefined || typeof type === 'object' && type !== null && Object.keys(type).length === 0) {\n info += ' You likely forgot to export your component from the file ' + \"it's defined in, or you might have mixed up default and named imports.\";\n }\n\n var sourceInfo = getSourceInfoErrorAddendum(source);\n\n if (sourceInfo) {\n info += sourceInfo;\n } else {\n info += getDeclarationErrorAddendum();\n }\n\n var typeString;\n\n if (type === null) {\n typeString = 'null';\n } else if (isArray(type)) {\n typeString = 'array';\n } else if (type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE) {\n typeString = \"<\" + (getComponentNameFromType(type.type) || 'Unknown') + \" />\";\n info = ' Did you accidentally export a JSX literal instead of a component?';\n } else {\n typeString = typeof type;\n }\n\n error('React.jsx: type is invalid -- expected a string (for ' + 'built-in components) or a class/function (for composite ' + 'components) but got: %s.%s', typeString, info);\n }\n\n var element = jsxDEV(type, props, key, source, self); // The result can be nullish if a mock or a custom function is used.\n // TODO: Drop this when these are no longer allowed as the type argument.\n\n if (element == null) {\n return element;\n } // Skip key warning if the type isn't valid since our key validation logic\n // doesn't expect a non-string/function type and can throw confusing errors.\n // We don't want exception behavior to differ between dev and prod.\n // (Rendering will throw with a helpful message and as soon as the type is\n // fixed, the key warnings will appear.)\n\n\n if (validType) {\n var children = props.children;\n\n if (children !== undefined) {\n if (isStaticChildren) {\n if (isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n validateChildKeys(children[i], type);\n }\n\n if (Object.freeze) {\n Object.freeze(children);\n }\n } else {\n error('React.jsx: Static children should always be an array. ' + 'You are likely explicitly calling React.jsxs or React.jsxDEV. ' + 'Use the Babel transform instead.');\n }\n } else {\n validateChildKeys(children, type);\n }\n }\n }\n\n {\n if (hasOwnProperty.call(props, 'key')) {\n var componentName = getComponentNameFromType(type);\n var keys = Object.keys(props).filter(function (k) {\n return k !== 'key';\n });\n var beforeExample = keys.length > 0 ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}' : '{key: someKey}';\n\n if (!didWarnAboutKeySpread[componentName + beforeExample]) {\n var afterExample = keys.length > 0 ? '{' + keys.join(': ..., ') + ': ...}' : '{}';\n\n error('A props object containing a \"key\" prop is being spread into JSX:\\n' + ' let props = %s;\\n' + ' <%s {...props} />\\n' + 'React keys must be passed directly to JSX without using spread:\\n' + ' let props = %s;\\n' + ' <%s key={someKey} {...props} />', beforeExample, componentName, afterExample, componentName);\n\n didWarnAboutKeySpread[componentName + beforeExample] = true;\n }\n }\n }\n\n if (type === REACT_FRAGMENT_TYPE) {\n validateFragmentProps(element);\n } else {\n validatePropTypes(element);\n }\n\n return element;\n }\n} // These two functions exist to still get child warnings in dev\n// even with the prod transform. This means that jsxDEV is purely\n// opt-in behavior for better messages but that we won't stop\n// giving you warnings if you use production apis.\n\nfunction jsxWithValidationStatic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, true);\n }\n}\nfunction jsxWithValidationDynamic(type, props, key) {\n {\n return jsxWithValidation(type, props, key, false);\n }\n}\n\nvar jsx = jsxWithValidationDynamic ; // we may want to special case jsxs internally to take advantage of static children.\n// for now we can ship identical prod functions\n\nvar jsxs = jsxWithValidationStatic ;\n\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsx;\nexports.jsxs = jsxs;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.min.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","//\n\nmodule.exports = function shallowEqual(objA, objB, compare, compareContext) {\n var ret = compare ? compare.call(compareContext, objA, objB) : void 0;\n\n if (ret !== void 0) {\n return !!ret;\n }\n\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== \"object\" || !objA || typeof objB !== \"object\" || !objB) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n // Test for A's keys different from B.\n for (var idx = 0; idx < keysA.length; idx++) {\n var key = keysA[idx];\n\n if (!bHasOwnProperty(key)) {\n return false;\n }\n\n var valueA = objA[key];\n var valueB = objB[key];\n\n ret = compare ? compare.call(compareContext, valueA, valueB, key) : void 0;\n\n if (ret === false || (ret === void 0 && valueA !== valueB)) {\n return false;\n }\n }\n\n return true;\n};\n","import{__spreadArray as e,__assign as t}from\"tslib\";import n from\"@emotion/is-prop-valid\";import o,{useRef as r,useState as s,useMemo as i,useEffect as a,useContext as c,useDebugValue as l,createElement as u}from\"react\";import p from\"shallowequal\";import*as d from\"stylis\";import h from\"@emotion/unitless\";var f=\"undefined\"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||\"data-styled\",m=\"active\",y=\"data-styled-version\",v=\"6.1.13\",g=\"/*!sc*/\\n\",S=\"undefined\"!=typeof window&&\"HTMLElement\"in window,w=Boolean(\"boolean\"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&\"\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY?\"false\"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:\"undefined\"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&\"\"!==process.env.SC_DISABLE_SPEEDY?\"false\"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:\"production\"!==process.env.NODE_ENV),b={},E=/invalid hook call/i,N=new Set,P=function(t,n){if(\"production\"!==process.env.NODE_ENV){var o=n?' with the id of \"'.concat(n,'\"'):\"\",s=\"The component \".concat(t).concat(o,\" has been created dynamically.\\n\")+\"You may see this warning because you've called styled inside another component.\\nTo resolve this only create new StyledComponents outside of any render method and function component.\",i=console.error;try{var a=!0;console.error=function(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];E.test(t)?(a=!1,N.delete(s)):i.apply(void 0,e([t],n,!1))},r(),a&&!N.has(s)&&(console.warn(s),N.add(s))}catch(e){E.test(e.message)&&N.delete(s)}finally{console.error=i}}},_=Object.freeze([]),C=Object.freeze({});function I(e,t,n){return void 0===n&&(n=C),e.theme!==n.theme&&e.theme||t||n.theme}var A=new Set([\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"bdi\",\"bdo\",\"big\",\"blockquote\",\"body\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"data\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"menu\",\"menuitem\",\"meta\",\"meter\",\"nav\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"picture\",\"pre\",\"progress\",\"q\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strong\",\"style\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"track\",\"u\",\"ul\",\"use\",\"var\",\"video\",\"wbr\",\"circle\",\"clipPath\",\"defs\",\"ellipse\",\"foreignObject\",\"g\",\"image\",\"line\",\"linearGradient\",\"marker\",\"mask\",\"path\",\"pattern\",\"polygon\",\"polyline\",\"radialGradient\",\"rect\",\"stop\",\"svg\",\"text\",\"tspan\"]),O=/[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^`{|}~-]+/g,D=/(^-|-$)/g;function R(e){return e.replace(O,\"-\").replace(D,\"\")}var T=/(a)(d)/gi,k=52,j=function(e){return String.fromCharCode(e+(e>25?39:97))};function x(e){var t,n=\"\";for(t=Math.abs(e);t>k;t=t/k|0)n=j(t%k)+n;return(j(t%k)+n).replace(T,\"$1-$2\")}var V,F=5381,M=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z=function(e){return M(F,e)};function $(e){return x(z(e)>>>0)}function B(e){return\"production\"!==process.env.NODE_ENV&&\"string\"==typeof e&&e||e.displayName||e.name||\"Component\"}function L(e){return\"string\"==typeof e&&(\"production\"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var G=\"function\"==typeof Symbol&&Symbol.for,Y=G?Symbol.for(\"react.memo\"):60115,W=G?Symbol.for(\"react.forward_ref\"):60112,q={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J=((V={})[W]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V[Y]=U,V);function X(e){return(\"type\"in(t=e)&&t.type.$$typeof)===Y?U:\"$$typeof\"in e?J[e.$$typeof]:q;var t}var Z=Object.defineProperty,K=Object.getOwnPropertyNames,Q=Object.getOwnPropertySymbols,ee=Object.getOwnPropertyDescriptor,te=Object.getPrototypeOf,ne=Object.prototype;function oe(e,t,n){if(\"string\"!=typeof t){if(ne){var o=te(t);o&&o!==ne&&oe(e,o,n)}var r=K(t);Q&&(r=r.concat(Q(t)));for(var s=X(e),i=X(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H||n&&n[c]||i&&c in i||s&&c in s)){var l=ee(t,c);try{Z(e,c,l)}catch(e){}}}}return e}function re(e){return\"function\"==typeof e}function se(e){return\"object\"==typeof e&&\"styledComponentId\"in e}function ie(e,t){return e&&t?\"\".concat(e,\" \").concat(t):e||t||\"\"}function ae(e,t){if(0===e.length)return\"\";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce(e){return null!==e&&\"object\"==typeof e&&e.constructor.name===Object.name&&!(\"props\"in e&&e.$$typeof)}function le(e,t,n){if(void 0===n&&(n=!1),!n&&!ce(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le(e[o],t[o]);else if(ce(t))for(var o in t)e[o]=le(e[o],t[o]);return e}function ue(e,t){Object.defineProperty(e,\"toString\",{value:t})}var pe=\"production\"!==process.env.NODE_ENV?{1:\"Cannot create styled-component for component: %s.\\n\\n\",2:\"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\\n\\n- Are you trying to reuse it across renders?\\n- Are you accidentally calling collectStyles twice?\\n\\n\",3:\"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\\n\\n\",4:\"The `StyleSheetManager` expects a valid target or sheet prop!\\n\\n- Does this error occur on the client and is your target falsy?\\n- Does this error occur on the server and is the sheet falsy?\\n\\n\",5:\"The clone method cannot be used on the client!\\n\\n- Are you running in a client-like environment on the server?\\n- Are you trying to run SSR on the client?\\n\\n\",6:\"Trying to insert a new style tag, but the given Node is unmounted!\\n\\n- Are you using a custom target that isn't mounted?\\n- Does your document not have a valid head element?\\n- Have you accidentally removed a style tag manually?\\n\\n\",7:'ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\\n\\n```js\\ntheme={() => ({})}\\n```\\n\\n',8:'ThemeProvider: Please make your \"theme\" prop an object.\\n\\n',9:\"Missing document `<head>`\\n\\n\",10:\"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\\n\\n\",11:\"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\\n\\n\",12:\"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\\\`\\\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\\n\\n\",13:\"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\\n\\n\",14:'ThemeProvider: \"theme\" prop is required.\\n\\n',15:\"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\\n\\n```js\\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\\n```\\n\\n\",16:\"Reached the limit of how many styled components may be created at group %s.\\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\\nas for instance in your render method then you may be running into this limitation.\\n\\n\",17:\"CSSStyleSheet could not be found on HTMLStyleElement.\\nHas styled-components' style tag been unmounted or altered by another script?\\n\",18:\"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`\"}:{};function de(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],o=[],r=1,s=e.length;r<s;r+=1)o.push(e[r]);return o.forEach(function(e){n=n.replace(/%[a-z]/,e)}),n}function he(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return\"production\"===process.env.NODE_ENV?new Error(\"An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#\".concat(t,\" for more information.\").concat(n.length>0?\" Args: \".concat(n.join(\", \")):\"\")):new Error(de.apply(void 0,e([pe[t]],n,!1)).trim())}var fe=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he(16,\"\".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t=\"\";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+=\"\".concat(this.tag.getRule(s)).concat(g);return t},e}(),me=1<<30,ye=new Map,ve=new Map,ge=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge);)ge++;var t=ge++;if(\"production\"!==process.env.NODE_ENV&&((0|t)<0||t>me))throw he(16,\"\".concat(t));return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge=t+1,ye.set(e,t),ve.set(t,e)},be=\"style[\".concat(f,\"][\").concat(y,'=\"').concat(v,'\"]'),Ee=new RegExp(\"^\".concat(f,'\\\\.g(\\\\d+)\\\\[id=\"([\\\\w\\\\d-]+)\"\\\\].*?\"([^\"]*)')),Ne=function(e,t,n){for(var o,r=n.split(\",\"),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o)},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:\"\").split(g),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r))}};function Ce(){return\"undefined\"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement(\"style\"),r=function(e){var t=Array.from(e.querySelectorAll(\"style[\".concat(f,\"]\")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y,v);var i=Ce();return i&&o.setAttribute(\"nonce\",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode(\"\")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:\"\"},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:\"\"},e}(),De=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:\"\"},e}(),Re=S,Te={isServer:!S,useCSSOMInjection:!w},ke=function(){function e(e,n,o){void 0===e&&(e=C),void 0===n&&(n={});var r=this;this.options=t(t({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S&&Re&&(Re=!1,_e(this)),ue(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o=\"\",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return\"continue\";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return\"continue\";var a=\"\".concat(f,\".g\").concat(n,'[id=\"').concat(r,'\"]'),c=\"\";void 0!==s&&s.forEach(function(e){e.length>0&&(c+=\"\".concat(e,\",\"))}),o+=\"\".concat(i).concat(a,'{content:\"').concat(c,'\"}').concat(g)},s=0;s<n;s++)r(s);return o}(r)})}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S&&_e(this)},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(t(t({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),je=/&/g,xe=/^\\s*\\/\\/.*$/gm;function Ve(e,t){return e.map(function(e){return\"rule\"===e.type&&(e.value=\"\".concat(t,\" \").concat(e.value),e.value=e.value.replaceAll(\",\",\",\".concat(t,\" \")),e.props=e.props.map(function(e){return\"\".concat(t,\" \").concat(e)})),Array.isArray(e.children)&&\"@keyframes\"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C:e,s=r.options,i=void 0===s?C:s,a=r.plugins,c=void 0===a?_:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,\"\").length>0?\".\".concat(t):e},u=c.slice();u.push(function(e){e.type===d.RULESET&&e.value.includes(\"&\")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l))}),i.prefix&&u.push(d.prefixer),u.push(d.stringify);var p=function(e,r,s,a){void 0===r&&(r=\"\"),void 0===s&&(s=\"\"),void 0===a&&(a=\"&\"),t=a,n=r,o=new RegExp(\"\\\\\".concat(n,\"\\\\b\"),\"g\");var c=e.replace(xe,\"\"),l=d.compile(s||r?\"\".concat(s,\" \").concat(r,\" { \").concat(c,\" }\"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return d.serialize(l,d.middleware(u.concat(d.rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he(15),M(e,t.name)},F).toString():\"\",p}var Me=new ke,ze=Fe(),$e=o.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze}),Be=$e.Consumer,Le=o.createContext(void 0);function Ge(){return c($e)}function Ye(e){var t=s(e.stylisPlugins),n=t[0],r=t[1],c=Ge().styleSheet,l=i(function(){var t=c;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,c]),u=i(function(){return Fe({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);a(function(){p(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var d=i(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:l,stylis:u}},[e.shouldForwardProp,l,u]);return o.createElement($e.Provider,{value:d},o.createElement(Le.Provider,{value:u},e.children))}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,\"@keyframes\"))},this.name=e,this.id=\"sc-keyframes-\".concat(e),this.rules=t,ue(this,function(){throw he(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>=\"A\"&&e<=\"Z\"};function He(e){for(var t=\"\",n=0;n<e.length;n++){var o=e[n];if(1===n&&\"-\"===o&&\"-\"===e[0])return e;qe(o)?t+=\"-\"+o.toLowerCase():t+=o}return t.startsWith(\"ms-\")?\"-\"+t:t}var Ue=function(e){return null==e||!1===e||\"\"===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re(i)?r.push(\"\".concat(He(s),\":\"),i,\";\"):ce(i)?r.push.apply(r,e(e([\"\".concat(s,\" {\")],Je(i),!1),[\"}\"],!1)):r.push(\"\".concat(He(s),\": \").concat((n=s,null==(o=i)||\"boolean\"==typeof o||\"\"===o?\"\":\"number\"!=typeof o||0===o||n in h||n.startsWith(\"--\")?String(o).trim():\"\".concat(o,\"px\")),\";\")))}return r};function Xe(e,t,n,o){if(Ue(e))return[];if(se(e))return[\".\".concat(e.styledComponentId)];if(re(e)){if(!re(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return[e];var r=e(t);return\"production\"===process.env.NODE_ENV||\"object\"!=typeof r||Array.isArray(r)||r instanceof We||ce(r)||null===r||console.error(\"\".concat(B(e),\" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\")),Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re(n)&&!se(n))return!1}return!0}var Ke=z(v),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId=\"\",this.isStatic=\"production\"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M(Ke,t),this.baseStyle=n,ke.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):\"\";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie(o,this.staticRulesId);else{var r=ae(Xe(this.rules,e,t,n)),s=x(M(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,\".\".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}o=ie(o,s),this.staticRulesId=s}else{for(var a=M(this.baseHash,n.hash),c=\"\",l=0;l<this.rules.length;l++){var u=this.rules[l];if(\"string\"==typeof u)c+=u,\"production\"!==process.env.NODE_ENV&&(a=M(a,u));else if(u){var p=ae(Xe(u,e,t,n));a=M(a,p+l),c+=p}}if(c){var d=x(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,\".\".concat(d),void 0,this.componentId)),o=ie(o,d)}}return o},e}(),et=o.createContext(void 0),tt=et.Consumer;function nt(){var e=c(et);if(!e)throw he(18);return e}function ot(e){var n=o.useContext(et),r=i(function(){return function(e,n){if(!e)throw he(14);if(re(e)){var o=e(n);if(\"production\"!==process.env.NODE_ENV&&(null===o||Array.isArray(o)||\"object\"!=typeof o))throw he(7);return o}if(Array.isArray(e)||\"object\"!=typeof e)throw he(8);return n?t(t({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?o.createElement(et.Provider,{value:r},e.children):null}var rt={},st=new Set;function it(e,r,s){var i=se(e),a=e,c=!L(e),p=r.attrs,d=void 0===p?_:p,h=r.componentId,f=void 0===h?function(e,t){var n=\"string\"!=typeof e?\"sc\":R(e);rt[n]=(rt[n]||0)+1;var o=\"\".concat(n,\"-\").concat($(v+n+rt[n]));return t?\"\".concat(t,\"-\").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L(e)?\"styled.\".concat(e):\"Styled(\".concat(B(e),\")\")}(e):m,g=r.displayName&&r.componentId?\"\".concat(R(r.displayName),\"-\").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)}}else w=b}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=o.useContext(et),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;\"production\"!==process.env.NODE_ENV&&l(d);var v=I(r,f,c)||C,g=function(e,n,o){for(var r,s=t(t({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re(r=e[i])?r(s):r;for(var c in a)s[c]=\"className\"===c?ie(s[c],a[c]):\"style\"===c?t(t({},s[c]),a[c]):a[c]}return n.className&&(s.className=ie(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||\"$\"===b[0]||\"as\"===b||\"theme\"===b&&g.theme===v||(\"forwardedAs\"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||\"development\"!==process.env.NODE_ENV||n(b)||st.has(b)||!A.has(S)||(st.add(b),console.warn('styled-components: it looks like an unknown prop \"'.concat(b,'\" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return\"production\"!==process.env.NODE_ENV&&l(o),o}(a,g);\"production\"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(E);var N=ie(p,d);return E&&(N+=\" \"+E),g.className&&(N+=\" \"+g.className),w[L(S)&&!A.has(S)?\"class\":\"className\"]=N,w.ref=s,u(S,w)}(D,e,r)}O.displayName=y;var D=o.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie(a.foldedComponentIds,a.styledComponentId):\"\",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,\"defaultProps\",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le(e,r[o],!0);return e}({},a.defaultProps,e):e}}),\"production\"!==process.env.NODE_ENV&&(P(y,g),D.warnTooManyClasses=function(e,t){var n={},o=!1;return function(r){if(!o&&(n[r]=!0,Object.keys(n).length>=200)){var s=t?' with the id of \"'.concat(t,'\"'):\"\";console.warn(\"Over \".concat(200,\" classes were generated for component \").concat(e).concat(s,\".\\n\")+\"Consider using the attrs method, together with a style object for frequently changed styles.\\nExample:\\n const Component = styled.div.attrs(props => ({\\n style: {\\n background: props.background,\\n },\\n }))`width: 100%;`\\n\\n <Component />\"),o=!0,n={}}}}(y,g)),ue(D,function(){return\".\".concat(D.styledComponentId)}),c&&oe(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct=function(e){return Object.assign(e,{isCss:!0})};function lt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re(t)||ce(t))return ct(Xe(at(_,e([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&\"string\"==typeof r[0]?Xe(r):ct(Xe(at(r,n)))}function ut(n,o,r){if(void 0===r&&(r=C),!o)throw he(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt.apply(void 0,e([t],s,!1)))};return s.attrs=function(e){return ut(n,o,t(t({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut(n,o,t(t({},r),e))},s}var pt=function(e){return ut(it,e)},dt=pt;A.forEach(function(e){dt[e]=pt(e)});var ht=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae(Xe(this.rules,t,n,o)),\"\"),s=this.componentId+e;n.insertRules(s,s,r)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o)},e}();function ft(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt.apply(void 0,e([n],r,!1)),a=\"sc-global-\".concat($(JSON.stringify(i))),c=new ht(i,a);\"production\"!==process.env.NODE_ENV&&P(a);var l=function(e){var t=Ge(),n=o.useContext(et),r=o.useRef(t.styleSheet.allocateGSInstance(a)).current;return\"production\"!==process.env.NODE_ENV&&o.Children.count(e.children)&&console.warn(\"The global style component \".concat(a,\" was given child JSX. createGlobalStyle does not render children.\")),\"production\"!==process.env.NODE_ENV&&i.some(function(e){return\"string\"==typeof e&&-1!==e.indexOf(\"@import\")})&&console.warn(\"Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app.\"),t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),o.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b,o,s);else{var i=t(t({},n),{theme:I(n,r,l.defaultProps)});c.renderStyles(e,i,o,s)}}return o.memo(l)}function mt(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.\");var r=ae(lt.apply(void 0,e([t],n,!1))),s=$(r);return new We(s,r)}function yt(e){var n=o.forwardRef(function(n,r){var s=I(n,o.useContext(et),e.defaultProps);return\"production\"!==process.env.NODE_ENV&&void 0===s&&console.warn('[withTheme] You are not using a ThemeProvider nor passing a theme prop or a theme in defaultProps in component class \"'.concat(B(e),'\"')),o.createElement(e,t({},n,{theme:s,ref:r}))});return n.displayName=\"WithTheme(\".concat(B(e),\")\"),oe(n,e)}var vt=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return\"\";var n=Ce(),o=ae([n&&'nonce=\"'.concat(n,'\"'),\"\".concat(f,'=\"true\"'),\"\".concat(y,'=\"').concat(v,'\"')].filter(Boolean),\" \");return\"<style \".concat(o,\">\").concat(t,\"</style>\")},this.getStyleTags=function(){if(e.sealed)throw he(2);return e._emitSheetCSS()},this.getStyleElement=function(){var n;if(e.sealed)throw he(2);var r=e.instance.toString();if(!r)return[];var s=((n={})[f]=\"\",n[y]=v,n.dangerouslySetInnerHTML={__html:r},n),i=Ce();return i&&(s.nonce=i),[o.createElement(\"style\",t({},s,{key:\"sc-0-0\"}))]},this.seal=function(){e.sealed=!0},this.instance=new ke({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw he(2);return o.createElement(Ye,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw he(3)},e}(),gt={StyleSheet:ke,mainSheet:Me};\"production\"!==process.env.NODE_ENV&&\"undefined\"!=typeof navigator&&\"ReactNative\"===navigator.product&&console.warn(\"It looks like you've imported 'styled-components' on React Native.\\nPerhaps you're looking to import 'styled-components/native'?\\nRead more about this at https://www.styled-components.com/docs/basics#react-native\");var St=\"__sc-\".concat(f,\"__\");\"production\"!==process.env.NODE_ENV&&\"test\"!==process.env.NODE_ENV&&\"undefined\"!=typeof window&&(window[St]||(window[St]=0),1===window[St]&&console.warn(\"It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\\n\\nSee https://s-c.sh/2BAXzed for more info.\"),window[St]+=1);export{vt as ServerStyleSheet,Be as StyleSheetConsumer,$e as StyleSheetContext,Ye as StyleSheetManager,tt as ThemeConsumer,et as ThemeContext,ot as ThemeProvider,gt as __PRIVATE__,ft as createGlobalStyle,lt as css,dt as default,se as isStyledComponent,mt as keyframes,dt as styled,nt as useTheme,v as version,yt as withTheme};\n//# sourceMappingURL=styled-components.browser.esm.js.map\n","module.exports = window[\"React\"];","module.exports = window[\"wc\"][\"blocksCheckout\"];","module.exports = window[\"wc\"][\"blocksComponents\"];","module.exports = window[\"wc\"][\"wcBlocksData\"];","module.exports = window[\"wc\"][\"wcBlocksRegistry\"];","module.exports = window[\"wc\"][\"wcSettings\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"htmlEntities\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"primitives\"];","/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n","export var MS = '-ms-'\nexport var MOZ = '-moz-'\nexport var WEBKIT = '-webkit-'\n\nexport var COMMENT = 'comm'\nexport var RULESET = 'rule'\nexport var DECLARATION = 'decl'\n\nexport var PAGE = '@page'\nexport var MEDIA = '@media'\nexport var IMPORT = '@import'\nexport var CHARSET = '@charset'\nexport var VIEWPORT = '@viewport'\nexport var SUPPORTS = '@supports'\nexport var DOCUMENT = '@document'\nexport var NAMESPACE = '@namespace'\nexport var KEYFRAMES = '@keyframes'\nexport var FONT_FACE = '@font-face'\nexport var COUNTER_STYLE = '@counter-style'\nexport var FONT_FEATURE_VALUES = '@font-feature-values'\nexport var LAYER = '@layer'\nexport var SCOPE = '@scope'\n","import {MS, MOZ, WEBKIT, RULESET, KEYFRAMES, DECLARATION} from './Enum.js'\nimport {match, charat, substr, strlen, sizeof, replace, combine, filter, assign} from './Utility.js'\nimport {copy, lift, tokenize} from './Tokenizer.js'\nimport {serialize} from './Serializer.js'\nimport {prefix} from './Prefixer.js'\n\n/**\n * @param {function[]} collection\n * @return {function}\n */\nexport function middleware (collection) {\n\tvar length = sizeof(collection)\n\n\treturn function (element, index, children, callback) {\n\t\tvar output = ''\n\n\t\tfor (var i = 0; i < length; i++)\n\t\t\toutput += collection[i](element, index, children, callback) || ''\n\n\t\treturn output\n\t}\n}\n\n/**\n * @param {function} callback\n * @return {function}\n */\nexport function rulesheet (callback) {\n\treturn function (element) {\n\t\tif (!element.root)\n\t\t\tif (element = element.return)\n\t\t\t\tcallback(element)\n\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n */\nexport function prefixer (element, index, children, callback) {\n\tif (element.length > -1)\n\t\tif (!element.return)\n\t\t\tswitch (element.type) {\n\t\t\t\tcase DECLARATION: element.return = prefix(element.value, element.length, children)\n\t\t\t\t\treturn\n\t\t\t\tcase KEYFRAMES:\n\t\t\t\t\treturn serialize([copy(element, {value: replace(element.value, '@', '@' + WEBKIT)})], callback)\n\t\t\t\tcase RULESET:\n\t\t\t\t\tif (element.length)\n\t\t\t\t\t\treturn combine(children = element.props, function (value) {\n\t\t\t\t\t\t\tswitch (match(value, callback = /(::plac\\w+|:read-\\w+)/)) {\n\t\t\t\t\t\t\t\t// :read-(only|write)\n\t\t\t\t\t\t\t\tcase ':read-only': case ':read-write':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(read-\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t// :placeholder\n\t\t\t\t\t\t\t\tcase '::placeholder':\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + WEBKIT + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, ':' + MOZ + '$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [replace(value, /:(plac\\w+)/, MS + 'input-$1')]}))\n\t\t\t\t\t\t\t\t\tlift(copy(element, {props: [value]}))\n\t\t\t\t\t\t\t\t\tassign(element, {props: filter(children, callback)})\n\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\treturn ''\n\t\t\t\t\t\t})\n\t\t\t}\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n */\nexport function namespace (element) {\n\tswitch (element.type) {\n\t\tcase RULESET:\n\t\t\telement.props = element.props.map(function (value) {\n\t\t\t\treturn combine(tokenize(value), function (value, index, children) {\n\t\t\t\t\tswitch (charat(value, 0)) {\n\t\t\t\t\t\t// \\f\n\t\t\t\t\t\tcase 12:\n\t\t\t\t\t\t\treturn substr(value, 1, strlen(value))\n\t\t\t\t\t\t// \\0 ( + > ~\n\t\t\t\t\t\tcase 0: case 40: case 43: case 62: case 126:\n\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t// :\n\t\t\t\t\t\tcase 58:\n\t\t\t\t\t\t\tif (children[++index] === 'global')\n\t\t\t\t\t\t\t\tchildren[index] = '', children[++index] = '\\f' + substr(children[index], index = 1, -1)\n\t\t\t\t\t\t// \\s\n\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\treturn index === 1 ? '' : value\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tswitch (index) {\n\t\t\t\t\t\t\t\tcase 0: element = value\n\t\t\t\t\t\t\t\t\treturn sizeof(children) > 1 ? '' : value\n\t\t\t\t\t\t\t\tcase index = sizeof(children) - 1: case 2:\n\t\t\t\t\t\t\t\t\treturn index === 2 ? value + element + element : value + element\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn value\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t}\n}\n","import {COMMENT, RULESET, DECLARATION} from './Enum.js'\nimport {abs, charat, trim, from, sizeof, strlen, substr, append, replace, indexof} from './Utility.js'\nimport {node, char, prev, next, peek, caret, alloc, dealloc, delimit, whitespace, escaping, identifier, commenter} from './Tokenizer.js'\n\n/**\n * @param {string} value\n * @return {object[]}\n */\nexport function compile (value) {\n\treturn dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value))\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {string[]} rule\n * @param {string[]} rules\n * @param {string[]} rulesets\n * @param {number[]} pseudo\n * @param {number[]} points\n * @param {string[]} declarations\n * @return {object}\n */\nexport function parse (value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {\n\tvar index = 0\n\tvar offset = 0\n\tvar length = pseudo\n\tvar atrule = 0\n\tvar property = 0\n\tvar previous = 0\n\tvar variable = 1\n\tvar scanning = 1\n\tvar ampersand = 1\n\tvar character = 0\n\tvar type = ''\n\tvar props = rules\n\tvar children = rulesets\n\tvar reference = rule\n\tvar characters = type\n\n\twhile (scanning)\n\t\tswitch (previous = character, character = next()) {\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (previous != 108 && charat(characters, length - 1) == 58) {\n\t\t\t\t\tif (indexof(characters += replace(delimit(character), '&', '&\\f'), '&\\f', abs(index ? points[index - 1] : 0)) != -1)\n\t\t\t\t\t\tampersand = -1\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t// \" ' [\n\t\t\tcase 34: case 39: case 91:\n\t\t\t\tcharacters += delimit(character)\n\t\t\t\tbreak\n\t\t\t// \\t \\n \\r \\s\n\t\t\tcase 9: case 10: case 13: case 32:\n\t\t\t\tcharacters += whitespace(previous)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tcharacters += escaping(caret() - 1, 7)\n\t\t\t\tcontinue\n\t\t\t// /\n\t\t\tcase 47:\n\t\t\t\tswitch (peek()) {\n\t\t\t\t\tcase 42: case 47:\n\t\t\t\t\t\tappend(comment(commenter(next(), caret()), root, parent, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tcharacters += '/'\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t// {\n\t\t\tcase 123 * variable:\n\t\t\t\tpoints[index++] = strlen(characters) * ampersand\n\t\t\t// } ; \\0\n\t\t\tcase 125 * variable: case 59: case 0:\n\t\t\t\tswitch (character) {\n\t\t\t\t\t// \\0 }\n\t\t\t\t\tcase 0: case 125: scanning = 0\n\t\t\t\t\t// ;\n\t\t\t\t\tcase 59 + offset: if (ampersand == -1) characters = replace(characters, /\\f/g, '')\n\t\t\t\t\t\tif (property > 0 && (strlen(characters) - length))\n\t\t\t\t\t\t\tappend(property > 32 ? declaration(characters + ';', rule, parent, length - 1, declarations) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2, declarations), declarations)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @ ;\n\t\t\t\t\tcase 59: characters += ';'\n\t\t\t\t\t// { rule/at-rule\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tappend(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length, rulesets), rulesets)\n\n\t\t\t\t\t\tif (character === 123)\n\t\t\t\t\t\t\tif (offset === 0)\n\t\t\t\t\t\t\t\tparse(characters, root, reference, reference, props, rulesets, length, points, children)\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\tswitch (atrule === 99 && charat(characters, 3) === 110 ? 100 : atrule) {\n\t\t\t\t\t\t\t\t\t// d l m s\n\t\t\t\t\t\t\t\t\tcase 100: case 108: case 109: case 115:\n\t\t\t\t\t\t\t\t\t\tparse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length, children), children), rules, children, length, points, rule ? props : children)\n\t\t\t\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\t\tparse(characters, reference, reference, reference, [''], children, 0, points, children)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tindex = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo\n\t\t\t\tbreak\n\t\t\t// :\n\t\t\tcase 58:\n\t\t\t\tlength = 1 + strlen(characters), property = previous\n\t\t\tdefault:\n\t\t\t\tif (variable < 1)\n\t\t\t\t\tif (character == 123)\n\t\t\t\t\t\t--variable\n\t\t\t\t\telse if (character == 125 && variable++ == 0 && prev() == 125)\n\t\t\t\t\t\tcontinue\n\n\t\t\t\tswitch (characters += from(character), character * variable) {\n\t\t\t\t\t// &\n\t\t\t\t\tcase 38:\n\t\t\t\t\t\tampersand = offset > 0 ? 1 : (characters += '\\f', -1)\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// ,\n\t\t\t\t\tcase 44:\n\t\t\t\t\t\tpoints[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// @\n\t\t\t\t\tcase 64:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (peek() === 45)\n\t\t\t\t\t\t\tcharacters += delimit(next())\n\n\t\t\t\t\t\tatrule = peek(), offset = length = strlen(type = characters += identifier(caret())), character++\n\t\t\t\t\t\tbreak\n\t\t\t\t\t// -\n\t\t\t\t\tcase 45:\n\t\t\t\t\t\tif (previous === 45 && strlen(characters) == 2)\n\t\t\t\t\t\t\tvariable = 0\n\t\t\t\t}\n\t\t}\n\n\treturn rulesets\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} index\n * @param {number} offset\n * @param {string[]} rules\n * @param {number[]} points\n * @param {string} type\n * @param {string[]} props\n * @param {string[]} children\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function ruleset (value, root, parent, index, offset, rules, points, type, props, children, length, siblings) {\n\tvar post = offset - 1\n\tvar rule = offset === 0 ? rules : ['']\n\tvar size = sizeof(rule)\n\n\tfor (var i = 0, j = 0, k = 0; i < index; ++i)\n\t\tfor (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)\n\t\t\tif (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\\f/g, rule[x])))\n\t\t\t\tprops[k++] = z\n\n\treturn node(value, root, parent, offset === 0 ? RULESET : type, props, children, length, siblings)\n}\n\n/**\n * @param {number} value\n * @param {object} root\n * @param {object?} parent\n * @param {object[]} siblings\n * @return {object}\n */\nexport function comment (value, root, parent, siblings) {\n\treturn node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0, siblings)\n}\n\n/**\n * @param {string} value\n * @param {object} root\n * @param {object?} parent\n * @param {number} length\n * @param {object[]} siblings\n * @return {object}\n */\nexport function declaration (value, root, parent, length, siblings) {\n\treturn node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length, siblings)\n}\n","import {MS, MOZ, WEBKIT} from './Enum.js'\nimport {hash, charat, strlen, indexof, replace, substr, match} from './Utility.js'\n\n/**\n * @param {string} value\n * @param {number} length\n * @param {object[]} children\n * @return {string}\n */\nexport function prefix (value, length, children) {\n\tswitch (hash(value, length)) {\n\t\t// color-adjust\n\t\tcase 5103:\n\t\t\treturn WEBKIT + 'print-' + value + value\n\t\t// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)\n\t\tcase 5737: case 4201: case 3177: case 3433: case 1641: case 4457: case 2921:\n\t\t// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break\n\t\tcase 5572: case 6356: case 5844: case 3191: case 6645: case 3005:\n\t\t// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,\n\t\tcase 6391: case 5879: case 5623: case 6135: case 4599: case 4855:\n\t\t// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)\n\t\tcase 4215: case 6389: case 5109: case 5365: case 5621: case 3829:\n\t\t\treturn WEBKIT + value + value\n\t\t// tab-size\n\t\tcase 4789:\n\t\t\treturn MOZ + value + value\n\t\t// appearance, user-select, transform, hyphens, text-size-adjust\n\t\tcase 5349: case 4246: case 4810: case 6968: case 2756:\n\t\t\treturn WEBKIT + value + MOZ + value + MS + value + value\n\t\t// writing-mode\n\t\tcase 5936:\n\t\t\tswitch (charat(value, length + 11)) {\n\t\t\t\t// vertical-l(r)\n\t\t\t\tcase 114:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb') + value\n\t\t\t\t// vertical-r(l)\n\t\t\t\tcase 108:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'tb-rl') + value\n\t\t\t\t// horizontal(-)tb\n\t\t\t\tcase 45:\n\t\t\t\t\treturn WEBKIT + value + MS + replace(value, /[svh]\\w+-[tblr]{2}/, 'lr') + value\n\t\t\t\t// default: fallthrough to below\n\t\t\t}\n\t\t// flex, flex-direction, scroll-snap-type, writing-mode\n\t\tcase 6828: case 4268: case 2903:\n\t\t\treturn WEBKIT + value + MS + value + value\n\t\t// order\n\t\tcase 6165:\n\t\t\treturn WEBKIT + value + MS + 'flex-' + value + value\n\t\t// align-items\n\t\tcase 5187:\n\t\t\treturn WEBKIT + value + replace(value, /(\\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value\n\t\t// align-self\n\t\tcase 5443:\n\t\t\treturn WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/g, '') + (!match(value, /flex-|baseline/) ? MS + 'grid-row-' + replace(value, /flex-|-self/g, '') : '') + value\n\t\t// align-content\n\t\tcase 4675:\n\t\t\treturn WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/g, '') + value\n\t\t// flex-shrink\n\t\tcase 5548:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value\n\t\t// flex-basis\n\t\tcase 5292:\n\t\t\treturn WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value\n\t\t// flex-grow\n\t\tcase 6060:\n\t\t\treturn WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value\n\t\t// transition\n\t\tcase 4554:\n\t\t\treturn WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value\n\t\t// cursor\n\t\tcase 6187:\n\t\t\treturn replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value\n\t\t// background, background-image\n\t\tcase 5495: case 3959:\n\t\t\treturn replace(value, /(image-set\\([^]*)/, WEBKIT + '$1' + '$`$1')\n\t\t// justify-content\n\t\tcase 4968:\n\t\t\treturn replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value\n\t\t// justify-self\n\t\tcase 4200:\n\t\t\tif (!match(value, /flex-|baseline/)) return MS + 'grid-column-align' + substr(value, length) + value\n\t\t\tbreak\n\t\t// grid-template-(columns|rows)\n\t\tcase 2592: case 3360:\n\t\t\treturn MS + replace(value, 'template-', '') + value\n\t\t// grid-(row|column)-start\n\t\tcase 4384: case 3616:\n\t\t\tif (children && children.some(function (element, index) { return length = index, match(element.props, /grid-\\w+-end/) })) {\n\t\t\t\treturn ~indexof(value + (children = children[length].value), 'span', 0) ? value : (MS + replace(value, '-start', '') + value + MS + 'grid-row-span:' + (~indexof(children, 'span', 0) ? match(children, /\\d+/) : +match(children, /\\d+/) - +match(value, /\\d+/)) + ';')\n\t\t\t}\n\t\t\treturn MS + replace(value, '-start', '') + value\n\t\t// grid-(row|column)-end\n\t\tcase 4896: case 4128:\n\t\t\treturn (children && children.some(function (element) { return match(element.props, /grid-\\w+-start/) })) ? value : MS + replace(replace(value, '-end', '-span'), 'span ', '') + value\n\t\t// (margin|padding)-inline-(start|end)\n\t\tcase 4095: case 3583: case 4068: case 2532:\n\t\t\treturn replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value\n\t\t// (min|max)?(width|height|inline-size|block-size)\n\t\tcase 8116: case 7059: case 5753: case 5535:\n\t\tcase 5445: case 5701: case 4933: case 4677:\n\t\tcase 5533: case 5789: case 5021: case 4765:\n\t\t\t// stretch, max-content, min-content, fill-available\n\t\t\tif (strlen(value) - 1 - length > 6)\n\t\t\t\tswitch (charat(value, length + 1)) {\n\t\t\t\t\t// (m)ax-content, (m)in-content\n\t\t\t\t\tcase 109:\n\t\t\t\t\t\t// -\n\t\t\t\t\t\tif (charat(value, length + 4) !== 45)\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t// (f)ill-available, (f)it-content\n\t\t\t\t\tcase 102:\n\t\t\t\t\t\treturn replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value\n\t\t\t\t\t// (s)tretch\n\t\t\t\t\tcase 115:\n\t\t\t\t\t\treturn ~indexof(value, 'stretch', 0) ? prefix(replace(value, 'stretch', 'fill-available'), length, children) + value : value\n\t\t\t\t}\n\t\t\tbreak\n\t\t// grid-(column|row)\n\t\tcase 5152: case 5920:\n\t\t\treturn replace(value, /(.+?):(\\d+)(\\s*\\/\\s*(span)?\\s*(\\d+))?(.*)/, function (_, a, b, c, d, e, f) { return (MS + a + ':' + b + f) + (c ? (MS + a + '-span:' + (d ? e : +e - +b)) + f : '') + value })\n\t\t// position: sticky\n\t\tcase 4949:\n\t\t\t// stick(y)?\n\t\t\tif (charat(value, length + 6) === 121)\n\t\t\t\treturn replace(value, ':', ':' + WEBKIT) + value\n\t\t\tbreak\n\t\t// display: (flex|inline-flex|grid|inline-grid)\n\t\tcase 6444:\n\t\t\tswitch (charat(value, charat(value, 14) === 45 ? 18 : 11)) {\n\t\t\t\t// (inline-)?fle(x)\n\t\t\t\tcase 120:\n\t\t\t\t\treturn replace(value, /(.+:)([^;\\s!]+)(;|(\\s+)?!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value\n\t\t\t\t// (inline-)?gri(d)\n\t\t\t\tcase 100:\n\t\t\t\t\treturn replace(value, ':', ':' + MS) + value\n\t\t\t}\n\t\t\tbreak\n\t\t// scroll-margin, scroll-margin-(top|right|bottom|left)\n\t\tcase 5719: case 2647: case 2135: case 3927: case 2391:\n\t\t\treturn replace(value, 'scroll-', 'scroll-snap-') + value\n\t}\n\n\treturn value\n}\n","import {IMPORT, LAYER, COMMENT, RULESET, DECLARATION, KEYFRAMES} from './Enum.js'\nimport {strlen} from './Utility.js'\n\n/**\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function serialize (children, callback) {\n\tvar output = ''\n\n\tfor (var i = 0; i < children.length; i++)\n\t\toutput += callback(children[i], i, children, callback) || ''\n\n\treturn output\n}\n\n/**\n * @param {object} element\n * @param {number} index\n * @param {object[]} children\n * @param {function} callback\n * @return {string}\n */\nexport function stringify (element, index, children, callback) {\n\tswitch (element.type) {\n\t\tcase LAYER: if (element.children.length) break\n\t\tcase IMPORT: case DECLARATION: return element.return = element.return || element.value\n\t\tcase COMMENT: return ''\n\t\tcase KEYFRAMES: return element.return = element.value + '{' + serialize(element.children, callback) + '}'\n\t\tcase RULESET: if (!strlen(element.value = element.props.join(','))) return ''\n\t}\n\n\treturn strlen(children = serialize(element.children, callback)) ? element.return = element.value + '{' + children + '}' : ''\n}\n","import {from, trim, charat, strlen, substr, append, assign} from './Utility.js'\n\nexport var line = 1\nexport var column = 1\nexport var length = 0\nexport var position = 0\nexport var character = 0\nexport var characters = ''\n\n/**\n * @param {string} value\n * @param {object | null} root\n * @param {object | null} parent\n * @param {string} type\n * @param {string[] | string} props\n * @param {object[] | string} children\n * @param {object[]} siblings\n * @param {number} length\n */\nexport function node (value, root, parent, type, props, children, length, siblings) {\n\treturn {value: value, root: root, parent: parent, type: type, props: props, children: children, line: line, column: column, length: length, return: '', siblings: siblings}\n}\n\n/**\n * @param {object} root\n * @param {object} props\n * @return {object}\n */\nexport function copy (root, props) {\n\treturn assign(node('', null, null, '', null, null, 0, root.siblings), root, {length: -root.length}, props)\n}\n\n/**\n * @param {object} root\n */\nexport function lift (root) {\n\twhile (root.root)\n\t\troot = copy(root.root, {children: [root]})\n\n\tappend(root, root.siblings)\n}\n\n/**\n * @return {number}\n */\nexport function char () {\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function prev () {\n\tcharacter = position > 0 ? charat(characters, --position) : 0\n\n\tif (column--, character === 10)\n\t\tcolumn = 1, line--\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function next () {\n\tcharacter = position < length ? charat(characters, position++) : 0\n\n\tif (column++, character === 10)\n\t\tcolumn = 1, line++\n\n\treturn character\n}\n\n/**\n * @return {number}\n */\nexport function peek () {\n\treturn charat(characters, position)\n}\n\n/**\n * @return {number}\n */\nexport function caret () {\n\treturn position\n}\n\n/**\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function slice (begin, end) {\n\treturn substr(characters, begin, end)\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function token (type) {\n\tswitch (type) {\n\t\t// \\0 \\t \\n \\r \\s whitespace token\n\t\tcase 0: case 9: case 10: case 13: case 32:\n\t\t\treturn 5\n\t\t// ! + , / > @ ~ isolate token\n\t\tcase 33: case 43: case 44: case 47: case 62: case 64: case 126:\n\t\t// ; { } breakpoint token\n\t\tcase 59: case 123: case 125:\n\t\t\treturn 4\n\t\t// : accompanied token\n\t\tcase 58:\n\t\t\treturn 3\n\t\t// \" ' ( [ opening delimit token\n\t\tcase 34: case 39: case 40: case 91:\n\t\t\treturn 2\n\t\t// ) ] closing delimit token\n\t\tcase 41: case 93:\n\t\t\treturn 1\n\t}\n\n\treturn 0\n}\n\n/**\n * @param {string} value\n * @return {any[]}\n */\nexport function alloc (value) {\n\treturn line = column = 1, length = strlen(characters = value), position = 0, []\n}\n\n/**\n * @param {any} value\n * @return {any}\n */\nexport function dealloc (value) {\n\treturn characters = '', value\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function delimit (type) {\n\treturn trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)))\n}\n\n/**\n * @param {string} value\n * @return {string[]}\n */\nexport function tokenize (value) {\n\treturn dealloc(tokenizer(alloc(value)))\n}\n\n/**\n * @param {number} type\n * @return {string}\n */\nexport function whitespace (type) {\n\twhile (character = peek())\n\t\tif (character < 33)\n\t\t\tnext()\n\t\telse\n\t\t\tbreak\n\n\treturn token(type) > 2 || token(character) > 3 ? '' : ' '\n}\n\n/**\n * @param {string[]} children\n * @return {string[]}\n */\nexport function tokenizer (children) {\n\twhile (next())\n\t\tswitch (token(character)) {\n\t\t\tcase 0: append(identifier(position - 1), children)\n\t\t\t\tbreak\n\t\t\tcase 2: append(delimit(character), children)\n\t\t\t\tbreak\n\t\t\tdefault: append(from(character), children)\n\t\t}\n\n\treturn children\n}\n\n/**\n * @param {number} index\n * @param {number} count\n * @return {string}\n */\nexport function escaping (index, count) {\n\twhile (--count && next())\n\t\t// not 0-9 A-F a-f\n\t\tif (character < 48 || character > 102 || (character > 57 && character < 65) || (character > 70 && character < 97))\n\t\t\tbreak\n\n\treturn slice(index, caret() + (count < 6 && peek() == 32 && next() == 32))\n}\n\n/**\n * @param {number} type\n * @return {number}\n */\nexport function delimiter (type) {\n\twhile (next())\n\t\tswitch (character) {\n\t\t\t// ] ) \" '\n\t\t\tcase type:\n\t\t\t\treturn position\n\t\t\t// \" '\n\t\t\tcase 34: case 39:\n\t\t\t\tif (type !== 34 && type !== 39)\n\t\t\t\t\tdelimiter(character)\n\t\t\t\tbreak\n\t\t\t// (\n\t\t\tcase 40:\n\t\t\t\tif (type === 41)\n\t\t\t\t\tdelimiter(type)\n\t\t\t\tbreak\n\t\t\t// \\\n\t\t\tcase 92:\n\t\t\t\tnext()\n\t\t\t\tbreak\n\t\t}\n\n\treturn position\n}\n\n/**\n * @param {number} type\n * @param {number} index\n * @return {number}\n */\nexport function commenter (type, index) {\n\twhile (next())\n\t\t// //\n\t\tif (type + character === 47 + 10)\n\t\t\tbreak\n\t\t// /*\n\t\telse if (type + character === 42 + 42 && peek() === 47)\n\t\t\tbreak\n\n\treturn '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next())\n}\n\n/**\n * @param {number} index\n * @return {string}\n */\nexport function identifier (index) {\n\twhile (!token(peek()))\n\t\tnext()\n\n\treturn slice(index, position)\n}\n","/**\n * @param {number}\n * @return {number}\n */\nexport var abs = Math.abs\n\n/**\n * @param {number}\n * @return {string}\n */\nexport var from = String.fromCharCode\n\n/**\n * @param {object}\n * @return {object}\n */\nexport var assign = Object.assign\n\n/**\n * @param {string} value\n * @param {number} length\n * @return {number}\n */\nexport function hash (value, length) {\n\treturn charat(value, 0) ^ 45 ? (((((((length << 2) ^ charat(value, 0)) << 2) ^ charat(value, 1)) << 2) ^ charat(value, 2)) << 2) ^ charat(value, 3) : 0\n}\n\n/**\n * @param {string} value\n * @return {string}\n */\nexport function trim (value) {\n\treturn value.trim()\n}\n\n/**\n * @param {string} value\n * @param {RegExp} pattern\n * @return {string?}\n */\nexport function match (value, pattern) {\n\treturn (value = pattern.exec(value)) ? value[0] : value\n}\n\n/**\n * @param {string} value\n * @param {(string|RegExp)} pattern\n * @param {string} replacement\n * @return {string}\n */\nexport function replace (value, pattern, replacement) {\n\treturn value.replace(pattern, replacement)\n}\n\n/**\n * @param {string} value\n * @param {string} search\n * @param {number} position\n * @return {number}\n */\nexport function indexof (value, search, position) {\n\treturn value.indexOf(search, position)\n}\n\n/**\n * @param {string} value\n * @param {number} index\n * @return {number}\n */\nexport function charat (value, index) {\n\treturn value.charCodeAt(index) | 0\n}\n\n/**\n * @param {string} value\n * @param {number} begin\n * @param {number} end\n * @return {string}\n */\nexport function substr (value, begin, end) {\n\treturn value.slice(begin, end)\n}\n\n/**\n * @param {string} value\n * @return {number}\n */\nexport function strlen (value) {\n\treturn value.length\n}\n\n/**\n * @param {any[]} value\n * @return {number}\n */\nexport function sizeof (value) {\n\treturn value.length\n}\n\n/**\n * @param {any} value\n * @param {any[]} array\n * @return {any}\n */\nexport function append (value, array) {\n\treturn array.push(value), value\n}\n\n/**\n * @param {string[]} array\n * @param {function} callback\n * @return {string}\n */\nexport function combine (array, callback) {\n\treturn array.map(callback).join('')\n}\n\n/**\n * @param {string[]} array\n * @param {RegExp} pattern\n * @return {string[]}\n */\nexport function filter (array, pattern) {\n\treturn array.filter(function (value) { return !match(value, pattern) })\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","import { useEffect, useState } from 'react';\nimport { sprintf, __ } from '@wordpress/i18n';\nimport { registerPaymentMethod } from '@woocommerce/blocks-registry';\nimport { decodeEntities } from '@wordpress/html-entities';\nimport { getSetting } from '@woocommerce/settings';\nimport { usePaymentInputs } from './hooks';\nimport { PaymentInputsWrapper, TermsCheckbox, AchForm, GiftForm } from './components';\nimport images from './images';\nimport { PAYMENT_STORE_KEY } from '@woocommerce/block-data';\nimport { subscribe, select, dispatch, use } from '@wordpress/data';\nimport { extensionCartUpdate } from '@woocommerce/blocks-checkout';\nimport styled from 'styled-components';\n\nconst settings = getSetting( 'wc_valorpay_data', {} );\nif ( settings && ! settings.is_not_blocked ) {\n\tdispatch( 'core/notices' ).createErrorNotice(\n\t\t__(\n\t\t\t'Valor Pay is disabled due to multiple payment failures.',\n\t\t\t'wc-valorpay'\n\t\t),\n\t\t{\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t}\n\t);\n}\nif ( settings && settings.card_type_allowed ) {\n\tlet noticeMsg = null;\n\tif ( 'debit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only debit card allowed', 'wc-valorpay' );\n\t}\n\tif ( 'credit' === settings.card_type_allowed ) {\n\t\tnoticeMsg = __( 'Only credit card allowed', 'wc-valorpay' );\n\t}\n\tif ( noticeMsg ) {\n\t\tdispatch( 'core/notices' ).createInfoNotice( noticeMsg, {\n\t\t\tcontext: 'wc/checkout/payments', // Display the notice in the payments context.\n\t\t} );\n\t}\n}\nsubscribe( function () {\n\tconst paymentMethodState = select( PAYMENT_STORE_KEY );\n\tconst chosenPaymentMethod = paymentMethodState.getActivePaymentMethod();\n\tconst savedPaymentMethods = paymentMethodState.getSavedPaymentMethods();\n\tconst selectedPaymentTokenId = +paymentMethodState.getActiveSavedToken();\n\tlet selectedCardType = '';\n\tif ( selectedPaymentTokenId ) {\n\t\tconst foundMethod = savedPaymentMethods.cc.find(\n\t\t\t( method ) =>\n\t\t\t\tmethod.tokenId === selectedPaymentTokenId &&\n\t\t\t\tmethod.method.gateway === 'wc_valorpay'\n\t\t);\n\t\tif ( foundMethod ) {\n\t\t\tselectedCardType = foundMethod.method.card_type;\n\t\t}\n\t}\n\n\textensionCartUpdate( {\n\t\tnamespace: 'wc-valorpay-fee-update',\n\t\tdata: {\n\t\t\taction_type: 'update_payment',\n\t\t\tpayment_method: chosenPaymentMethod,\n\t\t\tcard_type: selectedCardType,\n\t\t},\n\t} );\n}, PAYMENT_STORE_KEY );\n\nconst defaultLabel = __( 'Valor Pay', 'wc-valorpay' );\n\nconst label = decodeEntities( settings.title ) || defaultLabel;\n\n// Tab Button Styled Component\nconst TabButton = styled.button`\n \tflex: 1; // Ensures buttons take equal width\n\tpadding: 20px;\n\tbackground-color: transparent; // Ensure button background doesn't change\n\tcolor: inherit; // Use text color from the theme\n\tborder: none;\n\tcursor: pointer;\n\ttext-align: center;\n\tborder-bottom: ${props => (props.active ? '2px solid' : 'none')};\n \tborder-color: ${props => (props.active ? '#007BFF' : 'transparent')}; // Use theme-based color or default\n\t&:hover {\n\t\topacity: 0.8;\n\t}\n`;\n\n// Tab Container Styled Component\nconst TabContainer = styled.div`\n\tdisplay: flex;\n\twidth: 100%;\n\tpadding: 10px;\n`;\n\n// Tab Content Styled Component\nconst TabContent = styled.div`\n\tbackground-color: #f9f9f9;\n\tborder: 1px solid #ccc;\n\tborder-radius: 5px;\n\tmargin-top: 10px;\n\tpadding: 20px;\n`;\n\nconst Tabs = (props) => {\n\tconst [activeTab, setActiveTab] = useState(0);\n\n\tlet tabTitles = [ __('Card','wc-valorpay') ];\n\tlet tabContents = [ <CardForm {...props}/> ];\n\n\tif ( settings.is_ach_enable ) {\n\t\ttabTitles.push(__('ACH','wc-valorpay'));\n\t\ttabContents.push(<AchForm {...props}/>);\n\t}\n\tif ( settings.is_gift_card_enable ) {\n\t\ttabTitles.push(__('Gift Card','wc-valorpay'));\n\t\ttabContents.push(<GiftForm {...props}/>);\n\t}\n\n\treturn (\n\t<>\n\t\t<TabContainer>\n\t\t\t{tabTitles.map((title, index) => (\n\t\t\t\t<TabButton\n\t\t\t\t\tkey={index}\n\t\t\t\t\tactive={activeTab === index}\n\t\t\t\t\tonClick={() => setActiveTab(index)}\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t>\n\t\t\t\t\t{title}\n\t\t\t\t</TabButton>\n\t\t\t))}\n\t\t</TabContainer>\n\t\t<TabContent>\n\t\t\t{tabContents[activeTab]}\n\t\t</TabContent>\n\t</>\n\t);\n};\n\n/**\n * Content component\n */\nconst CardForm = ( props ) => {\n\tconst [ isFetchingCardType, setIsFetchingCardType ] = useState( false );\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [ 'cardNumber', 'expiryDate', 'cvc' ];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tif ( settings.is_enable_l2_l3 ) {\n\tpaymentFields.push( 'poNumber' );\n\t}\n\tconst {\n\t\tgetCardNumberProps,\n\t\tgetExpiryDateProps,\n\t\tgetCVCProps,\n\t\tgetCardImageProps,\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\tgetPONumberProps, \n\t\twrapperProps,\n\t\tmeta: {\n\t\t\terroredInputs,\n\t\t\tisTouched,\n\t\t\tcardNumberField,\n\t\t\texpiryDateField,\n\t\t\tcvcField,\n\t\t\tzipField,\n\t\t\taddressField,\n\t\t\tpoNumberField, \n\t\t},\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tsetIsFetchingCardType,\n\t\tpaymentFields: paymentFields,\n\t\tpaymentFields: paymentFields.concat(['poNumber']),\n\t} );\n\tconst {\n\t\tcomponents: { LoadingMask },\n\t\teventRegistration,\n\t\temitResponse,\n\t\tpaymentStatus,\n\t} = props;\n\tconst [ isTermsChecked, setIsTermsChecked ] = useState( true );\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst handleCheckboxChange = () => {\n\t\tsetIsTermsChecked((prev) => !prev);\n\t};\n\tuseEffect(() => {\n\t\textensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } );\n\t}, []);\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc_valorpay-card-number': cardNumberField.current.value,\n\t\t\t\t\t'wc_valorpay-card-expiry': expiryDateField.current.value,\n\t\t\t\t\t'wc_valorpay-card-cvc': cvcField.current.value,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif ( settings.is_enable_l2_l3 ) {\n\t\t\t\t\tpaymentMethodData.valorpay_po_number = poNumberField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\tonCheckoutAfterProcessingWithError,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.is_sandbox_mode && (\n\t\t\t\t<p>\n\t\t\t\t\t{ __(\n\t\t\t\t\t\t'TEST MODE ENABLED. Use test card number 4111111111111111 with 999 as CVC and a future expiration date.',\n\t\t\t\t\t\t'wc-valorpay'\n\t\t\t\t\t) }\n\t\t\t\t</p>\n\t\t\t) }\n\t\t\t<LoadingMask\n\t\t\t\tshowSpinner={ isFetchingCardType }\n\t\t\t\tisLoading={ isFetchingCardType }\n\t\t\t\tscreenReaderLabel={ __(\n\t\t\t\t\t'Fetching Card Type...',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t) }\n\t\t\t>\n\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t>\n\t\t\t\t\t<svg { ...getCardImageProps( { images } ) } />\n\t\t\t\t\t<input { ...getCardNumberProps() } />\n\t\t\t\t\t<input { ...getExpiryDateProps() } />\n\t\t\t\t\t<input { ...getCVCProps() } />\n\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t) }\n\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t) }\n\t\t\t\t\t{ settings.is_enable_l2_l3 && ( \n\t\t\t\t\t<input { ...getPONumberProps() } />\n\t\t\t\t\t) }\n\t\t\t\t</PaymentInputsWrapper>\n\t\t\t</LoadingMask>\n\t\t\t{settings.is_terms_conditions_enable && <TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-new-card\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ handleCheckboxChange }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>}\n\t\t</>\n\t);\n};\n\nconst SavedToken = ( props ) => {\n\tconst [ isInitPay, setIsInitPay ] = useState( false );\n\tlet paymentFields = [];\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'zip'\n\t) {\n\t\tpaymentFields.push( 'zip' );\n\t}\n\tif (\n\t\tsettings.avs_type === 'zipandaddress' ||\n\t\tsettings.avs_type === 'address'\n\t) {\n\t\tpaymentFields.push( 'streetaddress' );\n\t}\n\tif ( settings.is_enable_l2_l3 ) {\n\t\tpaymentFields.push( 'poNumber' );\n\t}\n\tconst {\n\t\tgetZIPProps,\n\t\tgetStreetAddressProps,\n\t\tgetPONumberProps,\n\t\twrapperProps,\n\t\tmeta: { erroredInputs, zipField, addressField, poNumberField },\n\t} = usePaymentInputs( {\n\t\tavsType: settings.avs_type,\n\t\tpaymentFields: paymentFields,\n\t} );\n\tconst { eventRegistration, emitResponse, paymentStatus, token } = props;\n\tconst { onPaymentSetup, onCheckoutAfterProcessingWithError } =\n\t\teventRegistration;\n\tconst [ isTermsChecked, setIsTermsChecked ] = useState( true );\n\tconst handleCheckboxChange = () => {\n\t\tsetIsTermsChecked((prev) => !prev);\n\t};\n\tuseEffect(() => {\n\t\textensionCartUpdate( {\n namespace: 'wc-valorpay-fee-update',\n data: {\n action_type: 'update_payment_type',\n payment_type: \"\",\n },\n } );\n\t}, []);\n\tuseEffect( () => {\n\t\tconst unsubscribe = onPaymentSetup( async () => {\n\t\t\tlet isValid = true;\n\t\t\tfor ( let errorInput in erroredInputs ) {\n\t\t\t\tif ( erroredInputs[ errorInput ] ) {\n\t\t\t\t\tisValid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( isValid ) {\n\t\t\t\tlet paymentMethodData = {\n\t\t\t\t\t'wc-wc_valorpay-payment-token': token,\n\t\t\t\t\tvalorpay_avs_type: settings.avs_type,\n\t\t\t\t\tvalorpay_terms: isTermsChecked,\n\t\t\t\t};\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'zip'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_zip = zipField.current.value;\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsettings.avs_type === 'zipandaddress' ||\n\t\t\t\t\tsettings.avs_type === 'address'\n\t\t\t\t) {\n\t\t\t\t\tpaymentMethodData.valorpay_avs_street =\n\t\t\t\t\t\taddressField.current.value;\n\t\t\t\t}\n\t\t\t\tif ( settings.is_enable_l2_l3 ) {\n\t\t\t\t\tpaymentMethodData.valorpay_po_number = poNumberField.current.value;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\ttype: emitResponse.responseTypes.SUCCESS,\n\t\t\t\t\tmeta: {\n\t\t\t\t\t\tpaymentMethodData: {\n\t\t\t\t\t\t\t...paymentMethodData,\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t}\n\t\t\tsetIsInitPay( true );\n\t\t\treturn {\n\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\tmessage: __(\n\t\t\t\t\t'Please provide payment information',\n\t\t\t\t\t'wc-valorpay'\n\t\t\t\t),\n\t\t\t};\n\t\t} );\n\t\tconst unsubscribeErrorMsg = onCheckoutAfterProcessingWithError(\n\t\t\t( { processingResponse } ) => {\n\t\t\t\tif ( processingResponse?.paymentDetails?.errorMessage ) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttype: emitResponse.responseTypes.ERROR,\n\t\t\t\t\t\tmessage: processingResponse.paymentDetails.errorMessage,\n\t\t\t\t\t\tmessageContext: emitResponse.noticeContexts.PAYMENTS,\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// so we don't break the observers.\n\t\t\t\treturn true;\n\t\t\t}\n\t\t);\n\t\t// Unsubscribes when this component is unmounted.\n\t\treturn () => {\n\t\t\tunsubscribe();\n\t\t\tunsubscribeErrorMsg();\n\t\t};\n\t}, [\n\t\temitResponse.responseTypes.ERROR,\n\t\temitResponse.responseTypes.SUCCESS,\n\t\tonPaymentSetup,\n\t\terroredInputs,\n\t\ttoken,\n\t] );\n\treturn (\n\t\t<>\n\t\t\t{ settings.avs_type !== 'none' && (\n\t\t\t\t<>\n\t\t\t\t\t<PaymentInputsWrapper\n\t\t\t\t\t\t{ ...wrapperProps }\n\t\t\t\t\t\tisInitPay={ isInitPay }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'zip' ) && (\n\t\t\t\t\t\t\t<input { ...getZIPProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t{ ( settings.avs_type === 'zipandaddress' ||\n\t\t\t\t\t\t\tsettings.avs_type === 'address' ) && (\n\t\t\t\t\t\t\t<input { ...getStreetAddressProps() } />\n\t\t\t\t\t\t) }\n\t\t\t\t\t\t{ settings.is_enable_l2_l3 && (\n\t\t\t\t\t\t<input {...getPONumberProps()} />\n\t\t\t\t\t)}\n\t\t\t\t\t</PaymentInputsWrapper>\n\t\t\t\t</>\n\t\t\t) }\n\t\t\t{settings.is_terms_conditions_enable && <TermsCheckbox\n\t\t\t\tid=\"valorpay-terms-saved-token\"\n\t\t\t\tchecked={ isTermsChecked }\n\t\t\t\tonChange={ handleCheckboxChange }\n\t\t\t\tlabel={\n\t\t\t\t\t<span\n\t\t\t\t\t\tdangerouslySetInnerHTML={ {\n\t\t\t\t\t\t\t__html: settings.terms_label,\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t}\n\t\t\t/>}\n\t\t</>\n\t);\n};\n\n/**\n * Label component\n *\n * @param {*} props Props from payment API.\n */\nconst Label = ( props ) => {\n\tconst { PaymentMethodLabel, PaymentMethodIcons } = props.components;\n\treturn (\n\t\t<>\n\t\t\t<PaymentMethodLabel text={ label } />\n\t\t\t<PaymentMethodIcons icons={ settings.card_types } align=\"right\" />\n\t\t</>\n\t);\n};\n\nconst Content = (props ) => {\n\tif ( !settings.is_ach_enable && !settings.is_gift_card_enable ) {\n\t\treturn <CardForm {...props} />\n\t}\n\treturn <Tabs {...props} />\n}\n\n/**\n * ValorPay payment method config object.\n */\nconst ValorPay = {\n\tname: 'wc_valorpay',\n\tlabel: <Label />,\n\tgatewayId: 'wc_valorpay',\n\tcontent: <Content />,\n\tedit: <Content />,\n\tcanMakePayment: () => settings.is_not_blocked,\n\tsavedTokenComponent: <SavedToken />,\n\tariaLabel: label,\n\tsupports: {\n\t\tfeatures: settings.supports,\n\t\tshowSaveOption: settings.is_save_to_account_enable,\n\t},\n};\n\nregisterPaymentMethod( ValorPay );"],"names":["useEffect","useState","TextInput","__","styled","extensionCartUpdate","Select","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","AchGroup","div","AchForm","props","eventRegistration","emitResponse","paymentStatus","onPaymentSetup","onCheckoutAfterProcessingWithError","accountNumber","setAccountNumber","accountNumberError","setAccountNumberError","routingNumber","setRoutingNumber","routingNumberError","setRoutingNumberError","nameOnAccount","setNameOnAccount","nameOnAccountError","setNameOnAccountError","accountType","setAccountType","entryClass","setEntryClass","txnType","setTxnType","phoneNumber","setPhoneNumber","phoneNumberError","setPhoneNumberError","email","setEmail","emailError","setEmailError","elements","document","querySelectorAll","filteredElements","Array","from","filter","element","index","array","parentElement","length","style","display","namespace","data","action_type","payment_type","unsubscribe","isInValidForm","type","responseTypes","ERROR","message","SUCCESS","meta","paymentMethodData","wc_valorpay_ach_sale","wc_valorpay_account_number","wc_valorpay_routing_number","wc_valorpay_name_on_account","wc_valorpay_account_type","wc_valorpay_entry_class","wc_valorpay_card_type","wc_valorpay_phone","replace","wc_valorpay_email","unsubscribeErrorMsg","processingResponse","paymentDetails","errorMessage","messageContext","noticeContexts","PAYMENTS","handleAccountNumberChange","value","test","handleAccountNumberBlur","event","handleRoutingNumberChange","handleRoutingNumberBlur","handleNameOnAccountChange","handleNameOnAccountBlur","handlePhoneNumberChange","numericValue","formattedValue","previousVal","slice","handlePhoneNumberBlur","formattedPhoneNumber","handleEmailChange","handleEmailBlur","emailRegex","handleAccountTypeChange","target","handleEntryClassChange","handleTxnTypeChange","children","id","label","feedback","className","required","onChange","onBlur","options","selectOnChange","GiftForm","cardNumber","setCardNumber","pinNumber","setPinNumber","giftCardNumberError","setGiftCardNumberError","wc_valorpay_gift_sale","wc_valorpay_gift_card_no","replaceAll","wc_valorpay_gift_card_pin","handleGiftCardNumberChange","newCardNumber","counter","n","handleGiftCardNumberBlur","handleGiftPinChange","usePaymentInputs","PaymentInputsContainer","paymentInputs","React","css","FieldWrapper","withConfig","shouldForwardProp","prop","includes","hasErrored","styles","fieldWrapper","errored","undefined","base","InputWrapper","inputWrapper","focused","input","cardImage","ErrorText","errorText","PaymentInputsWrapper","error","errorTextProps","inputWrapperProps","isTouched","isInitPay","restProps","useId","Icon","chevronDown","restOfProps","generatedId","inputId","htmlFor","size","map","option","disabled","icon","TermsCheckbox","checked","xmlns","viewBox","d","class","default","utils","autoFocus","errorMessages","onError","onTouch","cardNumberValidator","cvcValidator","expiryValidator","avsType","setIsFetchingCardType","paymentFields","cardNumberField","useRef","expiryDateField","cvcField","zipField","addressField","poNumberField","touchedInputs","setTouchedInputs","reduce","acc","field","setIsTouched","erroredInputs","setErroredInputs","setError","cardType","setCardType","setFocused","setInputError","useCallback","newError","newErroredInputs","Object","values","find","Boolean","setInputTouched","requestAnimationFrame","activeElement","tagName","newTouchedInputs","handleBlurCardNumber","e","handleChangeCardNumber","formattedCardNumber","cursorPosition","current","selectionStart","cardTypes","getCardTypeByValue","formatter","formatCardNumber","setSelectionRange","cardNumberError","validator","getCardNumberError","focus","bin","then","handleFocusCardNumber","onFocus","handleKeyPressCardNumber","onKeyPress","key","ENTER_KEY_CODE","isNumeric","preventDefault","hasCardNumberReachedMaxLength","getCardNumberProps","refKey","autoComplete","name","placeholder","handleBlurExpiryDate","handleChangeExpiryDate","formatExpiry","expiryDateError","getExpiryDateError","handleFocusExpiryDate","handleKeyDownExpiryDate","onKeyDown","BACKSPACE_KEY_CODE","handleKeyPressExpiryDate","formattedExpiryDate","expiryDate","getExpiryDateProps","handleBlurCVC","handleChangeCVC","cvc","cvcError","getCVCError","handleFocusCVC","handleKeyDownCVC","handleKeyPressCVC","formattedCVC","code","getCVCProps","handleBlurZIP","handleChangeZIP","zip","zipError","getZIPError","handleFocusZIP","handleKeyDownZIP","handleKeyPressZIP","getZIPProps","maxLength","handleBlurAddress","handleChangeAddress","streetaddress","addressError","getAddressError","handleFocusAddress","handleKeyDownAddress","getStreetAddressProps","handleBlurPONumber","handleChangePONumber","poError","poNumber","handleFocusPONumber","getPONumberProps","getCardImageProps","images","displayName","width","height","useLayoutEffect","wrapperProps","fill","fillRule","rx","stroke","strokeWidth","transform","strokeOpacity","x","y","amex","dinersclub","discover","hipercard","jcb","unionpay","mastercard","visa","troy","cx","cy","r","DEFAULT_CVC_LENGTH","DEFAULT_ZIP_LENGTH","DEFAULT_CARD_FORMAT","CARD_TYPES","format","startPattern","gaps","lengths","getCardTypeByType","match","join","global","execResult","exec","split","splice","eventData","nativeEvent","prevExpiry","expiry","head","tail","month","year","isHighlighted","window","getSelection","MONTH_REGEX","EMPTY_CARD_NUMBER","EMPTY_EXPIRY_DATE","EMPTY_CVC","EMPTY_ZIP","EMPTY_ADDRESS","INVALID_CARD_NUMBER","INVALID_EXPIRY_DATE","INVALID_CVC","INVALID_ZIP","MONTH_OUT_OF_RANGE","YEAR_OUT_OF_RANGE","DATE_OUT_OF_RANGE","currentValue","validateLuhn","reverse","digit","parseInt","idx","accum","emptyCardNumber","rawCardNumber","doesCardNumberMatchLength","isLuhnValid","invalidCardNumber","emptyExpiryDate","rawExpiryDate","monthOutOfRange","Date","getFullYear","yearOutOfRange","getMonth","dateOutOfRange","invalidExpiryDate","emptyCVC","invalidCVC","emptyZIP","invalidAddress","address","emptyAddress","sprintf","registerPaymentMethod","decodeEntities","getSetting","PAYMENT_STORE_KEY","subscribe","select","dispatch","use","settings","is_not_blocked","createErrorNotice","context","card_type_allowed","noticeMsg","createInfoNotice","paymentMethodState","chosenPaymentMethod","getActivePaymentMethod","savedPaymentMethods","getSavedPaymentMethods","selectedPaymentTokenId","getActiveSavedToken","selectedCardType","foundMethod","cc","method","tokenId","gateway","card_type","payment_method","defaultLabel","title","TabButton","button","active","TabContainer","TabContent","Tabs","activeTab","setActiveTab","tabTitles","tabContents","CardForm","is_ach_enable","push","is_gift_card_enable","onClick","isFetchingCardType","setIsInitPay","avs_type","is_enable_l2_l3","concat","components","LoadingMask","isTermsChecked","setIsTermsChecked","handleCheckboxChange","prev","isValid","errorInput","valorpay_avs_type","valorpay_terms","valorpay_avs_zip","valorpay_po_number","valorpay_avs_street","is_sandbox_mode","showSpinner","isLoading","screenReaderLabel","is_terms_conditions_enable","dangerouslySetInnerHTML","__html","terms_label","SavedToken","token","Label","PaymentMethodLabel","PaymentMethodIcons","text","icons","card_types","align","Content","ValorPay","gatewayId","content","edit","canMakePayment","savedTokenComponent","ariaLabel","supports","features","showSaveOption","is_save_to_account_enable"],"sourceRoot":""} -
valorpos/trunk/wc-valorpay.php
r3325387 r3369470 16 16 * Plugin URI: https://valorpaytech.com 17 17 * Description: Adds the Valor Payment Gateway to WooCommerce. 18 * Version: 8.2. 318 * Version: 8.2.4 19 19 * Author: Valor Paytech LLC 20 20 * Author URI: https://valorpaytech.com … … 37 37 * Rename this for your plugin and update it as you release new versions. 38 38 */ 39 define( 'WC_VALORPAY_VERSION', '8.2. 3' );39 define( 'WC_VALORPAY_VERSION', '8.2.4' ); 40 40 // Directory i.e. /home/user/public_html... 41 41 define( 'WC_VALORPAY_DIR', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset
for help on using the changeset viewer.