PageSourceSearch

https://www.dubrovnik.es/f/js/vendor/civitatisGuidesCommonVendor-3…eee89cc336e0b365f094771fd121cfaff945.min.js

js dubrovnik.es collected 2026-09-26 17:35:55 UTC 66,610 bytes, 7 lines download raw bytes

1!function(t){"use strict";var e={version:"6.2.2",_plugins:{},_uuids:[],rtl:function(){return"rtl"===t("html").attr("dir")},plugin:function(t,e){var o=e||i(t),r=n(o);this._plugins[r]=this[o]=t},registerPlugin:function(t,e){var o=e?n(e):i(t.constructor).toLowerCase();t.uuid=this.GetYoDigits(6,o),t.$element.attr("data-"+o)||t.$element.attr("data-"+o,t.uuid),t.$element.data("zfPlugin")||t.$element.data("zfPlugin",t),t.$element.trigger("init.zf."+o),this._uuids.push(t.uuid)},unregisterPlugin:function(t){var e=n(i(t.$element.data("zfPlugin").constructor));for(var o in this._uuids.splice(this._uuids.indexOf(t.uuid),1),t.$element.removeAttr("data-"+e).removeData("zfPlugin").trigger("destroyed.zf."+e),t)t[o]=null},reInit:function(e){var i=e instanceof t;try{if(i)e.each((function(){t(this).data("zfPlugin")._init()}));else{var o=this;({object:function(e){e.forEach((function(e){e=n(e),t("[data-"+e+"]").foundation("_init")}))},string:function(){e=n(e),t("[data-"+e+"]").foundation("_init")},undefined:function(){this.object(Object.keys(o._plugins))}})[typeof e](e)}}catch(t){console.error(t)}finally{return e}},GetYoDigits:function(t,e){return t=t||6,Math.round(Math.pow(36,t+1)-Math.random()*Math.pow(36,t)).toString(36).slice(1)+(e?"-"+e:"")},reflow:function(e,i){void 0===i?i=Object.keys(this._plugins):"string"==typeof i&&(i=[i]);var n=this;t.each(i,(function(i,o){var r=n._plugins[o];t(e).find("[data-"+o+"]").addBack("[data-"+o+"]").each((function(){var e=t(this),i={};if(e.data("zfPlugin"))console.warn("Tried to initialize "+o+" on an element that already has a Foundation plugin.");else{if(e.attr("data-options"))e.attr("data-options").split(";").forEach((function(t,e){var n=t.split(":").map((function(t){return t.trim()}));n[0]&&(i[n[0]]=function(t){if(/true/.test(t))return!0;if(/false/.test(t))return!1;if(!isNaN(1*t))return parseFloat(t);return t}(n[1]))}));try{e.data("zfPlugin",new r(t(this),i))}catch(t){console.error(t)}finally{return}}}))}))},getFnName:i,transitionend:function(t){var e,i={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend"},n=document.createElement("div");for(var o in i)void 0!==n.style[o]&&(e=i[o]);return e||(e=setTimeout((function(){t.triggerHandler("transitionend",[t])}),1),"transitionend")}};e.util={throttle:function(t,e){var i=null;return function(){var n=this,o=arguments;null===i&&(i=setTimeout((function(){t.apply(n,o),i=null}),e))}}};function i(t){if(void 0===Function.prototype.name){var e=/function\s([^(]{1,})\(/.exec(t.toString());return e&&e.length>1?e[1].trim():""}return void 0===t.prototype?t.constructor.name:t.prototype.constructor.name}function n(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}window.Foundation=e,t.fn.foundation=function(n){var o=typeof n,r=t("meta.foundation-mq"),s=t(".no-js");if(r.length||t('<meta class="foundation-mq">').appendTo(document.head),s.length&&s.removeClass("no-js"),"undefined"===o)e.MediaQuery._init(),e.reflow(this);else{if("string"!==o)throw new TypeError("We're sorry, "+o+" is not a valid parameter. You must use a string representing the method you wish to invoke.");var a=Array.prototype.slice.call(arguments,1),l=this.data("zfPlugin");if(void 0===l||void 0===l[n])throw new ReferenceError("We're sorry, '"+n+"' is not an available method for "+(l?i(l):"this element")+".");1===this.length?l[n].apply(l,a):this.each((function(e,i){l[n].apply(t(i).data("zfPlugin"),a)}))}return this},function(){Date.now&&window.Date.now||(window.Date.now=Date.now=function(){return(new Date).getTime()});for(var t=["webkit","moz"],e=0;e<t.length&&!window.requestAnimationFrame;++e){var i=t[e];window.requestAnimationFrame=window[i+"RequestAnimationFrame"],window.cancelAnimationFrame=window[i+"CancelAnimationFrame"]||window[i+"CancelRequestAnimationFrame"]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var n=0;window.requestAnimationFrame=function(t){var e=Date.now(),i=Math.max(n+16,e);return setTimeout((function(){t(n=i)}),i-e)},window.cancelAnimationFrame=clearTimeout}window.performance&&window.performance.now||(window.performance={start:Date.now(),now:function(){return Date.now()-this.start}})}(),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
1var e=Array.prototype.slice.call(arguments,1),i=this,n=function(){},o=function(){return i.apply(this instanceof n?this:t,e.concat(Array.prototype.slice.call(arguments)))};return this.prototype&&(n.prototype=this.prototype),o.prototype=new n,o})}(jQuery),function(t){var e={queries:[],current:"",_init:function(){var e,i=t(".foundation-mq").css("font-family");for(var n in e=function(t){var e={};if("string"!=typeof t)return e;if(!(t=t.trim().slice(1,-1)))return e;return e=t.split("&").reduce((function(t,e){var i=e.replace(/\+/g," ").split("="),n=i[0],o=i[1];return n=decodeURIComponent(n),o=void 0===o?null:decodeURIComponent(o),t.hasOwnProperty(n)?Array.isArray(t[n])?t[n].push(o):t[n]=[t[n],o]:t[n]=o,t}),{})}(i))e.hasOwnProperty(n)&&this.queries.push({name:n,value:"only screen and (min-width: "+e[n]+")"});this.current=this._getCurrentSize(),this._watcher()},atLeast:function(t){var e=this.get(t);return!!e&&window.matchMedia(e).matches},get:function(t){for(var e in this.queries)if(this.queries.hasOwnProperty(e)){var i=this.queries[e];if(t===i.name)return i.value}return null},_getCurrentSize:function(){for(var t,e=0;e<this.queries.length;e++){var i=this.queries[e];window.matchMedia(i.value).matches&&(t=i)}return"object"==typeof t?t.name:t},_watcher:function(){var e=this;t(window).on("resize.zf.mediaquery",(function(){var i=e._getCurrentSize(),n=e.current;i!==n&&(e.current=i,t(window).trigger("changed.zf.mediaquery",[i,n]))}))}};Foundation.MediaQuery=e,window.matchMedia||(window.matchMedia=function(){"use strict";var t=window.styleMedia||window.media;if(!t){var e,i=document.createElement("style"),n=document.getElementsByTagName("script")[0];i.type="text/css",i.id="matchmediajs-test",n.parentNode.insertBefore(i,n),e="getComputedStyle"in window&&window.getComputedStyle(i,null)||i.currentStyle,t={matchMedium:function(t){var n="@media "+t+"{ #matchmediajs-test { width: 1px; } }";return i.styleSheet?i.styleSheet.cssText=n:i.textContent=n,"1px"===e.width}}}return function(e){return{matches:t.matchMedium(e||"all"),media:e||"all"}}}()),Foundation.MediaQuery=e}(jQuery),function(t){var e={9:"TAB",13:"ENTER",27:"ESCAPE",32:"SPACE",37:"ARROW_LEFT",38:"ARROW_UP",39:"ARROW_RIGHT",40:"ARROW_DOWN"},i={},n={keys:function(t){var e={};for(var i in t)e[t[i]]=t[i];return e}(e),parseKey:function(t){var i=e[t.which||t.keyCode]||String.fromCharCode(t.which).toUpperCase();return t.shiftKey&&(i="SHIFT_"+i),t.ctrlKey&&(i="CTRL_"+i),t.altKey&&(i="ALT_"+i),i},handleKey:function(e,n,o){var r,s=i[n],a=this.parseKey(e);if(!s)return console.warn("Component not defined!");if((r=o[(void 0===s.ltr?s:Foundation.rtl()?t.extend({},s.ltr,s.rtl):t.extend({},s.rtl,s.ltr))[a]])&&"function"==typeof r){var l=r.apply();(o.handled||"function"==typeof o.handled)&&o.handled(l)}else(o.unhandled||"function"==typeof o.unhandled)&&o.unhandled()},findFocusable:function(e){return e.find("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").filter((function(){return!(!t(this).is(":visible")||t(this).attr("tabindex")<0)}))},register:function(t,e){i[t]=e}};Foundation.Keyboard=n}(jQuery),function(t){function e(t,e){if((t=t.length?t[0]:t)===window||t===document)throw new Error("I'm sorry, Dave. I'm afraid I can't do that.");var i=t.getBoundingClientRect(),n=t.parentNode.getBoundingClientRect(),o=document.body.getBoundingClientRect(),r=window.pageYOffset,s=window.pageXOffset;return{width:i.width,height:i.height,offset:{top:i.top+r,left:i.left+s},parentDims:{width:n.width,height:n.height,offset:{top:n.top+r,left:n.left+s}},windowDims:{width:o.width,height:o.height,offset:{top:r,left:s}}}}Foundation.Box={ImNotTouchingYou:function(t,i,n,o){var r,s,a,l,c=e(t);if(i){var u=e(i);s=c.offset.top+c.height<=u.height+u.offset.top,r=c.offset.top>=u.offset.top,a=c.offset.left>=u.offset.left,l=c.offset.left+c.width<=u.width+u.offset.left}else s=c.offset.top+c.height<=c.windowDims.height+c.windowDims.offset.top,r=c.offset.top>=c.windowDims.offset.top,a=c.offset.left>=c.windowDims.offset.left,l=c.offset.left+c.width<=c.windowDims.width;var h=[s,r,a,l];if(n)return a===l==!0;if(o)return r===s==!0;return-1===h.indexOf(!1)},GetDimensions:e,GetOffsets:function(t,i,n,o,r,s){var a=e(t),l=i?e(i):null;switch(n){case"top":return{left:Foundation.rtl()?l.offset.left-a.width+l.width:l.offset.left,top:l.offset.top-(a.height+o)};case"left":return{left:l.offset.left-(a.width+r),top:l.offset.top};case"right":return{left:l.offset.left+l.width+r,top:l.offset.top};case"center top":return{left:l.offset.left+l.width/2-a.width/2,top:l.offset.top-(a.height+o)};case"center bottom":return{left:s?r:l.offset.left+l.width/2-a.width/2,top:l.offset.top+l.height+o};case"center left":return{left:l.offset.left-(a.width+r),top:l.offset.top+l.height/2-a.height/2};case"center right":return{left:l.offset.left+l.width+r+1,top:l.offset.top+l.height/2-a.height/2};case"center":return{left:a.windowDims.offset.left+a.windowDims.width/2-a.width/2,top:a.windowDims.offset.top+a.windowDims.height/2-a.height/2};case"reveal":return{left:(a.windowDims.width-a.width)/2,top:a.windowDims.offset.top+o};case"reveal full":return{left:a.windowDims.offset.left,top:a.windowDims.offset.top};case"left bottom":return{left:l.offset.left-(a.width+r),top:l.offset.top+l.height};case"right bottom":return{left:l.offset.left+l.width+r-a.width,top:l.offset.top+l.height};default:return{left:Foundation.rtl()?l.offset.left-a.width+l.width:l.offset.left,top:l.offset.top+l.height+o}}}}}(jQuery),function(t){var e=function(){for(var t=["WebKit","Moz","O","Ms",""],e=0;e<t.length;e++)if(t[e]+"MutationObserver"in window)return window[t[e]+"MutationObserver"];return!1}(),i=function(e,i){e.data(i).split(" ").forEach((function(n){t("#"+n)["close"===i?"trigger":"triggerHandler"](i+".zf.trigger",[e])}))};function n(){var i,n,o;!function(){if(!e)return!1;var i=document.querySelectorAll("[data-resize], [data-scroll], [data-mutate]"),n=function(e){var i=t(e[0].target);switch(i.attr("data-events")){case"resize":i.triggerHandler("resizeme.zf.trigger",[i]);break;case"scroll":i.triggerHandler("scrollme.zf.trigger",[i,window.pageYOffset]);break;default:return!1}};if(i.length)for(var o=0;o<=i.length-1;o++){new e(n).observe(i[o],{attributes:!0,childList:!1,characterData:!1,subtree:!1,attributeFilter:["data-events"]})}}(),n=void 0,(o=t("[data-resize]")).length&&t(window).off("resize.zf.trigger").on("resize.zf.trigger",(function(r){n&&clearTimeout(n),n=setTimeout((function(){e||o.each((function(){t(this).triggerHandler("resizeme.zf.trigger")})),o.attr("data-events","resize")}),i||10)})),function(i){var n=void 0,o=t("[data-scroll]");o.length&&t(window).off("scroll.zf.trigger").on("scroll.zf.trigger",(function(r){n&&clearTimeout(n),n=setTimeout((function(){e||o.each((function(){t(this).triggerHandler("scrollme.zf.trigger")})),o.attr("data-events","scroll")}),i||10)}))}(),function(e){var i=t("[data-yeti-box]"),n=["dropdown","tooltip","reveal"];e&&("string"==typeof e?n.push(e):"object"==typeof e&&"string"==typeof e[0]?n.concat(e):console.error("Plugin names must be strings"));if(i.length){var o=n.map((function(t){return"closeme.zf."+t})).join(" ");t(window).off(o).on(o,(function(e,i){var n=e.namespace.split(".")[0];t("[data-"+n+"]").not('[data-yeti-box="'+i+'"]').each((function(){var e=t(this);e.triggerHandler("close.zf.trigger",[e])}))}))}}()}t(document).on("click.zf.trigger","[data-open]",(function(){i(t(this),"open")})),t(document).on("click.zf.trigger","[data-close]",(function(){t(this).data("close")?i(t(this),"close"):t(this).trigger("close.zf.trigger")})),t(document).on("click.zf.trigger","[data-toggle]",(function(){i(t(this),"toggle")})),t(document).on("close.zf.trigger","[data-closable]",(function(e){e.stopPropagation();var i=t(this).data("closable");""!==i?Foundation.Motion.animateOut(t(this),i,(function(){t(this).trigger("closed.zf")})):t(this).fadeOut().trigger("closed.zf")})),t(document).on("focus.zf.trigger blur.zf.trigger","[data-toggle-focus]",(function(){var e=t(this).data("toggle-focus");t("#"+e).triggerHandler("toggle.zf.trigger",[t(this)])})),t(window).load((function(){n()})),Foundation.IHearYou=n}(jQuery),function(t){var e=["mui-enter","mui-leave"],i=["mui-enter-active","mui-leave-active"],n={animateIn:function(t,e,
1i){o(!0,t,e,i)},animateOut:function(t,e,i){o(!1,t,e,i)}};function o(n,o,r,s){if((o=t(o).eq(0)).length){var a=n?e[0]:e[1],l=n?i[0]:i[1];c(),o.addClass(r).css("transition","none"),requestAnimationFrame((function(){o.addClass(a),n&&o.show()})),requestAnimationFrame((function(){o[0].offsetWidth,o.css("transition","").addClass(l)})),o.one(Foundation.transitionend(o),(function(){n||o.hide();c(),s&&s.apply(o)}))}function c(){o[0].style.transitionDuration=0,o.removeClass(a+" "+l+" "+r)}}Foundation.Move=function(t,e,i){var n,o,r=null;n=window.requestAnimationFrame((function s(a){r||(r=window.performance.now()),o=a-r,i.apply(e),o<t?n=window.requestAnimationFrame(s,e):(window.cancelAnimationFrame(n),e.trigger("finished.zf.animate",[e]).triggerHandler("finished.zf.animate",[e]))}))},Foundation.Motion=n}(jQuery);var _createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),this._init(),Foundation.registerPlugin(this,"Reveal"),Foundation.Keyboard.register("Reveal",{ENTER:"open",SPACE:"open",ESCAPE:"close",TAB:"tab_forward",SHIFT_TAB:"tab_backward"})}return _createClass(e,[{key:"_init",value:function(){this.id=this.$element.attr("id"),this.isActive=!1,this.cached={mq:Foundation.MediaQuery.current},this.isMobile=/iP(ad|hone|od).*OS/.test(window.navigator.userAgent)||/Android/.test(window.navigator.userAgent),this.$anchor=t('[data-open="'+this.id+'"]').length?t('[data-open="'+this.id+'"]'):t('[data-toggle="'+this.id+'"]'),this.$anchor.attr({"aria-controls":this.id,"aria-haspopup":!0,tabindex:0}),(this.options.fullScreen||this.$element.hasClass("full"))&&(this.options.fullScreen=!0,this.options.overlay=!1),this.options.overlay&&!this.$overlay&&(this.$overlay=this._makeOverlay(this.id)),this.$element.attr({role:"dialog","aria-hidden":!0,"data-yeti-box":this.id,"data-resize":this.id}),this.$overlay?this.$element.detach().appendTo(this.$overlay):(this.$element.detach().appendTo(t("body")),this.$element.addClass("without-overlay")),this._events(),this.options.deepLink&&window.location.hash==="#"+this.id&&t(window).one("load.zf.reveal",this.open.bind(this))}},{key:"_makeOverlay",value:function(e){return t("<div></div>").addClass("reveal-overlay").appendTo("body")}},{key:"_updatePosition",value:function(){var e,i,n=this.$element.outerWidth(),o=t(window).width(),r=this.$element.outerHeight(),s=t(window).height();e="auto"===this.options.hOffset?parseInt((o-n)/2,10):parseInt(this.options.hOffset,10),i="auto"===this.options.vOffset?r>s?parseInt(Math.min(100,s/10),10):parseInt((s-r)/4,10):parseInt(this.options.vOffset,10),this.$element.css({top:i+"px"}),this.$overlay&&"auto"===this.options.hOffset||(this.$element.css({left:e+"px"}),this.$element.css({margin:"0px"}))}},{key:"_events",value:function(){var e=this,i=this;this.$element.on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":function(n,o){if(n.target===i.$element[0]||t(n.target).parents("[data-closable]")[0]===o)return e.close.apply(e)},"toggle.zf.trigger":this.toggle.bind(this),"resizeme.zf.trigger":function(){i._updatePosition()}}),this.$anchor.length&&this.$anchor.on("keydown.zf.reveal",(function(t){13!==t.which&&32!==t.which||(t.stopPropagation(),t.preventDefault(),i.open())})),this.options.closeOnClick&&this.options.overlay&&this.$overlay.off(".zf.reveal").on("click.zf.reveal",(function(e){e.target===i.$element[0]||t.contains(i.$element[0],e.target)||i.close()})),this.options.deepLink&&t(window).on("popstate.zf.reveal:"+this.id,this._handleState.bind(this))}},{key:"_handleState",value:function(t){window.location.hash!=="#"+this.id||this.isActive?this.close():this.open()}},{key:"open",value:function(){var e,i=this;if(this.options.deepLink){var n="#"+this.id;window.history.pushState?window.history.pushState(null,null,n):window.location.hash=n}(this.isActive=!0,this.$element.css({visibility:"hidden"}).show().scrollTop(0),this.options.overlay&&this.$overlay.css({visibility:"hidden"}).show(),this._updatePosition(),this.$element.hide().css({visibility:""}),this.$overlay&&(this.$overlay.css({visibility:""}).hide(),this.$element.hasClass("fast")?this.$overlay.addClass("fast"):this.$element.hasClass("slow")&&this.$overlay.addClass("slow")),this.options.multipleOpened||this.$element.trigger("closeme.zf.reveal",this.id),this.options.animationIn)?(e=i,i.options.overlay&&Foundation.Motion.animateIn(i.$overlay,"fade-in"),Foundation.Motion.animateIn(i.$element,i.options.animationIn,(function(){i.focusableElements=Foundation.Keyboard.findFocusable(i.$element),e.$element.attr({"aria-hidden":!1,tabindex:-1}).focus(),console.log("focus")}))):(this.options.overlay&&this.$overlay.show(0),this.$element.show(this.options.showDelay));this.$element.attr({"aria-hidden":!1,tabindex:-1}).focus(),this.$element.trigger("open.zf.reveal"),this.isMobile?(this.originalScrollPos=window.pageYOffset,t("html, body").addClass("is-reveal-open")):t("body").addClass("is-reveal-open"),setTimeout((function(){i._extraHandlers()}),0)}},{key:"_extraHandlers",value:function(){var e=this;this.focusableElements=Foundation.Keyboard.findFocusable(this.$element),this.options.overlay||!this.options.closeOnClick||this.options.fullScreen||t("body").on("click.zf.reveal",(function(i){i.target===e.$element[0]||t.contains(e.$element[0],i.target)||e.close()})),this.options.closeOnEsc&&t(window).on("keydown.zf.reveal",(function(t){Foundation.Keyboard.handleKey(t,"Reveal",{close:function(){e.options.closeOnEsc&&(e.close(),e.$anchor.focus())}})}
1)),this.$element.on("keydown.zf.reveal",(function(i){var n=t(this);Foundation.Keyboard.handleKey(i,"Reveal",{tab_forward:function(){return e.$element.find(":focus").is(e.focusableElements.eq(-1))?(e.focusableElements.eq(0).focus(),!0):0===e.focusableElements.length||void 0},tab_backward:function(){return e.$element.find(":focus").is(e.focusableElements.eq(0))||e.$element.is(":focus")?(e.focusableElements.eq(-1).focus(),!0):0===e.focusableElements.length||void 0},open:function(){e.$element.find(":focus").is(e.$element.find("[data-close]"))?setTimeout((function(){e.$anchor.focus()}),1):n.is(e.focusableElements)&&e.open()},close:function(){e.options.closeOnEsc&&(e.close(),e.$anchor.focus())},handled:function(t){t&&i.preventDefault()}})}))}},{key:"close",value:function(){if(!this.isActive||!this.$element.is(":visible"))return!1;var e=this;function i(){e.isMobile?(t("html, body").removeClass("is-reveal-open"),e.originalScrollPos&&(t("body").scrollTop(e.originalScrollPos),e.originalScrollPos=null)):t("body").removeClass("is-reveal-open"),e.$element.attr("aria-hidden",!0),e.$element.trigger("closed.zf.reveal")}this.options.animationOut?(this.options.overlay?Foundation.Motion.animateOut(this.$overlay,"fade-out",i):i(),Foundation.Motion.animateOut(this.$element,this.options.animationOut)):(this.options.overlay?this.$overlay.hide(0,i):i(),this.$element.hide(this.options.hideDelay)),this.options.closeOnEsc&&t(window).off("keydown.zf.reveal"),!this.options.overlay&&this.options.closeOnClick&&t("body").off("click.zf.reveal"),this.$element.off("keydown.zf.reveal"),this.options.resetOnClose&&this.$element.html(this.$element.html()),this.isActive=!1,e.options.deepLink&&(window.history.replaceState?window.history.replaceState("",document.title,window.location.pathname):window.location.hash="")}},{key:"toggle",value:function(){this.isActive?this.close():this.open()}},{key:"destroy",value:function(){this.options.overlay&&(this.$element.appendTo(t("body")),this.$overlay.hide().off().remove()),this.$element.hide().off(),this.$anchor.off(".zf"),t(window).off(".zf.reveal:"+this.id),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={animationIn:"",animationOut:"",showDelay:0,hideDelay:0,closeOnClick:!0,closeOnEsc:!0,multipleOpened:!1,vOffset:"auto",hOffset:"auto",fullScreen:!1,btmOffsetPct:10,overlay:!0,resetOnClose:!1,deepLink:!1},Foundation.plugin(e,"Reveal")}(jQuery);_createClass=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}();function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}!function(t){var e=function(){function e(i,n){_classCallCheck(this,e),this.$element=i,this.options=t.extend({},e.defaults,this.$element.data(),n),this.isActive=!1,this.isClick=!1,this._init(),Foundation.registerPlugin(this,"Tooltip")}return _createClass(e,[{key:"_init",value:function(){var e=this.$element.attr("aria-describedby")||Foundation.GetYoDigits(6,"tooltip");this.options.positionClass=this.options.positionClass||this._getPositionClass(this.$element),this.options.tipText=this.options.tipText||this.$element.attr("title"),this.template=this.options.template?t(this.options.template):this._buildTemplate(e),this.template.appendTo(document.body).text(this.options.tipText).hide(),this.$element.attr({title:"","aria-describedby":e,"data-yeti-box":e,"data-toggle":e,"data-resize":e}).addClass(this.triggerClass),this.usedPositions=[],this.counter=4,this.classChanged=!1,this._events()}},{key:"_getPositionClass",value:function(t){if(!t)return"";var e=t[0].className.match(/\b(top|left|right)\b/g);return e=e?e[0]:""}},{key:"_buildTemplate",value:function(e){var i=(this.options.tooltipClass+" "+this.options.positionClass+" "+this.options.templateClasses).trim();return t("<div></div>").addClass(i).attr({role:"tooltip","aria-hidden":!0,"data-is-active":!1,"data-is-focus":!1,id:e})}},{key:"_reposition",value:function(t){this.usedPositions.push(t||"bottom"),!t&&this.usedPositions.indexOf("top")<0?this.template.addClass("top"):"top"===t&&this.usedPositions.indexOf("bottom")<0?this.template.removeClass(t):"left"===t&&this.usedPositions.indexOf("right")<0?this.template.removeClass(t).addClass("right"):"right"===t&&this.usedPositions.indexOf("left")<0?this.template.removeClass(t).addClass("left"):!t&&this.usedPositions.indexOf("top")>-1&&this.usedPositions.indexOf("left")<0?this.template.addClass("left"):"top"===t&&this.usedPositions.indexOf("bottom")>-1&&this.usedPositions.indexOf("left")<0?this.template.removeClass(t).addClass("left"):"left"===t&&this.usedPositions.indexOf("right")>-1&&this.usedPositions.indexOf("bottom")<0?this.template.removeClass(t):("right"===t&&this.usedPositions.indexOf("left")>-1&&this.usedPositions.indexOf("bottom"),this.template.removeClass(t)),this.classChanged=!0,this.counter--}},{key:"_setPosition",value:function(){let t=this.$element.closest('[data-type-error="policy-check"]').length>0,e=window.innerWidth<767&&window.innerHeight>window.innerWidth,i=t&&e?this.options.vOffsetMobile:this.options.vOffset;var n=this._getPositionClass(this.template),o=Foundation.Box.GetDimensions(this.template),r=Foundation.Box.GetDimensions(this.$element);"height"===("top"===("left"===n?"left":"right"===n?"left":"top")?"height":"width")||this.options.hOffset;if(o.width>=o.windowDims.width||!this.counter&&!Foundation.Box.ImNotTouchingYou(this.template))return this.template.offset(Foundation.Box.GetOffsets(this.template,this.$element,"center bottom",i,this.options.hOffset,!0)).css({width:r.windowDims.width-2*this.options.hOffset,height:"auto"}),!1;for(this.template.offset(Foundation.Box.GetOffsets(this.template,this.$element,"center "+(n||"bottom"),i,this.options.hOffset));!Foundation.Box.ImNotTouchingYou(this.template)&&this.counter;)this._reposition(n),this._setPosition()}},{key:"show",value:function(){if(void 0===this.$element||null===this.$element)return!1;if("true"===this.$element.attr("data-reshow")&&this.$element.trigger("show.zf.tooltip"),"all"!==this.options.showOn&&!Foundation.MediaQuery.atLeast(this.options.showOn))return!1;this.template.css("visibility","hidden").show(),this._setPosition(),this.$element.trigger("closeme.zf.tooltip",this.template.attr("id")),this.template.attr({"data-is-active":!0,"aria-hidden":!1}),this.isActive=!0,this.template.stop().hide().css("visibility","").fadeIn(this.options.fadeInDuration,(function(){})),this.$element.trigger("show.zf.tooltip")}},{key:"hide",value:function(){if(void 0===this.$element||null===this.$element)return!1;var t=this;this.template.stop().attr({"aria-hidden":!0,"data-is-active":!1}).fadeOut(this.options.fadeOutDuration,(function(){t.isActive=!1,t.isClick=!1,t.classChanged&&(t.template.removeClass(t._getPositionClass(t.template)).addClass(t.o
1ptions.positionClass),t.usedPositions=[],t.counter=4,t.classChanged=!1)})),this.$element.trigger("hide.zf.tooltip")}},{key:"_events",value:function(){var t=this,e=(this.template,!1);this.options.disableHover||this.$element.on("mouseenter.zf.tooltip",(function(e){t.isActive||(t.timeout=setTimeout((function(){t.show()}),t.options.hoverDelay))})).on("mouseleave.zf.tooltip",(function(i){clearTimeout(t.timeout),(!e||t.isClick&&!t.options.clickOpen)&&t.hide()})),this.options.clickOpen?this.$element.on("mousedown.zf.tooltip",(function(e){e.stopImmediatePropagation(),t.isClick||(t.isClick=!0,!t.options.disableHover&&t.$element.attr("tabindex")||t.isActive||t.show())})):this.$element.on("mousedown.zf.tooltip",(function(e){e.stopImmediatePropagation(),t.isClick=!0})),this.$element.on("tap.zf.tooltip touchend.zf.tooltip",(function(e){t.isActive?t.hide():void 0===this.options||this.options.disableForTouch||t.show()})),this.$element.on({"close.zf.trigger":this.hide.bind(this)}),this.$element.on("focus.zf.tooltip",(function(i){if(e=!0,t.isClick)return t.options.clickOpen||(e=!1),!1;t.show()})).on("focusout.zf.tooltip",(function(i){e=!1,t.isClick=!1,t.hide()})).on("resizeme.zf.trigger",(function(){t.isActive&&t._setPosition()}))}},{key:"toggle",value:function(){this.isActive?this.hide():this.show()}},{key:"destroy",value:function(){this.$element.attr("title",this.template.text()).off(".zf.trigger .zf.tootip").removeAttr("aria-describedby").removeAttr("data-yeti-box").removeAttr("data-toggle").removeAttr("data-resize"),this.template.remove(),Foundation.unregisterPlugin(this)}}]),e}();e.defaults={disableForTouch:!1,hoverDelay:200,fadeInDuration:150,fadeOutDuration:150,disableHover:!1,templateClasses:"",tooltipClass:"tooltip",triggerClass:"has-tip",showOn:"small",template:"",tipText:"",touchCloseText:"Tap to close.",clickOpen:!0,positionClass:"",vOffset:10,hOffset:12,vOffsetMobile:120},Foundation.plugin(e,"Tooltip")}(jQuery),function(){"use strict";function t(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,n),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=n.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var n in i)e.push(i[n]);for(var o=0,r=e.length;r>o;o++)e[o][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="wayp
1oint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,n={},o=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete n[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,o.requestAnimationFrame(t))}))},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",(function(){(!e.didScroll||o.isTouch)&&(e.didScroll=!0,o.requestAnimationFrame(t))}))},e.prototype.handleResize=function(){o.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var n=e[i],o=n.newScroll>n.oldScroll?n.forward:n.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r],a=n.oldScroll<s.triggerPoint,l=n.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(o),t[s.group.id]=s.group)}}for(var c in t)t[c].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var n=0,o=t.length;o>n;n++)t[n].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),n={};for(var r in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=t[r];for(var a in this.waypoints[r]){var l,c,u,h,d=this.waypoints[r][a],f=d.options.offset,p=d.triggerPoint,m=0,g=null==p;d.element!==d.element.window&&(m=d.adapter.offset()[s.offsetProp]),"function"==typeof f?f=f.apply(d):"string"==typeof f&&(f=parseFloat(f),d.options.offset.indexOf("%")>-1&&(f=Math.ceil(s.contextDimension*f/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=m+l-f,c=p<s.oldScroll,u=d.triggerPoint>=s.oldScroll,h=!c&&!u,!g&&(c&&u)?(d.queueTrigger(s.backward),n[d.group.id]=d.group):!g&&h?(d.queueTrigger(s.forward),n[d.group.id]=d.group):g&&s.oldScroll>=d.triggerPoint&&(d.queueTrigger(s.forward),n[d.group.id]=d.group)}}return o.requestAnimationFrame((function(){for(var t in n)n[t].flushTriggers()})),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in n)n[t].refresh()},e.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},o.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},o.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}var n={vertical:{},horizontal:{}},o=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],r
1ight:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var n=this.triggerQueues[i],o="up"===i||"left"===i;n.sort(o?e:t);for(var r=0,s=n.length;s>r;r+=1){var a=n[r];(a.options.continuous||r===n.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return n[t.axis][t.name]||new i(t)},o.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}})),e.each(["extend","inArray","isEmptyObject"],(function(i,n){t[n]=e[n]})),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],n=arguments[0];return t.isFunction(arguments[0])&&((n=t.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var o=t.extend({},n,{element:this});"string"==typeof o.context&&(o.context=t(this).closest(o.context)[0]),i.push(new e(o))})),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(),function(){"use strict";function t(n){this.options=e.extend({},i.defaults,t.defaults,n),this.element=this.options.element,this.$element=e(this.element),this.createWrapper(),this.createWaypoint()}var e=window.jQuery,i=window.Waypoint;t.prototype.createWaypoint=function(){var t=this.options.handler;this.waypoint=new i(e.extend({},this.options,{element:this.wrapper,handler:e.proxy((function(e){var i=this.options.direction.indexOf(e)>-1,n=i?this.$element.outerHeight(!0):"";this.$wrapper.height(n),this.$element.toggleClass(this.options.stuckClass,i),t&&t.call(this,e)}),this)}))},t.prototype.createWrapper=function(){this.options.wrapper&&this.$element.wrap(this.options.wrapper),this.$wrapper=this.$element.parent(),this.wrapper=this.$wrapper[0]},t.prototype.destroy=function(){this.$element.parent()[0]===this.wrapper&&(this.waypoint.destroy(),this.$element.removeClass(this.options.stuckClass),this.options.wrapper&&this.$element.unwrap())},t.defaults={wrapper:'<div class="sticky-wrapper" />',stuckClass:"stuck",direction:"down right"},i.Sticky=t}(),function(){"use strict";function t(){}function e(t){this.options=i.Adapter.extend({},e.defaults,t),this.axis=this.options.horizontal?"horizontal":"vertical",this.waypoints=[],this.element=this.options.element,this.createWaypoints()}var i=window.Waypoint;e.prototype.createWaypoints=function(){for(var t={vertical:[{down:"enter",up:"exited",offset:"100%"},{down:"entered",up:"exit",offset:"bottom-in-view"},{down:"exit",up:"entered",offset:0},{down:"exited",up:"enter",offset:function(){return-this.adapter.outerHeight()}}],horizontal:[{right:"enter",left:"exited",offset:"100%"},{right:"entered",left:"exit",offset:"right-in-view"},{right:"exit",left:"entered",offset:0},{right:"exited",left:"enter",offset:function(){return-this.adapter.outerWidth()}}]},e=0,i=t[this.axis].length;i>e;e++){var n=t[this.axis][e];this.createWaypoint(n)}},e.prototype.createWaypoint=function(t){var e=this;this.waypoints.push(new i({context:this.options.context,element:this.options.element,enabled:this.options.enabled,handler:function(t){return function(i){e.options[t[i]].call(e,i)}}(t),offset:t.offset,horizontal:this.options.horizontal}))},e.prototype.destroy=function(){for(var t=0,e=this.waypoints.length;e>t;t++)this.waypoints[t].destroy();this.waypoints=[]},e.prototype.disable=function(){for(var t=0,e=this.waypoints.length;e>t;t++)this.waypoints[t].disable()},e.prototype.enable=function(){for(var t=0,e=this.waypoints.length;e>t;t++)this.waypoints[t].enable()}
1,e.defaults={context:window,enabled:!0,enter:t,entered:t,exit:t,exited:t},i.Inview=e}(),
2/*!
3  hey, [be]Lazy.js - v1.8.2 - 2016.10.25
4  A fast, small and dependency free lazy load script (https://github.com/dinbror/blazy)
5  (c) Bjoern Klinggaard - @bklinggaard - http://dinbror.dk/blazy
6*/
7function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.Blazy=e()}(this,(function(){function t(t){var i=t._util;i.elements=function(t){for(var e=[],i=(t=t.root.querySelectorAll(t.selector)).length;i--;e.unshift(t[i]));return e}(t.options),i.count=i.elements.length,i.destroyed&&(i.destroyed=!1,t.options.container&&h(t.options.container,(function(t){c(t,"scroll",i.validateT)})),c(window,"resize",i.saveViewportOffsetT),c(window,"resize",i.validateT),c(window,"scroll",i.validateT)),e(t)}function e(t){for(var e=t._util,n=0;n<e.count;n++){var o,r=e.elements[n],a=r;o=t.options;var l=a.getBoundingClientRect();o.container&&g&&(a=a.closest(o.containerClass))?o=!!i(a=a.getBoundingClientRect(),p)&&i(l,{top:a.top-o.offset,right:a.right+o.offset,bottom:a.bottom+o.offset,left:a.left-o.offset}):o=i(l,p),(o||s(r,t.options.successClass))&&(t.load(r),e.elements.splice(n,1),e.count--,n--)}0===e.count&&t.destroy()}function i(t,e){return t.right>=e.left&&t.bottom>=e.top&&t.left<=e.right&&t.top<=e.bottom}function n(t,e,i){if(!s(t,i.successClass)&&(e||i.loadInvisible||0<t.offsetWidth&&0<t.offsetHeight))if(e=t.getAttribute(f)||t.getAttribute(i.src)){var n=(e=e.split(i.separator))[m&&1<e.length?1:0],l=t.getAttribute(i.srcset),d="img"===t.nodeName.toLowerCase(),p=(e=t.parentNode)&&"picture"===e.nodeName.toLowerCase();if(d||void 0===t.src){var g=new Image,v=function(){i.error&&i.error(t,"invalid"),a(t,i.errorClass),u(g,"error",v),u(g,"load",w)},w=function(){d?p||r(t,n,l):t.style.backgroundImage='url("'+n+'")',o(t,i),u(g,"load",w),u(g,"error",v)};p&&(g=t,h(e.getElementsByTagName("source"),(function(t){var e=i.srcset,n=t.getAttribute(e);n&&(t.setAttribute("srcset",n),t.removeAttribute(e))}))),c(g,"error",v),c(g,"load",w),r(g,n,l)}else t.src=n,o(t,i)}else"video"===t.nodeName.toLowerCase()?(h(t.getElementsByTagName("source"),(function(t){var e=i.src,n=t.getAttribute(e);n&&(t.setAttribute("src",n),t.removeAttribute(e))})),t.load(),o(t,i)):(i.error&&i.error(t,"missing"),a(t,i.errorClass))}function o(t,e){a(t,e.successClass),e.success&&e.success(t),t.removeAttribute(e.src),t.removeAttribute(e.srcset),h(e.breakpoints,(function(e){t.removeAttribute(e.src)}))}function r(t,e,i){i&&t.setAttribute("srcset",i),t.src=e}function s(t,e){return-1!==(" "+t.className+" ").indexOf(" "+e+" ")}function a(t,e){s(t,e)||(t.className+=" "+e)}function l(t){p.bottom=(window.innerHeight||document.documentElement.clientHeight)+t,p.right=(window.innerWidth||document.documentElement.clientWidth)+t}function c(t,e,i){t.attachEvent?t.attachEvent&&t.attachEvent("on"+e,i):t.addEventListener(e,i,{capture:!1,passive:!0})}function u(t,e,i){t.detachEvent?t.detachEvent&&t.detachEvent("on"+e,i):t.removeEventListener(e,i,{capture:!1,passive:!0})}function h(t,e){if(t&&e)for(var i=t.length,n=0;n<i&&!1!==e(t[n],n);n++);}function d(t,e,i){var n=0;return function(){var o=+new Date;o-n<e||(n=o,t.apply(i,arguments))}}var f,p,m,g;return function(i){if(!document.querySelectorAll){var o=document.createStyleSheet();document.querySelectorAll=function(t,e,i,n,r){for(r=document.all,e=[],i=(t=t.replace(/\[for\b/gi,"[htmlFor").split(",")).length;i--;){for(o.addRule(t[i],"k:v"),n=r.length;n--;)r[n].currentStyle.k&&e.push(r[n]);o.removeRule(0)}return e}}var r=this,s=r._util={};s.elements=[],s.destroyed=!0,r.options=i||{},r.options.error=r.options.error||!1,r.options.offset=r.options.offset||100,r.options.root=r.options.root||document,r.options.success=r.options.success||!1,r.options.selector=r.options.selector||".b-lazy",r.options.separator=r.options.separator||"|",r.options.containerClass=r.options.container,r.options.container=!!r.options.containerClass&&document.querySelectorAll(r.options.containerClass),r.options.errorClass=r.options.errorClass||"b-error",r.options.breakpoints=r.options.breakpoints||!1,r.options.loadInvisible=r.options.loadInvisible||!1,r.options.successClass=r.options.successClass||"b-loaded",r.options.validateDelay=r.options.validateDelay||25,r.options.saveViewportOffsetDelay=r.options.saveViewportOffsetDelay||50,r.options.srcset=r.options.srcset||"data-srcset",r.options.src=f=r.options.src||"data-src",g=Element.prototype.closest,m=1<window.devicePixelRatio,(p={}).top=0-r.options.offset,p.left=0-r.options.offset,r.revalidate=function(){t(r)},r.load=function(t,e){var i=this.options;void 0===t.length?n(t,e,i):h(t,(function(t){n(t,e,i)}))},r.destroy=function(){var t=this._util;this.options.container&&h(this.options.container,(function(e){u(e,"scroll",t.validateT)})),u(window,"scroll",t.validateT),u(window,"resize",t.validateT),u(window,"resize",t.saveViewportOffsetT),t.count=0,t.elements.length=0,t.destroyed=!0}
7,s.validateT=d((function(){e(r)}),r.options.validateDelay,r),s.saveViewportOffsetT=d((function(){l(r.options.offset)}),r.options.saveViewportOffsetDelay,r),l(r.options.offset),h(r.options.breakpoints,(function(t){if(t.width>=window.innerWidth)return f=t.src,!1})),setTimeout((function(){t(r)}))}})),function(t,e,i,n){var o={triggerEvent:"hover",rowSelector:"> li",handle:"> a",submenuSelector:"*",submenuDirection:"right",openClassName:"open",tolerance:75,activationDelay:300,mouseLocsTracked:3,defaultDelay:300,enterCallback:t.noop,activateCallback:t.noop,deactivateCallback:t.noop,exitCallback:t.noop,exitMenuCallback:t.noop};function r(e,i){this.el=e,this.options=t.extend({},o,i),this._defaults=o,this._name="menuAim",this.init()}r.prototype={init:function(){this.activeRow=null,this.mouseLocs=[],this.lastDelayLoc=null,this.timeoutId=null,this.openDelayId=null,this.isOnClick=t.inArray(this.options.triggerEvent,["both","click"])>-1,this.isOnHover=t.inArray(this.options.triggerEvent,["both","hover"])>-1,this.isOnHover&&this._hoverTriggerOn(),this.isOnClick&&this._clickTriggerOn()},_mouseMoveDocument:function(t){obj=t.data.obj,obj.mouseLocs.push({x:t.pageX,y:t.pageY}),obj.mouseLocs.length>obj.options.mouseLocsTracked&&obj.mouseLocs.shift()},_mouseLeaveMenu:function(t){obj=t.data.obj,obj.timeoutId&&clearTimeout(obj.timeoutId),obj.openDelayId&&clearTimeout(obj.openDelayId),obj._possiblyDeactivate(obj.activeRow),obj.options.exitMenuCallback(this)},_mouseEnterRow:function(t){obj=t.data.obj,obj.timeoutId&&clearTimeout(obj.timeoutId),obj.options.enterCallback(this),obj._possiblyActivate(this)},_mouseLeaveRow:function(t){t.data.obj.options.exitCallback(this)},_clickRow:function(e){obj=e.data.obj,obj._activate(this),t(obj.el).find(obj.options.rowSelector).find(obj.options.handle).on("click",{obj:obj},obj._clickRowHandle)},_clickRowHandle:function(e){obj=e.data.obj,t(this).closest("li").hasClass(obj.options.openClassName)&&(obj._deactivate(),e.stopPropagation())},_activate:function(t){var e=this;t!=this.activeRow&&(this.openDelayId&&clearTimeout(this.openDelayId),parseInt(e.options.activationDelay,0)>0&&e.isOnHover?e.activeRow?e._activateWithoutDelay(t):this.openDelayId=setTimeout((function(){e._activateWithoutDelay(t)}),e.options.activationDelay):e._activateWithoutDelay(t))},_activateWithoutDelay:function(t){this.activeRow&&this.options.deactivateCallback(this.activeRow),this.options.activateCallback(t),this.activeRow=t},_deactivate:function(){this.openDelayId&&clearTimeout(this.openDelayId),this.activeRow&&(this.options.deactivateCallback(this.activeRow),this.activeRow=null)},_possiblyActivate:function(t){var e=this._activationDelay(),i=this;e?this.timeoutId=setTimeout((function(){i._possiblyActivate(t)}),e):this._activate(t)},_possiblyDeactivate:function(t){var e=this._activationDelay(),i=this;e?this.timeoutId=setTimeout((function(){i._possiblyDeactivate(t)}),e):(this.options.deactivateCallback(t),this.activeRow=null)},_activationDelay:function(){if(!this.activeRow||!t(this.activeRow).is(this.options.submenuSelector))return 0;var e=t(this.el).offset(),i={x:e.left,y:e.top-this.options.tolerance},n={x:e.left+t(this.el).outerWidth(),y:i.y},o={x:e.left,y:e.top+t(this.el).outerHeight()+this.options.tolerance},r={x:e.left+t(this.el).outerWidth(),y:o.y},s=this.mouseLocs[this.mouseLocs.length-1],a=this.mouseLocs[0];if(!s)return 0;if(a||(a=s),a.x<e.left||a.x>r.x||a.y<e.top||a.y>r.y)return 0;if(this.lastDelayLoc&&s.x==this.lastDelayLoc.x&&s.y==this.lastDelayLoc.y)return 0;function l(t,e){return(e.y-t.y)/(e.x-t.x)}var c=n,u=r;"left"==this.options.submenuDirection?(c=o,u=i):"below"==this.options.submenuDirection?(c=r,u=o):"above"==this.options.submenuDirection&&(c=i,u=n);var h=l(s,c),d=l(s,u),f=l(a,c),p=l(a,u);return h<f&&d>p?(this.lastDelayLoc=s,this.options.defaultDelay):(this.lastDelayLoc=null,0)},_outsideMenuClick:function(e){var i=e.data.obj;t(i.el).not(e.target)&&0===t(i.el).has(e.target).length&&(i.options.deactivateCallback(i.activeRow),i.activeRow=null)},_hoverTriggerOn:function(){t(this.el).on("mouseleave",{obj:this},this._mouseLeaveMenu).find(this.options.rowSelector).on("mouseenter",{obj:this},this._mouseEnterRow).on("mouseleave",{obj:this},this._mouseLeaveRow),t(e).on("blur",{obj:this},this._mouseLeaveMenu),t(i).on("mousemove",{obj:this},this._mouseMoveDocument)},_hoverTriggerOff:function(){t(this.el).off("mouseleave",this._mouseLeaveMenu).find(this.options.rowSelector).off("mouseenter",this._mouseEnterRow).off("mouseleave",this._mouseLeaveRow),t(e).off("blur",this._mouseLeaveMenu),t(i).off("mousemove",{obj:this},this._mouseMoveDocument)},_clickTriggerOn:function(){t(this.el).find(this.options.rowSelector).on("click",{obj:this},this._clickRow),t(i).on("click",{obj:this},this._outsideMenuClick)},_clickTriggerOff:function(){t(this.el).find(this.options.rowSelector).off("
7click",this._clickRow),t(i).off("click",this._outsideMenuClick)},switchToHover:function(){this._clickTriggerOff(),this._hoverTriggerOn(),this.isOnHover=!0,this.isOnClick=!1},switchToClick:function(){this._hoverTriggerOff(),this._clickTriggerOn(),this.isOnHover=!1,this.isOnClick=!0}},t.fn.menuAim=function(e){var i,n=arguments;return void 0===e||"object"==typeof e?this.each((function(){t.data(this,"plugin_menuAim")||t.data(this,"plugin_menuAim",new r(this,e))})):"string"==typeof e&&"_"!==e[0]&&"init"!==e?(this.each((function(){var o=t.data(this,"plugin_menuAim");o instanceof r&&"function"==typeof o[e]&&(i=o[e].apply(o,Array.prototype.slice.call(n,1))),"destroy"===e&&t.data(this,"plugin_menuAim",null)})),void 0!==i?i:this):void 0}}(jQuery,window,document),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Cleave=e():t.Cleave=e()}(this,(function(){return function(t){function e(n){if(i[n])return i[n].exports;
7var o=i[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var i={};return e.m=t,e.c=i,e.p="",e(0)}([function(t,e,i){(function(e){"use strict";var n=function(t,e){var i=this;if(i.element="string"==typeof t?document.querySelector(t):void 0!==t.length&&t.length>0?t[0]:t,!i.element)throw new Error("[cleave.js] Please check the element");e.initValue=i.element.value,i.properties=n.DefaultProperties.assign({},e),i.init()};n.prototype={init:function(){var t=this,e=t.properties;return e.numeral||e.phone||e.creditCard||e.time||e.date||0!==e.blocksLength||e.prefix?(e.maxLength=n.Util.getMaxLength(e.blocks),t.isAndroid=n.Util.isAndroid(),t.lastInputValue="",t.onChangeListener=t.onChange.bind(t),t.onKeyDownListener=t.onKeyDown.bind(t),t.onFocusListener=t.onFocus.bind(t),t.onCutListener=t.onCut.bind(t),t.onCopyListener=t.onCopy.bind(t),t.element.addEventListener("input",t.onChangeListener),t.element.addEventListener("keydown",t.onKeyDownListener),t.element.addEventListener("focus",t.onFocusListener),t.element.addEventListener("cut",t.onCutListener),t.element.addEventListener("copy",t.onCopyListener),t.initPhoneFormatter(),t.initDateFormatter(),t.initTimeFormatter(),t.initNumeralFormatter(),void((e.initValue||e.prefix&&!e.noImmediatePrefix)&&t.onInput(e.initValue))):void t.onInput(e.initValue)},initNumeralFormatter:function(){var t=this.properties;t.numeral&&(t.numeralFormatter=new n.NumeralFormatter(t.numeralDecimalMark,t.numeralIntegerScale,t.numeralDecimalScale,t.numeralThousandsGroupStyle,t.numeralPositiveOnly,t.stripLeadingZeroes,t.delimiter))},initTimeFormatter:function(){var t=this.properties;t.time&&(t.timeFormatter=new n.TimeFormatter(t.timePattern),t.blocks=t.timeFormatter.getBlocks(),t.blocksLength=t.blocks.length,t.maxLength=n.Util.getMaxLength(t.blocks))},initDateFormatter:function(){var t=this.properties;t.date&&(t.dateFormatter=new n.DateFormatter(t.datePattern),t.blocks=t.dateFormatter.getBlocks(),t.blocksLength=t.blocks.length,t.maxLength=n.Util.getMaxLength(t.blocks))},initPhoneFormatter:function(){var t=this.properties;if(t.phone)try{t.phoneFormatter=new n.PhoneFormatter(new t.root.Cleave.AsYouTypeFormatter(t.phoneRegionCode),t.delimiter)}catch(t){throw new Error("[cleave.js] Please include phone-type-formatter.{country}.js lib")}},onKeyDown:function(t){var e=this,i=e.properties,o=t.which||t.keyCode,r=n.Util,s=e.element.value;return 229===o&&r.isAndroidBackspaceKeydown(e.lastInputValue,s)&&(o=8),e.lastInputValue=s,8===o&&r.isDelimiter(s.slice(-i.delimiterLength),i.delimiter,i.delimiters)?void(i.backspace=!0):void(i.backspace=!1)},onChange:function(){this.onInput(this.element.value)},onFocus:function(){var t=this.properties;n.Util.fixPrefixCursor(this.element,t.prefix,t.delimiter,t.delimiters)},onCut:function(t){this.copyClipboardData(t),this.onInput("")},onCopy:function(t){this.copyClipboardData(t)},copyClipboardData:function(t){var e,i=this.properties,o=n.Util,r=this.element.value;e=i.copyDelimiter?r:o.stripDelimiters(r,i.delimiter,i.delimiters);try{t.clipboardData?t.clipboardData.setData("Text",e):window.clipboardData.setData("Text",e),t.preventDefault()}catch(t){}},onInput:function(t){var e=this,i=e.properties,o=n.Util;return i.numeral||!i.backspace||o.isDelimiter(t.slice(-i.delimiterLength),i.delimiter,i.delimiters)||(t=o.headStr(t,t.length-i.delimiterLength)),i.phone?(!i.prefix||i.noImmediatePrefix&&!t.length?i.result=i.phoneFormatter.format(t):i.result=i.prefix+i.phoneFormatter.format(t).slice(i.prefix.length),void e.updateValueState()):i.numeral?(!i.prefix||i.noImmediatePrefix&&!t.length?i.result=i.numeralFormatter.format(t):i.result=i.prefix+i.numeralFormatter.format(t),void e.updateValueState()):(i.date&&(t=i.dateFormatter.getValidatedDate(t)),i.time&&(t=i.timeFormatter.getValidatedTime(t)),t=o.stripDelimiters(t,i.delimiter,i.delimiters),t=o.getPrefixStrippedValue(t,i.prefix,i.prefixLength,i.result),t=i.numericOnly?o.strip(t,/[^\d]/g):t,t=i.uppercase?t.toUpperCase():t,t=i.lowercase?t.toLowerCase():t,!i.prefix||i.noImmediatePrefix&&!t.length||(t=i.prefix+t,0!==i.blocksLength)?(i.creditCard&&e.updateCreditCardPropsByValue(t),t=o.headStr(t,i.maxLength),i.result=o.getFormattedValue(t,i.blocks,i.blocksLength,i.delimiter,i.delimiters,i.delimiterLazyShow),void e.updateValueState()):(i.result=t,void e.updateValueState()))},updateCreditCardPropsByValue:function(t){var e,i=this.properties,o=n.Util;o.headStr(i.result,4)!==o.headStr(t,4)&&(e=n.CreditCardDetector.getInfo(t,i.creditCardStrictMode),i.blocks=e.blocks,i.blocksLength=i.blocks.length,i.maxLength=o.getMaxLength(i.blocks),i.creditCardType!==e.type&&(i.creditCardType=e.type,i.onCreditCardTypeChanged.call(this,i.creditCardType)))}
7,updateValueState:function(){var t=this,e=n.Util,i=t.properties;if(t.element){var o=t.element.selectionEnd,r=t.element.value,s=i.result;if(o=e.getNextCursorPosition(o,r,s,i.delimiter,i.delimiters),t.isAndroid)return void window.setTimeout((function(){t.element.value=s,e.setSelection(t.element,o,i.document,!1),t.callOnValueChanged()}),1);t.element.value=s,e.setSelection(t.element,o,i.document,!1),t.callOnValueChanged()}},callOnValueChanged:function(){var t=this,e=t.properties;e.onValueChanged.call(t,{target:{value:e.result,rawValue:t.getRawValue()}})},setPhoneRegionCode:function(t){var e=this;e.properties.phoneRegionCode=t,e.initPhoneFormatter(),e.onChange()},setRawValue:function(t){var e=this,i=e.properties;t=null!=t?t.toString():"",i.numeral&&(t=t.replace(".",i.numeralDecimalMark)),i.backspace=!1,e.element.value=t,e.onInput(t)},getRawValue:function(){var t=this.properties,e=n.Util,i=this.element.value;return t.rawValueTrimPrefix&&(i=e.getPrefixStrippedValue(i,t.prefix,t.prefixLength,t.result)),t.numeral?t.numeralFormatter.getRawValue(i):e.stripDelimiters(i,t.delimiter,t.delimiters)},getISOFormatDate:function(){var t=this.properties;return t.date?t.dateFormatter.getISOFormatDate():""},getFormattedValue:function(){return this.element.value},destroy:function(){var t=this;t.element.removeEventListener("input",t.onChangeListener),t.element.removeEventListener("keydown",t.onKeyDownListener),t.element.removeEventListener("focus",t.onFocusListener),t.element.removeEventListener("cut",t.onCutListener),t.element.removeEventListener("copy",t.onCopyListener)},toString:function(){return"[Cleave Object]"}},n.NumeralFormatter=i(1),n.DateFormatter=i(2),n.TimeFormatter=i(3),n.PhoneFormatter=i(4),n.CreditCardDetector=i(5),n.Util=i(6),n.DefaultProperties=i(7),("object"==typeof e&&e?e:window).Cleave=n,t.exports=n}).call(e,function(){return this}())},function(t,e){"use strict";var i=function(t,e,n,o,r,s,a){var l=this;l.numeralDecimalMark=t||".",l.numeralIntegerScale=e>0?e:0,l.numeralDecimalScale=n>=0?n:2,l.numeralThousandsGroupStyle=o||i.groupStyle.thousand,l.numeralPositiveOnly=!!r,l.stripLeadingZeroes=!1!==s,l.delimiter=a||""===a?a:",",l.delimiterRE=a?new RegExp("\\"+a,"g"):""};i.groupStyle={thousand:"thousand",lakh:"lakh",wan:"wan",none:"none"},i.prototype={getRawValue:function(t){return t.replace(this.delimiterRE,"").replace(this.numeralDecimalMark,".")},format:function(t){var e,n,o=this,r="";switch(t=t.replace(/[A-Za-z]/g,"").replace(o.numeralDecimalMark,"M").replace(/[^\dM-]/g,"").replace(/^\-/,"N").replace(/\-/g,"").replace("N",o.numeralPositiveOnly?"":"-").replace("M",o.numeralDecimalMark),o.stripLeadingZeroes&&(t=t.replace(/^(-)?0+(?=\d)/,"$1")),n=t,t.indexOf(o.numeralDecimalMark)>=0&&(n=(e=t.split(o.numeralDecimalMark))[0],r=o.numeralDecimalMark+e[1].slice(0,o.numeralDecimalScale)),o.numeralIntegerScale>0&&(n=n.slice(0,o.numeralIntegerScale+("-"===t.slice(0,1)?1:0))),o.numeralThousandsGroupStyle){case i.groupStyle.lakh:n=n.replace(/(\d)(?=(\d\d)+\d$)/g,"$1"+o.delimiter);break;case i.groupStyle.wan:n=n.replace(/(\d)(?=(\d{4})+$)/g,"$1"+o.delimiter);break;case i.groupStyle.thousand:n=n.replace(/(\d)(?=(\d{3})+$)/g,"$1"+o.delimiter)}return n.toString()+(o.numeralDecimalScale>0?r.toString():"")}},t.exports=i},function(t,e){"use strict";var i=function(t){var e=this;e.date=[],e.blocks=[],e.datePattern=t,e.initBlocks()};i.prototype={initBlocks:function(){var t=this;t.datePattern.forEach((function(e){"Y"===e?t.blocks.push(4):t.blocks.push(2)}))},getISOFormatDate:function(){var t=this,e=t.date;return e[2]?e[2]+"-"+t.addLeadingZero(e[1])+"-"+t.addLeadingZero(e[0]):""},getBlocks:function(){return this.blocks},getValidatedDate:function(t){var e=this,i="";return t=t.replace(/[^\d]/g,""),e.blocks.forEach((function(n,o){if(t.length>0){var r=t.slice(0,n),s=r.slice(0,1),a=t.slice(n);switch(e.datePattern[o]){case"d":"00"===r?r="01":parseInt(s,10)>3?r="0"+s:parseInt(r,10)>31&&(r="31");break;case"m":"00"===r?r="01":parseInt(s,10)>1?r="0"+s:parseInt(r,10)>12&&(r="12")}i+=r,t=a}})),this.getFixedDateString(i)},getFixedDateString:function(t){var e,i,n,o=this,r=o.datePattern,s=[],a=0,l=0,c=0,u=0,h=0,d=0,f=!1;return 4===t.length&&"y"!==r[0].toLowerCase()&&"y"!==r[1].toLowerCase()&&(h=2-(u="d"===r[0]?0:2),e=parseInt(t.slice(u,u+2),10),i=parseInt(t.slice(h,h+2),10),s=this.getFixedDate(e,i,0)),8===t.length&&(r.forEach((function(t,e){switch(t){case"d":a=e;break;case"m":l=e;break;default:c=e}})),d=2*c,u=a<=c?2*a:2*a+2,h=l<=c?2*l:2*l+2,e=parseInt(t.slice(u,u+2),10),i=parseInt(t.slice(h,h+2),10),n=parseInt(t.slice(d,d+4),10),f=4===t.slice(d,d+4).length,s=this.getFixedDate(e,i,n)),o.date=s,0===s.length?t:r.reduce((function(t,e){switch(e){case"d":return t+o.addLeadingZero(s[0]);case"m":return t+o.addLeadingZero(s[1]);default:return t+(f?o.addLeadingZeroForYear(s[2]):"")}}),"")}
7,getFixedDate:function(t,e,i){return t=Math.min(t,31),e=Math.min(e,12),i=parseInt(i||0,10),(e<7&&e%2==0||e>8&&e%2==1)&&(t=Math.min(t,2===e?this.isLeapYear(i)?29:28:30)),[t,e,i]},isLeapYear:function(t){return t%4==0&&t%100!=0||t%400==0},addLeadingZero:function(t){return(t<10?"0":"")+t},addLeadingZeroForYear:function(t){return(t<10?"000":t<100?"00":t<1e3?"0":"")+t}},t.exports=i},function(t,e){"use strict";var i=function(t){var e=this;e.time=[],e.blocks=[],e.timePattern=t,e.initBlocks()};i.prototype={initBlocks:function(){var t=this;t.timePattern.forEach((function(){t.blocks.push(2)}))},getISOFormatTime:function(){var t=this,e=t.time;return e[2]?t.addLeadingZero(e[0])+":"+t.addLeadingZero(e[1])+":"+t.addLeadingZero(e[2]):""},getBlocks:function(){return this.blocks},getValidatedTime:function(t){var e=this,i="";return t=t.replace(/[^\d]/g,""),e.blocks.forEach((function(n,o){if(t.length>0){var r=t.slice(0,n),s=r.slice(0,1),a=t.slice(n);switch(e.timePattern[o]){case"h":parseInt(s,10)>2?r="0"+s:parseInt(r,10)>23&&(r="23");break;case"m":case"s":parseInt(s,10)>5?r="0"+s:parseInt(r,10)>60&&(r="60")}i+=r,t=a}})),this.getFixedTimeString(i)},getFixedTimeString:function(t){var e,i,n,o=this,r=o.timePattern,s=[],a=0,l=0,c=0,u=0,h=0,d=0;return 6===t.length&&(r.forEach((function(t,e){switch(t){case"s":a=2*e;break;case"m":l=2*e;break;case"h":c=2*e}})),d=c,h=l,u=a,e=parseInt(t.slice(u,u+2),10),i=parseInt(t.slice(h,h+2),10),n=parseInt(t.slice(d,d+2),10),s=this.getFixedTime(n,i,e)),4===t.length&&o.timePattern.indexOf("s")<0&&(r.forEach((function(t,e){switch(t){case"m":l=2*e;break;case"h":c=2*e}})),d=c,h=l,e=0,i=parseInt(t.slice(h,h+2),10),n=parseInt(t.slice(d,d+2),10),s=this.getFixedTime(n,i,e)),o.time=s,0===s.length?t:r.reduce((function(t,e){switch(e){case"s":return t+o.addLeadingZero(s[2]);case"m":return t+o.addLeadingZero(s[1]);case"h":return t+o.addLeadingZero(s[0])}}),"")},getFixedTime:function(t,e,i){return i=Math.min(parseInt(i||0,10),60),e=Math.min(e,60),[t=Math.min(t,60),e,i]},addLeadingZero:function(t){return(t<10?"0":"")+t}},t.exports=i},function(t,e){"use strict";var i=function(t,e){var i=this;i.delimiter=e||""===e?e:" ",i.delimiterRE=e?new RegExp("\\"+e,"g"):"",i.formatter=t};i.prototype={setFormatter:function(t){this.formatter=t},format:function(t){var e=this;e.formatter.clear();for(var i,n="",o=!1,r=0,s=(t=(t=(t=t.replace(/[^\d+]/g,"")).replace(/^\+/,"B").replace(/\+/g,"").replace("B","+")).replace(e.delimiterRE,"")).length;r<s;r++)i=e.formatter.inputDigit(t.charAt(r)),/[\s()-]/g.test(i)?(n=i,o=!0):o||(n=i);return(n=n.replace(/[()]/g,"")).replace(/[\s-]/g,e.delimiter)}},t.exports=i},function(t,e){"use strict";var i={blocks:{uatp:[4,5,6],amex:[4,6,5],diners:[4,6,4],discover:[4,4,4,4],mastercard:[4,4,4,4],dankort:[4,4,4,4],instapayment:[4,4,4,4],jcb15:[4,6,5],jcb:[4,4,4,4],maestro:[4,4,4,4],visa:[4,4,4,4],mir:[4,4,4,4],unionPay:[4,4,4,4],general:[4,4,4,4],generalStrict:[4,4,4,7]},re:{uatp:/^(?!1800)1\d{0,14}/,amex:/^3[47]\d{0,13}/,discover:/^(?:6011|65\d{0,2}|64[4-9]\d?)\d{0,12}/,diners:/^3(?:0([0-5]|9)|[689]\d?)\d{0,11}/,mastercard:/^(5[1-5]\d{0,2}|22[2-9]\d{0,1}|2[3-7]\d{0,2})\d{0,12}/,dankort:/^(5019|4175|4571)\d{0,12}/,instapayment:/^63[7-9]\d{0,13}/,jcb15:/^(?:2131|1800)\d{0,11}/,jcb:/^(?:35\d{0,2})\d{0,12}/,maestro:/^(?:5[0678]\d{0,2}|6304|67\d{0,2})\d{0,12}/,mir:/^220[0-4]\d{0,12}/,visa:/^4\d{0,15}/,unionPay:/^62\d{0,14}/},getInfo:function(t,e){var n=i.blocks,o=i.re;for(var r in e=!!e,o)if(o[r].test(t)){return{type:r,blocks:e?n.generalStrict:n[r]}}return{type:"unknown",blocks:e?n.generalStrict:n.general}}};t.exports=i},function(t,e){"use strict";var i={noop:function(){},strip:function(t,e){return t.replace(e,"")},isDelimiter:function(t,e,i){return 0===i.length?t===e:i.some((function(e){if(t===e)return!0}))},getDelimiterREByDelimiter:function(t){return new RegExp(t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"g")},getNextCursorPosition:function(t,e,i,n,o){return e.length===t?i.length:t+this.getPositionOffset(t,e,i,n,o)},getPositionOffset:function(t,e,i,n,o){var r,s,a;return r=this.stripDelimiters(e.slice(0,t),n,o),s=this.stripDelimiters(i.slice(0,t),n,o),0!==(a=r.length-s.length)?a/Math.abs(a):0}
7,stripDelimiters:function(t,e,i){var n=this;if(0===i.length){var o=e?n.getDelimiterREByDelimiter(e):"";return t.replace(o,"")}return i.forEach((function(e){t=t.replace(n.getDelimiterREByDelimiter(e),"")})),t},headStr:function(t,e){return t.slice(0,e)},getMaxLength:function(t){return t.reduce((function(t,e){return t+e}),0)},getPrefixStrippedValue:function(t,e,i,n){if(t.slice(0,i)!==e)if(t.length<n.length)t=t.length>i?n:e;else{var o=this.getFirstDiffIndex(e,t.slice(0,i));t=e+t.slice(o,o+1)+t.slice(i+1)}return t.slice(i)},getFirstDiffIndex:function(t,e){for(var i=0;t.charAt(i)===e.charAt(i);)if(""===t.charAt(i++))return-1;return i},getFormattedValue:function(t,e,i,n,o,r){var s,a="",l=o.length>0;return 0===i?t:(e.forEach((function(e,c){if(t.length>0){var u=t.slice(0,e),h=t.slice(e);s=l?o[r?c-1:c]||s:n,r?(c>0&&(a+=s),a+=u):(a+=u,u.length===e&&c<i-1&&(a+=s)),t=h}})),a)},fixPrefixCursor:function(t,e,i,n){if(t){var o=t.value,r=i||n[0]||" ";if(t.setSelectionRange&&e&&!(e.length+r.length<o.length)){var s=2*o.length;setTimeout((function(){t.setSelectionRange(s,s)}),1)}}},setSelection:function(t,e,i){if(t===this.getActiveElement(i)&&!(t&&t.value.length<=e))if(t.createTextRange){var n=t.createTextRange();n.move("character",e),n.select()}else try{t.setSelectionRange(e,e)}catch(t){console.warn("The input element type does not support selection")}},getActiveElement:function(t){var e=t.activeElement;return e&&e.shadowRoot?this.getActiveElement(e.shadowRoot):e},isAndroid:function(){return navigator&&/android/i.test(navigator.userAgent)},isAndroidBackspaceKeydown:function(t,e){return!!(this.isAndroid()&&t&&e)&&e===t.slice(0,-1)}};t.exports=i},function(t,e){(function(e){"use strict";var i={assign:function(t,i){return i=i||{},(t=t||{}).creditCard=!!i.creditCard,t.creditCardStrictMode=!!i.creditCardStrictMode,t.creditCardType="",t.onCreditCardTypeChanged=i.onCreditCardTypeChanged||function(){},t.phone=!!i.phone,t.phoneRegionCode=i.phoneRegionCode||"AU",t.phoneFormatter={},t.time=!!i.time,t.timePattern=i.timePattern||["h","m","s"],t.timeFormatter={},t.date=!!i.date,t.datePattern=i.datePattern||["d","m","Y"],t.dateFormatter={},t.numeral=!!i.numeral,t.numeralIntegerScale=i.numeralIntegerScale>0?i.numeralIntegerScale:0,t.numeralDecimalScale=i.numeralDecimalScale>=0?i.numeralDecimalScale:2,t.numeralDecimalMark=i.numeralDecimalMark||".",t.numeralThousandsGroupStyle=i.numeralThousandsGroupStyle||"thousand",t.numeralPositiveOnly=!!i.numeralPositiveOnly,t.stripLeadingZeroes=!1!==i.stripLeadingZeroes,t.numericOnly=t.creditCard||t.date||!!i.numericOnly,t.uppercase=!!i.uppercase,t.lowercase=!!i.lowercase,t.prefix=t.creditCard||t.date?"":i.prefix||"",t.noImmediatePrefix=!!i.noImmediatePrefix,t.prefixLength=t.prefix.length,t.rawValueTrimPrefix=!!i.rawValueTrimPrefix,t.copyDelimiter=!!i.copyDelimiter,t.initValue=void 0!==i.initValue&&null!==i.initValue?i.initValue.toString():"",t.delimiter=i.delimiter||""===i.delimiter?i.delimiter:i.date?"/":i.time?":":i.numeral?",":(i.phone," "),t.delimiterLength=t.delimiter.length,t.delimiterLazyShow=!!i.delimiterLazyShow,t.delimiters=i.delimiters||[],t.blocks=i.blocks||[],t.blocksLength=t.blocks.length,t.root="object"==typeof e&&e?e:window,t.document=i.document||t.root.document,t.maxLength=0,t.backspace=!1,t.result="",t.onValueChanged=i.onValueChanged||function(){},t}};t.exports=i}).call(e,function(){return this}())}])}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.