(function(a){function t(j,b){function g(j){return a.isArray(p.readonly)?(j=a(".dwwl",z).index(j),p.readonly[j]):p.readonly}function m(a){var j='
',c=1,b;for(b in $[a])0==c%20&&(j+='
'),j+='
'+$[a][b]+"
",c++;return j+"
"}function r(j){f=a(".dw-li",j).index(a(".dw-v",j).eq(0));s=a(".dw-li",j).index(a(".dw-v",j).eq(-1));C=a(".dw-ul",z).index(j); i=N;B=o}function u(a){var j=p.headerText;return j?"function"===typeof j?j.call(S,a):j.replace(/\{value\}/i,a):""}function k(){o.temp=Y&&null!==o.val&&o.val!=F.val()||null===o.values?p.parseValue(F.val()||"",o):o.values.slice(0);o.setValue(!0)}function n(j,c,b,f,i){!1!==L("validate",[z,c,j])&&(a(".dw-ul",z).each(function(b){var d=a(this),e=a('.dw-li[data-val="'+o.temp[b]+'"]',d),h=a(".dw-li",d),g=h.index(e),p=h.length,l=b==c||void 0===c;if(!e.hasClass("dw-v")){for(var I=e,m=0,r=0;0<=g-m&&!I.hasClass("dw-v");)m++, I=h.eq(g-m);for(;g+rg-m||1==f)&&e.hasClass("dw-v")?g+=r:(e=I,g-=m)}if(!e.hasClass("dw-sel")||l)o.temp[b]=e.attr("data-val"),a(".dw-sel",d).removeClass("dw-sel"),e.addClass("dw-sel"),o.scroll(d,b,g,l?j:0.1,l?i:void 0)}),o.change(b))}function t(j){if(!("inline"==p.display||T===a(window).width()&&ea===a(window).height()&&j)){var c,b,e,d,f,i,g,h,m,l=0,r=0,j=a(window).scrollTop();d=a(".dwwr",z);var I=a(".dw",z),o={};f=void 0===p.anchor?F:p.anchor; T=a(window).width();ea=a(window).height();P=(P=window.innerHeight)||ea;/modal|bubble/.test(p.display)&&(a(".dwc",z).each(function(){c=a(this).outerWidth(!0);l+=c;r=c>r?c:r}),c=l>T?r:l,d.width(c));W=I.outerWidth();Q=I.outerHeight(!0);"modal"==p.display?(b=(T-W)/2,e=j+(P-Q)/2):"bubble"==p.display?(m=!0,h=a(".dw-arrw-i",z),b=f.offset(),i=b.top,g=b.left,d=f.outerWidth(),f=f.outerHeight(),b=g-(I.outerWidth(!0)-d)/2,b=b>T-W?T-(W+20):b,b=0<=b?b:20,e=i-Q,ej+P?(I.removeClass("dw-bubble-top").addClass("dw-bubble-bottom"), e=i+f):I.removeClass("dw-bubble-bottom").addClass("dw-bubble-top"),h=h.outerWidth(),d=g+d/2-(b+(W-h)/2),a(".dw-arr",z).css({left:d>h?h:d})):(o.width="100%","top"==p.display?e=j:"bottom"==p.display&&(e=j+P-Q));o.top=0>e?0:e;o.left=b;I.css(o);a(".dw-persp",z).height(0).height(e+Q>a(document).height()?e+Q:a(document).height());m&&(e+Q>j+P||i>j+P)&&a(window).scrollTop(e+Q-P)}}function ga(a){if("touchstart"===a.type)J=!0,setTimeout(function(){J=!1},500);else if(J)return J=!1;return!0}function L(j,c){var e; c.push(o);a.each([aa.defaults,ba,b],function(a,b){b[j]&&(e=b[j].apply(S,c))});return e}function ma(a){var j=+a.data("pos")+1;l(a,j>s?f:j,1,!0)}function na(a){var j=+a.data("pos")-1;l(a,j=c&&i()},100)):a.data("pos",b))};o.setValue=function(j,b,c,e){a.isArray(o.temp)|| (o.temp=p.parseValue(o.temp+"",o));V&&j&&n(c);R=p.formatResult(o.temp);e||(o.values=o.temp.slice(0),o.val=R);b&&Y&&F.val(R).trigger("change")};o.getValues=function(){var a=[],j;for(j in o._selectedValues)a.push(o._selectedValues[j]);return a};o.validate=function(a,j,b,c){n(b,a,!0,j,c)};o.change=function(j){R=p.formatResult(o.temp);"inline"==p.display?o.setValue(!1,j):a(".dwv",z).html(u(R));j&&L("onChange",[R])};o.changeWheel=function(j,b){if(z){var c=0,e,f,d=j.length;for(e in p.wheels)for(f in p.wheels[e]){if(-1< a.inArray(c,j)&&($[c]=p.wheels[e][f],a(".dw-ul",z).eq(c).html(m(c)),d--,!d)){t();n(b,void 0,!0);return}c++}}};o.isVisible=function(){return V};o.tap=function(a,j){var c,b;p.tap&&a.bind("touchstart",function(a){a.preventDefault();c=A(a,"X");b=A(a,"Y")}).bind("touchend",function(a){20>Math.abs(A(a,"X")-c)&&20>Math.abs(A(a,"Y")-b)&&j.call(this,a);M=!0;setTimeout(function(){M=!1},300)});a.bind("click",function(a){M||j.call(this,a)})};o.show=function(j){if(p.disabled||V)return!1;"top"==p.display&&(U="slidedown"); "bottom"==p.display&&(U="slideup");k();L("onBeforeShow",[z]);var b=0,e,f="";U&&!j&&(f="dw-"+U+" dw-in");for(var d='
'+("inline"==p.display?'
':'
'+(p.headerText?'
':"")),j=0;j
';for(e in p.wheels[j])$[b]=p.wheels[j][e],d+='',b++;d+="
'+("scroller"!=p.mode?'
+
':"")+'
'+e+'
',d+=m(b),d+='
"}d+=("inline"!=p.display?'
'+p.setText+""+(p.button3?''+p.button3Text+"":"")+''+p.cancelText+"
":'
')+ "
";z=a(d);n();L("onMarkupReady",[z]);"inline"!=p.display?(z.appendTo("body"),setTimeout(function(){z.removeClass("dw-trans").find(".dw").removeClass(f)},350)):F.is("div")?F.html(z):z.insertAfter(F);L("onMarkupInserted",[z]);V=!0;aa.init(z,o);"inline"!=p.display&&(o.tap(a(".dwb-s span",z),function(){if(o.hide(false,"set")!==false){o.setValue(false,true);L("onSelect",[o.val])}}),o.tap(a(".dwb-c span",z),function(){o.cancel()}),p.button3&&o.tap(a(".dwb-n span",z),p.button3),p.scrollLock&& z.bind("touchmove",function(a){Q<=P&&W<=T&&a.preventDefault()}),a("input,select,button").each(function(){a(this).prop("disabled")||a(this).addClass("dwtd").prop("disabled",true)}),t(),a(window).bind("resize.dw",function(){clearTimeout(ia);ia=setTimeout(function(){t(true)},100)}));z.delegate(".dwwl","DOMMouseScroll mousewheel",function(j){if(!g(this)){j.preventDefault();var j=j.originalEvent,j=j.wheelDelta?j.wheelDelta/120:j.detail?-j.detail/3:0,b=a(".dw-ul",this),c=+b.data("pos"),c=Math.round(c-j); r(b);l(b,c,j<0?1:2)}}).delegate(".dwb, .dwwb",Z,function(){a(this).addClass("dwb-a")}).delegate(".dwwb",Z,function(j){j.stopPropagation();j.preventDefault();var b=a(this).closest(".dwwl");if(ga(j)&&!g(b)&&!b.hasClass("dwa")){w=true;var c=b.find(".dw-ul"),e=a(this).hasClass("dwwbp")?ma:na;r(c);clearInterval(H);H=setInterval(function(){e(c)},p.delay);e(c)}}).delegate(".dwwl",Z,function(j){j.preventDefault();if(ga(j)&&!h&&!g(this)&&!w){h=true;a(document).bind(I,la);y=a(".dw-ul",this);c=p.mode!="clickpick"; D=+y.data("pos");r(y);E=X[C]!==void 0;v=A(j,"Y");K=new Date;x=v;o.scroll(y,C,D,0.0010);c&&y.closest(".dwwl").addClass("dwa")}});L("onShow",[z,R])};o.hide=function(j,b){if(!V||!1===L("onClose",[R,b]))return!1;a(".dwtd").prop("disabled",!1).removeClass("dwtd");F.blur();z&&("inline"!=p.display&&U&&!j?(z.addClass("dw-trans").find(".dw").addClass("dw-"+U+" dw-out"),setTimeout(function(){z.remove();z=null},350)):(z.remove(),z=null),V=!1,ca={},a(window).unbind(".dw"))};o.cancel=function(){!1!==o.hide(!1, "cancel")&&L("onCancel",[o.val])};o.init=function(a){aa=G({defaults:{},init:q},fa.themes[a.theme||p.theme]);ja=fa.i18n[a.lang||p.lang];G(b,a);G(p,aa.defaults,ja,b);o.settings=p;F.unbind(".dw");if(a=fa.presets[p.preset])ba=a.call(S,o),G(p,ba,b),G(da,ba.methods);ha=Math.floor(p.rows/2);N=p.height;U=p.animate;void 0!==F.data("dwro")&&(S.readOnly=O(F.data("dwro")));V&&o.hide();"inline"==p.display?o.show():(k(),Y&&p.showOnFocus&&(F.data("dwro",S.readOnly),S.readOnly=!0,F.bind("focus.dw",function(){o.show()})))}; o.trigger=function(a,j){return L(a,j)};o.values=null;o.val=null;o.temp=null;o._selectedValues={};o.init(b)}function k(a){for(var c in a)if(void 0!==b[a[c]])return!0;return!1}function n(a){return g[a.id]}function A(a,b){var c=a.originalEvent,e=a.changedTouches;return e||c&&c.changedTouches?c?c.changedTouches[0]["page"+b]:e[0]["page"+b]:a["page"+b]}function O(a){return!0===a||"true"==a}function u(a,b,c){a=a>c?c:a;return ab?(b=(x-v)/b,d=b*b/0.0012,0>x-v&&(d=-d)):d=x-v;b=Math.round(D-d/i);if(!d&&!E){var g= Math.floor((x-g)/i),r=a(".dw-li",y).eq(g);d=c;!1!==B.trigger("onValueTap",[r])?b=g:d=!0;d&&(r.addClass("dw-hl"),setTimeout(function(){r.removeClass("dw-hl")},200))}c&&l(y,b,0,!0,Math.round(e));h=!1;y=null;a(document).unbind(I,la)}w&&(clearInterval(H),w=!1);a(".dwb-a").removeClass("dwb-a")}).bind("mouseover mouseup mousedown click",function(a){if(M)return a.stopPropagation(),a.preventDefault(),!1});a.fn.mobiscroll=function(b){G(this,a.mobiscroll.shorts);return m(this,b,arguments)};a.mobiscroll=a.mobiscroll|| {setDefaults:function(a){G(ka,a)},presetShort:function(a){this.shorts[a]=function(b){return m(this,G(b,{preset:a}),arguments)}},shorts:{},presets:{},themes:{},i18n:{}};a.scroller=a.scroller||a.mobiscroll;a.fn.scroller=a.fn.scroller||a.fn.mobiscroll})(jQuery);(function(a){a.mobiscroll.i18n.hu=a.extend(a.mobiscroll.i18n.hu,{setText:"OK",cancelText:"M\u00e9gse"})})(jQuery);(function(a){a.mobiscroll.i18n.de=a.extend(a.mobiscroll.i18n.de,{setText:"OK",cancelText:"Abbrechen"})})(jQuery);(function(a){a.mobiscroll.i18n.es=a.extend(a.mobiscroll.i18n.es,{setText:"Aceptar",cancelText:"Cancelar"})})(jQuery);(function(a){a.mobiscroll.i18n.fr=a.extend(a.mobiscroll.i18n.fr,{setText:"Termin\u00e9",cancelText:"Annuler"})})(jQuery);(function(a){a.mobiscroll.i18n.it=a.extend(a.mobiscroll.i18n.it,{setText:"OK",cancelText:"Annulla"})})(jQuery);(function(a){a.mobiscroll.i18n.no=a.extend(a.mobiscroll.i18n.no,{setText:"OK",cancelText:"Avbryt"})})(jQuery);(function(a){a.mobiscroll.i18n["pt-BR"]=a.extend(a.mobiscroll.i18n["pt-BR"],{setText:"Selecionar",cancelText:"Cancelar"})})(jQuery);(function(a){var t=a.mobiscroll,k=new Date,n={dateFormat:"mm/dd/yy",dateOrder:"mmddy",timeWheels:"hhiiA",timeFormat:"hh:ii A",startYear:k.getFullYear()-100,endYear:k.getFullYear()+1,monthNames:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),monthNamesShort:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),dayNames:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),dayNamesShort:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","), shortYearCutoff:"+10",monthText:"Month",dayText:"Day",yearText:"Year",hourText:"Hours",minuteText:"Minutes",secText:"Seconds",ampmText:" ",nowText:"Now",showNow:!1,stepHour:1,stepMinute:1,stepSecond:1,separator:" "},A=function(k){function u(a,b,d){return void 0!==r[b]?+a[r[b]]:void 0!==d?d:c[w[b]]?c[w[b]]():w[b](c)}function l(a,b){return Math.floor(a/b)*b}function m(a){var b=u(a,"h",0);return new Date(u(a,"y"),u(a,"m"),u(a,"d",1),u(a,"a")?b+12:b,u(a,"i",0),u(a,"s",0))}var g=a(this),A={},q;if(g.is("input")){switch(g.attr("type")){case "date":q= "yy-mm-dd";break;case "datetime":q="yy-mm-ddTHH:ii:ssZ";break;case "datetime-local":q="yy-mm-ddTHH:ii:ss";break;case "month":q="yy-mm";A.dateOrder="mmyy";break;case "time":q="HH:ii:ss"}var i=g.attr("min"),g=g.attr("max");i&&(A.minDate=t.parseDate(q,i));g&&(A.maxDate=t.parseDate(q,g))}var f=a.extend({},n,A,k.settings),s=0,A=[],B=[],r={},h,w={y:"getFullYear",m:"getMonth",d:"getDate",h:function(a){a=a.getHours();a=D&&12<=a?a-12:a;return l(a,b)},i:function(a){return l(a.getMinutes(),e)},s:function(a){return l(a.getSeconds(), d)},a:function(a){return K&&11b.o?1:-1});a.each(B,function(a,b){r[b.v]=a});g={};for(i=0;3>i;i++)if(i==r.y){s++;g[f.yearText]={};var J=G.getFullYear(),Z=M.getFullYear();for(h=J;h<=Z;h++)g[f.yearText][h]=C.match(/yy/i)?h:(h+"").substr(2,2)}else if(i==r.m){s++;g[f.monthText]={};for(h=0;12>h;h++)J=C.replace(/[dy]/gi,"").replace(/mm/,9>h?"0"+(h+1):h+1).replace(/m/,h+1),g[f.monthText][h]=J.match(/MM/)?J.replace(/MM/,''+f.monthNames[h]+""):J.replace(/M/,''+f.monthNamesShort[h]+ "")}else if(i==r.d){s++;g[f.dayText]={};for(h=1;32>h;h++)g[f.dayText][h]=C.match(/dd/i)&&10>h?"0"+h:h}A.push(g)}if(y.match(/time/i)){B=[];a.each(["h","i","s","a"],function(a,b){a=v.search(RegExp(b,"i"));-1b.o?1:-1});a.each(B,function(a,b){r[b.v]=s+a});g={};for(i=s;ih?"0"+h:h}else if(i==r.i){s++;g[f.minuteText]={};for(h=0;60> h;h+=e)g[f.minuteText][h]=v.match(/ii/)&&10>h?"0"+h:h}else if(i==r.s){s++;g[f.secText]={};for(h=0;60>h;h+=d)g[f.secText][h]=v.match(/ss/)&&10>h?"0"+h:h}else i==r.a&&(s++,y=v.match(/A/),g[f.ampmText]={"0":y?"AM":"am",1:y?"PM":"pm"});A.push(g)}k.setDate=function(a,b,c,d){for(var e in r)this.temp[r[e]]=a[w[e]]?a[w[e]]():w[e](a);this.setValue(!0,b,c,d)};k.getDate=function(a){return m(a)};return{button3Text:f.showNow?f.nowText:void 0,button3:f.showNow?function(){k.setDate(new Date,!1,0.3,!0)}:void 0,wheels:A, headerText:function(){return t.formatDate(E,m(k.temp),f)},formatResult:function(a){return t.formatDate(q,m(a),f)},parseValue:function(a){var b=new Date,c,d=[];try{b=t.parseDate(q,a,f)}catch(e){}for(c in r)d[r[c]]=b[w[c]]?b[w[c]]():w[c](b);return d},validate:function(c){var g=k.temp,i={y:G.getFullYear(),m:0,d:1,h:0,i:0,s:0,a:0},h={y:M.getFullYear(),m:11,d:31,h:l(D?11:23,b),i:l(59,e),s:l(59,d),a:1},j=!0,m=!0;a.each("y,m,d,a,h,i,s".split(","),function(b,d){if(r[d]!==void 0){var e=i[d],l=h[d],k=31,q= u(g,d),E=a(".dw-ul",c).eq(r[d]),s,n;if(d=="d"){s=u(g,"y");n=u(g,"m");l=k=32-(new Date(s,n,32)).getDate();x&&a(".dw-li",E).each(function(){var b=a(this),c=b.data("val"),d=(new Date(s,n,c)).getDay(),c=C.replace(/[my]/gi,"").replace(/dd/,c<10?"0"+c:c).replace(/d/,c);a(".dw-i",b).html(c.match(/DD/)?c.replace(/DD/,''+f.dayNames[d]+""):c.replace(/D/,''+f.dayNamesShort[d]+""))})}j&&G&&(e=G[w[d]]?G[w[d]]():w[d](G));m&&M&&(l=M[w[d]]?M[w[d]]():w[d](M)); if(d!="y"){var A=a(".dw-li",E).index(a('.dw-li[data-val="'+e+'"]',E)),J=a(".dw-li",E).index(a('.dw-li[data-val="'+l+'"]',E));a(".dw-li",E).removeClass("dw-v").slice(A,J+1).addClass("dw-v");d=="d"&&a(".dw-li",E).removeClass("dw-h").slice(k).addClass("dw-h")}ql&&(q=l);j&&(j=q==e);m&&(m=q==l);if(f.invalid&&d=="d"){var t=[];f.invalid.dates&&a.each(f.invalid.dates,function(a,b){b.getFullYear()==s&&b.getMonth()==n&&t.push(b.getDate()-1)});if(f.invalid.daysOfWeek){var B=(new Date(s,n,1)).getDay(), v;a.each(f.invalid.daysOfWeek,function(a,b){for(v=b-B;v=0&&t.push(v)})}f.invalid.daysOfMonth&&a.each(f.invalid.daysOfMonth,function(a,b){b=(b+"").split("/");b[1]?b[0]-1==n&&t.push(b[1]-1):t.push(b[0]-1)});a.each(t,function(b,c){a(".dw-li",E).eq(c).removeClass("dw-v")})}g[r[d]]=q}})},methods:{getDate:function(b){var c=a(this).mobiscroll("getInst");if(c)return c.getDate(b?c.temp:c.values)},setDate:function(b,c,d,e){void 0==c&&(c=!1);return this.each(function(){var j=a(this).mobiscroll("getInst"); j&&j.setDate(b,c,d,e)})}}}};a.each(["date","time","datetime"],function(a,k){t.presets[k]=A;t.presetShort(k)});t.formatDate=function(k,u,l){if(!u)return null;var l=a.extend({},n,l),m=function(a){for(var g=0;q+1u.getYear()%100?"0":"")+u.getYear()%100;break;case "h":var s=u.getHours(),i=i+g("h",12l&&(l+=(new Date).getFullYear()-(new Date).getFullYear()%100+(l<=("string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10))?0:-100));if(-1s?s+12:!r&&12==s?0:s,m,A);if(s.getFullYear()!=l||s.getMonth()+1!=q||s.getDate()!=i)throw"Invalid date";return s}})(jQuery);(function(a){a.mobiscroll.i18n.hu=a.extend(a.mobiscroll.i18n.hu,{dateFormat:"dd.mm.yy",dateOrder:"ddmmyy",dayNames:"Vas\u00e1rnap,H\u00e9tf\u0151,Kedd,Szerda,Cs\u00fct\u00f6rt\u00f6k,P\u00e9ntek,Szombat".split(","),dayNamesShort:"Va,H\u00e9,Ke,Sze,Cs\u00fc,P\u00e9,Szo".split(","),dayText:"Nap",hourText:"\u00d3ra",minuteText:"Perc",monthNames:"Janu\u00e1r,Febru\u00e1r,M\u00e1rcius,\u00c1prilis,M\u00e1jus,J\u00fanius,J\u00falius,Augusztus,Szeptember,Okt\u00f3ber,November,December".split(","),monthNamesShort:"Jan,Feb,M\u00e1r,\u00c1pr,M\u00e1j,J\u00fan,J\u00fal,Aug,Szep,Okt,Nov,Dec".split(","), monthText:"H\u00f3nap",secText:"M\u00e1sodperc",timeFormat:"HH:ii",timeWheels:"HHii",yearText:"\u00c9v",nowText:"Most"})})(jQuery);(function(a){a.mobiscroll.i18n.de=a.extend(a.mobiscroll.i18n.de,{dateFormat:"dd.mm.yy",dateOrder:"ddmmyy",dayNames:"Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,Freitag,Samstag".split(","),dayNamesShort:"So,Mo,Di,Mi,Do,Fr,Sa".split(","),dayText:"Tag",hourText:"Stunde",minuteText:"Minuten",monthNames:"Januar,Februar,M\u00e4rz,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember".split(","),monthNamesShort:"Jan,Feb,M\u00e4r,Apr,Mai,Jun,Jul,Aug,Sep,Okt,Nov,Dez".split(","),monthText:"Monat", secText:"Sekunden",timeFormat:"HH:ii",timeWheels:"HHii",yearText:"Jahr",nowText:"Jetzt"})})(jQuery);(function(a){a.mobiscroll.i18n.es=a.extend(a.mobiscroll.i18n.es,{dateFormat:"dd/mm/yy",dateOrder:"ddmmyy",dayNames:"Domingo,Lunes,Martes,Miércoles,Jueves,Viernes,Sábado".split(","),dayNamesShort:"Do,Lu,Ma,Mi,Ju,Vi,Sá".split(","),dayText:"Día",hourText:"Horas",minuteText:"Minutos",monthNames:"Enero,Febrero,Marzo,Abril,Mayo,Junio,Julio,Agosto,Septiembre,Octubre,Noviembre,Diciembre".split(","),monthNamesShort:"Ene,Feb,Mar,Abr,May,Jun,Jul,Ago,Sep,Oct,Nov,Dic".split(","),monthText:"Mes", secText:"Segundos",timeFormat:"HH:ii",timeWheels:"HHii",yearText:"Año",nowText:"Ahora"})})(jQuery);(function(a){a.mobiscroll.i18n.fr=a.extend(a.mobiscroll.i18n.fr,{dateFormat:"dd/mm/yy",dateOrder:"ddmmyy",dayNames:"Dimanche,Lundi,Mardi,Mercredi,Jeudi,Vendredi,Samedi".split(","),dayNamesShort:"Dim.,Lun.,Mar.,Mer.,Jeu.,Ven.,Sam.".split(","),dayText:"Jour",monthText:"Mois",monthNames:"Janvier,F\u00e9vrier,Mars,Avril,Mai,Juin,Juillet,Ao\u00fbt,Septembre,Octobre,Novembre,D\u00e9cembre".split(","),monthNamesShort:"Janv.,F\u00e9vr.,Mars,Avril,Mai,Juin,Juil.,Ao\u00fbt,Sept.,Oct.,Nov.,D\u00e9c.".split(","), hourText:"Heures",minuteText:"Minutes",secText:"Secondes",timeFormat:"HH:ii",timeWheels:"HHii",yearText:"Ann\u00e9e",nowText:"Maintenant"})})(jQuery);(function(a){a.mobiscroll.i18n.it=a.extend(a.mobiscroll.i18n.it,{dateFormat:"dd-mm-yyyy",dateOrder:"ddmmyy",dayNames:"Domenica,LunedÌ,MertedÌ,MercoledÌ,GiovedÌ,VenerdÌ,Sabato".split(","),dayNamesShort:"Do,Lu,Ma,Me,Gi,Ve,Sa".split(","),dayText:"Giorno",hourText:"Ore",minuteText:"Minuti",monthNames:"Gennaio,Febbraio,Marzo,Aprile,Maggio,Giugno,Luglio,Agosto,Settembre,Ottobre,Novembre,Dicembre".split(","),monthNamesShort:"Gen,Feb,Mar,Apr,Mag,Giu,Lug,Ago,Set,Ott,Nov,Dic".split(","), monthText:"Mese",secText:"Secondi",timeFormat:"HH:ii",timeWheels:"HHii",yearText:"Anno"})})(jQuery);(function(a){a.mobiscroll.i18n.no=a.extend(a.mobiscroll.i18n.no,{dateFormat:"dd.mm.yy",dateOrder:"ddmmyy",dayNames:"S\u00f8ndag,Mandag,Tirsdag,Onsdag,Torsdag,Fredag,L\u00f8rdag".split(","),dayNamesShort:"S\u00f8,Ma,Ti,On,To,Fr,L\u00f8".split(","),dayText:"Dag",hourText:"Time",minuteText:"Minutt",monthNames:"Januar,Februar,Mars,April,Mai,Juni,Juli,August,September,Oktober,November,Desember".split(","),monthNamesShort:"Jan,Feb,Mar,Apr,Mai,Jun,Jul,Aug,Sep,Okt,Nov,Des".split(","),monthText:"M\u00e5ned", secText:"Sekund",timeFormat:"HH:ii",timeWheels:"HHii",yearText:"\u00c5r",nowText:"N\u00e5"})})(jQuery);(function(a){a.mobiscroll.i18n["pt-BR"]=a.extend(a.mobiscroll.i18n["pt-BR"],{dateFormat:"dd/mm/yy",dateOrder:"ddMMyy",dayNames:"Domingo,Segunda-feira,Ter\u00e7a-feira,Quarta-feira,Quinta-feira,Sexta-feira,S\u00e1bado".split(","),dayNamesShort:"Dom,Seg,Ter,Qua,Qui,Sex,S\u00e1b".split(","),dayText:"Dia",hourText:"Hora",minuteText:"Minutos",monthNames:"Janeiro,Fevereiro,Mar\u00e7o,Abril,Maio,Junho,Julho,Agosto,Setembro,Outubro,Novembro,Dezembro".split(","),monthNamesShort:"Jan,Fev,Mar,Abr,Mai,Jun,Jul,Ago,Set,Out,Nov,Dez".split(","), monthText:"M\u00eas",secText:"Segundo",timeFormat:"HH:ii",timeWheels:"HHii",yearText:"Ano"})})(jQuery);(function(a){var t=a.mobiscroll,k={invalid:[],showInput:!0,inputClass:""},n=function(n){function t(g,c,b,e){for(var d=0;dy++?w:y;g.children("li").each(function(b){var e=a(this),d=e.clone();d.children("ul,ol").remove();var d=d.html().replace(/^\s\s*/,"").replace(/\s\s*$/,""),g=e.data("invalid")?!0:!1,b={key:e.data("val")||b,value:d,invalid:g,children:null},e=e.children("ul,ol");e.length&&(b.children=i(e));c.push(b)});y--;return c}var f=a.extend({},k,n.settings),s=a(this),B,r,h=this.id+"_dummy",w=0,y=0,C={},v=f.wheelArray||i(s),x=function(a){var c=[],b;for(b=0;b').insertBefore(s),n.settings.anchor=B,f.showOnFocus&&B.focus(function(){n.show()}));f.wheelArray||s.hide().closest(".ui-field-contain").trigger("create");return{width:50,wheels:D,headerText:!1,onBeforeShow:function(){var a=n.temp;K= a.slice(0);n.settings.wheels=m(a,w,w);r=true},onSelect:function(a){B&&B.val(a)},onChange:function(a){B&&f.display=="inline"&&B.val(a)},onClose:function(){B&&B.blur()},onShow:function(g){a(".dwwl",g).bind("mousedown touchstart",function(){clearTimeout(C[a(".dwwl",g).index(this)])})},validate:function(a,c,b){var e=n.temp;if(c!==void 0&&K[c]!=e[c]||c===void 0&&!r){n.settings.wheels=m(e,null,c);var d=[],g=(c||0)+1,f=q(e,c);if(c!==void 0)n.temp=f.nVector.slice(0);for(;g').insertBefore(m);a("option",m).each(function(){C[a(this).attr("value")]=a(this).text()});l.showOnFocus&&D.focus(function(){k.show()});H=m.val()||[];r=0;for(r;r