var Application;if(function(n){function i(n,t){for(var i=window,r=(n||"").split(".");i&&r.length;)i=i[r.shift()];return typeof i=="function"?i:(t.push(n),Function.constructor.apply(null,t))}function u(n){return n==="GET"||n==="POST"}function o(n,t){u(t)||n.setRequestHeader("X-HTTP-Method-Override",t)}function s(t,i,r){var u;r.indexOf("application/x-javascript")===-1&&(u=(t.getAttribute("data-ajax-mode")||"").toUpperCase(),n(t.getAttribute("data-ajax-update")).each(function(t,r){var f;switch(u){case"BEFORE":f=r.firstChild;n("<div />").html(i).contents().each(function(){r.insertBefore(this,f)});break;case"AFTER":n("<div />").html(i).contents().each(function(){r.appendChild(this)});break;case"REPLACE-WITH":n(r).replaceWith(i);break;default:n(r).html(i)}}))}function f(t,r){var e,h,f,c;(e=t.getAttribute("data-ajax-confirm"),!e||window.confirm(e))&&(h=n(t.getAttribute("data-ajax-loading")),c=parseInt(t.getAttribute("data-ajax-loading-duration"),10)||0,n.extend(r,{type:t.getAttribute("data-ajax-method")||undefined,url:t.getAttribute("data-ajax-url")||undefined,cache:!!t.getAttribute("data-ajax-cache"),beforeSend:function(n){var r;return o(n,f),r=i(t.getAttribute("data-ajax-begin"),["xhr"]).apply(t,arguments),r!==!1&&h.show(c),r},complete:function(){h.hide(c);i(t.getAttribute("data-ajax-complete"),["xhr","status"]).apply(t,arguments)},success:function(n,r,u){s(t,n,u.getResponseHeader("Content-Type")||"text/html");i(t.getAttribute("data-ajax-success"),["data","status","xhr"]).apply(t,arguments)},error:function(){i(t.getAttribute("data-ajax-failure"),["xhr","status","error"]).apply(t,arguments)}}),r.data.push({name:"X-Requested-With",value:"XMLHttpRequest"}),f=r.type.toUpperCase(),u(f)||(r.type="POST",r.data.push({name:"X-HTTP-Method-Override",value:f})),n.ajax(r))}function h(t){var i=n(t).data(e);return!i||!i.validate||i.validate()}var t="unobtrusiveAjaxClick",r="unobtrusiveAjaxClickTarget",e="unobtrusiveValidation";n(document).on("click","a[data-ajax=true]",function(n){n.preventDefault();f(this,{url:this.href,type:"GET",data:[]})});n(document).on("click","form[data-ajax=true] input[type=image]",function(i){var r=i.target.name,u=n(i.target),f=n(u.parents("form")[0]),e=u.offset();f.data(t,[{name:r+".x",value:Math.round(i.pageX-e.left)},{name:r+".y",value:Math.round(i.pageY-e.top)}]);setTimeout(function(){f.removeData(t)},0)});n(document).on("click","form[data-ajax=true] :submit",function(i){var f=i.currentTarget.name,e=n(i.target),u=n(e.parents("form")[0]);u.data(t,f?[{name:f,value:i.currentTarget.value}]:[]);u.data(r,e);setTimeout(function(){u.removeData(t);u.removeData(r)},0)});n(document).on("submit","form[data-ajax=true]",function(i){var e=n(this).data(t)||[],u=n(this).data(r),o=u&&u.hasClass("cancel");(i.preventDefault(),o||h(this))&&f(this,{url:this.action,type:this.method||"GET",data:e.concat(n(this).serializeArray())})})}(jQuery),function(n){n.extend(n.fn,{validate:function(t){if(this.length){var i=n.data(this[0],"validator");return i?i:(i=new n.validator(t,this[0]),n.data(this[0],"validator",i),i.settings.onsubmit&&(this.find("input, button").filter(".cancel").click(function(){i.cancelSubmit=!0}),i.settings.submitHandler&&this.find("input, button").filter(":submit").click(function(){i.submitButton=this}),this.submit(function(t){function r(){if(i.settings.submitHandler){if(i.submitButton)var t=n("<input type='hidden'/>").attr("name",i.submitButton.name).val(i.submitButton.value).appendTo(i.currentForm);return i.settings.submitHandler.call(i,i.currentForm),i.submitButton&&t.remove(),!1}return!0}return(i.settings.debug&&t.preventDefault(),i.cancelSubmit)?(i.cancelSubmit=!1,r()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):r():(i.focusInvalid(),!1)})),i)}t&&t.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing")},valid:function(){if(n(this[0]).is("form"))return this.validate().form();var t=!0,i=n(this[0].form).validate();return this.each(function(){t&=i.element(this)}),t},removeAttrs:function(t){var i={},r=this;return n.each(t.split(/\s/),function(n,t){i[t]=r.attr(t);r.removeAttr(t)}),i},rules:function(t,i){var r=this[0],e;if(t){var u=n.data(r.form,"validator").settings,o=u.rules,f=n.validator.staticRules(r);switch(t){case"add":n.extend(f,n.validator.normalizeRule(i));o[r.name]=f;i.messages&&(u.messages[r.name]=n.extend(u.messages[r.name],i.messages));break;case"remove":return i?(e={},n.each(i.split(/\s/),function(n,t){e[t]=f[t];delete f[t]}),e):(delete o[r.name],f)}}return r=n.validator.normalizeRules(n.extend({},n.validator.metadataRules(r),n.validator.classRules(r),n.validator.attributeRules(r),n.validator.staticRules(r)),r),r.required&&(u=r.required,delete r.required,r=n.extend({required:u},r)),r}});n.extend(n.expr[":"],{blank:function(t){return!n.trim(""+t.value)},filled:function(t){return!!n.trim(""+t.value)},unchecked:function(n){return!n.checked}});n.validator=function(t,i){this.settings=n.extend(!0,{},n.validator.defaults,t);this.currentForm=i;this.init()};n.validator.format=function(t,i){return arguments.length==1?function(){var i=n.makeArray(arguments);return i.unshift(t),n.validator.format.apply(this,i)}:(arguments.length>2&&i.constructor!=Array&&(i=n.makeArray(arguments).slice(1)),i.constructor!=Array&&(i=[i]),n.each(i,function(n,i){t=t.replace(RegExp("\\{"+n+"\\}","g"),i)}),t)};n.extend(n.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:n([]),errorLabelContainer:n([]),onsubmit:!0,ignore:[],ignoreTitle:!1,onfocusin:function(n){this.lastActive=n;this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,n,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(n)).hide())},onfocusout:function(n){!this.checkable(n)&&(n.name in this.submitted||!this.optional(n))&&this.element(n)},onkeyup:function(n){(n.name in this.submitted||n==this.lastElement)&&this.element(n)},onclick:function(n){n.name in this.submitted?this.element(n):n.parentNode.name in this.submitted&&this.element(n.parentNode)},highlight:function(t,i,r){n(t).addClass(i).removeClass(r)},unhighlight:function(t,i,r){n(t).removeClass(i).addClass(r)}},setDefaults:function(t){n.extend(n.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:n.validator.format("Please enter no more than {0} characters."),minlength:n.validator.format("Please enter at least {0} characters."),rangelength:n.validator.format("Please enter a value between {0} and {1} characters long."),range:n.validator.format("Please enter a value between {0} and {1}."),max:n.validator.format("Please enter a value less than or equal to {0}."),min:n.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function i(t){var i=n.data(this[0].form,"validator");t="on"+t.type.replace(/^validate/,"");i.settings[t]&&i.settings[t].call(i,this[0])}var r,t;this.labelContainer=n(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||n(this.currentForm);this.containers=n(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();r=this.groups={};n.each(this.settings.groups,function(t,i){n.each(i.split(/\s/),function(n,i){r[i]=t})});t=this.settings.rules;n.each(t,function(i,r){t[i]=n.validator.normalizeRule(r)});n(this.currentForm).validateDelegate(":text, :password, :file, select, textarea","focusin focusout keyup",i).validateDelegate(":radio, :checkbox, select, option","click",i);this.settings.invalidHandler&&n(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),n.extend(this.submitted,this.errorMap),this.invalid=n.extend({},this.errorMap),this.valid()||n(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var n=0,t=this.currentElements=this.elements();t[n];n++)this.check(t[n]);return this.valid()},element:function(t){this.lastElement=t=this.clean(t);this.prepareElement(t);this.currentElements=n(t);var i=this.check(t);return i?delete this.invalid[t.name]:this.invalid[t.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),i},showErrors:function(t){if(t){n.extend(this.errorMap,t);this.errorList=[];for(var i in t)this.errorList.push({message:t[i],element:this.findByName(i)[0]});this.successList=n.grep(this.successList,function(n){return!(n.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){n.fn.resetForm&&n(this.currentForm).resetForm();this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(n){var t=0,i;for(i in n)t++;return t},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return this.size()==0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{n(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(t){}},findLastActive:function(){var t=this.lastActive;return t&&n.grep(this.errorList,function(n){return n.element.name==t.name}).length==1&&t},elements:function(){var t=this,i={};return n([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){return(!this.name&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in i||!t.objectLength(n(this).rules()))?!1:i[this.name]=!0})},clean:function(t){return n(t)[0]},errors:function(){return n(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=n([]);this.toHide=n([]);this.currentElements=n([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},prepareElement:function(n){this.reset();this.toHide=this.errorsFor(n)},check:function(t){var i,r,u,f,e;t=this.clean(t);this.checkable(t)&&(t=this.findByName(t.name).not(this.settings.ignore)[0]);i=n(t).rules();r=!1;for(u in i){f={method:u,parameters:i[u]};try{if(e=n.validator.methods[u].call(this,t.value.replace(/\r/g,""),t,f.parameters),e=="dependency-mismatch")r=!0;else{if(r=!1,e=="pending"){this.toHide=this.toHide.not(this.errorsFor(t));return}if(!e)return this.formatAndAdd(t,f),!1}}catch(o){this.settings.debug&&window.console&&console.log("exception occured when checking element "+t.id+", check the '"+f.method+"' method",o);throw o;}}if(!r)return this.objectLength(i)&&this.successList.push(t),!0},customMetaMessage:function(t,i){if(n.metadata){var r=this.settings.meta?n(t).metadata()[this.settings.meta]:n(t).metadata();return r&&r.messages&&r.messages[i]}},customMessage:function(n,t){var i=this.settings.messages[n];return i&&(i.constructor==String?i:i[t])},findDefined:function(){for(var n=0;n<arguments.length;n++)if(arguments[n]!==undefined)return arguments[n]},defaultMessage:function(t,i){return this.findDefined(this.customMessage(t.name,i),this.customMetaMessage(t,i),!this.settings.ignoreTitle&&t.title||undefined,n.validator.messages[i],"<strong>Warning: No message defined for "+t.name+"<\/strong>")},formatAndAdd:function(n,t){var i=this.defaultMessage(n,t.method),r=/\$?\{(\d+)\}/g;typeof i=="function"?i=i.call(this,t.parameters,n):r.test(i)&&(i=jQuery.format(i.replace(r,"{$1}"),t.parameters));this.errorList.push({message:i,element:n});this.errorMap[n.name]=i;this.submitted[n.name]=i},addWrapper:function(n){return this.settings.wrapper&&(n=n.add(n.parent(this.settings.wrapper))),n},defaultShowErrors:function(){for(var t,n=0;this.errorList[n];n++)t=this.errorList[n],this.settings.highlight&&this.settings.highlight.call(this,t.element,this.settings.errorClass,this.settings.validClass),this.showLabel(t.element,t.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(n=0;this.successList[n];n++)this.showLabel(this.successList[n]);if(this.settings.unhighlight)for(n=0,t=this.validElements();t[n];n++)this.settings.unhighlight.call(this,t[n],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return n(this.errorList).map(function(){return this.element})},showLabel:function(t,i){var r=this.errorsFor(t);r.length?(r.removeClass().addClass(this.settings.errorClass),r.attr("generated")&&r.html(i)):(r=n("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(t),generated:!0}).addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(r=r.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(r).length||(this.settings.errorPlacement?this.settings.errorPlacement(r,n(t)):r.insertAfter(t)));!i&&this.settings.success&&(r.text(""),typeof this.settings.success=="string"?r.addClass(this.settings.success):this.settings.success(r));this.toShow=this.toShow.add(r)},errorsFor:function(t){var i=this.idOrName(t);return this.errors().filter(function(){return n(this).attr("for")==i})},idOrName:function(n){return this.groups[n.name]||(this.checkable(n)?n.name:n.id||n.name)},checkable:function(n){return/radio|checkbox/i.test(n.type)},findByName:function(t){var i=this.currentForm;return n(document.getElementsByName(t)).map(function(n,r){return r.form==i&&r.name==t&&r||null})},getLength:function(t,i){switch(i.nodeName.toLowerCase()){case"select":return n("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return t.length},depend:function(n,t){return this.dependTypes[typeof n]?this.dependTypes[typeof n](n,t):!0},dependTypes:{boolean:function(n){return n},string:function(t,i){return!!n(t,i.form).length},"function":function(n,t){return n(t)}},optional:function(t){return!n.validator.methods.required.call(this,n.trim(t.value),t)&&"dependency-mismatch"},startRequest:function(n){this.pending[n.name]||(this.pendingRequest++,this.pending[n.name]=!0)},stopRequest:function(t,i){this.pendingRequest--;this.pendingRequest<0&&(this.pendingRequest=0);delete this.pending[t.name];i&&this.pendingRequest==0&&this.formSubmitted&&this.form()?(n(this.currentForm).submit(),this.formSubmitted=!1):!i&&this.pendingRequest==0&&this.formSubmitted&&(n(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t){return n.data(t,"previousValue")||n.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},dateDE:{dateDE:!0},number:{number:!0},numberDE:{numberDE:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,i){t.constructor==String?this.classRuleSettings[t]=i:n.extend(this.classRuleSettings,t)},classRules:function(t){var i={};return(t=n(t).attr("class"))&&n.each(t.split(" "),function(){this in n.validator.classRuleSettings&&n.extend(i,n.validator.classRuleSettings[this])}),i},attributeRules:function(t){var i={},r,u;t=n(t);for(r in n.validator.methods)u=t.attr(r),u&&(i[r]=u);return i.maxlength&&/-1|2147483647|524288/.test(i.maxlength)&&delete i.maxlength,i},metadataRules:function(t){if(!n.metadata)return{};var i=n.data(t.form,"validator").settings.meta;return i?n(t).metadata()[i]:n(t).metadata()},staticRules:function(t){var i={},r=n.data(t.form,"validator");return r.settings.rules&&(i=n.validator.normalizeRule(r.settings.rules[t.name])||{}),i},normalizeRules:function(t,i){return n.each(t,function(r,u){if(u===!1)delete t[r];else if(u.param||u.depends){var f=!0;switch(typeof u.depends){case"string":f=!!n(u.depends,i.form).length;break;case"function":f=u.depends.call(i,i)}f?t[r]=u.param!==undefined?u.param:!0:delete t[r]}}),n.each(t,function(r,u){t[r]=n.isFunction(u)?u(i):u}),n.each(["minlength","maxlength","min","max"],function(){t[this]&&(t[this]=Number(t[this]))}),n.each(["rangelength","range"],function(){t[this]&&(t[this]=[Number(t[this][0]),Number(t[this][1])])}),n.validator.autoCreateRanges&&(t.min&&t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),t.minlength&&t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t.messages&&delete t.messages,t},normalizeRule:function(t){if(typeof t=="string"){var i={};n.each(t.split(/\s/),function(){i[this]=!0});t=i}return t},addMethod:function(t,i,r){n.validator.methods[t]=i;n.validator.messages[t]=r!=undefined?r:n.validator.messages[t];i.length<3&&n.validator.addClassRules(t,n.validator.normalizeRule(t))},methods:{required:function(t,i,r){if(!this.depend(r,i))return"dependency-mismatch";switch(i.nodeName.toLowerCase()){case"select":return(t=n(i).val())&&t.length>0;case"input":if(this.checkable(i))return this.getLength(t,i)>0;default:return n.trim(t).length>0}},remote:function(t,i,r){var f,u,e;return this.optional(i)?"dependency-mismatch":(f=this.previousValue(i),this.settings.messages[i.name]||(this.settings.messages[i.name]={}),f.originalMessage=this.settings.messages[i.name].remote,this.settings.messages[i.name].remote=f.message,r=typeof r=="string"&&{url:r}||r,this.pending[i.name])?"pending":f.old===t?f.valid:(f.old=t,u=this,this.startRequest(i),e={},e[i.name]=t,n.ajax(n.extend(!0,{url:r,mode:"abort",port:"validate"+i.name,dataType:"json",data:e,success:function(r){var o,e;u.settings.messages[i.name].remote=f.originalMessage;o=r===!0;o?(e=u.formSubmitted,u.prepareElement(i),u.formSubmitted=e,u.successList.push(i),u.showErrors()):(e={},r=r||u.defaultMessage(i,"remote"),e[i.name]=f.message=n.isFunction(r)?r(t):r,u.showErrors(e));f.valid=o;u.stopRequest(i,o)}},r)),"pending")},minlength:function(t,i,r){return this.optional(i)||this.getLength(n.trim(t),i)>=r},maxlength:function(t,i,r){return this.optional(i)||this.getLength(n.trim(t),i)<=r},rangelength:function(t,i,r){return t=this.getLength(n.trim(t),i),this.optional(i)||t>=r[0]&&t<=r[1]},min:function(n,t,i){return this.optional(t)||n>=i},max:function(n,t,i){return this.optional(t)||n<=i},range:function(n,t,i){return this.optional(t)||n>=i[0]&&n<=i[1]},email:function(n,t){return this.optional(t)||/^((([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.test(n)},url:function(n,t){return this.optional(t)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([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])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(n)},date:function(n,t){return this.optional(t)||!/Invalid|NaN/.test(new Date(n))},dateISO:function(n,t){return this.optional(t)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(n)},number:function(n,t){return this.optional(t)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(n)},digits:function(n,t){return this.optional(t)||/^\d+$/.test(n)},creditcard:function(n,t){var r;if(this.optional(t))return"dependency-mismatch";if(/[^0-9-]+/.test(n))return!1;var f=0,i=0,u=!1;for(n=n.replace(/\D/g,""),r=n.length-1;r>=0;r--)i=n.charAt(r),i=parseInt(i,10),u&&(i*=2)>9&&(i-=9),f+=i,u=!u;return f%10==0},accept:function(n,t,i){return i=typeof i=="string"?i.replace(/,/g,"|"):"png|jpe?g|gif",this.optional(t)||n.match(RegExp(".("+i+")$","i"))},equalTo:function(t,i,r){return r=n(r).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){n(i).valid()}),t==r.val()}}});n.format=n.validator.format}(jQuery),function(n){var t={},i;n.ajaxPrefilter?n.ajaxPrefilter(function(n,i,r){i=n.port;n.mode=="abort"&&(t[i]&&t[i].abort(),t[i]=r)}):(i=n.ajax,n.ajax=function(r){var u=("port"in r?r:n.ajaxSettings).port;return("mode"in r?r:n.ajaxSettings).mode=="abort"?(t[u]&&t[u].abort(),t[u]=i.apply(this,arguments)):i.apply(this,arguments)})}(jQuery),function(n){jQuery.event.special.focusin||jQuery.event.special.focusout||!document.addEventListener||n.each({focus:"focusin",blur:"focusout"},function(t,i){function r(t){return t=n.event.fix(t),t.type=i,n.event.handle.call(this,t)}n.event.special[i]={setup:function(){this.addEventListener(t,r,!0)},teardown:function(){this.removeEventListener(t,r,!0)},handler:function(t){return arguments[0]=n.event.fix(t),arguments[0].type=i,n.event.handle.apply(this,arguments)}}});n.extend(n.fn,{validateDelegate:function(t,i,r){return this.bind(i,function(i){var u=n(i.target);if(u.is(t))return r.apply(u,arguments)})}})}(jQuery),function(n){function i(n,t,i){n.rules[t]=i;n.message&&(n.messages[t]=n.message)}function h(n){return n.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}function f(n){return n.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function e(n){return n.substr(0,n.lastIndexOf(".")+1)}function o(n,t){return n.indexOf("*.")===0&&(n=n.replace("*.",t)),n}function c(t,i){var r=n(this).find("[data-valmsg-for='"+f(i[0].name)+"']"),u=r.attr("data-valmsg-replace"),e=u?n.parseJSON(u)!==!1:null;r.removeClass("field-validation-valid").addClass("field-validation-error");t.data("unobtrusiveContainer",r);e?(r.empty(),t.removeClass("input-validation-error").appendTo(r)):t.hide()}function l(t,i){var u=n(this).find("[data-valmsg-summary=true]"),r=u.find("ul");r&&r.length&&i.errorList.length&&(r.empty(),u.addClass("validation-summary-errors").removeClass("validation-summary-valid"),n.each(i.errorList,function(){n("<li />").html(this.message).appendTo(r)}))}function a(t){var i=t.data("unobtrusiveContainer"),r=i.attr("data-valmsg-replace"),u=r?n.parseJSON(r):null;i&&(i.addClass("field-validation-valid").removeClass("field-validation-error"),t.removeData("unobtrusiveContainer"),u&&i.empty())}function v(){var t=n(this),i="__jquery_unobtrusive_validation_form_reset";if(!t.data(i)){t.data(i,!0);try{t.data("validator").resetForm()}finally{t.removeData(i)}t.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors");t.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function s(t){var i=n(t),f=i.data(u),s=n.proxy(v,t),e=r.unobtrusive.options||{},o=function(i,r){var u=e[i];u&&n.isFunction(u)&&u.apply(t,r)};return f||(f={options:{errorClass:e.errorClass||"input-validation-error",errorElement:e.errorElement||"span",errorPlacement:function(){c.apply(t,arguments);o("errorPlacement",arguments)},invalidHandler:function(){l.apply(t,arguments);o("invalidHandler",arguments)},messages:{},rules:{},success:function(){a.apply(t,arguments);o("success",arguments)}},attachValidation:function(){i.off("reset."+u,s).on("reset."+u,s).validate(this.options)},validate:function(){return i.validate(),i.valid()}},i.data(u,f)),f}var r=n.validator,t,u="unobtrusiveValidation";r.unobtrusive={adapters:[],parseElement:function(t,i){var u=n(t),f=u.parents("form")[0],r,e,o;f&&(r=s(f),r.options.rules[t.name]=e={},r.options.messages[t.name]=o={},n.each(this.adapters,function(){var i="data-val-"+this.name,r=u.attr(i),s={};r!==undefined&&(i+="-",n.each(this.params,function(){s[this]=u.attr(i+this)}),this.adapt({element:t,form:f,message:r,params:s,rules:e,messages:o}))}),n.extend(e,{__dummy__:!0}),i||r.attachValidation())},parse:function(t){var i=n(t),u=i.parents().addBack().filter("form").add(i.find("form")).has("[data-val=true]");i.find("[data-val=true]").each(function(){r.unobtrusive.parseElement(this,!0)});u.each(function(){var n=s(this);n&&n.attachValidation()})}};t=r.unobtrusive.adapters;t.add=function(n,t,i){return i||(i=t,t=[]),this.push({name:n,params:t,adapt:i}),this};t.addBool=function(n,t){return this.add(n,function(r){i(r,t||n,!0)})};t.addMinMax=function(n,t,r,u,f,e){return this.add(n,[f||"min",e||"max"],function(n){var f=n.params.min,e=n.params.max;f&&e?i(n,u,[f,e]):f?i(n,t,f):e&&i(n,r,e)})};t.addSingleVal=function(n,t,r){return this.add(n,[t||"val"],function(u){i(u,r||n,u.params[t])})};r.addMethod("__dummy__",function(){return!0});r.addMethod("regex",function(n,t,i){var r;return this.optional(t)?!0:(r=new RegExp(i).exec(n),r&&r.index===0&&r[0].length===n.length)});r.addMethod("nonalphamin",function(n,t,i){var r;return i&&(r=n.match(/\W/g),r=r&&r.length>=i),r});r.methods.extension?(t.addSingleVal("accept","mimtype"),t.addSingleVal("extension","extension")):t.addSingleVal("extension","extension","accept");t.addSingleVal("regex","pattern");t.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url");t.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range");t.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength");t.add("equalto",["other"],function(t){var r=e(t.element.name),u=t.params.other,s=o(u,r),h=n(t.form).find(":input").filter("[name='"+f(s)+"']")[0];i(t,"equalTo",h)});t.add("required",function(n){(n.element.tagName.toUpperCase()!=="INPUT"||n.element.type.toUpperCase()!=="CHECKBOX")&&i(n,"required",!0)});t.add("remote",["url","type","additionalfields"],function(t){var r={url:t.params.url,type:t.params.type||"GET",data:{}},u=e(t.element.name);n.each(h(t.params.additionalfields||t.element.name),function(i,e){var s=o(e,u);r.data[s]=function(){var i=n(t.form).find(":input").filter("[name='"+f(s)+"']");return i.is(":checkbox")?i.filter(":checked").val()||i.filter(":hidden").val()||"":i.is(":radio")?i.filter(":checked").val()||"":i.val()}});i(t,"remote",r)});t.add("password",["min","nonalphamin","regex"],function(n){n.params.min&&i(n,"minlength",n.params.min);n.params.nonalphamin&&i(n,"nonalphamin",n.params.nonalphamin);n.params.regex&&i(n,"regex",n.params.regex)});n(function(){r.unobtrusive.parse(document)})}(jQuery),function(){"use strict";function n(t,r){function h(n,t){return function(){return n.apply(t,arguments)}}var o,f,e,u,s;if(r=r||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=r.touchBoundary||10,this.layer=t,this.tapDelay=r.tapDelay||200,this.tapTimeout=r.tapTimeout||700,!n.notNeeded(t)){for(f=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],e=this,u=0,s=f.length;u<s;u++)e[f[u]]=h(e[f[u]],e);i&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0));t.addEventListener("click",this.onClick,!0);t.addEventListener("touchstart",this.onTouchStart,!1);t.addEventListener("touchmove",this.onTouchMove,!1);t.addEventListener("touchend",this.onTouchEnd,!1);t.addEventListener("touchcancel",this.onTouchCancel,!1);Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(n,i,r){var u=Node.prototype.removeEventListener;n==="click"?u.call(t,n,i.hijacked||i,r):u.call(t,n,i,r)},t.addEventListener=function(n,i,r){var u=Node.prototype.addEventListener;n==="click"?u.call(t,n,i.hijacked||(i.hijacked=function(n){n.propagationStopped||i(n)}),r):u.call(t,n,i,r)});typeof t.onclick=="function"&&(o=t.onclick,t.addEventListener("click",function(n){o(n)},!1),t.onclick=null)}}var r=navigator.userAgent.indexOf("Windows Phone")>=0,i=navigator.userAgent.indexOf("Android")>0&&!r,t=/iP(ad|hone|od)/.test(navigator.userAgent)&&!r,u=t&&/OS 4_\d(_\d)?/.test(navigator.userAgent),f=t&&/OS [6-7]_\d/.test(navigator.userAgent),e=navigator.userAgent.indexOf("BB10")>0;n.prototype.needsClick=function(n){switch(n.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(n.disabled)return!0;break;case"input":if(t&&n.type==="file"||n.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(n.className)};n.prototype.needsFocus=function(n){switch(n.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!i;case"input":switch(n.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!n.disabled&&!n.readOnly;default:return/\bneedsfocus\b/.test(n.className)}};n.prototype.sendClick=function(n,t){var r,i;document.activeElement&&document.activeElement!==n&&document.activeElement.blur();i=t.changedTouches[0];r=document.createEvent("MouseEvents");r.initMouseEvent(this.determineEventType(n),!0,!0,window,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null);r.forwardedTouchEvent=!0;n.dispatchEvent(r)};n.prototype.determineEventType=function(n){return i&&n.tagName.toLowerCase()==="select"?"mousedown":"click"};n.prototype.focus=function(n){var i;t&&n.setSelectionRange&&n.type.indexOf("date")!==0&&n.type!=="time"&&n.type!=="month"?(i=n.value.length,n.setSelectionRange(i,i)):n.focus()};n.prototype.updateScrollParent=function(n){var i,t;if(i=n.fastClickScrollParent,!i||!i.contains(n)){t=n;do{if(t.scrollHeight>t.offsetHeight){i=t;n.fastClickScrollParent=t;break}t=t.parentElement}while(t)}i&&(i.fastClickLastScrollTop=i.scrollTop)};n.prototype.getTargetElementFromEventTarget=function(n){return n.nodeType===Node.TEXT_NODE?n.parentNode:n};n.prototype.onTouchStart=function(n){var r,i,f;if(n.targetTouches.length>1)return!0;if(r=this.getTargetElementFromEventTarget(n.target),i=n.targetTouches[0],t){if(f=window.getSelection(),f.rangeCount&&!f.isCollapsed)return!0;if(!u){if(i.identifier&&i.identifier===this.lastTouchIdentifier)return n.preventDefault(),!1;this.lastTouchIdentifier=i.identifier;this.updateScrollParent(r)}}return this.trackingClick=!0,this.trackingClickStart=n.timeStamp,this.targetElement=r,this.touchStartX=i.pageX,this.touchStartY=i.pageY,n.timeStamp-this.lastClickTime<this.tapDelay&&n.preventDefault(),!0};n.prototype.touchHasMoved=function(n){var t=n.changedTouches[0],i=this.touchBoundary;return Math.abs(t.pageX-this.touchStartX)>i||Math.abs(t.pageY-this.touchStartY)>i?!0:!1};n.prototype.onTouchMove=function(n){return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(n.target)||this.touchHasMoved(n))&&(this.trackingClick=!1,this.targetElement=null),!0):!0};n.prototype.findControl=function(n){return n.control!==undefined?n.control:n.htmlFor?document.getElementById(n.htmlFor):n.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")};n.prototype.onTouchEnd=function(n){var s,c,e,o,h,r=this.targetElement;if(!this.trackingClick)return!0;if(n.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(n.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=n.timeStamp,c=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,f&&(h=n.changedTouches[0],r=document.elementFromPoint(h.pageX-window.pageXOffset,h.pageY-window.pageYOffset)||r,r.fastClickScrollParent=this.targetElement.fastClickScrollParent),e=r.tagName.toLowerCase(),e==="label"){if(s=this.findControl(r),s){if(this.focus(r),i)return!1;r=s}}else if(this.needsFocus(r))return n.timeStamp-c>100||t&&window.top!==window&&e==="input"?(this.targetElement=null,!1):(this.focus(r),this.sendClick(r,n),t&&e==="select"||(this.targetElement=null,n.preventDefault()),!1);return t&&!u&&(o=r.fastClickScrollParent,o&&o.fastClickLastScrollTop!==o.scrollTop)?!0:(this.needsClick(r)||(n.preventDefault(),this.sendClick(r,n)),!1)};n.prototype.onTouchCancel=function(){this.trackingClick=!1;this.targetElement=null};n.prototype.onMouse=function(n){return this.targetElement?n.forwardedTouchEvent?!0:n.cancelable?!this.needsClick(this.targetElement)||this.cancelNextClick?(n.stopImmediatePropagation?n.stopImmediatePropagation():n.propagationStopped=!0,n.stopPropagation(),n.preventDefault(),!1):!0:!0:!0};n.prototype.onClick=function(n){var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):n.target.type==="submit"&&n.detail===0?!0:(t=this.onMouse(n),t||(this.targetElement=null),t)};n.prototype.destroy=function(){var n=this.layer;i&&(n.removeEventListener("mouseover",this.onMouse,!0),n.removeEventListener("mousedown",this.onMouse,!0),n.removeEventListener("mouseup",this.onMouse,!0));n.removeEventListener("click",this.onClick,!0);n.removeEventListener("touchstart",this.onTouchStart,!1);n.removeEventListener("touchmove",this.onTouchMove,!1);n.removeEventListener("touchend",this.onTouchEnd,!1);n.removeEventListener("touchcancel",this.onTouchCancel,!1)};n.notNeeded=function(n){var t,r,u,f;if(typeof window.ontouchstart=="undefined")return!0;if(r=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],r)if(i){if(t=document.querySelector("meta[name=viewport]"),t&&(t.content.indexOf("user-scalable=no")!==-1||r>31&&document.documentElement.scrollWidth<=window.outerWidth))return!0}else return!0;return e&&(u=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),u[1]>=10&&u[2]>=3&&(t=document.querySelector("meta[name=viewport]"),t&&(t.content.indexOf("user-scalable=no")!==-1||document.documentElement.scrollWidth<=window.outerWidth)))?!0:n.style.msTouchAction==="none"||n.style.touchAction==="manipulation"?!0:(f=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],f>=27&&(t=document.querySelector("meta[name=viewport]"),t&&(t.content.indexOf("user-scalable=no")!==-1||document.documentElement.scrollWidth<=window.outerWidth)))?!0:n.style.touchAction==="none"||n.style.touchAction==="manipulation"?!0:!1};n.attach=function(t,i){return new n(t,i)};typeof define=="function"&&typeof define.amd=="object"&&define.amd?define(function(){return n}):typeof module!="undefined"&&module.exports?(module.exports=n.attach,module.exports.FastClick=n):window.FastClick=n}(),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");if(+function(n){"use strict";var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher");}(jQuery),+function(n){"use strict";function t(){var i=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(void 0!==i.style[n])return{end:t[n]};return!1}n.fn.emulateTransitionEnd=function(t){var i=!1,u=this,r;n(this).one("bsTransitionEnd",function(){i=!0});return r=function(){i||n(u).trigger(n.support.transition.end)},setTimeout(r,t),this};n(function(){n.support.transition=t();n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(n){"use strict";function u(i){return this.each(function(){var r=n(this),u=r.data("bs.alert");u||r.data("bs.alert",u=new t(this));"string"==typeof i&&u[i].call(r)})}var i='[data-dismiss="alert"]',t=function(t){n(t).on("click",i,this.close)},r;t.VERSION="3.3.5";t.TRANSITION_DURATION=150;t.prototype.close=function(i){function e(){r.detach().trigger("closed.bs.alert").remove()}var f=n(this),u=f.attr("data-target"),r;u||(u=f.attr("href"),u=u&&u.replace(/.*(?=#[^\s]*$)/,""));r=n(u);i&&i.preventDefault();r.length||(r=f.closest(".alert"));r.trigger(i=n.Event("close.bs.alert"));i.isDefaultPrevented()||(r.removeClass("in"),n.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e())};r=n.fn.alert;n.fn.alert=u;n.fn.alert.Constructor=t;n.fn.alert.noConflict=function(){return n.fn.alert=r,this};n(document).on("click.bs.alert.data-api",i,t.prototype.close)}(jQuery),+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.button"),f="object"==typeof i&&i;r||u.data("bs.button",r=new t(this,f));"toggle"==i?r.toggle():i&&r.setState(i)})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.isLoading=!1},r;t.VERSION="3.3.5";t.DEFAULTS={loadingText:"loading..."};t.prototype.setState=function(t){var r="disabled",i=this.$element,f=i.is("input")?"val":"html",u=i.data();t+="Text";null==u.resetText&&i.data("resetText",i[f]());setTimeout(n.proxy(function(){i[f](null==u[t]?this.options[t]:u[t]);"loadingText"==t?(this.isLoading=!0,i.addClass(r).attr(r,r)):this.isLoading&&(this.isLoading=!1,i.removeClass(r).removeAttr(r))},this),0)};t.prototype.toggle=function(){var t=!0,i=this.$element.closest('[data-toggle="buttons"]'),n;i.length?(n=this.$element.find("input"),"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),i.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"))};r=n.fn.button;n.fn.button=i;n.fn.button.Constructor=t;n.fn.button.noConflict=function(){return n.fn.button=r,this};n(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var r=n(t.target);r.hasClass("btn")||(r=r.closest(".btn"));i.call(r,"toggle");n(t.target).is('input[type="radio"]')||n(t.target).is('input[type="checkbox"]')||t.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){n(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.carousel"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i),e="string"==typeof i?i:f.slide;r||u.data("bs.carousel",r=new t(this,f));"number"==typeof i?r.to(i):e?r[e]():f.interval&&r.pause().cycle()})}var t=function(t,i){this.$element=n(t);this.$indicators=this.$element.find(".carousel-indicators");this.options=i;this.paused=null;this.sliding=null;this.interval=null;this.$active=null;this.$items=null;this.options.keyboard&&this.$element.on("keydown.bs.carousel",n.proxy(this.keydown,this));"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",n.proxy(this.pause,this)).on("mouseleave.bs.carousel",n.proxy(this.cycle,this))},u,r;t.VERSION="3.3.5";t.TRANSITION_DURATION=600;t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0};t.prototype.keydown=function(n){if(!/input|textarea/i.test(n.target.tagName)){switch(n.which){case 37:this.prev();break;case 39:this.next();break;default:return}n.preventDefault()}};t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(n.proxy(this.next,this),this.options.interval)),this};t.prototype.getItemIndex=function(n){return this.$items=n.parent().children(".item"),this.$items.index(n||this.$active)};t.prototype.getItemForDirection=function(n,t){var i=this.getItemIndex(t),f="prev"==n&&0===i||"next"==n&&i==this.$items.length-1,r,u;return f&&!this.options.wrap?t:(r="prev"==n?-1:1,u=(i+r)%this.$items.length,this.$items.eq(u))};t.prototype.to=function(n){var i=this,t=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(n>this.$items.length-1)&&!(0>n))return this.sliding?this.$element.one("slid.bs.carousel",function(){i.to(n)}):t==n?this.pause().cycle():this.slide(n>t?"next":"prev",this.$items.eq(n))};t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this};t.prototype.next=function(){if(!this.sliding)return this.slide("next")};t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")};t.prototype.slide=function(i,r){var e=this.$element.find(".item.active"),u=r||this.getItemForDirection(i,e),l=this.interval,f="next"==i?"left":"right",a=this,o,s,h,c;return u.hasClass("active")?this.sliding=!1:(o=u[0],s=n.Event("slide.bs.carousel",{relatedTarget:o,direction:f}),(this.$element.trigger(s),!s.isDefaultPrevented())?((this.sliding=!0,l&&this.pause(),this.$indicators.length)&&(this.$indicators.find(".active").removeClass("active"),h=n(this.$indicators.children()[this.getItemIndex(u)]),h&&h.addClass("active")),c=n.Event("slid.bs.carousel",{relatedTarget:o,direction:f}),n.support.transition&&this.$element.hasClass("slide")?(u.addClass(i),u[0].offsetWidth,e.addClass(f),u.addClass(f),e.one("bsTransitionEnd",function(){u.removeClass([i,f].join(" ")).addClass("active");e.removeClass(["active",f].join(" "));a.sliding=!1;setTimeout(function(){a.$element.trigger(c)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(e.removeClass("active"),u.addClass("active"),this.sliding=!1,this.$element.trigger(c)),l&&this.cycle(),this):void 0)};u=n.fn.carousel;n.fn.carousel=i;n.fn.carousel.Constructor=t;n.fn.carousel.noConflict=function(){return n.fn.carousel=u,this};r=function(t){var o,r=n(this),u=n(r.attr("data-target")||(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,"")),e,f;u.hasClass("carousel")&&(e=n.extend({},u.data(),r.data()),f=r.attr("data-slide-to"),f&&(e.interval=!1),i.call(u,e),f&&u.data("bs.carousel").to(f),t.preventDefault())};n(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r);n(window).on("load",function(){n('[data-ride="carousel"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery),+function(n){"use strict";function r(t){var i,r=t.attr("data-target")||(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return n(r)}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.collapse"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i);!r&&f.toggle&&/show|hide/.test(i)&&(f.toggle=!1);r||u.data("bs.collapse",r=new t(this,f));"string"==typeof i&&r[i]()})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.$trigger=n('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]');this.transitioning=null;this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger);this.options.toggle&&this.toggle()},u;t.VERSION="3.3.5";t.TRANSITION_DURATION=350;t.DEFAULTS={toggle:!0};t.prototype.dimension=function(){var n=this.$element.hasClass("width");return n?"width":"height"};t.prototype.show=function(){var f,r,e,u,o,s;if(!this.transitioning&&!this.$element.hasClass("in")&&(r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing"),!(r&&r.length&&(f=r.data("bs.collapse"),f&&f.transitioning))&&(e=n.Event("show.bs.collapse"),this.$element.trigger(e),!e.isDefaultPrevented()))){if(r&&r.length&&(i.call(r,"hide"),f||r.data("bs.collapse",null)),u=this.dimension(),this.$element.removeClass("collapse").addClass("collapsing")[u](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[u]("");this.transitioning=0;this.$element.trigger("shown.bs.collapse")},!n.support.transition)return o.call(this);s=n.camelCase(["scroll",u].join("-"));this.$element.one("bsTransitionEnd",n.proxy(o,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[u](this.$element[0][s])}};t.prototype.hide=function(){var r,i,u;if(!this.transitioning&&this.$element.hasClass("in")&&(r=n.Event("hide.bs.collapse"),this.$element.trigger(r),!r.isDefaultPrevented()))return i=this.dimension(),this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,u=function(){this.transitioning=0;this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")},n.support.transition?void this.$element[i](0).one("bsTransitionEnd",n.proxy(u,this)).emulateTransitionEnd(t.TRANSITION_DURATION):u.call(this)};t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};t.prototype.getParent=function(){return n(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(n.proxy(function(t,i){var u=n(i);this.addAriaAndCollapsedClass(r(u),u)},this)).end()};t.prototype.addAriaAndCollapsedClass=function(n,t){var i=n.hasClass("in");n.attr("aria-expanded",i);t.toggleClass("collapsed",!i).attr("aria-expanded",i)};u=n.fn.collapse;n.fn.collapse=i;n.fn.collapse.Constructor=t;n.fn.collapse.noConflict=function(){return n.fn.collapse=u,this};n(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var u=n(this);u.attr("data-target")||t.preventDefault();var f=r(u),e=f.data("bs.collapse"),o=e?"toggle":u.data();i.call(f,o)})}(jQuery),+function(n){"use strict";function r(t){var i=t.attr("data-target"),r;return i||(i=t.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),r=i&&n(i),r&&r.length?r:t.parent()}function u(t){t&&3===t.which||(n(o).remove(),n(i).each(function(){var u=n(this),i=r(u),f={relatedTarget:this};i.hasClass("open")&&(t&&"click"==t.type&&/input|textarea/i.test(t.target.tagName)&&n.contains(i[0],t.target)||(i.trigger(t=n.Event("hide.bs.dropdown",f)),t.isDefaultPrevented()||(u.attr("aria-expanded","false"),i.removeClass("open").trigger("hidden.bs.dropdown",f))))}))}function e(i){return this.each(function(){var r=n(this),u=r.data("bs.dropdown");u||r.data("bs.dropdown",u=new t(this));"string"==typeof i&&u[i].call(r)})}var o=".dropdown-backdrop",i='[data-toggle="dropdown"]',t=function(t){n(t).on("click.bs.dropdown",this.toggle)},f;t.VERSION="3.3.5";t.prototype.toggle=function(t){var f=n(this),i,o,e;if(!f.is(".disabled, :disabled")){if(i=r(f),o=i.hasClass("open"),u(),!o){if("ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&n(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(n(this)).on("click",u),e={relatedTarget:this},i.trigger(t=n.Event("show.bs.dropdown",e)),t.isDefaultPrevented())return;f.trigger("focus").attr("aria-expanded","true");i.toggleClass("open").trigger("shown.bs.dropdown",e)}return!1}};t.prototype.keydown=function(t){var e,o,s,h,f,u;if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)&&(e=n(this),t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled"))){if(o=r(e),s=o.hasClass("open"),!s&&27!=t.which||s&&27==t.which)return 27==t.which&&o.find(i).trigger("focus"),e.trigger("click");h=" li:not(.disabled):visible a";f=o.find(".dropdown-menu"+h);f.length&&(u=f.index(t.target),38==t.which&&u>0&&u--,40==t.which&&u<f.length-1&&u++,~u||(u=0),f.eq(u).trigger("focus"))}};f=n.fn.dropdown;n.fn.dropdown=e;n.fn.dropdown.Constructor=t;n.fn.dropdown.noConflict=function(){return n.fn.dropdown=f,this};n(document).on("click.bs.dropdown.data-api",u).on("click.bs.dropdown.data-api",".dropdown form",function(n){n.stopPropagation()}).on("click.bs.dropdown.data-api",i,t.prototype.toggle).on("keydown.bs.dropdown.data-api",i,t.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",t.prototype.keydown)}(jQuery),+function(n){"use strict";function i(i,r){return this.each(function(){var f=n(this),u=f.data("bs.modal"),e=n.extend({},t.DEFAULTS,f.data(),"object"==typeof i&&i);u||f.data("bs.modal",u=new t(this,e));"string"==typeof i?u[i](r):e.show&&u.show(r)})}var t=function(t,i){this.options=i;this.$body=n(document.body);this.$element=n(t);this.$dialog=this.$element.find(".modal-dialog");this.$backdrop=null;this.isShown=null;this.originalBodyPad=null;this.scrollbarWidth=0;this.ignoreBackdropClick=!1;this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,n.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))},r;t.VERSION="3.3.5";t.TRANSITION_DURATION=300;t.BACKDROP_TRANSITION_DURATION=150;t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};t.prototype.toggle=function(n){return this.isShown?this.hide():this.show(n)};t.prototype.show=function(i){var r=this,u=n.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(u);this.isShown||u.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',n.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(t){n(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var f=n.support.transition&&r.$element.hasClass("fade"),u;r.$element.parent().length||r.$element.appendTo(r.$body);r.$element.show().scrollTop(0);r.adjustDialog();f&&r.$element[0].offsetWidth;r.$element.addClass("in");r.enforceFocus();u=n.Event("shown.bs.modal",{relatedTarget:i});f?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(u)}).emulateTransitionEnd(t.TRANSITION_DURATION):r.$element.trigger("focus").trigger(u)}))};t.prototype.hide=function(i){i&&i.preventDefault();i=n.Event("hide.bs.modal");this.$element.trigger(i);this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),n(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),n.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",n.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())};t.prototype.enforceFocus=function(){n(document).off("focusin.bs.modal").on("focusin.bs.modal",n.proxy(function(n){this.$element[0]===n.target||this.$element.has(n.target).length||this.$element.trigger("focus")},this))};t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",n.proxy(function(n){27==n.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")};t.prototype.resize=function(){this.isShown?n(window).on("resize.bs.modal",n.proxy(this.handleUpdate,this)):n(window).off("resize.bs.modal")};t.prototype.hideModal=function(){var n=this;this.$element.hide();this.backdrop(function(){n.$body.removeClass("modal-open");n.resetAdjustments();n.resetScrollbar();n.$element.trigger("hidden.bs.modal")})};t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};t.prototype.backdrop=function(i){var e=this,f=this.$element.hasClass("fade")?"fade":"",r,u;if(this.isShown&&this.options.backdrop){if(r=n.support.transition&&f,this.$backdrop=n(document.createElement("div")).addClass("modal-backdrop "+f).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",n.proxy(function(n){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(n.target===n.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;r?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):i()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),u=function(){e.removeBackdrop();i&&i()},n.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",u).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):u()):i&&i()};t.prototype.handleUpdate=function(){this.adjustDialog()};t.prototype.adjustDialog=function(){var n=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&n?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!n?this.scrollbarWidth:""})};t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})};t.prototype.checkScrollbar=function(){var n=window.innerWidth,t;n||(t=document.documentElement.getBoundingClientRect(),n=t.right-Math.abs(t.left));this.bodyIsOverflowing=document.body.clientWidth<n;this.scrollbarWidth=this.measureScrollbar()};t.prototype.setScrollbar=function(){var n=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";this.bodyIsOverflowing&&this.$body.css("padding-right",n+this.scrollbarWidth)};t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)};t.prototype.measureScrollbar=function(){var n=document.createElement("div"),t;return n.className="modal-scrollbar-measure",this.$body.append(n),t=n.offsetWidth-n.clientWidth,this.$body[0].removeChild(n),t};r=n.fn.modal;n.fn.modal=i;n.fn.modal.Constructor=t;n.fn.modal.noConflict=function(){return n.fn.modal=r,this};n(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var r=n(this),f=r.attr("href"),u=n(r.attr("data-target")||f&&f.replace(/.*(?=#[^\s]+$)/,"")),e=u.data("bs.modal")?"toggle":n.extend({remote:!/#/.test(f)&&f},u.data(),r.data());r.is("a")&&t.preventDefault();u.one("show.bs.modal",function(n){n.isDefaultPrevented()||u.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})});i.call(u,e,this)})}(jQuery),+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tooltip"),f="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.tooltip",r=new t(this,f)),"string"==typeof i&&r[i]())})}var t=function(n,t){this.type=null;this.options=null;this.enabled=null;this.timeout=null;this.hoverState=null;this.$element=null;this.inState=null;this.init("tooltip",n,t)},i;t.VERSION="3.3.5";t.TRANSITION_DURATION=150;t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}};t.prototype.init=function(t,i,r){var f,e,u,o,s;if(this.enabled=!0,this.type=t,this.$element=n(i),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&n(n.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(f=this.options.trigger.split(" "),e=f.length;e--;)if(u=f[e],"click"==u)this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this));else"manual"!=u&&(o="hover"==u?"mouseenter":"focusin",s="hover"==u?"mouseleave":"focusout",this.$element.on(o+"."+this.type,this.options.selector,n.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,n.proxy(this.leave,this)));this.options.selector?this._options=n.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()};t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.getOptions=function(t){return t=n.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t};t.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&n.each(this._options,function(n,r){i[n]!=r&&(t[n]=r)}),t};t.prototype.enter=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),t instanceof n.Event&&(i.inState["focusin"==t.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())};t.prototype.isInStateTrue=function(){for(var n in this.inState)if(this.inState[n])return!0;return!1};t.prototype.leave=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),t instanceof n.Event&&(i.inState["focusout"==t.type?"focus":"hover"]=!1),i.isInStateTrue()?void 0:(clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide())};t.prototype.show=function(){var c=n.Event("show.bs."+this.type),l,p,e,w,h;if(this.hasContent()&&this.enabled){if(this.$element.trigger(c),l=n.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),c.isDefaultPrevented()||!l)return;var u=this,r=this.tip(),a=this.getUID(this.type);this.setContent();r.attr("id",a);this.$element.attr("aria-describedby",a);this.options.animation&&r.addClass("fade");var i="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,v=/\s?auto?\s?/i,y=v.test(i);y&&(i=i.replace(v,"")||"top");r.detach().css({top:0,left:0,display:"block"}).addClass(i).data("bs."+this.type,this);this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element);this.$element.trigger("inserted.bs."+this.type);var f=this.getPosition(),o=r[0].offsetWidth,s=r[0].offsetHeight;y&&(p=i,e=this.getPosition(this.$viewport),i="bottom"==i&&f.bottom+s>e.bottom?"top":"top"==i&&f.top-s<e.top?"bottom":"right"==i&&f.right+o>e.width?"left":"left"==i&&f.left-o<e.left?"right":i,r.removeClass(p).addClass(i));w=this.getCalculatedOffset(i,f,o,s);this.applyPlacement(w,i);h=function(){var n=u.hoverState;u.$element.trigger("shown.bs."+u.type);u.hoverState=null;"out"==n&&u.leave(u)};n.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",h).emulateTransitionEnd(t.TRANSITION_DURATION):h()}};t.prototype.applyPlacement=function(t,i){var r=this.tip(),l=r[0].offsetWidth,e=r[0].offsetHeight,o=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10),h,f,u;isNaN(o)&&(o=0);isNaN(s)&&(s=0);t.top+=o;t.left+=s;n.offset.setOffset(r[0],n.extend({using:function(n){r.css({top:Math.round(n.top),left:Math.round(n.left)})}},t),0);r.addClass("in");h=r[0].offsetWidth;f=r[0].offsetHeight;"top"==i&&f!=e&&(t.top=t.top+e-f);u=this.getViewportAdjustedDelta(i,t,h,f);u.left?t.left+=u.left:t.top+=u.top;var c=/top|bottom/.test(i),a=c?2*u.left-l+h:2*u.top-e+f,v=c?"offsetWidth":"offsetHeight";r.offset(t);this.replaceArrow(a,r[0][v],c)};t.prototype.replaceArrow=function(n,t,i){this.arrow().css(i?"left":"top",50*(1-n/t)+"%").css(i?"top":"left","")};t.prototype.setContent=function(){var n=this.tip(),t=this.getTitle();n.find(".tooltip-inner")[this.options.html?"html":"text"](t);n.removeClass("fade in top bottom left right")};t.prototype.hide=function(i){function f(){"in"!=u.hoverState&&r.detach();u.$element.removeAttr("aria-describedby").trigger("hidden.bs."+u.type);i&&i()}var u=this,r=n(this.$tip),e=n.Event("hide.bs."+this.type);return this.$element.trigger(e),e.isDefaultPrevented()?void 0:(r.removeClass("in"),n.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",f).emulateTransitionEnd(t.TRANSITION_DURATION):f(),this.hoverState=null,this)};t.prototype.fixTitle=function(){var n=this.$element;(n.attr("title")||"string"!=typeof n.attr("data-original-title"))&&n.attr("data-original-title",n.attr("title")||"").attr("title","")};t.prototype.hasContent=function(){return this.getTitle()};t.prototype.getPosition=function(t){t=t||this.$element;var u=t[0],r="BODY"==u.tagName,i=u.getBoundingClientRect();null==i.width&&(i=n.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var f=r?{top:0,left:0}:t.offset(),e={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},o=r?{width:n(window).width(),height:n(window).height()}:null;return n.extend({},i,e,o,f)};t.prototype.getCalculatedOffset=function(n,t,i,r){return"bottom"==n?{top:t.top+t.height,left:t.left+t.width/2-i/2}:"top"==n?{top:t.top-r,left:t.left+t.width/2-i/2}:"left"==n?{top:t.top+t.height/2-r/2,left:t.left-i}:{top:t.top+t.height/2-r/2,left:t.left+t.width}};t.prototype.getViewportAdjustedDelta=function(n,t,i,r){var f={top:0,left:0},e,u,o,s,h,c;return this.$viewport?(e=this.options.viewport&&this.options.viewport.padding||0,u=this.getPosition(this.$viewport),/right|left/.test(n)?(o=t.top-e-u.scroll,s=t.top+e-u.scroll+r,o<u.top?f.top=u.top-o:s>u.top+u.height&&(f.top=u.top+u.height-s)):(h=t.left-e,c=t.left+e+i,h<u.left?f.left=u.left-h:c>u.right&&(f.left=u.left+u.width-c)),f):f};t.prototype.getTitle=function(){var t=this.$element,n=this.options;return t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)};t.prototype.getUID=function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n};t.prototype.tip=function(){if(!this.$tip&&(this.$tip=n(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")};t.prototype.enable=function(){this.enabled=!0};t.prototype.disable=function(){this.enabled=!1};t.prototype.toggleEnabled=function(){this.enabled=!this.enabled};t.prototype.toggle=function(t){var i=this;t&&(i=n(t.currentTarget).data("bs."+this.type),i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)));t?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)};t.prototype.destroy=function(){var n=this;clearTimeout(this.timeout);this.hide(function(){n.$element.off("."+n.type).removeData("bs."+n.type);n.$tip&&n.$tip.detach();n.$tip=null;n.$arrow=null;n.$viewport=null})};i=n.fn.tooltip;n.fn.tooltip=r;n.fn.tooltip.Constructor=t;n.fn.tooltip.noConflict=function(){return n.fn.tooltip=i,this}}(jQuery),+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.popover"),f="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.popover",r=new t(this,f)),"string"==typeof i&&r[i]())})}var t=function(n,t){this.init("popover",n,t)},i;if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.5";t.DEFAULTS=n.extend({},n.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-title"><\/h3><div class="popover-content"><\/div><\/div>'});t.prototype=n.extend({},n.fn.tooltip.Constructor.prototype);t.prototype.constructor=t;t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.setContent=function(){var n=this.tip(),i=this.getTitle(),t=this.getContent();n.find(".popover-title")[this.options.html?"html":"text"](i);n.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof t?"html":"append":"text"](t);n.removeClass("fade top bottom left right in");n.find(".popover-title").html()||n.find(".popover-title").hide()};t.prototype.hasContent=function(){return this.getTitle()||this.getContent()};t.prototype.getContent=function(){var t=this.$element,n=this.options;return t.attr("data-content")||("function"==typeof n.content?n.content.call(t[0]):n.content)};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};i=n.fn.popover;n.fn.popover=r;n.fn.popover.Constructor=t;n.fn.popover.noConflict=function(){return n.fn.popover=i,this}}(jQuery),+function(n){"use strict";function t(i,r){this.$body=n(document.body);this.$scrollElement=n(n(i).is(document.body)?window:i);this.options=n.extend({},t.DEFAULTS,r);this.selector=(this.options.target||"")+" .nav li > a";this.offsets=[];this.targets=[];this.activeTarget=null;this.scrollHeight=0;this.$scrollElement.on("scroll.bs.scrollspy",n.proxy(this.process,this));this.refresh();this.process()}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.scrollspy"),f="object"==typeof i&&i;r||u.data("bs.scrollspy",r=new t(this,f));"string"==typeof i&&r[i]()})}t.VERSION="3.3.5";t.DEFAULTS={offset:10};t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)};t.prototype.refresh=function(){var t=this,i="offset",r=0;this.offsets=[];this.targets=[];this.scrollHeight=this.getScrollHeight();n.isWindow(this.$scrollElement[0])||(i="position",r=this.$scrollElement.scrollTop());this.$body.find(this.selector).map(function(){var f=n(this),u=f.data("target")||f.attr("href"),t=/^#./.test(u)&&n(u);return t&&t.length&&t.is(":visible")&&[[t[i]().top+r,u]]||null}).sort(function(n,t){return n[0]-t[0]}).each(function(){t.offsets.push(this[0]);t.targets.push(this[1])})};t.prototype.process=function(){var n,i=this.$scrollElement.scrollTop()+this.options.offset,f=this.getScrollHeight(),e=this.options.offset+f-this.$scrollElement.height(),t=this.offsets,r=this.targets,u=this.activeTarget;if(this.scrollHeight!=f&&this.refresh(),i>=e)return u!=(n=r[r.length-1])&&this.activate(n);if(u&&i<t[0])return this.activeTarget=null,this.clear();for(n=t.length;n--;)u!=r[n]&&i>=t[n]&&(void 0===t[n+1]||i<t[n+1])&&this.activate(r[n])};t.prototype.activate=function(t){this.activeTarget=t;this.clear();var r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=n(r).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active"));i.trigger("activate.bs.scrollspy")};t.prototype.clear=function(){n(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=n.fn.scrollspy;n.fn.scrollspy=i;n.fn.scrollspy.Constructor=t;n.fn.scrollspy.noConflict=function(){return n.fn.scrollspy=r,this};n(window).on("load.bs.scrollspy.data-api",function(){n('[data-spy="scroll"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery),+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tab");r||u.data("bs.tab",r=new t(this));"string"==typeof i&&r[i]()})}var t=function(t){this.element=n(t)},u,i;t.VERSION="3.3.5";t.TRANSITION_DURATION=150;t.prototype.show=function(){var t=this.element,f=t.closest("ul:not(.dropdown-menu)"),i=t.data("target"),u;if(i||(i=t.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var r=f.find(".active:last a"),e=n.Event("hide.bs.tab",{relatedTarget:t[0]}),o=n.Event("show.bs.tab",{relatedTarget:r[0]});(r.trigger(e),t.trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(u=n(i),this.activate(t.closest("li"),f),this.activate(u,u.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:t[0]});t.trigger({type:"shown.bs.tab",relatedTarget:r[0]})}))}};t.prototype.activate=function(i,r,u){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1);i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0);o?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade");i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0);u&&u()}var f=r.find("> .active"),o=u&&n.support.transition&&(f.length&&f.hasClass("fade")||!!r.find("> .fade").length);f.length&&o?f.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e();f.removeClass("in")};u=n.fn.tab;n.fn.tab=r;n.fn.tab.Constructor=t;n.fn.tab.noConflict=function(){return n.fn.tab=u,this};i=function(t){t.preventDefault();r.call(n(this),"show")};n(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.affix"),f="object"==typeof i&&i;r||u.data("bs.affix",r=new t(this,f));"string"==typeof i&&r[i]()})}var t=function(i,r){this.options=n.extend({},t.DEFAULTS,r);this.$target=n(this.options.target).on("scroll.bs.affix.data-api",n.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",n.proxy(this.checkPositionWithEventLoop,this));this.$element=n(i);this.affixed=null;this.unpin=null;this.pinnedOffset=null;this.checkPosition()},r;t.VERSION="3.3.5";t.RESET="affix affix-top affix-bottom";t.DEFAULTS={offset:0,target:window};t.prototype.getState=function(n,t,i,r){var u=this.$target.scrollTop(),f=this.$element.offset(),e=this.$target.height();if(null!=i&&"top"==this.affixed)return i>u?"top":!1;if("bottom"==this.affixed)return null!=i?u+this.unpin<=f.top?!1:"bottom":n-r>=u+e?!1:"bottom";var o=null==this.affixed,s=o?u:f.top,h=o?e:t;return null!=i&&i>=u?"top":null!=r&&s+h>=n-r?"bottom":!1};t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var n=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-n};t.prototype.checkPositionWithEventLoop=function(){setTimeout(n.proxy(this.checkPosition,this),1)};t.prototype.checkPosition=function(){var i,e,o;if(this.$element.is(":visible")){var s=this.$element.height(),r=this.options.offset,f=r.top,u=r.bottom,h=Math.max(n(document).height(),n(document.body).height());if("object"!=typeof r&&(u=f=r),"function"==typeof f&&(f=r.top(this.$element)),"function"==typeof u&&(u=r.bottom(this.$element)),i=this.getState(h,s,f,u),this.affixed!=i){if(null!=this.unpin&&this.$element.css("top",""),e="affix"+(i?"-"+i:""),o=n.Event(e+".bs.affix"),this.$element.trigger(o),o.isDefaultPrevented())return;this.affixed=i;this.unpin="bottom"==i?this.getPinnedOffset():null;this.$element.removeClass(t.RESET).addClass(e).trigger(e.replace("affix","affixed")+".bs.affix")}"bottom"==i&&this.$element.offset({top:h-s-u})}};r=n.fn.affix;n.fn.affix=i;n.fn.affix.Constructor=t;n.fn.affix.noConflict=function(){return n.fn.affix=r,this};n(window).on("load",function(){n('[data-spy="affix"]').each(function(){var r=n(this),t=r.data();t.offset=t.offset||{};null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom);null!=t.offsetTop&&(t.offset.top=t.offsetTop);i.call(r,t)})})}(jQuery),function(n,t){function l(){r=n(this);u=n("#off-canvas-container");f=t.activeElement;i=n(r.data("target"));e=n(".off-canvas-backdrop");var l=!i.attr("aria-hidden")||i.attr("aria-hidden").toLowerCase()==="true",a=o.height(),y=n(r.data("focus-target")),p=navigator.userAgent.match(/iPhone/i)!==null&&window.screen.height===480;p&&i.height()<a&&(i.height(a).css("position","absolute"),e.height(a));r.attr("aria-expanded",l);i.attr("tabIndex",-1).toggleClass("open",l).attr("aria-hidden",!l);l&&y.length===0?i.focus():l&&y.length&&y.focus();u.addClass(c);h.addClass("off-canvas-active");o.on("keyup",function(n){n.keyCode===27&&i&&(s(),o.off("keyup"))});i.find(".close").click(function(){s()});i.on("keydown",function(n){v(n)});e.click(function(){s()})}function s(){i&&(i.toggleClass("open",!1).attr("aria-hidden",!0),r.attr("aria-expanded",!1),u.removeClass(c),h.removeClass("off-canvas-active"),f&&f.focus(),a())}function a(){f=null;i=null;e=null;u=null;r=null}function v(t){if(t.keyCode===9){var r=i.find("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").filter(":visible"),f=n(":focus"),e=r.length,u=r.index(f);t.shiftKey?u===0&&(r.last().focus(),t.preventDefault()):u===e-1&&(r.first().focus(),t.preventDefault())}}var o=n(t),h=n("body"),r,u,f,i,e,c="open";n.fn.offcanvasmenu=function(){return n(this).click(function(n){n.preventDefault();l.call(this)})};n.fn.offcanvasmenu.defaults={};n(function(){n("[data-toggle='menu']").offcanvasmenu()})}(jQuery,document),function(n){n("input.styled-inputfile").each(function(){var t=n(this),i=t.next("label"),r=i.html();t.on("change",function(n){var t="";this.files&&this.files.length>1?t=(this.getAttribute("data-multiple-caption")||"").replace("{count}",this.files.length):n.target.value&&(t=n.target.value.split("\\").pop());t?i.find("span").html(t):i.html(r)});t.on("focus",function(){t.addClass("has-focus")}).on("blur",function(){t.removeClass("has-focus")})})}(jQuery,window,document),function(n,t){"use strict";function l(){var e=t.innerWidth,u=-1,f,n,r;for(n in i)i.hasOwnProperty(n)&&(r=i[n],e>=r&&r>u&&(f=n),u=r);return f}function o(){var n=l();clearTimeout(e);n!=r&&(e=setTimeout(function(){a(n);v(n);r=n},s))}function a(t){var i="data-reorder_"+t+"";n("["+i+"]").each(function(){var t=n(this),o=t.index(),r=Number(t.attr(i)),f=t.siblings(),e=f.length;u||p();r<e?t.insertBefore(t.siblings().eq(r)):t.insertAfter(t.siblings().last())})}function v(t){var i="data-relocate_"+t;n("["+i+"]").each(function(){var t=n(this),u=t.attr(i),e=n(u);f||y();typeof t.attr("data-relocate_index_"+r)=="undefined"&&t.attr("data-relocate_index_"+r,t.index());e.append(t)})}function y(){f=!0;var t=w();n(t).each(function(){var r=n(this),f=r.parent(),t=f.attr("id"),u;t||(t=k(),f.attr("id",t));for(u in i)typeof r.attr("data-relocate_"+u)=="undefined"&&r.attr("data-relocate_"+u,"#"+t)})}function p(){u=!0;var t=b();n(t).each(function(){var t=n(this),u=t.index(),r;for(r in i)typeof t.attr("data-reorder_"+r)=="undefined"&&t.attr("data-reorder_"+r,u)})}function w(){return n.map(i,function(n,t){return"[data-relocate_"+t+"]"}).join(", ")}function b(){return n.map(i,function(n,t){return"[data-reorder_"+t+"]"}).join(", ")}function k(){return c+h++}var u=!1,f=!1,s=10,e,h=1,c="elregenid-",r="large",i={xsmall:0,small:768,medium:992,large:1200};n(function(){n(t).on("resize",function(){o()});o()});t.registerViews=function(n){i=n}}(jQuery,window),Application={},function(n,t,i,r){"use strict";function o(n){if(e[n]&&o.call(this,e[n]),typeof u[n]=="function")u[n].call(this);else if(typeof u[n]=="object"&&typeof u[n].init=="function"){var i=r.extend(!0,{},u[n]);i.init(this)}else t.console&&typeof console.error=="function"&&console.error("Non-existing enhancer: '%s' on %o",n,this)}function h(){r(".hidden-nojs").removeClass("hidden-nojs");r(i).on("click","[data-handler]",function(n){var i=r(this).attr("data-handler");this.tagName==="A"&&(n.metaKey||n.ctrlKey||n.shiftKey)||(f&&typeof f[i]=="function"?f[i].call(this,n):t.console&&typeof console.error=="function"&&console.error("Non-existing handler: '%s' on %o",i,this))})}function s(n){var t=n?r(n).find("[data-enhancer]"):r("[data-enhancer]");t.each(function(){var n=r(this).attr("data-enhancer");o.call(this,n)})}function c(){r(function(){h();s()})}var f={},u={},e={};c();n.handler=function(n,t){f[n]=t};n.enhancer=function(n,t,i){i?(u[n]=i,e[n]=t):u[n]=t};n.initEnhancer=function(n){n=typeof n=="string"?r(n):n;var t=n.attr("data-enhancer");o.call(n,t)};n.initEnhancers=function(n){n=typeof n=="string"?r(n):n;s(n)}}(Application,window,document,jQuery),function(n,t){"use strict";n.cookies={set:function(n,i,r){r=r||365;var f="",u=new Date;u.setTime(u.getTime()+r*864e5);f="; expires="+u.toGMTString();t.cookie=n+"="+i+f+"; path=/"},get:function(n){for(var u=n+"=",f=t.cookie.split(";"),i,r=0;r<f.length;r++){for(i=f[r];i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(u)===0)return i.substring(u.length,i.length)}return null},clear:function(n){this.set(n,"",-1)}}}(Application,document),$(function(n,t,i){"use strict";i.fn.resetValidation=function(){var n=this.closest("form");return n.validate().resetForm(),n.find(".input-validation-error").removeClass("input-validation-error"),n.find("[data-valmsg-summary=true]").removeClass("validation-summary-errors").addClass("validation-summary-valid").find("ul").empty(),n.find("[data-valmsg-replace]").removeClass("field-validation-error").addClass("field-validation-valid").empty(),n};i.fn.validateSilent=function(){var n=this.closest("form");return n.validate().checkForm()};i.validator.unobtrusive.adapters.addBool("requiredtrue","required");i.validator.addMethod("organisationnumber",function(n){var i,r,t;if(n=n.match(/^(?:\d{2})?(\d)(\d)(\d)(\d)(\d)(\d)[-]?(\d)(\d)(\d)(\d)$/),n==null)return!1;for(r=0,t=1;t<n.length;t++)i=parseInt(n[t]),r+=t%2==0?i:i*2%9+Math.floor(i/9)*9;return r%10==0?!0:!1});i.validator.unobtrusive.adapters.addBool("organisationnumber");i.validator.addMethod("requiredif",function(n,t,r){var f=t.name.substr(0,t.name.lastIndexOf(".")),u=f?i("[name='"+f+"."+r.othername+"']"):i("[name='"+r.othername+"']"),e=u.attr("type"),o;return(o=e==="checkbox"?u.is(":checked").toString():e==="radio"?u.filter(":checked").val():u.val(),r.othervalue===o)?i.validator.methods.required.call(this,n,t,r):!0});i.validator.unobtrusive.adapters.add("requiredif",["othername","othervalue"],function(n){n.rules.requiredif={othername:n.params.othername,othervalue:n.params.othervalue};n.messages.requiredif=n.message});i.validator.addMethod("unique",function(n,t,r){var u=!0;return i(t).closest("form").find(r).not(t).each(function(){u&&n!=null&&i(this).val().toLowerCase()===n.toLowerCase()&&(u=!1)}),u});i.validator.unobtrusive.adapters.addSingleVal("unique","selector");i.validator.addMethod("requriedyearandmonth",function(n,t,r){var u=!0,f=i(t).closest(".form-group");return i.each(r,function(n,t){var i=f.find("#"+t);i.val()||(u=!1)}),u});i.validator.unobtrusive.adapters.add("requriedyearandmonth",["yearpropertyname","monthpropertyname"],function(n){n.rules.requriedyearandmonth={yearpropertyname:n.params.yearpropertyname,monthpropertyname:n.params.monthpropertyname};n.messages.requriedyearandmonth=n.message})}(window,Application,jQuery)),function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof module=="object"&&module.exports?n(require("jquery")):n(jQuery)}(function(n){function v(t){var i={},r=/^jQuery\d+$/;return n.each(t.attributes,function(n,t){t.specified&&!r.test(t.name)&&(i[t.name]=t.value)}),i}function r(i,r){var e=this,f=n(this);if(e.value===f.attr(u?"placeholder-x":"placeholder")&&f.hasClass(t.customClass))if(e.value="",f.removeClass(t.customClass),f.data("placeholder-password")){if(f=f.hide().nextAll('input[type="password"]:first').show().attr("id",f.removeAttr("id").data("placeholder-id")),i===!0)return f[0].value=r,r;f.focus()}else e==a()&&e.select()}function s(i){var e,o=this,f=n(this),h=o.id,s;if(!i||i.type!=="blur"||!f.hasClass(t.customClass))if(o.value===""){if(o.type==="password"){if(!f.data("placeholder-textinput")){try{e=f.clone().prop({type:"text"})}catch(c){e=n("<input>").attr(n.extend(v(this),{type:"text"}))}e.removeAttr("name").data({"placeholder-enabled":!0,"placeholder-password":f,"placeholder-id":h}).bind("focus.placeholder",r);f.data({"placeholder-textinput":e,"placeholder-id":h}).before(e)}o.value="";f=f.removeAttr("id").hide().prevAll('input[type="text"]:first').attr("id",f.data("placeholder-id")).show()}else s=f.data("placeholder-password"),s&&(s[0].value="",f.attr("id",f.data("placeholder-id")).show().nextAll('input[type="password"]:last').hide().removeAttr("id"));f.addClass(t.customClass);f[0].value=f.attr(u?"placeholder-x":"placeholder")}else f.removeClass(t.customClass)}function a(){try{return document.activeElement}catch(n){}}var u=!1,h=Object.prototype.toString.call(window.operamini)==="[object OperaMini]",e="placeholder"in document.createElement("input")&&!h&&!u,o="placeholder"in document.createElement("textarea")&&!h&&!u,c=n.valHooks,l=n.propHooks,f,i,t={};e&&o?(i=n.fn.placeholder=function(){return this},i.input=!0,i.textarea=!0):(i=n.fn.placeholder=function(i){return t=n.extend({},{customClass:"placeholder"},i),this.filter((e?"textarea":":input")+"["+(u?"placeholder-x":"placeholder")+"]").not("."+t.customClass).not(":radio, :checkbox, [type=hidden]").bind({"focus.placeholder":r,"blur.placeholder":s}).data("placeholder-enabled",!0).trigger("blur.placeholder")},i.input=e,i.textarea=o,f={get:function(i){var r=n(i),u=r.data("placeholder-password");return u?u[0].value:r.data("placeholder-enabled")&&r.hasClass(t.customClass)?"":i.value},set:function(i,u){var f=n(i),e,o;return(u!==""&&(e=f.data("placeholder-textinput"),o=f.data("placeholder-password"),e?(r.call(e[0],!0,u)||(i.value=u),e[0].value=u):o&&(r.call(i,!0,u)||(o[0].value=u),i.value=u)),!f.data("placeholder-enabled"))?(i.value=u,f):(u===""?(i.value=u,i!=a()&&s.call(i)):(f.hasClass(t.customClass)&&r.call(i),i.value=u),f)}},e||(c.input=f,l.value=f),o||(c.textarea=f,l.value=f),n(function(){n(document).delegate("form","submit.placeholder",function(){var i=n("."+t.customClass,this).each(function(){r.call(this,!0,"")});setTimeout(function(){i.each(s)},10)})}),n(window).bind("beforeunload.placeholder",function(){var i=!0;try{document.activeElement.toString()==="javascript:void(0)"&&(i=!1)}catch(r){}i&&n("."+t.customClass).each(function(){this.value=""})}))}),function(n){n.fn.maxLength=function(){var i=document.createElement("textarea"),r="maxLength"in i,t=n(this);return r||t.keyup(function(){var t=n(this),i=parseInt(t.attr("maxlength")),r=t.val();r.length>i&&t.val(r.substr(0,i))}),t}}(jQuery),function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],n):"undefined"!=typeof module&&module.exports?module.exports=n(require("jquery")):n(jQuery)}(function(n){"use strict";function r(t){return!t.nodeName||-1!==n.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])}function i(t){return n.isFunction(t)||n.isPlainObject(t)?t:{top:t,left:t}}var t=n.scrollTo=function(t,i,r){return n(window).scrollTo(t,i,r)};return t.defaults={axis:"xy",duration:0,limit:!0},n.fn.scrollTo=function(u,f,e){"object"==typeof f&&(e=f,f=0);"function"==typeof e&&(e={onAfter:e});"max"===u&&(u=9e9);e=n.extend({},t.defaults,e);f=f||e.duration;var o=e.queue&&1<e.axis.length;return o&&(f/=2),e.offset=i(e.offset),e.over=i(e.over),this.each(function(){function y(t){var i=n.extend({},e,{queue:!0,duration:f,complete:t&&function(){t.call(c,s,e)}});a.animate(h,i)}var p;if(null!==u){var l=r(this),c=l?this.contentWindow||window:this,a=n(c),s=u,h={},v;switch(typeof s){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(s)){s=i(s);break}s=l?n(s):n(s,c);case"object":if(s.length===0)return;(s.is||s.style)&&(v=(s=n(s)).offset())}p=n.isFunction(e.offset)&&e.offset(c,s)||e.offset;n.each(e.axis.split(""),function(n,i){var u="x"===i?"Left":"Top",f=u.toLowerCase(),r="scroll"+u,w=a[r](),b=t.max(c,i);v?(h[r]=v[f]+(l?0:w-a.offset()[f]),e.margin&&(h[r]-=parseInt(s.css("margin"+u),10)||0,h[r]-=parseInt(s.css("border"+u+"Width"),10)||0),h[r]+=p[f]||0,e.over[f]&&(h[r]+=s["x"===i?"width":"height"]()*e.over[f])):(u=s[f],h[r]=u.slice&&"%"===u.slice(-1)?parseFloat(u)/100*b:u);e.limit&&/^\d+$/.test(h[r])&&(h[r]=0>=h[r]?0:Math.min(h[r],b));!n&&1<e.axis.length&&(w===h[r]?h={}:o&&(y(e.onAfterFirst),h={}))});y(e.onAfter)}})},t.max=function(t,i){var u="x"===i?"Width":"Height",e="scroll"+u;if(!r(t))return t[e]-n(t)[u.toLowerCase()]();var u="client"+u,f=t.ownerDocument||t.document,o=f.documentElement,f=f.body;return Math.max(o[e],f[e])-Math.min(o[u],f[u])},n.Tween.propHooks.scrollLeft=n.Tween.propHooks.scrollTop={get:function(t){return n(t.elem)[t.prop]()},set:function(t){var r=this.get(t),i;if(t.options.interrupt&&t._last&&t._last!==r)return n(t.elem).stop();i=Math.round(t.now);r!==i&&(n(t.elem)[t.prop](i),t._last=this.get(t))}},t}),$(function(n,t,i,r){"use strict";function f(n,t){var r=t?"correct":"wrong",i=n.find("input[type=radio]:checked").closest(".radio");n.find(".card").addClass("card-quiz-"+r);i.addClass("styled-radio-quiz-"+r);i.find(".text-correct").toggle(t);i.find(".text-wrong").toggle(!t)}function e(){if(r(".quizquestionblock input[type=radio]:checked").length===u){r(".quizquestionblock input[type=radio]").attr("disabled","disabled");var t=0;r(".quizquestionblock").each(function(){r("input[type=radio]:checked",this).val()===r("input:hidden[name=answer]",this).val()?(t++,f(r(this),!0)):f(r(this),!1)});n.cookies.set("quiz-"+r("input:hidden[name=quizid]").val(),"true",1);r("#correctanswers").html(t);r("#totalanswers").html(u);t<u?(r(".quiz-score-wrong").show(),r(".quiz-score-correct").hide()):(r(".quiz-score-wrong").hide(),r(".quiz-score-correct").show());r("#quiz-summary").show().attr("aria-hidden","false");r("body,html").scrollTo("#quiz-summary",700)}}var u=r(".quizquestionblock").length;n.enhancer("waterschoolQuiz",function(){r(this).find(".quizquestionblock input[type=radio]").on("change",function(){e()})});n.enhancer("waterschoolMenu",function(){var n=r("#svea"),i=r(this),t;i.find("a").hover(function(i){console.log(i.type);i.type==="mouseenter"?(clearTimeout(t),n.addClass("svea-left")):t=setTimeout(function(){n.removeClass("svea-left")},250)})})}(Application,window,document,jQuery)),$(function(){$(".article-body > table.table").wrap('<div class="table-responsive">');$("textarea[maxlength],input[maxlength]").maxLength();$("input[placeholder], textarea[placeholder]").placeholder();$('iframe[src*="youtube"]').each(function(){var n=$(this),i=n.attr("width")?Number(n.attr("width")):0,r=n.attr("height")?Number(n.attr("height")):0,u="embed-responsive-4by3",t;i>=0&&r>=0&&(t=i/r,console.log(t),t>=1.7&&(u="embed-responsive-16by9"));n.wrap("<div class='embed-responsive "+u+"'>")})}),function(n,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):n.shave=t()}(this,function(){"use strict";function n(n,t,i){var e,c,a,u,v,y,k;if(!t)throw Error("maxHeight is required");e=typeof n=="string"?document.querySelectorAll(n):n;"length"in e||(e=[e]);var l={character:"…",classname:"js-shave",spaces:!0},d=i&&i.character||l.character,w=i&&i.classname||l.classname,s=i&&i.spaces===!1?!1:l.spaces,b='<span class="js-shave-char">'+d+"<\/span>";for(c=0;c<e.length;c++){var r=e[c],g=r.querySelector("."+w),h=r.textContent===undefined?"innerText":"textContent";if(g&&(r.removeChild(r.querySelector(".js-shave-char")),r[h]=r[h]),a=r[h],u=s?a.split(" "):a,!(u.length<2)){if(v=r.style.height,r.style.height="auto",y=r.style.maxHeight,r.style.maxHeight="none",r.offsetHeight<t){r.style.height=v;r.style.maxHeight=y;continue}for(var f=u.length-1,p=0,o=void 0;p<f;)o=p+f+1>>1,r[h]=s?u.slice(0,o).join(" "):u.slice(0,o),r.insertAdjacentHTML("beforeend",b),r.offsetHeight>t?f=s?o-1:o-2:p=o;r[h]=s?u.slice(0,f).join(" "):u.slice(0,f);r.insertAdjacentHTML("beforeend",b);k=s?u.slice(f).join(" "):u.slice(f);r.insertAdjacentHTML("beforeend",'<span class="'+w+'" style="display:none;">'+k+"<\/span>");r.style.height=v;r.style.maxHeight=y}}}if(typeof window!="undefined"){var t=window.$||window.jQuery||window.Zepto;t&&(t.fn.shave=function(t,i){return n(this,t,i),this})}return n}),!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.Vue=t()}(this,function(){"use strict";function t(n){return null==n}function n(n){return null!=n}function u(n){return!0===n}function bi(n){return"string"==typeof n||"number"==typeof n||"symbol"==typeof n||"boolean"==typeof n}function o(n){return null!==n&&"object"==typeof n}function w(n){return"[object Object]"===hs.call(n)}function cs(n){var t=parseFloat(String(n));return 0<=t&&Math.floor(t)===t&&isFinite(n)}function yp(n){return null==n?"":"object"==typeof n?JSON.stringify(n,null,2):String(n)}function ki(n){var t=parseFloat(n);return isNaN(t)?n:t}function e(n,t){for(var i=Object.create(null),u=n.split(","),r=0;r<u.length;r++)i[u[r]]=!0;return t?function(n){return i[n.toLowerCase()]}:function(n){return i[n]}}function ht(n,t){if(n.length){var i=n.indexOf(t);if(-1<i)return n.splice(i,1)}}function s(n,t){return bp.call(n,t)}function g(n){var t=Object.create(null);return function(i){return t[i]||(t[i]=n(i))}}function yu(n,t){t=t||0;for(var i=n.length-t,r=new Array(i);i--;)r[i]=n[i+t];return r}function i(n,t){for(var i in t)n[i]=t[i];return n}function ls(n){for(var r={},t=0;t<n.length;t++)n[t]&&i(r,n[t]);return r}function h(){}function kt(n,t){var i,r,u,f,e,s;if(n===t)return!0;if(i=o(n),r=o(t),!i||!r)return!i&&!r&&String(n)===String(t);try{return(u=Array.isArray(n),f=Array.isArray(t),u&&f)?n.length===t.length&&n.every(function(n,i){return kt(n,t[i])}):u||f?!1:(e=Object.keys(n),s=Object.keys(t),e.length===s.length&&e.every(function(i){return kt(n[i],t[i])}))}catch(i){return!1}}function vs(n,t){for(var i=0;i<n.length;i++)if(kt(n[i],t))return i;return-1}function sr(n){var t=!1;return function(){t||(t=!0,n.apply(this,arguments))}}function pu(n,t,i,r){Object.defineProperty(n,t,{value:i,enumerable:!!r,writable:!0,configurable:!0})}function oi(n){return"function"==typeof n&&/native code/.test(n.toString())}function tf(n){c.target&&nf.push(c.target);c.target=n}function rf(){c.target=nf.pop()}function si(n){return new l(void 0,void 0,void 0,String(n))}function ks(n){var t=new l(n.tag,n.data,n.children,n.text,n.elm,n.context,n.componentOptions,n.asyncFactory);return t.ns=n.ns,t.isStatic=n.isStatic,t.key=n.key,t.isComment=n.isComment,t.fnContext=n.fnContext,t.fnOptions=n.fnOptions,t.fnScopeId=n.fnScopeId,t.isCloned=!0,t}function lt(n){ar=n}function ow(n,t){n.__proto__=t}function sw(n,t,i){for(var u,r=0,f=i.length;r<f;r++)u=i[r],pu(n,u,t[u])}function hi(n,t){var i;if(o(n)&&!(n instanceof l))return s(n,"__ob__")&&n.__ob__ instanceof gi?i=n.__ob__:ar&&!ei()&&(Array.isArray(n)||w(n))&&Object.isExtensible(n)&&!n._isVue&&(i=new gi(n)),t&&i&&i.vmCount++,i}function dt(n,t,i,r,u){var h=new c,f=Object.getOwnPropertyDescriptor(n,t),e,s,o;f&&!1===f.configurable||(e=f&&f.get,e||2!==arguments.length||(i=n[t]),s=f&&f.set,o=!u&&hi(i),Object.defineProperty(n,t,{enumerable:!0,configurable:!0,get:function(){var t=e?e.call(n):i;return c.target&&(h.depend(),o&&(o.dep.depend(),Array.isArray(t)&&function t(n){for(var i=void 0,r=0,u=n.length;r<u;r++)(i=n[r])&&i.__ob__&&i.__ob__.dep.depend(),Array.isArray(i)&&t(i)}(t))),t},set:function(t){var r=e?e.call(n):i;t===r||t!=t&&r!=r||(s?s.call(n,t):i=t,o=!u&&hi(t),h.notify())}}))}function ef(n,t,i){if(Array.isArray(n)&&cs(t))return n.length=Math.max(n.length,t),n.splice(t,1,i),i;if(t in n&&!(t in Object.prototype))return n[t]=i;var r=n.__ob__;return n._isVue||r&&r.vmCount?i:r?(dt(r.value,t,i),r.dep.notify(),i):n[t]=i}function gs(n,t){if(Array.isArray(n)&&cs(t))n.splice(t,1);else{var i=n.__ob__;n._isVue||i&&i.vmCount||s(n,t)&&(delete n[t],i&&i.dep.notify())}}function of(n,t){if(!t)return n;for(var i,u,r,e=Object.keys(t),f=0;f<e.length;f++)u=n[i=e[f]],r=t[i],s(n,i)?w(u)&&w(r)&&of(u,r):ef(n,i,r);return n}function sf(n,t,i){return i?function(){var r="function"==typeof t?t.call(i,i):t,u="function"==typeof n?n.call(i,i):n;return r?of(r,u):u}:t?n?function(){return of("function"==typeof t?t.call(this,this):t,"function"==typeof n?n.call(this,this):n)}:t:n}function hw(n,t){return t?n?n.concat(t):Array.isArray(t)?t:[t]:n}function cw(n,t){var r=Object.create(n||null);return t?i(r,t):r}function gt(n,t,r){function c(i){var u=tt[i]||nh;o[i]=u(n[i],t[i],r,i)}var e,f,h,u,o;if("function"==typeof t&&(t=t.options),function(n){var t=n.props,u,i,r,f;if(t){if(r={},Array.isArray(t))for(u=t.length;u--;)"string"==typeof(i=t[u])&&(r[rt(i)]={type:null});else if(w(t))for(f in t)i=t[f],r[rt(f)]=w(i)?i:{type:i};n.props=r}}(t),function(n){var t=n.inject,e,r,u,f;if(t)if(e=n.inject={},Array.isArray(t))for(r=0;r<t.length;r++)e[t[r]]={from:t[r]};else if(w(t))for(u in t)f=t[u],e[u]=w(f)?i({from:u},f):{from:f}}(t),function(n){var t=n.directives,r,i;if(t)for(r in t)i=t[r],"function"==typeof i&&(t[r]={bind:i,update:i})}(t),e=t.extends,e&&(n=gt(n,e,r)),t.mixins)for(f=0,h=t.mixins.length;f<h;f++)n=gt(n,t.mixins[f],r);o={};for(u in n)c(u);for(u in t)s(n,u)||c(u);return o}function hf(n,t,i){var r,u,f;if("string"==typeof i)return(r=n[t],s(r,i))?r[i]:(u=rt(i),s(r,u))?r[u]:(f=dp(u),s(r,f)?r[f]:r[i]||r[u]||r[f])}function cf(n,t,i,r){var f=t[n],c=!s(i,n),u=i[n],o=ih(Boolean,f.type),e,h;return-1<o&&(c&&!s(f,"default")?u=!1:(""===u||u===vu(n))&&(e=ih(String,f.type),(e<0||o<e)&&(u=!0))),void 0===u&&(u=function(n,t,i){if(s(t,"default")){var r=t.default;return n&&n.$options.propsData&&void 0===n.$options.propsData[i]&&void 0!==n._props[i]?n._props[i]:"function"==typeof r&&"Function"!==lf(t.type)?r.call(n):r}}(r,f,n),h=ar,lt(!0),hi(u),lt(h)),u}function lf(n){var t=n&&n.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function th(n,t){return lf(n)===lf(t)}function ih(n,t){if(!Array.isArray(t))return th(t,n)?0:-1;for(var i=0,r=t.length;i<r;i++)if(th(t[i],n))return i;return-1}function at(n,t,i){var r,u,f;if(t)for(r=t;r=r.$parent;)if(u=r.$options.errorCaptured,u)for(f=0;f<u.length;f++)try{if(!1===u[f].call(r,n,t,i))return}catch(n){rh(n,r,"errorCaptured hook")}rh(n,t,i)}function rh(n,t,i){if(p.errorHandler)try{return p.errorHandler.call(null,n,t,i)}catch(n){uh(n,null,"config.errorHandler")}uh(n,t,i)}function uh(n){if(!a&&!bu||"undefined"==typeof console)throw n;console.error(n)}function pr(){yr=!1;for(var t=vr.slice(0),n=vr.length=0;n<t.length;n++)t[n]()}function yf(n,t){var i;if(vr.push(function(){if(n)try{n.call(t)}catch(n){at(n,t,"nextTick")}else i&&i(t)}),yr||(yr=!0,wr?nr():af()),!n&&"undefined"!=typeof Promise)return new Promise(function(n){i=n})}function br(n){!function n(t,i){var r,u,e=Array.isArray(t),f;if((e||o(t))&&!Object.isFrozen(t)&&!(t instanceof l)){if(t.__ob__){if(f=t.__ob__.dep.id,i.has(f))return;i.add(f)}if(e)for(r=t.length;r--;)n(t[r],i);else for(u=Object.keys(t),r=u.length;r--;)n(t[u[r]],i)}}(n,pf);pf.clear()}function bf(n){function t(){var u=arguments,i=t.fns,r,n;if(!Array.isArray(i))return i.apply(null,arguments);for(r=i.slice(),n=0;n<r.length;n++)r[n].apply(null,u)}return t.fns=n,t}function oh(n,i,r,u){var f,e,s,o;for(f in n)e=n[f],s=i[f],o=wf(f),t(e)||(t(s)?(t(e.fns)&&(e=n[f]=bf(e)),r(o.name,e,o.once,o.capture,o.passive,o.params)):e!==s&&(s.fns=e,n[f]=s));for(f in i)t(n[f])&&u((o=wf(f)).name,i[f],o.capture)}function vt(i,r,f){function s(){f.apply(this,arguments);ht(e.fns,s)}var e,o;i instanceof l&&(i=i.data.hook||(i.data.hook={}));o=i[r];t(o)?e=bf([s]):n(o.fns)&&u(o.merged)?(e=o).fns.push(s):e=bf([o,s]);e.merged=!0;i[r]=e}function sh(t,i,r,u,f){if(n(i)){if(s(i,r))return t[r]=i[r],f||delete i[r],!0;if(s(i,u))return t[r]=i[u],f||delete i[u],!0}return!1}function hh(i){return bi(i)?[si(i)]:Array.isArray(i)?function i(r,f){for(var o=[],e,c,s,h=0;h<r.length;h++)t(e=r[h])||"boolean"==typeof e||(c=o.length-1,s=o[c],Array.isArray(e)?0<e.length&&(ir((e=i(e,(f||"")+"_"+h))[0])&&ir(s)&&(o[c]=si(s.text+e[0].text),e.shift()),o.push.apply(o,e)):bi(e)?ir(s)?o[c]=si(s.text+e):""!==e&&o.push(si(e)):ir(e)&&ir(s)?o[c]=si(s.text+e.text):(u(r._isVList)&&n(e.tag)&&t(e.key)&&n(f)&&(e.key="__vlist"+f+"_"+h+"__"),o.push(e)));return o}(i):void 0}function ir(t){return n(t)&&n(t.text)&&!1===t.isComment}function kf(n,t){return(n.__esModule||gu&&"Module"===n[Symbol.toStringTag])&&(n=n.default),o(n)?t.extend(n):n}function kr(n){return n.isComment&&n.asyncFactory}function ch(t){var r,i;if(Array.isArray(t))for(r=0;r<t.length;r++)if(i=t[r],n(i)&&(n(i.componentOptions)||kr(i)))return i}function lw(n,t,i){i?tr.$once(n,t):tr.$on(n,t)}function aw(n,t){tr.$off(n,t)}function lh(n,t,i){tr=n;oh(t,i||{},lw,aw);tr=void 0}function df(n,t){var i={},f,h,r,u,o,e,s;if(!n)return i;for(f=0,h=n.length;f<h;f++)r=n[f],u=r.data,(u&&u.attrs&&u.attrs.slot&&delete u.attrs.slot,(r.context===t||r.fnContext===t)&&u&&null!=u.slot)?(o=u.slot,e=i[o]||(i[o]=[]),"template"===r.tag?e.push.apply(e,r.children||[]):e.push(r)):(i.default||(i.default=[])).push(r);for(s in i)i[s].every(vw)&&delete i[s];return i}function vw(n){return n.isComment&&!n.asyncFactory||" "===n.text}function ah(n,t){t=t||{};for(var i=0;i<n.length;i++)Array.isArray(n[i])?ah(n[i],t):t[n[i].key]=n[i].fn;return t}function vh(n){for(;n&&(n=n.$parent);)if(n._inactive)return!0;return!1}function gf(n,t){if(t){if(n._directInactive=!1,vh(n))return}else if(n._directInactive)return;if(n._inactive||null===n._inactive){n._inactive=!1;for(var i=0;i<n.$children.length;i++)gf(n.$children[i]);it(n,"activated")}}function it(n,t){var i,r,u;if(tf(),i=n.$options[t],i)for(r=0,u=i.length;r<u;r++)try{i[r].call(n)}catch(i){at(i,n,t+" hook")}n._hasHookEvent&&n.$emit("hook:"+t);rf()}function yw(){var n,t,i,r;for(ie=!0,ut.sort(function(n,t){return n.id-t.id}),ci=0;ci<ut.length;ci++)t=(n=ut[ci]).id,dr[t]=null,n.run();i=ne.slice();r=ut.slice();ci=ut.length=ne.length=0;dr={};te=ie=!1,function(n){for(var t=0;t<n.length;t++)n[t]._inactive=!0,gf(n[t],!0)}(i),function(n){for(var r=n.length,i,t;r--;)i=n[r],t=i.vm,t._watcher===i&&t._isMounted&&it(t,"updated")}(r);di&&p.devtools&&di.emit("flush")}function re(n,t,i){ft.get=function(){return this[t][i]};ft.set=function(n){this[t][i]=n};Object.defineProperty(n,i,ft)}function pw(n){n._watchers=[];var t=n.$options;t.props&&function(n,t){var u=n.$options.propsData||{},f=n._props={},e=n.$options._propKeys=[],i,r;n.$parent&&lt(!1);i=function(i){e.push(i);var r=cf(i,t,u,n);dt(f,i,r);i in n||re(n,"_props",i)};for(r in t)i(r);lt(!0)}(n,t.props);t.methods&&function(n,t){n.$options.props;for(var i in t)n[i]=null==t[i]?h:nw(t[i],n)}(n,t.methods);t.data?function(n){var t=n.$options.data,i,e;w(t=n._data="function"==typeof t?function(n,t){tf();try{return n.call(t,t)}catch(n){return at(n,t,"data()"),{}}finally{rf()}}(t,n):t||{})||(t={});for(var r=Object.keys(t),u=n.$options.props,f=(n.$options.methods,r.length);f--;)i=r[f],u&&s(u,i)||(void 0,36!==(e=(i+"").charCodeAt(0))&&95!==e&&re(n,"_data",i));hi(t,!0)}(n):hi(n._data={},!0);t.computed&&function(n,t){var f=n._computedWatchers=Object.create(null),e=ei(),i,r,u;for(i in t)r=t[i],u="function"==typeof r?r:r.get,e||(f[i]=new k(n,u||h,h,ph)),i in n||wh(n,i,r)}(n,t.computed);t.watch&&t.watch!==ku&&function(n,t){var r,i,u;for(r in t)if(i=t[r],Array.isArray(i))for(u=0;u<i.length;u++)ue(n,r,i[u]);else ue(n,r,i)}(n,t.watch)}function wh(n,t,i){var r=!ei();"function"==typeof i?(ft.get=r?bh(t):i,ft.set=h):(ft.get=i.get?r&&!1!==i.cache?bh(t):i.get:h,ft.set=i.set?i.set:h);Object.defineProperty(n,t,ft)}function bh(n){return function(){var t=this._computedWatchers&&this._computedWatchers[n];if(t)return t.dirty&&t.evaluate(),c.target&&t.depend(),t.value}}function ue(n,t,i,r){return w(i)&&(i=(r=i).handler),"string"==typeof i&&(i=n[i]),n.$watch(t,i,r)}function kh(n,t){var u;if(n){for(var f=Object.create(null),o=gu?Reflect.ownKeys(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}):Object.keys(n),e=0;e<o.length;e++){for(var r=o[e],h=n[r].from,i=t;i;){if(i._provided&&s(i._provided,h)){f[r]=i._provided[h];break}i=i.$parent}!i&&"default"in n[r]&&(u=n[r].default,f[r]="function"==typeof u?u.call(t):u)}return f}}function ww(t,i){var u,r,f,e,s;if(Array.isArray(t)||"string"==typeof t)for(u=new Array(t.length),r=0,f=t.length;r<f;r++)u[r]=i(t[r],r);else if("number"==typeof t)for(u=new Array(t),r=0;r<t;r++)u[r]=i(r+1,r);else if(o(t))for(e=Object.keys(t),u=new Array(e.length),r=0,f=e.length;r<f;r++)s=e[r],u[r]=i(t[s],s,r);return n(u)&&(u._isVList=!0),u}function bw(n,t,r,u){var f,s=this.$scopedSlots[n],e,o;return s?(r=r||{},u&&(r=i(i({},u),r)),f=s(r)||t):(e=this.$slots[n],e&&(e._rendered=!0),f=e||t),o=r&&r.slot,o?this.$createElement("template",{slot:o},f):f}function kw(n){return hf(this.$options,"filters",n)||as}function dh(n,t){return Array.isArray(n)?-1===n.indexOf(t):n!==t}function dw(n,t,i,r,u){var f=p.keyCodes[t]||i;return u&&r&&!p.keyCodes[t]?dh(u,r):f?dh(f,n):r?vu(r)!==t:void 0}function gw(n,t,i,r,u){var f,e,s;if(i&&o(i)){Array.isArray(i)&&(i=ls(i));e=function(e){if("class"===e||"style"===e||wp(e))f=n;else{var o=n.attrs&&n.attrs.type;f=r||p.mustUseProp(t,o,e)?n.domProps||(n.domProps={}):n.attrs||(n.attrs={})}e in f||(f[e]=i[e],u&&((n.on||(n.on={}))["update:"+e]=function(n){i[e]=n}))};for(s in i)e(s)}return n}function nb(n,t){var r=this._staticTrees||(this._staticTrees=[]),i=r[n];return i&&!t||gh(i=r[n]=this.$options.staticRenderFns[n].call(this._renderProxy,null,this),"__static__"+n,!1),i}function tb(n,t,i){return gh(n,"__once__"+t+(i?"_"+i:""),!0),n}function gh(n,t,i){if(Array.isArray(n))for(var r=0;r<n.length;r++)n[r]&&"string"!=typeof n[r]&&nc(n[r],t+"_"+r,i);else nc(n,t,i)}function nc(n,t,i){n.isStatic=!0;n.key=t;n.isOnce=i}function ib(n,t){var u,r,f,e;if(t&&w(t)){u=n.on=n.on?i({},n.on):{};for(r in t)f=u[r],e=t[r],u[r]=f?[].concat(f,e):e}return n}function tc(n){n._o=tb;n._n=ki;n._s=yp;n._l=ww;n._t=bw;n._q=kt;n._i=vs;n._m=nb;n._f=kw;n._k=dw;n._b=gw;n._v=si;n._e=ct;n._u=ah;n._g=ib}function fe(n,t,i,r,f){var o,e=f.options,h,c;s(r,"_uid")?(o=Object.create(r))._original=r:r=(o=r)._original;h=u(e._compiled);c=!h;this.data=n;this.props=t;this.children=i;this.parent=r;this.listeners=n.on||y;this.injections=kh(e.inject,r);this.slots=function(){return df(i,r)};h&&(this.$options=e,this.$slots=this.slots(),this.$scopedSlots=n.scopedSlots||y);this._c=e._scopeId?function(n,t,i,u){var f=nu(o,n,t,i,u,c);return f&&!Array.isArray(f)&&(f.fnScopeId=e._scopeId,f.fnContext=r),f}:function(n,t,i,r){return nu(o,n,t,i,r,c)}}function ic(n,t,i,r){var u=ks(n);return u.fnContext=i,u.fnOptions=r,t.slot&&((u.data||(u.data={})).slot=t.slot),u}function rc(n,t){for(var i in t)n[rt(i)]=t[i]}function uc(i,r,f,e,s){var h,c,b,k,d,g,nt,a,v,tt,p,w;if(!t(i)&&(h=f.$options._base,o(i)&&(i=h.extend(i)),"function"==typeof i))return t(i.cid)&&void 0===(i=function(i,r,f){if(u(i.error)&&n(i.errorComp))return i.errorComp;if(n(i.resolved))return i.resolved;if(u(i.loading)&&n(i.loadingComp))return i.loadingComp;if(!n(i.contexts)){var l=i.contexts=[f],a=!0,h=function(){for(var n=0,t=l.length;n<t;n++)l[n].$forceUpdate()},c=sr(function(n){i.resolved=kf(n,r);a||h()}),s=sr(function(){n(i.errorComp)&&(i.error=!0,h())}),e=i(c,s);return o(e)&&("function"==typeof e.then?t(i.resolved)&&e.then(c,s):n(e.component)&&"function"==typeof e.component.then&&(e.component.then(c,s),n(e.error)&&(i.errorComp=kf(e.error,r)),n(e.loading)&&(i.loadingComp=kf(e.loading,r),0===e.delay?i.loading=!0:setTimeout(function(){t(i.resolved)&&t(i.error)&&(i.loading=!0,h())},e.delay||200)),n(e.timeout)&&setTimeout(function(){t(i.resolved)&&s(null)},e.timeout))),a=!1,i.loading?i.loadingComp:i.resolved}i.contexts.push(f)}(c=i,h,f))?(b=c,k=r,d=f,g=e,nt=s,(a=ct()).asyncFactory=b,a.asyncMeta={data:k,context:d,children:g,tag:nt},a):(r=r||{},ce(i),n(r.model)&&function(t,i){var f=t.model&&t.model.prop||"value",u=t.model&&t.model.event||"input",r;(i.props||(i.props={}))[f]=i.model.value;r=i.on||(i.on={});r[u]=n(r[u])?[i.model.callback].concat(r[u]):i.model.callback}(i.options,r),v=function(i,r){var o=r.options.props,u,e;if(!t(o)){var f={},s=i.attrs,h=i.props;if(n(s)||n(h))for(u in o)e=vu(u),sh(f,h,u,e,!0)||sh(f,s,u,e,!1);return f}}(r,i),u(i.options.functional))?function(t,i,r,u,f){var s=t.options,h={},a=s.props,v,e,o;if(n(a))for(v in a)h[v]=cf(v,a,i||y);else n(r.attrs)&&rc(h,r.attrs),n(r.props)&&rc(h,r.props);if(e=new fe(r,h,f,u,t),o=s.render.call(null,e._c,e),o instanceof l)return ic(o,r,e.parent,s);if(Array.isArray(o)){for(var p=hh(o)||[],w=new Array(p.length),c=0;c<p.length;c++)w[c]=ic(p[c],r,e.parent,s);return w}}(i,v,r,f,e):(tt=r.on,(r.on=r.nativeOn,u(i.options.abstract))&&(p=r.slot,r={},p&&(r.slot=p)),!function(n){for(var i,r=n.hook||(n.hook={}),t=0;t<ee.length;t++)i=ee[t],r[i]=gr[i]}(r),w=i.options.name||s,new l("vue-component-"+i.cid+(w?"-"+w:""),r,void 0,void 0,void 0,f,{Ctor:i,propsData:v,listeners:tt,tag:s,children:e},c))}function nu(i,r,f,e,s,h){return(Array.isArray(f)||bi(f))&&(s=e,e=f,f=void 0),u(h)&&(s=oe),function(i,r,f,e,s){var h,c,a;return n(f)&&n(f.__ob__)?ct():(n(f)&&n(f.is)&&(r=f.is),!r)?ct():(Array.isArray(e)&&"function"==typeof e[0]&&((f=f||{}).scopedSlots={"default":e[0]},e.length=0),s===oe?e=hh(e):s===fc&&(e=function(n){for(var t=0;t<n.length;t++)if(Array.isArray(n[t]))return Array.prototype.concat.apply([],n);return n}(e)),"string"==typeof r?(c=i.$vnode&&i.$vnode.ns||p.getTagNamespace(r),h=p.isReservedTag(r)?new l(p.parsePlatformTagName(r),f,e,void 0,void 0,i):n(a=hf(i.$options,"components",r))?uc(a,f,i,e,r):new l(r,f,e,void 0,void 0,i)):h=uc(r,f,i,e),Array.isArray(h)?h:n(h)?(n(c)&&function i(r,f,e){var s,h,o;if(r.ns=f,"foreignObject"===r.tag&&(f=void 0,e=!0),n(r.children))for(s=0,h=r.children.length;s<h;s++)o=r.children[s],n(o.tag)&&(t(o.ns)||u(e)&&"svg"!==o.tag)&&i(o,f,e)}(h,c),n(f)&&function(n){o(n.style)&&br(n.style);o(n.class)&&br(n.class)}(f),h):ct())}(i,r,f,e,s)}function ce(n){var t=n.options,r,u;return n.super&&(r=ce(n.super),r!==n.superOptions&&(n.superOptions=r,u=function(n){var i,r=n.options,f=n.extendOptions,u=n.sealedOptions,t;for(t in r)r[t]!==u[t]&&(i||(i={}),i[t]=rb(r[t],f[t],u[t]));return i}(n),u&&i(n.extendOptions,u),(t=n.options=gt(r,n.extendOptions)).name&&(t.components[t.name]=n))),t}function rb(n,t,i){var u,r;if(Array.isArray(n)){for(u=[],i=Array.isArray(i)?i:[i],t=Array.isArray(t)?t:[t],r=0;r<n.length;r++)(0<=t.indexOf(n[r])||i.indexOf(n[r])<0)&&u.push(n[r]);return u}return n}function r(n){this._init(n)}function ub(n){n.cid=0;var t=1;n.extend=function(n){var o,r;n=n||{};var u=this,f=u.cid,e=n._Ctor||(n._Ctor={});return e[f]?e[f]:(o=n.name||u.options.name,r=function(n){this._init(n)},((r.prototype=Object.create(u.prototype)).constructor=r).cid=t++,r.options=gt(u.options,n),r.super=u,r.options.props&&function(n){var i=n.options.props,t;for(t in i)re(n.prototype,"_props",t)}(r),r.options.computed&&function(n){var i=n.options.computed,t;for(t in i)wh(n.prototype,t,i[t])}(r),r.extend=u.extend,r.mixin=u.mixin,r.use=u.use,hr.forEach(function(n){r[n]=u[n]}),o&&(r.options.components[o]=r),r.superOptions=u.options,r.extendOptions=n,r.sealedOptions=i({},r.options),e[f]=r)}}function cc(n){return n&&(n.Ctor.options.name||n.tag)}function iu(n,t){return Array.isArray(n)?-1<n.indexOf(t):"string"==typeof n?-1<n.split(",").indexOf(t):(i=n,"[object RegExp]"===hs.call(i)&&n.test(t));var i}function lc(n,t){var i=n.cache,e=n.keys,o=n._vnode,r,u,f;for(r in i)u=i[r],u&&(f=cc(u.componentOptions),f&&!t(f)&&le(i,r,e,o))}function le(n,t,i,r){var u=n[t];!u||r&&u.tag===r.tag||u.componentInstance.$destroy();n[t]=null;ht(i,t)}function sb(t){for(var i=t.data,r=t,u=t;n(u.componentInstance);)(u=u.componentInstance._vnode)&&u.data&&(i=kc(u.data,i));for(;n(r=r.parent);)r&&r.data&&(i=kc(i,r.data));return function(t,i){return n(t)||n(i)?pe(t,we(i)):""}(i.staticClass,i.class)}function kc(t,i){return{staticClass:pe(t.staticClass,i.staticClass),"class":n(t.class)?[t.class,i.class]:i.class}}function pe(n,t){return n?t?n+" "+t:n:t||""}function we(t){return Array.isArray(t)?function(t){for(var r,i="",u=0,f=t.length;u<f;u++)n(r=we(t[u]))&&""!==r&&(i&&(i+=" "),i+=r);return i}(t):o(t)?function(n){var t="",i;for(i in n)n[i]&&(t&&(t+=" "),t+=i);return t}(t):"string"==typeof t?t:""}function gc(n){return dc(n)?"svg":"math"===n?"math":void 0}function ke(n){if("string"==typeof n){var t=document.querySelector(n);return t||document.createElement("div")}return n}function ai(t,i){var r=t.data.ref;if(n(r)){var e=t.context,f=t.componentInstance||t.elm,u=e.$refs;i?Array.isArray(u[r])?ht(u[r],f):u[r]===f&&(u[r]=void 0):t.data.refInFor?Array.isArray(u[r])?u[r].indexOf(f)<0&&u[r].push(f):u[r]=[f]:u[r]=f}}function ni(i,r){return i.key===r.key&&(i.tag===r.tag&&i.isComment===r.isComment&&n(i.data)===n(r.data)&&function(t,i){if("input"!==t.tag)return!0;var r,u=n(r=t.data)&&n(r=r.attrs)&&r.type,f=n(r=i.data)&&n(r=r.attrs)&&r.type;return u===f||uu(u)&&uu(f)}(i,r)||u(i.isAsyncPlaceholder)&&i.asyncFactory===r.asyncFactory&&t(r.asyncFactory.error))}function lb(t,i,r){for(var f,e={},u=i;u<=r;++u)n(f=t[u].key)&&(e[f]=u);return e}function de(n,t){(n.data.directives||t.data.directives)&&function(n,t){var r,e,i,c=n===pt,l=t===pt,o=ul(n.data.directives,n.context),s=ul(t.data.directives,t.context),u=[],f=[],h;for(r in s)e=o[r],i=s[r],e?(i.oldValue=e.value,ur(i,"update",t,n),i.def&&i.def.componentUpdated&&f.push(i)):(ur(i,"bind",t,n),i.def&&i.def.inserted&&u.push(i));if(u.length&&(h=function(){for(var i=0;i<u.length;i++)ur(u[i],"inserted",t,n)},c?vt(t,"insert",h):h()),f.length&&vt(t,"postpatch",function(){for(var i=0;i<f.length;i++)ur(f[i],"componentUpdated",t,n)}),!c)for(r in o)s[r]||ur(o[r],"unbind",n,n,l)}(n,t)}function ul(n,t){var r,i,u,f=Object.create(null);if(!n)return f;for(r=0;r<n.length;r++)(i=n[r]).modifiers||(i.modifiers=rl),(f[(u=i,u.rawName||u.name+"."+Object.keys(u.modifiers||{}).join("."))]=i).def=hf(t.$options,"directives",i.name);return f}function ur(n,t,i,r,u){var f=n.def&&n.def[t];if(f)try{f(i.elm,n,i,r,u)}catch(r){at(r,i.context,"directive "+n.name+" "+t+" hook")}}function el(r,u){var c=u.componentOptions;if(!(n(c)&&!1===c.Ctor.options.inheritAttrs||t(r.data.attrs)&&t(u.data.attrs))){var f,s,o=u.elm,h=r.data.attrs||{},e=u.data.attrs||{};for(f in n(e.__ob__)&&(e=u.data.attrs=i({},e)),e)s=e[f],h[f]!==s&&ol(o,f,s);for(f in(ui||ws)&&e.value!==h.value&&ol(o,"value",e.value),h)t(e[f])&&(ye(f)?o.removeAttributeNS(ve,bc(f)):wc(f)||o.removeAttribute(f))}}function ol(n,t,i){-1<n.tagName.indexOf("-")?sl(n,t,i):ob(t)?ru(i)?n.removeAttribute(t):(i="allowfullscreen"===t&&"EMBED"===n.tagName?"true":t,n.setAttribute(t,i)):wc(t)?n.setAttribute(t,ru(i)||"false"===i?"false":"true"):ye(t)?ru(i)?n.removeAttributeNS(ve,bc(t)):n.setAttributeNS(ve,t,i):sl(n,t,i)}function sl(n,t,i){if(ru(i))n.removeAttribute(t);else{if(ui&&!fi&&"TEXTAREA"===n.tagName&&"placeholder"===t&&!n.__ieph){var r=function(t){t.stopImmediatePropagation();n.removeEventListener("input",r)};n.addEventListener("input",r);n.__ieph=!0}n.setAttribute(t,i)}}function cl(i,r){var f=r.elm,s=r.data,e=i.data,u,o;t(s.staticClass)&&t(s.class)&&(t(e)||t(e.staticClass)&&t(e.class))||(u=sb(r),o=f._transitionClasses,n(o)&&(u=pe(u,we(o))),u!==f._prevClass&&(f.setAttribute("class",u),f._prevClass=u))}function to(n){function w(){(f||(f=[])).push(n.slice(e,t).trim());e=t+1}for(var i,u,r,f,h=!1,c=!1,l=!1,a=!1,v=0,y=0,p=0,e=0,o,s,t=0;t<n.length;t++)if(u=i,i=n.charCodeAt(t),h)39===i&&92!==u&&(h=!1);else if(c)34===i&&92!==u&&(c=!1);else if(l)96===i&&92!==u&&(l=!1);else if(a)47===i&&92!==u&&(a=!1);else if(124!==i||124===n.charCodeAt(t+1)||124===n.charCodeAt(t-1)||v||y||p){switch(i){case 34:c=!0;break;case 39:h=!0;break;case 96:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:y++;break;case 93:y--;break;case 123:v++;break;case 125:v--}if(47===i){for(o=t-1,s=void 0;0<=o&&" "===(s=n.charAt(o));o--);s&&vl.test(s)||(a=!0)}}else void 0===r?(e=t+1,r=n.slice(0,t).trim()):w();if(void 0===r?r=n.slice(0,t).trim():0!==e&&w(),f)for(t=0;t<f.length;t++)r=ab(r,f[t]);return r}function ab(n,t){var r=t.indexOf("("),u,i;return r<0?'_f("'+t+'")('+n+")":(u=t.slice(0,r),i=t.slice(r+1),'_f("'+u+'")('+n+(")"!==i?","+i:i))}function yl(n){console.error("[Vue compiler]: "+n)}function fr(n,t){return n?n.map(function(n){return n[t]}).filter(function(n){return n}):[]}function ti(n,t,i){(n.props||(n.props=[])).push({name:t,value:i});n.plain=!1}function io(n,t,i){(n.attrs||(n.attrs=[])).push({name:t,value:i});n.plain=!1}function ro(n,t,i){n.attrsMap[t]=i;n.attrsList.push({name:t,value:i})}function ii(n,t,i,r,u){var o,f,e;(r=r||y).capture&&(delete r.capture,t="!"+t);r.once&&(delete r.once,t="~"+t);r.passive&&(delete r.passive,t="&"+t);"click"===t&&(r.right?(t="contextmenu",delete r.right):r.middle&&(t="mouseup"));r.native?(delete r.native,o=n.nativeEvents||(n.nativeEvents={})):o=n.events||(n.events={});f={value:i.trim()};r!==y&&(f.modifiers=r);e=o[t];Array.isArray(e)?u?e.unshift(f):e.push(f):o[t]=e?u?[f,e]:[e,f]:f;n.plain=!1}function d(n,t,i){var u=f(n,":"+t)||f(n,"v-bind:"+t),r;return null!=u?to(u):!1!==i&&(r=f(n,t),null!=r)?JSON.stringify(r):void 0}function f(n,t,i){var f;if(null!=(f=n.attrsMap[t]))for(var u=n.attrsList,r=0,e=u.length;r<e;r++)if(u[r].name===t){u.splice(r,1);break}return i&&delete n.attrsMap[t],f}function pl(n,t,i){var u=i||{},e=u.number,r="$$v",f;u.trim&&(r="(typeof $$v === 'string'? $$v.trim(): $$v)");e&&(r="_n("+r+")");f=bt(t,r);n.model={value:"("+t+")",expression:'"'+t+'"',callback:"function ($$v) {"+f+"}"}}function bt(n,t){var i=function(n){if(n=n.trim(),ge=n.length,n.indexOf("[")<0||n.lastIndexOf("]")<ge-1)return-1<(wt=n.lastIndexOf("."))?{exp:n.slice(0,wt),key:'"'+n.slice(wt+1)+'"'}:{exp:n,key:null};for(ll=n,wt=eu=no=0;!fo();)wl(fu=uo())?bl(fu):91===fu&&vb(fu);return{exp:n.slice(0,eu),key:n.slice(eu+1,no)}}(n);return null===i.key?n+"="+t:"$set("+i.exp+", "+i.key+", "+t+")"}function uo(){return ll.charCodeAt(++wt)}function fo(){return ge<=wt}function wl(n){return 34===n||39===n}function vb(n){var t=1;for(eu=wt;!fo();)if(wl(n=uo()))bl(n);else if(91===n&&t++,93===n&&t--,0===t){no=wt;break}}function bl(n){for(var t=n;!fo()&&(n=uo())!==t;);}function yb(n,t,i,r,u){var f,e,o,s,h;t=(f=t)._withTask||(f._withTask=function(){wr=!0;var n=f.apply(null,arguments);return wr=!1,n});i&&(e=t,o=n,s=r,h=er,t=function n(){null!==e.apply(null,arguments)&&kl(o,n,s,h)});er.addEventListener(n,t,bs?{capture:r,passive:u}:r)}function kl(n,t,i,r){(r||er).removeEventListener(n,t._withTask||t,i)}function dl(i,r){if(!t(i.data.on)||!t(r.data.on)){var u=r.data.on||{},f=i.data.on||{};er=r.elm,function(t){if(n(t[or])){var i=ui?"change":"input";t[i]=[].concat(t[or],t[i]||[]);delete t[or]}n(t[ou])&&(t.change=[].concat(t[ou],t.change||[]),delete t[ou])}(u);oh(u,f,yb,kl,r.context);er=void 0}}function na(r,u){var l;if(!t(r.data.domProps)||!t(u.data.domProps)){var f,s,h,c,e=u.elm,a=r.data.domProps||{},o=u.data.domProps||{};for(f in n(o.__ob__)&&(o=u.data.domProps=i({},o)),a)t(o[f])&&(e[f]="");for(f in o){if(s=o[f],"textContent"===f||"innerHTML"===f){if(u.children&&(u.children.length=0),s===a[f])continue;1===e.childNodes.length&&e.removeChild(e.childNodes[0])}"value"===f?(l=t(e._value=s)?"":String(s),c=l,!(h=e).composing&&("OPTION"===h.tagName||function(n,t){var i=!0;try{i=document.activeElement!==n}catch(n){}return i&&n.value!==t}(h,c)||function(t,i){var u=t.value,r=t._vModifiers;if(n(r)){if(r.lazy)return!1;if(r.number)return ki(u)!==ki(i);if(r.trim)return u.trim()!==i.trim()}return u!==i}(h,c))&&(e.value=l)):e[f]=s}}}function oo(n){var t=ia(n.style);return n.staticStyle?i(n.staticStyle,t):t}function ia(n){return Array.isArray(n)?ls(n):"string"==typeof n?eo(n):n}function ea(r,u){var c=u.data,e=r.data,o;if(!(t(c.staticStyle)&&t(c.style)&&t(e.staticStyle)&&t(e.style))){var s,f,l=u.elm,v=e.staticStyle,y=e.normalizedStyle||e.style||{},a=v||y,h=ia(u.data.style)||{};u.data.normalizedStyle=n(h.__ob__)?i({},h):h;o=function(n,t){var r,e={},u,f;if(t)for(u=n;u.componentInstance;)(u=u.componentInstance._vnode)&&u.data&&(r=oo(u.data))&&i(e,r);for((r=oo(n.data))&&i(e,r),f=n;f=f.parent;)f.data&&(r=oo(f.data))&&i(e,r);return e}(u,!0);for(f in a)t(o[f])&&ua(l,f,"");for(f in o)(s=o[f])!==a[f]&&ua(l,f,null==s?"":s)}}function sa(n,t){if(t&&(t=t.trim()))if(n.classList)-1<t.indexOf(" ")?t.split(/\s+/).forEach(function(t){return n.classList.add(t)}):n.classList.add(t);else{var i=" "+(n.getAttribute("class")||"")+" ";i.indexOf(" "+t+" ")<0&&n.setAttribute("class",(i+t).trim())}}function ha(n,t){if(t&&(t=t.trim()))if(n.classList)-1<t.indexOf(" ")?t.split(/\s+/).forEach(function(t){return n.classList.remove(t)}):n.classList.remove(t),n.classList.length||n.removeAttribute("class");else{for(var i=" "+(n.getAttribute("class")||"")+" ",r=" "+t+" ";0<=i.indexOf(r);)i=i.replace(r," ");(i=i.trim())?n.setAttribute("class",i):n.removeAttribute("class")}}function ca(n){if(n){if("object"==typeof n){var t={};return!1!==n.css&&i(t,la(n.name||"v")),i(t,n),t}return"string"==typeof n?la(n):void 0}}function ya(n){co(function(){co(n)})}function ri(n,t){var i=n._transitionClasses||(n._transitionClasses=[]);i.indexOf(t)<0&&(i.push(t),sa(n,t))}function et(n,t){n._transitionClasses&&ht(n._transitionClasses,t);ha(n,t)}function pa(n,t,i){var r=ba(n,t),u=r.type,c=r.timeout,f=r.propCount;if(!u)return i();var e=u===yi?cu:va,o=0,s=function(){n.removeEventListener(e,h);i()},h=function(t){t.target===n&&++o>=f&&s()};setTimeout(function(){o<f&&s()},c+1);n.addEventListener(e,h)}function ba(n,t){var i,r=window.getComputedStyle(n),c=r[hu+"Delay"].split(", "),s=r[hu+"Duration"].split(", "),u=ka(c,s),l=r[ho+"Delay"].split(", "),h=r[ho+"Duration"].split(", "),f=ka(l,h),e=0,o=0;return t===yi?0<u&&(i=yi,e=u,o=s.length):t===so?0<f&&(i=so,e=f,o=h.length):o=(i=0<(e=Math.max(u,f))?f<u?yi:so:null)?i===yi?s.length:h.length:0,{type:i,timeout:e,propCount:o,hasTransform:i===yi&&wa.test(r[hu+"Property"])}}function ka(n,t){for(;n.length<t.length;)n=n.concat(n);return Math.max.apply(null,t.map(function(t,i){return da(t)+da(n[i])}))}function da(n){return 1e3*Number(n.slice(0,-1))}function lo(i,r){var u=i.elm,f,e;if(n(u._leaveCb)&&(u._leaveCb.cancelled=!0,u._leaveCb()),f=ca(i.data.transition),!t(f)&&!n(u._enterCb)&&1===u.nodeType){for(var ft=f.css,ot=f.type,st=f.enterClass,ht=f.enterToClass,ct=f.enterActiveClass,p=f.appearClass,w=f.appearToClass,b=f.appearActiveClass,lt=f.beforeEnter,at=f.enter,pt=f.afterEnter,wt=f.enterCancelled,bt=f.beforeAppear,c=f.appear,kt=f.afterAppear,dt=f.appearCancelled,v=f.duration,k=yt,l=yt.$vnode;l&&l.parent;)k=(l=l.parent).context;if(e=!k._isMounted||!i.isRootInsert,!e||c||""===c){var y=e&&p?p:st,d=e&&b?b:ct,g=e&&w?w:ht,nt=e&&bt||lt,h=e&&"function"==typeof c?c:at,tt=e&&kt||pt,it=e&&dt||wt,rt=ki(o(v)?v.enter:v),a=!1!==ft&&!fi,ut=ao(h),s=u._enterCb=sr(function(){a&&(et(u,g),et(u,d));s.cancelled?(a&&et(u,y),it&&it(u)):tt&&tt(u);u._enterCb=null});i.data.show||vt(i,"insert",function(){var t=u.parentNode,n=t&&t._pending&&t._pending[i.key];n&&n.tag===i.tag&&n.elm._leaveCb&&n.elm._leaveCb();h&&h(u,s)});nt&&nt(u);a&&(ri(u,y),ri(u,d),ya(function(){et(u,y);s.cancelled||(ri(u,g),ut||(nv(rt)?setTimeout(s,rt):pa(u,ot,s)))}));i.data.show&&(r&&r(),h&&h(u,s));a||ut||s()}}}function ga(i,r){function g(){e.cancelled||(i.data.show||((u.parentNode._pending||(u.parentNode._pending={}))[i.key]=i),y&&y(u),s&&(ri(u,h),ri(u,v),ya(function(){et(u,h);e.cancelled||(ri(u,a),k||(nv(d)?setTimeout(e,d):pa(u,tt,e)))})),c&&c(u,e),s||k||e())}var u=i.elm,f;if(n(u._enterCb)&&(u._enterCb.cancelled=!0,u._enterCb()),f=ca(i.data.transition),t(f)||1!==u.nodeType)return r();if(!n(u._leaveCb)){var nt=f.css,tt=f.type,h=f.leaveClass,a=f.leaveToClass,v=f.leaveActiveClass,y=f.beforeLeave,c=f.leave,p=f.afterLeave,w=f.leaveCancelled,b=f.delayLeave,l=f.duration,s=!1!==nt&&!fi,k=ao(c),d=ki(o(l)?l.leave:l),e=u._leaveCb=sr(function(){u.parentNode&&u.parentNode._pending&&(u.parentNode._pending[i.key]=null);s&&(et(u,a),et(u,v));e.cancelled?(s&&et(u,h),w&&w(u)):(r(),p&&p(u));u._leaveCb=null});b?b(g):g()}}function nv(n){return"number"==typeof n&&!isNaN(n)}function ao(i){if(t(i))return!1;var r=i.fns;return n(r)?ao(Array.isArray(r)?r[0]:r):1<(i._length||i.length)}function tv(n,t){!0!==t.data.show&&lo(t)}function rv(n,t,i){uv(n,t,i);(ui||ws)&&setTimeout(function(){uv(n,t,i)},0)}function uv(n,t){var u=t.value,f=n.multiple,e,r,i,o;if(!f||Array.isArray(u)){for(i=0,o=n.options.length;i<o;i++)if(r=n.options[i],f)e=-1<vs(u,lu(r)),r.selected!==e&&(r.selected=e);else if(kt(lu(r),u))return void(n.selectedIndex!==i&&(n.selectedIndex=i));f||(n.selectedIndex=-1)}}function fv(n,t){return t.every(function(t){return!kt(t,n)})}function lu(n){return"_value"in n?n._value:n.value}function bb(n){n.target.composing=!0}function ev(n){n.target.composing&&(n.target.composing=!1,yo(n.target,"input"))}function yo(n,t){var i=document.createEvent("HTMLEvents");i.initEvent(t,!0,!0);n.dispatchEvent(i)}function po(n){return!n.componentInstance||n.data&&n.data.transition?n:po(n.componentInstance._vnode)}function bo(n){var t=n&&n.componentOptions;return t&&t.Ctor.options.abstract?bo(ch(t.children)):n}function sv(n){var t={},f=n.$options,i,r,u;for(i in f.propsData)t[i]=n[i];r=f._parentListeners;for(u in r)t[rt(u)]=r[u];return t}function hv(n,t){if(/\d-keep-alive$/.test(t.tag))return n("keep-alive",{props:t.componentOptions.propsData})}function kb(n){n.elm._moveCb&&n.elm._moveCb();n.elm._enterCb&&n.elm._enterCb()}function db(n){n.data.newPos=n.elm.getBoundingClientRect()}function gb(n){var i=n.data.pos,r=n.data.newPos,u=i.left-r.left,f=i.top-r.top,t;(u||f)&&(n.data.moved=!0,t=n.elm.style,t.transform=t.WebkitTransform="translate("+u+"px,"+f+"px)",t.transitionDuration="0s")}function cy(n,t,i){return{type:1,tag:n,attrsList:t,attrsMap:function(n){for(var i={},t=0,r=n.length;t<r;t++)i[n[t].name]=n[t].value;return i}(t),parent:i,children:[]}}function dk(n,t){function s(n){n.pre&&(e=!1);rs(n.tag)&&(o=!1);for(var i=0;i<is.length;i++)is[i](n,t)}iy=t.warn||yl;rs=t.isPreTag||nt;us=t.mustUseProp||nt;uy=t.getTagNamespace||nt;ns=fr(t.modules,"transformNode");ts=fr(t.modules,"preTransformNode");is=fr(t.modules,"postTransformNode");ry=t.delimiters;var u,i,r=[],h=!1!==t.preserveWhitespace,e=!1,o=!1;return function(n,t){function f(t){i+=t;n=n.substring(t)}function ft(){var u=n.match(pv),r,e,t;if(u){for(t={tagName:u[1],attrs:[],start:i},f(u[0].length);!(r=n.match(hk))&&(e=n.match(sk));)f(e[0].length),t.attrs.push(e);if(r)return t.unarySlash=r[1],f(r[0].length),t.end=i,t}}function et(n){var u=n.tagName,w=n.unarySlash,i,y,p;tt&&("p"===r&&ok(u)&&h(r),rt(u)&&r===u&&h(u));for(var s,c,l,a=it(u)||!!w,v=n.attrs.length,o=new Array(v),f=0;f<v;f++)i=n.attrs[f],dv&&-1===i[0].indexOf('""')&&(""===i[3]&&delete i[3],""===i[4]&&delete i[4],""===i[5]&&delete i[5]),y=i[3]||i[4]||i[5]||"",p="a"===u&&"href"===i[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines,o[f]={name:i[1],value:(s=y,c=p,l=c?vk:ak,s.replace(l,function(n){return lk[n]}))};a||(e.push({tag:u,lowerCasedTag:u.toLowerCase(),attrs:o}),r=u);t.start&&t.start(u,o,a,n.start,n.end)}function h(n,u,f){var o,s,h;if(null==u&&(u=i),null==f&&(f=i),n&&(s=n.toLowerCase()),n)for(o=e.length-1;0<=o&&e[o].lowerCasedTag!==s;o--);else o=0;if(0<=o){for(h=e.length-1;o<=h;h--)t.end&&t.end(e[h].tag,u,f);e.length=o;r=o&&e[o-1].tag}else"br"===s?t.start&&t.start(n,[],!0,u,f):"p"===s&&(t.start&&t.start(n,[],!1,u,f),t.end&&t.end(n,u,f))}for(var u,c,v,y,l,d,p,w,r,e=[],tt=t.expectHTML,it=t.isUnaryTag||nt,rt=t.canBeLeftOpenTag||nt,i=0;n;){if(w=n,r&&gv(r)){var b=0,o=r.toLowerCase(),ut=ny[o]||(ny[o]=new RegExp("([\\s\\S]*?)(<\/"+o+"[^>]*>)","i")),k=n.replace(ut,function(n,i,r){return b=r.length,gv(o)||"noscript"===o||(i=i.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),ty(o,i)&&(i=i.slice(1)),t.chars&&t.chars(i),""});i+=n.length-k.length;n=k;h(o,i-b,i)}else{if(u=n.indexOf("<"),0===u){if(bv.test(n)&&(c=n.indexOf("-->"),0<=c)){t.shouldKeepComment&&t.comment(n.substring(4,c));f(c+3);continue}if(kv.test(n)&&(v=n.indexOf("]>"),0<=v)){f(v+2);continue}if(y=n.match(ck),y){f(y[0].length);continue}if(l=n.match(wv),l){d=i;f(l[0].length);h(l[1],d,i);continue}if(p=ft(),p){et(p);ty(r,n)&&f(1);continue}}var a=void 0,s=void 0,g=void 0;if(0<=u){for(s=n.slice(u);!(wv.test(s)||pv.test(s)||bv.test(s)||kv.test(s)||(g=s.indexOf("<",1))<0);)u+=g,s=n.slice(u);a=n.substring(0,u);f(u)}u<0&&(a=n,n="");t.chars&&a&&t.chars(a)}if(n===w){t.chars&&t.chars(n);break}}h()}(n,{warn:iy,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(n,h,c){var y=i&&i.ns||uy(n),a,b,k,p,w,l,v,d;for(ui&&"svg"===y&&(h=function(n){for(var t,r=[],i=0;i<n.length;i++)t=n[i],ay.test(t.name)||(t.name=t.name.replace(vy,""),r.push(t));return r}(h)),l=cy(n,h,i),y&&(l.ns=y),"style"!==(a=l).tag&&("script"!==a.tag||a.attrsMap.type&&"text/javascript"!==a.attrsMap.type)||ei()||(l.forbidden=!0),v=0;v<ts.length;v++)l=ts[v](l,t)||l;(e||(null!=f(b=l,"v-pre")&&(b.pre=!0),l.pre&&(e=!0)),rs(l.tag)&&(o=!0),e?function(n){var i=n.attrsList.length,r,t;if(i)for(r=n.attrs=new Array(i),t=0;t<i;t++)r[t]={name:n.attrsList[t].name,value:JSON.stringify(n.attrsList[t].value)};else n.pre||(n.plain=!0)}(l):l.processed||(ly(l),function(n){var t=f(n,"v-if"),i;t?(n.if=t,pi(n,{exp:t,block:n})):(null!=f(n,"v-else")&&(n.else=!0),i=f(n,"v-else-if"),i&&(n.elseif=i))}(l),null!=f(k=l,"v-once")&&(k.once=!0),au(l,t)),u?r.length||u.if&&(l.elseif||l.else)&&pi(u,{exp:l.elseif,block:l}):u=l,i&&!l.forbidden)&&(l.elseif||l.else?(p=l,(w=function(n){for(var t=n.length;t--;){if(1===n[t].type)return n[t];n.pop()}}(i.children))&&w.if&&pi(w,{exp:p.elseif,block:p})):l.slotScope?(i.plain=!1,d=l.slotTarget||'"default"',(i.scopedSlots||(i.scopedSlots={}))[d]=l):(i.children.push(l),l.parent=i));c?s(l):(i=l,r.push(l))},end:function(){var n=r[r.length-1],t=n.children[n.children.length-1];t&&3===t.type&&" "===t.text&&!o&&n.children.pop();r.length-=1;i=r[r.length-1];s(n)},chars:function(n){if(i&&(!ui||"textarea"!==i.tag||i.attrsMap.placeholder!==n)){var u,r,t=i.children;(n=o||n.trim()?"script"===(u=i).tag||"style"===u.tag?n:kk(n):h&&t.length?" ":"")&&(!e&&" "!==n&&(r=function(n,t){var o=t?tk(t):nk,h;if(o.test(n)){for(var r,s,u,f=[],e=[],i=o.lastIndex=0;r=o.exec(n);)i<(s=r.index)&&(e.push(u=n.slice(i,s)),f.push(JSON.stringify(u))),h=to(r[1].trim()),f.push("_s("+h+")"),e.push({"@binding":h}),i=s+r[0].length;return i<n.length&&(e.push(u=n.slice(i)),f.push(JSON.stringify(u))),{expression:f.join("+"),tokens:e}}}(n,ry))?t.push({type:2,expression:r.expression,tokens:r.tokens,text:n}):" "===n&&t.length&&" "===t[t.length-1].text||t.push({type:3,text:n}))}},comment:function(n){i.children.push({type:3,text:n,isComment:!0})}}),u}function au(n,t){var u,e,i,o,r;for((e=d(u=n,"key"))&&(u.key=e),n.plain=!n.key&&!n.attrsList.length,(o=d(i=n,"ref"))&&(i.ref=o,i.refInFor=function(n){for(var t=n;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(i)),function(n){var i,t;"slot"===n.tag?n.slotName=d(n,"name"):("template"===n.tag?(i=f(n,"scope"),n.slotScope=i||f(n,"slot-scope")):(i=f(n,"slot-scope"))&&(n.slotScope=i),t=d(n,"slot"),t&&(n.slotTarget='""'===t?'"default"':t,"template"===n.tag||n.slotScope||io(n,"slot",t)))}(n),function(n){var t;(t=d(n,"is"))&&(n.component=t);null!=f(n,"inline-template")&&(n.inlineTemplate=!0)}(n),r=0;r<ns.length;r++)n=ns[r](n,t)||n;!function(n){for(var t,l,i,r,e,o=n.attrsList,s,f,h,a,v,y,p,w,u=0,c=o.length;u<c;u++)(t=l=o[u].name,i=o[u].value,ey.test(t))?(n.hasBindings=!0,(r=gk(t))&&(t=t.replace(hy,"")),sy.test(t))?(t=t.replace(sy,""),i=to(i),e=!1,r&&(r.prop&&(e=!0,"innerHtml"===(t=rt(t))&&(t="innerHTML")),r.camel&&(t=rt(t)),r.sync&&ii(n,"update:"+rt(t),bt(i,"$event"))),e||!n.component&&us(n.tag,n.attrsMap.type,t)?ti(n,t,i):io(n,t,i)):fy.test(t)?(t=t.replace(fy,""),ii(n,t,i,r,!1)):(s=(t=t.replace(ey,"")).match(bk),f=s&&s[1],f&&(t=t.slice(0,-(f.length+1))),a=t,v=l,y=i,p=f,w=r,((h=n).directives||(h.directives=[])).push({name:a,rawName:v,value:y,arg:p,modifiers:w}),h.plain=!1):(io(n,t,JSON.stringify(i)),!n.component&&"muted"===t&&us(n.tag,n.attrsMap.type,t)&&ti(n,t,"true"))}(n)}function ly(n){var r,t;(r=f(n,"v-for"))&&(t=function(n){var u=n.match(pk),t,r,i;if(u)return t={},t.for=u[2].trim(),r=u[1].trim().replace(wk,""),i=r.match(oy),i?(t.alias=r.replace(oy,""),t.iterator1=i[1].trim(),i[2]&&(t.iterator2=i[2].trim())):t.alias=r,t}(r),t&&i(n,t))}function pi(n,t){n.ifConditions||(n.ifConditions=[]);n.ifConditions.push(t)}function gk(n){var i=n.match(hy),t;if(i)return t={},i.forEach(function(n){t[n.slice(1)]=!0}),t}function fs(n){return cy(n.tag,n.attrsList.slice(),n.parent)}function id(n,t){n&&(wy=td(t.staticKeys||""),es=t.isReservedTag||nt,function n(t){var i,e,u,r,o,f;if(t.static=function(n){return 2===n.type?!1:3===n.type?!0:!(!n.pre&&(n.hasBindings||n.if||n.for||pp(n.tag)||!es(n.tag)||function(n){for(;n.parent;){if("template"!==(n=n.parent).tag)return!1;if(n.for)return!0}return!1}(n)||!Object.keys(n).every(wy)))}(t),1===t.type){if(!es(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(i=0,e=t.children.length;i<e;i++)u=t.children[i],n(u),u.static||(t.static=!1);if(t.ifConditions)for(r=1,o=t.ifConditions.length;r<o;r++)f=t.ifConditions[r].block,n(f),f.static||(t.static=!1)}}(n),function n(t,i){var r,f,u,e;if(1===t.type){if((t.static||t.once)&&(t.staticInFor=i),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(r=0,f=t.children.length;r<f;r++)n(t.children[r],i||!!t.for);if(t.ifConditions)for(u=1,e=t.ifConditions.length;u<e;u++)n(t.ifConditions[u].block,i)}}(n,!1))}function dy(n,t){var r=t?"nativeOn:{":"on:{",i;for(i in n)r+='"'+i+'":'+gy(i,n[i])+",";return r.slice(0,-1)+"}"}function gy(n,t){var f,e,i,s;if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return gy(n,t)}).join(",")+"]";if(f=ud.test(t.value),e=rd.test(t.value),t.modifiers){var o="",r="",u=[];for(i in t.modifiers)ky[i]?(r+=ky[i],by[i]&&u.push(i)):"exact"===i?(s=t.modifiers,r+=ot(["ctrl","shift","alt","meta"].filter(function(n){return!s[n]}).map(function(n){return"$event."+n+"Key"}).join("||"))):u.push(i);return u.length&&(o+="if(!('button' in $event)&&"+u.map(ed).join("&&")+")return null;"),r&&(o+=r),"function($event){"+o+(f?"return "+t.value+"($event)":e?"return ("+t.value+")($event)":t.value)+"}"}return f||e?t.value:"function($event){"+t.value+"}"}function ed(n){var t=parseInt(n,10),i,r;return t?"$event.keyCode!=="+t:(i=by[n],r=fd[n],"_k($event.keyCode,"+JSON.stringify(n)+","+JSON.stringify(i)+",$event.key,"+JSON.stringify(r)+")")}function ip(n,t){var i=new tp(t);return{render:"with(this){return "+(n?st(n,i):'_c("div")')+"}",staticRenderFns:i.staticRenderFns}}function st(n,t){var r,f,e,u,c,o,s,h,i,l,w,b,a,v,y,p;if(n.staticRoot&&!n.staticProcessed)return rp(n,t);if(n.once&&!n.onceProcessed)return up(n,t);if(n.for&&!n.forProcessed)return l=t,a=(i=n).for,v=i.alias,y=i.iterator1?","+i.iterator1:"",p=i.iterator2?","+i.iterator2:"",i.forProcessed=!0,(b||"_l")+"(("+a+"),function("+v+y+p+"){return "+(w||st)(i,l)+"})";if(n.if&&!n.ifProcessed)return fp(n,t);if("template"!==n.tag||n.slotTarget){if("slot"===n.tag)return function(n,t){var e=n.slotName||'"default"',u=wi(n,t),i="_t("+e+(u?","+u:""),r=n.attrs&&"{"+n.attrs.map(function(n){return rt(n.name)+":"+n.value}).join(",")+"}",f=n.attrsMap["v-bind"];return(r||f)&&!u&&(i+=",null"),r&&(i+=","+r),f&&(i+=(r?"":",null")+","+f),i+")"}(n,t);for(n.component?(c=n.component,s=t,h=(o=n).inlineTemplate?null:wi(o,s,!0),r="_c("+c+","+ep(o,s)+(h?","+h:"")+")"):(f=n.plain?void 0:ep(n,t),e=n.inlineTemplate?null:wi(n,t,!0),r="_c('"+n.tag+"'"+(f?","+f:"")+(e?","+e:"")+")"),u=0;u<t.transforms.length;u++)r=t.transforms[u](n,r);return r}return wi(n,t)||"void 0"}function rp(n,t){return n.staticProcessed=!0,t.staticRenderFns.push("with(this){return "+st(n,t)+"}"),"_m("+(t.staticRenderFns.length-1)+(n.staticInFor?",true":"")+")"}function up(n,t){if(n.onceProcessed=!0,n.if&&!n.ifProcessed)return fp(n,t);if(n.staticInFor){for(var r="",i=n.parent;i;){if(i.for){r=i.key;break}i=i.parent}return r?"_o("+st(n,t)+","+t.onceId+++","+r+")":st(n,t)}return rp(n,t)}function fp(n,t,i,r){return n.ifProcessed=!0,function n(t,i,r,u){function e(n){return r?r(n,i):n.once?up(n,i):st(n,i)}if(!t.length)return u||"_e()";var f=t.shift();return f.exp?"("+f.exp+")?"+e(f.block)+":"+n(t,i,r,u):""+e(f.block)}(n.ifConditions.slice(),t,i,r)}function ep(n,t){var u,e,i="{",o=function(n,t){var u=n.directives,r,h,i,f,e,o,s;if(u){for(e="directives:[",o=!1,r=0,h=u.length;r<h;r++)i=u[r],f=!0,s=t.directives[i.name],s&&(f=!!s(n,i,t.warn)),f&&(o=!0,e+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?',arg:"'+i.arg+'"':"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},");if(o)return e.slice(0,-1)+"]"}}(n,t),r,f;for(o&&(i+=o+","),n.key&&(i+="key:"+n.key+","),n.ref&&(i+="ref:"+n.ref+","),n.refInFor&&(i+="refInFor:true,"),n.pre&&(i+="pre:true,"),n.component&&(i+='tag:"'+n.tag+'",'),r=0;r<t.dataGenFns.length;r++)i+=t.dataGenFns[r](n);return(n.attrs&&(i+="attrs:{"+hp(n.attrs)+"},"),n.props&&(i+="domProps:{"+hp(n.props)+"},"),n.events&&(i+=dy(n.events,!1,t.warn)+","),n.nativeEvents&&(i+=dy(n.nativeEvents,!0,t.warn)+","),n.slotTarget&&!n.slotScope&&(i+="slot:"+n.slotTarget+","),n.scopedSlots&&(i+=(u=n.scopedSlots,e=t,"scopedSlots:_u(["+Object.keys(u).map(function(n){return op(n,u[n],e)}).join(",")+"]),")),n.model&&(i+="model:{value:"+n.model.value+",callback:"+n.model.callback+",expression:"+n.model.expression+"},"),n.inlineTemplate)&&(f=function(n,t){var r=n.children[0],i;if(1===r.type)return i=ip(r,t.options),"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(n){return"function(){"+n+"}"}).join(",")+"]}"}(n,t),f&&(i+=f+",")),i=i.replace(/,$/,"")+"}",n.wrapData&&(i=n.wrapData(i)),n.wrapListeners&&(i=n.wrapListeners(i)),i}function op(n,t,i){return t.for&&!t.forProcessed?(u=n,f=i,e=(r=t).for,o=r.alias,s=r.iterator1?","+r.iterator1:"",h=r.iterator2?","+r.iterator2:"",r.forProcessed=!0,"_l(("+e+"),function("+o+s+h+"){return "+op(u,r,f)+"})"):"{key:"+n+",fn:"+("function("+String(t.slotScope)+"){return "+("template"===t.tag?t.if?t.if+"?"+(wi(t,i)||"undefined")+":undefined":wi(t,i)||"undefined":st(t,i))+"}")+"}";var u,r,f,e,o,s,h}function wi(n,t,i,r,u){var f=n.children,e,o,s;if(f.length)return(e=f[0],1===f.length&&e.for&&"template"!==e.tag&&"slot"!==e.tag)?(r||st)(e,t):(o=i?function(n,t){for(var i,r=0,u=0;u<n.length;u++)if(i=n[u],1===i.type){if(sp(i)||i.ifConditions&&i.ifConditions.some(function(n){return sp(n.block)})){r=2;break}(t(i)||i.ifConditions&&i.ifConditions.some(function(n){return t(n.block)}))&&(r=1)}return r}(f,t.maybeComponent):0,s=u||od,"["+f.map(function(n){return s(n,t)}).join(",")+"]"+(o?","+o:""))}function sp(n){return void 0!==n.for||"template"===n.tag||"slot"===n.tag}function od(n,t){return 1===n.type?st(n,t):3===n.type&&n.isComment?(r=n,"_e("+JSON.stringify(r.text)+")"):"_v("+(2===(i=n).type?i.expression:cp(JSON.stringify(i.text)))+")";var i,r}function hp(n){for(var r,i="",t=0;t<n.length;t++)r=n[t],i+='"'+r.name+'":'+cp(r.value)+",";return i.slice(0,-1)}function cp(n){return n.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function lp(n,t){try{return new Function(n)}catch(i){return t.push({err:i,code:n}),h}}function vp(n){return(os=os||document.createElement("div")).innerHTML=n?'<a href="\n"/>':'<div a="\n"/>',0<os.innerHTML.indexOf("&#10;")}var y=Object.freeze({}),hs=Object.prototype.toString,pp=e("slot,component",!0),wp=e("key,ref,slot,slot-scope,is"),bp=Object.prototype.hasOwnProperty,kp=/-(\w)/g,rt=g(function(n){return n.replace(kp,function(n,t){return t?t.toUpperCase():""})}),dp=g(function(n){return n.charAt(0).toUpperCase()+n.slice(1)}),gp=/\B([A-Z])/g,vu=g(function(n){return n.replace(gp,"-$1").toLowerCase()}),nw=Function.prototype.bind?function(n,t){return n.bind(t)}:function(n,t){function i(i){var r=arguments.length;return r?1<r?n.apply(t,arguments):n.call(t,i):n.call(t)}return i._length=n.length,i},nt=function(){return!1},as=function(n){return n},ys="data-server-rendered",hr=["component","directive","filter"],ps=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],p={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:nt,isReservedAttr:nt,isUnknownElement:nt,getTagNamespace:h,parsePlatformTagName:as,mustUseProp:nt,_lifecycleHooks:ps},tw=/[^\w.$]/,wu,iw="__proto__"in{},a="undefined"!=typeof window,bu="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,rw=bu&&WXEnvironment.platform.toLowerCase(),b=a&&window.navigator.userAgent.toLowerCase(),ui=b&&/msie|trident/.test(b),fi=b&&0<b.indexOf("msie 9.0"),ws=b&&0<b.indexOf("edge/"),uw=(b&&b.indexOf("android"),b&&/iphone|ipad|ipod|ios/.test(b)||"ios"===rw),ku=(b&&/chrome\/\d+/.test(b),{}.watch),bs=!1,du,ei,di,cr,gu,nf,l,uf,ct,ff,lr,ds,ar,gi,tt,nh,af,nr,vr,yr,wr,vf,fh,eh,pf,tr,wf,yt,yh,k,ft,ph,gr,ee,fc,oe,li,ec,oc,tu,sc,se,he,hc,v,ac,vc,ae,yc,rr,uu,nl,tl,pt,vi,il,rl,fl,hl,ge,ll,fu,wt,eu,no,al,vl,er,or,ou,gl,ta,eo,oa,co,wa,iv,vo,ov,wo,cv,ko,lv,ay,vy,np,tp,ap,os,ss;if(a)try{du={};Object.defineProperty(du,"passive",{get:function(){bs=!0}});window.addEventListener("test-passive",null,du)}catch(g){}ei=function(){return void 0===wu&&(wu=!a&&!bu&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),wu};di=a&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;gu="undefined"!=typeof Symbol&&oi(Symbol)&&"undefined"!=typeof Reflect&&oi(Reflect.ownKeys);cr="undefined"!=typeof Set&&oi(Set)?Set:function(){function n(){this.set=Object.create(null)}return n.prototype.has=function(n){return!0===this.set[n]},n.prototype.add=function(n){this.set[n]=!0},n.prototype.clear=function(){this.set=Object.create(null)},n}();var fw=h,ew=0,c=function(){this.id=ew++;this.subs=[]};c.prototype.addSub=function(n){this.subs.push(n)};c.prototype.removeSub=function(n){ht(this.subs,n)};c.prototype.depend=function(){c.target&&c.target.addDep(this)};c.prototype.notify=function(){for(var t=this.subs.slice(),n=0,i=t.length;n<i;n++)t[n].update()};c.target=null;nf=[];l=function(n,t,i,r,u,f,e,o){this.tag=n;this.data=t;this.children=i;this.text=r;this.elm=u;this.ns=void 0;this.context=f;this.fnContext=void 0;this.fnOptions=void 0;this.fnScopeId=void 0;this.key=t&&t.key;this.componentOptions=e;this.componentInstance=void 0;this.parent=void 0;this.raw=!1;this.isStatic=!1;this.isRootInsert=!0;this.isComment=!1;this.isCloned=!1;this.isOnce=!1;this.asyncFactory=o;this.asyncMeta=void 0;this.isAsyncPlaceholder=!1};uf={child:{configurable:!0}};uf.child.get=function(){return this.componentInstance};Object.defineProperties(l.prototype,uf);ct=function(n){void 0===n&&(n="");var t=new l;return t.text=n,t.isComment=!0,t};ff=Array.prototype;lr=Object.create(ff);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(n){var t=ff[n];pu(lr,n,function(){for(var u,e,f,i=[],r=arguments.length;r--;)i[r]=arguments[r];e=t.apply(this,i);f=this.__ob__;switch(n){case"push":case"unshift":u=i;break;case"splice":u=i.slice(2)}return u&&f.observeArray(u),f.dep.notify(),e})});ds=Object.getOwnPropertyNames(lr);ar=!0;gi=function(n){(this.value=n,this.dep=new c,this.vmCount=0,pu(n,"__ob__",this),Array.isArray(n))?((iw?ow:sw)(n,lr,ds),this.observeArray(n)):this.walk(n)};gi.prototype.walk=function(n){for(var i=Object.keys(n),t=0;t<i.length;t++)dt(n,i[t])};gi.prototype.observeArray=function(n){for(var t=0,i=n.length;t<i;t++)hi(n[t])};tt=p.optionMergeStrategies;tt.data=function(n,t,i){return i?sf(n,t,i):t&&"function"!=typeof t?n:sf(n,t)};ps.forEach(function(n){tt[n]=hw});hr.forEach(function(n){tt[n+"s"]=cw});tt.watch=function(n,t){var u,e,r,f;if(n===ku&&(n=void 0),t===ku&&(t=void 0),!t)return Object.create(n||null);if(!n)return t;u={};for(e in i(u,n),t)r=u[e],f=t[e],r&&!Array.isArray(r)&&(r=[r]),u[e]=r?r.concat(f):Array.isArray(f)?f:[f];return u};tt.props=tt.methods=tt.inject=tt.computed=function(n,t){if(!n)return t;var r=Object.create(null);return i(r,n),t&&i(r,t),r};tt.provide=sf;nh=function(n,t){return void 0===t?n:t};vr=[];yr=!1;wr=!1;"undefined"!=typeof setImmediate&&oi(setImmediate)?nr=function(){setImmediate(pr)}:"undefined"!=typeof MessageChannel&&(oi(MessageChannel)||"[object MessageChannelConstructor]"===MessageChannel.toString())?(vf=new MessageChannel,fh=vf.port2,vf.port1.onmessage=pr,nr=function(){fh.postMessage(1)}):nr=function(){setTimeout(pr,0)};"undefined"!=typeof Promise&&oi(Promise)?(eh=Promise.resolve(),af=function(){eh.then(pr);uw&&setTimeout(h)}):af=nr;pf=new cr;wf=g(function(n){var t="&"===n.charAt(0),i="~"===(n=t?n.slice(1):n).charAt(0),r="!"===(n=i?n.slice(1):n).charAt(0);return{name:n=r?n.slice(1):n,once:i,capture:r,passive:t}});yt=null;var ut=[],ne=[],dr={},te=!1,ie=!1,ci=0;yh=0;k=function(n,t,i,r,u){this.vm=n;u&&(n._watcher=this);n._watchers.push(this);r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1;this.cb=i;this.id=++yh;this.active=!0;this.dirty=this.lazy;this.deps=[];this.newDeps=[];this.depIds=new cr;this.newDepIds=new cr;this.expression="";"function"==typeof t?this.getter=t:(this.getter=function(n){if(!tw.test(n)){var t=n.split(".");return function(n){for(var i=0;i<t.length;i++){if(!n)return;n=n[t[i]]}return n}}}(t),this.getter||(this.getter=function(){}));this.value=this.lazy?void 0:this.get()};k.prototype.get=function(){var n,t;tf(this);t=this.vm;try{n=this.getter.call(t,t)}catch(n){if(!this.user)throw n;at(n,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&br(n);rf();this.cleanupDeps()}return n};k.prototype.addDep=function(n){var t=n.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(n),this.depIds.has(t)||n.addSub(this))};k.prototype.cleanupDeps=function(){for(var i,n,t=this.deps.length;t--;)i=this.deps[t],this.newDepIds.has(i.id)||i.removeSub(this);n=this.depIds;this.depIds=this.newDepIds;this.newDepIds=n;this.newDepIds.clear();n=this.deps;this.deps=this.newDeps;this.newDeps=n;this.newDeps.length=0};k.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(n){var i=n.id,t;if(null==dr[i]){if(dr[i]=!0,ie){for(t=ut.length-1;ci<t&&ut[t].id>n.id;)t--;ut.splice(t+1,0,n)}else ut.push(n);te||(te=!0,yf(yw))}}(this)};k.prototype.run=function(){var n,t;if(this.active&&(n=this.get(),n!==this.value||o(n)||this.deep))if(t=this.value,this.value=n,this.user)try{this.cb.call(this.vm,n,t)}catch(n){at(n,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,n,t)};k.prototype.evaluate=function(){this.value=this.get();this.dirty=!1};k.prototype.depend=function(){for(var n=this.deps.length;n--;)this.deps[n].depend()};k.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||ht(this.vm._watchers,this);for(var n=this.deps.length;n--;)this.deps[n].removeSub(this);this.active=!1}};ft={enumerable:!0,configurable:!0,get:h,set:h};ph={lazy:!0};tc(fe.prototype);gr={init:function(t,i,r,u){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var f=t;gr.prepatch(f,f)}else(t.componentInstance=function(t,i,r,u){var f={_isComponent:!0,parent:i,_parentVnode:t,_parentElm:r||null,_refElm:u||null},e=t.data.inlineTemplate;return n(e)&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns),new t.componentOptions.Ctor(f)}(t,yt,r,u)).$mount(i?t.elm:void 0,i)},prepatch:function(n,t){var i=t.componentOptions;!function(n,t,i,r,u){var c=!!(u||n.$options._renderChildren||r.data.scopedSlots||n.$scopedSlots!==y),e,s,h;if(n.$options._parentVnode=r,n.$vnode=r,n._vnode&&(n._vnode.parent=r),n.$options._renderChildren=u,n.$attrs=r.data.attrs||y,n.$listeners=i||y,t&&n.$options.props){lt(!1);for(var l=n._props,o=n.$options._propKeys||[],f=0;f<o.length;f++)e=o[f],s=n.$options.props,l[e]=cf(e,s,t,n);lt(!0);n.$options.propsData=t}i=i||y;h=n.$options._parentListeners;n.$options._parentListeners=i;lh(n,i,h);c&&(n.$slots=df(u,r.context),n.$forceUpdate())}(t.componentInstance=n.componentInstance,i.propsData,i.listeners,t,i.children)},insert:function(n){var i,r=n.context,t=n.componentInstance;t._isMounted||(t._isMounted=!0,it(t,"mounted"));n.data.keepAlive&&(r._isMounted?((i=t)._inactive=!1,ne.push(i)):gf(t,!0))},destroy:function(n){var t=n.componentInstance;t._isDestroyed||(n.data.keepAlive?function n(t,i){if(!(i&&(t._directInactive=!0,vh(t))||t._inactive)){t._inactive=!0;for(var r=0;r<t.$children.length;r++)n(t.$children[r]);it(t,"deactivated")}}(t,!0):t.$destroy())}};ee=Object.keys(gr);fc=1;oe=2;hc=0;r.prototype._init=function(n){var r,u,f,i,t=this;t._uid=hc++;t._isVue=!0;n&&n._isComponent?function(n,t){var i=n.$options=Object.create(n.constructor.options),u=t._parentVnode,r;i.parent=t.parent;i._parentVnode=u;i._parentElm=t._parentElm;i._refElm=t._refElm;r=u.componentOptions;i.propsData=r.propsData;i._parentListeners=r.listeners;i._renderChildren=r.children;i._componentTag=r.tag;t.render&&(i.render=t.render,i.staticRenderFns=t.staticRenderFns)}(t,n):t.$options=gt(ce(t.constructor),n||{},t),function(n){var i=n.$options,t=i.parent;if(t&&!i.abstract){for(;t.$options.abstract&&t.$parent;)t=t.$parent;t.$children.push(n)}n.$parent=t;n.$root=t?t.$root:n;n.$children=[];n.$refs={};n._watcher=null;n._inactive=null;n._directInactive=!1;n._isMounted=!1;n._isDestroyed=!1;n._isBeingDestroyed=!1}((t._renderProxy=t)._self=t),function(n){n._events=Object.create(null);n._hasHookEvent=!1;var t=n.$options._parentListeners;t&&lh(n,t)}(t),function(n){var r;n._vnode=null;n._staticTrees=null;var i=n.$options,t=n.$vnode=i._parentVnode,u=t&&t.context;n.$slots=df(i._renderChildren,u);n.$scopedSlots=y;n._c=function(t,i,r,u){return nu(n,t,i,r,u,!1)};n.$createElement=function(t,i,r,u){return nu(n,t,i,r,u,!0)};r=t&&t.data;dt(n,"$attrs",r&&r.attrs||y,null,!0);dt(n,"$listeners",i._parentListeners||y,null,!0)}(t);it(t,"beforeCreate");(u=kh((r=t).$options.inject,r))&&(lt(!1),Object.keys(u).forEach(function(n){dt(r,n,u[n])}),lt(!0));pw(t);(i=(f=t).$options.provide)&&(f._provided="function"==typeof i?i.call(f):i);it(t,"created");t.$options.el&&t.$mount(t.$options.el)};li=r;ec={get:function(){return this._data}};oc={get:function(){return this._props}};Object.defineProperty(li.prototype,"$data",ec);Object.defineProperty(li.prototype,"$props",oc);li.prototype.$set=ef;li.prototype.$delete=gs;li.prototype.$watch=function(n,t,i){if(w(t))return ue(this,n,t,i);(i=i||{}).user=!0;var r=new k(this,n,t,i);return i.immediate&&t.call(this,r.value),function(){r.teardown()}};sc=/^hook:/;(tu=r).prototype.$on=function(n,t){if(Array.isArray(n))for(var i=0,r=n.length;i<r;i++)this.$on(n[i],t);else(this._events[n]||(this._events[n]=[])).push(t),sc.test(n)&&(this._hasHookEvent=!0);return this};tu.prototype.$once=function(n,t){function r(){i.$off(n,r);t.apply(i,arguments)}var i=this;return r.fn=t,i.$on(n,r),i};tu.prototype.$off=function(n,t){var i=this,u,e,r,o,f;if(!arguments.length)return i._events=Object.create(null),i;if(Array.isArray(n)){for(u=0,e=n.length;u<e;u++)this.$off(n[u],t);return i}if(r=i._events[n],!r)return i;if(!t)return i._events[n]=null,i;if(t)for(f=r.length;f--;)if((o=r[f])===t||o.fn===t){r.splice(f,1);break}return i};tu.prototype.$emit=function(n){var i=this,t=i._events[n];if(t){t=1<t.length?yu(t):t;for(var u=yu(arguments,1),r=0,f=t.length;r<f;r++)try{t[r].apply(i,u)}catch(t){at(t,i,'event handler for "'+n+'"')}}return i};(se=r).prototype._update=function(n,t){var i=this;i._isMounted&&it(i,"beforeUpdate");var r=i.$el,u=i._vnode,f=yt;(yt=i)._vnode=n;u?i.$el=i.__patch__(u,n):(i.$el=i.__patch__(i.$el,n,t,!1,i.$options._parentElm,i.$options._refElm),i.$options._parentElm=i.$options._refElm=null);yt=f;r&&(r.__vue__=null);i.$el&&(i.$el.__vue__=i);i.$vnode&&i.$parent&&i.$vnode===i.$parent._vnode&&(i.$parent.$el=i.$el)};se.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()};se.prototype.$destroy=function(){var n=this,t,i;if(!n._isBeingDestroyed){for(it(n,"beforeDestroy"),n._isBeingDestroyed=!0,t=n.$parent,!t||t._isBeingDestroyed||n.$options.abstract||ht(t.$children,n),n._watcher&&n._watcher.teardown(),i=n._watchers.length;i--;)n._watchers[i].teardown();n._data.__ob__&&n._data.__ob__.vmCount--;n._isDestroyed=!0;n.__patch__(n._vnode,null);it(n,"destroyed");n.$off();n.$el&&(n.$el.__vue__=null);n.$vnode&&(n.$vnode.parent=null)}};tc((he=r).prototype);he.prototype.$nextTick=function(n){return yf(n,this)};he.prototype._render=function(){var t,n=this,r=n.$options,u=r.render,i=r._parentVnode;i&&(n.$scopedSlots=i.data.scopedSlots||y);n.$vnode=i;try{t=u.call(n._renderProxy,n.$createElement)}catch(r){at(r,n,"render");t=n._vnode}return t instanceof l||(t=ct()),t.parent=i,t};ae=[String,RegExp,Array];yc={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:ae,exclude:ae,max:[String,Number]},created:function(){this.cache=Object.create(null);this.keys=[]},destroyed:function(){for(var n in this.cache)le(this.cache,n,this.keys)},mounted:function(){var n=this;this.$watch("include",function(t){lc(n,function(n){return iu(t,n)})});this.$watch("exclude",function(t){lc(n,function(n){return!iu(t,n)})})},render:function(){var e=this.$slots.default,n=ch(e),r=n&&n.componentOptions;if(r){var u=cc(r),o=this.include,s=this.exclude;if(o&&(!u||!iu(o,u))||s&&u&&iu(s,u))return n;var f=this.cache,t=this.keys,i=null==n.key?r.Ctor.cid+(r.tag?"::"+r.tag:""):n.key;f[i]?(n.componentInstance=f[i].componentInstance,ht(t,i),t.push(i)):(f[i]=n,t.push(i),this.max&&t.length>parseInt(this.max)&&le(f,t[0],t,this._vnode));n.data.keepAlive=!0}return n||e&&e[0]}}};v=r;vc={get:function(){return p}};Object.defineProperty(v,"config",vc);v.util={warn:fw,extend:i,mergeOptions:gt,defineReactive:dt};v.set=ef;v.delete=gs;v.nextTick=yf;v.options=Object.create(null);hr.forEach(function(n){v.options[n+"s"]=Object.create(null)});i((v.options._base=v).options.components,yc);v.use=function(n){var i=this._installedPlugins||(this._installedPlugins=[]),t;return-1<i.indexOf(n)?this:(t=yu(arguments,1),t.unshift(this),"function"==typeof n.install?n.install.apply(n,t):"function"==typeof n&&n.apply(null,t),i.push(n),this)};v.mixin=function(n){return this.options=gt(this.options,n),this};ub(v);ac=v;hr.forEach(function(n){ac[n]=function(t,i){return i?("component"===n&&w(i)&&(i.name=i.name||t,i=this.options._base.extend(i)),"directive"===n&&"function"==typeof i&&(i={bind:i,update:i}),this.options[n+"s"][t]=i):this.options[n+"s"][t]}});Object.defineProperty(r.prototype,"$isServer",{get:ei});Object.defineProperty(r.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}});Object.defineProperty(r,"FunctionalRenderContext",{value:fe});r.version="2.5.17";var fb=e("style,class"),eb=e("input,textarea,option,select,progress"),pc=function(n,t,i){return"value"===i&&eb(n)&&"button"!==t||"selected"===i&&"option"===n||"checked"===i&&"input"===n||"muted"===i&&"video"===n},wc=e("contenteditable,draggable,spellcheck"),ob=e("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),ve="http://www.w3.org/1999/xlink",ye=function(n){return":"===n.charAt(5)&&"xlink"===n.slice(0,5)},bc=function(n){return ye(n)?n.slice(6,n.length):""},ru=function(n){return null==n||!1===n};var hb={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},cb=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),dc=e("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),be=function(n){return cb(n)||dc(n)};rr=Object.create(null);uu=e("text,number,password,search,email,tel,url");nl=Object.freeze({createElement:function(n,t){var i=document.createElement(n);return"select"!==n||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&i.setAttribute("multiple","multiple"),i},createElementNS:function(n,t){return document.createElementNS(hb[n],t)},createTextNode:function(n){return document.createTextNode(n)},createComment:function(n){return document.createComment(n)},insertBefore:function(n,t,i){n.insertBefore(t,i)},removeChild:function(n,t){n.removeChild(t)},appendChild:function(n,t){n.appendChild(t)},parentNode:function(n){return n.parentNode},nextSibling:function(n){return n.nextSibling},tagName:function(n){return n.tagName},setTextContent:function(n,t){n.textContent=t},setStyleScope:function(n,t){n.setAttribute(t,"")}});tl={create:function(n,t){ai(t)},update:function(n,t){n.data.ref!==t.data.ref&&(ai(n,!0),ai(t))},destroy:function(n){ai(n,!0)}};pt=new l("",{},[]);vi=["create","activate","update","remove","destroy"];il={create:de,update:de,destroy:function(n){de(n,pt)}};rl=Object.create(null);fl=[tl,il];hl={create:el,update:el};al={create:cl,update:cl};vl=/[\w).+\-_$\]]/;or="__r";ou="__c";gl={create:dl,update:dl};ta={create:na,update:na};eo=g(function(n){var t={},i=/:(.+)/;return n.split(/;(?![^(]*\))/g).forEach(function(n){if(n){var r=n.split(i);1<r.length&&(t[r[0].trim()]=r[1].trim())}}),t});var su,pb=/^--/,ra=/\s*!important$/,ua=function(n,t,i){var u,r,f;if(pb.test(t))n.style.setProperty(t,i);else if(ra.test(i))n.style.setProperty(t,i.replace(ra,""),"important");else if(u=wb(t),Array.isArray(i))for(r=0,f=i.length;r<f;r++)n.style[u]=i[r];else n.style[u]=i},fa=["Webkit","Moz","ms"],wb=g(function(n){var r,t,i;if(su=su||document.createElement("div").style,"filter"!==(n=rt(n))&&n in su)return n;for(r=n.charAt(0).toUpperCase()+n.slice(1),t=0;t<fa.length;t++)if(i=fa[t]+r,i in su)return i});oa={create:ea,update:ea};var la=g(function(n){return{enterClass:n+"-enter",enterToClass:n+"-enter-to",enterActiveClass:n+"-enter-active",leaveClass:n+"-leave",leaveToClass:n+"-leave-to",leaveActiveClass:n+"-leave-active"}}),aa=a&&!fi,yi="transition",so="animation",hu="transition",cu="transitionend",ho="animation",va="animationend";aa&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(hu="WebkitTransition",cu="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ho="WebkitAnimation",va="webkitAnimationEnd"));co=a?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(n){return n()};wa=/\b(transform|all)(,|$)/;iv=function(i){function y(t){var i=r.parentNode(t);n(i)&&r.removeChild(i,t)}function s(t,i,e,o,s,h,c){if(n(t.elm)&&n(h)&&(t=h[c]=ks(t)),t.isRootInsert=!s,!function(t,i,r,e){var o=t.data,s;if(n(o)&&(s=n(t.componentInstance)&&o.keepAlive,n(o=o.hook)&&n(o=o.init)&&o(t,!1,r,e),n(t.componentInstance)))return d(t,i),u(s)&&function(t,i,r,u){for(var e,o=t;o.componentInstance;)if(o=o.componentInstance._vnode,n(e=o.data)&&n(e=e.transition)){for(e=0;e<f.activate.length;++e)f.activate[e](pt,o);i.push(o);break}g(r,t.elm,u)}(t,i,r,e),!0}(t,i,e,o)){var a=t.data,v=t.children,l=t.tag;n(l)?(t.elm=t.ns?r.createElementNS(t.ns,l):r.createElement(l,t),tt(t),nt(t,v,i),n(a)&&w(t,i)):t.elm=u(t.isComment)?r.createComment(t.text):r.createTextNode(t.text);g(e,t.elm,o)}}function d(t,i){n(t.data.pendingInsert)&&(i.push.apply(i,t.data.pendingInsert),t.data.pendingInsert=null);t.elm=t.componentInstance.$el;p(t)?(w(t,i),tt(t)):(ai(t),i.push(t))}function g(t,i,u){n(t)&&(n(u)?u.parentNode===t&&r.insertBefore(t,i,u):r.appendChild(t,i))}function nt(n,t,i){if(Array.isArray(t))for(var u=0;u<t.length;++u)s(t[u],i,n.elm,null,!0,t,u);else bi(n.text)&&r.appendChild(n.elm,r.createTextNode(String(n.text)))}function p(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return n(t.tag)}function w(t,i){for(var r=0;r<f.create.length;++r)f.create[r](pt,t);n(o=t.data.hook)&&(n(o.create)&&o.create(pt,t),n(o.insert)&&i.push(t))}function tt(t){var i,u;if(n(i=t.fnScopeId))r.setStyleScope(t.elm,i);else for(u=t;u;)n(i=u.context)&&n(i=i.$options._scopeId)&&r.setStyleScope(t.elm,i),u=u.parent;n(i=yt)&&i!==t.context&&i!==t.fnContext&&n(i=i.$options._scopeId)&&r.setStyleScope(t.elm,i)}function it(n,t,i,r,u,f){for(;r<=u;++r)s(i[r],f,n,t,!1,i,r)}function a(t){var i,r,u=t.data;if(n(u))for(n(i=u.hook)&&n(i=i.destroy)&&i(t),i=0;i<f.destroy.length;++i)f.destroy[i](t);if(n(i=t.children))for(r=0;r<t.children.length;++r)a(t.children[r])}function b(t,i,r,u){for(;r<=u;++r){var f=i[r];n(f)&&(n(f.tag)?(rt(f),a(f)):y(f.elm))}}function rt(t,i){if(n(i)||n(t.data)){var r,u=f.remove.length+1;for(n(i)?i.listeners+=u:i=function(n,t){function i(){0==--i.listeners&&y(n)}return i.listeners=t,i}(t.elm,u),n(r=t.componentInstance)&&n(r=r._vnode)&&n(r.data)&&rt(r,i),r=0;r<f.remove.length;++r)f.remove[r](t,i);n(r=t.data.hook)&&n(r=r.remove)?r(t,i):i()}else y(t.elm)}function et(t,i,r,u){for(var e,f=r;f<u;f++)if(e=i[f],n(e)&&ni(t,e))return f}function h(i,e,o,c){var w,l,a,v,y;if(i!==e)if(w=e.elm=i.elm,u(i.isAsyncPlaceholder))n(e.asyncFactory.resolved)?k(i.elm,e,o):e.isAsyncPlaceholder=!0;else if(u(e.isStatic)&&u(i.isStatic)&&e.key===i.key&&(u(e.isCloned)||u(e.isOnce)))e.componentInstance=i.componentInstance;else{if(a=e.data,n(a)&&n(l=a.hook)&&n(l=l.prepatch)&&l(i,e),v=i.children,y=e.children,n(a)&&p(e)){for(l=0;l<f.update.length;++l)f.update[l](i,e);n(l=a.hook)&&n(l=l.update)&&l(i,e)}t(e.text)?n(v)&&n(y)?v!==y&&function(i,u,f,e,o){for(var d,g,nt,y=0,w=0,v=u.length-1,c=u[0],a=u[v],p=f.length-1,l=f[0],k=f[p],tt=!o;y<=v&&w<=p;)t(c)?c=u[++y]:t(a)?a=u[--v]:ni(c,l)?(h(c,l,e),c=u[++y],l=f[++w]):ni(a,k)?(h(a,k,e),a=u[--v],k=f[--p]):ni(c,k)?(h(c,k,e),tt&&r.insertBefore(i,c.elm,r.nextSibling(a.elm)),c=u[++y],k=f[--p]):(ni(a,l)?(h(a,l,e),tt&&r.insertBefore(i,a.elm,c.elm),a=u[--v]):(t(d)&&(d=lb(u,y,v)),t(g=n(l.key)?d[l.key]:et(l,u,y,v))?s(l,e,i,c.elm,!1,f,w):ni(nt=u[g],l)?(h(nt,l,e),u[g]=void 0,tt&&r.insertBefore(i,nt.elm,c.elm)):s(l,e,i,c.elm,!1,f,w)),l=f[++w]);v<y?it(i,t(f[p+1])?null:f[p+1].elm,f,w,p,e):p<w&&b(0,u,y,v)}(w,v,y,o,c):n(y)?(n(i.text)&&r.setTextContent(w,""),it(w,null,y,0,y.length-1,o)):n(v)?b(0,v,0,v.length-1):n(i.text)&&r.setTextContent(w,""):i.text!==e.text&&r.setTextContent(w,e.text);n(a)&&n(l=a.hook)&&n(l=l.postpatch)&&l(i,e)}}function ut(t,i,r){if(u(r)&&n(t.parent))t.parent.data.pendingInsert=i;else for(var f=0;f<i.length;++f)i[f].data.hook.insert(i[f])}function k(t,i,r,f){var e,y=i.tag,o=i.data,h=i.children,l,v;if(f=f||o&&o.pre,i.elm=t,u(i.isComment)&&n(i.asyncFactory))return i.isAsyncPlaceholder=!0;if(n(o)&&(n(e=o.hook)&&n(e=e.init)&&e(i,!0),n(e=i.componentInstance)))return d(i,r),!0;if(n(y)){if(n(h))if(t.hasChildNodes())if(n(e=o)&&n(e=e.domProps)&&n(e=e.innerHTML)){if(e!==t.innerHTML)return!1}else{for(var a=!0,s=t.firstChild,c=0;c<h.length;c++){if(!s||!k(s,h[c],r,f)){a=!1;break}s=s.nextSibling}if(!a||s)return!1}else nt(i,h,r);if(n(o)){l=!1;for(v in o)if(!ft(v)){l=!0;w(i,r);break}!l&&o.class&&br(o.class)}}else t.data!==i.text&&(t.data=i.text);return!0}for(var c,f={},v=i.modules,r=i.nodeOps,ft,o=0;o<vi.length;++o)for(f[vi[o]]=[],c=0;c<v.length;++c)n(v[c][vi[o]])&&f[vi[o]].push(v[c][vi[o]]);return ft=e("attrs,class,staticClass,staticStyle,key"),function(i,e,o,c,v,y){var ft,et,d,ot,g,st,w,ht,nt,tt,it,rt;if(!t(e)){if(et=!1,d=[],t(i))et=!0,s(e,d,v,y);else if(ot=n(i.nodeType),!ot&&ni(i,e))h(i,e,d,c);else{if(ot){if(1===i.nodeType&&i.hasAttribute(ys)&&(i.removeAttribute(ys),o=!0),u(o)&&k(i,e,d))return ut(e,d,!0),i;ft=i;i=new l(r.tagName(ft).toLowerCase(),{},[],void 0,ft)}if(g=i.elm,st=r.parentNode(g),s(e,d,g._leaveCb?null:st,r.nextSibling(g)),n(e.parent))for(w=e.parent,ht=p(e);w;){for(nt=0;nt<f.destroy.length;++nt)f.destroy[nt](w);if(w.elm=e.elm,ht){for(tt=0;tt<f.create.length;++tt)f.create[tt](pt,w);if(it=w.data.hook.insert,it.merged)for(rt=1;rt<it.fns.length;rt++)it.fns[rt]()}else ai(w);w=w.parent}n(st)?b(0,[i],0,0):n(i.tag)&&a(i)}return ut(e,d,et),e.elm}n(i)&&a(i)}}({nodeOps:nl,modules:[hl,al,gl,ta,oa,a?{create:tv,activate:tv,remove:function(n,t){!0!==n.data.show?ga(n,t):t()}}:{}].concat(fl)});fi&&document.addEventListener("selectionchange",function(){var n=document.activeElement;n&&n.vmodel&&yo(n,"input")});vo={inserted:function(n,t,i,r){"select"===i.tag?(r.elm&&!r.elm._vOptions?vt(i,"postpatch",function(){vo.componentUpdated(n,t,i)}):rv(n,t,i.context),n._vOptions=[].map.call(n.options,lu)):("textarea"===i.tag||uu(n.type))&&(n._vModifiers=t.modifiers,t.modifiers.lazy||(n.addEventListener("compositionstart",bb),n.addEventListener("compositionend",ev),n.addEventListener("change",ev),fi&&(n.vmodel=!0)))},componentUpdated:function(n,t,i){if("select"===i.tag){rv(n,t,i.context);var u=n._vOptions,r=n._vOptions=[].map.call(n.options,lu);r.some(function(n,t){return!kt(n,u[t])})&&(n.multiple?t.value.some(function(n){return fv(n,r)}):t.value!==t.oldValue&&fv(t.value,r))&&yo(n,"change")}}};ov={model:vo,show:{bind:function(n,t,i){var r=t.value,f=(i=po(i)).data&&i.data.transition,u=n.__vOriginalDisplay="none"===n.style.display?"":n.style.display;r&&f?(i.data.show=!0,lo(i,function(){n.style.display=u})):n.style.display=r?u:"none"},update:function(n,t,i){var r=t.value;!r!=!t.oldValue&&((i=po(i)).data&&i.data.transition?(i.data.show=!0,r?lo(i,function(){n.style.display=n.__vOriginalDisplay}):ga(i,function(){n.style.display="none"})):n.style.display=r?n.__vOriginalDisplay:"none")},unbind:function(n,t,i,r,u){u||(n.style.display=n.__vOriginalDisplay)}}};wo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};cv={name:"transition",props:wo,abstract:!0,render:function(n){var a=this,e=this.$slots.default,o,u,t,f,c,p,l;if(e&&(e=e.filter(function(n){return n.tag||kr(n)})).length){if((o=this.mode,u=e[0],function(n){for(;n=n.parent;)if(n.data.transition)return!0}(this.$vnode))||(t=bo(u),!t))return u;if(this._leaving)return hv(n,u);f="__transition-"+this._uid+"-";t.key=null==t.key?t.isComment?f+"comment":f+t.tag:bi(t.key)?0===String(t.key).indexOf(f)?t.key:f+t.key:t.key;var s,v,h=(t.data||(t.data={})).transition=sv(this),y=this._vnode,r=bo(y);if(t.data.directives&&t.data.directives.some(function(n){return"show"===n.name})&&(t.data.show=!0),r&&r.data&&(s=t,(v=r).key!==s.key||v.tag!==s.tag)&&!kr(r)&&(!r.componentInstance||!r.componentInstance._vnode.isComment)){if(c=r.data.transition=i({},h),"out-in"===o)return this._leaving=!0,vt(c,"afterLeave",function(){a._leaving=!1;a.$forceUpdate()}),hv(n,u);if("in-out"===o){if(kr(t))return y;l=function(){p()};vt(h,"afterEnter",l);vt(h,"enterCancelled",l);vt(c,"delayLeave",function(n){p=n})}}return u}}};ko=i({tag:String,moveClass:String},wo);delete ko.mode;lv={Transition:cv,TransitionGroup:{props:ko,render:function(n){for(var t,i,e=this.tag||this.$vnode.data.tag||"span",o=Object.create(null),r=this.prevChildren=this.children,s=this.$slots.default||[],h=this.children=[],c=sv(this),u=0;u<s.length;u++)t=s[u],t.tag&&null!=t.key&&0!==String(t.key).indexOf("__vlist")&&(h.push(t),((o[t.key]=t).data||(t.data={})).transition=c);if(r){for(var l=[],a=[],f=0;f<r.length;f++)i=r[f],i.data.transition=c,i.data.pos=i.elm.getBoundingClientRect(),o[i.key]?l.push(i):a.push(i);this.kept=n(e,null,l);this.removed=a}return n(e,null,h)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0);this._vnode=this.kept},updated:function(){var n=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";n.length&&this.hasMove(n[0].elm,t)&&(n.forEach(kb),n.forEach(db),n.forEach(gb),this._reflow=document.body.offsetHeight,n.forEach(function(n){if(n.data.moved){var i=n.elm,r=i.style;ri(i,t);r.transform=r.WebkitTransform=r.transitionDuration="";i.addEventListener(cu,i._moveCb=function n(r){r&&!/transform$/.test(r.propertyName)||(i.removeEventListener(cu,n),i._moveCb=null,et(i,t))})}}))},methods:{hasMove:function(n,t){var i,r;return aa?this._hasMove?this._hasMove:(i=n.cloneNode(),n._transitionClasses&&n._transitionClasses.forEach(function(n){ha(i,n)}),sa(i,t),i.style.display="none",this.$el.appendChild(i),r=ba(i),this.$el.removeChild(i),this._hasMove=r.hasTransform):!1}}}};r.config.mustUseProp=pc;r.config.isReservedTag=be;r.config.isReservedAttr=fb;r.config.getTagNamespace=gc;r.config.isUnknownElement=function(n){if(!a)return!0;if(be(n))return!1;if(n=n.toLowerCase(),null!=rr[n])return rr[n];var t=document.createElement(n);return rr[n]=-1<n.indexOf("-")?t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:/HTMLUnknownElement/.test(t.toString())};i(r.options.directives,ov);i(r.options.components,lv);r.prototype.__patch__=a?iv:h;r.prototype.$mount=function(n,t){return n=n&&a?ke(n):void 0,u=n,r=t,(i=this).$el=u,i.$options.render||(i.$options.render=ct),it(i,"beforeMount"),new k(i,function(){i._update(i._render(),r)},h,null,!0),r=!1,null==i.$vnode&&(i._isMounted=!0,it(i,"mounted")),i;var i,u,r};a&&setTimeout(function(){p.devtools&&di&&di.emit("init",r)},0);var nk=/\{\{((?:.|\n)+?)\}\}/g,av=/[-.*+?^${}()|[\]\/\\]/g,tk=g(function(n){var t=n[0].replace(av,"\\$&"),i=n[1].replace(av,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+i,"g")}),ik={staticKeys:["staticClass"],transformNode:function(n,t){var i,r;t.warn;i=f(n,"class");i&&(n.staticClass=JSON.stringify(i));r=d(n,"class",!1);r&&(n.classBinding=r)},genData:function(n){var t="";return n.staticClass&&(t+="staticClass:"+n.staticClass+","),n.classBinding&&(t+="class:"+n.classBinding+","),t}},go,rk={staticKeys:["staticStyle"],transformNode:function(n,t){var i,r;t.warn;i=f(n,"style");i&&(n.staticStyle=JSON.stringify(eo(i)));r=d(n,"style",!1);r&&(n.styleBinding=r)},genData:function(n){var t="";return n.staticStyle&&(t+="staticStyle:"+n.staticStyle+","),n.styleBinding&&(t+="style:("+n.styleBinding+"),"),t}},uk=function(n){return(go=go||document.createElement("div")).innerHTML=n,go.textContent},fk=e("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ek=e("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ok=e("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),sk=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,vv="[a-zA-Z_][\\w\\-\\.]*",yv="((?:"+vv+"\\:)?"+vv+")",pv=new RegExp("^<"+yv),hk=/^\s*(\/?)>/,wv=new RegExp("^<\\/"+yv+"[^>]*>"),ck=/^<!DOCTYPE [^>]+>/i,bv=/^<!\--/,kv=/^<!\[/,dv=!1;"x".replace(/x(.)?/g,function(n,t){dv=""===t});var gv=e("script,style,textarea",!0),ny={},lk={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t"},ak=/&(?:lt|gt|quot|amp);/g,vk=/&(?:lt|gt|quot|amp|#10|#9);/g,yk=e("pre,textarea",!0),ty=function(n,t){return n&&yk(n)&&"\n"===t[0]},iy,ry,ns,ts,is,rs,us,uy,fy=/^@|^v-on:/,ey=/^v-|^@|^:/,pk=/([^]*?)\s+(?:in|of)\s+([^]*)/,oy=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,wk=/^\(|\)$/g,bk=/:(.*)$/,sy=/^:|^v-bind:/,hy=/\.[^.]+/g,kk=g(uk);ay=/^xmlns:NS\d+/;vy=/^NS\d+:/;var yy=[ik,rk,{preTransformNode:function(n,t){var r,u,e,o;if("input"===n.tag){if(u=n.attrsMap,!u["v-model"])return;if((u[":type"]||u["v-bind:type"])&&(r=d(n,"type")),u.type||r||!u["v-bind"]||(r="("+u["v-bind"]+").type"),r){var s=f(n,"v-if",!0),h=s?"&&("+s+")":"",l=null!=f(n,"v-else",!0),c=f(n,"v-else-if",!0),i=fs(n);return ly(i),ro(i,"type","checkbox"),au(i,t),i.processed=!0,i.if="("+r+")==='checkbox'"+h,pi(i,{exp:i.if,block:i}),e=fs(n),f(e,"v-for",!0),ro(e,"type","radio"),au(e,t),pi(i,{exp:"("+r+")==='radio'"+h,block:e}),o=fs(n),f(o,"v-for",!0),ro(o,":type",r),au(o,t),pi(i,{exp:s,block:o}),l?i.else=!0:c&&(i.elseif=c),i}}}}],py,wy,es,nd={expectHTML:!0,modules:yy,directives:{model:function(n,t){var s,l,v,y,o,r,i,w,b,h,c,k,g,nt,tt,a,u=t.value,f=t.modifiers,e=n.tag,it=n.attrsMap.type;if(n.component)return pl(n,u,f),!1;if("select"===e)g=n,nt=u,a=(a='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+((tt=f)&&tt.number?"_n(val)":"val")+"});")+" "+bt(nt,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),ii(g,"change",a,null,!0);else if("input"===e&&"checkbox"===it)r=n,i=u,b=(w=f)&&w.number,h=d(r,"value")||"null",c=d(r,"true-value")||"true",k=d(r,"false-value")||"false",ti(r,"checked","Array.isArray("+i+")?_i("+i+","+h+")>-1"+("true"===c?":("+i+")":":_q("+i+","+c+")")),ii(r,"change","var $$a="+i+",$$el=$event.target,$$c=$$el.checked?("+c+"):("+k+");if(Array.isArray($$a)){var $$v="+(b?"_n("+h+")":h)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+bt(i,"$$a.concat([$$v])")+")}else{$$i>-1&&("+bt(i,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+bt(i,"$$c")+"}",null,!0);else if("input"===e&&"radio"===it)s=n,l=u,y=(v=f)&&v.number,o=d(s,"value")||"null",ti(s,"checked","_q("+l+","+(o=y?"_n("+o+")":o)+")"),ii(s,"change",bt(l,o),null,!0);else if("input"===e||"textarea"===e)!function(n,t,i){var e=n.attrsMap.type,f=i||{},o=f.lazy,s=f.number,h=f.trim,c=!o&&"range"!==e,l=o?"change":"range"===e?or:"input",r="$event.target.value",u;h&&(r="$event.target.value.trim()");s&&(r="_n("+r+")");u=bt(t,r);c&&(u="if($event.target.composing)return;"+u);ti(n,"value","("+t+")");ii(n,l,u,null,!0);(h||s)&&ii(n,"blur","$forceUpdate()")}(n,u,f);else if(!p.isReservedTag(e))return pl(n,u,f),!1;return!0},text:function(n,t){t.value&&ti(n,"textContent","_s("+t.value+")")},html:function(n,t){t.value&&ti(n,"innerHTML","_s("+t.value+")")}},isPreTag:function(n){return"pre"===n},isUnaryTag:fk,mustUseProp:pc,canBeLeftOpenTag:ek,isReservedTag:be,getTagNamespace:gc,staticKeys:(py=yy,py.reduce(function(n,t){return n.concat(t.staticKeys||[])},[]).join(","))},td=g(function(n){return e("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(n?","+n:""))});var rd=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,ud=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,by={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,"delete":[8,46]},fd={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],"delete":["Backspace","Delete"]},ot=function(n){return"if("+n+")return null;"},ky={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ot("$event.target !== $event.currentTarget"),ctrl:ot("!$event.ctrlKey"),shift:ot("!$event.shiftKey"),alt:ot("!$event.altKey"),meta:ot("!$event.metaKey"),left:ot("'button' in $event && $event.button !== 0"),middle:ot("'button' in $event && $event.button !== 1"),right:ot("'button' in $event && $event.button !== 2")};np={on:function(n,t){n.wrapListeners=function(n){return"_g("+n+","+t.value+")"}},bind:function(n,t){n.wrapData=function(i){return"_b("+i+",'"+n.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:h};tp=function(n){this.options=n;this.warn=n.warn||yl;this.transforms=fr(n.modules,"transformCode");this.dataGenFns=fr(n.modules,"genData");this.directives=i(i({},np),n.directives);var t=n.isReservedTag||nt;this.maybeComponent=function(n){return!t(n.tag)};this.onceId=0;this.staticRenderFns=[]};new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b");new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");ss=(ap=function(n,t){var i=dk(n.trim(),t),r;return!1!==t.optimize&&id(i,t),r=ip(i,t),{ast:i,render:r.render,staticRenderFns:r.staticRenderFns}},function(n){function r(t,r){var u=Object.create(n),o=[],s=[],f,e;if(u.warn=function(n,t){(t?s:o).push(n)},r)for(f in r.modules&&(u.modules=(n.modules||[]).concat(r.modules)),r.directives&&(u.directives=i(Object.create(n.directives||null),r.directives)),r)"modules"!==f&&"directives"!==f&&(u[f]=r[f]);return e=ap(t,u),e.errors=o,e.tips=s,e}return{compile:r,compileToFunctions:(u=r,t=Object.create(null),function(n,r){var f;if((r=i({},r)).warn,delete r.warn,f=r.delimiters?String(r.delimiters)+n:n,t[f])return t[f];var o=u(n,r),e={},s=[];return e.render=lp(o.render,s),e.staticRenderFns=o.staticRenderFns.map(function(n){return lp(n,s)}),t[f]=e})};var u,t})(nd).compileToFunctions;var sd=!!a&&vp(!1),hd=!!a&&vp(!0),cd=g(function(n){var t=ke(n);return t&&t.innerHTML}),ld=r.prototype.$mount;return r.prototype.$mount=function(n,t){var r,i;if((n=n&&ke(n))===document.body||n===document.documentElement)return this;if(r=this.$options,!r.render){if(i=r.template,i)if("string"==typeof i)"#"===i.charAt(0)&&(i=cd(i));else{if(!i.nodeType)return this;i=i.innerHTML}else n&&(i=function(n){if(n.outerHTML)return n.outerHTML;var t=document.createElement("div");return t.appendChild(n.cloneNode(!0)),t.innerHTML}(n));if(i){var u=ss(i,{shouldDecodeNewlines:sd,shouldDecodeNewlinesForHref:hd,delimiters:r.delimiters,comments:r.comments},this),f=u.render,e=u.staticRenderFns;r.render=f;r.staticRenderFns=e}}return ld.call(this,n,t)},r.compile=ss,r}),$("#search-app")){$("#search-app").removeClass("hidden-nojs");var url="/Business/EPiFind/Business/Services/SearchService.asmx/DoMultiUnifiedSearch",Request=function(n){this.lang=n?n:"sv";this.getAllMainFacets=!0;this.getAllFacets=!1;this.queryText="";this.mainFacet="";this.facets=[];this.take=10;this.skip=0;this.sortOrder="";this.sortDirection="";this.track="true";this.searchPageId=0;this.hideTags=""},request=new Request("sv"),app=new Vue({el:"#search-app",data:{term:"",searched_term:"",answer:null,hits:null,totalNrHits:"",sortby:"default",take:10},beforeMount:function(){if(window.preLoadeddata){var n=JSON.parse(window.preLoadeddata);request.searchPageId=n.searchPageId;request.QueryText=n.query;this.term=n.query;request.mainFacet="All";n.query&&this.doSearch()}},methods:{doSearch:function(){var n=this;request.QueryText=n.term;$.ajax({url:url,method:"POST",contentType:"application/json; charset=utf-8",dataType:"json",data:JSON.stringify({request:request}),success:function(t){n.answer=t.d;n.hits=t.d.Hits;n.totalNrHits=t.d.TotalNrOfHits;n.q=n.term;n.searched_term=n.term;n.currentFacet=t.d.CurrentMainFacet;n.facets=t.d.AllMainFacets;history.pushState(null,"","?q="+n.term)},error:function(n){console.log(n)}})},doFacetSearch:function(n){return request.mainFacet=n,this.doSearch(),!0},ChangeSortOrder:function(n,t){t.preventDefault();request.sortOrder=n;request.take=10;this.take=10;this.sortby=n;this.doSearch()},ShowMore:function(){var n=request.take;request.take=n+10;this.take=request.take;this.doSearch()},fixDate:function(n){try{var t=new Date(parseInt(n.substr(6)));return t.getFullYear()>1?t.toLocaleDateString("sv"):""}catch(i){return""}},skipLast:function(n){return n?n.length>1?n.slice(0,-1):["Svenskt vatten"]:n}}})}(function(n,t){"use strict";n.enhancer("accordion",function(){var n=t(this);n.find(".collapse").on("shown.bs.collapse",function(){t(this).prev(".accordion-title").find(".fa-plus").toggleClass("fa-minus").toggleClass("fa-plus")}).on("hidden.bs.collapse",function(){t(this).prev(".accordion-title").find(".fa-minus").toggleClass("fa-minus").toggleClass("fa-plus")});n.find(".collapse.in").prev(".accordion-title").find(".fa-plus").addClass("fa-minus").removeClass("fa-plus")})})(Application,jQuery),function(n,t,i){"use strict";n.enhancer("googleMap",function(){function a(){c||l?e():t.getScript("http://maps.googleapis.com/maps/api/js?key="+h+"&sensor=false&callback=googleMap.initMap")}function e(){n=i.google;var t={zoom:11,center:new n.maps.LatLng(55.6468,37.581),mapTypeControlOptions:{mapTypeIds:[n.maps.MapTypeId.ROADMAP,n.maps.MapTypeId.SATELLITE]},scrollwheel:!1,draggable:Modernizr.touch&&i.innerHeight<900?!1:!0};r=new n.maps.Map(o,t);f&&v(f);s=!0}function v(t){u=u||new n.maps.Geocoder;u.geocode({address:t},function(i,u){var f,e;u==n.maps.GeocoderStatus.OK?(f=i[0].geometry.location,r.setCenter(f),r.setZoom(15),e=new n.maps.Marker({map:r,position:f,title:t})):console.log("Error: could nog get location.")})}var r,n,o=this,u,s=!1,h="",f=t(this).data("location"),c=!1,l=i.google!=null&&i.google.map!=null;i.googleMap={initMap:e};a()})}(Application,jQuery,window),function(n,t){"use strict";n.enhancer("navTree",{initialized:!1,language:null,serviceUrl:"/api/menu/GetChildren/",loading:!1,subLevelListClass:"nav",iconClass:"fa",iconPrefix:"fa",expanderClass:"nav-expander btn-clean",expanderIconClass:"fa-plus",lockedIconClass:"fa-lock",contractIconClass:"fa-minus",init:function(n){var i=t(n),r=this;this.language=t("html").attr("lang");i.on("click",".nav-expander",r,this.toggleSubLevel)},toggleSubLevel:function(n){var u=t(this),i=n.data,r=u.parent(),f=r.children("ul"),e=r.children("a"),o=u.find("."+i.iconClass);if(f.length)f.fadeToggle(),r.toggleClass("expanded");else{if(i.loading)return;i.getSublevel(u,function(){i.loading=!1});r.addClass("expanded");e.addClass("loading-animation-active");i.loading=!0}o.toggleClass(i.expanderIconClass).toggleClass(i.contractIconClass)},getSublevel:function(n,i){var u=this,r=n.parent(),f=r.data("page-id");r.data("expanded")||t.ajax({url:u.serviceUrl+f,method:"GET",dataType:"json"}).success(function(n){n&&(u.appendSublevel(n,r),r.data("expanded",!0))}).complete(function(){r.find("a").removeClass("loading-animation-active");i&&i()})},appendSublevel:function(n,i){for(var r='<ul class="'+this.subLevelListClass+'">',u,e,o,f=0,s=n.length;f<s;f++)u=n[f],e=this.iconClass+" ",u.IsLocked?e+=this.lockedIconClass:u.HasChildren&&(e+=this.expanderIconClass),r+='<li data-page-id="'+u.PageId+'">',r+='<a href="'+u.LinkUrl+'">'+u.Heading+"<\/a>",r+='<button class="'+this.expanderClass+'"><span class="'+e+'" aria-hidden=true>',u.HasChildren&&(r+="<span class=sr-only>expandera<\/span>"),r+="<\/span><\/button><\/li>";r+="<\/ul>";o=t(r).hide();i.append(o);o.fadeIn()}})}(Application,jQuery),function(n,t){"use strict";n.enhancer("shareModal",function(){var n=t(t(this).data("target"));n.on("show.bs.modal",function(n){var i=t(n.relatedTarget),r=t(this);console.log(i.data("modal-title"));r.find(".modal-title").text(i.data("modal-title"));r.find(".modal-title-url").text(i.data("page-url"))})})}(Application,jQuery),function(n,t){"use strict";function i(){return t(this).val()===""}n.enhancer("coApplicants",function(){var r=t(this).find("input[type=text]"),n=this,u=r.not(":first").filter(i);u.closest(".collapse").collapse("hide");t("#btn-add-coapplicant").on("click",function(i){i.preventDefault();var r=t(n).find(".collapse:not(.in):first");r.collapse("show");t(n).find(".collapse:not(.in):first").length===0&&t(this).attr("disabled","disabled")})})}(Application,jQuery),function(n,t){"use strict";n.enhancer("xform",function(){t(this).find("select").wrap('<div class="select-wrapper">').after('<span class="caret">')})}(Application,jQuery),function(n,t){"use strict";n.enhancer("dismissableAlert",function(){t(this).on("closed.bs.alert",function(){n.cookies.set(t(this).attr("data-dismissable-id")+"-closed","true")})})}(Application,jQuery),function(n,t){"use strict";function i(){var n=t(this),i=n.attr("width")?Number(n.attr("width")):0,r=n.attr("height")?Number(n.attr("height")):0,u="embed-responsive-4by3",f;i>=0&&r>=0&&(f=i/r,f>=1.7&&(u="embed-responsive-16by9 offset-both"));n.wrap("<div class='embed-responsive "+u+"'>")}n.enhancer("mainBody",function(){t(this).find("table").addClass("table").wrap('<div class="table-responsive">').find('iframe[src*="youtube"]').each(i)})}(Application,jQuery),function(n,t){"use strict";n.enhancer("maxRows",function(){var n=t(this);shave(this,75)})}(Application,jQuery),function(n){n.handler("externalLink",function(n){n.preventDefault();window.open(this.href)})}(Application,jQuery),function(n,t){n.handler("printButton",function(n){n.preventDefault();var i=t(this).data("print-target");i?t(i).get(0).print():window.print()})}(Application,jQuery)