PageSourceSearch

https://assets.talentio.com/assets/packs/js/i18n-js-BV2-JP8H.chunk.js

js talentio.com collected 2026-10-03 20:20:26 UTC 10,303 bytes, 1 lines download raw bytes

1import{g as W}from"./react-BLOEcW7y.chunk.js";var b={exports:{}},J=b.exports,N;function Z(){return N||(N=1,(function(k){(function(p,n){k.exports?k.exports=n(p):p.I18n=n(p)})(J,function(p){var n=p&&p.I18n||{},E=Array.prototype.slice,o=function(r){return("0"+r.toString()).substr(-2)},F=function(r,e){return I("round",r,-e).toFixed(e)},d=function(r){var e=typeof r;return e==="function"||e==="object"},T=function(r){var e=typeof r;return e==="function"},f=function(r){return typeof r<"u"&&r!==null},g=function(r){return Array.isArray?Array.isArray(r):Object.prototype.toString.call(r)==="[object Array]"},x=function(r){return typeof r=="string"||Object.prototype.toString.call(r)==="[object String]"},P=function(r){return typeof r=="number"||Object.prototype.toString.call(r)==="[object Number]"},j=function(r){return r===!0||r===!1},R=function(r){return r===null},I=function(r,e,t){return typeof t>"u"||+t==0?Math[r](e):(e=+e,t=+t,isNaN(e)||!(typeof t=="number"&&t%1===0)?NaN:(e=e.toString().split("e"),e=Math[r](+(e[0]+"e"+(e[1]?+e[1]-t:-t))),e=e.toString().split("e"),+(e[0]+"e"+(e[1]?+e[1]+t:t))))},z=function(r,e){return T(r)?r(e):r},_=function(r,e){var t,i;for(t in e)e.hasOwnProperty(t)&&(i=e[t],x(i)||P(i)||j(i)||g(i)||R(i)?r[t]=i:(r[t]==null&&(r[t]={}),_(r[t],i)));return r},O={day_names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbr_day_names:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],month_names:[null,"January","February","March","April","May","June","July","August","September","October","November","December"],abbr_month_names:[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],meridian:["AM","PM"]},$={precision:3,separator:".",delimiter:",",strip_insignificant_zeros:!1},L={unit:"$",precision:2,format:"%u%n",sign_first:!0,delimiter:",",separator:"."},C={unit:"%",precision:3,format:"%n%u",separator:".",delimiter:""},V=[null,"kb","mb","gb","tb"],y={defaultLocale:"en",locale:"en",defaultSeparator:".",placeholder:/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,fallbacks:!1,translations:{},missingBehaviour:"message",missingTranslationPrefix:""};return n.reset=function(){var r;for(r in y)this[r]=y[r]},n.initializeOptions=function(){var r;for(r in y)f(this[r])||(this[r]=y[r])},n.initializeOptions(),n.locales={},n.locales.get=function(r){var e=this[r]||this[n.locale]||this.default;return T(e)&&(e=e(r)),g(e)===!1&&(e=[e]),e},n.locales.default=function(r){var e=[],t=[];return r&&e.push(r),!r&&n.locale&&e.push(n.locale),n.fallbacks&&n.defaultLocale&&e.push(n.defaultLocale),e.forEach(function(i){var a=i.split("-"),u=null,l=null;a.length===3?(u=[a[0],a[1]].join("-"),l=a[0]):a.length===2&&(u=a[0]),t.indexOf(i)===-1&&t.push(i),n.fallbacks&&[u,l].forEach(function(s){typeof s>"u"||s!==null&&s!==i&&t.indexOf(s)===-1&&t.push(s)})}),e.length||e.push("en"),t},n.pluralization={},n.pluralization.get=function(r){return this[r]||this[n.locale]||this.default},n.pluralization.default=function(r){switch(r){case 0:return["zero","other"];case 1:return["one"];default:return["other"]}},n.currentLocale=function(){return this.locale||this.defaultLocale},n.isSet=f,n.lookup=function(r,e){e=e||{};var t=this.locales.get(e.locale).slice(),i,a,u,l;for(u=this.getFullScope(r,e);t.length;)if(i=t.shift(),a=u.split(this.defaultSeparator),l=this.translations[i],!!l){for(;a.length&&(l=l[a.shift()],l!=null););if(l!=null)return l}if(f(e.defaultValue))return z(e.defaultValue,r)},n.pluralizationLookupWithoutFallback=function(r,e,t){var i=this.pluralization.get(e),a=i(r),u,l;if(d(t)){for(;a.length;)if(u=a.shift(),f(t[u])){l=t[u];break}}return l},n.pluralizationLookup=function(r,e,t){t=t||{};var i=this.locales.get(t.locale).slice(),a,u,l,s;for(e=this.getFullScope(e,t);i.length;)if(a=i.shift(),u=e.split(this.defaultSeparator),l=this.translations[a],!!l){for(;u.length&&(l=l[u.shift()],!!d(l));)u.length===0&&(s=this.pluralizationLookupWithoutFallback(r,a,l));if(typeof s<"u"&&s!==null)break}return(typeof s>"u"||s===null)&&f(t.defaultValue)&&(d(t.defaultValue)?s=this.pluralizationLookupWithoutFallback(r,t.locale,t.defaultValue):s=t.defaultValue,l=t.defaultValue),{message:s,translations:l}},n.meridian=function(){var r=this.lookup("time"),e=this.lookup("date");
1return r&&r.am&&r.pm?[r.am,r.pm]:e&&e.meridian?e.meridian:O.meridian},n.prepareOptions=function(){for(var r=E.call(arguments),e={},t;r.length;)if(t=r.shift(),typeof t=="object")for(var i in t)t.hasOwnProperty(i)&&(f(e[i])||(e[i]=t[i]));return e},n.createTranslationOptions=function(r,e){var t=[{scope:r}];return f(e.defaults)&&(t=t.concat(e.defaults)),f(e.defaultValue)&&t.push({message:e.defaultValue}),t},n.translate=function(r,e){e=e||{};var t=this.createTranslationOptions(r,e),i,a=r,u=this.prepareOptions(e);delete u.defaultValue;var l=t.some(function(s){if(f(s.scope)?(a=s.scope,i=this.lookup(a,u)):f(s.message)&&(i=z(s.message,r)),i!=null)return!0},this);return l?(typeof i=="string"?i=this.interpolate(i,e):g(i)?i=i.map(function(s){return typeof s=="string"?this.interpolate(s,e):s},this):d(i)&&f(e.count)&&(i=this.pluralize(e.count,a,e)),i):this.missingTranslation(r,e)},n.interpolate=function(r,e){if(r==null)return r;e=e||{};var t=r.match(this.placeholder),i,a,u,l;if(!t)return r;for(;t.length;)i=t.shift(),u=i.replace(this.placeholder,"$1"),f(e[u])?a=e[u].toString().replace(/\$/gm,"_#$#_"):u in e?a=this.nullPlaceholder(i,r,e):a=this.missingPlaceholder(i,r,e),l=new RegExp(i.replace(/{/gm,"\\{").replace(/}/gm,"\\}")),r=r.replace(l,a);return r.replace(/_#\$#_/g,"$")},n.pluralize=function(r,e,t){t=this.prepareOptions({count:String(r)},t);var i,a;return a=this.pluralizationLookup(r,e,t),typeof a.translations>"u"||a.translations==null?this.missingTranslation(e,t):typeof a.message<"u"&&a.message!=null?this.interpolate(a.message,t):(i=this.pluralization.get(t.locale),this.missingTranslation(e+"."+i(r)[0],t))},n.missingTranslation=function(r,e){if(this.missingBehaviour==="guess"){var t=r.split(".").slice(-1)[0];return(this.missingTranslationPrefix.length>0?this.missingTranslationPrefix:"")+t.replace("_"," ").replace(/([a-z])([A-Z])/g,function(l,s,c){return s+" "+c.toLowerCase()})}var i=e!=null&&e.locale!=null?e.locale:this.currentLocale(),a=this.getFullScope(r,e),u=[i,a].join(this.defaultSeparator);return'[missing "'+u+'" translation]'},n.missingPlaceholder=function(r,e,t){return"[missing "+r+" value]"},n.nullPlaceholder=function(){return n.missingPlaceholder.apply(n,arguments)},n.toNumber=function(r,e){e=this.prepareOptions(e,this.lookup("number.format"),$);var t=r<0,i=F(Math.abs(r),e.precision).toString(),a=i.split("."),u,l=[],s,c=e.format||"%n",h=t?"-":"";for(r=a[0],u=a[1];r.length>0;)l.unshift(r.substr(Math.max(0,r.length-3),3)),r=r.substr(0,r.length-3);return s=l.join(e.delimiter),e.strip_insignificant_zeros&&u&&(u=u.replace(/0+$/,"")),e.precision>0&&u&&(s+=e.separator+u),e.sign_first?c="%s"+c:c=c.replace("%n","%s%n"),s=c.replace("%u",e.unit).replace("%n",s).replace("%s",h),s},n.toCurrency=function(r,e){return e=this.prepareOptions(e,this.lookup("number.currency.format"),this.lookup("number.format"),L),this.toNumber(r,e)},n.localize=function(r,e,t){switch(t||(t={}),r){case"currency":return this.toCurrency(e);case"number":return r=this.lookup("number.format"),this.toNumber(e,r);case"percentage":return this.toPercentage(e);default:var i;return r.match(/^(date|time)/)?i=this.toTime(r,e):i=e.toString(),this.interpolate(i,t)}},n.parseDate=function(r){var e,t,i;if(r==null||typeof r=="object")return r;if(e=r.toString().match(/(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}):(\d{2})([\.,]\d{1,3})?)?(Z|\+00:?00)?/),e){for(var a=1;a<=6;a++)e[a]=parseInt(e[a],10)||0;e[2]-=1,i=e[7]?1e3*("0"+e[7]):null,e[8]?t=new Date(Date.UTC(e[1],e[2],e[3],e[4],e[5],e[6],i)):t=new Date(e[1],e[2],e[3],e[4],e[5],e[6],i)}else typeof r=="number"?(t=new Date,t.setTime(r)):r.match(/([A-Z][a-z]{2}) ([A-Z][a-z]{2}) (\d+) (\d+:\d+:\d+) ([+-]\d+) (\d+)/)?(t=new Date,t.setTime(Date.parse([RegExp.$1,RegExp.$2,RegExp.$3,RegExp.$6,RegExp.$4,RegExp.$5].join(" ")))):r.match(/\d+ \d+:\d+:\d+ [+-]\d+ \d+/)?(t=new Date,t.setTime(Date.parse(r))):(t=new Date,t.setTime(Date.parse(r)));return t},n.strftime=function(r,e){var t=this.lookup("date"),i=n.meridian();if(t||(t={}),t=this.prepareOptions(t,O),isNaN(r.getTime()))throw new Error("I18n.strftime() requires a valid date object, but received an invali
1d date.");var a=r.getDay(),u=r.getDate(),l=r.getFullYear(),s=r.getMonth()+1,c=r.getHours(),h=c,w=c>11?1:0,M=r.getSeconds(),A=r.getMinutes(),v=r.getTimezoneOffset(),m=Math.floor(Math.abs(v/60)),S=Math.abs(v)-m*60,D=(v>0?"-":"+")+(m.toString().length<2?"0"+m:m)+(S.toString().length<2?"0"+S:S);return h>12?h=h-12:h===0&&(h=12),e=e.replace("%a",t.abbr_day_names[a]),e=e.replace("%A",t.day_names[a]),e=e.replace("%b",t.abbr_month_names[s]),e=e.replace("%B",t.month_names[s]),e=e.replace("%d",o(u)),e=e.replace("%e",u),e=e.replace("%-d",u),e=e.replace("%H",o(c)),e=e.replace("%-H",c),e=e.replace("%k",c),e=e.replace("%I",o(h)),e=e.replace("%-I",h),e=e.replace("%l",h),e=e.replace("%m",o(s)),e=e.replace("%-m",s),e=e.replace("%M",o(A)),e=e.replace("%-M",A),e=e.replace("%p",i[w]),e=e.replace("%P",i[w].toLowerCase()),e=e.replace("%S",o(M)),e=e.replace("%-S",M),e=e.replace("%w",a),e=e.replace("%y",o(l)),e=e.replace("%-y",o(l).replace(/^0+/,"")),e=e.replace("%Y",l),e=e.replace("%z",D),e=e.replace("%Z",D),e},n.toTime=function(r,e){var t=this.parseDate(e),i=this.lookup(r);if(t==null)return t;var a=t.toString();return a.match(/invalid/i)||!i?a:this.strftime(t,i)},n.toPercentage=function(r,e){return e=this.prepareOptions(e,this.lookup("number.percentage.format"),this.lookup("number.format"),C),this.toNumber(r,e)},n.toHumanSize=function(r,e){for(var t=1024,i=r,a=0,u,l;i>=t&&a<4;)i=i/t,a+=1;return a===0?(u=this.t("number.human.storage_units.units.byte",{count:i}),l=0):(u=this.t("number.human.storage_units.units."+V[a]),l=i-Math.floor(i)===0?0:1),e=this.prepareOptions(e,{unit:u,precision:l,format:"%n%u",delimiter:""}),this.toNumber(i,e)},n.getFullScope=function(r,e){return e=e||{},g(r)&&(r=r.join(this.defaultSeparator)),e.scope&&(r=[e.scope,r].join(this.defaultSeparator)),r},n.extend=function(r,e){return typeof r>"u"&&typeof e>"u"?{}:_(r,e)},n.t=n.translate.bind(n),n.l=n.localize.bind(n),n.p=n.pluralize.bind(n),n})})(b)),b.exports}var B=Z();const U=W(B);export{U as I};

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.