PageSourceSearch

https://www.happiness1st.com/assets/www.happiness1st.com/wp-conten…/js/frontend.min-6b8671264d.js

js happiness1st.com collected 2026-10-02 21:26:22 UTC 133,812 bytes, 36 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opener = _____WB$wombat$assign$function_____("opener");
10function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++)arr2[i]=arr[i];return arr2}return Array.from(arr)}function c37TrackingPageOpen(pageID,sessionID,pageType){console.log("sending open request"),jQuery.post(ajaxurl,{pageID:pageID,pageType:pageType,eventName:"open",sessionID:sessionID,receivedElement:"whole_page",action:"wplx_save_hit",url:window.location.href},function(response){console.log(response)})}function c37TrackingPopupOpen(pageID,sessionID,pageType){console.log("sending open popup request"),jQuery.post(ajaxurl,{pageID:pageID,pageType:pageType,eventName:"open",sessionID:sessionID,receivedElement:"whole_popup",action:"wplx_save_hit",url:window.location.href},function(response){console.log(response)})}function c37TrackingPopupClose(pageID,sessionID){console.log("sending close popup request"),jQuery.post(ajaxurl,{pageID:pageID,pageType:"popup",eventName:"close",sessionID:sessionID,receivedElement:"whole_popup",action:"wplx_save_hit",url:window.location.href},function(response){console.log(response)})}function c37TrackingPageClose(pageID,sessionID,pageType){jQuery.post(ajaxurl,{pageID:pageID,pageType:pageType,eventName:"close",sessionID:sessionID,receivedElement:"whole_page",action:"wplx_save_hit",url:window.location.href},function(response){console.log(response)})}function c37SendClick(element,elementName){"undefined"==typeof elementName&&(elementName=element.attr("c37-element-name"));var sessionID=getSessionID(element),parent=getParent(element);return console.log("parent is",parent),parent===!1||parent=={}?void console.log("invalid parent object"):void jQuery.post(ajaxurl,{pageID:parent.parentID,pageType:parent.parentType,eventName:"click",sessionID:sessionID,receivedElement:elementName,url:window.location.href,action:"wplx_save_hit"},function(response){console.log("response")})}function getSessionID(element){if("undefined"!=typeof trackingObject){var parentID="";return element.closest("[data-popup-option-id]").length>0?parentID=element.closest("[data-popup-option-id]").attr("data-popup-option-id"):element.closest(".c37-lp-popup-outer").length>0?parentID=element.closest("[data-widget-option-id]").attr("data-widget-option-id"):element.closest("[data-page-id]").length>0&&(parentID=element.closest("[data-page-id]").attr("data-page-id")),console.log("parent ID is ",parentID),"undefined"!=typeof trackingObject[parentID]&&trackingObject[parentID]}return!1}function c37GenerateSessionID(){return"session-"+Math.round(462020*Math.random())+"-"+Math.round(512020*Math.random())+"-"+Math.round(92020*Math.random())}function getParent(element){if(console.log("finding parent"),console.log("tracking object is: ",typeof trackingObject),"undefined"!=typeof trackingObject){var parentType="",parentID="";return element.closest("[data-popup-option-id]").length>0?(console.log("closest element is popup"),parentType="popup",parentID=element.closest("[data-popup-option-id]").attr("data-popup-option-id")):element.closest(".c37-lp-popup-outer").length>0?(console.log("closest element is widget"),parentType="widget",parentID=element.closest("[data-widget-option-id]").attr("data-widget-option-id")):element.closest("[data-page-id]").length>0?(parentType="page",parentID=element.closest("[data-page-id]").attr("data-page-id")):console.log("closest element is nobody"),console.log("parent ID is ",parentID),"undefined"!=typeof trackingObject[parentID]&&{parentType:parentType,parentID:parentID}}return{}}
10!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.Bounce=e()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){var Component,EasingClasses,Matrix4D;Matrix4D=_dereq_("../math/matrix4d"),EasingClasses={bounce:_dereq_("../easing/bounce"),sway:_dereq_("../easing/sway"),hardbounce:_dereq_("../easing/hardbounce"),hardsway:_dereq_("../easing/hardsway")},Component=function(){function Component(options){options||(options={}),null!=options.easing&&(this.easing=options.easing),null!=options.duration&&(this.duration=options.duration),null!=options.delay&&(this.delay=options.delay),null!=options.from&&(this.from=options.from),null!=options.to&&(this.to=options.to),this.easingObject=new EasingClasses[this.easing](options)}return Component.prototype.easing="bounce",Component.prototype.duration=1e3,Component.prototype.delay=0,Component.prototype.from=null,Component.prototype.to=null,Component.prototype.calculateEase=function(ratio){return this.easingObject.calculate(ratio)},Component.prototype.getMatrix=function(){return(new Matrix4D).identity()},Component.prototype.getEasedMatrix=function(ratio){return this.getMatrix()},Component.prototype.serialize=function(){var key,serialized,value,_ref;serialized={type:this.constructor.name.toLowerCase(),easing:this.easing,duration:this.duration,delay:this.delay,from:this.from,to:this.to},_ref=this.easingObject.serialize();for(key in _ref)value=_ref[key],serialized[key]=value;return serialized},Component}(),module.exports=Component},{"../easing/bounce":6,"../easing/hardbounce":7,"../easing/hardsway":8,"../easing/sway":10,"../math/matrix4d":13}],2:[function(_dereq_,module,exports){var Component,Matrix4D,Rotate,Vector2D,__hasProp={}.hasOwnProperty,__extends=function(child,parent){function ctor(){this.constructor=child}for(var key in parent)__hasProp.call(parent,key)&&(child[key]=parent[key]);return ctor.prototype=parent.prototype,child.prototype=new ctor,child.__super__=parent.prototype,child};Matrix4D=_dereq_("../math/matrix4d"),Vector2D=_dereq_("../math/vector2d"),Component=_dereq_("./index"),Rotate=function(_super){function Rotate(){Rotate.__super__.constructor.apply(this,arguments),this.diff=this.to-this.from}return __extends(Rotate,_super),Rotate.prototype.from=0,Rotate.prototype.to=90,Rotate.prototype.getMatrix=function(degrees){var c,radians,s;return radians=degrees/180*Math.PI,c=Math.cos(radians),s=Math.sin(radians),new Matrix4D([c,-s,0,0,s,c,0,0,0,0,1,0,0,0,0,1])},Rotate.prototype.getEasedMatrix=function(ratio){var easedAngle,easedRatio;return easedRatio=this.calculateEase(ratio),easedAngle=this.from+this.diff*easedRatio,this.getMatrix(easedAngle)},Rotate}(Component),module.exports=Rotate},{"../math/matrix4d":13,"../math/vector2d":14,"./index":1}],3:[function(_dereq_,module,exports){var Component,Matrix4D,Scale,Vector2D,__hasProp={}.hasOwnProperty,__extends=function(child,parent){function ctor(){this.constructor=child}for(var key in parent)__hasProp.call(parent,key)&&(child[key]=parent[key]);return ctor.prototype=parent.prototype,child.prototype=new ctor,child.__super__=parent.prototype,child};Matrix4D=_dereq_("../math/matrix4d"),Vector2D=_dereq_("../math/vector2d"),Component=_dereq_("./index"),Scale=function(_super){function Scale(){Scale.__super__.constructor.apply(this,arguments),this.fromVector=new Vector2D(this.from.x,this.from.y),this.toVector=new Vector2D(this.to.x,this.to.y),this.diff=this.toVector.clone().subtract(this.fromVector)}return __extends(Scale,_super),Scale.prototype.from={x:.5,y:.5},Scale.prototype.to={x:1,y:1},Scale.prototype.getMatrix=function(x,y){var z;return z=1,new Matrix4D([x,0,0,0,0,y,0,0,0,0,z,0,0,0,0,1])}
10,Scale.prototype.getEasedMatrix=function(ratio){var easedRatio,easedVector;return easedRatio=this.calculateEase(ratio),easedVector=this.fromVector.clone().add(this.diff.clone().multiply(easedRatio)),this.getMatrix(easedVector.x,easedVector.y)},Scale}(Component),module.exports=Scale},{"../math/matrix4d":13,"../math/vector2d":14,"./index":1}],4:[function(_dereq_,module,exports){var Component,Matrix4D,Skew,Vector2D,__hasProp={}.hasOwnProperty,__extends=function(child,parent){function ctor(){this.constructor=child}for(var key in parent)__hasProp.call(parent,key)&&(child[key]=parent[key]);return ctor.prototype=parent.prototype,child.prototype=new ctor,child.__super__=parent.prototype,child};Matrix4D=_dereq_("../math/matrix4d"),Vector2D=_dereq_("../math/vector2d"),Component=_dereq_("./index"),Skew=function(_super){function Skew(){Skew.__super__.constructor.apply(this,arguments),this.fromVector=new Vector2D(this.from.x,this.from.y),this.toVector=new Vector2D(this.to.x,this.to.y),this.diff=this.toVector.clone().subtract(this.fromVector)}return __extends(Skew,_super),Skew.prototype.from={x:0,y:0},Skew.prototype.to={x:20,y:0}
10,Skew.prototype.getMatrix=function(degreesX,degreesY){var radiansX,radiansY,tx,ty;return radiansX=degreesX/180*Math.PI,radiansY=degreesY/180*Math.PI,tx=Math.tan(radiansX),ty=Math.tan(radiansY),new Matrix4D([1,tx,0,0,ty,1,0,0,0,0,1,0,0,0,0,1])},Skew.prototype.getEasedMatrix=function(ratio){var easedRatio,easedVector;return easedRatio=this.calculateEase(ratio),easedVector=this.fromVector.clone().add(this.diff.clone().multiply(easedRatio)),this.getMatrix(easedVector.x,easedVector.y)},Skew}(Component),module.exports=Skew},{"../math/matrix4d":13,"../math/vector2d":14,"./index":1}],5:[function(_dereq_,module,exports){var Component,Matrix4D,Translate,Vector2D,__hasProp={}.hasOwnProperty,__extends=function(child,parent){function ctor(){this.constructor=child}for(var key in parent)__hasProp.call(parent,key)&&(child[key]=parent[key]);return ctor.prototype=parent.prototype,child.prototype=new ctor,child.__super__=parent.prototype,child};Matrix4D=_dereq_("../math/matrix4d"),Vector2D=_dereq_("../math/vector2d"),Component=_dereq_("./index"),Translate=function(_super){function Translate(){Translate.__super__.constructor.apply(this,arguments),this.fromVector=new Vector2D(this.from.x,this.from.y),this.toVector=new Vector2D(this.to.x,this.to.y),this.diff=this.toVector.clone().subtract(this.fromVector)}return __extends(Translate,_super),Translate.prototype.from={x:0,y:0},Translate.prototype.to={x:0,y:0},Translate.prototype.getMatrix=function(x,y){var z;return z=0,new Matrix4D([1,0,0,x,0,1,0,y,0,0,1,z,0,0,0,1])},Translate.prototype.getEasedMatrix=function(ratio){var easedRatio,easedVector;return easedRatio=this.calculateEase(ratio),easedVector=this.fromVector.clone().add(this.diff.clone().multiply(easedRatio)),this.getMatrix(easedVector.x,easedVector.y)},Translate}(Component),module.exports=Translate},{"../math/matrix4d":13,"../math/vector2d":14,"./index":1}],6:[function(_dereq_,module,exports){var BounceEasing,Easing,__hasProp={}.hasOwnProperty,__extends=function(child,parent){function ctor(){this.constructor=child}for(var key in parent)__hasProp.call(parent,key)&&(child[key]=parent[key]);return ctor.prototype=parent.prototype,child.prototype=new ctor,child.__super__=parent.prototype,child};Easing=_dereq_("./index"),BounceEasing=function(_super){function BounceEasing(options){var threshold;null==options&&(options={}),BounceEasing.__super__.constructor.apply(this,arguments),null!=options.stiffness&&(this.stiffness=options.stiffness),null!=options.bounces&&(this.bounces=options.bounces),this.alpha=this.stiffness/100,threshold=.005/Math.pow(10,this.stiffness),this.limit=Math.floor(Math.log(threshold)/-this.alpha),this.omega=this.calculateOmega(this.bounces,this.limit)}return __extends(BounceEasing,_super),BounceEasing.prototype.bounces=4,BounceEasing.prototype.stiffness=3,BounceEasing.prototype.calculate=function(ratio){var t;return ratio>=1?1:(t=ratio*this.limit,1-this.exponent(t)*this.oscillation(t))},BounceEasing.prototype.calculateOmega=function(bounces,limit){return(this.bounces+.5)*Math.PI/this.limit},BounceEasing.prototype.exponent=function(t){return Math.pow(Math.E,-this.alpha*t)},BounceEasing.prototype.oscillation=function(t){return Math.cos(this.omega*t)},BounceEasing.prototype.serialize=function(){return{stiffness:this.stiffness,bounces:this.bounces}},BounceEasing}(Easing),module.exports=BounceEasing},{"./index":9}],7:[function(_dereq_,module,exports){var BounceEasing,HardBounceEasing,__hasProp={}.hasOwnProperty,__extends=function(child,parent){function ctor(){this.constructor=child}for(var key in parent)__hasProp.call(parent,key)&&(child[key]=parent[key]);return ctor.prototype=parent.prototype,child.prototype=new ctor,child.__super__=parent.prototype,child};BounceEasing=_dereq_("./bounce"),HardBounceEasing=function(_super){function HardBounceEasing(){return HardBounceEasing.__super__.constructor.apply(this,arguments)}return __extends(HardBounceEasing,_super),HardBounceEasing.prototype.oscillation=function(t){return Math.abs(Math.cos(this.omega*t))},HardBounceEasing}(BounceEasing),module.exports=HardBounceEasing},{"./bounce":6}],8:[function(_dereq_,module,exports){var HardSwayEasing,SwayEasing,__hasProp={}.hasOwnProperty,__extends=function(child,parent){function ctor(){this.constructor=child}for(var key in parent)__hasProp.call(parent,key)&&(child[key]=parent[key]);return ctor.prototype=parent.prototype,child.prototype=new ctor,child.__super__=parent.prototype,child};SwayEasing=_dereq_("./sway"),HardSwayEasing=function(_super){function HardSwayEasing(){return HardSwayEasing.__super__.constructor.apply(this,arguments)}return __extends(HardSwayEasing,_super),HardSwayEasing.prototype.oscillation=function(t){return Math.abs(Math.sin(this.omega*t))},HardSwayEasing}(SwayEasing),module.exports=HardSwayEasing},{"./sway":10}],9:[function(_dereq_,module,exports){var Easing,MathHelpers;MathHelpers=_dereq_("../math/helpers"),Easing=function(){function Easing(){}
10return Easing.prototype.calculate=function(ratio){return ratio},Easing.prototype.serialize=function(){return{}},Easing.prototype.findOptimalKeyPoints=function(threshold,resolution){var area,halfway,i,keyPoint,keyPoints,loops,result,values;for(null==threshold&&(threshold=1),null==resolution&&(resolution=1e3),keyPoints=[0],values=function(){var _i,_results;for(_results=[],i=_i=0;0<=resolution?_i<resolution:_i>resolution;i=0<=resolution?++_i:--_i)_results.push(this.calculate(i/resolution));return _results}.call(this),keyPoints=keyPoints.concat(MathHelpers.findTurningPoints(values)),keyPoints.push(resolution-1),i=0,loops=1e3;loops--&&i!==keyPoints.length-1;)area=MathHelpers.areaBetweenLineAndCurve(values,keyPoints[i],keyPoints[i+1]),area<=threshold?i++:(halfway=Math.round(keyPoints[i]+(keyPoints[i+1]-keyPoints[i])/2),keyPoints.splice(i+1,0,halfway));return 0===loops?[]:result=function(){var _i,_len,_results;for(_results=[],_i=0,_len=keyPoints.length;_i<_len;_i++)keyPoint=keyPoints[_i],_results.push(keyPoint/(resolution-1));return _results}()},Easing}(),module.exports=Easing},{"../math/helpers":12}],10:[function(_dereq_,module,exports){var BounceEasing,SwayEasing,__hasProp={}.hasOwnProperty,__extends=function(child,parent){function ctor(){this.constructor=child}for(var key in parent)__hasProp.call(parent,key)&&(child[key]=parent[key]);return ctor.prototype=parent.prototype,child.prototype=new ctor,child.__super__=parent.prototype,child};BounceEasing=_dereq_("./bounce"),SwayEasing=function(_super){function SwayEasing(){return SwayEasing.__super__.constructor.apply(this,arguments)}return __extends(SwayEasing,_super),SwayEasing.prototype.calculate=function(ratio){var t;return ratio>=1?0:(t=ratio*this.limit,this.exponent(t)*this.oscillation(t))},SwayEasing.prototype.calculateOmega=function(bounces,limit){return this.bounces*Math.PI/this.limit},SwayEasing.prototype.oscillation=function(t){return Math.sin(this.omega*t)},SwayEasing}(BounceEasing),module.exports=SwayEasing},{"./bounce":6}],11:[function(_dereq_,module,exports){var Bounce,ComponentClasses,Matrix4D;Matrix4D=_dereq_("./math/matrix4d"),ComponentClasses={scale:_dereq_("./components/scale"),rotate:_dereq_("./components/rotate"),translate:_dereq_("./components/translate"),skew:_dereq_("./components/skew")},Bounce=function(){function Bounce(){this.components=[]}return Bounce.FPS=30,Bounce.counter=1,Bounce.prototype.components=null,Bounce.prototype.duration=0,Bounce.prototype.scale=function(options){return this.addComponent(new ComponentClasses.scale(options))},Bounce.prototype.rotate=function(options){return this.addComponent(new ComponentClasses.rotate(options))},Bounce.prototype.translate=function(options){return this.addComponent(new ComponentClasses.translate(options))},Bounce.prototype.skew=function(options){return this.addComponent(new ComponentClasses.skew(options))},Bounce.prototype.addComponent=function(component){return this.components.push(component),this.updateDuration(),this},Bounce.prototype.serialize=function(){var component,serialized,_i,_len,_ref;for(serialized=[],_ref=this.components,_i=0,_len=_ref.length;_i<_len;_i++)component=_ref[_i],serialized.push(component.serialize());return serialized},Bounce.prototype.deserialize=function(serialized){var options,_i,_len;for(_i=0,_len=serialized.length;_i<_len;_i++)options=serialized[_i],this.addComponent(new ComponentClasses[options.type](options));return this},Bounce.prototype.updateDuration=function(){return this.duration=this.components.map(function(component){return component.duration+component.delay}).reduce(function(a,b){return Math.max(a,b)})},Bounce.prototype.define=function(name){return this.name=name||Bounce.generateName(),this.styleElement=document.createElement("style"),this.styleElement.innerHTML=this.getKeyframeCSS({name:this.name,prefix:!0}),document.body.appendChild(this.styleElement),this},Bounce.prototype.applyTo=function(elements,options){var css,deferred,element,prefix,prefixes,_i,_j,_len,_len1,_ref;for(null==options&&(options={}),this.define(),elements.length||(elements=[elements]),prefixes=this.getPrefixes(),deferred=null,window.jQuery&&window.jQuery.Deferred&&(deferred=new window.jQuery.Deferred),_i=0,_len=elements.length;_i<_len;_i++)for(element=elements[_i],_ref=prefixes.animation,_j=0,_len1=_ref.length;_j<_len1;_j++)prefix=_ref[_j],css=[this.name,""+this.duration+"ms","linear","both"],options.loop&&css.push("infinite"),element.style[""+prefix+"animation"]=css.join(" ");return options.loop||setTimeout(function(_this){return function(){if(options.remove&&_this.remove(),"function"==typeof options.onComplete&&options.onComplete(),deferred)return deferred.resolve()}}(this),this.duration),deferred},Bounce.prototype.remove=function(){var _ref;if(this.styleElement)return this.styleElement.remove?this.styleElement.remove():null!=(_ref=this.styleElement.parentNode)?_ref.removeChild(this.styleElement):void 0},Bounce.prototype.getPrefixes=function(force){var prefixes,style;return prefixes={transform:[""],animation:[""]},style=document.createElement("dummy").style,(force||!("transform"in style)&&"webkitTransform"in style)&&(prefixes.transform=["-webkit-",""]),(force||!("animation"in style)&&"webkitAnimation"in style)&&(prefixes.animation=["-webkit-",""]),prefixes},Bounce.prototype.getKeyframeCSS=function(options){var animations,key,keyframeList,keyframes,matrix,prefix,prefixes,transformString,transforms,_i,_j,_k,_len,_len1,_len2,_ref,_ref1,_ref2;for(null==options&&(options={}),this.name=options.name||Bounce.generateName(),prefixes={transform:[""],animation:[""]},(options.prefix||options.forcePrefix)&&(prefixes=this.getPrefixes(options.forcePrefix)),keyframeList=[],keyframes=this.getKeyframes(options),_ref=this.keys,_i=0,_len=_ref.length;_i<_len;_i++){for(key=_ref[_i],matrix=keyframes[key],transformString="matrix3d"+matrix,transforms=[],_ref1=prefixes.transform,_j=0,_len1=_ref1.length;_j<_len1;_j++)prefix=_ref1[_j],transforms.push(""+prefix+"transform: "+transformString+";");keyframeList.push(""+Math.round(100*key*100)/100+"% { "+transforms.join(" ")+" }")}for(animations=[],_ref2=prefixes.animation,_k=0,_len2=_ref2.length;_k<_len2;
10_k++)prefix=_ref2[_k],animations.push("@"+prefix+"keyframes "+this.name+" { \n  "+keyframeList.join("\n  ")+" \n}");return animations.join("\n\n")},Bounce.prototype.getKeyframes=function(options){var component,componentKeys,currentTime,frames,i,key,keyframes,keys,matrix,ratio,_i,_j,_k,_l,_len,_len1,_len2,_ref,_ref1;if(null==options&&(options={}),keys=[0,1],options.optimized)for(_ref=this.components,_i=0,_len=_ref.length;_i<_len;_i++)component=_ref[_i],componentKeys=component.easingObject.findOptimalKeyPoints().map(function(_this){return function(key){return key*component.duration/_this.duration+component.delay/_this.duration}}(this)),component.delay&&componentKeys.push(component.delay/this.duration-.001),keys=keys.concat(componentKeys);else for(frames=Math.round(this.duration/1e3*Bounce.FPS),i=_j=0;0<=frames?_j<=frames:_j>=frames;i=0<=frames?++_j:--_j)keys.push(i/frames);for(keys=keys.sort(function(a,b){return a-b}),this.keys=[],keyframes={},_k=0,_len1=keys.length;_k<_len1;_k++)if(key=keys[_k],!keyframes[key]){for(matrix=(new Matrix4D).identity(),_ref1=this.components,_l=0,_len2=_ref1.length;_l<_len2;_l++)component=_ref1[_l],currentTime=key*this.duration,component.delay-currentTime>1e-8||(ratio=(key-component.delay/this.duration)/(component.duration/this.duration),matrix.multiply(component.getEasedMatrix(ratio)));this.keys.push(key),keyframes[key]=matrix.transpose().toFixed(3)}return keyframes},Bounce.generateName=function(){return"animation-"+Bounce.counter++},Bounce.isSupported=function(){var property,propertyIsSupported,propertyList,propertyLists,style,_i,_j,_len,_len1;for(style=document.createElement("dummy").style,propertyLists=[["transform","webkitTransform"],["animation","webkitAnimation"]],_i=0,_len=propertyLists.length;_i<_len;_i++){for(propertyList=propertyLists[_i],propertyIsSupported=!1,_j=0,_len1=propertyList.length;_j<_len1;_j++)property=propertyList[_j],propertyIsSupported||(propertyIsSupported=property in style);if(!propertyIsSupported)return!1}return!0},Bounce}(),module.exports=Bounce},{"./components/rotate":2,"./components/scale":3,"./components/skew":4,"./components/translate":5,"./math/matrix4d":13}],12:[function(_dereq_,module,exports){var MathHelpers;MathHelpers=function(){function MathHelpers(){}return MathHelpers.prototype.sign=function(value){return value<0?-1:1},MathHelpers.prototype.findTurningPoints=function(values){var i,signA,signB,turningPoints,_i,_ref;for(turningPoints=[],i=_i=1,_ref=values.length-1;1<=_ref?_i<_ref:_i>_ref;i=1<=_ref?++_i:--_i)signA=this.sign(values[i]-values[i-1]),signB=this.sign(values[i+1]-values[i]),signA!==signB&&turningPoints.push(i);return turningPoints},MathHelpers.prototype.areaBetweenLineAndCurve=function(values,start,end){var area,curveValue,i,length,lineValue,yEnd,yStart,_i;for(length=end-start,yStart=values[start],yEnd=values[end],area=0,i=_i=0;0<=length?_i<=length:_i>=length;i=0<=length?++_i:--_i)curveValue=values[start+i],lineValue=yStart+i/length*(yEnd-yStart),area+=Math.abs(lineValue-curveValue);return area},MathHelpers}(),module.exports=new MathHelpers},{}],13:[function(_dereq_,module,exports){var Matrix4D;Matrix4D=function(){function Matrix4D(array){this._array=(null!=array?array.slice(0):void 0)||[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}return Matrix4D.prototype._array=null,Matrix4D.prototype.equals=function(matrix){return this.toString()===matrix.toString()},Matrix4D.prototype.identity=function(){return this.setArray([1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),this},Matrix4D.prototype.multiply=function(matrix){var i,j,k,res,value,_i,_j,_k;for(res=new Matrix4D,i=_i=0;_i<4;i=++_i)for(j=_j=0;_j<4;j=++_j)for(k=_k=0;_k<4;k=++_k)value=res.get(i,j)+this.get(i,k)*matrix.get(k,j),res.set(i,j,value);return this.copy(res)},Matrix4D.prototype.transpose=function(){var a;return a=this.getArray(),this.setArray([a[0],a[4],a[8],a[12],a[1],a[5],a[9],a[13],a[2],a[6],a[10],a[14],a[3],a[7],a[11],a[15]]),this},Matrix4D.prototype.get=function(row,column){return this.getArray()[4*row+column]},Matrix4D.prototype.set=function(row,column,value){return this._array[4*row+column]=value},Matrix4D.prototype.copy=function(matrix){return this._array=matrix.getArray(),this},Matrix4D.prototype.clone=function(){return new Matrix4D(this.getArray())},Matrix4D.prototype.getArray=function(){return this._array.slice(0)},Matrix4D.prototype.setArray=function(array){return this._array=array,this},Matrix4D.prototype.toString=function(){return"("+this.getArray().join(", ")+")"},Matrix4D.prototype.toFixed=function(n){var value;return this._array=function(){var _i,_len,_ref,_results;for(_ref=this._array,_results=[],_i=0,_len=_ref.length;_i<_len;_i++)value=_ref[_i],_results.push(parseFloat(value.toFixed(n)));return _results}.call(this),this},Matrix4D}(),module.exports=Matrix4D},{}],14:[function(_dereq_,module,exports){var Vector2D;Vector2D=function(){function Vector2D(x,y){this.x=null!=x?x:0,this.y=null!=y?y:0}return Vector2D.prototype.x=0,Vector2D.prototype.y=0,Vector2D.prototype.add=function(vector){return Vector2D.isVector2D(vector)?(this.x+=vector.x,this.y+=vector.y,this):this._addScalar(vector)},Vector2D.prototype._addScalar=function(n){return this.x+=n,this.y+=n,this},Vector2D.prototype.subtract=function(vector){return Vector2D.isVector2D(vector)?(this.x-=vector.x,this.y-=vector.y,this):this._subtractScalar(vector)},Vector2D.prototype._subtractScalar=function(n){return this._addScalar(-n)},Vector2D.prototype.multiply=function(vector){return Vector2D.isVector2D(vector)?(this.x*=vector.x,this.y*=vector.y,this):this._multiplyScalar(vector)},Vector2D.prototype._multiplyScalar=function(n){return this.x*=n,this.y*=n,this},Vector2D.prototype.divide=function(vector){return Vector2D.isVector2D(vector)?(this.x/=vector.x,this.y/=vector.y,this):this._divideScalar(vector)},Vector2D.prototype._divideScalar=function(n){return this._multiplyScalar(1/n)},Vector2D.prototype.clone=function(){return new Vector2D(this.x,this.y)},Vector2D.prototype.copy=function(vector){return this.x=vector.x,this.y=vector.y,this},Vector2D.prototype.equals=function(vector){return vector.x===this.x&&vector.y===this.y},Vector2D.prototype.toString=function(){return"("+this.x+", "+this.y+")"},Vector2D.prototype.toFixed=function(n){return this.x=parseFloat(this.x.toFixed(n)),this.y=parseFloat(this.y.toFixed(n)),this},Vector2D.prototype.toArray=function(){return[this.x,this.y]},Vector2D.isVector2D=function(item){return item instanceof Vector2D},Vector2D}(),module.exports=Vector2D},{}]},{},[11])(11)}),!function(e,n,t){function r(e,n){return typeof e===n}function o(){var e,n,t,o,s,i,a;for(var l in b)if(b.hasOwnProperty(l)){if(e=[],n=b[l],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(t=0;t<n.options.aliases.length;t++)e.push(n.options.aliases[t].toLowerCase());for(o=r(n.fn,"function")?n.fn():n.fn,s=0;s<e.length;s++)i=e[s],a=i.split("."),1===a.length?Modernizr[a[0]]=o:(!Modernizr[a[0]]||Modernizr[a[0]]instanceof Boolean||(Modernizr[a[0]]=new Boolean(Modernizr[a[0]])),Modernizr[a[0]][a[1]]=o),C.push((o?"":"no-")+a.join("-"))}}function s(e){var n=x.className,t=Modernizr._config.classPrefix||"";if(w&&(n=n.baseVal),Modernizr._config.enableJSClass){var r=new RegExp("(^|\\s)"+t+"no-js(\\s|$)");n=n.replace(r,"$1"+t+"js$2")}Modernizr._config.enableClasses&&(n+=" "+t+e.join(" "+t),w?x.className.baseVal=n:x.className=n)}function i(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):w?n.createElementNS.call(n,"https://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}function a(e,n){return!!~(""+e).indexOf(n)}function l(e){return e.replace(/([a-z])-([a-z])/g,function(e,n,t){return n+t.toUpperCase()}).replace(/^-/,"")}function u(e,n){return function(){return e.apply(n,arguments)}}function f(e,n,t){var o;for(var s in e)if(e[s]in n)return t===!1?e[s]:(o=n[e[s]],r(o,"function")?u(o,t||n):o);return!1}function c(e){return e.replace(/([A-Z])/g,function(e,n){return"-"+n.toLowerCase()}).replace(/^ms-/,"-ms-")}function d(n,t,r){var o;if("getComputedStyle"in e){o=getComputedStyle.call(e,n,t);var s=e.console;if(null!==o)r&&(o=o.getPropertyValue(r));else if(s){var i=s.error?"error":"log";s[i].call(s,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else o=!t&&n.currentStyle&&n.currentStyle[r];return o}function p(){var e=n.body;return e||(e=i(w?"svg":"body"),e.fake=!0),e}function m(e,t,r,o){var s,a,l,u,f="modernizr",c=i("div"),d=p();if(parseInt(r,10))for(;r--;)l=i("div"),l.id=o?o[r]:f+(r+1),c.appendChild(l);return s=i("style"),s.type="text/css",s.id="s"+f,(d.fake?d:c).appendChild(s),d.appendChild(c),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(n.createTextNode(e)),c.id=f,d.fake&&(d.style.background="",d.style.overflow="hidden",u=x.style.overflow,x.style.overflow="hidden",x.appendChild(d)),a=t(c,e),d.fake?(d.parentNode.removeChild(d),x.style.overflow=u,x.offsetHeight):c.parentNode.removeChild(c),!!a}function g(n,r){var o=n.length;if("CSS"in e&&"supports"in e.CSS){for(;o--;)if(e.CSS.supports(c(n[o]),r))return!0;return!1}if("CSSSupportsRule"in e){for(var s=[];o--;)s.push("("+c(n[o])+":"+r+")");return s=s.join(" or "),m("@supports ("+s+") { #modernizr { position: absolute; } }",function(e){return"absolute"==d(e,null,"position")})}return t}function v(e,n,o,s){function u(){c&&(delete T.style,delete T.modElem)}if(s=!r(s,"undefined")&&s,!r(o,"undefined")){var f=g(e,o);if(!r(f,"undefined"))return f}for(var c,d,p,m,v,y=["modernizr","tspan","samp"];!T.style&&y.length;)c=!0,T.modElem=i(y.shift()),T.style=T.modElem.style;for(p=e.length,d=0;p>d;d++)if(m=e[d],v=T.style[m],a(m,"-")&&(m=l(m)),T.style[m]!==t){if(s||r(o,"undefined"))return u(),"pfx"!=n||m;try{T.style[m]=o}catch(h){}if(T.style[m]!=v)return u(),"pfx"!=n||m}return u(),!1}function y(e,n,t,o,s){var i=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+z.join(i+" ")+i).split(" ");return r(n,"string")||r(n,"undefined")?v(a,n,o,s):(a=(e+" "+P.join(i+" ")+i).split(" "),f(a,n,t))}function h(e,n,r){return y(e,t,t,n,r)}var C=[],b=[],S={_version:"3.4.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var t=this;setTimeout(function(){n(t[e])},0)},addTest:function(e,n,t){b.push({name:e,fn:n,options:t})},addAsyncTest:function(e){b.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=S,Modernizr=new Modernizr;var x=n.documentElement,w="svg"===x.nodeName.toLowerCase();Modernizr.addTest("bgpositionshorthand",function(){var e=i("a"),n=e.style,t="right 10px bottom 10px";return n.cssText="background-position: "+t+";",n.backgroundPosition===t});var _="Moz O ms Webkit",z=S._config.usePrefixes?_.split(" "):[];S._cssomPrefixes=z;var P=S._config.usePrefixes?_.toLowerCase().split(" "):[];S._domPrefixes=P;var k={elem:i("modernizr")};Modernizr._q.push(function(){delete k.elem});var T={style:k.elem.style};Modernizr._q.unshift(function(){delete T.style}),S.testAllProps=y,S.testAllProps=h,Modernizr.addTest("bgpositionxy",function(){return h("backgroundPositionX","3px",!0)&&h("backgroundPositionY","5px",!0)}),Modernizr.addTest("backgroundsize",h("backgroundSize","100%",!0)),Modernizr.addTest("bgsizecover",h("backgroundSize","cover")),o(),s(C),delete S.addTest,delete S.addAsyncTest;for(var E=0;E<Modernizr._q.length;E++)Modernizr._q[E]();e.Modernizr=Modernizr}(window,document);var _slice=Array.prototype.slice;!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?module.exports=factory(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],factory):global.parsley=factory(global.jQuery)}(this,function($){"use strict";function adapt(fn,context){return fn.parsleyAdaptedCallback||(fn.parsleyAdaptedCallback=function(){var args=Array.prototype.slice.call(arguments,0);args.unshift(this),fn.apply(context||o,args)}),fn.parsleyAdaptedCallback}function eventName(name){return 0===name.lastIndexOf(eventPrefix,0)?name.substr(eventPrefix.length):name}function InputEvent(){var _this13=this,globals=window||global;$.extend(this,{isNativeEvent:function(evt){return evt.originalEvent&&evt.originalEvent.isTrusted!==!1;
11},fakeInputEvent:function(evt){_this13.isNativeEvent(evt)&&$(evt.target).trigger("input")},misbehaves:function(evt){_this13.isNativeEvent(evt)&&(_this13.behavesOk(evt),$(document).on("change.inputevent",evt.data.selector,_this13.fakeInputEvent),_this13.fakeInputEvent(evt))},behavesOk:function(evt){_this13.isNativeEvent(evt)&&$(document).off("input.inputevent",evt.data.selector,_this13.behavesOk).off("change.inputevent",evt.data.selector,_this13.misbehaves)},install:function(){if(!globals.inputEventPatched){globals.inputEventPatched="0.0.3";for(var _arr=["select",'input[type="checkbox"]','input[type="radio"]','input[type="file"]'],_i=0;_i<_arr.length;_i++){var selector=_arr[_i];$(document).on("input.inputevent",selector,{selector:selector},_this13.behavesOk).on("change.inputevent",selector,{selector:selector},_this13.misbehaves)}}},uninstall:function(){delete globals.inputEventPatched,$(document).off(".inputevent")}})}var globalID=1,pastWarnings={},ParsleyUtils__ParsleyUtils={attr:function($element,namespace,obj){var i,attribute,attributes,regex=new RegExp("^"+namespace,"i");if("undefined"==typeof obj)obj={};else for(i in obj)obj.hasOwnProperty(i)&&delete obj[i];if("undefined"==typeof $element||"undefined"==typeof $element[0])return obj;for(attributes=$element[0].attributes,i=attributes.length;i--;)attribute=attributes[i],attribute&&attribute.specified&&regex.test(attribute.name)&&(obj[this.camelize(attribute.name.slice(namespace.length))]=this.deserializeValue(attribute.value));return obj},checkAttr:function($element,namespace,_checkAttr){return $element.is("["+namespace+_checkAttr+"]")},setAttr:function($element,namespace,attr,value){$element[0].setAttribute(this.dasherize(namespace+attr),String(value))},generateID:function(){return""+globalID++},deserializeValue:function(value){var num;try{return value?"true"==value||"false"!=value&&("null"==value?null:isNaN(num=Number(value))?/^[\[\{]/.test(value)?$.parseJSON(value):value:num):value}catch(e){return value}},camelize:function(str){return str.replace(/-+(.)?/g,function(match,chr){return chr?chr.toUpperCase():""})},dasherize:function(str){return str.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},warn:function(){var _window$console;window.console&&"function"==typeof window.console.warn&&(_window$console=window.console).warn.apply(_window$console,arguments)},warnOnce:function(msg){pastWarnings[msg]||(pastWarnings[msg]=!0,this.warn.apply(this,arguments))},_resetWarnings:function(){pastWarnings={}},trimString:function(string){return string.replace(/^\s+|\s+$/g,"")},namespaceEvents:function(events,namespace){return events=this.trimString(events||"").split(/\s+/),events[0]?$.map(events,function(evt){return evt+"."+namespace}).join(" "):""},difference:function(array,remove){var result=[];return $.each(array,function(_,elem){remove.indexOf(elem)==-1&&result.push(elem)}),result},all:function(promises){return $.when.apply($,_toConsumableArray(promises).concat([42,42]))},objectCreate:Object.create||function(){var Object=function(){};return function(prototype){if(arguments.length>1)throw Error("Second argument not supported");if("object"!=typeof prototype)throw TypeError("Argument must be an object");Object.prototype=prototype;var result=new Object;return Object.prototype=null,result}}(),_SubmitSelector:'input[type="submit"], button:submit'},ParsleyUtils__default=ParsleyUtils__ParsleyUtils,ParsleyDefaults={namespace:"data-parsley-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,multiple:null,group:null,uiEnabled:!1,validationThreshold:0,focus:"first",trigger:"input",triggerAfterFailure:"input",errorClass:"c37-field-error",successClass:"c37-field-success",classHandler:function(ParsleyField){},errorsContainer:function(ParsleyField){},errorsWrapper:'<ul class="parsley-errors-list"></ul>',errorTemplate:"<li></li>"},ParsleyAbstract=function(){this.__id__=ParsleyUtils__default.generateID()};ParsleyAbstract.prototype={asyncSupport:!0,_pipeAccordingToValidationResult:function(){var _this=this,pipe=function(){var r=$.Deferred();return!0!==_this.validationResult&&r.reject(),r.resolve().promi
11se()};return[pipe,pipe]},actualizeOptions:function(){return ParsleyUtils__default.attr(this.$element,this.options.namespace,this.domOptions),this.parent&&this.parent.actualizeOptions&&this.parent.actualizeOptions(),this},_resetOptions:function(initOptions){this.domOptions=ParsleyUtils__default.objectCreate(this.parent.options),this.options=ParsleyUtils__default.objectCreate(this.domOptions);for(var i in initOptions)initOptions.hasOwnProperty(i)&&(this.options[i]=initOptions[i]);this.actualizeOptions()},_listeners:null,on:function(name,fn){this._listeners=this._listeners||{};var queue=this._listeners[name]=this._listeners[name]||[];return queue.push(fn),this},subscribe:function(name,fn){$.listenTo(this,name.toLowerCase(),fn)},off:function(name,fn){var queue=this._listeners&&this._listeners[name];if(queue)if(fn)for(var i=queue.length;i--;)queue[i]===fn&&queue.splice(i,1);else delete this._listeners[name];return this},unsubscribe:function(name,fn){$.unsubscribeTo(this,name.toLowerCase())},trigger:function(name,target,extraArg){target=target||this;var result,queue=this._listeners&&this._listeners[name];if(queue)for(var i=queue.length;i--;)if(result=queue[i].call(target,target,extraArg),result===!1)return result;return!this.parent||this.parent.trigger(name,target,extraArg)},reset:function(){if("ParsleyForm"!==this.__class__)return this._resetUI(),this._trigger("reset");for(var i=0;i<this.fields.length;i++)this.fields[i].reset();this._trigger("reset")},destroy:function(){if(this._destroyUI(),"ParsleyForm"!==this.__class__)return this.$element.removeData("Parsley"),this.$element.removeData("ParsleyFieldMultiple"),void this._trigger("destroy");for(var i=0;i<this.fields.length;i++)this.fields[i].destroy();this.$element.removeData("Parsley"),this._trigger("destroy")},asyncIsValid:function(group,force){return ParsleyUtils__default.warnOnce("asyncIsValid is deprecated; please use whenValid instead"),this.whenValid({group:group,force:force})},_findRelated:function(){return this.options.multiple?this.parent.$element.find("["+this.options.namespace+'multiple="'+this.options.multiple+'"]'):this.$element}};var requirementConverters={string:function(_string){return _string},integer:function(string){if(isNaN(string))throw'Requirement is not an integer: "'+string+'"';return parseInt(string,10)},number:function(string){if(isNaN(string))throw'Requirement is not a number: "'+string+'"';return parseFloat(string)},reference:function(string){var result=$(string);if(0===result.length)throw'No such reference: "'+string+'"';return result},boolean:function(string){return"false"!==string},object:function(string){return ParsleyUtils__default.deserializeValue(string)},regexp:function(_regexp){var flags="";return/^\/.*\/(?:[gimy]*)$/.test(_regexp)?(flags=_regexp.replace(/.*\/([gimy]*)$/,"$1"),_regexp=_regexp.replace(new RegExp("^/(.*?)/"+flags+"$"),"$1")):_regexp="^"+_regexp+"$",new RegExp(_regexp,flags)}},convertArrayRequirement=function(string,length){var m=string.match(/^\s*\[(.*)\]\s*$/);if(!m)throw'Requirement is not an array: "'+string+'"';var values=m[1].split(",").map(ParsleyUtils__default.trimString);if(values.length!==length)throw"Requirement has "+values.length+" values when "+length+" are needed";return values},convertRequirement=function(requirementType,string){var converter=requirementConverters[requirementType||"string"];if(!converter)throw'Unknown requirement specification: "'+requirementType+'"';return converter(string)},convertExtraOptionRequirement=function(requirementSpec,string,extraOptionReader){var main=null,extra={};for(var key in requirementSpec)if(key){var value=extraOptionReader(key);"string"==typeof value&&(value=convertRequirement(requirementSpec[key],value)),extra[key]=value}else main=convertRequirement(requirementSpec[key],string);return[main,extra]},ParsleyValidator=function(spec){$.extend(!0,this,spec)};ParsleyValidator.prototype={validate:function(value,requirementFirstArg){if(this.fn)return arguments.length>3&&(requirementFirstArg=[].slice.call(arguments,1,-1)),this.fn.call(this,value,requirementFirstArg);if($.isArray(value)){if(!this.validateMultiple)throw"Validator `"+this.name+"` does not handle multiple values";return this.validateMultiple.apply(this,arguments)}if(this.validateNumber)return!isNaN(value)&&(arguments[0]=parseFloat(arguments[0]),this.validateNumber.apply(this,arguments));if(this.validateString)return this.validateString.apply(this,arguments);throw"Validator `"+this.name+"` only handles multiple values"},parseRequirements:function(requirements,extraOptionReader){if("string"!=typeof requirements)return $.isArray(requirements)?requirements:[requirements];var type=this.requirementType;
11if($.isArray(type)){for(var values=convertArrayRequirement(requirements,type.length),i=0;i<values.length;i++)values[i]=convertRequirement(type[i],values[i]);return values}return $.isPlainObject(type)?convertExtraOptionRequirement(type,requirements,extraOptionReader):[convertRequirement(type,requirements)]},requirementType:"string",priority:2};var ParsleyValidatorRegistry=function(validators,catalog){this.__class__="ParsleyValidatorRegistry",this.locale="en",this.init(validators||{},catalog||{})},typeRegexes={email:/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,number:/^-?(\d*\.)?\d+(e[-+]?\d+)?$/i,integer:/^-?\d+$/,digits:/^\d+$/,alphanum:/^\w+$/i,url:new RegExp("^(?:(?:https?|ftp)://)?(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:/\\S*)?$","i")};typeRegexes.range=typeRegexes.number;var decimalPlaces=function(num){var match=(""+num).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return match?Math.max(0,(match[1]?match[1].length:0)-(match[2]?+match[2]:0)):0};ParsleyValidatorRegistry.prototype={init:function(validators,catalog){this.catalog=catalog,this.validators=$.extend({},this.validators);for(var name in validators)this.addValidator(name,validators[name].fn,validators[name].priority);window.Parsley.trigger("parsley:validator:init")},setLocale:function(locale){if("undefined"==typeof this.catalog[locale])throw new Error(locale+" is not available in the catalog");return this.locale=locale,this},addCatalog:function(locale,messages,set){return"object"==typeof messages&&(this.catalog[locale]=messages),!0===set?this.setLocale(locale):this},addMessage:function(locale,name,message){return"undefined"==typeof this.catalog[locale]&&(this.catalog[locale]={}),this.catalog[locale][name]=message,this},addMessages:function(locale,nameMessageObject){for(var name in nameMessageObject)this.addMessage(locale,name,nameMessageObject[name]);return this},addValidator:function(name,arg1,arg2){if(this.validators[name])ParsleyUtils__default.warn('Validator "'+name+'" is already defined.');else if(ParsleyDefaults.hasOwnProperty(name))return void ParsleyUtils__default.warn('"'+name+'" is a restricted keyword and is not a valid validator name.');return this._setValidator.apply(this,arguments)},updateValidator:function(name,arg1,arg2){return this.validators[name]?this._setValidator.apply(this,arguments):(ParsleyUtils__default.warn('Validator "'+name+'" is not already defined.'),this.addValidator.apply(this,arguments))},removeValidator:function(name){return this.validators[name]||ParsleyUtils__default.warn('Validator "'+name+'" is not defined.'),delete this.validators[name],this},_setValidator:function(name,validator,priority){"object"!=typeof validator&&(validator={fn:validator,priority:priority}),validator.validate||(validator=new ParsleyValidator(validator)),this.validators[name]=validator;for(var locale in validator.messages||{})this.addMessage(locale,name,validator.messages[locale]);return this},getErrorMessage:function(constraint){var message;
11if("type"===constraint.name){var typeMessages=this.catalog[this.locale][constraint.name]||{};message=typeMessages[constraint.requirements]}else message=this.formatMessage(this.catalog[this.locale][constraint.name],constraint.requirements);return message||this.catalog[this.locale].defaultMessage||this.catalog.en.defaultMessage},formatMessage:function(string,parameters){if("object"==typeof parameters){for(var i in parameters)string=this.formatMessage(string,parameters[i]);return string}return"string"==typeof string?string.replace(/%s/i,parameters):""},validators:{notblank:{validateString:function(value){return/\S/.test(value)},priority:2},required:{validateMultiple:function(values){return values.length>0},validateString:function(value){return/\S/.test(value)},priority:512},type:{validateString:function(value,type){var _ref=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],_ref$step=_ref.step,step=void 0===_ref$step?"1":_ref$step,_ref$base=_ref.base,base=void 0===_ref$base?0:_ref$base,regex=typeRegexes[type];if(!regex)throw new Error("validator type `"+type+"` is not supported");if(!regex.test(value))return!1;if("number"===type&&!/^any$/i.test(step||"")){var nb=Number(value),decimals=Math.max(decimalPlaces(step),decimalPlaces(base));if(decimalPlaces(nb)>decimals)return!1;var toInt=function(f){return Math.round(f*Math.pow(10,decimals))};if((toInt(nb)-toInt(base))%toInt(step)!=0)return!1}return!0},requirementType:{"":"string",step:"string",base:"number"},priority:256},pattern:{validateString:function(value,regexp){return regexp.test(value)},requirementType:"regexp",priority:64},minlength:{validateString:function(value,requirement){return value.length>=requirement},requirementType:"integer",priority:30},maxlength:{validateString:function(value,requirement){return value.length<=requirement},requirementType:"integer",priority:30},length:{validateString:function(value,min,max){return value.length>=min&&value.length<=max},requirementType:["integer","integer"],priority:30},mincheck:{validateMultiple:function(values,requirement){return values.length>=requirement},requirementType:"integer",priority:30},maxcheck:{validateMultiple:function(values,requirement){return values.length<=requirement},requirementType:"integer",priority:30},check:{validateMultiple:function(values,min,max){return values.length>=min&&values.length<=max},requirementType:["integer","integer"],priority:30},min:{validateNumber:function(value,requirement){return value>=requirement},requirementType:"number",priority:30},max:{validateNumber:function(value,requirement){return value<=requirement},requirementType:"number",priority:30},range:{validateNumber:function(value,min,max){return value>=min&&value<=max},requirementType:["number","number"],priority:30},equalto:{validateString:function(value,refOrValue){var $reference=$(refOrValue);return $reference.length?value===$reference.val():value===refOrValue},priority:256}}};var ParsleyUI={},diffResults=function diffResults(newResult,oldResult,deep){for(var added=[],kept=[],i=0;i<newResult.length;i++){for(var found=!1,j=0;j<oldResult.length;j++)if(newResult[i].assert.name===oldResult[j].assert.name){found=!0;break}
11found?kept.push(newResult[i]):added.push(newResult[i])}return{kept:kept,added:added,removed:deep?[]:diffResults(oldResult,newResult,!0).added}};ParsleyUI.Form={_actualizeTriggers:function(){var _this2=this;this.$element.on("submit.Parsley",function(evt){_this2.onSubmitValidate(evt)}),this.$element.on("click.Parsley",ParsleyUtils__default._SubmitSelector,function(evt){_this2.onSubmitButton(evt)}),!1!==this.options.uiEnabled&&this.$element.attr("novalidate","")},focus:function(){if(this._focusedField=null,!0===this.validationResult||"none"===this.options.focus)return null;for(var i=0;i<this.fields.length;i++){var field=this.fields[i];if(!0!==field.validationResult&&field.validationResult.length>0&&"undefined"==typeof field.options.noFocus&&(this._focusedField=field.$element,"first"===this.options.focus))break}return null===this._focusedField?null:this._focusedField.focus()},_destroyUI:function(){this.$element.off(".Parsley")}},ParsleyUI.Field={_reflowUI:function(){if(this._buildUI(),this._ui){var diff=diffResults(this.validationResult,this._ui.lastValidationResult);this._ui.lastValidationResult=this.validationResult,this._manageStatusClass(),this._manageErrorsMessages(diff),this._actualizeTriggers(),!diff.kept.length&&!diff.added.length||this._failedOnce||(this._failedOnce=!0,this._actualizeTriggers())}},getErrorsMessages:function(){if(!0===this.validationResult)return[];for(var messages=[],i=0;i<this.validationResult.length;i++)messages.push(this.validationResult[i].errorMessage||this._getErrorMessage(this.validationResult[i].assert));return messages},addError:function(name){var _ref2=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],message=_ref2.message,assert=_ref2.assert,_ref2$updateClass=_ref2.updateClass,updateClass=void 0===_ref2$updateClass||_ref2$updateClass;this._buildUI(),this._addError(name,{message:message,assert:assert}),updateClass&&this._errorClass()},updateError:function(name){var _ref3=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],message=_ref3.message,assert=_ref3.assert,_ref3$updateClass=_ref3.updateClass,updateClass=void 0===_ref3$updateClass||_ref3$updateClass;this._buildUI(),this._updateError(name,{message:message,assert:assert}),updateClass&&this._errorClass()},removeError:function(name){var _ref4=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],_ref4$updateClass=_ref4.updateClass,updateClass=void 0===_ref4$updateClass||_ref4$updateClass;this._buildUI(),this._removeError(name),updateClass&&this._manageStatusClass()},_manageStatusClass:function(){this.hasConstraints()&&this.needsValidation()&&!0===this.validationResult?this._successClass():this.validationResult.length>0?this._errorClass():this._resetClass()},_manageErrorsMessages:function(diff){if("undefined"==typeof this.options.errorsMessagesDisabled){if("undefined"!=typeof this.options.errorMessage)return diff.added.length||diff.kept.length?(this._insertErrorWrapper(),0===this._ui.$errorsWrapper.find(".parsley-custom-error-message").length&&this._ui.$errorsWrapper.append($(this.options.errorTemplate).addClass("parsley-custom-error-message")),this._ui.$errorsWrapper.addClass("filled").find(".parsley-custom-error-message").html(this.options.errorMessage)):this._ui.$errorsWrapper.removeClass("filled").find(".parsley-custom-error-message").remove();for(var i=0;i<diff.removed.length;i++)this._removeError(diff.removed[i].assert.name);for(i=0;i<diff.added.length;i++)this._addError(diff.added[i].assert.name,{message:diff.added[i].errorMessage,assert:diff.added[i].assert});for(i=0;i<diff.kept.length;i++)this._updateError(diff.kept[i].assert.name,{message:diff.kept[i].errorMessage,assert:diff.kept[i].assert})}},_addError:function(name,_ref5){var message=_ref5.message,assert=_ref5.assert;this._insertErrorWrapper(),this._ui.$errorsWrapper.addClass("filled").append($(this.options.errorTemplate).addClass("parsley-"+name).html(message||this._getErrorMessage(assert)))},_updateError:function(name,_ref6){var message=_ref6.message,assert=_ref6.assert;this._ui.$errorsWrapper.addClass("filled").find(".parsley-"+name).html(message||this._getErrorMessage(
11assert))},_removeError:function(name){this._ui.$errorsWrapper.removeClass("filled").find(".parsley-"+name).remove()},_getErrorMessage:function(constraint){var customConstraintErrorMessage=constraint.name+"Message";return"undefined"!=typeof this.options[customConstraintErrorMessage]?window.Parsley.formatMessage(this.options[customConstraintErrorMessage],constraint.requirements):window.Parsley.getErrorMessage(constraint)},_buildUI:function(){if(!this._ui&&!1!==this.options.uiEnabled){var _ui={};this.$element.attr(this.options.namespace+"id",this.__id__),_ui.$errorClassHandler=this._manageClassHandler(),_ui.errorsWrapperId="parsley-id-"+(this.options.multiple?"multiple-"+this.options.multiple:this.__id__),_ui.$errorsWrapper=$(this.options.errorsWrapper).attr("id",_ui.errorsWrapperId),_ui.lastValidationResult=[],_ui.validationInformationVisible=!1,this._ui=_ui}},_manageClassHandler:function(){if("string"==typeof this.options.classHandler&&$(this.options.classHandler).length)return $(this.options.classHandler);var $handler=this.options.classHandler.call(this,this);return"undefined"!=typeof $handler&&$handler.length?$handler:this._inputHolder()},_inputHolder:function(){return!this.options.multiple||this.$element.is("select")?this.$element:this.$element.parent()},_insertErrorWrapper:function(){var $errorsContainer;if(0!==this._ui.$errorsWrapper.parent().length)return this._ui.$errorsWrapper.parent();if("string"==typeof this.options.errorsContainer){if($(this.options.errorsContainer).length)return $(this.options.errorsContainer).append(this._ui.$errorsWrapper);ParsleyUtils__default.warn("The errors container `"+this.options.errorsContainer+"` does not exist in DOM")}else"function"==typeof this.options.errorsContainer&&($errorsContainer=this.options.errorsContainer.call(this,this));return"undefined"!=typeof $errorsContainer&&$errorsContainer.length?$errorsContainer.append(this._ui.$errorsWrapper):this._inputHolder().after(this._ui.$errorsWrapper)},_actualizeTriggers:function(){var trigger,_this3=this,$toBind=this._findRelated();$toBind.off(".Parsley"),this._failedOnce?$toBind.on(ParsleyUtils__default.namespaceEvents(this.options.triggerAfterFailure,"Parsley"),function(){_this3.validate()}):(trigger=ParsleyUtils__default.namespaceEvents(this.options.trigger,"Parsley"))&&$toBind.on(trigger,function(event){_this3._eventValidate(event)})},_eventValidate:function(event){!(!/key|input/.test(event.type)||this._ui&&this._ui.validationInformationVisible)&&this.getValue().length<=this.options.validationThreshold||this.validate()},_resetUI:function(){this._failedOnce=!1,this._actualizeTriggers(),"undefined"!=typeof this._ui&&(this._ui.$errorsWrapper.removeClass("filled").children().remove(),this._resetClass(),this._ui.lastValidationResult=[],this._ui.validationInformationVisible=!1)},_destroyUI:function(){this._resetUI(),"undefined"!=typeof this._ui&&this._ui.$errorsWrapper.remove(),delete this._ui},_successClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.errorClass).addClass(this.options.successClass)},_errorClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.successClass).addClass(this.options.errorClass)},_resetClass:function(){this._ui.$errorClassHandler.removeClass(this.options.successClass).removeClass(this.options.errorClass)}};var ParsleyForm=function(element,domOptions,options){this.__class__="ParsleyForm",this.$element=$(element),this.domOptions=domOptions,this.options=options,this.parent=window.Parsley,this.fields=[],this.validationResult=null},ParsleyForm__statusMapping={pending:null,resolved:!0,rejected:!1};ParsleyForm.prototype={onSubmitValidate:function(event){var _this4=this;if(!0!==event.parsley){var $submitSource=this._$submitSource||this.$element.find(ParsleyUtils__default._SubmitSelector).first();if(this._$submitSource=null,this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!0),!$submitSource.is("[formnovalidate]")){var promise=this.whenValidate({event:event});"resolved"===promise.state()&&!1!==this._trigger("submit")||(event.stopImmediatePropagation(),event.preventDefault(),"pending"===promise.state()&&promise.done(function(){_this4._submit($submitSource)}))}}},onSubmitButton:function(event){this._$submitSource=$(event.currentTarget)},_submit:function($submitSource){if(!1!==this._trigger("submit")){if($submitSource){var $synthetic=this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!1);0===$synthetic.length&&($synthetic=$('<input class="parsley-synthetic-submit-button" type="hidden">').appendTo(this.$element)),$synthetic.attr({name:$submitSource.attr("name"),value:$submitSource.attr("value")})}this.$element.trigger($.extend($.Event("submit"),{parsley:!0}))}},validate:function(options){if(arguments.length>=1&&!$.isPlainObject(options)){ParsleyUtils__default.warnOnce("Calling validate on a parsley form without passing arguments as an object is deprecated.");var _arguments=_slice.call(arguments),group=_arguments[0],force=_arguments[1],event=_arguments[2];options={group:group,force:force,event:event}}return ParsleyForm__statusMapping[this.whenValidate(options).state()]},whenValidate:function(){var _ParsleyUtils__default$all$done$fail$always,_this5=this,_ref7=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],group=_ref7.group,force=_ref7.force,event=_ref7.event;this.submitEvent=event,event&&(this.submitEvent=$.extend({},event,{preventDefault:function(){ParsleyUtils__default.warnOnce("Using `this.submitEvent.preventDefault()` is deprecated; instead, call `this.validationResult = false`"),_this5.validationResult=!1}})),this.validationResult=!0,this._trigger("validate"),this._refreshFields();var promises=this._withoutReactualizingFormOptions(function(){return $.map(_this5.fields,function(field){return field.whenValidate({force:force,group:group})})});return(_ParsleyUtils__default$all$done$fail$always=ParsleyUtils__default.all(promises).done(function(){_this5._trigger("success")}).fail(function(){_this5.validationResult=!1,_this5.focus(),_this5._trigger("error")}).always(function(){_this5._trigger("validated")})).pipe.apply(_ParsleyUtils__default$all$done$fail$always,_toConsumableArray(this._pipeAccordingToValidationResult()))},isValid:function(options){if(arguments.length>=1&&!$.isPlainObject(options)){ParsleyUtils__default.warnOnce("Calling isValid on a parsley form without passing arguments as an object is deprecated.");var _arguments2=_slice.call(arguments),group=_arguments2[0],force=_arguments2[1];options={group:group,force:force}}return ParsleyForm__statusMapping[this.whenValid(options).state()]},whenValid:function(){var _this6=this,_ref8=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],group=_ref8.group,force=_ref8.force;this._refreshFields();var promises=this._withoutReactualizingFormOptions(function(){return $.map(_this6.fields,function(field){return field.whenValid({group:group,force:force})})});return ParsleyUtils__default.all(promises)},_refreshFields:function(){return this.actualizeOptions()._bindFields()},_bindFields:function(){var _this7=this,oldFields=this.fields;return this.fields=[],this.fieldsMappedById={},this._withoutReactualizingFormOptions(function(){_this7.$element.find(_this7.options.inputs).not(_this7.options.excluded).each(function(_,element){var fieldInstance=new window.Parsley.Factory(element,{},_this7);"ParsleyField"!==fieldInstance.__class__&&"ParsleyFieldMultiple"!==fieldInstance.__class__||!0===fieldInstance.options.excluded||"undefined"==typeof _this7.fieldsMappedById[fieldInstance.__class__+"-"+fieldInstance.__id__]&&(_this7.fieldsMappedById[fieldInstance.__class__+"-"+fieldInstance.__id__]=fieldInstance,_this7.fields.push(fieldInstance))}),$.each(ParsleyUtils__default.difference(oldFields,_this7.fields),function(_,field){field._trigger("reset")})}),this},_withoutReactualizingFormOptions:function(fn){var oldActualizeOptions=this.actualizeOptions;this.actualizeOptions=function(){return this};var result=fn();return this.actualizeOptions=oldActualizeOptions,result},_trigger:function(eventName){return this.trigger("form:"+eventName)}};
11var ConstraintFactory=function(parsleyField,name,requirements,priority,isDomConstraint){if(!/ParsleyField/.test(parsleyField.__class__))throw new Error("ParsleyField or ParsleyFieldMultiple instance expected");var validatorSpec=window.Parsley._validatorRegistry.validators[name],validator=new ParsleyValidator(validatorSpec);$.extend(this,{validator:validator,name:name,requirements:requirements,priority:priority||parsleyField.options[name+"Priority"]||validator.priority,isDomConstraint:!0===isDomConstraint}),this._parseRequirements(parsleyField.options)},capitalize=function(str){var cap=str[0].toUpperCase();return cap+str.slice(1)};ConstraintFactory.prototype={validate:function(value,instance){var _validator;return(_validator=this.validator).validate.apply(_validator,[value].concat(_toConsumableArray(this.requirementList),[instance]))},_parseRequirements:function(options){var _this8=this;this.requirementList=this.validator.parseRequirements(this.requirements,function(key){return options[_this8.name+capitalize(key)]})}};var ParsleyField=function(field,domOptions,options,parsleyFormInstance){this.__class__="ParsleyField",this.$element=$(field),"undefined"!=typeof parsleyFormInstance&&(this.parent=parsleyFormInstance),this.options=options,this.domOptions=domOptions,this.constraints=[],this.constraintsByName={},this.validationResult=!0,this._bindConstraints()},parsley_field__statusMapping={pending:null,resolved:!0,rejected:!1};ParsleyField.prototype={validate:function(options){arguments.length>=1&&!$.isPlainObject(options)&&(ParsleyUtils__default.warnOnce("Calling validate on a parsley field without passing arguments as an object is deprecated."),options={options:options});var promise=this.whenValidate(options);if(!promise)return!0;switch(promise.state()){case"pending":return null;case"resolved":return!0;case"rejected":return this.validationResult}},whenValidate:function(){var _whenValid$always$done$fail$always,_this9=this,_ref9=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],force=_ref9.force,group=_ref9.group;if(this.refreshConstraints(),!group||this._isInGroup(group))return this.value=this.getValue(),this._trigger("validate"),(_whenValid$always$done$fail$always=this.whenValid({force:force,value:this.value,_refreshed:!0}).always(function(){_this9._reflowUI()}).done(function(){_this9._trigger("success")}).fail(function(){_this9._trigger("error")}).always(function(){_this9._trigger("validated")})).pipe.apply(_whenValid$always$done$fail$always,_toConsumableArray(this._pipeAccordingToValidationResult()))},hasConstraints:function(){return 0!==this.constraints.length},needsValidation:function(value){return"undefined"==typeof value&&(value=this.getValue()),!(!value.length&&!this._isRequired()&&"undefined"==typeof this.options.validateIfEmpty)},_isInGroup:function(group){return $.isArray(this.options.group)?-1!==$.inArray(group,this.options.group):this.options.group===group},isValid:function(options){if(arguments.length>=1&&!$.isPlainObject(options)){ParsleyUtils__default.warnOnce("Calling isValid on a parsley field without passing arguments as an object is deprecated.");var _arguments3=_slice.call(arguments),force=_arguments3[0],value=_arguments3[1];options={force:force,value:value}}var promise=this.whenValid(options);return!promise||parsley_field__statusMapping[promise.state()]},whenValid:function(){var _this10=this,_ref10=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],_ref10$force=_ref10.force,force=void 0!==_ref10$force&&_ref10$force,value=_ref10.value,group=_ref10.group,_refreshed=_ref10._refreshed;
12if(_refreshed||this.refreshConstraints(),!group||this._isInGroup(group)){if(this.validationResult=!0,!this.hasConstraints())return $.when();if("undefined"!=typeof value&&null!==value||(value=this.getValue()),!this.needsValidation(value)&&!0!==force)return $.when();var groupedConstraints=this._getGroupedConstraints(),promises=[];return $.each(groupedConstraints,function(_,constraints){var promise=ParsleyUtils__default.all($.map(constraints,function(constraint){return _this10._validateConstraint(value,constraint)}));if(promises.push(promise),"rejected"===promise.state())return!1}),ParsleyUtils__default.all(promises)}},_validateConstraint:function(value,constraint){var _this11=this,result=constraint.validate(value,this);return!1===result&&(result=$.Deferred().reject()),ParsleyUtils__default.all([result]).fail(function(errorMessage){_this11.validationResult instanceof Array||(_this11.validationResult=[]),_this11.validationResult.push({assert:constraint,errorMessage:"string"==typeof errorMessage&&errorMessage})})},getValue:function(){var value;return value="function"==typeof this.options.value?this.options.value(this):"undefined"!=typeof this.options.value?this.options.value:this.$element.val(),"undefined"==typeof value||null===value?"":this._handleWhitespace(value)},refreshConstraints:function(){return this.actualizeOptions()._bindConstraints()},addConstraint:function(name,requirements,priority,isDomConstraint){if(window.Parsley._validatorRegistry.validators[name]){var constraint=new ConstraintFactory(this,name,requirements,priority,isDomConstraint);"undefined"!==this.constraintsByName[constraint.name]&&this.removeConstraint(constraint.name),this.constraints.push(constraint),this.constraintsByName[constraint.name]=constraint}return this},removeConstraint:function(name){for(var i=0;i<this.constraints.length;i++)if(name===this.constraints[i].name){this.constraints.splice(i,1);break}return delete this.constraintsByName[name],this},updateConstraint:function(name,parameters,priority){return this.removeConstraint(name).addConstraint(name,parameters,priority)},_bindConstraints:function(){for(var constraints=[],constraintsByName={},i=0;i<this.constraints.length;i++)!1===this.constraints[i].isDomConstraint&&(constraints.push(this.constraints[i]),constraintsByName[this.constraints[i].name]=this.constraints[i]);this.constraints=constraints,this.constraintsByName=constraintsByName;for(var name in this.options)this.addConstraint(name,this.options[name],void 0,!0);return this._bindHtml5Constraints()},_bindHtml5Constraints:function(){(this.$element.hasClass("required")||this.$element.attr("required"))&&this.addConstraint("required",!0,void 0,!0),"string"==typeof this.$element.attr("pattern")&&this.addConstraint("pattern",this.$element.attr("pattern"),void 0,!0),"undefined"!=typeof this.$element.attr("min")&&"undefined"!=typeof this.$element.attr("max")?this.addConstraint("range",[this.$element.attr("min"),this.$element.attr("max")],void 0,!0):"undefined"!=typeof this.$element.attr("min")?this.addConstraint("min",this.$element.attr("min"),void 0,!0):"undefined"!=typeof this.$element.attr("max")&&this.addConstraint("max",this.$element.attr("max"),void 0,!0),"undefined"!=typeof this.$element.attr("minlength")&&"undefined"!=typeof this.$element.attr("maxlength")?this.addConstraint("length",[this.$element.attr("minlength"),this.$element.attr("maxlength")],void 0,!0):"undefined"!=typeof this.$element.attr("minlength")?this.addConstraint("minlength",this.$element.attr("minlength"),void 0,!0):"undefined"!=typeof this.$element.attr("maxlength")&&this.addConstraint("maxlength",this.$element.attr("maxlength"),void 0,!0);var type=this.$element.attr("type");return"undefined"==typeof type?this:"number"===type?this.addConstraint("type",["number",{step:this.$element.attr("step"),base:this.$element.attr("min")||this.$element.attr("value")}],void 0,!0):/^(email|url|range)$/i.test(type)?this.addConstraint("type",type,void 0,!0):this},_isRequired:function(){return"undefined"!=typeof this.constraintsByName.required&&!1!==this.constraintsByName.required.requirements},_trigger:function(eventName){return this.trigger("field:"+eventName)},_handleWhitespace:function(value){return!0===this.options.trimValue&&ParsleyUtils__default.warnOnce('data-parsley-trim-value="true" is deprecated, please use data-parsley-whitespace="trim"'),"squish"===this.options.whitespace&&(value=value.replace(/\s{2,}/g," ")),"trim"!==this.options.whitespace&&"squish"!==this.options.whitespace&&!0!==this.options.trimValue||(value=ParsleyUtils__default.trimString(value)),value},_getGroupedConstraints:function(){if(!1===this.options.priorityEnabled)return[this.constraints];for(var groupedConstraints=[],index={},i=0;i<this.constraints.length;i++){var p=this.constraints[i].priority;index[p]||groupedConstraints.push(index[p]=[]),index[p].push(this.constraints[i])}return groupedConstraints.sort(function(a,b){return b[0].priority-a[0].priority}),groupedConstraints}};var parsley_field=ParsleyField,ParsleyMultiple=function(){this.__class__="ParsleyFieldMultiple"};ParsleyMultiple.prototype={addElement:function($element){return this.$elements.push($element),this},refreshConstraints:function(){var fieldConstraints;if(this.constraints=[],this.$element.is("select"))return this.actualizeOptions()._bindConstraints(),this;for(var i=0;i<this.$elements.length;i++)if($("html").has(this.$elements[i]).length){fieldConstraints=this.$elements[i].data("ParsleyFieldMultiple").refreshConstraints().constraints;for(var j=0;j<fieldConstraints.length;j++)this.addConstraint(fieldConstraints[j].name,fieldConstraints[j].requirements,fieldConstraints[j].priority,fieldConstraints[j].isDomConstraint)}else this.$elements.splice(i,1);return this},getValue:function(){if("function"==typeof this.options.value)return this.options.value(this);if("undefined"!=typeof this.options.value)return this.options.value;if(this.$element.is("input[type=radio]"))return this._findRelated().filter(":checked").val()||"";if(this.$element.is("input[type=checkbox]")){var values=[];return this._findRelated().filter(":checked").each(function(){values.push($(this).val())}),values}return this.$element.is("select")&&null===this.$element.val()?[]:this.$element.val()},_init:function(){return this.$elements=[this.$element],this}};var ParsleyFactory=function(element,options,parsleyFormInstance){this.$element=$(element);var savedparsleyFormInstance=this.$element.data("Parsley");if(savedparsleyFormInstance)return"undefined"!=typeof parsleyFormInstance&&savedparsleyFormInstance.parent===window.Parsley&&(savedparsleyFormInstance.parent=parsleyFormInstance,savedparsleyFormInstance._resetOptions(savedp
12arsleyFormInstance.options)),"object"==typeof options&&$.extend(savedparsleyFormInstance.options,options),savedparsleyFormInstance;if(!this.$element.length)throw new Error("You must bind Parsley on an existing element.");if("undefined"!=typeof parsleyFormInstance&&"ParsleyForm"!==parsleyFormInstance.__class__)throw new Error("Parent instance must be a ParsleyForm instance");return this.parent=parsleyFormInstance||window.Parsley,this.init(options)};ParsleyFactory.prototype={init:function(options){return this.__class__="Parsley",this.__version__="2.4.4",this.__id__=ParsleyUtils__default.generateID(),this._resetOptions(options),this.$element.is("form")||ParsleyUtils__default.checkAttr(this.$element,this.options.namespace,"validate")&&!this.$element.is(this.options.inputs)?this.bind("parsleyForm"):this.isMultiple()?this.handleMultiple():this.bind("parsleyField")},isMultiple:function(){return this.$element.is("input[type=radio], input[type=checkbox]")||this.$element.is("select")&&"undefined"!=typeof this.$element.attr("multiple")},handleMultiple:function(){var name,parsleyMultipleInstance,_this12=this;if(this.options.multiple||("undefined"!=typeof this.$element.attr("name")&&this.$element.attr("name").length?this.options.multiple=name=this.$element.attr("name"):"undefined"!=typeof this.$element.attr("id")&&this.$element.attr("id").length&&(this.options.multiple=this.$element.attr("id"))),this.$element.is("select")&&"undefined"!=typeof this.$element.attr("multiple"))return this.options.multiple=this.options.multiple||this.__id__,this.bind("parsleyFieldMultiple");if(!this.options.multiple)return ParsleyUtils__default.warn("To be bound by Parsley, a radio, a checkbox and a multiple select input must have either a name or a multiple option.",this.$element),this;this.options.multiple=this.options.multiple.replace(/(:|\.|\[|\]|\{|\}|\$)/g,""),"undefined"!=typeof name&&$('input[name="'+name+'"]').each(function(i,input){$(input).is("input[type=radio], input[type=checkbox]")&&$(input).attr(_this12.options.namespace+"multiple",_this12.options.multiple)});for(var $previouslyRelated=this._findRelated(),i=0;i<$previouslyRelated.length;i++)if(parsleyMultipleInstance=$($previouslyRelated.get(i)).data("Parsley"),"undefined"!=typeof parsleyMultipleInstance){this.$element.data("ParsleyFieldMultiple")||parsleyMultipleInstance.addElement(this.$element);break}return this.bind("parsleyField",!0),parsleyMultipleInstance||this.bind("parsleyFieldMultiple")},bind:function(type,doNotStore){var parsleyInstance;switch(type){case"parsleyForm":parsleyInstance=$.extend(new ParsleyForm(this.$element,this.domOptions,this.options),new ParsleyAbstract,window.ParsleyExtend)._bindFields();break;case"parsleyField":parsleyInstance=$.extend(new parsley_field(this.$element,this.domOptions,this.options,this.parent),new ParsleyAbstract,window.ParsleyExtend);break;case"parsleyFieldMultiple":parsleyInstance=$.extend(new parsley_field(this.$element,this.domOptions,this.options,this.parent),new ParsleyMultiple,new ParsleyAbstract,window.ParsleyExtend)._init();break;default:throw new Error(type+"is not a supported Parsley type")}return this.options.multiple&&ParsleyUtils__default.setAttr(this.$element,this.options.namespace,"multiple",this.options.multiple),"undefined"!=typeof doNotStore?(this.$element.data("ParsleyFieldMultiple",parsleyInstance),parsleyInstance):(this.$element.data("Parsley",parsleyInstance),parsleyInstance._actualizeTriggers(),parsleyInstance._trigger("init"),parsleyInstance)}};var vernums=$.fn.jquery.split(".");if(parseInt(vernums[0])<=1&&parseInt(vernums[1])<8)throw"The loaded version of jQuery is too old. Please upgrade to 1.8.x or better.";vernums.forEach||ParsleyUtils__default.warn("Parsley requires ES5 to run properly. Please include https://github.com/es-shims/es5-shim");var Parsley=$.extend(new ParsleyAbstract,{$element:$(document),actualizeOptions:null,_resetOptions:null,Factory:ParsleyFactory,version:"2.4.4"});$.extend(parsley_field.prototype,ParsleyUI.Field,ParsleyAbstract.prototype),$.extend(ParsleyForm.prototype,ParsleyUI.Form,ParsleyAbstract.prototype),$.extend(ParsleyFactory.prototype,ParsleyAbstract.prototype),$.fn.parsley=$.fn.psly=function(options){if(this.length>1){var instances=[];return this.each(function(){instances.push($(this).parsley(options))}),instances}return $(this).length?new ParsleyFactory(this,options):void ParsleyUtils__default.warn("You must bind Parsley on an existing element.")},"undefined"==typeof window.ParsleyExtend&&(window.ParsleyExtend={}),Parsley.options=$.extend(ParsleyUtils__default.objectCreate(ParsleyDefaults),window.ParsleyConfig),window.ParsleyConfig=Parsley.options,window.Parsley=window.psly=Parsley,window.ParsleyUtils=ParsleyUtils__default;var registry=window.Parsley._validatorRegistry=new ParsleyValidatorRegistry(window.ParsleyConfig.validators,window.ParsleyConfig.i18n);window.ParsleyValidator={},$.each("setLocale addCatalog addMessage addMessages getErrorMessage formatMessage addValidator updateV
12alidator removeValidator".split(" "),function(i,method){window.Parsley[method]=$.proxy(registry,method),window.ParsleyValidator[method]=function(){var _window$Parsley;return ParsleyUtils__default.warnOnce("Accessing the method '"+method+"' through ParsleyValidator is deprecated. Simply call 'window.Parsley."+method+"(...)'"),(_window$Parsley=window.Parsley)[method].apply(_window$Parsley,arguments)}}),window.Parsley.UI=ParsleyUI,window.ParsleyUI={removeError:function(instance,name,doNotUpdateClass){var updateClass=!0!==doNotUpdateClass;return ParsleyUtils__default.warnOnce("Accessing ParsleyUI is deprecated. Call 'removeError' on the instance directly. Please comment in issue 1073 as to your need to call this method."),instance.removeError(name,{updateClass:updateClass})},getErrorsMessages:function(instance){return ParsleyUtils__default.warnOnce("Accessing ParsleyUI is deprecated. Call 'getErrorsMessages' on the instance directly."),instance.getErrorsMessages()}},$.each("addError updateError".split(" "),function(i,method){window.ParsleyUI[method]=function(instance,name,message,assert,doNotUpdateClass){var updateClass=!0!==doNotUpdateClass;return ParsleyUtils__default.warnOnce("Accessing ParsleyUI is deprecated. Call '"+method+"' on the instance directly. Please comment in issue 1073 as to your need to call this method."),instance[method](name,{message:message,assert:assert,updateClass:updateClass})}}),!1!==window.ParsleyConfig.autoBind&&$(function(){$("[data-parsley-validate]").length&&$("[data-parsley-validate]").parsley()});var o=$({}),deprecated=function(){ParsleyUtils__default.warnOnce("Parsley's pubsub module is deprecated; use the 'on' and 'off' methods on parsley instances or window.Parsley")},eventPrefix="parsley:";$.listen=function(name,callback){var context;if(deprecated(),"object"==typeof arguments[1]&&"function"==typeof arguments[2]&&(context=arguments[1],callback=arguments[2]),"function"!=typeof callback)throw new Error("Wrong parameters");window.Parsley.on(eventName(name),adapt(callback,context))},$.listenTo=function(instance,name,fn){if(deprecated(),!(instance instanceof parsley_field||instance instanceof ParsleyForm))throw new Error("Mu
12st give Parsley instance");if("string"!=typeof name||"function"!=typeof fn)throw new Error("Wrong parameters");instance.on(eventName(name),adapt(fn))},$.unsubscribe=function(name,fn){if(deprecated(),"string"!=typeof name||"function"!=typeof fn)throw new Error("Wrong arguments");window.Parsley.off(eventName(name),fn.parsleyAdaptedCallback)},$.unsubscribeTo=function(instance,name){if(deprecated(),!(instance instanceof parsley_field||instance instanceof ParsleyForm))throw new Error("Must give Parsley instance");instance.off(eventName(name))},$.unsubscribeAll=function(name){deprecated(),window.Parsley.off(eventName(name)),$("form,input,textarea,select").each(function(){var instance=$(this).data("Parsley");instance&&instance.off(eventName(name))})},$.emit=function(name,instance){var _instance;deprecated();var instanceGiven=instance instanceof parsley_field||instance instanceof ParsleyForm,args=Array.prototype.slice.call(arguments,instanceGiven?2:1);args.unshift(eventName(name)),instanceGiven||(instance=window.Parsley),(_instance=instance).trigger.apply(_instance,_toConsumableArray(args))};$.extend(!0,Parsley,{asyncValidators:{default:{fn:function(xhr){return xhr.status>=200&&xhr.status<300},url:!1},reverse:{fn:function(xhr){return xhr.status<200||xhr.status>=300},url:!1}},addAsyncValidator:function(name,fn,url,options){return Parsley.asyncValidators[name]={fn:fn,url:url||!1,options:options||{}},this}}),Parsley.addValidator("remote",{requirementType:{"":"string",validator:"string",reverse:"boolean",options:"object"},validateString:function(value,url,options,instance){var ajaxOptions,csr,data={},validator=options.validator||(!0===options.reverse?"reverse":"default");if("undefined"==typeof Parsley.asyncValidators[validator])throw new Error("Calling an undefined async validator: `"+validator+"`");url=Parsley.asyncValidators[validator].url||url,url.indexOf("{value}")>-1?url=url.replace("{value}",encodeURIComponent(value)):data[instance.$element.attr("name")||instance.$element.attr("id")]=value;var remoteOptions=$.extend(!0,options.options||{},Parsley.asyncValidators[validator].options);ajaxOptions=$.extend(!0,{},{url:url,data:data,type:"GET"},remoteOptions),instance.trigger("field:ajaxoptions",instance,ajaxOptions),csr=$.param(ajaxOptions),"undefined"==typeof Parsley._remoteCache&&(Parsley._remoteCache={});var xhr=Parsley._remoteCache[csr]=Parsley._remoteCache[csr]||$.ajax(ajaxOptions),handleXhr=function(){var result=Parsley.asyncValidators[validator].fn.call(instance,xhr,url,options);return result||(result=$.Deferred().reject()),$.when(result)};return xhr.then(handleXhr,handleXhr)},priority:-1}),Parsley.on("form:submit",function(){Parsley._remoteCache={}}),window.ParsleyExtend.addAsyncValidator=function(){return ParsleyUtils.warnOnce("Accessing the method `addAsyncValidator` through an instance is deprecated. Simply call `Parsley.addAsyncValidator(...)`"),Parsley.addAsyncValidator.apply(Parsley,arguments)},Parsley.addMessages("en",{defaultMessage:"This value seems to be invalid.",type:{email:"This value should be a valid email.",url:"This value should be a valid url.",number:"This value should be a valid number.",integer:"This value should be a valid integer.",digits:"This value should be digits.",alphanum:"This value should be alphanumeric."},notblank:"This value should not be blank.",required:"This value is required.",pattern:"This value seems to be invalid.",min:"This value should be greater than or equal to %s.",max:"This value should be lower than or equal to %s.",range:"This value should be between %s and %s.",minlength:"This value is too short. It should have %s characters or more.",maxlength:"This value is too long. It should have %s characters or fewer.",length:"This value length is invalid. It should be between %s and %s characters long.",mincheck:"You must select at least %s choices.",maxcheck:"You must select %s choices or fewer.",check:"You must select between %s and %s choices.",equalto:"This value should be the same."}),Parsley.setLocale("en");var inputevent=new InputEvent;inputevent.install();var parsley=Parsley;return parsley});var Base=function(){};Base.extend=function(_instance,_static){"use strict";var extend=Base.prototype.extend;Base._prototyping=!0;var proto=new this;extend.call(proto,_instance),proto.base=function(){},delete Base._prototyping;var constructor=proto.constructor,klass=proto.constructor=function(){if(!Base._prototyping)if(this._constructing||this.constructor==klass)this._constructing=!0,constructor.apply(this,arguments),delete this._constructing;else if(null!==arguments[0])return(arguments[0].extend||extend).call(arguments[0],proto)};return klass.ancestor=this,klass.extend=this.extend,klass.forEach=this.forEach,klass.implement=this.implement,klass.prototype=proto,klass.toString=this.toString,klass.valueOf=function(type){return"object"==type?klass:constructor.valueOf()},extend.call(klass,_static),"function"==typeof klass.init&&klass.init(),klass},Base.prototype={extend:function(source,value){if(arguments.length>1){var ancestor=this[source];if(ancestor&&"function"==typeof value&&(!ancestor.valueOf||ancestor.valueOf()!=value.valueOf())&&/\bbase\b/.test(value)){var method=value.valueOf();value=function(){var previous=this.base||Base.prototype.base;this.base=ancestor;var returnValue=method.apply(this,arguments);return this.base=previous,returnValue},value.valueOf=function(type){return"object"==type?value:method},value.toString=Base.toString}this[source]=value}else if(source){var extend=Base.prototype.extend;Base._prototyping||"function"==typeof this||(extend=this.extend||extend);for(var proto={toSource:null},hidden=["constructor","toString","valueOf"],i=Base._prototyping?0:1;key=hidden[i++];
12)source[key]!=proto[key]&&extend.call(this,key,source[key]);for(var key in source)proto[key]||extend.call(this,key,source[key])}return this}},Base=Base.extend({constructor:function(){this.extend(arguments[0])}},{ancestor:Object,version:"1.1",forEach:function(object,block,context){for(var key in object)void 0===this.prototype[key]&&block.call(context,object[key],key,object)},implement:function(){for(var i=0;i<arguments.length;i++)"function"==typeof arguments[i]?arguments[i](this.prototype):this.prototype.extend(arguments[i]);return this},toString:function(){return String(this.valueOf())}});var FlipClock;!function($){"use strict";FlipClock=function(obj,digit,options){return digit instanceof Object&&digit instanceof Date==!1&&(options=digit,digit=0),new FlipClock.Factory(obj,digit,options)},FlipClock.Lang={},FlipClock.Base=Base.extend({buildDate:"2014-10-06",version:"0.7.5",constructor:function(_default,options){"object"!=typeof _default&&(_default={}),"object"!=typeof options&&(options={}),this.setOptions($.extend(!0,{},_default,options))},callback:function(method){if("function"==typeof method){for(var args=[],x=1;x<=arguments.length;x++)arguments[x]&&args.push(arguments[x]);method.apply(this,args)}},log:function(str){window.console&&console.log&&console.log(str)},getOption:function(index){return!!this[index]&&this[index]},getOptions:function(){return this},setOption:function(index,value){this[index]=value},setOptions:function(options){for(var key in options)"undefined"!=typeof options[key]&&this.setOption(key,options[key])}})}(jQuery),function($){"use strict";FlipClock.Face=FlipClock.Base.extend({autoStart:!0,dividers:[],factory:!1,lists:[],constructor:function(factory,options){this.dividers=[],this.lists=[],this.base(options),this.factory=factory},build:function(){this.autoStart&&this.start()},createDivider:function(label,css,excludeDots){"boolean"!=typeof css&&css||(excludeDots=css,css=label);var dots=['<span class="'+this.factory.classes.dot+' top"></span>','<span class="'+this.factory.classes.dot+' bottom"></span>'].join("");excludeDots&&(dots=""),label=this.factory.localize(label);var html=['<span class="'+this.factory.classes.divider+" "+(css?css:"").toLowerCase()+'">','<span class="'+this.factory.classes.label+'">'+(label?label:"")+"</span>",dots,"</span>"],$html=$(html.join(""));return this.dividers.push($html),$html},createList:function(digit,options){"object"==typeof digit&&(options=digit,digit=0);var obj=new FlipClock.List(this.factory,digit,options);return this.lists.push(obj),obj},reset:function(){this.factory.time=new FlipClock.Time(this.factor,this.factory.original?Math.round(this.factory.original):0,{minimumDigits:this.factory.minimumDigits}),this.flip(this.factory.original,!1)},appendDigitToClock:function(obj){obj.$el.append(!1)},addDigit:function(digit){var obj=this.createList(digit,{classes:{active:this.factory.classes.active,before:this.factory.classes.before,flip:this.factory.classes.flip}});this.appendDigitToClock(obj)},start:function(){},stop:function(){},autoIncrement:function(){this.factory.countdown?this.decrement():this.increment()},increment:function(){this.factory.time.addSecond()},decrement:function(){0==this.factory.time.getTimeSeconds()?this.factory.stop():this.factory.time.subSecond()},flip:function(time,doNotAddPlayClass){var t=this;$.each(time,function(i,digit){var list=t.lists[i];list?(doNotAddPlayClass||digit==list.digit||list.play(),list.select(digit)):t.addDigit(digit)})}})}(jQuery),function($){"use strict";FlipClock.Factory=FlipClock.Base.extend({animationRate:1e3,autoStart:!0,callbacks:{destroy:!1,create:!1,init:!1,interval:!1,start:!1,stop:!1,reset:!1},classes:{active:"flip-clock-active",before:"flip-clock-before",divider:"flip-clock-div
12ider",dot:"flip-clock-dot",label:"flip-clock-label",flip:"flip",play:"play",wrapper:"flip-clock-wrapper"},clockFace:"HourlyCounter",countdown:!1,defaultClockFace:"HourlyCounter",defaultLanguage:"english",$el:!1,face:!0,lang:!1,language:"english",minimumDigits:0,original:!1,running:!1,time:!1,timer:!1,$wrapper:!1,constructor:function(obj,digit,options){options||(options={}),this.lists=[],this.running=!1,this.base(options),this.$el=$(obj).addClass(this.classes.wrapper),this.$wrapper=this.$el,this.original=digit instanceof Date?digit:digit?Math.round(digit):0,this.time=new FlipClock.Time(this,this.original,{minimumDigits:this.minimumDigits,animationRate:this.animationRate}),this.timer=new FlipClock.Timer(this,options),this.loadLanguage(this.language),this.loadClockFace(this.clockFace,options),this.autoStart&&this.start()},loadClockFace:function(name,options){var face,suffix="Face",hasStopped=!1;return name=name.ucfirst()+suffix,this.face.stop&&(this.stop(),hasStopped=!0),this.$el.html(""),this.time.minimumDigits=this.minimumDigits,face=FlipClock[name]?new FlipClock[name](this,options):new FlipClock[this.defaultClockFace+suffix](this,options),face.build(),this.face=face,hasStopped&&this.start(),this.face},loadLanguage:function(name){var lang;return lang=FlipClock.Lang[name.ucfirst()]?FlipClock.Lang[name.ucfirst()]:FlipClock.Lang[name]?FlipClock.Lang[name]:FlipClock.Lang[this.defaultLanguage],this.lang=lang},localize:function(index,obj){var lang=this.lang;if(!index)return null;var lindex=index.toLowerCase();return"object"==typeof obj&&(lang=obj),lang&&lang[lindex]?lang[lindex]:index},start:function(callback){var t=this;t.running||t.countdown&&!(t.countdown&&t.time.time>0)?t.log("Trying to start timer when countdown already at 0"):(t.face.start(t.time),t.timer.start(function(){t.flip(),"function"==typeof callback&&callback()}))},stop:function(callback){this.face.stop(),this.timer.stop(callback);for(var x in this.lists)this.lists.hasOwnProperty(x)&&this.lists[x].stop()},reset:function(callback){this.timer.reset(callback),this.face.reset()},setTime:function(time){this.time.time=time,this.flip(!0)},getTime:function(time){return this.time},setCountdown:function(value){var running=this.running;this.countdown=!!value,running&&(this.stop(),this.start())},flip:function(doNotAddPlayClass){this.face.flip(!1,doNotAddPlayClass)}})}(jQuery),function($){"use strict";FlipClock.List=FlipClock.Base.extend({digit:0,classes:{active:"flip-clock-active",before:"flip-clock-before",flip:"flip"},factory:!1,$el:!1,$obj:!1,items:[],lastDigit:0,constructor:function(factory,digit,options){this.factory=factory,this.digit=digit,this.lastDigit=digit,this.$el=this.createList(
12),this.$obj=this.$el,digit>0&&this.select(digit),this.factory.$el.append(this.$el)},select:function(digit){if("undefined"==typeof digit?digit=this.digit:this.digit=digit,this.digit!=this.lastDigit){var $delete=this.$el.find("."+this.classes.before).removeClass(this.classes.before);this.$el.find("."+this.classes.active).removeClass(this.classes.active).addClass(this.classes.before),this.appendListItem(this.classes.active,this.digit),$delete.remove(),this.lastDigit=this.digit}},play:function(){this.$el.addClass(this.factory.classes.play)},stop:function(){var t=this;setTimeout(function(){t.$el.removeClass(t.factory.classes.play)},this.factory.timer.interval)},createListItem:function(css,value){return['<li class="'+(css?css:"")+'">','<a href="#">','<div class="up">','<div class="shadow"></div>','<div class="inn">'+(value?value:"")+"</div>","</div>",'<div class="down">','<div class="shadow"></div>','<div class="inn">'+(value?value:"")+"</div>","</div>","</a>","</li>"].join("")},appendListItem:function(css,value){var html=this.createListItem(css,value);this.$el.append(html)},createList:function(){var lastDigit=this.getPrevDigit()?this.getPrevDigit():this.digit,html=$(['<ul class="'+this.classes.flip+" "+(this.factory.running?this.factory.classes.play:"")+'">',this.createListItem(this.classes.before,lastDigit),this.createListItem(this.classes.active,this.digit),"</ul>"].join(""));return html},getNextDigit:function(){return 9==this.digit?0:this.digit+1},getPrevDigit:function(){return 0==this.digit?9:this.digit-1}})}(jQuery),function($){"use strict";String.prototype.ucfirst=function(){return this.substr(0,1).toUpperCase()+this.substr(1)},$.fn.FlipClock=function(digit,options){return new FlipClock($(this),digit,options)},$.fn.flipClock=function(digit,options){return $.fn.FlipClock(digit,options)}}(jQuery),function($){"use strict";FlipClock.Time=FlipClock.Base.extend({time:0,factory:!1,minimumDigits:0,constructor:function(factory,time,options){"object"!=typeof options&&(options={}),options.minimumDigits||(options.minimumDigits=factory.minimumDigits),this.base(options),this.factory=factory,time&&(this.time=time)},convertDigitsToArray:function(str){var data=[];str=str.toString();for(var x=0;x<str.length;x++)str[x].match(/^\d*$/g)&&data.push(str[x]);return data},digit:function(i){var timeStr=this.toString(),length=timeStr.length;return!!timeStr[length-i]&&timeStr[length-i]},digitize:function(obj){var data=[];if($.each(obj,function(i,value){value=value.toString(),1==value.length&&(value="0"+value);for(var x=0;x<value.length;x++)data.push(value.charAt(x))}),data.length>this.minimumDigits&&(this.minimumDigits=data.length),this.minimumDigits>data.length)for(var x=data.length;x<this.minimumDigits;x++)data.unshift("0");return data},getDateObject:function(){return this.time instanceof Date?this.time:new Date((new Date).getTime()+1e3*this.getTimeSeconds())},getDayCounter:function(includeSeconds){var digits=[this.getDays(),this.getHours(!0),this.getMinutes(!0)];return includeSeconds&&digits.push(this.getSeconds(!0)),this.digitize(digits)},getDays:function(mod){var days=this.getTimeSeconds()/60/60/24;return mod&&(days%=7),Math.floor(days)},getHourCounter:function(){var obj=this.digitize([this.getHours(),this.getMinutes(!0),this.get
12Seconds(!0)]);return obj},getHourly:function(){return this.getHourCounter()},getHours:function(mod){var hours=this.getTimeSeconds()/60/60;return mod&&(hours%=24),Math.floor(hours)},getMilitaryTime:function(date,showSeconds){"undefined"==typeof showSeconds&&(showSeconds=!0),date||(date=this.getDateObject());var data=[date.getHours(),date.getMinutes()];return showSeconds===!0&&data.push(date.getSeconds()),this.digitize(data)},getMinutes:function(mod){var minutes=this.getTimeSeconds()/60;return mod&&(minutes%=60),Math.floor(minutes)},getMinuteCounter:function(){var obj=this.digitize([this.getMinutes(),this.getSeconds(!0)]);return obj},getTimeSeconds:function(date){return date||(date=new Date),this.time instanceof Date?this.factory.countdown?Math.max(this.time.getTime()/1e3-date.getTime()/1e3,0):date.getTime()/1e3-this.time.getTime()/1e3:this.time},getTime:function(date,showSeconds){"undefined"==typeof showSeconds&&(showSeconds=!0),date||(date=this.getDateObject()),console.log(date);var hours=date.getHours(),data=[hours>12?hours-12:0===hours?12:hours,date.getMinutes()];return showSeconds===!0&&data.push(date.getSeconds()),this.digitize(data)},getSeconds:function(mod){var seconds=this.getTimeSeconds();return mod&&(60==seconds?seconds=0:seconds%=60),Math.ceil(seconds)},getWeeks:function(mod){var weeks=this.getTimeSeconds()/60/60/24/7;return mod&&(weeks%=52),Math.floor(weeks)},removeLeadingZeros:function(totalDigits,digits){var total=0,newArray=[];return $.each(digits,function(i,digit){i<totalDigits?total+=parseInt(digits[i],10):newArray.push(digits[i])}),0===total?newArray:digits},addSeconds:function(x){this.time instanceof Date?this.time.setSeconds(this.time.getSeconds()+x):this.time+=x},addSecond:function(){this.addSeconds(1)},subSeconds:function(x){this.time instanceof Date?this.time.setSeconds(this.time.getSeconds()-x):this.time-=x},subSecond:function(){this.subSeconds(1)},toString:function(){return this.getTimeSeconds().toString()}})}(jQuery),function($){"use strict";FlipClock.Timer=FlipClock.Base.extend({callbacks:{destroy:!1,create:!1,init:!1,interval:!1,start:!1,stop:!1,reset:!1},count:0,factory:!1,interval:1e3,animationRate:1e3,constructor:function(factory,options){this.base(options),this.factory=factory,this.callback(this.callbacks.init),this.callback(this.callbacks.create)},getElapsed:function(){return this.count*this.interval},getElapsedTime:function(){return new Date(this.time+this.getElapsed())},reset:function(callback){clearInterval(this.timer),this.count=0,this._setInterval(callback),this.callback(this.callbacks.reset)},start:function(callback){this.factory.running=!0,this._createTimer(callback),this.callback(this.callbacks.start)},stop:function(callback){
13this.factory.running=!1,this._clearInterval(callback),this.callback(this.callbacks.stop),this.callback(callback)},_clearInterval:function(){clearInterval(this.timer)},_createTimer:function(callback){this._setInterval(callback)},_destroyTimer:function(callback){this._clearInterval(),this.timer=!1,this.callback(callback),this.callback(this.callbacks.destroy)},_interval:function(callback){this.callback(this.callbacks.interval),this.callback(callback),this.count++},_setInterval:function(callback){var t=this;t._interval(callback),t.timer=setInterval(function(){t._interval(callback)},this.interval)}})}(jQuery),function($){FlipClock.TwentyFourHourClockFace=FlipClock.Face.extend({constructor:function(factory,options){this.base(factory,options)},build:function(time){var t=this,children=this.factory.$el.find("ul");this.factory.time.time||(this.factory.original=new Date,this.factory.time=new FlipClock.Time(this.factory,this.factory.original));var time=time?time:this.factory.time.getMilitaryTime(!1,this.showSeconds);time.length>children.length&&$.each(time,function(i,digit){t.createList(digit)}),this.createDivider(),this.createDivider(),$(this.dividers[0]).insertBefore(this.lists[this.lists.length-2].$el),$(this.dividers[1]).insertBefore(this.lists[this.lists.length-4].$el),this.base()},flip:function(time,doNotAddPlayClass){this.autoIncrement(),time=time?time:this.factory.time.getMilitaryTime(!1,this.showSeconds),this.base(time,doNotAddPlayClass)}})}(jQuery),function($){FlipClock.CounterFace=FlipClock.Face.extend({shouldAutoIncrement:!1,constructor:function(factory,options){"object"!=typeof options&&(options={}),factory.autoStart=!!options.autoStart,options.autoStart&&(this.shouldAutoIncrement=!0),factory.increment=function(){factory.countdown=!1,factory.setTime(factory.getTime().getTimeSeconds()+1)},factory.decrement=function(){factory.countdown=!0;var time=factory.getTime().getTimeSeconds();time>0&&factory.setTime(time-1)},factory.setValue=function(digits){factory.setTime(digits)},factory.setCounter=function(digits){factory.setTime(digits)},this.base(factory,options)},build:function(){var t=this,children=this.factory.$el.find("ul"),time=this.factory.getTime().digitize([this.factory.getTime().time]);time.length>children.length&&$.each(time,function(i,digit){var list=t.createList(digit);list.select(digit)}),$.each(this.lists,function(i,list){list.play()}),this.base()},flip:function(time,doNotAddPlayClass){this.shouldAutoIncrement&&this.autoIncrement(),time||(time=this.factory.getTime().digitize([this.factory.getTime().time])),this.base(time,doNotAddPlayClass)},reset:function(){this.factory.time=new FlipClock.Time(this.factory,this.factory.original?Math.round(this.factory.original):0),this.flip()}})}(jQuery),function($){FlipClock.DailyCounterFace=FlipClock.Face.extend({showSeconds:!0,constructor:function(factory,options){this.base(factory,options)},build:function(time){var t=this,children=this.factory.$el.find("ul"),offset=0;time=time?time:this.factory.time.getDayCounter(this.showSeconds),time.length>children.length&&$.each(time,function(i,digit){t.createList(digit)}),this.showSeconds?$(this.createDivider("Seconds")).insertBefore(this.lists[this.lists.length-2].$el):offset=2,$(this.createDivider("Minutes")).insertBefore(this.lists[this.lists.length-4+offset].$el),$(this.createDivider("Hours")).insertBefore(this.lists[this.lists.length-6+offset].$el),$(this.createDivider("Days",!0)).insertBefore(this.lists[0].$el),this.base()},flip:function(time,doNotAddPlayClass){time||(time=this.factory.time.getDayCounter(this.showSeconds)),this.autoIncrement(),this.base(time,doNotAddPlayClass)}})}(jQuery),function($){FlipClock.HourlyCounterFace=FlipClock.Face.extend({constructor:function(factory,options){this.base(factory,options)},build:function(excludeHours,time){var t=this,children=this.factory.$el.find("ul");time=time?time:this.factory.time.getHourCounter(),time.length>children.length&&$.each(time,function(i,digit){t.createList(digit)}),$(this.createDivider("Seconds")).insertBefore(this.lists[this.lists.length-2].$el),$(this.createDivider("Minutes")).insertBefore(this.lists[this.lists.length-4].$el),excludeHours||$(this.createDivider("Hours",!0)).insertBefore(this.lists[0].$el),this.base()},flip:function(time,doNotAddPlayClass){time||(time=this.factory.time.getHourCounter()),this.autoIncrement(),this.base(time,doNotAddPlayClass)},appendDigitToClock:function(obj){this.base(obj),this.dividers[0].insertAfter(this.dividers[0].next())}})}
13(jQuery),function($){FlipClock.MinuteCounterFace=FlipClock.HourlyCounterFace.extend({clearExcessDigits:!1,constructor:function(factory,options){this.base(factory,options)},build:function(){this.base(!0,this.factory.time.getMinuteCounter())},flip:function(time,doNotAddPlayClass){time||(time=this.factory.time.getMinuteCounter()),this.base(time,doNotAddPlayClass)}})}(jQuery),function($){FlipClock.TwelveHourClockFace=FlipClock.TwentyFourHourClockFace.extend({meridium:!1,meridiumText:"AM",build:function(){var time=this.factory.time.getTime(!1,this.showSeconds);this.base(time),this.meridiumText=this.getMeridium(),this.meridium=$(['<ul class="flip-clock-meridium">',"<li>",'<a href="#">'+this.meridiumText+"</a>","</li>","</ul>"].join("")),this.meridium.insertAfter(this.lists[this.lists.length-1].$el)},flip:function(time,doNotAddPlayClass){this.meridiumText!=this.getMeridium()&&(this.meridiumText=this.getMeridium(),this.meridium.find("a").html(this.meridiumText)),this.base(this.factory.time.getTime(!1,this.showSeconds),doNotAddPlayClass)},getMeridium:function(){return(new Date).getHours()>=12?"PM":"AM"},isPM:function(){return"PM"==this.getMeridium()},isAM:function(){return"AM"==this.getMeridium()}})}(jQuery),function($){FlipClock.Lang.Arabic={years:"سنوات",months:"شهور",days:"أيام",hours:"ساعات",minutes:"دقائق",seconds:"ثواني"},FlipClock.Lang.ar=FlipClock.Lang.Arabic,FlipClock.Lang["ar-ar"]=FlipClock.Lang.Arabic,FlipClock.Lang.arabic=FlipClock.Lang.Arabic}(jQuery),function($){FlipClock.Lang.Danish={years:"År",months:"Måneder",days:"Dage",hours:"Timer",minutes:"Minutter",seconds:"Sekunder"},FlipClock.Lang.da=FlipClock.Lang.Danish,FlipClock.Lang["da-dk"]=FlipClock.Lang.Danish,FlipClock.Lang.danish=FlipClock.Lang.Danish}(jQuery),function($){FlipClock.Lang.German={years:"Jahre",months:"Monate",days:"Tage",hours:"Stunden",minutes:"Minuten",seconds:"Sekunden"},FlipClock.Lang.de=FlipClock.Lang.German,FlipClock.Lang["de-de"]=FlipClock.Lang.German,FlipClock.Lang.german=FlipClock.Lang.German}(jQuery),function($){FlipClock.Lang.English={years:"Years",months:"Months",days:"Days",hours:"Hours",minutes:"Minutes",seconds:"Seconds"},FlipClock.Lang.en=FlipClock.Lang.English,FlipClock.Lang["en-us"]=FlipClock.Lang.English,FlipClock.Lang.english=FlipClock.Lang.English}(jQuery),function($){FlipClock.Lang.Spanish={years:"A&#241;os",months:"Meses",days:"D&#237;as",hours:"Horas",minutes:"Minutos",seconds:"Segundo"},FlipClock.Lang.es=FlipClock.Lang.Spanish,FlipClock.Lang["es-es"]=FlipClock.Lang.Spanish,FlipClock.Lang.spanish=FlipClock.Lang.Spanish}(jQuery),function($){FlipClock.Lang.Finnish={years:"Vuotta",months:"Kuukautta",days:"Päivää",hours:"Tuntia",minutes:"Minuuttia",seconds:"Sekuntia"},FlipClock.Lang.fi=FlipClock.Lang.Finnish,FlipClock.Lang["fi-fi"]=FlipClock.Lang.Finnish,FlipClock.Lang.finnish=FlipClock.Lang.Finnish}(jQuery),function($){FlipClock.Lang.French={years:"Ans",months:"Mois",days:"Jours",hours:"Heures",minutes:"Minutes",seconds:"Secondes"},FlipClock.Lang.fr=FlipClock.Lang.French,FlipClock.Lang["fr-ca"]=FlipClock.Lang.French,FlipClock.Lang.french=FlipClock.Lang.French}(jQuery),function($){FlipClock.Lang.Italian={years:"Anni",months:"Mesi",days:"Giorni",hours:"Ore",minutes:"Minuti",seconds:"Secondi"},FlipClock.Lang.it=FlipClock.Lang.Italian,FlipClock.Lang["it-it"]=FlipClock.Lang.Italian,FlipClock.Lang.italian=FlipClock.Lang.Italian}(jQuery),function($){FlipClock.Lang.Latvian={years:"Gadi",months:"Mēneši",days:"Dienas",hours:"Stundas",minutes:"Minūtes",seconds:"Sekundes"},FlipClock.Lang.lv=FlipClock.Lang.Latvian,FlipClock.Lang["lv-lv"]=FlipClock.Lang.Latvian,FlipClock.Lang.latvian=FlipClock.Lang.Latvian}(jQuery),function($){FlipClock.Lang.Dutch={years:"Jaren",months:"Maanden",days:"Dagen",hours:"Uren",minutes:"Minuten",seconds:"Seconden"},FlipClock.Lang.nl=FlipClock.Lang.Dutch,FlipClock.Lang["nl-be"]=FlipClock.Lang.Dutch,FlipClock.Lang.dutch=FlipClock.Lang.Dutch}(jQuery),function($){FlipClock.Lang.Norwegian={years:"År",months:"Måneder",days:"Dager",hours:"Timer",minutes:"Minutter",seconds:"Sekunder"}
vendor: 5,604 bytes, line 13
13,FlipClock.Lang.no=FlipClock.Lang.Norwegian,FlipClock.Lang.nb=FlipClock.Lang.Norwegian,FlipClock.Lang["no-nb"]=FlipClock.Lang.Norwegian,FlipClock.Lang.norwegian=FlipClock.Lang.Norwegian}(jQuery),function($){FlipClock.Lang.Portuguese={years:"Anos",months:"Meses",days:"Dias",hours:"Horas",minutes:"Minutos",seconds:"Segundos"},FlipClock.Lang.pt=FlipClock.Lang.Portuguese,FlipClock.Lang["pt-br"]=FlipClock.Lang.Portuguese,FlipClock.Lang.portuguese=FlipClock.Lang.Portuguese}(jQuery),function($){FlipClock.Lang.Russian={years:"лет",months:"месяцев",days:"дней",hours:"часов",minutes:"минут",seconds:"секунд"},FlipClock.Lang.ru=FlipClock.Lang.Russian,FlipClock.Lang["ru-ru"]=FlipClock.Lang.Russian,FlipClock.Lang.russian=FlipClock.Lang.Russian}(jQuery),function($){FlipClock.Lang.Swedish={years:"År",months:"Månader",days:"Dagar",hours:"Timmar",minutes:"Minuter",seconds:"Sekunder"},FlipClock.Lang.sv=FlipClock.Lang.Swedish,FlipClock.Lang["sv-se"]=FlipClock.Lang.Swedish,FlipClock.Lang.swedish=FlipClock.Lang.Swedish}(jQuery),function(factory){"use strict";"function"==typeof define&&define.amd?define(["jquery"],factory):factory(jQuery)}(function($){"use strict";function parseDateString(dateString){if(dateString instanceof Date)return dateString;if(String(dateString).match(matchers))return String(dateString).match(/^[0-9]*$/)&&(dateString=Number(dateString)),String(dateString).match(/\-/)&&(dateString=String(dateString).replace(/\-/g,"/")),new Date(dateString);throw new Error("Couldn't cast `"+dateString+"` to a date object.")}function escapedRegExp(str){var sanitize=str.toString().replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1");return new RegExp(sanitize)}function strftime(offsetObject){return function(format){var directives=format.match(/%(-|!)?[A-Z]{1}(:[^;]+;)?/gi);if(directives)for(var i=0,len=directives.length;i<len;++i){var directive=directives[i].match(/%(-|!)?([a-zA-Z]{1})(:[^;]+;)?/),regexp=escapedRegExp(directive[0]),modifier=directive[1]||"",plural=directive[3]||"",value=null;directive=directive[2],DIRECTIVE_KEY_MAP.hasOwnProperty(directive)&&(value=DIRECTIVE_KEY_MAP[directive],value=Number(offsetObject[value])),null!==value&&("!"===modifier&&(value=pluralize(plural,value)),""===modifier&&value<10&&(value="0"+value.toString()),format=format.replace(regexp,value.toString()))}return format=format.replace(/%%/,"%")}}function pluralize(format,count){var plural="s",singular="";return format&&(format=format.replace(/(:|;|\s)/gi,"").split(/\,/),1===format.length?plural=format[0]:(singular=format[0],plural=format[1])),1===Math.abs(count)?singular:plural}var instances=[],matchers=[],defaultOptions={precision:100,elapse:!1};matchers.push(/^[0-9]*$/.source),matchers.push(/([0-9]{1,2}\/){2}[0-9]{4}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),matchers.push(/[0-9]{4}([\/\-][0-9]{1,2}){2}( [0-9]{1,2}(:[0-9]{2}){2})?/.source),matchers=new RegExp(matchers.join("|"));var DIRECTIVE_KEY_MAP={Y:"years",m:"months",n:"daysToMonth",w:"weeks",d:"daysToWeek",D:"totalDays",H:"hours",M:"minutes",S:"seconds"},Countdown=function(el,finalDate,options){this.el=el,this.$el=$(el),this.interval=null,this.offset={},this.options=$.extend({},defaultOptions),this.instanceNumber=instances.length,instances.push(this),this.$el.data("countdown-instance",this.instanceNumber),options&&("function"==typeof options?(this.$el.on("update.countdown",options),this.$el.on("stoped.countdown",options),this.$el.on("finish.countdown",options)):this.options=$.extend({},defaultOptions,options)),this.setFinalDate(finalDate),this.start()};$.extend(Countdown.prototype,{start:function(){null!==this.interval&&clearInterval(this.interval);var self=this;this.update(),this.interval=setInterval(function(){self.update.call(self)},this.options.precision)},stop:function(){clearInterval(this.interval),this.interval=null,this.dispatchEvent("stoped")},toggle:function(){this.interval?this.stop():this.start()},pause:function(){this.stop()},resume:function(){this.start()},remove:function(){this.stop.call(this),instances[this.instanceNumber]=null,delete this.$el.data().countdownInstance},setFinalDate:function(value){this.finalDate=parseDateString(value)},update:function(){if(0===this.$el.closest("html").length)return void this.remove();var newTotalSecsLeft,hasEventsAttached=void 0!==$._data(this.el,"events"),now=new Date;newTotalSecsLeft=this.finalDate.getTime()-now.getTime(),newTotalSecsLeft=Math.ceil(newTotalSecsLeft/1e3),newTotalSecsLeft=!this.options.elapse&&newTotalSecsLeft<0?0:Math.abs(newTotalSecsLeft),this.totalSecsLeft!==newTotalSecsLeft&&hasEventsAttached&&(this.totalSecsLeft=newTotalSecsLeft,this.elapsed=now>=this.finalDate,this.offset={seconds:this.totalSecsLeft%60,minutes:Math.floor(this.totalSecsLeft/60)%60,hours:Math.floor(this.totalSecsLeft/60/60)%24,days:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToWeek:Math.floor(this.totalSecsLeft/60/60/24)%7,daysToMonth:Math.floor(this.totalSecsLeft/60/60/24%30.4368),totalDays:Math.floor(this.totalSecsLeft/60/60/24),weeks:Math.floor(this.totalSecsLeft/60/60/24/7),months:Math.floor(this.totalSecsLeft/60/60/24/30.4368),years:Math.abs(this.finalDate.getFullYear()-now.getFullYear())},this.options.elapse||0!==this.totalSecsLeft?this.dispatchEvent("update"):(this.stop(),this.dispatchEvent("finish")))},dispatchEvent:function(eventName){var event=$.Event(eventName+".countdown");event.finalDate=this.finalDate,event.elapsed=this.elapsed,event.offset=$.extend({},this.offset),event.strftime=strftime(this.offset),this.$el.trigger(event)}}),$.fn.countdown=function(){var argumentsArray=Array.prototype.slice.call(arguments,0);
vendor: 4,114 bytes, line 13
13return this.each(function(){var instanceNumber=$(this).data("countdown-instance");if(void 0!==instanceNumber){var instance=instances[instanceNumber],method=argumentsArray[0];Countdown.prototype.hasOwnProperty(method)?instance[method].apply(instance,argumentsArray.slice(1)):null===String(method).match(/^[$A-Z_][0-9A-Z_$]*$/i)?(instance.setFinalDate.call(instance,method),instance.start()):$.error("Method %s does not exist on jQuery.countdown".replace(/\%s/gi,method))}else new Countdown(this,argumentsArray[0],argumentsArray[1])})}}),!function(e){e(["jquery"],function(e){return function(){function t(e,t,n){return g({type:O.error,iconClass:m().iconClasses.error,message:e,optionsOverride:n,title:t})}function n(t,n){return t||(t=m()),v=e("#"+t.containerId),v.length?v:(n&&(v=d(t)),v)}function o(e,t,n){return g({type:O.info,iconClass:m().iconClasses.info,message:e,optionsOverride:n,title:t})}function s(e){C=e}function i(e,t,n){return g({type:O.success,iconClass:m().iconClasses.success,message:e,optionsOverride:n,title:t})}function a(e,t,n){return g({type:O.warning,iconClass:m().iconClasses.warning,message:e,optionsOverride:n,title:t})}function r(e,t){var o=m();v||n(o),u(e,o,t)||l(o)}function c(t){var o=m();return v||n(o),t&&0===e(":focus",t).length?void h(t):void(v.children().length&&v.remove())}function l(t){for(var n=v.children(),o=n.length-1;o>=0;o--)u(e(n[o]),t)}function u(t,n,o){var s=!(!o||!o.force)&&o.force;return!(!t||!s&&0!==e(":focus",t).length||(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){h(t)}}),0))}function d(t){return v=e("<div/>").attr("id",t.containerId).addClass(t.positionClass),v.appendTo(e(t.target)),v}function p(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">&times;</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1}}function f(e){C&&C(e)}function g(t){function o(e){return null==e&&(e=""),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function s(){c(),u(),d(),p(),g(),C(),l(),i()}function i(){var e="";switch(t.iconClass){case"toast-success":case"toast-info":e="polite";break;default:e="assertive"}I.attr("aria-live",e)}function a(){E.closeOnHover&&I.hover(H,D),!E.onclick&&E.tapToDismiss&&I.click(b),E.closeButton&&j&&j.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&e.cancelBubble!==!0&&(e.cancelBubble=!0),E.onCloseClick&&E.onCloseClick(e),b(!0)}),E.onclick&&I.click(function(e){E.onclick(e),b()})}function r(){I.hide(),I[E.showMethod]({duration:E.showDuration,easing:E.showEasing,complete:E.onShown}),E.timeOut>0&&(k=setTimeout(b,E.timeOut),F.maxHideTime=parseFloat(E.timeOut),F.hideEta=(new Date).getTime()+F.maxHideTime,E.progressBar&&(F.intervalId=setInterval(x,10)))}function c(){t.iconClass&&I.addClass(E.toastClass).addClass(y)}function l(){E.newestOnTop?v.prepend(I):v.append(I)}function u(){if(t.title){var e=t.title;E.escapeHtml&&(e=o(t.title)),M.append(e).addClass(E.titleClass),I.append(M)}}function d(){if(t.message){var e=t.message;E.escapeHtml&&(e=o(t.message)),B.append(e).addClass(E.messageClass),I.append(B)}}function p(){E.closeButton&&(j.addClass(E.closeClass).attr("role","button"),I.prepend(j))}function g(){E.progressBar&&(q.addClass(E.progressClass),I.prepend(q))}function C(){E.rtl&&I.addClass("rtl")}function O(e,t){if(e.preventDuplicates){if(t.message===w)return!0;w=t.message}return!1}function b(t){var n=t&&E.closeMethod!==!1?E.closeMethod:E.hideMethod,o=t&&E.closeDuration!==!1?
13E.closeDuration:E.hideDuration,s=t&&E.closeEasing!==!1?E.closeEasing:E.hideEasing;if(!e(":focus",I).length||t)return clearTimeout(F.intervalId),I[n]({duration:o,easing:s,complete:function(){h(I),clearTimeout(k),E.onHidden&&"hidden"!==P.state&&E.onHidden(),P.state="hidden",P.endTime=new Date,f(P)}})}function D(){(E.timeOut>0||E.extendedTimeOut>0)&&(k=setTimeout(b,E.extendedTimeOut),F.maxHideTime=parseFloat(E.extendedTimeOut),F.hideEta=(new Date).getTime()+F.maxHideTime)}function H(){clearTimeout(k),F.hideEta=0,I.stop(!0,!0)[E.showMethod]({duration:E.showDuration,easing:E.showEasing})}function x(){var e=(F.hideEta-(new Date).getTime())/F.maxHideTime*100;q.width(e+"%")}var E=m(),y=t.iconClass||E.iconClass;if("undefined"!=typeof t.optionsOverride&&(E=e.extend(E,t.optionsOverride),y=t.optionsOverride.iconClass||y),!O(E,t)){T++,v=n(E,!0);var k=null,I=e("<div/>"),M=e("<div/>"),B=e("<div/>"),q=e("<div/>"),j=e(E.closeHtml),F={intervalId:null,hideEta:null,maxHideTime:null},P={toastId:T,state:"visible",startTime:new Date,options:E,map:t};return s(),r(),a(),f(P),E.debug&&console&&console.log(P),I}}function m(){return e.extend({},p(),b.options)}function h(e){v||(v=n()),e.is(":visible")||(e.remove(),e=null,0===v.children().length&&(v.remove(),w=void 0))}var v,C,w,T=0,O={error:"error",info:"info",success:"success",warning:"warning"},b={clear:r,remove:c,error:t,getContainer:n,info:o,options:{},subscribe:s,success:i,version:"2.1.3",warning:a};return b}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}),function($,window){function C47Exception(message){this.name="UltimateBackgroundException",this.message=message}function perfectDimensions(element,options){var width=element.outerWidth(),height=element.outerHeight();console.log("option is: ",options),"body"==options.container&&(width=window.outerWidth,height=window.outerHeight,console.log("body height:  "+height)),height>width&&(options.ratio=2/3);var appliedWidth,appliedHeight,calculatedHeight=Math.floor(1*width/options.ratio),calculatedWidth=Math.floor(height*options.ratio);if("body"==options.container){if(console.log("for body bg"),"image"==options.type){var cwidth=Math.ceil($(window).height()*options.ratio);return cwidth<width?[width,calculatedHeight]:[cwidth,$(window).height()]}if("youtube"==options.type){var cwidth=Math.ceil($(window).height()*options.ratio);return cwidth<width?[width,calculatedHeight]:[cwidth,$(window).height()]}}return height>=calculatedHeight?(appliedHeight=height,appliedWidth=calculatedWidth,console.log("using original height and calculated width",appliedWidth,appliedHeight)):calculatedHeight>=height&&(appliedWidth=width,appliedHeight=calculatedHeight,console.log("using original width and calculated height",appliedWidth,appliedHeight)),console.log("calculated width and height: ",[appliedWidth,appliedHeight]),[appliedWidth,appliedHeight]}function populateYouTubeVideo(divID,videoSource,width,height){var nPlayer=new YT.Player(divID,{videoId:videoSource,width:width,height:height,playerVars:{autoplay:1,controls:0,showinfo:0,loop:1,start:0,rel:0,modestbranding:1},events:{onReady:onPlayerReady,onStateChange:onPlayerStateChange}});window.c47YTPlayers=window.c47YTPlayers||[],window.c47YTPlayers.push(nPlayer)}window.c47YTIframeReady=!1,window.c47YTPlayers=[];var outerDivClass="c47-ultimate-bg";$.fn.c47bg=function(options){var element=this,defaults={ratio:16/9,mute:!0,repeat:!0,crop:!0};options=$.extend(options,defaults);var dimensions=perfectDimensions(element,options),width=dimensions[0],height=dimensions[1],randomID="c47-random-"+Math.floor(1e5*Math.random());if(options.crop&&"body"!=options.container,"youtube"==options.type){var tag=document.createElement("script");tag.src="https://www.youtube.com/iframe_api";var firstScriptTag=document.getElementsByTagName("script")[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag),element.find("."+outerDivClass).remove();var videoPosition="body"==options.container?"fixed;":"absolute";videoContainer='<div style="position: absolute; top: 0; left: 0; overflow: hidden; z-index: -1;" class="'+outerDivClass+'"><div style="-webkit-backface-visibility: hidden; backface-visibility: hidden;position:'+videoPosition+';" id="'+randomID+'" ></div></div>
13',element.prepend(videoContainer);var checkIframeReady=setInterval(function(){window.c47YTIframeReady&&(clearInterval(checkIframeReady),populateYouTubeVideo(randomID,options.source,width,height))},10);window.onYouTubeIframeAPIReady=function(){window.c47YTIframeReady=!0},window.onPlayerReady=function(event){event.target.playVideo(),event.target.mute()},window.onPlayerStateChange=function(state){if(0===state.data&&options.repeat){console.log("ok to repeat",window.c47YTPlayers.length);for(var i=0;i<window.c47YTPlayers.length;i++)console.log(window.c47YTPlayers[i].getPlayerState()),0==window.c47YTPlayers[i].getPlayerState()&&window.c47YTPlayers[i].seekTo(0)}}}else if("self-hosted"==options.type){if("object"!=typeof options.source)throw new C47Exception("The source property needs to be an object. Please go to https://github.com/datmt/ultimate-background for documentation");var source=options.source,poster="",mp4Source="",ogvSource="",webmSource="";if("undefined"!=typeof options.poster&&(poster=options.poster),"undefined"!=typeof source.mp4&&(mp4Source='<source src="'+source.mp4+'" type="video/mp4">'),"undefined"!=typeof source.ogv&&(ogvSource='<source src="'+source.ogv+'" type="video/ogg">'),"undefined"!=typeof source.webm&&(webmSource='<source src="'+source.webm+'" type="video/webm">'),""==mp4Source&&""==ogvSource&&""==webmSource)throw new C47Exception("Please provide at least one video source");var parentElementHeight=element.outerHeight,videoContainer='<div class="'+outerDivClass+'" style="z-index: -1;position: relative; height: '+parentElementHeight+'px; top: 0; left: 0; overflow: hidden"><video style="position: absolute; top: 0; left: 0; right: 0; bottom: 0;"  autoplay="1" loop="1" muted="1" id="'+randomID+'" width="'+width+'" poster="'+poster+'" >'+mp4Source+ogvSource+webmSource+"Your browser doesn't support HTML5 video tag.</video></div>";element.prepend(videoContainer)}else if("image"==options.type){var position="body"==options.container?"fixed":"absolute",imageContainer='<div style="position: absolute; top: 0; left: 0; z-index: -1;" class="'+outerDivClass+'"><img style="position: '+position+'; top: 0; left: 0;" id="'+randomID+'" src="'+options.source+'" /></div>';element.prepend(imageContainer)}return $(function(){var backgroundDiv=$("."+outerDivClass),overlayClass="undefined"==typeof options.overlayClass?"b1":options.overlayClass,overlayPosition="body"==options.container?"fixed":"absolute";0==backgroundDiv.find(".c47-overlay").length&&backgroundDiv.append('<div class="c47-overlay '+overlayClass+'" style="position: '+overlayPosition+"; padding: 0; margin: 0; top: 0; bottom: 0; right: 0; left: 0; width: "+width+"px; height: "+height+'px; z-index: 100;"></div>');try{$(".c47-overlay").addEventListener("touchmove",function(e){e.preventDefault()},!1),backgroundDiv.addEventListener("touchmove",function(e){e.preventDefault()},!1)}catch(e){}$(window).bind("load resize orientationchange",function(){console.log("resizing bg...;");var bg,dimensions=perfectDimensions($(this),options),appliedWidth=dimensions[0],appliedHeight=dimensions[1],outerDiv=$(element).find("."+outerDivClass).first();if(outerDiv.css("width","100%"),"youtube"==options.type)bg=outerDiv.find("iframe").first(),bg.attr("width",appliedWidth),bg.attr("height",appliedHeight),bg.css("top",0),bg.css("left",0);else if("image"==options.type){bg=outerDiv.find("img").first(),bg.css("width",appliedWidth+"px"),bg.css("height",appliedHeight+"px");var marginLeft=appliedWidth/2-$(window).width()/2;marginLeft>0&&$(window).height()/$(window).width()>1.4?bg.css("margin-left","-"+marginLeft+"px"):bg.css("margin-left","0")}else"self-hosted"==options.type&&(bg=outerDiv.find("video"),bg.attr("width",appliedWidth),bg.attr("height",appliedHeight));bg.siblings(".c47-overlay").css("width",appliedWidth+"px"),bg.siblings(".c47-overlay").css("height",appliedHeight+"px")}),$(function(){$(element).trigger("resize")})}),this}}(jQuery,window);var UPGRADE_TO_UNLOCK_TEMPLATE="It seems you have not activated the PRO version. Please activate it to use this feature",UPGRADE_TO_USE_TEMPLATES="It seems you have not activated the PRO version. Please activate it to use this feature",UPGRADE_TO_USE_IMAGE="Either you have not activated the PRO version or you are using the free version. Please upgrade to use image in your page",UPGRADE_TO_USE_IMAGE_BG="Either you have not activated the PRO version or you are using the free version. Please upgrade to use image as background",UPGRADE_TO_USE_SHORTCODE="Shortcode only available in PRO version. Please upgrade to use this function.",UPGRADE_TO_USE_RATING="Stars rating is available in the PRO version only. Please upgrade to use ratings in your form",UPGRADE_TO_USE_PREMIUM_ELEMENT="This is a premium element. Please upgrade to PRO version to use it",ERROR_MISSING_PAGE_NAME="Please enter a title for your page",SUCCESS_FORM_
13SAVED="Page saved!",SUCCESS_CODE_SAVED="Code saved!",SUCCESS_EMAIL_SAVED="Email saved!",SUCCESS_SUBSCRIBER_DATA_CLEARED="Subscribers data for currently selected form cleared!",INFO_LOADING_SUBSCRIBERS_DATA="Loading subscribers data",ERROR_PLEASE_SOLVE_CAPTCHA="Please solve the captcha",ERROR_INPUT_NOT_VALID="Your input is not valid! ",INFO_CLEAR_SUBSCRIBERS="Clear subscribers data?",INFO_CLEAR_SUBSCRIBERS_EXPLAIN="You are going to clear subscribers data for currently selected form. This cannot be undone",INFO_SUBSCRIBERS_CLEARED="Subscribers data cleared!",INFO_PLEASE_ACTIVATE="The plugin has not been activated. Please go to the main page and activate it to use all the PRO features",POPUP_OPTION_NAME_MISSING="Popup name is missing",POPUP_OPTION_WHERE_TO_DISPLAY_MISSING="Where to display option is missing",POPUP_OPTION_POPUP_CONTENT_MISSING="Popup content is missing",POPUP_OPTION_CATEGORY_MISSING="Category is missing",POPUP_OPTION_POST_MISSING="Post/page is missing",POPUP_OPTION_POSITION_ON_PAGE_MISSING="Position on page is missing",POPUP_OPTION_HOW_TO_SHOWUP_MISSING="How to show up is missing",POPUP_OPTION_SHOW_UP_DELAY_MISSING="Show up delay (seconds) is missing",POPUP_OPTION_SCROLL_PERCENTAGE_MISSING="Scroll percentage is missing",POPUP_OPTION_AFTER_CLOSE_MISSING="After close/submit is missing",POPUP_OPTION_DAYS_TO_HIDE_MISSING="Days to hide is missing",POPUP_OPTION_SAVED="Popup option saved!",POPUP_OPTION_DELETED="Popup option deleted!",POPUP_OPTION_UPGRADE="Popup is a PRO only feature. Either you haven't activated the plugin or you are using the free version. Upgrade now to PRO version to use it.",WIDGET_OPTION_NAME_MISSING="Widget option's name is missing",WIDGET_OPTION_CONTENT_MISSING="Widget option's content is missing",WIDGET_OPTION_ALIGNMENT_MISSING="Widget option's alignment is missing",WIDGET_OPTION_POSITION_MISSING="Widget option's position is missing",WIDGET_OPTION_WHERE_TO_DISPLAY_MISSING="Widget option's where to display is missing",WIDGET_OPTION_SAVED="Popup option saved!";toastr.options={closeButton:!0,debug:!1,newestOnTop:!1,progressBar:!0,positionClass:"toast-top-center",preventDuplicates:!1,onclick:null,showDuration:"300",hideDuration:"1000",timeOut:"5000",extendedTimeOut:"1000",showEasing:"swing",hideEasing:"linear",showMethod:"fadeIn",hideMethod:"fadeOut"},jQuery(function(){jQuery(document).on("click","[c37-action-name]",function(){c37SendClick(jQuery(this))})}),function($){$(".c37-mobile-toggle").click(function(){$(this).parent().next(".c37-menu-menu").slideToggle(),console.log("clicked humburger")}),$("li.menu-item-has-children").click(function(){$(".c37-mobile-toggle").is(":visible")&&$(this).find(".sub-menu").first().slideToggle()})}(jQuery),function(){function isPopupShowedInLifeTime(popup){var string=localStorage.getItem("c37_list_popup_showed")||"[]",popupsOptionIDs=[];try{popupsOptionIDs=JSON.parse(string)}catch(err){console.error(err),localStorage.setItem("c37_list_popup_showed","[]")}return!!_.contains(popupsOptionIDs,popup.attr("data-popup-option-id"))}function recordPopupShowed(popup){var string=localStorage.getItem("c37_list_popup_showed")||"[]",popupsOptionIDs=[];try{popupsOptionIDs=JSON.parse(string)}catch(err){console.error(err),localStorage.setItem("c37_list_popup_showed","[]")}popupsOptionIDs.push(popup.attr("data-popup-option-id")),localStorage.setItem("c37_list_popup_showed",JSON.stringify(popupsOptionIDs))}jQuery(function(){function showPopup(popup,displayOption){var sessionID=c37GenerateSessionID();if(trackingObject[popup.attr("data-popup-option-id")]=sessionID,console.log("tracking object",trackingObject),c37TrackingPopupOpen(popup.attr("data-popup-option-id"),sessionID,"popup"),"never_show"==displayOption.afterClose.action&&isPopupShowedInLifeTime(popup))return void console.log("popup not showing because it was set to be shown once");if(_.contains(showedPopupInCurrentSession,displayOption.popupID))return void console.log("popup not showing because it was shown in current session");if(recordPopupShowed(popup),showedPopupInCurrentSession.push(displayOption.popupID),"default"!=displayOption.animation&&Bounce.isSupported()){var bounce=new Bounce;switch(display.animation){case"slide_in_left":bounce.translate({from:{x:-1e3,y:0},to:{x:0,y:0},duration:2e3});break;case"slide_in_right":bounce.translate({from:{x:1e3,y:0},to:{x:0,y:0},duration:2e3});break;case"slide_in_bottom":bounce.translate({from:{x:0,y:1e3},to:{x:0,y:0},duration:2e3});break;case"slide_in_top":bounce.translate({from:{x:0,y:-1e3},to:{x:0,y:0},duration:2e3});break;
13case"swoosh_left":
14bounce.translate({from:{x:-1e3,y:0},to:{x:0,y:0},easing:"bounce",duration:2e3}).scale({from:{x:1,y:1},to:{x:15,y:1},easing:"sway"});break;case"swoosh_right":bounce.translate({from:{x:1e3,y:0},to:{x:0,y:0},easing:"bounce",duration:2e3}).scale({from:{x:1,y:1},to:{x:15,y:1},easing:"sway"});break;case"splash_left":bounce.translate({from:{x:-1e3,y:0},to:{x:0,y:0},easing:"bounce",duration:2e3}).scale({from:{x:1,y:1},to:{x:.1,y:2.3},easing:"sway",duration:800,delay:65}).scale({from:{x:1,y:1},to:{x:5,y:1},easing:"sway",duration:300,delay:65});break;case"splash_right":bounce.translate({from:{x:1e3,y:0},to:{x:0,y:0},easing:"bounce",duration:2e3}).scale({from:{x:1,y:1},to:{x:.1,y:2.3},easing:"sway",duration:800,delay:65}).scale({from:{x:1,y:1},to:{x:5,y:1},easing:"sway",duration:300,delay:65});break;default:bounce.translate({from:{x:-2e3,y:0},to:{x:0,y:0},easing:"bounce",duration:2e3}).scale({from:{x:1,y:1},to:{x:15,y:1},easing:"sway"})}popup.show(),bounce.applyTo(popup.find(".c37-lp-popup-inner").first())}else console.log("popup show using basic animation, no bounce"),popup.show();jQuery(popup).trigger("resize"),console.log("popup showed!")}var trackingObject=trackingObject||{},showedPopupInCurrentSession=[];if(jQuery(document).on("click",".c37-lp-close-popup",function(){var popup=jQuery(this).closest(".c37-lp-popup-outer"),pageID=popup.attr("data-popup-option-id");console.log("on close, tracking object is: ",trackingObject),console.log("page id is : ",pageID);var sessionID=trackingObject[popup.attr("data-popup-option-id")];c37TrackingPopupClose(pageID,sessionID),jQuery(this).closest(".c37-lp-popup-outer").remove()}),"undefined"!=typeof howToShowUp){var display=howToShowUp;_.each(display,function(d){var popup=jQuery("#"+d.popupID);if("mouse_exits"==d.trigger)jQuery(document).on("mouseleave",function(e){console.log(e.clientY),e.clientY<100&&(console.log("showing popup on mouse leave, exit intent"),showPopup(popup,d),jQuery(window).trigger("resize"))});else if("after_page_load"==d.trigger)setTimeout(function(){console.log("showing popup on page load"),showPopup(popup,d),jQuery(window).trigger("resize")},1e3*d.delay);else if("vertical_scroll"==d.trigger){console.log("popup is set to show on vertical scroll");var scrollObject=d.scroll;if("undefined"==typeof scrollObject.trigger)return void console.error("trigger is undefined!");if("pixel"==scrollObject.trigger){var scrollListener="undefined"==typeof scrollObject.scrollEventListener||""==scrollObject.scrollEventListener?window:scrollObject.scrollEventListener;"document"==scrollListener&&(scrollListener=document),console.log(scrollObject),console.log("Scroll listener is: "+scrollListener),jQuery(scrollListener).on("scroll",function(){var distanceFromTop;distanceFromTop="undefined"!=typeof scrollObject.element&&""!=scrollObject.element?Math.abs(jQuery(scrollObject.element).offset().top):jQuery("body").scrollTop(),console.log("distance from top is: "+distanceFromTop+"px"),distanceFromTop>=scrollObject.pixel&&(console.log("showing popup on scroll"),showPopup(popup,d))})}}})}})}(),function(){jQuery(document).on("click",".c37-lp .c37-child",function(){if("undefined"!=typeof elementsActions){var page=jQuery(this).closest(".c37-lp"),pageID=page.attr("id"),parentID=jQuery(this).closest(".c37-item-element").attr("id"),formActionObject=elementsActions[pageID];if(_.isEmpty(formActionObject))return void console.log("no action");var elementAction=formActionObject[parentID];if("object"==typeof elementAction)if("open-link"==elementAction.action)console.log("open link"),elementAction["new-tab"]?window.open(elementAction.target):window.location.href=elementAction.target;else if("submit-form"==elementAction.action)jQuery(this).closest("form").submit();else if("open-popup"==elementAction.action)if(console.log("open popup"),"undefined"!=typeof c37PopupTrigger){var id="#"+c37PopupTrigger[elementAction["element-id"]];jQuery(id).show(),jQuery(id).css("display","block")}else console.log("c37 popup trigger is undefined");else"close-popup"==elementAction.action&&jQuery("#"+elementAction["element-id"]).closest(".c37-lp-popup-outer").hide()}})}(),function($){var form=$(".c37-lp form input");form.length>1&&form.parsley()}(jQuery);
15}
16
17/*
18     FILE ARCHIVED ON 02:20:10 Mar 14, 2018 AND RETRIEVED FROM THE
19     INTERNET ARCHIVE ON 10:13:22 Sep 04, 2026.
20     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
21
22     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
23     SECTION 108(a)(3)).
24*/
25/*
26playback timings (ms):
27  captures_list: 0.493
28  exclusion.robots: 0.079
29  exclusion.robots.policy: 0.07
30  esindex: 0.01
31  cdx.remote: 20.041
32  LoadShardBlock: 301.885 (3)
33  PetaboxLoader3.datanode: 177.591 (4)
34  PetaboxLoader3.resolve: 112.22 (3)
35  load_resource: 118.285
36*/

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.