function isPassive(){var e=!1;try{addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){e=!0}}))}catch(e){}return e}!function(e,t){"function"==typeof define&&define.amd?define(["module","exports"],t):"undefined"!=typeof exports?t(module,exports):(t(t={exports:{}},t.exports),e.autosize=t.exports)}(this,function(e,t){"use strict";var i,s,h="function"==typeof Map?new Map:(i=[],s=[],{has:function(e){return-1"))}function i(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",t,function(){T(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&T(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&T(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",t,r)}function r(){T.datepicker._isDisabledDatepicker((n.inline?n.dpDiv.parent():n.input)[0])||(T(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),T(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&T(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&T(this).addClass("ui-datepicker-next-hover"))}function l(e,t){for(var i in T.extend(e,t),t)null==t[i]&&(e[i]=t[i]);return e}T.extend(T.ui,{datepicker:{version:"1.12.1"}}),T.extend(e.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return l(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var i,s=e.nodeName.toLowerCase(),a="div"===s||"span"===s;e.id||(this.uuid+=1,e.id="dp"+this.uuid),(i=this._newInst(T(e),a)).settings=T.extend({},t||{}),"input"===s?this._connectDatepicker(e,i):a&&this._inlineDatepicker(e,i)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?i(T("
")):this.dpDiv}},_connectDatepicker:function(e,t){var i=T(e);t.append=T([]),t.trigger=T([]),i.hasClass(this.markerClassName)||(this._attachments(i,t),i.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(t),T.data(e,"datepicker",t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var i,s=this._get(t,"appendText"),a=this._get(t,"isRTL");t.append&&t.append.remove(),s&&(t.append=T(""+s+""),e[a?"before":"after"](t.append)),e.off("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(i=this._get(t,"showOn"))&&"both"!==i||e.on("focus",this._showDatepicker),"button"!==i&&"both"!==i||(s=this._get(t,"buttonText"),i=this._get(t,"buttonImage"),t.trigger=T(this._get(t,"buttonImageOnly")?T("").addClass(this._triggerClass).attr({src:i,alt:s,title:s}):T("").addClass(this._triggerClass).html(i?T("").attr({src:i,alt:s,title:s}):s)),e[a?"before":"after"](t.trigger),t.trigger.on("click",function(){return T.datepicker._datepickerShowing&&T.datepicker._lastInput===e[0]?T.datepicker._hideDatepicker():(T.datepicker._datepickerShowing&&T.datepicker._lastInput!==e[0]&&T.datepicker._hideDatepicker(),T.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){var t,i,s,a,n,r;this._get(e,"autoSize")&&!e.inline&&(n=new Date(2009,11,20),(r=this._get(e,"dateFormat")).match(/[DM]/)&&(t=function(e){for(a=s=i=0;ai&&(i=e[a].length,s=a);return s},n.setMonth(t(this._get(e,r.match(/MM/)?"monthNames":"monthNamesShort"))),n.setDate(t(this._get(e,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-n.getDay())),e.input.attr("size",this._formatDate(e,n).length))},_inlineDatepicker:function(e,t){var i=T(e);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(t.dpDiv),T.data(e,"datepicker",t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,i,s,a){var n,r=this._dialogInst;return r||(this.uuid+=1,n="dp"+this.uuid,this._dialogInput=T(""),this._dialogInput.on("keydown",this._doKeyDown),T("body").append(this._dialogInput),(r=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},T.data(this._dialogInput[0],"datepicker",r)),l(r.settings,s||{}),t=t&&t.constructor===Date?this._formatDate(r,t):t,this._dialogInput.val(t),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(n=document.documentElement.clientWidth,s=document.documentElement.clientHeight,t=document.documentElement.scrollLeft||document.body.scrollLeft,a=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[n/2-100+t,s/2-150+a]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),r.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),T.blockUI&&T.blockUI(this.dpDiv),T.data(this._dialogInput[0],"datepicker",r),this},_destroyDatepicker:function(e){var t,i=T(e),s=T.data(e,"datepicker");i.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),T.removeData(e,"datepicker"),"input"===t?(s.append.remove(),s.trigger.remove(),i.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||i.removeClass(this.markerClassName).empty(),n===s&&(n=null))},_enableDatepicker:function(t){var e,i=T(t),s=T.data(t,"datepicker");i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,s.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==e&&"span"!==e||((i=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=T.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,i=T(t),s=T.data(t,"datepicker");i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,s.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==e&&"span"!==e||((i=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),i.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=T.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;to&&sl&&at;)--G<0&&(G=11,j--);for(e.drawMonth=G,e.drawYear=j,X=this._get(e,"prevText"),X=N?this.formatDate(X,this._daylightSavingAdjust(new Date(j,G-L,1)),this._getFormatConfig(e)):X,i=this._canAdjustMonth(e,-1,j,G)?""+X+"":$?"":""+X+"",X=this._get(e,"nextText"),X=N?this.formatDate(X,this._daylightSavingAdjust(new Date(j,G+L,1)),this._getFormatConfig(e)):X,s=this._canAdjustMonth(e,1,j,G)?""+X+"":$?"":""+X+"",$=this._get(e,"currentText"),X=this._get(e,"gotoCurrent")&&e.currentDay?H:Y,$=N?this.formatDate($,X,this._getFormatConfig(e)):$,N=e.inline?"":"",N=O?"
"+(A?N:"")+(this._isInRange(e,X)?"":"")+(A?"":N)+"
":"",a=parseInt(this._get(e,"firstDay"),10),a=isNaN(a)?0:a,n=this._get(e,"showWeek"),r=this._get(e,"dayNames"),o=this._get(e,"dayNamesMin"),l=this._get(e,"monthNames"),d=this._get(e,"monthNamesShort"),h=this._get(e,"beforeShowDay"),c=this._get(e,"showOtherMonths"),p=this._get(e,"selectOtherMonths"),u=this._getDefaultDate(e),f="",g=0;g"+(/all|left/.test(w)&&0===g?A?s:i:"")+(/all|right/.test(w)&&0===g?A?i:s:"")+this._generateMonthYearHeader(e,G,j,F,R,0",T=n?"":"",m=0;m<7;m++)T+="";for(x+=T+"",C=this._getDaysInMonth(j,G),j===e.selectedYear&&G===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,C)),S=(this._getFirstDayOfMonth(j,G)-a+7)%7,C=Math.ceil((S+C)/7),k=W&&this.maxRows>C?this.maxRows:C,this.maxRows=k,_=this._daylightSavingAdjust(new Date(j,G,1-S)),M=0;M",D=n?"":"",m=0;m<7;m++)z=h?h.apply(e.input?e.input[0]:null,[_]):[!0,""],I=(P=_.getMonth()!==G)&&!p||!z[0]||F&&_"+(P&&!c?" ":I?""+_.getDate()+"":""+_.getDate()+"")+"",_.setDate(_.getDate()+1),_=this._daylightSavingAdjust(_);x+=D+""}11<++G&&(G=0,j++),v+=x+="
"+this._get(e,"weekHeader")+""+o[E]+"
"+this._get(e,"calculateWeek")(_)+"
"+(W?""+(0":""):"")}f+=v}return f+=N,e._keyEvent=!1,f},_generateMonthYearHeader:function(e,t,i,s,a,n,r,o){var l,d,h,c,p,u,f,m=this._get(e,"changeMonth"),g=this._get(e,"changeYear"),v=this._get(e,"showMonthAfterYear"),y="
",b="";if(n||!m)b+=""+r[t]+"";else{for(l=s&&s.getFullYear()===i,d=a&&a.getFullYear()===i,b+=""}if(v||(y+=b+(!n&&m&&g?"":" ")),!e.yearshtml)if(e.yearshtml="",n||!g)y+=""+i+"";else{for(c=this._get(e,"yearRange").split(":"),p=(new Date).getFullYear(),u=(r=function(e){e=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?p+parseInt(e,10):parseInt(e,10);return isNaN(e)?p:e})(c[0]),f=Math.max(u,r(c[1]||"")),u=s?Math.max(u,s.getFullYear()):u,f=a?Math.min(f,a.getFullYear()):f,e.yearshtml+="",y+=e.yearshtml,e.yearshtml=null}return y+=this._get(e,"yearSuffix"),v&&(y+=(!n&&m&&g?"":" ")+b),y+="
"},_adjustInstDate:function(e,t,i){var s=e.selectedYear+("Y"===i?t:0),a=e.selectedMonth+("M"===i?t:0),t=Math.min(e.selectedDay,this._getDaysInMonth(s,a))+("D"===i?t:0),t=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(s,a,t)));e.selectedDay=t.getDate(),e.drawMonth=e.selectedMonth=t.getMonth(),e.drawYear=e.selectedYear=t.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),e=this._getMinMaxDate(e,"max"),t=i&&t=i.getTime())&&(!s||t.getTime()<=s.getTime())&&(!a||t.getFullYear()>=a)&&(!n||t.getFullYear()<=n)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,s){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);t=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(s,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),t,this._getFormatConfig(e))}}),T.fn.datepicker=function(e){if(!this.length)return this;T.datepicker.initialized||(T(document).on("mousedown",T.datepicker._checkExternalClick),T.datepicker.initialized=!0),0===T("#"+T.datepicker._mainDivId).length&&T("body").append(T.datepicker.dpDiv);var t=Array.prototype.slice.call(arguments,1);return"string"==typeof e&&("isDisabled"===e||"getDate"===e||"widget"===e)||"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?T.datepicker["_"+e+"Datepicker"].apply(T.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?T.datepicker["_"+e+"Datepicker"].apply(T.datepicker,[this].concat(t)):T.datepicker._attachDatepicker(this,e)})},T.datepicker=new e,T.datepicker.initialized=!1,T.datepicker.uuid=(new Date).getTime(),T.datepicker.version="1.12.1";T.datepicker}),function(n,r,p){var c=n.requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame||n.oRequestAnimationFrame||n.msRequestAnimationFrame||function(e){n.setTimeout(e,1e3/60)},u=function(){var s={},a=r.createElement("div").style,t=function(){for(var e=["t","webkitT","MozT","msT","OT"],t=0,i=e.length;ti+this.options.directionLockThreshold?this.directionLocked="h":i>=t+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)e.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);a=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)e.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);s=0}s=this.hasHorizontalScroll?s:0,a=this.hasVerticalScroll?a:0,t=this.x+s,e=this.y+a,(0-this.scrollerWidth;){for(this.pages[o]=[],a=e=0;a>-this.scrollerHeight;)this.pages[o][e]={x:p.max(d,this.maxScrollX),y:p.max(a,this.maxScrollY),width:h,height:c,cx:d-i,cy:a-s},a-=c,e++;d-=h,o++}else for(e=(n=this.options.snap).length,t=-1;othis.maxScrollX&&l++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1==0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=p.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=p.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var e=this.options.snapSpeed||p.max(p.max(p.min(p.abs(this.x-this.startX),1e3),p.min(p.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,e)})},_nearestSnap:function(e,t){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var i=0,s=this.pages.length,a=0;if(p.abs(e-this.absStartX)=this.pages[i][0].cx){e=this.pages[i][0].x;break}for(s=this.pages[i].length;a=this.pages[0][a].cy){t=this.pages[0][a].y;break}return i==this.currentPage.pageX&&((i+=this.directionX)<0?i=0:i>=this.pages.length&&(i=this.pages.length-1),e=this.pages[i][0].x),a==this.currentPage.pageY&&((a+=this.directionY)<0?a=0:a>=this.pages[0].length&&(a=this.pages[0].length-1),t=this.pages[0][a].y),{x:e,y:t,pageX:i,pageY:a}},goToPage:function(e,t,i,s){s=s||this.options.bounceEasing,e>=this.pages.length?e=this.pages.length-1:e<0&&(e=0),t>=this.pages[e].length?t=this.pages[e].length-1:t<0&&(t=0);var a=this.pages[e][t].x,n=this.pages[e][t].y;i=void 0===i?this.options.snapSpeed||p.max(p.max(p.min(p.abs(a-this.x),1e3),p.min(p.abs(n-this.y),1e3)),300):i,this.currentPage={x:a,y:n,pageX:e,pageY:t},this.scrollTo(a,n,i,s)},next:function(e,t){var i=this.currentPage.pageX,s=this.currentPage.pageY;++i>=this.pages.length&&this.hasVerticalScroll&&(i=0,s++),this.goToPage(i,s,e,t)},prev:function(e,t){var i=this.currentPage.pageX,s=this.currentPage.pageY;--i<0&&this.hasVerticalScroll&&(i=0,s--),this.goToPage(i,s,e,t)},_initKeys:function(e){var t,i={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(t in this.options.keyBindings)"string"==typeof this.options.keyBindings[t]&&(this.options.keyBindings[t]=this.options.keyBindings[t].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(t in i)this.options.keyBindings[t]=this.options.keyBindings[t]||i[t];u.addEvent(n,"keydown",this),this.on("destroy",function(){u.removeEvent(n,"keydown",this)})},_key:function(e){if(this.enabled){var t,i=this.options.snap,s=i?this.currentPage.pageX:this.x,a=i?this.currentPage.pageY:this.y,n=u.getTime(),r=this.keyTime||0;switch(this.options.useTransition&&this.isInTransition&&(t=this.getComputedPosition(),this._translate(p.round(t.x),p.round(t.y)),this.isInTransition=!1),this.keyAcceleration=n-r<200?p.min(this.keyAcceleration+.25,50):0,e.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?s+=i?1:this.wrapperWidth:a+=i?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?s-=i?1:this.wrapperWidth:a-=i?1:this.wrapperHeight;break;case this.options.keyBindings.end:s=i?this.pages.length-1:this.maxScrollX,a=i?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:a=s=0;break;case this.options.keyBindings.left:s+=i?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:a+=i?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:s-=i?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:a-=i?1:5+this.keyAcceleration>>0;break;default:return}i?this.goToPage(s,a):(0this.maxBoundaryX?e="scale"==this.options.shrink?(this.width=p.max(this.indicatorWidth-(e-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",this.maxPosX+this.indicatorWidth-this.width):this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),tthis.maxBoundaryY?t="scale"==this.options.shrink?(this.height=p.max(this.indicatorHeight-3*(t-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",this.maxPosY+this.indicatorHeight-this.height):this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=e,this.y=t,this.scroller.options.useTransform?this.indicatorStyle[u.style.transform]="translate("+e+"px,"+t+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=e+"px",this.indicatorStyle.top=t+"px")},_pos:function(e,t){e<0?e=0:e>this.maxPosX&&(e=this.maxPosX),t<0?t=0:t>this.maxPosY&&(t=this.maxPosY),e=this.options.listenX?p.round(e/this.sizeRatioX):this.scroller.x,t=this.options.listenY?p.round(t/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(e,t)},fade:function(e,t){var i;t&&!this.visible||(clearTimeout(this.fadeTimeout),this.fadeTimeout=null,i=e?250:500,t=e?0:300,e=e?"1":"0",this.wrapperStyle[u.style.transitionDuration]=i+"ms",this.fadeTimeout=setTimeout(function(e){this.wrapperStyle.opacity=e,this.visible=+e}.bind(this,e),t))}},e.utils=u,"undefined"!=typeof module&&module.exports?module.exports=e:"function"==typeof define&&define.amd?define(function(){return e}):n.IScroll=e}(window,document,Math),function(l){l.fn.videoModal=function(e){var t=l.extend({},l.fn.videoModal.defaults,e);if(!(this.length<=0)){l("body").append(t.templates.popup);var e=this.closest(".info"),i=e.find(".tit").text(),s=e.find(".desc").text(),a=e.find(".date").html(),n=e.find(".src").text(),r=l(".video-modal-area"),o={tit:r.find(".tit"),desc:r.find(".desc"),date:r.find(".date"),iframe:r.find("iframe")},e=r.find(".btn-close");return this.click(function(){o.tit.text(i),o.desc.text(s),o.date.html(a),o.iframe.attr("src",n+t.videoOption),l("body").append(t.templates.dim),r.show()}),e.click(function(){o.tit.text(""),o.desc.text(""),o.date.html(""),o.iframe.attr("src",""),l("body").find(".common-dim").remove(),r.hide()}),this}},l.fn.videoModal.defaults={templates:{popup:'',dim:''},videoOption:"?controls=0"}}(jQuery),function(t,i){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(e){return i(t,e)}):"object"==typeof module&&module.exports?module.exports=i(t,require("jquery")):t.jQueryBridget=i(t,t.jQuery)}(window,function(e,t){"use strict";function i(l,d,h){(h=h||t||e.jQuery)&&(d.prototype.option||(d.prototype.option=function(e){h.isPlainObject(e)&&(this.options=h.extend(!0,this.options,e))}),h.fn[l]=function(e){if("string"!=typeof e)return o=e,this.each(function(e,t){var i=h.data(t,l);i?(i.option(o),i._init()):(i=new d(t,o),h.data(t,l,i))}),this;var s,a,n,r,o,t=c.call(arguments,1);return a=t,r="$()."+l+'("'+(s=e)+'")',(e=this).each(function(e,t){var i=h.data(t,l);i?(t=i[s])&&"_"!=s.charAt(0)?(i=t.apply(i,a),n=void 0===n?i:n):p(r+" is not a valid method"):p(l+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==n?n:e},s(h))}function s(e){!e||e&&e.bridget||(e.bridget=i)}var c=Array.prototype.slice,a=e.console,p=void 0===a?function(){}:function(e){a.error(e)};return s(t||e.jQuery),i}),function(e,t){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var i=this._events=this._events||{},e=i[e]=i[e]||[];return-1==e.indexOf(t)&&e.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var i=this._onceEvents=this._onceEvents||{};return(i[e]=i[e]||{})[t]=!0,this}},t.off=function(e,t){e=this._events&&this._events[e];if(e&&e.length){t=e.indexOf(t);return-1!=t&&e.splice(t,1),this}},t.emitEvent=function(e,t){var i=this._events&&this._events[e];if(i&&i.length){i=i.slice(0),t=t||[];for(var s=this._onceEvents&&this._onceEvents[e],a=0;a