PageSourceSearch

https://eu.phrase.com/idm-ui/_nuxt/useValidate-d4438d0.js

js phrase.com collected 2026-09-24 15:18:14 UTC 1,909 bytes, 1 lines download raw bytes

1import{a as e}from"./nuxt-d4438d0.js";import"./consts-d4438d0.js";import{r as t}from"./index.esm-d4438d0.js";var n=`form.validation.required`,r=/^[\p{Alphabetic}\p{Mn}\p{Mc} '\-–’]+$/u,i=/^[ ()\p{L}\p{N}/@+._\-\\]+$/u,a=/^(?:[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[A-Za-z0-9-]*[A-Za-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])(?!\.)$/,o=e=>r.test(e),s=e=>a.test(e),c=e=>/^\d+$/.test(e),l=e=>/\d/.test(e),u=e=>/[a-z]/.test(e)&&/[A-Z]/.test(e),d=e=>i.test(e),f=()=>{let{$i18n:{t:r}}=e(),i=r(n),a=({fieldSchema:e,value:t})=>e().when([],()=>t?e().required(i):e().notRequired()),l=({fieldSchema:e,field:t,is:n})=>e().when(t,{is:n,then:e=>e.required(i),otherwise:e=>e.notRequired()}),u=e=>e().required(i),d=t().required(i);return{checkIfRequired:a,checkWhenRequired:l,requiredSchema:u,requiredString:d,requiredMessage:i,firstNameValidation:d.max(40,r(`form.validation.max_length`,{number:40})).test(`specialCharactersFirstLastName`,r(`form.validation.unsupported_chars`),o),lastNameValidation:d.max(80,r(`form.validation.max_length`,{number:80})).test(`specialCharactersFirstLastName`,r(`form.validation.unsupported_chars`),o),organizationNameValidation:d.min(2,r(`form.validation.min_length`,{number:2})).max(255,r(`form.validation.max_length`,{number:255})),emailValidation:d.test(`emailCharacters`,r(`form.validation.email`),s),validateTwoFactorCode:e=>e?d.max(6,r(`form.validation.max_length`,{number:6})).test(`numericString`,r(`form.validation.numeric`),c):t(),isBlank:e=>e==null||typeof e==`string`&&e.trim()===``}};
1export{d as i,l as n,u as r,f 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.