PageSourceSearch

https://www.autonomous.ai/_next/static/chunks/5974-fda42bf39242399a.js

js autonomous.ai collected 2026-09-24 19:20:44 UTC 35,425 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5974],{4004:(e,t,n)=>{"use strict";var r=n(7871);e.exports=function(){return"object"==typeof n.g&&n.g&&n.g.Math===Math&&n.g.Array===Array?n.g:r}},7871:e=>{"use strict";"u">typeof self?e.exports=self:"u">typeof window?e.exports=window:e.exports=Function("return this")()},7899:(e,t,n)=>{"use strict";var r;n.d(t,{eq:()=>i});let i={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};r||(r={})},9562:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addMatchingCardsToResults=void 0;var r=n(71571),i=n(20667);t.addMatchingCardsToResults=function(e,t,n){var a,o;for(a=0;a<t.patterns.length;a++){var u=t.patterns[a];if(i.matches(e,u)){var s=r.clone(t);o=Array.isArray(u)?String(u[0]).length:String(u).length,e.length>=o&&(s.matchStrength=o),n.push(s);break}}}},20667:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matches=void 0,t.matches=function(e,t){var n,r,i,a,o,u;return Array.isArray(t)?(n=t[0],r=t[1],i=String(n).length,o=parseInt(a=e.substr(0,i),10),n=parseInt(String(n).substr(0,a.length),10),r=parseInt(String(r).substr(0,a.length),10),o>=n&&o<=r):(u=String(u=t)).substring(0,e.length)===e.substring(0,u.length)}},28070:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=void 0,t.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},29486:(e,t,n)=>{"use strict";n.d(t,{b:()=>u});var r=n(12115),i=n(55897),a=n(95155),o=r.forwardRef((e,t)=>(0,a.jsx)(i.sG.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label";var u=o},37198:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=(this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t})(n(53534)),o=n(59210),u=n(50846),s=n(85518),l=n(79599),c=n(89623),d=n(82959),f=n(58661);e.exports={creditCardType:a,cardholderName:o.cardholderName,number:u.cardNumber,expirationDate:s.expirationDate,expirationMonth:l.expirationMonth,expirationYear:c.expirationYear,cvv:d.cvv,postalCode:f.postalCode}},50846:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cardNumber=void 0;var r=n(88071),i=n(53534);function a(e,t,n){return{card:e,isPotentiallyValid:t,isValid:n}}t.cardNumber=function(e,t){if(void 0===t&&(t={}),"string"!=typeof e&&"number"!=typeof e)return a(null,!1,!1);var n,o,u=String(e).replace(/-|\s/g,"");if(!/^\d*$/.test(u))return a(null,!1,!1);var s=i(u);if(0===s.length)return a(null,!1,!1);if(1!==s.length)return a(null,!0,!1);var l=s[0];if(t.maxLength&&u.length>t.maxLength)return a(l,!1,!1);n=l.type===i.types.UNIONPAY&&!0!==t.luhnValidateUnionPay||r(u),o=Math.max.apply(null,l.lengths),t.maxLength&&(o=Math.min(t.maxLength,o));for(var c=0;c<l.lengths.length;c++)if(l.lengths[c]===u.length)return a(l,u.length<o||n,n);return a(l,u.length<o,!1)}},53177:function(e){(function(){var t,n,r;(t=function(e){return t.isDOMElement(e)?e:document.querySelectorAll(e)}).isDOMElement=function(e){return e&&null!=e.nodeName},r=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t.trim=function(e){return null===e?"":(e+"").replace(r,"")},n=/\r/g,t.val=function(e,t){var r;return arguments.length>1?e.value=t:"string"==typeof(r=e.value)?r.replace(n,""):null===r?"":r},t.preventDefault=function(e){return"function"==typeof e.preventDefault?void e.preventDefault():(e.returnValue=!1,!1)},t.normalizeEvent=function(e){var n;return null==(e={which:null!=(n=e).which?n.which:void 0,target:n.target||n.srcElement,preventDefault:function(){return t.preventDefault(n)},originalEvent:n,data:n.data||n.detail}
1).which&&(e.which=null!=n.charCode?n.charCode:n.keyCode),e},t.on=function(e,n,r){var i,a,o,u,s,l,c,d;if(e.length){for(a=0,u=e.length;a<u;a++)i=e[a],t.on(i,n,r);return}if(n.match(" ")){for(o=0,s=(d=n.split(" ")).length;o<s;o++)l=d[o],t.on(e,l,r);return}return(c=r,r=function(e){return c(e=t.normalizeEvent(e))},e.addEventListener)?e.addEventListener(n,r,!1):e.attachEvent?(n="on"+n,e.attachEvent(n,r)):void(e["on"+n]=r)},t.addClass=function(e,n){var r,i,a,o;if(e.length){for(i=0,o=[],a=e.length;i<a;i++)r=e[i],o.push(t.addClass(r,n));return o}return e.classList?e.classList.add(n):e.className+=" "+n},t.hasClass=function(e,n){var r,i,a,o;if(e.length){for(a=0,i=!0,o=e.length;a<o;a++)r=e[a],i=i&&t.hasClass(r,n);return i}return e.classList?e.classList.contains(n):RegExp("(^| )"+n+"( |$)","gi").test(e.className)},t.removeClass=function(e,n){var r,i,a,o,u,s,l,c,d;if(e.length){for(l=0,d=[],c=e.length;l<c;l++)i=e[l],d.push(t.removeClass(i,n));return d}if(!e.classList)return e.className=e.className.replace(RegExp("(^|\\b)"+n.split(" ").join("|")+"(\\b|$)","gi")," ");for(a=0,u=n.split(" "),s=[],o=u.length;a<o;a++)r=u[a],s.push(e.classList.remove(r));return s},t.toggleClass=function(e,n,r){var i,a,o,u;if(e.length){for(a=0,u=[],o=e.length;a<o;a++)i=e[a],u.push(t.toggleClass(i,n,r));return u}return r?t.hasClass(e,n)?void 0:t.addClass(e,n):t.removeClass(e,n)},t.append=function(e,n){var r,i,a,o;if(e.length){for(i=0,o=[],a=e.length;i<a;i++)r=e[i],o.push(t.append(r,n));return o}return e.insertAdjacentHTML("beforeend",n)},t.find=function(e,t){return(e instanceof NodeList||e instanceof Array)&&(e=e[0]),e.querySelectorAll(t)},t.trigger=function(e,t,n){var r;try{r=new CustomEvent(t,{detail:n})}catch(e){(r=document.createEvent("CustomEvent")).initCustomEvent?r.initCustomEvent(t,!0,!0,n):r.initEvent(t,!0,!0,n)}return e.dispatchEvent(r)},e.exports=t}).call(this)},53534:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=n(98956),a=n(9562),o=n(73164),u=n(92298),s=n(71571),l={},c={VISA:"visa",MASTERCARD:"mastercard",AMERICAN_EXPRESS:"american-express",DINERS_CLUB:"diners-club",DISCOVER:"discover",JCB:"jcb",UNIONPAY:"unionpay",MAESTRO:"maestro",ELO:"elo",MIR:"mir",HIPER:"hiper",HIPERCARD:"hipercard"},d=[c.VISA,c.MASTERCARD,c.AMERICAN_EXPRESS,c.DINERS_CLUB,c.DISCOVER,c.JCB,c.UNIONPAY,c.MAESTRO,c.ELO,c.MIR,c.HIPER,c.HIPERCARD],f=s.clone(d);function p(e){return l[e]||i[e]}function h(e,t){void 0===t&&(t=!1);var n=f.indexOf(e);if(!t&&-1===n)throw Error('"'+e+'" is not a supported card type.');return n}function v(e){var t=[];if(!o.isValidInputType(e))return t;if(0===e.length)return f.map(function(e){return s.clone(p(e))});f.forEach(function(n){var r=p(n);a.addMatchingCardsToResults(e,r,t)});var n=u.findBestMatch(t);return n?[n]:t}v.getTypeInfo=function(e){return s.clone(p(e))},v.removeCard=function(e){var t=h(e);f.splice(t,1)},v.addCard=function(e){var t=h(e.type,!0);l[e.type]=e,-1===t&&f.push(e.type)},v.updateCard=function(e,t){var n=l[e]||i[e];if(!n)throw Error('"'+e+"\" is not a recognized type. Use `addCard` instead.'");if(t.type&&n.type!==t.type)throw Error("Cannot overwrite type parameter.");var a=s.clone(n);l[(a=r(r({},a),t)).type]=a},v.changeOrder=function(e,t){var n=h(e);f.splice(n,1),f.splice(t,0,e)},v.resetModifications=function(){f=s.clone(d),l={}},v.types=c,e.exports=v},55897:(e,t,n)=>{"use strict";n.d(t,{hO:()=>s,sG:()=>u});var r=n(12115),i=n(47650),a=n(42442),o=n(95155),u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,a.TL)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i?n:t,{...a,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function s(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},58661:(e,t)=>{"use strict";function n(e,t){return{isValid:e,isPotentiallyValid:t}}
1Object.defineProperty(t,"__esModule",{value:!0}),t.postalCode=void 0,t.postalCode=function(e,t){void 0===t&&(t={});var r=t.minLength||3;return"string"!=typeof e?n(!1,!1):e.length<r?n(!1,!0):n(!0,!0)}},59210:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cardholderName=void 0;var n=/^[\d\s-]*$/;function r(e,t){return{isValid:e,isPotentiallyValid:t}}t.cardholderName=function(e){return"string"!=typeof e?r(!1,!1):0===e.length?r(!1,!0):e.length>255?r(!1,!1):n.test(e)?r(!1,!0):r(!0,!0)}},66294:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(12115),i=globalThis?.document?r.useLayoutEffect:()=>{}},68599:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,q:()=>a});var r=n(12115),i=n(95155);function a(e,t){let n=r.createContext(t),a=e=>{let{children:t,...a}=e,o=r.useMemo(()=>a,Object.values(a));return(0,i.jsx)(n.Provider,{value:o,children:t})};return a.displayName=e+"Provider",[a,function(i){let a=r.useContext(n);if(a)return a;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function o(e,t=[]){let n=[],a=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return a.scopeName=e,[function(t,a){let o=r.createContext(a),u=n.length;n=[...n,a];let s=t=>{let{scope:n,children:a,...s}=t,l=n?.[e]?.[u]||o,c=r.useMemo(()=>s,Object.values(s));return(0,i.jsx)(l.Provider,{value:c,children:a})};return s.displayName=t+"Provider",[s,function(n,i){let s=i?.[e]?.[u]||o,l=r.useContext(s);if(l)return l;if(void 0!==a)return a;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(a,...t)]}},70379:(e,t,n)=>{"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{mK:()=>r}),"u">typeof window&&window.document&&window.document.createElement},71336:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseDate=void 0;var r=n(89623),i=n(28070);t.parseDate=function(e){if(/^\d{4}-\d{1,2}$/.test(e)?a=e.split("-").reverse():/\//.test(e)?a=e.split(/\s*\/\s*/g):/\s/.test(e)&&(a=e.split(/ +/g)),i.isArray(a))return{month:a[0]||"",year:a.slice(1).join()};var t,n,a,o=0===(n=Number(e[0]))?2:n>1||1===n&&Number(e[1])>2?1:1===n?(t=e.substr(1),r.expirationYear(t).isPotentiallyValid?1:2):5===e.length?1:e.length>5?2:1,u=e.substr(0,o);return{month:u,year:e.substr(u.length)}}},71501:(e,t,n)=>{"use strict";n.d(t,{Gi:()=>b,JV:()=>w,ag:()=>C});var r=n(12115);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function u(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}function s(e,t){void 0===t&&(t={});var n=document.createElement("script");return n.src=e,Object.keys(t).forEach(function(e){n.setAttribute(e,t[e]),"data-csp-nonce"===e&&n.setAttribute("nonce",t["data-csp-nonce"])}),n}function l(){if("u"<typeof Promise)throw Error("Promise is undefined. To resolve the issue, use a Promise polyfill.");return Promise}function c(e,t){if("object"!==i(e)||null===e)throw Error("Expected an options object.");if(void 0!==t&&"function"!=typeof t)throw Error("Expected PromisePonyfill to be a function.")}var d="initial",f="pending",p="rejected",h="resolved",v=(0,r.createContext)(null),g=(0,r.createContext)(null);function m(e,t){switch(t.type){case"setLoadingStatus":return{options:a({},e.options),loadingStatus:t.value};case"resetOptions":var n,r;return n=e.options["data-react-paypal-script-id"],null!==(r=document.querySelector('script[data-react-paypal-script-id="'+n+'"]'))&&r.parentNode&&r.parentNode.removeChild(r),{loadingStatus:f,options:a(a({},t.value),{"data-react-paypal-script-id":""+y()})};default:return e}}function y(){return"react-paypal-js-"+Math.random().toString(36).substring(7)}function b(){var e=(0,r.useContext)(v),t=(0,r.useContext)(g);if(null===e||null===t)throw Error("usePayPalScriptReducer must be used within a PayPalScriptProvider");var n=e.loadingStatus,i=o(e,["loadingStatus"]);return[a(a({},i),{isInitial:n===d,isPending:n===f,isResolved:n===h,isRejected:n===p}),t]}var C=function(e){var t=e.options,n=e.children,o=e.deferLoading,u=void 0!==o&&o,b={options:a(a({},t),{"data-react-paypal-script-id":""+y()}),loadingStatus:u?d:f},C=(0,r.useReducer)(m,b),E=C[0],w=C[1];return(0,r.useEffect)(function(){if(!1===u&&E.loadingStatus===d)return w({type:"setLoadingStatus",value:f});if(E.loadingStatus===f){var e=!0;return(function(e,t){if(void 0===t&&(t=l()),c(e,t),"u"<typeof window)return t.resolve(null);var n,r,a,o,u,d,f,p,h,v,g,m,y=(p="https://www.paypal.com/sdk/js",e.sdkBaseURL&&(p=e.sdkBaseURL,delete e.sdkBaseURL),n=e["merchant-id"],r=e["data-merchant-id"],a="",o="",Array.isArray(n)?n.length>1?(a="*",o=n.toString()):a=n.toString():"string"==typeof n&&n.length>0?a=n:"string"==typeof r&&r.length>0&&(a="*",o=r),g=(v=Object.keys(h=Object.assign({},e,{"merchant-id":a,"data-merchant-id":o})).filter(function(e){return void 0!==h[e]&&null!==h[e]&&""!==h[e]}).reduce(function(e,t){var n=h[t].toString();return"data-"===t.substring(0,5)?e.dataAttributes[t]=n:e.queryParams[t]=n,e},{queryParams:{},dataAttributes:{}})).queryParams,m=v.dataAttributes,{url:p+"?"+(d="",Object.keys(u=g).forEach(function(e){0!==d.length&&(d+="&"),d+=e+"="+u[e]}),d),dataAttributes:m}),b=y.url,C=y.dataAttributes,E=C["data-namespace"]||"paypal",w=(f=E,window[f]);return function(e,t){var n=document.querySelector('script[src="'+e+'"]');if(null===n)return null;var r=s(e,t),i=Object.assign({},n.dataset);if(delete i.uidAuto,Object.keys(i).length!==Object.keys(r.dataset).length)return null;var a=!0;
1return Object.keys(i).forEach(function(e){i[e]!==r.dataset[e]&&(a=!1)}),a?n:null}(b,C)&&w?t.resolve(w):(function(e,t){void 0===t&&(t=l()),c(e,t);var n=e.url,r=e.attributes;if("string"!=typeof n||0===n.length)throw Error("Invalid url.");if(void 0!==r&&"object"!==i(r))throw Error("Expected attributes to be an object.");return new t(function(e,t){var i,a,o,u,l,c;if("u"<typeof window)return e();a=(i={url:n,attributes:r,onSuccess:function(){return e()},onError:function(){return t(Error('The script "'+n+'" failed to load.'))}}).url,o=i.attributes,u=i.onSuccess,l=i.onError,(c=s(a,o)).onerror=l,c.onload=u,document.head.insertBefore(c,document.head.firstElementChild)})})({url:b,attributes:C},t).then(function(){var e,t=(e=E,window[e]);if(t)return t;throw Error("The window."+E+" global variable is not available.")})})(E.options).then(function(){e&&w({type:"setLoadingStatus",value:h})}).catch(function(){e&&w({type:"setLoadingStatus",value:p})}),function(){e=!1}}},[t,u,E.loadingStatus]),r.createElement(v.Provider,{value:E},r.createElement(g.Provider,{value:w},n))},E="paypal",w=function(e){var t=e.className,n=e.disabled,i=void 0!==n&&n,s=e.children,l=e.forceReRender,c=o(e,["className","disabled","children","forceReRender"]),d=(0,r.useRef)(null),f=(0,r.useRef)(null),p=b()[0],h=p.isResolved,v=p.options,g=(0,r.useState)(null),m=g[0],y=g[1],C=(0,r.useState)(!0),w=C[0],S=C[1],N=(0,r.useState)(null)[1];function P(){null!==f.current&&f.current.close().catch(function(){})}(0,r.useEffect)(function(){if(!1===h)return P;var e,t=(void 0===(e=v["data-namespace"])&&(e=E),window[e]);return void 0===t||void 0===t.Buttons?N(function(){var e,t,n,r,i;throw Error((n=void 0===(t=(e=v).components)?"":t,i="Unable to render <PayPalButtons /> because window."+(void 0===(r=e["data-namespace"])?E:r)+".Buttons is undefined.",n.length&&!n.includes("buttons")&&(i+="\nTo fix the issue, add 'buttons' to the list of components passed to the parent PayPalScriptProvider:\n`<PayPalScriptProvider options={{ components: '"+n+",buttons'}}>`."),i))}):(f.current=t.Buttons(a(a({},c),{onInit:function(e,t){y(t),"function"==typeof c.onInit&&c.onInit(e,t)}})),!1===f.current.isEligible())?S(!1):null===d.current||f.current.render(d.current).catch(function(e){null!==d.current&&0!==d.current.children.length&&N(function(){throw Error("Failed to render <PayPalButtons /> component. "+e)})}),P},u(u([h],void 0===l?[]:l),[c.fundingSource])),(0,r.useEffect)(function(){null!==m&&(!0===i?m.disable().catch(function(){}):m.enable().catch(function(){}))},[i,m]);var O=((void 0===t?"":t)+" "+(i?"paypal-buttons-disabled":"")).trim();return!1===w?void 0===s?null:s:r.createElement("div",{ref:d,style:i?{opacity:.33}:{},className:O})}},71571:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clone=void 0,t.clone=function(e){return e?JSON.parse(JSON.stringify(e)):null}},73164:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidInputType=void 0,t.isValidInputType=function(e){return"string"==typeof e||e instanceof String}},76178:function(e,t,n){(function(){var t,r,i,a,o,u,s,l,c,d,f,p,h,v,g,m,y,b,C,E,w,S,N,P,O,_=[].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return -1};g=n(4004)(),r=n(53177),o=[{type:"amex",pattern:/^3[47]/,format:/(\d{1,4})(\d{1,6})?(\d{1,5})?/,length:[15],cvcLength:[4],luhn:!0},{type:"dankort",pattern:/^5019/,format:s=/(\d{1,4})/g,length:[16],cvcLength:[3],luhn:!0},{type:"dinersclub",pattern:/^(36|38|30[0-5])/,format:/(\d{1,4})(\d{1,6})?(\d{1,4})?/,length:[14],cvcLength:[3],luhn:!0},{type:"discover",pattern:/^(6011|65|64[4-9]|622)/,format:s,length:[16],cvcLength:[3],luhn:!0},{type:"elo",pattern:/^401178|^401179|^431274|^438935|^451416|^457393|^457631|^457632|^504175|^627780|^636297|^636369|^636368|^(506699|5067[0-6]\d|50677[0-8])|^(50900\d|5090[1-9]\d|509[1-9]\d{2})|^65003[1-3]|^(65003[5-9]|65004\d|65005[0-1])|^(65040[5-9]|6504[1-3]\d)|^(65048[5-9]|65049\d|6505[0-2]\d|65053[0-8])|^(65054[1-9]|6505[5-8]\d|65059[0-8])|^(65070\d|65071[0-8])|^65072[0-7]|^(65090[1-9]|65091\d|650920)|^(65165[2-9]|6516[6-7]\d)|^(65500\d|65501\d)|^(65502[1-9]|6550[3-4]\d|65505[0-8])|^(65092[1-9]|65097[0-8])/,format:s,length:[16],cvcLength:[3],luhn:!0},{type:"hipercard",pattern:/^(384100|384140|384160|606282|637095|637568|60(?!11))/,format:s,length:[14,15,16,17,18,19],cvcLength:[3],luhn:!0},{type:"jcb",pattern:/^(308[8-9]|309[0-3]|3094[0]{4}|309[6-9]|310[0-2]|311[2-9]|3120|315[8-9]|333[7-9]|334[0-9]|35)/,format:s,length:[16,19],cvcLength:[3],luhn:!0},{type:"laser",pattern:/^(6706|6771|6709)/,format:s,length:[16,17,18,19],cvcLength:[3],luhn:!0},{type:"maestro",pattern:/^(50|5[6-9]|6007|6220|6304|6703|6708|6759|676[1-3])/,format:s,length:[12,13,14,15,16,17,18,19],cvcLength:[3],luhn:!0},{type:"mastercard",pattern:/^(5[1-5]|677189)|^(22[2-9][1-9]|2[3-6]\d{2}|27[0-1]\d|2720)/,format:s,length:[16],cvcLength:[3],luhn:!0},{type:"mir",pattern:/^220[0-4][0-9][0-9]\d{10}$/,format:s,length:[16],cvcLength:[3],luhn:!0},{type:"troy",pattern:/^9792/,format:s,length:[16],cvcLength:[3],luhn:!0},{type:"unionpay",pattern:/^62/,format:s,length:[16,17,18,19],cvcLength:[3],luhn:!1}
1,{type:"visaelectron",pattern:/^4(026|17500|405|508|844|91[37])/,format:s,length:[16],cvcLength:[3],luhn:!0},{type:"visa",pattern:/^4/,format:s,length:[13,16],cvcLength:[3],luhn:!0}],i=function(e){var t,n,r,i,a;for(r=0,e=(e+"").replace(/\D/g,""),n=void 0,i=o.length;r<i;r++)t=o[r],(a=e.match(t.pattern))&&(!n||a[0].length>n[1][0].length)&&(n=[t,a]);return n&&n[0]},a=function(e){var t,n,r;for(n=0,r=o.length;n<r;n++)if((t=o[n]).type===e)return t},y=function(e){var t,n,r,i,a,o;for(r=0,a=!0,o=0,i=(n=(e+"").split("").reverse()).length;r<i;r++)t=parseInt(t=n[r],10),(a=!a)&&(t*=2),t>9&&(t-=9),o+=t;return o%10==0},m=function(e){var t;try{if(null!=e.selectionStart&&e.selectionStart!==e.selectionEnd||("u">typeof document&&null!==document&&null!=(t=document.selection)?t.createRange:void 0)!=null&&document.selection.createRange().text)return!0}catch(e){}return!1},b=function(e){return setTimeout(function(){var n,i;return n=e.target,i=r.val(n),i=t.fns.formatCardNumber(i),u(n,i),r.trigger(n,"change")})},d=function(e){return function(t){var n,a,o,u,s,l,c,d,f,p,h;if(t.which>0?(a=String.fromCharCode(t.which),h=r.val(t.target)+a):(a=t.data,h=r.val(t.target)),/^\d+$/.test(a)){for(d=t.target,n=i(h),l=h.replace(/\D/g,"").length,p=[16],n&&(p=n.length),e&&(p=p.filter(function(t){return t<=e})),o=u=0,s=p.length;u<s;o=++u)if((!(l>=(f=p[o]))||!p[o+1])&&l>=f)return;if(!m(d)&&(c=n&&"amex"===n.type?/^(\d{4}|\d{4}\s\d{6})$/:/(?:^|\s)(\d{4})$/,h=h.substring(0,h.length-1),c.test(h)))return t.preventDefault(),r.val(d,h+" "+a),r.trigger(d,"change")}}},l=function(e){var t,n;if((t=e.target,n=r.val(t),!e.meta&&8===e.which)&&!m(t)){if(/\d\s$/.test(n))return e.preventDefault(),r.val(t,n.replace(/\d\s$/,"")),r.trigger(t,"change");else if(/\s\d?$/.test(n))return e.preventDefault(),r.val(t,n.replace(/\s\d?$/,"")),r.trigger(t,"change")}},f=function(e){var t,n,i;if(n=e.target,e.which>0?(t=String.fromCharCode(e.which),i=r.val(n)+t):(t=e.data,i=r.val(n)),/^\d+$/.test(t)){if(/^\d$/.test(i)&&"0"!==i&&"1"!==i)return e.preventDefault(),r.val(n,"0"+i+" / "),r.trigger(n,"change");else if(/^\d\d$/.test(i))return e.preventDefault(),r.val(n,i+" / "),r.trigger(n,"change")}},v=function(e){var t,n,i;if(t=String.fromCharCode(e.which),/^\d+$/.test(t)){if(n=e.target,i=r.val(n)+t,/^\d$/.test(i)&&"0"!==i&&"1"!==i)return e.preventDefault(),r.val(n,"0"+i),r.trigger(n,"change");if(/^\d\d$/.test(i))return e.preventDefault(),r.val(n,""+i),r.trigger(n,"change")}},p=function(e){var t,n,i;if(t=String.fromCharCode(e.which),/^\d+$/.test(t)&&(n=e.target,i=r.val(n),/^\d\d$/.test(i)))return r.val(n,i+" / "),r.trigger(n,"change")},h=function(e){var t,n;if("/"===String.fromCharCode(e.which)&&(t=e.target,n=r.val(t),/^\d$/.test(n)&&"0"!==n))return r.val(t,"0"+n+" / "),r.trigger(t,"change")},c=function(e){var t,n;if(!e.metaKey){if((t=e.target,n=r.val(t),8===e.which)&&!m(t)){if(/\d(\s|\/)+$/.test(n))return e.preventDefault(),r.val(t,n.replace(/\d(\s|\/)*$/,"")),r.trigger(t,"change");else if(/\s\/\s?\d?$/.test(n))return e.preventDefault(),r.val(t,n.replace(/\s\/\s?\d?$/,"")),r.trigger(t,"change")}}},N=function(e){var t;return!!e.metaKey||!!e.ctrlKey||(32===e.which?e.preventDefault():0===e.which||e.which<33||((t=String.fromCharCode(e.which),/[\d\s]/.test(t))?void 0:e.preventDefault()))},w=function(e,t){var n,i;if((i=e.target,n=String.fromCharCode(e.which),/^\d+$/.test(n))&&!m(i)&&(r.val(i)+n).replace(/\D/g,"").length>t)return e.preventDefault()},E=function(e){return w(e,6)},S=function(e){return w(e,2)},P=function(e){return w(e,4)},C=function(e){var t,n;if((n=e.target,t=String.fromCharCode(e.which),/^\d+$/.test(t))&&!m(n)&&!((r.val(n)+t).length<=4))return e.preventDefault()},O=function(e){var n,i,a,u,s;if(u=e.target,s=r.val(u),a=t.fns.cardType(s)||"unknown",!r.hasClass(u,a))return n=function(){var e,t,n;for(e=0,n=[],t=o.length;e<t;e++)i=o[e],n.push(i.type);return n}(),r.removeClass(u,"unknown"),r.removeClass(u,n.join(" ")),r.addClass(u,a),r.toggleClass(u,"identified","unknown"!==a),r.trigger(u,"payment.cardType",a)},u=function(e,t){var n;if(n=e.selectionEnd,r.val(e,t),n)return e.selectionEnd=n},e.exports=t=function(){function e(){}return e.J=r,e.fns={cardExpiryVal:function(e){var t,n,r;return t=(n=(e=e.replace(/\s/g,"")).split("/",2))[0],(null!=(r=n[1])?r.length:void 0)===2&&/^\d+$/.test(r)&&(r=(new Date).getFullYear().toString().slice(0,2)+r),{month:t=parseInt(t,10),year:r=parseInt(r,10)}},validateCardNumber:function(e){var t,n;return e=(e+"").replace(/\s+|-/g,""),!!/^\d+$/.test(e)&&!!(t=i(e))&&(n=e.length,_.call(t.length,n)>=0&&(!1===t.luhn||y(e)))},validateCardExpiry:function(t,n){var i,a,o,u;return"object"==typeof t&&"month"in t?(t=(o=t).month,n=o.year):"string"==typeof t&&_.call(t,"/")>=0&&(t=(u=e.fns.cardExpiryVal(t)).month,n=u.year),!!(t&&n)&&(t=r.trim(t),n=r.trim(n),!!/^\d+$/.test(t)&&!!/^\d+$/.test(n)&&!!((t=parseInt(t,10))&&t<=12)&&(2===n.length&&(n=(new Date).getFullYear().toString().slice(0,2)+n),a=new Date(n,t),i=new Date,a.setMonth(a.getMonth()-1),a.setMonth(a.getMonth()+1,
11),a>i))},validateCardCVC:function(e,t){var n,i;return e=r.trim(e),!!/^\d+$/.test(e)&&(t&&a(t)?(n=e.length,_.call(null!=(i=a(t))?i.cvcLength:void 0,n)>=0):e.length>=3&&e.length<=4)},cardType:function(e){var t;return e&&(null!=(t=i(e))?t.type:void 0)||null},formatCardNumber:function(e){var t,n,r,a;return(t=i(e))?(a=t.length[t.length.length-1],e=(e=e.replace(/\D/g,"")).slice(0,a),t.format.global)?null!=(r=e.match(t.format))?r.join(" "):void 0:null!=(n=t.format.exec(e))?(n.shift(),(n=n.filter(function(e){return e})).join(" ")):void 0:e}},e.restrictNumeric=function(e){return r.on(e,"keypress",N),r.on(e,"input",N)},e.cardExpiryVal=function(t){return e.fns.cardExpiryVal(r.val(t))},e.formatCardCVC=function(t){return e.restrictNumeric(t),r.on(t,"keypress",C),r.on(t,"input",C),t},e.formatCardExpiry=function(t){var n,i;return e.restrictNumeric(t),t.length&&2===t.length?(n=t[0],i=t[1],this.formatCardExpiryMultiple(n,i)):(r.on(t,"keypress",E),r.on(t,"keypress",f),r.on(t,"keypress",h),r.on(t,"keypress",p),r.on(t,"keydown",c),r.on(t,"input",f)),t},e.formatCardExpiryMultiple=function(e,t){return r.on(e,"keypress",S),r.on(e,"keypress",v),r.on(e,"input",v),r.on(t,"keypress",P),r.on(t,"input",P)},e.formatCardNumber=function(t,n){return e.restrictNumeric(t),r.on(t,"keypress",function(e){var t,a,o,u,s;if((u=e.target,a=String.fromCharCode(e.which),/^\d+$/.test(a))&&!m(u)&&(t=i(s=(r.val(u)+a).replace(/\D/g,"")),o=16,t&&(o=t.length[t.length.length-1]),n&&(o=Math.min(o,n)),!(s.length<=o)))return e.preventDefault()}),r.on(t,"keypress",d(n)),r.on(t,"keydown",l),r.on(t,"keyup blur",O),r.on(t,"blur",d(n)),r.on(t,"paste",b),r.on(t,"input",d(n)),t},e.getCardArray=function(){return o},e.setCardArray=function(e){return o=e,!0},e.addToCardArray=function(e){return o.push(e)},e.removeFromCardArray=function(e){var t;for(t in o)o[t].type===e&&o.splice(t,1);return!0},e}(),g.Payment=t}).call(this)},79599:(e,t)=>{"use strict";function n(e,t,n){return{isValid:e,isPotentiallyValid:t,isValidForThisYear:n||!1}}Object.defineProperty(t,"__esModule",{value:!0}),t.expirationMonth=void 0,t.expirationMonth=function(e){var t=new Date().getMonth()+1;if("string"!=typeof e)return n(!1,!1);if(""===e.replace(/\s/g,"")||"0"===e)return n(!1,!0);if(!/^\d*$/.test(e))return n(!1,!1);var r=parseInt(e,10);if(isNaN(Number(e)))return n(!1,!1);var i=r>0&&r<13;return n(i,i,i&&r>=t)}},82959:(e,t)=>{"use strict";function n(e,t){return{isValid:e,isPotentiallyValid:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.cvv=void 0,t.cvv=function(e,t){return(void 0===t&&(t=3),t=t instanceof Array?t:[t],"string"==typeof e&&/^\d*$/.test(e))?!function(e,t){for(var n=0;n<e.length;n++)if(t===e[n])return!0;return!1}(t,e.length)?e.length<Math.min.apply(null,t)?n(!1,!0):e.length>function(e){for(var t=3,n=0;n<e.length;n++)t=e[n]>t?e[n]:t;return t}(t)?n(!1,!1):n(!0,!0):n(!0,!0):n(!1,!1)}},83935:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(12115),i=n(47527),a=n(66294),o=e=>{var t;let n,o,{present:s,children:l}=e,c=function(e){var t,n;let[i,o]=r.useState(),s=r.useRef(null),l=r.useRef(e),c=r.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>n[e][t]??e,t));return r.useEffect(()=>{let e=u(s.current);c.current="mounted"===d?e:"none"},[d]),(0,a.N)(()=>{let t=s.current,n=l.current;if(n!==e){let r=c.current,i=u(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):n&&r!==i?f("ANIMATION_OUT"):f("UNMOUNT"),l.current=e}},[e,f]),(0,a.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,n=n=>{let r=u(s.current).includes(CSS.escape(n.animationName));if(n.target===i&&r&&(f("ANIMATION_END"),!l.current)){let n=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=n)})}},r=e=>{e.target===i&&(c.current=u(s.current))};return i.addEventListener("animationstart",r),i.addEventListener("animationcancel",n),i.addEventListener("animationend",n),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",r),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",n)}}f("ANIMATION_END")},[i,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{s.current=e?getComputedStyle(e):null,o(e)},[])}}(s),d="function"==typeof l?l({present:c.isPresent}):r.Children.only(l),f=(0,i.s)(c.ref,(t=d,(o=(n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.ref:(o=(n=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof l||c.isPresent?r.cloneElement(d,{ref:f}):null};function u(e){return e?.animationName||"none"}o.displayName="Presence"},85518:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};
1Object.defineProperty(t,"__esModule",{value:!0}),t.expirationDate=void 0;var i=n(71336),a=n(79599),o=n(89623);function u(e,t,n,r){return{isValid:e,isPotentiallyValid:t,month:n,year:r}}t.expirationDate=function(e,t){if("string"==typeof e)e=e.replace(/^(\d\d) (\d\d(\d\d)?)$/,"$1/$2"),n=i.parseDate(String(e));else{if(null===e||"object"!=typeof e)return u(!1,!1,null,null);var n,s=r({},e);n={month:String(s.month),year:String(s.year)}}var l=a.expirationMonth(n.month),c=o.expirationYear(n.year,t);if(l.isValid){if(c.isCurrentYear){var d=l.isValidForThisYear;return u(d,d,n.month,n.year)}if(c.isValid)return u(!0,!0,n.month,n.year)}return l.isPotentiallyValid&&c.isPotentiallyValid?u(!1,!0,null,null):u(!1,!1,null,null)}},88071:e=>{"use strict";e.exports=function(e){for(var t,n=0,r=!1,i=e.length-1;i>=0;)t=parseInt(e.charAt(i),10),r&&(t*=2)>9&&(t=t%10+1),r=!r,n+=t,i--;return n%10==0}},89623:(e,t)=>{"use strict";function n(e,t,n){return{isValid:e,isPotentiallyValid:t,isCurrentYear:n||!1}}Object.defineProperty(t,"__esModule",{value:!0}),t.expirationYear=void 0,t.expirationYear=function(e,t){if(void 0===t&&(t=19),"string"!=typeof e)return n(!1,!1);if(""===e.replace(/\s/g,""))return n(!1,!0);if(!/^\d*$/.test(e))return n(!1,!1);var r,i=e.length;if(i<2)return n(!1,!0);var a=new Date().getFullYear();if(3===i)return n(!1,e.slice(0,2)===String(a).slice(0,2));if(i>4)return n(!1,!1);var o=parseInt(e,10),u=Number(String(a).substr(2,2)),s=!1;if(2===i){if(String(a).substr(0,2)===e)return n(!1,!0);r=u===o,s=o>=u&&o<=u+t}else 4===i&&(r=a===o,s=o>=a&&o<=a+t);return n(s,s,r)}},92298:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findBestMatch=void 0,t.findBestMatch=function(e){var t;return(t=e.filter(function(e){return e.matchStrength}).length)>0&&t===e.length?e.reduce(function(e,t){return!e||Number(e.matchStrength)<Number(t.matchStrength)?t:e}):null}},98956:e=>{"use strict";e.exports={visa:{niceType:"Visa",type:"visa",patterns:[4],gaps:[4,8,12],lengths:[16,18,19],code:{name:"CVV",size:3}},mastercard:{niceType:"Mastercard",type:"mastercard",patterns:[[51,55],[2221,2229],[223,229],[23,26],[270,271],2720],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},"american-express":{niceType:"American Express",type:"american-express",patterns:[34,37],gaps:[4,10],lengths:[15],code:{name:"CID",size:4}},"diners-club":{niceType:"Diners Club",type:"diners-club",patterns:[[300,305],36,38,39],gaps:[4,10],lengths:[14,16,19],code:{name:"CVV",size:3}},discover:{niceType:"Discover",type:"discover",patterns:[6011,[644,649],65],gaps:[4,8,12],lengths:[16,19],code:{name:"CID",size:3}},jcb:{niceType:"JCB",type:"jcb",patterns:[2131,1800,[3528,3589]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVV",size:3}},unionpay:{niceType:"UnionPay",type:"unionpay",patterns:[620,[624,626],[62100,62182],[62184,62187],[62185,62197],[62200,62205],[622010,622999],622018,[622019,622999],[62207,62209],[622126,622925],[623,626],6270,6272,6276,[627700,627779],[627781,627799],[6282,6289],6291,6292,810,[8110,8131],[8132,8151],[8152,8163],[8164,8171]],gaps:[4,8,12],lengths:[14,15,16,17,18,19],code:{name:"CVN",size:3}},maestro:{niceType:"Maestro",type:"maestro",patterns:[493698,[5e5,504174],[504176,506698],[506779,508999],[56,59],63,67,6],gaps:[4,8,12],lengths:[12,13,14,15,16,17,18,19],code:{name:"CVC",size:3}},elo:{niceType:"Elo",type:"elo",patterns:[401178,401179,438935,457631,457632,431274,451416,457393,504175,[506699,506778],[509e3,509999],627780,636297,636368,[650031,650033],[650035,650051],[650405,650439],[650485,650538],[650541,650598],[650700,650718],[650720,650727],[650901,650978],[651652,651679],[655e3,655019],[655021,655058]],gaps:[4,8,12],lengths:[16],code:{name:"CVE",size:3}},mir:{niceType:"Mir",type:"mir",patterns:[[2200,2204]],gaps:[4,8,12],lengths:[16,17,18,19],code:{name:"CVP2",size:3}},hiper:{niceType:"Hiper",type:"hiper",patterns:[637095,0x3cc8e4f,0x3cca57e,637568,637599,637609,637612],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}},hipercard:{niceType:"Hipercard",type:"hipercard",patterns:[606282],gaps:[4,8,12],lengths:[16],code:{name:"CVC",size:3}}}},98979:(e,t,n)=>{"use strict";n.d(t,{i:()=>u});var r,i=n(12115),a=n(66294),o=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||a.N;function u({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[a,s,l]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),a=i.useRef(n),u=i.useRef(t);return o(()=>{u.current=t},[t]),i.useEffect(()=>{a.current!==n&&(u.current?.(n),a.current=n)},[n,a]),[n,r,u]}({defaultProp:t,onChange:n}),c=void 0!==e,d=c?e:a;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,r])}return[d,i.useCallback(t=>{if(c){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else s(t)},[c,e,s,l])]}Symbol("RADIX:SYNC_STATE")}}]);

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.