1import{t as e}from"./countries_regions-ro5-rmxd.mjs";import{t}from"./isObject-CuyTkb7v.mjs";import{n,r,t as i}from"./_overRest-a8ZG64hQ.mjs";import{l as a,s as o,u as s}from"./isTypedArray-C7yKEvTB.mjs";import{t as c}from"./keysIn-BzrNqqc2.mjs";function l(e,t){return n(i(e,t,r),e+``)}function u(e,n,r){if(!t(r))return!1;var i=typeof n;return(i==`number`?o(r)&&s(n,r.length):i==`string`&&n in r)?a(r[n],e):!1}var d=Object.prototype,f=d.hasOwnProperty,p=l(function(e,t){e=Object(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&u(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],s=c(o),l=-1,p=s.length;++l<p;){var m=s[l],h=e[m];(h===void 0||a(h,d[m])&&!f.call(e,m))&&(e[m]=o[m])}return e});function m(t={}){t=p(t,{inlineLabels:!1,alphaCodeSize:3});let n=e.map(({label:e,friendlyLabel:n,alpha2code:r,alpha3code:i,regions:a,compliance:o})=>({label:e,friendlyLabel:n,value:t.alphaCodeSize===3?i:r,regions:a,compliance:o}));return{countries:n,localeValues:{countryCode:null,region:null,compliance:null},localeFields:{countryCode:{type:`select`,label:t.inlineLabels?null:`Country`,options:n,required:!0,showErrors:!1,placeholder:t.inlineLabels?`Country`:`Select...`},region:{type:`select`,label:t.inlineLabels?null:``,options:[],required:!0,showErrors:!1,placeholder:t.inlineLabels?``:`Select...`},compliance:{type:`checkbox`,label:`I acknowledge and agree to Endeavorâs Terms of Use and processing my personal information to provide the services I have requested and to communicate with me by email or mail about offerings by Endeavor, its brands, affiliates and/or third-party partners, consistent with Endeavorâs Privacy Policy.`,showErrors:!1}},getCurrentCountry:e=>n.find(t=>t.value===e)}}export{m as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.