@yuno-payments/dashboard-api-mfe 0.40.5-beta.1 → 0.40.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +4 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +10 -10
- package/build/cjs/types/mutations/accounts/accounts.mutation.d.ts +7 -7
- package/build/cjs/types/mutations/audit/audit.mutation.d.ts +1 -1
- package/build/cjs/types/mutations/checkouts/checkouts.mutation.d.ts +1 -1
- package/build/cjs/types/mutations/organization-settings/organization-settings.mutations.d.ts +2 -2
- package/build/cjs/types/mutations/payments/payments.mutation.d.ts +2 -2
- package/build/cjs/types/mutations/saml-config/saml-config.query.d.ts +3 -3
- package/build/cjs/types/mutations/settings/settings.mutation.d.ts +4 -4
- package/build/cjs/types/mutations/users/users.mutation.d.ts +6 -6
- package/build/cjs/types/queries/firebase/firebase.query.d.ts +1 -1
- package/build/cjs/types/types/checkout/checkout.d.ts +22 -0
- package/build/cjs/types/types/webhook/webhook.d.ts +0 -2
- package/build/esm/index.js +6 -6
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +10 -10
- package/build/esm/types/mutations/accounts/accounts.mutation.d.ts +7 -7
- package/build/esm/types/mutations/audit/audit.mutation.d.ts +1 -1
- package/build/esm/types/mutations/checkouts/checkouts.mutation.d.ts +1 -1
- package/build/esm/types/mutations/organization-settings/organization-settings.mutations.d.ts +2 -2
- package/build/esm/types/mutations/payments/payments.mutation.d.ts +2 -2
- package/build/esm/types/mutations/saml-config/saml-config.query.d.ts +3 -3
- package/build/esm/types/mutations/settings/settings.mutation.d.ts +4 -4
- package/build/esm/types/mutations/users/users.mutation.d.ts +6 -6
- package/build/esm/types/queries/firebase/firebase.query.d.ts +1 -1
- package/build/esm/types/types/checkout/checkout.d.ts +22 -0
- package/build/esm/types/types/webhook/webhook.d.ts +0 -2
- package/build/index.d.ts +59 -39
- package/package.json +1 -1
package/build/cjs/index.js
CHANGED
|
@@ -204,14 +204,14 @@ cookie/index.js:
|
|
|
204
204
|
* MIT Licensed
|
|
205
205
|
*)
|
|
206
206
|
*/
|
|
207
|
-
function Jo(e){const t=Qo.parse(e),n={};for(const e in t)void 0!==t[e]&&(n[e]=t[e]);return n}function Xo(){return Jo(document.cookie)}function Yo(e){const t=e.headers.get("cookie"),n=t?Jo(t):{},o=function(e){if("undefined"==typeof document||"undefined"==typeof location)return{};switch(e.credentials){case"same-origin":{const t=new URL(e.url);return location.origin===t.origin?Xo():{}}case"include":return Xo();default:return{}}}(e);for(const t in o)e.headers.append("cookie",Qo.serialize(t,o[t]));const a=pe.getCookiesSync(e.url),i=Object.fromEntries(a.map((e=>[e.key,e.value])));for(const t of a)e.headers.append("cookie",t.toString());return{...o,...i,...n}}var Zo=(e=>(e.HEAD="HEAD",e.GET="GET",e.POST="POST",e.PUT="PUT",e.PATCH="PATCH",e.OPTIONS="OPTIONS",e.DELETE="DELETE",e))(Zo||{});class ea extends C{constructor(e,t,n,o){super({info:{header:`${e} ${t}`,path:t,method:e},resolver:n,options:o}),this.checkRedundantQueryParameters()}checkRedundantQueryParameters(){const{method:e,path:t}=this.info;if(t instanceof RegExp)return;if(tn(t)===t)return;const n=function(e){return new URL(`/${e}`,"http://localhost").searchParams}(t);n.forEach(((e,t)=>{})),w.warn(`Found a redundant usage of query parameters in the request handler URL for "${e} ${t}". Please match against a path instead and access query parameters using "new URL(request.url).searchParams" instead. Learn more: https://mswjs.io/docs/recipes/query-parameters`)}async parse(e){return{match:on(new URL(e.request.url),this.info.path,e.resolutionContext?.baseUrl),cookies:Yo(e.request)}}predicate(e){const t=this.matchMethod(e.request.method),n=e.parsedResult.match.matches;return t&&n}matchMethod(e){return this.info.method instanceof RegExp?this.info.method.test(e):(t=this.info.method,n=e,t.toLowerCase()===n.toLowerCase());var t,n}extendResolverArgs(e){return{params:e.parsedResult.match?.params||{},cookies:e.parsedResult.cookies}}async log(e){const t=S(e.request.url),n=await async function(e){const t=e.clone(),n=await t.text();return{url:new URL(e.url),method:e.method,headers:Object.fromEntries(e.headers.entries()),body:n}}(e.request),o=await async function(e){const t=e.clone(),n=await t.text(),o=t.status||200;return{status:o,statusText:t.statusText||Fo[o]||"OK",headers:Object.fromEntries(t.headers.entries()),body:n}}(e.response),a=(i=o.status)<300?"#69AB32":i<400?"#F0BB4B":"#E95F5D";var i;console.groupCollapsed(w.formatMessage(`${rn()} ${e.request.method} ${t} (%c${o.status} ${o.statusText}%c)`),`color:${a}`,"color:inherit"),console.log("Request",n),console.log("Handler:",this),console.log("Response",o),console.groupEnd()}}function ta(e){return(t,n,o={})=>new ea(e,t,n,o)}const na={all:ta(/.+/),head:ta(Zo.HEAD),get:ta(Zo.GET),post:ta(Zo.POST),put:ta(Zo.PUT),delete:ta(Zo.DELETE),patch:ta(Zo.PATCH),options:ta(Zo.OPTIONS)},oa=Symbol("bodyType");class aa extends Kt{[oa]=null;constructor(e,t){const n=Ke(t);super(e,n),function(e,t){t.type&&Object.defineProperty(e,"type",{value:t.type,enumerable:!0,writable:!1});const n=t.headers.get("set-cookie");if(n&&(Object.defineProperty(e,He,{value:n,enumerable:!1,writable:!1}),"undefined"!=typeof document)){const e=We.prototype.getSetCookie.call(t.headers);for(const t of e)document.cookie=t}}(this,n)}static text(e,t){const n=Ke(t);return n.headers.has("Content-Type")||n.headers.set("Content-Type","text/plain"),n.headers.has("Content-Length")||n.headers.set("Content-Length",e?new Blob([e]).size.toString():"0"),new aa(e,n)}static json(e,t){const n=Ke(t);n.headers.has("Content-Type")||n.headers.set("Content-Type","application/json");const o=JSON.stringify(e);return n.headers.has("Content-Length")||n.headers.set("Content-Length",o?new Blob([o]).size.toString():"0"),new aa(o,n)}static xml(e,t){const n=Ke(t);return n.headers.has("Content-Type")||n.headers.set("Content-Type","text/xml"),new aa(e,n)}static html(e,t){const n=Ke(t);return n.headers.has("Content-Type")||n.headers.set("Content-Type","text/html"),new aa(e,n)}static arrayBuffer(e,t){const n=Ke(t);return n.headers.has("Content-Type")||n.headers.set("Content-Type","application/octet-stream"),e&&!n.headers.has("Content-Length")&&n.headers.set("Content-Length",e.byteLength.toString()),new aa(e,n)}static formData(e,t){return new aa(e,Ke(t))}}k("undefined"!=typeof URL,w.formatMessage('Global "URL" class is not defined. This likely means that you\'re running MSW in an environment that doesn\'t support all Node.js standard API (e.g. React Native). If that\'s the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".'));var ia,ra={content:[{test_credential:!0,organization_code:"de2844c3-30c7-461b-8422-a880998646a8",account_code:"8c9701a1-4290-4941-a48f-760b16c16c73",id:83146,code:"a6d708a9-0227-44eb-a044-0738b644d0fb",order_id:"1739814014074",status:"ERROR",sub_status:"ERROR",amount_value:300,currency_code:"MXN",created_at:"2025-02-17T17:40:46.747839Z",updated_at:"2025-02-17T17:40:48.555749Z",captured:0,refunded:0,country:"MX",customer_code:"6c6c8223-0f63-4f17-979c-024839ea7366",description:"test description",subscription_id:"",condition_set_id:17491,payment_type:"",transaction_payment:[{code:"5d1558b0-4e6a-4268-a543-7b713b1de986",provider_id:"DLOCAL",payment_method_type:"CARD",parent_payment_method_type:null}],customer_payer:[{customer_payer_id:82453,payment_id:83146,document_number:"IESF960301230",email:"rizinuta@fijwam.eg"}],card_transaction:[{card_transaction_id:19733,transaction_id:83459,three_ds_electronic_commerce_indicator:null,three_ds_transaction_id:null,bin:"41111111",brand:"VISA",installments:1,network_token:null}],bnpl_transaction:[]},{test_credential:!1,organization_code:"de2844c3-30c7-461b-8422-a880998646a8",account_code:"8c9701a1-4290-4941-a48f-760b16c16c73",id:83145,code:"240622a6-654d-44de-ae61-b718afeeb78f",order_id:"1739813914789",status:"ERROR",sub_status:"ERROR",amount_value:300,currency_code:"MXN",created_at:"2025-02-17T17:39:04.220012Z",updated_at:"2025-02-17T17:39:05.658776Z",captured:0,refunded:0,country:"MX",customer_code:"46f88791-1c4b-40cb-b0b6-889a87529775",description:"test description",subscription_id:"",condition_set_id:17491,payment_type:"",transaction_payment:[{code:"2e1180e4-4a2a-4f63-ab7a-25e2ec07314a",provider_id:"DLOCAL",payment_method_type:"CARD",parent_payment_method_type:null}],customer_payer:[{customer_payer_id:82452,payment_id:83145,document_number:"GOOT991014HASNLT07",email:"beisguw@obi.cv"}],card_transaction:[{card_transaction_id:19732,transaction_id:83458,three_ds_electronic_commerce_indicator:null,three_ds_transaction_id:null,bin:"41111111",brand:"VISA",installments:1,network_token:null}],bnpl_transaction:[]},{organization_code:"de2844c3-30c7-461b-8422-a880998646a8",account_code:"8c9701a1-4290-4941-a48f-760b16c16c73",id:83144,code:"98855a76-4a79-4d2e-9a0a-876a1541a95e",order_id:"2222T",status:"ERROR",sub_status:"ERROR",amount_value:250,currency_code:"MXN",created_at:"2025-02-17T17:38:17.243160Z",updated_at:"2025-02-17T17:38:18.866741Z",captured:0,refunded:0,country:"MX",customer_code:"4aa110f9-4f85-4351-92e8-7513338bfc00",description:"SUCCEEDED",subscription_id:"",condition_set_id:17491,payment_type:"",transaction_payment:[{code:"250e2c9c-b178-4762-9364-9037a8ed99a6",provider_id:"DLOCAL",payment_method_type:"CARD",parent_payment_method_type:null}],customer_payer:[{customer_payer_id:82451,payment_id:83144,document_number:"9999999999",email:"tito.gonzalez@y.uno"}],card_transaction:[{card_transaction_id:19731,transaction_id:83457,three_ds_electronic_commerce_indicator:null,three_ds_transaction_id:null,bin:"41111111",brand:"VISA",installments:1,network_token:null}],bnpl_transaction:[]}],last_page:!0},sa={test_credential:!0,id:83146,code:"a6d708a9-0227-44eb-a044-0738b644d0fb",order_id:"1739814014074",customer_code:"6c6c8223-0f63-4f17-979c-024839ea7366",organization_customer_external_id:"1739814014074",checkout_session:"b6ac7dcf-d76e-4d94-a781-5c6642aac69b",status:"ERROR",amount_value:300,currency_code:"MXN",description:"test description",created_at:"2025-02-17T17:40:46.747839Z",updated_at:"2025-02-17T17:40:48.555749Z",organization_code:"de2844c3-30c7-461b-8422-a880998646a8",account_code:"8c9701a1-4290-4941-a48f-760b16c16c73",country:"MX",is_sdk_action_required:!1,idempotency_key:"29ebcc56-977d-44ee-aea0-6aa5fc1893d7",sub_status:"ERROR",workflow:"SDK_CHECKOUT",callback_url:"https://demo.dev.y.uno/testing/checkout/status?checkoutSession=b6ac7dcf-d76e-4d94-a781-5c6642aac69b",platform:"WEB",routing_flow_code:"06d778ad-1824-41c8-a80f-e65a8e2417ac",captured:0,refunded:0,account_integration_code:null,metadata:"[]",chargeback:0,in_dispute:0,checkout_url:null,payment_link_code:"",trace_id:"00df007e-5603-4173-87cf-336fe81429a4",version:null,merchant_reference:"1739814014074",api_version:"v1",has_fraud_screening:!1,routing_metadata:"{}",sdk_abandoned_reason:null,subscription_code:null,subscription_payment_code:null,routing_condition_id:17491,routing_condition_name:null,routing_condition_description:null,currency_conversion_currency_code:null,currency_conversion_amount_value:null,currency_conversion_rate:null,currency_conversion_code:null,provider_currency_conversion_id:null,has_multiple_payment_methods:!1,request_origin:null,request_header_origin:"",subscription_billing_cycle:null,subscription_retry_count:null,smart_routing:!1,monitors:null,airline_passenger:[],airline_leg:[],airline_ticket:[],airline_ticket_issue:[],customer_payer:[{id:82453,email:"rizinuta@fijwam.eg",gender:"female",last_name:"Hegmann",created_at:"2025-02-17T17:40:46.756582+00:00",first_name:"Aaron",ip_address:"187.189.168.116",payment_id:83146,updated_at:"2025-02-17T17:40:46.756584+00:00",nationality:"MX",phone_number:"3991111111",customer_code:"6c6c8223-0f63-4f17-979c-024839ea7366",date_of_birth:"1990-02-28",document_type:"RFC",document_number:"IESF960301230",device_fingerprint:null,phone_country_code:"52",device_fingerprints:"{}",geolocation_latitude:null,browser_info_language:"en",geolocation_longitude:null,third_party_session_id:null,browser_info_user_agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36",payment_method_payer_id:null,browser_info_color_depth:"5",browser_info_java_enabled:"false",browser_info_screen_width:"8",browser_info_accept_header:"application/json",browser_info_screen_height:"8",browser_info_accept_browser:"*/*",browser_info_accept_content:"*/*",merchant_customer_created_at:null,browser_info_javascript_enabled:"true",organization_customer_external_id:"1739814014074",browser_info_browser_time_difference:"300"}],payment_order:[{id:73140,created_at:"2025-02-17T17:40:46.789867+00:00",fee_amount:null,payment_id:83146,tip_amount:null,updated_at:"2025-02-17T17:40:46.789868+00:00",sales_channel:null,shipping_amount:0,fulfillment_mongo_id:null}],order_item:[{id:73619,name:"Skirt",brand:"XYZ",id_item:"123AD",category:"Clothes",quantity:1,sku_code:"8765432109",created_at:"2025-02-17T17:40:46.793886+00:00",updated_at:"2025-02-17T17:40:46.793888+00:00",unit_amount:300,payment_order_id:73140,manufacture_part_number:"XYZ123456"}],customer_payer_address:[{id:161666,type:"SHIPPING",created_at:"2025-02-17T17:40:46.767136+00:00",updated_at:"2025-02-17T17:40:46.767138+00:00",address_city:"Bogotá",address_state:"Cundinamarca",address_line_1:"Calle 34 # 56 - 78",address_line_2:"Apartamento 502, Torre I",address_country:"MX",address_zip_code:"68890000",customer_payer_id:82453,address_neighborhood:null},{id:161667,type:"BILLING",created_at:"2025-02-17T17:40:46.77174+00:00",updated_at:"2025-02-17T17:40:46.771742+00:00",address_city:"Bogotá",address_state:"Cundinamarca",address_line_1:"Calle 34 # 56 - 78",address_line_2:null,address_country:"MX",address_zip_code:"68890000",customer_payer_id:82453,address_neighborhood:null}],payment_tax:[],payment_order_tax:[],payment_order_shipping:[],payment_airline:[],payment_seller_details:{}},ca={test_credential:!1,id:83145,code:"240622a6-654d-44de-ae61-b718afeeb78f",order_id:"1739813914789",customer_code:"46f88791-1c4b-40cb-b0b6-889a87529775",organization_customer_external_id:"1739813914789",checkout_session:"b80837d6-a234-486f-a28d-d6bf3fab9da3",status:"ERROR",amount_value:300,currency_code:"MXN",description:"test description",created_at:"2025-02-17T17:39:04.220012Z",updated_at:"2025-02-17T17:39:05.658776Z",organization_code:"de2844c3-30c7-461b-8422-a880998646a8",account_code:"8c9701a1-4290-4941-a48f-760b16c16c73",country:"MX",is_sdk_action_required:!1,idempotency_key:"f68e1740-7c89-443b-bd17-0a80d758477d",sub_status:"ERROR",workflow:"SDK_CHECKOUT",callback_url:"https://demo.dev.y.uno/testing/checkout/status?checkoutSession=b80837d6-a234-486f-a28d-d6bf3fab9da3",platform:"WEB",routing_flow_code:"e45f1ef1-3d24-4d83-bc91-2f6ca5159dc7",captured:0,refunded:0,account_integration_code:null,metadata:"[]",chargeback:0,in_dispute:0,checkout_url:null,payment_link_code:"",trace_id:"faf5c3bc-eae2-4192-9680-3783332796af",version:null,merchant_reference:"1739813914789",api_version:"v1",has_fraud_screening:!1,routing_metadata:"{}",sdk_abandoned_reason:null,subscription_code:null,subscription_payment_code:null,routing_condition_id:17491,routing_condition_name:null,routing_condition_description:null,currency_conversion_currency_code:null,currency_conversion_amount_value:null,currency_conversion_rate:null,currency_conversion_code:null,provider_currency_conversion_id:null,has_multiple_payment_methods:!1,request_origin:null,request_header_origin:"",subscription_billing_cycle:null,subscription_retry_count:null,smart_routing:!1,monitors:null,airline_passenger:[],airline_leg:[],airline_ticket:[],airline_ticket_issue:[],customer_payer:[{id:82452,email:"beisguw@obi.cv",gender:"female",last_name:"Hegmann",created_at:"2025-02-17T17:39:04.227478+00:00",first_name:"Aaron",ip_address:"187.189.168.116",payment_id:83145,updated_at:"2025-02-17T17:39:04.22748+00:00",nationality:"MX",phone_number:"3991111111",customer_code:"46f88791-1c4b-40cb-b0b6-889a87529775",date_of_birth:"1990-02-28",document_type:"CURP",document_number:"GOOT991014HASNLT07",device_fingerprint:null,phone_country_code:"52",device_fingerprints:"{}",geolocation_latitude:null,browser_info_language:"en",geolocation_longitude:null,third_party_session_id:null,browser_info_user_agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36",payment_method_payer_id:null,browser_info_color_depth:"5",browser_info_java_enabled:"false",browser_info_screen_width:"8",browser_info_accept_header:"application/json",browser_info_screen_height:"8",browser_info_accept_browser:"*/*",browser_info_accept_content:"*/*",merchant_customer_created_at:null,browser_info_javascript_enabled:"true",organization_customer_external_id:"1739813914789",browser_info_browser_time_difference:"300"}],payment_order:[{id:73139,created_at:"2025-02-17T17:39:04.25785+00:00",fee_amount:null,payment_id:83145,tip_amount:null,updated_at:"2025-02-17T17:39:04.257851+00:00",sales_channel:null,shipping_amount:0,fulfillment_mongo_id:null}],order_item:[{id:73618,name:"Skirt",brand:"XYZ",id_item:"123AD",category:"Clothes",quantity:1,sku_code:"8765432109",created_at:"2025-02-17T17:39:04.261319+00:00",updated_at:"2025-02-17T17:39:04.26132+00:00",unit_amount:300,payment_order_id:73139,manufacture_part_number:"XYZ123456"}],customer_payer_address:[{id:161664,type:"SHIPPING",created_at:"2025-02-17T17:39:04.237363+00:00",updated_at:"2025-02-17T17:39:04.237364+00:00",address_city:"Bogotá",address_state:"Cundinamarca",address_line_1:"Calle 34 # 56 - 78",address_line_2:"Apartamento 502, Torre I",address_country:"MX",address_zip_code:"68890000",customer_payer_id:82452,address_neighborhood:null},{id:161665,type:"BILLING",created_at:"2025-02-17T17:39:04.241131+00:00",updated_at:"2025-02-17T17:39:04.241132+00:00",address_city:"Bogotá",address_state:"Cundinamarca",address_line_1:"Calle 34 # 56 - 78",address_line_2:null,address_country:"MX",address_zip_code:"68890000",customer_payer_id:82452,address_neighborhood:null}],payment_tax:[],payment_order_tax:[],payment_order_shipping:[],payment_airline:[],payment_seller_details:{}},ua={id:83144,code:"98855a76-4a79-4d2e-9a0a-876a1541a95e",order_id:"2222T",customer_code:"4aa110f9-4f85-4351-92e8-7513338bfc00",organization_customer_external_id:"Merchan3",checkout_session:"47f2445d-9105-49ce-9a2a-659977159272",status:"ERROR",amount_value:250,currency_code:"MXN",description:"SUCCEEDED",created_at:"2025-02-17T17:38:17.243160Z",updated_at:"2025-02-17T17:38:18.866741Z",organization_code:"de2844c3-30c7-461b-8422-a880998646a8",account_code:"8c9701a1-4290-4941-a48f-760b16c16c73",country:"MX",is_sdk_action_required:!1,idempotency_key:"6e6a2156-e2ed-40e5-92fa-b105f9e56433",sub_status:"ERROR",workflow:"SDK_CHECKOUT",callback_url:"https://google.com/?checkoutSession=47f2445d-9105-49ce-9a2a-659977159272",platform:null,routing_flow_code:"19ceb649-9a47-4fd4-bb6f-a83a09c62f0c",captured:0,refunded:0,account_integration_code:null,metadata:'[{"key":"country?","value":"MXN"},{"key":"Merchan_type","value":"D05,T5,T6,D02"}]',chargeback:0,in_dispute:0,checkout_url:null,payment_link_code:"",trace_id:"5826b7b5-a68b-44e9-b338-a95045696384",version:null,merchant_reference:"2222T",api_version:"v1",has_fraud_screening:!1,routing_metadata:"{}",sdk_abandoned_reason:null,subscription_code:null,subscription_payment_code:null,routing_condition_id:17491,routing_condition_name:null,routing_condition_description:null,currency_conversion_currency_code:null,currency_conversion_amount_value:null,currency_conversion_rate:null,currency_conversion_code:null,provider_currency_conversion_id:null,has_multiple_payment_methods:!1,request_origin:null,request_header_origin:"",subscription_billing_cycle:null,subscription_retry_count:null,smart_routing:!1,monitors:null,airline_passenger:[],airline_leg:[],airline_ticket:[],airline_ticket_issue:[],customer_payer:[{id:82451,email:"tito.gonzalez@y.uno",gender:"M",last_name:"Olivares",created_at:"2025-02-17T17:38:17.248723+00:00",first_name:"Tito Gonzalez",ip_address:"192.0.2.1",payment_id:83144,updated_at:"2025-02-17T17:38:17.248725+00:00",nationality:"CO",phone_number:"4499068531",customer_code:"4aa110f9-4f85-4351-92e8-7513338bfc00",date_of_birth:"1993-11-11",document_type:"INE",document_number:"9999999999",device_fingerprint:"hi88287gbd8d7d782ge0023",phone_country_code:"52",device_fingerprints:'{"DEFAULT":"hi88287gbd8d7d782ge0023"}',geolocation_latitude:null,browser_info_language:"es",geolocation_longitude:null,third_party_session_id:null,browser_info_user_agent:"string",payment_method_payer_id:null,browser_info_color_depth:"8",browser_info_java_enabled:null,browser_info_screen_width:"720",browser_info_accept_header:"string",browser_info_screen_height:"1280",browser_info_accept_browser:null,browser_info_accept_content:null,merchant_customer_created_at:null,browser_info_javascript_enabled:"true",organization_customer_external_id:"Merchan3",browser_info_browser_time_difference:null}],payment_order:[{id:73138,created_at:"2025-02-17T17:38:17.268872+00:00",fee_amount:0,payment_id:83144,tip_amount:null,updated_at:"2025-02-17T17:38:17.268873+00:00",sales_channel:null,shipping_amount:0,fulfillment_mongo_id:null}],order_item:[{id:73615,name:"Skirt",brand:"XYZ",id_item:"123AD",category:"",quantity:1,sku_code:"8765432109",created_at:"2025-02-17T17:38:17.272809+00:00",updated_at:"2025-02-17T17:38:17.27281+00:00",unit_amount:500,payment_order_id:73138,manufacture_part_number:"XYZ123456"},{id:73616,name:"t-shirt",brand:"Nike",id_item:"333d",category:"clothes",quantity:1,sku_code:"292929292",created_at:"2025-02-17T17:38:17.275665+00:00",updated_at:"2025-02-17T17:38:17.275666+00:00",unit_amount:1e3,payment_order_id:73138,manufacture_part_number:"0A98C0A9"},{id:73617,name:"t-shirt",brand:"FFF",id_item:"089qq8998",category:"clothes",quantity:2,sku_code:"098091",created_at:"2025-02-17T17:38:17.278489+00:00",updated_at:"2025-02-17T17:38:17.27849+00:00",unit_amount:1500,payment_order_id:73138,manufacture_part_number:"0SAD9DD9D"}],customer_payer_address:[{id:161662,type:"SHIPPING",created_at:"2025-02-17T17:38:17.253338+00:00",updated_at:"2025-02-17T17:38:17.253339+00:00",address_city:"Aguascalientes",address_state:"Aguascalientes",address_line_1:"Paseo de la asunción sur 503",address_line_2:"Jardines de Aguascalientes",address_country:"MX",address_zip_code:"20270",customer_payer_id:82451,address_neighborhood:null},{id:161663,type:"BILLING",created_at:"2025-02-17T17:38:17.256549+00:00",updated_at:"2025-02-17T17:38:17.25655+00:00",address_city:"Bogotá",address_state:"Cundinamarca",address_line_1:"Calle 34 # 56 - 78",address_line_2:"Apartamento 502, Torre I",address_country:"MX",address_zip_code:"111111",customer_payer_id:82451,address_neighborhood:null}],payment_tax:[],payment_order_tax:[],payment_order_shipping:[],payment_airline:[],payment_seller_details:{}},la=[{created_at:"2025-05-25T13:50:51.304216Z",amount_value:32350,currency_code:"COP",transaction_type:"PURCHASE",status_history:"DECLINED",provider_id:"REDEBAN_DIRECT",code:"d054b44d-8e22-486a-ac66-f76cc8ddf97a",category:"CARD",merchant_reference:"CO_Order_2337202644",description:null,title_description:"timeLine.purchaseDeclined",light_text:"by provider",show_amount:!0,show_provider:!0,provider_status:null,sub_status_history:null,provider_response_code:null,provider_raw_response:null,parent_payment_method_type:null,wallet_title_description:""},{created_at:"2025-05-25T13:50:49.783312Z",amount_value:32350,currency_code:"COP",transaction_type:"PURCHASE",status_history:"CREATED",provider_id:"REDEBAN_DIRECT",code:"d054b44d-8e22-486a-ac66-f76cc8ddf97a",category:"CARD",merchant_reference:"CO_Order_2337202644",description:"timeLine.descriptionPurchaseCreated",title_description:"timeLine.purchaseCreated",light_text:null,show_amount:!0,show_provider:!0,provider_status:null,sub_status_history:null,provider_response_code:null,provider_raw_response:null,parent_payment_method_type:null,wallet_title_description:""}],pa={content:[{test_credential:!0,id:"83459",code:"5d1558b0-4e6a-4268-a543-7b713b1de986",type:"PURCHASE",transaction_data_type:"transaction",vault_on_success:"",parent_id:"",payment_id:83146,customer_payment_method_code:"",status:"ERROR",category:"CARD",amount:300,created_at:"2025-02-17T17:40:47.474187Z",updated_at:"2025-02-17T17:40:48.203256Z",payment_method:{vaulted_token:"",type:"CARD",vault_on_success:!1,token:"fb0f5521-d61e-43f0-883e-a6629de43f1a",payment_method_detail:{card:{verify:"false",capture:"true",installments:"1",first_installments_deferral:"",installments_type:null,installments_amount:null,soft_descriptor:null,authorization_code:null,retrieval_reference_number:null,card_data:{holder_name:"TITO GLEZ",iin:"41111111",ifd:"1111",expiration_month:"5",expiration_year:"27",number_lenght:"16",security_code_lenght:"3",brand:"VISA",issuer_name:"CONOTOXIA SP Z O O",issuer_code:null,category:"CLASSIC",type:"DEBIT",installments:""}},bnpl:null,bank_transfer:null,wallet:null,payment_link:null,ticket:null}},response_code:"INVALID_CREDENTIALS",response_message:"Invalid credentials",merchant_reference:"1739814014074",provider_data:{id:"83459",transaction_id:"",account_id:"",sub_status:"",status:"",status_detail:"3001",raw_response:{value:'{"code":3001,"message":"Invalid credentials"}'},response_message:"Invalid credentials",raw_notification:"",action_data:'{"image":null,"image_type":null,"redirect":{"init_url":"","success_url":"https://demo.dev.y.uno/testing/checkout/status?checkoutSession=b6ac7dcf-d76e-4d94-a781-5c6642aac69b","error_url":"https://demo.dev.y.uno/testing/checkout/status?checkoutSession=b6ac7dcf-d76e-4d94-a781-5c6642aac69b"},"otp":{"length":0,"expiration_time":null,"retries":{"accepts":null,"number":null},"payment_instructions":null},"payment_code":{"code":null,"reference":"","expiration_time":null},"three_d_secure_redirect":{"init_url":null,"access_token":null,"redirect_url":null},"request_html":null,"sdk_provider":{"gateway":"","provider_id":null,"merchant_id":"","merchant_name":null,"amount":{"currency":"","value":"0"},"protocol_version":null,"payment_methods":null,"payment_method_type":null,"supported_networks":null,"session":null,"init_url":null,"client_id":null,"intent":null,"components":null},"expiration_time":null,"image_details":null,"info":{"screen_info":null},"render_html":null,"ui":null}'},reason:null,description:"test description",one_time_token:"fb0f5521-d61e-43f0-883e-a6629de43f1a",require_action_type:"CHECK_STATUS",parent_provider:"",account_integration_code:"9bf85421-5326-4616-826e-8575a5d69629",technical_reverse_provider_transaction_id:"",technical_reverse_transaction_type:"",technical_reverse_status:"",stand_alone:null,fraud_screening:null}]},da=[na.post("https://dev.y.uno/dashboard-bff/api/payments/lazy",(function(){return aa.json(ra)})),na.get("https://dev.y.uno/dashboard-bff/api/payments/v2/a6d708a9-0227-44eb-a044-0738b644d0fb",(function(){return aa.json(sa)})),na.get("https://dev.y.uno/dashboard-bff/api/payments/v2/240622a6-654d-44de-ae61-b718afeeb78f",(function(){return aa.json(ca)})),na.get("https://dev.y.uno/dashboard-bff/api/payments/v2/98855a76-4a79-4d2e-9a0a-876a1541a95e",(function(){return aa.json(ua)})),na.get("https://dev.y.uno/dashboard-bff/api/transactions/by-payment/:id/history",(function(){return aa.json(la)})),na.get("https://dev.y.uno/dashboard-bff/api/payments/:id/transactions/details",(function(){return aa.json(pa)}))],ma={total:{total_conversion_rate:.8491,insight_payment_total_conversion_rate_periodicity:{"2025-05-05":.854357872962925,"2025-05-06":.8464466315045402,"2025-05-07":.8464068445151444}},cards:{cards_approvals_rate:.8537,insight_payment_total_conversion_rate_periodicity_for_card:{"2025-05-05":.8535902892724836,"2025-05-06":.8544554997052155,"2025-05-07":.8529382291046492}},apms:{apms_conversion_rate:.846,insight_payment_total_conversion_rate_periodicity_for_apm:{"2025-05-05":.8548995923297599,"2025-05-06":.8409580339477246,"2025-05-07":.8419575308800616}},cards_without_insufficient_funds:{without_insufficient_funds_conversion_rate:.8993,insight_conversion_rate_without_insufficient_funds:{"2025-05-05":.9018141803473709,"2025-05-06":.9025951512661153,"2025-05-07":.8933830566240437}}},ha={fraud:{conversion_rate_fraud_transactions:0,conversion_fraud_transactions_periodicity:null},"3ds":{conversion_rate_card_transactions3ds:.25,conversion_rate_card_transactions3ds_periodicity:{"2025-05-05":.2391304347826087,"2025-05-06":.3023255813953488,"2025-05-07":.21568627450980393}}},fa={sales_volume_metric_group:{distribution:[{key:"2025-04-03",total:2146090},{key:"2025-04-04",total:498220},{key:"2025-04-05",total:563560},{key:"2025-04-06",total:822600},{key:"2025-04-07",total:660445},{key:"2025-04-08",total:553400},{key:"2025-04-09",total:464195},{key:"2025-04-10",total:470835},{key:"2025-04-11",total:3482795},{key:"2025-04-12",total:127585},{key:"2025-04-13",total:207200},{key:"2025-04-14",total:245970},{key:"2025-04-15",total:277185},{key:"2025-04-16",total:177485},{key:"2025-04-17",total:147300},{key:"2025-04-18",total:152590},{key:"2025-04-19",total:41800},{key:"2025-04-20",total:1060845},{key:"2025-04-21",total:715160},{key:"2025-04-22",total:686465},{key:"2025-04-23",total:268490},{key:"2025-04-24",total:699500},{key:"2025-04-25",total:306090},{key:"2025-04-26",total:469500},{key:"2025-04-27",total:364800},{key:"2025-04-28",total:1610220},{key:"2025-04-29",total:699965},{key:"2025-04-30",total:482340},{key:"2025-05-01",total:666160},{key:"2025-05-02",total:52565}],total:19121355,average:637378.5},total_payments:{distribution:[{key:"2025-04-03",total:18},{key:"2025-04-04",total:10},{key:"2025-04-05",total:6},{key:"2025-04-06",total:9},{key:"2025-04-07",total:14},{key:"2025-04-08",total:12},{key:"2025-04-09",total:13},{key:"2025-04-10",total:12},{key:"2025-04-11",total:23},{key:"2025-04-12",total:3},{key:"2025-04-13",total:5},{key:"2025-04-14",total:7},{key:"2025-04-15",total:7},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:3},{key:"2025-04-19",total:1},{key:"2025-04-20",total:11},{key:"2025-04-21",total:13},{key:"2025-04-22",total:15},{key:"2025-04-23",total:10},{key:"2025-04-24",total:14},{key:"2025-04-25",total:9},{key:"2025-04-26",total:6},{key:"2025-04-27",total:3},{key:"2025-04-28",total:21},{key:"2025-04-29",total:15},{key:"2025-04-30",total:9},{key:"2025-05-01",total:7},{key:"2025-05-02",total:2}],total:285,average:9.5},average_ticket:{distribution:[{key:"2025-04-03",total:118580.63,min_ticket:12665,max_ticket:882e3},{key:"2025-04-04",total:51146.67,min_ticket:25900,max_ticket:121500},{key:"2025-04-05",total:74692,min_ticket:23800,max_ticket:190100},{key:"2025-04-06",total:85150,min_ticket:20900,max_ticket:141400},{key:"2025-04-07",total:46528.75,min_ticket:16200,max_ticket:125e3},{key:"2025-04-08",total:48290.91,min_ticket:21900,max_ticket:106700},{key:"2025-04-09",total:34366.25,min_ticket:13900,max_ticket:64005},{key:"2025-04-10",total:39730.45,min_ticket:15900,max_ticket:74545},{key:"2025-04-11",total:76968.93,min_ticket:15900,max_ticket:454200},{key:"2025-04-12",total:42528.33,min_ticket:29835,max_ticket:66130},{key:"2025-04-13",total:48800,min_ticket:21900,max_ticket:64800},{key:"2025-04-14",total:35138.57,min_ticket:7900,max_ticket:55100},{key:"2025-04-15",total:41117,min_ticket:35800,max_ticket:53100},{key:"2025-04-16",total:35497,min_ticket:21420,max_ticket:53700},{key:"2025-04-17",total:73650,min_ticket:47700,max_ticket:99600},{key:"2025-04-18",total:47947.5,min_ticket:39200,max_ticket:56695},{key:"2025-04-19",total:41800,min_ticket:41800,max_ticket:41800},{key:"2025-04-20",total:61248.33,min_ticket:25900,max_ticket:121600},{key:"2025-04-21",total:74095,min_ticket:16200,max_ticket:308e3},{key:"2025-04-22",total:47066.54,min_ticket:15900,max_ticket:98200},{key:"2025-04-23",total:28732.22,min_ticket:9900,max_ticket:39200},{key:"2025-04-24",total:40025,min_ticket:20200,max_ticket:109600},{key:"2025-04-25",total:34755.71,min_ticket:15900,max_ticket:45390},{key:"2025-04-26",total:84900,min_ticket:34800,max_ticket:130400},{key:"2025-04-27",total:121600,min_ticket:5e4,max_ticket:162300},{key:"2025-04-28",total:62873.33,min_ticket:21900,max_ticket:293400},{key:"2025-04-29",total:47213.75,min_ticket:11900,max_ticket:113700},{key:"2025-04-30",total:53593.33,min_ticket:27800,max_ticket:120600},{key:"2025-05-01",total:93426.67,min_ticket:15900,max_ticket:159500},{key:"2025-05-02",total:26282.5,min_ticket:22900,max_ticket:29665}],total:58001.28,min_ticket:7900,max_ticket:882e3},conversion_rate:null,total_payments_and_conversion_rate:{payments:{distribution:[{key:"2025-04-03",total:18},{key:"2025-04-04",total:10},{key:"2025-04-05",total:6},{key:"2025-04-06",total:9},{key:"2025-04-07",total:14},{key:"2025-04-08",total:12},{key:"2025-04-09",total:13},{key:"2025-04-10",total:12},{key:"2025-04-11",total:23},{key:"2025-04-12",total:3},{key:"2025-04-13",total:5},{key:"2025-04-14",total:7},{key:"2025-04-15",total:7},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:3},{key:"2025-04-19",total:1},{key:"2025-04-20",total:11},{key:"2025-04-21",total:13},{key:"2025-04-22",total:15},{key:"2025-04-23",total:10},{key:"2025-04-24",total:14},{key:"2025-04-25",total:9},{key:"2025-04-26",total:6},{key:"2025-04-27",total:3},{key:"2025-04-28",total:21},{key:"2025-04-29",total:15},{key:"2025-04-30",total:9},{key:"2025-05-01",total:7},{key:"2025-05-02",total:2}],total:285},conversion_rate:{distribution:[{key:"2025-04-03",total:.8889},{key:"2025-04-04",total:.9},{key:"2025-04-05",total:.8333},{key:"2025-04-06",total:.8889},{key:"2025-04-07",total:.8571},{key:"2025-04-08",total:.9167},{key:"2025-04-09",total:.9231},{key:"2025-04-10",total:.9167},{key:"2025-04-11",total:.6087},{key:"2025-04-12",total:1},{key:"2025-04-13",total:.6},{key:"2025-04-14",total:1},{key:"2025-04-15",total:.7143},{key:"2025-04-16",total:1},{key:"2025-04-17",total:1},{key:"2025-04-18",total:.6667},{key:"2025-04-19",total:1},{key:"2025-04-20",total:.2727},{key:"2025-04-21",total:.6154},{key:"2025-04-22",total:.8667},{key:"2025-04-23",total:.9},{key:"2025-04-24",total:.8571},{key:"2025-04-25",total:.7778},{key:"2025-04-26",total:.6667},{key:"2025-04-27",total:1},{key:"2025-04-28",total:.5714},{key:"2025-04-29",total:.8},{key:"2025-04-30",total:1},{key:"2025-05-01",total:.8571},{key:"2025-05-02",total:1}],total:.793}},quantity_status_distribution:[{SUCCEEDED:{distribution:[{key:"2025-04-03",total:16},{key:"2025-04-04",total:9},{key:"2025-04-05",total:5},{key:"2025-04-06",total:8},{key:"2025-04-07",total:12},{key:"2025-04-08",total:11},{key:"2025-04-09",total:12},{key:"2025-04-10",total:11},{key:"2025-04-11",total:14},{key:"2025-04-12",total:3},{key:"2025-04-13",total:3},{key:"2025-04-14",total:7},{key:"2025-04-15",total:5},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:2},{key:"2025-04-19",total:1},{key:"2025-04-20",total:3},{key:"2025-04-21",total:8},{key:"2025-04-22",total:13},{key:"2025-04-23",total:9},{key:"2025-04-24",total:12},{key:"2025-04-25",total:7},{key:"2025-04-26",total:4},{key:"2025-04-27",total:3},{key:"2025-04-28",total:12},{key:"2025-04-29",total:12},{key:"2025-04-30",total:9},{key:"2025-05-01",total:6},{key:"2025-05-02",total:2}],total:226}},{DECLINED:{distribution:[{key:"2025-04-03",total:2},{key:"2025-04-04",total:1},{key:"2025-04-05",total:1},{key:"2025-04-06",total:1},{key:"2025-04-07",total:2},{key:"2025-04-08",total:1},{key:"2025-04-09",total:1},{key:"2025-04-10",total:1},{key:"2025-04-11",total:9},{key:"2025-04-13",total:2},{key:"2025-04-15",total:2},{key:"2025-04-18",total:1},{key:"2025-04-20",total:8},{key:"2025-04-21",total:5},{key:"2025-04-22",total:2},{key:"2025-04-23",total:1},{key:"2025-04-24",total:2},{key:"2025-04-25",total:2},{key:"2025-04-26",total:2},{key:"2025-04-28",total:9},{key:"2025-04-29",total:3},{key:"2025-05-01",total:1}],total:59}}],volume_successful_payments:13108290,volume_successful_payments_by_periodicity:[{key:"2025-04-03",total:1897290},{key:"2025-04-04",total:460320},{key:"2025-04-05",total:373460},{key:"2025-04-06",total:681200},{key:"2025-04-07",total:558345},{key:"2025-04-08",total:531200},{key:"2025-04-09",total:412395},{key:"2025-04-10",total:437035},{key:"2025-04-11",total:1077565},{key:"2025-04-12",total:127585},{key:"2025-04-13",total:146400},{key:"2025-04-14",total:245970},{key:"2025-04-15",total:205585},{key:"2025-04-16",total:177485},{key:"2025-04-17",total:147300},{key:"2025-04-18",total:95895},{key:"2025-04-19",total:41800},{key:"2025-04-20",total:183745},{key:"2025-04-21",total:592760},{key:"2025-04-22",total:611865},{key:"2025-04-23",total:258590},{key:"2025-04-24",total:480300},{key:"2025-04-25",total:243290},{key:"2025-04-26",total:339600},{key:"2025-04-27",total:364800},{key:"2025-04-28",total:754480},{key:"2025-04-29",total:566565},{key:"2025-04-30",total:482340},{key:"2025-05-01",total:560560},{key:"2025-05-02",total:52565}],quantity_successful_payments:226,quantity_successful_payments_by_periodicity:[{key:"2025-04-03",total:16},{key:"2025-04-04",total:9},{key:"2025-04-05",total:5},{key:"2025-04-06",total:8},{key:"2025-04-07",total:12},{key:"2025-04-08",total:11},{key:"2025-04-09",total:12},{key:"2025-04-10",total:11},{key:"2025-04-11",total:14},{key:"2025-04-12",total:3},{key:"2025-04-13",total:3},{key:"2025-04-14",total:7},{key:"2025-04-15",total:5},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:2},{key:"2025-04-19",total:1},{key:"2025-04-20",total:3},{key:"2025-04-21",total:8},{key:"2025-04-22",total:13},{key:"2025-04-23",total:9},{key:"2025-04-24",total:12},{key:"2025-04-25",total:7},{key:"2025-04-26",total:4},{key:"2025-04-27",total:3},{key:"2025-04-28",total:12},{key:"2025-04-29",total:12},{key:"2025-04-30",total:9},{key:"2025-05-01",total:6},{key:"2025-05-02",total:2}],average_provider_latency:[{PAYMENTEZ:{distribution:[{key:"2025-04-03",total:1582.1429},{key:"2025-04-04",total:1972.6667},{key:"2025-04-05",total:2059.25},{key:"2025-04-06",total:1772},{key:"2025-04-07",total:1236.1667},{key:"2025-04-08",total:1310.7143},{key:"2025-04-09",total:1645.25},{key:"2025-04-10",total:2277},{key:"2025-04-11",total:1729.7143},{key:"2025-04-12",total:0},{key:"2025-04-13",total:1870},{key:"2025-04-14",total:1109},{key:"2025-04-15",total:1110},{key:"2025-04-16",total:1255.5},{key:"2025-04-17",total:0},{key:"2025-04-18",total:0},{key:"2025-04-19",total:1930},{key:"2025-04-20",total:0},{key:"2025-04-21",total:1502.3333},{key:"2025-04-22",total:2444.25},{key:"2025-04-23",total:1450.6667},{key:"2025-04-24",total:1376.75},{key:"2025-04-25",total:2074},{key:"2025-04-26",total:2339.75},{key:"2025-04-27",total:0},{key:"2025-04-28",total:1719.8},{key:"2025-04-29",total:1600.5},{key:"2025-04-30",total:1692.5},{key:"2025-05-01",total:1468.5},{key:"2025-05-02",total:0}],total:1727.7576}},{NUVEI:{distribution:[{key:"2025-04-03",total:3110.5},{key:"2025-04-04",total:2706.6667},{key:"2025-04-05",total:3637.5},{key:"2025-04-06",total:2654.4},{key:"2025-04-07",total:3068.1429},{key:"2025-04-08",total:2907.6},{key:"2025-04-09",total:2998.6667},{key:"2025-04-10",total:2732.5714},{key:"2025-04-11",total:3071.4167},{key:"2025-04-12",total:3222},{key:"2025-04-13",total:3020.3333},{key:"2025-04-14",total:2870},{key:"2025-04-15",total:3333},{key:"2025-04-16",total:3319},{key:"2025-04-17",total:3217},{key:"2025-04-18",total:2612},{key:"2025-04-19",total:0},{key:"2025-04-20",total:1829.7778},{key:"2025-04-21",total:2948.875},{key:"2025-04-22",total:3199},{key:"2025-04-23",total:2890.5},{key:"2025-04-24",total:3157},{key:"2025-04-25",total:3302},{key:"2025-04-26",total:2752},{key:"2025-04-27",total:3965.6667},{key:"2025-04-28",total:3059.7333},{key:"2025-04-29",total:3012.1},{key:"2025-04-30",total:3227.6667},{key:"2025-05-01",total:2788.6667},{key:"2025-05-02",total:3353}],total:2973.3793}},{WOMPI:{distribution:[{key:"2025-04-03",total:6647},{key:"2025-04-04",total:5687},{key:"2025-04-05",total:0},{key:"2025-04-06",total:5731.6667},{key:"2025-04-07",total:4024},{key:"2025-04-08",total:8196},{key:"2025-04-09",total:6371.25},{key:"2025-04-10",total:4857},{key:"2025-04-11",total:5636.6364},{key:"2025-04-12",total:0},{key:"2025-04-13",total:7057.5},{key:"2025-04-14",total:0},{key:"2025-04-15",total:6098.3333},{key:"2025-04-16",total:7633},{key:"2025-04-17",total:4292},{key:"2025-04-18",total:7642.5},{key:"2025-04-19",total:0},{key:"2025-04-20",total:7386.5},{key:"2025-04-21",total:6093.1667},{key:"2025-04-22",total:7832.75},{key:"2025-04-23",total:5280.4},{key:"2025-04-24",total:7190.5},{key:"2025-04-25",total:0},{key:"2025-04-26",total:4156},{key:"2025-04-27",total:0},{key:"2025-04-28",total:8211.6667},{key:"2025-04-29",total:6907.3333},{key:"2025-04-30",total:6054},{key:"2025-05-01",total:7726.3333},{key:"2025-05-02",total:0}],total:6579.7901}}],total_subscriptions_and_conversion_rate:{subscriptions:{distribution:null,total:0},subscriptions_succeeded:{distribution:null,total:0},conversion_rate:{distribution:null,total:0}},total_status_distribution:[{SUCCEEDED:{distribution:[{key:"2025-04-03",total:1897290},{key:"2025-04-04",total:460320},{key:"2025-04-05",total:373460},{key:"2025-04-06",total:681200},{key:"2025-04-07",total:558345},{key:"2025-04-08",total:531200},{key:"2025-04-09",total:412395},{key:"2025-04-10",total:437035},{key:"2025-04-11",total:1077565},{key:"2025-04-12",total:127585},{key:"2025-04-13",total:146400},{key:"2025-04-14",total:245970},{key:"2025-04-15",total:205585},{key:"2025-04-16",total:177485},{key:"2025-04-17",total:147300},{key:"2025-04-18",total:95895},{key:"2025-04-19",total:41800},{key:"2025-04-20",total:183745},{key:"2025-04-21",total:592760},{key:"2025-04-22",total:611865},{key:"2025-04-23",total:258590},{key:"2025-04-24",total:480300},{key:"2025-04-25",total:243290},{key:"2025-04-26",total:339600},{key:"2025-04-27",total:364800},{key:"2025-04-28",total:754480},{key:"2025-04-29",total:566565},{key:"2025-04-30",total:482340},{key:"2025-05-01",total:560560},{key:"2025-05-02",total:52565}],total:13108290}},{DECLINED:{distribution:[{key:"2025-04-03",total:248800},{key:"2025-04-04",total:37900},{key:"2025-04-05",total:190100},{key:"2025-04-06",total:141400},{key:"2025-04-07",total:102100},{key:"2025-04-08",total:22200},{key:"2025-04-09",total:51800},{key:"2025-04-10",total:33800},{key:"2025-04-11",total:2405230},{key:"2025-04-13",total:60800},{key:"2025-04-15",total:71600},{key:"2025-04-18",total:56695},{key:"2025-04-20",total:877100},{key:"2025-04-21",total:122400},{key:"2025-04-22",total:74600},{key:"2025-04-23",total:9900},{key:"2025-04-24",total:219200},{key:"2025-04-25",total:62800},{key:"2025-04-26",total:129900},{key:"2025-04-28",total:855740},{key:"2025-04-29",total:133400},{key:"2025-05-01",total:105600}],total:6013065}}]};!function(e){e.GENERAL="volume-and-total-payments",e.LATENCY="provider-latency",e.STATUS="status",e.SUBSCRIPTIONS="subscriptions"}(ia||(ia={}));var ga={sales_volume_metric_group:fa.sales_volume_metric_group,total_payments:fa.total_payments},ya=na.get("/api/insights/overview-metrics",(function(){return aa.json(ga)})),va=[na.get("/api/v3/insights/overview-metrics/".concat(ia.GENERAL),(function(){return aa.json({sales_volume_metric_group:ga.sales_volume_metric_group})})),na.get("/api/v3/insights/overview-metrics/".concat(ia.LATENCY),(function(){return aa.json({latency_metrics:{average_response_time:250,distribution:[{key:"2025-04-01",value:200},{key:"2025-04-02",value:300}]}})})),na.get("/api/v3/insights/overview-metrics/".concat(ia.STATUS),(function(){return aa.json({status_metrics:{success_rate:95,distribution:[{key:"2025-04-01",value:98},{key:"2025-04-02",value:92}]}})})),na.get("/api/v3/insights/overview-metrics/".concat(ia.SUBSCRIPTIONS),(function(){return aa.json({subscription_metrics:{active_subscriptions:1e3,distribution:[{key:"2025-04-01",value:950},{key:"2025-04-02",value:1050}]}})}))],ba=e.__spreadArray([ya],va,!0),ka=e.__spreadArray([na.post("https://dev.y.uno/dashboard-bff/api/v3/insights/conversion-rate/overview",(function(){return aa.json(ma)})),na.post("https://dev.y.uno/dashboard-bff/api/v3/insights/conversion-rate/overview-fraud-3ds",(function(){return aa.json(ha)})),na.get("*/dialogs",(function(){return aa.json({})})),na.get("*/accounts/webhooks/:accountCode",(function(){return aa.json({})})),na.get("*/accounts/webhooks/params-catalog",(function(){return aa.json({})})),na.get("*/accounts/webhooks-v2/:accountCode",(function(){return aa.json({})}))],ba,!0),xa=e.__spreadArray(e.__spreadArray([],da,!0),ka,!0),wa=function(...e){return new Mo(...e)}.apply(void 0,xa),ja="MSW_ENABLED";function _a(e){e?(localStorage.setItem(ja,"true"),console.info("MSW enabled. Reload the page to activate the mocks.")):(localStorage.removeItem(ja),console.info("MSW disabled. Reload the page to disable the mocks.")),window.location.reload()}function Ea(){return"true"===localStorage.getItem(ja)}function Ca(e,t){return function(){return e.apply(t,arguments)}}"undefined"!=typeof window&&(window.enableMSW=function(){return _a(!0)},window.disableMSW=function(){return _a(!1)},window.isMSWEnabled=Ea);const{toString:Sa}=Object.prototype,{getPrototypeOf:Ra}=Object,{iterator:Ta,toStringTag:Aa}=Symbol,Ia=(Oa=Object.create(null),e=>{const t=Sa.call(e);return Oa[t]||(Oa[t]=t.slice(8,-1).toLowerCase())});var Oa;const za=e=>(e=e.toLowerCase(),t=>Ia(t)===e),Pa=e=>t=>typeof t===e,{isArray:La}=Array,Da=Pa("undefined");function qa(e){return null!==e&&!Da(e)&&null!==e.constructor&&!Da(e.constructor)&&Fa(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Na=za("ArrayBuffer");const Ma=Pa("string"),Fa=Pa("function"),Ba=Pa("number"),Ua=e=>null!==e&&"object"==typeof e,Ga=e=>{if("object"!==Ia(e))return!1;const t=Ra(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Aa in e||Ta in e)},Wa=za("Date"),Va=za("File"),Ha=za("Blob"),Ka=za("FileList"),$a=za("URLSearchParams"),[Qa,Ja,Xa,Ya]=["ReadableStream","Request","Response","Headers"].map(za);function Za(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let o,a;if("object"!=typeof e&&(e=[e]),La(e))for(o=0,a=e.length;o<a;o++)t.call(null,e[o],o,e);else{if(qa(e))return;const a=n?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let r;for(o=0;o<i;o++)r=a[o],t.call(null,e[r],r,e)}}function ei(e,t){if(qa(e))return null;t=t.toLowerCase();const n=Object.keys(e);let o,a=n.length;for(;a-- >0;)if(o=n[a],t===o.toLowerCase())return o;return null}const ti="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,ni=e=>!Da(e)&&e!==ti;const oi=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&Ra(Uint8Array)),ai=za("HTMLFormElement"),ii=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ri=za("RegExp"),si=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Za(n,((n,a)=>{let i;!1!==(i=t(n,a,e))&&(o[a]=i||n)})),Object.defineProperties(e,o)};const ci=za("AsyncFunction"),ui=(li="function"==typeof setImmediate,pi=Fa(ti.postMessage),li?setImmediate:pi?(di=`axios@${Math.random()}`,mi=[],ti.addEventListener("message",(({source:e,data:t})=>{e===ti&&t===di&&mi.length&&mi.shift()()}),!1),e=>{mi.push(e),ti.postMessage(di,"*")}):e=>setTimeout(e));var li,pi,di,mi;const hi="undefined"!=typeof queueMicrotask?queueMicrotask.bind(ti):"undefined"!=typeof process&&process.nextTick||ui;var fi={isArray:La,isArrayBuffer:Na,isBuffer:qa,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Fa(e.append)&&("formdata"===(t=Ia(e))||"object"===t&&Fa(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Na(e.buffer),t},isString:Ma,isNumber:Ba,isBoolean:e=>!0===e||!1===e,isObject:Ua,isPlainObject:Ga,isEmptyObject:e=>{if(!Ua(e)||qa(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:Qa,isRequest:Ja,isResponse:Xa,isHeaders:Ya,isUndefined:Da,isDate:Wa,isFile:Va,isBlob:Ha,isRegExp:ri,isFunction:Fa,isStream:e=>Ua(e)&&Fa(e.pipe),isURLSearchParams:$a,isTypedArray:oi,isFileList:Ka,forEach:Za,merge:function e(){const{caseless:t,skipUndefined:n}=ni(this)&&this||{},o={},a=(a,i)=>{const r=t&&ei(o,i)||i;Ga(o[r])&&Ga(a)?o[r]=e(o[r],a):Ga(a)?o[r]=e({},a):La(a)?o[r]=a.slice():n&&Da(a)||(o[r]=a)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Za(arguments[e],a);return o},extend:(e,t,n,{allOwnKeys:o}={})=>(Za(t,((t,o)=>{n&&Fa(t)?e[o]=Ca(t,n):e[o]=t}),{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,o)=>{let a,i,r;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)r=a[i],o&&!o(r,e,t)||s[r]||(t[r]=e[r],s[r]=!0);e=!1!==n&&Ra(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Ia,kindOfTest:za,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return-1!==o&&o===n},toArray:e=>{if(!e)return null;if(La(e))return e;let t=e.length;if(!Ba(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Ta]).call(e);let o;for(;(o=n.next())&&!o.done;){const n=o.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const o=[];for(;null!==(n=e.exec(t));)o.push(n);return o},isHTMLForm:ai,hasOwnProperty:ii,hasOwnProp:ii,reduceDescriptors:si,freezeMethods:e=>{si(e,((t,n)=>{if(Fa(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const o=e[n];Fa(o)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},o=e=>{e.forEach((e=>{n[e]=!0}))};return La(e)?o(e):o(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:ei,global:ti,isContextDefined:ni,isSpecCompliantForm:function(e){return!!(e&&Fa(e.append)&&"FormData"===e[Aa]&&e[Ta])},toJSONObject:e=>{const t=new Array(10),n=(e,o)=>{if(Ua(e)){if(t.indexOf(e)>=0)return;if(qa(e))return e;if(!("toJSON"in e)){t[o]=e;const a=La(e)?[]:{};return Za(e,((e,t)=>{const i=n(e,o+1);!Da(i)&&(a[t]=i)})),t[o]=void 0,a}}return e};return n(e,0)},isAsyncFn:ci,isThenable:e=>e&&(Ua(e)||Fa(e))&&Fa(e.then)&&Fa(e.catch),setImmediate:ui,asap:hi,isIterable:e=>null!=e&&Fa(e[Ta])};function gi(e,t,n,o,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),a&&(this.response=a,this.status=a.status?a.status:null)}fi.inherits(gi,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:fi.toJSONObject(this.config),code:this.code,status:this.status}}});const yi=gi.prototype,vi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{vi[e]={value:e}})),Object.defineProperties(gi,vi),Object.defineProperty(yi,"isAxiosError",{value:!0}),gi.from=(e,t,n,o,a,i)=>{const r=Object.create(yi);fi.toFlatObject(e,r,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e));const s=e&&e.message?e.message:"Error",c=null==t&&e?e.code:t;return gi.call(r,s,c,n,o,a),e&&null==r.cause&&Object.defineProperty(r,"cause",{value:e,configurable:!0}),r.name=e&&e.name||"Error",i&&Object.assign(r,i),r};var bi="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ki(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xi=n.Stream,wi=ji;function ji(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}t.inherits(ji,xi),ji.create=function(e,t){var n=new this;for(var o in t=t||{})n[o]=t[o];n.source=e;var a=e.emit;return e.emit=function(){return n._handleEmit(arguments),a.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(ji.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),ji.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},ji.prototype.resume=function(){this._released||this.release(),this.source.resume()},ji.prototype.pause=function(){this.source.pause()},ji.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},ji.prototype.pipe=function(){var e=xi.prototype.pipe.apply(this,arguments);return this.resume(),e},ji.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},ji.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}};var _i=t,Ei=n.Stream,Ci=wi,Si=Ri;function Ri(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}_i.inherits(Ri,Ei),Ri.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},Ri.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},Ri.prototype.append=function(e){if(Ri.isStreamLike(e)){if(!(e instanceof Ci)){var t=Ci.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},Ri.prototype.pipe=function(e,t){return Ei.prototype.pipe.call(this,e,t),this.resume(),e},Ri.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},Ri.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){Ri.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},Ri.prototype._pipeNext=function(e){if(this._currentStream=e,Ri.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},Ri.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},Ri.prototype.write=function(e){this.emit("data",e)},Ri.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},Ri.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},Ri.prototype.end=function(){this._reset(),this.emit("end")},Ri.prototype.destroy=function(){this._reset(),this.emit("close")},Ri.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},Ri.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},Ri.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},Ri.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var Ti={},Ai={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};
|
|
207
|
+
function Jo(e){const t=Qo.parse(e),n={};for(const e in t)void 0!==t[e]&&(n[e]=t[e]);return n}function Xo(){return Jo(document.cookie)}function Yo(e){const t=e.headers.get("cookie"),n=t?Jo(t):{},o=function(e){if("undefined"==typeof document||"undefined"==typeof location)return{};switch(e.credentials){case"same-origin":{const t=new URL(e.url);return location.origin===t.origin?Xo():{}}case"include":return Xo();default:return{}}}(e);for(const t in o)e.headers.append("cookie",Qo.serialize(t,o[t]));const a=pe.getCookiesSync(e.url),i=Object.fromEntries(a.map((e=>[e.key,e.value])));for(const t of a)e.headers.append("cookie",t.toString());return{...o,...i,...n}}var Zo=(e=>(e.HEAD="HEAD",e.GET="GET",e.POST="POST",e.PUT="PUT",e.PATCH="PATCH",e.OPTIONS="OPTIONS",e.DELETE="DELETE",e))(Zo||{});class ea extends C{constructor(e,t,n,o){super({info:{header:`${e} ${t}`,path:t,method:e},resolver:n,options:o}),this.checkRedundantQueryParameters()}checkRedundantQueryParameters(){const{method:e,path:t}=this.info;if(t instanceof RegExp)return;if(tn(t)===t)return;const n=function(e){return new URL(`/${e}`,"http://localhost").searchParams}(t);n.forEach(((e,t)=>{})),w.warn(`Found a redundant usage of query parameters in the request handler URL for "${e} ${t}". Please match against a path instead and access query parameters using "new URL(request.url).searchParams" instead. Learn more: https://mswjs.io/docs/recipes/query-parameters`)}async parse(e){return{match:on(new URL(e.request.url),this.info.path,e.resolutionContext?.baseUrl),cookies:Yo(e.request)}}predicate(e){const t=this.matchMethod(e.request.method),n=e.parsedResult.match.matches;return t&&n}matchMethod(e){return this.info.method instanceof RegExp?this.info.method.test(e):(t=this.info.method,n=e,t.toLowerCase()===n.toLowerCase());var t,n}extendResolverArgs(e){return{params:e.parsedResult.match?.params||{},cookies:e.parsedResult.cookies}}async log(e){const t=S(e.request.url),n=await async function(e){const t=e.clone(),n=await t.text();return{url:new URL(e.url),method:e.method,headers:Object.fromEntries(e.headers.entries()),body:n}}(e.request),o=await async function(e){const t=e.clone(),n=await t.text(),o=t.status||200;return{status:o,statusText:t.statusText||Fo[o]||"OK",headers:Object.fromEntries(t.headers.entries()),body:n}}(e.response),a=(i=o.status)<300?"#69AB32":i<400?"#F0BB4B":"#E95F5D";var i;console.groupCollapsed(w.formatMessage(`${rn()} ${e.request.method} ${t} (%c${o.status} ${o.statusText}%c)`),`color:${a}`,"color:inherit"),console.log("Request",n),console.log("Handler:",this),console.log("Response",o),console.groupEnd()}}function ta(e){return(t,n,o={})=>new ea(e,t,n,o)}const na={all:ta(/.+/),head:ta(Zo.HEAD),get:ta(Zo.GET),post:ta(Zo.POST),put:ta(Zo.PUT),delete:ta(Zo.DELETE),patch:ta(Zo.PATCH),options:ta(Zo.OPTIONS)},oa=Symbol("bodyType");class aa extends Kt{[oa]=null;constructor(e,t){const n=Ke(t);super(e,n),function(e,t){t.type&&Object.defineProperty(e,"type",{value:t.type,enumerable:!0,writable:!1});const n=t.headers.get("set-cookie");if(n&&(Object.defineProperty(e,He,{value:n,enumerable:!1,writable:!1}),"undefined"!=typeof document)){const e=We.prototype.getSetCookie.call(t.headers);for(const t of e)document.cookie=t}}(this,n)}static text(e,t){const n=Ke(t);return n.headers.has("Content-Type")||n.headers.set("Content-Type","text/plain"),n.headers.has("Content-Length")||n.headers.set("Content-Length",e?new Blob([e]).size.toString():"0"),new aa(e,n)}static json(e,t){const n=Ke(t);n.headers.has("Content-Type")||n.headers.set("Content-Type","application/json");const o=JSON.stringify(e);return n.headers.has("Content-Length")||n.headers.set("Content-Length",o?new Blob([o]).size.toString():"0"),new aa(o,n)}static xml(e,t){const n=Ke(t);return n.headers.has("Content-Type")||n.headers.set("Content-Type","text/xml"),new aa(e,n)}static html(e,t){const n=Ke(t);return n.headers.has("Content-Type")||n.headers.set("Content-Type","text/html"),new aa(e,n)}static arrayBuffer(e,t){const n=Ke(t);return n.headers.has("Content-Type")||n.headers.set("Content-Type","application/octet-stream"),e&&!n.headers.has("Content-Length")&&n.headers.set("Content-Length",e.byteLength.toString()),new aa(e,n)}static formData(e,t){return new aa(e,Ke(t))}}k("undefined"!=typeof URL,w.formatMessage('Global "URL" class is not defined. This likely means that you\'re running MSW in an environment that doesn\'t support all Node.js standard API (e.g. React Native). If that\'s the case, please use an appropriate polyfill for the "URL" class, like "react-native-url-polyfill".'));var ia,ra={content:[{test_credential:!0,organization_code:"de2844c3-30c7-461b-8422-a880998646a8",account_code:"8c9701a1-4290-4941-a48f-760b16c16c73",id:83146,code:"a6d708a9-0227-44eb-a044-0738b644d0fb",order_id:"1739814014074",status:"ERROR",sub_status:"ERROR",amount_value:300,currency_code:"MXN",created_at:"2025-02-17T17:40:46.747839Z",updated_at:"2025-02-17T17:40:48.555749Z",captured:0,refunded:0,country:"MX",customer_code:"6c6c8223-0f63-4f17-979c-024839ea7366",description:"test description",subscription_id:"",condition_set_id:17491,payment_type:"",transaction_payment:[{code:"5d1558b0-4e6a-4268-a543-7b713b1de986",provider_id:"DLOCAL",payment_method_type:"CARD",parent_payment_method_type:null}],customer_payer:[{customer_payer_id:82453,payment_id:83146,document_number:"IESF960301230",email:"rizinuta@fijwam.eg"}],card_transaction:[{card_transaction_id:19733,transaction_id:83459,three_ds_electronic_commerce_indicator:null,three_ds_transaction_id:null,bin:"41111111",brand:"VISA",installments:1,network_token:null}],bnpl_transaction:[]},{test_credential:!1,organization_code:"de2844c3-30c7-461b-8422-a880998646a8",account_code:"8c9701a1-4290-4941-a48f-760b16c16c73",id:83145,code:"240622a6-654d-44de-ae61-b718afeeb78f",order_id:"1739813914789",status:"ERROR",sub_status:"ERROR",amount_value:300,currency_code:"MXN",created_at:"2025-02-17T17:39:04.220012Z",updated_at:"2025-02-17T17:39:05.658776Z",captured:0,refunded:0,country:"MX",customer_code:"46f88791-1c4b-40cb-b0b6-889a87529775",description:"test description",subscription_id:"",condition_set_id:17491,payment_type:"",transaction_payment:[{code:"2e1180e4-4a2a-4f63-ab7a-25e2ec07314a",provider_id:"DLOCAL",payment_method_type:"CARD",parent_payment_method_type:null}],customer_payer:[{customer_payer_id:82452,payment_id:83145,document_number:"GOOT991014HASNLT07",email:"beisguw@obi.cv"}],card_transaction:[{card_transaction_id:19732,transaction_id:83458,three_ds_electronic_commerce_indicator:null,three_ds_transaction_id:null,bin:"41111111",brand:"VISA",installments:1,network_token:null}],bnpl_transaction:[]},{organization_code:"de2844c3-30c7-461b-8422-a880998646a8",account_code:"8c9701a1-4290-4941-a48f-760b16c16c73",id:83144,code:"98855a76-4a79-4d2e-9a0a-876a1541a95e",order_id:"2222T",status:"ERROR",sub_status:"ERROR",amount_value:250,currency_code:"MXN",created_at:"2025-02-17T17:38:17.243160Z",updated_at:"2025-02-17T17:38:18.866741Z",captured:0,refunded:0,country:"MX",customer_code:"4aa110f9-4f85-4351-92e8-7513338bfc00",description:"SUCCEEDED",subscription_id:"",condition_set_id:17491,payment_type:"",transaction_payment:[{code:"250e2c9c-b178-4762-9364-9037a8ed99a6",provider_id:"DLOCAL",payment_method_type:"CARD",parent_payment_method_type:null}],customer_payer:[{customer_payer_id:82451,payment_id:83144,document_number:"9999999999",email:"tito.gonzalez@y.uno"}],card_transaction:[{card_transaction_id:19731,transaction_id:83457,three_ds_electronic_commerce_indicator:null,three_ds_transaction_id:null,bin:"41111111",brand:"VISA",installments:1,network_token:null}],bnpl_transaction:[]}],last_page:!0},sa={test_credential:!0,id:83146,code:"a6d708a9-0227-44eb-a044-0738b644d0fb",order_id:"1739814014074",customer_code:"6c6c8223-0f63-4f17-979c-024839ea7366",organization_customer_external_id:"1739814014074",checkout_session:"b6ac7dcf-d76e-4d94-a781-5c6642aac69b",status:"ERROR",amount_value:300,currency_code:"MXN",description:"test description",created_at:"2025-02-17T17:40:46.747839Z",updated_at:"2025-02-17T17:40:48.555749Z",organization_code:"de2844c3-30c7-461b-8422-a880998646a8",account_code:"8c9701a1-4290-4941-a48f-760b16c16c73",country:"MX",is_sdk_action_required:!1,idempotency_key:"29ebcc56-977d-44ee-aea0-6aa5fc1893d7",sub_status:"ERROR",workflow:"SDK_CHECKOUT",callback_url:"https://demo.dev.y.uno/testing/checkout/status?checkoutSession=b6ac7dcf-d76e-4d94-a781-5c6642aac69b",platform:"WEB",routing_flow_code:"06d778ad-1824-41c8-a80f-e65a8e2417ac",captured:0,refunded:0,account_integration_code:null,metadata:"[]",chargeback:0,in_dispute:0,checkout_url:null,payment_link_code:"",trace_id:"00df007e-5603-4173-87cf-336fe81429a4",version:null,merchant_reference:"1739814014074",api_version:"v1",has_fraud_screening:!1,routing_metadata:"{}",sdk_abandoned_reason:null,subscription_code:null,subscription_payment_code:null,routing_condition_id:17491,routing_condition_name:null,routing_condition_description:null,currency_conversion_currency_code:null,currency_conversion_amount_value:null,currency_conversion_rate:null,currency_conversion_code:null,provider_currency_conversion_id:null,has_multiple_payment_methods:!1,request_origin:null,request_header_origin:"",subscription_billing_cycle:null,subscription_retry_count:null,smart_routing:!1,monitors:null,airline_passenger:[],airline_leg:[],airline_ticket:[],airline_ticket_issue:[],customer_payer:[{id:82453,email:"rizinuta@fijwam.eg",gender:"female",last_name:"Hegmann",created_at:"2025-02-17T17:40:46.756582+00:00",first_name:"Aaron",ip_address:"187.189.168.116",payment_id:83146,updated_at:"2025-02-17T17:40:46.756584+00:00",nationality:"MX",phone_number:"3991111111",customer_code:"6c6c8223-0f63-4f17-979c-024839ea7366",date_of_birth:"1990-02-28",document_type:"RFC",document_number:"IESF960301230",device_fingerprint:null,phone_country_code:"52",device_fingerprints:"{}",geolocation_latitude:null,browser_info_language:"en",geolocation_longitude:null,third_party_session_id:null,browser_info_user_agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36",payment_method_payer_id:null,browser_info_color_depth:"5",browser_info_java_enabled:"false",browser_info_screen_width:"8",browser_info_accept_header:"application/json",browser_info_screen_height:"8",browser_info_accept_browser:"*/*",browser_info_accept_content:"*/*",merchant_customer_created_at:null,browser_info_javascript_enabled:"true",organization_customer_external_id:"1739814014074",browser_info_browser_time_difference:"300"}],payment_order:[{id:73140,created_at:"2025-02-17T17:40:46.789867+00:00",fee_amount:null,payment_id:83146,tip_amount:null,updated_at:"2025-02-17T17:40:46.789868+00:00",sales_channel:null,shipping_amount:0,fulfillment_mongo_id:null}],order_item:[{id:73619,name:"Skirt",brand:"XYZ",id_item:"123AD",category:"Clothes",quantity:1,sku_code:"8765432109",created_at:"2025-02-17T17:40:46.793886+00:00",updated_at:"2025-02-17T17:40:46.793888+00:00",unit_amount:300,payment_order_id:73140,manufacture_part_number:"XYZ123456"}],customer_payer_address:[{id:161666,type:"SHIPPING",created_at:"2025-02-17T17:40:46.767136+00:00",updated_at:"2025-02-17T17:40:46.767138+00:00",address_city:"Bogotá",address_state:"Cundinamarca",address_line_1:"Calle 34 # 56 - 78",address_line_2:"Apartamento 502, Torre I",address_country:"MX",address_zip_code:"68890000",customer_payer_id:82453,address_neighborhood:null},{id:161667,type:"BILLING",created_at:"2025-02-17T17:40:46.77174+00:00",updated_at:"2025-02-17T17:40:46.771742+00:00",address_city:"Bogotá",address_state:"Cundinamarca",address_line_1:"Calle 34 # 56 - 78",address_line_2:null,address_country:"MX",address_zip_code:"68890000",customer_payer_id:82453,address_neighborhood:null}],payment_tax:[],payment_order_tax:[],payment_order_shipping:[],payment_airline:[],payment_seller_details:{}},ca={test_credential:!1,id:83145,code:"240622a6-654d-44de-ae61-b718afeeb78f",order_id:"1739813914789",customer_code:"46f88791-1c4b-40cb-b0b6-889a87529775",organization_customer_external_id:"1739813914789",checkout_session:"b80837d6-a234-486f-a28d-d6bf3fab9da3",status:"ERROR",amount_value:300,currency_code:"MXN",description:"test description",created_at:"2025-02-17T17:39:04.220012Z",updated_at:"2025-02-17T17:39:05.658776Z",organization_code:"de2844c3-30c7-461b-8422-a880998646a8",account_code:"8c9701a1-4290-4941-a48f-760b16c16c73",country:"MX",is_sdk_action_required:!1,idempotency_key:"f68e1740-7c89-443b-bd17-0a80d758477d",sub_status:"ERROR",workflow:"SDK_CHECKOUT",callback_url:"https://demo.dev.y.uno/testing/checkout/status?checkoutSession=b80837d6-a234-486f-a28d-d6bf3fab9da3",platform:"WEB",routing_flow_code:"e45f1ef1-3d24-4d83-bc91-2f6ca5159dc7",captured:0,refunded:0,account_integration_code:null,metadata:"[]",chargeback:0,in_dispute:0,checkout_url:null,payment_link_code:"",trace_id:"faf5c3bc-eae2-4192-9680-3783332796af",version:null,merchant_reference:"1739813914789",api_version:"v1",has_fraud_screening:!1,routing_metadata:"{}",sdk_abandoned_reason:null,subscription_code:null,subscription_payment_code:null,routing_condition_id:17491,routing_condition_name:null,routing_condition_description:null,currency_conversion_currency_code:null,currency_conversion_amount_value:null,currency_conversion_rate:null,currency_conversion_code:null,provider_currency_conversion_id:null,has_multiple_payment_methods:!1,request_origin:null,request_header_origin:"",subscription_billing_cycle:null,subscription_retry_count:null,smart_routing:!1,monitors:null,airline_passenger:[],airline_leg:[],airline_ticket:[],airline_ticket_issue:[],customer_payer:[{id:82452,email:"beisguw@obi.cv",gender:"female",last_name:"Hegmann",created_at:"2025-02-17T17:39:04.227478+00:00",first_name:"Aaron",ip_address:"187.189.168.116",payment_id:83145,updated_at:"2025-02-17T17:39:04.22748+00:00",nationality:"MX",phone_number:"3991111111",customer_code:"46f88791-1c4b-40cb-b0b6-889a87529775",date_of_birth:"1990-02-28",document_type:"CURP",document_number:"GOOT991014HASNLT07",device_fingerprint:null,phone_country_code:"52",device_fingerprints:"{}",geolocation_latitude:null,browser_info_language:"en",geolocation_longitude:null,third_party_session_id:null,browser_info_user_agent:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36",payment_method_payer_id:null,browser_info_color_depth:"5",browser_info_java_enabled:"false",browser_info_screen_width:"8",browser_info_accept_header:"application/json",browser_info_screen_height:"8",browser_info_accept_browser:"*/*",browser_info_accept_content:"*/*",merchant_customer_created_at:null,browser_info_javascript_enabled:"true",organization_customer_external_id:"1739813914789",browser_info_browser_time_difference:"300"}],payment_order:[{id:73139,created_at:"2025-02-17T17:39:04.25785+00:00",fee_amount:null,payment_id:83145,tip_amount:null,updated_at:"2025-02-17T17:39:04.257851+00:00",sales_channel:null,shipping_amount:0,fulfillment_mongo_id:null}],order_item:[{id:73618,name:"Skirt",brand:"XYZ",id_item:"123AD",category:"Clothes",quantity:1,sku_code:"8765432109",created_at:"2025-02-17T17:39:04.261319+00:00",updated_at:"2025-02-17T17:39:04.26132+00:00",unit_amount:300,payment_order_id:73139,manufacture_part_number:"XYZ123456"}],customer_payer_address:[{id:161664,type:"SHIPPING",created_at:"2025-02-17T17:39:04.237363+00:00",updated_at:"2025-02-17T17:39:04.237364+00:00",address_city:"Bogotá",address_state:"Cundinamarca",address_line_1:"Calle 34 # 56 - 78",address_line_2:"Apartamento 502, Torre I",address_country:"MX",address_zip_code:"68890000",customer_payer_id:82452,address_neighborhood:null},{id:161665,type:"BILLING",created_at:"2025-02-17T17:39:04.241131+00:00",updated_at:"2025-02-17T17:39:04.241132+00:00",address_city:"Bogotá",address_state:"Cundinamarca",address_line_1:"Calle 34 # 56 - 78",address_line_2:null,address_country:"MX",address_zip_code:"68890000",customer_payer_id:82452,address_neighborhood:null}],payment_tax:[],payment_order_tax:[],payment_order_shipping:[],payment_airline:[],payment_seller_details:{}},ua={id:83144,code:"98855a76-4a79-4d2e-9a0a-876a1541a95e",order_id:"2222T",customer_code:"4aa110f9-4f85-4351-92e8-7513338bfc00",organization_customer_external_id:"Merchan3",checkout_session:"47f2445d-9105-49ce-9a2a-659977159272",status:"ERROR",amount_value:250,currency_code:"MXN",description:"SUCCEEDED",created_at:"2025-02-17T17:38:17.243160Z",updated_at:"2025-02-17T17:38:18.866741Z",organization_code:"de2844c3-30c7-461b-8422-a880998646a8",account_code:"8c9701a1-4290-4941-a48f-760b16c16c73",country:"MX",is_sdk_action_required:!1,idempotency_key:"6e6a2156-e2ed-40e5-92fa-b105f9e56433",sub_status:"ERROR",workflow:"SDK_CHECKOUT",callback_url:"https://google.com/?checkoutSession=47f2445d-9105-49ce-9a2a-659977159272",platform:null,routing_flow_code:"19ceb649-9a47-4fd4-bb6f-a83a09c62f0c",captured:0,refunded:0,account_integration_code:null,metadata:'[{"key":"country?","value":"MXN"},{"key":"Merchan_type","value":"D05,T5,T6,D02"}]',chargeback:0,in_dispute:0,checkout_url:null,payment_link_code:"",trace_id:"5826b7b5-a68b-44e9-b338-a95045696384",version:null,merchant_reference:"2222T",api_version:"v1",has_fraud_screening:!1,routing_metadata:"{}",sdk_abandoned_reason:null,subscription_code:null,subscription_payment_code:null,routing_condition_id:17491,routing_condition_name:null,routing_condition_description:null,currency_conversion_currency_code:null,currency_conversion_amount_value:null,currency_conversion_rate:null,currency_conversion_code:null,provider_currency_conversion_id:null,has_multiple_payment_methods:!1,request_origin:null,request_header_origin:"",subscription_billing_cycle:null,subscription_retry_count:null,smart_routing:!1,monitors:null,airline_passenger:[],airline_leg:[],airline_ticket:[],airline_ticket_issue:[],customer_payer:[{id:82451,email:"tito.gonzalez@y.uno",gender:"M",last_name:"Olivares",created_at:"2025-02-17T17:38:17.248723+00:00",first_name:"Tito Gonzalez",ip_address:"192.0.2.1",payment_id:83144,updated_at:"2025-02-17T17:38:17.248725+00:00",nationality:"CO",phone_number:"4499068531",customer_code:"4aa110f9-4f85-4351-92e8-7513338bfc00",date_of_birth:"1993-11-11",document_type:"INE",document_number:"9999999999",device_fingerprint:"hi88287gbd8d7d782ge0023",phone_country_code:"52",device_fingerprints:'{"DEFAULT":"hi88287gbd8d7d782ge0023"}',geolocation_latitude:null,browser_info_language:"es",geolocation_longitude:null,third_party_session_id:null,browser_info_user_agent:"string",payment_method_payer_id:null,browser_info_color_depth:"8",browser_info_java_enabled:null,browser_info_screen_width:"720",browser_info_accept_header:"string",browser_info_screen_height:"1280",browser_info_accept_browser:null,browser_info_accept_content:null,merchant_customer_created_at:null,browser_info_javascript_enabled:"true",organization_customer_external_id:"Merchan3",browser_info_browser_time_difference:null}],payment_order:[{id:73138,created_at:"2025-02-17T17:38:17.268872+00:00",fee_amount:0,payment_id:83144,tip_amount:null,updated_at:"2025-02-17T17:38:17.268873+00:00",sales_channel:null,shipping_amount:0,fulfillment_mongo_id:null}],order_item:[{id:73615,name:"Skirt",brand:"XYZ",id_item:"123AD",category:"",quantity:1,sku_code:"8765432109",created_at:"2025-02-17T17:38:17.272809+00:00",updated_at:"2025-02-17T17:38:17.27281+00:00",unit_amount:500,payment_order_id:73138,manufacture_part_number:"XYZ123456"},{id:73616,name:"t-shirt",brand:"Nike",id_item:"333d",category:"clothes",quantity:1,sku_code:"292929292",created_at:"2025-02-17T17:38:17.275665+00:00",updated_at:"2025-02-17T17:38:17.275666+00:00",unit_amount:1e3,payment_order_id:73138,manufacture_part_number:"0A98C0A9"},{id:73617,name:"t-shirt",brand:"FFF",id_item:"089qq8998",category:"clothes",quantity:2,sku_code:"098091",created_at:"2025-02-17T17:38:17.278489+00:00",updated_at:"2025-02-17T17:38:17.27849+00:00",unit_amount:1500,payment_order_id:73138,manufacture_part_number:"0SAD9DD9D"}],customer_payer_address:[{id:161662,type:"SHIPPING",created_at:"2025-02-17T17:38:17.253338+00:00",updated_at:"2025-02-17T17:38:17.253339+00:00",address_city:"Aguascalientes",address_state:"Aguascalientes",address_line_1:"Paseo de la asunción sur 503",address_line_2:"Jardines de Aguascalientes",address_country:"MX",address_zip_code:"20270",customer_payer_id:82451,address_neighborhood:null},{id:161663,type:"BILLING",created_at:"2025-02-17T17:38:17.256549+00:00",updated_at:"2025-02-17T17:38:17.25655+00:00",address_city:"Bogotá",address_state:"Cundinamarca",address_line_1:"Calle 34 # 56 - 78",address_line_2:"Apartamento 502, Torre I",address_country:"MX",address_zip_code:"111111",customer_payer_id:82451,address_neighborhood:null}],payment_tax:[],payment_order_tax:[],payment_order_shipping:[],payment_airline:[],payment_seller_details:{}},la=[{created_at:"2025-05-25T13:50:51.304216Z",amount_value:32350,currency_code:"COP",transaction_type:"PURCHASE",status_history:"DECLINED",provider_id:"REDEBAN_DIRECT",code:"d054b44d-8e22-486a-ac66-f76cc8ddf97a",category:"CARD",merchant_reference:"CO_Order_2337202644",description:null,title_description:"timeLine.purchaseDeclined",light_text:"by provider",show_amount:!0,show_provider:!0,provider_status:null,sub_status_history:null,provider_response_code:null,provider_raw_response:null,parent_payment_method_type:null,wallet_title_description:""},{created_at:"2025-05-25T13:50:49.783312Z",amount_value:32350,currency_code:"COP",transaction_type:"PURCHASE",status_history:"CREATED",provider_id:"REDEBAN_DIRECT",code:"d054b44d-8e22-486a-ac66-f76cc8ddf97a",category:"CARD",merchant_reference:"CO_Order_2337202644",description:"timeLine.descriptionPurchaseCreated",title_description:"timeLine.purchaseCreated",light_text:null,show_amount:!0,show_provider:!0,provider_status:null,sub_status_history:null,provider_response_code:null,provider_raw_response:null,parent_payment_method_type:null,wallet_title_description:""}],pa={content:[{test_credential:!0,id:"83459",code:"5d1558b0-4e6a-4268-a543-7b713b1de986",type:"PURCHASE",transaction_data_type:"transaction",vault_on_success:"",parent_id:"",payment_id:83146,customer_payment_method_code:"",status:"ERROR",category:"CARD",amount:300,created_at:"2025-02-17T17:40:47.474187Z",updated_at:"2025-02-17T17:40:48.203256Z",payment_method:{vaulted_token:"",type:"CARD",vault_on_success:!1,token:"fb0f5521-d61e-43f0-883e-a6629de43f1a",payment_method_detail:{card:{verify:"false",capture:"true",installments:"1",first_installments_deferral:"",installments_type:null,installments_amount:null,soft_descriptor:null,authorization_code:null,retrieval_reference_number:null,card_data:{holder_name:"TITO GLEZ",iin:"41111111",ifd:"1111",expiration_month:"5",expiration_year:"27",number_lenght:"16",security_code_lenght:"3",brand:"VISA",issuer_name:"CONOTOXIA SP Z O O",issuer_code:null,category:"CLASSIC",type:"DEBIT",installments:""}},bnpl:null,bank_transfer:null,wallet:null,payment_link:null,ticket:null}},response_code:"INVALID_CREDENTIALS",response_message:"Invalid credentials",merchant_reference:"1739814014074",provider_data:{id:"83459",transaction_id:"",account_id:"",sub_status:"",status:"",status_detail:"3001",raw_response:{value:'{"code":3001,"message":"Invalid credentials"}'},response_message:"Invalid credentials",raw_notification:"",action_data:'{"image":null,"image_type":null,"redirect":{"init_url":"","success_url":"https://demo.dev.y.uno/testing/checkout/status?checkoutSession=b6ac7dcf-d76e-4d94-a781-5c6642aac69b","error_url":"https://demo.dev.y.uno/testing/checkout/status?checkoutSession=b6ac7dcf-d76e-4d94-a781-5c6642aac69b"},"otp":{"length":0,"expiration_time":null,"retries":{"accepts":null,"number":null},"payment_instructions":null},"payment_code":{"code":null,"reference":"","expiration_time":null},"three_d_secure_redirect":{"init_url":null,"access_token":null,"redirect_url":null},"request_html":null,"sdk_provider":{"gateway":"","provider_id":null,"merchant_id":"","merchant_name":null,"amount":{"currency":"","value":"0"},"protocol_version":null,"payment_methods":null,"payment_method_type":null,"supported_networks":null,"session":null,"init_url":null,"client_id":null,"intent":null,"components":null},"expiration_time":null,"image_details":null,"info":{"screen_info":null},"render_html":null,"ui":null}'},reason:null,description:"test description",one_time_token:"fb0f5521-d61e-43f0-883e-a6629de43f1a",require_action_type:"CHECK_STATUS",parent_provider:"",account_integration_code:"9bf85421-5326-4616-826e-8575a5d69629",technical_reverse_provider_transaction_id:"",technical_reverse_transaction_type:"",technical_reverse_status:"",stand_alone:null,fraud_screening:null}]},da=[na.post("https://dev.y.uno/dashboard-bff/api/payments/lazy",(function(){return aa.json(ra)})),na.get("https://dev.y.uno/dashboard-bff/api/payments/v2/a6d708a9-0227-44eb-a044-0738b644d0fb",(function(){return aa.json(sa)})),na.get("https://dev.y.uno/dashboard-bff/api/payments/v2/240622a6-654d-44de-ae61-b718afeeb78f",(function(){return aa.json(ca)})),na.get("https://dev.y.uno/dashboard-bff/api/payments/v2/98855a76-4a79-4d2e-9a0a-876a1541a95e",(function(){return aa.json(ua)})),na.get("https://dev.y.uno/dashboard-bff/api/transactions/by-payment/:id/history",(function(){return aa.json(la)})),na.get("https://dev.y.uno/dashboard-bff/api/payments/:id/transactions/details",(function(){return aa.json(pa)}))],ma={total:{total_conversion_rate:.8491,insight_payment_total_conversion_rate_periodicity:{"2025-05-05":.854357872962925,"2025-05-06":.8464466315045402,"2025-05-07":.8464068445151444}},cards:{cards_approvals_rate:.8537,insight_payment_total_conversion_rate_periodicity_for_card:{"2025-05-05":.8535902892724836,"2025-05-06":.8544554997052155,"2025-05-07":.8529382291046492}},apms:{apms_conversion_rate:.846,insight_payment_total_conversion_rate_periodicity_for_apm:{"2025-05-05":.8548995923297599,"2025-05-06":.8409580339477246,"2025-05-07":.8419575308800616}},cards_without_insufficient_funds:{without_insufficient_funds_conversion_rate:.8993,insight_conversion_rate_without_insufficient_funds:{"2025-05-05":.9018141803473709,"2025-05-06":.9025951512661153,"2025-05-07":.8933830566240437}}},ha={fraud:{conversion_rate_fraud_transactions:0,conversion_fraud_transactions_periodicity:null},"3ds":{conversion_rate_card_transactions3ds:.25,conversion_rate_card_transactions3ds_periodicity:{"2025-05-05":.2391304347826087,"2025-05-06":.3023255813953488,"2025-05-07":.21568627450980393}}},fa={sales_volume_metric_group:{distribution:[{key:"2025-04-03",total:2146090},{key:"2025-04-04",total:498220},{key:"2025-04-05",total:563560},{key:"2025-04-06",total:822600},{key:"2025-04-07",total:660445},{key:"2025-04-08",total:553400},{key:"2025-04-09",total:464195},{key:"2025-04-10",total:470835},{key:"2025-04-11",total:3482795},{key:"2025-04-12",total:127585},{key:"2025-04-13",total:207200},{key:"2025-04-14",total:245970},{key:"2025-04-15",total:277185},{key:"2025-04-16",total:177485},{key:"2025-04-17",total:147300},{key:"2025-04-18",total:152590},{key:"2025-04-19",total:41800},{key:"2025-04-20",total:1060845},{key:"2025-04-21",total:715160},{key:"2025-04-22",total:686465},{key:"2025-04-23",total:268490},{key:"2025-04-24",total:699500},{key:"2025-04-25",total:306090},{key:"2025-04-26",total:469500},{key:"2025-04-27",total:364800},{key:"2025-04-28",total:1610220},{key:"2025-04-29",total:699965},{key:"2025-04-30",total:482340},{key:"2025-05-01",total:666160},{key:"2025-05-02",total:52565}],total:19121355,average:637378.5},total_payments:{distribution:[{key:"2025-04-03",total:18},{key:"2025-04-04",total:10},{key:"2025-04-05",total:6},{key:"2025-04-06",total:9},{key:"2025-04-07",total:14},{key:"2025-04-08",total:12},{key:"2025-04-09",total:13},{key:"2025-04-10",total:12},{key:"2025-04-11",total:23},{key:"2025-04-12",total:3},{key:"2025-04-13",total:5},{key:"2025-04-14",total:7},{key:"2025-04-15",total:7},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:3},{key:"2025-04-19",total:1},{key:"2025-04-20",total:11},{key:"2025-04-21",total:13},{key:"2025-04-22",total:15},{key:"2025-04-23",total:10},{key:"2025-04-24",total:14},{key:"2025-04-25",total:9},{key:"2025-04-26",total:6},{key:"2025-04-27",total:3},{key:"2025-04-28",total:21},{key:"2025-04-29",total:15},{key:"2025-04-30",total:9},{key:"2025-05-01",total:7},{key:"2025-05-02",total:2}],total:285,average:9.5},average_ticket:{distribution:[{key:"2025-04-03",total:118580.63,min_ticket:12665,max_ticket:882e3},{key:"2025-04-04",total:51146.67,min_ticket:25900,max_ticket:121500},{key:"2025-04-05",total:74692,min_ticket:23800,max_ticket:190100},{key:"2025-04-06",total:85150,min_ticket:20900,max_ticket:141400},{key:"2025-04-07",total:46528.75,min_ticket:16200,max_ticket:125e3},{key:"2025-04-08",total:48290.91,min_ticket:21900,max_ticket:106700},{key:"2025-04-09",total:34366.25,min_ticket:13900,max_ticket:64005},{key:"2025-04-10",total:39730.45,min_ticket:15900,max_ticket:74545},{key:"2025-04-11",total:76968.93,min_ticket:15900,max_ticket:454200},{key:"2025-04-12",total:42528.33,min_ticket:29835,max_ticket:66130},{key:"2025-04-13",total:48800,min_ticket:21900,max_ticket:64800},{key:"2025-04-14",total:35138.57,min_ticket:7900,max_ticket:55100},{key:"2025-04-15",total:41117,min_ticket:35800,max_ticket:53100},{key:"2025-04-16",total:35497,min_ticket:21420,max_ticket:53700},{key:"2025-04-17",total:73650,min_ticket:47700,max_ticket:99600},{key:"2025-04-18",total:47947.5,min_ticket:39200,max_ticket:56695},{key:"2025-04-19",total:41800,min_ticket:41800,max_ticket:41800},{key:"2025-04-20",total:61248.33,min_ticket:25900,max_ticket:121600},{key:"2025-04-21",total:74095,min_ticket:16200,max_ticket:308e3},{key:"2025-04-22",total:47066.54,min_ticket:15900,max_ticket:98200},{key:"2025-04-23",total:28732.22,min_ticket:9900,max_ticket:39200},{key:"2025-04-24",total:40025,min_ticket:20200,max_ticket:109600},{key:"2025-04-25",total:34755.71,min_ticket:15900,max_ticket:45390},{key:"2025-04-26",total:84900,min_ticket:34800,max_ticket:130400},{key:"2025-04-27",total:121600,min_ticket:5e4,max_ticket:162300},{key:"2025-04-28",total:62873.33,min_ticket:21900,max_ticket:293400},{key:"2025-04-29",total:47213.75,min_ticket:11900,max_ticket:113700},{key:"2025-04-30",total:53593.33,min_ticket:27800,max_ticket:120600},{key:"2025-05-01",total:93426.67,min_ticket:15900,max_ticket:159500},{key:"2025-05-02",total:26282.5,min_ticket:22900,max_ticket:29665}],total:58001.28,min_ticket:7900,max_ticket:882e3},conversion_rate:null,total_payments_and_conversion_rate:{payments:{distribution:[{key:"2025-04-03",total:18},{key:"2025-04-04",total:10},{key:"2025-04-05",total:6},{key:"2025-04-06",total:9},{key:"2025-04-07",total:14},{key:"2025-04-08",total:12},{key:"2025-04-09",total:13},{key:"2025-04-10",total:12},{key:"2025-04-11",total:23},{key:"2025-04-12",total:3},{key:"2025-04-13",total:5},{key:"2025-04-14",total:7},{key:"2025-04-15",total:7},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:3},{key:"2025-04-19",total:1},{key:"2025-04-20",total:11},{key:"2025-04-21",total:13},{key:"2025-04-22",total:15},{key:"2025-04-23",total:10},{key:"2025-04-24",total:14},{key:"2025-04-25",total:9},{key:"2025-04-26",total:6},{key:"2025-04-27",total:3},{key:"2025-04-28",total:21},{key:"2025-04-29",total:15},{key:"2025-04-30",total:9},{key:"2025-05-01",total:7},{key:"2025-05-02",total:2}],total:285},conversion_rate:{distribution:[{key:"2025-04-03",total:.8889},{key:"2025-04-04",total:.9},{key:"2025-04-05",total:.8333},{key:"2025-04-06",total:.8889},{key:"2025-04-07",total:.8571},{key:"2025-04-08",total:.9167},{key:"2025-04-09",total:.9231},{key:"2025-04-10",total:.9167},{key:"2025-04-11",total:.6087},{key:"2025-04-12",total:1},{key:"2025-04-13",total:.6},{key:"2025-04-14",total:1},{key:"2025-04-15",total:.7143},{key:"2025-04-16",total:1},{key:"2025-04-17",total:1},{key:"2025-04-18",total:.6667},{key:"2025-04-19",total:1},{key:"2025-04-20",total:.2727},{key:"2025-04-21",total:.6154},{key:"2025-04-22",total:.8667},{key:"2025-04-23",total:.9},{key:"2025-04-24",total:.8571},{key:"2025-04-25",total:.7778},{key:"2025-04-26",total:.6667},{key:"2025-04-27",total:1},{key:"2025-04-28",total:.5714},{key:"2025-04-29",total:.8},{key:"2025-04-30",total:1},{key:"2025-05-01",total:.8571},{key:"2025-05-02",total:1}],total:.793}},quantity_status_distribution:[{SUCCEEDED:{distribution:[{key:"2025-04-03",total:16},{key:"2025-04-04",total:9},{key:"2025-04-05",total:5},{key:"2025-04-06",total:8},{key:"2025-04-07",total:12},{key:"2025-04-08",total:11},{key:"2025-04-09",total:12},{key:"2025-04-10",total:11},{key:"2025-04-11",total:14},{key:"2025-04-12",total:3},{key:"2025-04-13",total:3},{key:"2025-04-14",total:7},{key:"2025-04-15",total:5},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:2},{key:"2025-04-19",total:1},{key:"2025-04-20",total:3},{key:"2025-04-21",total:8},{key:"2025-04-22",total:13},{key:"2025-04-23",total:9},{key:"2025-04-24",total:12},{key:"2025-04-25",total:7},{key:"2025-04-26",total:4},{key:"2025-04-27",total:3},{key:"2025-04-28",total:12},{key:"2025-04-29",total:12},{key:"2025-04-30",total:9},{key:"2025-05-01",total:6},{key:"2025-05-02",total:2}],total:226}},{DECLINED:{distribution:[{key:"2025-04-03",total:2},{key:"2025-04-04",total:1},{key:"2025-04-05",total:1},{key:"2025-04-06",total:1},{key:"2025-04-07",total:2},{key:"2025-04-08",total:1},{key:"2025-04-09",total:1},{key:"2025-04-10",total:1},{key:"2025-04-11",total:9},{key:"2025-04-13",total:2},{key:"2025-04-15",total:2},{key:"2025-04-18",total:1},{key:"2025-04-20",total:8},{key:"2025-04-21",total:5},{key:"2025-04-22",total:2},{key:"2025-04-23",total:1},{key:"2025-04-24",total:2},{key:"2025-04-25",total:2},{key:"2025-04-26",total:2},{key:"2025-04-28",total:9},{key:"2025-04-29",total:3},{key:"2025-05-01",total:1}],total:59}}],volume_successful_payments:13108290,volume_successful_payments_by_periodicity:[{key:"2025-04-03",total:1897290},{key:"2025-04-04",total:460320},{key:"2025-04-05",total:373460},{key:"2025-04-06",total:681200},{key:"2025-04-07",total:558345},{key:"2025-04-08",total:531200},{key:"2025-04-09",total:412395},{key:"2025-04-10",total:437035},{key:"2025-04-11",total:1077565},{key:"2025-04-12",total:127585},{key:"2025-04-13",total:146400},{key:"2025-04-14",total:245970},{key:"2025-04-15",total:205585},{key:"2025-04-16",total:177485},{key:"2025-04-17",total:147300},{key:"2025-04-18",total:95895},{key:"2025-04-19",total:41800},{key:"2025-04-20",total:183745},{key:"2025-04-21",total:592760},{key:"2025-04-22",total:611865},{key:"2025-04-23",total:258590},{key:"2025-04-24",total:480300},{key:"2025-04-25",total:243290},{key:"2025-04-26",total:339600},{key:"2025-04-27",total:364800},{key:"2025-04-28",total:754480},{key:"2025-04-29",total:566565},{key:"2025-04-30",total:482340},{key:"2025-05-01",total:560560},{key:"2025-05-02",total:52565}],quantity_successful_payments:226,quantity_successful_payments_by_periodicity:[{key:"2025-04-03",total:16},{key:"2025-04-04",total:9},{key:"2025-04-05",total:5},{key:"2025-04-06",total:8},{key:"2025-04-07",total:12},{key:"2025-04-08",total:11},{key:"2025-04-09",total:12},{key:"2025-04-10",total:11},{key:"2025-04-11",total:14},{key:"2025-04-12",total:3},{key:"2025-04-13",total:3},{key:"2025-04-14",total:7},{key:"2025-04-15",total:5},{key:"2025-04-16",total:5},{key:"2025-04-17",total:2},{key:"2025-04-18",total:2},{key:"2025-04-19",total:1},{key:"2025-04-20",total:3},{key:"2025-04-21",total:8},{key:"2025-04-22",total:13},{key:"2025-04-23",total:9},{key:"2025-04-24",total:12},{key:"2025-04-25",total:7},{key:"2025-04-26",total:4},{key:"2025-04-27",total:3},{key:"2025-04-28",total:12},{key:"2025-04-29",total:12},{key:"2025-04-30",total:9},{key:"2025-05-01",total:6},{key:"2025-05-02",total:2}],average_provider_latency:[{PAYMENTEZ:{distribution:[{key:"2025-04-03",total:1582.1429},{key:"2025-04-04",total:1972.6667},{key:"2025-04-05",total:2059.25},{key:"2025-04-06",total:1772},{key:"2025-04-07",total:1236.1667},{key:"2025-04-08",total:1310.7143},{key:"2025-04-09",total:1645.25},{key:"2025-04-10",total:2277},{key:"2025-04-11",total:1729.7143},{key:"2025-04-12",total:0},{key:"2025-04-13",total:1870},{key:"2025-04-14",total:1109},{key:"2025-04-15",total:1110},{key:"2025-04-16",total:1255.5},{key:"2025-04-17",total:0},{key:"2025-04-18",total:0},{key:"2025-04-19",total:1930},{key:"2025-04-20",total:0},{key:"2025-04-21",total:1502.3333},{key:"2025-04-22",total:2444.25},{key:"2025-04-23",total:1450.6667},{key:"2025-04-24",total:1376.75},{key:"2025-04-25",total:2074},{key:"2025-04-26",total:2339.75},{key:"2025-04-27",total:0},{key:"2025-04-28",total:1719.8},{key:"2025-04-29",total:1600.5},{key:"2025-04-30",total:1692.5},{key:"2025-05-01",total:1468.5},{key:"2025-05-02",total:0}],total:1727.7576}},{NUVEI:{distribution:[{key:"2025-04-03",total:3110.5},{key:"2025-04-04",total:2706.6667},{key:"2025-04-05",total:3637.5},{key:"2025-04-06",total:2654.4},{key:"2025-04-07",total:3068.1429},{key:"2025-04-08",total:2907.6},{key:"2025-04-09",total:2998.6667},{key:"2025-04-10",total:2732.5714},{key:"2025-04-11",total:3071.4167},{key:"2025-04-12",total:3222},{key:"2025-04-13",total:3020.3333},{key:"2025-04-14",total:2870},{key:"2025-04-15",total:3333},{key:"2025-04-16",total:3319},{key:"2025-04-17",total:3217},{key:"2025-04-18",total:2612},{key:"2025-04-19",total:0},{key:"2025-04-20",total:1829.7778},{key:"2025-04-21",total:2948.875},{key:"2025-04-22",total:3199},{key:"2025-04-23",total:2890.5},{key:"2025-04-24",total:3157},{key:"2025-04-25",total:3302},{key:"2025-04-26",total:2752},{key:"2025-04-27",total:3965.6667},{key:"2025-04-28",total:3059.7333},{key:"2025-04-29",total:3012.1},{key:"2025-04-30",total:3227.6667},{key:"2025-05-01",total:2788.6667},{key:"2025-05-02",total:3353}],total:2973.3793}},{WOMPI:{distribution:[{key:"2025-04-03",total:6647},{key:"2025-04-04",total:5687},{key:"2025-04-05",total:0},{key:"2025-04-06",total:5731.6667},{key:"2025-04-07",total:4024},{key:"2025-04-08",total:8196},{key:"2025-04-09",total:6371.25},{key:"2025-04-10",total:4857},{key:"2025-04-11",total:5636.6364},{key:"2025-04-12",total:0},{key:"2025-04-13",total:7057.5},{key:"2025-04-14",total:0},{key:"2025-04-15",total:6098.3333},{key:"2025-04-16",total:7633},{key:"2025-04-17",total:4292},{key:"2025-04-18",total:7642.5},{key:"2025-04-19",total:0},{key:"2025-04-20",total:7386.5},{key:"2025-04-21",total:6093.1667},{key:"2025-04-22",total:7832.75},{key:"2025-04-23",total:5280.4},{key:"2025-04-24",total:7190.5},{key:"2025-04-25",total:0},{key:"2025-04-26",total:4156},{key:"2025-04-27",total:0},{key:"2025-04-28",total:8211.6667},{key:"2025-04-29",total:6907.3333},{key:"2025-04-30",total:6054},{key:"2025-05-01",total:7726.3333},{key:"2025-05-02",total:0}],total:6579.7901}}],total_subscriptions_and_conversion_rate:{subscriptions:{distribution:null,total:0},subscriptions_succeeded:{distribution:null,total:0},conversion_rate:{distribution:null,total:0}},total_status_distribution:[{SUCCEEDED:{distribution:[{key:"2025-04-03",total:1897290},{key:"2025-04-04",total:460320},{key:"2025-04-05",total:373460},{key:"2025-04-06",total:681200},{key:"2025-04-07",total:558345},{key:"2025-04-08",total:531200},{key:"2025-04-09",total:412395},{key:"2025-04-10",total:437035},{key:"2025-04-11",total:1077565},{key:"2025-04-12",total:127585},{key:"2025-04-13",total:146400},{key:"2025-04-14",total:245970},{key:"2025-04-15",total:205585},{key:"2025-04-16",total:177485},{key:"2025-04-17",total:147300},{key:"2025-04-18",total:95895},{key:"2025-04-19",total:41800},{key:"2025-04-20",total:183745},{key:"2025-04-21",total:592760},{key:"2025-04-22",total:611865},{key:"2025-04-23",total:258590},{key:"2025-04-24",total:480300},{key:"2025-04-25",total:243290},{key:"2025-04-26",total:339600},{key:"2025-04-27",total:364800},{key:"2025-04-28",total:754480},{key:"2025-04-29",total:566565},{key:"2025-04-30",total:482340},{key:"2025-05-01",total:560560},{key:"2025-05-02",total:52565}],total:13108290}},{DECLINED:{distribution:[{key:"2025-04-03",total:248800},{key:"2025-04-04",total:37900},{key:"2025-04-05",total:190100},{key:"2025-04-06",total:141400},{key:"2025-04-07",total:102100},{key:"2025-04-08",total:22200},{key:"2025-04-09",total:51800},{key:"2025-04-10",total:33800},{key:"2025-04-11",total:2405230},{key:"2025-04-13",total:60800},{key:"2025-04-15",total:71600},{key:"2025-04-18",total:56695},{key:"2025-04-20",total:877100},{key:"2025-04-21",total:122400},{key:"2025-04-22",total:74600},{key:"2025-04-23",total:9900},{key:"2025-04-24",total:219200},{key:"2025-04-25",total:62800},{key:"2025-04-26",total:129900},{key:"2025-04-28",total:855740},{key:"2025-04-29",total:133400},{key:"2025-05-01",total:105600}],total:6013065}}]};!function(e){e.GENERAL="volume-and-total-payments",e.LATENCY="provider-latency",e.STATUS="status",e.SUBSCRIPTIONS="subscriptions"}(ia||(ia={}));var ga={sales_volume_metric_group:fa.sales_volume_metric_group,total_payments:fa.total_payments},ya=na.get("/api/insights/overview-metrics",(function(){return aa.json(ga)})),va=[na.get("/api/v3/insights/overview-metrics/".concat(ia.GENERAL),(function(){return aa.json({sales_volume_metric_group:ga.sales_volume_metric_group})})),na.get("/api/v3/insights/overview-metrics/".concat(ia.LATENCY),(function(){return aa.json({latency_metrics:{average_response_time:250,distribution:[{key:"2025-04-01",value:200},{key:"2025-04-02",value:300}]}})})),na.get("/api/v3/insights/overview-metrics/".concat(ia.STATUS),(function(){return aa.json({status_metrics:{success_rate:95,distribution:[{key:"2025-04-01",value:98},{key:"2025-04-02",value:92}]}})})),na.get("/api/v3/insights/overview-metrics/".concat(ia.SUBSCRIPTIONS),(function(){return aa.json({subscription_metrics:{active_subscriptions:1e3,distribution:[{key:"2025-04-01",value:950},{key:"2025-04-02",value:1050}]}})}))],ba=e.__spreadArray([ya],va,!0),ka=e.__spreadArray([na.post("https://dev.y.uno/dashboard-bff/api/v3/insights/conversion-rate/overview",(function(){return aa.json(ma)})),na.post("https://dev.y.uno/dashboard-bff/api/v3/insights/conversion-rate/overview-fraud-3ds",(function(){return aa.json(ha)})),na.get("*/dialogs",(function(){return aa.json({})})),na.get("*/accounts/webhooks/:accountCode",(function(){return aa.json({})})),na.get("*/accounts/webhooks/params-catalog",(function(){return aa.json({})})),na.get("*/accounts/webhooks-v2/:accountCode",(function(){return aa.json({})}))],ba,!0),xa=e.__spreadArray(e.__spreadArray([],da,!0),ka,!0),wa=function(...e){return new Mo(...e)}.apply(void 0,xa),ja="MSW_ENABLED";function _a(e){e?(localStorage.setItem(ja,"true"),console.info("MSW enabled. Reload the page to activate the mocks.")):(localStorage.removeItem(ja),console.info("MSW disabled. Reload the page to disable the mocks.")),window.location.reload()}function Ea(){return"true"===localStorage.getItem(ja)}function Ca(e,t){return function(){return e.apply(t,arguments)}}"undefined"!=typeof window&&(window.enableMSW=function(){return _a(!0)},window.disableMSW=function(){return _a(!1)},window.isMSWEnabled=Ea);const{toString:Sa}=Object.prototype,{getPrototypeOf:Ra}=Object,{iterator:Ta,toStringTag:Aa}=Symbol,Ia=(Oa=Object.create(null),e=>{const t=Sa.call(e);return Oa[t]||(Oa[t]=t.slice(8,-1).toLowerCase())});var Oa;const za=e=>(e=e.toLowerCase(),t=>Ia(t)===e),Pa=e=>t=>typeof t===e,{isArray:La}=Array,Da=Pa("undefined");const qa=za("ArrayBuffer");const Na=Pa("string"),Ma=Pa("function"),Fa=Pa("number"),Ba=e=>null!==e&&"object"==typeof e,Ua=e=>{if("object"!==Ia(e))return!1;const t=Ra(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Aa in e||Ta in e)},Ga=za("Date"),Wa=za("File"),Va=za("Blob"),Ha=za("FileList"),Ka=za("URLSearchParams"),[$a,Qa,Ja,Xa]=["ReadableStream","Request","Response","Headers"].map(za);function Ya(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let o,a;if("object"!=typeof e&&(e=[e]),La(e))for(o=0,a=e.length;o<a;o++)t.call(null,e[o],o,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let r;for(o=0;o<i;o++)r=a[o],t.call(null,e[r],r,e)}}function Za(e,t){t=t.toLowerCase();const n=Object.keys(e);let o,a=n.length;for(;a-- >0;)if(o=n[a],t===o.toLowerCase())return o;return null}const ei="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,ti=e=>!Da(e)&&e!==ei;const ni=(e=>t=>e&&t instanceof e)("undefined"!=typeof Uint8Array&&Ra(Uint8Array)),oi=za("HTMLFormElement"),ai=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ii=za("RegExp"),ri=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Ya(n,((n,a)=>{let i;!1!==(i=t(n,a,e))&&(o[a]=i||n)})),Object.defineProperties(e,o)};const si=za("AsyncFunction"),ci=(ui="function"==typeof setImmediate,li=Ma(ei.postMessage),ui?setImmediate:li?(pi=`axios@${Math.random()}`,di=[],ei.addEventListener("message",(({source:e,data:t})=>{e===ei&&t===pi&&di.length&&di.shift()()}),!1),e=>{di.push(e),ei.postMessage(pi,"*")}):e=>setTimeout(e));var ui,li,pi,di;const mi="undefined"!=typeof queueMicrotask?queueMicrotask.bind(ei):"undefined"!=typeof process&&process.nextTick||ci;var hi={isArray:La,isArrayBuffer:qa,isBuffer:function(e){return null!==e&&!Da(e)&&null!==e.constructor&&!Da(e.constructor)&&Ma(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||Ma(e.append)&&("formdata"===(t=Ia(e))||"object"===t&&Ma(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&qa(e.buffer),t},isString:Na,isNumber:Fa,isBoolean:e=>!0===e||!1===e,isObject:Ba,isPlainObject:Ua,isReadableStream:$a,isRequest:Qa,isResponse:Ja,isHeaders:Xa,isUndefined:Da,isDate:Ga,isFile:Wa,isBlob:Va,isRegExp:ii,isFunction:Ma,isStream:e=>Ba(e)&&Ma(e.pipe),isURLSearchParams:Ka,isTypedArray:ni,isFileList:Ha,forEach:Ya,merge:function e(){const{caseless:t}=ti(this)&&this||{},n={},o=(o,a)=>{const i=t&&Za(n,a)||a;Ua(n[i])&&Ua(o)?n[i]=e(n[i],o):Ua(o)?n[i]=e({},o):La(o)?n[i]=o.slice():n[i]=o};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Ya(arguments[e],o);return n},extend:(e,t,n,{allOwnKeys:o}={})=>(Ya(t,((t,o)=>{n&&Ma(t)?e[o]=Ca(t,n):e[o]=t}),{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,o)=>{let a,i,r;const s={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)r=a[i],o&&!o(r,e,t)||s[r]||(t[r]=e[r],s[r]=!0);e=!1!==n&&Ra(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Ia,kindOfTest:za,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return-1!==o&&o===n},toArray:e=>{if(!e)return null;if(La(e))return e;let t=e.length;if(!Fa(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Ta]).call(e);let o;for(;(o=n.next())&&!o.done;){const n=o.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const o=[];for(;null!==(n=e.exec(t));)o.push(n);return o},isHTMLForm:oi,hasOwnProperty:ai,hasOwnProp:ai,reduceDescriptors:ri,freezeMethods:e=>{ri(e,((t,n)=>{if(Ma(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const o=e[n];Ma(o)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},o=e=>{e.forEach((e=>{n[e]=!0}))};return La(e)?o(e):o(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Za,global:ei,isContextDefined:ti,isSpecCompliantForm:function(e){return!!(e&&Ma(e.append)&&"FormData"===e[Aa]&&e[Ta])},toJSONObject:e=>{const t=new Array(10),n=(e,o)=>{if(Ba(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[o]=e;const a=La(e)?[]:{};return Ya(e,((e,t)=>{const i=n(e,o+1);!Da(i)&&(a[t]=i)})),t[o]=void 0,a}}return e};return n(e,0)},isAsyncFn:si,isThenable:e=>e&&(Ba(e)||Ma(e))&&Ma(e.then)&&Ma(e.catch),setImmediate:ci,asap:mi,isIterable:e=>null!=e&&Ma(e[Ta])};function fi(e,t,n,o,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),a&&(this.response=a,this.status=a.status?a.status:null)}hi.inherits(fi,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:hi.toJSONObject(this.config),code:this.code,status:this.status}}});const gi=fi.prototype,yi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{yi[e]={value:e}})),Object.defineProperties(fi,yi),Object.defineProperty(gi,"isAxiosError",{value:!0}),fi.from=(e,t,n,o,a,i)=>{const r=Object.create(gi);return hi.toFlatObject(e,r,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),fi.call(r,e.message,t,n,o,a),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};var vi="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function bi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ki=n.Stream,xi=wi;function wi(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}t.inherits(wi,ki),wi.create=function(e,t){var n=new this;for(var o in t=t||{})n[o]=t[o];n.source=e;var a=e.emit;return e.emit=function(){return n._handleEmit(arguments),a.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(wi.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),wi.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},wi.prototype.resume=function(){this._released||this.release(),this.source.resume()},wi.prototype.pause=function(){this.source.pause()},wi.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},wi.prototype.pipe=function(){var e=ki.prototype.pipe.apply(this,arguments);return this.resume(),e},wi.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},wi.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}};var ji=t,_i=n.Stream,Ei=xi,Ci=Si;function Si(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}ji.inherits(Si,_i),Si.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},Si.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},Si.prototype.append=function(e){if(Si.isStreamLike(e)){if(!(e instanceof Ei)){var t=Ei.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},Si.prototype.pipe=function(e,t){return _i.prototype.pipe.call(this,e,t),this.resume(),e},Si.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},Si.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){Si.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},Si.prototype._pipeNext=function(e){if(this._currentStream=e,Si.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},Si.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},Si.prototype.write=function(e){this.emit("data",e)},Si.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},Si.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},Si.prototype.end=function(){this._reset(),this.emit("end")},Si.prototype.destroy=function(){this._reset(),this.emit("close")},Si.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},Si.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},Si.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},Si.prototype._emitError=function(e){this._reset(),this.emit("error",e)};var Ri={},Ti={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}};
|
|
208
208
|
/*!
|
|
209
209
|
* mime-types
|
|
210
210
|
* Copyright(c) 2014 Jonathan Ong
|
|
211
211
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
212
212
|
* MIT Licensed
|
|
213
213
|
*/
|
|
214
|
-
!function(e){var t,n,a,i=Ai,r=o.extname,s=/^\s*([^;\s]*)(?:;|\s|$)/,c=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=s.exec(e),n=t&&i[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!c.test(t[1]))&&"UTF-8"}e.charset=u,e.charsets={lookup:u},e.contentType=function(t){if(!t||"string"!=typeof t)return!1;var n=-1===t.indexOf("/")?e.lookup(t):t;if(!n)return!1;if(-1===n.indexOf("charset")){var o=e.charset(n);o&&(n+="; charset="+o.toLowerCase())}return n},e.extension=function(t){if(!t||"string"!=typeof t)return!1;var n=s.exec(t),o=n&&e.extensions[n[1].toLowerCase()];if(!o||!o.length)return!1;return o[0]},e.extensions=Object.create(null),e.lookup=function(t){if(!t||"string"!=typeof t)return!1;var n=r("x."+t).toLowerCase().substr(1);if(!n)return!1;return e.types[n]||!1},e.types=Object.create(null),t=e.extensions,n=e.types,a=["nginx","apache",void 0,"iana"],Object.keys(i).forEach((function(e){var o=i[e],r=o.extensions;if(r&&r.length){t[e]=r;for(var s=0;s<r.length;s++){var c=r[s];if(n[c]){var u=a.indexOf(i[n[c]].source),l=a.indexOf(o.source);if("application/octet-stream"!==n[c]&&(u>l||u===l&&"application/"===n[c].substr(0,12)))continue}n[c]=e}}}))}(Ti);var Ii=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)},Oi=function(e){var t=!1;return Ii((function(){t=!0})),function(n,o){t?e(n,o):Ii((function(){e(n,o)}))}};var zi=function(e){Object.keys(e.jobs).forEach(Pi.bind(e)),e.jobs={}};function Pi(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var Li=Oi,Di=zi,qi=function(e,t,n,o){var a=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[a]=function(e,t,n,o){var a;a=2==e.length?e(n,Li(o)):e(n,t,Li(o));return a}(t,a,e[a],(function(e,t){a in n.jobs&&(delete n.jobs[a],e?Di(n):n.results[a]=t,o(e,n.results))}))};var Ni=function(e,t){var n=!Array.isArray(e),o={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};t&&o.keyedList.sort(n?t:function(n,o){return t(e[n],e[o])});return o};var Mi=zi,Fi=Oi,Bi=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,Mi(this),Fi(e)(null,this.results)};var Ui=qi,Gi=Ni,Wi=Bi,Vi=function(e,t,n){var o=Gi(e);for(;o.index<(o.keyedList||e).length;)Ui(e,t,o,(function(e,t){e?n(e,t):0!==Object.keys(o.jobs).length||n(null,o.results)})),o.index++;return Wi.bind(o,n)};var Hi={exports:{}},Ki=qi,$i=Ni,Qi=Bi;function Ji(e,t){return e<t?-1:e>t?1:0}Hi.exports=function(e,t,n,o){var a=$i(e,n);return Ki(e,t,a,(function n(i,r){i?o(i,r):(a.index++,a.index<(a.keyedList||e).length?Ki(e,t,a,n):o(null,a.results))})),Qi.bind(a,o)},Hi.exports.ascending=Ji,Hi.exports.descending=function(e,t){return-1*Ji(e,t)};var Xi=Hi.exports,Yi=Xi,Zi=function(e,t,n){return Yi(e,t,null,n)};var er={parallel:Vi,serial:Zi,serialOrdered:Xi},tr=Object,nr=Error,or=EvalError,ar=RangeError,ir=ReferenceError,rr=SyntaxError,sr=TypeError,cr=URIError,ur=Math.abs,lr=Math.floor,pr=Math.max,dr=Math.min,mr=Math.pow,hr=Math.round,fr=Number.isNaN||function(e){return e!=e},gr=Object.getOwnPropertyDescriptor;if(gr)try{gr([],"length")}catch(e){gr=null}var yr=gr,vr=Object.defineProperty||!1;if(vr)try{vr({},"a",{value:1})}catch(e){vr=!1}var br,kr,xr,wr,jr,_r,Er,Cr,Sr,Rr,Tr,Ar,Ir,Or,zr,Pr,Lr=vr;function Dr(){return kr?br:(kr=1,br=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var o in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0})}function qr(){return _r?jr:(_r=1,jr="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function Nr(){return Cr?Er:(Cr=1,Er=tr.getPrototypeOf||null)}function Mr(){if(Rr)return Sr;Rr=1;var e=Object.prototype.toString,t=Math.max,n=function(e,t){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n};return Sr=function(o){var a=this;if("function"!=typeof a||"[object Function]"!==e.apply(a))throw new TypeError("Function.prototype.bind called on incompatible "+a);for(var i,r=function(e,t){for(var n=[],o=t||0,a=0;o<e.length;o+=1,a+=1)n[a]=e[o];return n}(arguments,1),s=t(0,a.length-r.length),c=[],u=0;u<s;u++)c[u]="$"+u;if(i=Function("binder","return function ("+function(e,t){for(var n="",o=0;o<e.length;o+=1)n+=e[o],o+1<e.length&&(n+=t);return n}(c,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var e=a.apply(this,n(r,arguments));return Object(e)===e?e:this}return a.apply(o,n(r,arguments))})),a.prototype){var l=function(){};l.prototype=a.prototype,i.prototype=new l,l.prototype=null}return i},Sr}function Fr(){if(Ar)return Tr;Ar=1;var e=Mr();return Tr=Function.prototype.bind||e}function Br(){return Or?Ir:(Or=1,Ir=Function.prototype.call)}function Ur(){return Pr?zr:(Pr=1,zr=Function.prototype.apply)}var Gr,Wr,Vr,Hr,Kr="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,$r=Fr(),Qr=Ur(),Jr=Br(),Xr=Kr||$r.call(Jr,Qr),Yr=Fr(),Zr=sr,es=Br(),ts=Xr,ns=function(e){if(e.length<1||"function"!=typeof e[0])throw new Zr("a function is required");return ts(Yr,es,e)};var os,as=Function.prototype.call,is=Object.prototype.hasOwnProperty,rs=Fr().call(as,is),ss=tr,cs=nr,us=or,ls=ar,ps=ir,ds=rr,ms=sr,hs=cr,fs=ur,gs=lr,ys=pr,vs=dr,bs=mr,ks=hr,xs=function(e){return fr(e)||0===e?e:e<0?-1:1},ws=Function,js=function(e){try{return ws('"use strict"; return ('+e+").constructor;")()}catch(e){}},_s=yr,Es=Lr,Cs=function(){throw new ms},Ss=_s?function(){try{return Cs}catch(e){try{return _s(arguments,"callee").get}catch(e){return Cs}}}():Cs,Rs=function(){if(wr)return xr;wr=1;var e="undefined"!=typeof Symbol&&Symbol,t=Dr();return xr=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))}}()(),Ts=function(){if(Hr)return Vr;Hr=1;var e=qr(),t=Nr(),n=function(){if(Wr)return Gr;Wr=1;var e,t=ns,n=yr;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var o=!!e&&n&&n(Object.prototype,"__proto__"),a=Object,i=a.getPrototypeOf;return Gr=o&&"function"==typeof o.get?t([o.get]):"function"==typeof i&&function(e){return i(null==e?e:a(e))}}();return Vr=e?function(t){return e(t)}:t?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:n?function(e){return n(e)}:null}(),As=Nr(),Is=qr(),Os=Ur(),zs=Br(),Ps={},Ls="undefined"!=typeof Uint8Array&&Ts?Ts(Uint8Array):os,Ds={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?os:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?os:ArrayBuffer,"%ArrayIteratorPrototype%":Rs&&Ts?Ts([][Symbol.iterator]()):os,"%AsyncFromSyncIteratorPrototype%":os,"%AsyncFunction%":Ps,"%AsyncGenerator%":Ps,"%AsyncGeneratorFunction%":Ps,"%AsyncIteratorPrototype%":Ps,"%Atomics%":"undefined"==typeof Atomics?os:Atomics,"%BigInt%":"undefined"==typeof BigInt?os:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?os:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?os:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?os:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":cs,"%eval%":eval,"%EvalError%":us,"%Float16Array%":"undefined"==typeof Float16Array?os:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?os:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?os:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?os:FinalizationRegistry,"%Function%":ws,"%GeneratorFunction%":Ps,"%Int8Array%":"undefined"==typeof Int8Array?os:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?os:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?os:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Rs&&Ts?Ts(Ts([][Symbol.iterator]())):os,"%JSON%":"object"==typeof JSON?JSON:os,"%Map%":"undefined"==typeof Map?os:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Rs&&Ts?Ts((new Map)[Symbol.iterator]()):os,"%Math%":Math,"%Number%":Number,"%Object%":ss,"%Object.getOwnPropertyDescriptor%":_s,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?os:Promise,"%Proxy%":"undefined"==typeof Proxy?os:Proxy,"%RangeError%":ls,"%ReferenceError%":ps,"%Reflect%":"undefined"==typeof Reflect?os:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?os:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Rs&&Ts?Ts((new Set)[Symbol.iterator]()):os,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?os:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Rs&&Ts?Ts(""[Symbol.iterator]()):os,"%Symbol%":Rs?Symbol:os,"%SyntaxError%":ds,"%ThrowTypeError%":Ss,"%TypedArray%":Ls,"%TypeError%":ms,"%Uint8Array%":"undefined"==typeof Uint8Array?os:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?os:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?os:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?os:Uint32Array,"%URIError%":hs,"%WeakMap%":"undefined"==typeof WeakMap?os:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?os:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?os:WeakSet,"%Function.prototype.call%":zs,"%Function.prototype.apply%":Os,"%Object.defineProperty%":Es,"%Object.getPrototypeOf%":As,"%Math.abs%":fs,"%Math.floor%":gs,"%Math.max%":ys,"%Math.min%":vs,"%Math.pow%":bs,"%Math.round%":ks,"%Math.sign%":xs,"%Reflect.getPrototypeOf%":Is};if(Ts)try{null.error}catch(e){var qs=Ts(Ts(e));Ds["%Error.prototype%"]=qs}var Ns,Ms,Fs=function e(t){var n;if("%AsyncFunction%"===t)n=js("async function () {}");else if("%GeneratorFunction%"===t)n=js("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=js("async function* () {}");else if("%AsyncGenerator%"===t){var o=e("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&Ts&&(n=Ts(a.prototype))}return Ds[t]=n,n},Bs={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Us=Fr(),Gs=rs,Ws=Us.call(zs,Array.prototype.concat),Vs=Us.call(Os,Array.prototype.splice),Hs=Us.call(zs,String.prototype.replace),Ks=Us.call(zs,String.prototype.slice),$s=Us.call(zs,RegExp.prototype.exec),Qs=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Js=/\\(\\)?/g,Xs=function(e,t){var n,o=e;if(Gs(Bs,o)&&(o="%"+(n=Bs[o])[0]+"%"),Gs(Ds,o)){var a=Ds[o];if(a===Ps&&(a=Fs(o)),void 0===a&&!t)throw new ms("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:a}}throw new ds("intrinsic "+e+" does not exist!")},Ys=function(e,t){if("string"!=typeof e||0===e.length)throw new ms("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new ms('"allowMissing" argument must be a boolean');if(null===$s(/^%?[^%]*%?$/,e))throw new ds("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=Ks(e,0,1),n=Ks(e,-1);if("%"===t&&"%"!==n)throw new ds("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new ds("invalid intrinsic syntax, expected opening `%`");var o=[];return Hs(e,Qs,(function(e,t,n,a){o[o.length]=n?Hs(a,Js,"$1"):t||e})),o}(e),o=n.length>0?n[0]:"",a=Xs("%"+o+"%",t),i=a.name,r=a.value,s=!1,c=a.alias;c&&(o=c[0],Vs(n,Ws([0,1],c)));for(var u=1,l=!0;u<n.length;u+=1){var p=n[u],d=Ks(p,0,1),m=Ks(p,-1);if(('"'===d||"'"===d||"`"===d||'"'===m||"'"===m||"`"===m)&&d!==m)throw new ds("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),Gs(Ds,i="%"+(o+="."+p)+"%"))r=Ds[i];else if(null!=r){if(!(p in r)){if(!t)throw new ms("base intrinsic for "+e+" exists, but the property is not available.");return}if(_s&&u+1>=n.length){var h=_s(r,p);r=(l=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:r[p]}else l=Gs(r,p),r=r[p];l&&!s&&(Ds[i]=r)}}return r};var Zs=Ys("%Object.defineProperty%",!0),ec=function(){if(Ms)return Ns;Ms=1;var e=Dr();return Ns=function(){return e()&&!!Symbol.toStringTag}}()(),tc=rs,nc=sr,oc=ec?Symbol.toStringTag:null,ac=Si,ic=t,rc=o,sc=a,cc=i,uc=r.parse,lc=s,pc=n.Stream,dc=c,mc=Ti,hc=er,fc=function(e,t){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,o=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(void 0!==n&&"boolean"!=typeof n||void 0!==o&&"boolean"!=typeof o)throw new nc("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");!oc||!n&&tc(e,oc)||(Zs?Zs(e,oc,{configurable:!o,enumerable:!1,value:t,writable:!1}):e[oc]=t)},gc=rs,yc=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e};function vc(e){if(!(this instanceof vc))return new vc(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],ac.call(this),e=e||{})this[t]=e[t]}ic.inherits(vc,ac),vc.LINE_BREAK="\r\n",vc.DEFAULT_CONTENT_TYPE="application/octet-stream",vc.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var o=ac.prototype.append.bind(this);if("number"!=typeof t&&null!=t||(t=String(t)),Array.isArray(t))this._error(new Error("Arrays are not supported."));else{var a=this._multiPartHeader(e,t,n),i=this._multiPartFooter();o(a),o(t),o(i),this._trackLength(a,t,n)}},vc.prototype._trackLength=function(e,t,n){var o=0;null!=n.knownLength?o+=Number(n.knownLength):Buffer.isBuffer(t)?o=t.length:"string"==typeof t&&(o=Buffer.byteLength(t)),this._valueLength+=o,this._overheadLength+=Buffer.byteLength(e)+vc.LINE_BREAK.length,t&&(t.path||t.readable&&gc(t,"httpVersion")||t instanceof pc)&&(n.knownLength||this._valuesToMeasure.push(t))},vc.prototype._lengthRetriever=function(e,t){gc(e,"fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):lc.stat(e.path,(function(n,o){if(n)t(n);else{var a=o.size-(e.start?e.start:0);t(null,a)}})):gc(e,"httpVersion")?t(null,Number(e.headers["content-length"])):gc(e,"httpModule")?(e.on("response",(function(n){e.pause(),t(null,Number(n.headers["content-length"]))})),e.resume()):t("Unknown stream")},vc.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var o,a=this._getContentDisposition(t,n),i=this._getContentType(t,n),r="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(a||[]),"Content-Type":[].concat(i||[])};for(var c in"object"==typeof n.header&&yc(s,n.header),s)if(gc(s,c)){if(null==(o=s[c]))continue;Array.isArray(o)||(o=[o]),o.length&&(r+=c+": "+o.join("; ")+vc.LINE_BREAK)}return"--"+this.getBoundary()+vc.LINE_BREAK+r+vc.LINE_BREAK},vc.prototype._getContentDisposition=function(e,t){var n;if("string"==typeof t.filepath?n=rc.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e&&(e.name||e.path)?n=rc.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&gc(e,"httpVersion")&&(n=rc.basename(e.client._httpMessage.path||"")),n)return'filename="'+n+'"'},vc.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e&&e.name&&(n=mc.lookup(e.name)),!n&&e&&e.path&&(n=mc.lookup(e.path)),!n&&e&&e.readable&&gc(e,"httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=mc.lookup(t.filepath||t.filename)),!n&&e&&"object"==typeof e&&(n=vc.DEFAULT_CONTENT_TYPE),n},vc.prototype._multiPartFooter=function(){return function(e){var t=vc.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},vc.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+vc.LINE_BREAK},vc.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)gc(e,t)&&(n[t.toLowerCase()]=e[t]);return n},vc.prototype.setBoundary=function(e){if("string"!=typeof e)throw new TypeError("FormData boundary must be a string");this._boundary=e},vc.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},vc.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,o=this._streams.length;n<o;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(vc.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},vc.prototype._generateBoundary=function(){this._boundary="--------------------------"+dc.randomBytes(12).toString("hex")},vc.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},vc.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},vc.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?hc.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,o){n?e(n):(o.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},vc.prototype.submit=function(e,t){var n,o,a={method:"post"};return"string"==typeof e?(e=uc(e),o=yc({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},a)):(o=yc(e,a)).port||(o.port="https:"===o.protocol?443:80),o.headers=this.getHeaders(e.headers),n="https:"===o.protocol?cc.request(o):sc.request(o),this.getLength(function(e,o){if(e&&"Unknown stream"!==e)this._error(e);else if(o&&n.setHeader("Content-Length",o),this.pipe(n),t){var a,i=function(e,o){return n.removeListener("error",i),n.removeListener("response",a),t.call(this,e,o)};a=i.bind(this,null),n.on("error",i),n.on("response",a)}}.bind(this)),n},vc.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},vc.prototype.toString=function(){return"[object FormData]"},fc(vc,"FormData");var bc=ki(vc);function kc(e){return fi.isPlainObject(e)||fi.isArray(e)}function xc(e){return fi.endsWith(e,"[]")?e.slice(0,-2):e}function wc(e,t,n){return e?e.concat(t).map((function(e,t){return e=xc(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const jc=fi.toFlatObject(fi,{},null,(function(e){return/^is[A-Z]/.test(e)}));function _c(e,t,n){if(!fi.isObject(e))throw new TypeError("target must be an object");t=t||new(bc||FormData);const o=(n=fi.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!fi.isUndefined(t[e])}))).metaTokens,a=n.visitor||u,i=n.dots,r=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&fi.isSpecCompliantForm(t);if(!fi.isFunction(a))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(fi.isDate(e))return e.toISOString();if(fi.isBoolean(e))return e.toString();if(!s&&fi.isBlob(e))throw new gi("Blob is not supported. Use a Buffer instead.");return fi.isArrayBuffer(e)||fi.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,a){let s=e;if(e&&!a&&"object"==typeof e)if(fi.endsWith(n,"{}"))n=o?n:n.slice(0,-2),e=JSON.stringify(e);else if(fi.isArray(e)&&function(e){return fi.isArray(e)&&!e.some(kc)}(e)||(fi.isFileList(e)||fi.endsWith(n,"[]"))&&(s=fi.toArray(e)))return n=xc(n),s.forEach((function(e,o){!fi.isUndefined(e)&&null!==e&&t.append(!0===r?wc([n],o,i):null===r?n:n+"[]",c(e))})),!1;return!!kc(e)||(t.append(wc(a,n,i),c(e)),!1)}const l=[],p=Object.assign(jc,{defaultVisitor:u,convertValue:c,isVisitable:kc});if(!fi.isObject(e))throw new TypeError("data must be an object");return function e(n,o){if(!fi.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+o.join("."));l.push(n),fi.forEach(n,(function(n,i){!0===(!(fi.isUndefined(n)||null===n)&&a.call(t,n,fi.isString(i)?i.trim():i,o,p))&&e(n,o?o.concat(i):[i])})),l.pop()}}(e),t}function Ec(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Cc(e,t){this._pairs=[],e&&_c(e,this,t)}const Sc=Cc.prototype;function Rc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Tc(e,t,n){if(!t)return e;const o=n&&n.encode||Rc;fi.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let i;if(i=a?a(t,n):fi.isURLSearchParams(t)?t.toString():new Cc(t,n).toString(o),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Sc.append=function(e,t){this._pairs.push([e,t])},Sc.toString=function(e){const t=e?function(t){return e.call(this,t,Ec)}:Ec;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Ac=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){fi.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Ic={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Oc=r.URLSearchParams;const zc="abcdefghijklmnopqrstuvwxyz",Pc="0123456789",Lc={DIGIT:Pc,ALPHA:zc,ALPHA_DIGIT:zc+zc.toUpperCase()+Pc};var Dc={isNode:!0,classes:{URLSearchParams:Oc,FormData:bc,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:Lc,generateString:(e=16,t=Lc.ALPHA_DIGIT)=>{let n="";const{length:o}=t,a=new Uint32Array(e);c.randomFillSync(a);for(let i=0;i<e;i++)n+=t[a[i]%o];return n},protocols:["http","https","file","data"]};const qc="undefined"!=typeof window&&"undefined"!=typeof document,Nc="object"==typeof navigator&&navigator||void 0,Mc=qc&&(!Nc||["ReactNative","NativeScript","NS"].indexOf(Nc.product)<0),Fc="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Bc=qc&&window.location.href||"http://localhost";var Uc={...Object.freeze({__proto__:null,hasBrowserEnv:qc,hasStandardBrowserEnv:Mc,hasStandardBrowserWebWorkerEnv:Fc,navigator:Nc,origin:Bc}),...Dc};function Gc(e){function t(e,n,o,a){let i=e[a++];if("__proto__"===i)return!0;const r=Number.isFinite(+i),s=a>=e.length;if(i=!i&&fi.isArray(o)?o.length:i,s)return fi.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!r;o[i]&&fi.isObject(o[i])||(o[i]=[]);return t(e,n,o[i],a)&&fi.isArray(o[i])&&(o[i]=function(e){const t={},n=Object.keys(e);let o;const a=n.length;let i;for(o=0;o<a;o++)i=n[o],t[i]=e[i];return t}(o[i])),!r}if(fi.isFormData(e)&&fi.isFunction(e.entries)){const n={};return fi.forEachEntry(e,((e,o)=>{t(function(e){return fi.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),o,n,0)})),n}return null}const Wc={transitional:Ic,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",o=n.indexOf("application/json")>-1,a=fi.isObject(e);a&&fi.isHTMLForm(e)&&(e=new FormData(e));if(fi.isFormData(e))return o?JSON.stringify(Gc(e)):e;if(fi.isArrayBuffer(e)||fi.isBuffer(e)||fi.isStream(e)||fi.isFile(e)||fi.isBlob(e)||fi.isReadableStream(e))return e;if(fi.isArrayBufferView(e))return e.buffer;if(fi.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return _c(e,new Uc.classes.URLSearchParams,{visitor:function(e,t,n,o){return Uc.isNode&&fi.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=fi.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return _c(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||o?(t.setContentType("application/json",!1),function(e,t,n){if(fi.isString(e))try{return(t||JSON.parse)(e),fi.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Wc.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(fi.isResponse(e)||fi.isReadableStream(e))return e;if(e&&fi.isString(e)&&(n&&!this.responseType||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw gi.from(e,gi.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Uc.classes.FormData,Blob:Uc.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};fi.forEach(["delete","get","head","post","put","patch"],(e=>{Wc.headers[e]={}}));var Vc=Wc;const Hc=fi.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Kc=Symbol("internals");function $c(e){return e&&String(e).trim().toLowerCase()}function Qc(e){return!1===e||null==e?e:fi.isArray(e)?e.map(Qc):String(e)}function Jc(e,t,n,o,a){return fi.isFunction(o)?o.call(this,t,n):(a&&(t=n),fi.isString(t)?fi.isString(o)?-1!==t.indexOf(o):fi.isRegExp(o)?o.test(t):void 0:void 0)}class Xc{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function a(e,t,n){const a=$c(t);if(!a)throw new Error("header name must be a non-empty string");const i=fi.findKey(o,a);(!i||void 0===o[i]||!0===n||void 0===n&&!1!==o[i])&&(o[i||t]=Qc(e))}const i=(e,t)=>fi.forEach(e,((e,n)=>a(e,n,t)));if(fi.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(fi.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,o,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),o=e.substring(a+1).trim(),!n||t[n]&&Hc[n]||("set-cookie"===n?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)})),t})(e),t);else if(fi.isObject(e)&&fi.isIterable(e)){let n,o,a={};for(const t of e){if(!fi.isArray(t))throw TypeError("Object iterator must return a key-value pair");a[o=t[0]]=(n=a[o])?fi.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(a,t)}else null!=e&&a(t,e,n);return this}get(e,t){if(e=$c(e)){const n=fi.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}(e);if(fi.isFunction(t))return t.call(this,e,n);if(fi.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=$c(e)){const n=fi.findKey(this,e);return!(!n||void 0===this[n]||t&&!Jc(0,this[n],n,t))}return!1}delete(e,t){const n=this;let o=!1;function a(e){if(e=$c(e)){const a=fi.findKey(n,e);!a||t&&!Jc(0,n[a],a,t)||(delete n[a],o=!0)}}return fi.isArray(e)?e.forEach(a):a(e),o}clear(e){const t=Object.keys(this);let n=t.length,o=!1;for(;n--;){const a=t[n];e&&!Jc(0,this[a],a,e,!0)||(delete this[a],o=!0)}return o}normalize(e){const t=this,n={};return fi.forEach(this,((o,a)=>{const i=fi.findKey(n,a);if(i)return t[i]=Qc(o),void delete t[a];const r=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();r!==a&&delete t[a],t[r]=Qc(o),n[r]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return fi.forEach(this,((n,o)=>{null!=n&&!1!==n&&(t[o]=e&&fi.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Kc]=this[Kc]={accessors:{}}).accessors,n=this.prototype;function o(e){const o=$c(e);t[o]||(!function(e,t){const n=fi.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,a){return this[o].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[o]=!0)}return fi.isArray(e)?e.forEach(o):o(e),this}}Xc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),fi.reduceDescriptors(Xc.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),fi.freezeMethods(Xc);var Yc=Xc;function Zc(e,t){const n=this||Vc,o=t||n,a=Yc.from(o.headers);let i=o.data;return fi.forEach(e,(function(e){i=e.call(n,i,a.normalize(),t?t.status:void 0)})),a.normalize(),i}function eu(e){return!(!e||!e.__CANCEL__)}function tu(e,t,n){gi.call(this,null==e?"canceled":e,gi.ERR_CANCELED,t,n),this.name="CanceledError"}function nu(e,t,n){const o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new gi("Request failed with status code "+n.status,[gi.ERR_BAD_REQUEST,gi.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function ou(e,t,n){let o=!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t);return e&&(o||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}fi.inherits(tu,gi,{__CANCEL__:!0});var au={},iu=r.parse,ru={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},su=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function cu(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}au.getProxyForUrl=function(e){var t="string"==typeof e?iu(e):e||{},n=t.protocol,o=t.host,a=t.port;if("string"!=typeof o||!o||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(cu("npm_config_no_proxy")||cu("no_proxy")).toLowerCase();if(!n)return!0;if("*"===n)return!1;return n.split(/[,\s]/).every((function(n){if(!n)return!0;var o=n.match(/^(.+):(\d+)$/),a=o?o[1]:n,i=o?parseInt(o[2]):0;return!(!i||i===t)||(/^[.*]/.test(a)?("*"===a.charAt(0)&&(a=a.slice(1)),!su.call(e,a)):e!==a)}))}(o=o.replace(/:\d*$/,""),a=parseInt(a)||ru[n]||0))return"";var i=cu("npm_config_"+n+"_proxy")||cu(n+"_proxy")||cu("npm_config_proxy")||cu("all_proxy");return i&&-1===i.indexOf("://")&&(i=n+"://"+i),i};var uu,lu,pu,du,mu,hu={exports:{}},fu={exports:{}},gu={exports:{}};function yu(){if(lu)return uu;lu=1;var e=1e3,t=60*e,n=60*t,o=24*n,a=7*o,i=365.25*o;function r(e,t,n,o){var a=t>=1.5*n;return Math.round(e/n)+" "+o+(a?"s":"")}return uu=function(s,c){c=c||{};var u=typeof s;if("string"===u&&s.length>0)return function(r){if((r=String(r)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(r);if(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(s);if("number"===u&&isFinite(s))return c.long?function(a){var i=Math.abs(a);if(i>=o)return r(a,i,o,"day");if(i>=n)return r(a,i,n,"hour");if(i>=t)return r(a,i,t,"minute");if(i>=e)return r(a,i,e,"second");return a+" ms"}(s):function(a){var i=Math.abs(a);if(i>=o)return Math.round(a/o)+"d";if(i>=n)return Math.round(a/n)+"h";if(i>=t)return Math.round(a/t)+"m";if(i>=e)return Math.round(a/e)+"s";return a+"ms"}(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))},uu}function vu(){if(du)return pu;return du=1,pu=function(e){function t(e){let o,a,i,r=null;function s(...e){if(!s.enabled)return;const n=s,a=Number(new Date),i=a-(o||a);n.diff=i,n.prev=o,n.curr=a,o=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,a)=>{if("%%"===o)return"%";r++;const i=t.formatters[a];if("function"==typeof i){const t=e[r];o=i.call(n,t),e.splice(r,1),r--}return o})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(a!==t.namespaces&&(a=t.namespaces,i=t.enabled(e)),i),set:e=>{r=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function o(e,t){let n=0,o=0,a=-1,i=0;for(;n<e.length;)if(o<t.length&&(t[o]===e[n]||"*"===t[o]))"*"===t[o]?(a=o,i=n,o++):(n++,o++);else{if(-1===a)return!1;o=a+1,i++,n=i}for(;o<t.length&&"*"===t[o];)o++;return o===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(o(e,n))return!1;for(const n of t.names)if(o(e,n))return!0;return!1},t.humanize=yu(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t},pu}var bu,ku,xu,wu,ju,_u,Eu,Cu={exports:{}};function Su(){return ku?bu:(ku=1,bu=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",o=t.indexOf(n+e),a=t.indexOf("--");return-1!==o&&(-1===a||o<a)})}function Ru(){return ju||(ju=1,function(e,n){const o=l,a=t;n.init=function(e){e.inspectOpts={};const t=Object.keys(n.inspectOpts);for(let o=0;o<t.length;o++)e.inspectOpts[t[o]]=n.inspectOpts[t[o]]},n.log=function(...e){return process.stderr.write(a.formatWithOptions(n.inspectOpts,...e)+"\n")},n.formatArgs=function(t){const{namespace:o,useColors:a}=this;if(a){const n=this.color,a="[3"+(n<8?n:"8;5;"+n),i=` ${a};1m${o} [0m`;t[0]=i+t[0].split("\n").join("\n"+i),t.push(a+"m+"+e.exports.humanize(this.diff)+"[0m")}else t[0]=function(){if(n.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+o+" "+t[0]},n.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},n.load=function(){return process.env.DEBUG},n.useColors=function(){return"colors"in n.inspectOpts?Boolean(n.inspectOpts.colors):o.isatty(process.stderr.fd)},n.destroy=a.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),n.colors=[6,2,3,4,5,1];try{const e=function(){if(wu)return xu;wu=1;const e=p,t=l,n=Su(),{env:o}=process;let a;function i(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function r(t,i){if(0===a)return 0;if(n("color=16m")||n("color=full")||n("color=truecolor"))return 3;if(n("color=256"))return 2;if(t&&!i&&void 0===a)return 0;const r=a||0;if("dumb"===o.TERM)return r;if("win32"===process.platform){const t=e.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in o))||"codeship"===o.CI_NAME?1:r;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:r}return n("no-color")||n("no-colors")||n("color=false")||n("color=never")?a=0:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(a=1),"FORCE_COLOR"in o&&(a="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),xu={supportsColor:function(e){return i(r(e,e&&e.isTTY))},stdout:i(r(!0,t.isatty(1))),stderr:i(r(!0,t.isatty(2)))},xu}();e&&(e.stderr||e).level>=2&&(n.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}n.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let o=process.env[t];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),e[n]=o,e}),{}),e.exports=vu()(n);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts)}}(Cu,Cu.exports)),Cu.exports}function Tu(){return _u||(_u=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?fu.exports=(mu||(mu=1,function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(o++,"%c"===e&&(a=o))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=vu()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(gu,gu.exports)),gu.exports):fu.exports=Ru()),fu.exports}var Au,Iu,Ou,zu=r,Pu=zu.URL,Lu=a,Du=i,qu=n.Writable,Nu=u,Mu=function(){if(!Eu){try{Eu=Tu()("follow-redirects")}catch(e){}"function"!=typeof Eu&&(Eu=function(){})}Eu.apply(null,arguments)};Au="undefined"!=typeof process,Iu="undefined"!=typeof window&&"undefined"!=typeof document,Ou=rl(Error.captureStackTrace),Au||!Iu&&Ou||console.warn("The follow-redirects package should be excluded from browser builds.");var Fu=!1;try{Nu(new Pu(""))}catch(Wn){Fu="ERR_INVALID_URL"===Wn.code}var Bu=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Uu=["abort","aborted","connect","error","socket","timeout"],Gu=Object.create(null);Uu.forEach((function(e){Gu[e]=function(t,n,o){this._redirectable.emit(e,t,n,o)}}));var Wu=ol("ERR_INVALID_URL","Invalid URL",TypeError),Vu=ol("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Hu=ol("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Vu),Ku=ol("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),$u=ol("ERR_STREAM_WRITE_AFTER_END","write after end"),Qu=qu.prototype.destroy||Yu;function Ju(e,t){qu.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof Vu?e:new Vu({cause:e}))}},this._performRequest()}function Xu(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(o){var a=o+":",i=n[a]=e[o],r=t[o]=Object.create(i);Object.defineProperties(r,{request:{value:function(e,o,i){var r;return r=e,Pu&&r instanceof Pu?e=tl(e):il(e)?e=tl(Zu(e)):(i=o,o=el(e),e={protocol:a}),rl(o)&&(i=o,o=null),(o=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,o)).nativeProtocols=n,il(o.host)||il(o.hostname)||(o.hostname="::1"),Nu.equal(o.protocol,a,"protocol mismatch"),Mu("options",o),new Ju(o,i)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var o=r.request(e,t,n);return o.end(),o},configurable:!0,enumerable:!0,writable:!0}})})),t}function Yu(){}function Zu(e){var t;if(Fu)t=new Pu(e);else if(!il((t=el(zu.parse(e))).protocol))throw new Wu({input:e});return t}function el(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Wu({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Wu({input:e.href||e});return e}function tl(e,t){var n=t||{};for(var o of Bu)n[o]=e[o];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function nl(e,t){var n;for(var o in t)e.test(o)&&(n=t[o],delete t[o]);return null==n?void 0:String(n).trim()}function ol(e,t,n){function o(n){rl(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return o.prototype=new(n||Error),Object.defineProperties(o.prototype,{constructor:{value:o,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),o}function al(e,t){for(var n of Uu)e.removeListener(n,Gu[n]);e.on("error",Yu),e.destroy(t)}function il(e){return"string"==typeof e||e instanceof String}function rl(e){return"function"==typeof e}Ju.prototype=Object.create(qu.prototype),Ju.prototype.abort=function(){al(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},Ju.prototype.destroy=function(e){return al(this._currentRequest,e),Qu.call(this,e),this},Ju.prototype.write=function(e,t,n){if(this._ending)throw new $u;if(!il(e)&&("object"!=typeof(o=e)||!("length"in o)))throw new TypeError("data should be a string, Buffer or Uint8Array");var o;rl(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new Ku),this.abort()):n&&n()},Ju.prototype.end=function(e,t,n){if(rl(e)?(n=e,e=t=null):rl(t)&&(n=t,t=null),e){var o=this,a=this._currentRequest;this.write(e,t,(function(){o._ended=!0,a.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},Ju.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},Ju.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},Ju.prototype.setTimeout=function(e,t){var n=this;function o(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function a(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),i()}),e),o(t)}function i(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",i),n.removeListener("error",i),n.removeListener("response",i),n.removeListener("close",i),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",a)}return t&&this.on("timeout",t),this.socket?a(this.socket):this._currentRequest.once("socket",a),this.on("socket",o),this.on("abort",i),this.on("error",i),this.on("response",i),this.on("close",i),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){Ju.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(Ju.prototype,e,{get:function(){return this._currentRequest[e]}})})),Ju.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},Ju.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var o=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var a of(o._redirectable=this,Uu))o.on(a,Gu[a]);if(this._currentUrl=/^\//.test(this._options.path)?zu.format(this._options):this._options.path,this._isRedirect){var i=0,r=this,s=this._requestBodyBuffers;!function e(t){if(o===r._currentRequest)if(t)r.emit("error",t);else if(i<s.length){var n=s[i++];o.finished||o.write(n.data,n.encoding,e)}else r._ended&&o.end()}()}},Ju.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,o=e.headers.location;if(!o||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(al(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Hu;var a=this._options.beforeRedirect;a&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var i=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],nl(/^content-/i,this._options.headers));var r,s,c=nl(/^host$/i,this._options.headers),u=Zu(this._currentUrl),l=c||u.host,p=/^\w+:/.test(o)?this._currentUrl:zu.format(Object.assign(u,{host:l})),d=(r=o,s=p,Fu?new Pu(r,s):Zu(zu.resolve(s,r)));if(Mu("redirecting to",d.href),this._isRedirect=!0,tl(d,this._options),(d.protocol!==u.protocol&&"https:"!==d.protocol||d.host!==l&&!function(e,t){Nu(il(e)&&il(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(d.host,l))&&nl(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),rl(a)){var m={headers:e.headers,statusCode:t},h={url:p,method:i,headers:n};a(this._options,m,h),this._sanitizeOptions(this._options)}this._performRequest()},hu.exports=Xu({http:Lu,https:Du}),hu.exports.wrap=Xu;var sl=ki(hu.exports);const cl="1.12.2";function ul(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const ll=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;const pl=Symbol("internals");class dl extends n.Transform{constructor(e){super({readableHighWaterMark:(e=fi.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!fi.isUndefined(t[e])))).chunkSize});const t=this[pl]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))}))}_read(e){const t=this[pl];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const o=this[pl],a=o.maxRate,i=this.readableHighWaterMark,r=o.timeWindow,s=a/(1e3/r),c=!1!==o.minChunkSize?Math.max(o.minChunkSize,.01*s):0,u=(e,t)=>{const n=Buffer.byteLength(e);o.bytesSeen+=n,o.bytes+=n,o.isCaptured&&this.emit("progress",o.bytesSeen),this.push(e)?process.nextTick(t):o.onReadCallback=()=>{o.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,p=null,d=i,m=0;if(a){const e=Date.now();(!o.ts||(m=e-o.ts)>=r)&&(o.ts=e,l=s-o.bytes,o.bytes=l<0?-l:0,m=0),l=s-o.bytes}if(a){if(l<=0)return setTimeout((()=>{t(null,e)}),r-m);l<d&&(d=l)}d&&n>d&&n-d>c&&(p=e.subarray(d),e=e.subarray(0,d)),u(e,p?()=>{process.nextTick(t,null,p)}:t)};l(e,(function e(t,o){if(t)return n(t);o?l(o,e):n(null)}))}}var ml=dl;const{asyncIterator:hl}=Symbol;var fl=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[hl]?yield*e[hl]():yield e};const gl=Uc.ALPHABET.ALPHA_DIGIT+"-_",yl="function"==typeof TextEncoder?new TextEncoder:new t.TextEncoder,vl="\r\n",bl=yl.encode(vl);class kl{constructor(e,t){const{escapeName:n}=this.constructor,o=fi.isString(t);let a=`Content-Disposition: form-data; name="${n(e)}"${!o&&t.name?`; filename="${n(t.name)}"`:""}${vl}`;o?t=yl.encode(String(t).replace(/\r?\n|\r\n?/g,vl)):a+=`Content-Type: ${t.type||"application/octet-stream"}${vl}`,this.headers=yl.encode(a+vl),this.contentLength=o?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;fi.isTypedArray(e)?yield e:yield*fl(e),yield bl}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}var xl=(e,t,o)=>{const{tag:a="form-data-boundary",size:i=25,boundary:r=a+"-"+Uc.generateString(i,gl)}=o||{};if(!fi.isFormData(e))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");const s=yl.encode("--"+r+vl),c=yl.encode("--"+r+"--"+vl);let u=c.byteLength;const l=Array.from(e.entries()).map((([e,t])=>{const n=new kl(e,t);return u+=n.size,n}));u+=s.byteLength*l.length,u=fi.toFiniteNumber(u);const p={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(u)&&(p["Content-Length"]=u),t&&t(p),n.Readable.from(async function*(){for(const e of l)yield s,yield*e.encode();yield c}())};class wl extends n.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}var jl=wl;var _l=(e,t)=>fi.isAsyncFn(e)?function(...n){const o=n.pop();e.apply(this,n).then((e=>{try{t?o(null,...t(e)):o(null,e)}catch(e){o(e)}}),o)}:e;const El=(e,t,n=3)=>{let o=0;const a=function(e,t){e=e||10;const n=new Array(e),o=new Array(e);let a,i=0,r=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),u=o[r];a||(a=c),n[i]=s,o[i]=c;let l=r,p=0;for(;l!==i;)p+=n[l++],l%=e;if(i=(i+1)%e,i===r&&(r=(r+1)%e),c-a<t)return;const d=u&&c-u;return d?Math.round(1e3*p/d):void 0}}(50,250);return function(e,t){let n,o,a=0,i=1e3/t;const r=(t,i=Date.now())=>{a=i,n=null,o&&(clearTimeout(o),o=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-a;s>=i?r(e,t):(n=e,o||(o=setTimeout((()=>{o=null,r(n)}),i-s)))},()=>n&&r(n)]}((n=>{const i=n.loaded,r=n.lengthComputable?n.total:void 0,s=i-o,c=a(s);o=i;e({loaded:i,total:r,progress:r?i/r:void 0,bytes:s,rate:c||void 0,estimated:c&&r&&i<=r?(r-i)/c:void 0,event:n,lengthComputable:null!=r,[t?"download":"upload"]:!0})}),n)},Cl=(e,t)=>{const n=null!=e;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},Sl=e=>(...t)=>fi.asap((()=>e(...t)));const Rl={flush:d.constants.Z_SYNC_FLUSH,finishFlush:d.constants.Z_SYNC_FLUSH},Tl={flush:d.constants.BROTLI_OPERATION_FLUSH,finishFlush:d.constants.BROTLI_OPERATION_FLUSH},Al=fi.isFunction(d.createBrotliDecompress),{http:Il,https:Ol}=sl,zl=/https:?/,Pl=Uc.protocols.map((e=>e+":")),Ll=(e,[t,n])=>(e.on("end",n).on("error",n),t);function Dl(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function ql(e,t,n){let o=t;if(!o&&!1!==o){const e=au.getProxyForUrl(n);e&&(o=new URL(e))}if(o){if(o.username&&(o.auth=(o.username||"")+":"+(o.password||"")),o.auth){(o.auth.username||o.auth.password)&&(o.auth=(o.auth.username||"")+":"+(o.auth.password||""));const t=Buffer.from(o.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=o.hostname||o.host;e.hostname=t,e.host=t,e.port=o.port,e.path=n,o.protocol&&(e.protocol=o.protocol.includes(":")?o.protocol:`${o.protocol}:`)}e.beforeRedirects.proxy=function(e){ql(e,t,e.href)}}const Nl="undefined"!=typeof process&&"process"===fi.kindOf(process),Ml=(e,t)=>(({address:e,family:t})=>{if(!fi.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(fi.isObject(e)?e:{address:e,family:t});var Fl=Nl&&function(e){return o=async function(o,r,s){let{data:c,lookup:u,family:l}=e;const{responseType:p,responseEncoding:h}=e,f=e.method.toUpperCase();let g,y,v=!1;if(u){const e=_l(u,(e=>fi.isArray(e)?e:[e]));u=(t,n,o)=>{e(t,n,((e,t,a)=>{if(e)return o(e);const i=fi.isArray(t)?t.map((e=>Ml(e))):[Ml(t,a)];n.all?o(e,i):o(e,i[0].address,i[0].family)}))}}const b=new m.EventEmitter,k=()=>{e.cancelToken&&e.cancelToken.unsubscribe(x),e.signal&&e.signal.removeEventListener("abort",x),b.removeAllListeners()};function x(t){b.emit("abort",!t||t.type?new tu(null,e,y):t)}s(((e,t)=>{g=!0,t&&(v=!0,k())})),b.once("abort",r),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(x),e.signal&&(e.signal.aborted?x():e.signal.addEventListener("abort",x)));const w=ou(e.baseURL,e.url,e.allowAbsoluteUrls),j=new URL(w,Uc.hasBrowserEnv?Uc.origin:void 0),_=j.protocol||Pl[0];if("data:"===_){if(e.maxContentLength>-1){const t=function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),o=e.slice(t+1);if(/;base64/i.test(n)){let e=o.length;const t=o.length;for(let n=0;n<t;n++)if(37===o.charCodeAt(n)&&n+2<t){const t=o.charCodeAt(n+1),a=o.charCodeAt(n+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102)&&(e-=2,n+=2)}let n=0,a=t-1;const i=e=>e>=2&&37===o.charCodeAt(e-2)&&51===o.charCodeAt(e-1)&&(68===o.charCodeAt(e)||100===o.charCodeAt(e));a>=0&&(61===o.charCodeAt(a)?(n++,a--):i(a)&&(n++,a-=3)),1===n&&a>=0&&(61===o.charCodeAt(a)||i(a))&&n++;const r=3*Math.floor(e/4)-(n||0);return r>0?r:0}return Buffer.byteLength(o,"utf8")}(String(e.url||w||""));if(t>e.maxContentLength)return r(new gi("maxContentLength size of "+e.maxContentLength+" exceeded",gi.ERR_BAD_RESPONSE,e))}let t;if("GET"!==f)return nu(o,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{t=function(e,t,n){const o=n&&n.Blob||Uc.classes.Blob,a=ul(e);if(void 0===t&&o&&(t=!0),"data"===a){e=a.length?e.slice(a.length+1):e;const n=ll.exec(e);if(!n)throw new gi("Invalid URL",gi.ERR_INVALID_URL);const i=n[1],r=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),r?"base64":"utf8");if(t){if(!o)throw new gi("Blob is not supported",gi.ERR_NOT_SUPPORT);return new o([c],{type:i})}return c}throw new gi("Unsupported protocol "+a,gi.ERR_NOT_SUPPORT)}(e.url,"blob"===p,{Blob:e.env&&e.env.Blob})}catch(t){throw gi.from(t,gi.ERR_BAD_REQUEST,e)}return"text"===p?(t=t.toString(h),h&&"utf8"!==h||(t=fi.stripBOM(t))):"stream"===p&&(t=n.Readable.from(t)),nu(o,r,{data:t,status:200,statusText:"OK",headers:new Yc,config:e})}if(-1===Pl.indexOf(_))return r(new gi("Unsupported protocol "+_,gi.ERR_BAD_REQUEST,e));const E=Yc.from(e.headers).normalize();E.set("User-Agent","axios/"+cl,!1);const{onUploadProgress:C,onDownloadProgress:S}=e,R=e.maxRate;let T,A;if(fi.isSpecCompliantForm(c)){const e=E.getContentType(/boundary=([-_\w\d]{10,70})/i);c=xl(c,(e=>{E.set(e)}),{tag:`axios-${cl}-boundary`,boundary:e&&e[1]||void 0})}else if(fi.isFormData(c)&&fi.isFunction(c.getHeaders)){if(E.set(c.getHeaders()),!E.hasContentLength())try{const e=await t.promisify(c.getLength).call(c);Number.isFinite(e)&&e>=0&&E.setContentLength(e)}catch(e){}}else if(fi.isBlob(c)||fi.isFile(c))c.size&&E.setContentType(c.type||"application/octet-stream"),E.setContentLength(c.size||0),c=n.Readable.from(fl(c));else if(c&&!fi.isStream(c)){if(Buffer.isBuffer(c));else if(fi.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else{if(!fi.isString(c))return r(new gi("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",gi.ERR_BAD_REQUEST,e));c=Buffer.from(c,"utf-8")}if(E.setContentLength(c.length,!1),e.maxBodyLength>-1&&c.length>e.maxBodyLength)return r(new gi("Request body larger than maxBodyLength limit",gi.ERR_BAD_REQUEST,e))}const I=fi.toFiniteNumber(E.getContentLength());let O,z;fi.isArray(R)?(T=R[0],A=R[1]):T=A=R,c&&(C||T)&&(fi.isStream(c)||(c=n.Readable.from(c,{objectMode:!1})),c=n.pipeline([c,new ml({maxRate:fi.toFiniteNumber(T)})],fi.noop),C&&c.on("progress",Ll(c,Cl(I,El(Sl(C),!1,3))))),e.auth&&(O=(e.auth.username||"")+":"+(e.auth.password||"")),!O&&j.username&&(O=j.username+":"+j.password),O&&E.delete("authorization");try{z=Tc(j.pathname+j.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const n=new Error(t.message);return n.config=e,n.url=e.url,n.exists=!0,r(n)}E.set("Accept-Encoding","gzip, compress, deflate"+(Al?", br":""),!1);const P={path:z,method:f,headers:E.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:O,protocol:_,family:l,beforeRedirect:Dl,beforeRedirects:{}};let L;!fi.isUndefined(u)&&(P.lookup=u),e.socketPath?P.socketPath=e.socketPath:(P.hostname=j.hostname.startsWith("[")?j.hostname.slice(1,-1):j.hostname,P.port=j.port,ql(P,e.proxy,_+"//"+j.hostname+(j.port?":"+j.port:"")+P.path));const D=zl.test(P.protocol);if(P.agent=D?e.httpsAgent:e.httpAgent,e.transport?L=e.transport:0===e.maxRedirects?L=D?i:a:(e.maxRedirects&&(P.maxRedirects=e.maxRedirects),e.beforeRedirect&&(P.beforeRedirects.config=e.beforeRedirect),L=D?Ol:Il),e.maxBodyLength>-1?P.maxBodyLength=e.maxBodyLength:P.maxBodyLength=1/0,e.insecureHTTPParser&&(P.insecureHTTPParser=e.insecureHTTPParser),y=L.request(P,(function(t){if(y.destroyed)return;const a=[t],i=+t.headers["content-length"];if(S||A){const e=new ml({maxRate:fi.toFiniteNumber(A)});S&&e.on("progress",Ll(e,Cl(i,El(Sl(S),!0,3)))),a.push(e)}let s=t;const c=t.req||y;if(!1!==e.decompress&&t.headers["content-encoding"])switch("HEAD"!==f&&204!==t.statusCode||delete t.headers["content-encoding"],(t.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":a.push(d.createUnzip(Rl)),delete t.headers["content-encoding"];break;case"deflate":a.push(new jl),a.push(d.createUnzip(Rl)),delete t.headers["content-encoding"];break;case"br":Al&&(a.push(d.createBrotliDecompress(Tl)),delete t.headers["content-encoding"])}s=a.length>1?n.pipeline(a,fi.noop):a[0];const u=n.finished(s,(()=>{u(),k()})),l={status:t.statusCode,statusText:t.statusMessage,headers:new Yc(t.headers),config:e,request:c};if("stream"===p)l.data=s,nu(o,r,l);else{const t=[];let n=0;s.on("data",(function(o){t.push(o),n+=o.length,e.maxContentLength>-1&&n>e.maxContentLength&&(v=!0,s.destroy(),r(new gi("maxContentLength size of "+e.maxContentLength+" exceeded",gi.ERR_BAD_RESPONSE,e,c)))})),s.on("aborted",(function(){if(v)return;const t=new gi("stream has been aborted",gi.ERR_BAD_RESPONSE,e,c);s.destroy(t),r(t)})),s.on("error",(function(t){y.destroyed||r(gi.from(t,null,e,c))})),s.on("end",(function(){try{let e=1===t.length?t[0]:Buffer.concat(t);"arraybuffer"!==p&&(e=e.toString(h),h&&"utf8"!==h||(e=fi.stripBOM(e))),l.data=e}catch(t){return r(gi.from(t,null,e,l.request,l))}nu(o,r,l)}))}b.once("abort",(e=>{s.destroyed||(s.emit("error",e),s.destroy())}))})),b.once("abort",(e=>{r(e),y.destroy(e)})),y.on("error",(function(t){r(gi.from(t,null,e,y))})),y.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void r(new gi("error trying to parse `config.timeout` to int",gi.ERR_BAD_OPTION_VALUE,e,y));y.setTimeout(t,(function(){if(g)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||Ic;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new gi(t,n.clarifyTimeoutError?gi.ETIMEDOUT:gi.ECONNABORTED,e,y)),x()}))}if(fi.isStream(c)){let t=!1,n=!1;c.on("end",(()=>{t=!0})),c.once("error",(e=>{n=!0,y.destroy(e)})),c.on("close",(()=>{t||n||x(new tu("Request stream has been aborted",e,y))})),c.pipe(y)}else y.end(c)},new Promise(((e,t)=>{let n,a;const i=(e,t)=>{a||(a=!0,n&&n(e,t))},r=e=>{i(e,!0),t(e)};o((t=>{i(t),e(t)}),r,(e=>n=e)).catch(r)}));var o},Bl=Uc.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Uc.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Uc.origin),Uc.navigator&&/(msie|trident)/i.test(Uc.navigator.userAgent)):()=>!0,Ul=Uc.hasStandardBrowserEnv?{write(e,t,n,o,a,i){const r=[e+"="+encodeURIComponent(t)];fi.isNumber(n)&&r.push("expires="+new Date(n).toGMTString()),fi.isString(o)&&r.push("path="+o),fi.isString(a)&&r.push("domain="+a),!0===i&&r.push("secure"),document.cookie=r.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};const Gl=e=>e instanceof Yc?{...e}:e;function Wl(e,t){t=t||{};const n={};function o(e,t,n,o){return fi.isPlainObject(e)&&fi.isPlainObject(t)?fi.merge.call({caseless:o},e,t):fi.isPlainObject(t)?fi.merge({},t):fi.isArray(t)?t.slice():t}function a(e,t,n,a){return fi.isUndefined(t)?fi.isUndefined(e)?void 0:o(void 0,e,0,a):o(e,t,0,a)}function i(e,t){if(!fi.isUndefined(t))return o(void 0,t)}function r(e,t){return fi.isUndefined(t)?fi.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function s(n,a,i){return i in t?o(n,a):i in e?o(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:s,headers:(e,t,n)=>a(Gl(e),Gl(t),0,!0)};return fi.forEach(Object.keys({...e,...t}),(function(o){const i=c[o]||a,r=i(e[o],t[o],o);fi.isUndefined(r)&&i!==s||(n[o]=r)})),n}var Vl=e=>{const t=Wl({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:a,xsrfCookieName:i,headers:r,auth:s}=t;if(t.headers=r=Yc.from(r),t.url=Tc(ou(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&r.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),fi.isFormData(n))if(Uc.hasStandardBrowserEnv||Uc.hasStandardBrowserWebWorkerEnv)r.setContentType(void 0);else if(fi.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{t.includes(e.toLowerCase())&&r.set(e,n)}))}if(Uc.hasStandardBrowserEnv&&(o&&fi.isFunction(o)&&(o=o(t)),o||!1!==o&&Bl(t.url))){const e=a&&i&&Ul.read(i);e&&r.set(a,e)}return t};var Hl="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const o=Vl(e);let a=o.data;const i=Yc.from(o.headers).normalize();let r,s,c,u,l,{responseType:p,onUploadProgress:d,onDownloadProgress:m}=o;function h(){u&&u(),l&&l(),o.cancelToken&&o.cancelToken.unsubscribe(r),o.signal&&o.signal.removeEventListener("abort",r)}let f=new XMLHttpRequest;function g(){if(!f)return;const o=Yc.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders());nu((function(e){t(e),h()}),(function(e){n(e),h()}),{data:p&&"text"!==p&&"json"!==p?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:o,config:e,request:f}),f=null}f.open(o.method.toUpperCase(),o.url,!0),f.timeout=o.timeout,"onloadend"in f?f.onloadend=g:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(g)},f.onabort=function(){f&&(n(new gi("Request aborted",gi.ECONNABORTED,e,f)),f=null)},f.onerror=function(t){const o=new gi(t&&t.message?t.message:"Network Error",gi.ERR_NETWORK,e,f);o.event=t||null,n(o),f=null},f.ontimeout=function(){let t=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const a=o.transitional||Ic;o.timeoutErrorMessage&&(t=o.timeoutErrorMessage),n(new gi(t,a.clarifyTimeoutError?gi.ETIMEDOUT:gi.ECONNABORTED,e,f)),f=null},void 0===a&&i.setContentType(null),"setRequestHeader"in f&&fi.forEach(i.toJSON(),(function(e,t){f.setRequestHeader(t,e)})),fi.isUndefined(o.withCredentials)||(f.withCredentials=!!o.withCredentials),p&&"json"!==p&&(f.responseType=o.responseType),m&&([c,l]=El(m,!0),f.addEventListener("progress",c)),d&&f.upload&&([s,u]=El(d),f.upload.addEventListener("progress",s),f.upload.addEventListener("loadend",u)),(o.cancelToken||o.signal)&&(r=t=>{f&&(n(!t||t.type?new tu(null,e,f):t),f.abort(),f=null)},o.cancelToken&&o.cancelToken.subscribe(r),o.signal&&(o.signal.aborted?r():o.signal.addEventListener("abort",r)));const y=ul(o.url);y&&-1===Uc.protocols.indexOf(y)?n(new gi("Unsupported protocol "+y+":",gi.ERR_BAD_REQUEST,e)):f.send(a||null)}))};var Kl=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,o=new AbortController;const a=function(e){if(!n){n=!0,r();const t=e instanceof Error?e:this.reason;o.abort(t instanceof gi?t:new tu(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,a(new gi(`timeout ${t} of ms exceeded`,gi.ETIMEDOUT))}),t);const r=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(a):e.removeEventListener("abort",a)})),e=null)};e.forEach((e=>e.addEventListener("abort",a)));const{signal:s}=o;return s.unsubscribe=()=>fi.asap(r),s}};const $l=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let o,a=0;for(;a<n;)o=a+t,yield e.slice(a,o),a=o},Ql=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Jl=(e,t,n,o)=>{const a=async function*(e,t){for await(const n of Ql(e))yield*$l(n,t)}(e,t);let i,r=0,s=e=>{i||(i=!0,o&&o(e))};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await a.next();if(t)return s(),void e.close();let i=o.byteLength;if(n){let e=r+=i;n(e)}e.enqueue(new Uint8Array(o))}catch(e){throw s(e),e}},cancel:e=>(s(e),a.return())},{highWaterMark:2})},{isFunction:Xl}=fi,Yl=(({Request:e,Response:t})=>({Request:e,Response:t}))(fi.global),{ReadableStream:Zl,TextEncoder:ep}=fi.global,tp=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},np=e=>{e=fi.merge.call({skipUndefined:!0},Yl,e);const{fetch:t,Request:n,Response:o}=e,a=t?Xl(t):"function"==typeof fetch,i=Xl(n),r=Xl(o);if(!a)return!1;const s=a&&Xl(Zl),c=a&&("function"==typeof ep?(e=>t=>e.encode(t))(new ep):async e=>new Uint8Array(await new n(e).arrayBuffer())),u=i&&s&&tp((()=>{let e=!1;const t=new n(Uc.origin,{body:new Zl,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),l=r&&s&&tp((()=>fi.isReadableStream(new o("").body))),p={stream:l&&(e=>e.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!p[e]&&(p[e]=(t,n)=>{let o=t&&t[e];if(o)return o.call(t);throw new gi(`Response type '${e}' is not supported`,gi.ERR_NOT_SUPPORT,n)})}));const d=async(e,t)=>{const o=fi.toFiniteNumber(e.getContentLength());return null==o?(async e=>{if(null==e)return 0;if(fi.isBlob(e))return e.size;if(fi.isSpecCompliantForm(e)){const t=new n(Uc.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return fi.isArrayBufferView(e)||fi.isArrayBuffer(e)?e.byteLength:(fi.isURLSearchParams(e)&&(e+=""),fi.isString(e)?(await c(e)).byteLength:void 0)})(t):o};return async e=>{let{url:a,method:r,data:s,signal:c,cancelToken:m,timeout:h,onDownloadProgress:f,onUploadProgress:g,responseType:y,headers:v,withCredentials:b="same-origin",fetchOptions:k}=Vl(e),x=t||fetch;y=y?(y+"").toLowerCase():"text";let w=Kl([c,m&&m.toAbortSignal()],h),j=null;const _=w&&w.unsubscribe&&(()=>{w.unsubscribe()});let E;try{if(g&&u&&"get"!==r&&"head"!==r&&0!==(E=await d(v,s))){let e,t=new n(a,{method:"POST",body:s,duplex:"half"});if(fi.isFormData(s)&&(e=t.headers.get("content-type"))&&v.setContentType(e),t.body){const[e,n]=Cl(E,El(Sl(g)));s=Jl(t.body,65536,e,n)}}fi.isString(b)||(b=b?"include":"omit");const t=i&&"credentials"in n.prototype,c={...k,signal:w,method:r.toUpperCase(),headers:v.normalize().toJSON(),body:s,duplex:"half",credentials:t?b:void 0};j=i&&new n(a,c);let m=await(i?x(j,k):x(a,c));const h=l&&("stream"===y||"response"===y);if(l&&(f||h&&_)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=m[t]}));const t=fi.toFiniteNumber(m.headers.get("content-length")),[n,a]=f&&Cl(t,El(Sl(f),!0))||[];m=new o(Jl(m.body,65536,n,(()=>{a&&a(),_&&_()})),e)}y=y||"text";let C=await p[fi.findKey(p,y)||"text"](m,e);return!h&&_&&_(),await new Promise(((t,n)=>{nu(t,n,{data:C,headers:Yc.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:j})}))}catch(t){if(_&&_(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new gi("Network Error",gi.ERR_NETWORK,e,j),{cause:t.cause||t});throw gi.from(t,t&&t.code,e,j)}}},op=new Map,ap=e=>{let t=e?e.env:{};const{fetch:n,Request:o,Response:a}=t,i=[o,a,n];let r,s,c=i.length,u=op;for(;c--;)r=i[c],s=u.get(r),void 0===s&&u.set(r,s=c?new Map:np(t)),u=s;return s};ap();const ip={http:Fl,xhr:Hl,fetch:{get:ap}};fi.forEach(ip,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const rp=e=>`- ${e}`,sp=e=>fi.isFunction(e)||null===e||!1===e;var cp=(e,t)=>{e=fi.isArray(e)?e:[e];const{length:n}=e;let o,a;const i={};for(let r=0;r<n;r++){let n;if(o=e[r],a=o,!sp(o)&&(a=ip[(n=String(o)).toLowerCase()],void 0===a))throw new gi(`Unknown adapter '${n}'`);if(a&&(fi.isFunction(a)||(a=a.get(t))))break;i[n||"#"+r]=a}if(!a){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new gi("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(rp).join("\n"):" "+rp(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return a};function up(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tu(null,e)}function lp(e){up(e),e.headers=Yc.from(e.headers),e.data=Zc.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return cp(e.adapter||Vc.adapter,e)(e).then((function(t){return up(e),t.data=Zc.call(e,e.transformResponse,t),t.headers=Yc.from(t.headers),t}),(function(t){return eu(t)||(up(e),t&&t.response&&(t.response.data=Zc.call(e,e.transformResponse,t.response),t.response.headers=Yc.from(t.response.headers))),Promise.reject(t)}))}const pp={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{pp[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const dp={};pp.transitional=function(e,t,n){function o(e,t){return"[Axios v"+cl+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,i)=>{if(!1===e)throw new gi(o(a," has been removed"+(t?" in "+t:"")),gi.ERR_DEPRECATED);return t&&!dp[a]&&(dp[a]=!0,console.warn(o(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,i)}},pp.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var mp={assertOptions:function(e,t,n){if("object"!=typeof e)throw new gi("options must be an object",gi.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let a=o.length;for(;a-- >0;){const i=o[a],r=t[i];if(r){const t=e[i],n=void 0===t||r(t,i,e);if(!0!==n)throw new gi("option "+i+" must be "+n,gi.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new gi("Unknown option "+i,gi.ERR_BAD_OPTION)}},validators:pp};const hp=mp.validators;let fp=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Ac,response:new Ac}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Wl(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:a}=t;void 0!==n&&mp.assertOptions(n,{silentJSONParsing:hp.transitional(hp.boolean),forcedJSONParsing:hp.transitional(hp.boolean),clarifyTimeoutError:hp.transitional(hp.boolean)},!1),null!=o&&(fi.isFunction(o)?t.paramsSerializer={serialize:o}:mp.assertOptions(o,{encode:hp.function,serialize:hp.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),mp.assertOptions(t,{baseUrl:hp.spelling("baseURL"),withXsrfToken:hp.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=a&&fi.merge(a.common,a[t.method]);a&&fi.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=Yc.concat(i,a);const r=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,p=0;if(!s){const e=[lp.bind(this),void 0];for(e.unshift(...r),e.push(...c),l=e.length,u=Promise.resolve(t);p<l;)u=u.then(e[p++],e[p++]);return u}l=r.length;let d=t;for(;p<l;){const e=r[p++],t=r[p++];try{d=e(d)}catch(e){t.call(this,e);break}}try{u=lp.call(this,d)}catch(e){return Promise.reject(e)}for(p=0,l=c.length;p<l;)u=u.then(c[p++],c[p++]);return u}getUri(e){return Tc(ou((e=Wl(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};fi.forEach(["delete","get","head","options"],(function(e){fp.prototype[e]=function(t,n){return this.request(Wl(n||{},{method:e,url:t,data:(n||{}).data}))}})),fi.forEach(["post","put","patch"],(function(e){function t(t){return function(n,o,a){return this.request(Wl(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:o}))}}fp.prototype[e]=t(),fp.prototype[e+"Form"]=t(!0)}));var gp=fp;class yp{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e),t=e})).then(e);return o.cancel=function(){n.unsubscribe(t)},o},e((function(e,o,a){n.reason||(n.reason=new tu(e,o,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new yp((function(t){e=t})),cancel:e}}}var vp=yp;const bp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(bp).forEach((([e,t])=>{bp[t]=e}));var kp=bp;const xp=function e(t){const n=new gp(t),o=Ca(gp.prototype.request,n);return fi.extend(o,gp.prototype,n,{allOwnKeys:!0}),fi.extend(o,n,null,{allOwnKeys:!0}),o.create=function(n){return e(Wl(t,n))},o}(Vc);xp.Axios=gp,xp.CanceledError=tu,xp.CancelToken=vp,xp.isCancel=eu,xp.VERSION=cl,xp.toFormData=_c,xp.AxiosError=gi,xp.Cancel=xp.CanceledError,xp.all=function(e){return Promise.all(e)},xp.spread=function(e){return function(t){return e.apply(null,t)}},xp.isAxiosError=function(e){return fi.isObject(e)&&!0===e.isAxiosError},xp.mergeConfig=Wl,xp.AxiosHeaders=Yc,xp.formToJSON=e=>Gc(fi.isHTMLForm(e)?new FormData(e):e),xp.getAdapter=cp,xp.HttpStatusCode=kp,xp.default=xp;var wp=xp,jp=function(e){var t=[];return Object.entries(e).forEach((function(e){var n=e[0],o=e[1];if(Array.isArray(o)){var a=o.join(",");t.push("".concat(encodeURIComponent(n),"=").concat(a))}else null!=o&&t.push("".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(String(o))))})),t.join("&")},_p=function(t){function n(n){var o,a,i,r,s=this;return(s=t.call(this,n)||this).token="",null===(a=null===(o=s.instance)||void 0===o?void 0:o.interceptors)||void 0===a||a.request.use((function(t){return e.__assign(e.__assign({},t),{defaults:{headers:e.__assign(e.__assign({},t.headers),{Authorization:"Bearer ".concat(s.getToken())})}})}),(function(e){return Promise.reject(e)})),null===(r=null===(i=s.instance)||void 0===i?void 0:i.interceptors)||void 0===r||r.response.use((function(t){return e.__assign({},t)}),(function(e){return Promise.reject(e)})),s}return e.__extends(n,t),n.prototype.getToken=function(){return"Bearer ".concat(this.token)},n.prototype.setToken=function(e){this.token=e},n.prototype.getUri=function(e){return this.instance.getUri(e)},n.prototype.getCancelTokenSource=function(){var e;return this.cancelToken&&this.cancelToken.cancel(),this.cancelToken=null===(e=wp.CancelToken)||void 0===e?void 0:e.source(),this.cancelToken},n.prototype.request=function(e){var t;return e.cancelToken=null===(t=this.getCancelTokenSource())||void 0===t?void 0:t.token,this.instance.request(e)},n.prototype.get=function(e,t){return this.instance.get(e,t)},n.prototype.options=function(e,t){return this.instance.options(e,t)},n.prototype.delete=function(e,t){return this.instance.delete(e,t)},n.prototype.head=function(e,t){return this.instance.head(e,t)},n.prototype.post=function(e,t,n){return this.instance.post(e,t,n)},n.prototype.put=function(e,t,n){return this.instance.put(e,t,n)},n.prototype.patch=function(e,t,n){return this.instance.patch(e,t,n)},n.prototype.success=function(e){return null==e?void 0:e.data},n.prototype.error=function(e){throw e},n}((function(e){this.instance=wp.create(e)})),Ep=t.inspect,Cp="function"==typeof Map&&Map.prototype,Sp=Object.getOwnPropertyDescriptor&&Cp?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Rp=Cp&&Sp&&"function"==typeof Sp.get?Sp.get:null,Tp=Cp&&Map.prototype.forEach,Ap="function"==typeof Set&&Set.prototype,Ip=Object.getOwnPropertyDescriptor&&Ap?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Op=Ap&&Ip&&"function"==typeof Ip.get?Ip.get:null,zp=Ap&&Set.prototype.forEach,Pp="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Lp="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Dp="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,qp=Boolean.prototype.valueOf,Np=Object.prototype.toString,Mp=Function.prototype.toString,Fp=String.prototype.match,Bp=String.prototype.slice,Up=String.prototype.replace,Gp=String.prototype.toUpperCase,Wp=String.prototype.toLowerCase,Vp=RegExp.prototype.test,Hp=Array.prototype.concat,Kp=Array.prototype.join,$p=Array.prototype.slice,Qp=Math.floor,Jp="function"==typeof BigInt?BigInt.prototype.valueOf:null,Xp=Object.getOwnPropertySymbols,Yp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Zp="function"==typeof Symbol&&"object"==typeof Symbol.iterator,ed="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Zp||"symbol")?Symbol.toStringTag:null,td=Object.prototype.propertyIsEnumerable,nd=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function od(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||Vp.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var o=e<0?-Qp(-e):Qp(e);if(o!==e){var a=String(o),i=Bp.call(t,a.length+1);return Up.call(a,n,"$&_")+"."+Up.call(Up.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Up.call(t,n,"$&_")}var ad=Ep,id=ad.custom,rd=fd(id)?id:null,sd={__proto__:null,double:'"',single:"'"},cd={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},ud=function e(t,n,o,a){var i=n||{};if(yd(i,"quoteStyle")&&!yd(sd,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(yd(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var r=!yd(i,"customInspect")||i.customInspect;if("boolean"!=typeof r&&"symbol"!==r)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(yd(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(yd(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return kd(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var c=String(t);return s?od(t,c):c}if("bigint"==typeof t){var u=String(t)+"n";return s?od(t,u):u}var l=void 0===i.depth?5:i.depth;if(void 0===o&&(o=0),o>=l&&l>0&&"object"==typeof t)return md(t)?"[Array]":"[Object]";var p=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Kp.call(Array(e.indent+1)," ")}return{base:n,prev:Kp.call(Array(t+1),n)}}(i,o);if(void 0===a)a=[];else if(bd(a,t)>=0)return"[Circular]";function d(t,n,r){if(n&&(a=$p.call(a)).push(n),r){var s={depth:i.depth};return yd(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,o+1,a)}return e(t,i,o+1,a)}if("function"==typeof t&&!hd(t)){var m=function(e){if(e.name)return e.name;var t=Fp.call(Mp.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),h=Cd(t,d);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(h.length>0?" { "+Kp.call(h,", ")+" }":"")}if(fd(t)){var f=Zp?Up.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Yp.call(t);return"object"!=typeof t||Zp?f:wd(f)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var g="<"+Wp.call(String(t.nodeName)),y=t.attributes||[],v=0;v<y.length;v++)g+=" "+y[v].name+"="+ld(pd(y[v].value),"double",i);return g+=">",t.childNodes&&t.childNodes.length&&(g+="..."),g+="</"+Wp.call(String(t.nodeName))+">"}if(md(t)){if(0===t.length)return"[]";var b=Cd(t,d);return p&&!function(e){for(var t=0;t<e.length;t++)if(bd(e[t],"\n")>=0)return!1;return!0}(b)?"["+Ed(b,p)+"]":"[ "+Kp.call(b,", ")+" ]"}if(function(e){return"[object Error]"===vd(e)&&dd(e)}(t)){var k=Cd(t,d);return"cause"in Error.prototype||!("cause"in t)||td.call(t,"cause")?0===k.length?"["+String(t)+"]":"{ ["+String(t)+"] "+Kp.call(k,", ")+" }":"{ ["+String(t)+"] "+Kp.call(Hp.call("[cause]: "+d(t.cause),k),", ")+" }"}if("object"==typeof t&&r){if(rd&&"function"==typeof t[rd]&&ad)return ad(t,{depth:l-o});if("symbol"!==r&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!Rp||!e||"object"!=typeof e)return!1;try{Rp.call(e);try{Op.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var x=[];return Tp&&Tp.call(t,(function(e,n){x.push(d(n,t,!0)+" => "+d(e,t))})),_d("Map",Rp.call(t),x,p)}if(function(e){if(!Op||!e||"object"!=typeof e)return!1;try{Op.call(e);try{Rp.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var w=[];return zp&&zp.call(t,(function(e){w.push(d(e,t))})),_d("Set",Op.call(t),w,p)}if(function(e){if(!Pp||!e||"object"!=typeof e)return!1;try{Pp.call(e,Pp);try{Lp.call(e,Lp)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return jd("WeakMap");if(function(e){if(!Lp||!e||"object"!=typeof e)return!1;try{Lp.call(e,Lp);try{Pp.call(e,Pp)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return jd("WeakSet");if(function(e){if(!Dp||!e||"object"!=typeof e)return!1;try{return Dp.call(e),!0}catch(e){}return!1}(t))return jd("WeakRef");if(function(e){return"[object Number]"===vd(e)&&dd(e)}(t))return wd(d(Number(t)));if(function(e){if(!e||"object"!=typeof e||!Jp)return!1;try{return Jp.call(e),!0}catch(e){}return!1}(t))return wd(d(Jp.call(t)));if(function(e){return"[object Boolean]"===vd(e)&&dd(e)}(t))return wd(qp.call(t));if(function(e){return"[object String]"===vd(e)&&dd(e)}(t))return wd(d(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==bi&&t===bi)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===vd(e)&&dd(e)}(t)&&!hd(t)){var j=Cd(t,d),_=nd?nd(t)===Object.prototype:t instanceof Object||t.constructor===Object,E=t instanceof Object?"":"null prototype",C=!_&&ed&&Object(t)===t&&ed in t?Bp.call(vd(t),8,-1):E?"Object":"",S=(_||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(C||E?"["+Kp.call(Hp.call([],C||[],E||[]),": ")+"] ":"");return 0===j.length?S+"{}":p?S+"{"+Ed(j,p)+"}":S+"{ "+Kp.call(j,", ")+" }"}return String(t)};function ld(e,t,n){var o=n.quoteStyle||t,a=sd[o];return a+e+a}function pd(e){return Up.call(String(e),/"/g,""")}function dd(e){return!ed||!("object"==typeof e&&(ed in e||void 0!==e[ed]))}function md(e){return"[object Array]"===vd(e)&&dd(e)}function hd(e){return"[object RegExp]"===vd(e)&&dd(e)}function fd(e){if(Zp)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!Yp)return!1;try{return Yp.call(e),!0}catch(e){}return!1}var gd=Object.prototype.hasOwnProperty||function(e){return e in this};function yd(e,t){return gd.call(e,t)}function vd(e){return Np.call(e)}function bd(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1}function kd(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return kd(Bp.call(e,0,t.maxStringLength),t)+o}var a=cd[t.quoteStyle||"single"];return a.lastIndex=0,ld(Up.call(Up.call(e,a,"\\$1"),/[\x00-\x1f]/g,xd),"single",t)}function xd(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+Gp.call(t.toString(16))}function wd(e){return"Object("+e+")"}function jd(e){return e+" { ? }"}function _d(e,t,n,o){return e+" ("+t+") {"+(o?Ed(n,o):Kp.call(n,", "))+"}"}function Ed(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+Kp.call(e,","+n)+"\n"+t.prev}function Cd(e,t){var n=md(e),o=[];if(n){o.length=e.length;for(var a=0;a<e.length;a++)o[a]=yd(e,a)?t(e[a],e):""}var i,r="function"==typeof Xp?Xp(e):[];if(Zp){i={};for(var s=0;s<r.length;s++)i["$"+r[s]]=r[s]}for(var c in e)yd(e,c)&&(n&&String(Number(c))===c&&c<e.length||Zp&&i["$"+c]instanceof Symbol||(Vp.call(/[^\w$]/,c)?o.push(t(c,e)+": "+t(e[c],e)):o.push(c+": "+t(e[c],e))));if("function"==typeof Xp)for(var u=0;u<r.length;u++)td.call(e,r[u])&&o.push("["+t(r[u])+"]: "+t(e[r[u]],e));return o}var Sd,Rd,Td,Ad,Id,Od,zd,Pd,Ld,Dd,qd,Nd,Md,Fd,Bd,Ud,Gd,Wd,Vd,Hd,Kd,$d,Qd=ud,Jd=sr,Xd=function(e,t,n){for(var o,a=e;null!=(o=a.next);a=o)if(o.key===t)return a.next=o.next,n||(o.next=e.next,e.next=o),o},Yd=Ys,Zd=ns,em=Zd([Yd("%String.prototype.indexOf%")]),tm=function(e,t){var n=Yd(e,!!t);return"function"==typeof n&&em(e,".prototype.")>-1?Zd([n]):n},nm=tm,om=ud,am=sr,im=Ys("%Map%",!0),rm=nm("Map.prototype.get",!0),sm=nm("Map.prototype.set",!0),cm=nm("Map.prototype.has",!0),um=nm("Map.prototype.delete",!0),lm=nm("Map.prototype.size",!0),pm=!!im&&function(){var e,t={assert:function(e){if(!t.has(e))throw new am("Side channel does not contain "+om(e))},delete:function(t){if(e){var n=um(e,t);return 0===lm(e)&&(e=void 0),n}return!1},get:function(t){if(e)return rm(e,t)},has:function(t){return!!e&&cm(e,t)},set:function(t,n){e||(e=new im),sm(e,t,n)}};return t},dm=tm,mm=ud,hm=pm,fm=sr,gm=Ys("%WeakMap%",!0),ym=dm("WeakMap.prototype.get",!0),vm=dm("WeakMap.prototype.set",!0),bm=dm("WeakMap.prototype.has",!0),km=dm("WeakMap.prototype.delete",!0),xm=sr,wm=ud,jm=function(){var e,t={assert:function(e){if(!t.has(e))throw new Jd("Side channel does not contain "+Qd(e))},delete:function(t){var n=e&&e.next,o=function(e,t){if(e)return Xd(e,t,!0)}(e,t);return o&&n&&n===o&&(e=void 0),!!o},get:function(t){return function(e,t){if(e){var n=Xd(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!Xd(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var o=Xd(e,t);o?o.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t},_m=(gm?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new fm("Side channel does not contain "+mm(e))},delete:function(n){if(gm&&n&&("object"==typeof n||"function"==typeof n)){if(e)return km(e,n)}else if(hm&&t)return t.delete(n);return!1},get:function(n){return gm&&n&&("object"==typeof n||"function"==typeof n)&&e?ym(e,n):t&&t.get(n)},has:function(n){return gm&&n&&("object"==typeof n||"function"==typeof n)&&e?bm(e,n):!!t&&t.has(n)},set:function(n,o){gm&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new gm),vm(e,n,o)):hm&&(t||(t=hm()),t.set(n,o))}};return n}:hm)||pm||jm,Em=String.prototype.replace,Cm=/%20/g,Sm="RFC3986",Rm={default:Sm,formatters:{RFC1738:function(e){return Em.call(e,Cm,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:Sm},Tm=Rm,Am=Object.prototype.hasOwnProperty,Im=Array.isArray,Om=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),zm=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},o=0;o<e.length;++o)void 0!==e[o]&&(n[o]=e[o]);return n},Pm=1024,Lm={arrayToObject:zm,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],o=0;o<t.length;++o)for(var a=t[o],i=a.obj[a.prop],r=Object.keys(i),s=0;s<r.length;++s){var c=r[s],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:i,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(Im(n)){for(var o=[],a=0;a<n.length;++a)void 0!==n[a]&&o.push(n[a]);t.obj[t.prop]=o}}}(t),e},decode:function(e,t,n){var o=e.replace(/\+/g," ");if("iso-8859-1"===n)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(e){return o}},encode:function(e,t,n,o,a){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===n)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var r="",s=0;s<i.length;s+=Pm){for(var c=i.length>=Pm?i.slice(s,s+Pm):i,u=[],l=0;l<c.length;++l){var p=c.charCodeAt(l);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===Tm.RFC1738&&(40===p||41===p)?u[u.length]=c.charAt(l):p<128?u[u.length]=Om[p]:p<2048?u[u.length]=Om[192|p>>6]+Om[128|63&p]:p<55296||p>=57344?u[u.length]=Om[224|p>>12]+Om[128|p>>6&63]+Om[128|63&p]:(l+=1,p=65536+((1023&p)<<10|1023&c.charCodeAt(l)),u[u.length]=Om[240|p>>18]+Om[128|p>>12&63]+Om[128|p>>6&63]+Om[128|63&p])}r+=u.join("")}return r},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(Im(e)){for(var n=[],o=0;o<e.length;o+=1)n.push(t(e[o]));return n}return t(e)},merge:function e(t,n,o){if(!n)return t;if("object"!=typeof n){if(Im(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(o&&(o.plainObjects||o.allowPrototypes)||!Am.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return Im(t)&&!Im(n)&&(a=zm(t,o)),Im(t)&&Im(n)?(n.forEach((function(n,a){if(Am.call(t,a)){var i=t[a];i&&"object"==typeof i&&n&&"object"==typeof n?t[a]=e(i,n,o):t.push(n)}else t[a]=n})),t):Object.keys(n).reduce((function(t,a){var i=n[a];return Am.call(t,a)?t[a]=e(t[a],i,o):t[a]=i,t}),a)}},Dm=function(){var e,t={assert:function(e){if(!t.has(e))throw new xm("Side channel does not contain "+wm(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=_m()),e.set(t,n)}};return t},qm=Lm,Nm=Rm,Mm=Object.prototype.hasOwnProperty,Fm={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},Bm=Array.isArray,Um=Array.prototype.push,Gm=function(e,t){Um.apply(e,Bm(t)?t:[t])},Wm=Date.prototype.toISOString,Vm=Nm.default,Hm={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:qm.encode,encodeValuesOnly:!1,format:Vm,formatter:Nm.formatters[Vm],indices:!1,serializeDate:function(e){return Wm.call(e)},skipNulls:!1,strictNullHandling:!1},Km={},$m=function e(t,n,o,a,i,r,s,c,u,l,p,d,m,h,f,g,y,v){for(var b,k=t,x=v,w=0,j=!1;void 0!==(x=x.get(Km))&&!j;){var _=x.get(t);if(w+=1,void 0!==_){if(_===w)throw new RangeError("Cyclic object value");j=!0}void 0===x.get(Km)&&(w=0)}if("function"==typeof l?k=l(n,k):k instanceof Date?k=m(k):"comma"===o&&Bm(k)&&(k=qm.maybeMap(k,(function(e){return e instanceof Date?m(e):e}))),null===k){if(r)return u&&!g?u(n,Hm.encoder,y,"key",h):n;k=""}if("string"==typeof(b=k)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||qm.isBuffer(k))return u?[f(g?n:u(n,Hm.encoder,y,"key",h))+"="+f(u(k,Hm.encoder,y,"value",h))]:[f(n)+"="+f(String(k))];var E,C=[];if(void 0===k)return C;if("comma"===o&&Bm(k))g&&u&&(k=qm.maybeMap(k,u)),E=[{value:k.length>0?k.join(",")||null:void 0}];else if(Bm(l))E=l;else{var S=Object.keys(k);E=p?S.sort(p):S}var R=c?n.replace(/\./g,"%2E"):n,T=a&&Bm(k)&&1===k.length?R+"[]":R;if(i&&Bm(k)&&0===k.length)return T+"[]";for(var A=0;A<E.length;++A){var I=E[A],O="object"==typeof I&&void 0!==I.value?I.value:k[I];if(!s||null!==O){var z=d&&c?I.replace(/\./g,"%2E"):I,P=Bm(k)?"function"==typeof o?o(T,z):T:T+(d?"."+z:"["+z+"]");v.set(t,w);var L=Dm();L.set(Km,v),Gm(C,e(O,P,o,a,i,r,s,c,"comma"===o&&g&&Bm(k)?null:u,l,p,d,m,h,f,g,y,L))}}return C},Qm=Lm,Jm=Object.prototype.hasOwnProperty,Xm=Array.isArray,Ym={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Qm.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},Zm=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},eh=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},th=function(e,t,n,o){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,r=n.depth>0&&/(\[[^[\]]*])/.exec(a),s=r?a.slice(0,r.index):a,c=[];if(s){if(!n.plainObjects&&Jm.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var u=0;n.depth>0&&null!==(r=i.exec(a))&&u<n.depth;){if(u+=1,!n.plainObjects&&Jm.call(Object.prototype,r[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(r[1])}if(r){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");c.push("["+a.slice(r.index)+"]")}return function(e,t,n,o){for(var a=o?t:eh(t,n),i=e.length-1;i>=0;--i){var r,s=e[i];if("[]"===s&&n.parseArrays)r=n.allowEmptyArrays&&(""===a||n.strictNullHandling&&null===a)?[]:[].concat(a);else{r=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=n.decodeDotInKeys?c.replace(/%2E/g,"."):c,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(r=[])[l]=a:"__proto__"!==u&&(r[u]=a):r={0:a}}a=r}return a}(c,t,n,o)}},nh=function(e,t){var n,o=e,a=function(e){if(!e)return Hm;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||Hm.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Nm.default;if(void 0!==e.format){if(!Mm.call(Nm.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var o,a=Nm.formatters[n],i=Hm.filter;if(("function"==typeof e.filter||Bm(e.filter))&&(i=e.filter),o=e.arrayFormat in Fm?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":Hm.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var r=void 0===e.allowDots?!0===e.encodeDotInKeys||Hm.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:Hm.addQueryPrefix,allowDots:r,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:Hm.allowEmptyArrays,arrayFormat:o,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Hm.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?Hm.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:Hm.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:Hm.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:Hm.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:Hm.encodeValuesOnly,filter:i,format:n,formatter:a,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:Hm.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:Hm.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Hm.strictNullHandling}}(t);"function"==typeof a.filter?o=(0,a.filter)("",o):Bm(a.filter)&&(n=a.filter);var i=[];if("object"!=typeof o||null===o)return"";var r=Fm[a.arrayFormat],s="comma"===r&&a.commaRoundTrip;n||(n=Object.keys(o)),a.sort&&n.sort(a.sort);for(var c=Dm(),u=0;u<n.length;++u){var l=n[u];a.skipNulls&&null===o[l]||Gm(i,$m(o[l],l,r,s,a.allowEmptyArrays,a.strictNullHandling,a.skipNulls,a.encodeDotInKeys,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,c))}var p=i.join(a.delimiter),d=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),p.length>0?d+p:""},oh=function(e,t){var n=function(e){if(!e)return Ym;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?Ym.charset:e.charset,n=void 0===e.duplicates?Ym.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||Ym.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:Ym.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:Ym.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:Ym.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:Ym.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Ym.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:Ym.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:Ym.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:Ym.decoder,delimiter:"string"==typeof e.delimiter||Qm.isRegExp(e.delimiter)?e.delimiter:Ym.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:Ym.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:Ym.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:Ym.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:Ym.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:Ym.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Ym.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var o="string"==typeof e?function(e,t){var n={__proto__:null},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a,i=t.parameterLimit===1/0?void 0:t.parameterLimit,r=o.split(t.delimiter,i),s=-1,c=t.charset;if(t.charsetSentinel)for(a=0;a<r.length;++a)0===r[a].indexOf("utf8=")&&("utf8=%E2%9C%93"===r[a]?c="utf-8":"utf8=%26%2310003%3B"===r[a]&&(c="iso-8859-1"),s=a,a=r.length);for(a=0;a<r.length;++a)if(a!==s){var u,l,p=r[a],d=p.indexOf("]="),m=-1===d?p.indexOf("="):d+1;-1===m?(u=t.decoder(p,Ym.decoder,c,"key"),l=t.strictNullHandling?null:""):(u=t.decoder(p.slice(0,m),Ym.decoder,c,"key"),l=Qm.maybeMap(eh(p.slice(m+1),t),(function(e){return t.decoder(e,Ym.decoder,c,"value")}))),l&&t.interpretNumericEntities&&"iso-8859-1"===c&&(l=Zm(l)),p.indexOf("[]=")>-1&&(l=Xm(l)?[l]:l);var h=Jm.call(n,u);h&&"combine"===t.duplicates?n[u]=Qm.combine(n[u],l):h&&"last"!==t.duplicates||(n[u]=l)}return n}(e,n):e,a=n.plainObjects?Object.create(null):{},i=Object.keys(o),r=0;r<i.length;++r){var s=i[r],c=th(s,o[s],n,"string"==typeof e);a=Qm.merge(a,c,n)}return!0===n.allowSparse?a:Qm.compact(a)},ah={formats:Rm,parse:oh,stringify:nh},ih={withCredentials:!0,timeout:9e4,baseURL:"https://jsonplaceholder.typicode.com/",headers:{"Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache","Content-Type":"application/json",Accept:"application/json"},paramsSerializer:function(e){return ah.stringify(e,{indices:!1})}};exports.SendPaymentNotification=void 0,Sd=exports.SendPaymentNotification||(exports.SendPaymentNotification={}),(Rd=Sd.NotificationStatus||(Sd.NotificationStatus={})).SETTLED="SETTLED",Rd.NOT_SETTLED="NOT_SETTLED",(Td=Sd.NotificationReason||(Sd.NotificationReason={})).REFUNDED="REFUNDED",Td.RESOLVED="RESOLVED",Td.CANCELLED="CANCELLED",Td.SERVICE_SUSPENDED="SERVICE_SUSPENDED",Td.ORDER_STOPPED="ORDER_STOPPED",Td.DISMISS="DISMISS",exports.PaymentFiltersSection=void 0,(Ad=exports.PaymentFiltersSection||(exports.PaymentFiltersSection={})).PAYMENTS="payments",Ad.INSIGHTS="insights",exports.Organization=void 0,Id=exports.Organization||(exports.Organization={}),(Od=Id.CustomClaims||(Id.CustomClaims={})).ORGANIZATION_CODE="https://dashboard.dev.y.uno/organization_code",Od.USER_CODE="https://dashboard.dev.y.uno/user_code",Od.USER_EMAIL="https://dashboard.dev.y.uno/user_email",exports.Country=void 0,zd=exports.Country||(exports.Country={}),(Pd=zd.CountryCode||(zd.CountryCode={})).COLOMBIA="CO",Pd.MEXICO="MX",Pd.BRAZIL="BR",Pd.ARGENTINA="AR",Pd.CHILE="CL",Pd.PERU="PE",Pd.URUGUAY="UR",Pd.ECUADOR="EC",exports.Cms=void 0,Ld=exports.Cms||(exports.Cms={}),(Dd=Ld.Locale||(Ld.Locale={})).EN="en",Dd.ES="es",Dd.PT="pt",(qd=Ld.Target||(Ld.Target={})).BLANK="_blank",qd.PARENT="_parent",qd.SELF="_self",qd.TOP="_top",exports.ReportType=void 0,(Nd=exports.ReportType||(exports.ReportType={})).PAYMENTS="PAYMENTS",Nd.TRANSACTIONS="TRANSACTIONS",Nd.FRAUD_TRANSACTIONS="FRAUD_TRANSACTIONS",Nd.PAYOUTS="PAYOUTS",exports.TemplateType=void 0,(Md=exports.TemplateType||(exports.TemplateType={})).ALL="ALL",Md.DEFAULT="DEFAULT",Md.CUSTOM="CUSTOM",exports.SmartRouting=void 0,Fd=exports.SmartRouting||(exports.SmartRouting={}),(Bd=Fd.StepType||(Fd.StepType={})).FRAUD="FRAUD",Bd.PAYMENT="PAYMENT",Bd.THREE_D_SECURE="THREE_D_SECURE",Bd.CYBERSOURCE_3DS="CYBERSOURCE_3DS",(Ud=Fd.DeclineGroupType||(Fd.DeclineGroupType={})).PROVIDER_STATUS="PROVIDER_STATUS",Ud.MAC_CODE="MAC_CODE",exports.DataReport=void 0,Gd=exports.DataReport||(exports.DataReport={}),(Wd=Gd.InsightsVolumeMetricsV2Path||(Gd.InsightsVolumeMetricsV2Path={})).REFUNDS_AND_CHARGEBACKS="refunds-and-chargebacks",Wd.APPROVED_PAYMENTS="approved-payments",Wd.PAYMENT_METHODS="payment-methods",Wd.PROVIDERS="providers",Wd.COUNTRIES="countries",Wd.UNIQUE_CUSTOMER_PAYMENTS="unique-customer-payments",Wd.TOTAL_PAYMENTS="total-payments",function(e){e.GENERAL="volume-and-total-payments",e.LATENCY="provider-latency",e.STATUS="status",e.SUBSCRIPTIONS="subscriptions"}(Gd.OverviewMetricType||(Gd.OverviewMetricType={})),exports.ReconciliationReportType=void 0,(Vd=exports.ReconciliationReportType||(exports.ReconciliationReportType={})).TRANSACTIONS="TRANSACTION_RECONCILIATION",Vd.SETTLEMENTS="SETTLEMENTS",Vd.SETTLEMENTS_HEADER="SETTLEMENTS_HEADER",Vd.AGENDA="AGENDA",Vd.SALES_CONCILIATION="SALES_CONCILIATION",Vd.FEES="FEES",Vd.ADVANCEMENTS="ADVANCEMENTS",Vd.RECONCILIATION_OVERVIEW="RECONCILIATION_OVERVIEW",Vd.SETTLEMENTS_FEES="SETTLEMENTS_FEES",Vd.CASHFLOW="CASHFLOW",Vd.PROCESSED_TRANSACTIONS="PROCESSED_TRANSACTIONS",exports.ReconciliationAgendaInsight=void 0,(Hd=exports.ReconciliationAgendaInsight||(exports.ReconciliationAgendaInsight={})).TOTAL_AMOUNT="AGENDA_TOTAL_AMOUNT",Hd.DAILY="AGENDA_DAILY_DISTRIBUTION",Hd.PAYMENT_METHOD="AGENDA_PAYMENT_METHOD_DISTRIBUTION",Hd.CARD_BRAND="AGENDA_CARD_BRAND_DISTRIBUTION",exports.AI=void 0,Kd=exports.AI||(exports.AI={}),($d=Kd.AIGenerateStatus||(Kd.AIGenerateStatus={})).ACCEPTED="ACCEPTED",$d.REFUSED="REFUSED",$d.FRONT_FAILED="FRONT_FAILED";var rh=["PAUSED","ACTIVE"],sh={PAUSED:"pause",DELETED:"delete",ACTIVE:"unpause"},ch="DELETED",uh={CR_CARD_BIN:"bin",CR_CARD_BRAND:"brand",CR_CARD_ISSUER_NAME:"issuer-name",CR_CARD_TYPE:"type",CR_FALLBACK:"fallback"},lh=function(e){return!(null==e?void 0:e.data)||"string"==typeof(null==e?void 0:e.data)&&""===(null==e?void 0:e.data)},ph=[{status:"CREATED",sub_status:"CREATED",icon:"FlagBanner",type:"info",label:"Created",sub_status_icon:"FlagBanner",sub_status_label:"Created"},{status:"CREATED",sub_status:"REJECTED",icon:"WarningCircle",type:"error",label:"Created",sub_status_icon:"WarningCircle",sub_status_label:"Rejected"},{status:"ERROR",sub_status:"CREATED",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Created"},{status:"ERROR",sub_status:"ERROR",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Error"},{status:"ERROR",sub_status:"TIMEOUT",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Timeout"},{status:"ERROR",sub_status:"PENDING_REVERSE",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Pending reverse"},{status:"ERROR",sub_status:"REVERSED_BY_TIMEOUT",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Reversed by timeout"},{status:"SUCCEEDED",sub_status:"CREATED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Created"},{status:"SUCCEEDED",sub_status:"PARTIALLY_APPROVED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Partially approved"},{status:"SUCCEEDED",sub_status:"APPROVED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Approved"},{status:"SUCCEEDED",sub_status:"CAPTURED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Captured"},{status:"SUCCEEDED",sub_status:"PARTIALLY_CAPTURED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Partially captured"},{status:"SUCCEEDED",sub_status:"PARTIALLY_REFUNDED",icon:"ArrowCircleLeft",type:"success",label:"Succeeded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Partially refunded"},{status:"CANCELED",sub_status:"CREATED",icon:"Prohibit",type:"error",label:"Canceled",sub_status_icon:"Prohibit",sub_status_label:"Created"},{status:"CANCELED",sub_status:"PENDING_PROVIDER_CONFIRMATION",icon:"Clock",type:"info",label:"Cancellation pending",sub_status_icon:"Clock",sub_status_label:"Pending provider confirmation"},{status:"CANCELED",sub_status:"CANCELED",icon:"Prohibit",type:"error",label:"Canceled",sub_status_icon:"Prohibit",sub_status_label:"Canceled"},{status:"DECLINED",sub_status:"CREATED",icon:"Prohibit",type:"error",label:"Declined",sub_status_icon:"Prohibit",sub_status_label:"Created"},{status:"DECLINED",sub_status:"DECLINED",icon:"Prohibit",type:"error",label:"Declined",sub_status_icon:"Prohibit",sub_status_label:"Declined"},{status:"REJECTED",sub_status:"CREATED",icon:"Prohibit",type:"error",label:"Rejected",sub_status_icon:"Prohibit",sub_status_label:"Created"},{status:"REJECTED",sub_status:"REJECTED",icon:"Prohibit",type:"error",label:"Rejected",sub_status_icon:"Prohibit",sub_status_label:"Rejected"},{status:"REFUNDED",sub_status:"CREATED",icon:"ArrowCircleLeft",type:"secondary",label:"Refunded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Created"},{status:"REFUNDED",sub_status:"PARTIALLY_REFUNDED",icon:"ArrowCircleLeft",type:"success",label:"Refunded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Partially refunded"},{status:"REFUNDED",sub_status:"PENDING_PROVIDER_CONFIRMATION",icon:"Clock",type:"secondary",label:"Refunded",sub_status_icon:"Clock",sub_status_label:"Pending provider confirmation"},{status:"REFUNDED",sub_status:"REFUNDED",icon:"ArrowCircleLeft",type:"secondary",label:"Refunded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Refunded"},{status:"PENDING",sub_status:"CREATED",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Created"},{status:"PENDING",sub_status:"AUTHORIZED",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Authorized"},{status:"PENDING",sub_status:"WAITING_ADDITIONAL_STEP",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Waiting additional step"},{status:"PENDING",sub_status:"PENDING_PROVIDER_CONFIRMATION",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Pending provider confirmation"},{status:"VERIFIED",sub_status:"CREATED",icon:"CheckCircle",type:"success",label:"Verified",sub_status_icon:"CheckCircle",sub_status_label:"Created"},{status:"VERIFIED",sub_status:"VERIFIED",icon:"CheckCircle",type:"success",label:"Verified",sub_status_icon:"CheckCircle",sub_status_label:"Verified"},{status:"READY_TO_PAY",sub_status:"CREATED",icon:"FlagBanner",type:"info",label:"Ready to pay",sub_status_icon:"FlagBanner",sub_status_label:"Created"},{status:"READY_TO_PAY",sub_status:"READY_TO_PAY",icon:"FlagBanner",type:"info",label:"Ready to pay",sub_status_icon:"FlagBanner",sub_status_label:"Ready to pay"},{status:"EXPIRED",sub_status:"CREATED",icon:"Clock",type:"error",label:"Expired",sub_status_icon:"Clock",sub_status_label:"Created"},{status:"EXPIRED",sub_status:"EXPIRED",icon:"Clock",type:"error",label:"Expired",sub_status_icon:"Clock",sub_status_label:"Expired"},{status:"PENDING",sub_status:"IN_PROCESS",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"In process"},{status:"PENDING",sub_status:"PENDING_FRAUD_REVIEW",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Pending fraud review"},{status:"REJECTED",sub_status:"FRAUD_DECLINED",icon:"Prohibit",type:"error",label:"Rejected",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"},{status:"DECLINED",sub_status:"FRAUD_DECLINED",icon:"Prohibit",type:"error",label:"Declined",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"},{status:"FRAUD_VERIFIED",sub_status:"FRAUD_SCREENING_VERIFIED",icon:"CheckCircle",type:"success",label:"Fraud verified",sub_status_icon:"CheckCircle",sub_status_label:"Fraud screening verified"},{status:"SUCCEEDED",sub_status:"PARTIALLY_CHARGEBACKED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Partially chargebacked"},{status:"IN_DISPUTE",sub_status:"RECEIVED",icon:"ArrowCircleLeft",type:"secondary",label:"In dispute",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Received"},{status:"IN_DISPUTE",sub_status:"PENDING_REVIEW",icon:"ArrowCircleLeft",type:"secondary",label:"In dispute",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Pending review"},{status:"CHARGEBACK",sub_status:"LOST",icon:"Prohibit",type:"error",label:"Chargeback",sub_status_icon:"Prohibit",sub_status_label:"Lost"},{status:"SUCCEEDED",sub_status:"VERIFIED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Verified"},{status:"SUCCEEDED",sub_status:"FRAUD_DECLINED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"},{status:"PENDING",sub_status:"FRAUD_DECLINED",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"}],dh=[{status:"SUCCEEDED",icon:"CheckCircle",type:"success",label:"Succeeded"},{status:"CREATED",icon:"FlagBanner",type:"info",label:"Created"},{status:"ERROR",icon:"WarningCircle",type:"error",label:"Error"},{status:"EXPIRED",icon:"Clock",type:"error",label:"Expired"},{status:"CANCELED",icon:"Prohibit",type:"error",label:"Canceled"},{status:"DECLINED",icon:"Prohibit",type:"error",label:"Declined"},{status:"PENDING",icon:"Clock",type:"warning",label:"Pending"},{status:"REJECTED",icon:"Prohibit",type:"error",label:"Rejected"},{status:"WON",icon:"CheckCircle",type:"success",label:"Won"},{status:"LOST",icon:"WarningCircle",type:"error",label:"Lost"}],mh=[{id:1,status:"RECONCILED",sub_status:"AUTOMATICALLY",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Automatically",sub_status_icon:"CheckCircle"},{id:2,status:"RECONCILED",sub_status:"MANUALLY",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Manually",sub_status_icon:"CheckCircle"},{id:3,status:"NOT_RECONCILED",sub_status:"PENDING",type:"warning",label:"Not reconciled",icon:"Clock",sub_status_label:"Pending",sub_status_icon:"Clock"},{id:4,status:"NOT_RECONCILED",sub_status:"MISSING",type:"warning",label:"Not reconciled",icon:"Clock",sub_status_label:"Missing",sub_status_icon:"Clock"},{id:5,status:"RECONCILED",sub_status:"STATUS_CONFLICT",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Status conflict",sub_status_icon:"CheckCircle"},{id:6,status:"RECONCILED",sub_status:"DATE_CONFLICT",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Date conflict",sub_status_icon:"CheckCircle"},{id:7,status:"RECONCILED",sub_status:"AMOUNT_CONFLICT",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Amount conflict",sub_status_icon:"CheckCircle"},{id:8,status:"RECONCILING_INSTALLMENTS",sub_status:"PENDING_INSTALLMENTS",type:"warning",label:"Reconciling installments",icon:"Clock",sub_status_label:"Pending installments",sub_status_icon:"Clock"},{id:9,status:"NON_RECONCILABLE",sub_status:"AUTOMATICALLY",type:"warning",label:"Non Reconciliable",icon:"Clock",sub_status_label:"Automatically",sub_status_icon:"Clock"}],hh=[{identifier:"America/Argentina/Buenos_Aires",utc_offset:{dst:"-03:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Asuncion",utc_offset:{dst:"-04:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/Bogota",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Caracas",utc_offset:{dst:"-04:00",std:"-04:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/Chicago",utc_offset:{dst:"-05:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Costa_Rica",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/El_Salvador",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Guatemala",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Guayaquil",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Havana",utc_offset:{dst:"-05:00",std:"-04:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/La_Paz",utc_offset:{dst:"-04:00",std:"-04:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/Lima",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Managua",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Mexico_City",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Montevideo",utc_offset:{dst:"-03:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Panama",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Phoenix",utc_offset:{dst:"-07:00",std:"-07:00"},abbreviation:{dst:"GMT",std:"-7"}},{identifier:"America/Santiago",utc_offset:{dst:"-04:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Sao_Paulo",utc_offset:{dst:"-03:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Tegucigalpa",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"Asia/Famagusta",utc_offset:{dst:"+02:00",std:"+03:00"},abbreviation:{dst:"EET",std:""}},{identifier:"Asia/Seoul",utc_offset:{dst:"+09:00",std:"+09:00"},abbreviation:{dst:"KST",std:""}},{identifier:"Asia/Shanghai",utc_offset:{dst:"+08:00",std:"+08:00"},abbreviation:{dst:"CST",std:""}},{identifier:"Asia/Tokyo",utc_offset:{dst:"+09:00",std:"+09:00"},abbreviation:{dst:"JST",std:""}},{identifier:"Australia/Sydney",utc_offset:{dst:"+10:00",std:"+11:00"},abbreviation:{dst:"AEST",std:""}},{identifier:"Coordinated Universal Time",utc_offset:{dst:"+00:00",std:"+00:00"},abbreviation:{dst:"UTC",std:""}},{identifier:"Europe/Madrid",utc_offset:{dst:"+01:00",std:"+01:00"},abbreviation:{dst:"GMT",std:"+1"}},{identifier:"Europe/Moscow",utc_offset:{dst:"+03:00",std:"+03:00"},abbreviation:{dst:"MSK",std:""}},{identifier:"India",utc_offset:{dst:"+03:00",std:"+03:00"},abbreviation:{dst:"IST",std:""}}],fh=[{id:1,value:"ACCOUNTS",type:"source"},{id:2,value:"CHECKOUT",type:"source"},{id:3,value:"CREATE",type:"event"},{id:4,value:"UPDATE",type:"event"},{id:5,value:"CONNECTIONS",type:"source"},{id:6,value:"ROLES",type:"source"},{id:7,value:"ROUTING",type:"source"},{id:8,value:"TEAMS",type:"source"},{id:9,value:"WEBHOOKS",type:"source"},{id:10,value:"PAYMENT_LINKS",type:"source"},{id:11,value:"DELETE",type:"event"}],gh={docs_url:"https://docs.y.uno/reference/api-reference-overview"},yh={en:[{text:"Home",pathname:"/",position:1,icon:"Monitor",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"Insights",pathname:"/insights",position:2,icon:"ChartLine",type:null,target:null,permission:"access_actionable_payment_insights",locale:"en",submenues:null},{text:"Payments",pathname:"/payments",position:3,icon:"ArrowsLeftRight",type:null,target:null,permission:"view_payment_transactions",locale:"en",submenues:null},{text:"Risk conditions",pathname:"/risk-conditions",position:4,icon:"ShieldWarning",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"Payment links",pathname:"/payment-links",position:5,icon:"LinkSimple",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"Connections",pathname:"/connections",position:6,icon:"BoundingBox",type:null,target:null,permission:"view_connections",locale:"en",submenues:null},{text:"Reconciliations",pathname:"/reconciliations",position:7,icon:"Swap",type:null,target:null,permission:"view_settlement_reports",locale:"en",submenues:null},{text:"Routing",pathname:"/routing",position:8,icon:"TreeStructure",type:null,target:null,permission:"view_your_processing_routes",locale:"en",submenues:null},{text:"Checkout builder",pathname:"/checkout-builder",position:9,icon:"ShoppingCart",type:null,target:null,permission:"view_your_checkout",locale:"en",submenues:null},{text:"Developers",pathname:"/developers",position:10,icon:"Code",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"SUPPORT",pathname:null,position:11,icon:"Monitor",type:"SUB_HEADER",target:null,permission:"all",locale:"en",submenues:null},{text:"API Reference",pathname:"https://docs.y.uno/reference/introduction",position:13,icon:"TerminalWindow",type:null,target:"_blank",permission:"all",locale:"en",submenues:null},{text:"Audit logs",pathname:"/audit",position:14,icon:"FileSearch",type:null,target:null,permission:"all",locale:"en",submenues:null}],pt:[{text:"Pagamentos",pathname:"/payments",position:3,icon:"ArrowsLeftRight",type:null,target:null,permission:"view_payment_transactions",locale:"pt",submenues:null},{text:"Início",pathname:"/",position:1,icon:"Monitor",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Insights",pathname:"/insights",position:2,icon:"ChartLine",type:null,target:null,permission:"access_actionable_payment_insights",locale:"pt",submenues:null},{text:"ASSISTÊNCIA",pathname:null,position:11,icon:"Monitor",type:"SUB_HEADER",target:null,permission:"all",locale:"pt",submenues:null},{text:"Risk conditions",pathname:"/risk-conditions",position:4,icon:"ShieldWarning",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Checkout builder",pathname:"/checkout-builder",position:9,icon:"ShoppingCart",type:null,target:null,permission:"view_your_checkout",locale:"pt",submenues:null},{text:"Programadores",pathname:"/developers",position:10,icon:"Code",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Links de pagamento",pathname:"/payment-links",position:5,icon:"LinkSimple",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Reconciliações",pathname:"/reconciliations",position:7,icon:"Swap",type:null,target:null,permission:"view_settlement_reports",locale:"pt",submenues:null},{text:"Auditoria",pathname:"/audit",position:14,icon:"FileSearch",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"API referência",pathname:"https://docs.y.uno/reference/introduction",position:13,icon:"TerminalWindow",type:null,target:"_blank",permission:"all",locale:"pt",submenues:null},{text:"Conexões",pathname:"/connections",position:6,icon:"BoundingBox",type:null,target:null,permission:"view_connections",locale:"pt",submenues:null},{text:"Roteamento",pathname:"/routing",position:8,icon:"TreeStructure",type:null,target:null,permission:"view_your_processing_routes",locale:"pt",submenues:null}],es:[{text:"Insights",pathname:"/insights",position:2,icon:"ChartLine",type:null,target:null,permission:"access_actionable_payment_insights",locale:"es",submenues:null},{text:"Inicio",pathname:"/",position:1,icon:"Monitor",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Pagos",pathname:"/payments",position:3,icon:"ArrowsLeftRight",type:null,target:null,permission:"view_payment_transactions",locale:"es",submenues:null},{text:"Ruteo",pathname:"/routing",position:8,icon:"TreeStructure",type:null,target:null,permission:"view_your_processing_routes",locale:"es",submenues:null},{text:"Checkout builder",pathname:"/checkout-builder",position:9,icon:"ShoppingCart",type:null,target:null,permission:"view_your_checkout",locale:"es",submenues:null},{text:"Desarrolladores",pathname:"/developers",position:10,icon:"Code",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Registros de auditoria",pathname:"/audit",position:14,icon:"FileSearch",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"ASISTENCIA",pathname:null,position:11,icon:"Monitor",type:"SUB_HEADER",target:null,permission:"all",locale:"es",submenues:null},{text:"Risk conditions",pathname:"/risk-conditions",position:4,icon:"ShieldWarning",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Documentación de la API",pathname:"https://docs.y.uno/reference/introduction",position:13,icon:"TerminalWindow",type:null,target:"_blank",permission:"all",locale:"es",submenues:null},{text:"Enlaces de pago",pathname:"/payment-links",position:5,icon:"LinkSimple",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Conexiones",pathname:"/connections",position:6,icon:"BoundingBox",type:null,target:null,permission:"view_connections",locale:"es",submenues:null},{text:"Conciliaciones",pathname:"/reconciliations",position:7,icon:"Swap",type:null,target:null,permission:"view_settlement_reports",locale:"es",submenues:null}]},vh=[{code:"en",name:"English (en)"},{code:"es",name:"Spanish (es)"},{code:"pt",name:"Portuguese (pt)"}];const bh=[];for(let e=0;e<256;++e)bh.push((e+256).toString(16).slice(1));let kh;const xh=new Uint8Array(16);var wh={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function jh(e,t,n){if(wh.randomUUID&&!t&&!e)return wh.randomUUID();const o=(e=e||{}).random??e.rng?.()??function(){if(!kh){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");kh=crypto.getRandomValues.bind(crypto)}return kh(xh)}();if(o.length<16)throw new Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=o[e];return t}return function(e,t=0){return(bh[e[t+0]]+bh[e[t+1]]+bh[e[t+2]]+bh[e[t+3]]+"-"+bh[e[t+4]]+bh[e[t+5]]+"-"+bh[e[t+6]]+bh[e[t+7]]+"-"+bh[e[t+8]]+bh[e[t+9]]+"-"+bh[e[t+10]]+bh[e[t+11]]+bh[e[t+12]]+bh[e[t+13]]+bh[e[t+14]]+bh[e[t+15]]).toLowerCase()}(o)}var _h=function(e){return{account_codes:e&&(null==e?void 0:e.length)>0?null==e?void 0:e.split(","):[]}},Eh=function(t){function n(n){var o=n?e.__assign(e.__assign({},ih),n):ih;return t.call(this,o)||this}return e.__extends(n,t),n.prototype.simulateAxiosError=function(){return new Promise((function(e,t){t({name:"AxiosError"})}))},n.prototype.updateReconciliationReportTemplate=function(t){var n=t.type===exports.ReconciliationReportType.TRANSACTIONS?"TRANSACTIONS":t.type,o=e.__assign(e.__assign({},t),{type:n});return this.put("/v1/reconciliation/reports/templates",o)},n.prototype.createReconciliationReportTemplate=function(t){var n=t.type===exports.ReconciliationReportType.TRANSACTIONS?"TRANSACTIONS":t.type,o=e.__assign(e.__assign({},t),{type:n});return this.post("/v1/reconciliation/reports/templates",o)},n.prototype.getReconciliationTransactions=function(e){var t=e.account_code;return delete e.account_code,this.post("v2/reconciliation/transactions",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},n.prototype.getReconciliationSettlements=function(e){var t=e.account_code;return delete e.account_code,this.post("/reconciliation/settlements",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},n.prototype.getReconciliationMetrics=function(e){var t=e.account_code;return delete e.account_code,this.post("/reconciliation/reports",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},n.prototype.getReconciliationFilters=function(){return this.get("/reconciliation/filters")},n.prototype.getReconciliationsReportColumns=function(e,t){return this.get("/v1/reconciliation/reports/columns/".concat(e,"/").concat(t))},n.prototype.getReconciliationReportTemplates=function(){return this.get("/v1/reconciliation/reports/templates")},n.prototype.getAllTableColumns=function(e){return this.get("/v1/reconciliation/table/".concat(e,"/columns"))},n.prototype.getReconciliationActive=function(){return this.get("/v1/reconciliation/status")},n.prototype.getReconciliationAlerts=function(e,t){return this.post("/reconciliation/alerts/list",e,{params:t})},n.prototype.postReconciliationAlert=function(e){return this.post("/reconciliation/alerts",e)},n.prototype.updateReconciliationAlert=function(e){return this.patch("/reconciliation/alerts",e)},n.prototype.deleteReconciliationAlert=function(e){return this.delete("/reconciliation/alerts",{params:e})},n.prototype.getReconciliationAgenda=function(e,t){return this.post("/reconciliation/agenda/list",e,{params:t})},n.prototype.getReconciliationAgendaInsightByKey=function(e,t){return this.post("/reconciliation/agenda/insights",e,{params:t})},n.prototype.getReconciliationSales=function(e,t){return this.post("/reconciliation/sales/list",e,{params:t})},n.prototype.getReconciliationAdvancements=function(e,t){return this.post("/reconciliation/advancements/list",e,{params:t})},n.prototype.getReconciliationFees=function(e,t){return this.post("/reconciliation/fees/list",e,{params:t})},n.prototype.postPaymentsLazy=function(t){var n=t.account_code,o=e.__rest(t,["account_code"]);return o.start_date||(o.start_date=new Date),o.end_date||(o.end_date=new Date),this.post("/payments/lazy",{account_codes:(null==n?void 0:n.split(","))||[]},{params:o})},n.prototype.postPayouts=function(t){var n=t.account_code,o=e.__rest(t,["account_code"]);return o.start_date||(o.start_date=new Date),o.end_date||(o.end_date=new Date),this.post("/payouts",{account_codes:(null==n?void 0:n.split(","))||[]},{params:o})},n.prototype.getPayoutsFilters=function(e){return this.get("/payouts/filters",{headers:{"x-organization-code":e}})},n.prototype.postPaymentsEvaluated=function(t){t.account_code;var n=e.__rest(t,["account_code"]);return n.start_date||(n.start_date=new Date),n.end_date||(n.end_date=new Date),this.post("/payments/evaluated",n)},n.prototype.getPaymentV2=function(e){return this.get("/payments/v2/".concat(e))},n.prototype.postTransactions=function(t){var n=t.account_code,o=e.__rest(t,["account_code"]);return this.post("/v2/transactions",{account_codes:(null==n?void 0:n.split(","))||[]},{params:o})},n.prototype.postFraudTransactions=function(t){var n=t.account_code,o=e.__rest(t,["account_code"]);return this.post("/fraud-transactions",{account_codes:(null==n?void 0:n.split(","))||[]},{params:o})},n.prototype.getPayoutDetails=function(e){var t={"x-organization-code":e.organization_code};return this.get("/payouts/detail/".concat(e.payout_code),{headers:t})},n.prototype.getPayoutTransactionDetails=function(e){var t={"x-organization-code":e.organization_code};return this.get("/payouts/".concat(e.payout_code,"/transaction/").concat(e.transaction_code,"/detail"),{headers:t})},n.prototype.getPayoutHistoryDetails=function(e,t){var n={"x-organization-code":t};return this.get("/payouts/".concat(e.payout_code,"/history"),{headers:n})},n.prototype.getPaymentMethodsByCountry=function(e,t){var n=e.provider_id,o=e.country,a=localStorage.getItem("x-organization-code"),i={"x-organization-code":t};return this.get("/organizations/provider-params/".concat(n,"/").concat(o),a?{}:{headers:i})},n.prototype.getOrgByName=function(e){return this.post("/organizations/get-by-name",{org_name:e})},n.prototype.createOperationTransaction=function(e,t,n,o){return this.post("/payments/".concat(n,"/transactions/").concat(t,"/").concat(o),e)},n.prototype.getPaymentMethodsAndProviders=function(){return this.get("/payments/payment-methods/providers")},n.prototype.getTransactionDetailsV2=function(e){return this.get("/payments/".concat(e.payment_code,"/transactions/details"),{params:{payment_code:e.payment_code,size:99}})},n.prototype.getTransactionRawResponse=function(e){return this.get("/transactions/".concat(e.transaction_code,"/raw-response"))},n.prototype.uploadChargebacks=function(e,t,n,o){return this.post("/chargebacks/upload-file/payment/".concat(t,"/transaction/").concat(n),e,{onUploadProgress:function(e){o(e.total?Math.round(100*e.loaded/e.total):0)},headers:{"x-account-code":null==e?void 0:e.account_id,"x-idempotency-key":jh()}})},n.prototype.getPaymentTransactionsDetails=function(e){var t=e.transaction_code;return this.get("/transactions/".concat(t,"/details"))},n.prototype.getTransactionHistoryByPaymentCode=function(e){var t=e.payment_code;return this.get("/transactions/by-payment/".concat(t,"/history"))},n.prototype.getDeveloperCredentials=function(e,t){return this.get("/v2/developers/credentials",{headers:{"x-password":e,"x-account-code":t}})},n.prototype.getDeveloperCredentialsValidatePassword=function(e){return this.get("/validate-password",{headers:{"x-password":e}})},n.prototype.getAllowedIps=function(){return this.get("/allowlist-ips")},n.prototype.patchAllowedIps=function(e){return this.patch("/allowlist-ips",e)},n.prototype.getOrganization=function(){return this.get("/organizations",{headers:{"x-organization-code":""}})},n.prototype.getAllOrganization=function(){return this.get("/organizations/all")},n.prototype.getProviderParams=function(e,t){var n,o=localStorage.getItem("x-organization-code"),a={"x-organization-code":o?null===(n=JSON.parse(o))||void 0===n?void 0:n.value:t};return this.get("/organizations/provider-params/".concat(e.id),{headers:a})},n.prototype.getIntegrationByAccountV2=function(e){var t=e.accountCode,n={"x-organization-code":e.organizationCode,"x-account-code":t};return this.post("/connections/my-connections",{account_code:t},{headers:n})},n.prototype.putCosts=function(t){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,this.put("/connections/costs",{costs:[t]})]}))}))},n.prototype.updateOrganizationStatus=function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,this.patch("/organizations/status")]}))}))},n.prototype.getIntegrationParams=function(e){var t=e.accountCode,n=e.integration_code;return this.get("/connections/integration-params/".concat(n),t?{headers:{"x-account-code":t}}:{})},n.prototype.getConnectionsByPaymentMethod=function(t,n){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,this.get("/organizations/connections/".concat(t,"/").concat(n))]}))}))},n.prototype.getHashPylon=function(){return this.get("/pylon-hash")},n.prototype.getConnections=function(){return this.get("/connections")},n.prototype.postValidateStatusConnection=function(e){var t=e.payload,n={"x-account-code":e.accountCode};return this.post("/connections/validate-status",t,{headers:n})},n.prototype.postChangeStatusConnection=function(e){var t=e.payload,n=e.accountCode,o="/connections/change-status";if(t.status==ch)return delete t.status,this.delete(o,{data:t});Object.values(rh).includes(null==t?void 0:t.status)&&(o="".concat(o,"/").concat(sh[t.status]),delete t.status);var a={"x-account-code":n};return this.post(o,t,{headers:a})},n.prototype.postMultiConnection=function(e){var t=e.payload;return this.post("/connections/multi-accounts",t)},n.prototype.postMultiConnectionValidate=function(){return this.get("/connection/valid-accounts")},n.prototype.patchConnection=function(t){var n,o=t.payload,a=t.connectionCode,i=localStorage.getItem("account"),r=i?null===(n=JSON.parse(i).value)||void 0===n?void 0:n.code:"";return this.patch("/connections/".concat(a),e.__assign({account_code:r},o))},n.prototype.postDefaultRoutes=function(e){var t=e.payload;return this.post("/connections/default-routes",t)},n.prototype.getDialogs=function(){return this.get("/dialogs")},n.prototype.getWebhookParamsV2=function(){return this.get("/accounts/webhooks-v2/params-catalog")},n.prototype.getWebhooksV3=function(e){var t=e.accountCode,n=e.name;return this.post("/accounts/webhooks-v2/search",{name:n},{headers:{"x-account-code":t}})},n.prototype.getWebhooksV2Detail=function(e){var t=e.accountCode;return this.get("/accounts/webhooks-v2/detail/".concat(t))},n.prototype.postWebhookV2MultiAccount=function(e){var t=e.payload;return this.post("/accounts/webhooks/multi-account",t)},n.prototype.deleteWebhookV2=function(e,t){return this.delete("/accounts/webhooks-v2/".concat(e,"/").concat(t))},n.prototype.updateWebhookV2=function(e,t,n){return this.patch("/accounts/webhooks-v2/".concat(e,"/").concat(n),t)},n.prototype.getMenu=function(){return this.get("/cms/menu")},n.prototype.postWebhookLogs=function(t){var n=t.payload,o=n.account_code,a=e.__rest(n,["account_code"]),i={account_codes:o};return this.post("/v2/webhooks/organization",i,{params:a,paramsSerializer:jp})},n.prototype.postResendWebhooks=function(e){var t=e.codes;return this.post("/v2/webhooks/organization/resend",{codes:t})},n.prototype.postExportApiLogs=function(e){return this.post("/v1/api-logs/organization/export",e)},n.prototype.postApiLogs=function(t){var n=t.payload,o=n.account_code,a=e.__rest(n,["account_code"]),i={account_codes:o};return this.post("/v2/api-logs/organization",i,{params:a,paramsSerializer:jp})},n.prototype.getApiLogsDetailByPaymentCode=function(e){return this.get("/v2/api-logs/payment/".concat(e,"/details"))},n.prototype.useGetPaymentStatusesStyles=function(){return this.get("/cms/payment/statuses")},n.prototype.useGetTransactionStatusesStyles=function(){return this.get("/cms/transaction/statuses")},n.prototype.useGetReconciliationTransactionStatusesStyles=function(){return this.get("/cms/reconciliation/transaction/statuses")},n.prototype.useGetCountriesConfig=function(){return this.get("/country-data-api/v1/config")},n.prototype.useGetCountriesConfigV2=function(e){var t=e?{"accept-language":e}:{};return this.get("/country-data/v2/config",{params:t})},n.prototype.useGetTimeZoneCatalog=function(){return this.get("/cms/timezone/catalog")},n.prototype.useGetAuditLogsFilters=function(){return this.get("/cms/audit-logs-filters")},n.prototype.getDashboardStaticContents=function(){return this.get("/cms/static-contents")},n.prototype.getLocales=function(){return this.get("/cms/locales")},n.prototype.getSmartRoutingMethods=function(e){return this.get("/smart-routing/methods/".concat(e))},n.prototype.putSmartRoutingToggleMethod=function(e,t,n){return this.put("/smart-routing/methods/".concat(e,"/").concat(t),{active:n})},n.prototype.getSmartRoutingConditionTypes=function(e,t){return this.get("/smart-routing/condition-types/".concat(e,"/").concat(t))},n.prototype.getSmartRoutingConditionPaymentMethod=function(e,t){var n={"x-account-code":e};return this.get("/smart-routing/payment-methods/".concat(t,"/conditions"),{headers:n})},n.prototype.getSmartRoutingConditionTypesValues=function(e,t){return this.get("/smart-routing/condition-types-values/".concat(e,"/").concat(t))},n.prototype.getSmartRoutingNextSteps=function(e,t,n){return this.get("/smart-routing/next-route/".concat(e,"/").concat(t,"/").concat(n))},n.prototype.getSmartRoutingWorkflowVersion=function(e,t){return this.get("/smart-routing/workflow-version/".concat(e,"/").concat(t))},n.prototype.getSmartRoutingWorkflow=function(e,t){return this.get("/smart-routing/workflow/".concat(e,"/").concat(t))},n.prototype.putSmartRoutingUpdateWorkflow=function(e,t){return this.put("/smart-routing/update-workflow/".concat(e),t)},n.prototype.putSmartRoutingUpdateWorkflowName=function(e,t){return this.put("/smart-routing/workflow/".concat(e,"/edit-name"),t)},n.prototype.postSmartRoutingCreateWorkflow=function(e,t){return this.post("/smart-routing/create-workflow/".concat(e),t)},n.prototype.postSmartRoutingPublishVersion=function(e,t,n){var o={"x-organization-code":n};return this.post("/smart-routing/publish-version/".concat(e,"/").concat(t),{},{headers:o})},n.prototype.deleteSmartRoutingVersion=function(e,t){return this.delete("/smart-routing/delete-version/".concat(e,"/").concat(t))},n.prototype.postSmartRoutingDuplicateVersion=function(e,t){return this.post("/smart-routing/duplicate-version/".concat(e,"/").concat(t))},n.prototype.getSmartRoutingDeclinedGroup=function(e){return this.get("/smart-routing/declined-groups/".concat(e))},n.prototype.updateSmartRoutingDeclinedGroup=function(e,t,n){return this.put("/smart-routing/declined-groups/".concat(e,"/").concat(t),n)},n.prototype.createSmartRoutingDeclinedGroup=function(e,t){return this.post("/smart-routing/declined-groups/".concat(e),t)},n.prototype.getSmartRoutingPaymentRoute=function(e,t){return this.get("/smart-routing/payment-route/".concat(e,"/").concat(t))},n.prototype.updateSmartRoutingFavorite=function(e,t,n){return this.put("/smart-routing/favorite/".concat(e,"/").concat(t),{favorite:n})},n.prototype.getSmartRoutingSimulateConditionTypeValues=function(e){return this.get("/smart-routing/condition-types-values-list/".concat(e))},n.prototype.simulateSmartRoutingTransaction=function(e,t,n){return this.post("/smart-routing/simulate-transaction/".concat(e,"/").concat(t),n)},n.prototype.getSmartRoutingSearchConditionValues=function(e,t){return this.get("/smart-routing/search-condition-values/".concat(e,"/").concat(t))},n.prototype.getProviderConversionRatesData=function(){return this.get("/smart-routing/conversion-rates/all")},n.prototype.updateMonitorRedistribution=function(e,t){var n={"x-organization-code":e};return this.post("/smart-routing/monitor-redistribution",t,{headers:n})},n.prototype.removeDeclinedGroup=function(e,t){var n={"x-organization-code":e};return this.delete("/smart-routing/declined-groups/".concat(t),{headers:n})},n.prototype.multiAccountDeclinedGroupCreate=function(e,t){var n={"x-organization-code":e};return this.post("/smart-routing/declined-groups/massive/create",t,{headers:n})},n.prototype.generateAIWorkflowRoutes=function(e,t){var n={"x-organization-code":e};return this.post("/ai/generate-route",t,{headers:n})},n.prototype.postAIGenerationFeedback=function(e){return this.post("/ai/generation-feedback",e)},n.prototype.getRoutingMonitorsTemplates=function(e){var t={"x-organization-code":e};return this.get("/routing-monitor/templates",{headers:t})},n.prototype.getRoutingMonitorsTemplate=function(e,t){var n={"x-organization-code":t};return this.get("/routing-monitor/template/".concat(e),{headers:n})},n.prototype.createMonitorThreshold=function(e,t){var n={"x-organization-code":t};return this.post("/routing-monitor/threshold",e,{headers:n})},n.prototype.createMonitorTemplate=function(e,t){var n={"x-organization-code":t};return this.post("/routing-monitor/template",e,{headers:n})},n.prototype.getSmartRoutingDataReport=function(e){return this.get("/data-report",{params:e})},n.prototype.getInsightsMetricsConversionRateV2=function(t,n){var o=t.account_code,a=t.connection_name,i=e.__rest(t,["account_code","connection_name"]),r=_h(o);return a&&(r.connection_name=a.split(",")),this.post("/insights/conversion-rate/".concat(n),r,{params:i})},n.prototype.getInsightsMetricsConversionRateViewMore=function(t,n){var o=t.account_code,a=e.__rest(t,["account_code"]);return this.post("/insights/conversion-rate/cards/metrics/".concat(n),_h(o),{params:a})},n.prototype.getInsightFallbackMetrics=function(t){var n=t.account_code,o=e.__rest(t,["account_code"]);return this.post("/insights/conversion-rate/fallback",_h(n),{params:o})},n.prototype.getInsightsMetricsVolume=function(t,n){var o=n.connection_name,a=e.__rest(n,["connection_name"]),i={account_codes:(null==t?void 0:t.length)?null==t?void 0:t.split(","):[]};return o&&(i=e.__assign(e.__assign({},i),{connection_name:null==o?void 0:o.split(",")})),this.post("/insights/volume/metrics",i,{params:a})},n.prototype.getInsightsMetricsVolumeV2=function(t,n,o){var a=o.connection_name,i=e.__rest(o,["connection_name"]),r={account_codes:(null==t?void 0:t.length)?null==t?void 0:t.split(","):[]};return a&&(r=e.__assign(e.__assign({},r),{connection_name:null==a?void 0:a.split(",")})),this.post("/insights/volume/".concat(n),r,{params:i})},n.prototype.getInsightsFraudScreeningVolumeAndCountTx=function(e,t){return this.post("/insights/fraud-screening/volume-and-count-tx",e,{params:t})},n.prototype.getInsightsFraudScreeningConversionRate=function(e,t){return this.post("/insights/fraud-screening/conversion-rate",e,{params:t})},n.prototype.getInsights3dsVolumeAndCountTx=function(e,t){return this.post("/insights/3ds/volume-and-count-tx",e,{params:t})},n.prototype.getInsights3dsConversionRateAndEvolution=function(e,t){return this.post("/insights/3ds/conversion-rate-and-evolution",e,{params:t})},n.prototype.getInsights3dsDeclineReasons=function(e,t){return this.post("/insights/3ds/decline-reasons",e,{params:t})},n.prototype.getInsights3dsFrictionlessVsChallenge=function(e,t){return this.post("/insights/3ds/frictionless-vs-challenge",e,{params:t})},n.prototype.getInsightsChargebacksVolumeAndCountTx=function(e,t){return this.post("/insights/chargebacks/volume-and-count-tx",e,{params:t})},n.prototype.getInsightsChargebacksTotalRateAndEvolution=function(e,t){return this.post("/insights/chargebacks/total-rate-and-evolution",e,{params:t})},n.prototype.getInsightsChargebacksWinRate=function(e,t){return this.post("/insights/chargebacks/win-rate",e,{params:t})},n.prototype.getInsightsChargebacksDisputed=function(e,t){return this.post("/insights/chargebacks/disputed",e,{params:t})},n.prototype.getInsightsChargebacksByProviderAndCardBrand=function(e,t){return this.post("/insights/chargebacks/by-provider-and-card-brand",e,{params:t})},n.prototype.getInsightsChargebacksReasonsDistribution=function(e,t){return this.post("/insights/chargebacks/reasons-distribution",e,{params:t})},n.prototype.getInsightsChargebacksStatusDistribution=function(e,t){return this.post("/insights/chargebacks/status-distribution",e,{params:t})},n.prototype.getInsightsChargebacksByCardBrand=function(e,t){return this.post("/insights/chargebacks/by-card-brand",e,{params:t})},n.prototype.getInsightOverview=function(t){var n=t.account_code,o=t.connection_name,a=e.__rest(t,["account_code","connection_name"]),i=_h(n);return o&&(i=e.__assign(e.__assign({},i),{connection_name:null==o?void 0:o.split(",")})),this.post("/insights/overview",i,{params:a})},n.prototype.getInsightOverviewV3=function(t,n){var o=t.account_code,a=t.connection_name,i=e.__rest(t,["account_code","connection_name"]),r=_h(o);return a&&(r=e.__assign(e.__assign({},r),{connection_name:null==a?void 0:a.split(",")})),this.post("/insights/overview/".concat(n),r,{params:i})},n.prototype.getInsighstHomeMetrics=function(e){return this.post("/insights/dashboard-home-metrics",e)},n.prototype.getInsightsMetricsTotalPaymentsAndFraud=function(e,t){return this.post("/insights/payments-and-fraud/payments",{account_codes:(null==e?void 0:e.length)?null==e?void 0:e.split(","):[]},{params:t})},n.prototype.getInsightsMetricsCustomerPaymentsAndFraud=function(e,t){return this.post("/insights/payments-and-fraud/customer",{account_codes:(null==e?void 0:e.length)?null==e?void 0:e.split(","):[]},{params:t})},n.prototype.getCheckouts=function(e){var t=e.accountCode;return this.get("/checkouts/".concat(t))},n.prototype.getCheckoutTemplate=function(e){var t=e.accountCode;return this.get("/v2/checkouts/template/".concat(t))},n.prototype.getNameAndIcon=function(e){var t=e.paymentMethodType,n=e.type;return this.get("/checkouts/payment-methods/".concat(t,"/icon-name?type=").concat(n))},n.prototype.getRequiredFields=function(e){var t=e.paymentMethodType,n=e.type;return this.get("/checkouts/payment-methods/".concat(t,"/required-fields?type=").concat(n))},n.prototype.updateCheckoutTemplate=function(e){var t=e.accountCode,n=e.template;return this.post("/v2/checkouts/template",{account_code:t,template:n})},n.prototype.updateIsActiveCheckout=function(e){var t,n=localStorage.getItem("account"),o=n?null===(t=JSON.parse(n).value)||void 0===t?void 0:t.code:"";return this.patch("/checkouts/publish",e,{headers:{"x-account-code":o}})},n.prototype.getStylingSdkDynamic=function(e){var t={"x-account-code":e.accountCode};return this.get("/checkout/settings",{headers:t})},n.prototype.getStylingTheme=function(e){var t={"x-account-code":e.accountCode};return this.get("/checkouts/styling/theme",{headers:t})},n.prototype.updateStylingTheme=function(e){var t=e.accountCode,n=e.theme,o={"x-account-code":t};return this.patch("/checkouts/styling/theme",n,{headers:o})},n.prototype.getStylingSettings=function(e){var t={"x-account-code":e.accountCode};return this.get("/checkout/settings",{headers:t})},n.prototype.getStylingSettingsV2=function(e){var t=e.accountCode,n=e.environment,o={"x-account-code":t,"x-environment":void 0===n?"live":n};return this.get("/v1/checkouts/builder/settings",{headers:o})},n.prototype.changeStylingSettings=function(e){var t=e.accountCode,n=e.environment,o=void 0===n?"live":n,a=e.payload,i={"x-account-code":t,"x-environment":o,"Content-Type":"application/json"};return this.patch("/v1/checkouts/builder/settings",a,{headers:i})},n.prototype.emailVerification=function(e){return this.get("/user/email-verification/".concat(e))},n.prototype.createReconciliationsReportV2=function(e){return this.post("/v2/reports/create",e)},n.prototype.createReportV2=function(e){return this.post("/reports",e)},n.prototype.getTotalRowsForExport=function(e){return this.post("/reports/count",e)},n.prototype.reportsList=function(){return this.get("/reports")},n.prototype.reportsListMultiEnv=function(){return this.get("/reports/multi-environment")},n.prototype.downloadReports=function(e){return this.get("/reports-redirect/".concat(e))},n.prototype.cancelReport=function(e){return this.patch("/reports/".concat(e))},n.prototype.getReportTemplates=function(){return this.get("/reports/templates")},n.prototype.createReportTemplate=function(e){return this.post("/reports/templates",e)},n.prototype.updateReportTemplate=function(e){return this.put("/reports/templates",e)},n.prototype.getReportColumns=function(e,t){return this.get("/reports/columns/".concat(e,"/").concat(t))},n.prototype.getReportTemplatesList=function(e){return this.get("/template-reporting/report-templates",{params:{module:e.module}})},n.prototype.getReportTemplateById=function(e){return this.get("/template-reporting/report-templates/".concat(e))},n.prototype.createTemplateReporting=function(e){return this.post("/template-reporting/report-templates",e)},n.prototype.cloneReportTemplate=function(e,t){return this.post("/template-reporting/report-templates/".concat(e,"/clone"),t)},n.prototype.updateTemplateSelection=function(e,t){return this.patch("/template-reporting/report-templates/".concat(e,"/selection"),t)},n.prototype.changeTemplateStatus=function(e,t){return this.patch("/template-reporting/report-templates/".concat(e,"/status"),t)},n.prototype.deleteReportTemplate=function(e){return this.delete("/template-reporting/report-templates/".concat(e))},n.prototype.getReportSchedulesList=function(){return this.get("/template-reporting/report-schedules")},n.prototype.getReportScheduleById=function(e){return this.get("/template-reporting/report-schedules/".concat(e))},n.prototype.createReportSchedule=function(e){return this.post("/template-reporting/report-schedules",e)},n.prototype.deactivateReportSchedule=function(e){return this.patch("/template-reporting/report-schedules/".concat(e,"/disable"))},n.prototype.deleteReportSchedule=function(e){return this.delete("/template-reporting/report-schedules/".concat(e))},n.prototype.getRefundPdf=function(e,t,n){var o={"x-organization-code":t,"x-account-code":n};return this.get("/refund-pdf/".concat(e),{headers:o})},n.prototype.getProofOfCancel=function(e,t,n){var o={"x-organization-code":t,"x-account-code":n};return this.get("/transactions/".concat(e,"/proof-of-cancel"),{headers:o})},n.prototype.getProofOfPayment=function(e,t,n){var o={"x-organization-code":t,"x-account-code":n};return this.get("/transactions/".concat(e,"/proof-of-payment"),{headers:o})},n.prototype.getScheduledReport=function(e){return this.get("/scheduled-reports?reportType=".concat(e))},n.prototype.postScheduledReport=function(e){return this.post("/scheduled-reports",e)},n.prototype.updateScheduledReport=function(e,t){return this.patch("/scheduled-reports/".concat(e),t)},n.prototype.deleteScheduledReport=function(e){return this.delete("/scheduled-reports/".concat(e))},n.prototype.getProfile=function(){return this.get("/user")},n.prototype.getUserFull=function(){return this.get("/user-full")},n.prototype.getImpersonationUsers=function(){return this.get("/impersonation/user")},n.prototype.getImpersonationEnabled=function(){return this.get("/impersonation/enabled")},n.prototype.getUsersToImpersonate=function(t,n,o,a,i){void 0===o&&(o=1),void 0===a&&(a=10);var r=e.__assign({account_codes:n||[],page:o,page_size:a},i&&{search_value:i});return this.post("/impersonation/user/organization/".concat(t,"/users-to-impersonate"),r)},n.prototype.getAccountsForImpersonation=function(e){return this.get("/impersonation/user/organization/".concat(e,"/accounts"))},n.prototype.updateProfile=function(e){return this.patch("/user",e)},n.prototype.inviteUsersMassive=function(e,t){var n={"x-organization-code":t};return this.post("user/invite/massive",e,{headers:n})},n.prototype.unInviteUsersV2=function(e){var t=e.userCode,n={"x-organization-code":e.organizationCode};return this.delete("/v2/user/uninvite/".concat(t),{headers:n})},n.prototype.getAccounts=function(e){var t={"x-organization-code":e};return this.get("/accounts-user",{headers:t})},n.prototype.getAccountsV2=function(){return this.get("/accounts-user")},n.prototype.getAccountsByUser=function(e){return this.get("/accounts-user/user/".concat(e))},n.prototype.putAccountsUserMassive=function(e,t,n){var o={"x-organization-code":e};return this.put("/accounts-user/role/massive/user/".concat(t),n,{headers:o})},n.prototype.deleteAccountsUserMassive=function(e,t,n){var o={"x-organization-code":e};return this.delete("/accounts-user/role/massive/user/".concat(t),{data:n,headers:o})},n.prototype.postAccount=function(e,t){return this.post("/accounts",{name:e,principal:t})},n.prototype.patchAccountV2=function(e){var t=e.name,n=e.code,o=e.principal;return this.patch("/accounts/with-principal",{name:t,principal:o},{headers:{"x-account-code":n}})},n.prototype.putAccountPrincipal=function(e){var t=e.account_code;return this.put("/user-accounts/principal",{account_code:t})},n.prototype.getMergedNotifications=function(){return this.get("/notifications-all")},n.prototype.getNotificationsCustomer=function(e){return this.get("/notifications/".concat(e))},n.prototype.getValidateOpsgenieKey=function(e){return this.get("/notifications/opsgenie/validate/".concat(e))},n.prototype.postSlackMessageChannel=function(e){return this.post("/slack-channel-message",e)},n.prototype.pathNotification=function(e){return this.patch("/notifications",e)},n.prototype.getNotificationsNumber=function(e){return this.get("/notifications/".concat(e,"/number"))},n.prototype.teamsFiltersMembers=function(e){var t={"x-organization-code":e.organizationCode};return this.get("/teams/filters/members",{headers:t})},n.prototype.postMembersPaginatedV2=function(e){var t=e.organizationCode,n=e.accountCodes,o=e.email,a=e.page,i=e.pageSize,r={"x-organization-code":t};return this.post("/teams/paginated",{account_codes:n,email:o,page:a,page_size:i},{headers:r})},n.prototype.getRoles=function(){return this.get("/teams/roles")},n.prototype.setCustodian=function(){return this.post("/teams/custodian")},n.prototype.deleteUserTeamV2=function(e){var t=e.userCode,n={"x-organization-code":e.organizationCode};return this.delete("/v2/teams/".concat(t),{headers:n})},n.prototype.createRoles=function(e,t){return this.post("/teams/roles",e,{headers:{"x-account-code":t}})},n.prototype.editRoles=function(e,t){var n=e.payload,o=e.id;return this.patch("/teams/roles/".concat(o),n,{headers:{"x-account-code":t}})},n.prototype.deleteRoles=function(e){return this.delete("/teams/roles/".concat(e))},n.prototype.getRolesPermissions=function(){return this.get("/teams/permissions")},n.prototype.getFeatureFlagId=function(t){var n=t.name,o=e.__rest(t,["name"]);return this.post("/feature-flags/evaluate",{name:n,parameters:o})},n.prototype.getFeatureFlagIdAll=function(t){var n=t.accountCode;return e.__awaiter(this,void 0,void 0,(function(){var t,o;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,this.get("/feature-flags/names",n?{headers:{"x-account-code":n}}:{})];case 1:return t=e.sent(),o={},t.data.feature_flag_names.forEach((function(e){o[e]=!0})),[2,{data:o,status:200,statusText:"OK",headers:{},config:{}}]}}))}))},n.prototype.getPermissionsCatalog=function(){return this.get("/teams/permissions-catalog")},n.prototype.changePasswordV2=function(e){return this.patch("/user/change-password-profile",e)},n.prototype.getCardBrands=function(){return this.get("/catalog/card-brands")},n.prototype.getPaymentFilters=function(e){return this.get("/payments/filters?section=".concat(e))},n.prototype.getPaymentMetricsFilters=function(){return this.get("/payments/metrics/filters")},n.prototype.sendPaymentNotification=function(e,t){return this.post("/payments/".concat(e.paymentCode,"/transactions/").concat(e.transactionCode,"/settle"),t)},n.prototype.postAuditMonitors=function(e){return this.post("/routing-monitor/audit",e)},n.prototype.getAuditMonitorDetail=function(e){return this.get("/routing-monitor/audit-monitors-details/".concat(e))},n.prototype.getAuditEvents=function(t){var n=t.account_code,o=e.__rest(t,["account_code"]);return this.post("v2/events/organization",{account_codes:n},{params:o,paramsSerializer:jp})},n.prototype.getPaymentLinks=function(e,t){return this.get("/v2/payment-links/".concat(t),{params:e})},n.prototype.getPaymentLinksByCode=function(e){return this.get("/v2/payment-links/by-code/".concat(e))},n.prototype.postPaymentLinks=function(e){var t=e.payload,n=e.accountCode;return this.post("/v2/payment-links/".concat(n),t)},n.prototype.patchPaymentLinks=function(e){var t=e.payload,n=e.accountCode,o=e.paymentLinkCode;return this.patch("/v2/payment-links/".concat(n,"/").concat(o),t)},n.prototype.postDeletePaymentLink=function(e){var t=e.code;return this.post("/v2/payment-links/cancel/".concat(t))},n.prototype.getTimezone=function(e){return this.get("/cms/timezone/catalog",{headers:{"x-organization-code":e}})},n.prototype.firebaseUserSubscribe=function(e){return this.post("/firebase/user/subscribe",e)},n.prototype.postUserSettings=function(e){return this.patch("/user-settings",e)},n.prototype.postUserSettingsTables=function(e,t){return this.patch("/user-settings/".concat(t),e)},n.prototype.postUserSettingsPinned=function(e){return this.patch("/user-settings/pinned_sections",e)},n.prototype.postUserThemeSettings=function(e){return this.patch("/user-settings/theme",e)},n.prototype.getMfaTokenValidation=function(e,t){return this.post("/mfa/token",{password:e,otp_input:t,user_code:""})},n.prototype.getEmailOtp=function(){return this.post("/mfa/send-otp",{})},n.prototype.confirmMfaOtp=function(e){return this.post("/mfa/confirm/otp",e)},n.prototype.unrollMfa=function(e){return this.post("/mfa/unroll/otp",{password:e})},n.prototype.sendOTPForMFA=function(){return this.post("/mfa/send-otp")},n.prototype.getConfigAllowlist=function(e){var t={"x-account-code":e};return this.get("/yuno-fraud-screening-int/allow-lists/config",{headers:t})},n.prototype.getBlackListType=function(e){var t={"x-account-code":e};return this.get("/blacklist",{headers:t})},n.prototype.postBlockList=function(e,t,n,o){var a={name:t,account_codes:e,page:n,size:o};return this.post("/blacklist",a)},n.prototype.getBlackListSummary=function(e,t){return void 0===t&&(t=null),this.get("/blacklist/get-one/".concat(e,"/summary"),t?{headers:{"x-account-code":t}}:{})},n.prototype.getBlacklistDetail=function(e,t,n,o,a){void 0===n&&(n=26),void 0===o&&(o=null),void 0===a&&(a=null);var i="/blacklist/get-one/".concat(e,"/detail?offset=").concat(t,"&limit=").concat(n);return a&&(null==a?void 0:a.length)>0&&(i+="&search=".concat(a)),this.get(i,o?{headers:{"x-account-code":o}}:{})},n.prototype.getAllowlistDetail=function(e,t){return void 0===t&&(t=null),this.get("/yuno-fraud-screening-int/allow-lists/".concat(e),t?{headers:{"x-account-code":t}}:{})},n.prototype.postAllowlistItems=function(e){var t=e.payload;return this.post("yuno-fraud-screening-int/allow-lists/".concat(t.code,"/items/pageable"),t,t.account&&{headers:{"x-account-code":t.account}})},n.prototype.postGetAllowlist=function(e){var t=e.payload;return this.post("/yuno-fraud-screening-int/allow-lists/pageable",t)},n.prototype.postCreateAllowlistMultiAccount=function(e){var t=e.payload;return this.post("/yuno-fraud-screening-int/allow-lists/massive",t)},n.prototype.patchChangeStatusAllowlist=function(e){var t=e.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(t.code),{active:t.active},(null==t?void 0:t.account)&&{headers:{"x-account-code":null==t?void 0:t.account}})},n.prototype.patchChangeStatusAllowlistItem=function(e){var t=e.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code,"/items/").concat(t.item_allowlist_code),{active:t.active})},n.prototype.patchAddAllowlistItems=function(e){var t=e.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code,"/items"),t,t.account&&{headers:{"x-account-code":t.account}})},n.prototype.deleteAllowlistItem=function(e){var t=e.payload,n={"x-account-code":t.account_code};return this.delete("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code,"/items/").concat(t.allowlist_item_id),{headers:n})},n.prototype.validateAllowlistItems=function(e){var t=e.payload;return this.post("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code,"/validate/duplicate-items"),t,{headers:{"x-account-code":t.account_code}})},n.prototype.patchAllowlist=function(e){var t=e.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code),t,t.account&&{headers:{"x-account-code":t.account}})},n.prototype.postBlackListMultiAccount=function(e){var t=e.payload;return this.post("/blacklist/create/multi-account",t,t.account&&{headers:{"x-account-code":t.account}})},n.prototype.putBlackListType=function(e){return this.put("/blacklist/edit",e)},n.prototype.changeBlackListStatus=function(e){return this.put("/blacklist/change-status",e)},n.prototype.changeBlackListStatusItem=function(e){return this.put("/blacklist/change-item-status",e)},n.prototype.postBlackListItems=function(e){var t=e.payload;return this.post("/blacklist/items",t)},n.prototype.postBlackListBatch=function(e){var t=e.blacklist_code,n=e.expiration_days,o=e.file,a=e.handleSetProgress;return this.post("/blacklist/create-batch/".concat(t),{expiration_days:n,file:o},{onUploadProgress:function(e){a(e.total?Math.round(100*e.loaded/e.total):0)}})},n.prototype.deleteBlackListType=function(e){var t=e.black_list_code;return this.delete("/blacklist/delete/".concat(t))},n.prototype.deleteBlockListItem=function(e){var t=e.blocklist_code,n=e.blocklist_item_id,o=e.account_code;return this.delete("/blacklist/".concat(t,"/items/").concat(n),{headers:{"x-account-code":o}})},n.prototype.valiateBlockListItems=function(e){var t=e.payload;return this.post("/blacklist/".concat(t.blocklist_code,"/validate/duplicate-items"),t,{headers:{"x-account-code":t.account_code}})},n.prototype.getVelocityRules=function(t){return this.post("/yuno-fraud-screening-int/velocity-rules-list",e.__assign({},t))},n.prototype.postChangePaymentsWebhook=function(e){var t=e.status,n=e.paymentCode;return this.post("/yuno-fraud-screening-int/payments/webhook",{status:t,payment_code:n})},n.prototype.uploadFileS3ClientBatchRefunds=function(e){var t=e.payload,n=e.handleSetProgress,o=this.getCancelTokenSource();return{promise:this.post("/batch-refunds/upload-s3-file",t,{onUploadProgress:function(e){return null==n?void 0:n(e.total?Math.round(100*e.loaded/e.total):0)},cancelToken:o.token}),cancel:function(){return o.cancel()}}},n.prototype.uploadFileS3ClientChargeBacks=function(e){var t=e.payload,n=e.handleSetProgress,o=this.getCancelTokenSource();return{promise:this.post("/chargebacks/upload-s3-file",t,{cancelToken:o.token,onUploadProgress:function(e){null==n||n(e.total?Math.round(100*e.loaded/e.total):0)}}),cancel:function(){return o.cancel()}}},n.prototype.batchRefundByFile=function(t){var n=t.payload;return this.post("/batch-refund-by-file",e.__assign({},n))},n.prototype.uploadBatchRefundsV2=function(t){var n=t.payload;return this.post("/batch-refunds",e.__assign({},n))},n.prototype.getBatchRefunds=function(e,t){return this.get("/batch-refunds?limit=".concat(e,"&offset=").concat(t))},n.prototype.getBatchRefundProcessedFileDownload=function(e,t,n){var o={"x-organization-code":t,"x-account-code":n};return this.get("/batch-refunds/".concat(e,"/processed-file-download"),{headers:o})},n.prototype.getBatchRefundUserFileDownload=function(e,t,n){var o={"x-organization-code":t,"x-account-code":n};return this.get("/batch-refunds/".concat(e,"/user-file-download"),{headers:o})},n.prototype.getMFAConfig=function(e){var t={"x-organization-code":e.organizationCode};return this.get("/organization-settings/mfa/config",{headers:t})},n.prototype.getMFAExcludedUsers=function(e){var t={"x-organization-code":e.organizationCode};return this.get("/organization-settings/mfa/excluded-users",{headers:t})},n.prototype.getMFAEnforcementStatus=function(){return this.get("/mfa/enforcement-status")},n.prototype.updateMFAConfig=function(e,t){return this.post("/organization-settings/mfa/config",e,{headers:{"x-organization-code":t}})},n.prototype.mfaExcludeUsers=function(e,t){return this.post("/organization-settings/mfa/exclude-users",e,{headers:{"x-organization-code":t}})},n.prototype.getAllConfigRules=function(){return this.get("/yuno-fraud-screening-int/velocity-rules/config/all")},n.prototype.getConditionalConfigRules=function(e){return this.get("/yuno-fraud-screening-int/velocity-rules/config/conditional/".concat(e))},n.prototype.getRule=function(e){return this.get("/yuno-fraud-screening-int/velocity-rules/".concat(e.idRule),(null==e?void 0:e.accountCode)&&{headers:{"x-account-code":null==e?void 0:e.accountCode}})},n.prototype.postCreateRuleMultiAccount=function(e,t){return this.post("/yuno-fraud-screening-int/velocity-rules/multi-account",e,{headers:{"x-account-code":t}})},n.prototype.postEditRule=function(e,t,n){return this.patch("/yuno-fraud-screening-int/velocity-rules/".concat(t),e,{headers:{"x-account-code":n}})},n.prototype.postApiKeysRoll=function(e,t,n){return this.post("/credentials-manager/v1/keys/roll/".concat(t),e,{headers:{"x-password":n}})},n.prototype.patchApiKeysEditNote=function(e,t){return this.patch("/credentials-manager/keys/edit-note/".concat(t),e)},n.prototype.getCustomizedApiKeysMembers=function(){return this.get("/organization-user/resources/users/customized-keys")},n.prototype.getCustomizedApiKeysAccounts=function(){return this.get("/organization-user/resources/accounts/customized-keys")},n.prototype.postCreateCustomizedApiKeys=function(e){return this.post("/credentials-manager/keys",e)},n.prototype.pathCreateCustomizedApiKeys=function(e,t){return this.patch("/credentials-manager/key/".concat(t),e)},n.prototype.postCustomizedApiKeys=function(e){return this.post("/credentials-manager/keys/retrieve",{account_codes:e})},n.prototype.getCustomizedApiKeysProducts=function(){return this.get("/credentials-manager/product-list")},n.prototype.getCustomizedApiKeysToken=function(e,t){return this.get("/credentials-manager/keys/show-token/".concat(e),{headers:{"x-password":t}})},n.prototype.validatePasswordStatus=function(){return this.get("/validate-password-status")},n.prototype.deleteCustomizedApiKeys=function(e){return this.delete("/credentials-manager/key/".concat(e))},n.prototype.postCreateInsightsReport=function(e){var t="CR_FALLBACK"===(null==e?void 0:e.type)?"/insights/conversion-rate/".concat(uh[null==e?void 0:e.type],"/export"):"/insights/conversion-rate/cards/metrics/".concat(uh[null==e?void 0:e.type],"/export");return this.post(t,e)},n.prototype.getInsightsReport=function(e){return this.get("/insights/conversion-rate/exports/".concat(null==e?void 0:e.type,"/by-user"))},n.prototype.getInsightsReportAgain=function(e){return this.get("/insights/conversion-rate/exports/".concat(e.code))},n.prototype.createUserAuth0=function(e){return this.post("/user/auth0",e)},n.prototype.getSamlConfig=function(){return this.get("/saml-config")},n.prototype.createSamlConfig=function(e){return this.post("/saml-config",e)},n.prototype.updateSamlConfig=function(e){return this.patch("/saml-config",e)},n.prototype.deleteSamlConfig=function(){return this.delete("/saml-config")},n.prototype.postCall=function(e){return this.post("/ai-agent-caller/demo",e)},n.prototype.getLoginMethods=function(){return this.get("/organization/login-methods")},n.prototype.changeLoginMethods=function(e){return this.patch("/organization/login-methods/".concat(e.methodCode),{enabled:e.enabled})},n.prototype.postValidateCredentials=function(e){var t=e.payload;return this.post("/connections/validate-credentials",t)},n.prototype.getInsightsConversionRateOverview=function(e,t){return this.post("/v3/insights/conversion-rate/overview",e,{params:t})},n.prototype.getInsightsConversionRateOverviewFraud3ds=function(e,t){return this.post("/v3/insights/conversion-rate/overview-fraud-3ds",e,{params:t})},n.prototype.getConversionRateChargebacksByCardBrand=function(e,t){return this.post("/insights/chargebacks/by-card-brand",e,{params:t})},n.prototype.get3DSExemptions=function(){return this.get("/routing/3ds-exemptions")},n.prototype.getNetworkTokensOnboarding=function(){return this.get("/network-tokens/onboarding")},n.prototype.getNetworkTokensOnboardingByOrganization=function(e){return this.get("network-tokens/organization/onboarding/".concat(e))},n.prototype.postNetworkTokensOnboarding=function(e,t){return this.post("/network-tokens/organization/onboarding/".concat(t),e)},n.prototype.createChartGPTChart=function(e){return this.post("/data-assistant/charts",e)},n.prototype.deleteChartGPTChart=function(e){return this.delete("/data-assistant/charts/".concat(e))},n.prototype.getChartById=function(e){return this.get("/data-assistant/charts/".concat(e))},n.prototype.patchChartGPTChart=function(e,t){return this.patch("/data-assistant/charts/".concat(e),t)},n.prototype.executeChartGPTChart=function(e){return void 0===e&&(e=""),this.get("/data-assistant/charts/".concat(e,"/execute"))},n.prototype.getChartsByUser=function(){return this.get("/data-assistant/user/charts")},n.prototype.getLanguages=function(){return this.get("/languages")},n.prototype.getTranslations=function(e){return this.get("/translations?language=".concat(e))},n.prototype.getCommunications=function(e){return this.post("/communications",e)},n.prototype.getCommunicationsFilters=function(){return this.get("/communications/filters")},n.prototype.getCommunicationDetails=function(e,t){var n={"x-account-code":t};return this.get("/communications/".concat(e,"/details"),{headers:n})},n}(_p),Ch={ENVIRONMENT:process.env.ENVIRONMENT,BFF_URL_PROD:process.env.BFF_URL_PROD,BFF_URL_SBX:process.env.BFF_URL_SBX,BFF_URL_STG:process.env.BFF_URL_STG,BFF_URL_DEV:process.env.BFF_URL_DEV,BFF_URL_LOCAL:process.env.BFF_URL_LOCAL,WS_URL_LOCAL:process.env.WS_URL_LOCAL,WS_URL_PROD:process.env.WS_URL_PROD,WS_URL_SBX:process.env.WS_URL_SBX,WS_URL_STG:process.env.WS_URL_STG,WS_URL_DEV:process.env.WS_URL_DEV},Sh=function(t){function n(e){return t.call(this,e)||this}return e.__extends(n,t),n.refreshInstance=function(t){var o;return this.classInstance=new n(e.__assign(e.__assign({},t),{baseURL:Ch["BFF_URL_".concat(Ch.ENVIRONMENT)]})),null===(o=this.classInstance.instance.interceptors)||void 0===o||o.response.use((function(e){return e}),(function(e){var t;if(401!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))return Promise.reject(e);window.location.href="/auth/logout"})),this.classInstance},n.getInstance=function(t){var o,a;if(this.classInstance){var i=localStorage.getItem("account");if(i){var r=null===(a=null===(o=JSON.parse(i))||void 0===o?void 0:o.value)||void 0===a?void 0:a.code,s=this.classInstance.instance.defaults.headers["x-account-code"];!!r&&""!==r&&r!==s&&(this.classInstance.instance.defaults.headers["x-account-code"]=r)}return this.classInstance}return this.classInstance=new n(e.__assign(e.__assign({},t),{baseURL:(null==t?void 0:t.baseURL)||Ch["BFF_URL_".concat(Ch.ENVIRONMENT)]})),this.classInstance},n.setMode=function(t){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return this.classInstance.instance.interceptors.request.use((function(e){return e.headers&&(e.headers["X-Environment"]=t),e}),(function(e){return Promise.reject(e)})),[2]}))}))},n}(Eh);class Rh{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){const t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const Th="undefined"==typeof window||"Deno"in window;function Ah(){}function Ih(e){return"number"==typeof e&&e>=0&&e!==1/0}function Oh(e,t){return Math.max(e+(t||0)-Date.now(),0)}function zh(e,t,n){return Hh(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Ph(e,t,n){return Hh(e)?[{...t,queryKey:e},n]:[e||{},t]}function Lh(e,t){const{type:n="all",exact:o,fetchStatus:a,predicate:i,queryKey:r,stale:s}=e;if(Hh(r))if(o){if(t.queryHash!==qh(r,t.options))return!1}else if(!Mh(t.queryKey,r))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((void 0===a||a===t.state.fetchStatus)&&!(i&&!i(t)))}function Dh(e,t){const{exact:n,fetching:o,predicate:a,mutationKey:i}=e;if(Hh(i)){if(!t.options.mutationKey)return!1;if(n){if(Nh(t.options.mutationKey)!==Nh(i))return!1}else if(!Mh(t.options.mutationKey,i))return!1}return("boolean"!=typeof o||"loading"===t.state.status===o)&&!(a&&!a(t))}function qh(e,t){return((null==t?void 0:t.queryKeyHashFn)||Nh)(e)}function Nh(e){return JSON.stringify(e,((e,t)=>Wh(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function Mh(e,t){return Fh(e,t)}function Fh(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!Fh(e[n],t[n]))))}function Bh(e,t){if(e===t)return e;const n=Gh(e)&&Gh(t);if(n||Wh(e)&&Wh(t)){const o=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),i=a.length,r=n?[]:{};let s=0;for(let o=0;o<i;o++){const i=n?o:a[o];r[i]=Bh(e[i],t[i]),r[i]===e[i]&&s++}return o===i&&s===o?e:r}return t}function Uh(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Gh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Wh(e){if(!Vh(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Vh(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Vh(e){return"[object Object]"===Object.prototype.toString.call(e)}function Hh(e){return Array.isArray(e)}function Kh(e){return new Promise((t=>{setTimeout(t,e)}))}function $h(e){Kh(0).then(e)}function Qh(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?Bh(e,t):t}const Jh=new class extends Rh{constructor(){super(),this.setup=e=>{if(!Th&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.focused!==e&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach((({listener:e})=>{e()}))}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},Xh=["online","offline"];const Yh=new class extends Rh{constructor(){super(),this.setup=e=>{if(!Th&&window.addEventListener){const t=()=>e();return Xh.forEach((e=>{window.addEventListener(e,t,!1)})),()=>{Xh.forEach((e=>{window.removeEventListener(e,t)}))}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()}))}setOnline(e){this.online!==e&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach((({listener:e})=>{e()}))}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function Zh(e){return Math.min(1e3*2**e,3e4)}function ef(e){return"online"!==(null!=e?e:"online")||Yh.isOnline()}class tf{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function nf(e){return e instanceof tf}function of(e){let t,n,o,a=!1,i=0,r=!1;const s=new Promise(((e,t)=>{n=e,o=t})),c=()=>!Jh.isFocused()||"always"!==e.networkMode&&!Yh.isOnline(),u=o=>{r||(r=!0,null==e.onSuccess||e.onSuccess(o),null==t||t(),n(o))},l=n=>{r||(r=!0,null==e.onError||e.onError(n),null==t||t(),o(n))},p=()=>new Promise((n=>{t=e=>{const t=r||!c();return t&&n(e),t},null==e.onPause||e.onPause()})).then((()=>{t=void 0,r||null==e.onContinue||e.onContinue()})),d=()=>{if(r)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(u).catch((t=>{var n,o;if(r)return;const s=null!=(n=e.retry)?n:3,u=null!=(o=e.retryDelay)?o:Zh,m="function"==typeof u?u(i,t):u,h=!0===s||"number"==typeof s&&i<s||"function"==typeof s&&s(i,t);!a&&h?(i++,null==e.onFail||e.onFail(i,t),Kh(m).then((()=>{if(c())return p()})).then((()=>{a?l(t):d()}))):l(t)}))};return ef(e.networkMode)?d():p().then(d),{promise:s,cancel:t=>{r||(l(new tf(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?s:Promise.resolve(),cancelRetry:()=>{a=!0},continueRetry:()=>{a=!1}}}const af=console;const rf=function(){let e=[],t=0,n=e=>{e()},o=e=>{e()};const a=o=>{t?e.push(o):$h((()=>{n(o)}))},i=()=>{const t=e;e=[],t.length&&$h((()=>{o((()=>{t.forEach((e=>{n(e)}))}))}))};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||i()}return n},batchCalls:e=>(...t)=>{a((()=>{e(...t)}))},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{o=e}}}();class sf{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ih(this.cacheTime)&&(this.gcTimeout=setTimeout((()=>{this.optionalRemove()}),this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:Th?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class cf extends sf{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||af,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,o=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=o?o:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){const n=Qh(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(Ah).catch(Ah):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some((e=>!1!==e.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((e=>e.getCurrentResult().isStale))}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Oh(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find((e=>e.shouldFetchOnWindowFocus()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;const t=this.observers.find((e=>e.shouldFetchOnReconnect()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,o;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var a;return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}"production"!==process.env.NODE_ENV&&(Array.isArray(this.options.queryKey)||this.logger.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const i=function(){if("function"==typeof AbortController)return new AbortController}(),r={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(i)return this.abortSignalConsumed=!0,i.signal}})};s(r);const c={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(r)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};var u;(s(c),null==(n=this.options.behavior)||n.onFetch(c),this.revertState=this.state,"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(o=c.fetchOptions)?void 0:o.meta))&&this.dispatch({type:"fetch",meta:null==(u=c.fetchOptions)?void 0:u.meta});const l=e=>{var t,n,o,a;(nf(e)&&e.silent||this.dispatch({type:"error",error:e}),nf(e))||(null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(o=(a=this.cache.config).onSettled)||o.call(a,this.state.data,e,this),"production"!==process.env.NODE_ENV&&this.logger.error(e));this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=of({fn:c.fetchFn,abort:null==i?void 0:i.abort.bind(i),onSuccess:e=>{var t,n,o,a;if(void 0===e)return"production"!==process.env.NODE_ENV&&this.logger.error("Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: "+this.queryHash),void l(new Error(this.queryHash+" data is undefined"));this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(o=(a=this.cache.config).onSettled)||o.call(a,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var n,o;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:ef(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(o=e.dataUpdatedAt)?o:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=e.error;return nf(a)&&a.revert&&this.revertState?{...this.revertState,fetchStatus:"idle"}:{...t,error:a,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),rf.batch((()=>{this.observers.forEach((t=>{t.onQueryUpdate(e)})),this.cache.notify({query:this,type:"updated",action:e})}))}}class uf extends Rh{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var o;const a=t.queryKey,i=null!=(o=t.queryHash)?o:qh(a,t);let r=this.get(i);return r||(r=new cf({cache:this,logger:e.getLogger(),queryKey:a,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(r)),r}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((t=>t!==e)),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){rf.batch((()=>{this.queries.forEach((e=>{this.remove(e)}))}))}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=Ph(e,t);return void 0===n.exact&&(n.exact=!0),this.queries.find((e=>Lh(n,e)))}findAll(e,t){const[n]=Ph(e,t);return Object.keys(n).length>0?this.queries.filter((e=>Lh(n,e))):this.queries}notify(e){rf.batch((()=>{this.listeners.forEach((({listener:t})=>{t(e)}))}))}onFocus(){rf.batch((()=>{this.queries.forEach((e=>{e.onFocus()}))}))}onOnline(){rf.batch((()=>{this.queries.forEach((e=>{e.onOnline()}))}))}}class lf extends sf{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||af,this.observers=[],this.state=e.state||pf(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter((t=>t!==e)),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){const e=()=>{var e;return this.retryer=of({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t="loading"===this.state.status;try{var n,o,a,i,r,s,c,u;if(!t){var l,p,d,m;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(l=(p=this.mutationCache.config).onMutate)?void 0:l.call(p,this.state.variables,this));const e=await(null==(d=(m=this.options).onMutate)?void 0:d.call(m,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}const h=await e();return await(null==(n=(o=this.mutationCache.config).onSuccess)?void 0:n.call(o,h,this.state.variables,this.state.context,this)),await(null==(a=(i=this.options).onSuccess)?void 0:a.call(i,h,this.state.variables,this.state.context)),await(null==(r=(s=this.mutationCache.config).onSettled)?void 0:r.call(s,h,null,this.state.variables,this.state.context,this)),await(null==(c=(u=this.options).onSettled)?void 0:c.call(u,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(e){try{var h,f,g,y,v,b,k,x;throw await(null==(h=(f=this.mutationCache.config).onError)?void 0:h.call(f,e,this.state.variables,this.state.context,this)),"production"!==process.env.NODE_ENV&&this.logger.error(e),await(null==(g=(y=this.options).onError)?void 0:g.call(y,e,this.state.variables,this.state.context)),await(null==(v=(b=this.mutationCache.config).onSettled)?void 0:v.call(b,void 0,e,this.state.variables,this.state.context,this)),await(null==(k=(x=this.options).onSettled)?void 0:k.call(x,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!ef(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),rf.batch((()=>{this.observers.forEach((t=>{t.onMutationUpdate(e)})),this.mutationCache.notify({mutation:this,type:"updated",action:e})}))}}function pf(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class df extends Rh{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const o=new lf({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(o),o}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter((t=>t!==e)),this.notify({type:"removed",mutation:e})}clear(){rf.batch((()=>{this.mutations.forEach((e=>{this.remove(e)}))}))}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((t=>Dh(e,t)))}findAll(e){return this.mutations.filter((t=>Dh(e,t)))}notify(e){rf.batch((()=>{this.listeners.forEach((({listener:t})=>{t(e)}))}))}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then((()=>{const e=this.mutations.filter((e=>e.state.isPaused));return rf.batch((()=>e.reduce(((e,t)=>e.then((()=>t.continue().catch(Ah)))),Promise.resolve())))})).then((()=>{this.resuming=void 0})),this.resuming}}function mf(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,o,a,i,r;const s=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,c=null==(o=e.fetchOptions)||null==(a=o.meta)?void 0:a.fetchMore,u=null==c?void 0:c.pageParam,l="forward"===(null==c?void 0:c.direction),p="backward"===(null==c?void 0:c.direction),d=(null==(i=e.state.data)?void 0:i.pages)||[],m=(null==(r=e.state.data)?void 0:r.pageParams)||[];let h=m,f=!1;const g=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),y=(e,t,n,o)=>(h=o?[t,...h]:[...h,t],o?[n,...e]:[...e,n]),v=(t,n,o,a)=>{if(f)return Promise.reject("Cancelled");if(void 0===o&&!n&&t.length)return Promise.resolve(t);const i={queryKey:e.queryKey,pageParam:o,meta:e.options.meta};var r;r=i,Object.defineProperty(r,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?f=!0:null==(n=e.signal)||n.addEventListener("abort",(()=>{f=!0})),e.signal}});const s=g(i);return Promise.resolve(s).then((e=>y(t,o,e,a)))};let b;if(d.length)if(l){const t=void 0!==u,n=t?u:hf(e.options,d);b=v(d,t,n)}else if(p){const t=void 0!==u,n=t?u:(k=e.options,x=d,null==k.getPreviousPageParam?void 0:k.getPreviousPageParam(x[0],x));b=v(d,t,n,!0)}else{h=[];const t=void 0===e.options.getNextPageParam;b=!s||!d[0]||s(d[0],0,d)?v([],t,m[0]):Promise.resolve(y([],m[0],d[0]));for(let n=1;n<d.length;n++)b=b.then((o=>{if(!s||!d[n]||s(d[n],n,d)){const a=t?m[n]:hf(e.options,o);return v(o,t,a)}return Promise.resolve(y(o,m[n],d[n]))}))}else b=v([]);var k,x;const w=b.then((e=>({pages:e,pageParams:h})));return w}}}}function hf(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}class ff extends Rh{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),gf(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return yf(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return yf(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,o=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),"production"!==process.env.NODE_ENV&&void 0!==(null==e?void 0:e.isDataEqual)&&this.client.getLogger().error("The isDataEqual option has been deprecated and will be removed in the next major version. You can achieve the same functionality by passing a function as the structuralSharing option"),Uh(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const a=this.hasListeners();a&&vf(this.currentQuery,o,this.options,n)&&this.executeFetch(),this.updateResult(t),!a||this.currentQuery===o&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const i=this.computeRefetchInterval();!a||this.currentQuery===o&&this.options.enabled===n.enabled&&i===this.currentRefetchInterval||this.updateRefetchInterval(i)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e),n=this.createResult(t,e);return function(e,t,n){if(n.keepPreviousData)return!1;if(void 0!==n.placeholderData)return t.isPlaceholderData;if(!Uh(e.getCurrentResult(),t))return!0;return!1}(this,n,e)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach((n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})})),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then((()=>(this.updateResult(),this.currentResult)))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(Ah)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),Th||this.currentResult.isStale||!Ih(this.options.staleTime))return;const e=Oh(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((()=>{this.currentResult.isStale||this.updateResult()}),e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!Th&&!1!==this.options.enabled&&Ih(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((()=>{(this.options.refetchIntervalInBackground||Jh.isFocused())&&this.executeFetch()}),this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,o=this.options,a=this.currentResult,i=this.currentResultState,r=this.currentResultOptions,s=e!==n,c=s?e.state:this.currentQueryInitialState,u=s?this.currentResult:this.previousQueryResult,{state:l}=e;let p,{dataUpdatedAt:d,error:m,errorUpdatedAt:h,fetchStatus:f,status:g}=l,y=!1,v=!1;if(t._optimisticResults){const a=this.hasListeners(),i=!a&&gf(e,t),r=a&&vf(e,n,t,o);(i||r)&&(f=ef(e.options.networkMode)?"fetching":"paused",d||(g="loading")),"isRestoring"===t._optimisticResults&&(f="idle")}if(t.keepPreviousData&&!l.dataUpdatedAt&&null!=u&&u.isSuccess&&"error"!==g)p=u.data,d=u.dataUpdatedAt,g=u.status,y=!0;else if(t.select&&void 0!==l.data)if(a&&l.data===(null==i?void 0:i.data)&&t.select===this.selectFn)p=this.selectResult;else try{this.selectFn=t.select,p=t.select(l.data),p=Qh(null==a?void 0:a.data,p,t),this.selectResult=p,this.selectError=null}catch(e){"production"!==process.env.NODE_ENV&&this.client.getLogger().error(e),this.selectError=e}else p=l.data;if(void 0!==t.placeholderData&&void 0===p&&"loading"===g){let e;if(null!=a&&a.isPlaceholderData&&t.placeholderData===(null==r?void 0:r.placeholderData))e=a.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){"production"!==process.env.NODE_ENV&&this.client.getLogger().error(e),this.selectError=e}void 0!==e&&(g="success",p=Qh(null==a?void 0:a.data,e,t),v=!0)}this.selectError&&(m=this.selectError,p=this.selectResult,h=Date.now(),g="error");const b="fetching"===f,k="loading"===g,x="error"===g;return{status:g,fetchStatus:f,isLoading:k,isSuccess:"success"===g,isError:x,isInitialLoading:k&&b,data:p,dataUpdatedAt:d,error:m,errorUpdatedAt:h,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:l.dataUpdateCount>0||l.errorUpdateCount>0,isFetchedAfterMount:l.dataUpdateCount>c.dataUpdateCount||l.errorUpdateCount>c.errorUpdateCount,isFetching:b,isRefetching:b&&!k,isLoadingError:x&&0===l.dataUpdatedAt,isPaused:"paused"===f,isPlaceholderData:v,isPreviousData:y,isRefetchError:x&&0!==l.dataUpdatedAt,isStale:bf(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Uh(n,t))return;this.currentResult=n;const o={cache:!0};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.trackedProps.size)return!0;const o=new Set(null!=n?n:this.trackedProps);return this.options.useErrorBoundary&&o.add("error"),Object.keys(this.currentResult).some((e=>{const n=e;return this.currentResult[n]!==t[n]&&o.has(n)}))})()&&(o.listeners=!0),this.notify({...o,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||nf(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){rf.batch((()=>{var t,n,o,a;if(e.onSuccess)null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(o=(a=this.options).onSettled)||o.call(a,this.currentResult.data,null);else if(e.onError){var i,r,s,c;null==(i=(r=this.options).onError)||i.call(r,this.currentResult.error),null==(s=(c=this.options).onSettled)||s.call(c,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach((({listener:e})=>{e(this.currentResult)})),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})}))}}function gf(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&yf(e,t,t.refetchOnMount)}function yf(e,t,n){if(!1!==t.enabled){const o="function"==typeof n?n(e):n;return"always"===o||!1!==o&&bf(e,t)}return!1}function vf(e,t,n,o){return!1!==n.enabled&&(e!==t||!1===o.enabled)&&(!n.suspense||"error"!==e.state.status)&&bf(e,n)}function bf(e,t){return e.isStaleByTime(t.staleTime)}class kf extends Rh{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=this.client.defaultMutationOptions(e),Uh(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.currentMutation)||e.removeObserver(this))}onMutationUpdate(e){this.updateResult();const t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){rf.batch((()=>{var t,n,o,a;if(this.mutateOptions&&this.hasListeners())if(e.onSuccess)null==(t=(n=this.mutateOptions).onSuccess)||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(o=(a=this.mutateOptions).onSettled)||o.call(a,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context);else if(e.onError){var i,r,s,c;null==(i=(r=this.mutateOptions).onError)||i.call(r,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(s=(c=this.mutateOptions).onSettled)||s.call(c,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}e.listeners&&this.listeners.forEach((({listener:e})=>{e(this.currentResult)}))}))}}var xf,wf={exports:{}},jf={};var _f,Ef={};
|
|
214
|
+
!function(e){var t,n,a,i=Ti,r=o.extname,s=/^\s*([^;\s]*)(?:;|\s|$)/,c=/^text\//i;function u(e){if(!e||"string"!=typeof e)return!1;var t=s.exec(e),n=t&&i[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!c.test(t[1]))&&"UTF-8"}e.charset=u,e.charsets={lookup:u},e.contentType=function(t){if(!t||"string"!=typeof t)return!1;var n=-1===t.indexOf("/")?e.lookup(t):t;if(!n)return!1;if(-1===n.indexOf("charset")){var o=e.charset(n);o&&(n+="; charset="+o.toLowerCase())}return n},e.extension=function(t){if(!t||"string"!=typeof t)return!1;var n=s.exec(t),o=n&&e.extensions[n[1].toLowerCase()];if(!o||!o.length)return!1;return o[0]},e.extensions=Object.create(null),e.lookup=function(t){if(!t||"string"!=typeof t)return!1;var n=r("x."+t).toLowerCase().substr(1);if(!n)return!1;return e.types[n]||!1},e.types=Object.create(null),t=e.extensions,n=e.types,a=["nginx","apache",void 0,"iana"],Object.keys(i).forEach((function(e){var o=i[e],r=o.extensions;if(r&&r.length){t[e]=r;for(var s=0;s<r.length;s++){var c=r[s];if(n[c]){var u=a.indexOf(i[n[c]].source),l=a.indexOf(o.source);if("application/octet-stream"!==n[c]&&(u>l||u===l&&"application/"===n[c].substr(0,12)))continue}n[c]=e}}}))}(Ri);var Ai=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)},Ii=function(e){var t=!1;return Ai((function(){t=!0})),function(n,o){t?e(n,o):Ai((function(){e(n,o)}))}};var Oi=function(e){Object.keys(e.jobs).forEach(zi.bind(e)),e.jobs={}};function zi(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}var Pi=Ii,Li=Oi,Di=function(e,t,n,o){var a=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[a]=function(e,t,n,o){var a;a=2==e.length?e(n,Pi(o)):e(n,t,Pi(o));return a}(t,a,e[a],(function(e,t){a in n.jobs&&(delete n.jobs[a],e?Li(n):n.results[a]=t,o(e,n.results))}))};var qi=function(e,t){var n=!Array.isArray(e),o={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};t&&o.keyedList.sort(n?t:function(n,o){return t(e[n],e[o])});return o};var Ni=Oi,Mi=Ii,Fi=function(e){if(!Object.keys(this.jobs).length)return;this.index=this.size,Ni(this),Mi(e)(null,this.results)};var Bi=Di,Ui=qi,Gi=Fi,Wi=function(e,t,n){var o=Ui(e);for(;o.index<(o.keyedList||e).length;)Bi(e,t,o,(function(e,t){e?n(e,t):0!==Object.keys(o.jobs).length||n(null,o.results)})),o.index++;return Gi.bind(o,n)};var Vi={exports:{}},Hi=Di,Ki=qi,$i=Fi;function Qi(e,t){return e<t?-1:e>t?1:0}Vi.exports=function(e,t,n,o){var a=Ki(e,n);return Hi(e,t,a,(function n(i,r){i?o(i,r):(a.index++,a.index<(a.keyedList||e).length?Hi(e,t,a,n):o(null,a.results))})),$i.bind(a,o)},Vi.exports.ascending=Qi,Vi.exports.descending=function(e,t){return-1*Qi(e,t)};var Ji=Vi.exports,Xi=Ji,Yi=function(e,t,n){return Xi(e,t,null,n)};var Zi={parallel:Wi,serial:Yi,serialOrdered:Ji},er=Object,tr=Error,nr=EvalError,or=RangeError,ar=ReferenceError,ir=SyntaxError,rr=TypeError,sr=URIError,cr=Math.abs,ur=Math.floor,lr=Math.max,pr=Math.min,dr=Math.pow,mr=Math.round,hr=Number.isNaN||function(e){return e!=e},fr=Object.getOwnPropertyDescriptor;if(fr)try{fr([],"length")}catch(e){fr=null}var gr=fr,yr=Object.defineProperty||!1;if(yr)try{yr({},"a",{value:1})}catch(e){yr=!1}var vr,br,kr,xr,wr,jr,_r,Er,Cr,Sr,Rr,Tr,Ar,Ir,Or,zr,Pr=yr;function Lr(){return br?vr:(br=1,vr=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var o in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0})}function Dr(){return jr?wr:(jr=1,wr="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function qr(){return Er?_r:(Er=1,_r=er.getPrototypeOf||null)}function Nr(){if(Sr)return Cr;Sr=1;var e=Object.prototype.toString,t=Math.max,n=function(e,t){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var a=0;a<t.length;a+=1)n[a+e.length]=t[a];return n};return Cr=function(o){var a=this;if("function"!=typeof a||"[object Function]"!==e.apply(a))throw new TypeError("Function.prototype.bind called on incompatible "+a);for(var i,r=function(e,t){for(var n=[],o=t||0,a=0;o<e.length;o+=1,a+=1)n[a]=e[o];return n}(arguments,1),s=t(0,a.length-r.length),c=[],u=0;u<s;u++)c[u]="$"+u;if(i=Function("binder","return function ("+function(e,t){for(var n="",o=0;o<e.length;o+=1)n+=e[o],o+1<e.length&&(n+=t);return n}(c,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var e=a.apply(this,n(r,arguments));return Object(e)===e?e:this}return a.apply(o,n(r,arguments))})),a.prototype){var l=function(){};l.prototype=a.prototype,i.prototype=new l,l.prototype=null}return i},Cr}function Mr(){if(Tr)return Rr;Tr=1;var e=Nr();return Rr=Function.prototype.bind||e}function Fr(){return Ir?Ar:(Ir=1,Ar=Function.prototype.call)}function Br(){return zr?Or:(zr=1,Or=Function.prototype.apply)}var Ur,Gr,Wr,Vr,Hr,Kr,$r,Qr="undefined"!=typeof Reflect&&Reflect&&Reflect.apply,Jr=Mr(),Xr=Br(),Yr=Fr(),Zr=Qr||Jr.call(Yr,Xr),es=Mr(),ts=rr,ns=Fr(),os=Zr,as=function(e){if(e.length<1||"function"!=typeof e[0])throw new ts("a function is required");return os(es,ns,e)};function is(){if(Kr)return Hr;Kr=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,n=Mr();return Hr=n.call(e,t)}var rs=er,ss=tr,cs=nr,us=or,ls=ar,ps=ir,ds=rr,ms=sr,hs=cr,fs=ur,gs=lr,ys=pr,vs=dr,bs=mr,ks=function(e){return hr(e)||0===e?e:e<0?-1:1},xs=Function,ws=function(e){try{return xs('"use strict"; return ('+e+").constructor;")()}catch(e){}},js=gr,_s=Pr,Es=function(){throw new ds},Cs=js?function(){try{return Es}catch(e){try{return js(arguments,"callee").get}catch(e){return Es}}}():Es,Ss=function(){if(xr)return kr;xr=1;var e="undefined"!=typeof Symbol&&Symbol,t=Lr();return kr=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))}}()(),Rs=function(){if(Vr)return Wr;Vr=1;var e=Dr(),t=qr(),n=function(){if(Gr)return Ur;Gr=1;var e,t=as,n=gr;try{e=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var o=!!e&&n&&n(Object.prototype,"__proto__"),a=Object,i=a.getPrototypeOf;return Ur=o&&"function"==typeof o.get?t([o.get]):"function"==typeof i&&function(e){return i(null==e?e:a(e))}}();return Wr=e?function(t){return e(t)}:t?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:n?function(e){return n(e)}:null}(),Ts=qr(),As=Dr(),Is=Br(),Os=Fr(),zs={},Ps="undefined"!=typeof Uint8Array&&Rs?Rs(Uint8Array):$r,Ls={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?$r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?$r:ArrayBuffer,"%ArrayIteratorPrototype%":Ss&&Rs?Rs([][Symbol.iterator]()):$r,"%AsyncFromSyncIteratorPrototype%":$r,"%AsyncFunction%":zs,"%AsyncGenerator%":zs,"%AsyncGeneratorFunction%":zs,"%AsyncIteratorPrototype%":zs,"%Atomics%":"undefined"==typeof Atomics?$r:Atomics,"%BigInt%":"undefined"==typeof BigInt?$r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?$r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?$r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?$r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":ss,"%eval%":eval,"%EvalError%":cs,"%Float16Array%":"undefined"==typeof Float16Array?$r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?$r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?$r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?$r:FinalizationRegistry,"%Function%":xs,"%GeneratorFunction%":zs,"%Int8Array%":"undefined"==typeof Int8Array?$r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?$r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?$r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ss&&Rs?Rs(Rs([][Symbol.iterator]())):$r,"%JSON%":"object"==typeof JSON?JSON:$r,"%Map%":"undefined"==typeof Map?$r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&Ss&&Rs?Rs((new Map)[Symbol.iterator]()):$r,"%Math%":Math,"%Number%":Number,"%Object%":rs,"%Object.getOwnPropertyDescriptor%":js,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?$r:Promise,"%Proxy%":"undefined"==typeof Proxy?$r:Proxy,"%RangeError%":us,"%ReferenceError%":ls,"%Reflect%":"undefined"==typeof Reflect?$r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?$r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&Ss&&Rs?Rs((new Set)[Symbol.iterator]()):$r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?$r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ss&&Rs?Rs(""[Symbol.iterator]()):$r,"%Symbol%":Ss?Symbol:$r,"%SyntaxError%":ps,"%ThrowTypeError%":Cs,"%TypedArray%":Ps,"%TypeError%":ds,"%Uint8Array%":"undefined"==typeof Uint8Array?$r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?$r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?$r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?$r:Uint32Array,"%URIError%":ms,"%WeakMap%":"undefined"==typeof WeakMap?$r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?$r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?$r:WeakSet,"%Function.prototype.call%":Os,"%Function.prototype.apply%":Is,"%Object.defineProperty%":_s,"%Object.getPrototypeOf%":Ts,"%Math.abs%":hs,"%Math.floor%":fs,"%Math.max%":gs,"%Math.min%":ys,"%Math.pow%":vs,"%Math.round%":bs,"%Math.sign%":ks,"%Reflect.getPrototypeOf%":As};if(Rs)try{null.error}catch(e){var Ds=Rs(Rs(e));Ls["%Error.prototype%"]=Ds}var qs,Ns,Ms=function e(t){var n;if("%AsyncFunction%"===t)n=ws("async function () {}");else if("%GeneratorFunction%"===t)n=ws("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=ws("async function* () {}");else if("%AsyncGenerator%"===t){var o=e("%AsyncGeneratorFunction%");o&&(n=o.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&Rs&&(n=Rs(a.prototype))}return Ls[t]=n,n},Fs={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Bs=Mr(),Us=is(),Gs=Bs.call(Os,Array.prototype.concat),Ws=Bs.call(Is,Array.prototype.splice),Vs=Bs.call(Os,String.prototype.replace),Hs=Bs.call(Os,String.prototype.slice),Ks=Bs.call(Os,RegExp.prototype.exec),$s=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Qs=/\\(\\)?/g,Js=function(e,t){var n,o=e;if(Us(Fs,o)&&(o="%"+(n=Fs[o])[0]+"%"),Us(Ls,o)){var a=Ls[o];if(a===zs&&(a=Ms(o)),void 0===a&&!t)throw new ds("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:o,value:a}}throw new ps("intrinsic "+e+" does not exist!")},Xs=function(e,t){if("string"!=typeof e||0===e.length)throw new ds("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new ds('"allowMissing" argument must be a boolean');if(null===Ks(/^%?[^%]*%?$/,e))throw new ps("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=Hs(e,0,1),n=Hs(e,-1);if("%"===t&&"%"!==n)throw new ps("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new ps("invalid intrinsic syntax, expected opening `%`");var o=[];return Vs(e,$s,(function(e,t,n,a){o[o.length]=n?Vs(a,Qs,"$1"):t||e})),o}(e),o=n.length>0?n[0]:"",a=Js("%"+o+"%",t),i=a.name,r=a.value,s=!1,c=a.alias;c&&(o=c[0],Ws(n,Gs([0,1],c)));for(var u=1,l=!0;u<n.length;u+=1){var p=n[u],d=Hs(p,0,1),m=Hs(p,-1);if(('"'===d||"'"===d||"`"===d||'"'===m||"'"===m||"`"===m)&&d!==m)throw new ps("property names with quotes must have matching quotes");if("constructor"!==p&&l||(s=!0),Us(Ls,i="%"+(o+="."+p)+"%"))r=Ls[i];else if(null!=r){if(!(p in r)){if(!t)throw new ds("base intrinsic for "+e+" exists, but the property is not available.");return}if(js&&u+1>=n.length){var h=js(r,p);r=(l=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:r[p]}else l=Us(r,p),r=r[p];l&&!s&&(Ls[i]=r)}}return r};var Ys=Xs("%Object.defineProperty%",!0),Zs=function(){if(Ns)return qs;Ns=1;var e=Lr();return qs=function(){return e()&&!!Symbol.toStringTag}}()(),ec=is(),tc=rr,nc=Zs?Symbol.toStringTag:null,oc=Ci,ac=t,ic=o,rc=a,sc=i,cc=r.parse,uc=s,lc=n.Stream,pc=Ri,dc=Zi,mc=function(e,t){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,o=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(void 0!==n&&"boolean"!=typeof n||void 0!==o&&"boolean"!=typeof o)throw new tc("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");!nc||!n&&ec(e,nc)||(Ys?Ys(e,nc,{configurable:!o,enumerable:!1,value:t,writable:!1}):e[nc]=t)},hc=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e},fc=gc;function gc(e){if(!(this instanceof gc))return new gc(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],oc.call(this),e=e||{})this[t]=e[t]}ac.inherits(gc,oc),gc.LINE_BREAK="\r\n",gc.DEFAULT_CONTENT_TYPE="application/octet-stream",gc.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var o=oc.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),Array.isArray(t))this._error(new Error("Arrays are not supported."));else{var a=this._multiPartHeader(e,t,n),i=this._multiPartFooter();o(a),o(t),o(i),this._trackLength(a,t,n)}},gc.prototype._trackLength=function(e,t,n){var o=0;null!=n.knownLength?o+=+n.knownLength:Buffer.isBuffer(t)?o=t.length:"string"==typeof t&&(o=Buffer.byteLength(t)),this._valueLength+=o,this._overheadLength+=Buffer.byteLength(e)+gc.LINE_BREAK.length,t&&(t.path||t.readable&&Object.prototype.hasOwnProperty.call(t,"httpVersion")||t instanceof lc)&&(n.knownLength||this._valuesToMeasure.push(t))},gc.prototype._lengthRetriever=function(e,t){Object.prototype.hasOwnProperty.call(e,"fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):uc.stat(e.path,(function(n,o){var a;n?t(n):(a=o.size-(e.start?e.start:0),t(null,a))})):Object.prototype.hasOwnProperty.call(e,"httpVersion")?t(null,+e.headers["content-length"]):Object.prototype.hasOwnProperty.call(e,"httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},gc.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var o,a=this._getContentDisposition(t,n),i=this._getContentType(t,n),r="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(a||[]),"Content-Type":[].concat(i||[])};for(var c in"object"==typeof n.header&&hc(s,n.header),s)if(Object.prototype.hasOwnProperty.call(s,c)){if(null==(o=s[c]))continue;Array.isArray(o)||(o=[o]),o.length&&(r+=c+": "+o.join("; ")+gc.LINE_BREAK)}return"--"+this.getBoundary()+gc.LINE_BREAK+r+gc.LINE_BREAK},gc.prototype._getContentDisposition=function(e,t){var n,o;return"string"==typeof t.filepath?n=ic.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=ic.basename(t.filename||e.name||e.path):e.readable&&Object.prototype.hasOwnProperty.call(e,"httpVersion")&&(n=ic.basename(e.client._httpMessage.path||"")),n&&(o='filename="'+n+'"'),o},gc.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=pc.lookup(e.name)),!n&&e.path&&(n=pc.lookup(e.path)),!n&&e.readable&&Object.prototype.hasOwnProperty.call(e,"httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=pc.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=gc.DEFAULT_CONTENT_TYPE),n},gc.prototype._multiPartFooter=function(){return function(e){var t=gc.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},gc.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+gc.LINE_BREAK},gc.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t.toLowerCase()]=e[t]);return n},gc.prototype.setBoundary=function(e){this._boundary=e},gc.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},gc.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,o=this._streams.length;n<o;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(gc.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},gc.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},gc.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},gc.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},gc.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?dc.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,o){n?e(n):(o.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},gc.prototype.submit=function(e,t){var n,o,a={method:"post"};return"string"==typeof e?(e=cc(e),o=hc({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},a)):(o=hc(e,a)).port||(o.port="https:"==o.protocol?443:80),o.headers=this.getHeaders(e.headers),n="https:"==o.protocol?sc.request(o):rc.request(o),this.getLength(function(e,o){if(e&&"Unknown stream"!==e)this._error(e);else if(o&&n.setHeader("Content-Length",o),this.pipe(n),t){var a,i=function(e,o){return n.removeListener("error",i),n.removeListener("response",a),t.call(this,e,o)};a=i.bind(this,null),n.on("error",i),n.on("response",a)}}.bind(this)),n},gc.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},gc.prototype.toString=function(){return"[object FormData]"},mc(gc,"FormData");var yc=bi(fc);function vc(e){return hi.isPlainObject(e)||hi.isArray(e)}function bc(e){return hi.endsWith(e,"[]")?e.slice(0,-2):e}function kc(e,t,n){return e?e.concat(t).map((function(e,t){return e=bc(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const xc=hi.toFlatObject(hi,{},null,(function(e){return/^is[A-Z]/.test(e)}));function wc(e,t,n){if(!hi.isObject(e))throw new TypeError("target must be an object");t=t||new(yc||FormData);const o=(n=hi.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!hi.isUndefined(t[e])}))).metaTokens,a=n.visitor||u,i=n.dots,r=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&hi.isSpecCompliantForm(t);if(!hi.isFunction(a))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(hi.isDate(e))return e.toISOString();if(!s&&hi.isBlob(e))throw new fi("Blob is not supported. Use a Buffer instead.");return hi.isArrayBuffer(e)||hi.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,a){let s=e;if(e&&!a&&"object"==typeof e)if(hi.endsWith(n,"{}"))n=o?n:n.slice(0,-2),e=JSON.stringify(e);else if(hi.isArray(e)&&function(e){return hi.isArray(e)&&!e.some(vc)}(e)||(hi.isFileList(e)||hi.endsWith(n,"[]"))&&(s=hi.toArray(e)))return n=bc(n),s.forEach((function(e,o){!hi.isUndefined(e)&&null!==e&&t.append(!0===r?kc([n],o,i):null===r?n:n+"[]",c(e))})),!1;return!!vc(e)||(t.append(kc(a,n,i),c(e)),!1)}const l=[],p=Object.assign(xc,{defaultVisitor:u,convertValue:c,isVisitable:vc});if(!hi.isObject(e))throw new TypeError("data must be an object");return function e(n,o){if(!hi.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+o.join("."));l.push(n),hi.forEach(n,(function(n,i){!0===(!(hi.isUndefined(n)||null===n)&&a.call(t,n,hi.isString(i)?i.trim():i,o,p))&&e(n,o?o.concat(i):[i])})),l.pop()}}(e),t}function jc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function _c(e,t){this._pairs=[],e&&wc(e,this,t)}const Ec=_c.prototype;function Cc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Sc(e,t,n){if(!t)return e;const o=n&&n.encode||Cc;hi.isFunction(n)&&(n={serialize:n});const a=n&&n.serialize;let i;if(i=a?a(t,n):hi.isURLSearchParams(t)?t.toString():new _c(t,n).toString(o),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}Ec.append=function(e,t){this._pairs.push([e,t])},Ec.toString=function(e){const t=e?function(t){return e.call(this,t,jc)}:jc;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Rc=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){hi.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},Tc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ac=r.URLSearchParams;const Ic="abcdefghijklmnopqrstuvwxyz",Oc="0123456789",zc={DIGIT:Oc,ALPHA:Ic,ALPHA_DIGIT:Ic+Ic.toUpperCase()+Oc};var Pc={isNode:!0,classes:{URLSearchParams:Ac,FormData:yc,Blob:"undefined"!=typeof Blob&&Blob||null},ALPHABET:zc,generateString:(e=16,t=zc.ALPHA_DIGIT)=>{let n="";const{length:o}=t,a=new Uint32Array(e);c.randomFillSync(a);for(let i=0;i<e;i++)n+=t[a[i]%o];return n},protocols:["http","https","file","data"]};const Lc="undefined"!=typeof window&&"undefined"!=typeof document,Dc="object"==typeof navigator&&navigator||void 0,qc=Lc&&(!Dc||["ReactNative","NativeScript","NS"].indexOf(Dc.product)<0),Nc="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Mc=Lc&&window.location.href||"http://localhost";var Fc={...Object.freeze({__proto__:null,hasBrowserEnv:Lc,hasStandardBrowserEnv:qc,hasStandardBrowserWebWorkerEnv:Nc,navigator:Dc,origin:Mc}),...Pc};function Bc(e){function t(e,n,o,a){let i=e[a++];if("__proto__"===i)return!0;const r=Number.isFinite(+i),s=a>=e.length;if(i=!i&&hi.isArray(o)?o.length:i,s)return hi.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!r;o[i]&&hi.isObject(o[i])||(o[i]=[]);return t(e,n,o[i],a)&&hi.isArray(o[i])&&(o[i]=function(e){const t={},n=Object.keys(e);let o;const a=n.length;let i;for(o=0;o<a;o++)i=n[o],t[i]=e[i];return t}(o[i])),!r}if(hi.isFormData(e)&&hi.isFunction(e.entries)){const n={};return hi.forEachEntry(e,((e,o)=>{t(function(e){return hi.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),o,n,0)})),n}return null}const Uc={transitional:Tc,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",o=n.indexOf("application/json")>-1,a=hi.isObject(e);a&&hi.isHTMLForm(e)&&(e=new FormData(e));if(hi.isFormData(e))return o?JSON.stringify(Bc(e)):e;if(hi.isArrayBuffer(e)||hi.isBuffer(e)||hi.isStream(e)||hi.isFile(e)||hi.isBlob(e)||hi.isReadableStream(e))return e;if(hi.isArrayBufferView(e))return e.buffer;if(hi.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return wc(e,new Fc.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,o){return Fc.isNode&&hi.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=hi.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return wc(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||o?(t.setContentType("application/json",!1),function(e,t,n){if(hi.isString(e))try{return(t||JSON.parse)(e),hi.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Uc.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(hi.isResponse(e)||hi.isReadableStream(e))return e;if(e&&hi.isString(e)&&(n&&!this.responseType||o)){const n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw fi.from(e,fi.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Fc.classes.FormData,Blob:Fc.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};hi.forEach(["delete","get","head","post","put","patch"],(e=>{Uc.headers[e]={}}));var Gc=Uc;const Wc=hi.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const Vc=Symbol("internals");function Hc(e){return e&&String(e).trim().toLowerCase()}function Kc(e){return!1===e||null==e?e:hi.isArray(e)?e.map(Kc):String(e)}function $c(e,t,n,o,a){return hi.isFunction(o)?o.call(this,t,n):(a&&(t=n),hi.isString(t)?hi.isString(o)?-1!==t.indexOf(o):hi.isRegExp(o)?o.test(t):void 0:void 0)}class Qc{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function a(e,t,n){const a=Hc(t);if(!a)throw new Error("header name must be a non-empty string");const i=hi.findKey(o,a);(!i||void 0===o[i]||!0===n||void 0===n&&!1!==o[i])&&(o[i||t]=Kc(e))}const i=(e,t)=>hi.forEach(e,((e,n)=>a(e,n,t)));if(hi.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(hi.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,o,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),o=e.substring(a+1).trim(),!n||t[n]&&Wc[n]||("set-cookie"===n?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)})),t})(e),t);else if(hi.isObject(e)&&hi.isIterable(e)){let n,o,a={};for(const t of e){if(!hi.isArray(t))throw TypeError("Object iterator must return a key-value pair");a[o=t[0]]=(n=a[o])?hi.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(a,t)}else null!=e&&a(t,e,n);return this}get(e,t){if(e=Hc(e)){const n=hi.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}(e);if(hi.isFunction(t))return t.call(this,e,n);if(hi.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Hc(e)){const n=hi.findKey(this,e);return!(!n||void 0===this[n]||t&&!$c(0,this[n],n,t))}return!1}delete(e,t){const n=this;let o=!1;function a(e){if(e=Hc(e)){const a=hi.findKey(n,e);!a||t&&!$c(0,n[a],a,t)||(delete n[a],o=!0)}}return hi.isArray(e)?e.forEach(a):a(e),o}clear(e){const t=Object.keys(this);let n=t.length,o=!1;for(;n--;){const a=t[n];e&&!$c(0,this[a],a,e,!0)||(delete this[a],o=!0)}return o}normalize(e){const t=this,n={};return hi.forEach(this,((o,a)=>{const i=hi.findKey(n,a);if(i)return t[i]=Kc(o),void delete t[a];const r=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();r!==a&&delete t[a],t[r]=Kc(o),n[r]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return hi.forEach(this,((n,o)=>{null!=n&&!1!==n&&(t[o]=e&&hi.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Vc]=this[Vc]={accessors:{}}).accessors,n=this.prototype;function o(e){const o=Hc(e);t[o]||(!function(e,t){const n=hi.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,a){return this[o].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[o]=!0)}return hi.isArray(e)?e.forEach(o):o(e),this}}Qc.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),hi.reduceDescriptors(Qc.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),hi.freezeMethods(Qc);var Jc=Qc;function Xc(e,t){const n=this||Gc,o=t||n,a=Jc.from(o.headers);let i=o.data;return hi.forEach(e,(function(e){i=e.call(n,i,a.normalize(),t?t.status:void 0)})),a.normalize(),i}function Yc(e){return!(!e||!e.__CANCEL__)}function Zc(e,t,n){fi.call(this,null==e?"canceled":e,fi.ERR_CANCELED,t,n),this.name="CanceledError"}function eu(e,t,n){const o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new fi("Request failed with status code "+n.status,[fi.ERR_BAD_REQUEST,fi.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function tu(e,t,n){let o=!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t);return e&&(o||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}hi.inherits(Zc,fi,{__CANCEL__:!0});var nu={},ou=r.parse,au={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},iu=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function ru(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}nu.getProxyForUrl=function(e){var t="string"==typeof e?ou(e):e||{},n=t.protocol,o=t.host,a=t.port;if("string"!=typeof o||!o||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(ru("npm_config_no_proxy")||ru("no_proxy")).toLowerCase();if(!n)return!0;if("*"===n)return!1;return n.split(/[,\s]/).every((function(n){if(!n)return!0;var o=n.match(/^(.+):(\d+)$/),a=o?o[1]:n,i=o?parseInt(o[2]):0;return!(!i||i===t)||(/^[.*]/.test(a)?("*"===a.charAt(0)&&(a=a.slice(1)),!iu.call(e,a)):e!==a)}))}(o=o.replace(/:\d*$/,""),a=parseInt(a)||au[n]||0))return"";var i=ru("npm_config_"+n+"_proxy")||ru(n+"_proxy")||ru("npm_config_proxy")||ru("all_proxy");return i&&-1===i.indexOf("://")&&(i=n+"://"+i),i};var su,cu,uu,lu,pu,du={exports:{}},mu={exports:{}},hu={exports:{}};function fu(){if(cu)return su;cu=1;var e=1e3,t=60*e,n=60*t,o=24*n,a=7*o,i=365.25*o;function r(e,t,n,o){var a=t>=1.5*n;return Math.round(e/n)+" "+o+(a?"s":"")}return su=function(s,c){c=c||{};var u=typeof s;if("string"===u&&s.length>0)return function(r){if((r=String(r)).length>100)return;var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(r);if(!s)return;var c=parseFloat(s[1]);switch((s[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*i;case"weeks":case"week":case"w":return c*a;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*t;case"seconds":case"second":case"secs":case"sec":case"s":return c*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(s);if("number"===u&&isFinite(s))return c.long?function(a){var i=Math.abs(a);if(i>=o)return r(a,i,o,"day");if(i>=n)return r(a,i,n,"hour");if(i>=t)return r(a,i,t,"minute");if(i>=e)return r(a,i,e,"second");return a+" ms"}(s):function(a){var i=Math.abs(a);if(i>=o)return Math.round(a/o)+"d";if(i>=n)return Math.round(a/n)+"h";if(i>=t)return Math.round(a/t)+"m";if(i>=e)return Math.round(a/e)+"s";return a+"ms"}(s);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(s))},su}function gu(){if(lu)return uu;return lu=1,uu=function(e){function t(e){let o,a,i,r=null;function s(...e){if(!s.enabled)return;const n=s,a=Number(new Date),i=a-(o||a);n.diff=i,n.prev=o,n.curr=a,o=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let r=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((o,a)=>{if("%%"===o)return"%";r++;const i=t.formatters[a];if("function"==typeof i){const t=e[r];o=i.call(n,t),e.splice(r,1),r--}return o})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==r?r:(a!==t.namespaces&&(a=t.namespaces,i=t.enabled(e)),i),set:e=>{r=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){const o=t(this.namespace+(void 0===n?":":n)+e);return o.log=this.log,o}function o(e,t){let n=0,o=0,a=-1,i=0;for(;n<e.length;)if(o<t.length&&(t[o]===e[n]||"*"===t[o]))"*"===t[o]?(a=o,i=n,o++):(n++,o++);else{if(-1===a)return!1;o=a+1,i++,n=i}for(;o<t.length&&"*"===t[o];)o++;return o===t.length}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names,...t.skips.map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").trim().replace(" ",",").split(",").filter(Boolean);for(const e of n)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const n of t.skips)if(o(e,n))return!1;for(const n of t.names)if(o(e,n))return!0;return!1},t.humanize=fu(),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t},uu}var yu,vu,bu,ku,xu,wu,ju,_u={exports:{}};function Eu(){return vu?yu:(vu=1,yu=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",o=t.indexOf(n+e),a=t.indexOf("--");return-1!==o&&(-1===a||o<a)})}function Cu(){return xu||(xu=1,function(e,n){const o=l,a=t;n.init=function(e){e.inspectOpts={};const t=Object.keys(n.inspectOpts);for(let o=0;o<t.length;o++)e.inspectOpts[t[o]]=n.inspectOpts[t[o]]},n.log=function(...e){return process.stderr.write(a.formatWithOptions(n.inspectOpts,...e)+"\n")},n.formatArgs=function(t){const{namespace:o,useColors:a}=this;if(a){const n=this.color,a="[3"+(n<8?n:"8;5;"+n),i=` ${a};1m${o} [0m`;t[0]=i+t[0].split("\n").join("\n"+i),t.push(a+"m+"+e.exports.humanize(this.diff)+"[0m")}else t[0]=function(){if(n.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+o+" "+t[0]},n.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},n.load=function(){return process.env.DEBUG},n.useColors=function(){return"colors"in n.inspectOpts?Boolean(n.inspectOpts.colors):o.isatty(process.stderr.fd)},n.destroy=a.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),n.colors=[6,2,3,4,5,1];try{const e=function(){if(ku)return bu;ku=1;const e=p,t=l,n=Eu(),{env:o}=process;let a;function i(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function r(t,i){if(0===a)return 0;if(n("color=16m")||n("color=full")||n("color=truecolor"))return 3;if(n("color=256"))return 2;if(t&&!i&&void 0===a)return 0;const r=a||0;if("dumb"===o.TERM)return r;if("win32"===process.platform){const t=e.release().split(".");return Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in o))||"codeship"===o.CI_NAME?1:r;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:r}return n("no-color")||n("no-colors")||n("color=false")||n("color=never")?a=0:(n("color")||n("colors")||n("color=true")||n("color=always"))&&(a=1),"FORCE_COLOR"in o&&(a="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),bu={supportsColor:function(e){return i(r(e,e&&e.isTTY))},stdout:i(r(!0,t.isatty(1))),stderr:i(r(!0,t.isatty(2)))},bu}();e&&(e.stderr||e).level>=2&&(n.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}n.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let o=process.env[t];return o=!!/^(yes|on|true|enabled)$/i.test(o)||!/^(no|off|false|disabled)$/i.test(o)&&("null"===o?null:Number(o)),e[n]=o,e}),{}),e.exports=gu()(n);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,a.inspect(e,this.inspectOpts)}}(_u,_u.exports)),_u.exports}function Su(){return wu||(wu=1,"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?mu.exports=(pu||(pu=1,function(e,t){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(o++,"%c"===e&&(a=o))})),t.splice(a,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=gu()(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}(hu,hu.exports)),hu.exports):mu.exports=Cu()),mu.exports}var Ru,Tu,Au,Iu=r,Ou=Iu.URL,zu=a,Pu=i,Lu=n.Writable,Du=u,qu=function(){if(!ju){try{ju=Su()("follow-redirects")}catch(e){}"function"!=typeof ju&&(ju=function(){})}ju.apply(null,arguments)};Ru="undefined"!=typeof process,Tu="undefined"!=typeof window&&"undefined"!=typeof document,Au=al(Error.captureStackTrace),Ru||!Tu&&Au||console.warn("The follow-redirects package should be excluded from browser builds.");var Nu=!1;try{Du(new Ou(""))}catch(Wn){Nu="ERR_INVALID_URL"===Wn.code}var Mu=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Fu=["abort","aborted","connect","error","socket","timeout"],Bu=Object.create(null);Fu.forEach((function(e){Bu[e]=function(t,n,o){this._redirectable.emit(e,t,n,o)}}));var Uu=tl("ERR_INVALID_URL","Invalid URL",TypeError),Gu=tl("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),Wu=tl("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Gu),Vu=tl("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),Hu=tl("ERR_STREAM_WRITE_AFTER_END","write after end"),Ku=Lu.prototype.destroy||Ju;function $u(e,t){Lu.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof Gu?e:new Gu({cause:e}))}},this._performRequest()}function Qu(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(o){var a=o+":",i=n[a]=e[o],r=t[o]=Object.create(i);Object.defineProperties(r,{request:{value:function(e,o,i){var r;return r=e,Ou&&r instanceof Ou?e=Zu(e):ol(e)?e=Zu(Xu(e)):(i=o,o=Yu(e),e={protocol:a}),al(o)&&(i=o,o=null),(o=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,o)).nativeProtocols=n,ol(o.host)||ol(o.hostname)||(o.hostname="::1"),Du.equal(o.protocol,a,"protocol mismatch"),qu("options",o),new $u(o,i)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var o=r.request(e,t,n);return o.end(),o},configurable:!0,enumerable:!0,writable:!0}})})),t}function Ju(){}function Xu(e){var t;if(Nu)t=new Ou(e);else if(!ol((t=Yu(Iu.parse(e))).protocol))throw new Uu({input:e});return t}function Yu(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new Uu({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new Uu({input:e.href||e});return e}function Zu(e,t){var n=t||{};for(var o of Mu)n[o]=e[o];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function el(e,t){var n;for(var o in t)e.test(o)&&(n=t[o],delete t[o]);return null==n?void 0:String(n).trim()}function tl(e,t,n){function o(n){al(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return o.prototype=new(n||Error),Object.defineProperties(o.prototype,{constructor:{value:o,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),o}function nl(e,t){for(var n of Fu)e.removeListener(n,Bu[n]);e.on("error",Ju),e.destroy(t)}function ol(e){return"string"==typeof e||e instanceof String}function al(e){return"function"==typeof e}$u.prototype=Object.create(Lu.prototype),$u.prototype.abort=function(){nl(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},$u.prototype.destroy=function(e){return nl(this._currentRequest,e),Ku.call(this,e),this},$u.prototype.write=function(e,t,n){if(this._ending)throw new Hu;if(!ol(e)&&("object"!=typeof(o=e)||!("length"in o)))throw new TypeError("data should be a string, Buffer or Uint8Array");var o;al(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new Vu),this.abort()):n&&n()},$u.prototype.end=function(e,t,n){if(al(e)?(n=e,e=t=null):al(t)&&(n=t,t=null),e){var o=this,a=this._currentRequest;this.write(e,t,(function(){o._ended=!0,a.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},$u.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},$u.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},$u.prototype.setTimeout=function(e,t){var n=this;function o(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function a(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),i()}),e),o(t)}function i(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",i),n.removeListener("error",i),n.removeListener("response",i),n.removeListener("close",i),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",a)}return t&&this.on("timeout",t),this.socket?a(this.socket):this._currentRequest.once("socket",a),this.on("socket",o),this.on("abort",i),this.on("error",i),this.on("response",i),this.on("close",i),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){$u.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty($u.prototype,e,{get:function(){return this._currentRequest[e]}})})),$u.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},$u.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var o=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var a of(o._redirectable=this,Fu))o.on(a,Bu[a]);if(this._currentUrl=/^\//.test(this._options.path)?Iu.format(this._options):this._options.path,this._isRedirect){var i=0,r=this,s=this._requestBodyBuffers;!function e(t){if(o===r._currentRequest)if(t)r.emit("error",t);else if(i<s.length){var n=s[i++];o.finished||o.write(n.data,n.encoding,e)}else r._ended&&o.end()}()}},$u.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,o=e.headers.location;if(!o||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(nl(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new Wu;var a=this._options.beforeRedirect;a&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var i=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],el(/^content-/i,this._options.headers));var r,s,c=el(/^host$/i,this._options.headers),u=Xu(this._currentUrl),l=c||u.host,p=/^\w+:/.test(o)?this._currentUrl:Iu.format(Object.assign(u,{host:l})),d=(r=o,s=p,Nu?new Ou(r,s):Xu(Iu.resolve(s,r)));if(qu("redirecting to",d.href),this._isRedirect=!0,Zu(d,this._options),(d.protocol!==u.protocol&&"https:"!==d.protocol||d.host!==l&&!function(e,t){Du(ol(e)&&ol(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(d.host,l))&&el(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),al(a)){var m={headers:e.headers,statusCode:t},h={url:p,method:i,headers:n};a(this._options,m,h),this._sanitizeOptions(this._options)}this._performRequest()},du.exports=Qu({http:zu,https:Pu}),du.exports.wrap=Qu;var il=bi(du.exports);const rl="1.9.0";function sl(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const cl=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;const ul=Symbol("internals");class ll extends n.Transform{constructor(e){super({readableHighWaterMark:(e=hi.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!hi.isUndefined(t[e])))).chunkSize});const t=this[ul]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(e=>{"progress"===e&&(t.isCaptured||(t.isCaptured=!0))}))}_read(e){const t=this[ul];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const o=this[ul],a=o.maxRate,i=this.readableHighWaterMark,r=o.timeWindow,s=a/(1e3/r),c=!1!==o.minChunkSize?Math.max(o.minChunkSize,.01*s):0,u=(e,t)=>{const n=Buffer.byteLength(e);o.bytesSeen+=n,o.bytes+=n,o.isCaptured&&this.emit("progress",o.bytesSeen),this.push(e)?process.nextTick(t):o.onReadCallback=()=>{o.onReadCallback=null,process.nextTick(t)}},l=(e,t)=>{const n=Buffer.byteLength(e);let l,p=null,d=i,m=0;if(a){const e=Date.now();(!o.ts||(m=e-o.ts)>=r)&&(o.ts=e,l=s-o.bytes,o.bytes=l<0?-l:0,m=0),l=s-o.bytes}if(a){if(l<=0)return setTimeout((()=>{t(null,e)}),r-m);l<d&&(d=l)}d&&n>d&&n-d>c&&(p=e.subarray(d),e=e.subarray(0,d)),u(e,p?()=>{process.nextTick(t,null,p)}:t)};l(e,(function e(t,o){if(t)return n(t);o?l(o,e):n(null)}))}}var pl=ll;const{asyncIterator:dl}=Symbol;var ml=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[dl]?yield*e[dl]():yield e};const hl=Fc.ALPHABET.ALPHA_DIGIT+"-_",fl="function"==typeof TextEncoder?new TextEncoder:new t.TextEncoder,gl="\r\n",yl=fl.encode(gl);class vl{constructor(e,t){const{escapeName:n}=this.constructor,o=hi.isString(t);let a=`Content-Disposition: form-data; name="${n(e)}"${!o&&t.name?`; filename="${n(t.name)}"`:""}${gl}`;o?t=fl.encode(String(t).replace(/\r?\n|\r\n?/g,gl)):a+=`Content-Type: ${t.type||"application/octet-stream"}${gl}`,this.headers=fl.encode(a+gl),this.contentLength=o?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;hi.isTypedArray(e)?yield e:yield*ml(e),yield yl}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}var bl=(e,t,o)=>{const{tag:a="form-data-boundary",size:i=25,boundary:r=a+"-"+Fc.generateString(i,hl)}=o||{};if(!hi.isFormData(e))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");const s=fl.encode("--"+r+gl),c=fl.encode("--"+r+"--"+gl);let u=c.byteLength;const l=Array.from(e.entries()).map((([e,t])=>{const n=new vl(e,t);return u+=n.size,n}));u+=s.byteLength*l.length,u=hi.toFiniteNumber(u);const p={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(u)&&(p["Content-Length"]=u),t&&t(p),n.Readable.from(async function*(){for(const e of l)yield s,yield*e.encode();yield c}())};class kl extends n.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}var xl=kl;var wl=(e,t)=>hi.isAsyncFn(e)?function(...n){const o=n.pop();e.apply(this,n).then((e=>{try{t?o(null,...t(e)):o(null,e)}catch(e){o(e)}}),o)}:e;const jl=(e,t,n=3)=>{let o=0;const a=function(e,t){e=e||10;const n=new Array(e),o=new Array(e);let a,i=0,r=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),u=o[r];a||(a=c),n[i]=s,o[i]=c;let l=r,p=0;for(;l!==i;)p+=n[l++],l%=e;if(i=(i+1)%e,i===r&&(r=(r+1)%e),c-a<t)return;const d=u&&c-u;return d?Math.round(1e3*p/d):void 0}}(50,250);return function(e,t){let n,o,a=0,i=1e3/t;const r=(t,i=Date.now())=>{a=i,n=null,o&&(clearTimeout(o),o=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-a;s>=i?r(e,t):(n=e,o||(o=setTimeout((()=>{o=null,r(n)}),i-s)))},()=>n&&r(n)]}((n=>{const i=n.loaded,r=n.lengthComputable?n.total:void 0,s=i-o,c=a(s);o=i;e({loaded:i,total:r,progress:r?i/r:void 0,bytes:s,rate:c||void 0,estimated:c&&r&&i<=r?(r-i)/c:void 0,event:n,lengthComputable:null!=r,[t?"download":"upload"]:!0})}),n)},_l=(e,t)=>{const n=null!=e;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},El=e=>(...t)=>hi.asap((()=>e(...t))),Cl={flush:d.constants.Z_SYNC_FLUSH,finishFlush:d.constants.Z_SYNC_FLUSH},Sl={flush:d.constants.BROTLI_OPERATION_FLUSH,finishFlush:d.constants.BROTLI_OPERATION_FLUSH},Rl=hi.isFunction(d.createBrotliDecompress),{http:Tl,https:Al}=il,Il=/https:?/,Ol=Fc.protocols.map((e=>e+":")),zl=(e,[t,n])=>(e.on("end",n).on("error",n),t);function Pl(e,t){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e,t)}function Ll(e,t,n){let o=t;if(!o&&!1!==o){const e=nu.getProxyForUrl(n);e&&(o=new URL(e))}if(o){if(o.username&&(o.auth=(o.username||"")+":"+(o.password||"")),o.auth){(o.auth.username||o.auth.password)&&(o.auth=(o.auth.username||"")+":"+(o.auth.password||""));const t=Buffer.from(o.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=o.hostname||o.host;e.hostname=t,e.host=t,e.port=o.port,e.path=n,o.protocol&&(e.protocol=o.protocol.includes(":")?o.protocol:`${o.protocol}:`)}e.beforeRedirects.proxy=function(e){Ll(e,t,e.href)}}const Dl="undefined"!=typeof process&&"process"===hi.kindOf(process),ql=(e,t)=>(({address:e,family:t})=>{if(!hi.isString(e))throw TypeError("address must be a string");return{address:e,family:t||(e.indexOf(".")<0?6:4)}})(hi.isObject(e)?e:{address:e,family:t});var Nl=Dl&&function(e){return o=async function(o,r,s){let{data:c,lookup:u,family:l}=e;const{responseType:p,responseEncoding:h}=e,f=e.method.toUpperCase();let g,y,v=!1;if(u){const e=wl(u,(e=>hi.isArray(e)?e:[e]));u=(t,n,o)=>{e(t,n,((e,t,a)=>{if(e)return o(e);const i=hi.isArray(t)?t.map((e=>ql(e))):[ql(t,a)];n.all?o(e,i):o(e,i[0].address,i[0].family)}))}}const b=new m.EventEmitter,k=()=>{e.cancelToken&&e.cancelToken.unsubscribe(x),e.signal&&e.signal.removeEventListener("abort",x),b.removeAllListeners()};function x(t){b.emit("abort",!t||t.type?new Zc(null,e,y):t)}s(((e,t)=>{g=!0,t&&(v=!0,k())})),b.once("abort",r),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(x),e.signal&&(e.signal.aborted?x():e.signal.addEventListener("abort",x)));const w=tu(e.baseURL,e.url,e.allowAbsoluteUrls),j=new URL(w,Fc.hasBrowserEnv?Fc.origin:void 0),_=j.protocol||Ol[0];if("data:"===_){let t;if("GET"!==f)return eu(o,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{t=function(e,t,n){const o=n&&n.Blob||Fc.classes.Blob,a=sl(e);if(void 0===t&&o&&(t=!0),"data"===a){e=a.length?e.slice(a.length+1):e;const n=cl.exec(e);if(!n)throw new fi("Invalid URL",fi.ERR_INVALID_URL);const i=n[1],r=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),r?"base64":"utf8");if(t){if(!o)throw new fi("Blob is not supported",fi.ERR_NOT_SUPPORT);return new o([c],{type:i})}return c}throw new fi("Unsupported protocol "+a,fi.ERR_NOT_SUPPORT)}(e.url,"blob"===p,{Blob:e.env&&e.env.Blob})}catch(t){throw fi.from(t,fi.ERR_BAD_REQUEST,e)}return"text"===p?(t=t.toString(h),h&&"utf8"!==h||(t=hi.stripBOM(t))):"stream"===p&&(t=n.Readable.from(t)),eu(o,r,{data:t,status:200,statusText:"OK",headers:new Jc,config:e})}if(-1===Ol.indexOf(_))return r(new fi("Unsupported protocol "+_,fi.ERR_BAD_REQUEST,e));const E=Jc.from(e.headers).normalize();E.set("User-Agent","axios/"+rl,!1);const{onUploadProgress:C,onDownloadProgress:S}=e,R=e.maxRate;let T,A;if(hi.isSpecCompliantForm(c)){const e=E.getContentType(/boundary=([-_\w\d]{10,70})/i);c=bl(c,(e=>{E.set(e)}),{tag:`axios-${rl}-boundary`,boundary:e&&e[1]||void 0})}else if(hi.isFormData(c)&&hi.isFunction(c.getHeaders)){if(E.set(c.getHeaders()),!E.hasContentLength())try{const e=await t.promisify(c.getLength).call(c);Number.isFinite(e)&&e>=0&&E.setContentLength(e)}catch(e){}}else if(hi.isBlob(c)||hi.isFile(c))c.size&&E.setContentType(c.type||"application/octet-stream"),E.setContentLength(c.size||0),c=n.Readable.from(ml(c));else if(c&&!hi.isStream(c)){if(Buffer.isBuffer(c));else if(hi.isArrayBuffer(c))c=Buffer.from(new Uint8Array(c));else{if(!hi.isString(c))return r(new fi("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",fi.ERR_BAD_REQUEST,e));c=Buffer.from(c,"utf-8")}if(E.setContentLength(c.length,!1),e.maxBodyLength>-1&&c.length>e.maxBodyLength)return r(new fi("Request body larger than maxBodyLength limit",fi.ERR_BAD_REQUEST,e))}const I=hi.toFiniteNumber(E.getContentLength());let O,z;hi.isArray(R)?(T=R[0],A=R[1]):T=A=R,c&&(C||T)&&(hi.isStream(c)||(c=n.Readable.from(c,{objectMode:!1})),c=n.pipeline([c,new pl({maxRate:hi.toFiniteNumber(T)})],hi.noop),C&&c.on("progress",zl(c,_l(I,jl(El(C),!1,3))))),e.auth&&(O=(e.auth.username||"")+":"+(e.auth.password||"")),!O&&j.username&&(O=j.username+":"+j.password),O&&E.delete("authorization");try{z=Sc(j.pathname+j.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const n=new Error(t.message);return n.config=e,n.url=e.url,n.exists=!0,r(n)}E.set("Accept-Encoding","gzip, compress, deflate"+(Rl?", br":""),!1);const P={path:z,method:f,headers:E.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:O,protocol:_,family:l,beforeRedirect:Pl,beforeRedirects:{}};let L;!hi.isUndefined(u)&&(P.lookup=u),e.socketPath?P.socketPath=e.socketPath:(P.hostname=j.hostname.startsWith("[")?j.hostname.slice(1,-1):j.hostname,P.port=j.port,Ll(P,e.proxy,_+"//"+j.hostname+(j.port?":"+j.port:"")+P.path));const D=Il.test(P.protocol);if(P.agent=D?e.httpsAgent:e.httpAgent,e.transport?L=e.transport:0===e.maxRedirects?L=D?i:a:(e.maxRedirects&&(P.maxRedirects=e.maxRedirects),e.beforeRedirect&&(P.beforeRedirects.config=e.beforeRedirect),L=D?Al:Tl),e.maxBodyLength>-1?P.maxBodyLength=e.maxBodyLength:P.maxBodyLength=1/0,e.insecureHTTPParser&&(P.insecureHTTPParser=e.insecureHTTPParser),y=L.request(P,(function(t){if(y.destroyed)return;const a=[t],i=+t.headers["content-length"];if(S||A){const e=new pl({maxRate:hi.toFiniteNumber(A)});S&&e.on("progress",zl(e,_l(i,jl(El(S),!0,3)))),a.push(e)}let s=t;const c=t.req||y;if(!1!==e.decompress&&t.headers["content-encoding"])switch("HEAD"!==f&&204!==t.statusCode||delete t.headers["content-encoding"],(t.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":a.push(d.createUnzip(Cl)),delete t.headers["content-encoding"];break;case"deflate":a.push(new xl),a.push(d.createUnzip(Cl)),delete t.headers["content-encoding"];break;case"br":Rl&&(a.push(d.createBrotliDecompress(Sl)),delete t.headers["content-encoding"])}s=a.length>1?n.pipeline(a,hi.noop):a[0];const u=n.finished(s,(()=>{u(),k()})),l={status:t.statusCode,statusText:t.statusMessage,headers:new Jc(t.headers),config:e,request:c};if("stream"===p)l.data=s,eu(o,r,l);else{const t=[];let n=0;s.on("data",(function(o){t.push(o),n+=o.length,e.maxContentLength>-1&&n>e.maxContentLength&&(v=!0,s.destroy(),r(new fi("maxContentLength size of "+e.maxContentLength+" exceeded",fi.ERR_BAD_RESPONSE,e,c)))})),s.on("aborted",(function(){if(v)return;const t=new fi("stream has been aborted",fi.ERR_BAD_RESPONSE,e,c);s.destroy(t),r(t)})),s.on("error",(function(t){y.destroyed||r(fi.from(t,null,e,c))})),s.on("end",(function(){try{let e=1===t.length?t[0]:Buffer.concat(t);"arraybuffer"!==p&&(e=e.toString(h),h&&"utf8"!==h||(e=hi.stripBOM(e))),l.data=e}catch(t){return r(fi.from(t,null,e,l.request,l))}eu(o,r,l)}))}b.once("abort",(e=>{s.destroyed||(s.emit("error",e),s.destroy())}))})),b.once("abort",(e=>{r(e),y.destroy(e)})),y.on("error",(function(t){r(fi.from(t,null,e,y))})),y.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void r(new fi("error trying to parse `config.timeout` to int",fi.ERR_BAD_OPTION_VALUE,e,y));y.setTimeout(t,(function(){if(g)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const n=e.transitional||Tc;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new fi(t,n.clarifyTimeoutError?fi.ETIMEDOUT:fi.ECONNABORTED,e,y)),x()}))}if(hi.isStream(c)){let t=!1,n=!1;c.on("end",(()=>{t=!0})),c.once("error",(e=>{n=!0,y.destroy(e)})),c.on("close",(()=>{t||n||x(new Zc("Request stream has been aborted",e,y))})),c.pipe(y)}else y.end(c)},new Promise(((e,t)=>{let n,a;const i=(e,t)=>{a||(a=!0,n&&n(e,t))},r=e=>{i(e,!0),t(e)};o((t=>{i(t),e(t)}),r,(e=>n=e)).catch(r)}));var o},Ml=Fc.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Fc.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Fc.origin),Fc.navigator&&/(msie|trident)/i.test(Fc.navigator.userAgent)):()=>!0,Fl=Fc.hasStandardBrowserEnv?{write(e,t,n,o,a,i){const r=[e+"="+encodeURIComponent(t)];hi.isNumber(n)&&r.push("expires="+new Date(n).toGMTString()),hi.isString(o)&&r.push("path="+o),hi.isString(a)&&r.push("domain="+a),!0===i&&r.push("secure"),document.cookie=r.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};const Bl=e=>e instanceof Jc?{...e}:e;function Ul(e,t){t=t||{};const n={};function o(e,t,n,o){return hi.isPlainObject(e)&&hi.isPlainObject(t)?hi.merge.call({caseless:o},e,t):hi.isPlainObject(t)?hi.merge({},t):hi.isArray(t)?t.slice():t}function a(e,t,n,a){return hi.isUndefined(t)?hi.isUndefined(e)?void 0:o(void 0,e,0,a):o(e,t,0,a)}function i(e,t){if(!hi.isUndefined(t))return o(void 0,t)}function r(e,t){return hi.isUndefined(t)?hi.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function s(n,a,i){return i in t?o(n,a):i in e?o(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,withXSRFToken:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:s,headers:(e,t,n)=>a(Bl(e),Bl(t),0,!0)};return hi.forEach(Object.keys(Object.assign({},e,t)),(function(o){const i=c[o]||a,r=i(e[o],t[o],o);hi.isUndefined(r)&&i!==s||(n[o]=r)})),n}var Gl=e=>{const t=Ul({},e);let n,{data:o,withXSRFToken:a,xsrfHeaderName:i,xsrfCookieName:r,headers:s,auth:c}=t;if(t.headers=s=Jc.from(s),t.url=Sc(tu(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),hi.isFormData(o))if(Fc.hasStandardBrowserEnv||Fc.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Fc.hasStandardBrowserEnv&&(a&&hi.isFunction(a)&&(a=a(t)),a||!1!==a&&Ml(t.url))){const e=i&&r&&Fl.read(r);e&&s.set(i,e)}return t};var Wl="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const o=Gl(e);let a=o.data;const i=Jc.from(o.headers).normalize();let r,s,c,u,l,{responseType:p,onUploadProgress:d,onDownloadProgress:m}=o;function h(){u&&u(),l&&l(),o.cancelToken&&o.cancelToken.unsubscribe(r),o.signal&&o.signal.removeEventListener("abort",r)}let f=new XMLHttpRequest;function g(){if(!f)return;const o=Jc.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders());eu((function(e){t(e),h()}),(function(e){n(e),h()}),{data:p&&"text"!==p&&"json"!==p?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:o,config:e,request:f}),f=null}f.open(o.method.toUpperCase(),o.url,!0),f.timeout=o.timeout,"onloadend"in f?f.onloadend=g:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(g)},f.onabort=function(){f&&(n(new fi("Request aborted",fi.ECONNABORTED,e,f)),f=null)},f.onerror=function(){n(new fi("Network Error",fi.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let t=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const a=o.transitional||Tc;o.timeoutErrorMessage&&(t=o.timeoutErrorMessage),n(new fi(t,a.clarifyTimeoutError?fi.ETIMEDOUT:fi.ECONNABORTED,e,f)),f=null},void 0===a&&i.setContentType(null),"setRequestHeader"in f&&hi.forEach(i.toJSON(),(function(e,t){f.setRequestHeader(t,e)})),hi.isUndefined(o.withCredentials)||(f.withCredentials=!!o.withCredentials),p&&"json"!==p&&(f.responseType=o.responseType),m&&([c,l]=jl(m,!0),f.addEventListener("progress",c)),d&&f.upload&&([s,u]=jl(d),f.upload.addEventListener("progress",s),f.upload.addEventListener("loadend",u)),(o.cancelToken||o.signal)&&(r=t=>{f&&(n(!t||t.type?new Zc(null,e,f):t),f.abort(),f=null)},o.cancelToken&&o.cancelToken.subscribe(r),o.signal&&(o.signal.aborted?r():o.signal.addEventListener("abort",r)));const y=sl(o.url);y&&-1===Fc.protocols.indexOf(y)?n(new fi("Unsupported protocol "+y+":",fi.ERR_BAD_REQUEST,e)):f.send(a||null)}))};var Vl=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,o=new AbortController;const a=function(e){if(!n){n=!0,r();const t=e instanceof Error?e:this.reason;o.abort(t instanceof fi?t:new Zc(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,a(new fi(`timeout ${t} of ms exceeded`,fi.ETIMEDOUT))}),t);const r=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(a):e.removeEventListener("abort",a)})),e=null)};e.forEach((e=>e.addEventListener("abort",a)));const{signal:s}=o;return s.unsubscribe=()=>hi.asap(r),s}};const Hl=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let o,a=0;for(;a<n;)o=a+t,yield e.slice(a,o),a=o},Kl=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},$l=(e,t,n,o)=>{const a=async function*(e,t){for await(const n of Kl(e))yield*Hl(n,t)}(e,t);let i,r=0,s=e=>{i||(i=!0,o&&o(e))};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await a.next();if(t)return s(),void e.close();let i=o.byteLength;if(n){let e=r+=i;n(e)}e.enqueue(new Uint8Array(o))}catch(e){throw s(e),e}},cancel:e=>(s(e),a.return())},{highWaterMark:2})},Ql="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Jl=Ql&&"function"==typeof ReadableStream,Xl=Ql&&("function"==typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Yl=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Zl=Jl&&Yl((()=>{let e=!1;const t=new Request(Fc.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),ep=Jl&&Yl((()=>hi.isReadableStream(new Response("").body))),tp={stream:ep&&(e=>e.body)};var np;Ql&&(np=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!tp[e]&&(tp[e]=hi.isFunction(np[e])?t=>t[e]():(t,n)=>{throw new fi(`Response type '${e}' is not supported`,fi.ERR_NOT_SUPPORT,n)})})));const op=async(e,t)=>{const n=hi.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(hi.isBlob(e))return e.size;if(hi.isSpecCompliantForm(e)){const t=new Request(Fc.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return hi.isArrayBufferView(e)||hi.isArrayBuffer(e)?e.byteLength:(hi.isURLSearchParams(e)&&(e+=""),hi.isString(e)?(await Xl(e)).byteLength:void 0)})(t):n};var ap=Ql&&(async e=>{let{url:t,method:n,data:o,signal:a,cancelToken:i,timeout:r,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:l,withCredentials:p="same-origin",fetchOptions:d}=Gl(e);u=u?(u+"").toLowerCase():"text";let m,h=Vl([a,i&&i.toAbortSignal()],r);const f=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let g;try{if(c&&Zl&&"get"!==n&&"head"!==n&&0!==(g=await op(l,o))){let e,n=new Request(t,{method:"POST",body:o,duplex:"half"});if(hi.isFormData(o)&&(e=n.headers.get("content-type"))&&l.setContentType(e),n.body){const[e,t]=_l(g,jl(El(c)));o=$l(n.body,65536,e,t)}}hi.isString(p)||(p=p?"include":"omit");const a="credentials"in Request.prototype;m=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:o,duplex:"half",credentials:a?p:void 0});let i=await fetch(m);const r=ep&&("stream"===u||"response"===u);if(ep&&(s||r&&f)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=hi.toFiniteNumber(i.headers.get("content-length")),[n,o]=s&&_l(t,jl(El(s),!0))||[];i=new Response($l(i.body,65536,n,(()=>{o&&o(),f&&f()})),e)}u=u||"text";let y=await tp[hi.findKey(tp,u)||"text"](i,e);return!r&&f&&f(),await new Promise(((t,n)=>{eu(t,n,{data:y,headers:Jc.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:m})}))}catch(t){if(f&&f(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new fi("Network Error",fi.ERR_NETWORK,e,m),{cause:t.cause||t});throw fi.from(t,t&&t.code,e,m)}});const ip={http:Nl,xhr:Wl,fetch:ap};hi.forEach(ip,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const rp=e=>`- ${e}`,sp=e=>hi.isFunction(e)||null===e||!1===e;var cp=e=>{e=hi.isArray(e)?e:[e];const{length:t}=e;let n,o;const a={};for(let i=0;i<t;i++){let t;if(n=e[i],o=n,!sp(n)&&(o=ip[(t=String(n)).toLowerCase()],void 0===o))throw new fi(`Unknown adapter '${t}'`);if(o)break;a[t||"#"+i]=o}if(!o){const e=Object.entries(a).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new fi("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(rp).join("\n"):" "+rp(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o};function up(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Zc(null,e)}function lp(e){up(e),e.headers=Jc.from(e.headers),e.data=Xc.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return cp(e.adapter||Gc.adapter)(e).then((function(t){return up(e),t.data=Xc.call(e,e.transformResponse,t),t.headers=Jc.from(t.headers),t}),(function(t){return Yc(t)||(up(e),t&&t.response&&(t.response.data=Xc.call(e,e.transformResponse,t.response),t.response.headers=Jc.from(t.response.headers))),Promise.reject(t)}))}const pp={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{pp[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const dp={};pp.transitional=function(e,t,n){function o(e,t){return"[Axios v1.9.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,i)=>{if(!1===e)throw new fi(o(a," has been removed"+(t?" in "+t:"")),fi.ERR_DEPRECATED);return t&&!dp[a]&&(dp[a]=!0,console.warn(o(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,i)}},pp.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var mp={assertOptions:function(e,t,n){if("object"!=typeof e)throw new fi("options must be an object",fi.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let a=o.length;for(;a-- >0;){const i=o[a],r=t[i];if(r){const t=e[i],n=void 0===t||r(t,i,e);if(!0!==n)throw new fi("option "+i+" must be "+n,fi.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new fi("Unknown option "+i,fi.ERR_BAD_OPTION)}},validators:pp};const hp=mp.validators;let fp=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Rc,response:new Rc}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ul(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:a}=t;void 0!==n&&mp.assertOptions(n,{silentJSONParsing:hp.transitional(hp.boolean),forcedJSONParsing:hp.transitional(hp.boolean),clarifyTimeoutError:hp.transitional(hp.boolean)},!1),null!=o&&(hi.isFunction(o)?t.paramsSerializer={serialize:o}:mp.assertOptions(o,{encode:hp.function,serialize:hp.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),mp.assertOptions(t,{baseUrl:hp.spelling("baseURL"),withXsrfToken:hp.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=a&&hi.merge(a.common,a[t.method]);a&&hi.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=Jc.concat(i,a);const r=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,r.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,p=0;if(!s){const e=[lp.bind(this),void 0];for(e.unshift.apply(e,r),e.push.apply(e,c),l=e.length,u=Promise.resolve(t);p<l;)u=u.then(e[p++],e[p++]);return u}l=r.length;let d=t;for(p=0;p<l;){const e=r[p++],t=r[p++];try{d=e(d)}catch(e){t.call(this,e);break}}try{u=lp.call(this,d)}catch(e){return Promise.reject(e)}for(p=0,l=c.length;p<l;)u=u.then(c[p++],c[p++]);return u}getUri(e){return Sc(tu((e=Ul(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};hi.forEach(["delete","get","head","options"],(function(e){fp.prototype[e]=function(t,n){return this.request(Ul(n||{},{method:e,url:t,data:(n||{}).data}))}})),hi.forEach(["post","put","patch"],(function(e){function t(t){return function(n,o,a){return this.request(Ul(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:o}))}}fp.prototype[e]=t(),fp.prototype[e+"Form"]=t(!0)}));var gp=fp;class yp{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e),t=e})).then(e);return o.cancel=function(){n.unsubscribe(t)},o},e((function(e,o,a){n.reason||(n.reason=new Zc(e,o,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new yp((function(t){e=t})),cancel:e}}}var vp=yp;const bp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(bp).forEach((([e,t])=>{bp[t]=e}));var kp=bp;const xp=function e(t){const n=new gp(t),o=Ca(gp.prototype.request,n);return hi.extend(o,gp.prototype,n,{allOwnKeys:!0}),hi.extend(o,n,null,{allOwnKeys:!0}),o.create=function(n){return e(Ul(t,n))},o}(Gc);xp.Axios=gp,xp.CanceledError=Zc,xp.CancelToken=vp,xp.isCancel=Yc,xp.VERSION=rl,xp.toFormData=wc,xp.AxiosError=fi,xp.Cancel=xp.CanceledError,xp.all=function(e){return Promise.all(e)},xp.spread=function(e){return function(t){return e.apply(null,t)}},xp.isAxiosError=function(e){return hi.isObject(e)&&!0===e.isAxiosError},xp.mergeConfig=Ul,xp.AxiosHeaders=Jc,xp.formToJSON=e=>Bc(hi.isHTMLForm(e)?new FormData(e):e),xp.getAdapter=cp,xp.HttpStatusCode=kp,xp.default=xp;var wp=xp,jp=function(e){var t=[];return Object.entries(e).forEach((function(e){var n=e[0],o=e[1];if(Array.isArray(o)){var a=o.join(",");t.push("".concat(encodeURIComponent(n),"=").concat(a))}else null!=o&&t.push("".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(String(o))))})),t.join("&")},_p=function(t){function n(n){var o,a,i,r,s=this;return(s=t.call(this,n)||this).token="",null===(a=null===(o=s.instance)||void 0===o?void 0:o.interceptors)||void 0===a||a.request.use((function(t){return e.__assign(e.__assign({},t),{defaults:{headers:e.__assign(e.__assign({},t.headers),{Authorization:"Bearer ".concat(s.getToken())})}})}),(function(e){return Promise.reject(e)})),null===(r=null===(i=s.instance)||void 0===i?void 0:i.interceptors)||void 0===r||r.response.use((function(t){return e.__assign({},t)}),(function(e){return Promise.reject(e)})),s}return e.__extends(n,t),n.prototype.getToken=function(){return"Bearer ".concat(this.token)},n.prototype.setToken=function(e){this.token=e},n.prototype.getUri=function(e){return this.instance.getUri(e)},n.prototype.getCancelTokenSource=function(){var e;return this.cancelToken&&this.cancelToken.cancel(),this.cancelToken=null===(e=wp.CancelToken)||void 0===e?void 0:e.source(),this.cancelToken},n.prototype.request=function(e){var t;return e.cancelToken=null===(t=this.getCancelTokenSource())||void 0===t?void 0:t.token,this.instance.request(e)},n.prototype.get=function(e,t){return this.instance.get(e,t)},n.prototype.options=function(e,t){return this.instance.options(e,t)},n.prototype.delete=function(e,t){return this.instance.delete(e,t)},n.prototype.head=function(e,t){return this.instance.head(e,t)},n.prototype.post=function(e,t,n){return this.instance.post(e,t,n)},n.prototype.put=function(e,t,n){return this.instance.put(e,t,n)},n.prototype.patch=function(e,t,n){return this.instance.patch(e,t,n)},n.prototype.success=function(e){return null==e?void 0:e.data},n.prototype.error=function(e){throw e},n}((function(e){this.instance=wp.create(e)})),Ep=t.inspect,Cp="function"==typeof Map&&Map.prototype,Sp=Object.getOwnPropertyDescriptor&&Cp?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Rp=Cp&&Sp&&"function"==typeof Sp.get?Sp.get:null,Tp=Cp&&Map.prototype.forEach,Ap="function"==typeof Set&&Set.prototype,Ip=Object.getOwnPropertyDescriptor&&Ap?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Op=Ap&&Ip&&"function"==typeof Ip.get?Ip.get:null,zp=Ap&&Set.prototype.forEach,Pp="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Lp="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,Dp="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,qp=Boolean.prototype.valueOf,Np=Object.prototype.toString,Mp=Function.prototype.toString,Fp=String.prototype.match,Bp=String.prototype.slice,Up=String.prototype.replace,Gp=String.prototype.toUpperCase,Wp=String.prototype.toLowerCase,Vp=RegExp.prototype.test,Hp=Array.prototype.concat,Kp=Array.prototype.join,$p=Array.prototype.slice,Qp=Math.floor,Jp="function"==typeof BigInt?BigInt.prototype.valueOf:null,Xp=Object.getOwnPropertySymbols,Yp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Zp="function"==typeof Symbol&&"object"==typeof Symbol.iterator,ed="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Zp||"symbol")?Symbol.toStringTag:null,td=Object.prototype.propertyIsEnumerable,nd=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function od(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||Vp.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var o=e<0?-Qp(-e):Qp(e);if(o!==e){var a=String(o),i=Bp.call(t,a.length+1);return Up.call(a,n,"$&_")+"."+Up.call(Up.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Up.call(t,n,"$&_")}var ad=Ep,id=ad.custom,rd=fd(id)?id:null,sd={__proto__:null,double:'"',single:"'"},cd={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},ud=function e(t,n,o,a){var i=n||{};if(yd(i,"quoteStyle")&&!yd(sd,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(yd(i,"maxStringLength")&&("number"==typeof i.maxStringLength?i.maxStringLength<0&&i.maxStringLength!==1/0:null!==i.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var r=!yd(i,"customInspect")||i.customInspect;if("boolean"!=typeof r&&"symbol"!==r)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(yd(i,"indent")&&null!==i.indent&&"\t"!==i.indent&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(yd(i,"numericSeparator")&&"boolean"!=typeof i.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=i.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return kd(t,i);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var c=String(t);return s?od(t,c):c}if("bigint"==typeof t){var u=String(t)+"n";return s?od(t,u):u}var l=void 0===i.depth?5:i.depth;if(void 0===o&&(o=0),o>=l&&l>0&&"object"==typeof t)return md(t)?"[Array]":"[Object]";var p=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Kp.call(Array(e.indent+1)," ")}return{base:n,prev:Kp.call(Array(t+1),n)}}(i,o);if(void 0===a)a=[];else if(bd(a,t)>=0)return"[Circular]";function d(t,n,r){if(n&&(a=$p.call(a)).push(n),r){var s={depth:i.depth};return yd(i,"quoteStyle")&&(s.quoteStyle=i.quoteStyle),e(t,s,o+1,a)}return e(t,i,o+1,a)}if("function"==typeof t&&!hd(t)){var m=function(e){if(e.name)return e.name;var t=Fp.call(Mp.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),h=Cd(t,d);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(h.length>0?" { "+Kp.call(h,", ")+" }":"")}if(fd(t)){var f=Zp?Up.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Yp.call(t);return"object"!=typeof t||Zp?f:wd(f)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var g="<"+Wp.call(String(t.nodeName)),y=t.attributes||[],v=0;v<y.length;v++)g+=" "+y[v].name+"="+ld(pd(y[v].value),"double",i);return g+=">",t.childNodes&&t.childNodes.length&&(g+="..."),g+="</"+Wp.call(String(t.nodeName))+">"}if(md(t)){if(0===t.length)return"[]";var b=Cd(t,d);return p&&!function(e){for(var t=0;t<e.length;t++)if(bd(e[t],"\n")>=0)return!1;return!0}(b)?"["+Ed(b,p)+"]":"[ "+Kp.call(b,", ")+" ]"}if(function(e){return"[object Error]"===vd(e)&&dd(e)}(t)){var k=Cd(t,d);return"cause"in Error.prototype||!("cause"in t)||td.call(t,"cause")?0===k.length?"["+String(t)+"]":"{ ["+String(t)+"] "+Kp.call(k,", ")+" }":"{ ["+String(t)+"] "+Kp.call(Hp.call("[cause]: "+d(t.cause),k),", ")+" }"}if("object"==typeof t&&r){if(rd&&"function"==typeof t[rd]&&ad)return ad(t,{depth:l-o});if("symbol"!==r&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!Rp||!e||"object"!=typeof e)return!1;try{Rp.call(e);try{Op.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var x=[];return Tp&&Tp.call(t,(function(e,n){x.push(d(n,t,!0)+" => "+d(e,t))})),_d("Map",Rp.call(t),x,p)}if(function(e){if(!Op||!e||"object"!=typeof e)return!1;try{Op.call(e);try{Rp.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var w=[];return zp&&zp.call(t,(function(e){w.push(d(e,t))})),_d("Set",Op.call(t),w,p)}if(function(e){if(!Pp||!e||"object"!=typeof e)return!1;try{Pp.call(e,Pp);try{Lp.call(e,Lp)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return jd("WeakMap");if(function(e){if(!Lp||!e||"object"!=typeof e)return!1;try{Lp.call(e,Lp);try{Pp.call(e,Pp)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return jd("WeakSet");if(function(e){if(!Dp||!e||"object"!=typeof e)return!1;try{return Dp.call(e),!0}catch(e){}return!1}(t))return jd("WeakRef");if(function(e){return"[object Number]"===vd(e)&&dd(e)}(t))return wd(d(Number(t)));if(function(e){if(!e||"object"!=typeof e||!Jp)return!1;try{return Jp.call(e),!0}catch(e){}return!1}(t))return wd(d(Jp.call(t)));if(function(e){return"[object Boolean]"===vd(e)&&dd(e)}(t))return wd(qp.call(t));if(function(e){return"[object String]"===vd(e)&&dd(e)}(t))return wd(d(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==vi&&t===vi)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===vd(e)&&dd(e)}(t)&&!hd(t)){var j=Cd(t,d),_=nd?nd(t)===Object.prototype:t instanceof Object||t.constructor===Object,E=t instanceof Object?"":"null prototype",C=!_&&ed&&Object(t)===t&&ed in t?Bp.call(vd(t),8,-1):E?"Object":"",S=(_||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(C||E?"["+Kp.call(Hp.call([],C||[],E||[]),": ")+"] ":"");return 0===j.length?S+"{}":p?S+"{"+Ed(j,p)+"}":S+"{ "+Kp.call(j,", ")+" }"}return String(t)};function ld(e,t,n){var o=n.quoteStyle||t,a=sd[o];return a+e+a}function pd(e){return Up.call(String(e),/"/g,""")}function dd(e){return!ed||!("object"==typeof e&&(ed in e||void 0!==e[ed]))}function md(e){return"[object Array]"===vd(e)&&dd(e)}function hd(e){return"[object RegExp]"===vd(e)&&dd(e)}function fd(e){if(Zp)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!Yp)return!1;try{return Yp.call(e),!0}catch(e){}return!1}var gd=Object.prototype.hasOwnProperty||function(e){return e in this};function yd(e,t){return gd.call(e,t)}function vd(e){return Np.call(e)}function bd(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1}function kd(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,o="... "+n+" more character"+(n>1?"s":"");return kd(Bp.call(e,0,t.maxStringLength),t)+o}var a=cd[t.quoteStyle||"single"];return a.lastIndex=0,ld(Up.call(Up.call(e,a,"\\$1"),/[\x00-\x1f]/g,xd),"single",t)}function xd(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+Gp.call(t.toString(16))}function wd(e){return"Object("+e+")"}function jd(e){return e+" { ? }"}function _d(e,t,n,o){return e+" ("+t+") {"+(o?Ed(n,o):Kp.call(n,", "))+"}"}function Ed(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+Kp.call(e,","+n)+"\n"+t.prev}function Cd(e,t){var n=md(e),o=[];if(n){o.length=e.length;for(var a=0;a<e.length;a++)o[a]=yd(e,a)?t(e[a],e):""}var i,r="function"==typeof Xp?Xp(e):[];if(Zp){i={};for(var s=0;s<r.length;s++)i["$"+r[s]]=r[s]}for(var c in e)yd(e,c)&&(n&&String(Number(c))===c&&c<e.length||Zp&&i["$"+c]instanceof Symbol||(Vp.call(/[^\w$]/,c)?o.push(t(c,e)+": "+t(e[c],e)):o.push(c+": "+t(e[c],e))));if("function"==typeof Xp)for(var u=0;u<r.length;u++)td.call(e,r[u])&&o.push("["+t(r[u])+"]: "+t(e[r[u]],e));return o}var Sd,Rd,Td,Ad,Id,Od,zd,Pd,Ld,Dd,qd,Nd,Md,Fd,Bd,Ud,Gd,Wd,Vd,Hd,Kd,$d,Qd=ud,Jd=rr,Xd=function(e,t,n){for(var o,a=e;null!=(o=a.next);a=o)if(o.key===t)return a.next=o.next,n||(o.next=e.next,e.next=o),o},Yd=Xs,Zd=as,em=Zd([Yd("%String.prototype.indexOf%")]),tm=function(e,t){var n=Yd(e,!!t);return"function"==typeof n&&em(e,".prototype.")>-1?Zd([n]):n},nm=tm,om=ud,am=rr,im=Xs("%Map%",!0),rm=nm("Map.prototype.get",!0),sm=nm("Map.prototype.set",!0),cm=nm("Map.prototype.has",!0),um=nm("Map.prototype.delete",!0),lm=nm("Map.prototype.size",!0),pm=!!im&&function(){var e,t={assert:function(e){if(!t.has(e))throw new am("Side channel does not contain "+om(e))},delete:function(t){if(e){var n=um(e,t);return 0===lm(e)&&(e=void 0),n}return!1},get:function(t){if(e)return rm(e,t)},has:function(t){return!!e&&cm(e,t)},set:function(t,n){e||(e=new im),sm(e,t,n)}};return t},dm=tm,mm=ud,hm=pm,fm=rr,gm=Xs("%WeakMap%",!0),ym=dm("WeakMap.prototype.get",!0),vm=dm("WeakMap.prototype.set",!0),bm=dm("WeakMap.prototype.has",!0),km=dm("WeakMap.prototype.delete",!0),xm=rr,wm=ud,jm=function(){var e,t={assert:function(e){if(!t.has(e))throw new Jd("Side channel does not contain "+Qd(e))},delete:function(t){var n=e&&e.next,o=function(e,t){if(e)return Xd(e,t,!0)}(e,t);return o&&n&&n===o&&(e=void 0),!!o},get:function(t){return function(e,t){if(e){var n=Xd(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!Xd(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var o=Xd(e,t);o?o.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t},_m=(gm?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new fm("Side channel does not contain "+mm(e))},delete:function(n){if(gm&&n&&("object"==typeof n||"function"==typeof n)){if(e)return km(e,n)}else if(hm&&t)return t.delete(n);return!1},get:function(n){return gm&&n&&("object"==typeof n||"function"==typeof n)&&e?ym(e,n):t&&t.get(n)},has:function(n){return gm&&n&&("object"==typeof n||"function"==typeof n)&&e?bm(e,n):!!t&&t.has(n)},set:function(n,o){gm&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new gm),vm(e,n,o)):hm&&(t||(t=hm()),t.set(n,o))}};return n}:hm)||pm||jm,Em=String.prototype.replace,Cm=/%20/g,Sm="RFC3986",Rm={default:Sm,formatters:{RFC1738:function(e){return Em.call(e,Cm,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:Sm},Tm=Rm,Am=Object.prototype.hasOwnProperty,Im=Array.isArray,Om=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),zm=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},o=0;o<e.length;++o)void 0!==e[o]&&(n[o]=e[o]);return n},Pm=1024,Lm={arrayToObject:zm,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],o=0;o<t.length;++o)for(var a=t[o],i=a.obj[a.prop],r=Object.keys(i),s=0;s<r.length;++s){var c=r[s],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:i,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(Im(n)){for(var o=[],a=0;a<n.length;++a)void 0!==n[a]&&o.push(n[a]);t.obj[t.prop]=o}}}(t),e},decode:function(e,t,n){var o=e.replace(/\+/g," ");if("iso-8859-1"===n)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(e){return o}},encode:function(e,t,n,o,a){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===n)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var r="",s=0;s<i.length;s+=Pm){for(var c=i.length>=Pm?i.slice(s,s+Pm):i,u=[],l=0;l<c.length;++l){var p=c.charCodeAt(l);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||a===Tm.RFC1738&&(40===p||41===p)?u[u.length]=c.charAt(l):p<128?u[u.length]=Om[p]:p<2048?u[u.length]=Om[192|p>>6]+Om[128|63&p]:p<55296||p>=57344?u[u.length]=Om[224|p>>12]+Om[128|p>>6&63]+Om[128|63&p]:(l+=1,p=65536+((1023&p)<<10|1023&c.charCodeAt(l)),u[u.length]=Om[240|p>>18]+Om[128|p>>12&63]+Om[128|p>>6&63]+Om[128|63&p])}r+=u.join("")}return r},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(Im(e)){for(var n=[],o=0;o<e.length;o+=1)n.push(t(e[o]));return n}return t(e)},merge:function e(t,n,o){if(!n)return t;if("object"!=typeof n){if(Im(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(o&&(o.plainObjects||o.allowPrototypes)||!Am.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return Im(t)&&!Im(n)&&(a=zm(t,o)),Im(t)&&Im(n)?(n.forEach((function(n,a){if(Am.call(t,a)){var i=t[a];i&&"object"==typeof i&&n&&"object"==typeof n?t[a]=e(i,n,o):t.push(n)}else t[a]=n})),t):Object.keys(n).reduce((function(t,a){var i=n[a];return Am.call(t,a)?t[a]=e(t[a],i,o):t[a]=i,t}),a)}},Dm=function(){var e,t={assert:function(e){if(!t.has(e))throw new xm("Side channel does not contain "+wm(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=_m()),e.set(t,n)}};return t},qm=Lm,Nm=Rm,Mm=Object.prototype.hasOwnProperty,Fm={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},Bm=Array.isArray,Um=Array.prototype.push,Gm=function(e,t){Um.apply(e,Bm(t)?t:[t])},Wm=Date.prototype.toISOString,Vm=Nm.default,Hm={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:qm.encode,encodeValuesOnly:!1,format:Vm,formatter:Nm.formatters[Vm],indices:!1,serializeDate:function(e){return Wm.call(e)},skipNulls:!1,strictNullHandling:!1},Km={},$m=function e(t,n,o,a,i,r,s,c,u,l,p,d,m,h,f,g,y,v){for(var b,k=t,x=v,w=0,j=!1;void 0!==(x=x.get(Km))&&!j;){var _=x.get(t);if(w+=1,void 0!==_){if(_===w)throw new RangeError("Cyclic object value");j=!0}void 0===x.get(Km)&&(w=0)}if("function"==typeof l?k=l(n,k):k instanceof Date?k=m(k):"comma"===o&&Bm(k)&&(k=qm.maybeMap(k,(function(e){return e instanceof Date?m(e):e}))),null===k){if(r)return u&&!g?u(n,Hm.encoder,y,"key",h):n;k=""}if("string"==typeof(b=k)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||qm.isBuffer(k))return u?[f(g?n:u(n,Hm.encoder,y,"key",h))+"="+f(u(k,Hm.encoder,y,"value",h))]:[f(n)+"="+f(String(k))];var E,C=[];if(void 0===k)return C;if("comma"===o&&Bm(k))g&&u&&(k=qm.maybeMap(k,u)),E=[{value:k.length>0?k.join(",")||null:void 0}];else if(Bm(l))E=l;else{var S=Object.keys(k);E=p?S.sort(p):S}var R=c?n.replace(/\./g,"%2E"):n,T=a&&Bm(k)&&1===k.length?R+"[]":R;if(i&&Bm(k)&&0===k.length)return T+"[]";for(var A=0;A<E.length;++A){var I=E[A],O="object"==typeof I&&void 0!==I.value?I.value:k[I];if(!s||null!==O){var z=d&&c?I.replace(/\./g,"%2E"):I,P=Bm(k)?"function"==typeof o?o(T,z):T:T+(d?"."+z:"["+z+"]");v.set(t,w);var L=Dm();L.set(Km,v),Gm(C,e(O,P,o,a,i,r,s,c,"comma"===o&&g&&Bm(k)?null:u,l,p,d,m,h,f,g,y,L))}}return C},Qm=Lm,Jm=Object.prototype.hasOwnProperty,Xm=Array.isArray,Ym={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Qm.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},Zm=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},eh=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},th=function(e,t,n,o){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,r=n.depth>0&&/(\[[^[\]]*])/.exec(a),s=r?a.slice(0,r.index):a,c=[];if(s){if(!n.plainObjects&&Jm.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var u=0;n.depth>0&&null!==(r=i.exec(a))&&u<n.depth;){if(u+=1,!n.plainObjects&&Jm.call(Object.prototype,r[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(r[1])}if(r){if(!0===n.strictDepth)throw new RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");c.push("["+a.slice(r.index)+"]")}return function(e,t,n,o){for(var a=o?t:eh(t,n),i=e.length-1;i>=0;--i){var r,s=e[i];if("[]"===s&&n.parseArrays)r=n.allowEmptyArrays&&(""===a||n.strictNullHandling&&null===a)?[]:[].concat(a);else{r=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=n.decodeDotInKeys?c.replace(/%2E/g,"."):c,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(r=[])[l]=a:"__proto__"!==u&&(r[u]=a):r={0:a}}a=r}return a}(c,t,n,o)}},nh=function(e,t){var n,o=e,a=function(e){if(!e)return Hm;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||Hm.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Nm.default;if(void 0!==e.format){if(!Mm.call(Nm.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var o,a=Nm.formatters[n],i=Hm.filter;if(("function"==typeof e.filter||Bm(e.filter))&&(i=e.filter),o=e.arrayFormat in Fm?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":Hm.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var r=void 0===e.allowDots?!0===e.encodeDotInKeys||Hm.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:Hm.addQueryPrefix,allowDots:r,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:Hm.allowEmptyArrays,arrayFormat:o,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Hm.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?Hm.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:Hm.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:Hm.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:Hm.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:Hm.encodeValuesOnly,filter:i,format:n,formatter:a,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:Hm.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:Hm.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Hm.strictNullHandling}}(t);"function"==typeof a.filter?o=(0,a.filter)("",o):Bm(a.filter)&&(n=a.filter);var i=[];if("object"!=typeof o||null===o)return"";var r=Fm[a.arrayFormat],s="comma"===r&&a.commaRoundTrip;n||(n=Object.keys(o)),a.sort&&n.sort(a.sort);for(var c=Dm(),u=0;u<n.length;++u){var l=n[u];a.skipNulls&&null===o[l]||Gm(i,$m(o[l],l,r,s,a.allowEmptyArrays,a.strictNullHandling,a.skipNulls,a.encodeDotInKeys,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,c))}var p=i.join(a.delimiter),d=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),p.length>0?d+p:""},oh=function(e,t){var n=function(e){if(!e)return Ym;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?Ym.charset:e.charset,n=void 0===e.duplicates?Ym.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||Ym.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:Ym.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:Ym.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:Ym.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:Ym.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:Ym.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:Ym.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:Ym.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:Ym.decoder,delimiter:"string"==typeof e.delimiter||Qm.isRegExp(e.delimiter)?e.delimiter:Ym.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:Ym.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:Ym.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:Ym.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:Ym.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:Ym.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:Ym.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var o="string"==typeof e?function(e,t){var n={__proto__:null},o=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;o=o.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a,i=t.parameterLimit===1/0?void 0:t.parameterLimit,r=o.split(t.delimiter,i),s=-1,c=t.charset;if(t.charsetSentinel)for(a=0;a<r.length;++a)0===r[a].indexOf("utf8=")&&("utf8=%E2%9C%93"===r[a]?c="utf-8":"utf8=%26%2310003%3B"===r[a]&&(c="iso-8859-1"),s=a,a=r.length);for(a=0;a<r.length;++a)if(a!==s){var u,l,p=r[a],d=p.indexOf("]="),m=-1===d?p.indexOf("="):d+1;-1===m?(u=t.decoder(p,Ym.decoder,c,"key"),l=t.strictNullHandling?null:""):(u=t.decoder(p.slice(0,m),Ym.decoder,c,"key"),l=Qm.maybeMap(eh(p.slice(m+1),t),(function(e){return t.decoder(e,Ym.decoder,c,"value")}))),l&&t.interpretNumericEntities&&"iso-8859-1"===c&&(l=Zm(l)),p.indexOf("[]=")>-1&&(l=Xm(l)?[l]:l);var h=Jm.call(n,u);h&&"combine"===t.duplicates?n[u]=Qm.combine(n[u],l):h&&"last"!==t.duplicates||(n[u]=l)}return n}(e,n):e,a=n.plainObjects?Object.create(null):{},i=Object.keys(o),r=0;r<i.length;++r){var s=i[r],c=th(s,o[s],n,"string"==typeof e);a=Qm.merge(a,c,n)}return!0===n.allowSparse?a:Qm.compact(a)},ah={formats:Rm,parse:oh,stringify:nh},ih={withCredentials:!0,timeout:9e4,baseURL:"https://jsonplaceholder.typicode.com/",headers:{"Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache","Content-Type":"application/json",Accept:"application/json"},paramsSerializer:function(e){return ah.stringify(e,{indices:!1})}};exports.SendPaymentNotification=void 0,Sd=exports.SendPaymentNotification||(exports.SendPaymentNotification={}),(Rd=Sd.NotificationStatus||(Sd.NotificationStatus={})).SETTLED="SETTLED",Rd.NOT_SETTLED="NOT_SETTLED",(Td=Sd.NotificationReason||(Sd.NotificationReason={})).REFUNDED="REFUNDED",Td.RESOLVED="RESOLVED",Td.CANCELLED="CANCELLED",Td.SERVICE_SUSPENDED="SERVICE_SUSPENDED",Td.ORDER_STOPPED="ORDER_STOPPED",Td.DISMISS="DISMISS",exports.PaymentFiltersSection=void 0,(Ad=exports.PaymentFiltersSection||(exports.PaymentFiltersSection={})).PAYMENTS="payments",Ad.INSIGHTS="insights",exports.Organization=void 0,Id=exports.Organization||(exports.Organization={}),(Od=Id.CustomClaims||(Id.CustomClaims={})).ORGANIZATION_CODE="https://dashboard.dev.y.uno/organization_code",Od.USER_CODE="https://dashboard.dev.y.uno/user_code",Od.USER_EMAIL="https://dashboard.dev.y.uno/user_email",exports.Country=void 0,zd=exports.Country||(exports.Country={}),(Pd=zd.CountryCode||(zd.CountryCode={})).COLOMBIA="CO",Pd.MEXICO="MX",Pd.BRAZIL="BR",Pd.ARGENTINA="AR",Pd.CHILE="CL",Pd.PERU="PE",Pd.URUGUAY="UR",Pd.ECUADOR="EC",exports.Cms=void 0,Ld=exports.Cms||(exports.Cms={}),(Dd=Ld.Locale||(Ld.Locale={})).EN="en",Dd.ES="es",Dd.PT="pt",(qd=Ld.Target||(Ld.Target={})).BLANK="_blank",qd.PARENT="_parent",qd.SELF="_self",qd.TOP="_top",exports.ReportType=void 0,(Nd=exports.ReportType||(exports.ReportType={})).PAYMENTS="PAYMENTS",Nd.TRANSACTIONS="TRANSACTIONS",Nd.FRAUD_TRANSACTIONS="FRAUD_TRANSACTIONS",Nd.PAYOUTS="PAYOUTS",exports.TemplateType=void 0,(Md=exports.TemplateType||(exports.TemplateType={})).ALL="ALL",Md.DEFAULT="DEFAULT",Md.CUSTOM="CUSTOM",exports.SmartRouting=void 0,Fd=exports.SmartRouting||(exports.SmartRouting={}),(Bd=Fd.StepType||(Fd.StepType={})).FRAUD="FRAUD",Bd.PAYMENT="PAYMENT",Bd.THREE_D_SECURE="THREE_D_SECURE",Bd.CYBERSOURCE_3DS="CYBERSOURCE_3DS",(Ud=Fd.DeclineGroupType||(Fd.DeclineGroupType={})).PROVIDER_STATUS="PROVIDER_STATUS",Ud.MAC_CODE="MAC_CODE",exports.DataReport=void 0,Gd=exports.DataReport||(exports.DataReport={}),(Wd=Gd.InsightsVolumeMetricsV2Path||(Gd.InsightsVolumeMetricsV2Path={})).REFUNDS_AND_CHARGEBACKS="refunds-and-chargebacks",Wd.APPROVED_PAYMENTS="approved-payments",Wd.PAYMENT_METHODS="payment-methods",Wd.PROVIDERS="providers",Wd.COUNTRIES="countries",Wd.UNIQUE_CUSTOMER_PAYMENTS="unique-customer-payments",Wd.TOTAL_PAYMENTS="total-payments",function(e){e.GENERAL="volume-and-total-payments",e.LATENCY="provider-latency",e.STATUS="status",e.SUBSCRIPTIONS="subscriptions"}(Gd.OverviewMetricType||(Gd.OverviewMetricType={})),exports.ReconciliationReportType=void 0,(Vd=exports.ReconciliationReportType||(exports.ReconciliationReportType={})).TRANSACTIONS="TRANSACTION_RECONCILIATION",Vd.SETTLEMENTS="SETTLEMENTS",Vd.SETTLEMENTS_HEADER="SETTLEMENTS_HEADER",Vd.AGENDA="AGENDA",Vd.SALES_CONCILIATION="SALES_CONCILIATION",Vd.FEES="FEES",Vd.ADVANCEMENTS="ADVANCEMENTS",Vd.RECONCILIATION_OVERVIEW="RECONCILIATION_OVERVIEW",Vd.SETTLEMENTS_FEES="SETTLEMENTS_FEES",Vd.CASHFLOW="CASHFLOW",Vd.PROCESSED_TRANSACTIONS="PROCESSED_TRANSACTIONS",exports.ReconciliationAgendaInsight=void 0,(Hd=exports.ReconciliationAgendaInsight||(exports.ReconciliationAgendaInsight={})).TOTAL_AMOUNT="AGENDA_TOTAL_AMOUNT",Hd.DAILY="AGENDA_DAILY_DISTRIBUTION",Hd.PAYMENT_METHOD="AGENDA_PAYMENT_METHOD_DISTRIBUTION",Hd.CARD_BRAND="AGENDA_CARD_BRAND_DISTRIBUTION",exports.AI=void 0,Kd=exports.AI||(exports.AI={}),($d=Kd.AIGenerateStatus||(Kd.AIGenerateStatus={})).ACCEPTED="ACCEPTED",$d.REFUSED="REFUSED",$d.FRONT_FAILED="FRONT_FAILED";var rh=["PAUSED","ACTIVE"],sh={PAUSED:"pause",DELETED:"delete",ACTIVE:"unpause"},ch="DELETED",uh={CR_CARD_BIN:"bin",CR_CARD_BRAND:"brand",CR_CARD_ISSUER_NAME:"issuer-name",CR_CARD_TYPE:"type",CR_FALLBACK:"fallback"},lh=function(e){return!(null==e?void 0:e.data)||"string"==typeof(null==e?void 0:e.data)&&""===(null==e?void 0:e.data)},ph=[{status:"CREATED",sub_status:"CREATED",icon:"FlagBanner",type:"info",label:"Created",sub_status_icon:"FlagBanner",sub_status_label:"Created"},{status:"CREATED",sub_status:"REJECTED",icon:"WarningCircle",type:"error",label:"Created",sub_status_icon:"WarningCircle",sub_status_label:"Rejected"},{status:"ERROR",sub_status:"CREATED",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Created"},{status:"ERROR",sub_status:"ERROR",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Error"},{status:"ERROR",sub_status:"TIMEOUT",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Timeout"},{status:"ERROR",sub_status:"PENDING_REVERSE",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Pending reverse"},{status:"ERROR",sub_status:"REVERSED_BY_TIMEOUT",icon:"WarningCircle",type:"error",label:"Error",sub_status_icon:"WarningCircle",sub_status_label:"Reversed by timeout"},{status:"SUCCEEDED",sub_status:"CREATED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Created"},{status:"SUCCEEDED",sub_status:"PARTIALLY_APPROVED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Partially approved"},{status:"SUCCEEDED",sub_status:"APPROVED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Approved"},{status:"SUCCEEDED",sub_status:"CAPTURED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Captured"},{status:"SUCCEEDED",sub_status:"PARTIALLY_CAPTURED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Partially captured"},{status:"SUCCEEDED",sub_status:"PARTIALLY_REFUNDED",icon:"ArrowCircleLeft",type:"success",label:"Succeeded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Partially refunded"},{status:"CANCELED",sub_status:"CREATED",icon:"Prohibit",type:"error",label:"Canceled",sub_status_icon:"Prohibit",sub_status_label:"Created"},{status:"CANCELED",sub_status:"PENDING_PROVIDER_CONFIRMATION",icon:"Clock",type:"info",label:"Cancellation pending",sub_status_icon:"Clock",sub_status_label:"Pending provider confirmation"},{status:"CANCELED",sub_status:"CANCELED",icon:"Prohibit",type:"error",label:"Canceled",sub_status_icon:"Prohibit",sub_status_label:"Canceled"},{status:"DECLINED",sub_status:"CREATED",icon:"Prohibit",type:"error",label:"Declined",sub_status_icon:"Prohibit",sub_status_label:"Created"},{status:"DECLINED",sub_status:"DECLINED",icon:"Prohibit",type:"error",label:"Declined",sub_status_icon:"Prohibit",sub_status_label:"Declined"},{status:"REJECTED",sub_status:"CREATED",icon:"Prohibit",type:"error",label:"Rejected",sub_status_icon:"Prohibit",sub_status_label:"Created"},{status:"REJECTED",sub_status:"REJECTED",icon:"Prohibit",type:"error",label:"Rejected",sub_status_icon:"Prohibit",sub_status_label:"Rejected"},{status:"REFUNDED",sub_status:"CREATED",icon:"ArrowCircleLeft",type:"secondary",label:"Refunded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Created"},{status:"REFUNDED",sub_status:"PARTIALLY_REFUNDED",icon:"ArrowCircleLeft",type:"success",label:"Refunded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Partially refunded"},{status:"REFUNDED",sub_status:"PENDING_PROVIDER_CONFIRMATION",icon:"Clock",type:"secondary",label:"Refunded",sub_status_icon:"Clock",sub_status_label:"Pending provider confirmation"},{status:"REFUNDED",sub_status:"REFUNDED",icon:"ArrowCircleLeft",type:"secondary",label:"Refunded",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Refunded"},{status:"PENDING",sub_status:"CREATED",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Created"},{status:"PENDING",sub_status:"AUTHORIZED",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Authorized"},{status:"PENDING",sub_status:"WAITING_ADDITIONAL_STEP",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Waiting additional step"},{status:"PENDING",sub_status:"PENDING_PROVIDER_CONFIRMATION",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Pending provider confirmation"},{status:"VERIFIED",sub_status:"CREATED",icon:"CheckCircle",type:"success",label:"Verified",sub_status_icon:"CheckCircle",sub_status_label:"Created"},{status:"VERIFIED",sub_status:"VERIFIED",icon:"CheckCircle",type:"success",label:"Verified",sub_status_icon:"CheckCircle",sub_status_label:"Verified"},{status:"READY_TO_PAY",sub_status:"CREATED",icon:"FlagBanner",type:"info",label:"Ready to pay",sub_status_icon:"FlagBanner",sub_status_label:"Created"},{status:"READY_TO_PAY",sub_status:"READY_TO_PAY",icon:"FlagBanner",type:"info",label:"Ready to pay",sub_status_icon:"FlagBanner",sub_status_label:"Ready to pay"},{status:"EXPIRED",sub_status:"CREATED",icon:"Clock",type:"error",label:"Expired",sub_status_icon:"Clock",sub_status_label:"Created"},{status:"EXPIRED",sub_status:"EXPIRED",icon:"Clock",type:"error",label:"Expired",sub_status_icon:"Clock",sub_status_label:"Expired"},{status:"PENDING",sub_status:"IN_PROCESS",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"In process"},{status:"PENDING",sub_status:"PENDING_FRAUD_REVIEW",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Clock",sub_status_label:"Pending fraud review"},{status:"REJECTED",sub_status:"FRAUD_DECLINED",icon:"Prohibit",type:"error",label:"Rejected",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"},{status:"DECLINED",sub_status:"FRAUD_DECLINED",icon:"Prohibit",type:"error",label:"Declined",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"},{status:"FRAUD_VERIFIED",sub_status:"FRAUD_SCREENING_VERIFIED",icon:"CheckCircle",type:"success",label:"Fraud verified",sub_status_icon:"CheckCircle",sub_status_label:"Fraud screening verified"},{status:"SUCCEEDED",sub_status:"PARTIALLY_CHARGEBACKED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Partially chargebacked"},{status:"IN_DISPUTE",sub_status:"RECEIVED",icon:"ArrowCircleLeft",type:"secondary",label:"In dispute",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Received"},{status:"IN_DISPUTE",sub_status:"PENDING_REVIEW",icon:"ArrowCircleLeft",type:"secondary",label:"In dispute",sub_status_icon:"ArrowCircleLeft",sub_status_label:"Pending review"},{status:"CHARGEBACK",sub_status:"LOST",icon:"Prohibit",type:"error",label:"Chargeback",sub_status_icon:"Prohibit",sub_status_label:"Lost"},{status:"SUCCEEDED",sub_status:"VERIFIED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"CheckCircle",sub_status_label:"Verified"},{status:"SUCCEEDED",sub_status:"FRAUD_DECLINED",icon:"CheckCircle",type:"success",label:"Succeeded",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"},{status:"PENDING",sub_status:"FRAUD_DECLINED",icon:"Clock",type:"warning",label:"Pending",sub_status_icon:"Prohibit",sub_status_label:"Fraud declined"}],dh=[{status:"SUCCEEDED",icon:"CheckCircle",type:"success",label:"Succeeded"},{status:"CREATED",icon:"FlagBanner",type:"info",label:"Created"},{status:"ERROR",icon:"WarningCircle",type:"error",label:"Error"},{status:"EXPIRED",icon:"Clock",type:"error",label:"Expired"},{status:"CANCELED",icon:"Prohibit",type:"error",label:"Canceled"},{status:"DECLINED",icon:"Prohibit",type:"error",label:"Declined"},{status:"PENDING",icon:"Clock",type:"warning",label:"Pending"},{status:"REJECTED",icon:"Prohibit",type:"error",label:"Rejected"},{status:"WON",icon:"CheckCircle",type:"success",label:"Won"},{status:"LOST",icon:"WarningCircle",type:"error",label:"Lost"}],mh=[{id:1,status:"RECONCILED",sub_status:"AUTOMATICALLY",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Automatically",sub_status_icon:"CheckCircle"},{id:2,status:"RECONCILED",sub_status:"MANUALLY",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Manually",sub_status_icon:"CheckCircle"},{id:3,status:"NOT_RECONCILED",sub_status:"PENDING",type:"warning",label:"Not reconciled",icon:"Clock",sub_status_label:"Pending",sub_status_icon:"Clock"},{id:4,status:"NOT_RECONCILED",sub_status:"MISSING",type:"warning",label:"Not reconciled",icon:"Clock",sub_status_label:"Missing",sub_status_icon:"Clock"},{id:5,status:"RECONCILED",sub_status:"STATUS_CONFLICT",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Status conflict",sub_status_icon:"CheckCircle"},{id:6,status:"RECONCILED",sub_status:"DATE_CONFLICT",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Date conflict",sub_status_icon:"CheckCircle"},{id:7,status:"RECONCILED",sub_status:"AMOUNT_CONFLICT",type:"success",label:"Reconciled",icon:"CheckCircle",sub_status_label:"Amount conflict",sub_status_icon:"CheckCircle"},{id:8,status:"RECONCILING_INSTALLMENTS",sub_status:"PENDING_INSTALLMENTS",type:"warning",label:"Reconciling installments",icon:"Clock",sub_status_label:"Pending installments",sub_status_icon:"Clock"},{id:9,status:"NON_RECONCILABLE",sub_status:"AUTOMATICALLY",type:"warning",label:"Non Reconciliable",icon:"Clock",sub_status_label:"Automatically",sub_status_icon:"Clock"}],hh=[{identifier:"America/Argentina/Buenos_Aires",utc_offset:{dst:"-03:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Asuncion",utc_offset:{dst:"-04:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/Bogota",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Caracas",utc_offset:{dst:"-04:00",std:"-04:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/Chicago",utc_offset:{dst:"-05:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Costa_Rica",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/El_Salvador",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Guatemala",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Guayaquil",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Havana",utc_offset:{dst:"-05:00",std:"-04:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/La_Paz",utc_offset:{dst:"-04:00",std:"-04:00"},abbreviation:{dst:"GMT",std:"-4"}},{identifier:"America/Lima",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Managua",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"America/Mexico_City",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Montevideo",utc_offset:{dst:"-03:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Panama",utc_offset:{dst:"-05:00",std:"-05:00"},abbreviation:{dst:"GMT",std:"-5"}},{identifier:"America/Phoenix",utc_offset:{dst:"-07:00",std:"-07:00"},abbreviation:{dst:"GMT",std:"-7"}},{identifier:"America/Santiago",utc_offset:{dst:"-04:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Sao_Paulo",utc_offset:{dst:"-03:00",std:"-03:00"},abbreviation:{dst:"GMT",std:"-3"}},{identifier:"America/Tegucigalpa",utc_offset:{dst:"-06:00",std:"-06:00"},abbreviation:{dst:"GMT",std:"-6"}},{identifier:"Asia/Famagusta",utc_offset:{dst:"+02:00",std:"+03:00"},abbreviation:{dst:"EET",std:""}},{identifier:"Asia/Seoul",utc_offset:{dst:"+09:00",std:"+09:00"},abbreviation:{dst:"KST",std:""}},{identifier:"Asia/Shanghai",utc_offset:{dst:"+08:00",std:"+08:00"},abbreviation:{dst:"CST",std:""}},{identifier:"Asia/Tokyo",utc_offset:{dst:"+09:00",std:"+09:00"},abbreviation:{dst:"JST",std:""}},{identifier:"Australia/Sydney",utc_offset:{dst:"+10:00",std:"+11:00"},abbreviation:{dst:"AEST",std:""}},{identifier:"Coordinated Universal Time",utc_offset:{dst:"+00:00",std:"+00:00"},abbreviation:{dst:"UTC",std:""}},{identifier:"Europe/Madrid",utc_offset:{dst:"+01:00",std:"+01:00"},abbreviation:{dst:"GMT",std:"+1"}},{identifier:"Europe/Moscow",utc_offset:{dst:"+03:00",std:"+03:00"},abbreviation:{dst:"MSK",std:""}},{identifier:"India",utc_offset:{dst:"+03:00",std:"+03:00"},abbreviation:{dst:"IST",std:""}}],fh=[{id:1,value:"ACCOUNTS",type:"source"},{id:2,value:"CHECKOUT",type:"source"},{id:3,value:"CREATE",type:"event"},{id:4,value:"UPDATE",type:"event"},{id:5,value:"CONNECTIONS",type:"source"},{id:6,value:"ROLES",type:"source"},{id:7,value:"ROUTING",type:"source"},{id:8,value:"TEAMS",type:"source"},{id:9,value:"WEBHOOKS",type:"source"},{id:10,value:"PAYMENT_LINKS",type:"source"},{id:11,value:"DELETE",type:"event"}],gh={docs_url:"https://docs.y.uno/reference/api-reference-overview"},yh={en:[{text:"Home",pathname:"/",position:1,icon:"Monitor",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"Insights",pathname:"/insights",position:2,icon:"ChartLine",type:null,target:null,permission:"access_actionable_payment_insights",locale:"en",submenues:null},{text:"Payments",pathname:"/payments",position:3,icon:"ArrowsLeftRight",type:null,target:null,permission:"view_payment_transactions",locale:"en",submenues:null},{text:"Risk conditions",pathname:"/risk-conditions",position:4,icon:"ShieldWarning",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"Payment links",pathname:"/payment-links",position:5,icon:"LinkSimple",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"Connections",pathname:"/connections",position:6,icon:"BoundingBox",type:null,target:null,permission:"view_connections",locale:"en",submenues:null},{text:"Reconciliations",pathname:"/reconciliations",position:7,icon:"Swap",type:null,target:null,permission:"view_settlement_reports",locale:"en",submenues:null},{text:"Routing",pathname:"/routing",position:8,icon:"TreeStructure",type:null,target:null,permission:"view_your_processing_routes",locale:"en",submenues:null},{text:"Checkout builder",pathname:"/checkout-builder",position:9,icon:"ShoppingCart",type:null,target:null,permission:"view_your_checkout",locale:"en",submenues:null},{text:"Developers",pathname:"/developers",position:10,icon:"Code",type:null,target:null,permission:"all",locale:"en",submenues:null},{text:"SUPPORT",pathname:null,position:11,icon:"Monitor",type:"SUB_HEADER",target:null,permission:"all",locale:"en",submenues:null},{text:"API Reference",pathname:"https://docs.y.uno/reference/introduction",position:13,icon:"TerminalWindow",type:null,target:"_blank",permission:"all",locale:"en",submenues:null},{text:"Audit logs",pathname:"/audit",position:14,icon:"FileSearch",type:null,target:null,permission:"all",locale:"en",submenues:null}],pt:[{text:"Pagamentos",pathname:"/payments",position:3,icon:"ArrowsLeftRight",type:null,target:null,permission:"view_payment_transactions",locale:"pt",submenues:null},{text:"Início",pathname:"/",position:1,icon:"Monitor",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Insights",pathname:"/insights",position:2,icon:"ChartLine",type:null,target:null,permission:"access_actionable_payment_insights",locale:"pt",submenues:null},{text:"ASSISTÊNCIA",pathname:null,position:11,icon:"Monitor",type:"SUB_HEADER",target:null,permission:"all",locale:"pt",submenues:null},{text:"Risk conditions",pathname:"/risk-conditions",position:4,icon:"ShieldWarning",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Checkout builder",pathname:"/checkout-builder",position:9,icon:"ShoppingCart",type:null,target:null,permission:"view_your_checkout",locale:"pt",submenues:null},{text:"Programadores",pathname:"/developers",position:10,icon:"Code",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Links de pagamento",pathname:"/payment-links",position:5,icon:"LinkSimple",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"Reconciliações",pathname:"/reconciliations",position:7,icon:"Swap",type:null,target:null,permission:"view_settlement_reports",locale:"pt",submenues:null},{text:"Auditoria",pathname:"/audit",position:14,icon:"FileSearch",type:null,target:null,permission:"all",locale:"pt",submenues:null},{text:"API referência",pathname:"https://docs.y.uno/reference/introduction",position:13,icon:"TerminalWindow",type:null,target:"_blank",permission:"all",locale:"pt",submenues:null},{text:"Conexões",pathname:"/connections",position:6,icon:"BoundingBox",type:null,target:null,permission:"view_connections",locale:"pt",submenues:null},{text:"Roteamento",pathname:"/routing",position:8,icon:"TreeStructure",type:null,target:null,permission:"view_your_processing_routes",locale:"pt",submenues:null}],es:[{text:"Insights",pathname:"/insights",position:2,icon:"ChartLine",type:null,target:null,permission:"access_actionable_payment_insights",locale:"es",submenues:null},{text:"Inicio",pathname:"/",position:1,icon:"Monitor",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Pagos",pathname:"/payments",position:3,icon:"ArrowsLeftRight",type:null,target:null,permission:"view_payment_transactions",locale:"es",submenues:null},{text:"Ruteo",pathname:"/routing",position:8,icon:"TreeStructure",type:null,target:null,permission:"view_your_processing_routes",locale:"es",submenues:null},{text:"Checkout builder",pathname:"/checkout-builder",position:9,icon:"ShoppingCart",type:null,target:null,permission:"view_your_checkout",locale:"es",submenues:null},{text:"Desarrolladores",pathname:"/developers",position:10,icon:"Code",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Registros de auditoria",pathname:"/audit",position:14,icon:"FileSearch",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"ASISTENCIA",pathname:null,position:11,icon:"Monitor",type:"SUB_HEADER",target:null,permission:"all",locale:"es",submenues:null},{text:"Risk conditions",pathname:"/risk-conditions",position:4,icon:"ShieldWarning",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Documentación de la API",pathname:"https://docs.y.uno/reference/introduction",position:13,icon:"TerminalWindow",type:null,target:"_blank",permission:"all",locale:"es",submenues:null},{text:"Enlaces de pago",pathname:"/payment-links",position:5,icon:"LinkSimple",type:null,target:null,permission:"all",locale:"es",submenues:null},{text:"Conexiones",pathname:"/connections",position:6,icon:"BoundingBox",type:null,target:null,permission:"view_connections",locale:"es",submenues:null},{text:"Conciliaciones",pathname:"/reconciliations",position:7,icon:"Swap",type:null,target:null,permission:"view_settlement_reports",locale:"es",submenues:null}]},vh=[{code:"en",name:"English (en)"},{code:"es",name:"Spanish (es)"},{code:"pt",name:"Portuguese (pt)"}];const bh=[];for(let e=0;e<256;++e)bh.push((e+256).toString(16).slice(1));let kh;const xh=new Uint8Array(16);var wh={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function jh(e,t,n){if(wh.randomUUID&&!t&&!e)return wh.randomUUID();const o=(e=e||{}).random??e.rng?.()??function(){if(!kh){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");kh=crypto.getRandomValues.bind(crypto)}return kh(xh)}();if(o.length<16)throw new Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=o[e];return t}return function(e,t=0){return(bh[e[t+0]]+bh[e[t+1]]+bh[e[t+2]]+bh[e[t+3]]+"-"+bh[e[t+4]]+bh[e[t+5]]+"-"+bh[e[t+6]]+bh[e[t+7]]+"-"+bh[e[t+8]]+bh[e[t+9]]+"-"+bh[e[t+10]]+bh[e[t+11]]+bh[e[t+12]]+bh[e[t+13]]+bh[e[t+14]]+bh[e[t+15]]).toLowerCase()}(o)}var _h=function(e){return{account_codes:e&&(null==e?void 0:e.length)>0?null==e?void 0:e.split(","):[]}},Eh=function(t){function n(n){var o=n?e.__assign(e.__assign({},ih),n):ih;return t.call(this,o)||this}return e.__extends(n,t),n.prototype.simulateAxiosError=function(){return new Promise((function(e,t){t({name:"AxiosError"})}))},n.prototype.updateReconciliationReportTemplate=function(t){var n=t.type===exports.ReconciliationReportType.TRANSACTIONS?"TRANSACTIONS":t.type,o=e.__assign(e.__assign({},t),{type:n});return this.put("/v1/reconciliation/reports/templates",o)},n.prototype.createReconciliationReportTemplate=function(t){var n=t.type===exports.ReconciliationReportType.TRANSACTIONS?"TRANSACTIONS":t.type,o=e.__assign(e.__assign({},t),{type:n});return this.post("/v1/reconciliation/reports/templates",o)},n.prototype.getReconciliationTransactions=function(e){var t=e.account_code;return delete e.account_code,this.post("v2/reconciliation/transactions",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},n.prototype.getReconciliationSettlements=function(e){var t=e.account_code;return delete e.account_code,this.post("/reconciliation/settlements",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},n.prototype.getReconciliationMetrics=function(e){var t=e.account_code;return delete e.account_code,this.post("/reconciliation/reports",{account_codes:(null==t?void 0:t.split(","))||[]},{params:e})},n.prototype.getReconciliationFilters=function(){return this.get("/reconciliation/filters")},n.prototype.getReconciliationsReportColumns=function(e,t){return this.get("/v1/reconciliation/reports/columns/".concat(e,"/").concat(t))},n.prototype.getReconciliationReportTemplates=function(){return this.get("/v1/reconciliation/reports/templates")},n.prototype.getAllTableColumns=function(e){return this.get("/v1/reconciliation/table/".concat(e,"/columns"))},n.prototype.getReconciliationActive=function(){return this.get("/v1/reconciliation/status")},n.prototype.getReconciliationAlerts=function(e,t){return this.post("/reconciliation/alerts/list",e,{params:t})},n.prototype.postReconciliationAlert=function(e){return this.post("/reconciliation/alerts",e)},n.prototype.updateReconciliationAlert=function(e){return this.patch("/reconciliation/alerts",e)},n.prototype.deleteReconciliationAlert=function(e){return this.delete("/reconciliation/alerts",{params:e})},n.prototype.getReconciliationAgenda=function(e,t){return this.post("/reconciliation/agenda/list",e,{params:t})},n.prototype.getReconciliationAgendaInsightByKey=function(e,t){return this.post("/reconciliation/agenda/insights",e,{params:t})},n.prototype.getReconciliationSales=function(e,t){return this.post("/reconciliation/sales/list",e,{params:t})},n.prototype.getReconciliationAdvancements=function(e,t){return this.post("/reconciliation/advancements/list",e,{params:t})},n.prototype.getReconciliationFees=function(e,t){return this.post("/reconciliation/fees/list",e,{params:t})},n.prototype.postPaymentsLazy=function(t){var n=t.account_code,o=e.__rest(t,["account_code"]);return o.start_date||(o.start_date=new Date),o.end_date||(o.end_date=new Date),this.post("/payments/lazy",{account_codes:(null==n?void 0:n.split(","))||[]},{params:o})},n.prototype.postPayouts=function(t){var n=t.account_code,o=e.__rest(t,["account_code"]);return o.start_date||(o.start_date=new Date),o.end_date||(o.end_date=new Date),this.post("/payouts",{account_codes:(null==n?void 0:n.split(","))||[]},{params:o})},n.prototype.getPayoutsFilters=function(e){return this.get("/payouts/filters",{headers:{"x-organization-code":e}})},n.prototype.postPaymentsEvaluated=function(t){t.account_code;var n=e.__rest(t,["account_code"]);return n.start_date||(n.start_date=new Date),n.end_date||(n.end_date=new Date),this.post("/payments/evaluated",n)},n.prototype.getPaymentV2=function(e){return this.get("/payments/v2/".concat(e))},n.prototype.postTransactions=function(t){var n=t.account_code,o=e.__rest(t,["account_code"]);return this.post("/v2/transactions",{account_codes:(null==n?void 0:n.split(","))||[]},{params:o})},n.prototype.postFraudTransactions=function(t){var n=t.account_code,o=e.__rest(t,["account_code"]);return this.post("/fraud-transactions",{account_codes:(null==n?void 0:n.split(","))||[]},{params:o})},n.prototype.getPayoutDetails=function(e){var t={"x-organization-code":e.organization_code};return this.get("/payouts/detail/".concat(e.payout_code),{headers:t})},n.prototype.getPayoutTransactionDetails=function(e){var t={"x-organization-code":e.organization_code};return this.get("/payouts/".concat(e.payout_code,"/transaction/").concat(e.transaction_code,"/detail"),{headers:t})},n.prototype.getPayoutHistoryDetails=function(e,t){var n={"x-organization-code":t};return this.get("/payouts/".concat(e.payout_code,"/history"),{headers:n})},n.prototype.getPaymentMethodsByCountry=function(e,t){var n=e.provider_id,o=e.country,a=localStorage.getItem("x-organization-code"),i={"x-organization-code":t};return this.get("/organizations/provider-params/".concat(n,"/").concat(o),a?{}:{headers:i})},n.prototype.getOrgByName=function(e){return this.post("/organizations/get-by-name",{org_name:e})},n.prototype.createOperationTransaction=function(e,t,n,o){return this.post("/payments/".concat(n,"/transactions/").concat(t,"/").concat(o),e)},n.prototype.getPaymentMethodsAndProviders=function(){return this.get("/payments/payment-methods/providers")},n.prototype.getTransactionDetailsV2=function(e){return this.get("/payments/".concat(e.payment_code,"/transactions/details"),{params:{payment_code:e.payment_code,size:99}})},n.prototype.getTransactionRawResponse=function(e){return this.get("/transactions/".concat(e.transaction_code,"/raw-response"))},n.prototype.uploadChargebacks=function(e,t,n,o){return this.post("/chargebacks/upload-file/payment/".concat(t,"/transaction/").concat(n),e,{onUploadProgress:function(e){o(e.total?Math.round(100*e.loaded/e.total):0)},headers:{"x-account-code":null==e?void 0:e.account_id,"x-idempotency-key":jh()}})},n.prototype.getPaymentTransactionsDetails=function(e){var t=e.transaction_code;return this.get("/transactions/".concat(t,"/details"))},n.prototype.getTransactionHistoryByPaymentCode=function(e){var t=e.payment_code;return this.get("/transactions/by-payment/".concat(t,"/history"))},n.prototype.getDeveloperCredentials=function(e,t){return this.get("/v2/developers/credentials",{headers:{"x-password":e,"x-account-code":t}})},n.prototype.getDeveloperCredentialsValidatePassword=function(e){return this.get("/validate-password",{headers:{"x-password":e}})},n.prototype.getAllowedIps=function(){return this.get("/allowlist-ips")},n.prototype.patchAllowedIps=function(e){return this.patch("/allowlist-ips",e)},n.prototype.getOrganization=function(){return this.get("/organizations",{headers:{"x-organization-code":""}})},n.prototype.getAllOrganization=function(){return this.get("/organizations/all")},n.prototype.getProviderParams=function(e,t){var n,o=localStorage.getItem("x-organization-code"),a={"x-organization-code":o?null===(n=JSON.parse(o))||void 0===n?void 0:n.value:t};return this.get("/organizations/provider-params/".concat(e.id),{headers:a})},n.prototype.getIntegrationByAccountV2=function(e){var t=e.accountCode,n={"x-organization-code":e.organizationCode,"x-account-code":t};return this.post("/connections/my-connections",{account_code:t},{headers:n})},n.prototype.putCosts=function(t){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,this.put("/connections/costs",{costs:[t]})]}))}))},n.prototype.updateOrganizationStatus=function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,this.patch("/organizations/status")]}))}))},n.prototype.getIntegrationParams=function(e){var t=e.accountCode,n=e.integration_code;return this.get("/connections/integration-params/".concat(n),t?{headers:{"x-account-code":t}}:{})},n.prototype.getConnectionsByPaymentMethod=function(t,n){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,this.get("/organizations/connections/".concat(t,"/").concat(n))]}))}))},n.prototype.getHashPylon=function(){return this.get("/pylon-hash")},n.prototype.getConnections=function(){return this.get("/connections")},n.prototype.postValidateStatusConnection=function(e){var t=e.payload,n={"x-account-code":e.accountCode};return this.post("/connections/validate-status",t,{headers:n})},n.prototype.postChangeStatusConnection=function(e){var t=e.payload,n=e.accountCode,o="/connections/change-status";if(t.status==ch)return delete t.status,this.delete(o,{data:t});Object.values(rh).includes(null==t?void 0:t.status)&&(o="".concat(o,"/").concat(sh[t.status]),delete t.status);var a={"x-account-code":n};return this.post(o,t,{headers:a})},n.prototype.postMultiConnection=function(e){var t=e.payload;return this.post("/connections/multi-accounts",t)},n.prototype.postMultiConnectionValidate=function(){return this.get("/connection/valid-accounts")},n.prototype.patchConnection=function(t){var n,o=t.payload,a=t.connectionCode,i=localStorage.getItem("account"),r=i?null===(n=JSON.parse(i).value)||void 0===n?void 0:n.code:"";return this.patch("/connections/".concat(a),e.__assign({account_code:r},o))},n.prototype.postDefaultRoutes=function(e){var t=e.payload;return this.post("/connections/default-routes",t)},n.prototype.getDialogs=function(){return this.get("/dialogs")},n.prototype.getWebhookParamsV2=function(){return this.get("/accounts/webhooks-v2/params-catalog")},n.prototype.getWebhooksV3=function(e){var t=e.accountCode,n=e.name;return this.post("/accounts/webhooks-v2/search",{name:n},{headers:{"x-account-code":t}})},n.prototype.getWebhooksV2Detail=function(e){var t=e.accountCode;return this.get("/accounts/webhooks-v2/detail/".concat(t))},n.prototype.postWebhookV2MultiAccount=function(e){var t=e.payload;return this.post("/accounts/webhooks/multi-account",t)},n.prototype.deleteWebhookV2=function(e,t){return this.delete("/accounts/webhooks-v2/".concat(e,"/").concat(t))},n.prototype.updateWebhookV2=function(e,t,n){return this.patch("/accounts/webhooks-v2/".concat(e,"/").concat(n),t)},n.prototype.getMenu=function(){return this.get("/cms/menu")},n.prototype.postWebhookLogs=function(t){var n=t.payload,o=n.account_code,a=e.__rest(n,["account_code"]),i={account_codes:o};return this.post("/v2/webhooks/organization",i,{params:a,paramsSerializer:jp})},n.prototype.postResendWebhooks=function(e){var t=e.codes;return this.post("/v2/webhooks/organization/resend",{codes:t})},n.prototype.postExportApiLogs=function(e){return this.post("/v1/api-logs/organization/export",e)},n.prototype.postApiLogs=function(t){var n=t.payload,o=n.account_code,a=e.__rest(n,["account_code"]),i={account_codes:o};return this.post("/v2/api-logs/organization",i,{params:a,paramsSerializer:jp})},n.prototype.getApiLogsDetailByPaymentCode=function(e){return this.get("/v2/api-logs/payment/".concat(e,"/details"))},n.prototype.useGetPaymentStatusesStyles=function(){return this.get("/cms/payment/statuses")},n.prototype.useGetTransactionStatusesStyles=function(){return this.get("/cms/transaction/statuses")},n.prototype.useGetReconciliationTransactionStatusesStyles=function(){return this.get("/cms/reconciliation/transaction/statuses")},n.prototype.useGetCountriesConfig=function(){return this.get("/country-data-api/v1/config")},n.prototype.useGetCountriesConfigV2=function(e){var t=e?{"accept-language":e}:{};return this.get("/country-data/v2/config",{params:t})},n.prototype.useGetTimeZoneCatalog=function(){return this.get("/cms/timezone/catalog")},n.prototype.useGetAuditLogsFilters=function(){return this.get("/cms/audit-logs-filters")},n.prototype.getDashboardStaticContents=function(){return this.get("/cms/static-contents")},n.prototype.getLocales=function(){return this.get("/cms/locales")},n.prototype.getSmartRoutingMethods=function(e){return this.get("/smart-routing/methods/".concat(e))},n.prototype.putSmartRoutingToggleMethod=function(e,t,n){return this.put("/smart-routing/methods/".concat(e,"/").concat(t),{active:n})},n.prototype.getSmartRoutingConditionTypes=function(e,t){return this.get("/smart-routing/condition-types/".concat(e,"/").concat(t))},n.prototype.getSmartRoutingConditionPaymentMethod=function(e,t){var n={"x-account-code":e};return this.get("/smart-routing/payment-methods/".concat(t,"/conditions"),{headers:n})},n.prototype.getSmartRoutingConditionTypesValues=function(e,t){return this.get("/smart-routing/condition-types-values/".concat(e,"/").concat(t))},n.prototype.getSmartRoutingNextSteps=function(e,t,n){return this.get("/smart-routing/next-route/".concat(e,"/").concat(t,"/").concat(n))},n.prototype.getSmartRoutingWorkflowVersion=function(e,t){return this.get("/smart-routing/workflow-version/".concat(e,"/").concat(t))},n.prototype.getSmartRoutingWorkflow=function(e,t){return this.get("/smart-routing/workflow/".concat(e,"/").concat(t))},n.prototype.putSmartRoutingUpdateWorkflow=function(e,t){return this.put("/smart-routing/update-workflow/".concat(e),t)},n.prototype.putSmartRoutingUpdateWorkflowName=function(e,t){return this.put("/smart-routing/workflow/".concat(e,"/edit-name"),t)},n.prototype.postSmartRoutingCreateWorkflow=function(e,t){return this.post("/smart-routing/create-workflow/".concat(e),t)},n.prototype.postSmartRoutingPublishVersion=function(e,t,n){var o={"x-organization-code":n};return this.post("/smart-routing/publish-version/".concat(e,"/").concat(t),{},{headers:o})},n.prototype.deleteSmartRoutingVersion=function(e,t){return this.delete("/smart-routing/delete-version/".concat(e,"/").concat(t))},n.prototype.postSmartRoutingDuplicateVersion=function(e,t){return this.post("/smart-routing/duplicate-version/".concat(e,"/").concat(t))},n.prototype.getSmartRoutingDeclinedGroup=function(e){return this.get("/smart-routing/declined-groups/".concat(e))},n.prototype.updateSmartRoutingDeclinedGroup=function(e,t,n){return this.put("/smart-routing/declined-groups/".concat(e,"/").concat(t),n)},n.prototype.createSmartRoutingDeclinedGroup=function(e,t){return this.post("/smart-routing/declined-groups/".concat(e),t)},n.prototype.getSmartRoutingPaymentRoute=function(e,t){return this.get("/smart-routing/payment-route/".concat(e,"/").concat(t))},n.prototype.updateSmartRoutingFavorite=function(e,t,n){return this.put("/smart-routing/favorite/".concat(e,"/").concat(t),{favorite:n})},n.prototype.getSmartRoutingSimulateConditionTypeValues=function(e){return this.get("/smart-routing/condition-types-values-list/".concat(e))},n.prototype.simulateSmartRoutingTransaction=function(e,t,n){return this.post("/smart-routing/simulate-transaction/".concat(e,"/").concat(t),n)},n.prototype.getSmartRoutingSearchConditionValues=function(e,t){return this.get("/smart-routing/search-condition-values/".concat(e,"/").concat(t))},n.prototype.getProviderConversionRatesData=function(){return this.get("/smart-routing/conversion-rates/all")},n.prototype.updateMonitorRedistribution=function(e,t){var n={"x-organization-code":e};return this.post("/smart-routing/monitor-redistribution",t,{headers:n})},n.prototype.removeDeclinedGroup=function(e,t){var n={"x-organization-code":e};return this.delete("/smart-routing/declined-groups/".concat(t),{headers:n})},n.prototype.multiAccountDeclinedGroupCreate=function(e,t){var n={"x-organization-code":e};return this.post("/smart-routing/declined-groups/massive/create",t,{headers:n})},n.prototype.generateAIWorkflowRoutes=function(e,t){var n={"x-organization-code":e};return this.post("/ai/generate-route",t,{headers:n})},n.prototype.postAIGenerationFeedback=function(e){return this.post("/ai/generation-feedback",e)},n.prototype.getRoutingMonitorsTemplates=function(e){var t={"x-organization-code":e};return this.get("/routing-monitor/templates",{headers:t})},n.prototype.getRoutingMonitorsTemplate=function(e,t){var n={"x-organization-code":t};return this.get("/routing-monitor/template/".concat(e),{headers:n})},n.prototype.createMonitorThreshold=function(e,t){var n={"x-organization-code":t};return this.post("/routing-monitor/threshold",e,{headers:n})},n.prototype.createMonitorTemplate=function(e,t){var n={"x-organization-code":t};return this.post("/routing-monitor/template",e,{headers:n})},n.prototype.getSmartRoutingDataReport=function(e){return this.get("/data-report",{params:e})},n.prototype.getInsightsMetricsConversionRateV2=function(t,n){var o=t.account_code,a=t.connection_name,i=e.__rest(t,["account_code","connection_name"]),r=_h(o);return a&&(r.connection_name=a.split(",")),this.post("/insights/conversion-rate/".concat(n),r,{params:i})},n.prototype.getInsightsMetricsConversionRateViewMore=function(t,n){var o=t.account_code,a=e.__rest(t,["account_code"]);return this.post("/insights/conversion-rate/cards/metrics/".concat(n),_h(o),{params:a})},n.prototype.getInsightFallbackMetrics=function(t){var n=t.account_code,o=e.__rest(t,["account_code"]);return this.post("/insights/conversion-rate/fallback",_h(n),{params:o})},n.prototype.getInsightsMetricsVolume=function(t,n){var o=n.connection_name,a=e.__rest(n,["connection_name"]),i={account_codes:(null==t?void 0:t.length)?null==t?void 0:t.split(","):[]};return o&&(i=e.__assign(e.__assign({},i),{connection_name:null==o?void 0:o.split(",")})),this.post("/insights/volume/metrics",i,{params:a})},n.prototype.getInsightsMetricsVolumeV2=function(t,n,o){var a=o.connection_name,i=e.__rest(o,["connection_name"]),r={account_codes:(null==t?void 0:t.length)?null==t?void 0:t.split(","):[]};return a&&(r=e.__assign(e.__assign({},r),{connection_name:null==a?void 0:a.split(",")})),this.post("/insights/volume/".concat(n),r,{params:i})},n.prototype.getInsightsFraudScreeningVolumeAndCountTx=function(e,t){return this.post("/insights/fraud-screening/volume-and-count-tx",e,{params:t})},n.prototype.getInsightsFraudScreeningConversionRate=function(e,t){return this.post("/insights/fraud-screening/conversion-rate",e,{params:t})},n.prototype.getInsights3dsVolumeAndCountTx=function(e,t){return this.post("/insights/3ds/volume-and-count-tx",e,{params:t})},n.prototype.getInsights3dsConversionRateAndEvolution=function(e,t){return this.post("/insights/3ds/conversion-rate-and-evolution",e,{params:t})},n.prototype.getInsights3dsDeclineReasons=function(e,t){return this.post("/insights/3ds/decline-reasons",e,{params:t})},n.prototype.getInsights3dsFrictionlessVsChallenge=function(e,t){return this.post("/insights/3ds/frictionless-vs-challenge",e,{params:t})},n.prototype.getInsightsChargebacksVolumeAndCountTx=function(e,t){return this.post("/insights/chargebacks/volume-and-count-tx",e,{params:t})},n.prototype.getInsightsChargebacksTotalRateAndEvolution=function(e,t){return this.post("/insights/chargebacks/total-rate-and-evolution",e,{params:t})},n.prototype.getInsightsChargebacksWinRate=function(e,t){return this.post("/insights/chargebacks/win-rate",e,{params:t})},n.prototype.getInsightsChargebacksDisputed=function(e,t){return this.post("/insights/chargebacks/disputed",e,{params:t})},n.prototype.getInsightsChargebacksByProviderAndCardBrand=function(e,t){return this.post("/insights/chargebacks/by-provider-and-card-brand",e,{params:t})},n.prototype.getInsightsChargebacksReasonsDistribution=function(e,t){return this.post("/insights/chargebacks/reasons-distribution",e,{params:t})},n.prototype.getInsightsChargebacksStatusDistribution=function(e,t){return this.post("/insights/chargebacks/status-distribution",e,{params:t})},n.prototype.getInsightsChargebacksByCardBrand=function(e,t){return this.post("/insights/chargebacks/by-card-brand",e,{params:t})},n.prototype.getInsightOverview=function(t){var n=t.account_code,o=t.connection_name,a=e.__rest(t,["account_code","connection_name"]),i=_h(n);return o&&(i=e.__assign(e.__assign({},i),{connection_name:null==o?void 0:o.split(",")})),this.post("/insights/overview",i,{params:a})},n.prototype.getInsightOverviewV3=function(t,n){var o=t.account_code,a=t.connection_name,i=e.__rest(t,["account_code","connection_name"]),r=_h(o);return a&&(r=e.__assign(e.__assign({},r),{connection_name:null==a?void 0:a.split(",")})),this.post("/insights/overview/".concat(n),r,{params:i})},n.prototype.getInsighstHomeMetrics=function(e){return this.post("/insights/dashboard-home-metrics",e)},n.prototype.getInsightsMetricsTotalPaymentsAndFraud=function(e,t){return this.post("/insights/payments-and-fraud/payments",{account_codes:(null==e?void 0:e.length)?null==e?void 0:e.split(","):[]},{params:t})},n.prototype.getInsightsMetricsCustomerPaymentsAndFraud=function(e,t){return this.post("/insights/payments-and-fraud/customer",{account_codes:(null==e?void 0:e.length)?null==e?void 0:e.split(","):[]},{params:t})},n.prototype.getCheckouts=function(e){var t=e.accountCode;return this.get("/checkouts/".concat(t))},n.prototype.getCheckoutTemplate=function(e){var t=e.accountCode;return this.get("/v2/checkouts/template/".concat(t))},n.prototype.getNameAndIcon=function(e){var t=e.paymentMethodType,n=e.type;return this.get("/checkouts/payment-methods/".concat(t,"/icon-name?type=").concat(n))},n.prototype.getRequiredFields=function(e){var t=e.paymentMethodType,n=e.type;return this.get("/checkouts/payment-methods/".concat(t,"/required-fields?type=").concat(n))},n.prototype.updateCheckoutTemplate=function(e){var t=e.accountCode,n=e.template;return this.post("/v2/checkouts/template",{account_code:t,template:n})},n.prototype.updateIsActiveCheckout=function(e){var t,n=localStorage.getItem("account"),o=n?null===(t=JSON.parse(n).value)||void 0===t?void 0:t.code:"";return this.patch("/checkouts/publish",e,{headers:{"x-account-code":o}})},n.prototype.getStylingSdkDynamic=function(e){var t={"x-account-code":e.accountCode};return this.get("/checkout/settings",{headers:t})},n.prototype.getStylingTheme=function(e){var t={"x-account-code":e.accountCode};return this.get("/checkouts/styling/theme",{headers:t})},n.prototype.updateStylingTheme=function(e){var t=e.accountCode,n=e.theme,o={"x-account-code":t};return this.patch("/checkouts/styling/theme",n,{headers:o})},n.prototype.getStylingSettings=function(e){var t={"x-account-code":e.accountCode};return this.get("/checkout/settings",{headers:t})},n.prototype.getStylingSettingsV2=function(e){var t=e.accountCode,n=e.environment,o={"x-account-code":t,"x-environment":void 0===n?"live":n};return this.get("/v1/checkouts/builder/settings",{headers:o})},n.prototype.changeStylingSettings=function(e){var t=e.accountCode,n=e.environment,o=void 0===n?"live":n,a=e.payload,i={"x-account-code":t,"x-environment":o,"Content-Type":"application/json"};return this.patch("/v1/checkouts/builder/settings",a,{headers:i})},n.prototype.emailVerification=function(e){return this.get("/user/email-verification/".concat(e))},n.prototype.createReconciliationsReportV2=function(e){return this.post("/v2/reports/create",e)},n.prototype.createReportV2=function(e){return this.post("/reports",e)},n.prototype.getTotalRowsForExport=function(e){return this.post("/reports/count",e)},n.prototype.reportsList=function(){return this.get("/reports")},n.prototype.reportsListMultiEnv=function(){return this.get("/reports/multi-environment")},n.prototype.downloadReports=function(e){return this.get("/reports-redirect/".concat(e))},n.prototype.cancelReport=function(e){return this.patch("/reports/".concat(e))},n.prototype.getReportTemplates=function(){return this.get("/reports/templates")},n.prototype.createReportTemplate=function(e){return this.post("/reports/templates",e)},n.prototype.updateReportTemplate=function(e){return this.put("/reports/templates",e)},n.prototype.getReportColumns=function(e,t){return this.get("/reports/columns/".concat(e,"/").concat(t))},n.prototype.getReportTemplatesList=function(e){return this.get("/template-reporting/report-templates",{params:{module:e.module}})},n.prototype.getReportTemplateById=function(e){return this.get("/template-reporting/report-templates/".concat(e))},n.prototype.createTemplateReporting=function(e){return this.post("/template-reporting/report-templates",e)},n.prototype.cloneReportTemplate=function(e,t){return this.post("/template-reporting/report-templates/".concat(e,"/clone"),t)},n.prototype.updateTemplateSelection=function(e,t){return this.patch("/template-reporting/report-templates/".concat(e,"/selection"),t)},n.prototype.changeTemplateStatus=function(e,t){return this.patch("/template-reporting/report-templates/".concat(e,"/status"),t)},n.prototype.deleteReportTemplate=function(e){return this.delete("/template-reporting/report-templates/".concat(e))},n.prototype.getReportSchedulesList=function(){return this.get("/template-reporting/report-schedules")},n.prototype.getReportScheduleById=function(e){return this.get("/template-reporting/report-schedules/".concat(e))},n.prototype.createReportSchedule=function(e){return this.post("/template-reporting/report-schedules",e)},n.prototype.deactivateReportSchedule=function(e){return this.patch("/template-reporting/report-schedules/".concat(e,"/disable"))},n.prototype.deleteReportSchedule=function(e){return this.delete("/template-reporting/report-schedules/".concat(e))},n.prototype.getRefundPdf=function(e,t,n){var o={"x-organization-code":t,"x-account-code":n};return this.get("/refund-pdf/".concat(e),{headers:o})},n.prototype.getProofOfCancel=function(e,t,n){var o={"x-organization-code":t,"x-account-code":n};return this.get("/transactions/".concat(e,"/proof-of-cancel"),{headers:o})},n.prototype.getProofOfPayment=function(e,t,n){var o={"x-organization-code":t,"x-account-code":n};return this.get("/transactions/".concat(e,"/proof-of-payment"),{headers:o})},n.prototype.getScheduledReport=function(e){return this.get("/scheduled-reports?reportType=".concat(e))},n.prototype.postScheduledReport=function(e){return this.post("/scheduled-reports",e)},n.prototype.updateScheduledReport=function(e,t){return this.patch("/scheduled-reports/".concat(e),t)},n.prototype.deleteScheduledReport=function(e){return this.delete("/scheduled-reports/".concat(e))},n.prototype.getProfile=function(){return this.get("/user")},n.prototype.getUserFull=function(){return this.get("/user-full")},n.prototype.getImpersonationUsers=function(){return this.get("/impersonation/user")},n.prototype.getImpersonationEnabled=function(){return this.get("/impersonation/enabled")},n.prototype.getUsersToImpersonate=function(t,n,o,a,i){void 0===o&&(o=1),void 0===a&&(a=10);var r=e.__assign({account_codes:n||[],page:o,page_size:a},i&&{search_value:i});return this.post("/impersonation/user/organization/".concat(t,"/users-to-impersonate"),r)},n.prototype.getAccountsForImpersonation=function(e){return this.get("/impersonation/user/organization/".concat(e,"/accounts"))},n.prototype.updateProfile=function(e){return this.patch("/user",e)},n.prototype.inviteUsersMassive=function(e,t){var n={"x-organization-code":t};return this.post("user/invite/massive",e,{headers:n})},n.prototype.unInviteUsersV2=function(e){var t=e.userCode,n={"x-organization-code":e.organizationCode};return this.delete("/v2/user/uninvite/".concat(t),{headers:n})},n.prototype.getAccounts=function(e){var t={"x-organization-code":e};return this.get("/accounts-user",{headers:t})},n.prototype.getAccountsV2=function(){return this.get("/accounts-user")},n.prototype.getAccountsByUser=function(e){return this.get("/accounts-user/user/".concat(e))},n.prototype.putAccountsUserMassive=function(e,t,n){var o={"x-organization-code":e};return this.put("/accounts-user/role/massive/user/".concat(t),n,{headers:o})},n.prototype.deleteAccountsUserMassive=function(e,t,n){var o={"x-organization-code":e};return this.delete("/accounts-user/role/massive/user/".concat(t),{data:n,headers:o})},n.prototype.postAccount=function(e,t){return this.post("/accounts",{name:e,principal:t})},n.prototype.patchAccountV2=function(e){var t=e.name,n=e.code,o=e.principal;return this.patch("/accounts/with-principal",{name:t,principal:o},{headers:{"x-account-code":n}})},n.prototype.putAccountPrincipal=function(e){var t=e.account_code;return this.put("/user-accounts/principal",{account_code:t})},n.prototype.getMergedNotifications=function(){return this.get("/notifications-all")},n.prototype.getNotificationsCustomer=function(e){return this.get("/notifications/".concat(e))},n.prototype.getValidateOpsgenieKey=function(e){return this.get("/notifications/opsgenie/validate/".concat(e))},n.prototype.postSlackMessageChannel=function(e){return this.post("/slack-channel-message",e)},n.prototype.pathNotification=function(e){return this.patch("/notifications",e)},n.prototype.getNotificationsNumber=function(e){return this.get("/notifications/".concat(e,"/number"))},n.prototype.teamsFiltersMembers=function(e){var t={"x-organization-code":e.organizationCode};return this.get("/teams/filters/members",{headers:t})},n.prototype.postMembersPaginatedV2=function(e){var t=e.organizationCode,n=e.accountCodes,o=e.email,a=e.page,i=e.pageSize,r={"x-organization-code":t};return this.post("/teams/paginated",{account_codes:n,email:o,page:a,page_size:i},{headers:r})},n.prototype.getRoles=function(){return this.get("/teams/roles")},n.prototype.setCustodian=function(){return this.post("/teams/custodian")},n.prototype.deleteUserTeamV2=function(e){var t=e.userCode,n={"x-organization-code":e.organizationCode};return this.delete("/v2/teams/".concat(t),{headers:n})},n.prototype.createRoles=function(e,t){return this.post("/teams/roles",e,{headers:{"x-account-code":t}})},n.prototype.editRoles=function(e,t){var n=e.payload,o=e.id;return this.patch("/teams/roles/".concat(o),n,{headers:{"x-account-code":t}})},n.prototype.deleteRoles=function(e){return this.delete("/teams/roles/".concat(e))},n.prototype.getRolesPermissions=function(){return this.get("/teams/permissions")},n.prototype.getFeatureFlagId=function(t){var n=t.name,o=e.__rest(t,["name"]);return this.post("/feature-flags/evaluate",{name:n,parameters:o})},n.prototype.getFeatureFlagIdAll=function(t){var n=t.accountCode;return e.__awaiter(this,void 0,void 0,(function(){var t,o;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,this.get("/feature-flags/names",n?{headers:{"x-account-code":n}}:{})];case 1:return t=e.sent(),o={},t.data.feature_flag_names.forEach((function(e){o[e]=!0})),[2,{data:o,status:200,statusText:"OK",headers:{},config:{}}]}}))}))},n.prototype.getPermissionsCatalog=function(){return this.get("/teams/permissions-catalog")},n.prototype.changePasswordV2=function(e){return this.patch("/user/change-password-profile",e)},n.prototype.getCardBrands=function(){return this.get("/catalog/card-brands")},n.prototype.getPaymentFilters=function(e){return this.get("/payments/filters?section=".concat(e))},n.prototype.getPaymentMetricsFilters=function(){return this.get("/payments/metrics/filters")},n.prototype.sendPaymentNotification=function(e,t){return this.post("/payments/".concat(e.paymentCode,"/transactions/").concat(e.transactionCode,"/settle"),t)},n.prototype.postAuditMonitors=function(e){return this.post("/routing-monitor/audit",e)},n.prototype.getAuditMonitorDetail=function(e){return this.get("/routing-monitor/audit-monitors-details/".concat(e))},n.prototype.getAuditEvents=function(t){var n=t.account_code,o=e.__rest(t,["account_code"]);return this.post("v2/events/organization",{account_codes:n},{params:o,paramsSerializer:jp})},n.prototype.getPaymentLinks=function(e,t){return this.get("/v2/payment-links/".concat(t),{params:e})},n.prototype.getPaymentLinksByCode=function(e){return this.get("/v2/payment-links/by-code/".concat(e))},n.prototype.postPaymentLinks=function(e){var t=e.payload,n=e.accountCode;return this.post("/v2/payment-links/".concat(n),t)},n.prototype.patchPaymentLinks=function(e){var t=e.payload,n=e.accountCode,o=e.paymentLinkCode;return this.patch("/v2/payment-links/".concat(n,"/").concat(o),t)},n.prototype.postDeletePaymentLink=function(e){var t=e.code;return this.post("/v2/payment-links/cancel/".concat(t))},n.prototype.getTimezone=function(e){return this.get("/cms/timezone/catalog",{headers:{"x-organization-code":e}})},n.prototype.firebaseUserSubscribe=function(e){return this.post("/firebase/user/subscribe",e)},n.prototype.postUserSettings=function(e){return this.patch("/user-settings",e)},n.prototype.postUserSettingsTables=function(e,t){return this.patch("/user-settings/".concat(t),e)},n.prototype.postUserSettingsPinned=function(e){return this.patch("/user-settings/pinned_sections",e)},n.prototype.postUserThemeSettings=function(e){return this.patch("/user-settings/theme",e)},n.prototype.getMfaTokenValidation=function(e,t){return this.post("/mfa/token",{password:e,otp_input:t,user_code:""})},n.prototype.getEmailOtp=function(){return this.post("/mfa/send-otp",{})},n.prototype.confirmMfaOtp=function(e){return this.post("/mfa/confirm/otp",e)},n.prototype.unrollMfa=function(e){return this.post("/mfa/unroll/otp",{password:e})},n.prototype.sendOTPForMFA=function(){return this.post("/mfa/send-otp")},n.prototype.getConfigAllowlist=function(e){var t={"x-account-code":e};return this.get("/yuno-fraud-screening-int/allow-lists/config",{headers:t})},n.prototype.getBlackListType=function(e){var t={"x-account-code":e};return this.get("/blacklist",{headers:t})},n.prototype.postBlockList=function(e,t,n,o){var a={name:t,account_codes:e,page:n,size:o};return this.post("/blacklist",a)},n.prototype.getBlackListSummary=function(e,t){return void 0===t&&(t=null),this.get("/blacklist/get-one/".concat(e,"/summary"),t?{headers:{"x-account-code":t}}:{})},n.prototype.getBlacklistDetail=function(e,t,n,o,a){void 0===n&&(n=26),void 0===o&&(o=null),void 0===a&&(a=null);var i="/blacklist/get-one/".concat(e,"/detail?offset=").concat(t,"&limit=").concat(n);return a&&(null==a?void 0:a.length)>0&&(i+="&search=".concat(a)),this.get(i,o?{headers:{"x-account-code":o}}:{})},n.prototype.getAllowlistDetail=function(e,t){return void 0===t&&(t=null),this.get("/yuno-fraud-screening-int/allow-lists/".concat(e),t?{headers:{"x-account-code":t}}:{})},n.prototype.postAllowlistItems=function(e){var t=e.payload;return this.post("yuno-fraud-screening-int/allow-lists/".concat(t.code,"/items/pageable"),t,t.account&&{headers:{"x-account-code":t.account}})},n.prototype.postGetAllowlist=function(e){var t=e.payload;return this.post("/yuno-fraud-screening-int/allow-lists/pageable",t)},n.prototype.postCreateAllowlistMultiAccount=function(e){var t=e.payload;return this.post("/yuno-fraud-screening-int/allow-lists/massive",t)},n.prototype.patchChangeStatusAllowlist=function(e){var t=e.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(t.code),{active:t.active},(null==t?void 0:t.account)&&{headers:{"x-account-code":null==t?void 0:t.account}})},n.prototype.patchChangeStatusAllowlistItem=function(e){var t=e.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code,"/items/").concat(t.item_allowlist_code),{active:t.active})},n.prototype.patchAddAllowlistItems=function(e){var t=e.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code,"/items"),t,t.account&&{headers:{"x-account-code":t.account}})},n.prototype.deleteAllowlistItem=function(e){var t=e.payload,n={"x-account-code":t.account_code};return this.delete("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code,"/items/").concat(t.allowlist_item_id),{headers:n})},n.prototype.validateAllowlistItems=function(e){var t=e.payload;return this.post("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code,"/validate/duplicate-items"),t,{headers:{"x-account-code":t.account_code}})},n.prototype.patchAllowlist=function(e){var t=e.payload;return this.patch("/yuno-fraud-screening-int/allow-lists/".concat(t.allowlist_code),t,t.account&&{headers:{"x-account-code":t.account}})},n.prototype.postBlackListMultiAccount=function(e){var t=e.payload;return this.post("/blacklist/create/multi-account",t,t.account&&{headers:{"x-account-code":t.account}})},n.prototype.putBlackListType=function(e){return this.put("/blacklist/edit",e)},n.prototype.changeBlackListStatus=function(e){return this.put("/blacklist/change-status",e)},n.prototype.changeBlackListStatusItem=function(e){return this.put("/blacklist/change-item-status",e)},n.prototype.postBlackListItems=function(e){var t=e.payload;return this.post("/blacklist/items",t)},n.prototype.postBlackListBatch=function(e){var t=e.blacklist_code,n=e.expiration_days,o=e.file,a=e.handleSetProgress;return this.post("/blacklist/create-batch/".concat(t),{expiration_days:n,file:o},{onUploadProgress:function(e){a(e.total?Math.round(100*e.loaded/e.total):0)}})},n.prototype.deleteBlackListType=function(e){var t=e.black_list_code;return this.delete("/blacklist/delete/".concat(t))},n.prototype.deleteBlockListItem=function(e){var t=e.blocklist_code,n=e.blocklist_item_id,o=e.account_code;return this.delete("/blacklist/".concat(t,"/items/").concat(n),{headers:{"x-account-code":o}})},n.prototype.valiateBlockListItems=function(e){var t=e.payload;return this.post("/blacklist/".concat(t.blocklist_code,"/validate/duplicate-items"),t,{headers:{"x-account-code":t.account_code}})},n.prototype.getVelocityRules=function(t){return this.post("/yuno-fraud-screening-int/velocity-rules-list",e.__assign({},t))},n.prototype.postChangePaymentsWebhook=function(e){var t=e.status,n=e.paymentCode;return this.post("/yuno-fraud-screening-int/payments/webhook",{status:t,payment_code:n})},n.prototype.uploadFileS3ClientBatchRefunds=function(e){var t=e.payload,n=e.handleSetProgress,o=this.getCancelTokenSource();return{promise:this.post("/batch-refunds/upload-s3-file",t,{onUploadProgress:function(e){return null==n?void 0:n(e.total?Math.round(100*e.loaded/e.total):0)},cancelToken:o.token}),cancel:function(){return o.cancel()}}},n.prototype.uploadFileS3ClientChargeBacks=function(e){var t=e.payload,n=e.handleSetProgress,o=this.getCancelTokenSource();return{promise:this.post("/chargebacks/upload-s3-file",t,{cancelToken:o.token,onUploadProgress:function(e){null==n||n(e.total?Math.round(100*e.loaded/e.total):0)}}),cancel:function(){return o.cancel()}}},n.prototype.batchRefundByFile=function(t){var n=t.payload;return this.post("/batch-refund-by-file",e.__assign({},n))},n.prototype.uploadBatchRefundsV2=function(t){var n=t.payload;return this.post("/batch-refunds",e.__assign({},n))},n.prototype.getBatchRefunds=function(e,t){return this.get("/batch-refunds?limit=".concat(e,"&offset=").concat(t))},n.prototype.getBatchRefundProcessedFileDownload=function(e,t,n){var o={"x-organization-code":t,"x-account-code":n};return this.get("/batch-refunds/".concat(e,"/processed-file-download"),{headers:o})},n.prototype.getBatchRefundUserFileDownload=function(e,t,n){var o={"x-organization-code":t,"x-account-code":n};return this.get("/batch-refunds/".concat(e,"/user-file-download"),{headers:o})},n.prototype.getMFAConfig=function(e){var t={"x-organization-code":e.organizationCode};return this.get("/organization-settings/mfa/config",{headers:t})},n.prototype.getMFAExcludedUsers=function(e){var t={"x-organization-code":e.organizationCode};return this.get("/organization-settings/mfa/excluded-users",{headers:t})},n.prototype.getMFAEnforcementStatus=function(){return this.get("/mfa/enforcement-status")},n.prototype.updateMFAConfig=function(e,t){return this.post("/organization-settings/mfa/config",e,{headers:{"x-organization-code":t}})},n.prototype.mfaExcludeUsers=function(e,t){return this.post("/organization-settings/mfa/exclude-users",e,{headers:{"x-organization-code":t}})},n.prototype.getAllConfigRules=function(){return this.get("/yuno-fraud-screening-int/velocity-rules/config/all")},n.prototype.getConditionalConfigRules=function(e){return this.get("/yuno-fraud-screening-int/velocity-rules/config/conditional/".concat(e))},n.prototype.getRule=function(e){return this.get("/yuno-fraud-screening-int/velocity-rules/".concat(e.idRule),(null==e?void 0:e.accountCode)&&{headers:{"x-account-code":null==e?void 0:e.accountCode}})},n.prototype.postCreateRuleMultiAccount=function(e,t){return this.post("/yuno-fraud-screening-int/velocity-rules/multi-account",e,{headers:{"x-account-code":t}})},n.prototype.postEditRule=function(e,t,n){return this.patch("/yuno-fraud-screening-int/velocity-rules/".concat(t),e,{headers:{"x-account-code":n}})},n.prototype.postApiKeysRoll=function(e,t,n){return this.post("/credentials-manager/v1/keys/roll/".concat(t),e,{headers:{"x-password":n}})},n.prototype.patchApiKeysEditNote=function(e,t){return this.patch("/credentials-manager/keys/edit-note/".concat(t),e)},n.prototype.getCustomizedApiKeysMembers=function(){return this.get("/organization-user/resources/users/customized-keys")},n.prototype.getCustomizedApiKeysAccounts=function(){return this.get("/organization-user/resources/accounts/customized-keys")},n.prototype.postCreateCustomizedApiKeys=function(e){return this.post("/credentials-manager/keys",e)},n.prototype.pathCreateCustomizedApiKeys=function(e,t){return this.patch("/credentials-manager/key/".concat(t),e)},n.prototype.postCustomizedApiKeys=function(e){return this.post("/credentials-manager/keys/retrieve",{account_codes:e})},n.prototype.getCustomizedApiKeysProducts=function(){return this.get("/credentials-manager/product-list")},n.prototype.getCustomizedApiKeysToken=function(e,t){return this.get("/credentials-manager/keys/show-token/".concat(e),{headers:{"x-password":t}})},n.prototype.validatePasswordStatus=function(){return this.get("/validate-password-status")},n.prototype.deleteCustomizedApiKeys=function(e){return this.delete("/credentials-manager/key/".concat(e))},n.prototype.postCreateInsightsReport=function(e){var t="CR_FALLBACK"===(null==e?void 0:e.type)?"/insights/conversion-rate/".concat(uh[null==e?void 0:e.type],"/export"):"/insights/conversion-rate/cards/metrics/".concat(uh[null==e?void 0:e.type],"/export");return this.post(t,e)},n.prototype.getInsightsReport=function(e){return this.get("/insights/conversion-rate/exports/".concat(null==e?void 0:e.type,"/by-user"))},n.prototype.getInsightsReportAgain=function(e){return this.get("/insights/conversion-rate/exports/".concat(e.code))},n.prototype.createUserAuth0=function(e){return this.post("/user/auth0",e)},n.prototype.getSamlConfig=function(){return this.get("/saml-config")},n.prototype.createSamlConfig=function(e){return this.post("/saml-config",e)},n.prototype.updateSamlConfig=function(e){return this.patch("/saml-config",e)},n.prototype.deleteSamlConfig=function(){return this.delete("/saml-config")},n.prototype.postCall=function(e){return this.post("/ai-agent-caller/demo",e)},n.prototype.getLoginMethods=function(){return this.get("/organization/login-methods")},n.prototype.changeLoginMethods=function(e){return this.patch("/organization/login-methods/".concat(e.methodCode),{enabled:e.enabled})},n.prototype.postValidateCredentials=function(e){var t=e.payload;return this.post("/connections/validate-credentials",t)},n.prototype.getInsightsConversionRateOverview=function(e,t){return this.post("/v3/insights/conversion-rate/overview",e,{params:t})},n.prototype.getInsightsConversionRateOverviewFraud3ds=function(e,t){return this.post("/v3/insights/conversion-rate/overview-fraud-3ds",e,{params:t})},n.prototype.getConversionRateChargebacksByCardBrand=function(e,t){return this.post("/insights/chargebacks/by-card-brand",e,{params:t})},n.prototype.get3DSExemptions=function(){return this.get("/routing/3ds-exemptions")},n.prototype.getNetworkTokensOnboarding=function(){return this.get("/network-tokens/onboarding")},n.prototype.getNetworkTokensOnboardingByOrganization=function(e){return this.get("network-tokens/organization/onboarding/".concat(e))},n.prototype.postNetworkTokensOnboarding=function(e,t){return this.post("/network-tokens/organization/onboarding/".concat(t),e)},n.prototype.createChartGPTChart=function(e){return this.post("/data-assistant/charts",e)},n.prototype.deleteChartGPTChart=function(e){return this.delete("/data-assistant/charts/".concat(e))},n.prototype.getChartById=function(e){return this.get("/data-assistant/charts/".concat(e))},n.prototype.patchChartGPTChart=function(e,t){return this.patch("/data-assistant/charts/".concat(e),t)},n.prototype.executeChartGPTChart=function(e){return void 0===e&&(e=""),this.get("/data-assistant/charts/".concat(e,"/execute"))},n.prototype.getChartsByUser=function(){return this.get("/data-assistant/user/charts")},n.prototype.getLanguages=function(){return this.get("/languages")},n.prototype.getTranslations=function(e){return this.get("/translations?language=".concat(e))},n.prototype.getCommunications=function(e){return this.post("/communications",e)},n.prototype.getCommunicationsFilters=function(){return this.get("/communications/filters")},n.prototype.getCommunicationDetails=function(e,t){var n={"x-account-code":t};return this.get("/communications/".concat(e,"/details"),{headers:n})},n}(_p),Ch={ENVIRONMENT:process.env.ENVIRONMENT,BFF_URL_PROD:process.env.BFF_URL_PROD,BFF_URL_SBX:process.env.BFF_URL_SBX,BFF_URL_STG:process.env.BFF_URL_STG,BFF_URL_DEV:process.env.BFF_URL_DEV,BFF_URL_LOCAL:process.env.BFF_URL_LOCAL,WS_URL_LOCAL:process.env.WS_URL_LOCAL,WS_URL_PROD:process.env.WS_URL_PROD,WS_URL_SBX:process.env.WS_URL_SBX,WS_URL_STG:process.env.WS_URL_STG,WS_URL_DEV:process.env.WS_URL_DEV},Sh=function(t){function n(e){return t.call(this,e)||this}return e.__extends(n,t),n.refreshInstance=function(t){var o;return this.classInstance=new n(e.__assign(e.__assign({},t),{baseURL:Ch["BFF_URL_".concat(Ch.ENVIRONMENT)]})),null===(o=this.classInstance.instance.interceptors)||void 0===o||o.response.use((function(e){return e}),(function(e){var t;if(401!==(null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status))return Promise.reject(e);window.location.href="/auth/logout"})),this.classInstance},n.getInstance=function(t){var o,a;if(this.classInstance){var i=localStorage.getItem("account");if(i){var r=null===(a=null===(o=JSON.parse(i))||void 0===o?void 0:o.value)||void 0===a?void 0:a.code,s=this.classInstance.instance.defaults.headers["x-account-code"];!!r&&""!==r&&r!==s&&(this.classInstance.instance.defaults.headers["x-account-code"]=r)}return this.classInstance}return this.classInstance=new n(e.__assign(e.__assign({},t),{baseURL:(null==t?void 0:t.baseURL)||Ch["BFF_URL_".concat(Ch.ENVIRONMENT)]})),this.classInstance},n.setMode=function(t){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return this.classInstance.instance.interceptors.request.use((function(e){return e.headers&&(e.headers["X-Environment"]=t),e}),(function(e){return Promise.reject(e)})),[2]}))}))},n}(Eh);class Rh{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){const t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const Th="undefined"==typeof window||"Deno"in window;function Ah(){}function Ih(e){return"number"==typeof e&&e>=0&&e!==1/0}function Oh(e,t){return Math.max(e+(t||0)-Date.now(),0)}function zh(e,t,n){return Hh(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function Ph(e,t,n){return Hh(e)?[{...t,queryKey:e},n]:[e||{},t]}function Lh(e,t){const{type:n="all",exact:o,fetchStatus:a,predicate:i,queryKey:r,stale:s}=e;if(Hh(r))if(o){if(t.queryHash!==qh(r,t.options))return!1}else if(!Mh(t.queryKey,r))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return("boolean"!=typeof s||t.isStale()===s)&&((void 0===a||a===t.state.fetchStatus)&&!(i&&!i(t)))}function Dh(e,t){const{exact:n,fetching:o,predicate:a,mutationKey:i}=e;if(Hh(i)){if(!t.options.mutationKey)return!1;if(n){if(Nh(t.options.mutationKey)!==Nh(i))return!1}else if(!Mh(t.options.mutationKey,i))return!1}return("boolean"!=typeof o||"loading"===t.state.status===o)&&!(a&&!a(t))}function qh(e,t){return((null==t?void 0:t.queryKeyHashFn)||Nh)(e)}function Nh(e){return JSON.stringify(e,((e,t)=>Wh(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function Mh(e,t){return Fh(e,t)}function Fh(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!Fh(e[n],t[n]))))}function Bh(e,t){if(e===t)return e;const n=Gh(e)&&Gh(t);if(n||Wh(e)&&Wh(t)){const o=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),i=a.length,r=n?[]:{};let s=0;for(let o=0;o<i;o++){const i=n?o:a[o];r[i]=Bh(e[i],t[i]),r[i]===e[i]&&s++}return o===i&&s===o?e:r}return t}function Uh(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Gh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Wh(e){if(!Vh(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!Vh(n)&&!!n.hasOwnProperty("isPrototypeOf")}function Vh(e){return"[object Object]"===Object.prototype.toString.call(e)}function Hh(e){return Array.isArray(e)}function Kh(e){return new Promise((t=>{setTimeout(t,e)}))}function $h(e){Kh(0).then(e)}function Qh(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?Bh(e,t):t}const Jh=new class extends Rh{constructor(){super(),this.setup=e=>{if(!Th&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.focused!==e&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach((({listener:e})=>{e()}))}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}},Xh=["online","offline"];const Yh=new class extends Rh{constructor(){super(),this.setup=e=>{if(!Th&&window.addEventListener){const t=()=>e();return Xh.forEach((e=>{window.addEventListener(e,t,!1)})),()=>{Xh.forEach((e=>{window.removeEventListener(e,t)}))}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()}))}setOnline(e){this.online!==e&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach((({listener:e})=>{e()}))}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}};function Zh(e){return Math.min(1e3*2**e,3e4)}function ef(e){return"online"!==(null!=e?e:"online")||Yh.isOnline()}class tf{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function nf(e){return e instanceof tf}function of(e){let t,n,o,a=!1,i=0,r=!1;const s=new Promise(((e,t)=>{n=e,o=t})),c=()=>!Jh.isFocused()||"always"!==e.networkMode&&!Yh.isOnline(),u=o=>{r||(r=!0,null==e.onSuccess||e.onSuccess(o),null==t||t(),n(o))},l=n=>{r||(r=!0,null==e.onError||e.onError(n),null==t||t(),o(n))},p=()=>new Promise((n=>{t=e=>{const t=r||!c();return t&&n(e),t},null==e.onPause||e.onPause()})).then((()=>{t=void 0,r||null==e.onContinue||e.onContinue()})),d=()=>{if(r)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(u).catch((t=>{var n,o;if(r)return;const s=null!=(n=e.retry)?n:3,u=null!=(o=e.retryDelay)?o:Zh,m="function"==typeof u?u(i,t):u,h=!0===s||"number"==typeof s&&i<s||"function"==typeof s&&s(i,t);!a&&h?(i++,null==e.onFail||e.onFail(i,t),Kh(m).then((()=>{if(c())return p()})).then((()=>{a?l(t):d()}))):l(t)}))};return ef(e.networkMode)?d():p().then(d),{promise:s,cancel:t=>{r||(l(new tf(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?s:Promise.resolve(),cancelRetry:()=>{a=!0},continueRetry:()=>{a=!1}}}const af=console;const rf=function(){let e=[],t=0,n=e=>{e()},o=e=>{e()};const a=o=>{t?e.push(o):$h((()=>{n(o)}))},i=()=>{const t=e;e=[],t.length&&$h((()=>{o((()=>{t.forEach((e=>{n(e)}))}))}))};return{batch:e=>{let n;t++;try{n=e()}finally{t--,t||i()}return n},batchCalls:e=>(...t)=>{a((()=>{e(...t)}))},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{o=e}}}();class sf{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ih(this.cacheTime)&&(this.gcTimeout=setTimeout((()=>{this.optionalRemove()}),this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:Th?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class cf extends sf{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||af,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,o=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=o?o:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){const n=Qh(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(Ah).catch(Ah):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some((e=>!1!==e.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((e=>e.getCurrentResult().isStale))}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Oh(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find((e=>e.shouldFetchOnWindowFocus()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;const t=this.observers.find((e=>e.shouldFetchOnReconnect()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,o;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var a;return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}"production"!==process.env.NODE_ENV&&(Array.isArray(this.options.queryKey)||this.logger.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const i=function(){if("function"==typeof AbortController)return new AbortController}(),r={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},s=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(i)return this.abortSignalConsumed=!0,i.signal}})};s(r);const c={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(r)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};var u;(s(c),null==(n=this.options.behavior)||n.onFetch(c),this.revertState=this.state,"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(o=c.fetchOptions)?void 0:o.meta))&&this.dispatch({type:"fetch",meta:null==(u=c.fetchOptions)?void 0:u.meta});const l=e=>{var t,n,o,a;(nf(e)&&e.silent||this.dispatch({type:"error",error:e}),nf(e))||(null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(o=(a=this.cache.config).onSettled)||o.call(a,this.state.data,e,this),"production"!==process.env.NODE_ENV&&this.logger.error(e));this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=of({fn:c.fetchFn,abort:null==i?void 0:i.abort.bind(i),onSuccess:e=>{var t,n,o,a;if(void 0===e)return"production"!==process.env.NODE_ENV&&this.logger.error("Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: "+this.queryHash),void l(new Error(this.queryHash+" data is undefined"));this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(o=(a=this.cache.config).onSettled)||o.call(a,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var n,o;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:ef(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(o=e.dataUpdatedAt)?o:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=e.error;return nf(a)&&a.revert&&this.revertState?{...this.revertState,fetchStatus:"idle"}:{...t,error:a,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),rf.batch((()=>{this.observers.forEach((t=>{t.onQueryUpdate(e)})),this.cache.notify({query:this,type:"updated",action:e})}))}}class uf extends Rh{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var o;const a=t.queryKey,i=null!=(o=t.queryHash)?o:qh(a,t);let r=this.get(i);return r||(r=new cf({cache:this,logger:e.getLogger(),queryKey:a,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(a)}),this.add(r)),r}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((t=>t!==e)),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){rf.batch((()=>{this.queries.forEach((e=>{this.remove(e)}))}))}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=Ph(e,t);return void 0===n.exact&&(n.exact=!0),this.queries.find((e=>Lh(n,e)))}findAll(e,t){const[n]=Ph(e,t);return Object.keys(n).length>0?this.queries.filter((e=>Lh(n,e))):this.queries}notify(e){rf.batch((()=>{this.listeners.forEach((({listener:t})=>{t(e)}))}))}onFocus(){rf.batch((()=>{this.queries.forEach((e=>{e.onFocus()}))}))}onOnline(){rf.batch((()=>{this.queries.forEach((e=>{e.onOnline()}))}))}}class lf extends sf{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||af,this.observers=[],this.state=e.state||pf(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter((t=>t!==e)),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){const e=()=>{var e;return this.retryer=of({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t="loading"===this.state.status;try{var n,o,a,i,r,s,c,u;if(!t){var l,p,d,m;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(l=(p=this.mutationCache.config).onMutate)?void 0:l.call(p,this.state.variables,this));const e=await(null==(d=(m=this.options).onMutate)?void 0:d.call(m,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}const h=await e();return await(null==(n=(o=this.mutationCache.config).onSuccess)?void 0:n.call(o,h,this.state.variables,this.state.context,this)),await(null==(a=(i=this.options).onSuccess)?void 0:a.call(i,h,this.state.variables,this.state.context)),await(null==(r=(s=this.mutationCache.config).onSettled)?void 0:r.call(s,h,null,this.state.variables,this.state.context,this)),await(null==(c=(u=this.options).onSettled)?void 0:c.call(u,h,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:h}),h}catch(e){try{var h,f,g,y,v,b,k,x;throw await(null==(h=(f=this.mutationCache.config).onError)?void 0:h.call(f,e,this.state.variables,this.state.context,this)),"production"!==process.env.NODE_ENV&&this.logger.error(e),await(null==(g=(y=this.options).onError)?void 0:g.call(y,e,this.state.variables,this.state.context)),await(null==(v=(b=this.mutationCache.config).onSettled)?void 0:v.call(b,void 0,e,this.state.variables,this.state.context,this)),await(null==(k=(x=this.options).onSettled)?void 0:k.call(x,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!ef(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),rf.batch((()=>{this.observers.forEach((t=>{t.onMutationUpdate(e)})),this.mutationCache.notify({mutation:this,type:"updated",action:e})}))}}function pf(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class df extends Rh{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const o=new lf({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(o),o}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter((t=>t!==e)),this.notify({type:"removed",mutation:e})}clear(){rf.batch((()=>{this.mutations.forEach((e=>{this.remove(e)}))}))}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((t=>Dh(e,t)))}findAll(e){return this.mutations.filter((t=>Dh(e,t)))}notify(e){rf.batch((()=>{this.listeners.forEach((({listener:t})=>{t(e)}))}))}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then((()=>{const e=this.mutations.filter((e=>e.state.isPaused));return rf.batch((()=>e.reduce(((e,t)=>e.then((()=>t.continue().catch(Ah)))),Promise.resolve())))})).then((()=>{this.resuming=void 0})),this.resuming}}function mf(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,o,a,i,r;const s=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,c=null==(o=e.fetchOptions)||null==(a=o.meta)?void 0:a.fetchMore,u=null==c?void 0:c.pageParam,l="forward"===(null==c?void 0:c.direction),p="backward"===(null==c?void 0:c.direction),d=(null==(i=e.state.data)?void 0:i.pages)||[],m=(null==(r=e.state.data)?void 0:r.pageParams)||[];let h=m,f=!1;const g=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),y=(e,t,n,o)=>(h=o?[t,...h]:[...h,t],o?[n,...e]:[...e,n]),v=(t,n,o,a)=>{if(f)return Promise.reject("Cancelled");if(void 0===o&&!n&&t.length)return Promise.resolve(t);const i={queryKey:e.queryKey,pageParam:o,meta:e.options.meta};var r;r=i,Object.defineProperty(r,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?f=!0:null==(n=e.signal)||n.addEventListener("abort",(()=>{f=!0})),e.signal}});const s=g(i);return Promise.resolve(s).then((e=>y(t,o,e,a)))};let b;if(d.length)if(l){const t=void 0!==u,n=t?u:hf(e.options,d);b=v(d,t,n)}else if(p){const t=void 0!==u,n=t?u:(k=e.options,x=d,null==k.getPreviousPageParam?void 0:k.getPreviousPageParam(x[0],x));b=v(d,t,n,!0)}else{h=[];const t=void 0===e.options.getNextPageParam;b=!s||!d[0]||s(d[0],0,d)?v([],t,m[0]):Promise.resolve(y([],m[0],d[0]));for(let n=1;n<d.length;n++)b=b.then((o=>{if(!s||!d[n]||s(d[n],n,d)){const a=t?m[n]:hf(e.options,o);return v(o,t,a)}return Promise.resolve(y(o,m[n],d[n]))}))}else b=v([]);var k,x;const w=b.then((e=>({pages:e,pageParams:h})));return w}}}}function hf(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}class ff extends Rh{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),gf(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return yf(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return yf(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,o=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),"production"!==process.env.NODE_ENV&&void 0!==(null==e?void 0:e.isDataEqual)&&this.client.getLogger().error("The isDataEqual option has been deprecated and will be removed in the next major version. You can achieve the same functionality by passing a function as the structuralSharing option"),Uh(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const a=this.hasListeners();a&&vf(this.currentQuery,o,this.options,n)&&this.executeFetch(),this.updateResult(t),!a||this.currentQuery===o&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const i=this.computeRefetchInterval();!a||this.currentQuery===o&&this.options.enabled===n.enabled&&i===this.currentRefetchInterval||this.updateRefetchInterval(i)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e),n=this.createResult(t,e);return function(e,t,n){if(n.keepPreviousData)return!1;if(void 0!==n.placeholderData)return t.isPlaceholderData;if(!Uh(e.getCurrentResult(),t))return!0;return!1}(this,n,e)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach((n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})})),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then((()=>(this.updateResult(),this.currentResult)))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(Ah)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),Th||this.currentResult.isStale||!Ih(this.options.staleTime))return;const e=Oh(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((()=>{this.currentResult.isStale||this.updateResult()}),e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!Th&&!1!==this.options.enabled&&Ih(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((()=>{(this.options.refetchIntervalInBackground||Jh.isFocused())&&this.executeFetch()}),this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,o=this.options,a=this.currentResult,i=this.currentResultState,r=this.currentResultOptions,s=e!==n,c=s?e.state:this.currentQueryInitialState,u=s?this.currentResult:this.previousQueryResult,{state:l}=e;let p,{dataUpdatedAt:d,error:m,errorUpdatedAt:h,fetchStatus:f,status:g}=l,y=!1,v=!1;if(t._optimisticResults){const a=this.hasListeners(),i=!a&&gf(e,t),r=a&&vf(e,n,t,o);(i||r)&&(f=ef(e.options.networkMode)?"fetching":"paused",d||(g="loading")),"isRestoring"===t._optimisticResults&&(f="idle")}if(t.keepPreviousData&&!l.dataUpdatedAt&&null!=u&&u.isSuccess&&"error"!==g)p=u.data,d=u.dataUpdatedAt,g=u.status,y=!0;else if(t.select&&void 0!==l.data)if(a&&l.data===(null==i?void 0:i.data)&&t.select===this.selectFn)p=this.selectResult;else try{this.selectFn=t.select,p=t.select(l.data),p=Qh(null==a?void 0:a.data,p,t),this.selectResult=p,this.selectError=null}catch(e){"production"!==process.env.NODE_ENV&&this.client.getLogger().error(e),this.selectError=e}else p=l.data;if(void 0!==t.placeholderData&&void 0===p&&"loading"===g){let e;if(null!=a&&a.isPlaceholderData&&t.placeholderData===(null==r?void 0:r.placeholderData))e=a.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){"production"!==process.env.NODE_ENV&&this.client.getLogger().error(e),this.selectError=e}void 0!==e&&(g="success",p=Qh(null==a?void 0:a.data,e,t),v=!0)}this.selectError&&(m=this.selectError,p=this.selectResult,h=Date.now(),g="error");const b="fetching"===f,k="loading"===g,x="error"===g;return{status:g,fetchStatus:f,isLoading:k,isSuccess:"success"===g,isError:x,isInitialLoading:k&&b,data:p,dataUpdatedAt:d,error:m,errorUpdatedAt:h,failureCount:l.fetchFailureCount,failureReason:l.fetchFailureReason,errorUpdateCount:l.errorUpdateCount,isFetched:l.dataUpdateCount>0||l.errorUpdateCount>0,isFetchedAfterMount:l.dataUpdateCount>c.dataUpdateCount||l.errorUpdateCount>c.errorUpdateCount,isFetching:b,isRefetching:b&&!k,isLoadingError:x&&0===l.dataUpdatedAt,isPaused:"paused"===f,isPlaceholderData:v,isPreviousData:y,isRefetchError:x&&0!==l.dataUpdatedAt,isStale:bf(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,Uh(n,t))return;this.currentResult=n;const o={cache:!0};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.trackedProps.size)return!0;const o=new Set(null!=n?n:this.trackedProps);return this.options.useErrorBoundary&&o.add("error"),Object.keys(this.currentResult).some((e=>{const n=e;return this.currentResult[n]!==t[n]&&o.has(n)}))})()&&(o.listeners=!0),this.notify({...o,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||nf(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){rf.batch((()=>{var t,n,o,a;if(e.onSuccess)null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(o=(a=this.options).onSettled)||o.call(a,this.currentResult.data,null);else if(e.onError){var i,r,s,c;null==(i=(r=this.options).onError)||i.call(r,this.currentResult.error),null==(s=(c=this.options).onSettled)||s.call(c,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach((({listener:e})=>{e(this.currentResult)})),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})}))}}function gf(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&yf(e,t,t.refetchOnMount)}function yf(e,t,n){if(!1!==t.enabled){const o="function"==typeof n?n(e):n;return"always"===o||!1!==o&&bf(e,t)}return!1}function vf(e,t,n,o){return!1!==n.enabled&&(e!==t||!1===o.enabled)&&(!n.suspense||"error"!==e.state.status)&&bf(e,n)}function bf(e,t){return e.isStaleByTime(t.staleTime)}class kf extends Rh{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;const n=this.options;this.options=this.client.defaultMutationOptions(e),Uh(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.currentMutation)||e.removeObserver(this))}onMutationUpdate(e){this.updateResult();const t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const e=this.currentMutation?this.currentMutation.state:{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){rf.batch((()=>{var t,n,o,a;if(this.mutateOptions&&this.hasListeners())if(e.onSuccess)null==(t=(n=this.mutateOptions).onSuccess)||t.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(o=(a=this.mutateOptions).onSettled)||o.call(a,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context);else if(e.onError){var i,r,s,c;null==(i=(r=this.mutateOptions).onError)||i.call(r,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(s=(c=this.mutateOptions).onSettled)||s.call(c,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}e.listeners&&this.listeners.forEach((({listener:e})=>{e(this.currentResult)}))}))}}var xf,wf={exports:{}},jf={};var _f,Ef={};
|
|
215
215
|
/**
|
|
216
216
|
* @license React
|
|
217
217
|
* use-sync-external-store-shim.development.js
|
|
@@ -220,7 +220,7 @@ function Jo(e){const t=Qo.parse(e),n={};for(const e in t)void 0!==t[e]&&(n[e]=t[
|
|
|
220
220
|
*
|
|
221
221
|
* This source code is licensed under the MIT license found in the
|
|
222
222
|
* LICENSE file in the root directory of this source tree.
|
|
223
|
-
*/"production"===process.env.NODE_ENV?wf.exports=function(){if(xf)return jf;xf=1;var e=h,t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useState,o=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function r(e){var n=e.getSnapshot;e=e.value;try{var o=n();return!t(e,o)}catch(e){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var s=t(),c=n({inst:{value:s,getSnapshot:t}}),u=c[0].inst,l=c[1];return a((function(){u.value=s,u.getSnapshot=t,r(u)&&l({inst:u})}),[e,s,t]),o((function(){return r(u)&&l({inst:u}),e((function(){r(u)&&l({inst:u})}))}),[e]),i(s),s};return jf.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:s,jf}():wf.exports=(_f||(_f=1,"production"!==process.env.NODE_ENV&&function(){function e(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!n(e,o)}catch(e){return!0}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=h,n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=t.useState,a=t.useEffect,i=t.useLayoutEffect,r=t.useDebugValue,s=!1,c=!1,u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(u,l){s||void 0===t.startTransition||(s=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var p=l();if(!c){var d=l();n(p,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var m=(d=o({inst:{value:p,getSnapshot:l}}))[0].inst,h=d[1];return i((function(){m.value=p,m.getSnapshot=l,e(m)&&h({inst:m})}),[u,p,l]),a((function(){return e(m)&&h({inst:m}),u((function(){e(m)&&h({inst:m})}))}),[u]),r(p),p};Ef.useSyncExternalStore=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:u,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Ef);var Cf=wf.exports;const Sf=Cf.useSyncExternalStore,Rf=g.createContext(void 0),Tf=g.createContext(!1);function Af(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Rf),window.ReactQueryClientContext):Rf)}const If=({context:e}={})=>{const t=g.useContext(Af(e,g.useContext(Tf)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Of=({client:e,children:t,context:n,contextSharing:o=!1})=>{g.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),"production"!==process.env.NODE_ENV&&o&&e.getLogger().error("The contextSharing option has been deprecated and will be removed in the next major version");const a=Af(n,o);return g.createElement(Tf.Provider,{value:!n&&o},g.createElement(a.Provider,{value:e},t))},zf=g.createContext(!1);zf.Provider;const Pf=g.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}());function Lf(e,t){return"function"==typeof e?e(...t):!!e}function Df(e,t){const n=If({context:e.context}),o=g.useContext(zf),a=g.useContext(Pf),i=n.defaultQueryOptions(e);i._optimisticResults=o?"isRestoring":"optimistic",i.onError&&(i.onError=rf.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=rf.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=rf.batchCalls(i.onSettled)),(e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)})(i),((e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))})(i,a),(e=>{g.useEffect((()=>{e.clearReset()}),[e])})(a);const[r]=g.useState((()=>new t(n,i))),s=r.getOptimisticResult(i);if(Sf(g.useCallback((e=>{const t=o?()=>{}:r.subscribe(rf.batchCalls(e));return r.updateResult(),t}),[r,o]),(()=>r.getCurrentResult()),(()=>r.getCurrentResult())),g.useEffect((()=>{r.setOptions(i,{listeners:!1})}),[i,r]),((e,t,n)=>(null==e?void 0:e.suspense)&&((e,t)=>e.isLoading&&e.isFetching&&!t)(t,n))(i,s,o))throw((e,t,n)=>t.fetchOptimistic(e).then((({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)})).catch((t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)})))(i,r,a);if((({result:e,errorResetBoundary:t,useErrorBoundary:n,query:o})=>e.isError&&!t.isReset()&&!e.isFetching&&Lf(n,[e.error,o]))({result:s,errorResetBoundary:a,useErrorBoundary:i.useErrorBoundary,query:r.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:r.trackResult(s)}function qf(e,t,n){return Df(zh(e,t,n),ff)}function Nf(e,t,n){const o=function(e,t,n){return Hh(e)?"function"==typeof t?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}(e,t,n),a=If({context:o.context}),[i]=g.useState((()=>new kf(a,o)));g.useEffect((()=>{i.setOptions(o)}),[i,o]);const r=Sf(g.useCallback((e=>i.subscribe(rf.batchCalls(e))),[i]),(()=>i.getCurrentResult()),(()=>i.getCurrentResult())),s=g.useCallback(((e,t)=>{i.mutate(e,t).catch(Mf)}),[i]);if(r.error&&Lf(i.options.useErrorBoundary,[r.error]))throw r.error;return{...r,mutate:s,mutateAsync:r.mutate}}function Mf(){}var Ff=new uf({}),Bf=new class{constructor(e={}){this.queryCache=e.queryCache||new uf,this.mutationCache=e.mutationCache||new df,this.logger=e.logger||af,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0,"production"!==process.env.NODE_ENV&&e.logger&&this.logger.error("Passing a custom logger has been deprecated and will be removed in the next major version.")}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=Jh.subscribe((()=>{Jh.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=Yh.subscribe((()=>{Yh.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=Ph(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const o=zh(e,t,n),a=this.getQueryData(o.queryKey);return a?Promise.resolve(a):this.fetchQuery(o)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const o=this.queryCache.find(e),a=function(e,t){return"function"==typeof e?e(t):e}(t,null==o?void 0:o.state.data);if(void 0===a)return;const i=zh(e),r=this.defaultQueryOptions(i);return this.queryCache.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return rf.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=Ph(e,t),o=this.queryCache;rf.batch((()=>{o.findAll(n).forEach((e=>{o.remove(e)}))}))}resetQueries(e,t,n){const[o,a]=Ph(e,t,n),i=this.queryCache,r={type:"active",...o};return rf.batch((()=>(i.findAll(o).forEach((e=>{e.reset()})),this.refetchQueries(r,a))))}cancelQueries(e,t,n){const[o,a={}]=Ph(e,t,n);void 0===a.revert&&(a.revert=!0);const i=rf.batch((()=>this.queryCache.findAll(o).map((e=>e.cancel(a)))));return Promise.all(i).then(Ah).catch(Ah)}invalidateQueries(e,t,n){const[o,a]=Ph(e,t,n);return rf.batch((()=>{var e,t;if(this.queryCache.findAll(o).forEach((e=>{e.invalidate()})),"none"===o.refetchType)return Promise.resolve();const n={...o,type:null!=(e=null!=(t=o.refetchType)?t:o.type)?e:"active"};return this.refetchQueries(n,a)}))}refetchQueries(e,t,n){const[o,a]=Ph(e,t,n),i=rf.batch((()=>this.queryCache.findAll(o).filter((e=>!e.isDisabled())).map((e=>{var t;return e.fetch(void 0,{...a,cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:o.refetchPage}})}))));let r=Promise.all(i).then(Ah);return null!=a&&a.throwOnError||(r=r.catch(Ah)),r}fetchQuery(e,t,n){const o=zh(e,t,n),a=this.defaultQueryOptions(o);void 0===a.retry&&(a.retry=!1);const i=this.queryCache.build(this,a);return i.isStaleByTime(a.staleTime)?i.fetch(a):Promise.resolve(i.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(Ah).catch(Ah)}fetchInfiniteQuery(e,t,n){const o=zh(e,t,n);return o.behavior=mf(),this.fetchQuery(o)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(Ah).catch(Ah)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find((t=>Nh(e)===Nh(t.queryKey)));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find((t=>Mh(e,t.queryKey)));if("production"!==process.env.NODE_ENV){this.queryDefaults.filter((t=>Mh(e,t.queryKey))).length>1&&this.logger.error("[QueryClient] Several query defaults match with key '"+JSON.stringify(e)+"'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults.")}return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find((t=>Nh(e)===Nh(t.mutationKey)));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find((t=>Mh(e,t.mutationKey)));if("production"!==process.env.NODE_ENV){this.mutationDefaults.filter((t=>Mh(e,t.mutationKey))).length>1&&this.logger.error("[QueryClient] Several mutation defaults match with key '"+JSON.stringify(e)+"'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults.")}return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=qh(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1,staleTime:3e5,useErrorBoundary:!0}},queryCache:Ff});var Uf=function(){var e,t;return null===(t=null===(e=function(e){var t=localStorage.getItem(e),n=h.useState(t&&JSON.parse(t)),o=n[0],a=n[1];return h.useEffect((function(){var t=function(t){if(t.key===e){var n=t.newValue;a(n)}};return window.addEventListener("storage",t),function(){window.removeEventListener("storage",t)}}),[e]),o}("account"))||void 0===e?void 0:e.value)||void 0===t?void 0:t.organization_code};var Gf=function(e){return["checkout-builder-name-and-icon",e.paymentMethodType,e.type]},Wf=function(e){return["checkout-builder-required-fields",e.paymentMethodType,e.type]};var Vf={key:"metadata_fields",name:"metadata_fields"};var Hf=function(e){if(!e)return"";var t=new Date(e);return"".concat(["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][t.getUTCMonth()]," ").concat(t.getUTCDate())},Kf=function(e,t,n){if(!t||!n)return e||[];var o=function(e,t){var n=[],o=new Date(e),a=new Date(t);o.setUTCHours(0,0,0,0),a.setUTCHours(0,0,0,0);for(var i=new Date(o);i<=a;)n.push(i.toISOString()),i.setUTCDate(i.getUTCDate()+1);return n}(t,n),a=new Map;return null==e||e.forEach((function(e){if(e.date){var t=new Date(e.date).toISOString().split("T")[0];a.set(t,e.value)}})),o.map((function(e){var t=e.split("T")[0];return{date:e,value:a.get(t)||"0"}}))},$f=function(e){var t,n=null===(t=e.plots)||void 0===t?void 0:t[0];if(!n||!n.rows)return{distribution:[],total:0};var o=parseFloat(n.value||"0");return{distribution:n.rows.map((function(e){var t,n=100*parseFloat(e.value),a=Math.round(o*parseFloat(e.value)),i=(null===(t=e.label)||void 0===t?void 0:t.toUpperCase())||"UNKNOWN";return"NO_ANSWER"===i?i="NO_ANSWER":"VOICEMAIL"===i?i="VOICEMAIL":"INITIATED"===i?i="INITIATED":"COMPLETED"===i?i="SUCCEEDED":"FAILED"===i?i="DECLINED":"BUSY"===i?i="BUSY":"CREATED"===i&&(i="CREATED"),{key:i,total:a,percentage:n,amount:a}})),total:o}},Qf=function(e,t,n){var o,a={};return null===(o=e.plots)||void 0===o||o.forEach((function(e){var o=Kf(e.rows,t,n),i=e.label;"COMPLETED"===i?i="SUCCEEDED":"FAILED"===i?i="DECLINED":"INITIATED"===i&&(i="PENDING"),a[i]=o.map((function(e){return{key:e.date||"",total:100*parseFloat(e.value),current_label:Hf(e.date||""),current_amount:100*parseFloat(e.value)}}))})),a},Jf=function(e,t,n){var o,a=null===(o=e.plots)||void 0===o?void 0:o[0];return{distribution:Kf(null==a?void 0:a.rows,t,n).map((function(e){return{key:e.date||"",total:parseFloat(e.value),current_label:Hf(e.date||""),current_amount:parseFloat(e.value)}})),total:parseFloat((null==a?void 0:a.value)||"0"),total_amount:parseFloat((null==a?void 0:a.value)||"0")}},Xf=function(e,t,n){var o,a=null===(o=e.plots)||void 0===o?void 0:o[0];return{distribution:Kf(null==a?void 0:a.rows,t,n).map((function(e){return{key:e.date||"",total:parseFloat(e.value),current_label:Hf(e.date||""),current_amount:parseFloat(e.value)}})),total:parseFloat((null==a?void 0:a.value)||"0"),total_amount:parseFloat((null==a?void 0:a.value)||"0")}};function Yf(){return Yf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Yf.apply(this,arguments)}
|
|
223
|
+
*/"production"===process.env.NODE_ENV?wf.exports=function(){if(xf)return jf;xf=1;var e=h,t="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useState,o=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function r(e){var n=e.getSnapshot;e=e.value;try{var o=n();return!t(e,o)}catch(e){return!0}}var s="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var s=t(),c=n({inst:{value:s,getSnapshot:t}}),u=c[0].inst,l=c[1];return a((function(){u.value=s,u.getSnapshot=t,r(u)&&l({inst:u})}),[e,s,t]),o((function(){return r(u)&&l({inst:u}),e((function(){r(u)&&l({inst:u})}))}),[e]),i(s),s};return jf.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:s,jf}():wf.exports=(_f||(_f=1,"production"!==process.env.NODE_ENV&&function(){function e(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!n(e,o)}catch(e){return!0}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=h,n="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=t.useState,a=t.useEffect,i=t.useLayoutEffect,r=t.useDebugValue,s=!1,c=!1,u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(u,l){s||void 0===t.startTransition||(s=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var p=l();if(!c){var d=l();n(p,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var m=(d=o({inst:{value:p,getSnapshot:l}}))[0].inst,h=d[1];return i((function(){m.value=p,m.getSnapshot=l,e(m)&&h({inst:m})}),[u,p,l]),a((function(){return e(m)&&h({inst:m}),u((function(){e(m)&&h({inst:m})}))}),[u]),r(p),p};Ef.useSyncExternalStore=void 0!==t.useSyncExternalStore?t.useSyncExternalStore:u,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Ef);var Cf=wf.exports;const Sf=Cf.useSyncExternalStore,Rf=g.createContext(void 0),Tf=g.createContext(!1);function Af(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Rf),window.ReactQueryClientContext):Rf)}const If=({context:e}={})=>{const t=g.useContext(Af(e,g.useContext(Tf)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Of=({client:e,children:t,context:n,contextSharing:o=!1})=>{g.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),"production"!==process.env.NODE_ENV&&o&&e.getLogger().error("The contextSharing option has been deprecated and will be removed in the next major version");const a=Af(n,o);return g.createElement(Tf.Provider,{value:!n&&o},g.createElement(a.Provider,{value:e},t))},zf=g.createContext(!1);zf.Provider;const Pf=g.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}());function Lf(e,t){return"function"==typeof e?e(...t):!!e}function Df(e,t){const n=If({context:e.context}),o=g.useContext(zf),a=g.useContext(Pf),i=n.defaultQueryOptions(e);i._optimisticResults=o?"isRestoring":"optimistic",i.onError&&(i.onError=rf.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=rf.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=rf.batchCalls(i.onSettled)),(e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)})(i),((e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))})(i,a),(e=>{g.useEffect((()=>{e.clearReset()}),[e])})(a);const[r]=g.useState((()=>new t(n,i))),s=r.getOptimisticResult(i);if(Sf(g.useCallback((e=>{const t=o?()=>{}:r.subscribe(rf.batchCalls(e));return r.updateResult(),t}),[r,o]),(()=>r.getCurrentResult()),(()=>r.getCurrentResult())),g.useEffect((()=>{r.setOptions(i,{listeners:!1})}),[i,r]),((e,t,n)=>(null==e?void 0:e.suspense)&&((e,t)=>e.isLoading&&e.isFetching&&!t)(t,n))(i,s,o))throw((e,t,n)=>t.fetchOptimistic(e).then((({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)})).catch((t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)})))(i,r,a);if((({result:e,errorResetBoundary:t,useErrorBoundary:n,query:o})=>e.isError&&!t.isReset()&&!e.isFetching&&Lf(n,[e.error,o]))({result:s,errorResetBoundary:a,useErrorBoundary:i.useErrorBoundary,query:r.getCurrentQuery()}))throw s.error;return i.notifyOnChangeProps?s:r.trackResult(s)}function qf(e,t,n){return Df(zh(e,t,n),ff)}function Nf(e,t,n){const o=function(e,t,n){return Hh(e)?"function"==typeof t?{...n,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}(e,t,n),a=If({context:o.context}),[i]=g.useState((()=>new kf(a,o)));g.useEffect((()=>{i.setOptions(o)}),[i,o]);const r=Sf(g.useCallback((e=>i.subscribe(rf.batchCalls(e))),[i]),(()=>i.getCurrentResult()),(()=>i.getCurrentResult())),s=g.useCallback(((e,t)=>{i.mutate(e,t).catch(Mf)}),[i]);if(r.error&&Lf(i.options.useErrorBoundary,[r.error]))throw r.error;return{...r,mutate:s,mutateAsync:r.mutate}}function Mf(){}var Ff=new uf({}),Bf=new class{constructor(e={}){this.queryCache=e.queryCache||new uf,this.mutationCache=e.mutationCache||new df,this.logger=e.logger||af,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0,"production"!==process.env.NODE_ENV&&e.logger&&this.logger.error("Passing a custom logger has been deprecated and will be removed in the next major version.")}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=Jh.subscribe((()=>{Jh.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=Yh.subscribe((()=>{Yh.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=Ph(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const o=zh(e,t,n),a=this.getQueryData(o.queryKey);return a?Promise.resolve(a):this.fetchQuery(o)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const o=this.queryCache.find(e),a=function(e,t){return"function"==typeof e?e(t):e}(t,null==o?void 0:o.state.data);if(void 0===a)return;const i=zh(e),r=this.defaultQueryOptions(i);return this.queryCache.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return rf.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=Ph(e,t),o=this.queryCache;rf.batch((()=>{o.findAll(n).forEach((e=>{o.remove(e)}))}))}resetQueries(e,t,n){const[o,a]=Ph(e,t,n),i=this.queryCache,r={type:"active",...o};return rf.batch((()=>(i.findAll(o).forEach((e=>{e.reset()})),this.refetchQueries(r,a))))}cancelQueries(e,t,n){const[o,a={}]=Ph(e,t,n);void 0===a.revert&&(a.revert=!0);const i=rf.batch((()=>this.queryCache.findAll(o).map((e=>e.cancel(a)))));return Promise.all(i).then(Ah).catch(Ah)}invalidateQueries(e,t,n){const[o,a]=Ph(e,t,n);return rf.batch((()=>{var e,t;if(this.queryCache.findAll(o).forEach((e=>{e.invalidate()})),"none"===o.refetchType)return Promise.resolve();const n={...o,type:null!=(e=null!=(t=o.refetchType)?t:o.type)?e:"active"};return this.refetchQueries(n,a)}))}refetchQueries(e,t,n){const[o,a]=Ph(e,t,n),i=rf.batch((()=>this.queryCache.findAll(o).filter((e=>!e.isDisabled())).map((e=>{var t;return e.fetch(void 0,{...a,cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:o.refetchPage}})}))));let r=Promise.all(i).then(Ah);return null!=a&&a.throwOnError||(r=r.catch(Ah)),r}fetchQuery(e,t,n){const o=zh(e,t,n),a=this.defaultQueryOptions(o);void 0===a.retry&&(a.retry=!1);const i=this.queryCache.build(this,a);return i.isStaleByTime(a.staleTime)?i.fetch(a):Promise.resolve(i.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(Ah).catch(Ah)}fetchInfiniteQuery(e,t,n){const o=zh(e,t,n);return o.behavior=mf(),this.fetchQuery(o)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(Ah).catch(Ah)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find((t=>Nh(e)===Nh(t.queryKey)));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find((t=>Mh(e,t.queryKey)));if("production"!==process.env.NODE_ENV){this.queryDefaults.filter((t=>Mh(e,t.queryKey))).length>1&&this.logger.error("[QueryClient] Several query defaults match with key '"+JSON.stringify(e)+"'. The first matching query defaults are used. Please check how query defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetquerydefaults.")}return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find((t=>Nh(e)===Nh(t.mutationKey)));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find((t=>Mh(e,t.mutationKey)));if("production"!==process.env.NODE_ENV){this.mutationDefaults.filter((t=>Mh(e,t.mutationKey))).length>1&&this.logger.error("[QueryClient] Several mutation defaults match with key '"+JSON.stringify(e)+"'. The first matching mutation defaults are used. Please check how mutation defaults are registered. Order does matter here. cf. https://react-query.tanstack.com/reference/QueryClient#queryclientsetmutationdefaults.")}return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=qh(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}({defaultOptions:{queries:{refetchOnWindowFocus:!1,refetchOnReconnect:!1,retry:!1,staleTime:3e5,useErrorBoundary:!0}},queryCache:Ff});var Uf=function(){var e,t;return null===(t=null===(e=function(e){var t=localStorage.getItem(e),n=h.useState(t&&JSON.parse(t)),o=n[0],a=n[1];return h.useEffect((function(){var t=function(t){if(t.key===e){var n=t.newValue;a(n)}};return window.addEventListener("storage",t),function(){window.removeEventListener("storage",t)}}),[e]),o}("account"))||void 0===e?void 0:e.value)||void 0===t?void 0:t.organization_code};var Gf=function(e){return["checkout-builder-name-and-icon",e.paymentMethodType,e.type]},Wf=function(e){return["checkout-builder-required-fields",e.paymentMethodType,e.type]};var Vf={key:"metadata_fields",name:"metadata_fields"};var Hf=function(e){if(!e)return"";var t=new Date(e);return"".concat(["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][t.getUTCMonth()]," ").concat(t.getUTCDate())},Kf=function(e,t,n){if(!t||!n)return e||[];var o=function(e,t){var n=[],o=new Date(e),a=new Date(t);o.setUTCHours(0,0,0,0),a.setUTCHours(0,0,0,0);for(var i=new Date(o);i<=a;)n.push(i.toISOString()),i.setUTCDate(i.getUTCDate()+1);return n}(t,n),a=new Map;return null==e||e.forEach((function(e){if(e.date){var t=new Date(e.date).toISOString().split("T")[0];a.set(t,e.value)}})),o.map((function(e){var t=e.split("T")[0];return{date:e,value:a.get(t)||"0"}}))},$f=function(e){var t,n=null===(t=e.plots)||void 0===t?void 0:t[0];if(!n||!n.rows)return{distribution:[],total:0};var o=parseFloat(n.value||"0");return{distribution:n.rows.map((function(e){var t,n=100*parseFloat(e.value),a=Math.round(o*parseFloat(e.value));return{key:(null===(t=e.label)||void 0===t?void 0:t.toUpperCase())||"UNKNOWN",total:a,percentage:n,amount:a}})),total:o}},Qf=function(e,t,n){var o,a={};return null===(o=e.plots)||void 0===o||o.forEach((function(e){var o=Kf(e.rows,t,n),i=e.label;a[i]=o.map((function(e){return{key:e.date||"",total:100*parseFloat(e.value),current_label:Hf(e.date||""),current_amount:100*parseFloat(e.value)}}))})),a},Jf=function(e,t,n){var o,a=null===(o=e.plots)||void 0===o?void 0:o[0];return{distribution:Kf(null==a?void 0:a.rows,t,n).map((function(e){return{key:e.date||"",total:parseFloat(e.value),current_label:Hf(e.date||""),current_amount:parseFloat(e.value)}})),total:parseFloat((null==a?void 0:a.value)||"0"),total_amount:parseFloat((null==a?void 0:a.value)||"0")}},Xf=function(e,t,n){var o,a=null===(o=e.plots)||void 0===o?void 0:o[0];return{distribution:Kf(null==a?void 0:a.rows,t,n).map((function(e){return{key:e.date||"",total:parseFloat(e.value),current_label:Hf(e.date||""),current_amount:parseFloat(e.value)}})),total:parseFloat((null==a?void 0:a.value)||"0"),total_amount:parseFloat((null==a?void 0:a.value)||"0")}};function Yf(){return Yf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Yf.apply(this,arguments)}
|
|
224
224
|
/**
|
|
225
225
|
* match-sorter-utils
|
|
226
226
|
*
|
|
@@ -237,5 +237,5 @@ function Jo(e){const t=Qo.parse(e),n={};for(const e in t)void 0!==t[e]&&(n[e]=t[
|
|
|
237
237
|
* @copyright (c) 2099 Kent C. Dodds
|
|
238
238
|
* @author Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)
|
|
239
239
|
*/
|
|
240
|
-
const ng=7,og=6,ag=5,ig=4,rg=3,sg=2,cg=1,ug=0;function lg(e,t,n){var o;if((n=n||{}).threshold=null!=(o=n.threshold)?o:cg,!n.accessors){const o=pg(e,t,n);return{rankedValue:e,rank:o,accessorIndex:-1,accessorThreshold:n.threshold,passed:o>=n.threshold}}const a=function(e,t){const n=[];for(let o=0,a=t.length;o<a;o++){const a=t[o],i=fg(a),r=mg(e,a);for(let e=0,t=r.length;e<t;e++)n.push({itemValue:r[e],attributes:i})}return n}(e,n.accessors),i={rankedValue:e,rank:ug,accessorIndex:-1,accessorThreshold:n.threshold,passed:!1};for(let e=0;e<a.length;e++){const o=a[e];let r=pg(o.itemValue,t,n);const{minRanking:s,maxRanking:c,threshold:u=n.threshold}=o.attributes;r<s&&r>=cg?r=s:r>c&&(r=c),r=Math.min(r,c),r>=u&&r>i.rank&&(i.rank=r,i.passed=!0,i.accessorIndex=e,i.accessorThreshold=u,i.rankedValue=o.itemValue)}return i}function pg(e,t,n){return e=dg(e,n),(t=dg(t,n)).length>e.length?ug:e===t?ng:(e=e.toLowerCase())===(t=t.toLowerCase())?og:e.startsWith(t)?ag:e.includes(` ${t}`)?ig:e.includes(t)?rg:1===t.length?ug:function(e){let t="";return e.split(" ").forEach((e=>{e.split("-").forEach((e=>{t+=e.substr(0,1)}))})),t}(e).includes(t)?sg:function(e,t){let n=0,o=0;function a(e,t,o){for(let a=o,i=t.length;a<i;a++){if(t[a]===e)return n+=1,a+1}return-1}function i(e){const o=1/e,a=n/t.length;return cg+a*o}const r=a(t[0],e,0);if(r<0)return ug;o=r;for(let n=1,i=t.length;n<i;n++){o=a(t[n],e,o);if(!(o>-1))return ug}const s=o-r;return i(s)}(e,t)}function dg(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=e.replace(tg,(e=>Zf[e]))),e}function mg(e,t){let n=t;"object"==typeof t&&(n=t.accessor);const o=n(e);return null==o?[]:Array.isArray(o)?o:[String(o)]}const hg={maxRanking:1/0,minRanking:-1/0};function fg(e){return"function"==typeof e?hg:{...hg,...e}}function gg(e,t){const[n,o]=g.useState();g.useEffect((()=>{const n=(e=>{try{const t=localStorage.getItem(e);return"string"==typeof t?JSON.parse(t):void 0}catch{return}})(e);o(null==n?"function"==typeof t?t():t:n)}),[t,e]);return[n,g.useCallback((t=>{o((n=>{let o=t;"function"==typeof t&&(o=t(n));try{localStorage.setItem(e,JSON.stringify(o))}catch{}return o}))}),[e])]}var yg,vg=function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)},e.prototype.getByKey=function(e){return this.keyToValue.get(e)},e.prototype.getByValue=function(e){return this.valueToKey.get(e)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e}(),bg=function(){function e(e){this.generateIdentifier=e,this.kv=new vg}return e.prototype.register=function(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(e){return this.kv.getByValue(e)},e.prototype.getValue=function(e){return this.kv.getByKey(e)},e}(),kg=(yg=function(e,t){return yg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},yg(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}yg(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),xg=function(e){function t(){var t=e.call(this,(function(e){return e.name}))||this;return t.classToAllowedProps=new Map,t}return kg(t,e),t.prototype.register=function(t,n){"object"==typeof n?(n.allowProps&&this.classToAllowedProps.set(t,n.allowProps),e.prototype.register.call(this,t,n.identifier)):e.prototype.register.call(this,t,n)},t.prototype.getAllowedProps=function(e){return this.classToAllowedProps.get(e)},t}(bg),wg=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return r};function jg(e,t){var n=function(e){if("values"in Object)return Object.values(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}(e);if("find"in n)return n.find(t);for(var o=n,a=0;a<o.length;a++){var i=o[a];if(t(i))return i}}function _g(e,t){Object.entries(e).forEach((function(e){var n=wg(e,2),o=n[0],a=n[1];return t(a,o)}))}function Eg(e,t){return-1!==e.indexOf(t)}function Cg(e,t){for(var n=0;n<e.length;n++){var o=e[n];if(t(o))return o}}var Sg=function(){function e(){this.transfomers={}}return e.prototype.register=function(e){this.transfomers[e.name]=e},e.prototype.findApplicable=function(e){return jg(this.transfomers,(function(t){return t.isApplicable(e)}))},e.prototype.findByName=function(e){return this.transfomers[e]},e}(),Rg=function(e){return void 0===e},Tg=function(e){return"object"==typeof e&&null!==e&&(e!==Object.prototype&&(null===Object.getPrototypeOf(e)||Object.getPrototypeOf(e)===Object.prototype))},Ag=function(e){return Tg(e)&&0===Object.keys(e).length},Ig=function(e){return Array.isArray(e)},Og=function(e){return e instanceof Map},zg=function(e){return e instanceof Set},Pg=function(e){return"Symbol"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)},Lg=function(e){return"number"==typeof e&&isNaN(e)},Dg=function(e){return function(e){return"boolean"==typeof e}(e)||function(e){return null===e}(e)||Rg(e)||function(e){return"number"==typeof e&&!isNaN(e)}(e)||function(e){return"string"==typeof e}(e)||Pg(e)},qg=function(e){return e.replace(/\./g,"\\.")},Ng=function(e){return e.map(String).map(qg).join(".")},Mg=function(e){for(var t=[],n="",o=0;o<e.length;o++){var a=e.charAt(o);if("\\"===a&&"."===e.charAt(o+1))n+=".",o++;else"."===a?(t.push(n),n=""):n+=a}var i=n;return t.push(i),t},Fg=function(){return Fg=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Fg.apply(this,arguments)},Bg=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return r},Ug=function(e,t){for(var n=0,o=t.length,a=e.length;n<o;n++,a++)e[a]=t[n];return e};function Gg(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var Wg=[Gg(Rg,"undefined",(function(){return null}),(function(){})),Gg((function(e){return"bigint"==typeof e}),"bigint",(function(e){return e.toString()}),(function(e){return"undefined"!=typeof BigInt?BigInt(e):(console.error("Please add a BigInt polyfill."),e)})),Gg((function(e){return e instanceof Date&&!isNaN(e.valueOf())}),"Date",(function(e){return e.toISOString()}),(function(e){return new Date(e)})),Gg((function(e){return e instanceof Error}),"Error",(function(e,t){var n={name:e.name,message:e.message};return t.allowedErrorProps.forEach((function(t){n[t]=e[t]})),n}),(function(e,t){var n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach((function(t){n[t]=e[t]})),n})),Gg((function(e){return e instanceof RegExp}),"regexp",(function(e){return""+e}),(function(e){var t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)})),Gg(zg,"set",(function(e){return Ug([],Bg(e.values()))}),(function(e){return new Set(e)})),Gg(Og,"map",(function(e){return Ug([],Bg(e.entries()))}),(function(e){return new Map(e)})),Gg((function(e){return Lg(e)||((t=e)===1/0||t===-1/0);var t}),"number",(function(e){return Lg(e)?"NaN":e>0?"Infinity":"-Infinity"}),Number),Gg((function(e){return 0===e&&1/e==-1/0}),"number",(function(){return"-0"}),Number),Gg((function(e){return e instanceof URL}),"URL",(function(e){return e.toString()}),(function(e){return new URL(e)}))];function Vg(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var Hg=Vg((function(e,t){return!!Pg(e)&&!!t.symbolRegistry.getIdentifier(e)}),(function(e,t){return["symbol",t.symbolRegistry.getIdentifier(e)]}),(function(e){return e.description}),(function(e,t,n){var o=n.symbolRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown symbol");return o})),Kg=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((function(e,t){return e[t.name]=t,e}),{}),$g=Vg((function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}),(function(e){return["typed-array",e.constructor.name]}),(function(e){return Ug([],Bg(e))}),(function(e,t){var n=Kg[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)}));function Qg(e,t){return!!(null==e?void 0:e.constructor)&&!!t.classRegistry.getIdentifier(e.constructor)}var Jg=Vg(Qg,(function(e,t){return["class",t.classRegistry.getIdentifier(e.constructor)]}),(function(e,t){var n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return Fg({},e);var o={};return n.forEach((function(t){o[t]=e[t]})),o}),(function(e,t,n){var o=n.classRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(o.prototype),e)})),Xg=Vg((function(e,t){return!!t.customTransformerRegistry.findApplicable(e)}),(function(e,t){return["custom",t.customTransformerRegistry.findApplicable(e).name]}),(function(e,t){return t.customTransformerRegistry.findApplicable(e).serialize(e)}),(function(e,t,n){var o=n.customTransformerRegistry.findByName(t[1]);if(!o)throw new Error("Trying to deserialize unknown custom value");return o.deserialize(e)})),Yg=[Jg,Hg,Xg,$g],Zg=function(e,t){var n=Cg(Yg,(function(n){return n.isApplicable(e,t)}));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var o=Cg(Wg,(function(n){return n.isApplicable(e,t)}));return o?{value:o.transform(e,t),type:o.annotation}:void 0},ey={};Wg.forEach((function(e){ey[e.annotation]=e}));var ty=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function ny(e){if(Eg(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Eg(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Eg(e,"constructor"))throw new Error("constructor is not allowed as a property")}var oy=function(e,t,n){if(ny(t),0===t.length)return n(e);for(var o=e,a=0;a<t.length-1;a++){var i=t[a];if(Ig(o))o=o[+i];else if(Tg(o))o=o[i];else if(zg(o)){o=ty(o,r=+i)}else if(Og(o)){if(a===t.length-2)break;var r=+i,s=0==+t[++a]?"key":"value",c=ty(o,r);switch(s){case"key":o=c;break;case"value":o=o.get(c)}}}var u=t[t.length-1];if(Ig(o)?o[+u]=n(o[+u]):Tg(o)&&(o[u]=n(o[u])),zg(o)){var l=ty(o,+u),p=n(l);l!==p&&(o.delete(l),o.add(p))}if(Og(o)){r=+t[t.length-2];var d=ty(o,r);switch(s=0==+u?"key":"value"){case"key":var m=n(d);o.set(m,o.get(d)),m!==d&&o.delete(d);break;case"value":o.set(d,n(o.get(d)))}}return e},ay=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return r},iy=function(e,t){for(var n=0,o=t.length,a=e.length;n<o;n++,a++)e[a]=t[n];return e};function ry(e,t,n){if(void 0===n&&(n=[]),e)if(Ig(e)){var o=ay(e,2),a=o[0],i=o[1];i&&_g(i,(function(e,o){ry(e,t,iy(iy([],ay(n)),ay(Mg(o))))})),t(a,n)}else _g(e,(function(e,o){return ry(e,t,iy(iy([],ay(n)),ay(Mg(o))))}))}function sy(e,t,n){return ry(t,(function(t,o){e=oy(e,o,(function(e){return function(e,t,n){if(!Ig(t)){var o=ey[t];if(!o)throw new Error("Unknown transformation: "+t);return o.untransform(e,n)}switch(t[0]){case"symbol":return Hg.untransform(e,t,n);case"class":return Jg.untransform(e,t,n);case"custom":return Xg.untransform(e,t,n);case"typed-array":return $g.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}}(e,t,n)}))})),e}function cy(e,t){function n(t,n){var o=function(e,t){ny(t);for(var n=0;n<t.length;n++){var o=t[n];if(zg(e))e=ty(e,+o);else if(Og(e)){var a=+o,i=0==+t[++n]?"key":"value",r=ty(e,a);switch(i){case"key":e=r;break;case"value":e=e.get(r)}}else e=e[o]}return e}(e,Mg(n));t.map(Mg).forEach((function(t){e=oy(e,t,(function(){return o}))}))}if(Ig(t)){var o=ay(t,2),a=o[0],i=o[1];a.forEach((function(t){e=oy(e,Mg(t),(function(){return e}))})),i&&_g(i,n)}else _g(t,n);return e}var uy=function(e,t,n,o,a,i,r){var s;void 0===a&&(a=[]),void 0===i&&(i=[]),void 0===r&&(r=new Map);var c=Dg(e);if(!c){!function(e,t,n){var o=n.get(e);o?o.push(t):n.set(e,[t])}(e,a,t);var u=r.get(e);if(u)return o?{transformedValue:null}:u}if(!function(e,t){return Tg(e)||Ig(e)||Og(e)||zg(e)||Qg(e,t)}(e,n)){var l=Zg(e,n),p=l?{transformedValue:l.value,annotations:[l.type]}:{transformedValue:e};return c||r.set(e,p),p}if(Eg(i,e))return{transformedValue:null};var d=Zg(e,n),m=null!==(s=null==d?void 0:d.value)&&void 0!==s?s:e,h=Ig(m)?[]:{},f={};_g(m,(function(s,c){var u=uy(s,t,n,o,iy(iy([],ay(a)),[c]),iy(iy([],ay(i)),[e]),r);h[c]=u.transformedValue,Ig(u.annotations)?f[c]=u.annotations:Tg(u.annotations)&&_g(u.annotations,(function(e,t){f[qg(c)+"."+t]=e}))}));var g=Ag(f)?{transformedValue:h,annotations:d?[d.type]:void 0}:{transformedValue:h,annotations:d?[d.type,f]:f};return c||r.set(e,g),g};function ly(e){return Object.prototype.toString.call(e).slice(8,-1)}function py(e){return"Array"===ly(e)}function dy(e,t={}){if(py(e))return e.map((e=>dy(e,t)));if(!function(e){if("Object"!==ly(e))return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}(e))return e;return[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)].reduce(((n,o)=>{if(py(t.props)&&!t.props.includes(o))return n;return function(e,t,n,o,a){const i={}.propertyIsEnumerable.call(o,t)?"enumerable":"nonenumerable";"enumerable"===i&&(e[t]=n),a&&"nonenumerable"===i&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}(n,o,dy(e[o],t),e,t.nonenumerable),n}),{})}var my=function(){return my=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},my.apply(this,arguments)},hy=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return r},fy=function(e,t){for(var n=0,o=t.length,a=e.length;n<o;n++,a++)e[a]=t[n];return e},gy=function(){function e(e){var t=(void 0===e?{}:e).dedupe,n=void 0!==t&&t;this.classRegistry=new xg,this.symbolRegistry=new bg((function(e){var t;return null!==(t=e.description)&&void 0!==t?t:""})),this.customTransformerRegistry=new Sg,this.allowedErrorProps=[],this.dedupe=n}return e.prototype.serialize=function(e){var t=new Map,n=uy(e,t,this,this.dedupe),o={json:n.transformedValue};n.annotations&&(o.meta=my(my({},o.meta),{values:n.annotations}));var a,i,r,s,c=(a=t,i=this.dedupe,r={},s=void 0,a.forEach((function(e){if(!(e.length<=1)){i||(e=e.map((function(e){return e.map(String)})).sort((function(e,t){return e.length-t.length})));var t=ay(e),n=t[0],o=t.slice(1);0===n.length?s=o.map(Ng):r[Ng(n)]=o.map(Ng)}})),s?Ag(r)?[s]:[s,r]:Ag(r)?void 0:r);return c&&(o.meta=my(my({},o.meta),{referentialEqualities:c})),o},e.prototype.deserialize=function(e){var t=e.json,n=e.meta,o=dy(t);return(null==n?void 0:n.values)&&(o=sy(o,n.values,this)),(null==n?void 0:n.referentialEqualities)&&(o=cy(o,n.referentialEqualities)),o},e.prototype.stringify=function(e){return JSON.stringify(this.serialize(e))},e.prototype.parse=function(e){return this.deserialize(JSON.parse(e))},e.prototype.registerClass=function(e,t){this.classRegistry.register(e,t)},e.prototype.registerSymbol=function(e,t){this.symbolRegistry.register(e,t)},e.prototype.registerCustom=function(e,t){this.customTransformerRegistry.register(my({name:t},e))},e.prototype.allowErrorProps=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];(e=this.allowedErrorProps).push.apply(e,fy([],hy(t)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e}();const yy={background:"#0b1521",backgroundAlt:"#132337",foreground:"white",gray:"#3f4e60",grayAlt:"#222e3e",inputBackgroundColor:"#fff",inputTextColor:"#000",success:"#00ab52",danger:"#ff0085",active:"#006bff",paused:"#8c49eb",warning:"#ffb200"},vy=g.createContext(yy);function by({theme:e,...t}){return g.createElement(vy.Provider,Yf({value:e},t))}function ky({queryState:e,observerCount:t,isStale:n,theme:o}){return"fetching"===e.fetchStatus?o.active:t?"paused"===e.fetchStatus?o.paused:n?o.warning:o.success:o.gray}function xy(e){return"fetching"===e.state.fetchStatus?"fetching":e.getObserversCount()?"paused"===e.state.fetchStatus?"paused":e.isStale()?"stale":"fresh":"inactive"}function wy(e,t,n={}){return g.forwardRef((({style:o,...a},i)=>{const r=g.useContext(vy),s=Object.entries(n).reduce(((e,[t,n])=>function(e){const[t,n]=g.useState((()=>{if("undefined"!=typeof window)return window.matchMedia(e).matches}));return g.useEffect((()=>{if("undefined"!=typeof window){const t=window.matchMedia(e),o=({matches:e})=>n(e);return t.addListener(o),()=>{t.removeListener(o)}}}),[t,e,n]),t}(t)?{...e,..."function"==typeof n?n(a,r):n}:e),{});return g.createElement(e,{...a,style:{..."function"==typeof t?t(a,r):t,...o,...s},ref:i})}))}const jy=(e,t=!1)=>{const{json:n}=gy.serialize(e);return JSON.stringify(n,null,t?2:void 0)},_y=e=>"idle"!==e.state.fetchStatus?0:e.getObserversCount()?e.isStale()?2:1:3,Ey=(e,t)=>e.state.dataUpdatedAt<t.state.dataUpdatedAt?1:-1,Cy={"Status > Last Updated":(e,t)=>_y(e)===_y(t)?Ey(e,t):_y(e)>_y(t)?1:-1,"Query Hash":(e,t)=>e.queryHash.localeCompare(t.queryHash),"Last Updated":Ey},Sy=500,Ry={top:"bottom",bottom:"top",left:"right",right:"left"};function Ty(e){return["left","right"].includes(e)}function Ay(e){return Ry[e]}function Iy(e,t){return""+e+(t.charAt(0).toUpperCase()+t.slice(1))}function Oy(e="bottom"){const t=Ty(e),n=Ay(e),o=Iy("margin",n);return{position:"absolute",cursor:t?"col-resize":"row-resize",zIndex:1e5,[n]:0,[o]:"-4px",...t?{top:0,height:"100%",width:"4px"}:{width:"100%",height:"4px"}}}const zy=wy("div",((e,t)=>({fontSize:"clamp(12px, 1.5vw, 14px)",fontFamily:"sans-serif",display:"flex",backgroundColor:t.background,color:t.foreground})),{"(max-width: 700px)":{flexDirection:"column"},"(max-width: 600px)":{fontSize:".9em"}}),Py=wy("div",(()=>({flex:"1 1 500px",display:"flex",flexDirection:"column",overflow:"auto",height:"100%"})),{"(max-width: 700px)":(e,t)=>({borderTop:"2px solid "+t.gray})}),Ly=wy("button",((e,t)=>({appearance:"none",fontSize:".9em",fontWeight:"bold",background:t.gray,border:"0",borderRadius:".3em",color:"white",padding:".5em",opacity:e.disabled?".5":void 0,cursor:"pointer"}))),Dy=wy("span",{display:"flex",flexWrap:"wrap",gap:"0.5em",fontSize:"0.9em"}),qy=wy("span",{display:"inline-flex",alignItems:"center",padding:".2em .4em",fontWeight:"bold",textShadow:"0 0 10px black",borderRadius:".2em"}),Ny=wy("code",{fontSize:".9em",color:"inherit",background:"inherit"}),My=wy("input",((e,t)=>({backgroundColor:t.inputBackgroundColor,border:0,borderRadius:".2em",color:t.inputTextColor,fontSize:".9em",lineHeight:"1.3",padding:".3em .4em"}))),Fy=wy("select",((e,t)=>({display:"inline-block",fontSize:".9em",fontFamily:"sans-serif",fontWeight:"normal",lineHeight:"1.3",padding:".3em 1.5em .3em .5em",height:"auto",border:0,borderRadius:".2em",appearance:"none",WebkitAppearance:"none",backgroundColor:t.inputBackgroundColor,backgroundImage:"url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23444444'><polygon points='0,25 100,25 50,75'/></svg>\")",backgroundRepeat:"no-repeat",backgroundPosition:"right .55em center",backgroundSize:".65em auto, 100%",color:t.inputTextColor})),{"(max-width: 500px)":{display:"none"}});function By({text:e}){return g.createElement("span",{style:{position:"absolute",width:"0.1px",height:"0.1px",overflow:"hidden"}},e)}const Uy=wy("div",{fontFamily:"Menlo, monospace",fontSize:"1em",lineHeight:"1.7",outline:"none",wordBreak:"break-word"}),Gy=wy("span",{color:"white"}),Wy=wy("button",{cursor:"pointer",color:"white"}),Vy=wy("button",{cursor:"pointer",color:"inherit",font:"inherit",outline:"inherit",background:"transparent",border:"none",padding:0}),Hy=({value:e})=>{const[t,n]=g.useState("NoCopy");return g.createElement("button",{onClick:"NoCopy"===t?()=>{navigator.clipboard.writeText(gy.stringify(e)).then((()=>{n("SuccessCopy"),setTimeout((()=>{n("NoCopy")}),1500)}),(e=>{console.error("Failed to copy: ",e),n("ErrorCopy"),setTimeout((()=>{n("NoCopy")}),1500)}))}:void 0,style:{cursor:"pointer",color:"inherit",font:"inherit",outline:"inherit",background:"transparent",border:"none",padding:0}},"NoCopy"===t?g.createElement(Xy,null):"SuccessCopy"===t?g.createElement(Zy,null):g.createElement(Yy,null))},Ky=wy("span",((e,t)=>({color:t.danger}))),$y=wy("div",{marginLeft:".1em",paddingLeft:"1em",borderLeft:"2px solid rgba(0,0,0,.15)"}),Qy=wy("span",{color:"grey",fontSize:".7em"}),Jy=({expanded:e,style:t={}})=>g.createElement("span",{style:{display:"inline-block",transition:"all .1s ease",transform:"rotate("+(e?90:0)+"deg) "+(t.transform||""),...t}},"▶"),Xy=()=>g.createElement("span",{"aria-label":"Copy object to clipboard",title:"Copy object to clipboard",style:{paddingLeft:"1em"}},g.createElement("svg",{height:"12",viewBox:"0 0 16 12",width:"10"},g.createElement("path",{fill:"currentColor",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"}),g.createElement("path",{fill:"currentColor",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"}))),Yy=()=>g.createElement("span",{"aria-label":"Failed copying to clipboard",title:"Failed copying to clipboard",style:{paddingLeft:"1em",display:"flex",alignItems:"center"}},g.createElement("svg",{height:"12",viewBox:"0 0 16 12",width:"10",display:"block"},g.createElement("path",{fill:"red",d:"M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"})),g.createElement("span",{style:{color:"red",fontSize:"12px",paddingLeft:"4px",position:"relative",top:"2px"}},"See console")),Zy=()=>g.createElement("span",{"aria-label":"Object copied to clipboard",title:"Object copied to clipboard",style:{paddingLeft:"1em",display:"inline-block",verticalAlign:"middle"}},g.createElement("svg",{height:"16",viewBox:"0 0 16 16",width:"16",display:"block"},g.createElement("path",{fill:"green",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"})));const ev=({handleEntry:e,label:t,value:n,subEntries:o=[],subEntryPages:a=[],type:i,expanded:r=!1,copyable:s=!1,toggleExpanded:c,pageSize:u})=>{const[l,p]=g.useState([]);return g.createElement(Uy,{key:t},a.length?g.createElement(g.Fragment,null,g.createElement(Vy,{onClick:()=>c()},g.createElement(Jy,{expanded:r})," ",t," ",g.createElement(Qy,null,"iterable"===String(i).toLowerCase()?"(Iterable) ":"",o.length," ",o.length>1?"items":"item")),s?g.createElement(Hy,{value:n}):null,r?1===a.length?g.createElement($y,null,o.map(e)):g.createElement($y,null,a.map(((t,n)=>g.createElement("div",{key:n},g.createElement(Uy,null,g.createElement(Wy,{onClick:()=>p((e=>e.includes(n)?e.filter((e=>e!==n)):[...e,n]))},g.createElement(Jy,{expanded:r})," [",n*u," ..."," ",n*u+u-1,"]"),l.includes(n)?g.createElement($y,null,t.map(e)):null))))):null):g.createElement(g.Fragment,null,g.createElement(Gy,null,t,":")," ",g.createElement(Ky,null,jy(n))))};function tv({value:e,defaultExpanded:t,renderer:n=ev,pageSize:o=100,copyable:a=!1,...i}){const[r,s]=g.useState(Boolean(t)),c=g.useCallback((()=>s((e=>!e))),[]);let u=typeof e,l=[];const p=e=>{const n=!0===t?{[e.label]:!0}:null==t?void 0:t[e.label];return{...e,defaultExpanded:n}};var d;Array.isArray(e)?(u="array",l=e.map(((e,t)=>p({label:t.toString(),value:e})))):null!==e&&"object"==typeof e&&(d=e,Symbol.iterator in d)&&"function"==typeof e[Symbol.iterator]?(u="Iterable",l=Array.from(e,((e,t)=>p({label:t.toString(),value:e})))):"object"==typeof e&&null!==e&&(u="object",l=Object.entries(e).map((([e,t])=>p({label:e,value:t}))));const m=function(e,t){if(t<1)return[];let n=0;const o=[];for(;n<e.length;)o.push(e.slice(n,n+t)),n+=t;return o}(l,o);return n({handleEntry:t=>g.createElement(tv,Yf({key:t.label,value:e,renderer:n,copyable:a},i,t)),type:u,subEntries:l,subEntryPages:m,value:e,expanded:r,copyable:a,toggleExpanded:c,pageSize:o,...i})}function nv(e){return g.createElement("svg",Yf({width:"40px",height:"40px",viewBox:"0 0 190 190",version:"1.1"},e),g.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},g.createElement("g",{transform:"translate(-33.000000, 0.000000)"},g.createElement("path",{d:"M72.7239712,61.3436237 C69.631224,46.362877 68.9675112,34.8727722 70.9666331,26.5293551 C72.1555965,21.5671678 74.3293088,17.5190846 77.6346064,14.5984631 C81.1241394,11.5150478 85.5360327,10.0020122 90.493257,10.0020122 C98.6712013,10.0020122 107.26826,13.7273214 116.455725,20.8044264 C120.20312,23.6910458 124.092437,27.170411 128.131651,31.2444746 C128.45314,30.8310265 128.816542,30.4410453 129.22143,30.0806152 C140.64098,19.9149716 150.255245,13.5989272 158.478408,11.1636507 C163.367899,9.715636 167.958526,9.57768202 172.138936,10.983031 C176.551631,12.4664684 180.06766,15.5329489 182.548314,19.8281091 C186.642288,26.9166735 187.721918,36.2310983 186.195595,47.7320243 C185.573451,52.4199112 184.50985,57.5263831 183.007094,63.0593153 C183.574045,63.1277086 184.142416,63.2532808 184.705041,63.4395297 C199.193932,68.2358678 209.453582,73.3937462 215.665021,79.2882839 C219.360669,82.7953831 221.773972,86.6998434 222.646365,91.0218204 C223.567176,95.5836746 222.669313,100.159332 220.191548,104.451297 C216.105211,111.529614 208.591643,117.11221 197.887587,121.534031 C193.589552,123.309539 188.726579,124.917559 183.293259,126.363748 C183.541176,126.92292 183.733521,127.516759 183.862138,128.139758 C186.954886,143.120505 187.618598,154.61061 185.619477,162.954027 C184.430513,167.916214 182.256801,171.964297 178.951503,174.884919 C175.46197,177.968334 171.050077,179.48137 166.092853,179.48137 C157.914908,179.48137 149.31785,175.756061 140.130385,168.678956 C136.343104,165.761613 132.410866,162.238839 128.325434,158.108619 C127.905075,158.765474 127.388968,159.376011 126.77857,159.919385 C115.35902,170.085028 105.744755,176.401073 97.5215915,178.836349 C92.6321009,180.284364 88.0414736,180.422318 83.8610636,179.016969 C79.4483686,177.533532 75.9323404,174.467051 73.4516862,170.171891 C69.3577116,163.083327 68.2780823,153.768902 69.8044053,142.267976 C70.449038,137.410634 71.56762,132.103898 73.1575891,126.339009 C72.5361041,126.276104 71.9120754,126.144816 71.2949591,125.940529 C56.8060684,121.144191 46.5464184,115.986312 40.3349789,110.091775 C36.6393312,106.584675 34.2260275,102.680215 33.3536352,98.3582381 C32.4328237,93.7963839 33.3306866,89.2207269 35.8084524,84.9287618 C39.8947886,77.8504443 47.4083565,72.2678481 58.1124133,67.8460273 C62.5385143,66.0176154 67.5637208,64.366822 73.1939394,62.8874674 C72.9933393,62.3969171 72.8349374,61.8811235 72.7239712,61.3436237 Z",fill:"#002C4B",fillRule:"nonzero",transform:"translate(128.000000, 95.000000) scale(-1, 1) translate(-128.000000, -95.000000) "}),g.createElement("path",{d:"M113.396882,64 L142.608177,64 C144.399254,64 146.053521,64.958025 146.944933,66.5115174 L161.577138,92.0115174 C162.461464,93.5526583 162.461464,95.4473417 161.577138,96.9884826 L146.944933,122.488483 C146.053521,124.041975 144.399254,125 142.608177,125 L113.396882,125 C111.605806,125 109.951539,124.041975 109.060126,122.488483 L94.4279211,96.9884826 C93.543596,95.4473417 93.543596,93.5526583 94.4279211,92.0115174 L109.060126,66.5115174 C109.951539,64.958025 111.605806,64 113.396882,64 Z M138.987827,70.2765273 C140.779849,70.2765273 142.434839,71.2355558 143.325899,72.7903404 L154.343038,92.0138131 C155.225607,93.5537825 155.225607,95.4462175 154.343038,96.9861869 L143.325899,116.20966 C142.434839,117.764444 140.779849,118.723473 138.987827,118.723473 L117.017233,118.723473 C115.225211,118.723473 113.570221,117.764444 112.67916,116.20966 L101.662022,96.9861869 C100.779452,95.4462175 100.779452,93.5537825 101.662022,92.0138131 L112.67916,72.7903404 C113.570221,71.2355558 115.225211,70.2765273 117.017233,70.2765273 L138.987827,70.2765273 Z M135.080648,77.1414791 L120.924411,77.1414791 C119.134228,77.1414791 117.480644,78.0985567 116.5889,79.6508285 L116.5889,79.6508285 L109.489217,92.0093494 C108.603232,93.5515958 108.603232,95.4484042 109.489217,96.9906506 L109.489217,96.9906506 L116.5889,109.349172 C117.480644,110.901443 119.134228,111.858521 120.924411,111.858521 L120.924411,111.858521 L135.080648,111.858521 C136.870831,111.858521 138.524416,110.901443 139.41616,109.349172 L139.41616,109.349172 L146.515843,96.9906506 C147.401828,95.4484042 147.401828,93.5515958 146.515843,92.0093494 L146.515843,92.0093494 L139.41616,79.6508285 C138.524416,78.0985567 136.870831,77.1414791 135.080648,77.1414791 L135.080648,77.1414791 Z M131.319186,83.7122186 C133.108028,83.7122186 134.760587,84.6678753 135.652827,86.2183156 L138.983552,92.0060969 C139.87203,93.5500005 139.87203,95.4499995 138.983552,96.9939031 L135.652827,102.781684 C134.760587,104.332125 133.108028,105.287781 131.319186,105.287781 L124.685874,105.287781 C122.897032,105.287781 121.244473,104.332125 120.352233,102.781684 L117.021508,96.9939031 C116.13303,95.4499995 116.13303,93.5500005 117.021508,92.0060969 L120.352233,86.2183156 C121.244473,84.6678753 122.897032,83.7122186 124.685874,83.7122186 L131.319186,83.7122186 Z M128.003794,90.1848875 C126.459294,90.1848875 125.034382,91.0072828 124.263005,92.3424437 C123.491732,93.6774232 123.491732,95.3225768 124.263005,96.6575563 C125.034382,97.9927172 126.459294,98.8151125 128.001266,98.8151125 L128.001266,98.8151125 C129.545766,98.8151125 130.970678,97.9927172 131.742055,96.6575563 C132.513327,95.3225768 132.513327,93.6774232 131.742055,92.3424437 C130.970678,91.0072828 129.545766,90.1848875 128.003794,90.1848875 L128.003794,90.1848875 Z M93,94.5009646 L100.767764,94.5009646",fill:"#FFD94C"}),g.createElement("path",{d:"M87.8601729,108.357758 C89.1715224,107.608286 90.8360246,108.074601 91.5779424,109.399303 L91.5779424,109.399303 L92.0525843,110.24352 C95.8563392,116.982993 99.8190116,123.380176 103.940602,129.435068 C108.807881,136.585427 114.28184,143.82411 120.362479,151.151115 C121.316878,152.30114 121.184944,154.011176 120.065686,154.997937 L120.065686,154.997937 L119.454208,155.534625 C99.3465389,173.103314 86.2778188,176.612552 80.2480482,166.062341 C74.3500652,155.742717 76.4844915,136.982888 86.6513274,109.782853 C86.876818,109.179582 87.3045861,108.675291 87.8601729,108.357758 Z M173.534177,129.041504 C174.986131,128.785177 176.375496,129.742138 176.65963,131.194242 L176.65963,131.194242 L176.812815,131.986376 C181.782365,157.995459 178.283348,171 166.315764,171 C154.609745,171 139.708724,159.909007 121.612702,137.727022 C121.211349,137.235047 120.994572,136.617371 121,135.981509 C121.013158,134.480686 122.235785,133.274651 123.730918,133.287756 L123.730918,133.287756 L124.684654,133.294531 C132.305698,133.335994 139.714387,133.071591 146.910723,132.501323 C155.409039,131.82788 164.283523,130.674607 173.534177,129.041504 Z M180.408726,73.8119663 C180.932139,72.4026903 182.508386,71.6634537 183.954581,72.149012 L183.954581,72.149012 L184.742552,72.4154854 C210.583763,81.217922 220.402356,90.8916805 214.198332,101.436761 C208.129904,111.751366 190.484347,119.260339 161.26166,123.963678 C160.613529,124.067994 159.948643,123.945969 159.382735,123.618843 C158.047025,122.846729 157.602046,121.158214 158.388848,119.847438 L158.388848,119.847438 L158.889328,119.0105 C162.877183,112.31633 166.481358,105.654262 169.701854,99.0242957 C173.50501,91.1948179 177.073967,82.7907081 180.408726,73.8119663 Z M94.7383398,66.0363218 C95.3864708,65.9320063 96.0513565,66.0540315 96.6172646,66.3811573 C97.9529754,67.153271 98.3979538,68.8417862 97.6111517,70.1525615 L97.6111517,70.1525615 L97.1106718,70.9895001 C93.1228168,77.6836699 89.5186416,84.3457379 86.2981462,90.9757043 C82.49499,98.8051821 78.9260328,107.209292 75.5912744,116.188034 C75.0678608,117.59731 73.4916142,118.336546 72.045419,117.850988 L72.045419,117.850988 L71.2574475,117.584515 C45.4162372,108.782078 35.597644,99.1083195 41.8016679,88.5632391 C47.8700957,78.2486335 65.515653,70.7396611 94.7383398,66.0363218 Z M136.545792,34.4653746 C156.653461,16.8966864 169.722181,13.3874478 175.751952,23.9376587 C181.649935,34.2572826 179.515508,53.0171122 169.348673,80.2171474 C169.123182,80.8204179 168.695414,81.324709 168.139827,81.6422422 C166.828478,82.3917144 165.163975,81.9253986 164.422058,80.6006966 L164.422058,80.6006966 L163.947416,79.7564798 C160.143661,73.0170065 156.180988,66.6198239 152.059398,60.564932 C147.192119,53.4145727 141.71816,46.1758903 135.637521,38.8488847 C134.683122,37.6988602 134.815056,35.9888243 135.934314,35.0020629 L135.934314,35.0020629 Z M90.6842361,18 C102.390255,18 117.291276,29.0909926 135.387298,51.2729777 C135.788651,51.7649527 136.005428,52.3826288 136,53.0184911 C135.986842,54.5193144 134.764215,55.7253489 133.269082,55.7122445 L133.269082,55.7122445 L132.315346,55.7054689 C124.694302,55.6640063 117.285613,55.9284091 110.089277,56.4986773 C101.590961,57.17212 92.7164767,58.325393 83.4658235,59.9584962 C82.0138691,60.2148231 80.6245044,59.2578618 80.3403697,57.805758 L80.3403697,57.805758 L80.1871846,57.0136235 C75.2176347,31.0045412 78.7166519,18 90.6842361,18 Z",fill:"#FF4154"}))))}const ov=(e,t,n=!1)=>Cf.useSyncExternalStore(g.useCallback((t=>n?()=>{}:e.subscribe(rf.batchCalls(t))),[e,n]),t,t),av=g.forwardRef((function(e,t){const{isOpen:n=!0,styleNonce:o,setIsOpen:a,context:i,onDragStart:r,onPositionChange:s,showCloseButton:c,position:u,closeButtonProps:l={},errorTypes:p=[],...d}=e,{onClick:m,...h}=l,f=If({context:i}),y=f.getQueryCache(),[v,b]=gg("reactQueryDevtoolsSortFn",Object.keys(Cy)[0]),[k,x]=gg("reactQueryDevtoolsFilter",""),[w,j]=gg("reactQueryDevtoolsBaseSort",1),_=g.useMemo((()=>Cy[v]),[v]),E=ov(y,(()=>y.getAll().length),!n),[C,S]=gg("reactQueryDevtoolsActiveQueryHash",""),R=g.useMemo((()=>{const e=y.getAll();if(0===E)return[];const t=k?e.filter((e=>lg(e.queryHash,k).passed)):[...e];return _?t.sort(((e,t)=>_(e,t)*w)):t}),[w,_,k,E,y]),[T,A]=g.useState(!1);return g.createElement(by,{theme:yy},g.createElement(zy,Yf({ref:t,className:"ReactQueryDevtoolsPanel","aria-label":"React Query Devtools Panel",id:"ReactQueryDevtoolsPanel"},d,{style:{height:Sy,position:"relative",...d.style}}),g.createElement("style",{nonce:o,dangerouslySetInnerHTML:{__html:"\n .ReactQueryDevtoolsPanel * {\n scrollbar-color: "+yy.backgroundAlt+" "+yy.gray+";\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar, .ReactQueryDevtoolsPanel scrollbar {\n width: 1em;\n height: 1em;\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar-track, .ReactQueryDevtoolsPanel scrollbar-track {\n background: "+yy.backgroundAlt+";\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar-thumb, .ReactQueryDevtoolsPanel scrollbar-thumb {\n background: "+yy.gray+";\n border-radius: .5em;\n border: 3px solid "+yy.backgroundAlt+";\n }\n "}}),g.createElement("div",{style:Oy(u),onMouseDown:r}),n&&g.createElement("div",{style:{flex:"1 1 500px",minHeight:"40%",maxHeight:"100%",overflow:"auto",borderRight:"1px solid "+yy.grayAlt,display:"flex",flexDirection:"column"}},g.createElement("div",{style:{padding:".5em",background:yy.backgroundAlt,display:"flex",justifyContent:"space-between",alignItems:"center"}},g.createElement("button",{type:"button","aria-label":"Close React Query Devtools","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"true",onClick:()=>a(!1),style:{display:"inline-flex",background:"none",border:0,padding:0,marginRight:".5em",cursor:"pointer"}},g.createElement(nv,{"aria-hidden":!0}),g.createElement(By,{text:"Close React Query Devtools"})),g.createElement("div",{style:{display:"flex",flexDirection:"column"}},g.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:".5em"}},g.createElement(rv,{queryCache:y}),u&&s?g.createElement(Fy,{"aria-label":"Panel position",value:u,style:{marginInlineStart:".5em"},onChange:e=>s(e.target.value)},g.createElement("option",{value:"left"},"Left"),g.createElement("option",{value:"right"},"Right"),g.createElement("option",{value:"top"},"Top"),g.createElement("option",{value:"bottom"},"Bottom")):null),g.createElement("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:"0.5em"}},g.createElement(My,{placeholder:"Filter","aria-label":"Filter by queryhash",value:null!=k?k:"",onChange:e=>x(e.target.value),onKeyDown:e=>{"Escape"===e.key&&x("")},style:{flex:"1",width:"100%"}}),g.createElement(Fy,{"aria-label":"Sort queries",value:v,onChange:e=>b(e.target.value),style:{flex:"1",minWidth:75,marginRight:".5em"}},Object.keys(Cy).map((e=>g.createElement("option",{key:e,value:e},"Sort by ",e)))),g.createElement(Ly,{type:"button",onClick:()=>j((e=>-1*e)),style:{padding:".3em .4em",marginRight:".5em"}},1===w?"⬆ Asc":"⬇ Desc"),g.createElement(Ly,{title:"Clear cache","aria-label":"Clear cache",type:"button",onClick:()=>y.clear(),style:{padding:".3em .4em",marginRight:".5em"}},"Clear"),g.createElement(Ly,{type:"button",onClick:()=>{T?(Yh.setOnline(void 0),A(!1),window.dispatchEvent(new Event("online"))):(Yh.setOnline(!1),A(!0))},"aria-label":T?"Restore offline mock":"Mock offline behavior",title:T?"Restore offline mock":"Mock offline behavior",style:{padding:"0",height:"2em"}},g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"2em",height:"2em",viewBox:"0 0 24 24",stroke:T?yy.danger:"currentColor",fill:"none"},T?g.createElement(g.Fragment,null,g.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),g.createElement("line",{x1:"12",y1:"18",x2:"12.01",y2:"18"}),g.createElement("path",{d:"M9.172 15.172a4 4 0 0 1 5.656 0"}),g.createElement("path",{d:"M6.343 12.343a7.963 7.963 0 0 1 3.864 -2.14m4.163 .155a7.965 7.965 0 0 1 3.287 2"}),g.createElement("path",{d:"M3.515 9.515a12 12 0 0 1 3.544 -2.455m3.101 -.92a12 12 0 0 1 10.325 3.374"}),g.createElement("line",{x1:"3",y1:"3",x2:"21",y2:"21"})):g.createElement(g.Fragment,null,g.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),g.createElement("line",{x1:"12",y1:"18",x2:"12.01",y2:"18"}),g.createElement("path",{d:"M9.172 15.172a4 4 0 0 1 5.656 0"}),g.createElement("path",{d:"M6.343 12.343a8 8 0 0 1 11.314 0"}),g.createElement("path",{d:"M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0"}))),g.createElement(By,{text:T?"Restore offline mock":"Mock offline behavior"}))))),g.createElement("div",{style:{overflowY:"auto",flex:"1"}},R.map((e=>g.createElement(sv,{queryKey:e.queryKey,activeQueryHash:C,setActiveQueryHash:S,key:e.queryHash,queryCache:y}))))),C&&n?g.createElement(iv,{activeQueryHash:C,queryCache:y,queryClient:f,errorTypes:p}):null,c?g.createElement(Ly,Yf({type:"button","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"true"},h,{style:{position:"absolute",zIndex:99999,margin:".5em",bottom:0,left:0,...h.style},onClick:e=>{a(!1),null==m||m(e)}}),"Close"):null))})),iv=({queryCache:e,activeQueryHash:t,queryClient:n,errorTypes:o})=>{var a,i;const r=ov(e,(()=>e.getAll().find((e=>e.queryHash===t)))),s=ov(e,(()=>{var n;return null==(n=e.getAll().find((e=>e.queryHash===t)))?void 0:n.state})),c=null!=(a=ov(e,(()=>{var n;return null==(n=e.getAll().find((e=>e.queryHash===t)))?void 0:n.isStale()})))&&a,u=null!=(i=ov(e,(()=>{var n;return null==(n=e.getAll().find((e=>e.queryHash===t)))?void 0:n.getObserversCount()})))?i:0,l=h.useMemo((()=>{if(r&&null!=s&&s.error){const e=o.find((e=>{var t;return e.initializer(r).toString()===(null==(t=s.error)?void 0:t.toString())}));return null==e?void 0:e.name}}),[r,null==s?void 0:s.error,o]);if(!r||!s)return null;const p=e=>{var t;const n=null!=(t=null==e?void 0:e.initializer(r))?t:new Error("Unknown error from devtools"),o=r.options;r.setState({status:"error",error:n,fetchMeta:{...r.state.fetchMeta,__previousQueryOptions:o}})};return g.createElement(Py,null,g.createElement("div",{style:{padding:".5em",background:yy.backgroundAlt,position:"sticky",top:0,zIndex:1}},"Query Details"),g.createElement("div",{style:{padding:".5em"}},g.createElement("div",{style:{marginBottom:".5em",display:"flex",alignItems:"flex-start",justifyContent:"space-between"}},g.createElement(Ny,{style:{lineHeight:"1.8em"}},g.createElement("pre",{style:{margin:0,padding:0,overflow:"auto"}},jy(r.queryKey,!0))),g.createElement("span",{style:{padding:"0.3em .6em",borderRadius:"0.4em",fontWeight:"bold",textShadow:"0 2px 10px black",background:ky({queryState:s,isStale:c,observerCount:u,theme:yy}),flexShrink:0}},xy(r))),g.createElement("div",{style:{marginBottom:".5em",display:"flex",alignItems:"center",justifyContent:"space-between"}},"Observers: ",g.createElement(Ny,null,u)),g.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"Last Updated:"," ",g.createElement(Ny,null,new Date(s.dataUpdatedAt).toLocaleTimeString()))),g.createElement("div",{style:{background:yy.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Actions"),g.createElement("div",{style:{padding:"0.5em",display:"flex",flexWrap:"wrap",gap:"0.5em",alignItems:"flex-end"}},g.createElement(Ly,{type:"button",onClick:()=>{const e=null==r?void 0:r.fetch();null==e||e.catch(cv)},disabled:"fetching"===s.fetchStatus,style:{background:yy.active}},"Refetch")," ",g.createElement(Ly,{type:"button",onClick:()=>n.invalidateQueries(r),style:{background:yy.warning,color:yy.inputTextColor}},"Invalidate")," ",g.createElement(Ly,{type:"button",onClick:()=>n.resetQueries(r),style:{background:yy.gray}},"Reset")," ",g.createElement(Ly,{type:"button",onClick:()=>n.removeQueries(r),style:{background:yy.danger}},"Remove")," ",g.createElement(Ly,{type:"button",onClick:()=>{var e;if("fetching"!==r.state.fetchStatus||void 0!==(null==(e=r.state.fetchMeta)?void 0:e.__previousQueryOptions))if(void 0===r.state.data)r.fetch(r.state.fetchMeta.__previousQueryOptions,{cancelRefetch:!0});else{const e=r.options;r.fetch({...e,queryFn:()=>new Promise((()=>{})),cacheTime:-1}),r.setState({data:void 0,status:"loading",fetchMeta:{...r.state.fetchMeta,__previousQueryOptions:e}})}},style:{background:yy.paused}},"loading"===r.state.status?"Restore":"Trigger"," ","loading")," ",0===o.length||"error"===r.state.status?g.createElement(Ly,{type:"button",onClick:()=>{r.state.error?n.resetQueries(r):p()},style:{background:yy.danger}},"error"===r.state.status?"Restore":"Trigger"," error"):g.createElement("label",null,"Trigger error:",g.createElement(Fy,{value:null!=l?l:"",style:{marginInlineStart:".5em"},onChange:e=>{const t=o.find((t=>t.name===e.target.value));p(t)}},g.createElement("option",{key:"",value:""}),o.map((e=>g.createElement("option",{key:e.name,value:e.name},e.name)))))),g.createElement("div",{style:{background:yy.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Data Explorer"),g.createElement("div",{style:{padding:".5em"}},g.createElement(tv,{label:"Data",value:s.data,defaultExpanded:{},copyable:!0})),g.createElement("div",{style:{background:yy.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Query Explorer"),g.createElement("div",{style:{padding:".5em"}},g.createElement(tv,{label:"Query",value:r,defaultExpanded:{queryKey:!0}})))},rv=({queryCache:e})=>{const t=ov(e,(()=>e.getAll().filter((e=>"fresh"===xy(e))).length)),n=ov(e,(()=>e.getAll().filter((e=>"fetching"===xy(e))).length)),o=ov(e,(()=>e.getAll().filter((e=>"paused"===xy(e))).length)),a=ov(e,(()=>e.getAll().filter((e=>"stale"===xy(e))).length)),i=ov(e,(()=>e.getAll().filter((e=>"inactive"===xy(e))).length));return g.createElement(Dy,null,g.createElement(qy,{style:{background:yy.success,opacity:t?1:.3}},"fresh ",g.createElement(Ny,null,"(",t,")"))," ",g.createElement(qy,{style:{background:yy.active,opacity:n?1:.3}},"fetching ",g.createElement(Ny,null,"(",n,")"))," ",g.createElement(qy,{style:{background:yy.paused,opacity:o?1:.3}},"paused ",g.createElement(Ny,null,"(",o,")"))," ",g.createElement(qy,{style:{background:yy.warning,color:"black",textShadow:"0",opacity:a?1:.3}},"stale ",g.createElement(Ny,null,"(",a,")"))," ",g.createElement(qy,{style:{background:yy.gray,opacity:i?1:.3}},"inactive ",g.createElement(Ny,null,"(",i,")")))},sv=g.memo((({queryKey:e,setActiveQueryHash:t,activeQueryHash:n,queryCache:o})=>{var a,i,r,s;const c=null!=(a=ov(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.queryHash})))?a:"",u=ov(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.state})),l=null!=(i=ov(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.isStale()})))&&i,p=null!=(r=ov(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.isDisabled()})))&&r,d=null!=(s=ov(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.getObserversCount()})))?s:0;return u?g.createElement("div",{role:"button","aria-label":"Open query details for "+c,onClick:()=>t(n===c?"":c),style:{display:"flex",borderBottom:"solid 1px "+yy.grayAlt,cursor:"pointer",background:c===n?"rgba(255,255,255,.1)":void 0}},g.createElement("div",{style:{flex:"0 0 auto",width:"2em",height:"2em",background:ky({queryState:u,isStale:l,observerCount:d,theme:yy}),display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",textShadow:l?"0":"0 0 10px black",color:l?"black":"white"}},d),p?g.createElement("div",{style:{flex:"0 0 auto",height:"2em",background:yy.gray,display:"flex",alignItems:"center",fontWeight:"bold",padding:"0 0.5em"}},"disabled"):null,g.createElement(Ny,{style:{padding:".5em"}},""+c)):null}));function cv(){}sv.displayName="QueryRow";const uv="development"!==process.env.NODE_ENV?function(){return null}:function({initialIsOpen:e,panelProps:t={},closeButtonProps:n={},toggleButtonProps:o={},position:a="bottom-left",containerElement:i="aside",context:r,styleNonce:s,panelPosition:c="bottom",errorTypes:u=[]}){const l=g.useRef(null),p=g.useRef(null),[d,m]=gg("reactQueryDevtoolsOpen",e),[h,f]=gg("reactQueryDevtoolsHeight",Sy),[y,v]=gg("reactQueryDevtoolsWidth",Sy),[b="bottom",k]=gg("reactQueryDevtoolsPanelPosition",c),[x,w]=g.useState(!1),[j,_]=g.useState(!1),E=function(){const e=g.useRef(!1),t=g.useCallback((()=>e.current),[]);return g.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),t}();g.useEffect((()=>{w(null!=d&&d)}),[d,x,w]),g.useEffect((()=>{const e=p.current;if(e){const t=()=>{x&&(e.style.visibility="visible")},n=()=>{x||(e.style.visibility="hidden")};return e.addEventListener("transitionstart",t),e.addEventListener("transitionend",n),()=>{e.removeEventListener("transitionstart",t),e.removeEventListener("transitionend",n)}}}),[x]),g.useEffect((()=>{var e;if(x&&null!=(e=l.current)&&e.parentElement){const{parentElement:e}=l.current,t=Iy("padding",b),n=Ty(b),o=(({padding:e,paddingTop:t,paddingBottom:n,paddingLeft:o,paddingRight:a})=>({padding:e,paddingTop:t,paddingBottom:n,paddingLeft:o,paddingRight:a}))(e.style),a=()=>{e.style.padding="0px",e.style.paddingTop="0px",e.style.paddingBottom="0px",e.style.paddingLeft="0px",e.style.paddingRight="0px",e.style[t]=(n?y:h)+"px"};if(a(),"undefined"!=typeof window)return window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a),Object.entries(o).forEach((([t,n])=>{e.style[t]=n}))}}}),[x,b,h,y]);const{style:C={},...S}=t,{style:R={},onClick:T,...A}=o,I=function({position:e="bottom",height:t,width:n,devtoolsTheme:o,isOpen:a,isResizing:i,panelStyle:r}){const s=Ay(e),c=Iy("border",s),u=Ty(e);return{...r,direction:"ltr",position:"fixed",[e]:0,[c]:"1px solid "+o.gray,transformOrigin:s,boxShadow:"0 0 20px rgba(0,0,0,.3)",zIndex:99999,visibility:a?"visible":"hidden",...i?{transition:"none"}:{transition:"all .2s ease"},...a?{opacity:1,pointerEvents:"all",transform:u?"translateX(0) scale(1)":"translateY(0) scale(1)"}:{opacity:0,pointerEvents:"none",transform:u?"translateX(15px) scale(1.02)":"translateY(15px) scale(1.02)"},...u?{top:0,height:"100vh",maxWidth:"90%",width:"number"==typeof n&&n>=70?n:Sy}:{left:0,width:"100%",maxHeight:"90%",height:"number"==typeof t&&t>=70?t:Sy}}}({position:b,devtoolsTheme:yy,isOpen:x,height:h,width:y,isResizing:j,panelStyle:C});return E()?g.createElement(i,{ref:l,className:"ReactQueryDevtools","aria-label":"React Query Devtools"},g.createElement(by,{theme:yy},g.createElement(av,Yf({ref:p,context:r,styleNonce:s,position:b,onPositionChange:k,showCloseButton:!0,closeButtonProps:n},S,{style:I,isOpen:x,setIsOpen:m,onDragStart:e=>((e,t)=>{if(!e)return;if(0!==t.button)return;const n=Ty(b);_(!0);const{height:o,width:a}=e.getBoundingClientRect(),i=t.clientX,r=t.clientY;let s=0;const c=e=>{e.preventDefault(),n?(s=a+("right"===b?i-e.clientX:e.clientX-i),v(s)):(s=o+("bottom"===b?r-e.clientY:e.clientY-r),f(s)),m(!(s<70))},u=()=>{j&&_(!1),document.removeEventListener("mousemove",c,!1),document.removeEventListener("mouseUp",u,!1)};document.addEventListener("mousemove",c,!1),document.addEventListener("mouseup",u,!1)})(p.current,e),errorTypes:u}))),x?null:g.createElement("button",Yf({type:"button"},A,{"aria-label":"Open React Query Devtools","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"false",onClick:e=>{m(!0),null==T||T(e)},style:{background:"none",border:0,padding:0,position:"fixed",zIndex:99999,display:"inline-flex",fontSize:"1.5em",margin:".5em",cursor:"pointer",width:"fit-content",..."top-right"===a?{top:"0",right:"0"}:"top-left"===a?{top:"0",left:"0"}:"bottom-right"===a?{bottom:"0",right:"0"}:{bottom:"0",left:"0"},...R}}),g.createElement(nv,{"aria-hidden":!0}),g.createElement(By,{text:"Open React Query Devtools"}))):null};process.env.NODE_ENV;var lv,pv={backgroundColor:"#fcfcff",width:"100%",zIndex:1e7,height:"100%",position:"absolute"};exports.ApiErrorCodes=void 0,(lv=exports.ApiErrorCodes||(exports.ApiErrorCodes={})).ECONNABORTED="ECONNABORTED",lv.ETIMEDOUT="ETIMEDOUT",lv.ERR_BAD_REQUEST="ERR_BAD_REQUEST";var dv=["LOCAL","DEV","STG"].includes(process.env.ENVIRONMENT||"");"undefined"!=typeof window&&dv&&function(){e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:if(!Ea())return console.info('MSW is disabled. Run "window.enableMSW()" to enable it.'),[2];console.info('MSW is enabled. Run "window.disableMSW()" to disable it.'),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,wa.start({serviceWorker:{url:"/mockServiceWorker.js"},onUnhandledRequest:"bypass"})];case 2:return e.sent(),[3,4];case 3:return t=e.sent(),console.error("Error starting MSW:",t),[3,4];case 4:return[2]}}))}))}(),exports.Api=Eh,exports.ApiProvider=function(t){var n=this,o=t.children,a=process.env.ENVIRONMENT,i=h.useMemo((function(){return"DEV"!==a&&"LOCAL"!==a?"testing":"live"}),[a]),r=h.useState(!1),s=r[0],c=r[1],u=h.useCallback((function(t){return e.__awaiter(n,void 0,void 0,(function(){var n,o,a,r,s;return e.__generator(this,(function(c){switch(c.label){case 0:return n=localStorage.getItem("headers"),o=n&&JSON.parse(n),a=localStorage.getItem("isTesting")&&"OFF"!==localStorage.getItem("isTesting")?"testing":"live",r=localStorage.getItem("x-organization-code"),s=r?JSON.parse(r).value:"",[4,Sh.refreshInstance({headers:e.__assign(e.__assign({},o),{"X-Environment":a||i,"x-organization-code":s,"x-account-code":t.detail.accountCode,"X-Content-Type-Options":"nosniff"})})];case 1:return c.sent(),[2]}}))}))}),[i]);h.useEffect((function(){return addEventListener("ACCOUNT_CHANGED",u),function(){window.removeEventListener("ACCOUNT_CHANGED",u)}}),[u]);var l=h.useCallback((function(t){return e.__awaiter(n,void 0,void 0,(function(){var n,o,a,r,s,u,l;return e.__generator(this,(function(p){switch(p.label){case 0:return n=localStorage.getItem("headers"),(o=n&&JSON.parse(n))?(a=localStorage.getItem("x-organization-code"),r=localStorage.getItem("account"),s=r?null===(l=JSON.parse(r).value)||void 0===l?void 0:l.code:"",u=a?JSON.parse(a).value:"",[4,Sh.refreshInstance({headers:e.__assign(e.__assign({},o),{"X-Environment":t||i,"x-organization-code":u,"x-account-code":s,"X-Content-Type-Options":"nosniff"})})]):[3,2];case 1:p.sent(),Bf.refetchQueries(["fetch-profile","accountsV2","accounts","fetch-all-organizations","fetch-permissions"]),c(!0),p.label=2;case 2:return[2]}}))}))}),[i,c]);return h.useEffect((function(){var e=localStorage.getItem("isTesting")&&"OFF"!==localStorage.getItem("isTesting")?"testing":"live";window.addEventListener("storage",(function(t){if("token"===t.key||"isTesting"===t.key){var n="OFF"===t.newValue?"live":"testing";"isTesting"===t.key?l(n):"token"===t.key&&l(e)}})),l(e)}),[c,l]),s?React.createElement(Of,{client:Bf},o,React.createElement(uv,{initialIsOpen:!1})):React.createElement("div",{style:pv})},exports.ApiSingleton=Sh,exports.getQueryKeyGetNameAndIcon=Gf,exports.getQueryKeyRequiredFields=Wf,exports.queryCache=Ff,exports.queryClient=Bf,exports.use3DSExemptions=function(){var t=this;return qf({queryKey:["smart-routing-3ds-excemptions"],queryFn:function(){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().get3DSExemptions()];case 1:return[2,e.sent().data]}}))}))},useErrorBoundary:!1})},exports.useAICreateWorkflow=function(t,n){return void 0===n&&(n={}),Nf((function(e){return Sh.getInstance().generateAIWorkflowRoutes(t,e).then((function(e){return null==e?void 0:e.data}))}),e.__assign(e.__assign({},n),{useErrorBoundary:!1}))},exports.useAllFeatureFlags=function(t){var n=this,o=qf({queryKey:["all-feature-flags",Object.values(t).filter(Boolean)],queryFn:function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getFeatureFlagIdAll({accountCode:t.account_code}).then((function(e){return null==e?void 0:e.data}))]}))}))},enabled:!!t.account_code&&!!t.organization_code&&!!t.email,cacheTime:9e5,useErrorBoundary:!1}),a=If();return h.useEffect((function(){a.setQueryData(["cached-feature-flags"],o)}),[o,a]),o},exports.useAllowListDetail=function(e,t,n){return qf(["allow-list-detail",e],(function(){return Sh.getInstance().getAllowlistDetail(e,t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{enabled:!!e&&!!n})},exports.useBlackListDetail=function(e,t,n,o,a,i){return qf(["black-list-detail",e,t,o,a,i],(function(){return Sh.getInstance().getBlacklistDetail(e,t,n,o,a).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e&&i,cacheTime:0})},exports.useCachedFeatureFlag=function(t){var n,o,a=If(),i=a.getQueryState(["cached-feature-flags"]),r=Boolean(!(null===(n=null==i?void 0:i.data)||void 0===n?void 0:n.status)||"loading"===(null===(o=null==i?void 0:i.data)||void 0===o?void 0:o.status)),s=qf({queryKey:["cached-feature-flags"],queryFn:function(){},enabled:!1,select:function(e){var n;return{result:null===(n=null==e?void 0:e.data)||void 0===n?void 0:n[t]}},initialData:function(){var e=a.getQueryData(["cached-feature-flags"]);return(null==e?void 0:e.data)||{}}});return e.__assign(e.__assign({},s),{isLoading:r})},exports.useCancelReport=function(){return Nf((function(e){return Sh.getInstance().cancelReport(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useChangePasswordV2=function(){var t=this;return Nf((function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().changePasswordV2(n).then((function(e){return null==e?void 0:e.data}))];case 1:return[2,e.sent()]}}))}))}))},exports.useChangePaymentsWebhook=function(){return Nf(["change-payments-webhook"],(function(e){var t=e.status,n=e.paymentCode;return Sh.getInstance().postChangePaymentsWebhook({status:t,paymentCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useChangeStatusBlackList=function(){return Nf(["change-blacklist"],(function(e){return Sh.getInstance().changeBlackListStatus(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useChangeStatusItemBlackList=function(){return Nf(["change-blacklist-item"],(function(e){return Sh.getInstance().changeBlackListStatusItem(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useChangeStylingSettings=function(){return Nf((function(e){var t=e.accountCode,n=e.environment,o=void 0===n?"live":n,a=e.payload;return Sh.getInstance().changeStylingSettings({accountCode:t,environment:o,payload:a}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}))},exports.useChangeTemplateStatus=function(){var t=this;return Nf(["POST/template-reporting/report-templates/status"],(function(n){var o=n.templateId,a=n.payload;return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().changeTemplateStatus(o,a).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/templates"]})},useErrorBoundary:!1})},exports.useChargebacksUpload=function(){return Nf((function(e){var t=e.payload,n=e.paymentId,o=e.transactionId,a=e.handleSetProgress;return Sh.getInstance().uploadChargebacks(t,n,o,a)}))},exports.useChartAssistantSocket=function(){var e=h.useRef(null),t=h.useRef(null),n=h.useRef(null),o=h.useState(!1),a=o[0],i=o[1],r=h.useState(null),s=r[0],c=r[1],u=h.useState(null),l=u[0],p=u[1],d=h.useCallback((function(){t.current&&(clearInterval(t.current),t.current=null),n.current&&(clearTimeout(n.current),n.current=null)}),[]),m=h.useCallback((function(){var o;if((null===(o=e.current)||void 0===o?void 0:o.readyState)!==WebSocket.OPEN){t.current&&(clearInterval(t.current),t.current=null),n.current&&(clearTimeout(n.current),n.current=null),p(null);try{var a=new WebSocket("".concat(Ch["WS_URL_".concat(Ch.ENVIRONMENT)],"/data-assistant/charts/ws"));e.current=a,a.onopen=function(){i(!0);var e=localStorage.getItem("token");e&&a.send(JSON.stringify({type:"auth",token:e})),t.current=setInterval((function(){a.readyState===WebSocket.OPEN?a.send(JSON.stringify({type:"ping"})):(d(),i(!1))}),3e4)},a.onmessage=function(e){try{var t=JSON.parse(e.data);c(t)}catch(e){p("Failed to parse server response")}},a.onerror=function(e){p("Connection error occurred"),i(!1)},a.onclose=function(e){i(!1),d(),e.wasClean||1e3===e.code||(n.current=setTimeout((function(){m()}),5e3))}}catch(e){p("Failed to establish connection")}}}),[]),f=h.useCallback((function(t){var n;(null===(n=e.current)||void 0===n?void 0:n.readyState)===WebSocket.OPEN&&e.current.send(JSON.stringify({type:"subscribe",chart_id:t}))}),[]),g=h.useCallback((function(t){var n;(null===(n=e.current)||void 0===n?void 0:n.readyState)===WebSocket.OPEN&&e.current.send(JSON.stringify({type:"unsubscribe",chart_id:t}))}),[]),y=h.useCallback((function(){c(null)}),[]),v=h.useCallback((function(){t.current&&(clearInterval(t.current),t.current=null),n.current&&(clearTimeout(n.current),n.current=null),e.current&&(i(!1),e.current.close(1e3,"Manual disconnect"),e.current=null)}),[]);return h.useEffect((function(){return m(),function(){d(),v()}}),[]),{subscribe:f,unsubscribe:g,disconnect:v,connect:m,clearChartData:y,isConnected:a,chartData:s,connectionError:l}},exports.useChartExecute=function(e){return qf(["chartgpt-chart-execute",e],(function(){return Sh.getInstance().executeChartGPTChart(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e})},exports.useCloneTemplate=function(){var t=this;return Nf(["POST/template-reporting/report-templates/clone"],(function(n){var o=n.templateId,a=n.payload;return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().cloneReportTemplate(o,a).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/templates"]})},useErrorBoundary:!1})},exports.useCommunicationDetails=function(e,t){return qf(["fetch-communication-details",e],(function(){return Sh.getInstance().getCommunicationDetails(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e,useErrorBoundary:!1,cacheTime:0})},exports.useCommunications=function(e){var t;return qf(["fetch-communications",e],(function(){return Sh.getInstance().getCommunications(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null===(t=e.account_codes)||void 0===t?void 0:t.length),useErrorBoundary:!1,cacheTime:3e3})},exports.useCommunicationsByDay=function(t,n){return qf(e.__assign({queryKey:["smart-recovery-communications-by-day",t],queryFn:function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return n=Sh.getInstance(),o={start_date:t.start_date||"",end_date:t.end_date||"",organization_code:t.organization_code,account_codes:t.account_code||[],countries:t.countries||[],channels:t.channels||[],focuses:t.focuses||[],timezone:t.timezone},[4,n.post("/nova-insights/communications-by-day",o)];case 1:return a=e.sent(),[2,(i=a.data,r=o.start_date,s=o.end_date,c=i.plots||[],u=c.find((function(e){return"TOTAL_COMMUNICATIONS_LABEL"===e.label})),l=c.find((function(e){return"COMPLETED_COMMUNICATIONS_LABEL"===e.label})),p=c.find((function(e){return"CONVERSION_RATE_LABEL"===e.label})),d=Kf(null==u?void 0:u.rows,r,s),m=Kf(null==l?void 0:l.rows,r,s),h=Kf(null==p?void 0:p.rows,r,s),{communications:{distribution:d.map((function(e){return{key:e.date||"",total:parseFloat(e.value),current_label:Hf(e.date||""),current_amount:parseFloat(e.value)}})),total:parseFloat((null==u?void 0:u.value)||"0")},conversion_rate:{distribution:h.map((function(e){return{key:e.date||"",total:parseFloat(e.value),percentage:parseFloat(e.value)}})),total:parseFloat((null==p?void 0:p.value)||"0")},completed_communications:{distribution:m.map((function(e){return{key:e.date||"",total:parseFloat(e.value),current_label:Hf(e.date||""),current_amount:parseFloat(e.value)}})),total:parseFloat((null==l?void 0:l.value)||"0")}})]}var i,r,s,c,u,l,p,d,m,h}))}))},enabled:!!t.organization_code,staleTime:3e5},n))},exports.useCommunicationsBySubstatus=function(t,n){return qf(e.__assign({queryKey:["smart-recovery-communications-by-substatus",t],queryFn:function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return n=Sh.getInstance(),o={start_date:t.start_date||"",end_date:t.end_date||"",organization_code:t.organization_code,account_codes:t.account_code||[],countries:t.countries||[],channels:t.channels||[],focuses:t.focuses||[],timezone:t.timezone},[4,n.post("/nova-insights/communications-by-substatus",o)];case 1:return a=e.sent(),[2,$f(a.data)]}}))}))},enabled:!!t.organization_code,staleTime:3e5},n))},exports.useCommunicationsFilters=function(){return qf(["fetch-communications-filters"],(function(){return Sh.getInstance().getCommunicationsFilters().then((function(e){return null==e?void 0:e.data}))}),{keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3})},exports.useCommunicationsSubstatusByDay=function(t,n){return qf(e.__assign({queryKey:["smart-recovery-communications-substatus-by-day",t],queryFn:function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return n=Sh.getInstance(),o={start_date:t.start_date||"",end_date:t.end_date||"",organization_code:t.organization_code,account_codes:t.account_code||[],countries:t.countries||[],channels:t.channels||[],focuses:t.focuses||[],timezone:t.timezone},[4,n.post("/nova-insights/communications-substatus-by-day",o)];case 1:return a=e.sent(),[2,Qf(a.data,o.start_date,o.end_date)]}}))}))},enabled:!!t.organization_code,staleTime:3e5},n))},exports.useConfirmedOtpMfa=function(){return Nf((function(e){return Sh.getInstance().confirmMfaOtp(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useCountRowsForReport=function(){return Nf((function(e){return Sh.getInstance().getTotalRowsForExport(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})},exports.useCreateAndExecuteChart=function(){var t=this;return Nf((function(n){return e.__awaiter(t,void 0,void 0,(function(){var t,o,a,i,r;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().createChartGPTChart(n)];case 1:if(t=e.sent(),!(o=null!==(i=null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.chartgpt_id)&&void 0!==i?i:null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.chart_id))throw new Error("Failed to create chart: No chart ID returned");return[2,{chart_id:o}]}}))}))}),{useErrorBoundary:!1})},exports.useCreateAndExecuteChartWithTimezone=function(){var t=this;return Nf((function(n){return e.__awaiter(t,void 0,void 0,(function(){var t,o,a,i,r;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().createChartGPTChart(n)];case 1:if(t=e.sent(),!(o=null!==(i=null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.chartgpt_id)&&void 0!==i?i:null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.chart_id))throw new Error("Failed to create chart: No chart ID returned");return[2,{chart_id:o}]}}))}))}),{useErrorBoundary:!1})},exports.useCreateChart=function(){return Nf((function(e){return Sh.getInstance().createChartGPTChart(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useCreateChartWithTimezone=function(){return Nf((function(e){return Sh.getInstance().createChartGPTChart(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useCreateMonitorTemplate=function(e){return Nf((function(t){return Sh.getInstance().createMonitorTemplate(t,e).then((function(e){return e.data}))}))},exports.useCreateMonitorThreshold=function(e){return Nf((function(t){return Sh.getInstance().createMonitorThreshold(t,e).then((function(e){return e.data}))}))},exports.useCreateOperationTransaction=function(){return Nf((function(e){var t=e.payload,n=e.transactionId,o=e.paymentId,a=e.action;return Sh.getInstance().createOperationTransaction(t,n,o,a)}))},exports.useCreatePaymentLinks=function(){return Nf(["post-payment-links"],(function(e){var t=e.payload,n=e.accountCode;return Sh.getInstance().postPaymentLinks({payload:t,accountCode:n}).then((function(e){return null==e?void 0:e.data}))}))},exports.useCreateReconciliationAlert=function(){return Nf(["POST/reconciliation/alerts"],(function(e){return Sh.getInstance().postReconciliationAlert(e).then((function(e){return e.data})).catch((function(e){throw e}))}),{onSuccess:function(){Bf.invalidateQueries(["GET/reconciliation/alerts/list"])},useErrorBoundary:!1})},exports.useCreateReconciliationReportTemplate=function(t){var n=this;return Nf((function(){return Sh.getInstance().createReconciliationReportTemplate(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}),{onMutate:function(t){return e.__awaiter(n,void 0,void 0,(function(){var n,o;return e.__generator(this,(function(a){switch(a.label){case 0:return[4,Bf.cancelQueries({queryKey:["GET/reconciliation/reports/templates"]})];case 1:return a.sent(),n=null===(o=Bf.getQueryData(["GET/reconciliation/reports/templates"]))||void 0===o?void 0:o.templates,Bf.setQueryData(["GET/reconciliation/reports/templates"],(function(n){return{templates:e.__spreadArray(e.__spreadArray([],n.templates,!0),[t],!1)}})),[2,{previousTemplates:n}]}}))}))},onError:function(e,t,n){Bf.setQueryData(["GET/reconciliation/reports/templates"],null==n?void 0:n.previousTemplates)},onSettled:function(){Bf.invalidateQueries({queryKey:["GET/reconciliation/reports/templates"]})},useErrorBoundary:!1})},exports.useCreateReconciliationsReportV2=function(){return Nf((function(e){return Sh.getInstance().createReconciliationsReportV2(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useCreateReportTemplate=function(t){var n=this;return Nf((function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().createReportTemplate(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onMutate:function(t){return e.__awaiter(n,void 0,void 0,(function(){var n;return e.__generator(this,(function(o){switch(o.label){case 0:return[4,Bf.cancelQueries({queryKey:["GET/reports/templates"]})];case 1:return o.sent(),n=Bf.getQueryData(["GET/reports/templates"]),Bf.setQueryData(["GET/reports/templates"],(function(n){return e.__spreadArray(e.__spreadArray([],n,!0),[t],!1)})),[2,{previousTemplates:n}]}}))}))},onError:function(e,t,n){Bf.setQueryData(["GET/reports/templates"],null==n?void 0:n.previousTemplates)},onSettled:function(){Bf.invalidateQueries({queryKey:["GET/reports/templates"]})}})},exports.useCreateReportV2=function(){return Nf((function(e){return Sh.getInstance().createReportV2(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useCreateRoles=function(){return Nf((function(e){var t=e.payload,n=e.accountCode;return Sh.getInstance().createRoles(t,n).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useCreateSamlConfig=function(){return Nf((function(e){return Sh.getInstance().createSamlConfig(e)}))},exports.useCreateSchedule=function(){var t=this;return Nf(["POST/template-reporting/report-schedules"],(function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().createReportSchedule(n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/schedules"]})},useErrorBoundary:!1})},exports.useCreateScheduledReport=function(){return Nf((function(e){var t=e.payload;return Sh.getInstance().postScheduledReport(t).then((function(e){return{data:e.data,status:e.status}})).catch((function(e){return e}))}))},exports.useCreateTemplate=function(){var t=this;return Nf(["POST/template-reporting/report-templates"],(function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().createTemplateReporting(n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/templates"]})},useErrorBoundary:!1})},exports.useCreateUserAuth0=function(){return Nf((function(e){return Sh.getInstance().createUserAuth0(e)}))},exports.useCreateWorkflow=function(t,n,o){var a=this;return void 0===o&&(o=null),Nf((function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().postSmartRoutingCreateWorkflow(t,n).then((function(e){return null==e?void 0:e.data}))];case 1:return[2,e.sent()]}}))}))}),o)},exports.useDeactivateSchedule=function(){var t=this;return Nf(["POST/template-reporting/report-schedules/deactivate"],(function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().deactivateReportSchedule(n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/schedules"]})},useErrorBoundary:!1})},exports.useDeleteAccountsUserMassive=function(){return Nf((function(e){var t=e.organizationCode,n=e.userCode,o=e.payload;return Sh.getInstance().deleteAccountsUserMassive(t,n,o)}))},exports.useDeleteAllowlistItem=function(){return Nf(["delete-allowlist-item"],(function(e){return Sh.getInstance().deleteAllowlistItem({payload:e}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.useDeleteBlackListType=function(){return Nf(["delete-blacklist"],(function(e){var t=e.black_list_code;return Sh.getInstance().deleteBlackListType({black_list_code:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useDeleteBlockListItem=function(){return Nf(["delete-blacklist-items"],(function(e){var t=e.blocklist_code,n=e.blocklist_item_id,o=e.account_code;return Sh.getInstance().deleteBlockListItem({blocklist_code:t,blocklist_item_id:n,account_code:o}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useDeleteChart=function(){return Nf((function(e){return Sh.getInstance().deleteChartGPTChart(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useDeleteCustomizedApiKeys=function(){return Nf((function(e){var t=e.code;return Sh.getInstance().deleteCustomizedApiKeys(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.useDeletePaymentLink=function(){return Nf(["post-delete-payment-link"],(function(e){var t=e.code;return Sh.getInstance().postDeletePaymentLink({code:t}).then((function(e){return null==e?void 0:e.data}))}))},exports.useDeleteReconciliationAlert=function(){return Nf(["DELETE/reconciliation/alerts"],(function(e){return Sh.getInstance().deleteReconciliationAlert(e).then((function(e){return e.data})).catch((function(e){throw e}))}),{onSuccess:function(){Bf.invalidateQueries(["GET/reconciliation/alerts/list"])},useErrorBoundary:!1})},exports.useDeleteRoles=function(){return Nf((function(e){return Sh.getInstance().deleteRoles(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useDeleteSamlConfig=function(){return Nf((function(){return Sh.getInstance().deleteSamlConfig()}))},exports.useDeleteSchedule=function(){var t=this;return Nf(["DELETE/template-reporting/report-schedules"],(function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().deleteReportSchedule(n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/schedules"]})},useErrorBoundary:!1})},exports.useDeleteScheduledReport=function(){return Nf((function(e){return Sh.getInstance().deleteScheduledReport(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useDeleteTemplate=function(){var t=this;return Nf(["DELETE/template-reporting/report-templates"],(function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().deleteReportTemplate(n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/templates"]})},useErrorBoundary:!1})},exports.useDeleteUserTeamV2=function(){return Nf((function(e){var t=e.userCode,n=e.organizationCode;return Sh.getInstance().deleteUserTeamV2({userCode:t,organizationCode:n}).then((function(e){return null==e?void 0:e.data}))}))},exports.useDeleteVersion=function(e,t){var n=e.versionCode,o=e.accountCode;return void 0===t&&(t=null),Nf((function(){return Sh.getInstance().deleteSmartRoutingVersion(o,n).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useDeleteWebhookV2=function(e){return Nf((function(e){var t=e.code,n=e.accountCode;return Sh.getInstance().deleteWebhookV2(t,n)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})},exports.useDuplicateVersion=function(e,t){var n=e.versionCode,o=e.accountCode;return void 0===t&&(t=null),Nf((function(){return Sh.getInstance().postSmartRoutingDuplicateVersion(o,n).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useEditPaymentLinks=function(){return Nf(["patch-payment-links"],(function(e){var t=e.payload,n=e.accountCode,o=e.paymentLinkCode;return Sh.getInstance().patchPaymentLinks({payload:t,accountCode:n,paymentLinkCode:o}).then((function(e){return null==e?void 0:e.data}))}))},exports.useEditRoles=function(){var t=this;return Nf((function(n){var o=n.payload,a=n.id,i=n.accountCode;return e.__awaiter(t,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().editRoles({payload:o,id:a},i)];case 1:return[2,null==(t=e.sent())?void 0:t.data]}}))}))}),{useErrorBoundary:!1})},exports.useEmailVerification=function(e){return qf(["email-verification",e],(function(){return Sh.getInstance().emailVerification(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e})},exports.useExcludeUsers=function(){return Nf((function(e){var t=e.payload,n=e.organizationCode;return Sh.getInstance().mfaExcludeUsers(t,n)}))},exports.useExportApiLogs=function(){return Nf((function(e){return Sh.getInstance().postExportApiLogs(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useFeatureFlags=function(t){var n=this,o=Object.values(t).filter(Boolean);return qf(["feature-flags",o],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getFeatureFlagId(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:o.length>1,useErrorBoundary:!1})},exports.useFirebaseUserSubscribe=function(e){return Nf((function(e){var t=e.payload;return Sh.getInstance().firebaseUserSubscribe(t)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})},exports.useGenerateFeedback=function(t){return void 0===t&&(t={}),Nf((function(e){return Sh.getInstance().postAIGenerationFeedback(e).then((function(e){return null==e?void 0:e.data}))}),e.__assign(e.__assign({},t),{useErrorBoundary:!1}))},exports.useGetAccounts=function(e){var t,n=Uf(),o=null!==(t=null!=e?e:n)&&void 0!==t?t:null;return qf({queryKey:["accounts",o],queryFn:function(){return Sh.getInstance().getAccounts(o).then((function(e){return null==e?void 0:e.data}))},keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3,enabled:!!o})},exports.useGetAccountsByUser=function(e){return qf(["accountsV2-by-user",e],(function(){return e?Sh.getInstance().getAccountsByUser(e).then((function(e){return{accountsV2ByUser:(null==e?void 0:e.data)||null}})).catch((function(e){return{accountsV2ByUser:[],error:e}})):{accountsV2ByUser:[]}}),{enabled:!!e,staleTime:0})},exports.useGetAccountsForImpersonation=function(t,n){var o=this;return qf({queryKey:["accounts-for-impersonation",t,n],queryFn:function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getAccountsForImpersonation(t).then((function(e){var t,o;return(null===(o=null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.response)||void 0===o?void 0:o.map((function(e){return{label:e.name,value:n?e.code_testing:e.code_live,code_live:e.code_live,code_testing:e.code_testing}})))||[]}))]}))}))},keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3,enabled:!!t})},exports.useGetAccountsV2=function(e){return qf(["accountsV2",e],(function(){return Sh.getInstance().getAccountsV2().then((function(e){return(null==e?void 0:e.data)||[]})).catch((function(e){throw e}))}),{keepPreviousData:!0,enabled:!!e,useErrorBoundary:!1})},exports.useGetAllConfigRules=function(){return qf(["config-rules"],(function(){return Sh.getInstance().getAllConfigRules().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0})},exports.useGetAllOrganizations=function(){return qf(["fetch-all-organizations",Uf()],(function(){return Sh.getInstance().getAllOrganization().then((function(e){return(null==e?void 0:e.data)||[]}))}),{cacheTime:36e5,keepPreviousData:!0,useErrorBoundary:!1})},exports.useGetAllReconciliationsAdvancements=function(e){var t=e.body,n=e.params,o=e.enabled;return qf(["GET/reconciliation/advancements/list",t,n],(function(){return Sh.getInstance().getReconciliationAdvancements(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})},exports.useGetAllReconciliationsAgenda=function(e){var t=e.body,n=e.params,o=e.enabled;return qf(["GET/reconciliation/agenda/list",t,n],(function(){return Sh.getInstance().getReconciliationAgenda(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})},exports.useGetAllReconciliationsAlerts=function(e){var t=e.body,n=e.params,o=e.enabled;return qf(["GET/reconciliation/alerts/list",t,n],(function(){return Sh.getInstance().getReconciliationAlerts(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})},exports.useGetAllReconciliationsFees=function(e){var t=e.body,n=e.params,o=e.enabled;return qf(["GET/reconciliation/fees/list",t,n],(function(){return Sh.getInstance().getReconciliationFees(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})},exports.useGetAllReconciliationsSales=function(e){var t=e.body,n=e.params,o=e.enabled;return qf(["GET/reconciliation/sales/list",t,n],(function(){return Sh.getInstance().getReconciliationSales(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})},exports.useGetAllTableColumns=function(e){return qf(["GET/v1/reconciliation/table/".concat(e,"/columns")],(function(){return Sh.getInstance().getAllTableColumns(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.useGetAllowedIps=function(){return qf(["developers-get-allowed-ips"],(function(){return Sh.getInstance().getAllowedIps().then((function(t){return(null==t?void 0:t.data)?e.__assign(e.__assign({},null==t?void 0:t.data),{isError:!1}):null})).catch((function(t){return e.__assign(e.__assign({},t),{isError:!0})}))}),{enabled:!1,cacheTime:0})},exports.useGetApiLogsDetailByPaymentCode=function(e){return qf(["api-logs-detail",e],(function(){return Sh.getInstance().getApiLogsDetailByPaymentCode(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e,cacheTime:0,useErrorBoundary:!1})},exports.useGetAuditEvents=function(e){return qf(["events",e],(function(){return Sh.getInstance().getAuditEvents(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e.account_code&&!!e.organizationCode,cacheTime:0,keepPreviousData:!0,useErrorBoundary:!1})},exports.useGetAuditLogsFilters=function(){return qf(["/cms/audit-logs-filters"],(function(){return Sh.getInstance().useGetAuditLogsFilters().then((function(e){return lh(e)?fh:null==e?void 0:e.data})).catch((function(){return fh}))}))},exports.useGetAuditMonitorEventDetail=function(e){return qf(["audit-monitor-event-detail",e],(function(){return Sh.getInstance().getAuditMonitorDetail(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:null!==e,cacheTime:0,useErrorBoundary:!1})},exports.useGetBatchRefundProcessedFileDownload=function(){var t=this;return Nf((function(n){var o=n.batchRefundId,a=n.organizationCode,i=n.accountCode;return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getBatchRefundProcessedFileDownload(o,a,i).then((function(e){return null==e?void 0:e.data}))]}))}))}),{useErrorBoundary:!1})},exports.useGetBatchRefundUserFileDownload=function(){var t=this;return Nf((function(n){var o=n.batchRefundId,a=n.organizationCode,i=n.accountCode;return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getBatchRefundUserFileDownload(o,a,i).then((function(e){return null==e?void 0:e.data}))]}))}))}),{useErrorBoundary:!1})},exports.useGetBatchRefunds=function(t,n){var o=this;return void 0===t&&(t=26),void 0===n&&(n=0),qf(["batch-refunds",t,n],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getBatchRefunds(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))]}))}))}),{cacheTime:0})},exports.useGetBlackList=function(e){return qf(["get-black-list",e],(function(){return Sh.getInstance().getBlackListType(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!e})},exports.useGetBlockListSummary=function(e,t,n){return qf(["get-block-list-summary",e,t,n],(function(){var o=Sh.getInstance();return n?o.getBlackListSummary(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e})):Promise.resolve({})}),{enabled:!!e&&!!n})},exports.useGetCardBrands=function(){return qf(["GET/catalog/card-brands"],(function(){return Sh.getInstance().getCardBrands().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useGetChartsByUser=function(){return qf(["chartgpt-user-charts"],(function(){return Sh.getInstance().getChartsByUser().then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0})},exports.useGetChartsByUserWithResults=function(){var t=this;return qf(["chartgpt-user-charts-with-results"],(function(){return e.__awaiter(t,void 0,void 0,(function(){var t,n,o,a=this;return e.__generator(this,(function(i){switch(i.label){case 0:return[4,(t=Sh.getInstance()).getChartsByUser()];case 1:return n=i.sent(),o=(null==n?void 0:n.data)||[],[4,Promise.all(o.map((function(n){return e.__awaiter(a,void 0,void 0,(function(){var o,a,i,r,s,c,u,l;return e.__generator(this,(function(p){switch(p.label){case 0:return p.trys.push([0,2,,3]),[4,t.executeChartGPTChart(n.code)];case 1:return o=p.sent(),[2,e.__assign(e.__assign({},n),{user_prompt:null!==(r=null===(i=null==o?void 0:o.data)||void 0===i?void 0:i.user_prompt)&&void 0!==r?r:n.user_prompt,unit_to_display:null!==(c=null===(s=null==o?void 0:o.data)||void 0===s?void 0:s.unit_to_display)&&void 0!==c?c:n.unit_to_display,results:null!==(l=null===(u=null==o?void 0:o.data)||void 0===u?void 0:u.results)&&void 0!==l?l:[]})];case 2:return a=p.sent(),console.error("Failed to execute chart ".concat(n.chart_id,":"),a),[2,e.__assign(e.__assign({},n),{results:[]})];case 3:return[2]}}))}))})))];case 2:return[2,i.sent()]}}))}))}))},exports.useGetCheckoutTemplate=function(e){var t=e.accountCode;return qf(["checkouts-template"],(function(){return Sh.getInstance().getCheckoutTemplate({accountCode:t}).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0,enabled:Boolean(t)})},exports.useGetCheckouts=function(e){var t=e.accountCode;return qf(["checkouts",t],(function(){return Sh.getInstance().getCheckouts({accountCode:t}).then((function(e){return e.data}))}),{cacheTime:0,enabled:Boolean(t)})},exports.useGetConditionalConfigRules=function(){return Nf((function(e){return Sh.getInstance().getConditionalConfigRules(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useGetConfigAllowlist=function(e,t){return qf(["get-cofig-allow-list",e],(function(){return Sh.getInstance().getConfigAllowlist(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!e&&!!t})},exports.useGetConnections=function(){return qf(["connections"],(function(){return Sh.getInstance().getConnections().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})},exports.useGetConnectionsByPaymentMethod=function(e){var t=e.accountCode,n=e.paymentMethod;return qf(["fetch-connections-by-payment-method",n,t],(function(){return Sh.getInstance().getConnectionsByPaymentMethod(t,n).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!n&&!!t,cacheTime:0,useErrorBoundary:!1})},exports.useGetCountriesConfigPaymentLink=function(e){return void 0===e&&(e=!0),qf(["countries",e],(function(){return Sh.getInstance().useGetCountriesConfig().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:e,keepPreviousData:!0})},exports.useGetCountriesConfigPaymentLinkV2=function(e){var t=localStorage.getItem("lang")||"en",n=e||t;return qf(["countries-v2",n],(function(){return Sh.getInstance().useGetCountriesConfigV2(n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!0,keepPreviousData:!0})},exports.useGetCredentials=function(t){var n=t.password,o=t.accountCode;return qf(["developers"],(function(){return Sh.getInstance().getDeveloperCredentials(n,o).then((function(t){return e.__assign(e.__assign({},null==t?void 0:t.data),{isValid:!0})})).catch((function(e){var t,n;return{isValid:!1,status:e.response.status,error:null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.data}}))}),{enabled:!1,cacheTime:0})},exports.useGetCredentialsMFA=function(){return Nf((function(t){var n=t.password,o=t.accountCode;return Sh.getInstance().getDeveloperCredentials(n,o).then((function(t){return e.__assign(e.__assign({},null==t?void 0:t.data),{isValid:!0})})).catch((function(e){var t,n;return{isValid:!1,status:e.response.status,error:null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.data}}))}))},exports.useGetCustomizedApiKeys=function(e){return qf(["fetch-customized-api-keys",e],(function(){return Sh.getInstance().postCustomizedApiKeys(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!(null==e?void 0:e.length)})},exports.useGetCustomizedApiKeysAccounts=function(){return qf(["fetch-customized-api-keys-accounts"],(function(){return Sh.getInstance().getCustomizedApiKeysAccounts().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{keepPreviousData:!0})},exports.useGetCustomizedApiKeysMembers=function(){return qf(["fetch-customized-api-keys-members"],(function(){return Sh.getInstance().getCustomizedApiKeysMembers().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{keepPreviousData:!0})},exports.useGetCustomizedApiKeysProducts=function(){return qf(["fetch-customized-api-keys-products"],(function(){return Sh.getInstance().getCustomizedApiKeysProducts().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{cacheTime:0})},exports.useGetCustomizedApiKeysToken=function(){return Nf((function(e){var t=e.code,n=e.password;return Sh.getInstance().getCustomizedApiKeysToken(t,n).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}))},exports.useGetDashboardStaticContents=function(){return qf(["/cms/static-contents"],(function(){return Sh.getInstance().getDashboardStaticContents().then((function(e){var t,n;return lh(e)?gh:(null===(n=null===(t=null==e?void 0:e.data)||void 0===t?void 0:t[0])||void 0===n?void 0:n.data)||{}}))}),{cacheTime:6048e5,useErrorBoundary:!1})},exports.useGetDialogs=function(){return qf(["dialogs"],(function(){return Sh.getInstance().getDialogs().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1,retryDelay:2e3,cacheTime:36e5})},exports.useGetDownloadReport=function(e,t,n){return void 0===t&&(t=!1),qf(["reports/".concat(e)],(function(){return Sh.getInstance().downloadReports(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:t,onSuccess:n,useErrorBoundary:!1})},exports.useGetEmailOtp=function(){return Nf((function(){return Sh.getInstance().getEmailOtp().then((function(e){return null==e?void 0:e.data}))}))},exports.useGetHashPylon=function(){var t=this;return qf(["fetch-hash-pylon"],(function(){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getHashPylon()]}))}))}),{keepPreviousData:!0,useErrorBoundary:!1})},exports.useGetImpersonationEnabled=function(){return qf(["fetch-impersonation-enabled"],(function(){return Sh.getInstance().getImpersonationEnabled().then((function(e){return null==e?void 0:e.data}))}),{keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3})},exports.useGetImpersonationUsers=function(){return qf(["fetch-impersonation-users"],(function(){return Sh.getInstance().getImpersonationUsers().then((function(e){var t;return(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.result)||[]}))}),{keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3})},exports.useGetInsightsReport=function(e){return qf(["get-insights-reports",e],(function(){return Sh.getInstance().getInsightsReport(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!(null==e?void 0:e.type),cacheTime:0,useErrorBoundary:!1})},exports.useGetInsightsReportAgain=function(e){return qf(["get-insights-reports-again",e],(function(){return Sh.getInstance().getInsightsReportAgain(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!(null==e?void 0:e.code),cacheTime:0,useErrorBoundary:!1})},exports.useGetIntegrationByAccountV2=function(e){var t=e.accountCode,n=e.organizationCode,o=Uf();return qf(["organizations-account-integrations",t,n],(function(){return Sh.getInstance().getIntegrationByAccountV2({accountCode:t,organizationCode:n||o}).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0,enabled:!!t,useErrorBoundary:!1})},exports.useGetIntegrationParams=function(e){var t=e.integration_code,n=e.enabled,o=e.accountCode;return qf(["integration-params",t,o],(function(){return t.includes("undefined")?{}:Sh.getInstance().getIntegrationParams({accountCode:o,integration_code:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,useErrorBoundary:!1})},exports.useGetLanguages=function(){return qf(["languages"],(function(){return Sh.getInstance().getLanguages().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1,cacheTime:300})},exports.useGetLocales=function(){return qf(["/cms/locales"],(function(){return Sh.getInstance().getLocales().then((function(e){return lh(e)?vh:e.data})).catch((function(){return vh}))}))},exports.useGetLoginMethods=function(){return qf({queryKey:["get-login-methods"],queryFn:function(){return Sh.getInstance().getLoginMethods().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}})},exports.useGetMFAConfig=function(e,t){var n=e.organizationCode;return qf(["mfa-config",n],(function(){return Sh.getInstance().getMFAConfig({organizationCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:t})},exports.useGetMFAExcludedUsers=function(e,t){var n=e.organizationCode;return qf(["mfa-excluded-users",n],(function(){return Sh.getInstance().getMFAExcludedUsers({organizationCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:t})},exports.useGetMFAStatus=function(e,t){return qf(["mfa-enforcement-status",e.accountCode],(function(){return Sh.getInstance().getMFAEnforcementStatus().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:t})},exports.useGetMenu=function(){return qf(["menu"],(function(){return Sh.getInstance().getMenu().then((function(e){return lh(e)?yh:null==e?void 0:e.data})).catch((function(){return yh}))}))},exports.useGetMergedNotifications=function(){return qf(["notifications-merged"],(function(){return Sh.getInstance().getMergedNotifications().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{keepPreviousData:!1,cacheTime:0})},exports.useGetNameAndIcon=function(e,t){var n=e.paymentMethodType,o=e.type;return qf(Gf({paymentMethodType:n,type:o}),(function(){return Sh.getInstance().getNameAndIcon({paymentMethodType:n,type:o}).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useGetNetworkTokensOnboardingByOrganization=function(t){var n=this;return qf({queryKey:["network-tokens-onboarding",t],queryFn:function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getNetworkTokensOnboardingByOrganization(t)];case 1:return[2,e.sent().data]}}))}))},enabled:!!t,useErrorBoundary:!1})},exports.useGetNotificationsCustomer=function(e){return qf(["notifications-customer",e],(function(){return Sh.getInstance().getNotificationsCustomer(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,keepPreviousData:!1})},exports.useGetNotificationsNumberMutation=function(){return Nf((function(e){return Sh.getInstance().getNotificationsNumber(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useGetOrganization=function(){return qf(["fetch-organizations"],(function(){return Sh.getInstance().getOrganization().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{keepPreviousData:!0})},exports.useGetPaymentFilters=function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=exports.PaymentFiltersSection.PAYMENTS),qf(["payment-filters",e,t],(function(){return Sh.getInstance().getPaymentFilters(t).then((function(e){return null==e?void 0:e.data}))}),{enabled:e,useErrorBoundary:!1,cacheTime:3e5})},exports.useGetPaymentLinkByCode=function(e){return qf(["payment-link"],(function(){return Sh.getInstance().getPaymentLinksByCode(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e})},exports.useGetPaymentLinks=function(e,t){return qf(["fetch-payment-links",e,t],(function(){return Sh.getInstance().getPaymentLinks(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t,cacheTime:0})},exports.useGetPaymentMethodsAndProviders=function(){return qf({queryKey:["/payment-methods/providers"],queryFn:function(){return Sh.getInstance().getPaymentMethodsAndProviders().then((function(e){return null==e?void 0:e.data}))},cacheTime:864e5,useErrorBoundary:!1})},exports.useGetPaymentMetricsFilters=function(){return qf(["payment-metrics-filters"],(function(){return Sh.getInstance().getPaymentMetricsFilters().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useGetPaymentStatusesStyles=function(){return qf(["/payment/statuses/style"],(function(){return Sh.getInstance().useGetPaymentStatusesStyles().then((function(e){return lh(e)?ph:null==e?void 0:e.data})).catch((function(){return ph}))}))},exports.useGetPaymentTransactionsDetails=function(e){var t=e.transaction_code,n=e.enabled;return qf(["payment-transaction-details",t],(function(){return Sh.getInstance().getPaymentTransactionsDetails({transaction_code:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t&&(void 0===n||n),useErrorBoundary:!1})},exports.useGetPaymentV2=function(t){var n=this,o=t.paymentCode,a=t.enabled,i=void 0===a||a,r=Sh.getInstance();return qf(["get-payment-v2",o],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,r.getPaymentV2(o).then((function(e){return e.data}))]}))}))}),{enabled:i,cacheTime:500,useErrorBoundary:!1})},exports.useGetPaymentsMethodsByCountry=function(e){var t=Uf();return qf(["payment-methods",e],(function(){return Sh.getInstance().getPaymentMethodsByCountry({provider_id:null==e?void 0:e.provider_id,country:null==e?void 0:e.country},t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e&&!!(null==e?void 0:e.provider_id),useErrorBoundary:!1})},exports.useGetPayoutDetail=function(e){return qf(["GET/payout-detail",JSON.stringify(e)],(function(){var t=Sh.getInstance();return e.organization_code?t.getPayoutDetails(e).then((function(e){return null==e?void 0:e.data})):{}}),{enabled:!!e.organization_code&&!!e&&e.enabled,cacheTime:0,useErrorBoundary:!1})},exports.useGetPayoutHistoryDetail=function(e){var t=Uf();return qf(["GET/payout-history-detail",JSON.stringify(e)],(function(){return Sh.getInstance().getPayoutHistoryDetails(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.payout_code)&&e.enabled,cacheTime:0,useErrorBoundary:!1})},exports.useGetPayoutTransactionDetail=function(e){return qf(["GET/payout-transaction-detail",JSON.stringify(e)],(function(){return Sh.getInstance().getPayoutTransactionDetails(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e&&!!(null==e?void 0:e.transaction_code)&&(null==e?void 0:e.enabled),cacheTime:0,useErrorBoundary:!1})},exports.useGetPermissions=function(e,t){return qf(["fetch-permissions",e,t],(function(){var e,t,n,o=localStorage.getItem("account"),a=localStorage.getItem("user"),i=o&&JSON.parse(o),r=a&&JSON.parse(a);return((null==r?void 0:r.merlin)?null===(e=null==r?void 0:r.merlin)||void 0===e?void 0:e.permissions:null===(n=null===(t=null==i?void 0:i.value)||void 0===t?void 0:t.role)||void 0===n?void 0:n.permission_ids.map((function(e){return{permission_name:e,description:e,resource_server_name:e,resource_server_identifier:e}})))||[]}))},exports.useGetPermissionsCatalog=function(){return qf(["fetch-permissions-catalog"],(function(){return Sh.getInstance().getPermissionsCatalog().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})},exports.useGetProfile=function(){return qf(["fetch-profile"],(function(){return Sh.getInstance().getProfile().then((function(e){var t=null==e?void 0:e.data;return t&&localStorage.setItem("user",JSON.stringify(t)),t})).catch((function(e){throw e}))}),{keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3})},exports.useGetProofOfCancel=function(t,n){var o=this,a=Uf();return qf(["GET/useGetProofOfCancel",a,t,n],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getProofOfCancel(t,a,n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:!!t&&!!a&&!!n,cacheTime:0,useErrorBoundary:!1})},exports.useGetProofOfPayment=function(t,n){var o=this,a=Uf();return qf(["GET/useGetProofOfPayment",a,t,n],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getProofOfPayment(t,a,n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:!!t&&!!a&&!!n,cacheTime:0,useErrorBoundary:!1})},exports.useGetProviderParams=function(e){var t=Uf();return qf(["organizations-provider-params",e],(function(e){var n=e.queryKey;return Sh.getInstance().getProviderParams(n[1],t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.id),useErrorBoundary:!1})},exports.useGetReconciliationActive=function(){return qf(["GET/v1/reconciliation/active"],(function(){return Sh.getInstance().getReconciliationActive().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.useGetReconciliationAgendaInsightsByKey=function(e){var t=e.body,n=e.params,o=e.enabled;return qf(["GET/reconciliation/agenda/insights",t,n],(function(){return Sh.getInstance().getReconciliationAgendaInsightByKey(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})},exports.useGetReconciliationFilters=function(){return qf(["GET-reconciliation-filters"],(function(){return Sh.getInstance().getReconciliationFilters().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useGetReconciliationMetrics=function(e,t){return qf(["fetch-reconciliation-metrics",e],(function(){return Sh.getInstance().getReconciliationMetrics(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t,cacheTime:500})},exports.useGetReconciliationTransactionStatusesStyles=function(){return qf(["/reconciliation/transaction/statuses/style"],(function(){return Sh.getInstance().useGetReconciliationTransactionStatusesStyles().then((function(e){return lh(e)?mh:null==e?void 0:e.data})).catch((function(){return mh}))}))},exports.useGetReconciliationTransactions=function(e,t){return qf(["fetch-reconciliation-transaction",e],(function(){return Sh.getInstance().getReconciliationTransactions(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:!!t,useErrorBoundary:!1})},exports.useGetReconciliationsReportColumns=function(e,t,n){return qf(["GET/reconciliation/reports/columns/".concat(t,"/").concat(n)],(function(){return Sh.getInstance().getReconciliationsReportColumns(t,n).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}),{enabled:e,useErrorBoundary:!1})},exports.useGetReconciliationsReportTemplates=function(e){return qf(["GET/reconciliation/reports/templates"],(function(){return Sh.getInstance().getReconciliationReportTemplates().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}),{enabled:e,useErrorBoundary:!1})},exports.useGetRefundPdf=function(t,n){var o=this,a=Uf();return qf(["getRefundPdf",t,a,n],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getRefundPdf(t,a,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))]}))}))}),{enabled:!!t&&!!a,useErrorBoundary:!1})},exports.useGetReportColumns=function(t,n,o){var a=this;return qf(["GET/reports/columns/".concat(n,"/").concat(o)],(function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(t){return[2,Sh.getInstance().getReportColumns(n,o).then((function(t){return n===exports.TemplateType.ALL&&o===exports.ReportType.PAYMENTS?e.__spreadArray(e.__spreadArray([],null==t?void 0:t.data,!0),[Vf],!1):null==t?void 0:t.data})).catch((function(e){return e}))]}))}))}),{enabled:t,useErrorBoundary:!1})},exports.useGetReportTemplates=function(e){return qf(["GET/reports/templates"],(function(){return Sh.getInstance().getReportTemplates().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:e,useErrorBoundary:!1})},exports.useGetReportsList=function(){return qf(["reports"],(function(){return Sh.getInstance().reportsList().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useGetReportsListMultiEnv=function(e){return void 0===e&&(e=!0),qf(["reports-multi-env"],(function(){return Sh.getInstance().reportsListMultiEnv().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:e})},exports.useGetRequiredFields=function(e,t){var n=e.paymentMethodType,o=e.type;return qf(Wf({paymentMethodType:n,type:o}),(function(){return Sh.getInstance().getRequiredFields({paymentMethodType:n,type:o}).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useGetRoles=function(){return qf(["fetch-roles"],(function(){return Sh.getInstance().getRoles().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useGetRolesPermissions=function(){return qf(["fetch-rolespermissions"],(function(){return Sh.getInstance().getRolesPermissions().then((function(e){return null==e?void 0:e.data}))}))},exports.useGetRoutingMonitorsTemplate=function(e,t){return qf(["fetch-routing-monitors-template",e],(function(){return Sh.getInstance().getRoutingMonitorsTemplate(e,t).then((function(e){return e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:!!e&&!!t&&"NONE"!==e,useErrorBoundary:!1})},exports.useGetRoutingMonitorsTemplates=function(e){return qf(["fetch-routing-monitors-templates",e],(function(){return Sh.getInstance().getRoutingMonitorsTemplates(e).then((function(e){return e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:!!e,useErrorBoundary:!1})},exports.useGetRule=function(){return Nf((function(e){return Sh.getInstance().getRule(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useGetSamlConfig=function(e){return qf(["fetch-organization-saml-config",e],(function(){return Sh.getInstance().getSamlConfig().then((function(e){return e.data}))}),{cacheTime:0,enabled:!!e,useErrorBoundary:!1})},exports.useGetScheduleById=function(t,n){var o=this;return qf(["GET/template-reporting/schedule-by-id",t],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getReportScheduleById(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:n&&!!t,useErrorBoundary:!1,cacheTime:0})},exports.useGetScheduledReportsList=function(e){return qf(["GET/scheduled-reports",e],(function(){return Sh.getInstance().getScheduledReport(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!e,useErrorBoundary:!1})},exports.useGetSchedulesList=function(t){var n=this;return qf(["GET/template-reporting/schedules"],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getReportSchedulesList().then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:t,useErrorBoundary:!1,cacheTime:0})},exports.useGetSettlements=function(e,t){return qf(["fetch-reconciliation-settlements",e],(function(){return Sh.getInstance().getReconciliationSettlements(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:!!t,useErrorBoundary:!1})},exports.useGetSmartRoutingConditionPaymentMethod=function(e,t){return qf(["smart-routing-condition-payment-method",e,t],(function(){return Sh.getInstance().getSmartRoutingConditionPaymentMethod(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:null!==t})},exports.useGetSmartRoutingConditionTypes=function(e,t){return qf(["smart-routing-condition-types",e,t],(function(){return Sh.getInstance().getSmartRoutingConditionTypes(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t&&!!e})},exports.useGetSmartRoutingConditionTypesValues=function(e,t){return qf(["smart-routing-condition-types-values",t,e],(function(){return Sh.getInstance().getSmartRoutingConditionTypesValues(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t&&!!e,useErrorBoundary:!1})},exports.useGetSmartRoutingDataReport=function(e){return qf(["data-report",e],(function(){return Sh.getInstance().getSmartRoutingDataReport(e).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0,useErrorBoundary:!1})},exports.useGetSmartRoutingDeclineGroups=function(e){return qf(["smart-routing-decline-groups",e],(function(){return Sh.getInstance().getSmartRoutingDeclinedGroup(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})},exports.useGetSmartRoutingMethods=function(e){return qf(["smart-routing-methods",e],(function(){return Sh.getInstance().getSmartRoutingMethods(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})},exports.useGetSmartRoutingNextRoute=function(e,t,n){return qf(["smart-routing-next-route",e,n,t],(function(){return Sh.getInstance().getSmartRoutingNextSteps(e,t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e})},exports.useGetSmartRoutingPaymentRoute=function(e,t){return qf(["smart-routing-payment-route",e,t],(function(){return Sh.getInstance().getSmartRoutingPaymentRoute(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e&&!!t,cacheTime:0})},exports.useGetSmartRoutingSearchConditionValues=function(e){var t=e.text,n=e.conditionType;return qf(["smart-routing-search-condition-values",t,n],(function(){return Sh.getInstance().getSmartRoutingSearchConditionValues(n,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!n&&!!t,cacheTime:0})},exports.useGetSmartRoutingSimulateConditionTypeValues=function(e){return qf(["smart-routing-simulate-condition-type-values",e],(function(){return Sh.getInstance().getSmartRoutingSimulateConditionTypeValues(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})},exports.useGetSmartRoutingWorkflow=function(e,t){return qf(["smart-routing-workflow",t,e],(function(){return Sh.getInstance().getSmartRoutingWorkflow(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t&&!!e,cacheTime:0,retry:!1})},exports.useGetSmartRoutingWorkflowVersion=function(e){var t=e.accountCode,n=e.workflowVersionId;return qf(["smart-routing-workflow-version",n,t],(function(){return Sh.getInstance().getSmartRoutingWorkflowVersion(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!n&&!!t,cacheTime:0})},exports.useGetStylingSdkDynamic=function(e){var t=e.accountCode;return qf(["styling-sdk-dynamic",t],(function(){return Sh.getInstance().getStylingSdkDynamic({accountCode:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:Boolean(t),useErrorBoundary:!1})},exports.useGetStylingSettings=function(e){var t=e.accountCode;return qf(["styling-settings",t],(function(){return Sh.getInstance().getStylingSettings({accountCode:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:Boolean(t),useErrorBoundary:!1})},exports.useGetStylingSettingsV2=function(e){var t=e.accountCode,n=e.environment,o=void 0===n?"live":n;return qf(["styling-settings-v2",t],(function(){return Sh.getInstance().getStylingSettingsV2({accountCode:t,environment:o}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:Boolean(t),useErrorBoundary:!1})},exports.useGetStylingTheme=function(e){var t=e.accountCode;return qf(["styling-theme",t],(function(){return Sh.getInstance().getStylingTheme({accountCode:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:Boolean(t),useErrorBoundary:!1})},exports.useGetTeamsFiltersMembers=function(){var e=Uf();return qf(["teams-filters-members"],(function(){return Sh.getInstance().teamsFiltersMembers({organizationCode:e}).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0})},exports.useGetTemplateById=function(t,n){var o=this;return qf(["GET/template-reporting/template-by-id",t],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getReportTemplateById(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:n&&!!t,useErrorBoundary:!1,cacheTime:0})},exports.useGetTemplatesList=function(t,n){var o=this;return qf(["GET/template-reporting/templates",t],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getReportTemplatesList(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:n,useErrorBoundary:!1,cacheTime:0})},exports.useGetTimeZoneCatalog=function(){return qf(["timezone-catalog"],(function(){return Sh.getInstance().useGetTimeZoneCatalog().then((function(e){return lh(e)?hh:null==e?void 0:e.data})).catch((function(){return hh}))}))},exports.useGetTimezonePaymentLink=function(e){return qf(["timezone"],(function(){return Sh.getInstance().getTimezone(e).then((function(e){return lh(e)?hh:null==e?void 0:e.data})).catch((function(){return hh}))}),{enabled:!0,keepPreviousData:!0})},exports.useGetTokenValidation=function(){return Nf((function(e){var t=e.password,n=e.otp;return Sh.getInstance().getMfaTokenValidation(t,n).then((function(e){return null==e?void 0:e.data}))}))},exports.useGetTransactionDetailsV2=function(t){var n=this,o=t.payment_code,a=t.enabled,i=void 0===a||a,r=Sh.getInstance();return qf(["get-payment-transaction-details-v2",o],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,r.getTransactionDetailsV2({payment_code:o}).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:!!o&&i,cacheTime:0,useErrorBoundary:!1})},exports.useGetTransactionHistoryByPaymentCode=function(e){var t=e.payment_code,n=e.enabled;return qf(["transaction-history",t],(function(){return Sh.getInstance().getTransactionHistoryByPaymentCode({payment_code:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t&&(void 0===n||n),useErrorBoundary:!1})},exports.useGetTransactionRawResponse=function(t){var n=this,o=t.transaction_code,a=t.enabled,i=void 0===a||a,r=Sh.getInstance();return qf(["get-payment-transaction-raw-response",o],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,r.getTransactionRawResponse({transaction_code:o})]}))}))}),{enabled:!!o&&i,cacheTime:0,useErrorBoundary:!1})},exports.useGetTransactionStatusesStyles=function(){return qf(["/transaction/statuses/style"],(function(){return Sh.getInstance().useGetTransactionStatusesStyles().then((function(e){return lh(e)?dh:null==e?void 0:e.data})).catch((function(){return dh}))}),{cacheTime:36e5,useErrorBoundary:!1})},exports.useGetTranslations=function(){var e=localStorage.getItem("lang")||"en";return qf(["translations",e],(function(){return Sh.getInstance().getTranslations(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1,cacheTime:3e4})},exports.useGetUserFull=function(){var t=this;return qf(["get-user-full"],(function(){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getUserFull()];case 1:return[2,e.sent().data]}}))}))}),{keepPreviousData:!0,useErrorBoundary:!1})},exports.useGetUsersToImpersonate=function(t,n,o,a,i){var r=this;return void 0===o&&(o=1),void 0===a&&(a=10),qf(["get-users-to-impersonate",t,n,o,a,i],(function(){return e.__awaiter(r,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getUsersToImpersonate(t,n,o,a,i).then((function(e){return null==e?void 0:e.data}))]}))}))}),{keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3,enabled:!!t})},exports.useGetValidateOpsgenieKey=function(e){return qf(["validate-opsgenie-key",e],(function(){return Sh.getInstance().getValidateOpsgenieKey(e).then((function(e){return null==e?void 0:e.data})).catch((function(){return{error:!0}}))}),{enabled:!!e,cacheTime:0})},exports.useGetWebhookParamsV2=function(){return qf(["params-catalog"],(function(){return Sh.getInstance().getWebhookParamsV2().then((function(e){return null==e?void 0:e.data}))}))},exports.useGetWebhooksV2Detail=function(e){var t=e.accountCode,n=e.enabled;return qf(["webhooks-detail",t],(function(){return Sh.getInstance().getWebhooksV2Detail({accountCode:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t&&!!n})},exports.useGetWebhooksV3=function(e){var t=e.accountCode,n=e.name;return qf(["webhooks",t,n],(function(){return Sh.getInstance().getWebhooksV3({accountCode:t,name:n}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t,useErrorBoundary:!1})},exports.useInsights3dsConversionRateAndEvolution=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-3ds-conversion-rate-and-evolution",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsights3dsConversionRateAndEvolution(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsights3dsDeclineReasons=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-3ds-decline-reasons",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsights3dsDeclineReasons(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsights3dsFrictionlessVsChallenge=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-3ds-frictionless-vs-challenge",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsights3dsFrictionlessVsChallenge(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsights3dsVolumeAndCountTx=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-3ds-volume-and-count-tx",n,t],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsights3dsVolumeAndCountTx(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksByCardBrand=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-by-card-brand",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksByCardBrand(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksByProviderAndCardBrand=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-by-provider-and-card-brand",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksByProviderAndCardBrand(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksDisputed=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-disputed",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksDisputed(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksReasonsDistribution=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-reasons-distribution",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksReasonsDistribution(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksStatusDistribution=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-status-distribution",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksStatusDistribution(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksTotalRateAndEvolution=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-total-rate-and-evolution",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksTotalRateAndEvolution(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksVolumeAndCountTx=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-volume-and-count-tx",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksVolumeAndCountTx(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksWinRate=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-win-rate",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksWinRate(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsConversionRateMetricsV2=function(e,t,n){return void 0===n&&(n=!0),qf(["get-insights-conversion-rate-metrics-v2",e,t],(function(){return Sh.getInstance().getInsightsMetricsConversionRateV2(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:n&&(!!(null==e?void 0:e.currency_code)&&"Empty"!==(null==e?void 0:e.currency_code)&&"string"==typeof(null==e?void 0:e.currency_code)||Array.isArray(null==e?void 0:e.currency_code)&&0===(null==e?void 0:e.currency_code.length)),staleTime:3e5,cacheTime:3e5,useErrorBoundary:!1,retry:1})},exports.useInsightsCustomerPaymentsAndFraudMetrics=function(e,t,n){return void 0===n&&(n=!0),delete t.account_code,qf(["get-insights-customer-payment-fraud-metrics",t,e],(function(){return Sh.getInstance().getInsightsMetricsCustomerPaymentsAndFraud(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsFallbackMetrics=function(e){return qf(["get-insights-conversion-rate-fallback-metrics",e],(function(){return Sh.getInstance().getInsightFallbackMetrics(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.enabled),cacheTime:200,useErrorBoundary:!1})},exports.useInsightsFraudScreeningConversionRate=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-fraud-screening-conversion-rate",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsFraudScreeningConversionRate(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsFraudScreeningVolumeAndCountTx=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-fraud-screening-volume-and-count-tx",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsFraudScreeningVolumeAndCountTx(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsHomeMetrics=function(e){return qf(["get-insights-home-metrics",e],(function(){return Sh.getInstance().getInsighstHomeMetrics(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.currency_code)&&!!(null==e?void 0:e.account_codes)&&!!(null==e?void 0:e.organization_code)&&(null==e?void 0:e.isLiveMode)&&!!(null==e?void 0:e.timezone),cacheTime:200,useErrorBoundary:!1})},exports.useInsightsOverviewMetrics=function(e){return qf(["get-insights-overview",e],(function(){return Sh.getInstance().getInsightOverview(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.enabled)&&void 0!==e.account_code,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsOverviewMetricsV3=function(e,t){var n=!!(null==e?void 0:e.enabled)&&void 0!==(null==e?void 0:e.account_code);return qf(["get-insights-overview-v3",e,t],(function(){return Sh.getInstance().getInsightOverviewV3(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:0,useErrorBoundary:!1})},exports.useInsightsTotalPaymentsAndFraudMetrics=function(e,t,n){return void 0===n&&(n=!0),delete t.account_code,qf(["get-insights-total-payment-fraud-metrics",t,e],(function(){return Sh.getInstance().getInsightsMetricsTotalPaymentsAndFraud(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsVolumeMetrics=function(e,t,n){return void 0===n&&(n=!0),delete t.account_code,qf(["get-insights-volume-metrics",t,e],(function(){return Sh.getInstance().getInsightsMetricsVolume(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsVolumeMetricsV2=function(e,t,n,o){return void 0===o&&(o=!0),delete t.account_code,qf(["get-insights-volume-metrics-v2",t,e,n],(function(){return Sh.getInstance().getInsightsMetricsVolumeV2(e,n,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:o,cacheTime:200,useErrorBoundary:!1})},exports.useInviteUsersMultiaccountMassive=function(){return Nf((function(e){return Sh.getInstance().inviteUsersMassive(e,e.organizationCode)}))},exports.useIsTesting=function(){var e=h.useState("ON"===localStorage.getItem("isTesting")),t=e[0],n=e[1];return h.useEffect((function(){window.addEventListener("storage",(function(e){"isTesting"===e.key&&n("ON"===e.newValue)}))}),[]),{isTesting:t}},exports.useLoginMethods=function(){return Nf((function(e){return Sh.getInstance().changeLoginMethods(e)}))},exports.useNetworkTokensOnboarding=function(){var t=this;return qf({queryKey:["smart-routing-network-tokens-onboarding"],queryFn:function(){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getNetworkTokensOnboarding()];case 1:return[2,e.sent().data]}}))}))},useErrorBoundary:!1})},exports.useNewPostConnectionValidate=function(){return Nf(["new-post-connection-validate"],(function(){return Sh.getInstance().postMultiConnectionValidate().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})},exports.usePatchAccountV2=function(){return Nf((function(e){var t=e.name,n=e.code,o=e.principal;return Sh.getInstance().patchAccountV2({name:t,code:n,principal:o})}))},exports.usePatchAddAllowlistItems=function(){return Nf(["post-add-allowlist-items"],(function(e){var t=e.payload;return Sh.getInstance().patchAddAllowlistItems({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePatchAllowedIps=function(){return Nf(["developers-patch-allowed-ips"],(function(t){return Sh.getInstance().patchAllowedIps(t).then((function(t){return(null==t?void 0:t.data)?e.__assign(e.__assign({},null==t?void 0:t.data),{isError:!1}):null})).catch((function(t){return e.__assign(e.__assign({},t),{isError:!0})}))}),{cacheTime:0})},exports.usePatchAllowlist=function(){return Nf(["patch-allowlist"],(function(e){var t=e.payload;return Sh.getInstance().patchAllowlist({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePatchAndExecuteChart=function(t,n,o){var a=this;return void 0===o&&(o=!0),qf(["chartgpt-patch-and-execute",t,n],(function(){return e.__awaiter(a,void 0,void 0,(function(){var o,a,i,r,s;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,(o=Sh.getInstance()).patchChartGPTChart(t,n)];case 1:return a=e.sent(),i=null==a?void 0:a.data,[4,o.executeChartGPTChart(t)];case 2:return r=e.sent(),s=null==r?void 0:r.data,[2,{chart:i,execution:s}]}}))}))}),{enabled:o&&!!t,retry:!1})},exports.usePatchApiKeysEditNote=function(){return Nf((function(e){var t=e.payload,n=e.code;return Sh.getInstance().patchApiKeysEditNote(t,n).then((function(e){return e.data})).catch((function(e){return e}))}))},exports.usePatchChangeStatusAllowlist=function(){return Nf(["patch-change-status-allowlist"],(function(e){var t=e.payload;return Sh.getInstance().patchChangeStatusAllowlist({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePatchChangeStatusAllowlistItem=function(){return Nf(["patch-change-status-allowlist-item"],(function(e){var t=e.payload;return Sh.getInstance().patchChangeStatusAllowlistItem({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePatchChartName=function(){return Nf((function(e){var t=e.chart_id,n=e.type,o=e.name,a=e.user_prompt,i=void 0===a?"":a;return Sh.getInstance().patchChartGPTChart(t,{type:n,name:o,user_prompt:i}).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.usePatchConnection=function(){return Nf(["patch-connection"],(function(e){var t=e.payload,n=e.connectionCode;return Sh.getInstance().patchConnection({payload:t,connectionCode:n}).then((function(e){return null==e?void 0:e.data}))}))},exports.usePathCreateCustomizedApiKeys=function(){return Nf((function(e){var t=e.payload,n=e.code;return Sh.getInstance().pathCreateCustomizedApiKeys(t,n).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePathNotifications=function(){var t=this;return Nf((function(n){return e.__awaiter(t,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().pathNotification(n)];case 1:return[2,null==(t=e.sent())?void 0:t.data]}}))}))}))},exports.usePayoutsFilters=function(t){var n=this;void 0===t&&(t=!0);var o=Uf();return qf(["getPayoutsFilters",o],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getPayoutsFilters(o).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))]}))}))}),{enabled:t&&!!o})},exports.usePayoutsList=function(e){return qf(["usePayoutsList",e&&JSON.stringify(e)],(function(){var t=Sh.getInstance();if(e)return t.postPayouts(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e&&!!Object.values(e).length,cacheTime:0})},exports.usePostAccount=function(){return Nf((function(e){var t=e.name,n=e.principal;return Sh.getInstance().postAccount(t,n)}))},exports.usePostAllowlistMultiAccount=function(e){return qf(["query-post-get-allowlist-multi-account",JSON.stringify(e)],(function(){return Sh.getInstance().postGetAllowlist({payload:e}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})},exports.usePostApiKeysRoll=function(){return Nf((function(e){var t=e.payload,n=e.code,o=e.password;return Sh.getInstance().postApiKeysRoll(t,n,o).then((function(e){return e.data})).catch((function(e){return e}))}))},exports.usePostApiLogs=function(e){return qf(["api-logs",e],(function(){return Sh.getInstance().postApiLogs({payload:e}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e.organizationCode,cacheTime:0,useErrorBoundary:!1})},exports.usePostAuditMonitors=function(e){return Nf((function(e){var t=e.payload;return Sh.getInstance().postAuditMonitors(t)}),{onMutate:e.onMutate})},exports.usePostBatchRefundByFile=function(){var t=this;return Nf((function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().batchRefundByFile({payload:n}).then((function(e){return null==e?void 0:e.data}))]}))}))}),{useErrorBoundary:!1})},exports.usePostBlackListBatch=function(e){var t=e.handleSetProgress;return Nf(["post-blacklist-batch"],(function(e){var n=e.blacklist_code,o=e.expiration_days,a=e.file;return Sh.getInstance().postBlackListBatch({blacklist_code:n,expiration_days:o,file:a,handleSetProgress:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.usePostBlackListItems=function(){return Nf(["post-blacklist-items"],(function(e){var t=e.payload;return Sh.getInstance().postBlackListItems({payload:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.usePostBlackListMultiAccount=function(){return Nf(["post-blacklist-multi-account"],(function(e){var t=e.payload;return Sh.getInstance().postBlackListMultiAccount({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostBlockList=function(e,t,n,o){var a;return qf(["post-black-list",e],(function(){return Sh.getInstance().postBlockList(e,null!=t?t:"",null!=n?n:0,null!=o?o:25).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:(null===(a=e[0])||void 0===a?void 0:a.length)>0&&null!==t,useErrorBoundary:!1})},exports.usePostCall=function(){return Nf((function(e){return Sh.getInstance().postCall(e)}))},exports.usePostChangeStatusConnection=function(){return Nf(["post-change-status-connection"],(function(e){var t=e.payload,n=e.accountCode;return Sh.getInstance().postChangeStatusConnection({payload:t,accountCode:n}).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.usePostConnectionMultiAccount=function(){return Nf(["post-connection"],(function(e){var t=e.payload;return Sh.getInstance().postMultiConnection({payload:t}).then((function(e){return null==e?void 0:e.data}))}))},exports.usePostCreateAllowlistMultiAccount=function(){return Nf(["post-create-allowlist-multi-account"],(function(e){var t=e.payload;return Sh.getInstance().postCreateAllowlistMultiAccount({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostCreateCustomizedApiKeys=function(){return Nf((function(e){var t=e.payload;return Sh.getInstance().postCreateCustomizedApiKeys(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostCreateInsightsReport=function(){return Nf((function(e){var t=e.payload;return Sh.getInstance().postCreateInsightsReport(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostCreateRuleMultiAccount=function(){return Nf((function(e){var t=e.payload,n=e.accountCode;return Sh.getInstance().postCreateRuleMultiAccount(t,n).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostCredentialsValidatePassword=function(){return Nf((function(e){var t=e.passwordOtp;return Sh.getInstance().getDeveloperCredentialsValidatePassword(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}))},exports.usePostDefaultRoutes=function(){return Nf((function(e){var t=e.payload;return Sh.getInstance().postDefaultRoutes({payload:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}))},exports.usePostEditRule=function(){return Nf((function(e){var t=e.payload,n=e.ruleId,o=e.accountCode;return Sh.getInstance().postEditRule(t,n,o).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.usePostFraudTransactions=function(t){var n=this;return qf(["POST/fraud-transactions",JSON.stringify(t)],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().postFraudTransactions(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:!!t&&Object.keys(t).length>0,cacheTime:0,useErrorBoundary:!1})},exports.usePostGetAllowlistItems=function(){return Nf(["post-get-allowlist-items"],(function(e){var t=e.payload;return Sh.getInstance().postAllowlistItems({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostGetAllowlistMultiAccount=function(){return Nf(["post-get-allowlist-multi-account"],(function(e){var t=e.payload;return Sh.getInstance().postGetAllowlist({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostMembersPaginatedV2=function(e){var t=e.organizationCode,n=e.accountCodes,o=e.email,a=e.page,i=e.pageSize,r=Uf();return qf(["fetch-post-members-v2",t,n,o,a,i],(function(){return Sh.getInstance().postMembersPaginatedV2({organizationCode:r,accountCodes:n,email:o,page:a,pageSize:i}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t&&!!n,cacheTime:0,useErrorBoundary:!1})},exports.usePostNetworkTokensOnboarding=function(){var t=this;return Nf((function(n){var o=n.payload,a=n.organizationCode;return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().postNetworkTokensOnboarding(o,a)];case 1:return[2,e.sent().data]}}))}))}),{useErrorBoundary:!1})},exports.usePostPaymentsEvaluated=function(e){return qf(["fetch-payments-evaluated",e],(function(){return Sh.getInstance().postPaymentsEvaluated(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e&&Object.keys(e).length>0,cacheTime:0,useErrorBoundary:!1})},exports.usePostPaymentsLazy=function(t){var n=this;return qf(["fetch-payments-lazy",t],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().postPaymentsLazy(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:!!t&&Object.keys(t).length>0,cacheTime:0,useErrorBoundary:!1})},exports.usePostSlackMessageChannel=function(){return Nf((function(e){var t=e.payload;return Sh.getInstance().postSlackMessageChannel(t).then((function(e){return null==e?void 0:e.data}))}))},exports.usePostTransactions=function(t){var n=this;return qf(["POST/transactions",JSON.stringify(t)],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().postTransactions(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:!!t,cacheTime:0,useErrorBoundary:!1})},exports.usePostUserSettings=function(){return Nf((function(e){var t=e.payload;return Sh.getInstance().postUserSettings(t)}),{onMutate:function(e){return e}})},exports.usePostUserSettingsPinned=function(e){return Nf(["pinned-sections"],(function(e){var t=e.payload;return Sh.getInstance().postUserSettingsPinned(t)}),{onMutate:function(t){var n=t.payload;return e({payload:n})}})},exports.usePostUserSettingsTables=function(){return Nf((function(e){var t=e.payload,n=e.section;return Sh.getInstance().postUserSettingsTables(t,n)}),{onMutate:function(e){return e},onSuccess:function(t){var n=Bf.getQueryData(["fetch-profile"]);t.data&&Bf.setQueryData(["fetch-profile"],e.__assign(e.__assign({},n),{settings:t.data}))}})},exports.usePostUserThemeSettings=function(){return Nf((function(e){return Sh.getInstance().postUserThemeSettings(e)}))},exports.usePostValideStatusConnection=function(){return Nf(["post-validate-status-connection"],(function(e){var t=e.payload,n=e.accountCode;return Sh.getInstance().postValidateStatusConnection({payload:t,accountCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.usePostVelocityRules=function(e){return qf(["velocity-rules",e],(function(){var t=Sh.getInstance();return e?t.getVelocityRules(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e})):Promise.resolve({})}),{enabled:!!e,keepPreviousData:!0})},exports.usePostWebhookLogs=function(e){var t=e.params;return qf(["webhook-logs",t],(function(){return Sh.getInstance().postWebhookLogs({payload:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t.organizationCode,cacheTime:0,useErrorBoundary:!1})},exports.usePostWebhookMultiAccount=function(e){return Nf((function(e){var t=e.payload;return Sh.getInstance().postWebhookV2MultiAccount({payload:t})}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})},exports.useProviderConversionRatesData=function(){return qf(["smart-routing-conversion-rates"],(function(){return Sh.getInstance().getProviderConversionRatesData().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:!1,useErrorBoundary:!1})},exports.usePublishVersion=function(t,n){var o=this,a=t.versionCode,i=t.accountCode,r=t.organizationCode;return void 0===n&&(n=null),Nf((function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().postSmartRoutingPublishVersion(i,a,r).then((function(e){return null==e?void 0:e.data}))];case 1:return[2,e.sent()]}}))}))}),n)},exports.usePutAccountPrincipal=function(){return Nf((function(e){var t=e.account_code;return Sh.getInstance().putAccountPrincipal({account_code:t})}))},exports.usePutAccountsUserMassive=function(){return Nf((function(e){var t=e.organizationCode,n=e.userCode,o=e.payload;return Sh.getInstance().putAccountsUserMassive(t,n,o)}))},exports.usePutBlackListType=function(){return Nf(["put-blacklist"],(function(e){return Sh.getInstance().putBlackListType(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.usePutCosts=function(){return Nf((function(e){return Sh.getInstance().putCosts(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})},exports.useRecoveredPaymentsByDay=function(t,n){return qf(e.__assign({queryKey:["smart-recovery-recovered-payments-by-day",t],queryFn:function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return n=Sh.getInstance(),o={start_date:t.start_date||"",end_date:t.end_date||"",organization_code:t.organization_code,account_codes:t.account_code||[],countries:t.countries||[],channels:t.channels||[],focuses:t.focuses||[],timezone:t.timezone},[4,n.post("/nova-insights/recovered-payments-by-day",o)];case 1:return a=e.sent(),[2,Xf(a.data,o.start_date,o.end_date)]}}))}))},enabled:!!t.organization_code,staleTime:3e5},n))},exports.useRecoveredTPVByDay=function(t,n){return qf(e.__assign({queryKey:["smart-recovery-recovered-tpv-by-day",t],queryFn:function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return n=Sh.getInstance(),o={start_date:t.start_date||"",end_date:t.end_date||"",organization_code:t.organization_code,account_codes:t.account_code||[],countries:t.countries||[],channels:t.channels||[],focuses:t.focuses||[],timezone:t.timezone},[4,n.post("/nova-insights/recovered-tpv-by-day",o)];case 1:return a=e.sent(),[2,Jf(a.data,o.start_date,o.end_date)]}}))}))},enabled:!!t.organization_code,staleTime:3e5},n))},exports.useResendWebhooks=function(){return Nf((function(e){var t=e.codes;return Sh.getInstance().postResendWebhooks({codes:t}).then((function(e){return null==e?void 0:e.data}))}))},exports.useSaveVersion=function(e,t){var n=e.data,o=e.accountCode;return void 0===t&&(t=null),Nf((function(){return Sh.getInstance().putSmartRoutingUpdateWorkflow(o,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),t)},exports.useSendPaymentNotification=function(t,n,o){var a=this,i=Sh.getInstance();return qf(["send-payment-notification",t,n],(function(){return e.__awaiter(a,void 0,void 0,(function(){var a,r;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,i.sendPaymentNotification(t,n)];case 1:return a=e.sent(),o.onSuccess(),[2,a.data];case 2:throw r=e.sent(),o.onError(),r;case 3:return[2]}}))}))}),{enabled:o.enabled,cacheTime:0,useErrorBoundary:!1})},exports.useSetCustodian=function(){return Nf((function(){return Sh.getInstance().setCustodian().then((function(e){return null==e?void 0:e.data}))}))},exports.useSmartRoutingCreateDeclinedGroup=function(e){var t=e.accountCode;return Nf((function(e){return void 0===e&&(e=null),Sh.getInstance().createSmartRoutingDeclinedGroup(t,e).then((function(e){return null==e?void 0:e.data}))}),e.options)},exports.useSmartRoutingEditWorkflowName=function(e,t){var n=e.code,o=e.name,a=e.accountCode;return void 0===t&&(t=null),Nf((function(){return Sh.getInstance().putSmartRoutingUpdateWorkflowName(a,{code:n,name:o}).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useSmartRoutingMultiAccountDeclinedGroupCreate=function(t,n){return void 0===n&&(n={}),Nf((function(e){var n=e.payload;return Sh.getInstance().multiAccountDeclinedGroupCreate(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),e.__assign(e.__assign({},n),{useErrorBoundary:!1}))},exports.useSmartRoutingRemoveDeclinedGroup=function(t,n){return void 0===n&&(n={}),Nf((function(e){var n=e.declinedGroupCode;return Sh.getInstance().removeDeclinedGroup(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),e.__assign(e.__assign({},n),{useErrorBoundary:!1}))},exports.useSmartRoutingSimulateTransaction=function(e,t){var n=e.accountCode,o=e.workflowVersionCode;return void 0===t&&(t=null),Nf((function(e){return Sh.getInstance().simulateSmartRoutingTransaction(n,o,e).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useSmartRoutingToggleFavorite=function(e,t){var n=e.versionCode,o=e.accountCode;return void 0===t&&(t=null),Nf((function(e){return void 0===e&&(e=!1),Sh.getInstance().updateSmartRoutingFavorite(o,n,e).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useSmartRoutingUpdateDeclinedGroup=function(e,t){var n=e.declinedId,o=e.accountCode;return void 0===t&&(t=null),Nf((function(e){return void 0===e&&(e=null),Sh.getInstance().updateSmartRoutingDeclinedGroup(o,n,e).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useSmartRoutingUpdateMonitorRedistribution=function(e,t){return void 0===t&&(t=null),Nf((function(t){return Sh.getInstance().updateMonitorRedistribution(e,t).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useToggleMethod=function(e,t){var n=e.paymentMethod,o=e.active,a=e.accountCode;return void 0===t&&(t=null),Nf((function(){return Sh.getInstance().putSmartRoutingToggleMethod(a,n,o).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useUnInviteUsersV2=function(){return Nf((function(e){var t=e.userCode,n=e.organizationCode;return Sh.getInstance().unInviteUsersV2({userCode:t,organizationCode:n})}))},exports.useUnrollUserV2=function(){return Nf((function(e){return Sh.getInstance().unrollMfa(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useUpdateCheckoutTemplate=function(){return Nf((function(e){var t=e.accountCode,n=e.template;return Sh.getInstance().updateCheckoutTemplate({accountCode:t,template:n}).then((function(e){return null==e?void 0:e.data}))}))},exports.useUpdateIsActiveCheckout=function(e){return Nf((function(e){return Sh.getInstance().updateIsActiveCheckout(e)}),e)},exports.useUpdateMFAConfig=function(){return Nf((function(e){var t=e.payload,n=e.organizationCode;return Sh.getInstance().updateMFAConfig(t,n)}))},exports.useUpdateOrganizationStatus=function(){return Nf(["patch-organizations"],(function(){return Sh.getInstance().updateOrganizationStatus().then((function(e){return null==e?void 0:e.data}))}))},exports.useUpdateProfile=function(e){return Nf((function(e){return Sh.getInstance().updateProfile(e)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})},exports.useUpdateReconciliationAlert=function(){return Nf(["UPDATE/reconciliation/alerts"],(function(e){return Sh.getInstance().updateReconciliationAlert(e).then((function(e){return e.data})).catch((function(e){throw e}))}),{onSuccess:function(){Bf.invalidateQueries(["GET/reconciliation/alerts/list"])},useErrorBoundary:!1})},exports.useUpdateReconciliationReportTemplate=function(e){return Nf((function(){return Sh.getInstance().updateReconciliationReportTemplate(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}),{useErrorBoundary:!1})},exports.useUpdateReportTemplate=function(e){return Nf((function(){return Sh.getInstance().updateReportTemplate(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useUpdateSamlConfig=function(){return Nf((function(e){return Sh.getInstance().updateSamlConfig(e)}))},exports.useUpdateScheduledReport=function(){return Nf((function(e){var t=e.reportCode,n=e.payload;return Sh.getInstance().updateScheduledReport(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useUpdateStylingTheme=function(){return Nf((function(e){var t=e.accountCode,n=e.theme;return Sh.getInstance().updateStylingTheme({accountCode:t,theme:n}).then((function(e){return null==e?void 0:e.data}))}))},exports.useUpdateTemplateSelection=function(){var t=this;return Nf(["POST/template-reporting/report-templates/selection"],(function(n){var o=n.templateId,a=n.payload;return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().updateTemplateSelection(o,a).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/templates"]})},useErrorBoundary:!1})},exports.useUpdateWebhookV2=function(e){return Nf((function(e){var t=e.code,n=e.payload,o=e.accountCode;return Sh.getInstance().updateWebhookV2(t,n,o)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})},exports.useUploadBatchRefundsFileV2=function(e){var t=e.fileName,n=e.onSuccess,o=e.onError,a=h.useState(0),i=a[0],r=a[1],s=h.useRef({cancel:function(){return null}}),c=Nf(["upload-file-chargeback",t],(function(e){var t=Sh.getInstance().uploadFileS3ClientBatchRefunds({payload:e,handleSetProgress:r}),a=t.promise,i=t.cancel;return s.current.cancel=i,a.then((function(e){return null==n||n(null==e?void 0:e.data),null==e?void 0:e.data})).catch((function(e){throw null==o||o(),e}))}),{useErrorBoundary:!1});return{mutation:c,cancelRequest:s.current.cancel,progress:i}},exports.useUploadBatchRefundsV2=function(){return Nf((function(e){return Sh.getInstance().uploadBatchRefundsV2({payload:e}).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useUploadFileS3ClientBatchRefunds=function(){var e=h.useRef({cancel:function(){return null}}),t=Nf(["upload-file"],(function(t){var n=Sh.getInstance().uploadFileS3ClientBatchRefunds({payload:t}),o=n.promise,a=n.cancel;return e.current.cancel=a,o.then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}));return{mutation:t,cancelRequest:e.current.cancel}},exports.useValiateAllowlistItems=function(){return Nf(["validate-allowlist-items"],(function(e){return Sh.getInstance().validateAllowlistItems({payload:e}).then((function(e){return e.data})).catch((function(e){return e}))}))},exports.useValidateBlockListItems=function(){return Nf(["valiate-blacklist-items"],(function(e){return Sh.getInstance().valiateBlockListItems({payload:e}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useValidateCredentials=function(){return Nf((function(e){return Sh.getInstance().postValidateCredentials(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}))},exports.useValidateOrgName=function(){return Nf((function(e){return Sh.getInstance().getOrgByName(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useValidatePasswordStatus=function(){return Nf((function(){return Sh.getInstance().validatePasswordStatus().then((function(e){return null==e?void 0:e.data})).catch((function(e){return{valid:!1}}))}))},exports.useViewMoreMetrics=function(e,t){return qf(["get-insights-conversion-rate-view-more-metrics",t,e],(function(){return Sh.getInstance().getInsightsMetricsConversionRateViewMore(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.enabled)&&!!t,cacheTime:200,useErrorBoundary:!1})};
|
|
240
|
+
const ng=7,og=6,ag=5,ig=4,rg=3,sg=2,cg=1,ug=0;function lg(e,t,n){var o;if((n=n||{}).threshold=null!=(o=n.threshold)?o:cg,!n.accessors){const o=pg(e,t,n);return{rankedValue:e,rank:o,accessorIndex:-1,accessorThreshold:n.threshold,passed:o>=n.threshold}}const a=function(e,t){const n=[];for(let o=0,a=t.length;o<a;o++){const a=t[o],i=fg(a),r=mg(e,a);for(let e=0,t=r.length;e<t;e++)n.push({itemValue:r[e],attributes:i})}return n}(e,n.accessors),i={rankedValue:e,rank:ug,accessorIndex:-1,accessorThreshold:n.threshold,passed:!1};for(let e=0;e<a.length;e++){const o=a[e];let r=pg(o.itemValue,t,n);const{minRanking:s,maxRanking:c,threshold:u=n.threshold}=o.attributes;r<s&&r>=cg?r=s:r>c&&(r=c),r=Math.min(r,c),r>=u&&r>i.rank&&(i.rank=r,i.passed=!0,i.accessorIndex=e,i.accessorThreshold=u,i.rankedValue=o.itemValue)}return i}function pg(e,t,n){return e=dg(e,n),(t=dg(t,n)).length>e.length?ug:e===t?ng:(e=e.toLowerCase())===(t=t.toLowerCase())?og:e.startsWith(t)?ag:e.includes(` ${t}`)?ig:e.includes(t)?rg:1===t.length?ug:function(e){let t="";return e.split(" ").forEach((e=>{e.split("-").forEach((e=>{t+=e.substr(0,1)}))})),t}(e).includes(t)?sg:function(e,t){let n=0,o=0;function a(e,t,o){for(let a=o,i=t.length;a<i;a++){if(t[a]===e)return n+=1,a+1}return-1}function i(e){const o=1/e,a=n/t.length;return cg+a*o}const r=a(t[0],e,0);if(r<0)return ug;o=r;for(let n=1,i=t.length;n<i;n++){o=a(t[n],e,o);if(!(o>-1))return ug}const s=o-r;return i(s)}(e,t)}function dg(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=e.replace(tg,(e=>Zf[e]))),e}function mg(e,t){let n=t;"object"==typeof t&&(n=t.accessor);const o=n(e);return null==o?[]:Array.isArray(o)?o:[String(o)]}const hg={maxRanking:1/0,minRanking:-1/0};function fg(e){return"function"==typeof e?hg:{...hg,...e}}function gg(e,t){const[n,o]=g.useState();g.useEffect((()=>{const n=(e=>{try{const t=localStorage.getItem(e);return"string"==typeof t?JSON.parse(t):void 0}catch{return}})(e);o(null==n?"function"==typeof t?t():t:n)}),[t,e]);return[n,g.useCallback((t=>{o((n=>{let o=t;"function"==typeof t&&(o=t(n));try{localStorage.setItem(e,JSON.stringify(o))}catch{}return o}))}),[e])]}var yg,vg=function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)},e.prototype.getByKey=function(e){return this.keyToValue.get(e)},e.prototype.getByValue=function(e){return this.valueToKey.get(e)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e}(),bg=function(){function e(e){this.generateIdentifier=e,this.kv=new vg}return e.prototype.register=function(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(e){return this.kv.getByValue(e)},e.prototype.getValue=function(e){return this.kv.getByKey(e)},e}(),kg=(yg=function(e,t){return yg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},yg(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}yg(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),xg=function(e){function t(){var t=e.call(this,(function(e){return e.name}))||this;return t.classToAllowedProps=new Map,t}return kg(t,e),t.prototype.register=function(t,n){"object"==typeof n?(n.allowProps&&this.classToAllowedProps.set(t,n.allowProps),e.prototype.register.call(this,t,n.identifier)):e.prototype.register.call(this,t,n)},t.prototype.getAllowedProps=function(e){return this.classToAllowedProps.get(e)},t}(bg),wg=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return r};function jg(e,t){var n=function(e){if("values"in Object)return Object.values(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}(e);if("find"in n)return n.find(t);for(var o=n,a=0;a<o.length;a++){var i=o[a];if(t(i))return i}}function _g(e,t){Object.entries(e).forEach((function(e){var n=wg(e,2),o=n[0],a=n[1];return t(a,o)}))}function Eg(e,t){return-1!==e.indexOf(t)}function Cg(e,t){for(var n=0;n<e.length;n++){var o=e[n];if(t(o))return o}}var Sg=function(){function e(){this.transfomers={}}return e.prototype.register=function(e){this.transfomers[e.name]=e},e.prototype.findApplicable=function(e){return jg(this.transfomers,(function(t){return t.isApplicable(e)}))},e.prototype.findByName=function(e){return this.transfomers[e]},e}(),Rg=function(e){return void 0===e},Tg=function(e){return"object"==typeof e&&null!==e&&(e!==Object.prototype&&(null===Object.getPrototypeOf(e)||Object.getPrototypeOf(e)===Object.prototype))},Ag=function(e){return Tg(e)&&0===Object.keys(e).length},Ig=function(e){return Array.isArray(e)},Og=function(e){return e instanceof Map},zg=function(e){return e instanceof Set},Pg=function(e){return"Symbol"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)},Lg=function(e){return"number"==typeof e&&isNaN(e)},Dg=function(e){return function(e){return"boolean"==typeof e}(e)||function(e){return null===e}(e)||Rg(e)||function(e){return"number"==typeof e&&!isNaN(e)}(e)||function(e){return"string"==typeof e}(e)||Pg(e)},qg=function(e){return e.replace(/\./g,"\\.")},Ng=function(e){return e.map(String).map(qg).join(".")},Mg=function(e){for(var t=[],n="",o=0;o<e.length;o++){var a=e.charAt(o);if("\\"===a&&"."===e.charAt(o+1))n+=".",o++;else"."===a?(t.push(n),n=""):n+=a}var i=n;return t.push(i),t},Fg=function(){return Fg=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Fg.apply(this,arguments)},Bg=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return r},Ug=function(e,t){for(var n=0,o=t.length,a=e.length;n<o;n++,a++)e[a]=t[n];return e};function Gg(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var Wg=[Gg(Rg,"undefined",(function(){return null}),(function(){})),Gg((function(e){return"bigint"==typeof e}),"bigint",(function(e){return e.toString()}),(function(e){return"undefined"!=typeof BigInt?BigInt(e):(console.error("Please add a BigInt polyfill."),e)})),Gg((function(e){return e instanceof Date&&!isNaN(e.valueOf())}),"Date",(function(e){return e.toISOString()}),(function(e){return new Date(e)})),Gg((function(e){return e instanceof Error}),"Error",(function(e,t){var n={name:e.name,message:e.message};return t.allowedErrorProps.forEach((function(t){n[t]=e[t]})),n}),(function(e,t){var n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach((function(t){n[t]=e[t]})),n})),Gg((function(e){return e instanceof RegExp}),"regexp",(function(e){return""+e}),(function(e){var t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)})),Gg(zg,"set",(function(e){return Ug([],Bg(e.values()))}),(function(e){return new Set(e)})),Gg(Og,"map",(function(e){return Ug([],Bg(e.entries()))}),(function(e){return new Map(e)})),Gg((function(e){return Lg(e)||((t=e)===1/0||t===-1/0);var t}),"number",(function(e){return Lg(e)?"NaN":e>0?"Infinity":"-Infinity"}),Number),Gg((function(e){return 0===e&&1/e==-1/0}),"number",(function(){return"-0"}),Number),Gg((function(e){return e instanceof URL}),"URL",(function(e){return e.toString()}),(function(e){return new URL(e)}))];function Vg(e,t,n,o){return{isApplicable:e,annotation:t,transform:n,untransform:o}}var Hg=Vg((function(e,t){return!!Pg(e)&&!!t.symbolRegistry.getIdentifier(e)}),(function(e,t){return["symbol",t.symbolRegistry.getIdentifier(e)]}),(function(e){return e.description}),(function(e,t,n){var o=n.symbolRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown symbol");return o})),Kg=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((function(e,t){return e[t.name]=t,e}),{}),$g=Vg((function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}),(function(e){return["typed-array",e.constructor.name]}),(function(e){return Ug([],Bg(e))}),(function(e,t){var n=Kg[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)}));function Qg(e,t){return!!(null==e?void 0:e.constructor)&&!!t.classRegistry.getIdentifier(e.constructor)}var Jg=Vg(Qg,(function(e,t){return["class",t.classRegistry.getIdentifier(e.constructor)]}),(function(e,t){var n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return Fg({},e);var o={};return n.forEach((function(t){o[t]=e[t]})),o}),(function(e,t,n){var o=n.classRegistry.getValue(t[1]);if(!o)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(o.prototype),e)})),Xg=Vg((function(e,t){return!!t.customTransformerRegistry.findApplicable(e)}),(function(e,t){return["custom",t.customTransformerRegistry.findApplicable(e).name]}),(function(e,t){return t.customTransformerRegistry.findApplicable(e).serialize(e)}),(function(e,t,n){var o=n.customTransformerRegistry.findByName(t[1]);if(!o)throw new Error("Trying to deserialize unknown custom value");return o.deserialize(e)})),Yg=[Jg,Hg,Xg,$g],Zg=function(e,t){var n=Cg(Yg,(function(n){return n.isApplicable(e,t)}));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var o=Cg(Wg,(function(n){return n.isApplicable(e,t)}));return o?{value:o.transform(e,t),type:o.annotation}:void 0},ey={};Wg.forEach((function(e){ey[e.annotation]=e}));var ty=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function ny(e){if(Eg(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Eg(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Eg(e,"constructor"))throw new Error("constructor is not allowed as a property")}var oy=function(e,t,n){if(ny(t),0===t.length)return n(e);for(var o=e,a=0;a<t.length-1;a++){var i=t[a];if(Ig(o))o=o[+i];else if(Tg(o))o=o[i];else if(zg(o)){o=ty(o,r=+i)}else if(Og(o)){if(a===t.length-2)break;var r=+i,s=0==+t[++a]?"key":"value",c=ty(o,r);switch(s){case"key":o=c;break;case"value":o=o.get(c)}}}var u=t[t.length-1];if(Ig(o)?o[+u]=n(o[+u]):Tg(o)&&(o[u]=n(o[u])),zg(o)){var l=ty(o,+u),p=n(l);l!==p&&(o.delete(l),o.add(p))}if(Og(o)){r=+t[t.length-2];var d=ty(o,r);switch(s=0==+u?"key":"value"){case"key":var m=n(d);o.set(m,o.get(d)),m!==d&&o.delete(d);break;case"value":o.set(d,n(o.get(d)))}}return e},ay=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return r},iy=function(e,t){for(var n=0,o=t.length,a=e.length;n<o;n++,a++)e[a]=t[n];return e};function ry(e,t,n){if(void 0===n&&(n=[]),e)if(Ig(e)){var o=ay(e,2),a=o[0],i=o[1];i&&_g(i,(function(e,o){ry(e,t,iy(iy([],ay(n)),ay(Mg(o))))})),t(a,n)}else _g(e,(function(e,o){return ry(e,t,iy(iy([],ay(n)),ay(Mg(o))))}))}function sy(e,t,n){return ry(t,(function(t,o){e=oy(e,o,(function(e){return function(e,t,n){if(!Ig(t)){var o=ey[t];if(!o)throw new Error("Unknown transformation: "+t);return o.untransform(e,n)}switch(t[0]){case"symbol":return Hg.untransform(e,t,n);case"class":return Jg.untransform(e,t,n);case"custom":return Xg.untransform(e,t,n);case"typed-array":return $g.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}}(e,t,n)}))})),e}function cy(e,t){function n(t,n){var o=function(e,t){ny(t);for(var n=0;n<t.length;n++){var o=t[n];if(zg(e))e=ty(e,+o);else if(Og(e)){var a=+o,i=0==+t[++n]?"key":"value",r=ty(e,a);switch(i){case"key":e=r;break;case"value":e=e.get(r)}}else e=e[o]}return e}(e,Mg(n));t.map(Mg).forEach((function(t){e=oy(e,t,(function(){return o}))}))}if(Ig(t)){var o=ay(t,2),a=o[0],i=o[1];a.forEach((function(t){e=oy(e,Mg(t),(function(){return e}))})),i&&_g(i,n)}else _g(t,n);return e}var uy=function(e,t,n,o,a,i,r){var s;void 0===a&&(a=[]),void 0===i&&(i=[]),void 0===r&&(r=new Map);var c=Dg(e);if(!c){!function(e,t,n){var o=n.get(e);o?o.push(t):n.set(e,[t])}(e,a,t);var u=r.get(e);if(u)return o?{transformedValue:null}:u}if(!function(e,t){return Tg(e)||Ig(e)||Og(e)||zg(e)||Qg(e,t)}(e,n)){var l=Zg(e,n),p=l?{transformedValue:l.value,annotations:[l.type]}:{transformedValue:e};return c||r.set(e,p),p}if(Eg(i,e))return{transformedValue:null};var d=Zg(e,n),m=null!==(s=null==d?void 0:d.value)&&void 0!==s?s:e,h=Ig(m)?[]:{},f={};_g(m,(function(s,c){var u=uy(s,t,n,o,iy(iy([],ay(a)),[c]),iy(iy([],ay(i)),[e]),r);h[c]=u.transformedValue,Ig(u.annotations)?f[c]=u.annotations:Tg(u.annotations)&&_g(u.annotations,(function(e,t){f[qg(c)+"."+t]=e}))}));var g=Ag(f)?{transformedValue:h,annotations:d?[d.type]:void 0}:{transformedValue:h,annotations:d?[d.type,f]:f};return c||r.set(e,g),g};function ly(e){return Object.prototype.toString.call(e).slice(8,-1)}function py(e){return"Array"===ly(e)}function dy(e,t={}){if(py(e))return e.map((e=>dy(e,t)));if(!function(e){if("Object"!==ly(e))return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}(e))return e;return[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)].reduce(((n,o)=>{if(py(t.props)&&!t.props.includes(o))return n;return function(e,t,n,o,a){const i={}.propertyIsEnumerable.call(o,t)?"enumerable":"nonenumerable";"enumerable"===i&&(e[t]=n),a&&"nonenumerable"===i&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}(n,o,dy(e[o],t),e,t.nonenumerable),n}),{})}var my=function(){return my=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},my.apply(this,arguments)},hy=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,i=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)r.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return r},fy=function(e,t){for(var n=0,o=t.length,a=e.length;n<o;n++,a++)e[a]=t[n];return e},gy=function(){function e(e){var t=(void 0===e?{}:e).dedupe,n=void 0!==t&&t;this.classRegistry=new xg,this.symbolRegistry=new bg((function(e){var t;return null!==(t=e.description)&&void 0!==t?t:""})),this.customTransformerRegistry=new Sg,this.allowedErrorProps=[],this.dedupe=n}return e.prototype.serialize=function(e){var t=new Map,n=uy(e,t,this,this.dedupe),o={json:n.transformedValue};n.annotations&&(o.meta=my(my({},o.meta),{values:n.annotations}));var a,i,r,s,c=(a=t,i=this.dedupe,r={},s=void 0,a.forEach((function(e){if(!(e.length<=1)){i||(e=e.map((function(e){return e.map(String)})).sort((function(e,t){return e.length-t.length})));var t=ay(e),n=t[0],o=t.slice(1);0===n.length?s=o.map(Ng):r[Ng(n)]=o.map(Ng)}})),s?Ag(r)?[s]:[s,r]:Ag(r)?void 0:r);return c&&(o.meta=my(my({},o.meta),{referentialEqualities:c})),o},e.prototype.deserialize=function(e){var t=e.json,n=e.meta,o=dy(t);return(null==n?void 0:n.values)&&(o=sy(o,n.values,this)),(null==n?void 0:n.referentialEqualities)&&(o=cy(o,n.referentialEqualities)),o},e.prototype.stringify=function(e){return JSON.stringify(this.serialize(e))},e.prototype.parse=function(e){return this.deserialize(JSON.parse(e))},e.prototype.registerClass=function(e,t){this.classRegistry.register(e,t)},e.prototype.registerSymbol=function(e,t){this.symbolRegistry.register(e,t)},e.prototype.registerCustom=function(e,t){this.customTransformerRegistry.register(my({name:t},e))},e.prototype.allowErrorProps=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];(e=this.allowedErrorProps).push.apply(e,fy([],hy(t)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e}();const yy={background:"#0b1521",backgroundAlt:"#132337",foreground:"white",gray:"#3f4e60",grayAlt:"#222e3e",inputBackgroundColor:"#fff",inputTextColor:"#000",success:"#00ab52",danger:"#ff0085",active:"#006bff",paused:"#8c49eb",warning:"#ffb200"},vy=g.createContext(yy);function by({theme:e,...t}){return g.createElement(vy.Provider,Yf({value:e},t))}function ky({queryState:e,observerCount:t,isStale:n,theme:o}){return"fetching"===e.fetchStatus?o.active:t?"paused"===e.fetchStatus?o.paused:n?o.warning:o.success:o.gray}function xy(e){return"fetching"===e.state.fetchStatus?"fetching":e.getObserversCount()?"paused"===e.state.fetchStatus?"paused":e.isStale()?"stale":"fresh":"inactive"}function wy(e,t,n={}){return g.forwardRef((({style:o,...a},i)=>{const r=g.useContext(vy),s=Object.entries(n).reduce(((e,[t,n])=>function(e){const[t,n]=g.useState((()=>{if("undefined"!=typeof window)return window.matchMedia(e).matches}));return g.useEffect((()=>{if("undefined"!=typeof window){const t=window.matchMedia(e),o=({matches:e})=>n(e);return t.addListener(o),()=>{t.removeListener(o)}}}),[t,e,n]),t}(t)?{...e,..."function"==typeof n?n(a,r):n}:e),{});return g.createElement(e,{...a,style:{..."function"==typeof t?t(a,r):t,...o,...s},ref:i})}))}const jy=(e,t=!1)=>{const{json:n}=gy.serialize(e);return JSON.stringify(n,null,t?2:void 0)},_y=e=>"idle"!==e.state.fetchStatus?0:e.getObserversCount()?e.isStale()?2:1:3,Ey=(e,t)=>e.state.dataUpdatedAt<t.state.dataUpdatedAt?1:-1,Cy={"Status > Last Updated":(e,t)=>_y(e)===_y(t)?Ey(e,t):_y(e)>_y(t)?1:-1,"Query Hash":(e,t)=>e.queryHash.localeCompare(t.queryHash),"Last Updated":Ey},Sy=500,Ry={top:"bottom",bottom:"top",left:"right",right:"left"};function Ty(e){return["left","right"].includes(e)}function Ay(e){return Ry[e]}function Iy(e,t){return""+e+(t.charAt(0).toUpperCase()+t.slice(1))}function Oy(e="bottom"){const t=Ty(e),n=Ay(e),o=Iy("margin",n);return{position:"absolute",cursor:t?"col-resize":"row-resize",zIndex:1e5,[n]:0,[o]:"-4px",...t?{top:0,height:"100%",width:"4px"}:{width:"100%",height:"4px"}}}const zy=wy("div",((e,t)=>({fontSize:"clamp(12px, 1.5vw, 14px)",fontFamily:"sans-serif",display:"flex",backgroundColor:t.background,color:t.foreground})),{"(max-width: 700px)":{flexDirection:"column"},"(max-width: 600px)":{fontSize:".9em"}}),Py=wy("div",(()=>({flex:"1 1 500px",display:"flex",flexDirection:"column",overflow:"auto",height:"100%"})),{"(max-width: 700px)":(e,t)=>({borderTop:"2px solid "+t.gray})}),Ly=wy("button",((e,t)=>({appearance:"none",fontSize:".9em",fontWeight:"bold",background:t.gray,border:"0",borderRadius:".3em",color:"white",padding:".5em",opacity:e.disabled?".5":void 0,cursor:"pointer"}))),Dy=wy("span",{display:"flex",flexWrap:"wrap",gap:"0.5em",fontSize:"0.9em"}),qy=wy("span",{display:"inline-flex",alignItems:"center",padding:".2em .4em",fontWeight:"bold",textShadow:"0 0 10px black",borderRadius:".2em"}),Ny=wy("code",{fontSize:".9em",color:"inherit",background:"inherit"}),My=wy("input",((e,t)=>({backgroundColor:t.inputBackgroundColor,border:0,borderRadius:".2em",color:t.inputTextColor,fontSize:".9em",lineHeight:"1.3",padding:".3em .4em"}))),Fy=wy("select",((e,t)=>({display:"inline-block",fontSize:".9em",fontFamily:"sans-serif",fontWeight:"normal",lineHeight:"1.3",padding:".3em 1.5em .3em .5em",height:"auto",border:0,borderRadius:".2em",appearance:"none",WebkitAppearance:"none",backgroundColor:t.inputBackgroundColor,backgroundImage:"url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23444444'><polygon points='0,25 100,25 50,75'/></svg>\")",backgroundRepeat:"no-repeat",backgroundPosition:"right .55em center",backgroundSize:".65em auto, 100%",color:t.inputTextColor})),{"(max-width: 500px)":{display:"none"}});function By({text:e}){return g.createElement("span",{style:{position:"absolute",width:"0.1px",height:"0.1px",overflow:"hidden"}},e)}const Uy=wy("div",{fontFamily:"Menlo, monospace",fontSize:"1em",lineHeight:"1.7",outline:"none",wordBreak:"break-word"}),Gy=wy("span",{color:"white"}),Wy=wy("button",{cursor:"pointer",color:"white"}),Vy=wy("button",{cursor:"pointer",color:"inherit",font:"inherit",outline:"inherit",background:"transparent",border:"none",padding:0}),Hy=({value:e})=>{const[t,n]=g.useState("NoCopy");return g.createElement("button",{onClick:"NoCopy"===t?()=>{navigator.clipboard.writeText(gy.stringify(e)).then((()=>{n("SuccessCopy"),setTimeout((()=>{n("NoCopy")}),1500)}),(e=>{console.error("Failed to copy: ",e),n("ErrorCopy"),setTimeout((()=>{n("NoCopy")}),1500)}))}:void 0,style:{cursor:"pointer",color:"inherit",font:"inherit",outline:"inherit",background:"transparent",border:"none",padding:0}},"NoCopy"===t?g.createElement(Xy,null):"SuccessCopy"===t?g.createElement(Zy,null):g.createElement(Yy,null))},Ky=wy("span",((e,t)=>({color:t.danger}))),$y=wy("div",{marginLeft:".1em",paddingLeft:"1em",borderLeft:"2px solid rgba(0,0,0,.15)"}),Qy=wy("span",{color:"grey",fontSize:".7em"}),Jy=({expanded:e,style:t={}})=>g.createElement("span",{style:{display:"inline-block",transition:"all .1s ease",transform:"rotate("+(e?90:0)+"deg) "+(t.transform||""),...t}},"▶"),Xy=()=>g.createElement("span",{"aria-label":"Copy object to clipboard",title:"Copy object to clipboard",style:{paddingLeft:"1em"}},g.createElement("svg",{height:"12",viewBox:"0 0 16 12",width:"10"},g.createElement("path",{fill:"currentColor",d:"M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z"}),g.createElement("path",{fill:"currentColor",d:"M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z"}))),Yy=()=>g.createElement("span",{"aria-label":"Failed copying to clipboard",title:"Failed copying to clipboard",style:{paddingLeft:"1em",display:"flex",alignItems:"center"}},g.createElement("svg",{height:"12",viewBox:"0 0 16 12",width:"10",display:"block"},g.createElement("path",{fill:"red",d:"M3.72 3.72a.75.75 0 011.06 0L8 6.94l3.22-3.22a.75.75 0 111.06 1.06L9.06 8l3.22 3.22a.75.75 0 11-1.06 1.06L8 9.06l-3.22 3.22a.75.75 0 01-1.06-1.06L6.94 8 3.72 4.78a.75.75 0 010-1.06z"})),g.createElement("span",{style:{color:"red",fontSize:"12px",paddingLeft:"4px",position:"relative",top:"2px"}},"See console")),Zy=()=>g.createElement("span",{"aria-label":"Object copied to clipboard",title:"Object copied to clipboard",style:{paddingLeft:"1em",display:"inline-block",verticalAlign:"middle"}},g.createElement("svg",{height:"16",viewBox:"0 0 16 16",width:"16",display:"block"},g.createElement("path",{fill:"green",d:"M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z"})));const ev=({handleEntry:e,label:t,value:n,subEntries:o=[],subEntryPages:a=[],type:i,expanded:r=!1,copyable:s=!1,toggleExpanded:c,pageSize:u})=>{const[l,p]=g.useState([]);return g.createElement(Uy,{key:t},a.length?g.createElement(g.Fragment,null,g.createElement(Vy,{onClick:()=>c()},g.createElement(Jy,{expanded:r})," ",t," ",g.createElement(Qy,null,"iterable"===String(i).toLowerCase()?"(Iterable) ":"",o.length," ",o.length>1?"items":"item")),s?g.createElement(Hy,{value:n}):null,r?1===a.length?g.createElement($y,null,o.map(e)):g.createElement($y,null,a.map(((t,n)=>g.createElement("div",{key:n},g.createElement(Uy,null,g.createElement(Wy,{onClick:()=>p((e=>e.includes(n)?e.filter((e=>e!==n)):[...e,n]))},g.createElement(Jy,{expanded:r})," [",n*u," ..."," ",n*u+u-1,"]"),l.includes(n)?g.createElement($y,null,t.map(e)):null))))):null):g.createElement(g.Fragment,null,g.createElement(Gy,null,t,":")," ",g.createElement(Ky,null,jy(n))))};function tv({value:e,defaultExpanded:t,renderer:n=ev,pageSize:o=100,copyable:a=!1,...i}){const[r,s]=g.useState(Boolean(t)),c=g.useCallback((()=>s((e=>!e))),[]);let u=typeof e,l=[];const p=e=>{const n=!0===t?{[e.label]:!0}:null==t?void 0:t[e.label];return{...e,defaultExpanded:n}};var d;Array.isArray(e)?(u="array",l=e.map(((e,t)=>p({label:t.toString(),value:e})))):null!==e&&"object"==typeof e&&(d=e,Symbol.iterator in d)&&"function"==typeof e[Symbol.iterator]?(u="Iterable",l=Array.from(e,((e,t)=>p({label:t.toString(),value:e})))):"object"==typeof e&&null!==e&&(u="object",l=Object.entries(e).map((([e,t])=>p({label:e,value:t}))));const m=function(e,t){if(t<1)return[];let n=0;const o=[];for(;n<e.length;)o.push(e.slice(n,n+t)),n+=t;return o}(l,o);return n({handleEntry:t=>g.createElement(tv,Yf({key:t.label,value:e,renderer:n,copyable:a},i,t)),type:u,subEntries:l,subEntryPages:m,value:e,expanded:r,copyable:a,toggleExpanded:c,pageSize:o,...i})}function nv(e){return g.createElement("svg",Yf({width:"40px",height:"40px",viewBox:"0 0 190 190",version:"1.1"},e),g.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},g.createElement("g",{transform:"translate(-33.000000, 0.000000)"},g.createElement("path",{d:"M72.7239712,61.3436237 C69.631224,46.362877 68.9675112,34.8727722 70.9666331,26.5293551 C72.1555965,21.5671678 74.3293088,17.5190846 77.6346064,14.5984631 C81.1241394,11.5150478 85.5360327,10.0020122 90.493257,10.0020122 C98.6712013,10.0020122 107.26826,13.7273214 116.455725,20.8044264 C120.20312,23.6910458 124.092437,27.170411 128.131651,31.2444746 C128.45314,30.8310265 128.816542,30.4410453 129.22143,30.0806152 C140.64098,19.9149716 150.255245,13.5989272 158.478408,11.1636507 C163.367899,9.715636 167.958526,9.57768202 172.138936,10.983031 C176.551631,12.4664684 180.06766,15.5329489 182.548314,19.8281091 C186.642288,26.9166735 187.721918,36.2310983 186.195595,47.7320243 C185.573451,52.4199112 184.50985,57.5263831 183.007094,63.0593153 C183.574045,63.1277086 184.142416,63.2532808 184.705041,63.4395297 C199.193932,68.2358678 209.453582,73.3937462 215.665021,79.2882839 C219.360669,82.7953831 221.773972,86.6998434 222.646365,91.0218204 C223.567176,95.5836746 222.669313,100.159332 220.191548,104.451297 C216.105211,111.529614 208.591643,117.11221 197.887587,121.534031 C193.589552,123.309539 188.726579,124.917559 183.293259,126.363748 C183.541176,126.92292 183.733521,127.516759 183.862138,128.139758 C186.954886,143.120505 187.618598,154.61061 185.619477,162.954027 C184.430513,167.916214 182.256801,171.964297 178.951503,174.884919 C175.46197,177.968334 171.050077,179.48137 166.092853,179.48137 C157.914908,179.48137 149.31785,175.756061 140.130385,168.678956 C136.343104,165.761613 132.410866,162.238839 128.325434,158.108619 C127.905075,158.765474 127.388968,159.376011 126.77857,159.919385 C115.35902,170.085028 105.744755,176.401073 97.5215915,178.836349 C92.6321009,180.284364 88.0414736,180.422318 83.8610636,179.016969 C79.4483686,177.533532 75.9323404,174.467051 73.4516862,170.171891 C69.3577116,163.083327 68.2780823,153.768902 69.8044053,142.267976 C70.449038,137.410634 71.56762,132.103898 73.1575891,126.339009 C72.5361041,126.276104 71.9120754,126.144816 71.2949591,125.940529 C56.8060684,121.144191 46.5464184,115.986312 40.3349789,110.091775 C36.6393312,106.584675 34.2260275,102.680215 33.3536352,98.3582381 C32.4328237,93.7963839 33.3306866,89.2207269 35.8084524,84.9287618 C39.8947886,77.8504443 47.4083565,72.2678481 58.1124133,67.8460273 C62.5385143,66.0176154 67.5637208,64.366822 73.1939394,62.8874674 C72.9933393,62.3969171 72.8349374,61.8811235 72.7239712,61.3436237 Z",fill:"#002C4B",fillRule:"nonzero",transform:"translate(128.000000, 95.000000) scale(-1, 1) translate(-128.000000, -95.000000) "}),g.createElement("path",{d:"M113.396882,64 L142.608177,64 C144.399254,64 146.053521,64.958025 146.944933,66.5115174 L161.577138,92.0115174 C162.461464,93.5526583 162.461464,95.4473417 161.577138,96.9884826 L146.944933,122.488483 C146.053521,124.041975 144.399254,125 142.608177,125 L113.396882,125 C111.605806,125 109.951539,124.041975 109.060126,122.488483 L94.4279211,96.9884826 C93.543596,95.4473417 93.543596,93.5526583 94.4279211,92.0115174 L109.060126,66.5115174 C109.951539,64.958025 111.605806,64 113.396882,64 Z M138.987827,70.2765273 C140.779849,70.2765273 142.434839,71.2355558 143.325899,72.7903404 L154.343038,92.0138131 C155.225607,93.5537825 155.225607,95.4462175 154.343038,96.9861869 L143.325899,116.20966 C142.434839,117.764444 140.779849,118.723473 138.987827,118.723473 L117.017233,118.723473 C115.225211,118.723473 113.570221,117.764444 112.67916,116.20966 L101.662022,96.9861869 C100.779452,95.4462175 100.779452,93.5537825 101.662022,92.0138131 L112.67916,72.7903404 C113.570221,71.2355558 115.225211,70.2765273 117.017233,70.2765273 L138.987827,70.2765273 Z M135.080648,77.1414791 L120.924411,77.1414791 C119.134228,77.1414791 117.480644,78.0985567 116.5889,79.6508285 L116.5889,79.6508285 L109.489217,92.0093494 C108.603232,93.5515958 108.603232,95.4484042 109.489217,96.9906506 L109.489217,96.9906506 L116.5889,109.349172 C117.480644,110.901443 119.134228,111.858521 120.924411,111.858521 L120.924411,111.858521 L135.080648,111.858521 C136.870831,111.858521 138.524416,110.901443 139.41616,109.349172 L139.41616,109.349172 L146.515843,96.9906506 C147.401828,95.4484042 147.401828,93.5515958 146.515843,92.0093494 L146.515843,92.0093494 L139.41616,79.6508285 C138.524416,78.0985567 136.870831,77.1414791 135.080648,77.1414791 L135.080648,77.1414791 Z M131.319186,83.7122186 C133.108028,83.7122186 134.760587,84.6678753 135.652827,86.2183156 L138.983552,92.0060969 C139.87203,93.5500005 139.87203,95.4499995 138.983552,96.9939031 L135.652827,102.781684 C134.760587,104.332125 133.108028,105.287781 131.319186,105.287781 L124.685874,105.287781 C122.897032,105.287781 121.244473,104.332125 120.352233,102.781684 L117.021508,96.9939031 C116.13303,95.4499995 116.13303,93.5500005 117.021508,92.0060969 L120.352233,86.2183156 C121.244473,84.6678753 122.897032,83.7122186 124.685874,83.7122186 L131.319186,83.7122186 Z M128.003794,90.1848875 C126.459294,90.1848875 125.034382,91.0072828 124.263005,92.3424437 C123.491732,93.6774232 123.491732,95.3225768 124.263005,96.6575563 C125.034382,97.9927172 126.459294,98.8151125 128.001266,98.8151125 L128.001266,98.8151125 C129.545766,98.8151125 130.970678,97.9927172 131.742055,96.6575563 C132.513327,95.3225768 132.513327,93.6774232 131.742055,92.3424437 C130.970678,91.0072828 129.545766,90.1848875 128.003794,90.1848875 L128.003794,90.1848875 Z M93,94.5009646 L100.767764,94.5009646",fill:"#FFD94C"}),g.createElement("path",{d:"M87.8601729,108.357758 C89.1715224,107.608286 90.8360246,108.074601 91.5779424,109.399303 L91.5779424,109.399303 L92.0525843,110.24352 C95.8563392,116.982993 99.8190116,123.380176 103.940602,129.435068 C108.807881,136.585427 114.28184,143.82411 120.362479,151.151115 C121.316878,152.30114 121.184944,154.011176 120.065686,154.997937 L120.065686,154.997937 L119.454208,155.534625 C99.3465389,173.103314 86.2778188,176.612552 80.2480482,166.062341 C74.3500652,155.742717 76.4844915,136.982888 86.6513274,109.782853 C86.876818,109.179582 87.3045861,108.675291 87.8601729,108.357758 Z M173.534177,129.041504 C174.986131,128.785177 176.375496,129.742138 176.65963,131.194242 L176.65963,131.194242 L176.812815,131.986376 C181.782365,157.995459 178.283348,171 166.315764,171 C154.609745,171 139.708724,159.909007 121.612702,137.727022 C121.211349,137.235047 120.994572,136.617371 121,135.981509 C121.013158,134.480686 122.235785,133.274651 123.730918,133.287756 L123.730918,133.287756 L124.684654,133.294531 C132.305698,133.335994 139.714387,133.071591 146.910723,132.501323 C155.409039,131.82788 164.283523,130.674607 173.534177,129.041504 Z M180.408726,73.8119663 C180.932139,72.4026903 182.508386,71.6634537 183.954581,72.149012 L183.954581,72.149012 L184.742552,72.4154854 C210.583763,81.217922 220.402356,90.8916805 214.198332,101.436761 C208.129904,111.751366 190.484347,119.260339 161.26166,123.963678 C160.613529,124.067994 159.948643,123.945969 159.382735,123.618843 C158.047025,122.846729 157.602046,121.158214 158.388848,119.847438 L158.388848,119.847438 L158.889328,119.0105 C162.877183,112.31633 166.481358,105.654262 169.701854,99.0242957 C173.50501,91.1948179 177.073967,82.7907081 180.408726,73.8119663 Z M94.7383398,66.0363218 C95.3864708,65.9320063 96.0513565,66.0540315 96.6172646,66.3811573 C97.9529754,67.153271 98.3979538,68.8417862 97.6111517,70.1525615 L97.6111517,70.1525615 L97.1106718,70.9895001 C93.1228168,77.6836699 89.5186416,84.3457379 86.2981462,90.9757043 C82.49499,98.8051821 78.9260328,107.209292 75.5912744,116.188034 C75.0678608,117.59731 73.4916142,118.336546 72.045419,117.850988 L72.045419,117.850988 L71.2574475,117.584515 C45.4162372,108.782078 35.597644,99.1083195 41.8016679,88.5632391 C47.8700957,78.2486335 65.515653,70.7396611 94.7383398,66.0363218 Z M136.545792,34.4653746 C156.653461,16.8966864 169.722181,13.3874478 175.751952,23.9376587 C181.649935,34.2572826 179.515508,53.0171122 169.348673,80.2171474 C169.123182,80.8204179 168.695414,81.324709 168.139827,81.6422422 C166.828478,82.3917144 165.163975,81.9253986 164.422058,80.6006966 L164.422058,80.6006966 L163.947416,79.7564798 C160.143661,73.0170065 156.180988,66.6198239 152.059398,60.564932 C147.192119,53.4145727 141.71816,46.1758903 135.637521,38.8488847 C134.683122,37.6988602 134.815056,35.9888243 135.934314,35.0020629 L135.934314,35.0020629 Z M90.6842361,18 C102.390255,18 117.291276,29.0909926 135.387298,51.2729777 C135.788651,51.7649527 136.005428,52.3826288 136,53.0184911 C135.986842,54.5193144 134.764215,55.7253489 133.269082,55.7122445 L133.269082,55.7122445 L132.315346,55.7054689 C124.694302,55.6640063 117.285613,55.9284091 110.089277,56.4986773 C101.590961,57.17212 92.7164767,58.325393 83.4658235,59.9584962 C82.0138691,60.2148231 80.6245044,59.2578618 80.3403697,57.805758 L80.3403697,57.805758 L80.1871846,57.0136235 C75.2176347,31.0045412 78.7166519,18 90.6842361,18 Z",fill:"#FF4154"}))))}const ov=(e,t,n=!1)=>Cf.useSyncExternalStore(g.useCallback((t=>n?()=>{}:e.subscribe(rf.batchCalls(t))),[e,n]),t,t),av=g.forwardRef((function(e,t){const{isOpen:n=!0,styleNonce:o,setIsOpen:a,context:i,onDragStart:r,onPositionChange:s,showCloseButton:c,position:u,closeButtonProps:l={},errorTypes:p=[],...d}=e,{onClick:m,...h}=l,f=If({context:i}),y=f.getQueryCache(),[v,b]=gg("reactQueryDevtoolsSortFn",Object.keys(Cy)[0]),[k,x]=gg("reactQueryDevtoolsFilter",""),[w,j]=gg("reactQueryDevtoolsBaseSort",1),_=g.useMemo((()=>Cy[v]),[v]),E=ov(y,(()=>y.getAll().length),!n),[C,S]=gg("reactQueryDevtoolsActiveQueryHash",""),R=g.useMemo((()=>{const e=y.getAll();if(0===E)return[];const t=k?e.filter((e=>lg(e.queryHash,k).passed)):[...e];return _?t.sort(((e,t)=>_(e,t)*w)):t}),[w,_,k,E,y]),[T,A]=g.useState(!1);return g.createElement(by,{theme:yy},g.createElement(zy,Yf({ref:t,className:"ReactQueryDevtoolsPanel","aria-label":"React Query Devtools Panel",id:"ReactQueryDevtoolsPanel"},d,{style:{height:Sy,position:"relative",...d.style}}),g.createElement("style",{nonce:o,dangerouslySetInnerHTML:{__html:"\n .ReactQueryDevtoolsPanel * {\n scrollbar-color: "+yy.backgroundAlt+" "+yy.gray+";\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar, .ReactQueryDevtoolsPanel scrollbar {\n width: 1em;\n height: 1em;\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar-track, .ReactQueryDevtoolsPanel scrollbar-track {\n background: "+yy.backgroundAlt+";\n }\n\n .ReactQueryDevtoolsPanel *::-webkit-scrollbar-thumb, .ReactQueryDevtoolsPanel scrollbar-thumb {\n background: "+yy.gray+";\n border-radius: .5em;\n border: 3px solid "+yy.backgroundAlt+";\n }\n "}}),g.createElement("div",{style:Oy(u),onMouseDown:r}),n&&g.createElement("div",{style:{flex:"1 1 500px",minHeight:"40%",maxHeight:"100%",overflow:"auto",borderRight:"1px solid "+yy.grayAlt,display:"flex",flexDirection:"column"}},g.createElement("div",{style:{padding:".5em",background:yy.backgroundAlt,display:"flex",justifyContent:"space-between",alignItems:"center"}},g.createElement("button",{type:"button","aria-label":"Close React Query Devtools","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"true",onClick:()=>a(!1),style:{display:"inline-flex",background:"none",border:0,padding:0,marginRight:".5em",cursor:"pointer"}},g.createElement(nv,{"aria-hidden":!0}),g.createElement(By,{text:"Close React Query Devtools"})),g.createElement("div",{style:{display:"flex",flexDirection:"column"}},g.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:".5em"}},g.createElement(rv,{queryCache:y}),u&&s?g.createElement(Fy,{"aria-label":"Panel position",value:u,style:{marginInlineStart:".5em"},onChange:e=>s(e.target.value)},g.createElement("option",{value:"left"},"Left"),g.createElement("option",{value:"right"},"Right"),g.createElement("option",{value:"top"},"Top"),g.createElement("option",{value:"bottom"},"Bottom")):null),g.createElement("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:"0.5em"}},g.createElement(My,{placeholder:"Filter","aria-label":"Filter by queryhash",value:null!=k?k:"",onChange:e=>x(e.target.value),onKeyDown:e=>{"Escape"===e.key&&x("")},style:{flex:"1",width:"100%"}}),g.createElement(Fy,{"aria-label":"Sort queries",value:v,onChange:e=>b(e.target.value),style:{flex:"1",minWidth:75,marginRight:".5em"}},Object.keys(Cy).map((e=>g.createElement("option",{key:e,value:e},"Sort by ",e)))),g.createElement(Ly,{type:"button",onClick:()=>j((e=>-1*e)),style:{padding:".3em .4em",marginRight:".5em"}},1===w?"⬆ Asc":"⬇ Desc"),g.createElement(Ly,{title:"Clear cache","aria-label":"Clear cache",type:"button",onClick:()=>y.clear(),style:{padding:".3em .4em",marginRight:".5em"}},"Clear"),g.createElement(Ly,{type:"button",onClick:()=>{T?(Yh.setOnline(void 0),A(!1),window.dispatchEvent(new Event("online"))):(Yh.setOnline(!1),A(!0))},"aria-label":T?"Restore offline mock":"Mock offline behavior",title:T?"Restore offline mock":"Mock offline behavior",style:{padding:"0",height:"2em"}},g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"2em",height:"2em",viewBox:"0 0 24 24",stroke:T?yy.danger:"currentColor",fill:"none"},T?g.createElement(g.Fragment,null,g.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),g.createElement("line",{x1:"12",y1:"18",x2:"12.01",y2:"18"}),g.createElement("path",{d:"M9.172 15.172a4 4 0 0 1 5.656 0"}),g.createElement("path",{d:"M6.343 12.343a7.963 7.963 0 0 1 3.864 -2.14m4.163 .155a7.965 7.965 0 0 1 3.287 2"}),g.createElement("path",{d:"M3.515 9.515a12 12 0 0 1 3.544 -2.455m3.101 -.92a12 12 0 0 1 10.325 3.374"}),g.createElement("line",{x1:"3",y1:"3",x2:"21",y2:"21"})):g.createElement(g.Fragment,null,g.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),g.createElement("line",{x1:"12",y1:"18",x2:"12.01",y2:"18"}),g.createElement("path",{d:"M9.172 15.172a4 4 0 0 1 5.656 0"}),g.createElement("path",{d:"M6.343 12.343a8 8 0 0 1 11.314 0"}),g.createElement("path",{d:"M3.515 9.515c4.686 -4.687 12.284 -4.687 17 0"}))),g.createElement(By,{text:T?"Restore offline mock":"Mock offline behavior"}))))),g.createElement("div",{style:{overflowY:"auto",flex:"1"}},R.map((e=>g.createElement(sv,{queryKey:e.queryKey,activeQueryHash:C,setActiveQueryHash:S,key:e.queryHash,queryCache:y}))))),C&&n?g.createElement(iv,{activeQueryHash:C,queryCache:y,queryClient:f,errorTypes:p}):null,c?g.createElement(Ly,Yf({type:"button","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"true"},h,{style:{position:"absolute",zIndex:99999,margin:".5em",bottom:0,left:0,...h.style},onClick:e=>{a(!1),null==m||m(e)}}),"Close"):null))})),iv=({queryCache:e,activeQueryHash:t,queryClient:n,errorTypes:o})=>{var a,i;const r=ov(e,(()=>e.getAll().find((e=>e.queryHash===t)))),s=ov(e,(()=>{var n;return null==(n=e.getAll().find((e=>e.queryHash===t)))?void 0:n.state})),c=null!=(a=ov(e,(()=>{var n;return null==(n=e.getAll().find((e=>e.queryHash===t)))?void 0:n.isStale()})))&&a,u=null!=(i=ov(e,(()=>{var n;return null==(n=e.getAll().find((e=>e.queryHash===t)))?void 0:n.getObserversCount()})))?i:0,l=h.useMemo((()=>{if(r&&null!=s&&s.error){const e=o.find((e=>{var t;return e.initializer(r).toString()===(null==(t=s.error)?void 0:t.toString())}));return null==e?void 0:e.name}}),[r,null==s?void 0:s.error,o]);if(!r||!s)return null;const p=e=>{var t;const n=null!=(t=null==e?void 0:e.initializer(r))?t:new Error("Unknown error from devtools"),o=r.options;r.setState({status:"error",error:n,fetchMeta:{...r.state.fetchMeta,__previousQueryOptions:o}})};return g.createElement(Py,null,g.createElement("div",{style:{padding:".5em",background:yy.backgroundAlt,position:"sticky",top:0,zIndex:1}},"Query Details"),g.createElement("div",{style:{padding:".5em"}},g.createElement("div",{style:{marginBottom:".5em",display:"flex",alignItems:"flex-start",justifyContent:"space-between"}},g.createElement(Ny,{style:{lineHeight:"1.8em"}},g.createElement("pre",{style:{margin:0,padding:0,overflow:"auto"}},jy(r.queryKey,!0))),g.createElement("span",{style:{padding:"0.3em .6em",borderRadius:"0.4em",fontWeight:"bold",textShadow:"0 2px 10px black",background:ky({queryState:s,isStale:c,observerCount:u,theme:yy}),flexShrink:0}},xy(r))),g.createElement("div",{style:{marginBottom:".5em",display:"flex",alignItems:"center",justifyContent:"space-between"}},"Observers: ",g.createElement(Ny,null,u)),g.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},"Last Updated:"," ",g.createElement(Ny,null,new Date(s.dataUpdatedAt).toLocaleTimeString()))),g.createElement("div",{style:{background:yy.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Actions"),g.createElement("div",{style:{padding:"0.5em",display:"flex",flexWrap:"wrap",gap:"0.5em",alignItems:"flex-end"}},g.createElement(Ly,{type:"button",onClick:()=>{const e=null==r?void 0:r.fetch();null==e||e.catch(cv)},disabled:"fetching"===s.fetchStatus,style:{background:yy.active}},"Refetch")," ",g.createElement(Ly,{type:"button",onClick:()=>n.invalidateQueries(r),style:{background:yy.warning,color:yy.inputTextColor}},"Invalidate")," ",g.createElement(Ly,{type:"button",onClick:()=>n.resetQueries(r),style:{background:yy.gray}},"Reset")," ",g.createElement(Ly,{type:"button",onClick:()=>n.removeQueries(r),style:{background:yy.danger}},"Remove")," ",g.createElement(Ly,{type:"button",onClick:()=>{var e;if("fetching"!==r.state.fetchStatus||void 0!==(null==(e=r.state.fetchMeta)?void 0:e.__previousQueryOptions))if(void 0===r.state.data)r.fetch(r.state.fetchMeta.__previousQueryOptions,{cancelRefetch:!0});else{const e=r.options;r.fetch({...e,queryFn:()=>new Promise((()=>{})),cacheTime:-1}),r.setState({data:void 0,status:"loading",fetchMeta:{...r.state.fetchMeta,__previousQueryOptions:e}})}},style:{background:yy.paused}},"loading"===r.state.status?"Restore":"Trigger"," ","loading")," ",0===o.length||"error"===r.state.status?g.createElement(Ly,{type:"button",onClick:()=>{r.state.error?n.resetQueries(r):p()},style:{background:yy.danger}},"error"===r.state.status?"Restore":"Trigger"," error"):g.createElement("label",null,"Trigger error:",g.createElement(Fy,{value:null!=l?l:"",style:{marginInlineStart:".5em"},onChange:e=>{const t=o.find((t=>t.name===e.target.value));p(t)}},g.createElement("option",{key:"",value:""}),o.map((e=>g.createElement("option",{key:e.name,value:e.name},e.name)))))),g.createElement("div",{style:{background:yy.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Data Explorer"),g.createElement("div",{style:{padding:".5em"}},g.createElement(tv,{label:"Data",value:s.data,defaultExpanded:{},copyable:!0})),g.createElement("div",{style:{background:yy.backgroundAlt,padding:".5em",position:"sticky",top:0,zIndex:1}},"Query Explorer"),g.createElement("div",{style:{padding:".5em"}},g.createElement(tv,{label:"Query",value:r,defaultExpanded:{queryKey:!0}})))},rv=({queryCache:e})=>{const t=ov(e,(()=>e.getAll().filter((e=>"fresh"===xy(e))).length)),n=ov(e,(()=>e.getAll().filter((e=>"fetching"===xy(e))).length)),o=ov(e,(()=>e.getAll().filter((e=>"paused"===xy(e))).length)),a=ov(e,(()=>e.getAll().filter((e=>"stale"===xy(e))).length)),i=ov(e,(()=>e.getAll().filter((e=>"inactive"===xy(e))).length));return g.createElement(Dy,null,g.createElement(qy,{style:{background:yy.success,opacity:t?1:.3}},"fresh ",g.createElement(Ny,null,"(",t,")"))," ",g.createElement(qy,{style:{background:yy.active,opacity:n?1:.3}},"fetching ",g.createElement(Ny,null,"(",n,")"))," ",g.createElement(qy,{style:{background:yy.paused,opacity:o?1:.3}},"paused ",g.createElement(Ny,null,"(",o,")"))," ",g.createElement(qy,{style:{background:yy.warning,color:"black",textShadow:"0",opacity:a?1:.3}},"stale ",g.createElement(Ny,null,"(",a,")"))," ",g.createElement(qy,{style:{background:yy.gray,opacity:i?1:.3}},"inactive ",g.createElement(Ny,null,"(",i,")")))},sv=g.memo((({queryKey:e,setActiveQueryHash:t,activeQueryHash:n,queryCache:o})=>{var a,i,r,s;const c=null!=(a=ov(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.queryHash})))?a:"",u=ov(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.state})),l=null!=(i=ov(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.isStale()})))&&i,p=null!=(r=ov(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.isDisabled()})))&&r,d=null!=(s=ov(o,(()=>{var t;return null==(t=o.find(e))?void 0:t.getObserversCount()})))?s:0;return u?g.createElement("div",{role:"button","aria-label":"Open query details for "+c,onClick:()=>t(n===c?"":c),style:{display:"flex",borderBottom:"solid 1px "+yy.grayAlt,cursor:"pointer",background:c===n?"rgba(255,255,255,.1)":void 0}},g.createElement("div",{style:{flex:"0 0 auto",width:"2em",height:"2em",background:ky({queryState:u,isStale:l,observerCount:d,theme:yy}),display:"flex",alignItems:"center",justifyContent:"center",fontWeight:"bold",textShadow:l?"0":"0 0 10px black",color:l?"black":"white"}},d),p?g.createElement("div",{style:{flex:"0 0 auto",height:"2em",background:yy.gray,display:"flex",alignItems:"center",fontWeight:"bold",padding:"0 0.5em"}},"disabled"):null,g.createElement(Ny,{style:{padding:".5em"}},""+c)):null}));function cv(){}sv.displayName="QueryRow";const uv="development"!==process.env.NODE_ENV?function(){return null}:function({initialIsOpen:e,panelProps:t={},closeButtonProps:n={},toggleButtonProps:o={},position:a="bottom-left",containerElement:i="aside",context:r,styleNonce:s,panelPosition:c="bottom",errorTypes:u=[]}){const l=g.useRef(null),p=g.useRef(null),[d,m]=gg("reactQueryDevtoolsOpen",e),[h,f]=gg("reactQueryDevtoolsHeight",Sy),[y,v]=gg("reactQueryDevtoolsWidth",Sy),[b="bottom",k]=gg("reactQueryDevtoolsPanelPosition",c),[x,w]=g.useState(!1),[j,_]=g.useState(!1),E=function(){const e=g.useRef(!1),t=g.useCallback((()=>e.current),[]);return g.useEffect((()=>(e.current=!0,()=>{e.current=!1})),[]),t}();g.useEffect((()=>{w(null!=d&&d)}),[d,x,w]),g.useEffect((()=>{const e=p.current;if(e){const t=()=>{x&&(e.style.visibility="visible")},n=()=>{x||(e.style.visibility="hidden")};return e.addEventListener("transitionstart",t),e.addEventListener("transitionend",n),()=>{e.removeEventListener("transitionstart",t),e.removeEventListener("transitionend",n)}}}),[x]),g.useEffect((()=>{var e;if(x&&null!=(e=l.current)&&e.parentElement){const{parentElement:e}=l.current,t=Iy("padding",b),n=Ty(b),o=(({padding:e,paddingTop:t,paddingBottom:n,paddingLeft:o,paddingRight:a})=>({padding:e,paddingTop:t,paddingBottom:n,paddingLeft:o,paddingRight:a}))(e.style),a=()=>{e.style.padding="0px",e.style.paddingTop="0px",e.style.paddingBottom="0px",e.style.paddingLeft="0px",e.style.paddingRight="0px",e.style[t]=(n?y:h)+"px"};if(a(),"undefined"!=typeof window)return window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a),Object.entries(o).forEach((([t,n])=>{e.style[t]=n}))}}}),[x,b,h,y]);const{style:C={},...S}=t,{style:R={},onClick:T,...A}=o,I=function({position:e="bottom",height:t,width:n,devtoolsTheme:o,isOpen:a,isResizing:i,panelStyle:r}){const s=Ay(e),c=Iy("border",s),u=Ty(e);return{...r,direction:"ltr",position:"fixed",[e]:0,[c]:"1px solid "+o.gray,transformOrigin:s,boxShadow:"0 0 20px rgba(0,0,0,.3)",zIndex:99999,visibility:a?"visible":"hidden",...i?{transition:"none"}:{transition:"all .2s ease"},...a?{opacity:1,pointerEvents:"all",transform:u?"translateX(0) scale(1)":"translateY(0) scale(1)"}:{opacity:0,pointerEvents:"none",transform:u?"translateX(15px) scale(1.02)":"translateY(15px) scale(1.02)"},...u?{top:0,height:"100vh",maxWidth:"90%",width:"number"==typeof n&&n>=70?n:Sy}:{left:0,width:"100%",maxHeight:"90%",height:"number"==typeof t&&t>=70?t:Sy}}}({position:b,devtoolsTheme:yy,isOpen:x,height:h,width:y,isResizing:j,panelStyle:C});return E()?g.createElement(i,{ref:l,className:"ReactQueryDevtools","aria-label":"React Query Devtools"},g.createElement(by,{theme:yy},g.createElement(av,Yf({ref:p,context:r,styleNonce:s,position:b,onPositionChange:k,showCloseButton:!0,closeButtonProps:n},S,{style:I,isOpen:x,setIsOpen:m,onDragStart:e=>((e,t)=>{if(!e)return;if(0!==t.button)return;const n=Ty(b);_(!0);const{height:o,width:a}=e.getBoundingClientRect(),i=t.clientX,r=t.clientY;let s=0;const c=e=>{e.preventDefault(),n?(s=a+("right"===b?i-e.clientX:e.clientX-i),v(s)):(s=o+("bottom"===b?r-e.clientY:e.clientY-r),f(s)),m(!(s<70))},u=()=>{j&&_(!1),document.removeEventListener("mousemove",c,!1),document.removeEventListener("mouseUp",u,!1)};document.addEventListener("mousemove",c,!1),document.addEventListener("mouseup",u,!1)})(p.current,e),errorTypes:u}))),x?null:g.createElement("button",Yf({type:"button"},A,{"aria-label":"Open React Query Devtools","aria-controls":"ReactQueryDevtoolsPanel","aria-haspopup":"true","aria-expanded":"false",onClick:e=>{m(!0),null==T||T(e)},style:{background:"none",border:0,padding:0,position:"fixed",zIndex:99999,display:"inline-flex",fontSize:"1.5em",margin:".5em",cursor:"pointer",width:"fit-content",..."top-right"===a?{top:"0",right:"0"}:"top-left"===a?{top:"0",left:"0"}:"bottom-right"===a?{bottom:"0",right:"0"}:{bottom:"0",left:"0"},...R}}),g.createElement(nv,{"aria-hidden":!0}),g.createElement(By,{text:"Open React Query Devtools"}))):null};process.env.NODE_ENV;var lv,pv={backgroundColor:"#fcfcff",width:"100%",zIndex:1e7,height:"100%",position:"absolute"};exports.ApiErrorCodes=void 0,(lv=exports.ApiErrorCodes||(exports.ApiErrorCodes={})).ECONNABORTED="ECONNABORTED",lv.ETIMEDOUT="ETIMEDOUT",lv.ERR_BAD_REQUEST="ERR_BAD_REQUEST";var dv=["LOCAL","DEV","STG"].includes(process.env.ENVIRONMENT||"");"undefined"!=typeof window&&dv&&function(){e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:if(!Ea())return console.info('MSW is disabled. Run "window.enableMSW()" to enable it.'),[2];console.info('MSW is enabled. Run "window.disableMSW()" to disable it.'),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,wa.start({serviceWorker:{url:"/mockServiceWorker.js"},onUnhandledRequest:"bypass"})];case 2:return e.sent(),[3,4];case 3:return t=e.sent(),console.error("Error starting MSW:",t),[3,4];case 4:return[2]}}))}))}(),exports.Api=Eh,exports.ApiProvider=function(t){var n=this,o=t.children,a=process.env.ENVIRONMENT,i=h.useMemo((function(){return"DEV"!==a&&"LOCAL"!==a?"testing":"live"}),[a]),r=h.useState(!1),s=r[0],c=r[1],u=h.useCallback((function(t){return e.__awaiter(n,void 0,void 0,(function(){var n,o,a,r,s;return e.__generator(this,(function(c){switch(c.label){case 0:return n=localStorage.getItem("headers"),o=n&&JSON.parse(n),a=localStorage.getItem("isTesting")&&"OFF"!==localStorage.getItem("isTesting")?"testing":"live",r=localStorage.getItem("x-organization-code"),s=r?JSON.parse(r).value:"",[4,Sh.refreshInstance({headers:e.__assign(e.__assign({},o),{"X-Environment":a||i,"x-organization-code":s,"x-account-code":t.detail.accountCode,"X-Content-Type-Options":"nosniff"})})];case 1:return c.sent(),[2]}}))}))}),[i]);h.useEffect((function(){return addEventListener("ACCOUNT_CHANGED",u),function(){window.removeEventListener("ACCOUNT_CHANGED",u)}}),[u]);var l=h.useCallback((function(t){return e.__awaiter(n,void 0,void 0,(function(){var n,o,a,r,s,u,l;return e.__generator(this,(function(p){switch(p.label){case 0:return n=localStorage.getItem("headers"),(o=n&&JSON.parse(n))?(a=localStorage.getItem("x-organization-code"),r=localStorage.getItem("account"),s=r?null===(l=JSON.parse(r).value)||void 0===l?void 0:l.code:"",u=a?JSON.parse(a).value:"",[4,Sh.refreshInstance({headers:e.__assign(e.__assign({},o),{"X-Environment":t||i,"x-organization-code":u,"x-account-code":s,"X-Content-Type-Options":"nosniff"})})]):[3,2];case 1:p.sent(),Bf.refetchQueries(["fetch-profile","accountsV2","accounts","fetch-all-organizations","fetch-permissions"]),c(!0),p.label=2;case 2:return[2]}}))}))}),[i,c]);return h.useEffect((function(){var e=localStorage.getItem("isTesting")&&"OFF"!==localStorage.getItem("isTesting")?"testing":"live";window.addEventListener("storage",(function(t){if("token"===t.key||"isTesting"===t.key){var n="OFF"===t.newValue?"live":"testing";"isTesting"===t.key?l(n):"token"===t.key&&l(e)}})),l(e)}),[c,l]),s?React.createElement(Of,{client:Bf},o,React.createElement(uv,{initialIsOpen:!1})):React.createElement("div",{style:pv})},exports.ApiSingleton=Sh,exports.getQueryKeyGetNameAndIcon=Gf,exports.getQueryKeyRequiredFields=Wf,exports.queryCache=Ff,exports.queryClient=Bf,exports.use3DSExemptions=function(){var t=this;return qf({queryKey:["smart-routing-3ds-excemptions"],queryFn:function(){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().get3DSExemptions()];case 1:return[2,e.sent().data]}}))}))},useErrorBoundary:!1})},exports.useAICreateWorkflow=function(t,n){return void 0===n&&(n={}),Nf((function(e){return Sh.getInstance().generateAIWorkflowRoutes(t,e).then((function(e){return null==e?void 0:e.data}))}),e.__assign(e.__assign({},n),{useErrorBoundary:!1}))},exports.useAllFeatureFlags=function(t){var n=this,o=qf({queryKey:["all-feature-flags",Object.values(t).filter(Boolean)],queryFn:function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getFeatureFlagIdAll({accountCode:t.account_code}).then((function(e){return null==e?void 0:e.data}))]}))}))},enabled:!!t.account_code&&!!t.organization_code&&!!t.email,cacheTime:9e5,useErrorBoundary:!1}),a=If();return h.useEffect((function(){a.setQueryData(["cached-feature-flags"],o)}),[o,a]),o},exports.useAllowListDetail=function(e,t,n){return qf(["allow-list-detail",e],(function(){return Sh.getInstance().getAllowlistDetail(e,t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{enabled:!!e&&!!n})},exports.useBlackListDetail=function(e,t,n,o,a,i){return qf(["black-list-detail",e,t,o,a,i],(function(){return Sh.getInstance().getBlacklistDetail(e,t,n,o,a).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e&&i,cacheTime:0})},exports.useCachedFeatureFlag=function(t){var n,o,a=If(),i=a.getQueryState(["cached-feature-flags"]),r=Boolean(!(null===(n=null==i?void 0:i.data)||void 0===n?void 0:n.status)||"loading"===(null===(o=null==i?void 0:i.data)||void 0===o?void 0:o.status)),s=qf({queryKey:["cached-feature-flags"],queryFn:function(){},enabled:!1,select:function(e){var n;return{result:null===(n=null==e?void 0:e.data)||void 0===n?void 0:n[t]}},initialData:function(){var e=a.getQueryData(["cached-feature-flags"]);return(null==e?void 0:e.data)||{}}});return e.__assign(e.__assign({},s),{isLoading:r})},exports.useCancelReport=function(){return Nf((function(e){return Sh.getInstance().cancelReport(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useChangePasswordV2=function(){var t=this;return Nf((function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().changePasswordV2(n).then((function(e){return null==e?void 0:e.data}))];case 1:return[2,e.sent()]}}))}))}))},exports.useChangePaymentsWebhook=function(){return Nf(["change-payments-webhook"],(function(e){var t=e.status,n=e.paymentCode;return Sh.getInstance().postChangePaymentsWebhook({status:t,paymentCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useChangeStatusBlackList=function(){return Nf(["change-blacklist"],(function(e){return Sh.getInstance().changeBlackListStatus(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useChangeStatusItemBlackList=function(){return Nf(["change-blacklist-item"],(function(e){return Sh.getInstance().changeBlackListStatusItem(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useChangeStylingSettings=function(){return Nf((function(e){var t=e.accountCode,n=e.environment,o=void 0===n?"live":n,a=e.payload;return Sh.getInstance().changeStylingSettings({accountCode:t,environment:o,payload:a}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}))},exports.useChangeTemplateStatus=function(){var t=this;return Nf(["POST/template-reporting/report-templates/status"],(function(n){var o=n.templateId,a=n.payload;return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().changeTemplateStatus(o,a).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/templates"]})},useErrorBoundary:!1})},exports.useChargebacksUpload=function(){return Nf((function(e){var t=e.payload,n=e.paymentId,o=e.transactionId,a=e.handleSetProgress;return Sh.getInstance().uploadChargebacks(t,n,o,a)}))},exports.useChartAssistantSocket=function(){var e=h.useRef(null),t=h.useRef(null),n=h.useRef(null),o=h.useState(!1),a=o[0],i=o[1],r=h.useState(null),s=r[0],c=r[1],u=h.useState(null),l=u[0],p=u[1],d=h.useCallback((function(){t.current&&(clearInterval(t.current),t.current=null),n.current&&(clearTimeout(n.current),n.current=null)}),[]),m=h.useCallback((function(){var o;if((null===(o=e.current)||void 0===o?void 0:o.readyState)!==WebSocket.OPEN){t.current&&(clearInterval(t.current),t.current=null),n.current&&(clearTimeout(n.current),n.current=null),p(null);try{var a=new WebSocket("".concat(Ch["WS_URL_".concat(Ch.ENVIRONMENT)],"/data-assistant/charts/ws"));e.current=a,a.onopen=function(){i(!0);var e=localStorage.getItem("token");e&&a.send(JSON.stringify({type:"auth",token:e})),t.current=setInterval((function(){a.readyState===WebSocket.OPEN?a.send(JSON.stringify({type:"ping"})):(d(),i(!1))}),3e4)},a.onmessage=function(e){try{var t=JSON.parse(e.data);c(t)}catch(e){p("Failed to parse server response")}},a.onerror=function(e){p("Connection error occurred"),i(!1)},a.onclose=function(e){i(!1),d(),e.wasClean||1e3===e.code||(n.current=setTimeout((function(){m()}),5e3))}}catch(e){p("Failed to establish connection")}}}),[]),f=h.useCallback((function(t){var n;(null===(n=e.current)||void 0===n?void 0:n.readyState)===WebSocket.OPEN&&e.current.send(JSON.stringify({type:"subscribe",chart_id:t}))}),[]),g=h.useCallback((function(t){var n;(null===(n=e.current)||void 0===n?void 0:n.readyState)===WebSocket.OPEN&&e.current.send(JSON.stringify({type:"unsubscribe",chart_id:t}))}),[]),y=h.useCallback((function(){c(null)}),[]),v=h.useCallback((function(){t.current&&(clearInterval(t.current),t.current=null),n.current&&(clearTimeout(n.current),n.current=null),e.current&&(i(!1),e.current.close(1e3,"Manual disconnect"),e.current=null)}),[]);return h.useEffect((function(){return m(),function(){d(),v()}}),[]),{subscribe:f,unsubscribe:g,disconnect:v,connect:m,clearChartData:y,isConnected:a,chartData:s,connectionError:l}},exports.useChartExecute=function(e){return qf(["chartgpt-chart-execute",e],(function(){return Sh.getInstance().executeChartGPTChart(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e})},exports.useCloneTemplate=function(){var t=this;return Nf(["POST/template-reporting/report-templates/clone"],(function(n){var o=n.templateId,a=n.payload;return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().cloneReportTemplate(o,a).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/templates"]})},useErrorBoundary:!1})},exports.useCommunicationDetails=function(e,t){return qf(["fetch-communication-details",e],(function(){return Sh.getInstance().getCommunicationDetails(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e,useErrorBoundary:!1,cacheTime:0})},exports.useCommunications=function(e){var t;return qf(["fetch-communications",e],(function(){return Sh.getInstance().getCommunications(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null===(t=e.account_codes)||void 0===t?void 0:t.length),useErrorBoundary:!1,cacheTime:3e3})},exports.useCommunicationsByDay=function(t,n){return qf(e.__assign({queryKey:["smart-recovery-communications-by-day",t],queryFn:function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return n=Sh.getInstance(),o={start_date:t.start_date||"",end_date:t.end_date||"",organization_code:t.organization_code,account_codes:t.account_code||[],countries:t.countries||[],channels:t.channels||[],focuses:t.focuses||[],timezone:t.timezone},[4,n.post("/nova-insights/communications-by-day",o)];case 1:return a=e.sent(),[2,(i=a.data,r=o.start_date,s=o.end_date,c=i.plots||[],u=c.find((function(e){return"TOTAL_COMMUNICATIONS_LABEL"===e.label})),l=c.find((function(e){return"COMPLETED_COMMUNICATIONS_LABEL"===e.label})),p=c.find((function(e){return"CONVERSION_RATE_LABEL"===e.label})),d=Kf(null==u?void 0:u.rows,r,s),m=Kf(null==l?void 0:l.rows,r,s),h=Kf(null==p?void 0:p.rows,r,s),{communications:{distribution:d.map((function(e){return{key:e.date||"",total:parseFloat(e.value),current_label:Hf(e.date||""),current_amount:parseFloat(e.value)}})),total:parseFloat((null==u?void 0:u.value)||"0")},conversion_rate:{distribution:h.map((function(e){return{key:e.date||"",total:parseFloat(e.value),percentage:parseFloat(e.value)}})),total:parseFloat((null==p?void 0:p.value)||"0")},completed_communications:{distribution:m.map((function(e){return{key:e.date||"",total:parseFloat(e.value),current_label:Hf(e.date||""),current_amount:parseFloat(e.value)}})),total:parseFloat((null==l?void 0:l.value)||"0")}})]}var i,r,s,c,u,l,p,d,m,h}))}))},enabled:!!t.organization_code,staleTime:3e5},n))},exports.useCommunicationsBySubstatus=function(t,n){return qf(e.__assign({queryKey:["smart-recovery-communications-by-substatus",t],queryFn:function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return n=Sh.getInstance(),o={start_date:t.start_date||"",end_date:t.end_date||"",organization_code:t.organization_code,account_codes:t.account_code||[],countries:t.countries||[],channels:t.channels||[],focuses:t.focuses||[],timezone:t.timezone},[4,n.post("/nova-insights/communications-by-substatus",o)];case 1:return a=e.sent(),[2,$f(a.data)]}}))}))},enabled:!!t.organization_code,staleTime:3e5},n))},exports.useCommunicationsFilters=function(){return qf(["fetch-communications-filters"],(function(){return Sh.getInstance().getCommunicationsFilters().then((function(e){return null==e?void 0:e.data}))}),{keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3})},exports.useCommunicationsSubstatusByDay=function(t,n){return qf(e.__assign({queryKey:["smart-recovery-communications-substatus-by-day",t],queryFn:function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return n=Sh.getInstance(),o={start_date:t.start_date||"",end_date:t.end_date||"",organization_code:t.organization_code,account_codes:t.account_code||[],countries:t.countries||[],channels:t.channels||[],focuses:t.focuses||[],timezone:t.timezone},[4,n.post("/nova-insights/communications-substatus-by-day",o)];case 1:return a=e.sent(),[2,Qf(a.data,o.start_date,o.end_date)]}}))}))},enabled:!!t.organization_code,staleTime:3e5},n))},exports.useConfirmedOtpMfa=function(){return Nf((function(e){return Sh.getInstance().confirmMfaOtp(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useCountRowsForReport=function(){return Nf((function(e){return Sh.getInstance().getTotalRowsForExport(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})},exports.useCreateAndExecuteChart=function(){var t=this;return Nf((function(n){return e.__awaiter(t,void 0,void 0,(function(){var t,o,a,i,r;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().createChartGPTChart(n)];case 1:if(t=e.sent(),!(o=null!==(i=null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.chartgpt_id)&&void 0!==i?i:null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.chart_id))throw new Error("Failed to create chart: No chart ID returned");return[2,{chart_id:o}]}}))}))}),{useErrorBoundary:!1})},exports.useCreateAndExecuteChartWithTimezone=function(){var t=this;return Nf((function(n){return e.__awaiter(t,void 0,void 0,(function(){var t,o,a,i,r;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().createChartGPTChart(n)];case 1:if(t=e.sent(),!(o=null!==(i=null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.chartgpt_id)&&void 0!==i?i:null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.chart_id))throw new Error("Failed to create chart: No chart ID returned");return[2,{chart_id:o}]}}))}))}),{useErrorBoundary:!1})},exports.useCreateChart=function(){return Nf((function(e){return Sh.getInstance().createChartGPTChart(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useCreateChartWithTimezone=function(){return Nf((function(e){return Sh.getInstance().createChartGPTChart(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useCreateMonitorTemplate=function(e){return Nf((function(t){return Sh.getInstance().createMonitorTemplate(t,e).then((function(e){return e.data}))}))},exports.useCreateMonitorThreshold=function(e){return Nf((function(t){return Sh.getInstance().createMonitorThreshold(t,e).then((function(e){return e.data}))}))},exports.useCreateOperationTransaction=function(){return Nf((function(e){var t=e.payload,n=e.transactionId,o=e.paymentId,a=e.action;return Sh.getInstance().createOperationTransaction(t,n,o,a)}))},exports.useCreatePaymentLinks=function(){return Nf(["post-payment-links"],(function(e){var t=e.payload,n=e.accountCode;return Sh.getInstance().postPaymentLinks({payload:t,accountCode:n}).then((function(e){return null==e?void 0:e.data}))}))},exports.useCreateReconciliationAlert=function(){return Nf(["POST/reconciliation/alerts"],(function(e){return Sh.getInstance().postReconciliationAlert(e).then((function(e){return e.data})).catch((function(e){throw e}))}),{onSuccess:function(){Bf.invalidateQueries(["GET/reconciliation/alerts/list"])},useErrorBoundary:!1})},exports.useCreateReconciliationReportTemplate=function(t){var n=this;return Nf((function(){return Sh.getInstance().createReconciliationReportTemplate(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}),{onMutate:function(t){return e.__awaiter(n,void 0,void 0,(function(){var n,o;return e.__generator(this,(function(a){switch(a.label){case 0:return[4,Bf.cancelQueries({queryKey:["GET/reconciliation/reports/templates"]})];case 1:return a.sent(),n=null===(o=Bf.getQueryData(["GET/reconciliation/reports/templates"]))||void 0===o?void 0:o.templates,Bf.setQueryData(["GET/reconciliation/reports/templates"],(function(n){return{templates:e.__spreadArray(e.__spreadArray([],n.templates,!0),[t],!1)}})),[2,{previousTemplates:n}]}}))}))},onError:function(e,t,n){Bf.setQueryData(["GET/reconciliation/reports/templates"],null==n?void 0:n.previousTemplates)},onSettled:function(){Bf.invalidateQueries({queryKey:["GET/reconciliation/reports/templates"]})},useErrorBoundary:!1})},exports.useCreateReconciliationsReportV2=function(){return Nf((function(e){return Sh.getInstance().createReconciliationsReportV2(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useCreateReportTemplate=function(t){var n=this;return Nf((function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().createReportTemplate(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onMutate:function(t){return e.__awaiter(n,void 0,void 0,(function(){var n;return e.__generator(this,(function(o){switch(o.label){case 0:return[4,Bf.cancelQueries({queryKey:["GET/reports/templates"]})];case 1:return o.sent(),n=Bf.getQueryData(["GET/reports/templates"]),Bf.setQueryData(["GET/reports/templates"],(function(n){return e.__spreadArray(e.__spreadArray([],n,!0),[t],!1)})),[2,{previousTemplates:n}]}}))}))},onError:function(e,t,n){Bf.setQueryData(["GET/reports/templates"],null==n?void 0:n.previousTemplates)},onSettled:function(){Bf.invalidateQueries({queryKey:["GET/reports/templates"]})}})},exports.useCreateReportV2=function(){return Nf((function(e){return Sh.getInstance().createReportV2(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useCreateRoles=function(){return Nf((function(e){var t=e.payload,n=e.accountCode;return Sh.getInstance().createRoles(t,n).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useCreateSamlConfig=function(){return Nf((function(e){return Sh.getInstance().createSamlConfig(e)}))},exports.useCreateSchedule=function(){var t=this;return Nf(["POST/template-reporting/report-schedules"],(function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().createReportSchedule(n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/schedules"]})},useErrorBoundary:!1})},exports.useCreateScheduledReport=function(){return Nf((function(e){var t=e.payload;return Sh.getInstance().postScheduledReport(t).then((function(e){return{data:e.data,status:e.status}})).catch((function(e){return e}))}))},exports.useCreateTemplate=function(){var t=this;return Nf(["POST/template-reporting/report-templates"],(function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().createTemplateReporting(n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/templates"]})},useErrorBoundary:!1})},exports.useCreateUserAuth0=function(){return Nf((function(e){return Sh.getInstance().createUserAuth0(e)}))},exports.useCreateWorkflow=function(t,n,o){var a=this;return void 0===o&&(o=null),Nf((function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().postSmartRoutingCreateWorkflow(t,n).then((function(e){return null==e?void 0:e.data}))];case 1:return[2,e.sent()]}}))}))}),o)},exports.useDeactivateSchedule=function(){var t=this;return Nf(["POST/template-reporting/report-schedules/deactivate"],(function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().deactivateReportSchedule(n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/schedules"]})},useErrorBoundary:!1})},exports.useDeleteAccountsUserMassive=function(){return Nf((function(e){var t=e.organizationCode,n=e.userCode,o=e.payload;return Sh.getInstance().deleteAccountsUserMassive(t,n,o)}))},exports.useDeleteAllowlistItem=function(){return Nf(["delete-allowlist-item"],(function(e){return Sh.getInstance().deleteAllowlistItem({payload:e}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.useDeleteBlackListType=function(){return Nf(["delete-blacklist"],(function(e){var t=e.black_list_code;return Sh.getInstance().deleteBlackListType({black_list_code:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useDeleteBlockListItem=function(){return Nf(["delete-blacklist-items"],(function(e){var t=e.blocklist_code,n=e.blocklist_item_id,o=e.account_code;return Sh.getInstance().deleteBlockListItem({blocklist_code:t,blocklist_item_id:n,account_code:o}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useDeleteChart=function(){return Nf((function(e){return Sh.getInstance().deleteChartGPTChart(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useDeleteCustomizedApiKeys=function(){return Nf((function(e){var t=e.code;return Sh.getInstance().deleteCustomizedApiKeys(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.useDeletePaymentLink=function(){return Nf(["post-delete-payment-link"],(function(e){var t=e.code;return Sh.getInstance().postDeletePaymentLink({code:t}).then((function(e){return null==e?void 0:e.data}))}))},exports.useDeleteReconciliationAlert=function(){return Nf(["DELETE/reconciliation/alerts"],(function(e){return Sh.getInstance().deleteReconciliationAlert(e).then((function(e){return e.data})).catch((function(e){throw e}))}),{onSuccess:function(){Bf.invalidateQueries(["GET/reconciliation/alerts/list"])},useErrorBoundary:!1})},exports.useDeleteRoles=function(){return Nf((function(e){return Sh.getInstance().deleteRoles(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useDeleteSamlConfig=function(){return Nf((function(){return Sh.getInstance().deleteSamlConfig()}))},exports.useDeleteSchedule=function(){var t=this;return Nf(["DELETE/template-reporting/report-schedules"],(function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().deleteReportSchedule(n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/schedules"]})},useErrorBoundary:!1})},exports.useDeleteScheduledReport=function(){return Nf((function(e){return Sh.getInstance().deleteScheduledReport(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useDeleteTemplate=function(){var t=this;return Nf(["DELETE/template-reporting/report-templates"],(function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().deleteReportTemplate(n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/templates"]})},useErrorBoundary:!1})},exports.useDeleteUserTeamV2=function(){return Nf((function(e){var t=e.userCode,n=e.organizationCode;return Sh.getInstance().deleteUserTeamV2({userCode:t,organizationCode:n}).then((function(e){return null==e?void 0:e.data}))}))},exports.useDeleteVersion=function(e,t){var n=e.versionCode,o=e.accountCode;return void 0===t&&(t=null),Nf((function(){return Sh.getInstance().deleteSmartRoutingVersion(o,n).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useDeleteWebhookV2=function(e){return Nf((function(e){var t=e.code,n=e.accountCode;return Sh.getInstance().deleteWebhookV2(t,n)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})},exports.useDuplicateVersion=function(e,t){var n=e.versionCode,o=e.accountCode;return void 0===t&&(t=null),Nf((function(){return Sh.getInstance().postSmartRoutingDuplicateVersion(o,n).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useEditPaymentLinks=function(){return Nf(["patch-payment-links"],(function(e){var t=e.payload,n=e.accountCode,o=e.paymentLinkCode;return Sh.getInstance().patchPaymentLinks({payload:t,accountCode:n,paymentLinkCode:o}).then((function(e){return null==e?void 0:e.data}))}))},exports.useEditRoles=function(){var t=this;return Nf((function(n){var o=n.payload,a=n.id,i=n.accountCode;return e.__awaiter(t,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().editRoles({payload:o,id:a},i)];case 1:return[2,null==(t=e.sent())?void 0:t.data]}}))}))}),{useErrorBoundary:!1})},exports.useEmailVerification=function(e){return qf(["email-verification",e],(function(){return Sh.getInstance().emailVerification(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e})},exports.useExcludeUsers=function(){return Nf((function(e){var t=e.payload,n=e.organizationCode;return Sh.getInstance().mfaExcludeUsers(t,n)}))},exports.useExportApiLogs=function(){return Nf((function(e){return Sh.getInstance().postExportApiLogs(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useFeatureFlags=function(t){var n=this,o=Object.values(t).filter(Boolean);return qf(["feature-flags",o],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getFeatureFlagId(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:o.length>1,useErrorBoundary:!1})},exports.useFirebaseUserSubscribe=function(e){return Nf((function(e){var t=e.payload;return Sh.getInstance().firebaseUserSubscribe(t)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})},exports.useGenerateFeedback=function(t){return void 0===t&&(t={}),Nf((function(e){return Sh.getInstance().postAIGenerationFeedback(e).then((function(e){return null==e?void 0:e.data}))}),e.__assign(e.__assign({},t),{useErrorBoundary:!1}))},exports.useGetAccounts=function(e){var t,n=Uf(),o=null!==(t=null!=e?e:n)&&void 0!==t?t:null;return qf({queryKey:["accounts",o],queryFn:function(){return Sh.getInstance().getAccounts(o).then((function(e){return null==e?void 0:e.data}))},keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3,enabled:!!o})},exports.useGetAccountsByUser=function(e){return qf(["accountsV2-by-user",e],(function(){return e?Sh.getInstance().getAccountsByUser(e).then((function(e){return{accountsV2ByUser:(null==e?void 0:e.data)||null}})).catch((function(e){return{accountsV2ByUser:[],error:e}})):{accountsV2ByUser:[]}}),{enabled:!!e,staleTime:0})},exports.useGetAccountsForImpersonation=function(t,n){var o=this;return qf({queryKey:["accounts-for-impersonation",t,n],queryFn:function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getAccountsForImpersonation(t).then((function(e){var t,o;return(null===(o=null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.response)||void 0===o?void 0:o.map((function(e){return{label:e.name,value:n?e.code_testing:e.code_live,code_live:e.code_live,code_testing:e.code_testing}})))||[]}))]}))}))},keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3,enabled:!!t})},exports.useGetAccountsV2=function(e){return qf(["accountsV2",e],(function(){return Sh.getInstance().getAccountsV2().then((function(e){return(null==e?void 0:e.data)||[]})).catch((function(e){throw e}))}),{keepPreviousData:!0,enabled:!!e,useErrorBoundary:!1})},exports.useGetAllConfigRules=function(){return qf(["config-rules"],(function(){return Sh.getInstance().getAllConfigRules().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0})},exports.useGetAllOrganizations=function(){return qf(["fetch-all-organizations",Uf()],(function(){return Sh.getInstance().getAllOrganization().then((function(e){return(null==e?void 0:e.data)||[]}))}),{cacheTime:36e5,keepPreviousData:!0,useErrorBoundary:!1})},exports.useGetAllReconciliationsAdvancements=function(e){var t=e.body,n=e.params,o=e.enabled;return qf(["GET/reconciliation/advancements/list",t,n],(function(){return Sh.getInstance().getReconciliationAdvancements(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})},exports.useGetAllReconciliationsAgenda=function(e){var t=e.body,n=e.params,o=e.enabled;return qf(["GET/reconciliation/agenda/list",t,n],(function(){return Sh.getInstance().getReconciliationAgenda(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})},exports.useGetAllReconciliationsAlerts=function(e){var t=e.body,n=e.params,o=e.enabled;return qf(["GET/reconciliation/alerts/list",t,n],(function(){return Sh.getInstance().getReconciliationAlerts(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})},exports.useGetAllReconciliationsFees=function(e){var t=e.body,n=e.params,o=e.enabled;return qf(["GET/reconciliation/fees/list",t,n],(function(){return Sh.getInstance().getReconciliationFees(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})},exports.useGetAllReconciliationsSales=function(e){var t=e.body,n=e.params,o=e.enabled;return qf(["GET/reconciliation/sales/list",t,n],(function(){return Sh.getInstance().getReconciliationSales(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})},exports.useGetAllTableColumns=function(e){return qf(["GET/v1/reconciliation/table/".concat(e,"/columns")],(function(){return Sh.getInstance().getAllTableColumns(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.useGetAllowedIps=function(){return qf(["developers-get-allowed-ips"],(function(){return Sh.getInstance().getAllowedIps().then((function(t){return(null==t?void 0:t.data)?e.__assign(e.__assign({},null==t?void 0:t.data),{isError:!1}):null})).catch((function(t){return e.__assign(e.__assign({},t),{isError:!0})}))}),{enabled:!1,cacheTime:0})},exports.useGetApiLogsDetailByPaymentCode=function(e){return qf(["api-logs-detail",e],(function(){return Sh.getInstance().getApiLogsDetailByPaymentCode(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e,cacheTime:0,useErrorBoundary:!1})},exports.useGetAuditEvents=function(e){return qf(["events",e],(function(){return Sh.getInstance().getAuditEvents(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e.account_code&&!!e.organizationCode,cacheTime:0,keepPreviousData:!0,useErrorBoundary:!1})},exports.useGetAuditLogsFilters=function(){return qf(["/cms/audit-logs-filters"],(function(){return Sh.getInstance().useGetAuditLogsFilters().then((function(e){return lh(e)?fh:null==e?void 0:e.data})).catch((function(){return fh}))}))},exports.useGetAuditMonitorEventDetail=function(e){return qf(["audit-monitor-event-detail",e],(function(){return Sh.getInstance().getAuditMonitorDetail(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:null!==e,cacheTime:0,useErrorBoundary:!1})},exports.useGetBatchRefundProcessedFileDownload=function(){var t=this;return Nf((function(n){var o=n.batchRefundId,a=n.organizationCode,i=n.accountCode;return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getBatchRefundProcessedFileDownload(o,a,i).then((function(e){return null==e?void 0:e.data}))]}))}))}),{useErrorBoundary:!1})},exports.useGetBatchRefundUserFileDownload=function(){var t=this;return Nf((function(n){var o=n.batchRefundId,a=n.organizationCode,i=n.accountCode;return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getBatchRefundUserFileDownload(o,a,i).then((function(e){return null==e?void 0:e.data}))]}))}))}),{useErrorBoundary:!1})},exports.useGetBatchRefunds=function(t,n){var o=this;return void 0===t&&(t=26),void 0===n&&(n=0),qf(["batch-refunds",t,n],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getBatchRefunds(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))]}))}))}),{cacheTime:0})},exports.useGetBlackList=function(e){return qf(["get-black-list",e],(function(){return Sh.getInstance().getBlackListType(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!e})},exports.useGetBlockListSummary=function(e,t,n){return qf(["get-block-list-summary",e,t,n],(function(){var o=Sh.getInstance();return n?o.getBlackListSummary(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e})):Promise.resolve({})}),{enabled:!!e&&!!n})},exports.useGetCardBrands=function(){return qf(["GET/catalog/card-brands"],(function(){return Sh.getInstance().getCardBrands().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useGetChartsByUser=function(){return qf(["chartgpt-user-charts"],(function(){return Sh.getInstance().getChartsByUser().then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0})},exports.useGetChartsByUserWithResults=function(){var t=this;return qf(["chartgpt-user-charts-with-results"],(function(){return e.__awaiter(t,void 0,void 0,(function(){var t,n,o,a=this;return e.__generator(this,(function(i){switch(i.label){case 0:return[4,(t=Sh.getInstance()).getChartsByUser()];case 1:return n=i.sent(),o=(null==n?void 0:n.data)||[],[4,Promise.all(o.map((function(n){return e.__awaiter(a,void 0,void 0,(function(){var o,a,i,r,s,c,u,l;return e.__generator(this,(function(p){switch(p.label){case 0:return p.trys.push([0,2,,3]),[4,t.executeChartGPTChart(n.code)];case 1:return o=p.sent(),[2,e.__assign(e.__assign({},n),{user_prompt:null!==(r=null===(i=null==o?void 0:o.data)||void 0===i?void 0:i.user_prompt)&&void 0!==r?r:n.user_prompt,unit_to_display:null!==(c=null===(s=null==o?void 0:o.data)||void 0===s?void 0:s.unit_to_display)&&void 0!==c?c:n.unit_to_display,results:null!==(l=null===(u=null==o?void 0:o.data)||void 0===u?void 0:u.results)&&void 0!==l?l:[]})];case 2:return a=p.sent(),console.error("Failed to execute chart ".concat(n.chart_id,":"),a),[2,e.__assign(e.__assign({},n),{results:[]})];case 3:return[2]}}))}))})))];case 2:return[2,i.sent()]}}))}))}))},exports.useGetCheckoutTemplate=function(e){var t=e.accountCode;return qf(["checkouts-template"],(function(){return Sh.getInstance().getCheckoutTemplate({accountCode:t}).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0,enabled:Boolean(t)})},exports.useGetCheckouts=function(e){var t=e.accountCode;return qf(["checkouts",t],(function(){return Sh.getInstance().getCheckouts({accountCode:t}).then((function(e){return e.data}))}),{cacheTime:0,enabled:Boolean(t)})},exports.useGetConditionalConfigRules=function(){return Nf((function(e){return Sh.getInstance().getConditionalConfigRules(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useGetConfigAllowlist=function(e,t){return qf(["get-cofig-allow-list",e],(function(){return Sh.getInstance().getConfigAllowlist(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!e&&!!t})},exports.useGetConnections=function(){return qf(["connections"],(function(){return Sh.getInstance().getConnections().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})},exports.useGetConnectionsByPaymentMethod=function(e){var t=e.accountCode,n=e.paymentMethod;return qf(["fetch-connections-by-payment-method",n,t],(function(){return Sh.getInstance().getConnectionsByPaymentMethod(t,n).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!n&&!!t,cacheTime:0,useErrorBoundary:!1})},exports.useGetCountriesConfigPaymentLink=function(e){return void 0===e&&(e=!0),qf(["countries",e],(function(){return Sh.getInstance().useGetCountriesConfig().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:e,keepPreviousData:!0})},exports.useGetCountriesConfigPaymentLinkV2=function(e){var t=localStorage.getItem("lang")||"en",n=e||t;return qf(["countries-v2",n],(function(){return Sh.getInstance().useGetCountriesConfigV2(n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!0,keepPreviousData:!0})},exports.useGetCredentials=function(t){var n=t.password,o=t.accountCode;return qf(["developers"],(function(){return Sh.getInstance().getDeveloperCredentials(n,o).then((function(t){return e.__assign(e.__assign({},null==t?void 0:t.data),{isValid:!0})})).catch((function(e){var t,n;return{isValid:!1,status:e.response.status,error:null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.data}}))}),{enabled:!1,cacheTime:0})},exports.useGetCredentialsMFA=function(){return Nf((function(t){var n=t.password,o=t.accountCode;return Sh.getInstance().getDeveloperCredentials(n,o).then((function(t){return e.__assign(e.__assign({},null==t?void 0:t.data),{isValid:!0})})).catch((function(e){var t,n;return{isValid:!1,status:e.response.status,error:null===(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.data)||void 0===n?void 0:n.data}}))}))},exports.useGetCustomizedApiKeys=function(e){return qf(["fetch-customized-api-keys",e],(function(){return Sh.getInstance().postCustomizedApiKeys(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!(null==e?void 0:e.length)})},exports.useGetCustomizedApiKeysAccounts=function(){return qf(["fetch-customized-api-keys-accounts"],(function(){return Sh.getInstance().getCustomizedApiKeysAccounts().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{keepPreviousData:!0})},exports.useGetCustomizedApiKeysMembers=function(){return qf(["fetch-customized-api-keys-members"],(function(){return Sh.getInstance().getCustomizedApiKeysMembers().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{keepPreviousData:!0})},exports.useGetCustomizedApiKeysProducts=function(){return qf(["fetch-customized-api-keys-products"],(function(){return Sh.getInstance().getCustomizedApiKeysProducts().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{cacheTime:0})},exports.useGetCustomizedApiKeysToken=function(){return Nf((function(e){var t=e.code,n=e.password;return Sh.getInstance().getCustomizedApiKeysToken(t,n).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}))},exports.useGetDashboardStaticContents=function(){return qf(["/cms/static-contents"],(function(){return Sh.getInstance().getDashboardStaticContents().then((function(e){var t,n;return lh(e)?gh:(null===(n=null===(t=null==e?void 0:e.data)||void 0===t?void 0:t[0])||void 0===n?void 0:n.data)||{}}))}),{cacheTime:6048e5,useErrorBoundary:!1})},exports.useGetDialogs=function(){return qf(["dialogs"],(function(){return Sh.getInstance().getDialogs().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1,retryDelay:2e3,cacheTime:36e5})},exports.useGetDownloadReport=function(e,t,n){return void 0===t&&(t=!1),qf(["reports/".concat(e)],(function(){return Sh.getInstance().downloadReports(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:t,onSuccess:n,useErrorBoundary:!1})},exports.useGetEmailOtp=function(){return Nf((function(){return Sh.getInstance().getEmailOtp().then((function(e){return null==e?void 0:e.data}))}))},exports.useGetHashPylon=function(){var t=this;return qf(["fetch-hash-pylon"],(function(){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getHashPylon()]}))}))}),{keepPreviousData:!0,useErrorBoundary:!1})},exports.useGetImpersonationEnabled=function(){return qf(["fetch-impersonation-enabled"],(function(){return Sh.getInstance().getImpersonationEnabled().then((function(e){return null==e?void 0:e.data}))}),{keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3})},exports.useGetImpersonationUsers=function(){return qf(["fetch-impersonation-users"],(function(){return Sh.getInstance().getImpersonationUsers().then((function(e){var t;return(null===(t=null==e?void 0:e.data)||void 0===t?void 0:t.result)||[]}))}),{keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3})},exports.useGetInsightsReport=function(e){return qf(["get-insights-reports",e],(function(){return Sh.getInstance().getInsightsReport(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!(null==e?void 0:e.type),cacheTime:0,useErrorBoundary:!1})},exports.useGetInsightsReportAgain=function(e){return qf(["get-insights-reports-again",e],(function(){return Sh.getInstance().getInsightsReportAgain(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!(null==e?void 0:e.code),cacheTime:0,useErrorBoundary:!1})},exports.useGetIntegrationByAccountV2=function(e){var t=e.accountCode,n=e.organizationCode,o=Uf(),a=qf(["organizations-account-integrations",t,n],(function(){return Sh.getInstance().getIntegrationByAccountV2({accountCode:t,organizationCode:n||o}).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0,enabled:!!t,useErrorBoundary:!1});return a},exports.useGetIntegrationParams=function(e){var t=e.integration_code,n=e.enabled,o=e.accountCode;return qf(["integration-params",t,o],(function(){return t.includes("undefined")?{}:Sh.getInstance().getIntegrationParams({accountCode:o,integration_code:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,useErrorBoundary:!1})},exports.useGetLanguages=function(){return qf(["languages"],(function(){return Sh.getInstance().getLanguages().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1,cacheTime:300})},exports.useGetLocales=function(){return qf(["/cms/locales"],(function(){return Sh.getInstance().getLocales().then((function(e){return lh(e)?vh:e.data})).catch((function(){return vh}))}))},exports.useGetLoginMethods=function(){return qf({queryKey:["get-login-methods"],queryFn:function(){return Sh.getInstance().getLoginMethods().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}})},exports.useGetMFAConfig=function(e,t){var n=e.organizationCode;return qf(["mfa-config",n],(function(){return Sh.getInstance().getMFAConfig({organizationCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:t})},exports.useGetMFAExcludedUsers=function(e,t){var n=e.organizationCode;return qf(["mfa-excluded-users",n],(function(){return Sh.getInstance().getMFAExcludedUsers({organizationCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:t})},exports.useGetMFAStatus=function(e,t){return qf(["mfa-enforcement-status",e.accountCode],(function(){return Sh.getInstance().getMFAEnforcementStatus().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:t})},exports.useGetMenu=function(){return qf(["menu"],(function(){return Sh.getInstance().getMenu().then((function(e){return lh(e)?yh:null==e?void 0:e.data})).catch((function(){return yh}))}))},exports.useGetMergedNotifications=function(){return qf(["notifications-merged"],(function(){return Sh.getInstance().getMergedNotifications().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{keepPreviousData:!1,cacheTime:0})},exports.useGetNameAndIcon=function(e,t){var n=e.paymentMethodType,o=e.type;return qf(Gf({paymentMethodType:n,type:o}),(function(){return Sh.getInstance().getNameAndIcon({paymentMethodType:n,type:o}).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useGetNetworkTokensOnboardingByOrganization=function(t){var n=this;return qf({queryKey:["network-tokens-onboarding",t],queryFn:function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getNetworkTokensOnboardingByOrganization(t)];case 1:return[2,e.sent().data]}}))}))},enabled:!!t,useErrorBoundary:!1})},exports.useGetNotificationsCustomer=function(e){return qf(["notifications-customer",e],(function(){return Sh.getInstance().getNotificationsCustomer(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,keepPreviousData:!1})},exports.useGetNotificationsNumberMutation=function(){return Nf((function(e){return Sh.getInstance().getNotificationsNumber(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useGetOrganization=function(){return qf(["fetch-organizations"],(function(){return Sh.getInstance().getOrganization().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{keepPreviousData:!0})},exports.useGetPaymentFilters=function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=exports.PaymentFiltersSection.PAYMENTS),qf(["payment-filters",e,t],(function(){return Sh.getInstance().getPaymentFilters(t).then((function(e){return null==e?void 0:e.data}))}),{enabled:e,useErrorBoundary:!1,cacheTime:3e5})},exports.useGetPaymentLinkByCode=function(e){return qf(["payment-link"],(function(){return Sh.getInstance().getPaymentLinksByCode(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e})},exports.useGetPaymentLinks=function(e,t){return qf(["fetch-payment-links",e,t],(function(){return Sh.getInstance().getPaymentLinks(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t,cacheTime:0})},exports.useGetPaymentMethodsAndProviders=function(){return qf({queryKey:["/payment-methods/providers"],queryFn:function(){return Sh.getInstance().getPaymentMethodsAndProviders().then((function(e){return null==e?void 0:e.data}))},cacheTime:864e5,useErrorBoundary:!1})},exports.useGetPaymentMetricsFilters=function(){return qf(["payment-metrics-filters"],(function(){return Sh.getInstance().getPaymentMetricsFilters().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useGetPaymentStatusesStyles=function(){return qf(["/payment/statuses/style"],(function(){return Sh.getInstance().useGetPaymentStatusesStyles().then((function(e){return lh(e)?ph:null==e?void 0:e.data})).catch((function(){return ph}))}))},exports.useGetPaymentTransactionsDetails=function(e){var t=e.transaction_code,n=e.enabled;return qf(["payment-transaction-details",t],(function(){return Sh.getInstance().getPaymentTransactionsDetails({transaction_code:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t&&(void 0===n||n),useErrorBoundary:!1})},exports.useGetPaymentV2=function(t){var n=this,o=t.paymentCode,a=t.enabled,i=void 0===a||a,r=Sh.getInstance();return qf(["get-payment-v2",o],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,r.getPaymentV2(o).then((function(e){return e.data}))]}))}))}),{enabled:i,cacheTime:500,useErrorBoundary:!1})},exports.useGetPaymentsMethodsByCountry=function(e){var t=Uf();return qf(["payment-methods",e],(function(){return Sh.getInstance().getPaymentMethodsByCountry({provider_id:null==e?void 0:e.provider_id,country:null==e?void 0:e.country},t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e&&!!(null==e?void 0:e.provider_id),useErrorBoundary:!1})},exports.useGetPayoutDetail=function(e){return qf(["GET/payout-detail",JSON.stringify(e)],(function(){var t=Sh.getInstance();return e.organization_code?t.getPayoutDetails(e).then((function(e){return null==e?void 0:e.data})):{}}),{enabled:!!e.organization_code&&!!e&&e.enabled,cacheTime:0,useErrorBoundary:!1})},exports.useGetPayoutHistoryDetail=function(e){var t=Uf();return qf(["GET/payout-history-detail",JSON.stringify(e)],(function(){return Sh.getInstance().getPayoutHistoryDetails(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.payout_code)&&e.enabled,cacheTime:0,useErrorBoundary:!1})},exports.useGetPayoutTransactionDetail=function(e){return qf(["GET/payout-transaction-detail",JSON.stringify(e)],(function(){return Sh.getInstance().getPayoutTransactionDetails(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e&&!!(null==e?void 0:e.transaction_code)&&(null==e?void 0:e.enabled),cacheTime:0,useErrorBoundary:!1})},exports.useGetPermissions=function(e,t){return qf(["fetch-permissions",e,t],(function(){var e,t,n,o=localStorage.getItem("account"),a=localStorage.getItem("user"),i=o&&JSON.parse(o),r=a&&JSON.parse(a);return((null==r?void 0:r.merlin)?null===(e=null==r?void 0:r.merlin)||void 0===e?void 0:e.permissions:null===(n=null===(t=null==i?void 0:i.value)||void 0===t?void 0:t.role)||void 0===n?void 0:n.permission_ids.map((function(e){return{permission_name:e,description:e,resource_server_name:e,resource_server_identifier:e}})))||[]}))},exports.useGetPermissionsCatalog=function(){return qf(["fetch-permissions-catalog"],(function(){return Sh.getInstance().getPermissionsCatalog().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})},exports.useGetProfile=function(){return qf(["fetch-profile"],(function(){return Sh.getInstance().getProfile().then((function(e){var t=null==e?void 0:e.data;return t&&localStorage.setItem("user",JSON.stringify(t)),t})).catch((function(e){throw e}))}),{keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3})},exports.useGetProofOfCancel=function(t,n){var o=this,a=Uf();return qf(["GET/useGetProofOfCancel",a,t,n],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getProofOfCancel(t,a,n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:!!t&&!!a&&!!n,cacheTime:0,useErrorBoundary:!1})},exports.useGetProofOfPayment=function(t,n){var o=this,a=Uf();return qf(["GET/useGetProofOfPayment",a,t,n],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getProofOfPayment(t,a,n).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:!!t&&!!a&&!!n,cacheTime:0,useErrorBoundary:!1})},exports.useGetProviderParams=function(e){var t=Uf();return qf(["organizations-provider-params",e],(function(e){var n=e.queryKey;return Sh.getInstance().getProviderParams(n[1],t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.id),useErrorBoundary:!1})},exports.useGetReconciliationActive=function(){return qf(["GET/v1/reconciliation/active"],(function(){return Sh.getInstance().getReconciliationActive().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.useGetReconciliationAgendaInsightsByKey=function(e){var t=e.body,n=e.params,o=e.enabled;return qf(["GET/reconciliation/agenda/insights",t,n],(function(){return Sh.getInstance().getReconciliationAgendaInsightByKey(t,n).then((function(e){return e.data}))}),{enabled:o,useErrorBoundary:!1})},exports.useGetReconciliationFilters=function(){return qf(["GET-reconciliation-filters"],(function(){return Sh.getInstance().getReconciliationFilters().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useGetReconciliationMetrics=function(e,t){return qf(["fetch-reconciliation-metrics",e],(function(){return Sh.getInstance().getReconciliationMetrics(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t,cacheTime:500})},exports.useGetReconciliationTransactionStatusesStyles=function(){return qf(["/reconciliation/transaction/statuses/style"],(function(){return Sh.getInstance().useGetReconciliationTransactionStatusesStyles().then((function(e){return lh(e)?mh:null==e?void 0:e.data})).catch((function(){return mh}))}))},exports.useGetReconciliationTransactions=function(e,t){return qf(["fetch-reconciliation-transaction",e],(function(){return Sh.getInstance().getReconciliationTransactions(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:!!t,useErrorBoundary:!1})},exports.useGetReconciliationsReportColumns=function(e,t,n){return qf(["GET/reconciliation/reports/columns/".concat(t,"/").concat(n)],(function(){return Sh.getInstance().getReconciliationsReportColumns(t,n).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}),{enabled:e,useErrorBoundary:!1})},exports.useGetReconciliationsReportTemplates=function(e){return qf(["GET/reconciliation/reports/templates"],(function(){return Sh.getInstance().getReconciliationReportTemplates().then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}),{enabled:e,useErrorBoundary:!1})},exports.useGetRefundPdf=function(t,n){var o=this,a=Uf();return qf(["getRefundPdf",t,a,n],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getRefundPdf(t,a,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))]}))}))}),{enabled:!!t&&!!a,useErrorBoundary:!1})},exports.useGetReportColumns=function(t,n,o){var a=this;return qf(["GET/reports/columns/".concat(n,"/").concat(o)],(function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(t){return[2,Sh.getInstance().getReportColumns(n,o).then((function(t){return n===exports.TemplateType.ALL&&o===exports.ReportType.PAYMENTS?e.__spreadArray(e.__spreadArray([],null==t?void 0:t.data,!0),[Vf],!1):null==t?void 0:t.data})).catch((function(e){return e}))]}))}))}),{enabled:t,useErrorBoundary:!1})},exports.useGetReportTemplates=function(e){return qf(["GET/reports/templates"],(function(){return Sh.getInstance().getReportTemplates().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:e,useErrorBoundary:!1})},exports.useGetReportsList=function(){return qf(["reports"],(function(){return Sh.getInstance().reportsList().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useGetReportsListMultiEnv=function(e){return void 0===e&&(e=!0),qf(["reports-multi-env"],(function(){return Sh.getInstance().reportsListMultiEnv().then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:e})},exports.useGetRequiredFields=function(e,t){var n=e.paymentMethodType,o=e.type;return qf(Wf({paymentMethodType:n,type:o}),(function(){return Sh.getInstance().getRequiredFields({paymentMethodType:n,type:o}).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useGetRoles=function(){return qf(["fetch-roles"],(function(){return Sh.getInstance().getRoles().then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useGetRolesPermissions=function(){return qf(["fetch-rolespermissions"],(function(){return Sh.getInstance().getRolesPermissions().then((function(e){return null==e?void 0:e.data}))}))},exports.useGetRoutingMonitorsTemplate=function(e,t){return qf(["fetch-routing-monitors-template",e],(function(){return Sh.getInstance().getRoutingMonitorsTemplate(e,t).then((function(e){return e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:!!e&&!!t&&"NONE"!==e,useErrorBoundary:!1})},exports.useGetRoutingMonitorsTemplates=function(e){return qf(["fetch-routing-monitors-templates",e],(function(){return Sh.getInstance().getRoutingMonitorsTemplates(e).then((function(e){return e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:!!e,useErrorBoundary:!1})},exports.useGetRule=function(){return Nf((function(e){return Sh.getInstance().getRule(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useGetSamlConfig=function(e){return qf(["fetch-organization-saml-config",e],(function(){return Sh.getInstance().getSamlConfig().then((function(e){return e.data}))}),{cacheTime:0,enabled:!!e,useErrorBoundary:!1})},exports.useGetScheduleById=function(t,n){var o=this;return qf(["GET/template-reporting/schedule-by-id",t],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getReportScheduleById(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:n&&!!t,useErrorBoundary:!1,cacheTime:0})},exports.useGetScheduledReportsList=function(e){return qf(["GET/scheduled-reports",e],(function(){return Sh.getInstance().getScheduledReport(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:!!e,useErrorBoundary:!1})},exports.useGetSchedulesList=function(t){var n=this;return qf(["GET/template-reporting/schedules"],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getReportSchedulesList().then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:t,useErrorBoundary:!1,cacheTime:0})},exports.useGetSettlements=function(e,t){return qf(["fetch-reconciliation-settlements",e],(function(){return Sh.getInstance().getReconciliationSettlements(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:!!t,useErrorBoundary:!1})},exports.useGetSmartRoutingConditionPaymentMethod=function(e,t){return qf(["smart-routing-condition-payment-method",e,t],(function(){return Sh.getInstance().getSmartRoutingConditionPaymentMethod(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:null!==t})},exports.useGetSmartRoutingConditionTypes=function(e,t){return qf(["smart-routing-condition-types",e,t],(function(){return Sh.getInstance().getSmartRoutingConditionTypes(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t&&!!e})},exports.useGetSmartRoutingConditionTypesValues=function(e,t){return qf(["smart-routing-condition-types-values",t,e],(function(){return Sh.getInstance().getSmartRoutingConditionTypesValues(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t&&!!e,useErrorBoundary:!1})},exports.useGetSmartRoutingDataReport=function(e){return qf(["data-report",e],(function(){return Sh.getInstance().getSmartRoutingDataReport(e).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0,useErrorBoundary:!1})},exports.useGetSmartRoutingDeclineGroups=function(e){return qf(["smart-routing-decline-groups",e],(function(){return Sh.getInstance().getSmartRoutingDeclinedGroup(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})},exports.useGetSmartRoutingMethods=function(e){return qf(["smart-routing-methods",e],(function(){return Sh.getInstance().getSmartRoutingMethods(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})},exports.useGetSmartRoutingNextRoute=function(e,t,n){return qf(["smart-routing-next-route",e,n,t],(function(){return Sh.getInstance().getSmartRoutingNextSteps(e,t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e})},exports.useGetSmartRoutingPaymentRoute=function(e,t){return qf(["smart-routing-payment-route",e,t],(function(){return Sh.getInstance().getSmartRoutingPaymentRoute(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e&&!!t,cacheTime:0})},exports.useGetSmartRoutingSearchConditionValues=function(e){var t=e.text,n=e.conditionType;return qf(["smart-routing-search-condition-values",t,n],(function(){return Sh.getInstance().getSmartRoutingSearchConditionValues(n,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!n&&!!t,cacheTime:0})},exports.useGetSmartRoutingSimulateConditionTypeValues=function(e){return qf(["smart-routing-simulate-condition-type-values",e],(function(){return Sh.getInstance().getSmartRoutingSimulateConditionTypeValues(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})},exports.useGetSmartRoutingWorkflow=function(e,t){return qf(["smart-routing-workflow",t,e],(function(){return Sh.getInstance().getSmartRoutingWorkflow(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t&&!!e,cacheTime:0,retry:!1})},exports.useGetSmartRoutingWorkflowVersion=function(e){var t=e.accountCode,n=e.workflowVersionId;return qf(["smart-routing-workflow-version",n,t],(function(){return Sh.getInstance().getSmartRoutingWorkflowVersion(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!n&&!!t,cacheTime:0})},exports.useGetStylingSdkDynamic=function(e){var t=e.accountCode;return qf(["styling-sdk-dynamic",t],(function(){return Sh.getInstance().getStylingSdkDynamic({accountCode:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:Boolean(t),useErrorBoundary:!1})},exports.useGetStylingSettings=function(e){var t=e.accountCode;return qf(["styling-settings",t],(function(){return Sh.getInstance().getStylingSettings({accountCode:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:Boolean(t),useErrorBoundary:!1})},exports.useGetStylingSettingsV2=function(e){var t=e.accountCode,n=e.environment,o=void 0===n?"live":n;return qf(["styling-settings-v2",t],(function(){return Sh.getInstance().getStylingSettingsV2({accountCode:t,environment:o}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:Boolean(t),useErrorBoundary:!1})},exports.useGetStylingTheme=function(e){var t=e.accountCode;return qf(["styling-theme",t],(function(){return Sh.getInstance().getStylingTheme({accountCode:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{cacheTime:0,enabled:Boolean(t),useErrorBoundary:!1})},exports.useGetTeamsFiltersMembers=function(){var e=Uf();return qf(["teams-filters-members"],(function(){return Sh.getInstance().teamsFiltersMembers({organizationCode:e}).then((function(e){return null==e?void 0:e.data}))}),{cacheTime:0})},exports.useGetTemplateById=function(t,n){var o=this;return qf(["GET/template-reporting/template-by-id",t],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getReportTemplateById(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:n&&!!t,useErrorBoundary:!1,cacheTime:0})},exports.useGetTemplatesList=function(t,n){var o=this;return qf(["GET/template-reporting/templates",t],(function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getReportTemplatesList(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:n,useErrorBoundary:!1,cacheTime:0})},exports.useGetTimeZoneCatalog=function(){return qf(["timezone-catalog"],(function(){return Sh.getInstance().useGetTimeZoneCatalog().then((function(e){return lh(e)?hh:null==e?void 0:e.data})).catch((function(){return hh}))}))},exports.useGetTimezonePaymentLink=function(e){return qf(["timezone"],(function(){return Sh.getInstance().getTimezone(e).then((function(e){return lh(e)?hh:null==e?void 0:e.data})).catch((function(){return hh}))}),{enabled:!0,keepPreviousData:!0})},exports.useGetTokenValidation=function(){return Nf((function(e){var t=e.password,n=e.otp;return Sh.getInstance().getMfaTokenValidation(t,n).then((function(e){return null==e?void 0:e.data}))}))},exports.useGetTransactionDetailsV2=function(t){var n=this,o=t.payment_code,a=t.enabled,i=void 0===a||a,r=Sh.getInstance();return qf(["get-payment-transaction-details-v2",o],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,r.getTransactionDetailsV2({payment_code:o}).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:!!o&&i,cacheTime:0,useErrorBoundary:!1})},exports.useGetTransactionHistoryByPaymentCode=function(e){var t=e.payment_code,n=e.enabled;return qf(["transaction-history",t],(function(){return Sh.getInstance().getTransactionHistoryByPaymentCode({payment_code:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t&&(void 0===n||n),useErrorBoundary:!1})},exports.useGetTransactionRawResponse=function(t){var n=this,o=t.transaction_code,a=t.enabled,i=void 0===a||a,r=Sh.getInstance();return qf(["get-payment-transaction-raw-response",o],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,r.getTransactionRawResponse({transaction_code:o})]}))}))}),{enabled:!!o&&i,cacheTime:0,useErrorBoundary:!1})},exports.useGetTransactionStatusesStyles=function(){return qf(["/transaction/statuses/style"],(function(){return Sh.getInstance().useGetTransactionStatusesStyles().then((function(e){return lh(e)?dh:null==e?void 0:e.data})).catch((function(){return dh}))}),{cacheTime:36e5,useErrorBoundary:!1})},exports.useGetTranslations=function(){var e=localStorage.getItem("lang")||"en";return qf(["translations",e],(function(){return Sh.getInstance().getTranslations(e).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1,cacheTime:3e4})},exports.useGetUserFull=function(){var t=this;return qf(["get-user-full"],(function(){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getUserFull()];case 1:return[2,e.sent().data]}}))}))}),{keepPreviousData:!0,useErrorBoundary:!1})},exports.useGetUsersToImpersonate=function(t,n,o,a,i){var r=this;return void 0===o&&(o=1),void 0===a&&(a=10),qf(["get-users-to-impersonate",t,n,o,a,i],(function(){return e.__awaiter(r,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getUsersToImpersonate(t,n,o,a,i).then((function(e){return null==e?void 0:e.data}))]}))}))}),{keepPreviousData:!0,useErrorBoundary:!1,cacheTime:3e3,enabled:!!t})},exports.useGetValidateOpsgenieKey=function(e){return qf(["validate-opsgenie-key",e],(function(){return Sh.getInstance().getValidateOpsgenieKey(e).then((function(e){return null==e?void 0:e.data})).catch((function(){return{error:!0}}))}),{enabled:!!e,cacheTime:0})},exports.useGetWebhookParamsV2=function(){return qf(["params-catalog"],(function(){return Sh.getInstance().getWebhookParamsV2().then((function(e){return null==e?void 0:e.data}))}))},exports.useGetWebhooksV2Detail=function(e){var t=e.accountCode,n=e.enabled;return qf(["webhooks-detail",t],(function(){return Sh.getInstance().getWebhooksV2Detail({accountCode:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!t&&!!n})},exports.useGetWebhooksV3=function(e){var t=e.accountCode,n=e.name;return qf(["webhooks",t,n],(function(){return Sh.getInstance().getWebhooksV3({accountCode:t,name:n}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t,useErrorBoundary:!1})},exports.useInsights3dsConversionRateAndEvolution=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-3ds-conversion-rate-and-evolution",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsights3dsConversionRateAndEvolution(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsights3dsDeclineReasons=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-3ds-decline-reasons",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsights3dsDeclineReasons(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsights3dsFrictionlessVsChallenge=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-3ds-frictionless-vs-challenge",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsights3dsFrictionlessVsChallenge(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsights3dsVolumeAndCountTx=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-3ds-volume-and-count-tx",n,t],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsights3dsVolumeAndCountTx(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksByCardBrand=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-by-card-brand",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksByCardBrand(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksByProviderAndCardBrand=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-by-provider-and-card-brand",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksByProviderAndCardBrand(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksDisputed=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-disputed",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksDisputed(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksReasonsDistribution=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-reasons-distribution",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksReasonsDistribution(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksStatusDistribution=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-status-distribution",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksStatusDistribution(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksTotalRateAndEvolution=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-total-rate-and-evolution",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksTotalRateAndEvolution(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksVolumeAndCountTx=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-volume-and-count-tx",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksVolumeAndCountTx(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsChargebacksWinRate=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-chargebacks-win-rate",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsChargebacksWinRate(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsConversionRateMetricsV2=function(e,t,n){return void 0===n&&(n=!0),qf(["get-insights-conversion-rate-metrics-v2",e,t],(function(){return Sh.getInstance().getInsightsMetricsConversionRateV2(e,t).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:n&&(!!(null==e?void 0:e.currency_code)&&"Empty"!==(null==e?void 0:e.currency_code)&&"string"==typeof(null==e?void 0:e.currency_code)||Array.isArray(null==e?void 0:e.currency_code)&&0===(null==e?void 0:e.currency_code.length)),staleTime:3e5,cacheTime:3e5,useErrorBoundary:!1,retry:1})},exports.useInsightsCustomerPaymentsAndFraudMetrics=function(e,t,n){return void 0===n&&(n=!0),delete t.account_code,qf(["get-insights-customer-payment-fraud-metrics",t,e],(function(){return Sh.getInstance().getInsightsMetricsCustomerPaymentsAndFraud(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsFallbackMetrics=function(e){return qf(["get-insights-conversion-rate-fallback-metrics",e],(function(){return Sh.getInstance().getInsightFallbackMetrics(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.enabled),cacheTime:200,useErrorBoundary:!1})},exports.useInsightsFraudScreeningConversionRate=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-fraud-screening-conversion-rate",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsFraudScreeningConversionRate(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsFraudScreeningVolumeAndCountTx=function(t,n,o){var a=this;return void 0===o&&(o={enabled:!0}),qf({queryKey:["post-insights-fraud-screening-volume-and-count-tx",t,n],queryFn:function(){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getInsightsFraudScreeningVolumeAndCountTx(t,n)];case 1:return[2,e.sent()]}}))}))},enabled:o.enabled&&void 0!==t.account_codes,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsHomeMetrics=function(e){return qf(["get-insights-home-metrics",e],(function(){return Sh.getInstance().getInsighstHomeMetrics(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.currency_code)&&!!(null==e?void 0:e.account_codes)&&!!(null==e?void 0:e.organization_code)&&(null==e?void 0:e.isLiveMode)&&!!(null==e?void 0:e.timezone),cacheTime:200,useErrorBoundary:!1})},exports.useInsightsOverviewMetrics=function(e){return qf(["get-insights-overview",e],(function(){return Sh.getInstance().getInsightOverview(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.enabled)&&void 0!==e.account_code,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsOverviewMetricsV3=function(e,t){var n=!!(null==e?void 0:e.enabled)&&void 0!==(null==e?void 0:e.account_code);return qf(["get-insights-overview-v3",e,t],(function(){return Sh.getInstance().getInsightOverviewV3(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:0,useErrorBoundary:!1})},exports.useInsightsTotalPaymentsAndFraudMetrics=function(e,t,n){return void 0===n&&(n=!0),delete t.account_code,qf(["get-insights-total-payment-fraud-metrics",t,e],(function(){return Sh.getInstance().getInsightsMetricsTotalPaymentsAndFraud(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsVolumeMetrics=function(e,t,n){return void 0===n&&(n=!0),delete t.account_code,qf(["get-insights-volume-metrics",t,e],(function(){return Sh.getInstance().getInsightsMetricsVolume(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:n,cacheTime:200,useErrorBoundary:!1})},exports.useInsightsVolumeMetricsV2=function(e,t,n,o){return void 0===o&&(o=!0),delete t.account_code,qf(["get-insights-volume-metrics-v2",t,e,n],(function(){return Sh.getInstance().getInsightsMetricsVolumeV2(e,n,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:o,cacheTime:200,useErrorBoundary:!1})},exports.useInviteUsersMultiaccountMassive=function(){return Nf((function(e){return Sh.getInstance().inviteUsersMassive(e,e.organizationCode)}))},exports.useIsTesting=function(){var e=h.useState("ON"===localStorage.getItem("isTesting")),t=e[0],n=e[1];return h.useEffect((function(){window.addEventListener("storage",(function(e){"isTesting"===e.key&&n("ON"===e.newValue)}))}),[]),{isTesting:t}},exports.useLoginMethods=function(){return Nf((function(e){return Sh.getInstance().changeLoginMethods(e)}))},exports.useNetworkTokensOnboarding=function(){var t=this;return qf({queryKey:["smart-routing-network-tokens-onboarding"],queryFn:function(){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().getNetworkTokensOnboarding()];case 1:return[2,e.sent().data]}}))}))},useErrorBoundary:!1})},exports.useNewPostConnectionValidate=function(){return Nf(["new-post-connection-validate"],(function(){return Sh.getInstance().postMultiConnectionValidate().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})},exports.usePatchAccountV2=function(){return Nf((function(e){var t=e.name,n=e.code,o=e.principal;return Sh.getInstance().patchAccountV2({name:t,code:n,principal:o})}))},exports.usePatchAddAllowlistItems=function(){return Nf(["post-add-allowlist-items"],(function(e){var t=e.payload;return Sh.getInstance().patchAddAllowlistItems({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePatchAllowedIps=function(){return Nf(["developers-patch-allowed-ips"],(function(t){return Sh.getInstance().patchAllowedIps(t).then((function(t){return(null==t?void 0:t.data)?e.__assign(e.__assign({},null==t?void 0:t.data),{isError:!1}):null})).catch((function(t){return e.__assign(e.__assign({},t),{isError:!0})}))}),{cacheTime:0})},exports.usePatchAllowlist=function(){return Nf(["patch-allowlist"],(function(e){var t=e.payload;return Sh.getInstance().patchAllowlist({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePatchAndExecuteChart=function(t,n,o){var a=this;return void 0===o&&(o=!0),qf(["chartgpt-patch-and-execute",t,n],(function(){return e.__awaiter(a,void 0,void 0,(function(){var o,a,i,r,s;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,(o=Sh.getInstance()).patchChartGPTChart(t,n)];case 1:return a=e.sent(),i=null==a?void 0:a.data,[4,o.executeChartGPTChart(t)];case 2:return r=e.sent(),s=null==r?void 0:r.data,[2,{chart:i,execution:s}]}}))}))}),{enabled:o&&!!t,retry:!1})},exports.usePatchApiKeysEditNote=function(){return Nf((function(e){var t=e.payload,n=e.code;return Sh.getInstance().patchApiKeysEditNote(t,n).then((function(e){return e.data})).catch((function(e){return e}))}))},exports.usePatchChangeStatusAllowlist=function(){return Nf(["patch-change-status-allowlist"],(function(e){var t=e.payload;return Sh.getInstance().patchChangeStatusAllowlist({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePatchChangeStatusAllowlistItem=function(){return Nf(["patch-change-status-allowlist-item"],(function(e){var t=e.payload;return Sh.getInstance().patchChangeStatusAllowlistItem({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePatchChartName=function(){return Nf((function(e){var t=e.chart_id,n=e.type,o=e.name,a=e.user_prompt,i=void 0===a?"":a;return Sh.getInstance().patchChartGPTChart(t,{type:n,name:o,user_prompt:i}).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.usePatchConnection=function(){return Nf(["patch-connection"],(function(e){var t=e.payload,n=e.connectionCode;return Sh.getInstance().patchConnection({payload:t,connectionCode:n}).then((function(e){return null==e?void 0:e.data}))}))},exports.usePathCreateCustomizedApiKeys=function(){return Nf((function(e){var t=e.payload,n=e.code;return Sh.getInstance().pathCreateCustomizedApiKeys(t,n).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePathNotifications=function(){var t=this;return Nf((function(n){return e.__awaiter(t,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().pathNotification(n)];case 1:return[2,null==(t=e.sent())?void 0:t.data]}}))}))}))},exports.usePayoutsFilters=function(t){var n=this;void 0===t&&(t=!0);var o=Uf();return qf(["getPayoutsFilters",o],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().getPayoutsFilters(o).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))]}))}))}),{enabled:t&&!!o})},exports.usePayoutsList=function(e){return qf(["usePayoutsList",e&&JSON.stringify(e)],(function(){var t=Sh.getInstance();if(e)return t.postPayouts(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{enabled:!!e&&!!Object.values(e).length,cacheTime:0})},exports.usePostAccount=function(){return Nf((function(e){var t=e.name,n=e.principal;return Sh.getInstance().postAccount(t,n)}))},exports.usePostAllowlistMultiAccount=function(e){return qf(["query-post-get-allowlist-multi-account",JSON.stringify(e)],(function(){return Sh.getInstance().postGetAllowlist({payload:e}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}),{enabled:!!e,cacheTime:0})},exports.usePostApiKeysRoll=function(){return Nf((function(e){var t=e.payload,n=e.code,o=e.password;return Sh.getInstance().postApiKeysRoll(t,n,o).then((function(e){return e.data})).catch((function(e){return e}))}))},exports.usePostApiLogs=function(e){return qf(["api-logs",e],(function(){return Sh.getInstance().postApiLogs({payload:e}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e.organizationCode,cacheTime:0,useErrorBoundary:!1})},exports.usePostAuditMonitors=function(e){return Nf((function(e){var t=e.payload;return Sh.getInstance().postAuditMonitors(t)}),{onMutate:e.onMutate})},exports.usePostBatchRefundByFile=function(){var t=this;return Nf((function(n){return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().batchRefundByFile({payload:n}).then((function(e){return null==e?void 0:e.data}))]}))}))}),{useErrorBoundary:!1})},exports.usePostBlackListBatch=function(e){var t=e.handleSetProgress;return Nf(["post-blacklist-batch"],(function(e){var n=e.blacklist_code,o=e.expiration_days,a=e.file;return Sh.getInstance().postBlackListBatch({blacklist_code:n,expiration_days:o,file:a,handleSetProgress:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.usePostBlackListItems=function(){return Nf(["post-blacklist-items"],(function(e){var t=e.payload;return Sh.getInstance().postBlackListItems({payload:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.usePostBlackListMultiAccount=function(){return Nf(["post-blacklist-multi-account"],(function(e){var t=e.payload;return Sh.getInstance().postBlackListMultiAccount({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostBlockList=function(e,t,n,o){var a;return qf(["post-black-list",e],(function(){return Sh.getInstance().postBlockList(e,null!=t?t:"",null!=n?n:0,null!=o?o:25).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),{cacheTime:0,enabled:(null===(a=e[0])||void 0===a?void 0:a.length)>0&&null!==t,useErrorBoundary:!1})},exports.usePostCall=function(){return Nf((function(e){return Sh.getInstance().postCall(e)}))},exports.usePostChangeStatusConnection=function(){return Nf(["post-change-status-connection"],(function(e){var t=e.payload,n=e.accountCode;return Sh.getInstance().postChangeStatusConnection({payload:t,accountCode:n}).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.usePostConnectionMultiAccount=function(){return Nf(["post-connection"],(function(e){var t=e.payload;return Sh.getInstance().postMultiConnection({payload:t}).then((function(e){return null==e?void 0:e.data}))}))},exports.usePostCreateAllowlistMultiAccount=function(){return Nf(["post-create-allowlist-multi-account"],(function(e){var t=e.payload;return Sh.getInstance().postCreateAllowlistMultiAccount({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostCreateCustomizedApiKeys=function(){return Nf((function(e){var t=e.payload;return Sh.getInstance().postCreateCustomizedApiKeys(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostCreateInsightsReport=function(){return Nf((function(e){var t=e.payload;return Sh.getInstance().postCreateInsightsReport(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostCreateRuleMultiAccount=function(){return Nf((function(e){var t=e.payload,n=e.accountCode;return Sh.getInstance().postCreateRuleMultiAccount(t,n).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostCredentialsValidatePassword=function(){return Nf((function(e){var t=e.passwordOtp;return Sh.getInstance().getDeveloperCredentialsValidatePassword(t).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}))},exports.usePostDefaultRoutes=function(){return Nf((function(e){var t=e.payload;return Sh.getInstance().postDefaultRoutes({payload:t}).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}))},exports.usePostEditRule=function(){return Nf((function(e){var t=e.payload,n=e.ruleId,o=e.accountCode;return Sh.getInstance().postEditRule(t,n,o).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.usePostFraudTransactions=function(t){var n=this;return qf(["POST/fraud-transactions",JSON.stringify(t)],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().postFraudTransactions(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:!!t&&Object.keys(t).length>0,cacheTime:0,useErrorBoundary:!1})},exports.usePostGetAllowlistItems=function(){return Nf(["post-get-allowlist-items"],(function(e){var t=e.payload;return Sh.getInstance().postAllowlistItems({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostGetAllowlistMultiAccount=function(){return Nf(["post-get-allowlist-multi-account"],(function(e){var t=e.payload;return Sh.getInstance().postGetAllowlist({payload:t}).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e}))}))},exports.usePostMembersPaginatedV2=function(e){var t=e.organizationCode,n=e.accountCodes,o=e.email,a=e.page,i=e.pageSize,r=Uf();return qf(["fetch-post-members-v2",t,n,o,a,i],(function(){return Sh.getInstance().postMembersPaginatedV2({organizationCode:r,accountCodes:n,email:o,page:a,pageSize:i}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t&&!!n,cacheTime:0,useErrorBoundary:!1})},exports.usePostNetworkTokensOnboarding=function(){var t=this;return Nf((function(n){var o=n.payload,a=n.organizationCode;return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().postNetworkTokensOnboarding(o,a)];case 1:return[2,e.sent().data]}}))}))}),{useErrorBoundary:!1})},exports.usePostPaymentsEvaluated=function(e){return qf(["fetch-payments-evaluated",e],(function(){return Sh.getInstance().postPaymentsEvaluated(e).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!e&&Object.keys(e).length>0,cacheTime:0,useErrorBoundary:!1})},exports.usePostPaymentsLazy=function(t){var n=this;return qf(["fetch-payments-lazy",t],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().postPaymentsLazy(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:!!t&&Object.keys(t).length>0,cacheTime:0,useErrorBoundary:!1})},exports.usePostSlackMessageChannel=function(){return Nf((function(e){var t=e.payload;return Sh.getInstance().postSlackMessageChannel(t).then((function(e){return null==e?void 0:e.data}))}))},exports.usePostTransactions=function(t){var n=this;return qf(["POST/transactions",JSON.stringify(t)],(function(){return e.__awaiter(n,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().postTransactions(t).then((function(e){return null==e?void 0:e.data}))]}))}))}),{enabled:!!t,cacheTime:0,useErrorBoundary:!1})},exports.usePostUserSettings=function(){return Nf((function(e){var t=e.payload;return Sh.getInstance().postUserSettings(t)}),{onMutate:function(e){return e}})},exports.usePostUserSettingsPinned=function(e){return Nf(["pinned-sections"],(function(e){var t=e.payload;return Sh.getInstance().postUserSettingsPinned(t)}),{onMutate:function(t){var n=t.payload;return e({payload:n})}})},exports.usePostUserSettingsTables=function(){return Nf((function(e){var t=e.payload,n=e.section;return Sh.getInstance().postUserSettingsTables(t,n)}),{onMutate:function(e){return e},onSuccess:function(t){var n=Bf.getQueryData(["fetch-profile"]);t.data&&Bf.setQueryData(["fetch-profile"],e.__assign(e.__assign({},n),{settings:t.data}))}})},exports.usePostUserThemeSettings=function(){return Nf((function(e){return Sh.getInstance().postUserThemeSettings(e)}))},exports.usePostValideStatusConnection=function(){return Nf(["post-validate-status-connection"],(function(e){var t=e.payload,n=e.accountCode;return Sh.getInstance().postValidateStatusConnection({payload:t,accountCode:n}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.usePostVelocityRules=function(e){return qf(["velocity-rules",e],(function(){var t=Sh.getInstance();return e?t.getVelocityRules(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){return e})):Promise.resolve({})}),{enabled:!!e,keepPreviousData:!0})},exports.usePostWebhookLogs=function(e){var t=e.params;return qf(["webhook-logs",t],(function(){return Sh.getInstance().postWebhookLogs({payload:t}).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!t.organizationCode,cacheTime:0,useErrorBoundary:!1})},exports.usePostWebhookMultiAccount=function(e){return Nf((function(e){var t=e.payload;return Sh.getInstance().postWebhookV2MultiAccount({payload:t})}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})},exports.useProviderConversionRatesData=function(){return qf(["smart-routing-conversion-rates"],(function(){return Sh.getInstance().getProviderConversionRatesData().then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{enabled:!1,useErrorBoundary:!1})},exports.usePublishVersion=function(t,n){var o=this,a=t.versionCode,i=t.accountCode,r=t.organizationCode;return void 0===n&&(n=null),Nf((function(){return e.__awaiter(o,void 0,void 0,(function(){return e.__generator(this,(function(e){switch(e.label){case 0:return[4,Sh.getInstance().postSmartRoutingPublishVersion(i,a,r).then((function(e){return null==e?void 0:e.data}))];case 1:return[2,e.sent()]}}))}))}),n)},exports.usePutAccountPrincipal=function(){return Nf((function(e){var t=e.account_code;return Sh.getInstance().putAccountPrincipal({account_code:t})}))},exports.usePutAccountsUserMassive=function(){return Nf((function(e){var t=e.organizationCode,n=e.userCode,o=e.payload;return Sh.getInstance().putAccountsUserMassive(t,n,o)}))},exports.usePutBlackListType=function(){return Nf(["put-blacklist"],(function(e){return Sh.getInstance().putBlackListType(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.usePutCosts=function(){return Nf((function(e){return Sh.getInstance().putCosts(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),{useErrorBoundary:!1})},exports.useRecoveredPaymentsByDay=function(t,n){return qf(e.__assign({queryKey:["smart-recovery-recovered-payments-by-day",t],queryFn:function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return n=Sh.getInstance(),o={start_date:t.start_date||"",end_date:t.end_date||"",organization_code:t.organization_code,account_codes:t.account_code||[],countries:t.countries||[],channels:t.channels||[],focuses:t.focuses||[],timezone:t.timezone},[4,n.post("/nova-insights/recovered-payments-by-day",o)];case 1:return a=e.sent(),[2,Xf(a.data,o.start_date,o.end_date)]}}))}))},enabled:!!t.organization_code,staleTime:3e5},n))},exports.useRecoveredTPVByDay=function(t,n){return qf(e.__assign({queryKey:["smart-recovery-recovered-tpv-by-day",t],queryFn:function(){return e.__awaiter(void 0,void 0,void 0,(function(){var n,o,a;return e.__generator(this,(function(e){switch(e.label){case 0:return n=Sh.getInstance(),o={start_date:t.start_date||"",end_date:t.end_date||"",organization_code:t.organization_code,account_codes:t.account_code||[],countries:t.countries||[],channels:t.channels||[],focuses:t.focuses||[],timezone:t.timezone},[4,n.post("/nova-insights/recovered-tpv-by-day",o)];case 1:return a=e.sent(),[2,Jf(a.data,o.start_date,o.end_date)]}}))}))},enabled:!!t.organization_code,staleTime:3e5},n))},exports.useResendWebhooks=function(){return Nf((function(e){var t=e.codes;return Sh.getInstance().postResendWebhooks({codes:t}).then((function(e){return null==e?void 0:e.data}))}))},exports.useSaveVersion=function(e,t){var n=e.data,o=e.accountCode;return void 0===t&&(t=null),Nf((function(){return Sh.getInstance().putSmartRoutingUpdateWorkflow(o,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}),t)},exports.useSendPaymentNotification=function(t,n,o){var a=this,i=Sh.getInstance();return qf(["send-payment-notification",t,n],(function(){return e.__awaiter(a,void 0,void 0,(function(){var a,r;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,i.sendPaymentNotification(t,n)];case 1:return a=e.sent(),o.onSuccess(),[2,a.data];case 2:throw r=e.sent(),o.onError(),r;case 3:return[2]}}))}))}),{enabled:o.enabled,cacheTime:0,useErrorBoundary:!1})},exports.useSetCustodian=function(){return Nf((function(){return Sh.getInstance().setCustodian().then((function(e){return null==e?void 0:e.data}))}))},exports.useSmartRoutingCreateDeclinedGroup=function(e){var t=e.accountCode;return Nf((function(e){return void 0===e&&(e=null),Sh.getInstance().createSmartRoutingDeclinedGroup(t,e).then((function(e){return null==e?void 0:e.data}))}),e.options)},exports.useSmartRoutingEditWorkflowName=function(e,t){var n=e.code,o=e.name,a=e.accountCode;return void 0===t&&(t=null),Nf((function(){return Sh.getInstance().putSmartRoutingUpdateWorkflowName(a,{code:n,name:o}).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useSmartRoutingMultiAccountDeclinedGroupCreate=function(t,n){return void 0===n&&(n={}),Nf((function(e){var n=e.payload;return Sh.getInstance().multiAccountDeclinedGroupCreate(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),e.__assign(e.__assign({},n),{useErrorBoundary:!1}))},exports.useSmartRoutingRemoveDeclinedGroup=function(t,n){return void 0===n&&(n={}),Nf((function(e){var n=e.declinedGroupCode;return Sh.getInstance().removeDeclinedGroup(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}),e.__assign(e.__assign({},n),{useErrorBoundary:!1}))},exports.useSmartRoutingSimulateTransaction=function(e,t){var n=e.accountCode,o=e.workflowVersionCode;return void 0===t&&(t=null),Nf((function(e){return Sh.getInstance().simulateSmartRoutingTransaction(n,o,e).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useSmartRoutingToggleFavorite=function(e,t){var n=e.versionCode,o=e.accountCode;return void 0===t&&(t=null),Nf((function(e){return void 0===e&&(e=!1),Sh.getInstance().updateSmartRoutingFavorite(o,n,e).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useSmartRoutingUpdateDeclinedGroup=function(e,t){var n=e.declinedId,o=e.accountCode;return void 0===t&&(t=null),Nf((function(e){return void 0===e&&(e=null),Sh.getInstance().updateSmartRoutingDeclinedGroup(o,n,e).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useSmartRoutingUpdateMonitorRedistribution=function(e,t){return void 0===t&&(t=null),Nf((function(t){return Sh.getInstance().updateMonitorRedistribution(e,t).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useToggleMethod=function(e,t){var n=e.paymentMethod,o=e.active,a=e.accountCode;return void 0===t&&(t=null),Nf((function(){return Sh.getInstance().putSmartRoutingToggleMethod(a,n,o).then((function(e){return null==e?void 0:e.data}))}),t)},exports.useUnInviteUsersV2=function(){return Nf((function(e){var t=e.userCode,n=e.organizationCode;return Sh.getInstance().unInviteUsersV2({userCode:t,organizationCode:n})}))},exports.useUnrollUserV2=function(){return Nf((function(e){return Sh.getInstance().unrollMfa(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useUpdateCheckoutTemplate=function(){return Nf((function(e){var t=e.accountCode,n=e.template;return Sh.getInstance().updateCheckoutTemplate({accountCode:t,template:n}).then((function(e){return null==e?void 0:e.data}))}))},exports.useUpdateIsActiveCheckout=function(e){return Nf((function(e){return Sh.getInstance().updateIsActiveCheckout(e)}),e)},exports.useUpdateMFAConfig=function(){return Nf((function(e){var t=e.payload,n=e.organizationCode;return Sh.getInstance().updateMFAConfig(t,n)}))},exports.useUpdateOrganizationStatus=function(){return Nf(["patch-organizations"],(function(){return Sh.getInstance().updateOrganizationStatus().then((function(e){return null==e?void 0:e.data}))}))},exports.useUpdateProfile=function(e){return Nf((function(e){return Sh.getInstance().updateProfile(e)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})},exports.useUpdateReconciliationAlert=function(){return Nf(["UPDATE/reconciliation/alerts"],(function(e){return Sh.getInstance().updateReconciliationAlert(e).then((function(e){return e.data})).catch((function(e){throw e}))}),{onSuccess:function(){Bf.invalidateQueries(["GET/reconciliation/alerts/list"])},useErrorBoundary:!1})},exports.useUpdateReconciliationReportTemplate=function(e){return Nf((function(){return Sh.getInstance().updateReconciliationReportTemplate(e).then((function(e){return(null==e?void 0:e.data)||null})).catch((function(e){throw e}))}),{useErrorBoundary:!1})},exports.useUpdateReportTemplate=function(e){return Nf((function(){return Sh.getInstance().updateReportTemplate(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useUpdateSamlConfig=function(){return Nf((function(e){return Sh.getInstance().updateSamlConfig(e)}))},exports.useUpdateScheduledReport=function(){return Nf((function(e){var t=e.reportCode,n=e.payload;return Sh.getInstance().updateScheduledReport(t,n).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useUpdateStylingTheme=function(){return Nf((function(e){var t=e.accountCode,n=e.theme;return Sh.getInstance().updateStylingTheme({accountCode:t,theme:n}).then((function(e){return null==e?void 0:e.data}))}))},exports.useUpdateTemplateSelection=function(){var t=this;return Nf(["POST/template-reporting/report-templates/selection"],(function(n){var o=n.templateId,a=n.payload;return e.__awaiter(t,void 0,void 0,(function(){return e.__generator(this,(function(e){return[2,Sh.getInstance().updateTemplateSelection(o,a).then((function(e){return null==e?void 0:e.data}))]}))}))}),{onSuccess:function(){Bf.invalidateQueries({queryKey:["GET/template-reporting/templates"]})},useErrorBoundary:!1})},exports.useUpdateWebhookV2=function(e){return Nf((function(e){var t=e.code,n=e.payload,o=e.accountCode;return Sh.getInstance().updateWebhookV2(t,n,o)}),{onMutate:function(e){return e},onSuccess:e.onSuccessCallback})},exports.useUploadBatchRefundsFileV2=function(e){var t=e.fileName,n=e.onSuccess,o=e.onError,a=h.useState(0),i=a[0],r=a[1],s=h.useRef({cancel:function(){return null}}),c=Nf(["upload-file-chargeback",t],(function(e){var t=Sh.getInstance().uploadFileS3ClientBatchRefunds({payload:e,handleSetProgress:r}),a=t.promise,i=t.cancel;return s.current.cancel=i,a.then((function(e){return null==n||n(null==e?void 0:e.data),null==e?void 0:e.data})).catch((function(e){throw null==o||o(),e}))}),{useErrorBoundary:!1});return{mutation:c,cancelRequest:s.current.cancel,progress:i}},exports.useUploadBatchRefundsV2=function(){return Nf((function(e){return Sh.getInstance().uploadBatchRefundsV2({payload:e}).then((function(e){return null==e?void 0:e.data}))}),{useErrorBoundary:!1})},exports.useUploadFileS3ClientBatchRefunds=function(){var e=h.useRef({cancel:function(){return null}}),t=Nf(["upload-file"],(function(t){var n=Sh.getInstance().uploadFileS3ClientBatchRefunds({payload:t}),o=n.promise,a=n.cancel;return e.current.cancel=a,o.then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}));return{mutation:t,cancelRequest:e.current.cancel}},exports.useValiateAllowlistItems=function(){return Nf(["validate-allowlist-items"],(function(e){return Sh.getInstance().validateAllowlistItems({payload:e}).then((function(e){return e.data})).catch((function(e){return e}))}))},exports.useValidateBlockListItems=function(){return Nf(["valiate-blacklist-items"],(function(e){return Sh.getInstance().valiateBlockListItems({payload:e}).then((function(e){return null==e?void 0:e.data})).catch((function(e){return e}))}))},exports.useValidateCredentials=function(){return Nf((function(e){return Sh.getInstance().postValidateCredentials(e).then((function(e){return null==e?void 0:e.data})).catch((function(e){throw e}))}))},exports.useValidateOrgName=function(){return Nf((function(e){return Sh.getInstance().getOrgByName(e).then((function(e){return null==e?void 0:e.data}))}))},exports.useValidatePasswordStatus=function(){return Nf((function(){return Sh.getInstance().validatePasswordStatus().then((function(e){return null==e?void 0:e.data})).catch((function(e){return{valid:!1}}))}))},exports.useViewMoreMetrics=function(e,t){return qf(["get-insights-conversion-rate-view-more-metrics",t,e],(function(){return Sh.getInstance().getInsightsMetricsConversionRateViewMore(e,t).then((function(e){return null==e?void 0:e.data}))}),{enabled:!!(null==e?void 0:e.enabled)&&!!t,cacheTime:200,useErrorBoundary:!1})};
|
|
241
241
|
//# sourceMappingURL=index.js.map
|