").append(m.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,e||[a.responseText,b,a])}),this},m.expr.filters.animated=function(a){return m.grep(m.timers,function(b){return a===b.elem}).length};var cd=a.document.documentElement;function dd(a){return m.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}m.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=m.css(a,"position"),l=m(a),n={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=m.css(a,"top"),i=m.css(a,"left"),j=("absolute"===k||"fixed"===k)&&m.inArray("auto",[f,i])>-1,j?(d=l.position(),g=d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),m.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(n.top=b.top-h.top+g),null!=b.left&&(n.left=b.left-h.left+e),"using"in b?b.using.call(a,n):l.css(n)}},m.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){m.offset.setOffset(this,a,b)});var b,c,d={top:0,left:0},e=this[0],f=e&&e.ownerDocument;if(f)return b=f.documentElement,m.contains(b,e)?(typeof e.getBoundingClientRect!==K&&(d=e.getBoundingClientRect()),c=dd(f),{top:d.top+(c.pageYOffset||b.scrollTop)-(b.clientTop||0),left:d.left+(c.pageXOffset||b.scrollLeft)-(b.clientLeft||0)}):d},position:function(){if(this[0]){var a,b,c={top:0,left:0},d=this[0];return"fixed"===m.css(d,"position")?b=d.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),m.nodeName(a[0],"html")||(c=a.offset()),c.top+=m.css(a[0],"borderTopWidth",!0),c.left+=m.css(a[0],"borderLeftWidth",!0)),{top:b.top-c.top-m.css(d,"marginTop",!0),left:b.left-c.left-m.css(d,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||cd;while(a&&!m.nodeName(a,"html")&&"static"===m.css(a,"position"))a=a.offsetParent;return a||cd})}}),m.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c=/Y/.test(b);m.fn[a]=function(d){return V(this,function(a,d,e){var f=dd(a);return void 0===e?f?b in f?f[b]:f.document.documentElement[d]:a[d]:void(f?f.scrollTo(c?m(f).scrollLeft():e,c?e:m(f).scrollTop()):a[d]=e)},a,d,arguments.length,null)}}),m.each(["top","left"],function(a,b){m.cssHooks[b]=Lb(k.pixelPosition,function(a,c){return c?(c=Jb(a,b),Hb.test(c)?m(a).position()[b]+"px":c):void 0})}),m.each({Height:"height",Width:"width"},function(a,b){m.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){m.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return V(this,function(b,c,d){var e;return m.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?m.css(b,c,g):m.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),m.fn.size=function(){return this.length},m.fn.andSelf=m.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return m});var ed=a.jQuery,fd=a.$;return m.noConflict=function(b){return a.$===m&&(a.$=fd),b&&a.jQuery===m&&(a.jQuery=ed),m},typeof b===K&&(a.jQuery=a.$=m),m});DOT.prototypes=new function(){"use strict";const a=jQuery.noConflict();return this.__construct=function(){},this.link=function(t,e){switch((e=void 0===e?"_self":e).toLowerCase()){case"_blank":window.open(t);break;case"_parent":parent.location.href=t;break;case"_top":top.location.href=t;break;default:window.location=t}},this.scrollToX=function(t,e,o){var r=a("body"),n=a("html"),T=a(e);o=void 0!==o?o:300,(void 0===e?(r.stop(!1,!0).animate({scrollLeft:t},o),n):T).stop(!1,!0).animate({scrollLeft:t},o)},this.scrollToY=function(t,e,o){var r=a("body"),n=a("html"),T=a(e);o=void 0!==o?o:300,(void 0===e?(n.stop(!1,!0).animate({scrollTop:t},o),r):T).stop(!1,!0).animate({scrollTop:t},o)},this.HEXtoRGB=function(t){t=parseInt(t,16);return{r:Math.round(t>>16),g:Math.round((65280&t)>>8),b:Math.round(255&t)}},this.HEXtoHSB=function(t){return DOT.prototypes.RGBtoHSB(DOT.prototypes.HEXtoRGB(t))},this.HSBtoHEX=function(t){return DOT.prototypes.RGBtoHEX(DOT.prototypes.HSBtoRGB(t))},this.HSBtoRGB=function(t){let e=Math.round(t.h);var o=Math.round(255*t.s/100),t=Math.round(255*t.b/100),r=t,o=(255-o)*t/255,n=(r-o)*(e%60)/60,T={r:0,g:0,b:0};return 0===t?T.r=T.g=T.b=0:(e=360===e?0:e)<60?(T.r=Math.round(r),T.b=Math.round(o),T.g=Math.round(o+n)):e<120?(T.g=Math.round(r),T.b=Math.round(o),T.r=Math.round(r-n)):e<180?(T.g=Math.round(r),T.r=Math.round(o),T.b=Math.round(o+n)):e<240?(T.b=Math.round(r),T.r=Math.round(o),T.g=Math.round(r-n)):e<300?(T.b=Math.round(r),T.g=Math.round(o),T.r=Math.round(o+n)):e<360?(T.r=Math.round(r),T.g=Math.round(o),T.b=Math.round(r-n)):(T.r=0,T.g=0,T.b=0),T},this.RGBtoHEX=function(t){var e=parseInt(t.r),o=parseInt(t.g),t=parseInt(t.b);let r=[e.toString(16),o.toString(16),t.toString(16)];return a.each(r,function(t,e){1===e.length&&(r[t]="0"+e)}),r.join("")},this.RGBtoHSB=function(t){var e=Math.min(t.r,t.g,t.b),o=Math.max(t.r,t.g,t.b),e=o-e,r={h:0,s:0,b:0};return r.b=Math.round(100*o/255),r.s=0!==o?Math.round(e/o*100):0,0!==r.s?t.r===o?r.h=(t.g-t.b)/e:r.h=t.g===o?2+(t.b-t.r)/e:4+(t.r-t.g)/e:r.h=-1,r.h*=60,r.h<0&&(r.h+=360),r.h=Math.round(r.h),r},this.cookieDelete=function(t,e,o){DOT.prototypes.cookieGet(t)&&(document.cookie=t+"="+(e?";path="+e:"")+(o?";domain="+o:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT")},this.cookieGet=function(t){var e=t+"=",o=document.cookie.split(";");let r;for(r=0;r
T&&(T=r),t.val(T)},this.email=function(t){return/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,16}(?:\.[a-z]{2})?)$/i.test(t)},this.leading0=function(t){return(t=parseInt(t))<10?"0"+t:String(t)},this.limitSize=function(t,e){var t=a(t),o=t.val();t.val(o.substring(0,parseInt(e)))},this.permalink=function(t){return t=(t=(t=(t=t.replace(/[~`!@#$%^&*()+={}\[\]|\\:;"'<,>.?\/€]/g,"")).replace(/ /g,"-")).replace(/_/g,"-")).toLowerCase()},this.random=function(t,e){let o="",r,n;for(e=void 0!==e?e:"0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",n=0;nminSearchOptions?" dot-select-has-search":"")+(""!==classes?" "+classes:"")+'">'),t.push(' '),isMultiple||(t.push(' '),t.push('
'+(0!==values.length?labels[selectedOption]:"")+"
"),t.push('
'),t.push('
'),t.push("
")),values.length>minSearchOptions&&!isDisabled&&(t.push(' '),t.push('\t
'),t.push('\t
'),t.push('\t
'),t.push("
")),t.push(' "),t.push(" "),e.replaceWith(t.join(""))},events:function(){const $document=$(document),$listItem=$("#dot-select-"+ID+" .dot-select-list-item"),$searchInput=$("#dot-select-"+ID+" .dot-select-search-input"),$searchReset=$("#dot-select-"+ID+" .dot-select-search-reset"),$select=$("#dot-select-"+ID+" .dot-select-select");isMultiple?($listItem.unbind("click"),$listItem.bind("click",function(){const $checkbox=$("#dot-select-"+ID+" .dot-select-checkbox"),$ID=$("#"+ID);let selected=[],value;setTimeout(function(){$checkbox.each(function(){var e=$(this);e.is(":checked")&&(value=e.data("value"),selected.push(value))}),$ID.val(selected).trigger("change"),""!==onChange&&eval(onChange.replace(/this.value/g,"'"+selected.join(",")+"'"))},1)})):($document.mousedown(function(e){var t=$("#dot-select-"+ID+" .dot-select-list"),s=$("#dot-select-"+ID+" .dot-select-search"),l=$("#dot-select-"+ID+" .dot-select-select");0===$(e.target).parents("#dot-select-"+ID).length&&(l.removeClass("dot-select-focus"),t.removeAttr("style").removeClass("dot-select-visible"),s.removeClass("dot-select-visible"))}),$select.unbind("click"),$select.bind("click",function(){$("#dot-select-"+ID+" .dot-select-list").hasClass("dot-select-visible")?methods.hide():(methods.hide(),methods.show())}),$listItem.unbind("click"),$listItem.bind("click",function(){const $ID=$("#"+ID),$selection=$("#dot-select-"+ID+" .dot-select-selection"),$this=$(this);if($this.hasClass("dot-select-list-item-disabled"))return!1;$this.hasClass("dot-select-selected")||(wasChanged=!0,$listItem.removeClass("dot-select-selected"),$this.addClass("dot-select-selected"),$selection.html($this.html()),$ID.val($this.data("value")).trigger("change"),""!==onChange&&eval(onChange.replace(/this.value/g,"'"+$this.data("value")+"'"))),methods.hide()})),$searchInput.unbind("blur keyup paste"),$searchInput.bind("blur keyup paste",function(){var e=$(this);methods.search(e.val())}),$searchReset.unbind("click"),$searchReset.bind("click",function(){$searchInput.val(""),methods.search("")})},hide:function(){var e=$(".dot-select.dot-select-single .dot-select-list"),t=$(".dot-select.dot-select-single .dot-select-search");$(".dot-select.dot-select-single .dot-select-select").removeClass("dot-select-focus"),e.removeAttr("style").removeClass("dot-select-visible").scrollTop(0),t.removeClass("dot-select-visible")},key:function(e){return e.replace(/\//g,"-").replace(/ /g,"_").replace(/,/g,"-").replace(/;/g,"-").replace(/\./g,"-").replace(/:/g,"-").replace(/'/g,"-").replace(/"/g,"-").replace(/\(/g,"-").replace(/\)/g,"-").replace(/\[/g,"-").replace(/]/g,"-").replace(/\{/g,"-").replace(/}/g,"-")},search:function(e){var t=$("#dot-select-"+ID+" .dot-select-search-reset");let s=$("#dot-select-"+ID+" .dot-select-list-item"),l,c,a,i;if(""===(e=e.toLowerCase())?t.removeClass("dot-select-visible"):t.addClass("dot-select-visible"),s.removeClass("dot-select-hidden"),""!==e)for(a=0;a