text: /**
   * Copyright (c) 2014, 2016, Oracle and/or its affiliates.
   * The Universal Permissive License (UPL), Version 1.0
   */
  "use strict";
  define(["ojs/ojcore","jquery","ojL10n!ojtranslations/nls/localeElements","ojs/ojmessaging"],function(a,g,c){a.Za={};o_("LocaleData",a.Za,a);a.Za.DZ=function(b){a.Za.JQ=b};o_("LocaleData.setBundle",a.Za.DZ,a);a.Za.YE=function(){return a.Za.vT("firstDay")};o_("LocaleData.getFirstDayOfWeek",a.Za.YE,a);a.Za.IGa=function(){return a.Za.vT("weekendStart")};o_("LocaleData.getWeekendStart",a.Za.IGa,a);a.Za.HGa=function(){return a.Za.vT("weekendEnd")};o_("LocaleData.getWeekendEnd",a.Za.HGa,a);a.Za.VE=function(b){if(null==
  b||"abbreviated"!==b&&"narrow"!==b)b="wide";b=a.Za.xS().days["stand-alone"][b];return[b.sun,b.mon,b.tue,b.wed,b.thu,b.fri,b.sat]};o_("LocaleData.getDayNames",a.Za.VE,a);a.Za.aF=function(b){if(null==b||"abbreviated"!==b&&"narrow"!==b)b="wide";b=a.Za.xS().months["stand-alone"][b];return[b["1"],b["2"],b["3"],b["4"],b["5"],b["6"],b["7"],b["8"],b["9"],b["10"],b["11"],b["12"]]};o_("LocaleData.getMonthNames",a.Za.aF,a);a.Za.Cga=function(){var b=a.Za.xS().dateFormats["long"].toUpperCase(),c=b.indexOf("M"),
  b=b.indexOf("Y");return c<b};o_("LocaleData.isMonthPriorToYear",a.Za.Cga,a);a.Za.vT=function(b){var c=a.Za.yl(),d=a.Za.$ta()||"001";b=c.supplemental.weekData[b];d=b[d];void 0===d&&(d=b["001"]);return d};a.Za.xS=function(){var b=a.Za.yl().main,c,d;for(d in b)if(b.hasOwnProperty(d)){c=b[d];break}return c.dates.calendars.gregorian};a.Za.$ta=function(){var b=a.ga.Yi();if(b&&(b=b.toUpperCase().split(/-|_/),2<=b.length)){var c=b[1];if(4==c.length){if(3<=b.length)return b[2]}else return c}return null};a.Za.yl=
  function(){var b=a.Za.JQ;return b?b:a.Wx()?(a.o.assert(void 0!==c,"LocaleElements module must be loaded"),c):{}};a.Za.Gna=function(a){c=a};a.Da={};o_("Validation",a.Da,a);a.Da.vR={};a.Da.YW={};a.Da.p5={};a.Da.s5={};a.Da.KG={converter:{name:"oj.ConverterFactory",type:a.vm},validator:{name:"oj.ValidatorFactory",type:a.Pe}};a.Da.Tl=function(b,c){var d;b&&!c?d=a.Da.VI(b,a.Da.vR):b&&c&&(d=a.Da.jz(b,c,a.Da.vR,a.Da.KG.converter));return d};o_("Validation.converterFactory",a.Da.Tl,a);a.Da.$w=function(b,c){var d;
  b&&!c?d=a.Da.VI(b,a.Da.YW):b&&c&&(d=a.Da.jz(b,c,a.Da.YW,a.Da.KG.validator));return d};o_("Validation.validatorFactory",a.Da.$w,a);a.Da.Yea=function(b){return a.Da.VI(b,a.Da.p5)};o_("Validation.getDefaultConverterFactory",a.Da.Yea,a);a.Da.dGa=function(b){return a.Da.VI(b,a.Da.s5)};o_("Validation.getDefaultValidatorFactory",a.Da.dGa,a);a.Da.Y2=function(b,c){var d=a.Da.KG.converter;a.Da.jz(b,c,a.Da.p5,d);a.Da.jz(b,c,a.Da.vR,d)};a.Da.Xx=function(b,c){var d=a.Da.KG.validator;a.Da.jz(b,c,a.Da.s5,d);a.Da.jz(b,
  c,a.Da.YW,d)};a.Da.yra=function(b,c,d){if(c&&!a.Da.Xza(b,c))throw Error("Factory instance does not implement the methods expected by the factory of type "+d);};a.Da.VI=function(b,c){a.o.Eq(b);var d=null;b&&(b=b.toLowerCase(),d=(c[b]||{}).instance||null);return d};a.Da.Xza=function(b,c){var d=!0,e;a.o.hi(b);a.o.hi(c);for(e in c)if(c.hasOwnProperty(e)&&"function"===typeof c[e]&&!b[e]&&"function"!==typeof b[e]){d=!1;break}return d};a.Da.jz=function(b,c,d,e){a.o.Eq(b);a.o.hi(c);if(b){var h={};h.instance=
  c;a.Da.yra(c,e.type,e.name);d[b.toLowerCase()]=h}};a.vm={CONVERTER_TYPE_NUMBER:"number",CONVERTER_TYPE_DATETIME:"datetime",createConverter:function(){}};o_("ConverterFactory",a.vm,a);a.Pe={VALIDATOR_TYPE_REQUIRED:"required",VALIDATOR_TYPE_REGEXP:"regexp",VALIDATOR_TYPE_NUMBERRANGE:"numberRange",VALIDATOR_TYPE_LENGTH:"length",VALIDATOR_TYPE_DATETIMERANGE:"dateTimeRange",VALIDATOR_TYPE_DATERESTRICTION:"dateRestriction",createValidator:function(){}};o_("ValidatorFactory",a.Pe,a);a.rg=function(a){this.Init(a)};
  o_("Converter",a.rg,a);a.b.ta(a.rg,a.b,"oj.Converter");a.rg.prototype.Init=function(b){a.rg.u.Init.call(this);this.Wb=b};a.b.g("Converter.prototype.Init",{Init:a.rg.prototype.Init});a.rg.prototype.Md=function(){a.o.ld();return null};a.b.g("Converter.prototype.getHint",{Md:a.rg.prototype.Md});a.rg.prototype.Vk=function(){return this.Wb||{}};a.b.g("Converter.prototype.getOptions",{Vk:a.rg.prototype.Vk});a.rg.prototype.parse=function(){a.o.ld();return null};a.b.g("Converter.prototype.parse",{parse:a.rg.prototype.parse});
  a.rg.prototype.format=function(){a.o.ld();return null};a.b.g("Converter.prototype.format",{format:a.rg.prototype.format});a.rg.prototype.resolvedOptions=function(){var a={};g.extend(a,this.Wb);return a};a.b.g("Converter.prototype.resolvedOptions",{resolvedOptions:a.rg.prototype.resolvedOptions});a.sg=function(b,c){var d=new a.ia(b,c,a.ia.Xc.ERROR);this.Init(d)};o_("ConverterError",a.sg,a);a.sg.prototype=Error();a.sg.prototype.Init=function(a){var b=a.detail,c=a.summary;this.cz=a;this.name="Converter Error";
  this.message=b||c};a.b.g("ConverterError.prototype.Init",{Init:a.sg.prototype.Init});a.sg.prototype.Zz=function(){return this.cz};a.b.g("ConverterError.prototype.getMessage",{Zz:a.sg.prototype.Zz});a.ll=function(){this.Init()};o_("NumberConverter",a.ll,a);a.b.ta(a.ll,a.rg,"oj.NumberConverter");a.ll.prototype.Init=function(b){a.ll.u.Init.call(this,b)};a.b.g("NumberConverter.prototype.Init",{Init:a.ll.prototype.Init});a.ll.prototype.format=function(b){return a.ll.u.format.call(this,b)};a.b.g("NumberConverter.prototype.format",
  {format:a.ll.prototype.format});a.ll.prototype.parse=function(b){return a.ll.u.parse.call(this,b)};a.b.g("NumberConverter.prototype.parse",{parse:a.ll.prototype.parse});a.Ac=function(a){this.Init(a)};o_("DateTimeConverter",a.Ac,a);a.b.ta(a.Ac,a.rg,"oj.DateTimeConverter");a.Ac.prototype.Init=function(b){a.Ac.u.Init.call(this,b)};a.b.g("DateTimeConverter.prototype.Init",{Init:a.Ac.prototype.Init});a.Ac.prototype.format=function(b){return a.Ac.u.format.call(this,b)};a.b.g("DateTimeConverter.prototype.format",
  {format:a.Ac.prototype.format});a.Ac.prototype.nF=function(){a.o.ld()};a.b.g("DateTimeConverter.prototype.isHourInDaySet",{nF:a.Ac.prototype.nF});a.Ac.prototype.mF=function(){a.o.ld()};a.b.g("DateTimeConverter.prototype.isHourInAMPMSet",{mF:a.Ac.prototype.mF});a.Ac.prototype.pF=function(){a.o.ld()};a.b.g("DateTimeConverter.prototype.isMinuteSet",{pF:a.Ac.prototype.pF});a.Ac.prototype.rF=function(){a.o.ld()};a.b.g("DateTimeConverter.prototype.isSecondSet",{rF:a.Ac.prototype.rF});a.Ac.prototype.oF=
  function(){a.o.ld()};a.b.g("DateTimeConverter.prototype.isMilliSecondSet",{oF:a.Ac.prototype.oF});a.Ac.prototype.sF=function(){a.o.ld()};a.b.g("DateTimeConverter.prototype.isYearSet",{sF:a.Ac.prototype.sF});a.Ac.prototype.qF=function(){a.o.ld()};a.b.g("DateTimeConverter.prototype.isMonthSet",{qF:a.Ac.prototype.qF});a.Ac.prototype.lF=function(){a.o.ld()};a.b.g("DateTimeConverter.prototype.isDaySet",{lF:a.Ac.prototype.lF});a.Ac.prototype.kF=function(){a.o.ld()};a.b.g("DateTimeConverter.prototype.isDayNameSet",
  {kF:a.Ac.prototype.kF});a.Ac.prototype.et=function(){a.o.ld()};a.b.g("DateTimeConverter.prototype.calculateWeek",{et:a.Ac.prototype.et});a.Ac.prototype.parse=function(b){return a.Ac.u.parse.call(this,b)};a.b.g("DateTimeConverter.prototype.parse",{parse:a.Ac.prototype.parse});a.Ac.prototype.ve=function(b,c){return a.Ac.u.ve.call(this,b,c)};a.b.g("DateTimeConverter.prototype.compareISODates",{ve:a.Ac.prototype.ve});a.Ii=function(){this.Init()};o_("Validator",a.Ii,a);a.b.ta(a.Ii,a.b,"oj.Validator");
  a.Ii.prototype.Init=function(){a.Ii.u.Init.call(this)};a.b.g("Validator.prototype.Init",{Init:a.Ii.prototype.Init});a.Ii.prototype.validate=function(){a.o.ld()};a.b.g("Validator.prototype.validate",{validate:a.Ii.prototype.validate});a.Ii.prototype.Md=function(){a.o.ld()};a.b.g("Validator.prototype.getHint",{Md:a.Ii.prototype.Md});a.qk=function(b,c){var d=new a.ia(b,c,a.ia.Xc.ERROR);this.Init(d)};o_("ValidatorError",a.qk,a);a.qk.prototype=Error();a.qk.prototype.Init=function(a){var b=a.detail,c=a.summary;
  this.cz=a;this.name="Validator Error";this.message=b||c};a.b.g("ValidatorError.prototype.Init",{Init:a.qk.prototype.Init});a.qk.prototype.Zz=function(){return this.cz};a.b.g("ValidatorError.prototype.getMessage",{Zz:a.qk.prototype.Zz});a.Hh=function(a){this.Init(a)};o_("RequiredValidator",a.Hh,a);a.b.ta(a.Hh,a.Ii,"oj.RequiredValidator");a.Hh.aP="oj-validator.required.detail";a.Hh.bP="oj-validator.required.summary";a.Hh.prototype.Init=function(b){a.Hh.u.Init.call(this);this.Wb=b};a.b.g("RequiredValidator.prototype.Init",
  {Init:a.Hh.prototype.Init});a.Hh.prototype.validate=function(b){var c,d="",e,h={};if("number"===typeof b&&0===b||b&&0!==b.length)return!0;this.Wb&&(c=this.Wb.messageDetail||this.Wb.message||null,e=this.Wb.messageSummary||null,d=this.Wb.label||"");h={label:d};b=e?a.va.Pc(e,h):a.va.F(this.mT(),h);c=c?a.va.Pc(c,h):a.va.F(this.ES(),h);throw new a.qk(b,c);};a.b.g("RequiredValidator.prototype.validate",{validate:a.Hh.prototype.validate});a.Hh.prototype.Md=function(){var b="";this.Wb&&this.Wb.hint&&(b=a.va.F(this.Wb.hint));
  return b};a.b.g("RequiredValidator.prototype.getHint",{Md:a.Hh.prototype.Md});a.Hh.prototype.mT=function(){return a.Hh.bP};a.Hh.prototype.ES=function(){return a.Hh.aP};a.zm=function(a){this.Init(a)};o_("DateRestrictionValidator",a.zm,a);a.b.ta(a.zm,a.Ii,"oj.DateRestrictionValidator");a.zm.prototype.Init=function(b){a.zm.u.Init.call(this);this.fra=b.dayFormatter;this.Sc=a.cb.getConverterInstance(b.converter);b&&(this.Fya=b.messageSummary||null,this.Eya=b.messageDetail||null)};a.b.g("DateRestrictionValidator.prototype.Init",
  {Init:a.zm.prototype.Init});a.zm.prototype.Rwa=function(a){var b=this.fra;return b?(a=b({fullYear:a.fullYear,month:a.month+1,date:a.date}))&&a.disabled:!1};a.zm.prototype.validate=function(b){var c="",d="",d=a.va,c=this.Fya,e=this.Eya,h=b?this.Sc.format(b):b,f=b?a.cb._dateTime(b,["fullYear","month","date"],!0):null;if(null===b)return b;if(this.Rwa(f))throw c=c?d.Pc(c,{value:h}):d.F("oj-validator.restriction.date.messageSummary",{value:h}),d=e?d.Pc(e,{value:h}):d.F("oj-validator.restriction.date.messageDetail",
  {value:h}),new a.qk(c,d);return b};a.b.g("DateRestrictionValidator.prototype.validate",{validate:a.zm.prototype.validate});a.zm.prototype.Md=function(){return null};a.b.g("DateRestrictionValidator.prototype.getHint",{Md:a.zm.prototype.Md});a.Sn=function(a){this.Init(a)};o_("DateTimeRangeValidator",a.Sn,a);a.b.ta(a.Sn,a.Ii,"oj.DateTimeRangeValidator");a.Sn.prototype.Init=function(b){a.Sn.u.Init.call(this);this.Sc=a.cb.getConverterInstance(b.converter);this.Ri=b.min||null;this.Oj=b.max||null;b&&(this.fD=
  b.hint||{},this.vC=b.messageSummary||{},this.uC=b.messageDetail||{})};a.b.g("DateTimeRangeValidator.prototype.Init",{Init:a.Sn.prototype.Init});a.Sn.prototype.validate=function(b){var c=this.vC,d=this.uC,e=d.rangeOverflow,d=d.rangeUnderflow,h=c.rangeOverflow,c=c.rangeUnderflow,f=a.cb,g=this.Ri,p=this.Oj,q="",u="",w=a.va,v=null,v=b?this.Sc.format(b):b,y,x;if(null===b)return b;v=this.Sc.format(b);g&&(g=f._minMaxIsoString(g,b),y=this.Sc?this.Sc.format(g):g);p&&(p=f._minMaxIsoString(p,b),x=this.Sc?this.Sc.format(p):
  p);if(null!==g&&null!==p){if(0<=this.Sc.ve(b,g)&&0>=this.Sc.ve(b,p)||0<this.Sc.ve(g,p))return b}else if(null!==g){if(0<=this.Sc.ve(b,g))return b}else if(null===p||0>=this.Sc.ve(b,p))return b;null!==p&&0<this.Sc.ve(b,p)?(v={value:v,max:x},q=h?h:w.F("oj-validator.range.datetime.messageSummary.rangeOverflow"),u=e?w.Pc(e,v):w.F("oj-validator.range.datetime.messageDetail.rangeOverflow",v)):null!==g&&0>this.Sc.ve(b,g)&&(v={value:v,min:y},q=c?c:w.F("oj-validator.range.datetime.messageSummary.rangeUnderflow"),
  u=d?w.Pc(d,v):w.F("oj-validator.range.datetime.messageDetail.rangeUnderflow",v));throw new a.qk(q,u);};a.b.g("DateTimeRangeValidator.prototype.validate",{validate:a.Sn.prototype.validate});a.Sn.prototype.Md=function(){var b=null,c=this.fD,d=c.inRange,e=c.min,c=c.max,h=this.Ri,f=this.Oj,g=h&&this.Sc?this.Sc.format(h):h,p=f&&this.Sc?this.Sc.format(f):f,q=null,u=a.va;null!==h&&null!==f?(q={min:g,max:p},b=d?u.Pc(d,q):u.F("oj-validator.range.datetime.hint.inRange",q)):null!==h?(q={min:g},b=e?u.Pc(e,q):
  u.F("oj-validator.range.datetime.hint.min",q)):null!==f&&(q={max:p},b=c?u.Pc(c,q):u.F("oj-validator.range.datetime.hint.max",q));return b};a.b.g("DateTimeRangeValidator.prototype.getHint",{Md:a.Sn.prototype.Md});a.hka=function(){return{createConverter:function(b){return new a.Af(b)}}}();a.Da.Y2(a.vm.CONVERTER_TYPE_NUMBER,a.hka);a.Bja=function(){return{createConverter:function(b){return new a.Bb(b)}}}();a.Da.Y2(a.vm.CONVERTER_TYPE_DATETIME,a.Bja);a.oka=function(){return{createValidator:function(b){return new a.Hh(b)}}}();
  a.Da.Xx(a.Pe.VALIDATOR_TYPE_REQUIRED,a.oka);a.mka=function(){return{createValidator:function(b){return new a.Gh(b)}}}();a.Da.Xx(a.Pe.VALIDATOR_TYPE_REGEXP,a.mka);a.Cja=function(){return{createValidator:function(b){return new a.Sn(b)}}}();a.Da.Xx(a.Pe.VALIDATOR_TYPE_DATETIMERANGE,a.Cja);a.Aja=function(){return{createValidator:function(b){return new a.zm(b)}}}();a.Da.Xx(a.Pe.VALIDATOR_TYPE_DATERESTRICTION,a.Aja);a.ika=function(){return{createValidator:function(b){return new a.Vn(b)}}}();a.Da.Xx(a.Pe.VALIDATOR_TYPE_NUMBERRANGE,
  a.ika);a.Xja=function(){return{createValidator:function(b){return new a.ik(b)}}}();a.Da.Xx(a.Pe.VALIDATOR_TYPE_LENGTH,a.Xja);var b={Bp:{latn:"0123456789",arab:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669",thai:"\u0e50\u0e51\u0e52\u0e53\u0e54\u0e55\u0e56\u0e57\u0e58\u0e59"},TIa:/^\s+|\s+$|\u200f|\u200e/g,UIa:/\s+|\u200f|\u200e/g,VIa:/0+$/g,fKa:["0","00","000"],rP:/^\d{4}(?:-?\d{2}(?:-?\d{2})?)?(?:T\d{2}:?\d{2}(?::?\d{2}(?:\.\d{1,3})?)?(Z|[+-]\d{2}:\d{2})?)?$|^T\d{2}:?\d{2}(?::?\d{2}(?:\.\d{1,3})?)?(Z|[+-]\d{2}:\d{2})?$/,
  getLocalTimeZoneOffset:function(){return b.eA("Etc/GMT",(new Date).getTimezoneOffset(),!1,!1)},a8:function(a){if(!a||"string"!==typeof a)return null;var c=b.rP.exec(a);null===c&&b.Xca(a);return void 0!==c[1]?c[1]:null},dateToLocalIso:function(a){var c=b.rc(a.getFullYear(),4)+"-"+b.rc(a.getMonth()+1,2)+"-"+b.rc(a.getDate(),2)+"T"+b.rc(a.getHours(),2)+":"+b.rc(a.getMinutes(),2)+":"+b.rc(a.getSeconds(),2);0<a.getMilliseconds()&&(c+="."+b.MN(b.rc(a.getMilliseconds(),3)));return c},FIa:function(a){var c=
  b.rc(a[0],4)+"-"+b.rc(a[1],2)+"-"+b.rc(a[2],2)+"T"+b.rc(a[3],2)+":"+b.rc(a[4],2)+":"+b.rc(a[5],2);0<a[6]&&(c+="."+b.MN(b.rc(a[6],3)));return c},isoToLocalDate:function(a){return a&&"string"===typeof a?this.bya(a):null},bya:function(a){a=b.CB(a);return new Date(a[0],a[1]-1,a[2],a[3],a[4],a[5],a[6])},CB:function(a){var c=a.split("T"),d=a.indexOf("T");a=new Date;var e=[a.getFullYear(),a.getMonth()+1,a.getDate(),0,0,0,0];if(""!==c[0]){var h=c[0].split("-");for(a=0;a<h.length;a++)e[a]=parseInt(h[a],10)}if(-1!==
  d){c=c[1].split(".");d=c[0].split(":");for(a=0;a<d.length;a++)e[3+a]=parseInt(d[a],10);2===c.length&&c[1]&&(e[6]=parseInt(b.g_(c[1],3,!1),10))}return e},dM:function(a){var c={format:null,dateTime:null,timeZone:"",isoStrParts:null},d=b.rP.exec(a);null===d&&b.Xca(a);if(void 0===d[1]&&void 0===d[2])return c.format="local",c.dateTime=a,c.isoStrParts=b.CB(c.dateTime),c;c.timeZone=void 0!==d[1]?d[1]:d[2];c.format="Z"===c.timeZone?"zulu":"offset";c.dateTime=a.substring(0,a.indexOf(c.timeZone));c.isoStrParts=
  b.CB(c.dateTime);return c},pLa:function(){var a;a=Error("time zone is not supported");a.errorInfo={errorCode:"timeZoneNotSupported"};throw a;},Xca:function(a){var b;b=Error("The string "+a+" is not a valid ISO 8601 string.");b.errorInfo={errorCode:"invalidISOString",parameterMap:{isoStr:a}};throw b;},trim:function(a){return(a+"").replace(b.TIa,"")},MN:function(a){return(a+"").replace(b.VIa,"")},Fp:function(a){return(a+"").replace(b.UIa,"")},Ww:function(a,b){return 0===a.indexOf(b)},lj:function(a){return a.split("\u00a0").join(" ").toUpperCase()},
  rc:function(a,c){var d;d=a+"";return 1<c&&d.length<c?(d=b.fKa[c-2]+d,d.substr(d.length-c,c)):d},g_:function(a,b,c){a=""+a;var d;for(d=a.length;d<b;d+=1)a=c?"0"+a:a+"0";return a},eA:function(a,c,d,e){d=d?0<=c:0>c;c=Math.abs(c);var h=c/60<<0;c%=60;e&&(h=b.g_(h,2,!0));a=a+(d?"-":"+")+h;if(0<c||e)a+=":"+b.g_(c,2,!0);return a},mGa:function(a,c){if(void 0===c)return"latn";var d=b.hM(c);void 0===a.numbers["symbols-numberSystem-"+d]&&(d="latn");return d},ELa:function(a){return a.split("-")[0]},Mea:function(a){a=
  a.split("-");return 3===a.length?a[2]:2===a.length&&2===a[1].length?a[1]:"001"},hM:function(a){a=a||"en-US";var b=a.indexOf("-u-nu-"),c="latn";-1!==b&&(c=a.substr(b+6,4));return c},HLa:function(a){var b=0,c;for(c in a)b++;return b},vh:function(a){a=a.main;var b,c;for(c in a){b=c;break}return a[b]},qt:function(a){a=a.main;var b,c;for(c in a){b=c;break}return b},oDa:function(a){if("string"===typeof a)switch(a.toLowerCase().trim()){case "true":case "1":return!0;case "false":case "0":return!1}return a},
  Xj:function(a,c){if(void 0===a)throw Error("Internal "+c+" error. Default options missing.");return function(d,e,h,f){if(void 0!==a[d]){f=a[d];switch(e){case "boolean":f=b.oDa(f);break;case "string":f=String(f);break;case "number":f=Number(f);break;default:throw Error("Internal error. Wrong value type.");}if(void 0!==h&&-1===h.indexOf(f)){e=[];for(f=0;f<h.length;f++)e.push(h[f]);h=new RangeError("The value '"+a[d]+"' is out of range for '"+c+"' options property '"+d+"'. Valid values: "+e);h.errorInfo=
  {errorCode:"optionOutOfRange",parameterMap:{propertyName:d,propertyValue:a[d],propertyValueValid:e,caller:c}};throw h;}}return f}}},d={fullYear:{pr:0,Qt:4},month:{pr:1,Qt:2},date:{pr:2,Qt:2},hours:{pr:3,Qt:2},minutes:{pr:4,Qt:2},seconds:{pr:5,Qt:2},milliseconds:{pr:6,Qt:3},timeZone:{pr:7}};b.isoToDate=function(a){return new Date(this._normalizeIsoString(a))};b._copyTimeOver=function(a,b){if(!a||!b)throw Error("Provided invalid arguments");b=this._normalizeIsoString(b);var c=a.indexOf("T"),d=b.indexOf("T");
  return b.substring(0,d)+(-1!==c?a.substring(c):"T00:00:00.000")};b._clearTime=function(a){return this._dateTime(a,{hours:0,minutes:0,seconds:0,milliseconds:0})};b._dateTime=function(a,b,c){if(!a||!b)throw Error("Invalid argument invocation");var e,h=null,f=null,f=this.rc;a=this._normalizeIsoString(a);var n=/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):?(\d{2})?\.?(\d{3})?(.*)?/.exec(a);if(!n)throw Error("Unable to capture anything");n=n.slice(1);if(Array.isArray(b))for(var h={},p=0,q=b.length;p<q;p++){if(f=
  b[p],f in d){a=d[f].pr;e=n[a];if(c&&"timeZone"===f)throw Error("Dude you tried to ask timezone to be parsed");c?(e=parseInt(e,10),h[f]=1===a?e-1:e):h[f]=e}}else if(g.isPlainObject(b)){for(p in b)c=d[p],a=c.pr,e=b[p],1===a&&"number"===typeof e&&e++,n[a]=c.Qt?f(e,c.Qt):e;h=n[0]+"-"+n[1]+"-"+n[2]+"T"+n[3]+":"+n[4]+":"+n[5]+(6<n.length&&n[6]?"."+n[6]+(8===n.length&&n[7]?n[7]:""):"")}return h};b._normalizeIsoString=function(a){if(!a)throw Error("Provided invalid arguments");var b=(new Date).toISOString(),
  b=b.substring(0,b.indexOf("T")),c=a.indexOf("T"),d=-1===c?a:a.substring(0,c);-1!==c?(a=a.substring(c),a=1<a.split(":").length?a:a+":00"):a="T00:00:00.000";return(d||b)+a};a.Bb=function(a){this.Init(a)};o_("IntlDateTimeConverter",a.Bb,a);a.b.ta(a.Bb,a.Ac,"oj.IntlDateTimeConverter");a.Bb.Wka=new Date(1998,10,29,15,45,31);a.Bb.prototype.Init=function(b){a.Bb.u.Init.call(this,b)};a.b.g("IntlDateTimeConverter.prototype.Init",{Init:a.Bb.prototype.Init});a.Bb.prototype.Do=function(){this.JE||(this.JE=h.Ie());
  return this.JE};a.Bb.prototype.format=function(b){var c=a.Za.yl(),d=a.ga.Yi(),e=this.resolvedOptions();if(null==b||"string"===typeof b&&0===a.bb.trim(""+b).length)return"";try{return this.Do().format(b,c,e,d)}catch(h){throw b=this.Os(h,b),b;}};a.b.g("IntlDateTimeConverter.prototype.format",{format:a.Bb.prototype.format});a.Bb.prototype.ZL=function(b,c){var d=a.Za.yl(),e=a.ga.Yi();try{return this.Do().ZL(b,d,c,e)}catch(h){throw d=this.Os(h,b),d;}};a.b.g("IntlDateTimeConverter.prototype.formatRelative",
  {ZL:a.Bb.prototype.ZL});a.Bb.prototype.Md=function(){var a=this.resolvedOptions().patternFromOptions||this.Vk().pattern;return a?a.toLowerCase():""};a.b.g("IntlDateTimeConverter.prototype.getHint",{Md:a.Bb.prototype.Md});a.Bb.prototype.ZI=function(){var b="";try{b=this.format(a.cb.dateToLocalIso(a.Bb.Wka))}catch(c){c instanceof a.sg&&(b="")}finally{return b}};a.Bb.prototype.Vk=function(){return a.Bb.u.Vk.call(this)};a.b.g("IntlDateTimeConverter.prototype.getOptions",{Vk:a.Bb.prototype.Vk});a.Bb.prototype.resolvedOptions=
  function(){var b,c=a.ga.Yi(),d=this.Vk();if(c!==this.Zy||!this.fE){b=a.Za.yl();try{if(!b)return a.r.error("locale bundle for the current locale %s is unavailable",c),{};this.fE=this.Do().resolvedOptions(b,d,c);this.Zy=c}catch(e){throw b=this.Os(e),b;}}return this.fE};a.b.g("IntlDateTimeConverter.prototype.resolvedOptions",{resolvedOptions:a.Bb.prototype.resolvedOptions});a.Bb.prototype.nF=function(){var a=this.resolvedOptions(),b=a.hour12;return a.hour&&!b?!0:!1};a.b.g("IntlDateTimeConverter.prototype.isHourInDaySet",
  {nF:a.Bb.prototype.nF});a.Bb.prototype.mF=function(){var a=this.resolvedOptions(),b=a.hour12;return a.hour&&b?!0:!1};a.b.g("IntlDateTimeConverter.prototype.isHourInAMPMSet",{mF:a.Bb.prototype.mF});a.Bb.prototype.pF=function(){return this.Cv("minute")};a.b.g("IntlDateTimeConverter.prototype.isMinuteSet",{pF:a.Bb.prototype.pF});a.Bb.prototype.rF=function(){return this.Cv("second")};a.b.g("IntlDateTimeConverter.prototype.isSecondSet",{rF:a.Bb.prototype.rF});a.Bb.prototype.oF=function(){return this.Cv("millisecond")};
  a.b.g("IntlDateTimeConverter.prototype.isMilliSecondSet",{oF:a.Bb.prototype.oF});a.Bb.prototype.sF=function(){return this.Cv("year")};a.b.g("IntlDateTimeConverter.prototype.isYearSet",{sF:a.Bb.prototype.sF});a.Bb.prototype.qF=function(){return this.Cv("month")};a.b.g("IntlDateTimeConverter.prototype.isMonthSet",{qF:a.Bb.prototype.qF});a.Bb.prototype.lF=function(){return this.Cv("day")};a.b.g("IntlDateTimeConverter.prototype.isDaySet",{lF:a.Bb.prototype.lF});a.Bb.prototype.kF=function(){return this.Cv("weekday")};
  a.b.g("IntlDateTimeConverter.prototype.isDayNameSet",{kF:a.Bb.prototype.kF});a.Bb.prototype.et=function(b){return this.Do().et(b,a.Za.yl(),a.ga.Yi())};a.b.g("IntlDateTimeConverter.prototype.calculateWeek",{et:a.Bb.prototype.et});a.Bb.prototype.parse=function(b){var c,d;if(null==b||""===b)return null;var e=a.Za.yl(),h=a.ga.Yi(),f=this.resolvedOptions();try{return c=this.Do().parse(b,e,f,h),(d=c.value)&&c.warning&&a.r.warn("The value "+b+" was leniently parsed to represent a date "+d.toString?d.toString():
  d),d}catch(g){throw b=this.Os(g,b),b;}};a.b.g("IntlDateTimeConverter.prototype.parse",{parse:a.Bb.prototype.parse});a.Bb.prototype.ve=function(b,c){var d=a.bb.Je;if(!d(b)||!d(c))throw Error("Invalid arguments for compareISODates ",b,c);return this.Do().ve(b,c,a.Za.yl())};a.b.g("IntlDateTimeConverter.prototype.compareISODates",{ve:a.Bb.prototype.ve});a.Bb.prototype.Os=function(b,c){var d=b.errorInfo,e,h,f,g;if(d)if(e=d.errorCode,d=d.parameterMap||{},a.o.hi(d),f=d.propertyName,b instanceof TypeError){if("optionTypesMismatch"===
  e||"optionTypeInvalid"===e)h=a.cb.Vx(e,d)}else b instanceof RangeError?"optionOutOfRange"===e?h=a.cb.Vx(e,d):"datetimeOutOfRange"===e&&(e=a.va.F("oj-converter.datetime.datetimeOutOfRange.summary",{propertyName:f,value:d.value}),h=a.va.F("oj-converter.datetime.datetimeOutOfRange.detail",{minValue:d.minValue,maxValue:d.maxValue}),h=new a.sg(e,h)):b instanceof SyntaxError?"optionValueInvalid"===e&&(h=a.cb.Vx(e,d)):b instanceof Error&&("dateFormatMismatch"===e?g="oj-converter.datetime.dateFormatMismatch.summary":
  "timeFormatMismatch"===e?g="oj-converter.datetime.timeFormatMismatch.summary":"datetimeFormatMismatch"===e?g="oj-converter.datetime.datetimeFormatMismatch.summary":"invalidTimeZoneID"===e?(e=a.va.F("oj-converter.datetime.invalidTimeZoneID.summary",{timeZoneID:d.timeZoneID}),h=a.va.F("oj-converter.hint.detail",{exampleValue:this.ZI()}),h=new a.sg(e,h)):"nonExistingTime"===e?g="oj-converter.datetime.nonExistingTime.summary":"missingTimeZoneData"===e?g="oj-converter.datetime.missingTimeZoneData.summary":
  "dateToWeekdayMismatch"===e&&(e=a.va.F("oj-converter.datetime.dateToWeekdayMismatch.summary",{date:d.date,weekday:d.weekday}),h=a.va.F("oj-converter.datetime.dateToWeekdayMismatch.detail"),h=new a.sg(e,h)),g&&(e=a.va.F(g,{value:c||d.value,format:d.format}),h=a.va.F("oj-converter.hint.detail",{exampleValue:this.ZI()}),h=new a.sg(e,h)));h||(h=e=b.message,h=new a.sg(e,h));return h};a.Bb.prototype.Cv=function(a){return this.resolvedOptions()[a]?!0:!1};a.Vn=function(a){this.Init(a)};o_("NumberRangeValidator",
  a.Vn,a);a.b.ta(a.Vn,a.Ii,"oj.NumberRangeValidator");a.Vn.prototype.Init=function(b){a.Vn.u.Init.call(this);b&&(this.Ri=b.min,this.Oj=b.max,this.Sc=a.cb.getConverterInstance(b.converter),this.fD=b.hint||{},this.vC=b.messageSummary||{},this.uC=b.messageDetail||{})};a.b.g("NumberRangeValidator.prototype.Init",{Init:a.Vn.prototype.Init});a.Vn.prototype.validate=function(b){var c=b?b.toString():b,d=parseFloat(c),e=this.vC,h=this.uC,f=h.rangeOverflow,h=h.rangeUnderflow,g=e.rangeOverflow,e=e.rangeUnderflow,
  p=void 0!==this.Ri?parseFloat(this.Ri):null,q=void 0!==this.Oj?parseFloat(this.Oj):null,u=p&&this.Sc?this.Sc.format(p):p,w=q&&this.Sc?this.Sc.format(q):q,v="",y="",x=null,z=a.va;if(null===b)return b;if(null!==p&&null!==q){if(d>=p&&d<=q||p>q)return c}else if(null!==p){if(d>=p)return c}else if(null===q||d<=q)return c;null!==q&&d>q?(x={value:b,max:w},v=g?g:z.F("oj-validator.range.number.messageSummary.rangeOverflow"),y=f?z.Pc(f,x):z.F("oj-validator.range.number.messageDetail.rangeOverflow",x)):null!==
  p&&d<p&&(x={value:b,min:u},v=e?e:z.F("oj-validator.range.number.messageSummary.rangeUnderflow"),y=h?z.Pc(h,x):z.F("oj-validator.range.number.messageDetail.rangeUnderflow",x));throw new a.qk(v,y);};a.b.g("NumberRangeValidator.prototype.validate",{validate:a.Vn.prototype.validate});a.Vn.prototype.Md=function(){var b=null,c=this.fD,d=c.inRange,e=c.min,c=c.max,h=a.va,f=void 0!==this.Ri?parseFloat(this.Ri):null,g=void 0!==this.Oj?parseFloat(this.Oj):null,p=f&&this.Sc?this.Sc.format(f):f,q=g&&this.Sc?this.Sc.format(g):
  g;null!==f&&null!==g?b=d?h.Pc(d,{min:p,max:q}):h.F("oj-validator.range.number.hint.inRange",{min:p,max:q}):null!==f?b=e?h.Pc(e,{min:p}):h.F("oj-validator.range.number.hint.min",{min:p}):null!==g&&(b=c?h.Pc(c,{max:q}):h.F("oj-validator.range.number.hint.max",{max:q}));return b};a.b.g("NumberRangeValidator.prototype.getHint",{Md:a.Vn.prototype.Md});a.Af=function(a){this.Init(a)};o_("IntlNumberConverter",a.Af,a);a.b.ta(a.Af,a.ll,"oj.IntlNumberConverter");a.Af.prototype.Init=function(b){a.Af.u.Init.call(this,
  b)};a.b.g("IntlNumberConverter.prototype.Init",{Init:a.Af.prototype.Init});a.Af.prototype.Do=function(){this.JE||(this.JE=f.Ie());return this.JE};a.Af.prototype.format=function(b){var c,d,e;if(null==b||"string"===typeof b&&0===a.bb.trim(""+b).length||"number"===typeof b&&isNaN(b))return"";c=a.ga.Yi();d=a.Za.yl();e=this.resolvedOptions();try{return this.Do().format(b,d,e,c)}catch(h){throw b=this.Os(h,b),b;}};a.b.g("IntlNumberConverter.prototype.format",{format:a.Af.prototype.format});a.Af.prototype.Md=
  function(){return null};a.b.g("IntlNumberConverter.prototype.getHint",{Md:a.Af.prototype.Md});a.Af.prototype.Vk=function(){return a.Af.u.Vk.call(this)};a.b.g("IntlNumberConverter.prototype.getOptions",{Vk:a.Af.prototype.Vk});a.Af.prototype.parse=function(b){var c,d,e;if(null==b||""===b)return null;c=a.ga.Yi();d=a.Za.yl();e=this.resolvedOptions();try{return this.Do().parse(a.bb.trim(b),d,e,c)}catch(h){throw b=this.Os(h,b),b;}};a.b.g("IntlNumberConverter.prototype.parse",{parse:a.Af.prototype.parse});
  a.Af.prototype.resolvedOptions=function(){var b;b=a.ga.Yi();var c;if(b!==this.Zy||!this.fE){c=a.Za.yl();try{if(!c)return a.r.error("locale bundle for the current locale %s is unavailable",b),{};this.fE=this.Do().resolvedOptions(c,this.Vk(),b);this.Zy=b}catch(d){throw b=this.Os(d),b;}}return this.fE};a.b.g("IntlNumberConverter.prototype.resolvedOptions",{resolvedOptions:a.Af.prototype.resolvedOptions});a.Af.prototype.Os=function(b,c){var d,e,h=b.errorInfo,f;if(h){e=h.errorCode;h=h.parameterMap;a.o.hi(h);
  switch(e){case "optionTypesMismatch":case "optionTypeInvalid":d=a.cb.Vx(e,h);break;case "optionOutOfRange":d=a.cb.Vx(e,h);break;case "optionValueInvalid":d=a.cb.Vx(e,h);break;case "decimalFormatMismatch":f="oj-converter.number.decimalFormatMismatch.summary";break;case "currencyFormatMismatch":f="oj-converter.number.currencyFormatMismatch.summary";break;case "percentFormatMismatch":f="oj-converter.number.percentFormatMismatch.summary";break;case "unsupportedParseFormat":e=a.va.F("oj-converter.number.decimalFormatUnsupportedParse.summary"),
  d=a.va.F("oj-converter.number.decimalFormatUnsupportedParse.detail"),d=new a.sg(e,d)}f&&(e=a.va.F(f,{value:c||h.value,format:h.format}),d=a.va.F("oj-converter.hint.detail",{exampleValue:this.ZI()}),d=new a.sg(e,d))}d||(d=e=b.message,d=new a.sg(e,d));return d};a.Af.prototype.ZI=function(){var b="";try{b=this.format(12345.98765)}catch(c){c instanceof a.sg&&(b="",a.r.error("error retrieving hint value in format"))}finally{return b}};var e;e=function(){function a(b,c){var d=c.zones[b];if(J.test(b)){var e=
  0,h=b.replace(J,"").split(":"),d=60*parseInt(h[0],10);if(isNaN(d)||2===h.length&&(e=parseInt(h[1],10),isNaN(e)))return;d+=0<=d?e:-e;if(d<E||d>G)return;d=w(d,1);d=b.replace("/etc//i","").toUpperCase()+"|"+d+"|0|"}void 0!==d&&this.FBa(u(b,d))}function b(){return{Qfa:function(a,b){var c=b.supplemental.timeZoneData;void 0===c&&B();var d=x(a,c);if(!d){var e=c.links[a];e&&(d=x(e,c))}d||D(a);return d}}}var c={},d,e,h,f,g,q,u,w,v,y,x,z,D,I,B,J=/^Etc\/GMT/i,E=-840,G=720;v=function(a,b){for(var c=".",d="",
  e;0<b;)b-=1,a*=60,e=Math.floor(a+1E-6),c+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX"[e],a-=e,e&&(d+=c,c="");return d};w=function(a,b){for(var c="",d=Math.abs(a),e=Math.floor(d),d=v(d-e,Math.min(~~b,10));0<e;)c="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWX"[e%60]+c,e=Math.floor(e/60);0>a&&(c="-"+c);return c&&d?c+d:d||"-"!==c?c||d||"0":"0"};e=function(a){return 96<a?a-87:64<a?a-29:a-48};h=function(a){var b=0,c=a.split("."),d=c[0],c=c[1]||"",h=1,f=0,k=1;45===a.charCodeAt(0)&&
  (b=1,k=-1);for(;b<d.length;b++)a=e(d.charCodeAt(b)),f=60*f+a;for(b=0;b<c.length;b++)h/=60,a=e(c.charCodeAt(b)),f+=a*h;return f*k};f=function(a){for(var b=0;b<a.length;b++)a[b]=h(a[b])};g=function(a,b){for(var c=0;c<b;c++)a[c]=Math.round((a[c-1]||0)+6E4*a[c]);a[b-1]=Infinity};q=function(a,b){var c=[],d;for(d=0;d<b.length;d++)c[d]=a[b[d]];return c};u=function(a,b){var c=b.split("|"),d=c[1].split(" "),e=c[2].split(""),h=c[3].split(" ");f(d);f(e);f(h);g(h,e.length);return{name:a,yda:q(c[0].split(" "),
  e),Nw:q(d,e),$Z:h}};D=function(a){var b;b=Error("invalid timeZone ID: "+a);b.errorInfo={errorCode:"invalidTimeZoneID",parameterMap:{timeZoneID:a}};throw b;};I=function(){var a;a=Error("The input time does not exist because it falls during the transition to daylight saving time.");a.errorInfo={errorCode:"nonExistingTime"};throw a;};B=function(){var a;a=Error("TimeZone data is missing. Please call require 'ojs/ojtimezonedata' in order to load the TimeZone data.");a.errorInfo={errorCode:"missingTimeZoneData"};
  throw a;};a.prototype={FBa:function(a){this.name=a.name;this.yda=a.yda;this.$Z=a.$Z;this.Nw=a.Nw},parse:function(a,b,c,d){var e=this.Nw,h=this.$Z,f=h.length-1,k,g,l,q,m,t,p;for(l=0;l<f;l++){k=e[l];g=e[l+1];p=h[l];q=p-6E4*k;m=q+36E5;t=q-36E5;if(a>=q&&a<m&&k>g)if(!0===d)I();else return l+1;if(a>=t&&a<q&&k<g)return b?l:l+1;if(a<p-6E4*k){if(!1===c){if(b)return k<g?l:l+1;if(k<g)return l+1}return l}}return f},offset:function(a){var b=this.Nw.length;return 0<=a&&a<b?parseInt(this.Nw[a],10):parseInt(this.Nw[b-
  1],10)},length:function(){return this.Nw.length}};y=function(a){return(a||"").toLowerCase().replace(/\//g,"_")};z=function(b,d){var e,h;e=new a(b,d);h=y(e.name);c[h]=e};x=function(a,b){var d=y(a);void 0===c[d]&&z(a,b);return c[y(a)]||null};return{Ie:function(){d||(d=b());return d}}}();var f;f=function(){function a(){return{format:function(a,b,c,e){if(2>=arguments.length||void 0===c)c={useGrouping:!0,style:"decimal"};y(c,"OraNumberConverter.format");var h={};v(b,h,c,e);return d(a,c,b,h,e)},parse:function(a,
  b,c,d){if("number"===typeof a)return a;if("[object Number]"===Object.prototype.toString.call(a))return Number(a);if(2>=arguments.length||void 0===c)c={useGrouping:!0,style:"decimal"};y(c,"OraNumberConverter.parse");return e(a,b,c,d)},resolvedOptions:function(a,c,d){if(3>arguments.length||void 0===d)d=b.qt(a);if(2>arguments.length||void 0===c)c={useGrouping:!0,style:"decimal"};var e=X(a,c,d);return Y(e,c,d)}}}var c,d,e,h,f,g,p,q,u,w,v,y,x,z,D,I,B,J,E,G,A,H,F,K,C,L,N,M,Q,O,S,W,V,X,Y,R=/^[+\-]?infinity$/i,
  fa=/^[+\-]?\d*\.?\d*(e[+\-]?\d+)?$/,ga=/([^+-.0-9]*)([+\-]?\d*\.?\d*(E[+\-]?\d+)?).*$/,U=/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,P=/(^0\.0*)([^0].*$)/,T={trillion:[1E14,1E13,1E12],billion:[1E11,1E10,1E9],million:[1E8,1E7,1E6],thousand:[1E5,1E4,1E3]},ia={trillion:1E12,billion:1E9,million:1E6,thousand:1E3},da={HALF_UP:"ceil",HALF_DOWN:"floor",DEFAULT:"round"};c=function(a,b,c){var d;for(d=a.length;d<b;d+=1)a=c?"0"+a:a+"0";return a};B=function(a,b,c,d){var e=new RangeError(a+" is out of range.  Enter a value between "+
  b+" and "+c+" for "+d);e.errorInfo={errorCode:"numberOptionOutOfRange",parameterMap:{value:a,minValue:b,maxValue:c,propertyName:d}};throw e;};A=function(a,b,c,d,e){a=a[b];return void 0!==a?(a=Number(a),(isNaN(a)||a<c||a>d)&&B(a,c,d,b),Math.floor(a)):e};D=function(a,b){if(void 0===b)return"latn";var c=H(b);void 0===a.numbers["symbols-numberSystem-"+c]&&(c="latn");return c};I=function(a){return a.split("-")[0]};H=function(a){a=a||"en-US";var b=a.indexOf("-u-nu-"),c="latn";-1!==b&&(c=a.substr(b+6,4));
  return c};v=function(a,c,d,e){var h=b.vh(a);e=D(h,e);c.numberingSystemKey=e;c.numberingSystem="symbols-numberSystem-"+e;if(void 0!==d.pattern&&0<d.pattern.length)e=d.pattern;else{switch(d.style){case "decimal":e="decimalFormats-numberSystem-";break;case "currency":e="currencyFormats-numberSystem-";break;case "percent":e="percentFormats-numberSystem-";break;default:e="decimalFormats-numberSystem-"}e+=c.numberingSystemKey;e=h.numbers[e].standard;var f=d.decimalFormat;void 0!==f&&"decimal"===d.style&&
  (c.shortDecimalFormat=h.numbers["decimalFormats-numberSystem-latn"][f].decimalFormat)}f=I(b.qt(a));c.plurals=a.supplemental.plurals;c.lang=f;c.pat=e;c.minusSign=h.numbers[c.numberingSystem].minusSign;c.decimalSeparator=h.numbers[c.numberingSystem].decimal;c.exponential=h.numbers[c.numberingSystem].exponential;c.groupingSeparator=h.numbers[c.numberingSystem].group;c.currencyDisplay=d.currencyDisplay;void 0!==d.currency&&(c.currencyCode=d.currency.toUpperCase());c.style=d.style;p(d,e,h,c);void 0===
  d.pattern&&(c.minimumIntegerDigits=A(d,"minimumIntegerDigits",1,21,c.minimumIntegerDigits),void 0!==d.maximumFractionDigits&&(c.maximumFractionDigits=A(d,"maximumFractionDigits",0,20,c.maximumFractionDigits),c.maximumFractionDigits<c.minimumFractionDigits&&(c.minimumFractionDigits=c.maximumFractionDigits)),void 0!==d.minimumFractionDigits&&(c.minimumFractionDigits=A(d,"minimumFractionDigits",0,20,c.minimumFractionDigits)),c.maximumFractionDigits<c.minimumFractionDigits&&(c.maximumFractionDigits=c.minimumFractionDigits))};
  z=function(a){var b=new TypeError('The property "currency" is required whenthe property "'+a+'" is "currency". An accepted value is a three-letter ISO 4217 currency code.');b.errorInfo={errorCode:"optionTypesMismatch",parameterMap:{propertyName:a,propertyValue:"currency",requiredPropertyName:"currency",requiredPropertyValueValid:"a three-letter ISO 4217 currency code"}};throw b;};C=function(){var a;a=Error("long and short decimalFormats are not supported for parsing");a.errorInfo={errorCode:"unsupportedParseFormat",
  parameterMap:{value:"decimal"}};throw a;};y=function(a,c){var d=b.Xj(a,c),e=d("style","string",["currency","decimal","percent","perMill"],"decimal");"decimal"===e&&(e=d("decimalFormat","string",["standard","short","long"]),"OraNumberConverter.parse"===c&&void 0!==e&&"standard"!==e&&C());var h=d("currency","string");"currency"===e&&void 0===h&&z("style");d("roundingMode","string",["HALF_UP","HALF_DOWN","HALF_EVEN"],"DEFAULT")};M=function(a,b,c){function d(a){var b=0,c=0,e=0,h="";if("0"!==a[0]){for(;"0"!==
  a[b]&&b<a.length;)b++;h=a.substr(0,b);e=b}for(b=e;b<a.length;b++)if("0"===a[b])c++;else break;return[h,c]}var e=function(a){var b,c,d;for(b in T)for(d=T[b].length,c=0;c<d;c++)if(T[b][c]<=a)return[b,T[b][c]];return[a,null]}(a),h="";if(null!==e[1]){var h=c.plurals[c.lang](Math.floor(a/ia[e[0]])),f=""+e[1]+"-count-"+h,f=c.shortDecimalFormat[f];void 0===f&&(f=""+e[1]+"-count-other",f=c.shortDecimalFormat[f]);var k=d(f),g=k[1],h=k[0];if(g<f.length){var l=1*Math.pow(10,g),l=e[1]/l*10;a/=l}}e="";void 0!==
  f&&(e=f.substr(g+k[0].length));a=L(a,b,c);return h+a+e};N=function(a,b){var d=a+"",e=0,h=d.split(/e/i),f=h[0];P.lastIndex=0;var k=P.exec(f);null!==k?(e=k[1].length-1,f=k[2]):f=f.replace(".","");var k=1<h.length?parseInt(h[1],10):0,h=parseInt(f,10),g=b.minimumIntegerDigits+b.maximumFractionDigits;f.length>g&&(g-=f.length,h=Math.round(h*Math.pow(10,g)));g=b.minimumIntegerDigits+b.minimumFractionDigits;h=c(h+"",g,!1);k=-1!==d.indexOf(".")?k-(b.minimumIntegerDigits-d.indexOf(".")+e):k-(g-f.length-b.minimumFractionDigits);
  d=Math.abs(k);d=c(d+"",b.minExponentDigits,!0);0>k&&(d=b.minusSign+d);e=h.slice(0,b.minimumIntegerDigits);return e=0<h.slice(b.minimumIntegerDigits).length?e+(b.decimalSeparator+h.slice(b.minimumIntegerDigits)+b.exponential+d):e+(b.exponential+d)};L=function(a,b,d){var e=d.groupingSize,h=d.groupingSize0,f,k=(a+"").split(/e/i),g=1<k.length?parseInt(k[1],10):0;f=k[0];var k=f.split("."),q=1<k.length?k[1]:"";if(1<k.length&&q.length>g){var m=Math.min(d.maximumFractionDigits,q.length-g);a=J(a,m,b.roundingMode||
  "DEFAULT")}k=(a+"").split(/e/i);g=1<k.length?parseInt(k[1],10):0;f=k[0];k=f.split(".");f=k[0];q=1<k.length?k[1]:"";0<g?(q=c(q,g,!1),f+=q.slice(0,g),q=q.substr(g)):0>g&&(g=-g,f=c(f,g+1,!0),q=f.slice(-g,f.length)+q,f=f.slice(0,-g));q=0<m?d.decimalSeparator+(q.length>m?q.slice(0,m):c(q,m,!1)):0<d.minimumFractionDigits?d.decimalSeparator:"";q=c(q,d.decimalSeparator.length+d.minimumFractionDigits,!1);a=d.groupingSeparator;k="";!1===b.useGrouping&&void 0===b.pattern&&(a="");f=c(f,d.minimumIntegerDigits,
  !0);b=f.length-1;for(q=1<q.length?q:"";0<=b;){if(0===e||e>b)return e=f.slice(0,b+1)+(k.length?a+k+q:q);k=f.slice(b-e+1,b+1)+(k.length?a+k:"");b-=e;0<h&&(e=h)}return e=f.slice(0,b+1)+a+k+q};F=function(a,b,c){if("HALF_DOWN"===c||"HALF_EVEN"===c)a=a.substr(b),a=parseInt(a,10),5<a&&(c="HALF_UP");return c};J=function(a,b,c){var d=a.toString().split(".");if(void 0===d[1])return a;if("5"===d[1][b]&&"DEFAULT"!==c)return c=F(d[1],b,c),c=G(d,c,b),E(a,-b,c,d);b=Math.pow(10,b);b=Math.round(a*b)/b;return isFinite(b)?
  b:a};G=function(a,b,c){var d=da[b];"HALF_EVEN"===b&&(d=0==(0===c?parseInt(a[0][a[0].length-1],10):parseInt(a[1][c-1],10))%2?da.HALF_DOWN:da.HALF_UP);return d};E=function(a,b,c,d){if(0===b)return"5"===d[1][0]?Math[c](a):Math.round(a);d=a.toString().split("e");a=d[0];d=d[1];a=a+"e"+(d?parseInt(d,10)-b:-b);a=parseFloat(a);a=Math[c](a);d=a.toString().split("e");a=d[0];d=d[1];a=a+"e"+(d?parseInt(d,10)+b:b);return a=parseFloat(a)};d=function(a,c,d,e,h){d=b.vh(d);if(!isFinite(a))return Infinity===a||-Infinity===
  a?d.numbers[e.numberingSystem].infinity:d.numbers[e.numberingSystem].nan;d=Math.abs(a);!0===e.isPercent||"percent"===c.style?d*=100:!0===e.isPerMill&&(d*=1E3);d="decimal"===c.style&&void 0!==c.decimalFormat&&"standard"!==c.decimalFormat?M(d,c,e):!0===e.useExponentialNotation?N(d,e):L(d,c,e);c="";c=0>a?c+(e.negativePrefix+d+e.negativeSuffix):c+(e.positivePrefix+d+e.positiveSuffix);a=H(h);void 0===b.Bp[a]&&(a="latn");if("latn"!==a){h=[];for(e=0;e<c.length;e++)"0"<=c[e]&&"9">=c[e]?h.push(b.Bp[a][c[e]]):
  h.push(c[e]);return h.join("")}return c};q=function(a,c,d,e){a=b.Fp(a);var h="",f=!1,k=new RegExp("^"+e.numbers[d.numberingSystem].plusSign.replace(U,"\\$1"));a=a.replace(k,"");var g=b.Fp(d.positivePrefix),l=b.Fp(d.positiveSuffix),q=b.Fp(d.negativePrefix),k=b.Fp(d.negativeSuffix),m=new RegExp("^"+(g||"").replace(U,"\\$1")),t=new RegExp((l||"").replace(U,"\\$1")+"$"),p=new RegExp("^"+(q||"").replace(U,"\\$1")),n=new RegExp((k||"").replace(U,"\\$1")+"$");if(!0===p.test(a)&&!0===n.test(a))a=a.replace(p,
  ""),a=a.replace(n,""),h="-",f=!0;else if(!0===m.test(a)&&!0===t.test(a))a=a.replace(m,""),a=a.replace(t,""),h="+",f=!0;else if("currency"===c.style){c=m=d.currencyCode;var r;void 0!==e.numbers.currencies[m]&&(c=e.numbers.currencies[m].symbol);void 0===d.currencyDisplay||"symbol"===d.currencyDisplay?r=c:"code"===d.currencyDisplay&&(r=m);void 0!==r&&(m=(g||"").replace(r,""),l=(l||"").replace(r,""),q=(q||"").replace(r,""),r=(k||"").replace(r,""),m=new RegExp(("^"+m).replace(U,"\\$1")),t=new RegExp(l.replace(U,
  "\\$1")+"$"),p=new RegExp(("^"+q).replace(U,"\\$1")),n=new RegExp(r.replace(U,"\\$1")+"$"),!0===p.test(a)&&!0===n.test(a)?(a=a.replace(p,""),a=a.replace(n,""),h="-",f=!0):!0===m.test(a)&&!0===t.test(a)&&(a=a.replace(m,""),a=a.replace(t,""),h="+",f=!0))}f?d=[h,a]:(d=u(a,d,e),d[2]=!0);return d};u=function(a,c,d){var e=d.numbers[c.numberingSystem].group,h=d.numbers[c.numberingSystem].decimal,f=d.numbers[c.numberingSystem].minusSign,k="",g="";c=b.lj(d.numbers[c.numberingSystem].exponential);a=b.lj(a);
  a=a.split(c).join("E");a=a.split(e).join("");c=e.replace(/\u00A0/g," ");e!==c&&(a=a.split(c).join(""));a=a.split(h).join(".");"."===a.charAt(0)&&(a=a.substr(1),g=".");a=a.replace(f,"-");e=ga.exec(a);g+=e[2];b.Ww(g,"-")?(g=g.substr(1),k="-"):b.Ww(a,"+")&&(g=g.substr(1),k="+");return[k,g]};w=function(a,c,d){var e=c.numbers[d.numberingSystem].minusSign;c=c.numbers[d.numberingSystem].plusSign;var h;a=b.Fp(a);e=b.Fp(e);c=b.Fp(c);b.Ww(a,e)?h=["-",a.substr(e.length)]:b.Ww(a,b.Fp(c))&&(h=["+",a.substr(c.length)]);
  return h||["",a]};h=function(a,c){var d=H(c);if(void 0===b.Bp[d])return a;var e,h=[];for(e=0;e<a.length;e++){var f=b.Bp[d].indexOf(a[e]);-1!==f?h.push(f):h.push(a[e])}return h.join("")};f=function(a,c,d){var e={},h=d.numbers[c.numberingSystem].decimal;d=d.numbers[c.numberingSystem].group;a=a.replace(/ /g,"");var f=c.exponential,k=a.indexOf(f.toLowerCase());0>k&&(k=a.indexOf(b.lj(f)));0>k?(c=a,e.exponent=null):(c=a.substr(0,k),e.exponent=a.substr(k+f.length));f=c.indexOf(h);0>f?(a=c,e.fraction=null):
  (a=c.substr(0,f),e.fraction=c.substr(f+h.length));a=a.split(d).join("");h=d.replace(/\u00A0/g," ");d!==h&&(a=a.split(h).join(""));e.integer=a;return e};K=function(a,c,d,e){isNaN(a)&&g(c.style,d,e);!0===d.isPercent||"percent"===c.style?a/=100:!0===d.isPerMill&&(a/=1E3);b.Xj(c,"OraNumberConverter.parse")("roundDuringParse","boolean",[!0,!1],!1)&&(a=x(a,d,c));return a};g=function(a,b,c){var d,e;d="Unparsable number "+c+" The expected number pattern is "+b.pat;switch(a){case "decimal":e="decimalFormatMismatch";
  break;case "currency":e="currencyFormatMismatch";break;case "percent":e="percentFormatMismatch"}a=Error(d);a.errorInfo={errorCode:e,parameterMap:{value:c,format:b.pat}};throw a;};e=function(a,c,d,e){var k=b.vh(c),g={},l=h(a,e);v(c,g,d,e);c=NaN;c=l.replace(/ /g,"");if(R.test(c))return c=parseFloat(l);e=q(l,d,g,k);c=e[0];var m=e[1];c=c||"+";if(e[2])return c=parseFloat(c+m),K(c,d,g,a);var p=f(m,g,k);e=p.fraction;m=p.exponent;c+=p.integer;null!==e&&(c+="."+e);null!==m&&(e=w(m,k,g),c+="e"+(e[0]||"+")+
  e[1]);fa.test(c)?c=parseFloat(c):(c=u(l,g,k),c=parseFloat(c[0]+c[1]));return K(c,d,g,a)};var aa,Z,ea,ba;V=function(a){var b;b=new SyntaxError('Unexpected character(s) encountered in the pattern "'+a+' An example of a valid pattern is "#,##0.###".');b.errorInfo={errorCode:"optionValueInvalid",parameterMap:{propertyName:"pattern",propertyValue:a,propertyValueHint:"#,##0.###"}};throw b;};O=function(a,b,c){return null!==(new RegExp(c,"i")).exec(a.substr(b,c.length))};W=function(a,b){var c={};null!==aa&&
  (b.positivePrefix=S(aa,a,b,c));null!==Z&&(b.positiveSuffix=S(Z,a,b,c));null!==ea&&(b.negativePrefix=S(ea,a,b,c));null!==ba&&(b.negativeSuffix=S(ba,a,b,c));void 0!==c.name&&(b.positiveSuffix="\u00a0"+c.name,b.positivePrefix="","ar"===b.lang?(b.negativeSuffix=a.numbers[b.numberingSystem].minusSign+"\u00a0"+c.name,b.negativePrefix=""):(b.negativeSuffix="\u00a0"+c.name,b.negativePrefix=a.numbers[b.numberingSystem].minusSign))};S=function(a,b,c,d){for(var e="",h=0;h<a.length;){var f=a.charAt(h++);if("'"!==
  f){switch(f){case "\u00a4":var k=f=c.currencyCode,g=f;void 0!==b.numbers.currencies[f]&&(k=b.numbers.currencies[f].displayName,g=b.numbers.currencies[f].symbol);void 0===c.currencyDisplay||"symbol"===c.currencyDisplay?f=g:"code"!==c.currencyDisplay&&(f=k,d.name=f);break;case "%":f=b.numbers[c.numberingSystem].percentSign;break;case "\u2030":f=b.numbers[c.numberingSystem].perMille;break;case "-":f=b.numbers[c.numberingSystem].minusSign}e=e.concat(f)}}return e};p=function(a,b,c,d){for(var e=!1,h=!1,
  f=0,k=0,g=!0,l=1;0<=l&&k<b.length;--l){for(var q=!1,m="",t="",p=-1,n=1,u=0,r=0,s=0,w=-1,v=-1,x,y=0,g=!0,A=k;A<b.length;++A){var B=b.charAt(A);switch(y){case 0:case 2:if(q){if("'"===B){A+1<b.length&&"'"===b.charAt(A+1)?(++A,g?m=m.concat("''"):t=t.concat("''")):q=!1;continue}}else if("#"===B||"0"===B||","===B||"."===B){y=1;--A;continue}else if("\u00a4"===B){void 0===a.currency&&z("pattern");a.style="currency";(B=A+1<b.length&&"\u00a4"===b.charAt(A+1))&&++A;g?m=m.concat(B?"'\u00a4\u00a4":"'\u00a4"):
  t=t.concat(B?"'\u00a4\u00a4":"'\u00a4");continue}else if("'"===B){if("'"===B){A+1<b.length&&"'"===b.charAt(A+1)?(++A,g?m=m.concat("''"):t=t.concat("''")):q=!0;continue}}else if(";"===B){0!==y&&0!==l||V(b);k=A+1;A=b.length;continue}else if("%"===B){a.style="percent";1!==n&&V(b);d.isPercent=!0;n=100;g?m=m.concat("'%"):t=t.concat("'%");continue}else if("\u2030"===B){1!==n&&V(b);a.style="perMill";d.isPerMill=!0;n=1E3;g?m=m.concat("'\u2030"):t=t.concat("'\u2030");continue}else if("-"===B){g?m=m.concat("'-"):
  t=t.concat("'-");continue}g?m=m.concat(B):t=t.concat(B);break;case 1:if(1===l)++f;else{0===--f&&(y=2,g=!1);continue}if("#"===B)0<r?++s:++u,0<=w&&0>p&&++w;else if("0"===B)0<s&&V(b),++r,0<=w&&0>p&&++w;else if(","===B)v=w,w=0;else if("."===B)0<=p&&V(b),p=u+r+s;else if(O(b,A,"E")){h&&V(b);h=!0;x=0;for(A+=1;A<b.length&&"0"===b.charAt(A);)++x,++f,++A;(1>u+r||1>x)&&V(b);y=2;g=!1;--A}else y=2,g=!1,--A,--f}}0===r&&0<u&&0<=p&&(r=p,0===r&&++r,s=u-r,u=r-1,r=1);(0>p&&0<s||0<=p&&(p<u||p>u+r)||0===w||q)&&V(b);1===
  l?(aa=m,Z=t,ea=aa,ba=Z,q=u+r+s,d.minimumIntegerDigits=(0<=p?p:q)-u,d.maximumIntegerDigits=h?u+d.minimumIntegerDigits:2147483647,d.maximumFractionDigits=0<=p?q-p:0,d.minimumFractionDigits=0<=p?u+r-p:0,d.groupingSize=0<w?w:0,d.groupingSize0=v):(ea=m,ba=t,e=!0)}0===b.length&&(aa=Z="",d.minimumIntegerDigits=0,d.maximumIntegerDigits=2147483647,d.minimumFractionDigits=0,d.maximumFractionDigits=2147483647);d.useExponentialNotation=h;d.minExponentDigits=x;if(!e||0===ea.localeCompare(aa)&&0===ba.localeCompare(Z))"currency"===
  a.style&&"ar"===d.lang?(ba=Z+"'\u200f-",ea=aa):(ba=Z,ea="'-"+aa);W(c,d)};x=function(a,b,c){var d=0>a;a=J(Math.abs(a),b.maximumFractionDigits,c.roundingMode||"DEFAULT");return d?-a:a};X=function(a,c,d){var e={};y(c,"OraNumberConverter.resolvedOptions");v(a,e,c,d);e.numberingSystemKey=H(d);void 0===b.Bp[e.numberingSystemKey]&&(e.numberingSystemKey="latn");return e};Y=function(a,b,c){c={locale:c,style:void 0===b.style?"decimal":b.style,useGrouping:void 0===b.useGrouping?!0:b.useGrouping,numberingSystem:a.numberingSystemKey};
  c.minimumIntegerDigits=a.minimumIntegerDigits;c.minimumFractionDigits=a.minimumFractionDigits;c.maximumFractionDigits=a.maximumFractionDigits;"decimal"===b.style&&void 0!==b.decimalFormat&&(c.decimalFormat=b.decimalFormat);"currency"===b.style&&(c.currency=b.currency,c.currencyDisplay=void 0===b.currencyDisplay?"symbol":b.currencyDisplay);void 0!==b.pattern&&(c.pattern=b.pattern);a=b.roundingMode;b=b.roundDuringParse;void 0!==a&&(c.roundingMode=a);void 0!==b&&(c.roundDuringParse=b);return c};return{Ie:function(){Q||
  (Q=a());return Q}}}();a.Gh=function(a){this.Init(a)};o_("RegExpValidator",a.Gh,a);a.b.ta(a.Gh,a.Ii,"oj.RegExpValidator");a.Gh.aP="oj-validator.regExp.detail";a.Gh.bP="oj-validator.regExp.summary";a.Gh.prototype.Init=function(b){a.Gh.u.Init.call(this);this.Wb=b};a.b.g("RegExpValidator.prototype.Init",{Init:a.Gh.prototype.Init});a.Gh.prototype.validate=function(b){var c,d,e=this.Wb&&this.Wb.pattern||"",h;if(null===b||void 0===b||""===b)return!0;b=b||0===b?b.toString():b;var f;f=b.match("^("+e+")$");
  if(null===f||f[0]!==b)throw this.Wb&&(h=this.Wb.messageSummary||null,c=this.Wb.messageDetail||null,d=this.Wb&&this.Wb.label||""),b={label:d,pattern:e,value:b},h=h?a.va.Pc(h,b):a.va.F(this.mT(),b),c=c?a.va.Pc(c,b):a.va.F(this.ES(),b),new a.qk(h,c);return!0};a.b.g("RegExpValidator.prototype.validate",{validate:a.Gh.prototype.validate});a.Gh.prototype.Md=function(){var b=null,c={};this.Wb&&this.Wb.hint&&(c={pattern:this.Wb.pattern},b=a.va.Pc(this.Wb.hint,c));return b};a.b.g("RegExpValidator.prototype.getHint",
  {Md:a.Gh.prototype.Md});a.Gh.prototype.mT=function(){return a.Gh.bP};a.Gh.prototype.ES=function(){return a.Gh.aP};a.cb={};o_("IntlConverterUtils",a.cb,a);a.cb.isoToDate=function(a){return b.isoToDate(a)};a.cb.isoToLocalDate=function(a){return b.isoToLocalDate(a)};a.cb.dateToLocalIso=function(a){return b.dateToLocalIso(a)};a.cb.a8=function(a){return b.a8(a)};a.cb.getLocalTimeZoneOffset=function(){return b.getLocalTimeZoneOffset()};a.cb.getConverterInstance=function(b){var c="",d={},e=null;b&&("object"===
  typeof b&&(b instanceof a.rg||b.parse&&"function"===typeof b.parse||b.format&&"function"===typeof b.format?e=b:(c=b.type,d=b.options||{})),e||(c=c||b)&&"string"===typeof c&&(b=a.Da.Tl(c),e=b.createConverter(d)));return e};a.cb._minMaxIsoString=function(a,b){if(a){b=b||this.dateToLocalIso(new Date);var c=b.indexOf("T");0===a.indexOf("T")&&0<c&&(a=b.substring(0,c)+a)}return a};a.cb.Vx=function(b,c){a.o.hi(c);var d="",e="",h=c.propertyName,f;"optionTypesMismatch"===b?(e=c.requiredPropertyName,f=c.requiredPropertyValueValid,
  d=a.va.F("oj-converter.optionTypesMismatch.summary",{propertyName:h,propertyValue:c.propertyValue,requiredPropertyName:e}),e=a.cb.fJ(e,f)):"optionTypeInvalid"===b?(h=c.propertyName,f=c.propertyValueValid,d=a.va.F("oj-converter.optionTypeInvalid.summary",{propertyName:h}),e=a.cb.fJ(h,f)):"optionOutOfRange"===b?(d=a.va.F("oj-converter.optionOutOfRange.summary",{propertyName:h,propertyValue:c.propertyValue}),f=c.propertyValueValid,e=a.cb.fJ(h,f)):"optionValueInvalid"===b&&(d=a.va.F("oj-converter.optionValueInvalid.summary",
  {propertyName:h,propertyValue:c.propertyValue}),f=c.propertyValueHint,e=a.cb.fJ(h,f));return new a.sg(d,e)};a.cb.fJ=function(b,c){var d;return c?("string"===typeof c?d="oj-converter.optionHint.detail":(d="oj-converter.optionHint.detail-plural",c=c.join(a.va.F("oj-converter.plural-separator"))),a.va.F(d,{propertyName:b,propertyValueValid:c})):""};a.cb.EKa=function(){return""};a.cb._copyTimeOver=function(a,c){return b._copyTimeOver(a,c)};a.cb._clearTime=function(a){return b._clearTime(a)};a.cb._dateTime=
  function(a,c,d){return b._dateTime(a,c,d)};a.cb._normalizeIsoString=function(a){return b._normalizeIsoString(a)};var h;h=function(){function a(){return{format:function(a,c,d,e){var h;if("number"===typeof a)h=b.dateToLocalIso(new Date(a));else if("string"===typeof a){if(h=b.trim(a),""===h)return null}else return null;if(2>=arguments.length||void 0===d)d={year:"numeric",month:"numeric",day:"numeric"};h=b.dM(h);h=s(c,d,h,e);var f=b.hM(e);void 0===b.Bp[f]&&(f="latn");if("latn"!==f){var k,g=[];for(k=0;k<
  h.length;k++)"0"<=h[k]&&"9">=h[k]?g.push(b.Bp[f][h[k]]):g.push(h[k]);return g.join("")}return h},ZL:function(a,b,c){return p(a,b,c)},parse:function(a,b,c,d){return n(a,b,c,d)},resolvedOptions:function(a,c,d){if(3>arguments.length||void 0===d)d=b.qt(a);if(2>arguments.length||void 0===c)c={year:"numeric",month:"numeric",day:"numeric"};var e,h,f,k=b.Xj(c,"OraDateTimeConverter.resolvedOptions");void 0!==c&&(h=k("isoStrFormat","string",[la,na,Ra,ja,sa],sa),f=k("dst","boolean",[!0,!1],!1),e=c.timeZone);
  var g=b.hM(d);void 0===b.Bp[g]&&(g="latn");return void 0!==c&&void 0!==c.pattern?Ja(h,e,f,d,g,c):void 0!==c?ka(c,k,e,f,h,a,g,d):ea(a,d,g)},et:function(a){a=b.isoToLocalDate(a);var c=new Date(a.getTime());c.setDate(c.getDate()+4-(c.getDay()||7));a=c.getTime();c.setMonth(0);c.setDate(1);return Math.floor(Math.round((a-c)/864E5)/7)+1},DLa:function(a){return Pa(a)},ve:function(a,c,d){var e=Ma(a,c);a=n(a,d,e,"en-US");c=n(c,d,e,"en-US");d=a.value.replace("Z","");c=c.value.replace("Z","");d=b.CB(d);d=Date.UTC(d[0],
  d[1]-1,d[2],d[3],d[4],d[5],d[6]);c=b.CB(c);c=Date.UTC(c[0],c[1]-1,c[2],c[3],c[4],c[5],c[6]);return d-c}}}var c,d,f,g,s,n,p,q,u,w,v,y,x,z,D,I={},B={},J,E,G,A,H,F,K,C,L,N,M,Q,O,S,W,V,X,Y,R,fa,ga,U,P,T,ia,da,aa,Z,ea,ba,ma,ka,ta,Ja,Ka,ca,Ma,za,Na,Oa,ua,xa,va,La,ya,Aa,Ba,Ca,Pa,Qa,Da,Ea,Fa,ra,Ga,oa,pa,Ha=/(\d{1,4})\D+?(\d{1,4})/g,Ia=/(\d{1,4})\D+?(\d{1,4})\D+?(\d{1,4})/g,Sa=/^[M][^M]|[^M]M[^M]|[^M]M$|^M$/g,Za=/^[L][^L]|[^L]L[^L]|[^L]L$|^L$/g,Ta=/^[d][^d]|[^d]d[^d]|[^d]d$|^d$|^d[^d]/,Ua=/(?:^|[^h])h[^h]|[^H]H[^H]|[^k]k[^k]|[^K]K[^K]|^H[^H]|^H$|[^h]h$/,
  Va=/'.*'/,Wa=/'[^d]*d[^d]*'/,Xa=/(\d{1,2})(?:\D+?(\d{1,2}))?(?:\D+?(\d{1,2}))?(?:\D+?(\d{1,3}))?/g,wa=/h|H|K|k/g,Ya=/([\^\$\.\*\+\?\|\[\]\(\)\{\}])/g,qa=/ccccc|cccc|ccc|cc|c|EEEEE|EEEE|EEE|EE|E|dd|d|MMMMM|MMMM|MMM|MM|M|LLLLL|LLLL|LLL|LL|L|yyyy|yy|y|hh|h|HH|H|KK|K|kk|k|mm|m|ss|s|aa|a|SSS|SS|S|zzzz|zzz|zz|z|v|ZZZ|ZZ|Z|XXX|XX|X|VV|GGGGG|GGGG|GGG|GG|G/g,$a={0:"sun",1:"mon",2:"tue",3:"wed",4:"thu",5:"fri",6:"sat"},la="zulu",ja="local",sa="auto",Ra="invariant",na="offset",ha={MMM:{token:"months",style:"format",
  mLen:"abbreviated",matchIndex:0,key:"month",value:"short",regExp:"(\\D+|\\d\\d?\\D|\\d\\d?|\\D+\\d\\d?)"},MMMM:{token:"months",style:"format",mLen:"wide",matchIndex:0,key:"month",value:"long",regExp:"(\\D+|\\d\\d?\\D|\\d\\d?|\\D+\\d\\d?)"},MMMMM:{token:"months",style:"format",mLen:"narrow",matchIndex:0,key:"month",value:"narrow",regExp:"(\\D+|\\d\\d?\\D|\\d\\d?|\\D+\\d\\d?)"},LLL:{token:"months",style:"stand-alone",mLen:"abbreviated",matchIndex:1,key:"month",value:"short",regExp:"(\\D+|\\d\\d?\\D|\\d\\d?|\\D+\\d\\d?)"},
  LLLL:{token:"months",style:"stand-alone",mLen:"wide",matchIndex:1,key:"month",value:"long",regExp:"(\\D+|\\d\\d?\\D|\\d\\d?|\\D+\\d\\d?)"},LLLLL:{token:"months",style:"stand-alone",mLen:"narrow",matchIndex:1,key:"month",value:"narrow",regExp:"(\\D+|\\d\\d?\\D|\\d\\d?|\\D+\\d\\d?)"},E:{token:"days",style:"format",dLen:"abbreviated",matchIndex:0,key:"weekday",value:"short",regExp:"(\\D+|\\D+\\d\\d?)"},EE:{token:"days",style:"format",dLen:"abbreviated",matchIndex:0,key:"weekday",value:"short",regExp:"(\\D+|\\D+\\d\\d?)"},
  EEE:{token:"days",style:"format",dLen:"abbreviated",matchIndex:0,key:"weekday",value:"short",regExp:"(\\D+|\\D+\\d\\d?)"},EEEE:{token:"days",style:"format",dLen:"wide",matchIndex:0,key:"weekday",value:"long",regExp:"(\\D+|\\D+\\d\\d?)"},EEEEE:{token:"days",style:"format",dLen:"narrow",matchIndex:0,key:"weekday",value:"narrow",regExp:"(\\D+|\\D+\\d\\d?)"},c:{token:"days",style:"stand-alone",dLen:"abbreviated",matchIndex:1,key:"weekday",value:"short",regExp:"(\\D+|\\D+\\d\\d?)"},cc:{token:"days",style:"stand-alone",
  dLen:"abbreviated",matchIndex:1,key:"weekday",value:"short",regExp:"(\\D+|\\D+\\d\\d?)"},ccc:{token:"days",style:"stand-alone",dLen:"abbreviated",matchIndex:1,key:"weekday",value:"short",regExp:"(\\D+|\\D+\\d\\d?)"},cccc:{token:"days",style:"stand-alone",dLen:"wide",matchIndex:1,key:"weekday",value:"long",regExp:"(\\D+|\\D+\\d\\d?)"},ccccc:{token:"days",style:"stand-alone",dLen:"narrow",matchIndex:1,key:"weekday",value:"narrow",regExp:"(\\D+|\\D+\\d\\d?)"},h:{token:"time",timePart:"hour",start1:0,
  end1:11,start2:1,end2:12,key:"hour",value:"numeric",regExp:"(\\d\\d?)"},hh:{token:"time",timePart:"hour",start1:0,end1:11,start2:1,end2:12,key:"hour",value:"2-digit",regExp:"(\\d\\d?)"},K:{token:"time",timePart:"hour",start1:0,end1:11,start2:0,end2:11,key:"hour",value:"numeric",regExp:"(\\d\\d?)"},KK:{token:"time",timePart:"hour",start1:0,end1:11,start2:0,end2:11,key:"hour",value:"2-digit",regExp:"(\\d\\d?)"},H:{token:"time",timePart:"hour",start1:0,end1:23,start2:0,end2:23,key:"hour",value:"numeric",
  regExp:"(\\d\\d?)"},HH:{token:"time",timePart:"hour",start1:0,end1:23,start2:0,end2:23,key:"hour",value:"2-digit",regExp:"(\\d\\d?)"},k:{token:"time",timePart:"hour",start1:0,end1:23,start2:1,end2:24,key:"hour",value:"numeric",regExp:"(\\d\\d?)"},kk:{token:"time",timePart:"hour",start1:0,end1:23,start2:1,end2:24,key:"hour",value:"2-digit",regExp:"(\\d\\d?)"},m:{token:"time",timePart:"minute",start1:0,end1:59,start2:0,end2:59,key:"minute",value:"numeric",regExp:"(\\d\\d?)"},mm:{token:"time",timePart:"minute",
  start1:0,end1:59,start2:0,end2:59,key:"minute",value:"2-digit",regExp:"(\\d\\d?)"},s:{token:"time",timePart:"second",start1:0,end1:59,start2:0,end2:59,key:"second",value:"numeric",regExp:"(\\d\\d?)"},ss:{token:"time",timePart:"second",start1:0,end1:59,start2:0,end2:59,key:"second",value:"2-digit",regExp:"(\\d\\d?)"},S:{token:"time",timePart:"millisec",start1:0,end1:999,start2:0,end2:999,key:"millisecond",value:"numeric",regExp:"(\\d{1,3})"},SS:{token:"time",timePart:"millisec",start1:0,end1:999,start2:0,
  end2:999,key:"millisecond",value:"numeric",regExp:"(\\d{1,3})"},SSS:{token:"time",timePart:"millisec",start1:0,end1:999,start2:0,end2:999,key:"millisecond",value:"numeric",regExp:"(\\d{1,3})"},d:{token:"dayOfMonth",key:"day",value:"numeric",getPartIdx:2,regExp:"(\\d\\d?)"},dd:{token:"dayOfMonth",key:"day",value:"2-digit",getPartIdx:2,regExp:"(\\d\\d?)"},M:{token:"monthIndex",key:"month",value:"numeric",getPartIdx:1,regExp:"(\\d\\d?)"},MM:{token:"monthIndex",key:"month",value:"2-digit",getPartIdx:1,
  regExp:"(\\d\\d?)"},L:{token:"monthIndex",key:"month",value:"numeric",getPartIdx:1,regExp:"(\\d\\d?)"},LL:{token:"monthIndex",key:"month",value:"2-digit",getPartIdx:1,regExp:"(\\d\\d?)"},y:{token:"year",key:"year",value:"numeric",regExp:"(\\d{1,4})"},yy:{token:"year",key:"year",value:"2-digit",regExp:"(\\d\\d?)"},yyyy:{token:"year",key:"year",value:"numeric",regExp:"(\\d{1,4})"},a:{token:"ampm",key:"hour12",value:!0,regExp:"(\\D*)"},z:{token:"tzAbbrev",regExp:"(.+?)"},v:{token:"tzAbbrev",key:"timeZoneName",
  value:"short",regExp:"(.+?)"},zz:{token:"tzAbbrev",regExp:"(.+?)"},zzz:{token:"tzAbbrev",regExp:"(.+?)"},zzzz:{token:"tzFull",regExp:"(.+?)"},Z:{token:"tzhm",regExp:"([+-]?\\d{1,4})"},ZZ:{token:"tzhm",regExp:"([+-]?\\d{1,4})"},ZZZ:{token:"tzhm",regExp:"([+-]?\\d{1,4})"},X:{token:"tzh",regExp:"([+-]?\\d{1,2})"},XX:{token:"tzhm",key:"XX",regExp:"([+-]?\\d{1,4})"},XXX:{token:"tzhsepm",regExp:"([+-]?\\d{1,2}:\\d{1,2})"},VV:{token:"tzid",regExp:"(.+?)"},G:{token:"era",key:"era",value:"short",regExp:"(\\D+|\\D+\\d\\d?)"},
  GG:{token:"era",key:"era",value:"short",regExp:"(\\D+|\\D+\\d\\d?)"},GGG:{token:"era",key:"era",value:"short",regExp:"(\\D+|\\D+\\d\\d?)"},GGGG:{token:"era",key:"era",value:"long",regExp:"(\\D+|\\D+\\d\\d?)"},GGGGG:{token:"era",key:"era",value:"narrow",regExp:"(\\D+|\\D+\\d\\d?)"},"/":{token:"slash",regExp:"(\\/)"}};y=function(a){a=a["two-digit-year-start"];if(void 0===a||isNaN(a))a=1950;return a=parseInt(a,10)};x=function(a){return"h"===a.supplemental.prefferedHours[b.Mea(b.qt(a))]};J=function(a){return 0===
  a%400?!0:0===a%100?!1:0===a%4?!0:!1};E=function(a,b){switch(b){case 0:case 2:case 4:case 6:case 7:case 9:case 11:return 31;case 1:return J(a)?29:28;default:return 30}};D=function(a,c,d){c=b.vh(c);var e=b.Xj(a,d);a=e("formatType","string",["date","time","datetime"],"date");d=e("dateFormat","string",["short","medium","long","full"],"short");var e=e("timeFormat","string",["short","medium","long","full"],"short"),h=c.dates.calendars.gregorian;c=h.dateFormats;var h=h.timeFormats,f,k,g;switch(d){case "full":f=
  c.full;break;case "long":f=c["long"];break;case "medium":f=c.medium;break;case "short":f=c["short"]}switch(e){case "full":k=h.full;break;case "long":k=h["long"];break;case "medium":k=h.medium;break;case "short":k=h["short"]}void 0===f||"datetime"!==a&&"date"!==a||(g=f);void 0===k||"datetime"!==a&&"time"!==a||(g=g?g+" "+k:k);return g};d=function(a,b){for(var c=0,d=!1,e=0,h=a.length;e<h;e++){var f=a.charAt(e);switch(f){case "'":d?b.push("'"):c++;d=!1;break;case "\\":d&&b.push("\\");d=!d;break;default:b.push(f),
  d=!1}}return c};q=function(a,b,c){var d;d=void 0!==b.year||void 0!==b.month||void 0!==b.weekday||void 0!==b.day;b=void 0!==b.hour||void 0!==b.minute||void 0!==b.second;d=d&&b?"MM/dd/yy hh:mm:ss a":d?"MM/dd/yy":"hh:mm:ss a";c=new SyntaxError("Unexpected character(s) "+c+' encountered in the pattern "'+a+' An example of a valid pattern is "'+d+'".');c.errorInfo={errorCode:"optionValueInvalid",parameterMap:{propertyName:"pattern",propertyValue:a,"propertyValueHint ":d}};throw c;};F=function(a,c,d,e){c=
  b.vh(c).dates.calendars.gregorian.dateTimeFormats.availableFormats;d="weekday era year month day hour minute second timeZoneName".split(" ");var h={"2-digit":0,numeric:1,narrow:2,"short":3,"long":4},f=-Infinity,k=void 0,g,l,q;for(q in c){l=!1;var m={};m.pattern=c[q];for(var t=0;null!==(g=qa.exec(q));)g=g[0],"h"!==g&&"hh"!==g||e?"H"!==g&&"HH"!==g||!e?void 0!==ha[g]&&(m[ha[g].key]=ha[g].value):l=!0:l=!0;if(!l){for(var p in d)l=a[d[p]],g=m[d[p]],void 0===l&&void 0!==g?t-=20:void 0!==l&&void 0===g?t-=
  120:void 0!==l&&void 0!==g&&(l=Math.max(Math.min(h[g]-h[l],2),-2),2===l?t-=6:1===l?t-=3:-1===l?t-=6:-2===l&&(t-=8));t>f&&(f=t,k=m)}}return void 0!==k?k.pattern:null};G=function(a,c,d){var e="",h="",f={},k={};a=b.Xj(a,d);d=a("era","string",["narrow","short","long"]);e+=K(f,"era",d,{narrow:"GGGGG","short":"GGG","long":"GGGG"});d=a("year","string",["2-digit","numeric"]);e+=K(f,"year",d,{"2-digit":"yy",numeric:"y"});d=a("month","string",["2-digit","numeric","narrow","short","long"]);e+=K(f,"month",d,
  {"2-digit":"MM",numeric:"M",narrow:"MMMMM","short":"MMM","long":"MMMM"});d=a("weekday","string",["narrow","short","long"]);e+=K(f,"weekday",d,{narrow:"EEEEE","short":"E","long":"EEEE"});d=a("day","string",["2-digit","numeric"]);var e=e+K(f,"day",d,{"2-digit":"dd",numeric:"d"}),g=a("hour12","boolean",[!0,!1]);void 0===g&&(g=x(c));d=a("hour","string",["2-digit","numeric"]);h=!0===g?h+K(k,"hour",d,{"2-digit":"hh",numeric:"h"}):h+K(k,"hour",d,{"2-digit":"HH",numeric:"H"});d=a("minute","string",["2-digit",
  "numeric"]);h+=K(k,"minute",d,{"2-digit":"mm",numeric:"m"});d=a("second","string",["2-digit","numeric"]);h+=K(k,"second",d,{"2-digit":"ss",numeric:"s"});d=a("timeZoneName","string",["short","long"]);h+=K(k,"timeZoneName",d,{"short":"v","long":"v"});return[e,h,f,k]};K=function(a,b,c,d){return void 0!==c?(a[b]=c,d[c]):""};A=function(a,c,d){var e=a;c=b.Xj(c,d);d=c("year","string",["2-digit","numeric"]);var h={"2-digit":"yy",numeric:"yyyy"};void 0!==d&&(e=e.replace(/y{1,4}/,h[d]));d=c("month","string",
  ["2-digit","numeric","narrow","short","long"]);if(void 0!==d){var h={"2-digit":"MM",numeric:"M",narrow:"MMMMM","short":"MMM","long":"MMMM"},f={"2-digit":"LL",numeric:"L",narrow:"LLLLL","short":"LLL","long":"LLLL"};void 0!==h[d]&&2<h[d].length?(e=e.replace(/M{3,5}/,h[d]),e=e.replace(/L{3,5}/,f[d])):"2-digit"===d&&(Sa.lastIndex=0,(d=Sa.test(a))&&(e=e.replace("M","MM")),(d=Za.test(a))&&(e=e.replace("L","LL")))}d=c("weekday","string",["narrow","short","long"]);void 0!==d&&(e=e.replace(/E{1,5}/,{narrow:"EEEEE",
  "short":"EEE","long":"EEEE"}[d]),e=e.replace(/c{1,5}/,{narrow:"ccccc","short":"ccc","long":"cccc"}[d]));d=c("day","string",["2-digit","numeric"]);void 0!==d&&"2-digit"===d&&(Ta.lastIndex=0,Wa.lastIndex=0,c=Wa.test(a),d=Ta.test(a),!0==d&&!1===c&&(e=e.replace("d","dd")));return e};H=function(a,c,d){var e=a;"2-digit"===b.Xj(c,d)("hour","string",["2-digit","numeric"])&&(Ua.lastIndex=0,Va.lastIndex=0,c=a.replace(Va,""),c=Ua.exec(c),null!==c&&(wa.lastIndex=0,e=wa.exec(c[0]),e=a.replace(e[0],e[0]+e[0])));
  return e};xa=function(a,b,c){var d,e=0;for(d in b)e++;if(1<e)return null;for(d=a.length;0<d;d--)if(b=c[a.substr(0,d)],void 0!==b)return b;return a};Na=function(a,c){var d="symbols-numberSystem-"+b.mGa(a,c);return a.numbers[d].decimal};f=function(a,c,d,e){function h(b){if(void 0!==n){var c=Na(f,d),c=void 0===m&&void 0===t&&void 0===p?"S":"ss"+c+"SSS";b=b.replace("ss",c);void 0===p&&(a.second=void 0)}var c=g("timeZoneName","string",["short","long"]),e={"short":"z","long":"zzzz"};void 0!==c&&(b=b.replace(/v/,
  e[c]));return b}var f=b.vh(c),k=b.qt(c),g=b.Xj(a,e),l=g("formatMatcher","string",["basic","munger"],"munger"),q=0;for(q in a)q++;0===q&&(a={year:"numeric",month:"numeric",day:"numeric"});var m,t,p,n;n=g("millisecond","string",["numeric","2-digit"]);p=g("second","string",["numeric","2-digit"]);void 0!==n&&(m=g("hour","string",["numeric","2-digit"]),t=g("minute","string",["numeric","2-digit"]),a.second="2-digit");q=G(a,c,e);if(void 0!==I[k]){var u=I[k].dates.calendars.gregorian.dateTimeFormats[q[0]+
  q[1]];if(void 0!==u)return u=h(u)}if(""===q[0]&&""===q[1])return D(a,c,e);var r=f.dates.calendars.gregorian.dateTimeFormats.availableFormats,s=r[q[0]],w=g("hour12","boolean",[!0,!1]);void 0===w&&(w=x(c));void 0===s&&""!==q[0]&&(s=xa(q[0],q[2],r),null===s&&(s=F(q[2],c,0,w)),null!==s?"basic"!==l&&(s=A(s,a,e)):s=q[0]);u=r[q[1]];void 0===u&&""!==q[1]&&(u=xa(q[1],q[3],r),null===u&&(u=F(q[3],c,0,w)),null!==u?"basic"!==l&&(u=H(u,a,e)):u=q[1]);c=s||"";void 0!==u&&(c=""!==c?c+(" "+u):u);void 0===I[k]&&(I[k]=
  {},I[k].dates={},I[k].dates.calendars={},I[k].dates.calendars.gregorian={},I[k].dates.calendars.gregorian.dateTimeFormats={});I[k].dates.calendars.gregorian.dateTimeFormats[q[0]+q[1]]=c;return c=h(c)};ra=function(a){a=a.split(" ");var b=a[0].split("-"),c=new Date(b[0],b[1]-1,b[2]);1<a.length&&(b=a[1].split(":"),c.setHours(b[0]),c.setMinutes(b[1]));return c.getTime()};Fa=function(a,b,c){a=new Date(a[0],a[1]-1,a[2],a[3],a[4],a[5]);a=a.getTime();b=b.split("/");c=c[b[0]];if(void 0===c)return null;c=c[b[1]];
  if(void 0===c)return null;var d=c.length,e,h,f,k,g;for(b=0;b<d;b++)if(f=c[b].usesMetazone._from,k=c[b].usesMetazone._to,g=c[b].usesMetazone._mzone,void 0===f&&void 0===k||void 0===f&&void 0!==k&&(h=ra(k),a<=h)||void 0!==f&&void 0===k&&(e=ra(f),a>=e)||void 0!==f&&void 0!==k&&(e=ra(f),h=ra(k),a>=e&&a<h))return g};Ga=function(a,c,d,e,h){var f=b.vh(a),k="",g=d.timeZone;d=b.Xj(d,"OraDateTimeConverter")("dst","boolean",[!0,!1],!1);if(void 0===g)return k;var l=Fa(c,g,a.supplemental.metazones),k="standard";
  h=h?!1:!0;a=oa(g,a);c=pa(a,c,d,h,!0);f=f.dates.timeZoneNames.metazone[l];if(void 0===f)return k=a.offset(c),b.eA("UTC",k,!0,!0);f=1===e?f["long"]:f["short"];e=a.offset(c);c=a.offset(c+1);e<c&&(k="daylight");return void 0!==f&&(k=f[k],void 0!==k)?k:b.eA("UTC",e,!0,!0)};oa=function(a,b){return e.Ie().Qfa(a,b)};pa=function(a,b,c,d,e){return a.parse(Date.UTC(b[0],b[1]-1,b[2],b[3],b[4],b[5]),c,d,e)};s=function(a,c,e,h){function k(a,b){switch(b){case 0:return a[0];case 1:return a[1];case 2:return a[2];
  case 3:return $a[(new Date(a[0],a[1]-1,a[2],a[3],a[4],a[5])).getDay()]}}function g(a,c,d,e){c=k(c,d);a.push(1<e?b.rc(c,e):c)}function l(a,d,e,h,f){var k;switch(h.timePart){case "hour":k=11===h.end1?d[3]%12:d[3];"h"===f||"hh"===f?0===k&&(k=12):"k"!==f&&"kk"!==f||0!==k||(k=24);break;case "minute":k=d[4];break;case "second":k=void 0===c.second&&void 0!==c.millisecond?0:d[5];break;case "millisec":k=d[6]}a.push(1<e?b.rc(k,e):k)}function t(c,d,h){var f,k=d.timeZone;d=w("dst","boolean",[!0,!1],!1);h=h?!1:
  !0;if(void 0!==k)f=oa(k,a),c=pa(f,c,d,h,!0),f=-f.offset(c);else if(e.format!==ja)switch(e.format){case na:f=e.timeZone.split(":");c=parseInt(f[1],10);f=60*parseInt(f[0],10)+(b.Ww(e.timeZone,"-")?-c:c);break;case la:f=0;break;default:f=0}return f}var p,n=e.isoStrParts,u=0===e.dateTime.indexOf("T"),s=b.vh(a),w=b.Xj(c,"OraDateTimeConverter.format");p=c.pattern||f(c,a,h,"OraDateTimeConverter.format");h=[];var v,x=0,s=s.dates.calendars.gregorian,y=c.timeZone;for(e.format!==ja&&void 0!==y&&Ba(e,c,a);;){var A=
  qa.lastIndex,B=qa.exec(p),A=p.slice(A,B?B.index:p.length),x=x+d(A,h);if(!B)break;if(x%2)h.push(B[0]);else switch(v=B[0],B=v.length,A=ha[v],A.token){case "days":v=s[A.token][A.style][A.dLen];h.push(v[k(n,3)]);break;case "months":v=s[A.token][A.style][A.mLen];h.push(v[k(n,1)]);break;case "dayOfMonth":case "monthIndex":h.push(g(h,n,A.getPartIdx,B));break;case "year":v=n[0];2===B&&(v%=100);h.push(b.rc(v,B));break;case "time":l(h,n,B,A,v);break;case "ampm":v=12>n[3]?s.dayPeriods.format.wide.am:s.dayPeriods.format.wide.pm;
  h.push(v);break;case "tzhm":v=t(n,c,u);0===v?"XX"===A.key?h.push("Z"):h.push("+0000"):h.push((0>=v?"-":"+")+b.rc(Math.floor(Math.abs(v/60)),2)+b.rc(Math.floor(Math.abs(v%60)),2));break;case "tzhsepm":v=t(n,c,u);0===v?h.push("Z"):h.push((0>=v?"-":"+")+b.rc(Math.floor(Math.abs(v/60)),2)+":"+b.rc(Math.floor(Math.abs(v%60)),2));break;case "tzh":v=t(n,c,u);0===v?h.push("Z"):h.push((0>=v?"-":"+")+b.rc(Math.floor(Math.abs(v/60)),2));break;case "tzid":v=void 0!==y?y:e.format===la?"UTC":"";h.push(v);break;
  case "tzAbbrev":v=Ga(a,n,c,0,u);h.push(v);break;case "tzFull":v=Ga(a,n,c,1,u);h.push(v);break;case "era":v=s.eras.eraAbbr;h.push(v["1"]);break;case "slash":h.push("/");break;default:q(p,c,v)}}return h.join("")};N=function(a,b){return a.getFullYear()===b.getFullYear()};M=function(a,b){return 1===b.getFullYear()-a.getFullYear()};Q=function(a,b){return M(b,a)};O=function(a,b){return N(a,b)&&a.getMonth()===b.getMonth()};S=function(a,b){return N(a,b)?1===b.getMonth()-a.getMonth():M(a,b)?11===a.getMonth()&&
  0===b.getMonth():!1};W=function(a,b){return S(b,a)};C=function(a,b){var c=a.getDate(),d=b.getDate();S(a,b)&&(d+=E(a.getFullYear,a.getMonth()));return d-c};L=function(a,c){var d=a.supplemental.weekData.firstDay,e=d[b.Mea(b.qt(a))];void 0===e&&(e=d["001"]);d=c-e;0>d&&(d+=7);return d};V=function(a,b,c){if(b>c){var d=b;b=c;c=d}if(!O(b,c)&&!S(b,c))return!1;a=C(b,c)+L(a,b.getDay());return 0<=a&&6>=a};X=function(a,b,c){if(!O(b,c)&&!S(b,c))return!1;a=C(b,c)+L(a,b.getDay());return 7<=a&&13>=a};Y=function(a,
  b,c){return X(a,c,b)};R=function(a,b){return N(a,b)&&O(a,b)&&a.getDate()===b.getDate()};fa=function(a,b){return O(a,b)||S(a,b)?1===C(a,b):!1};ga=function(a,b){return fa(b,a)};p=function(a,c,d){if("number"===typeof a)a=new Date(a);else if("string"===typeof a){if(""===b.trim(a))return null;a=b.isoToLocalDate(a)}else return null;var e=b.vh(c).dates.fields;d=b.Xj(d,"OraDateTimeConverter.formatRelative");d("formatUsing","string",["displayName"]);d=d("dateField","string",["day","week","month","year"]);
  var h=new Date;switch(d){case "day":if(R(h,a))return e.day["relative-type-0"];if(fa(h,a))return e.day["relative-type-1"];if(ga(h,a))return e.day["relative-type--1"];break;case "week":if(V(c,h,a))return e.week["relative-type-0"];if(X(c,h,a))return e.week["relative-type-1"];if(Y(c,h,a))return e.week["relative-type--1"];break;case "month":if(O(h,a))return e.month["relative-type-0"];if(S(h,a))return e.month["relative-type-1"];if(W(h,a))return e.month["relative-type--1"];break;case "year":if(N(h,a))return e.year["relative-type-0"];
  if(M(h,a))return e.year["relative-type-1"];if(Q(h,a))return e.year["relative-type--1"]}return null};va=function(a,b){var c;c=Error("The weekday "+a+" does not match the date "+b);c.errorInfo={errorCode:"dateToWeekdayMismatch",parameterMap:{weekday:a,date:b}};throw c;};ua=function(a,b,c){var d;2===c?(d='The value "'+a+'" does not match the expected date-time format "'+b+'"',c="datetimeFormatMismatch"):0===c?(d='The value "'+a+'" does not match the expected date format "'+b+'"',c="dateFormatMismatch"):
  (d='The value "'+a+'" does not match the expected time format "'+b+'"',c="timeFormatMismatch");d=Error(d);d.errorInfo={errorCode:c,parameterMap:{value:a,format:b}};throw d;};U=function(a,b){100>b&&(b+=100*Math.floor(a/100)+(b<a%100?100:0));return b};za=function(a,c){var d={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6},e;for(e in a)if(b.trim(b.lj(a[e]))===b.trim(c))return d[e];return-1};Oa=function(a,c){for(var d in a)if(b.trim(b.lj(a[d]))===b.trim(c))return d-1;return-1};Z=function(a,c,d){var e=b.vh(a),
  h;a=e.dates.calendars.gregorian.days.format;e=e.dates.calendars.gregorian.days["stand-alone"];switch(d){case 0:h=[a.abbreviated,a.wide];break;case 1:h=[e.abbreviated,e.wide]}c=b.lj(c);d=za(h[0],c);-1===d&&(d=za(h[1],c));return d};ba=function(a,c,d){var e=-1,h=b.vh(a);a=h.dates.calendars.gregorian.months.format;h=h.dates.calendars.gregorian.months["stand-alone"];switch(d){case 0:d=[a.wide,a.abbreviated];break;case 1:d=[h.wide,h.abbreviated];break;case 2:d=[a.wide,a.abbreviated,h.wide,h.abbreviated];
  break;default:return-1}c=b.lj(c);for(var f in d)if(e=Oa(d[f],c),-1!==e)break;return e};ta=function(a,b){for(var c=a.replace(Ya,"\\\\$1"),e=["^"],h=[],f=0,k=0,g;null!==(g=qa.exec(c));){var l=c.slice(f,g.index),f=qa.lastIndex,k=k+d(l,e);if(k%2)e.push(g[0]);else{var l=g[0],t;void 0!==ha[l]?t=ha[l].regExp:q(a,b,l);t&&e.push(t);h.push(g[0])}}d(c.slice(f),e);e.push("$");c={regExp:e.join("").replace(/\s+/g,"\\s+"),groups:h};return{}[a]=c};ca=function(a,b,c,d,e,h,f){if(b<c||b>d)throw b=new RangeError(e+" is out of range.  Enter a value between "+
  h+" and "+f+" for "+a),b.errorInfo={errorCode:"datetimeOutOfRange",parameterMap:{value:e,minValue:h,maxValue:f,propertyName:a}},b;};P=function(a,b){for(var c=0;c<a.length;c++)for(var d in a[c])if(d===b)return parseInt(c,10);return 0};aa=function(a,c,d,e,h){var f=b.vh(e).dates.calendars.gregorian.dayPeriods.format.wide.pm,k=e=Xa.lastIndex=0,g=0,l=0,q=Xa.exec(c);null===q&&ua(c,d,h);void 0!==q[1]&&(e=parseInt(q[1],10));void 0!==q[2]&&(k=parseInt(q[2],10));void 0!==q[3]&&(g=parseInt(q[3],10));void 0!==
  q[4]&&(l=parseInt(q[4],10));wa.lastIndex=0;q=wa.exec(d);switch(q[0]){case "h":12===e&&(e=0);ca("hour",e,0,11,e,1,12);c=b.lj(c).indexOf(b.lj(f));-1!==c&&12>e&&(e+=12);break;case "K":ca("hour",e,0,11,e,0,11);c=b.lj(c).indexOf(b.lj(f));-1!==c&&12>e&&(e+=12);break;case "H":ca("hour",e,0,23,e,0,23);break;case "k":24===e&&(e=0),ca("hour",e,0,23,e,1,24)}ca("minute",k,0,59,k,0,59);ca("second",g,0,59,g,0,59);ca("millisec",l,0,999,l,0,999);a.setHours(e,k,g,l)};Ea=function(a,c){var d=b.vh(c),e=d.dates.calendars.gregorian.days.format,
  d=d.dates.calendars.gregorian.days["stand-alone"],e=[e.wide,e.abbreviated,d.wide,d.abbreviated],d=!1,h,f,k;for(f in e){for(k in e[f])if(h=e[f][k],(new RegExp(h+"\\b","i")).test(a)){d=!0;break}if(d)break;h=null}return h};ia=function(a,c,d,e,h){Ia.lastIndex=0;var f=Ia.exec(a);null===f&&ua(a,c,h?2:0);var k=[{y:c.indexOf("y")},{M:c.indexOf("M")},{d:c.indexOf("d")}];k.sort(function(a,b){for(var c in a)break;for(var d in b)break;return a[c]-b[d]});var g,l,q,m,t,p,n=P(k,"d"),u=!1,r=!1;for(p=1;3>=p;p++){var s=
  f[p];if(2<s.length||31<s)g=s,u=!0,m=p-1}u||(m=P(k,"y"),g=f[P(k,"y")+1]);for(p=0;3>p;p++)if(p!==m&&12<f[p+1]){q=f[p+1];r=!0;t=p;break}if(r){for(p=0;3>p;p++)if(p!==t&&p!==m){l=f[p+1];break}void 0===l&&(l=f[P(k,"M")+1])}else m===P(k,"d")?(q=f[P(k,"y")+1],l=f[P(k,"M")+1]):m===P(k,"M")?(q=f[P(k,"d")+1],l=f[P(k,"y")+1]):(q=f[P(k,"d")+1],l=f[P(k,"M")+1]);l-=1;f=E(g,l);r&&n!==t&&12<l&&ca("month",q,0,11,q,1,12);ca("month",l,0,11,l+1,1,12);ca("day",q,1,f,q,1,f);g=U(y(d),parseInt(g,10));ca("year",g,0,9999,g,
  0,9999);d=new Date(g,l,q);g=Ea(a,e);null!==g&&(l=Z(e,g,0),d.getDay()!==l&&va(g,d.getDate()));d={value:d,offset:"",warning:"lenient parsing was used"};h&&(a=a.substr(Ia.lastIndex),0===a.length?d.value.setHours(0,0,0,0):aa(d.value,a,c,e,2));d.value=b.dateToLocalIso(d.value);return d};da=function(a,c,d,e,h){var f=a;a=b.lj(a);var k=b.vh(e),g=k.dates.calendars.gregorian.months.format,k=k.dates.calendars.gregorian.months["stand-alone"],g=[g.wide,g.abbreviated,k.wide,k.abbreviated],k=!1,l,q,m,p;for(q in g){l=
  [];for(m in g[q])p=b.lj(g[q][m]),l.push({idx:m,name:p});l.sort(function(a,b){return b.idx-a.idx});for(m in l)if(p=l[m].name,-1!==a.indexOf(p)){k=!0;a=a.replace(p,"");break}if(k)break}if(!k)return ia(f,c,d,e,h);m=ba(e,p,2);ca("month",m,0,11,m,1,12);p=Ea(f,e);q=new RegExp(p+"\\W","i");null!==p&&(a=a.replace(q,""));Ha.lastIndex=0;g=Ha.exec(a);null===g&&ua(f,c,h?2:0);f=[{y:c.indexOf("y")},{d:c.indexOf("d")}];f.sort(function(a,b){for(var c in a)break;for(var d in b)break;return a[c]-b[d]});var t,n,k=!1;
  for(q=1;2>=q;q++)if(l=g[q],2<l.length||31<l)t=l,k=!0,n=q-1;k||(n=P(f,"y"),t=g[P(f,"y")+1]);n=n===P(f,"d")?g[P(f,"y")+1]:g[P(f,"d")+1];t=U(y(d),parseInt(t,10));ca("year",t,0,9999,t,0,9999);d=new Date(t,m,n);null!==p&&(q=Z(e,p,0),d.getDay()!==q&&va(p,d.getDate()));t=E(t,m);ca("day",n,1,t,n,1,t);t={value:d,offset:"",warning:"lenient parsing was used"};h&&(a=a.substr(Ha.lastIndex),0===a.length?t.value.setHours(0,0,0,0):aa(t.value,a,c,e,2));t.value=b.dateToLocalIso(t.value);return t};T=function(a,c,d,
  e){switch(w(d,"OraDateTimeConverter.parse")){case 0:return da(a,c,d,e,!1);case 1:return d=new Date,aa(d,a,c,e,1),{value:b.dateToLocalIso(d),offset:"",warning:"lenient parsing was used"};case 2:return da(a,c,d,e,!0)}return null};Da=function(a,c,d,e,h,f,k,g,l,q,m){h=b.vh(a).dates.calendars.gregorian[c][h];a="months"===c?ba(a,d,f):Z(a,d,f);ca(m,a,k,g,d,h[e][l],h[e][q]);return a};Qa=function(a,b,c,d){b[c.timePart]=a;"h"===d||"hh"===d?12===a&&(b[c.timePart]=0):"k"!==d&&"kk"!==d||24!==a||(b[c.timePart]=
  0);ca(c.timePart,b[c.timePart],c.start1,c.end1,a,c.start2,c.end2)};g=function(a,c,d,e){var h=b.vh(e),f=h.dates.calendars.gregorian.eras.eraAbbr["1"],k=b.Fp(f);a=a.replace(f,k);var f=ta(c,d),g=(new RegExp(f.regExp)).exec(a);if(null===g)return T(a,c,d,e);for(var l=f.groups,q=null,m=null,t=null,p=null,f="",k=null,n=!1,u,r={hour:0,minute:0,second:0,millisec:0},h=h.dates.calendars.gregorian.dayPeriods.format.wide.pm,s=y(d),w=0,v=l.length;w<v;w++){var x=g[w+1];if(x){var A=l[w],B=parseInt(x,10),z=ha[A];
  switch(z.token){case "months":m=Da(e,z.token,x,z.mLen,z.style,z.matchIndex,0,11,"1","12","month name");break;case "days":u=x;p=Da(e,z.token,x,z.dLen,z.style,z.matchIndex,0,6,"sun","sat","weekday");break;case "time":Qa(B,r,z,A);break;case "dayOfMonth":t=B;if(31<t)return T(a,c,d,e);break;case "monthIndex":m=B-1;if(11<m)return T(a,c,d,e);break;case "year":q=U(s,B);ca("year",q,0,9999,q,0,9999);break;case "ampm":n=-1!==b.lj(x).indexOf(b.lj(h));break;case "tzhm":f=x.substr(-2);f=x.substr(0,3)+":"+f;break;
  case "tzhsepm":f=x;break;case "tzh":f=x+":00";break;case "tzid":k=x}}}a=new Date;null===q&&(q=a.getFullYear());null===m&&null===t?(m=a.getMonth(),t=a.getDate()):null===t&&(t=1);c=E(q,m);ca("day",t,1,c,t,1,c);a.setFullYear(q,m,t);null!==p&&a.getDay()!==p&&va(u,a.getDate());n&&12>r.hour&&(r.hour+=12);a=[q,m+1,t,r.hour,r.minute,r.second,r.millisec];u=b.FIa(a);null!==k&&(e=oa(k,e),f=pa(e,a,!1,!0,!0),f=-e.offset(f),f=b.eA("",f,!1,!0));""!==f&&(u+=f);return{value:u}};u=function(a,b,c){var e=c.replace(Ya,
  "\\\\$1"),h=["^"],f=0,k=0;for(a={locale:a,numberingSystem:b,calendar:"gregorian"};null!==(b=qa.exec(e));){var g=e.slice(k,b.index),k=qa.lastIndex,f=f+d(g,h);if(!(f%2)&&(b=b[0],"/"!==b&&"zzzz"!==b&&"zzz"!==b&&"zz"!==b&&"z"!==b))if(void 0!==ha[b])if(void 0!==ha[b].key&&(a[ha[b].key]=ha[b].value),"kk"===b||"HH"===b||"H"===b||"k"===b)a.hour12=!1;else{if("KK"===b||"hh"===b||"h"===b||"K"===b)a.hour12=!0}else q(c,a,b)}return a};z=function(a){a=u("","",a);var b=void 0!==a.hour||void 0!==a.minute||void 0!==
  a.second||void 0!==a.millisecond;return void 0===a.year&&void 0===a.month&&void 0===a.weekday&&void 0===a.day||!b?b?1:0:2};v=function(a){a=a.indexOf("T");return-1===a?0:0<a?2:1};w=function(a,c){if(void 0!==a.pattern)return z(a.pattern);var d=b.Xj(a,c),e=void 0!==d("hour","string",["2-digit","numeric"])||void 0!==d("minute","string",["2-digit","numeric"])||void 0!==d("second","string",["2-digit","numeric"])||void 0!==d("millisecond","string",["numeric"]),h=void 0!==d("year","string",["2-digit","numeric"])||
  void 0!==d("month","string",["2-digit","numeric","narrow","short","long"])||void 0!==d("day","string",["2-digit","numeric"])||void 0!==d("weekday","string",["narrow","short","long"]);if(h&&e)return 2;if(e)return 1;if(h)return 0;d=d("formatType","string",["date","time","datetime"],"date");return"datetime"===d?2:"time"===d?1:0};Ca=function(a,b){var c=pa(a,b,!1,!0,!1),d=a.offset(c),c=a.offset(c+1);return Math.max(d,c)};Ba=function(a,c,d){var e=a.isoStrParts,h=a.format,f=c.timeZone;b.Xj(c,"OraDateTimeConverter.parse");
  c=oa(f,d);var k;d=Date.UTC(e[0],e[1]-1,e[2],e[3],e[4],e[5]);switch(h){case na:a=a.timeZone;k=a.split(":");h=parseInt(k[1],10);k=60*parseInt(k[0],10)+(b.Ww(a,"-")?-h:h);break;case la:k=0}a=Ca(c,e);a=c.parse(d-6E4*(a+k),!1,!0,!1);a=-c.offset(a);c=new Date(Date.UTC(e[0],e[1]-1,e[2],e[3],e[4],e[5]));k=c.getUTCMinutes()+(a-k);c.setUTCHours(c.getUTCHours()+(k/60<<0),k%60);e[0]=c.getUTCFullYear();e[1]=c.getUTCMonth()+1;e[2]=c.getUTCDate();e[3]=c.getUTCHours();e[4]=c.getUTCMinutes();e[5]=c.getUTCSeconds()};
  Aa=function(a,c){var d,e="";switch(a){case 0:e=b.rc(c[0],4)+"-"+b.rc(c[1],2)+"-"+b.rc(c[2],2);break;case 1:e="T"+b.rc(c[3],2)+":"+b.rc(c[4],2)+":"+b.rc(c[5],2);d=c[6];0<d&&(e+="."+b.MN(b.rc(d,3)));break;default:e=b.rc(c[0],4)+"-"+b.rc(c[1],2)+"-"+b.rc(c[2],2)+"T"+b.rc(c[3],2)+":"+b.rc(c[4],2)+":"+b.rc(c[5],2),d=c[6],0<d&&(e+="."+b.MN(b.rc(d,3)))}return e};ya=function(a,c,d,e,h,f){a=oa(a,h);c=pa(a,c,d,e,f);c=a.offset(c);return b.eA("",c,!0,!0)};La=function(a,c,d,e){var h,f=b.Xj(d,"OraDateTimeConverter.parse"),
  k=f("isoStrFormat","string",[la,na,Ra,ja,sa],sa);h=f("dst","boolean",[!0,!1],!1);var g=!0,f=c.isoStrParts,l=c.timeZone,q=d.timeZone;c=c.format;var m=d.isoStrFormat;d=Aa(a,f);if(0===a||"local"===m)return d;1===a&&(g=!1);switch(k){case na:void 0===q&&c===na?d+=l:void 0===q&&c===ja?d+="":void 0===q&&c===la?d+="+00:00":void 0!==q&&(e=ya(q,f,h,g,e,!0),d+=e);break;case la:k=0;void 0===q?c===na&&(e=l.split(":"),h=parseInt(e[1],10),k=60*parseInt(e[0],10)+(b.Ww(e[0],"-")?-h:h),k=-k):(e=oa(q,e),h=pa(e,f,h,
  g,!0),k=e=e.offset(h));0!==k&&(d=new Date(Date.UTC(f[0],f[1]-1,f[2],f[3],f[4],f[5],f[6])),k=d.getUTCMinutes()+k,d.setUTCHours(d.getUTCHours()+(k/60<<0),k%60),f[0]=d.getUTCFullYear(),f[1]=d.getUTCMonth()+1,f[2]=d.getUTCDate(),f[3]=d.getUTCHours(),f[4]=d.getUTCMinutes(),f[5]=d.getUTCSeconds(),d=Aa(a,f));d+="Z";break;case sa:void 0!==q?(e=ya(q,f,h,g,e,!0),d+=e):(e=l)&&(d+=e)}return d};n=function(a,c,d,e){var h=b.hM(e);void 0===b.Bp[h]&&(h="latn");if("latn"!==h){var k,l=[];for(k=0;k<a.length;k++){var q=
  b.Bp[h].indexOf(a[k]);-1!==q?l.push(q):l.push(a[k])}a=l.join("")}if(2>=arguments.length||void 0===d)d={year:"numeric",month:"numeric",day:"numeric"};k={};!0===b.rP.test(a)?(l=a,h=v(a)):(k=d.pattern||f(d,c,e,"OraDateTimeConverter.parse"),h=w(d,"OraDateTimeConverter.parse"),k=g(a,k,d,c),l=k.value);l=b.dM(l);void 0!==d.timeZone&&l.format!==ja&&Ba(l,d,c);l=La(h,l,d,c);k.value=l;return k};Ma=function(a,c){var d={isoStrFormat:ja},e=b.dM(a),h=b.dM(c).format;if(e.format===ja||h===ja)return d;d.isoStrFormat=
  la;return d};Ja=function(a,b,c,d,e,h){d=u(d,e,h.pattern);d.pattern=h.pattern;void 0!==a&&(d.isoStrFormat=a);void 0!==b&&(d.timeZone=b);void 0!==c&&(d.dst=c);d["two-digit-year-start"]=y(h);return d};Ka=function(a,b,c,d){var e=!1;void 0!==c&&(b.dst=c);c=a("year","string",["2-digit","numeric"]);void 0!==c&&(b.year=c,e=!0);c=a("era","string",["narrow","short","long"]);void 0!==c&&(b.era=c,e=!0);c=a("month","string",["2-digit","numeric","narrow","short","long"]);void 0!==c&&(b.month=c,e=!0);c=a("day",
  "string",["2-digit","numeric"]);void 0!==c&&(b.day=c,e=!0);c=a("weekday","string",["narrow","short","long"]);void 0!==c&&(b.weekday=c,e=!0);c=a("hour","string",["2-digit","numeric"]);void 0!==c&&(b.hour=c,e=!0,c=a("hour12","boolean",[!0,!1]),void 0===c&&(c=x(d)),b.hour12=c);c=a("minute","string",["2-digit","numeric"]);void 0!==c&&(b.minute=c,e=!0);c=a("second","string",["2-digit","numeric"]);void 0!==c&&(b.second=c,e=!0);c=a("millisecond","string",["numeric"]);void 0!==c&&(b.millisecond=c,e=!0);return e};
  ma=function(a,b,c,d){b=D(b,c,h.resolvedOptions);c=d("formatType","string",["date","time","datetime"],"date");var e=d("dateFormat","string",["short","medium","long","full"],"short");d=d("timeFormat","string",["short","medium","long","full"],"short");a.formatType=c;if("datetime"===c||"date"===c)a.dateFormat=e;if("datetime"===c||"time"===c)a.timeFormat=d;a.patternFromOptions=b};ka=function(a,b,c,d,e,h,k,g){k={locale:g,numberingSystem:k,calendar:"gregorian"};var l,q=0;for(l in a)q++;if(0===q)return k.year=
  "numeric",k.month="numeric",k.day="numeric",k;void 0!==c&&(k.timeZone=c,void 0!==e&&(k.isoStrFormat=e));d=Ka(b,k,d,h);k["two-digit-year-start"]=y(a);if(!d)return ma(k,a,h,b),k;void 0!==c&&(l=b("timeZoneName","string",["short","long"],"short"),void 0!==l&&(k.timeZoneName=l));k.patternFromOptions=f(k,h,g,"OraDateTimeConverter.resolvedOptions");return k};ea=function(a,b,c){a=f({year:"numeric",month:"numeric",day:"numeric"},a,b,"OraDateTimeConverter.resolvedOptions");return{calendar:"gregorian",locale:b,
  numberingSystem:c,year:"numeric",month:"numeric",day:"numeric",patternFromOptions:a}};Pa=function(a){function c(d){for(var e in d){d=f.Qfa(e,a);d=Ca(d,p);var h;var k=e;h=d;var g=l,n=k.split("/"),k=n[0],u=n[1],r=n="",s={},w=q[k];void 0!==w&&(n=w[u],void 0!==n&&(n=n.exemplarCity,void 0!==n&&(n=" "+n)));k=k+"/"+u;k=Fa(p,k,a.supplemental.metazones);k=g[k];void 0!==k&&void 0!==k["long"]&&(r=k["long"].generic,void 0===r&&(r=k["long"].standard),void 0!==r&&(r=" - "+r));g="(UTC)";0!==h&&(g=b.eA("UTC",h,!0,
  !0),g="("+g+")");void 0===n||void 0===r?h=null:(s.offsetLocName=g+n+r,s.locName=n+r,h=s);null!==h&&(m.push({id:e,displayName:h}),t[e]=d)}}var d=b.qt(a);if(void 0!==B[d]){var h=B[d].availableTimeZones;if(void 0!==h)return h}var f=e.Ie(),k={WLa:"variant"},g=b.qt(a),h=b.vh(a),l=h.dates.timeZoneNames.metazone,q=h.dates.timeZoneNames.zone,m=[],t={},h=new Date,p=[h.getFullYear(),h.getMonth()+1,h.getDate(),h.getHours(),h.getMinutes(),h.getSeconds()],h=a.supplemental.timeZoneData;c(h.zones);c(h.links);m.sort(function(a,
  b){return t[b.id]-t[a.id]+a.displayName.locName.localeCompare(b.displayName.locName,g,k)});for(var h=m.length,n=0;n<h;n++)m[n].displayName=m[n].displayName.offsetLocName;void 0===B[d]&&(B[d]={},B[d].availableTimeZones=m);return m};return{Ie:function(){c||(c=a());return c}}}();a.ik=function(a){this.Init(a)};o_("LengthValidator",a.ik,a);a.ik.Zc={countBy:"codeUnit"};o_("LengthValidator.defaults",a.ik.Zc,a);a.b.ta(a.ik,a.Ii,"oj.LengthValidator");a.ik.prototype.Init=function(b){var c=b.countBy;a.ik.u.Init.call(this);
  this.Ri=void 0!==b.min?parseInt(b.min,10):null;this.Oj=void 0!==b.max?parseInt(b.max,10):null;if(isNaN(this.Ri))throw Error("length validator's min option is not a number. min option is "+b.min);if(isNaN(this.Oj))throw Error("length validator's max option is not a number. max option is "+b.min);if(null!==this.Ri&&0>this.Ri)throw Error("length validator's min option cannot be less than 0. min option is "+b.min);if(null!==this.Oj&&1>this.Oj)throw Error("length validator's max option cannot be less than 1. max option is "+
  b.max);this.gqa=void 0===c?a.ik.Zc.countBy:c;b&&(this.fD=b.hint||{},this.vC=b.messageSummary||{},this.uC=b.messageDetail||{})};a.b.g("LengthValidator.prototype.Init",{Init:a.ik.prototype.Init});a.ik.prototype.Md=function(){var b=null,c=this.fD,d=c.exact,e=c.inRange,h=c.max,c=c.min,f=this.Oj,g=this.Ri,p=a.va;null!==g&&null!==f?g!==f?(b={min:g,max:f},b=e?p.Pc(e,b):p.F("oj-validator.length.hint.inRange",b)):(b={length:g},b=d?p.Pc(d,b):p.F("oj-validator.length.hint.exact",b)):null!==g?(b={min:g},b=c?
  p.Pc(c,b):p.F("oj-validator.length.hint.min",b)):null!==f&&(b={max:f},b=h?p.Pc(h,b):p.F("oj-validator.length.hint.max",b));return b};a.ik.prototype.validate=function(b){var c=this.uC,d=this.vC,e="",h,f=this.Oj,e=d.tooLong,d=d.tooShort,g=c.tooLong,c=c.tooShort,p=this.Ri,q;h="";var u=a.va;q=""+b;h=this.lf(q);if((null===p||h>=this.Ri)&&(null===f||h<=this.Oj))return q;h<this.Ri?(b={value:b,min:p},h=d?u.Pc(d,b):u.F("oj-validator.length.messageSummary.tooShort"),e=c?u.Pc(c,b):u.F("oj-validator.length.messageDetail.tooShort",
  b)):(b={value:b,max:f},h=e?u.Pc(e,b):u.F("oj-validator.length.messageSummary.tooLong"),e=g?u.Pc(g,b):u.F("oj-validator.length.messageDetail.tooLong",b));throw new a.qk(h,e);};a.b.g("LengthValidator.prototype.validate",{validate:a.ik.prototype.validate});a.ik.prototype.lf=function(b){var c=b.length,d,e=0;switch(this.gqa.toLowerCase()){case "codepoint":for(d=0;d<c;d++)55296===(b.charCodeAt(d)&63488)&&e++;a.o.assert(0===e%2,"the number of surrogate chars must be an even number.");b=c-e/2;break;default:b=
  c}return b}});