text: (function(){ webpackJsonp([4],[function(t,e,i){var n=i(1),o=i(5),a=i(17),r=i(22),s=i(6),l=i(27),u=(i(4),i(70)),c={id:0,pid:0,name:"全部"},d=n("#list"),p=n("#page"),h=n("#categoryTree"),f=n("#categoryMenu"),m=n("#imageUploadButton"),g=n("#contentTitle"),y=UIkit.modal("#categoryEdit"),v=UIkit.modal("#imageEdit"),b=function(){d.find(".item.checked").length?(n("[data-image-edit]").addClass("enable"),n("[data-image-delete]").addClass("enable")):(n("[data-image-edit]").removeClass("enable"),n("[data-image-delete]").removeClass("enable"))},w=function(){c.id>0?(f.find("[data-category-edit]").addClass("enable"),f.find("[data-category-delete]").addClass("enable")):(f.find("[data-category-edit]").removeClass("enable"),f.find("[data-category-delete]").removeClass("enable"))};f.find("[data-category-add]").on("click",function(){return!!n(this).is(".enable")&&(n("[name=categoryEditId]").val(0),n("[name=categoryEditPid]").val(c.id),n("[name=categoryEditTitle]").val(""),y.show(),!1)}),f.find("[data-category-edit]").on("click",function(){return!!n(this).is(".enable")&&(n("[name=categoryEditId]").val(c.id),n("[name=categoryEditPid]").val(c.pid),n("[name=categoryEditTitle]").val(c.name),y.show(),!1)}),n("[data-category-edit-save]").on("click",function(){return s.loadingOn(),n.post("?",{action:"categoryEdit",id:n("[name=categoryEditId]").val(),pid:n("[name=categoryEditPid]").val(),title:n("[name=categoryEditTitle]").val()},function(t){s.loadingOff(),o.defaultFormCallback(t,{success:function(t){x(),y.hide()}})}),!1}),f.find("[data-category-delete]").on("click",function(){return!!n(this).is(".enable")&&(s.confirm("确定删除(子分类会被删除,文件不会删除)?",function(){s.loadingOn(),n.post("?",{action:"categoryDelete",id:c.id},function(t){s.loadingOff(),o.defaultFormCallback(t,{success:function(t){c={id:0,pid:0,name:"全部"},x()}})})}),!1)}),g.find("[data-image-edit]").on("click",function(){return!!n(this).is(".enable")&&(n("[name=imageEditCategoryId]").val(c.id),void v.show())}),n("[data-image-edit-save]").on("click",function(){s.loadingOn();var t=[];return d.find(".item.checked").each(function(e,i){t.push(n(i).attr("data-id"))}),n.post("?",{action:"imageEdit",id:t.join(","),categoryId:n("[name=imageEditCategoryId]").val()},function(t){s.loadingOff(),o.defaultFormCallback(t,{success:function(t){_(1),v.hide()}})}),!1}),g.find("[data-image-delete]").on("click",function(){if(!n(this).is(".enable"))return!1;var t=[];return d.find(".item.checked").each(function(e,i){t.push(n(i).attr("data-id"))}),s.confirm("确定删除(所有文件引用都将不显示)?",function(){s.loadingOn(),n.post("?",{action:"imageDelete",id:t.join(",")},function(t){s.loadingOff(),o.defaultFormCallback(t,{success:function(t){_(1),b()}})})}),!1});var x=function(){n.post("?",{action:"category"},function(t){o.defaultFormCallback(t,{success:function(t){for(var e=[],i=0;i<t.data.nodeList.length;i++)e.push('<option value="'+t.data.nodeList[i].id+'">'+t.data.nodeList[i].title+"</option>");n("[name=categoryEditPid]").html(e.join("")),n("[name=imageEditCategoryId]").html(e.join("")),h.html(""),u({elem:h,nodes:t.data.nodes,click:function(t){c={id:t.id,pid:t.pid,name:t.name},w(),_(1)}}),h.find("a").on("click",function(){h.find("a").removeClass("selected"),n(this).addClass("selected")}),h.find("a[href=#category-"+c.id+"]").click(),_(1),w()}})})},k=new r(p,function(t){_(t)}),A=function(t){for(var e=[],i=0;i<t.length;i++)e.push(['<div class="item" data-path="',t[i].path,'" data-id="'+t[i].id+'">','<div class="image" style="background-image:url(\'',t[i].path,"');\">",'<div class="checked"><i class="uk-icon-check"></i></div>',"</div>",'<div class="name">',a.specialchars(t[i].filename),"</div>",'<div class="action"><a href="',t[i].path,'" data-image-preview data-uk-tooltip title="查看大图"><span class="uk-icon-eye"></span></a></div>',"</div>"].join(""));e.length?d.html(e.join("")):d.html('<div class="empty">暂无记录</div>')},_=function(t,e){e=e||c,s.loadingOn(),n.post("?",{action:"list",page:t,categoryId:e.id},function(e){s.loadingOff(),o.defaultFormCallback(e,{success:function(e){A(e.data.list),k.render(e.data.total,e.data.pageSize,t),b()}})})};x(),o.init(),n(".h-close").on("click",function(){return window.parent.layer.closeAll(),!1}),n(".h-submit").on("click",function(){var t=[];return d.find(".item.checked").each(function(e,i){t.push(n(i).attr("data-path"))}),window.parent.__imageSelectDialogPaths=t,window.parent.layer.closeAll(),!1}),n.extend({dialogClose:function(){window.parent.layer.closeAll()}}),d.on("click",".image",function(){var t=n(this).closest(".item");return t.is(".checked")?t.removeClass("checked"):t.addClass("checked"),b(),!1}),l(m,{text:'<div style="line-height:30px;height:30px;font-size:12px;padding:0;background:#3283fa;color:#FFF;"><span class="uk-icon-plus" style="display:inline;line-height:30px;height:30px;"></span> 上传本地文件</div>',swf:__uploadButton.swf,server:"?",extensions:"jpg,png,gif,jpeg,ico",sizeLimit:5242880,chunkSize:__uploadButton.chunkSize,callback:function(t,e){s.loadingOn(),n.post("?",{action:"save",path:t.path,categoryId:c.id},function(t){s.loadingOff(),o.defaultFormCallback(t,{success:function(t){_(1)}})})},finish:function(){}})},,,,function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,__WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,__WEBPACK_LOCAL_MODULE_0__;(function(jQuery,global){!function(t){if(!(__WEBPACK_LOCAL_MODULE_0__=function(){var e=window.UIkit||t(window,window.jQuery,window.document);return e.load=function(t,i,n,o){var a,r=t.split(","),s=[],l=(o.config&&o.config.uikit&&o.config.uikit.base?o.config.uikit.base:"").replace(/\/+$/g,"");if(!l)throw new Error("Please define base path to UIkit in the requirejs config.");for(a=0;a<r.length;a+=1){var u=r[a].replace(/\./g,"/");s.push(l+"/components/"+u)}i(s,function(){n(e)})},e}.call(exports,__webpack_require__,exports,module)),!window.jQuery)throw new Error("UIkit requires jQuery");window&&window.jQuery&&t(window,window.jQuery,window.document)}(function(t,e,i){"use strict";var n={},o=t.UIkit?Object.create(t.UIkit):void 0;if(n.version="2.26.3",n.noConflict=function(){return o&&(t.UIkit=o,e.UIkit=o,e.fn.uk=o.fn),n},n.prefix=function(t){return t},n.$=e,n.$doc=n.$(document),n.$win=n.$(window),n.$html=n.$("html"),n.support={},n.support.transition=function(){var t=function(){var t,e=i.body||i.documentElement,n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in n)if(void 0!==e.style[t])return n[t]}();return t&&{end:t}}(),n.support.animation=function(){var t=function(){var t,e=i.body||i.documentElement,n={WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(t in n)if(void 0!==e.style[t])return n[t]}();return t&&{end:t}}(),function(){Date.now=Date.now||function(){return(new Date).getTime()};for(var t=["webkit","moz"],e=0;e<t.length&&!window.requestAnimationFrame;++e){var i=t[e];window.requestAnimationFrame=window[i+"RequestAnimationFrame"],window.cancelAnimationFrame=window[i+"CancelAnimationFrame"]||window[i+"CancelRequestAnimationFrame"]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var n=0;window.requestAnimationFrame=function(t){var e=Date.now(),i=Math.max(n+16,e);return setTimeout(function(){t(n=i)},i-e)},window.cancelAnimationFrame=clearTimeout}}(),n.support.touch="ontouchstart"in document||t.DocumentTouch&&document instanceof t.DocumentTouch||t.navigator.msPointerEnabled&&t.navigator.msMaxTouchPoints>0||t.navigator.pointerEnabled&&t.navigator.maxTouchPoints>0||!1,n.support.mutationobserver=t.MutationObserver||t.WebKitMutationObserver||null,n.Utils={},n.Utils.isFullscreen=function(){return document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||document.fullscreenElement||!1},n.Utils.str2json=function(t,e){try{return e?JSON.parse(t.replace(/([\$\w]+)\s*:/g,function(t,e){return'"'+e+'":'}).replace(/'([^']+)'/g,function(t,e){return'"'+e+'"'})):new Function("","var json = "+t+"; return JSON.parse(JSON.stringify(json));")()}catch(t){return!1}},n.Utils.debounce=function(t,e,i){var n;return function(){var o=this,a=arguments,r=function(){n=null,i||t.apply(o,a)},s=i&&!n;clearTimeout(n),n=setTimeout(r,e),s&&t.apply(o,a)}},n.Utils.throttle=function(t,e){var i=!1;return function(){i||(t.call(),i=!0,setTimeout(function(){i=!1},e))}},n.Utils.removeCssRules=function(t){var e,i,n,o,a,r,s,l,u,c;t&&setTimeout(function(){try{for(c=document.styleSheets,o=0,s=c.length;o<s;o++){for(n=c[o],i=[],n.cssRules=n.cssRules,e=a=0,l=n.cssRules.length;a<l;e=++a)n.cssRules[e].type===CSSRule.STYLE_RULE&&t.test(n.cssRules[e].selectorText)&&i.unshift(e);for(r=0,u=i.length;r<u;r++)n.deleteRule(i[r])}}catch(t){}},0)},n.Utils.isInView=function(t,i){var o=e(t);if(!o.is(":visible"))return!1;var a=n.$win.scrollLeft(),r=n.$win.scrollTop(),s=o.offset(),l=s.left,u=s.top;return i=e.extend({topoffset:0,leftoffset:0},i),u+o.height()>=r&&u-i.topoffset<=r+n.$win.height()&&l+o.width()>=a&&l-i.leftoffset<=a+n.$win.width()},n.Utils.checkDisplay=function(t,i){var o=n.$("[data-uk-margin], [data-uk-grid-match], [data-uk-grid-margin], [data-uk-check-display]",t||document);return t&&!o.length&&(o=e(t)),o.trigger("display.uk.check"),i&&("string"!=typeof i&&(i='[class*="uk-animation-"]'),o.find(i).each(function(){var t=n.$(this),e=t.attr("class"),i=e.match(/uk-animation-(.+)/);t.removeClass(i[0]).width(),t.addClass(i[0])})),o},n.Utils.options=function(t){if("string"!=e.type(t))return t;t.indexOf(":")!=-1&&"}"!=t.trim().substr(-1)&&(t="{"+t+"}");var i=t?t.indexOf("{"):-1,o={};if(i!=-1)try{o=n.Utils.str2json(t.substr(i))}catch(t){}return o},n.Utils.animate=function(t,i){var o=e.Deferred();return t=n.$(t),t.css("display","none").addClass(i).one(n.support.animation.end,function(){t.removeClass(i),o.resolve()}),t.css("display",""),o.promise()},n.Utils.uid=function(t){return(t||"id")+(new Date).getTime()+"RAND"+Math.ceil(1e5*Math.random())},n.Utils.template=function(t,e){for(var i,n,o,a,r=t.replace(/\n/g,"\\n").replace(/\{\{\{\s*(.+?)\s*\}\}\}/g,"{{!$1}}").split(/(\{\{\s*(.+?)\s*\}\})/g),s=0,l=[],u=0;s<r.length;){if(i=r[s],i.match(/\{\{\s*(.+?)\s*\}\}/))switch(s+=1,i=r[s],n=i[0],o=i.substring(i.match(/^(\^|\#|\!|\~|\:)/)?1:0),n){case"~":l.push("for(var $i=0;$i<"+o+".length;$i++) { var $item = "+o+"[$i];"),u++;break;case":":l.push("for(var $key in "+o+") { var $val = "+o+"[$key];"),u++;break;case"#":l.push("if("+o+") {"),u++;break;case"^":l.push("if(!"+o+") {"),u++;break;case"/":l.push("}"),u--;break;case"!":l.push("__ret.push("+o+");");break;default:l.push("__ret.push(escape("+o+"));")}else l.push("__ret.push('"+i.replace(/\'/g,"\\'")+"');");s+=1}return a=new Function("$data",["var __ret = [];","try {","with($data){",u?'__ret = ["Not all blocks are closed correctly."]':l.join(""),"};","}catch(e){__ret = [e.message];}",'return __ret.join("").replace(/\\n\\n/g, "\\n");',"function escape(html) { return String(html).replace(/&/g, '&amp;').replace(/\"/g, '&quot;').replace(/</g, '&lt;').replace(/>/g, '&gt;');}"].join("\n")),e?a(e):a},n.Utils.events={},n.Utils.events.click=n.support.touch?"tap":"click",t.UIkit=n,n.fn=function(t,i){var o=arguments,a=t.match(/^([a-z\-]+)(?:\.([a-z]+))?/i),r=a[1],s=a[2];return n[r]?this.each(function(){var t=e(this),a=t.data(r);a||t.data(r,a=n[r](this,s?void 0:i)),s&&a[s].apply(a,Array.prototype.slice.call(o,1))}):(e.error("UIkit component ["+r+"] does not exist."),this)},e.UIkit=n,e.fn.uk=n.fn,n.langdirection="rtl"==n.$html.attr("dir")?"right":"left",n.components={},n.component=function(t,i){var o=function(i,a){var r=this;return this.UIkit=n,this.element=i?n.$(i):null,this.options=e.extend(!0,{},this.defaults,a),this.plugins={},this.element&&this.element.data(t,this),this.init(),(this.options.plugins.length?this.options.plugins:Object.keys(o.plugins)).forEach(function(t){o.plugins[t].init&&(o.plugins[t].init(r),r.plugins[t]=!0)}),this.trigger("init.uk.component",[t,this]),this};return o.plugins={},e.extend(!0,o.prototype,{defaults:{plugins:[]},boot:function(){},init:function(){},on:function(t,e,i){return n.$(this.element||this).on(t,e,i)},one:function(t,e,i){return n.$(this.element||this).one(t,e,i)},off:function(t){return n.$(this.element||this).off(t)},trigger:function(t,e){return n.$(this.element||this).trigger(t,e)},find:function(t){return n.$(this.element?this.element:[]).find(t)},proxy:function(t,e){var i=this;e.split(" ").forEach(function(e){i[e]||(i[e]=function(){return t[e].apply(t,arguments)})})},mixin:function(t,e){var i=this;e.split(" ").forEach(function(e){i[e]||(i[e]=t[e].bind(i))})},option:function(){return 1==arguments.length?this.options[arguments[0]]||void 0:void(2==arguments.length&&(this.options[arguments[0]]=arguments[1]))}},i),this.components[t]=o,this[t]=function(){var i,o;if(arguments.length)switch(arguments.length){case 1:"string"==typeof arguments[0]||arguments[0].nodeType||arguments[0]instanceof jQuery?i=e(arguments[0]):o=arguments[0];break;case 2:i=e(arguments[0]),o=arguments[1]}return i&&i.data(t)?i.data(t):new n.components[t](i,o)},n.domready&&n.component.boot(t),o},n.plugin=function(t,e,i){this.components[t].plugins[e]=i},n.component.boot=function(t){n.components[t].prototype&&n.components[t].prototype.boot&&!n.components[t].booted&&(n.components[t].prototype.boot.apply(n,[]),n.components[t].booted=!0)},n.component.bootComponents=function(){for(var t in n.components)n.component.boot(t)},n.domObservers=[],n.domready=!1,n.ready=function(t){n.domObservers.push(t),n.domready&&t(document)},n.on=function(t,e,i){return t&&t.indexOf("ready.uk.dom")>-1&&n.domready&&e.apply(n.$doc),n.$doc.on(t,e,i)},n.one=function(t,e,i){return t&&t.indexOf("ready.uk.dom")>-1&&n.domready?(e.apply(n.$doc),n.$doc):n.$doc.one(t,e,i)},n.trigger=function(t,e){return n.$doc.trigger(t,e)},n.domObserve=function(t,e){n.support.mutationobserver&&(e=e||function(){},n.$(t).each(function(){var t=this,i=n.$(t);if(!i.data("observer"))try{var o=new n.support.mutationobserver(n.Utils.debounce(function(n){e.apply(t,[]),i.trigger("changed.uk.dom")},50),{childList:!0,subtree:!0});o.observe(t,{childList:!0,subtree:!0}),i.data("observer",o)}catch(t){}}))},n.init=function(t){t=t||document,n.domObservers.forEach(function(e){e(t)})},n.on("domready.uk.dom",function(){n.init(),n.domready&&n.Utils.checkDisplay()}),document.addEventListener("DOMContentLoaded",function(){var t=function(){n.$body=n.$("body"),n.trigger("beforeready.uk.dom"),n.component.bootComponents();var t=requestAnimationFrame(function(){var e={dir:{x:0,y:0},x:window.pageXOffset,y:window.pageYOffset},i=function(){var o=window.pageXOffset,a=window.pageYOffset;e.x==o&&e.y==a||(o!=e.x?e.dir.x=o>e.x?1:-1:e.dir.x=0,a!=e.y?e.dir.y=a>e.y?1:-1:e.dir.y=0,e.x=o,e.y=a,n.$doc.trigger("scrolling.uk.document",[{dir:{x:e.dir.x,y:e.dir.y},x:o,y:a}])),cancelAnimationFrame(t),t=requestAnimationFrame(i)};return n.support.touch&&n.$html.on("touchmove touchend MSPointerMove MSPointerUp pointermove pointerup",i),(e.x||e.y)&&i(),i}());if(n.trigger("domready.uk.dom"),n.support.touch&&navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&n.$win.on("load orientationchange resize",n.Utils.debounce(function(){var t=function(){return e(".uk-height-viewport").css("height",window.innerHeight),t};return t()}(),100)),n.trigger("afterready.uk.dom"),n.domready=!0,n.support.mutationobserver){var i=n.Utils.debounce(function(){requestAnimationFrame(function(){n.init(document.body)})},10);new n.support.mutationobserver(function(t){var e=!1;t.every(function(t){if("childList"!=t.type)return!0;for(var i,n=0;n<t.addedNodes.length;++n)if(i=t.addedNodes[n],i.outerHTML&&i.outerHTML.indexOf("data-uk-")!==-1)return(e=!0)&&!1;return!0}),e&&i()}).observe(document.body,{childList:!0,subtree:!0})}};return"complete"!=document.readyState&&"interactive"!=document.readyState||setTimeout(t),t}()),n.$html.addClass(n.support.touch?"uk-touch":"uk-notouch"),n.support.touch){var a,r=!1,s="uk-hover",l=".uk-overlay, .uk-overlay-hover, .uk-overlay-toggle, .uk-animation-hover, .uk-has-hover";n.$html.on("mouseenter touchstart MSPointerDown pointerdown",l,function(){r&&e("."+s).removeClass(s),r=e(this).addClass(s)}).on("mouseleave touchend MSPointerUp pointerup",function(t){a=e(t.target).parents(l),r&&r.not(a).removeClass(s)})}return n}),function(t){function e(t,e,i,n){return Math.abs(t-e)>=Math.abs(i-n)?t-e>0?"Left":"Right":i-n>0?"Up":"Down"}function i(){u=null,d.last&&(void 0!==d.el&&d.el.trigger("longTap"),d={})}function n(){u&&clearTimeout(u),u=null}function o(){r&&clearTimeout(r),s&&clearTimeout(s),l&&clearTimeout(l),u&&clearTimeout(u),r=s=l=u=null,d={}}function a(t){return t.pointerType==t.MSPOINTER_TYPE_TOUCH&&t.isPrimary}if(!t.fn.swipeLeft){var r,s,l,u,c,d={},p=750;t(function(){var h,f,m,g=0,y=0;"MSGesture"in window&&(c=new MSGesture,c.target=document.body),t(document).on("MSGestureEnd gestureend",function(t){var e=t.originalEvent.velocityX>1?"Right":t.originalEvent.velocityX<-1?"Left":t.originalEvent.velocityY>1?"Down":t.originalEvent.velocityY<-1?"Up":null;e&&void 0!==d.el&&(d.el.trigger("swipe"),d.el.trigger("swipe"+e))}).on("touchstart MSPointerDown pointerdown",function(e){("MSPointerDown"!=e.type||a(e.originalEvent))&&(m="MSPointerDown"==e.type||"pointerdown"==e.type?e:e.originalEvent.touches[0],h=Date.now(),f=h-(d.last||h),d.el=t("tagName"in m.target?m.target:m.target.parentNode),r&&clearTimeout(r),d.x1=m.pageX,d.y1=m.pageY,f>0&&f<=250&&(d.isDoubleTap=!0),d.last=h,u=setTimeout(i,p),!c||"MSPointerDown"!=e.type&&"pointerdown"!=e.type&&"touchstart"!=e.type||c.addPointer(e.originalEvent.pointerId))}).on("touchmove MSPointerMove pointermove",function(t){("MSPointerMove"!=t.type||a(t.originalEvent))&&(m="MSPointerMove"==t.type||"pointermove"==t.type?t:t.originalEvent.touches[0],n(),d.x2=m.pageX,d.y2=m.pageY,g+=Math.abs(d.x1-d.x2),y+=Math.abs(d.y1-d.y2))}).on("touchend MSPointerUp pointerup",function(i){("MSPointerUp"!=i.type||a(i.originalEvent))&&(n(),d.x2&&Math.abs(d.x1-d.x2)>30||d.y2&&Math.abs(d.y1-d.y2)>30?l=setTimeout(function(){void 0!==d.el&&(d.el.trigger("swipe"),d.el.trigger("swipe"+e(d.x1,d.x2,d.y1,d.y2))),d={}},0):"last"in d&&(isNaN(g)||g<30&&y<30?s=setTimeout(function(){var e=t.Event("tap");e.cancelTouch=o,void 0!==d.el&&d.el.trigger(e),d.isDoubleTap?(void 0!==d.el&&d.el.trigger("doubleTap"),d={}):r=setTimeout(function(){r=null,void 0!==d.el&&d.el.trigger("singleTap"),d={}},250)},0):d={},g=y=0))}).on("touchcancel MSPointerCancel",o),t(window).on("scroll",o)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(e){t.fn[e]=function(i){return t(this).on(e,i)}})}}(jQuery),function(t){"use strict";var e=[];t.component("stackMargin",{defaults:{cls:"uk-margin-small-top",rowfirst:!1,observe:!1},boot:function(){t.ready(function(e){t.$("[data-uk-margin]",e).each(function(){var e=t.$(this);e.data("stackMargin")||t.stackMargin(e,t.Utils.options(e.attr("data-uk-margin")))})})},init:function(){var i=this;t.$win.on("resize orientationchange",function(){var e=function(){i.process()};return t.$(function(){e(),t.$win.on("load",e)}),t.Utils.debounce(e,20)}()),this.on("display.uk.check",function(t){this.element.is(":visible")&&this.process()}.bind(this)),this.options.observe&&t.domObserve(this.element,function(t){i.element.is(":visible")&&i.process()}),e.push(this)},process:function(){var e=this.element.children();if(t.Utils.stackMargin(e,this.options),!this.options.rowfirst||!e.length)return this;var i={},n=!1;return e.removeClass(this.options.rowfirst).each(function(e,o){o=t.$(this),"none"!=this.style.display&&(e=o.offset().left,((i[e]=i[e]||[])&&i[e]).push(this),n=n===!1?e:Math.min(n,e))}),t.$(i[n]).addClass(this.options.rowfirst),this}}),function(){var e=[],i=function(t){if(t.is(":visible")){var e=t.parent().width(),i=t.data("width"),n=e/i,o=Math.floor(n*t.data("height"));t.css({height:e<i?o:t.data("height")})}};t.component("responsiveElement",{defaults:{},boot:function(){t.ready(function(e){t.$("iframe.uk-responsive-width, [data-uk-responsive]",e).each(function(){var e,i=t.$(this);i.data("responsiveElement")||(e=t.responsiveElement(i,{}))})})},init:function(){var t=this.element;t.attr("width")&&t.attr("height")&&(t.data({width:t.attr("width"),height:t.attr("height")}).on("display.uk.check",function(){i(t)}),i(t),e.push(t))}}),t.$win.on("resize load",t.Utils.debounce(function(){e.forEach(function(t){i(t)})},15))}(),t.Utils.stackMargin=function(e,i){i=t.$.extend({cls:"uk-margin-small-top"},i),e=t.$(e).removeClass(i.cls);var n=!1;e.each(function(e,i,o,a){a=t.$(this),"none"!=a.css("display")&&(e=a.offset(),i=a.outerHeight(),o=e.top+i,a.data({ukMarginPos:o,ukMarginTop:e.top}),(n===!1||e.top<n.top)&&(n={top:e.top,left:e.left,pos:o}))}).each(function(e){e=t.$(this),"none"!=e.css("display")&&e.data("ukMarginTop")>n.top&&e.data("ukMarginPos")>n.pos&&e.addClass(i.cls)})},t.Utils.matchHeights=function(e,i){e=t.$(e).css("min-height",""),i=t.$.extend({row:!0},i);var n=function(e){if(!(e.length<2)){var i=0;e.each(function(){i=Math.max(i,t.$(this).outerHeight())}).each(function(){var e=t.$(this),n=i-("border-box"==e.css("box-sizing")?0:e.outerHeight()-e.height());e.css("min-height",n+"px")})}};i.row?(e.first().width(),setTimeout(function(){var i=!1,o=[];e.each(function(){var e=t.$(this),a=e.offset().top;a!=i&&o.length&&(n(t.$(o)),o=[],a=e.offset().top),o.push(e),i=a}),o.length&&n(t.$(o))},0)):n(e)},function(e){t.Utils.inlineSvg=function(i,n){t.$(i||'img[src$=".svg"]',n||document).each(function(){var i=t.$(this),n=i.attr("src");if(!e[n]){var o=t.$.Deferred();t.$.get(n,{nc:Math.random()},function(e){o.resolve(t.$(e).find("svg"))}),e[n]=o.promise()}e[n].then(function(e){var n=t.$(e).clone();i.attr("id")&&n.attr("id",i.attr("id")),i.attr("class")&&n.attr("class",i.attr("class")),i.attr("style")&&n.attr("style",i.attr("style")),i.attr("width")&&(n.attr("width",i.attr("width")),i.attr("height")||n.removeAttr("height")),i.attr("height")&&(n.attr("height",i.attr("height")),i.attr("width")||n.removeAttr("width")),i.replaceWith(n)})})},t.ready(function(e){t.Utils.inlineSvg("[data-uk-svg]",e)})}({})}(UIkit),function(t){"use strict";function e(e,i){i=t.$.extend({duration:1e3,transition:"easeOutExpo",offset:0,complete:function(){}},i);var n=e.offset().top-i.offset,o=t.$doc.height(),a=window.innerHeight;n+a>o&&(n=o-a),t.$("html,body").stop().animate({scrollTop:n},i.duration,i.transition).promise().done(i.complete)}t.component("smoothScroll",{boot:function(){t.$html.on("click.smooth-scroll.uikit","[data-uk-smooth-scroll]",function(e){var i=t.$(this);if(!i.data("smoothScroll")){t.smoothScroll(i,t.Utils.options(i.attr("data-uk-smooth-scroll")));i.trigger("click")}return!1})},init:function(){var i=this;this.on("click",function(n){n.preventDefault(),e(t.$(this.hash).length?t.$(this.hash):t.$("body"),i.options)})}}),t.Utils.scrollToElement=e,t.$.easing.easeOutExpo||(t.$.easing.easeOutExpo=function(t,e,i,n,o){return e==o?i+n:n*(-Math.pow(2,-10*e/o)+1)+i})}(UIkit),function(t){"use strict";var e=t.$win,i=t.$doc,n=[],o=function(){for(var t=0;t<n.length;t++)window.requestAnimationFrame.apply(window,[n[t].check])};t.component("scrollspy",{defaults:{target:!1,cls:"uk-scrollspy-inview",initcls:"uk-scrollspy-init-inview",topoffset:0,leftoffset:0,repeat:!1,delay:0},boot:function(){i.on("scrolling.uk.document",o),e.on("load resize orientationchange",t.Utils.debounce(o,50)),t.ready(function(e){t.$("[data-uk-scrollspy]",e).each(function(){var e=t.$(this);if(!e.data("scrollspy")){t.scrollspy(e,t.Utils.options(e.attr("data-uk-scrollspy")))}})})},init:function(){var e,i=this,o=this.options.cls.split(/,/),a=function(){var n=i.options.target?i.element.find(i.options.target):i.element,a=1===n.length?1:0,r=0;n.each(function(n){var s=t.$(this),l=s.data("inviewstate"),u=t.Utils.isInView(s,i.options),c=s.data("ukScrollspyCls")||o[r].trim();!u||l||s.data("scrollspy-idle")||(e||(s.addClass(i.options.initcls),i.offset=s.offset(),e=!0,s.trigger("init.uk.scrollspy")),s.data("scrollspy-idle",setTimeout(function(){s.addClass("uk-scrollspy-inview").toggleClass(c).width(),s.trigger("inview.uk.scrollspy"),s.data("scrollspy-idle",!1),s.data("inviewstate",!0)},i.options.delay*a)),a++),!u&&l&&i.options.repeat&&(s.data("scrollspy-idle")&&(clearTimeout(s.data("scrollspy-idle")),s.data("scrollspy-idle",!1)),s.removeClass("uk-scrollspy-inview").toggleClass(c),s.data("inviewstate",!1),s.trigger("outview.uk.scrollspy")),r=o[r+1]?r+1:0})};a(),this.check=a,n.push(this)}});var a=[],r=function(){for(var t=0;t<a.length;t++)window.requestAnimationFrame.apply(window,[a[t].check])};t.component("scrollspynav",{defaults:{cls:"uk-active",closest:!1,topoffset:0,leftoffset:0,smoothscroll:!1},boot:function(){i.on("scrolling.uk.document",r),e.on("resize orientationchange",t.Utils.debounce(r,50)),t.ready(function(e){t.$("[data-uk-scrollspy-nav]",e).each(function(){var e=t.$(this);if(!e.data("scrollspynav")){t.scrollspynav(e,t.Utils.options(e.attr("data-uk-scrollspy-nav")))}})})},init:function(){var i,n=[],o=this.find("a[href^='#']").each(function(){"#"!==this.getAttribute("href").trim()&&n.push(this.getAttribute("href"))}),r=t.$(n.join(",")),s=this.options.cls,l=this.options.closest||this.options.closest,u=this,c=function(){i=[];for(var n=0;n<r.length;n++)t.Utils.isInView(r.eq(n),u.options)&&i.push(r.eq(n));if(i.length){var a,c=e.scrollTop(),d=function(){for(var t=0;t<i.length;t++)if(i[t].offset().top>=c)return i[t]}();if(!d)return;u.options.closest?(o.blur().closest(l).removeClass(s),a=o.filter("a[href='#"+d.attr("id")+"']").closest(l).addClass(s)):a=o.removeClass(s).filter("a[href='#"+d.attr("id")+"']").addClass(s),u.element.trigger("inview.uk.scrollspynav",[d,a])}};this.options.smoothscroll&&t.smoothScroll&&o.each(function(){t.smoothScroll(this,u.options.smoothscroll)}),c(),this.element.data("scrollspynav",this),this.check=c,a.push(this)}})}(UIkit),function(t){"use strict";var e=[];t.component("toggle",{defaults:{target:!1,cls:"uk-hidden",animation:!1,duration:200},boot:function(){t.ready(function(i){t.$("[data-uk-toggle]",i).each(function(){var e=t.$(this);if(!e.data("toggle")){t.toggle(e,t.Utils.options(e.attr("data-uk-toggle")))}}),setTimeout(function(){e.forEach(function(t){t.getToggles()})},0)})},init:function(){var t=this;this.aria=this.options.cls.indexOf("uk-hidden")!==-1,this.getToggles(),this.on("click",function(e){t.element.is('a[href="#"]')&&e.preventDefault(),t.toggle()}),e.push(this)},toggle:function(){if(this.totoggle.length){if(this.options.animation&&t.support.animation){var e=this,i=this.options.animation.split(",");1==i.length&&(i[1]=i[0]),i[0]=i[0].trim(),i[1]=i[1].trim(),this.totoggle.css("animation-duration",this.options.duration+"ms"),this.totoggle.each(function(){var n=t.$(this);n.hasClass(e.options.cls)?(n.toggleClass(e.options.cls),t.Utils.animate(n,i[0]).then(function(){n.css("animation-duration",""),t.Utils.checkDisplay(n)})):t.Utils.animate(this,i[1]+" uk-animation-reverse").then(function(){n.toggleClass(e.options.cls).css("animation-duration",""),t.Utils.checkDisplay(n)})})}else this.totoggle.toggleClass(this.options.cls),t.Utils.checkDisplay(this.totoggle);this.updateAria()}},getToggles:function(){this.totoggle=this.options.target?t.$(this.options.target):[],this.updateAria()},updateAria:function(){this.aria&&this.totoggle.length&&this.totoggle.each(function(){t.$(this).attr("aria-hidden",t.$(this).hasClass("uk-hidden"))})}})}(UIkit),function(t){"use strict";t.component("alert",{defaults:{fade:!0,duration:200,trigger:".uk-alert-close"},boot:function(){t.$html.on("click.alert.uikit","[data-uk-alert]",function(e){var i=t.$(this);if(!i.data("alert")){var n=t.alert(i,t.Utils.options(i.attr("data-uk-alert")));t.$(e.target).is(n.options.trigger)&&(e.preventDefault(),n.close())}})},init:function(){var t=this;this.on("click",this.options.trigger,function(e){e.preventDefault(),t.close()})},close:function(){var t=this.trigger("close.uk.alert"),e=function(){this.trigger("closed.uk.alert").remove()}.bind(this);this.options.fade?t.css("overflow","hidden").css("max-height",t.height()).animate({height:0,opacity:0,"padding-top":0,"padding-bottom":0,"margin-top":0,"margin-bottom":0},this.options.duration,e):e()}})}(UIkit),function(t){"use strict";t.component("buttonRadio",{defaults:{activeClass:"uk-active",target:".uk-button"},boot:function(){t.$html.on("click.buttonradio.uikit","[data-uk-button-radio]",function(e){var i=t.$(this);if(!i.data("buttonRadio")){var n=t.buttonRadio(i,t.Utils.options(i.attr("data-uk-button-radio"))),o=t.$(e.target);o.is(n.options.target)&&o.trigger("click")}})},init:function(){var e=this;this.find(e.options.target).attr("aria-checked","false").filter("."+e.options.activeClass).attr("aria-checked","true"),this.on("click",this.options.target,function(i){var n=t.$(this);n.is('a[href="#"]')&&i.preventDefault(),e.find(e.options.target).not(n).removeClass(e.options.activeClass).blur(),n.addClass(e.options.activeClass),e.find(e.options.target).not(n).attr("aria-checked","false"),n.attr("aria-checked","true"),e.trigger("change.uk.button",[n])})},getSelected:function(){return this.find("."+this.options.activeClass)}}),t.component("buttonCheckbox",{defaults:{activeClass:"uk-active",target:".uk-button"},boot:function(){t.$html.on("click.buttoncheckbox.uikit","[data-uk-button-checkbox]",function(e){var i=t.$(this);if(!i.data("buttonCheckbox")){var n=t.buttonCheckbox(i,t.Utils.options(i.attr("data-uk-button-checkbox"))),o=t.$(e.target);o.is(n.options.target)&&o.trigger("click")}})},init:function(){var e=this;this.find(e.options.target).attr("aria-checked","false").filter("."+e.options.activeClass).attr("aria-checked","true"),this.on("click",this.options.target,function(i){var n=t.$(this);n.is('a[href="#"]')&&i.preventDefault(),n.toggleClass(e.options.activeClass).blur(),n.attr("aria-checked",n.hasClass(e.options.activeClass)),e.trigger("change.uk.button",[n])})},getSelected:function(){return this.find("."+this.options.activeClass)}}),t.component("button",{defaults:{},boot:function(){t.$html.on("click.button.uikit","[data-uk-button]",function(e){var i=t.$(this);if(!i.data("button")){t.button(i,t.Utils.options(i.attr("data-uk-button")));i.trigger("click")}})},init:function(){var t=this;this.element.attr("aria-pressed",this.element.hasClass("uk-active")),this.on("click",function(e){t.element.is('a[href="#"]')&&e.preventDefault(),t.toggle(),t.trigger("change.uk.button",[t.element.blur().hasClass("uk-active")])})},toggle:function(){this.element.toggleClass("uk-active"),this.element.attr("aria-pressed",this.element.hasClass("uk-active"))}})}(UIkit),function(t){"use strict";function e(e,i,n,o){if(e=t.$(e),i=t.$(i),n=n||window.innerWidth,o=o||e.offset(),i.length){var a=i.outerWidth();if(e.css("min-width",a),"right"==t.langdirection){var r=n-(i.offset().left+a),s=n-(e.offset().left+e.outerWidth());e.css("margin-right",r-s)}else e.css("margin-left",i.offset().left-o.left)}}var i,n=!1,o={x:{"bottom-left":"bottom-right","bottom-right":"bottom-left","bottom-center":"bottom-center","top-left":"top-right","top-right":"top-left","top-center":"top-center","left-top":"right-top","left-bottom":"right-bottom","left-center":"right-center","right-top":"left-top","right-bottom":"left-bottom","right-center":"left-center"},y:{"bottom-left":"top-left","bottom-right":"top-right","bottom-center":"top-center","top-left":"bottom-left","top-right":"bottom-right","top-center":"bottom-center","left-top":"left-bottom","left-bottom":"left-top","left-center":"left-center","right-top":"right-bottom",
  "right-bottom":"right-top","right-center":"right-center"},xy:{"bottom-left":"top-right","bottom-right":"top-left","bottom-center":"top-center","top-left":"bottom-right","top-right":"bottom-left","top-center":"bottom-center","left-top":"right-bottom","left-bottom":"right-top","left-center":"right-center","right-top":"left-bottom","right-bottom":"left-top","right-center":"left-center"}};t.component("dropdown",{defaults:{mode:"hover",pos:"bottom-left",offset:0,remaintime:800,justify:!1,boundary:t.$win,delay:0,dropdownSelector:".uk-dropdown,.uk-dropdown-blank",hoverDelayIdle:250,preventflip:!1},remainIdle:!1,boot:function(){var e=t.support.touch?"click":"mouseenter";t.$html.on(e+".dropdown.uikit","[data-uk-dropdown]",function(i){var n=t.$(this);if(!n.data("dropdown")){var o=t.dropdown(n,t.Utils.options(n.attr("data-uk-dropdown")));("click"==e||"mouseenter"==e&&"hover"==o.options.mode)&&o.element.trigger(e),o.element.find(o.options.dropdownSelector).length&&i.preventDefault()}})},init:function(){var e=this;this.dropdown=this.find(this.options.dropdownSelector),this.offsetParent=this.dropdown.parents().filter(function(){return t.$.inArray(t.$(this).css("position"),["relative","fixed","absolute"])!==-1}).slice(0,1),this.centered=this.dropdown.hasClass("uk-dropdown-center"),this.justified=!!this.options.justify&&t.$(this.options.justify),this.boundary=t.$(this.options.boundary),this.boundary.length||(this.boundary=t.$win),this.dropdown.hasClass("uk-dropdown-up")&&(this.options.pos="top-left"),this.dropdown.hasClass("uk-dropdown-flip")&&(this.options.pos=this.options.pos.replace("left","right")),this.dropdown.hasClass("uk-dropdown-center")&&(this.options.pos=this.options.pos.replace(/(left|right)/,"center")),this.element.attr("aria-haspopup","true"),this.element.attr("aria-expanded",this.element.hasClass("uk-open")),"click"==this.options.mode||t.support.touch?this.on("click.uk.dropdown",function(i){var n=t.$(i.target);n.parents(e.options.dropdownSelector).length||((n.is("a[href='#']")||n.parent().is("a[href='#']")||e.dropdown.length&&!e.dropdown.is(":visible"))&&i.preventDefault(),n.blur()),e.element.hasClass("uk-open")?(!e.dropdown.find(i.target).length||n.is(".uk-dropdown-close")||n.parents(".uk-dropdown-close").length)&&e.hide():e.show()}):this.on("mouseenter",function(t){e.trigger("pointerenter.uk.dropdown",[e]),e.remainIdle&&clearTimeout(e.remainIdle),i&&clearTimeout(i),n&&n==e||(i=n&&n!=e?setTimeout(function(){i=setTimeout(e.show.bind(e),e.options.delay)},e.options.hoverDelayIdle):setTimeout(e.show.bind(e),e.options.delay))}).on("mouseleave",function(){i&&clearTimeout(i),e.remainIdle=setTimeout(function(){n&&n==e&&e.hide()},e.options.remaintime),e.trigger("pointerleave.uk.dropdown",[e])}).on("click",function(i){var o=t.$(i.target);return e.remainIdle&&clearTimeout(e.remainIdle),n&&n==e?void((!e.dropdown.find(i.target).length||o.is(".uk-dropdown-close")||o.parents(".uk-dropdown-close").length)&&e.hide()):((o.is("a[href='#']")||o.parent().is("a[href='#']"))&&i.preventDefault(),void e.show())})},show:function(){t.$html.off("click.outer.dropdown"),n&&n!=this&&n.hide(!0),i&&clearTimeout(i),this.trigger("beforeshow.uk.dropdown",[this]),this.checkDimensions(),this.element.addClass("uk-open"),this.element.attr("aria-expanded","true"),this.trigger("show.uk.dropdown",[this]),t.Utils.checkDisplay(this.dropdown,!0),n=this,this.registerOuterClick()},hide:function(t){this.trigger("beforehide.uk.dropdown",[this,t]),this.element.removeClass("uk-open"),this.remainIdle&&clearTimeout(this.remainIdle),this.remainIdle=!1,this.element.attr("aria-expanded","false"),this.trigger("hide.uk.dropdown",[this,t]),n==this&&(n=!1)},registerOuterClick:function(){var e=this;t.$html.off("click.outer.dropdown"),setTimeout(function(){t.$html.on("click.outer.dropdown",function(o){i&&clearTimeout(i);t.$(o.target);n!=e||e.element.find(o.target).length||(e.hide(!0),t.$html.off("click.outer.dropdown"))})},10)},checkDimensions:function(){if(this.dropdown.length){this.dropdown.removeClass("uk-dropdown-top uk-dropdown-bottom uk-dropdown-left uk-dropdown-right uk-dropdown-stack").css({"top-left":"",left:"","margin-left":"","margin-right":""}),this.justified&&this.justified.length&&this.dropdown.css("min-width","");var i,n=t.$.extend({},this.offsetParent.offset(),{width:this.offsetParent[0].offsetWidth,height:this.offsetParent[0].offsetHeight}),a=this.options.offset,r=this.dropdown,s=(r.show().offset()||{left:0,top:0},r.outerWidth()),l=r.outerHeight(),u=this.boundary.width(),c=(this.boundary[0]!==window&&this.boundary.offset()?this.boundary.offset():{top:0,left:0},this.options.pos),d={"bottom-left":{top:0+n.height+a,left:0},"bottom-right":{top:0+n.height+a,left:0+n.width-s},"bottom-center":{top:0+n.height+a,left:0+n.width/2-s/2},"top-left":{top:0-l-a,left:0},"top-right":{top:0-l-a,left:0+n.width-s},"top-center":{top:0-l-a,left:0+n.width/2-s/2},"left-top":{top:0,left:0-s-a},"left-bottom":{top:0+n.height-l,left:0-s-a},"left-center":{top:0+n.height/2-l/2,left:0-s-a},"right-top":{top:0,left:0+n.width+a},"right-bottom":{top:0+n.height-l,left:0+n.width+a},"right-center":{top:0+n.height/2-l/2,left:0+n.width+a}},p={};if(i=c.split("-"),p=d[c]?d[c]:d["bottom-left"],this.justified&&this.justified.length)e(r.css({left:0}),this.justified,u);else if(this.options.preventflip!==!0){var h;switch(this.checkBoundary(n.left+p.left,n.top+p.top,s,l,u)){case"x":"x"!==this.options.preventflip&&(h=o.x[c]||"right-top");break;case"y":"y"!==this.options.preventflip&&(h=o.y[c]||"top-left");break;case"xy":this.options.preventflip||(h=o.xy[c]||"right-bottom")}h&&(i=h.split("-"),p=d[h]?d[h]:d["bottom-left"],this.checkBoundary(n.left+p.left,n.top+p.top,s,l,u)&&(i=c.split("-"),p=d[c]?d[c]:d["bottom-left"]))}s>u&&(r.addClass("uk-dropdown-stack"),this.trigger("stack.uk.dropdown",[this])),r.css(p).css("display","").addClass("uk-dropdown-"+i[0])}},checkBoundary:function(e,i,n,o,a){var r="";return(e<0||e-t.$win.scrollLeft()+n>a)&&(r+="x"),(i-t.$win.scrollTop()<0||i-t.$win.scrollTop()+o>window.innerHeight)&&(r+="y"),r}}),t.component("dropdownOverlay",{defaults:{justify:!1,cls:"",duration:200},boot:function(){t.ready(function(e){t.$("[data-uk-dropdown-overlay]",e).each(function(){var e=t.$(this);e.data("dropdownOverlay")||t.dropdownOverlay(e,t.Utils.options(e.attr("data-uk-dropdown-overlay")))})})},init:function(){var i=this;this.justified=!!this.options.justify&&t.$(this.options.justify),this.overlay=this.element.find("uk-dropdown-overlay"),this.overlay.length||(this.overlay=t.$('<div class="uk-dropdown-overlay"></div>').appendTo(this.element)),this.overlay.addClass(this.options.cls),this.on({"beforeshow.uk.dropdown":function(t,n){i.dropdown=n,i.justified&&i.justified.length&&e(i.overlay.css({display:"block","margin-left":"","margin-right":""}),i.justified,i.justified.outerWidth())},"show.uk.dropdown":function(e,n){var o=i.dropdown.dropdown.outerHeight(!0);i.dropdown.element.removeClass("uk-open"),i.overlay.stop().css("display","block").animate({height:o},i.options.duration,function(){i.dropdown.dropdown.css("visibility",""),i.dropdown.element.addClass("uk-open"),t.Utils.checkDisplay(i.dropdown.dropdown,!0)}),i.pointerleave=!1},"hide.uk.dropdown":function(){i.overlay.stop().animate({height:0},i.options.duration)},"pointerenter.uk.dropdown":function(t,e){clearTimeout(i.remainIdle)},"pointerleave.uk.dropdown":function(t,e){i.pointerleave=!0}}),this.overlay.on({mouseenter:function(){i.remainIdle&&(clearTimeout(i.dropdown.remainIdle),clearTimeout(i.remainIdle))},mouseleave:function(){i.pointerleave&&n&&(i.remainIdle=setTimeout(function(){n&&n.hide()},n.options.remaintime))}})}})}(UIkit),function(t){"use strict";var e=[];t.component("gridMatchHeight",{defaults:{target:!1,row:!0,ignorestacked:!1,observe:!1},boot:function(){t.ready(function(e){t.$("[data-uk-grid-match]",e).each(function(){var e,i=t.$(this);i.data("gridMatchHeight")||(e=t.gridMatchHeight(i,t.Utils.options(i.attr("data-uk-grid-match"))))})})},init:function(){var i=this;this.columns=this.element.children(),this.elements=this.options.target?this.find(this.options.target):this.columns,this.columns.length&&(t.$win.on("load resize orientationchange",function(){var e=function(){i.element.is(":visible")&&i.match()};return t.$(function(){e()}),t.Utils.debounce(e,50)}()),this.options.observe&&t.domObserve(this.element,function(t){i.element.is(":visible")&&i.match()}),this.on("display.uk.check",function(t){this.element.is(":visible")&&this.match()}.bind(this)),e.push(this))},match:function(){var e=this.columns.filter(":visible:first");if(e.length){var i=Math.ceil(100*parseFloat(e.css("width"))/parseFloat(e.parent().css("width")))>=100;return i&&!this.options.ignorestacked?this.revert():t.Utils.matchHeights(this.elements,this.options),this}},revert:function(){return this.elements.css("min-height",""),this}}),t.component("gridMargin",{defaults:{cls:"uk-grid-margin",rowfirst:"uk-row-first"},boot:function(){t.ready(function(e){t.$("[data-uk-grid-margin]",e).each(function(){var e,i=t.$(this);i.data("gridMargin")||(e=t.gridMargin(i,t.Utils.options(i.attr("data-uk-grid-margin"))))})})},init:function(){t.stackMargin(this.element,this.options)}})}(UIkit),function(t){"use strict";function e(e,i){if(i)return"object"==typeof e?(e=e instanceof jQuery?e:t.$(e),e.parent().length&&(i.persist=e,i.persist.data("modalPersistParent",e.parent()))):e="string"==typeof e||"number"==typeof e?t.$("<div></div>").html(e):t.$("<div></div>").html("UIkit.modal Error: Unsupported data type: "+typeof e),e.appendTo(i.element.find(".uk-modal-dialog")),i}var i,n=!1,o=0,a=t.$html;t.$win.on("resize orientationchange",t.Utils.debounce(function(){t.$(".uk-modal.uk-open").each(function(){t.$(this).data("modal").resize()})},150)),t.component("modal",{defaults:{keyboard:!0,bgclose:!0,minScrollHeight:150,center:!1,modal:!0},scrollable:!1,transition:!1,hasTransitioned:!0,init:function(){if(i||(i=t.$("body")),this.element.length){var e=this;this.paddingdir="padding-"+("left"==t.langdirection?"right":"left"),this.dialog=this.find(".uk-modal-dialog"),this.active=!1,this.element.attr("aria-hidden",this.element.hasClass("uk-open")),this.on("click",".uk-modal-close",function(t){t.preventDefault(),e.hide()}).on("click",function(i){var n=t.$(i.target);n[0]==e.element[0]&&e.options.bgclose&&e.hide()}),t.domObserve(this.element,function(t){e.resize()})}},toggle:function(){return this[this.isActive()?"hide":"show"]()},show:function(){if(this.element.length){var e=this;if(!this.isActive())return this.options.modal&&n&&n.hide(!0),this.element.removeClass("uk-open").show(),this.resize(!0),this.options.modal&&(n=this),this.active=!0,o++,t.support.transition?(this.hasTransitioned=!1,this.element.one(t.support.transition.end,function(){e.hasTransitioned=!0}).addClass("uk-open")):this.element.addClass("uk-open"),a.addClass("uk-modal-page").height(),this.element.attr("aria-hidden","false"),this.element.trigger("show.uk.modal"),t.Utils.checkDisplay(this.dialog,!0),this}},hide:function(e){if(!e&&t.support.transition&&this.hasTransitioned){var i=this;this.one(t.support.transition.end,function(){i._hide()}).removeClass("uk-open")}else this._hide();return this},resize:function(t){if(this.isActive()||t){var e=i.width();if(this.scrollbarwidth=window.innerWidth-e,i.css(this.paddingdir,this.scrollbarwidth),this.element.css("overflow-y",this.scrollbarwidth?"scroll":"auto"),!this.updateScrollable()&&this.options.center){var n=this.dialog.outerHeight(),o=parseInt(this.dialog.css("margin-top"),10)+parseInt(this.dialog.css("margin-bottom"),10);n+o<window.innerHeight?this.dialog.css({top:window.innerHeight/2-n/2-o}):this.dialog.css({top:""})}}},updateScrollable:function(){var t=this.dialog.find(".uk-overflow-container:visible:first");if(t.length){t.css("height",0);var e=Math.abs(parseInt(this.dialog.css("margin-top"),10)),i=this.dialog.outerHeight(),n=window.innerHeight,o=n-2*(e<20?20:e)-i;return t.css({"max-height":o<this.options.minScrollHeight?"":o,height:""}),!0}return!1},_hide:function(){this.active=!1,o>0?o--:o=0,this.element.hide().removeClass("uk-open"),this.element.attr("aria-hidden","true"),o||(a.removeClass("uk-modal-page"),i.css(this.paddingdir,"")),n===this&&(n=!1),this.trigger("hide.uk.modal")},isActive:function(){return this.element.hasClass("uk-open")}}),t.component("modalTrigger",{boot:function(){t.$html.on("click.modal.uikit","[data-uk-modal]",function(e){var i=t.$(this);if(i.is("a")&&e.preventDefault(),!i.data("modalTrigger")){var n=t.modalTrigger(i,t.Utils.options(i.attr("data-uk-modal")));n.show()}}),t.$html.on("keydown.modal.uikit",function(t){n&&27===t.keyCode&&n.options.keyboard&&(t.preventDefault(),n.hide())})},init:function(){var e=this;this.options=t.$.extend({target:!!e.element.is("a")&&e.element.attr("href")},this.options),this.modal=t.modal(this.options.target,this.options),this.on("click",function(t){t.preventDefault(),e.show()}),this.proxy(this.modal,"show hide isActive")}}),t.modal.dialog=function(i,n){var o=t.modal(t.$(t.modal.dialog.template).appendTo("body"),n);return o.on("hide.uk.modal",function(){o.persist&&(o.persist.appendTo(o.persist.data("modalPersistParent")),o.persist=!1),o.element.remove()}),e(i,o),o},t.modal.dialog.template='<div class="uk-modal"><div class="uk-modal-dialog" style="min-height:0;"></div></div>',t.modal.alert=function(e,i){i=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},i);var n=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(e)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-button-primary uk-modal-close">'+i.labels.Ok+"</button></div>"].join(""),i);return n.on("show.uk.modal",function(){setTimeout(function(){n.element.find("button:first").focus()},50)}),n.show()},t.modal.confirm=function(e,i,n){var o=arguments.length>1&&arguments[arguments.length-1]?arguments[arguments.length-1]:{};i=t.$.isFunction(i)?i:function(){},n=t.$.isFunction(n)?n:function(){},o=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},t.$.isFunction(o)?{}:o);var a=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(e)+"</div>",'<div class="uk-modal-footer uk-text-right"><button class="uk-button js-modal-confirm-cancel">'+o.labels.Cancel+'</button> <button class="uk-button uk-button-primary js-modal-confirm">'+o.labels.Ok+"</button></div>"].join(""),o);return a.element.find(".js-modal-confirm, .js-modal-confirm-cancel").on("click",function(){t.$(this).is(".js-modal-confirm")?i():n(),a.hide()}),a.on("show.uk.modal",function(){setTimeout(function(){a.element.find(".js-modal-confirm").focus()},50)}),a.show()},t.modal.prompt=function(e,i,n,o){n=t.$.isFunction(n)?n:function(t){},o=t.$.extend(!0,{bgclose:!1,keyboard:!1,modal:!1,labels:t.modal.labels},o);var a=t.modal.dialog([e?'<div class="uk-modal-content uk-form">'+String(e)+"</div>":"",'<div class="uk-margin-small-top uk-modal-content uk-form"><p><input type="text" class="uk-width-1-1"></p></div>','<div class="uk-modal-footer uk-text-right"><button class="uk-button uk-modal-close">'+o.labels.Cancel+'</button> <button class="uk-button uk-button-primary js-modal-ok">'+o.labels.Ok+"</button></div>"].join(""),o),r=a.element.find("input[type='text']").val(i||"").on("keyup",function(t){13==t.keyCode&&a.element.find(".js-modal-ok").trigger("click")});return a.element.find(".js-modal-ok").on("click",function(){n(r.val())!==!1&&a.hide()}),a.on("show.uk.modal",function(){setTimeout(function(){r.focus()},50)}),a.show()},t.modal.blockUI=function(e,i){var n=t.modal.dialog(['<div class="uk-margin uk-modal-content">'+String(e||'<div class="uk-text-center">...</div>')+"</div>"].join(""),t.$.extend({bgclose:!1,keyboard:!1,modal:!1},i));return n.content=n.element.find(".uk-modal-content:first"),n.show()},t.modal.labels={Ok:"Ok",Cancel:"Cancel"}}(UIkit),function(t){"use strict";function e(e){var i=t.$(e),n="auto";if(i.is(":visible"))n=i.outerHeight();else{var o={position:i.css("position"),visibility:i.css("visibility"),display:i.css("display")};n=i.css({position:"absolute",visibility:"hidden",display:"block"}).outerHeight(),i.css(o)}return n}t.component("nav",{defaults:{toggle:">li.uk-parent > a[href='#']",lists:">li.uk-parent > ul",multiple:!1},boot:function(){t.ready(function(e){t.$("[data-uk-nav]",e).each(function(){var e=t.$(this);if(!e.data("nav")){t.nav(e,t.Utils.options(e.attr("data-uk-nav")))}})})},init:function(){var e=this;this.on("click.uk.nav",this.options.toggle,function(i){i.preventDefault();var n=t.$(this);e.open(n.parent()[0]==e.element[0]?n:n.parent("li"))}),this.find(this.options.lists).each(function(){var i=t.$(this),n=i.parent(),o=n.hasClass("uk-active");i.wrap('<div style="overflow:hidden;height:0;position:relative;"></div>'),n.data("list-container",i.parent()[o?"removeClass":"addClass"]("uk-hidden")),n.attr("aria-expanded",n.hasClass("uk-open")),o&&e.open(n,!0)})},open:function(i,n){var o=this,a=this.element,r=t.$(i),s=r.data("list-container");this.options.multiple||a.children(".uk-open").not(i).each(function(){var e=t.$(this);e.data("list-container")&&e.data("list-container").stop().animate({height:0},function(){t.$(this).parent().removeClass("uk-open").end().addClass("uk-hidden")})}),r.toggleClass("uk-open"),r.attr("aria-expanded",r.hasClass("uk-open")),s&&(r.hasClass("uk-open")&&s.removeClass("uk-hidden"),n?(s.stop().height(r.hasClass("uk-open")?"auto":0),r.hasClass("uk-open")||s.addClass("uk-hidden"),this.trigger("display.uk.check")):s.stop().animate({height:r.hasClass("uk-open")?e(s.find("ul:first")):0},function(){r.hasClass("uk-open")?s.css("height",""):s.addClass("uk-hidden"),o.trigger("display.uk.check")}))}})}(UIkit),function(t){"use strict";var e={x:window.scrollX,y:window.scrollY},i=(t.$win,t.$doc,t.$html),n={show:function(n){if(n=t.$(n),n.length){var o=t.$("body"),a=n.find(".uk-offcanvas-bar:first"),r="right"==t.langdirection,s=a.hasClass("uk-offcanvas-bar-flip")?-1:1,l=s*(r?-1:1),u=window.innerWidth-o.width();e={x:window.pageXOffset,y:window.pageYOffset},n.addClass("uk-active"),o.css({width:window.innerWidth-u,height:window.innerHeight}).addClass("uk-offcanvas-page"),o.css(r?"margin-right":"margin-left",(r?-1:1)*(a.outerWidth()*l)).width(),i.css("margin-top",e.y*-1),a.addClass("uk-offcanvas-bar-show"),this._initElement(n),a.trigger("show.uk.offcanvas",[n,a]),n.attr("aria-hidden","false")}},hide:function(n){var o=t.$("body"),a=t.$(".uk-offcanvas.uk-active"),r="right"==t.langdirection,s=a.find(".uk-offcanvas-bar:first"),l=function(){o.removeClass("uk-offcanvas-page").css({width:"",height:"","margin-left":"","margin-right":""}),a.removeClass("uk-active"),s.removeClass("uk-offcanvas-bar-show"),i.css("margin-top",""),window.scrollTo(e.x,e.y),s.trigger("hide.uk.offcanvas",[a,s]),a.attr("aria-hidden","true")};a.length&&(t.support.transition&&!n?(o.one(t.support.transition.end,function(){l()}).css(r?"margin-right":"margin-left",""),setTimeout(function(){s.removeClass("uk-offcanvas-bar-show")},0)):l())},_initElement:function(e){e.data("OffcanvasInit")||(e.on("click.uk.offcanvas swipeRight.uk.offcanvas swipeLeft.uk.offcanvas",function(e){var i=t.$(e.target);if(!e.type.match(/swipe/)&&!i.hasClass("uk-offcanvas-close")){if(i.hasClass("uk-offcanvas-bar"))return;if(i.parents(".uk-offcanvas-bar:first").length)return}e.stopImmediatePropagation(),n.hide()}),e.on("click","a[href*='#']",function(e){var i=t.$(this),o=i.attr("href");"#"!=o&&(t.$doc.one("hide.uk.offcanvas",function(){var e;try{e=t.$(i[0].hash)}catch(t){e=""}e.length||(e=t.$('[name="'+i[0].hash.replace("#","")+'"]')),e.length&&t.Utils.scrollToElement?t.Utils.scrollToElement(e,t.Utils.options(i.attr("data-uk-smooth-scroll")||"{}")):window.location.href=o}),n.hide())}),e.data("OffcanvasInit",!0))}};t.component("offcanvasTrigger",{boot:function(){i.on("click.offcanvas.uikit","[data-uk-offcanvas]",function(e){e.preventDefault();var i=t.$(this);if(!i.data("offcanvasTrigger")){t.offcanvasTrigger(i,t.Utils.options(i.attr("data-uk-offcanvas")));i.trigger("click")}}),i.on("keydown.uk.offcanvas",function(t){27===t.keyCode&&n.hide()})},init:function(){var e=this;this.options=t.$.extend({target:!!e.element.is("a")&&e.element.attr("href")},this.options),this.on("click",function(t){t.preventDefault(),n.show(e.options.target)})}}),t.offcanvas=n}(UIkit),function(t){"use strict";function e(e,i,n){var o,a=t.$.Deferred(),r=e,s=e;return n[0]===i[0]?(a.resolve(),a.promise()):("object"==typeof e&&(r=e[0],s=e[1]||e[0]),t.$body.css("overflow-x","hidden"),o=function(){i&&i.hide().removeClass("uk-active "+s+" uk-animation-reverse"),n.addClass(r).one(t.support.animation.end,function(){n.removeClass(""+r).css({opacity:"",display:""}),a.resolve(),t.$body.css("overflow-x",""),i&&i.css({opacity:"",display:""})}.bind(this)).show()},n.css("animation-duration",this.options.duration+"ms"),i&&i.length?(i.css("animation-duration",this.options.duration+"ms"),i.css("display","none").addClass(s+" uk-animation-reverse").one(t.support.animation.end,function(){o()}.bind(this)).css("display","")):(n.addClass("uk-active"),o()),a.promise())}var i;t.component("switcher",{defaults:{connect:!1,toggle:">*",active:0,animation:!1,duration:200,swiping:!0},animating:!1,boot:function(){t.ready(function(e){t.$("[data-uk-switcher]",e).each(function(){var e=t.$(this);if(!e.data("switcher")){t.switcher(e,t.Utils.options(e.attr("data-uk-switcher")))}})})},init:function(){var e=this;if(this.on("click.uk.switcher",this.options.toggle,function(t){t.preventDefault(),e.show(this)}),this.options.connect){this.connect=t.$(this.options.connect),this.connect.children().removeClass("uk-active"),this.connect.length&&(this.connect.children().attr("aria-hidden","true"),this.connect.on("click","[data-uk-switcher-item]",function(i){i.preventDefault();var n=t.$(this).attr("data-uk-switcher-item");if(e.index!=n)switch(n){case"next":case"previous":e.show(e.index+("next"==n?1:-1));break;default:e.show(parseInt(n,10))}}),this.options.swiping&&this.connect.on("swipeRight swipeLeft",function(t){t.preventDefault(),window.getSelection().toString()||e.show(e.index+("swipeLeft"==t.type?1:-1))}));var i=this.find(this.options.toggle),n=i.filter(".uk-active");if(n.length)this.show(n,!1);else{if(this.options.active===!1)return;n=i.eq(this.options.active),this.show(n.length?n:i.eq(0),!1)}i.not(n).attr("aria-expanded","false"),n.attr("aria-expanded","true")}},show:function(n,o){if(!this.animating){if(isNaN(n))n=t.$(n);else{var a=this.find(this.options.toggle);n=n<0?a.length-1:n,n=a.eq(a[n]?n:0)}var r=this,a=this.find(this.options.toggle),s=t.$(n),l=i[this.options.animation]||function(t,n){if(!r.options.animation)return i.none.apply(r);var o=r.options.animation.split(",");return 1==o.length&&(o[1]=o[0]),o[0]=o[0].trim(),o[1]=o[1].trim(),e.apply(r,[o,t,n])};o!==!1&&t.support.animation||(l=i.none),s.hasClass("uk-disabled")||(a.attr("aria-expanded","false"),s.attr("aria-expanded","true"),a.filter(".uk-active").removeClass("uk-active"),s.addClass("uk-active"),this.options.connect&&this.connect.length&&(this.index=this.find(this.options.toggle).index(s),this.index==-1&&(this.index=0),this.connect.each(function(){var e=t.$(this),i=t.$(e.children()),n=t.$(i.filter(".uk-active")),o=t.$(i.eq(r.index));r.animating=!0,l.apply(r,[n,o]).then(function(){n.removeClass("uk-active"),o.addClass("uk-active"),n.attr("aria-hidden","true"),o.attr("aria-hidden","false"),t.Utils.checkDisplay(o,!0),r.animating=!1})})),this.trigger("show.uk.switcher",[s]))}}}),i={none:function(){var e=t.$.Deferred();return e.resolve(),e.promise()},fade:function(t,i){return e.apply(this,["uk-animation-fade",t,i])},"slide-bottom":function(t,i){return e.apply(this,["uk-animation-slide-bottom",t,i])},"slide-top":function(t,i){return e.apply(this,["uk-animation-slide-top",t,i])},"slide-vertical":function(t,i,n){var o=["uk-animation-slide-top","uk-animation-slide-bottom"];return t&&t.index()>i.index()&&o.reverse(),e.apply(this,[o,t,i])},"slide-left":function(t,i){return e.apply(this,["uk-animation-slide-left",t,i])},"slide-right":function(t,i){return e.apply(this,["uk-animation-slide-right",t,i])},"slide-horizontal":function(t,i,n){var o=["uk-animation-slide-right","uk-animation-slide-left"];return t&&t.index()>i.index()&&o.reverse(),e.apply(this,[o,t,i])},scale:function(t,i){return e.apply(this,["uk-animation-scale-up",t,i])}},t.switcher.animations=i}(UIkit),function(t){"use strict";t.component("tab",{defaults:{target:">li:not(.uk-tab-responsive, .uk-disabled)",connect:!1,active:0,animation:!1,duration:200,swiping:!0},boot:function(){t.ready(function(e){t.$("[data-uk-tab]",e).each(function(){var e=t.$(this);if(!e.data("tab")){t.tab(e,t.Utils.options(e.attr("data-uk-tab")))}})})},init:function(){var e=this;this.current=!1,this.on("click.uk.tab",this.options.target,function(i){if(i.preventDefault(),!e.switcher||!e.switcher.animating){var n=e.find(e.options.target).not(this);n.removeClass("uk-active").blur(),e.trigger("change.uk.tab",[t.$(this).addClass("uk-active"),e.current]),e.current=t.$(this),e.options.connect||(n.attr("aria-expanded","false"),t.$(this).attr("aria-expanded","true"))}}),this.options.connect&&(this.connect=t.$(this.options.connect)),this.responsivetab=t.$('<li class="uk-tab-responsive uk-active"><a></a></li>').append('<div class="uk-dropdown uk-dropdown-small"><ul class="uk-nav uk-nav-dropdown"></ul><div>'),this.responsivetab.dropdown=this.responsivetab.find(".uk-dropdown"),this.responsivetab.lst=this.responsivetab.dropdown.find("ul"),this.responsivetab.caption=this.responsivetab.find("a:first"),this.element.hasClass("uk-tab-bottom")&&this.responsivetab.dropdown.addClass("uk-dropdown-up"),this.responsivetab.lst.on("click.uk.tab","a",function(i){i.preventDefault(),i.stopPropagation();var n=t.$(this);e.element.children("li:not(.uk-tab-responsive)").eq(n.data("index")).trigger("click")}),this.on("show.uk.switcher change.uk.tab",function(t,i){e.responsivetab.caption.html(i.text())}),this.element.append(this.responsivetab),this.options.connect&&(this.switcher=t.switcher(this.element,{toggle:">li:not(.uk-tab-responsive)",connect:this.options.connect,active:this.options.active,animation:this.options.animation,duration:this.options.duration,swiping:this.options.swiping})),t.dropdown(this.responsivetab,{mode:"click",preventflip:"y"}),e.trigger("change.uk.tab",[this.element.find(this.options.target).not(".uk-tab-responsive").filter(".uk-active")]),this.check(),t.$win.on("resize orientationchange",t.Utils.debounce(function(){e.element.is(":visible")&&e.check()},100)),this.on("display.uk.check",function(){e.element.is(":visible")&&e.check()})},check:function(){var e=this.element.children("li:not(.uk-tab-responsive)").removeClass("uk-hidden");if(!e.length)return void this.responsivetab.addClass("uk-hidden");var i,n,o,a=e.eq(0).offset().top+Math.ceil(e.eq(0).height()/2),r=!1;if(this.responsivetab.lst.empty(),e.each(function(){t.$(this).offset().top>a&&(r=!0)}),r)for(var s=0;s<e.length;s++)i=t.$(e.eq(s)),n=i.find("a"),"none"==i.css("float")||i.attr("uk-dropdown")||(i.hasClass("uk-disabled")||(o=i[0].outerHTML.replace("<a ",'<a data-index="'+s+'" '),this.responsivetab.lst.append(o)),i.addClass("uk-hidden"));this.responsivetab[this.responsivetab.lst.children("li").length?"removeClass":"addClass"]("uk-hidden")}})}(UIkit),function(t){"use strict";t.component("cover",{defaults:{automute:!0},boot:function(){t.ready(function(e){t.$("[data-uk-cover]",e).each(function(){var e=t.$(this);if(!e.data("cover")){t.cover(e,t.Utils.options(e.attr("data-uk-cover")))}})})},init:function(){if(this.parent=this.element.parent(),t.$win.on("load resize orientationchange",t.Utils.debounce(function(){this.check()}.bind(this),100)),this.on("display.uk.check",function(t){this.element.is(":visible")&&this.check()}.bind(this)),this.check(),this.element.is("iframe")&&this.options.automute){var e=this.element.attr("src");this.element.attr("src","").on("load",function(){this.contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")}).attr("src",[e,e.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1"].join(""))}},check:function(){this.element.css({width:"",height:""}),this.dimension={w:this.element.width(),h:this.element.height()},this.element.attr("width")&&!isNaN(this.element.attr("width"))&&(this.dimension.w=this.element.attr("width")),this.element.attr("height")&&!isNaN(this.element.attr("height"))&&(this.dimension.h=this.element.attr("height")),this.ratio=this.dimension.w/this.dimension.h;var t,e,i=this.parent.width(),n=this.parent.height();i/this.ratio<n?(t=Math.ceil(n*this.ratio),e=n):(t=i,e=Math.ceil(i/this.ratio)),this.element.css({width:t,height:e})}})}(UIkit),function(t){var e;window.UIkit&&(e=t(UIkit)),__WEBPACK_AMD_DEFINE_ARRAY__=[__WEBPACK_LOCAL_MODULE_0__],__WEBPACK_AMD_DEFINE_RESULT__=function(){return e||t(UIkit)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}(function(t){"use strict";var e,i,n;return t.component("tooltip",{defaults:{offset:5,pos:"top",animation:!1,delay:0,cls:"",activeClass:"uk-active",src:function(t){var e=t.attr("title");return void 0!==e&&t.data("cached-title",e).removeAttr("title"),t.data("cached-title")}},tip:"",boot:function(){t.$html.on("mouseenter.tooltip.uikit focus.tooltip.uikit","[data-uk-tooltip]",function(e){var i=t.$(this);i.data("tooltip")||(t.tooltip(i,t.Utils.options(i.attr("data-uk-tooltip"))),i.trigger("mouseenter"))})},init:function(){var i=this;e||(e=t.$('<div class="uk-tooltip"></div>').appendTo("body")),this.on({focus:function(t){i.show()},blur:function(t){i.hide()},mouseenter:function(t){i.show()},mouseleave:function(t){i.hide()}})},show:function(){if(this.tip="function"==typeof this.options.src?this.options.src(this.element):this.options.src,i&&clearTimeout(i),n&&clearTimeout(n),"string"==typeof this.tip&&this.tip.length){e.stop().css({top:-2e3,visibility:"hidden"}).removeClass(this.options.activeClass).show(),e.html('<div class="uk-tooltip-inner">'+this.tip+"</div>");var o=this,a=t.$.extend({},this.element.offset(),{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}),r=e[0].offsetWidth,s=e[0].offsetHeight,l="function"==typeof this.options.offset?this.options.offset.call(this.element):this.options.offset,u="function"==typeof this.options.pos?this.options.pos.call(this.element):this.options.pos,c=u.split("-"),d={display:"none",visibility:"visible",top:a.top+a.height+s,left:a.left};if("fixed"==t.$html.css("position")||"fixed"==t.$body.css("position")){var p=t.$("body").offset(),h=t.$("html").offset(),f={top:h.top+p.top,left:h.left+p.left};a.left-=f.left,a.top-=f.top}"left"!=c[0]&&"right"!=c[0]||"right"!=t.langdirection||(c[0]="left"==c[0]?"right":"left");var m={bottom:{top:a.top+a.height+l,left:a.left+a.width/2-r/2},top:{top:a.top-s-l,left:a.left+a.width/2-r/2},left:{top:a.top+a.height/2-s/2,left:a.left-r-l},right:{top:a.top+a.height/2-s/2,left:a.left+a.width+l}};t.$.extend(d,m[c[0]]),2==c.length&&(d.left="left"==c[1]?a.left:a.left+a.width-r);var g=this.checkBoundary(d.left,d.top,r,s);if(g){switch(g){case"x":u=2==c.length?c[0]+"-"+(d.left<0?"left":"right"):d.left<0?"right":"left";break;case"y":u=2==c.length?(d.top<0?"bottom":"top")+"-"+c[1]:d.top<0?"bottom":"top";break;case"xy":u=2==c.length?(d.top<0?"bottom":"top")+"-"+(d.left<0?"left":"right"):d.left<0?"right":"left"}c=u.split("-"),t.$.extend(d,m[c[0]]),2==c.length&&(d.left="left"==c[1]?a.left:a.left+a.width-r)}d.left-=t.$body.position().left,i=setTimeout(function(){e.css(d).attr("class",["uk-tooltip","uk-tooltip-"+u,o.options.cls].join(" ")),o.options.animation?e.css({opacity:0,display:"block"}).addClass(o.options.activeClass).animate({opacity:1},parseInt(o.options.animation,10)||400):e.show().addClass(o.options.activeClass),i=!1,n=setInterval(function(){o.element.is(":visible")||o.hide()},150)},parseInt(this.options.delay,10)||0)}},hide:function(){if(!this.element.is("input")||this.element[0]!==document.activeElement)if(i&&clearTimeout(i),n&&clearTimeout(n),e.stop(),
  this.options.animation){var t=this;e.fadeOut(parseInt(this.options.animation,10)||400,function(){e.removeClass(t.options.activeClass)})}else e.hide().removeClass(this.options.activeClass)},content:function(){return this.tip},checkBoundary:function(e,i,n,o){var a="";return(e<0||e-t.$win.scrollLeft()+n>window.innerWidth)&&(a+="x"),(i<0||i-t.$win.scrollTop()+o>window.innerHeight)&&(a+="y"),a}}),t.tooltip}),function(t){var e;window.UIkit&&(e=t(UIkit)),__WEBPACK_AMD_DEFINE_ARRAY__=[__WEBPACK_LOCAL_MODULE_0__],__WEBPACK_AMD_DEFINE_RESULT__=function(){return e||t(UIkit)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}(function(t){"use strict";var e,i=0;t.component("slideshow",{defaults:{animation:"fade",duration:500,height:"auto",start:0,autoplay:!1,autoplayInterval:7e3,videoautoplay:!0,videomute:!0,slices:15,pauseOnHover:!0,kenburns:!1,kenburnsanimations:["uk-animation-middle-left","uk-animation-top-right","uk-animation-bottom-left","uk-animation-top-center","","uk-animation-bottom-right"]},current:!1,interval:null,hovering:!1,boot:function(){t.ready(function(e){t.$("[data-uk-slideshow]",e).each(function(){var e=t.$(this);e.data("slideshow")||t.slideshow(e,t.Utils.options(e.attr("data-uk-slideshow")))})})},init:function(){var e,n,o=this;this.container=this.element.hasClass("uk-slideshow")?this.element:t.$(this.find(".uk-slideshow")),this.slides=this.container.children(),this.slidesCount=this.slides.length,this.current=this.options.start,this.animating=!1,this.triggers=this.find("[data-uk-slideshow-item]"),this.fixFullscreen=navigator.userAgent.match(/(iPad|iPhone|iPod)/g)&&this.container.hasClass("uk-slideshow-fullscreen"),this.options.kenburns&&(n=this.options.kenburns===!0?"15s":this.options.kenburns,String(n).match(/(ms|s)$/)||(n+="ms"),"string"==typeof this.options.kenburnsanimations&&(this.options.kenburnsanimations=this.options.kenburnsanimations.split(","))),this.slides.each(function(a){var r=t.$(this),s=r.children("img,video,iframe").eq(0);if(r.data("media",s),r.data("sizer",s),s.length){var l;switch(s[0].nodeName){case"IMG":var u=t.$('<div class="uk-cover-background uk-position-cover"></div>').css({"background-image":"url("+s.attr("src")+")"});s.attr("width")&&s.attr("height")&&(l=t.$("<canvas></canvas>").attr({width:s.attr("width"),height:s.attr("height")}),s.replaceWith(l),s=l,l=void 0),s.css({width:"100%",height:"auto",opacity:0}),r.prepend(u).data("cover",u);break;case"IFRAME":var c=s[0].src,d="sw-"+ ++i;s.attr("src","").on("load",function(){if((a!==o.current||a==o.current&&!o.options.videoautoplay)&&o.pausemedia(s),o.options.videomute){o.mutemedia(s);var t=setInterval(function(e){return function(){o.mutemedia(s),++e>=4&&clearInterval(t)}}(0),250)}}).data("slideshow",o).attr("data-player-id",d).attr("src",[c,c.indexOf("?")>-1?"&":"?","enablejsapi=1&api=1&player_id="+d].join("")).addClass("uk-position-absolute"),t.support.touch||s.css("pointer-events","none"),l=!0,t.cover&&(t.cover(s),s.attr("data-uk-cover","{}"));break;case"VIDEO":s.addClass("uk-cover-object uk-position-absolute"),l=!0,o.options.videomute&&o.mutemedia(s)}if(l){e=t.$("<canvas></canvas>").attr({width:s[0].width,height:s[0].height});var p=t.$('<img style="width:100%;height:auto;">').attr("src",e[0].toDataURL());r.prepend(p),r.data("sizer",p)}}else r.data("sizer",r);o.hasKenBurns(r)&&r.data("cover").css({"-webkit-animation-duration":n,"animation-duration":n})}),this.on("click.uk.slideshow","[data-uk-slideshow-item]",function(e){e.preventDefault();var i=t.$(this).attr("data-uk-slideshow-item");if(o.current!=i){switch(i){case"next":case"previous":o["next"==i?"next":"previous"]();break;default:o.show(parseInt(i,10))}o.stop()}}),this.slides.attr("aria-hidden","true").eq(this.current).addClass("uk-active").attr("aria-hidden","false"),this.triggers.filter('[data-uk-slideshow-item="'+this.current+'"]').addClass("uk-active"),t.$win.on("resize load",t.Utils.debounce(function(){o.resize(),o.fixFullscreen&&(o.container.css("height",window.innerHeight),o.slides.css("height",window.innerHeight))},100)),setTimeout(function(){o.resize()},80),this.options.autoplay&&this.start(),this.options.videoautoplay&&this.slides.eq(this.current).data("media")&&this.playmedia(this.slides.eq(this.current).data("media")),this.options.kenburns&&this.applyKenBurns(this.slides.eq(this.current)),this.container.on({mouseenter:function(){o.options.pauseOnHover&&(o.hovering=!0)},mouseleave:function(){o.hovering=!1}}),this.on("swipeRight swipeLeft",function(t){o["swipeLeft"==t.type?"next":"previous"]()}),this.on("display.uk.check",function(){o.element.is(":visible")&&(o.resize(),o.fixFullscreen&&(o.container.css("height",window.innerHeight),o.slides.css("height",window.innerHeight)))})},resize:function(){if(!this.container.hasClass("uk-slideshow-fullscreen")){var e=this.options.height;"auto"===this.options.height&&(e=0,this.slides.css("height","").each(function(){e=Math.max(e,t.$(this).height())})),this.container.css("height",e),this.slides.css("height",e)}},show:function(i,n){if(!this.animating&&this.current!=i){this.animating=!0;var o=this,a=this.slides.eq(this.current),r=this.slides.eq(i),s=n?n:this.current<i?1:-1,l=a.data("media"),u=e[this.options.animation]?this.options.animation:"fade",c=r.data("media"),d=function(){o.animating&&(l&&l.is("video,iframe")&&o.pausemedia(l),c&&c.is("video,iframe")&&o.playmedia(c),r.addClass("uk-active").attr("aria-hidden","false"),a.removeClass("uk-active").attr("aria-hidden","true"),o.animating=!1,o.current=i,t.Utils.checkDisplay(r,'[class*="uk-animation-"]:not(.uk-cover-background.uk-position-cover)'),o.trigger("show.uk.slideshow",[r,a,o]))};o.applyKenBurns(r),t.support.animation||(u="none"),a=t.$(a),r=t.$(r),o.trigger("beforeshow.uk.slideshow",[r,a,o]),e[u].apply(this,[a,r,s]).then(d),o.triggers.removeClass("uk-active"),o.triggers.filter('[data-uk-slideshow-item="'+i+'"]').addClass("uk-active")}},applyKenBurns:function(t){if(this.hasKenBurns(t)){var e=this.options.kenburnsanimations,i=this.kbindex||0;t.data("cover").attr("class","uk-cover-background uk-position-cover").width(),t.data("cover").addClass(["uk-animation-scale","uk-animation-reverse",e[i].trim()].join(" ")),this.kbindex=e[i+1]?i+1:0}},hasKenBurns:function(t){return this.options.kenburns&&t.data("cover")},next:function(){this.show(this.slides[this.current+1]?this.current+1:0,1)},previous:function(){this.show(this.slides[this.current-1]?this.current-1:this.slides.length-1,-1)},start:function(){this.stop();var t=this;this.interval=setInterval(function(){t.hovering||t.next()},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)},playmedia:function(t){if(t&&t[0])switch(t[0].nodeName){case"VIDEO":this.options.videomute||(t[0].muted=!1),t[0].play();break;case"IFRAME":this.options.videomute||t[0].contentWindow.postMessage('{ "event": "command", "func": "unmute", "method":"setVolume", "value":1}',"*"),t[0].contentWindow.postMessage('{ "event": "command", "func": "playVideo", "method":"play"}',"*")}},pausemedia:function(t){switch(t[0].nodeName){case"VIDEO":t[0].pause();break;case"IFRAME":t[0].contentWindow.postMessage('{ "event": "command", "func": "pauseVideo", "method":"pause"}',"*")}},mutemedia:function(t){switch(t[0].nodeName){case"VIDEO":t[0].muted=!0;break;case"IFRAME":t[0].contentWindow.postMessage('{ "event": "command", "func": "mute", "method":"setVolume", "value":0}',"*")}}}),e={none:function(){var e=t.$.Deferred();return e.resolve(),e.promise()},scroll:function(e,i,n){var o=t.$.Deferred();return e.css("animation-duration",this.options.duration+"ms"),i.css("animation-duration",this.options.duration+"ms"),i.css("opacity",1).one(t.support.animation.end,function(){e.removeClass(n==-1?"uk-slideshow-scroll-backward-out":"uk-slideshow-scroll-forward-out"),i.css("opacity","").removeClass(n==-1?"uk-slideshow-scroll-backward-in":"uk-slideshow-scroll-forward-in"),o.resolve()}.bind(this)),e.addClass(n==-1?"uk-slideshow-scroll-backward-out":"uk-slideshow-scroll-forward-out"),i.addClass(n==-1?"uk-slideshow-scroll-backward-in":"uk-slideshow-scroll-forward-in"),i.width(),o.promise()},swipe:function(e,i,n){var o=t.$.Deferred();return e.css("animation-duration",this.options.duration+"ms"),i.css("animation-duration",this.options.duration+"ms"),i.css("opacity",1).one(t.support.animation.end,function(){e.removeClass(n===-1?"uk-slideshow-swipe-backward-out":"uk-slideshow-swipe-forward-out"),i.css("opacity","").removeClass(n===-1?"uk-slideshow-swipe-backward-in":"uk-slideshow-swipe-forward-in"),o.resolve()}.bind(this)),e.addClass(n==-1?"uk-slideshow-swipe-backward-out":"uk-slideshow-swipe-forward-out"),i.addClass(n==-1?"uk-slideshow-swipe-backward-in":"uk-slideshow-swipe-forward-in"),i.width(),o.promise()},scale:function(e,i,n){var o=t.$.Deferred();return e.css("animation-duration",this.options.duration+"ms"),i.css("animation-duration",this.options.duration+"ms"),i.css("opacity",1),e.one(t.support.animation.end,function(){e.removeClass("uk-slideshow-scale-out"),i.css("opacity",""),o.resolve()}.bind(this)),e.addClass("uk-slideshow-scale-out"),e.width(),o.promise()},fade:function(e,i,n){var o=t.$.Deferred();return e.css("animation-duration",this.options.duration+"ms"),i.css("animation-duration",this.options.duration+"ms"),i.css("opacity",1),i.data("cover")||i.data("placeholder")||i.css("opacity",1).one(t.support.animation.end,function(){i.removeClass("uk-slideshow-fade-in")}).addClass("uk-slideshow-fade-in"),e.one(t.support.animation.end,function(){e.removeClass("uk-slideshow-fade-out"),i.css("opacity",""),o.resolve()}.bind(this)),e.addClass("uk-slideshow-fade-out"),e.width(),o.promise()}},t.slideshow.animations=e,window.addEventListener("message",function(e){var i,n=e.data;if("string"==typeof n)try{n=JSON.parse(n)}catch(t){n={}}e.origin&&e.origin.indexOf("vimeo")>-1&&"ready"==n.event&&n.player_id&&(i=t.$('[data-player-id="'+n.player_id+'"]'),i.length&&i.data("slideshow").mutemedia(i))},!1)}),function(t){var e;window.UIkit&&(e=t(UIkit)),__WEBPACK_AMD_DEFINE_ARRAY__=[__WEBPACK_LOCAL_MODULE_0__],__WEBPACK_AMD_DEFINE_RESULT__=function(){return e||t(UIkit)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}(function(t){"use strict";var e,i,n,o,a={};return t.component("slider",{defaults:{center:!1,threshold:10,infinite:!0,autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0,activecls:"uk-active"},boot:function(){t.ready(function(e){setTimeout(function(){t.$("[data-uk-slider]",e).each(function(){var e=t.$(this);e.data("slider")||t.slider(e,t.Utils.options(e.attr("data-uk-slider")))})},0)})},init:function(){var r=this;this.container=this.element.find(".uk-slider"),this.focus=0,t.$win.on("resize load",t.Utils.debounce(function(){r.resize(!0)},100)),this.on("click.uk.slider","[data-uk-slider-item]",function(e){e.preventDefault();var i=t.$(this).attr("data-uk-slider-item");if(r.focus!=i)switch(r.stop(),i){case"next":case"previous":r["next"==i?"next":"previous"]();break;default:r.updateFocus(parseInt(i,10))}}),this.container.on({"touchstart mousedown":function(s){s.originalEvent&&s.originalEvent.touches&&(s=s.originalEvent.touches[0]),s.button&&2==s.button||!r.active||(r.stop(),n=t.$(s.target).is("a")?t.$(s.target):t.$(s.target).parents("a:first"),o=!1,n.length&&n.one("click",function(t){o&&t.preventDefault()}),i=function(t){o=!0,e=r,a={touchx:parseInt(t.pageX,10),dir:1,focus:r.focus,base:r.options.center?"center":"area"},t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),e.element.data({"pointer-start":{x:parseInt(t.pageX,10),y:parseInt(t.pageY,10)},"pointer-pos-start":r.pos}),r.container.addClass("uk-drag"),i=!1},i.x=parseInt(s.pageX,10),i.threshold=r.options.threshold)},mouseenter:function(){r.options.pauseOnHover&&(r.hovering=!0)},mouseleave:function(){r.hovering=!1}}),this.resize(!0),this.on("display.uk.check",function(){r.element.is(":visible")&&r.resize(!0)}),this.element.find("a,img").attr("draggable","false"),this.options.autoplay&&this.start()},resize:function(e){var i,n,o,a,r=this,s=0,l=0;return this.items=this.container.children().filter(":visible"),this.vp=this.element[0].getBoundingClientRect().width,this.container.css({"min-width":"","min-height":""}),this.items.each(function(e){i=t.$(this),a=i.css({left:"",width:""})[0].getBoundingClientRect(),n=a.width,o=i.width(),l=Math.max(l,a.height),i.css({left:s,width:n}).data({idx:e,left:s,width:n,cwidth:o,area:s+n,center:s-(r.vp/2-o/2)}),s+=n}),this.container.css({"min-width":s,"min-height":l}),this.options.infinite&&(s<=2*this.vp||this.items.length<5)&&!this.itemsResized?(this.container.children().each(function(t){r.container.append(r.items.eq(t).clone(!0).attr("id",""))}).each(function(t){r.container.append(r.items.eq(t).clone(!0).attr("id",""))}),this.itemsResized=!0,this.resize()):(this.cw=s,this.pos=0,this.active=s>=this.vp,this.container.css({"-ms-transform":"","-webkit-transform":"",transform:""}),void(e&&this.updateFocus(this.focus)))},updatePos:function(t){this.pos=t,this.container.css({"-ms-transform":"translateX("+t+"px)","-webkit-transform":"translateX("+t+"px)",transform:"translateX("+t+"px)"})},updateFocus:function(e,i){if(this.active){i=i||(e>this.focus?1:-1);var n,o,a=this.items.eq(e);if(this.options.infinite&&this.infinite(e,i),this.options.center)this.updatePos(a.data("center")*-1),this.items.filter("."+this.options.activecls).removeClass(this.options.activecls),a.addClass(this.options.activecls);else if(this.options.infinite)this.updatePos(a.data("left")*-1);else{for(n=0,o=e;o<this.items.length;o++)n+=this.items.eq(o).data("width");if(n>this.vp)this.updatePos(a.data("left")*-1);else if(1==i){for(n=0,o=this.items.length-1;o>=0;o--){if(n+=this.items.eq(o).data("width"),n==this.vp){e=o;break}if(n>this.vp){e=o<this.items.length-1?o+1:o;break}}n>this.vp?this.updatePos((this.container.width()-this.vp)*-1):this.updatePos(this.items.eq(e).data("left")*-1)}}var r=this.items.eq(e).data("left");this.items.removeClass("uk-slide-before uk-slide-after").each(function(i){i!==e&&t.$(this).addClass(t.$(this).data("left")<r?"uk-slide-before":"uk-slide-after")}),this.focus=e,this.trigger("focusitem.uk.slider",[e,this.items.eq(e),this])}},next:function(){var t=this.items[this.focus+1]?this.focus+1:this.options.infinite?0:this.focus;this.updateFocus(t,1)},previous:function(){var t=this.items[this.focus-1]?this.focus-1:this.options.infinite?this.items[this.focus-1]?this.items-1:this.items.length-1:this.focus;this.updateFocus(t,-1)},start:function(){this.stop();var t=this;this.interval=setInterval(function(){t.hovering||t.next()},this.options.autoplayInterval)},stop:function(){this.interval&&clearInterval(this.interval)},infinite:function(t,e){var i,n=this,o=this.items.eq(t),a=t,r=[],s=0;if(1==e){for(i=0;i<this.items.length&&(a!=t&&(s+=this.items.eq(a).data("width"),r.push(this.items.eq(a))),!(s>this.vp));i++)a=a+1==this.items.length?0:a+1;r.length&&r.forEach(function(t){var e=o.data("area");t.css({left:e}).data({left:e,area:e+t.data("width"),center:e-(n.vp/2-t.data("cwidth")/2)}),o=t})}else{for(i=this.items.length-1;i>-1&&(s+=this.items.eq(a).data("width"),a!=t&&r.push(this.items.eq(a)),!(s>this.vp));i--)a=a-1==-1?this.items.length-1:a-1;r.length&&r.forEach(function(t){var e=o.data("left")-t.data("width");t.css({left:e}).data({left:e,area:e+t.data("width"),center:e-(n.vp/2-t.data("cwidth")/2)}),o=t})}}}),t.$doc.on("mousemove.uk.slider touchmove.uk.slider",function(t){if(t.originalEvent&&t.originalEvent.touches&&(t=t.originalEvent.touches[0]),i&&Math.abs(t.pageX-i.x)>i.threshold&&(window.getSelection().toString()?e=i=!1:i(t)),e){var n,o,r,s,l,u,c,d,p,h;if(t.clientX||t.clientY?n=t.clientX:(t.pageX||t.pageY)&&(n=t.pageX-document.body.scrollLeft-document.documentElement.scrollLeft),l=a.focus,o=n-e.element.data("pointer-start").x,r=e.element.data("pointer-pos-start")+o,s=n>e.element.data("pointer-start").x?-1:1,u=e.items.eq(a.focus),1==s)for(c=u.data("left")+Math.abs(o),d=0,p=a.focus;d<e.items.length;d++){if(h=e.items.eq(p),p!=a.focus&&h.data("left")<c&&h.data("area")>c){l=p;break}p=p+1==e.items.length?0:p+1}else for(c=u.data("left")-Math.abs(o),d=0,p=a.focus;d<e.items.length;d++){if(h=e.items.eq(p),p!=a.focus&&h.data("area")<=u.data("left")&&h.data("center")<c){l=p;break}p=p-1==-1?e.items.length-1:p-1}e.options.infinite&&l!=a._focus&&e.infinite(l,s),e.updatePos(r),a.dir=s,a._focus=l,a.touchx=parseInt(t.pageX,10),a.diff=c}}),t.$doc.on("mouseup.uk.slider touchend.uk.slider",function(t){if(e){e.container.removeClass("uk-drag"),e.items.eq(a.focus);var n,o,r,s=!1;if(1==a.dir)for(o=0,r=a.focus;o<e.items.length;o++){if(n=e.items.eq(r),r!=a.focus&&n.data("left")>a.diff){s=r;break}r=r+1==e.items.length?0:r+1}else for(o=0,r=a.focus;o<e.items.length;o++){if(n=e.items.eq(r),r!=a.focus&&n.data("left")<a.diff){s=r;break}r=r-1==-1?e.items.length-1:r-1}e.updateFocus(s!==!1?s:a._focus)}e=i=!1}),t.slider}),function(t){var e;window.UIkit&&(e=t(UIkit)),__WEBPACK_AMD_DEFINE_ARRAY__=[__WEBPACK_LOCAL_MODULE_0__],__WEBPACK_AMD_DEFINE_RESULT__=function(){return e||t(UIkit)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}(function(t){"use strict";function e(e){if(i)return i.lightbox=e,i;i=t.$(['<div class="uk-modal">','<div class="uk-modal-dialog uk-modal-dialog-lightbox uk-slidenav-position" style="margin-left:auto;margin-right:auto;width:200px;height:200px;top:'+Math.abs(window.innerHeight/2-200)+'px;">','<a href="#" class="uk-modal-close uk-close uk-close-alt"></a>','<div class="uk-lightbox-content"></div>','<div class="uk-modal-spinner uk-hidden"></div>',"</div>","</div>"].join("")).appendTo("body"),i.dialog=i.find(".uk-modal-dialog:first"),i.content=i.find(".uk-lightbox-content:first"),i.loader=i.find(".uk-modal-spinner:first"),i.closer=i.find(".uk-close.uk-close-alt"),i.modal=t.modal(i,{modal:!1}),i.on("swipeRight swipeLeft",function(t){i.lightbox["swipeLeft"==t.type?"next":"previous"]()}).on("click","[data-lightbox-previous], [data-lightbox-next]",function(e){e.preventDefault(),i.lightbox[t.$(this).is("[data-lightbox-next]")?"next":"previous"]()}),i.on("hide.uk.modal",function(t){i.content.html("")});var n={w:window.innerWidth,h:window.innerHeight};return t.$win.on("load resize orientationchange",t.Utils.debounce(function(e){n.w!==window.innerWidth&&i.is(":visible")&&!t.Utils.isFullscreen()&&i.lightbox.fitSize(),n={w:window.innerWidth,h:window.innerHeight}},100)),i.lightbox=e,i}var i,n={};return t.component("lightbox",{defaults:{group:!1,duration:400,keyboard:!0},index:0,items:!1,boot:function(){t.$html.on("click","[data-uk-lightbox]",function(e){e.preventDefault();var i=t.$(this);i.data("lightbox")||t.lightbox(i,t.Utils.options(i.attr("data-uk-lightbox"))),i.data("lightbox").show(i)}),t.$doc.on("keyup",function(t){if(i&&i.is(":visible")&&i.lightbox.options.keyboard)switch(t.preventDefault(),t.keyCode){case 37:i.lightbox.previous();break;case 39:i.lightbox.next()}})},init:function(){var e=[];if(this.index=0,this.siblings=[],this.element&&this.element.length){var i=this.options.group?t.$(['[data-uk-lightbox*="'+this.options.group+'"]',"[data-uk-lightbox*='"+this.options.group+"']"].join(",")):this.element;i.each(function(){var i=t.$(this);e.push({source:i.attr("href"),title:i.attr("data-title")||i.attr("title"),type:i.attr("data-lightbox-type")||"auto",link:i})}),this.index=i.index(this.element),this.siblings=e}else this.options.group&&this.options.group.length&&(this.siblings=this.options.group);this.trigger("lightbox-init",[this])},show:function(i){this.modal=e(this),this.modal.dialog.stop(),this.modal.content.stop();var n,o,a=this,r=t.$.Deferred();i=i||0,"object"==typeof i&&this.siblings.forEach(function(t,e){i[0]===t.link[0]&&(i=e)}),i<0?i=this.siblings.length-i:this.siblings[i]||(i=0),o=this.siblings[i],n={lightbox:a,source:o.source,type:o.type,index:i,promise:r,title:o.title,item:o,meta:{content:"",width:null,height:null}},this.index=i,this.modal.content.empty(),this.modal.is(":visible")||(this.modal.content.css({width:"",height:""}).empty(),this.modal.modal.show()),this.modal.loader.removeClass("uk-hidden"),r.promise().done(function(){a.data=n,a.fitSize(n)}).fail(function(){n.meta.content='<div class="uk-position-cover uk-flex uk-flex-middle uk-flex-center"><strong>Loading resource failed!</strong></div>',n.meta.width=400,n.meta.height=300,a.data=n,a.fitSize(n)}),a.trigger("showitem.uk.lightbox",[n])},fitSize:function(){var e=this,i=this.data,n=this.modal.dialog.outerWidth()-this.modal.dialog.width(),o=parseInt(this.modal.dialog.css("margin-top"),10),a=parseInt(this.modal.dialog.css("margin-bottom"),10),r=o+a,s=i.meta.content,l=e.options.duration;this.siblings.length>1&&(s=[s,'<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-previous uk-hidden-touch" data-lightbox-previous></a>','<a href="#" class="uk-slidenav uk-slidenav-contrast uk-slidenav-next uk-hidden-touch" data-lightbox-next></a>'].join(""));var u,c,d=t.$("<div>&nbsp;</div>").css({opacity:0,position:"absolute",top:0,left:0,width:"100%","max-width":e.modal.dialog.css("max-width"),padding:e.modal.dialog.css("padding"),margin:e.modal.dialog.css("margin")}),p=i.meta.width,h=i.meta.height;d.appendTo("body").width(),u=d.width(),c=window.innerHeight-r,d.remove(),this.modal.dialog.find(".uk-modal-caption").remove(),i.title&&(this.modal.dialog.append('<div class="uk-modal-caption">'+i.title+"</div>"),c-=this.modal.dialog.find(".uk-modal-caption").outerHeight()),u<i.meta.width&&(h=Math.floor(h*(u/p)),p=u),c<h&&(h=Math.floor(c),p=Math.ceil(i.meta.width*(c/i.meta.height))),this.modal.content.css("opacity",0).width(p).html(s),"iframe"==i.type&&this.modal.content.find("iframe:first").height(h);var f=h+n,m=Math.floor(window.innerHeight/2-f/2)-r;m<0&&(m=0),this.modal.closer.addClass("uk-hidden"),e.modal.data("mwidth")==p&&e.modal.data("mheight")==h&&(l=0),this.modal.dialog.animate({width:p+n,height:h+n,top:m},l,"swing",function(){e.modal.loader.addClass("uk-hidden"),e.modal.content.css({width:""}).animate({opacity:1},function(){e.modal.closer.removeClass("uk-hidden")}),e.modal.data({mwidth:p,mheight:h})})},next:function(){this.show(this.siblings[this.index+1]?this.index+1:0)},previous:function(){this.show(this.siblings[this.index-1]?this.index-1:this.siblings.length-1)}}),t.plugin("lightbox","image",{init:function(t){t.on("showitem.uk.lightbox",function(t,e){if("image"==e.type||e.source&&e.source.match(/\.(jpg|jpeg|png|gif|svg)$/i)){var i=function(t,i,n){e.meta={content:'<img class="uk-responsive-width" width="'+i+'" height="'+n+'" src ="'+t+'">',width:i,height:n},e.type="image",e.promise.resolve()};if(n[e.source])i(e.source,n[e.source].width,n[e.source].height);else{var o=new Image;o.onerror=function(){e.promise.reject("Loading image failed")},o.onload=function(){n[e.source]={width:o.width,height:o.height},i(e.source,n[e.source].width,n[e.source].height)},o.src=e.source}}})}}),t.plugin("lightbox","youtube",{init:function(t){var e=/(\/\/.*?youtube\.[a-z]+)\/watch\?v=([^&]+)&?(.*)/,i=/youtu\.be\/(.*)/;t.on("showitem.uk.lightbox",function(t,o){var a,r,s=function(t,e,i){o.meta={content:'<iframe src="//www.youtube.com/embed/'+t+'" width="'+e+'" height="'+i+'" style="max-width:100%;"></iframe>',width:e,height:i},o.type="iframe",o.promise.resolve()};if((r=o.source.match(e))&&(a=r[2]),(r=o.source.match(i))&&(a=r[1]),a){if(n[a])s(a,n[a].width,n[a].height);else{var l=new Image,u=!1;l.onerror=function(){n[a]={width:640,height:320},s(a,n[a].width,n[a].height)},l.onload=function(){120==l.width&&90==l.height?u?(n[a]={width:640,height:320},s(a,n[a].width,n[a].height)):(u=!0,l.src="//img.youtube.com/vi/"+a+"/0.jpg"):(n[a]={width:l.width,height:l.height},s(a,l.width,l.height))},l.src="//img.youtube.com/vi/"+a+"/maxresdefault.jpg"}t.stopImmediatePropagation()}})}}),t.plugin("lightbox","vimeo",{init:function(e){var i,o=/(\/\/.*?)vimeo\.[a-z]+\/([0-9]+).*?/;e.on("showitem.uk.lightbox",function(e,a){var r,s=function(t,e,i){a.meta={content:'<iframe src="//player.vimeo.com/video/'+t+'" width="'+e+'" height="'+i+'" style="width:100%;box-sizing:border-box;"></iframe>',width:e,height:i},a.type="iframe",a.promise.resolve()};(i=a.source.match(o))&&(r=i[2],n[r]?s(r,n[r].width,n[r].height):t.$.ajax({type:"GET",url:"http://vimeo.com/api/oembed.json?url="+encodeURI(a.source),jsonp:"callback",dataType:"jsonp",success:function(t){n[r]={width:t.width,height:t.height},s(r,n[r].width,n[r].height)}}),e.stopImmediatePropagation())})}}),t.plugin("lightbox","video",{init:function(e){e.on("showitem.uk.lightbox",function(e,i){var o=function(t,e,n){i.meta={content:'<video class="uk-responsive-width" src="'+t+'" width="'+e+'" height="'+n+'" controls></video>',width:e,height:n},i.type="video",i.promise.resolve()};if("video"==i.type||i.source.match(/\.(mp4|webm|ogv)$/i))if(n[i.source])o(i.source,n[i.source].width,n[i.source].height);else var a=t.$('<video style="position:fixed;visibility:hidden;top:-10000px;"></video>').attr("src",i.source).appendTo("body"),r=setInterval(function(){a[0].videoWidth&&(clearInterval(r),n[i.source]={width:a[0].videoWidth,height:a[0].videoHeight},o(i.source,n[i.source].width,n[i.source].height),a.remove())},20)})}}),UIkit.plugin("lightbox","iframe",{init:function(t){t.on("showitem.uk.lightbox",function(e,i){var n=function(t,e,n){i.meta={content:'<iframe class="uk-responsive-width" src="'+t+'" width="'+e+'" height="'+n+'"></iframe>',width:e,height:n},i.type="iframe",i.promise.resolve()};("iframe"===i.type||i.source.match(/\.(html|php)$/))&&n(i.source,t.options.width||800,t.options.height||600)})}}),t.lightbox.create=function(e,i){if(e){var n,o=[];return e.forEach(function(e){o.push(t.$.extend({source:"",title:"",type:"auto",link:!1},"string"==typeof e?{source:e}:e))}),n=t.lightbox(t.$.extend({},i,{group:o}))}},t.lightbox}),function(t){var e;window.UIkit&&(e=t(UIkit)),__WEBPACK_AMD_DEFINE_ARRAY__=[__WEBPACK_LOCAL_MODULE_0__],__WEBPACK_AMD_DEFINE_RESULT__=function(){return e||t(UIkit)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}(function(UI){"use strict";var active=!1,dropdown,moment;return UI.component("datepicker",{defaults:{mobile:!1,weekstart:1,i18n:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},format:"YYYY-MM-DD",offsettop:5,maxDate:!1,minDate:!1,pos:"auto",template:function(t,e){var i,n="";if(n+='<div class="uk-datepicker-nav">',n+='<a href="" class="uk-datepicker-previous"></a>',n+='<a href="" class="uk-datepicker-next"></a>',UI.formSelect){var o,a,r,s,l=(new Date).getFullYear(),u=[];for(i=0;i<e.i18n.months.length;i++)i==t.month?u.push('<option value="'+i+'" selected>'+e.i18n.months[i]+"</option>"):u.push('<option value="'+i+'">'+e.i18n.months[i]+"</option>");for(o='<span class="uk-form-select">'+e.i18n.months[t.month]+'<select class="update-picker-month">'+u.join("")+"</select></span>",u=[],r=t.minDate?t.minDate.year():l-50,s=t.maxDate?t.maxDate.year():l+20,i=r;i<=s;i++)i==t.year?u.push('<option value="'+i+'" selected>'+i+"</option>"):u.push('<option value="'+i+'">'+i+"</option>");a='<span class="uk-form-select">'+t.year+'<select class="update-picker-year">'+u.join("")+"</select></span>",n+='<div class="uk-datepicker-heading">'+o+" "+a+"</div>"}else n+='<div class="uk-datepicker-heading">'+e.i18n.months[t.month]+" "+t.year+"</div>";for(n+="</div>",n+='<table class="uk-datepicker-table">',n+="<thead>",i=0;i<t.weekdays.length;i++)t.weekdays[i]&&(n+="<th>"+t.weekdays[i]+"</th>");for(n+="</thead>",n+="<tbody>",i=0;i<t.days.length;i++)if(t.days[i]&&t.days[i].length){n+="<tr>";for(var c=0;c<t.days[i].length;c++)if(t.days[i][c]){var d=t.days[i][c],p=[];d.inmonth||p.push("uk-datepicker-table-muted"),d.selected&&p.push("uk-active"),d.disabled&&p.push("uk-datepicker-date-disabled uk-datepicker-table-muted"),n+='<td><a href="" class="'+p.join(" ")+'" data-date="'+d.day.format()+'">'+d.day.format("D")+"</a></td>"}n+="</tr>"}return n+="</tbody>",n+="</table>"}},boot:function(){UI.$win.on("resize orientationchange",function(){active&&active.hide()}),UI.$html.on("focus.datepicker.uikit","[data-uk-datepicker]",function(t){var e=UI.$(this);e.data("datepicker")||(t.preventDefault(),UI.datepicker(e,UI.Utils.options(e.attr("data-uk-datepicker"))),e.trigger("focus"))}),UI.$html.on("click focus","*",function(t){var e=UI.$(t.target);!active||e[0]==dropdown[0]||e.data("datepicker")||e.parents(".uk-datepicker:first").length||active.hide()})},init:function(){if(!UI.support.touch||"date"!=this.element.attr("type")||this.options.mobile){var t=this;this.current=this.element.val()?moment(this.element.val(),this.options.format):moment(),this.on("click focus",function(){active!==t&&t.pick(this.value?this.value:t.options.minDate?t.options.minDate:"")}).on("change",function(){t.element.val()&&!moment(t.element.val(),t.options.format).isValid()&&t.element.val(moment().format(t.options.format))}),dropdown||(dropdown=UI.$('<div class="uk-dropdown uk-datepicker"></div>'),dropdown.on("click",".uk-datepicker-next, .uk-datepicker-previous, [data-date]",function(t){t.stopPropagation(),t.preventDefault();var e=UI.$(this);return!e.hasClass("uk-datepicker-date-disabled")&&void(e.is("[data-date]")?(active.current=moment(e.data("date")),active.element.val(active.current.isValid()?active.current.format(active.options.format):null).trigger("change"),active.hide()):active.add(e.hasClass("uk-datepicker-next")?1:-1,"months"))}),dropdown.on("change",".update-picker-month, .update-picker-year",function(){var t=UI.$(this);active[t.is(".update-picker-year")?"setYear":"setMonth"](Number(t.val()))}),dropdown.appendTo("body"))}},pick:function(t){var e=this.element.offset(),i={left:e.left,right:""};this.current=isNaN(t)?moment(t,this.options.format):moment(),this.initdate=this.current.format("YYYY-MM-DD"),this.update(),"right"==UI.langdirection&&(i.right=window.innerWidth-(i.left+this.element.outerWidth()),i.left="");var n=e.top-this.element.outerHeight()+this.element.height()-this.options.offsettop-dropdown.outerHeight(),o=e.top+this.element.outerHeight()+this.options.offsettop;i.top=o,"top"==this.options.pos?i.top=n:"auto"==this.options.pos&&window.innerHeight-o-dropdown.outerHeight()<0&&n>=0&&(i.top=n),dropdown.css(i).show(),this.trigger("show.uk.datepicker"),active=this},add:function(t,e){this.current.add(t,e),this.update()},setMonth:function(t){this.current.month(t),this.update()},setYear:function(t){this.current.year(t),this.update()},update:function(){var t=this.getRows(this.current.year(),this.current.month()),e=this.options.template(t,this.options);dropdown.html(e),this.trigger("update.uk.datepicker")},getRows:function(t,e){var i=this.options,n=moment().format("YYYY-MM-DD"),o=[31,t%4===0&&t%100!==0||t%400===0?29:28,31,30,31,30,31,31,30,31,30,31][e],a=new Date(t,e,1,12).getDay(),r={month:e,year:t,weekdays:[],days:[],maxDate:!1,minDate:!1},s=[];i.maxDate!==!1&&(r.maxDate=isNaN(i.maxDate)?moment(i.maxDate,i.format):moment().add(i.maxDate,"days")),i.minDate!==!1&&(r.minDate=isNaN(i.minDate)?moment(i.minDate,i.format):moment().add(i.minDate-1,"days")),r.weekdays=function(){for(var t=0,e=[];t<7;t++){for(var n=t+(i.weekstart||0);n>=7;)n-=7;e.push(i.i18n.weekdays[n])}return e}(),i.weekstart&&i.weekstart>0&&(a-=i.weekstart,a<0&&(a+=7));for(var l=o+a,u=l;u>7;)u-=7;l+=7-u;for(var c,d,p,h,f,m=0,g=0;m<l;m++)c=new Date(t,e,1+(m-a),12),d=r.minDate&&r.minDate>c||r.maxDate&&c>r.maxDate,f=!(m<a||m>=o+a),c=moment(c),p=this.initdate==c.format("YYYY-MM-DD"),h=n==c.format("YYYY-MM-DD"),s.push({selected:p,today:h,disabled:d,day:c,inmonth:f}),7===++g&&(r.days.push(s),s=[],g=0);return r},hide:function(){active&&active===this&&(dropdown.hide(),active=!1,this.trigger("hide.uk.datepicker"))}}),moment=function(undefined){function dfl(t,e,i){switch(arguments.length){
  case 2:return null!=t?t:e;case 3:return null!=t?t:null!=e?e:i;default:throw new Error("Implement me")}}function hasOwnProp(t,e){return hasOwnProperty.call(t,e)}function defaultParsingFlags(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function printMsg(t){moment.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function deprecate(t,e){var i=!0;return extend(function(){return i&&(printMsg(t),i=!1),e.apply(this,arguments)},e)}function deprecateSimple(t,e){deprecations[t]||(printMsg(e),deprecations[t]=!0)}function padToken(t,e){return function(i){return leftZeroFill(t.call(this,i),e)}}function ordinalizeToken(t,e){return function(i){return this.localeData().ordinal(t.call(this,i),e)}}function Locale(){}function Moment(t,e){e!==!1&&checkOverflow(t),copyConfig(this,t),this._d=new Date(+t._d)}function Duration(t){var e=normalizeObjectUnits(t),i=e.year||0,n=e.quarter||0,o=e.month||0,a=e.week||0,r=e.day||0,s=e.hour||0,l=e.minute||0,u=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*u+6e4*l+36e5*s,this._days=+r+7*a,this._months=+o+3*n+12*i,this._data={},this._locale=moment.localeData(),this._bubble()}function extend(t,e){for(var i in e)hasOwnProp(e,i)&&(t[i]=e[i]);return hasOwnProp(e,"toString")&&(t.toString=e.toString),hasOwnProp(e,"valueOf")&&(t.valueOf=e.valueOf),t}function copyConfig(t,e){var i,n,o;if("undefined"!=typeof e._isAMomentObject&&(t._isAMomentObject=e._isAMomentObject),"undefined"!=typeof e._i&&(t._i=e._i),"undefined"!=typeof e._f&&(t._f=e._f),"undefined"!=typeof e._l&&(t._l=e._l),"undefined"!=typeof e._strict&&(t._strict=e._strict),"undefined"!=typeof e._tzm&&(t._tzm=e._tzm),"undefined"!=typeof e._isUTC&&(t._isUTC=e._isUTC),"undefined"!=typeof e._offset&&(t._offset=e._offset),"undefined"!=typeof e._pf&&(t._pf=e._pf),"undefined"!=typeof e._locale&&(t._locale=e._locale),momentProperties.length>0)for(i in momentProperties)n=momentProperties[i],o=e[n],"undefined"!=typeof o&&(t[n]=o);return t}function absRound(t){return t<0?Math.ceil(t):Math.floor(t)}function leftZeroFill(t,e,i){for(var n=""+Math.abs(t),o=t>=0;n.length<e;)n="0"+n;return(o?i?"+":"":"-")+n}function positiveMomentsDifference(t,e){var i={milliseconds:0,months:0};return i.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(i.months,"M").isAfter(e)&&--i.months,i.milliseconds=+e-+t.clone().add(i.months,"M"),i}function momentsDifference(t,e){var i;return e=makeAs(e,t),t.isBefore(e)?i=positiveMomentsDifference(t,e):(i=positiveMomentsDifference(e,t),i.milliseconds=-i.milliseconds,i.months=-i.months),i}function createAdder(t,e){return function(i,n){var o,a;return null===n||isNaN(+n)||(deprecateSimple(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period)."),a=i,i=n,n=a),i="string"==typeof i?+i:i,o=moment.duration(i,n),addOrSubtractDurationFromMoment(this,o,t),this}}function addOrSubtractDurationFromMoment(t,e,i,n){var o=e._milliseconds,a=e._days,r=e._months;n=null==n||n,o&&t._d.setTime(+t._d+o*i),a&&rawSetter(t,"Date",rawGetter(t,"Date")+a*i),r&&rawMonthSetter(t,rawGetter(t,"Month")+r*i),n&&moment.updateOffset(t,a||r)}function isArray(t){return"[object Array]"===Object.prototype.toString.call(t)}function isDate(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function compareArrays(t,e,i){var n,o=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),r=0;for(n=0;n<o;n++)(i&&t[n]!==e[n]||!i&&toInt(t[n])!==toInt(e[n]))&&r++;return r+a}function normalizeUnits(t){if(t){var e=t.toLowerCase().replace(/(.)s$/,"$1");t=unitAliases[t]||camelFunctions[e]||e}return t}function normalizeObjectUnits(t){var e,i,n={};for(i in t)hasOwnProp(t,i)&&(e=normalizeUnits(i),e&&(n[e]=t[i]));return n}function makeList(t){var e,i;if(0===t.indexOf("week"))e=7,i="day";else{if(0!==t.indexOf("month"))return;e=12,i="month"}moment[t]=function(n,o){var a,r,s=moment._locale[t],l=[];if("number"==typeof n&&(o=n,n=undefined),r=function(t){var e=moment().utc().set(i,t);return s.call(moment._locale,e,n||"")},null!=o)return r(o);for(a=0;a<e;a++)l.push(r(a));return l}}function toInt(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=e>=0?Math.floor(e):Math.ceil(e)),i}function daysInMonth(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function weeksInYear(t,e,i){return weekOfYear(moment([t,11,31+e-i]),e,i).week}function daysInYear(t){return isLeapYear(t)?366:365}function isLeapYear(t){return t%4===0&&t%100!==0||t%400===0}function checkOverflow(t){var e;t._a&&t._pf.overflow===-2&&(e=t._a[MONTH]<0||t._a[MONTH]>11?MONTH:t._a[DATE]<1||t._a[DATE]>daysInMonth(t._a[YEAR],t._a[MONTH])?DATE:t._a[HOUR]<0||t._a[HOUR]>23?HOUR:t._a[MINUTE]<0||t._a[MINUTE]>59?MINUTE:t._a[SECOND]<0||t._a[SECOND]>59?SECOND:t._a[MILLISECOND]<0||t._a[MILLISECOND]>999?MILLISECOND:-1,t._pf._overflowDayOfYear&&(e<YEAR||e>DATE)&&(e=DATE),t._pf.overflow=e)}function isValid(t){return null==t._isValid&&(t._isValid=!isNaN(t._d.getTime())&&t._pf.overflow<0&&!t._pf.empty&&!t._pf.invalidMonth&&!t._pf.nullInput&&!t._pf.invalidFormat&&!t._pf.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===t._pf.charsLeftOver&&0===t._pf.unusedTokens.length)),t._isValid}function normalizeLocale(t){return t?t.toLowerCase().replace("_","-"):t}function chooseLocale(t){for(var e,i,n,o,a=0;a<t.length;){for(o=normalizeLocale(t[a]).split("-"),e=o.length,i=normalizeLocale(t[a+1]),i=i?i.split("-"):null;e>0;){if(n=loadLocale(o.slice(0,e).join("-")))return n;if(i&&i.length>=e&&compareArrays(o,i,!0)>=e-1)break;e--}a++}return null}function loadLocale(name){var oldLocale=null;if(!locales[name]&&hasModule)try{oldLocale=moment.locale(),eval("require('./locale/' + name)"),moment.locale(oldLocale)}catch(t){}return locales[name]}function makeAs(t,e){return e._isUTC?moment(t).zone(e._offset||0):moment(t).local()}function removeFormattingTokens(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function makeFormatFunction(t){var e,i,n=t.match(formattingTokens);for(e=0,i=n.length;e<i;e++)formatTokenFunctions[n[e]]?n[e]=formatTokenFunctions[n[e]]:n[e]=removeFormattingTokens(n[e]);return function(o){var a="";for(e=0;e<i;e++)a+=n[e]instanceof Function?n[e].call(o,t):n[e];return a}}function formatMoment(t,e){return t.isValid()?(e=expandFormat(e,t.localeData()),formatFunctions[e]||(formatFunctions[e]=makeFormatFunction(e)),formatFunctions[e](t)):t.localeData().invalidDate()}function expandFormat(t,e){function i(t){return e.longDateFormat(t)||t}var n=5;for(localFormattingTokens.lastIndex=0;n>=0&&localFormattingTokens.test(t);)t=t.replace(localFormattingTokens,i),localFormattingTokens.lastIndex=0,n-=1;return t}function getParseRegexForToken(t,e){var i,n=e._strict;switch(t){case"Q":return parseTokenOneDigit;case"DDDD":return parseTokenThreeDigits;case"YYYY":case"GGGG":case"gggg":return n?parseTokenFourDigits:parseTokenOneToFourDigits;case"Y":case"G":case"g":return parseTokenSignedNumber;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return n?parseTokenSixDigits:parseTokenOneToSixDigits;case"S":if(n)return parseTokenOneDigit;case"SS":if(n)return parseTokenTwoDigits;case"SSS":if(n)return parseTokenThreeDigits;case"DDD":return parseTokenOneToThreeDigits;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return parseTokenWord;case"a":case"A":return e._locale._meridiemParse;case"X":return parseTokenTimestampMs;case"Z":case"ZZ":return parseTokenTimezone;case"T":return parseTokenT;case"SSSS":return parseTokenDigits;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return n?parseTokenTwoDigits:parseTokenOneOrTwoDigits;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return parseTokenOneOrTwoDigits;case"Do":return parseTokenOrdinal;default:return i=new RegExp(regexpEscape(unescapeFormat(t.replace("\\","")),"i"))}}function timezoneMinutesFromString(t){t=t||"";var e=t.match(parseTokenTimezone)||[],i=e[e.length-1]||[],n=(i+"").match(parseTimezoneChunker)||["-",0,0],o=+(60*n[1])+toInt(n[2]);return"+"===n[0]?-o:o}function addTimeToArrayFromToken(t,e,i){var n,o=i._a;switch(t){case"Q":null!=e&&(o[MONTH]=3*(toInt(e)-1));break;case"M":case"MM":null!=e&&(o[MONTH]=toInt(e)-1);break;case"MMM":case"MMMM":n=i._locale.monthsParse(e),null!=n?o[MONTH]=n:i._pf.invalidMonth=e;break;case"D":case"DD":null!=e&&(o[DATE]=toInt(e));break;case"Do":null!=e&&(o[DATE]=toInt(parseInt(e,10)));break;case"DDD":case"DDDD":null!=e&&(i._dayOfYear=toInt(e));break;case"YY":o[YEAR]=moment.parseTwoDigitYear(e);break;case"YYYY":case"YYYYY":case"YYYYYY":o[YEAR]=toInt(e);break;case"a":case"A":i._isPm=i._locale.isPM(e);break;case"H":case"HH":case"h":case"hh":o[HOUR]=toInt(e);break;case"m":case"mm":o[MINUTE]=toInt(e);break;case"s":case"ss":o[SECOND]=toInt(e);break;case"S":case"SS":case"SSS":case"SSSS":o[MILLISECOND]=toInt(1e3*("0."+e));break;case"X":i._d=new Date(1e3*parseFloat(e));break;case"Z":case"ZZ":i._useUTC=!0,i._tzm=timezoneMinutesFromString(e);break;case"dd":case"ddd":case"dddd":n=i._locale.weekdaysParse(e),null!=n?(i._w=i._w||{},i._w.d=n):i._pf.invalidWeekday=e;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":t=t.substr(0,1);case"gggg":case"GGGG":case"GGGGG":t=t.substr(0,2),e&&(i._w=i._w||{},i._w[t]=toInt(e));break;case"gg":case"GG":i._w=i._w||{},i._w[t]=moment.parseTwoDigitYear(e)}}function dayOfYearFromWeekInfo(t){var e,i,n,o,a,r,s;e=t._w,null!=e.GG||null!=e.W||null!=e.E?(a=1,r=4,i=dfl(e.GG,t._a[YEAR],weekOfYear(moment(),1,4).year),n=dfl(e.W,1),o=dfl(e.E,1)):(a=t._locale._week.dow,r=t._locale._week.doy,i=dfl(e.gg,t._a[YEAR],weekOfYear(moment(),a,r).year),n=dfl(e.w,1),null!=e.d?(o=e.d,o<a&&++n):o=null!=e.e?e.e+a:a),s=dayOfYearFromWeeks(i,n,o,r,a),t._a[YEAR]=s.year,t._dayOfYear=s.dayOfYear}function dateFromConfig(t){var e,i,n,o,a=[];if(!t._d){for(n=currentDateArray(t),t._w&&null==t._a[DATE]&&null==t._a[MONTH]&&dayOfYearFromWeekInfo(t),t._dayOfYear&&(o=dfl(t._a[YEAR],n[YEAR]),t._dayOfYear>daysInYear(o)&&(t._pf._overflowDayOfYear=!0),i=makeUTCDate(o,0,t._dayOfYear),t._a[MONTH]=i.getUTCMonth(),t._a[DATE]=i.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=a[e]=n[e];for(;e<7;e++)t._a[e]=a[e]=null==t._a[e]?2===e?1:0:t._a[e];t._d=(t._useUTC?makeUTCDate:makeDate).apply(null,a),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()+t._tzm)}}function dateFromObject(t){var e;t._d||(e=normalizeObjectUnits(t._i),t._a=[e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond],dateFromConfig(t))}function currentDateArray(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function makeDateFromStringAndFormat(t){if(t._f===moment.ISO_8601)return void parseISO(t);t._a=[],t._pf.empty=!0;var e,i,n,o,a,r=""+t._i,s=r.length,l=0;for(n=expandFormat(t._f,t._locale).match(formattingTokens)||[],e=0;e<n.length;e++)o=n[e],i=(r.match(getParseRegexForToken(o,t))||[])[0],i&&(a=r.substr(0,r.indexOf(i)),a.length>0&&t._pf.unusedInput.push(a),r=r.slice(r.indexOf(i)+i.length),l+=i.length),formatTokenFunctions[o]?(i?t._pf.empty=!1:t._pf.unusedTokens.push(o),addTimeToArrayFromToken(o,i,t)):t._strict&&!i&&t._pf.unusedTokens.push(o);t._pf.charsLeftOver=s-l,r.length>0&&t._pf.unusedInput.push(r),t._isPm&&t._a[HOUR]<12&&(t._a[HOUR]+=12),t._isPm===!1&&12===t._a[HOUR]&&(t._a[HOUR]=0),dateFromConfig(t),checkOverflow(t)}function unescapeFormat(t){return t.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,n,o){return e||i||n||o})}function regexpEscape(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function makeDateFromStringAndArray(t){var e,i,n,o,a;if(0===t._f.length)return t._pf.invalidFormat=!0,void(t._d=new Date(NaN));for(o=0;o<t._f.length;o++)a=0,e=copyConfig({},t),null!=t._useUTC&&(e._useUTC=t._useUTC),e._pf=defaultParsingFlags(),e._f=t._f[o],makeDateFromStringAndFormat(e),isValid(e)&&(a+=e._pf.charsLeftOver,a+=10*e._pf.unusedTokens.length,e._pf.score=a,(null==n||a<n)&&(n=a,i=e));extend(t,i||e)}function parseISO(t){var e,i,n=t._i,o=isoRegex.exec(n);if(o){for(t._pf.iso=!0,e=0,i=isoDates.length;e<i;e++)if(isoDates[e][1].exec(n)){t._f=isoDates[e][0]+(o[6]||" ");break}for(e=0,i=isoTimes.length;e<i;e++)if(isoTimes[e][1].exec(n)){t._f+=isoTimes[e][0];break}n.match(parseTokenTimezone)&&(t._f+="Z"),makeDateFromStringAndFormat(t)}else t._isValid=!1}function makeDateFromString(t){parseISO(t),t._isValid===!1&&(delete t._isValid,moment.createFromInputFallback(t))}function map(t,e){var i,n=[];for(i=0;i<t.length;++i)n.push(e(t[i],i));return n}function makeDateFromInput(t){var e,i=t._i;i===undefined?t._d=new Date:isDate(i)?t._d=new Date(+i):null!==(e=aspNetJsonRegex.exec(i))?t._d=new Date(+e[1]):"string"==typeof i?makeDateFromString(t):isArray(i)?(t._a=map(i.slice(0),function(t){return parseInt(t,10)}),dateFromConfig(t)):"object"==typeof i?dateFromObject(t):"number"==typeof i?t._d=new Date(i):moment.createFromInputFallback(t)}function makeDate(t,e,i,n,o,a,r){var s=new Date(t,e,i,n,o,a,r);return t<1970&&s.setFullYear(t),s}function makeUTCDate(t){var e=new Date(Date.UTC.apply(null,arguments));return t<1970&&e.setUTCFullYear(t),e}function parseWeekday(t,e){if("string"==typeof t)if(isNaN(t)){if(t=e.weekdaysParse(t),"number"!=typeof t)return null}else t=parseInt(t,10);return t}function substituteTimeAgo(t,e,i,n,o){return o.relativeTime(e||1,!!i,t,n)}function relativeTime(t,e,i){var n=moment.duration(t).abs(),o=round(n.as("s")),a=round(n.as("m")),r=round(n.as("h")),s=round(n.as("d")),l=round(n.as("M")),u=round(n.as("y")),c=o<relativeTimeThresholds.s&&["s",o]||1===a&&["m"]||a<relativeTimeThresholds.m&&["mm",a]||1===r&&["h"]||r<relativeTimeThresholds.h&&["hh",r]||1===s&&["d"]||s<relativeTimeThresholds.d&&["dd",s]||1===l&&["M"]||l<relativeTimeThresholds.M&&["MM",l]||1===u&&["y"]||["yy",u];return c[2]=e,c[3]=+t>0,c[4]=i,substituteTimeAgo.apply({},c)}function weekOfYear(t,e,i){var n,o=i-e,a=i-t.day();return a>o&&(a-=7),a<o-7&&(a+=7),n=moment(t).add(a,"d"),{week:Math.ceil(n.dayOfYear()/7),year:n.year()}}function dayOfYearFromWeeks(t,e,i,n,o){var a,r,s=makeUTCDate(t,0,1).getUTCDay();return s=0===s?7:s,i=null!=i?i:o,a=o-s+(s>n?7:0)-(s<o?7:0),r=7*(e-1)+(i-o)+a+1,{year:r>0?t:t-1,dayOfYear:r>0?r:daysInYear(t-1)+r}}function makeMoment(t){var e=t._i,i=t._f;return t._locale=t._locale||moment.localeData(t._l),null===e||i===undefined&&""===e?moment.invalid({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),moment.isMoment(e)?new Moment(e,!0):(i?isArray(i)?makeDateFromStringAndArray(t):makeDateFromStringAndFormat(t):makeDateFromInput(t),new Moment(t)))}function pickBy(t,e){var i,n;if(1===e.length&&isArray(e[0])&&(e=e[0]),!e.length)return moment();for(i=e[0],n=1;n<e.length;++n)e[n][t](i)&&(i=e[n]);return i}function rawMonthSetter(t,e){var i;return"string"==typeof e&&(e=t.localeData().monthsParse(e),"number"!=typeof e)?t:(i=Math.min(t.date(),daysInMonth(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t)}function rawGetter(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function rawSetter(t,e,i){return"Month"===e?rawMonthSetter(t,i):t._d["set"+(t._isUTC?"UTC":"")+e](i)}function makeAccessor(t,e){return function(i){return null!=i?(rawSetter(this,t,i),moment.updateOffset(this,e),this):rawGetter(this,t)}}function daysToYears(t){return 400*t/146097}function yearsToDays(t){return 146097*t/400}function makeDurationGetter(t){moment.duration.fn[t]=function(){return this._data[t]}}for(var moment,VERSION="2.8.3",globalScope="undefined"!=typeof global?global:this,oldGlobalMoment,round=Math.round,hasOwnProperty=Object.prototype.hasOwnProperty,i,YEAR=0,MONTH=1,DATE=2,HOUR=3,MINUTE=4,SECOND=5,MILLISECOND=6,locales={},momentProperties=[],hasModule="undefined"!=typeof module&&module.exports,aspNetJsonRegex=/^\/?Date\((\-?\d+)/i,aspNetTimeSpanJsonRegex=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,isoDurationRegex=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,formattingTokens=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,localFormattingTokens=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,parseTokenOneOrTwoDigits=/\d\d?/,parseTokenOneToThreeDigits=/\d{1,3}/,parseTokenOneToFourDigits=/\d{1,4}/,parseTokenOneToSixDigits=/[+\-]?\d{1,6}/,parseTokenDigits=/\d+/,parseTokenWord=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,parseTokenTimezone=/Z|[\+\-]\d\d:?\d\d/gi,parseTokenT=/T/i,parseTokenTimestampMs=/[\+\-]?\d+(\.\d{1,3})?/,parseTokenOrdinal=/\d{1,2}/,parseTokenOneDigit=/\d/,parseTokenTwoDigits=/\d\d/,parseTokenThreeDigits=/\d{3}/,parseTokenFourDigits=/\d{4}/,parseTokenSixDigits=/[+-]?\d{6}/,parseTokenSignedNumber=/[+-]?\d+/,isoRegex=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,isoFormat="YYYY-MM-DDTHH:mm:ssZ",isoDates=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],isoTimes=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],parseTimezoneChunker=/([\+\-]|\d\d)/gi,proxyGettersAndSetters="Date|Hours|Minutes|Seconds|Milliseconds".split("|"),unitMillisecondFactors={Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6},unitAliases={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},camelFunctions={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},formatFunctions={},relativeTimeThresholds={s:45,m:45,h:22,d:26,M:11},ordinalizeTokens="DDD w W M D d".split(" "),paddedTokens="M D H h m s w W".split(" "),formatTokenFunctions={M:function(){return this.month()+1},MMM:function(t){return this.localeData().monthsShort(this,t)},MMMM:function(t){return this.localeData().months(this,t)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(t){return this.localeData().weekdaysMin(this,t)},ddd:function(t){return this.localeData().weekdaysShort(this,t)},dddd:function(t){return this.localeData().weekdays(this,t)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return leftZeroFill(this.year()%100,2)},YYYY:function(){return leftZeroFill(this.year(),4)},YYYYY:function(){return leftZeroFill(this.year(),5)},YYYYYY:function(){var t=this.year(),e=t>=0?"+":"-";return e+leftZeroFill(Math.abs(t),6)},gg:function(){return leftZeroFill(this.weekYear()%100,2)},gggg:function(){return leftZeroFill(this.weekYear(),4)},ggggg:function(){return leftZeroFill(this.weekYear(),5)},GG:function(){return leftZeroFill(this.isoWeekYear()%100,2)},GGGG:function(){return leftZeroFill(this.isoWeekYear(),4)},GGGGG:function(){return leftZeroFill(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return toInt(this.milliseconds()/100)},SS:function(){return leftZeroFill(toInt(this.milliseconds()/10),2)},SSS:function(){return leftZeroFill(this.milliseconds(),3)},SSSS:function(){return leftZeroFill(this.milliseconds(),3)},Z:function(){var t=-this.zone(),e="+";return t<0&&(t=-t,e="-"),e+leftZeroFill(toInt(t/60),2)+":"+leftZeroFill(toInt(t)%60,2)},ZZ:function(){var t=-this.zone(),e="+";return t<0&&(t=-t,e="-"),e+leftZeroFill(toInt(t/60),2)+leftZeroFill(toInt(t)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},deprecations={},lists=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];ordinalizeTokens.length;)i=ordinalizeTokens.pop(),formatTokenFunctions[i+"o"]=ordinalizeToken(formatTokenFunctions[i],i);for(;paddedTokens.length;)i=paddedTokens.pop(),formatTokenFunctions[i+i]=padToken(formatTokenFunctions[i],2);formatTokenFunctions.DDDD=padToken(formatTokenFunctions.DDD,3),extend(Locale.prototype,{set:function(t){var e,i;for(i in t)e=t[i],"function"==typeof e?this[i]=e:this["_"+i]=e},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(t){return this._months[t.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(t){return this._monthsShort[t.month()]},monthsParse:function(t){var e,i,n;for(this._monthsParse||(this._monthsParse=[]),e=0;e<12;e++)if(this._monthsParse[e]||(i=moment.utc([2e3,e]),n="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[e]=new RegExp(n.replace(".",""),"i")),this._monthsParse[e].test(t))return e},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(t){return this._weekdays[t.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(t){return this._weekdaysShort[t.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(t){return this._weekdaysMin[t.day()]},weekdaysParse:function(t){var e,i,n;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;e<7;e++)if(this._weekdaysParse[e]||(i=moment([2e3,1]).day(e),n="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[e]=new RegExp(n.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e},isPM:function(t){return"p"===(t+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(t,e){var i=this._calendar[t];return"function"==typeof i?i.apply(e):i},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(t,e,i,n){var o=this._relativeTime[i];return"function"==typeof o?o(t,e,i,n):o.replace(/%d/i,t)},pastFuture:function(t,e){var i=this._relativeTime[t>0?"future":"past"];return"function"==typeof i?i(e):i.replace(/%s/i,e)},ordinal:function(t){return this._ordinal.replace("%d",t)},_ordinal:"%d",preparse:function(t){return t},postformat:function(t){return t},week:function(t){return weekOfYear(t,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),moment=function(t,e,i,n){var o;return"boolean"==typeof i&&(n=i,i=undefined),o={},o._isAMomentObject=!0,o._i=t,o._f=e,o._l=i,o._strict=n,o._isUTC=!1,o._pf=defaultParsingFlags(),makeMoment(o)},moment.suppressDeprecationWarnings=!1,moment.createFromInputFallback=deprecate("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i)}),moment.min=function(){var t=[].slice.call(arguments,0);return pickBy("isBefore",t)},moment.max=function(){var t=[].slice.call(arguments,0);return pickBy("isAfter",t)},moment.utc=function(t,e,i,n){var o;return"boolean"==typeof i&&(n=i,i=undefined),o={},o._isAMomentObject=!0,o._useUTC=!0,o._isUTC=!0,o._l=i,o._i=t,o._f=e,o._strict=n,o._pf=defaultParsingFlags(),makeMoment(o).utc()},moment.unix=function(t){return moment(1e3*t)},moment.duration=function(t,e){var i,n,o,a,r=t,s=null;return moment.isDuration(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(r={},e?r[e]=t:r.milliseconds=t):(s=aspNetTimeSpanJsonRegex.exec(t))?(i="-"===s[1]?-1:1,r={y:0,d:toInt(s[DATE])*i,h:toInt(s[HOUR])*i,m:toInt(s[MINUTE])*i,s:toInt(s[SECOND])*i,ms:toInt(s[MILLISECOND])*i}):(s=isoDurationRegex.exec(t))?(i="-"===s[1]?-1:1,o=function(t){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*i},r={y:o(s[2]),M:o(s[3]),d:o(s[4]),h:o(s[5]),m:o(s[6]),s:o(s[7]),w:o(s[8])}):"object"==typeof r&&("from"in r||"to"in r)&&(a=momentsDifference(moment(r.from),moment(r.to)),r={},r.ms=a.milliseconds,r.M=a.months),n=new Duration(r),moment.isDuration(t)&&hasOwnProp(t,"_locale")&&(n._locale=t._locale),n},moment.version=VERSION,moment.defaultFormat=isoFormat,moment.ISO_8601=function(){},moment.momentProperties=momentProperties,moment.updateOffset=function(){},moment.relativeTimeThreshold=function(t,e){return relativeTimeThresholds[t]!==undefined&&(e===undefined?relativeTimeThresholds[t]:(relativeTimeThresholds[t]=e,!0))},moment.lang=deprecate("moment.lang is deprecated. Use moment.locale instead.",function(t,e){return moment.locale(t,e)}),moment.locale=function(t,e){var i;return t&&(i="undefined"!=typeof e?moment.defineLocale(t,e):moment.localeData(t),i&&(moment.duration._locale=moment._locale=i)),moment._locale._abbr},moment.defineLocale=function(t,e){return null!==e?(e.abbr=t,locales[t]||(locales[t]=new Locale),locales[t].set(e),moment.locale(t),locales[t]):(delete locales[t],null)},moment.langData=deprecate("moment.langData is deprecated. Use moment.localeData instead.",function(t){return moment.localeData(t)}),moment.localeData=function(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return moment._locale;if(!isArray(t)){if(e=loadLocale(t))return e;t=[t]}return chooseLocale(t)},moment.isMoment=function(t){return t instanceof Moment||null!=t&&hasOwnProp(t,"_isAMomentObject")},moment.isDuration=function(t){return t instanceof Duration};for(i=lists.length-1;i>=0;--i)makeList(lists[i]);moment.normalizeUnits=function(t){return normalizeUnits(t)},moment.invalid=function(t){var e=moment.utc(NaN);return null!=t?extend(e._pf,t):e._pf.userInvalidated=!0,e},moment.parseZone=function(){return moment.apply(null,arguments).parseZone()},moment.parseTwoDigitYear=function(t){return toInt(t)+(toInt(t)>68?1900:2e3)},extend(moment.fn=Moment.prototype,{clone:function(){return moment(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var t=moment(this).utc();return 0<t.year()&&t.year()<=9999?formatMoment(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):formatMoment(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var t=this;return[t.year(),t.month(),t.date(),t.hours(),t.minutes(),t.seconds(),t.milliseconds()]},isValid:function(){return isValid(this)},isDSTShifted:function(){return!!this._a&&(this.isValid()&&compareArrays(this._a,(this._isUTC?moment.utc(this._a):moment(this._a)).toArray())>0)},parsingFlags:function(){return extend({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(t){return this.zone(0,t)},local:function(t){return this._isUTC&&(this.zone(0,t),this._isUTC=!1,t&&this.add(this._dateTzOffset(),"m")),this},format:function(t){var e=formatMoment(this,t||moment.defaultFormat);return this.localeData().postformat(e)},add:createAdder(1,"add"),subtract:createAdder(-1,"subtract"),diff:function(t,e,i){var n,o,a,r=makeAs(t,this),s=6e4*(this.zone()-r.zone());return e=normalizeUnits(e),"year"===e||"month"===e?(n=432e5*(this.daysInMonth()+r.daysInMonth()),o=12*(this.year()-r.year())+(this.month()-r.month()),a=this-moment(this).startOf("month")-(r-moment(r).startOf("month")),a-=6e4*(this.zone()-moment(this).startOf("month").zone()-(r.zone()-moment(r).startOf("month").zone())),o+=a/n,"year"===e&&(o/=12)):(n=this-r,o="second"===e?n/1e3:"minute"===e?n/6e4:"hour"===e?n/36e5:"day"===e?(n-s)/864e5:"week"===e?(n-s)/6048e5:n),i?o:absRound(o)},from:function(t,e){return moment.duration({to:this,from:t}).locale(this.locale()).humanize(!e)},fromNow:function(t){return this.from(moment(),t)},calendar:function(t){var e=t||moment(),i=makeAs(e,this).startOf("day"),n=this.diff(i,"days",!0),o=n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse";return this.format(this.localeData().calendar(o,this))},isLeapYear:function(){return isLeapYear(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=parseWeekday(t,this.localeData()),this.add(t-e,"d")):e},month:makeAccessor("Month",!0),startOf:function(t){switch(t=normalizeUnits(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t?this.weekday(0):"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(t){return t=normalizeUnits(t),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")},isAfter:function(t,e){return e=normalizeUnits("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=moment.isMoment(t)?t:moment(t),+this>+t):+this.clone().startOf(e)>+moment(t).startOf(e)},isBefore:function(t,e){return e=normalizeUnits("undefined"!=typeof e?e:"millisecond"),"millisecond"===e?(t=moment.isMoment(t)?t:moment(t),+this<+t):+this.clone().startOf(e)<+moment(t).startOf(e)},isSame:function(t,e){return e=normalizeUnits(e||"millisecond"),"millisecond"===e?(t=moment.isMoment(t)?t:moment(t),+this===+t):+this.clone().startOf(e)===+makeAs(t,this).startOf(e)},min:deprecate("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(t){return t=moment.apply(null,arguments),t<this?this:t}),max:deprecate("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(t){return t=moment.apply(null,arguments),t>this?this:t}),zone:function(t,e){var i,n=this._offset||0;return null==t?this._isUTC?n:this._dateTzOffset():("string"==typeof t&&(t=timezoneMinutesFromString(t)),Math.abs(t)<16&&(t*=60),!this._isUTC&&e&&(i=this._dateTzOffset()),this._offset=t,this._isUTC=!0,null!=i&&this.subtract(i,"m"),n!==t&&(!e||this._changeInProgress?addOrSubtractDurationFromMoment(this,moment.duration(n-t,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,moment.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(t){return t=t?moment(t).zone():0,(this.zone()-t)%60===0},daysInMonth:function(){return daysInMonth(this.year(),this.month())},dayOfYear:function(t){var e=round((moment(this).startOf("day")-moment(this).startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},quarter:function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},weekYear:function(t){var e=weekOfYear(this,this.localeData()._week.dow,this.localeData()._week.doy).year;
  return null==t?e:this.add(t-e,"y")},isoWeekYear:function(t){var e=weekOfYear(this,1,4).year;return null==t?e:this.add(t-e,"y")},week:function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},isoWeek:function(t){var e=weekOfYear(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},weekday:function(t){var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},isoWeekday:function(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)},isoWeeksInYear:function(){return weeksInYear(this.year(),1,4)},weeksInYear:function(){var t=this.localeData()._week;return weeksInYear(this.year(),t.dow,t.doy)},get:function(t){return t=normalizeUnits(t),this[t]()},set:function(t,e){return t=normalizeUnits(t),"function"==typeof this[t]&&this[t](e),this},locale:function(t){var e;return t===undefined?this._locale._abbr:(e=moment.localeData(t),null!=e&&(this._locale=e),this)},lang:deprecate("moment().lang() is deprecated. Use moment().localeData() instead.",function(t){return t===undefined?this.localeData():this.locale(t)}),localeData:function(){return this._locale},_dateTzOffset:function(){return 15*Math.round(this._d.getTimezoneOffset()/15)}}),moment.fn.millisecond=moment.fn.milliseconds=makeAccessor("Milliseconds",!1),moment.fn.second=moment.fn.seconds=makeAccessor("Seconds",!1),moment.fn.minute=moment.fn.minutes=makeAccessor("Minutes",!1),moment.fn.hour=moment.fn.hours=makeAccessor("Hours",!0),moment.fn.date=makeAccessor("Date",!0),moment.fn.dates=deprecate("dates accessor is deprecated. Use date instead.",makeAccessor("Date",!0)),moment.fn.year=makeAccessor("FullYear",!0),moment.fn.years=deprecate("years accessor is deprecated. Use year instead.",makeAccessor("FullYear",!0)),moment.fn.days=moment.fn.day,moment.fn.months=moment.fn.month,moment.fn.weeks=moment.fn.week,moment.fn.isoWeeks=moment.fn.isoWeek,moment.fn.quarters=moment.fn.quarter,moment.fn.toJSON=moment.fn.toISOString,extend(moment.duration.fn=Duration.prototype,{_bubble:function(){var t,e,i,n=this._milliseconds,o=this._days,a=this._months,r=this._data,s=0;r.milliseconds=n%1e3,t=absRound(n/1e3),r.seconds=t%60,e=absRound(t/60),r.minutes=e%60,i=absRound(e/60),r.hours=i%24,o+=absRound(i/24),s=absRound(daysToYears(o)),o-=absRound(yearsToDays(s)),a+=absRound(o/30),o%=30,s+=absRound(a/12),a%=12,r.days=o,r.months=a,r.years=s},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return absRound(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*toInt(this._months/12)},humanize:function(t){var e=relativeTime(this,!t,this.localeData());return t&&(e=this.localeData().pastFuture(+this,e)),this.localeData().postformat(e)},add:function(t,e){var i=moment.duration(t,e);return this._milliseconds+=i._milliseconds,this._days+=i._days,this._months+=i._months,this._bubble(),this},subtract:function(t,e){var i=moment.duration(t,e);return this._milliseconds-=i._milliseconds,this._days-=i._days,this._months-=i._months,this._bubble(),this},get:function(t){return t=normalizeUnits(t),this[t.toLowerCase()+"s"]()},as:function(t){var e,i;if(t=normalizeUnits(t),"month"===t||"year"===t)return e=this._days+this._milliseconds/864e5,i=this._months+12*daysToYears(e),"month"===t?i:i/12;switch(e=this._days+yearsToDays(this._months/12),t){case"week":return e/7+this._milliseconds/6048e5;case"day":return e+this._milliseconds/864e5;case"hour":return 24*e+this._milliseconds/36e5;case"minute":return 24*e*60+this._milliseconds/6e4;case"second":return 24*e*60*60+this._milliseconds/1e3;case"millisecond":return Math.floor(24*e*60*60*1e3)+this._milliseconds;default:throw new Error("Unknown unit "+t)}},lang:moment.fn.lang,locale:moment.fn.locale,toIsoString:deprecate("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var t=Math.abs(this.years()),e=Math.abs(this.months()),i=Math.abs(this.days()),n=Math.abs(this.hours()),o=Math.abs(this.minutes()),a=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(i?i+"D":"")+(n||o||a?"T":"")+(n?n+"H":"")+(o?o+"M":"")+(a?a+"S":""):"P0D"},localeData:function(){return this._locale}}),moment.duration.fn.toString=moment.duration.fn.toISOString;for(i in unitMillisecondFactors)hasOwnProp(unitMillisecondFactors,i)&&makeDurationGetter(i.toLowerCase());return moment.duration.fn.asMilliseconds=function(){return this.as("ms")},moment.duration.fn.asSeconds=function(){return this.as("s")},moment.duration.fn.asMinutes=function(){return this.as("m")},moment.duration.fn.asHours=function(){return this.as("h")},moment.duration.fn.asDays=function(){return this.as("d")},moment.duration.fn.asWeeks=function(){return this.as("weeks")},moment.duration.fn.asMonths=function(){return this.as("M")},moment.duration.fn.asYears=function(){return this.as("y")},moment.locale("en",{ordinal:function(t){var e=t%10,i=1===toInt(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i}}),moment}.call(this),UI.Utils.moment=moment,UI.datepicker}),function(t){var e;window.UIkit&&(e=t(UIkit)),__WEBPACK_AMD_DEFINE_ARRAY__=[__WEBPACK_LOCAL_MODULE_0__],__WEBPACK_AMD_DEFINE_RESULT__=function(){return e||t(UIkit)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}(function(t){"use strict";function e(t,e){t=t||0,e=e||24;var i,n,o={"12h":[],"24h":[]};for(i=t,n="";i<e;i++)n=""+i,i<10&&(n="0"+n),o["24h"].push({value:n+":00"}),o["24h"].push({value:n+":30"}),0===i&&(n=12,o["12h"].push({value:n+":00 AM"}),o["12h"].push({value:n+":30 AM"})),i>0&&i<13&&12!==i&&(o["12h"].push({value:n+":00 AM"}),o["12h"].push({value:n+":30 AM"})),i>=12&&(n-=12,0===n&&(n=12),n<10&&(n="0"+String(n)),o["12h"].push({value:n+":00 PM"}),o["12h"].push({value:n+":30 PM"}));return o}t.component("timepicker",{defaults:{format:"24h",delay:0,start:0,end:24},boot:function(){t.$html.on("focus.timepicker.uikit","[data-uk-timepicker]",function(e){var i=t.$(this);if(!i.data("timepicker")){var n=t.timepicker(i,t.Utils.options(i.attr("data-uk-timepicker")));setTimeout(function(){n.autocomplete.input.focus()},40)}})},init:function(){var i,n=this,o=e(this.options.start,this.options.end);this.options.minLength=0,this.options.template='<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>',this.options.source=function(t){t(o[n.options.format]||o["12h"])},this.element.is("input")?(this.element.wrap('<div class="uk-autocomplete"></div>'),i=this.element.parent()):i=this.element.addClass("uk-autocomplete"),this.autocomplete=t.autocomplete(i,this.options),this.autocomplete.dropdown.addClass("uk-dropdown-small uk-dropdown-scrollable"),this.autocomplete.on("show.uk.autocomplete",function(){var t=n.autocomplete.dropdown.find('[data-value="'+n.autocomplete.input.val()+'"]');setTimeout(function(){n.autocomplete.pick(t,!0)},10)}),this.autocomplete.input.on("focus",function(){n.autocomplete.value=Math.random(),n.autocomplete.triggercomplete()}).on("blur",t.Utils.debounce(function(){n.checkTime()},100)),this.element.data("timepicker",this)},checkTime:function(){var t,e,i,n,o="AM",a=this.autocomplete.input.val();"12h"==this.options.format?(t=a.split(" "),e=t[0].split(":"),o=t[1]):e=a.split(":"),i=parseInt(e[0],10),n=parseInt(e[1],10),isNaN(i)&&(i=0),isNaN(n)&&(n=0),"12h"==this.options.format?(i>12?i=12:i<0&&(i=12),"am"===o||"a"===o?o="AM":"pm"!==o&&"p"!==o||(o="PM"),"AM"!==o&&"PM"!==o&&(o="AM")):i>=24?i=23:i<0&&(i=0),n<0?n=0:n>=60&&(n=0),this.autocomplete.input.val(this.formatTime(i,n,o)).trigger("change")},formatTime:function(t,e,i){return t=t<10?"0"+t:t,e=e<10?"0"+e:e,t+":"+e+("12h"==this.options.format?" "+i:"")}})}),function(t){var e;window.UIkit&&(e=t(UIkit)),__WEBPACK_AMD_DEFINE_ARRAY__=[__WEBPACK_LOCAL_MODULE_0__],__WEBPACK_AMD_DEFINE_RESULT__=function(){return e||t(UIkit)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}(function(t){"use strict";function e(e){e=t.$(e);do{if(e.data("sortable"))return e;e=t.$(e).parent()}while(e.length);return e}function i(t,e){var i=t.parentNode;if(e.parentNode!=i)return!1;for(var n=t.previousSibling;n&&9!==n.nodeType;){if(n===e)return!0;n=n.previousSibling}return!1}function n(t,e){var i=e;if(i==t)return null;for(;i;){if(i.parentNode===t)return i;if(i=i.parentNode,!i||!i.ownerDocument||11===i.nodeType)break}return null}function o(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),t.returnValue=!1}var a,r,s,l,u,c,d,p,h,f,m="ontouchstart"in window||"MSGesture"in window||window.DocumentTouch&&document instanceof DocumentTouch;return t.component("sortable",{defaults:{animation:150,threshold:10,childClass:"uk-sortable-item",placeholderClass:"uk-sortable-placeholder",overClass:"uk-sortable-over",draggingClass:"uk-sortable-dragged",dragMovingClass:"uk-sortable-moving",baseClass:"uk-sortable",noDragClass:"uk-sortable-nodrag",emptyClass:"uk-sortable-empty",dragCustomClass:"",handleClass:!1,group:!1,stop:function(){},start:function(){},change:function(){}},boot:function(){t.ready(function(e){t.$("[data-uk-sortable]",e).each(function(){var e=t.$(this);e.data("sortable")||t.sortable(e,t.Utils.options(e.attr("data-uk-sortable")))})}),t.$html.on("mousemove touchmove",function(e){if(d){var i=e.originalEvent.targetTouches?e.originalEvent.targetTouches[0]:e;(Math.abs(i.pageX-d.pos.x)>d.threshold||Math.abs(i.pageY-d.pos.y)>d.threshold)&&d.apply(i)}if(a){u||(u=!0,a.show(),a.$current.addClass(a.$sortable.options.placeholderClass),a.$sortable.element.children().addClass(a.$sortable.options.childClass),t.$html.addClass(a.$sortable.options.dragMovingClass));var n=a.data("mouse-offset"),o=parseInt(e.originalEvent.pageX,10)+n.left,r=parseInt(e.originalEvent.pageY,10)+n.top;if(a.css({left:o,top:r}),r+a.height()/3>document.body.offsetHeight)return;r<t.$win.scrollTop()?t.$win.scrollTop(t.$win.scrollTop()-Math.ceil(a.height()/3)):r+a.height()/3>window.innerHeight+t.$win.scrollTop()&&t.$win.scrollTop(t.$win.scrollTop()+Math.ceil(a.height()/3))}}),t.$html.on("mouseup touchend",function(t){if(d=c=!1,!r||!a)return void(r=a=null);var i=e(r),n=a.$sortable,o={type:t.type};i[0]&&n.dragDrop(o,n.element),n.dragEnd(o,n.element)})},init:function(){function e(){m?c.addEventListener("touchmove",v,!1):(c.addEventListener("mouseover",g,!1),c.addEventListener("mouseout",y,!1))}function i(){m?c.removeEventListener("touchmove",v,!1):(c.removeEventListener("mouseover",g,!1),c.removeEventListener("mouseout",y,!1))}function a(t){r&&u.dragMove(t,u)}function l(e){return function(i){var o,a,r;i&&(o=m&&i.touches&&i.touches[0]||{},a=o.target||i.target,m&&document.elementFromPoint&&(a=document.elementFromPoint(i.pageX-document.body.scrollLeft,i.pageY-document.body.scrollTop)),f=t.$(a)),t.$(a).hasClass(u.options.childClass)?e.apply(a,[i]):a!==c&&(r=n(c,a),r&&e.apply(r,[i]))}}var u=this,c=this.element[0];p=[],this.checkEmptyList(),this.element.data("sortable-group",this.options.group?this.options.group:t.Utils.uid("sortable-group"));var d=l(function(e){if(!e.data||!e.data.sortable){var i=t.$(e.target),n=i.is("a[href]")?i:i.parents("a[href]");if(!i.is(":input")){if(u.options.handleClass){var o=i.hasClass(u.options.handleClass)?i:i.closest("."+u.options.handleClass,u.element);if(!o.length)return}return e.preventDefault(),n.length&&n.one("click",function(t){t.preventDefault()}).one("mouseup touchend",function(){h||(n.trigger("click"),m&&n.attr("href").trim()&&(location.href=n.attr("href")))}),e.data=e.data||{},e.data.sortable=c,u.dragStart(e,this)}}}),g=l(t.Utils.debounce(function(t){return u.dragEnter(t,this)}),40),y=l(function(e){var i=u.dragenterData(this);u.dragenterData(this,i-1),u.dragenterData(this)||(t.$(this).removeClass(u.options.overClass),u.dragenterData(this,!1))}),v=l(function(t){return!r||r===this||s===this||(u.element.children().removeClass(u.options.overClass),s=this,u.moveElementNextTo(r,this),o(t))});this.addDragHandlers=e,this.removeDragHandlers=i,window.addEventListener(m?"touchmove":"mousemove",a,!1),c.addEventListener(m?"touchstart":"mousedown",d,!1)},dragStart:function(e,i){h=!1,u=!1,l=!1;var n=this,o=t.$(e.target);if((m||2!=e.button)&&!o.is("."+n.options.noDragClass)&&!o.closest("."+n.options.noDragClass).length&&!o.is(":input")){r=i,a&&a.remove();var s=t.$(r),c=s.offset();d={pos:{x:e.pageX,y:e.pageY},threshold:n.options.handleClass?1:n.options.threshold,apply:function(e){a=t.$('<div class="'+[n.options.draggingClass,n.options.dragCustomClass].join(" ")+'"></div>').css({display:"none",top:c.top,left:c.left,width:s.width(),height:s.height(),padding:s.css("padding")}).data({"mouse-offset":{left:c.left-parseInt(e.pageX,10),top:c.top-parseInt(e.pageY,10)},origin:n.element,index:s.index()}).append(s.html()).appendTo("body"),a.$current=s,a.$sortable=n,s.data({"start-list":s.parent(),"start-index":s.index(),"sortable-group":n.options.group}),n.addDragHandlers(),n.options.start(this,r),n.trigger("start.uk.sortable",[n,r]),h=!0,d=!1}}}},dragMove:function(e,i){f=t.$(document.elementFromPoint(e.pageX-(document.body.scrollLeft||document.scrollLeft||0),e.pageY-(document.body.scrollTop||document.documentElement.scrollTop||0)));var n,o=f.closest("."+this.options.baseClass),a=o.data("sortable-group"),s=t.$(r),l=s.parent(),u=s.data("sortable-group");o[0]!==l[0]&&void 0!==u&&a===u&&(o.data("sortable").addDragHandlers(),p.push(o),o.children().addClass(this.options.childClass),o.children().length>0?(n=f.closest("."+this.options.childClass),n.length?n.before(s):o.append(s)):f.append(s),UIkit.$doc.trigger("mouseover")),this.checkEmptyList(),this.checkEmptyList(l)},dragEnter:function(e,i){if(!r||r===i)return!0;var n=this.dragenterData(i);if(this.dragenterData(i,n+1),0===n){var o=t.$(i).parent(),a=t.$(r).data("start-list");if(o[0]!==a[0]){var s=o.data("sortable-group"),l=t.$(r).data("sortable-group");if((s||l)&&s!=l)return!1}t.$(i).addClass(this.options.overClass),this.moveElementNextTo(r,i)}return!1},dragEnd:function(e,i){var n=this;r&&(this.options.stop(i),this.trigger("stop.uk.sortable",[this])),r=null,s=null,p.push(this.element),p.forEach(function(e,i){t.$(e).children().each(function(){1===this.nodeType&&(t.$(this).removeClass(n.options.overClass).removeClass(n.options.placeholderClass).removeClass(n.options.childClass),n.dragenterData(this,!1))})}),p=[],t.$html.removeClass(this.options.dragMovingClass),this.removeDragHandlers(),a&&(a.remove(),a=null)},dragDrop:function(t,e){"drop"===t.type&&(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault()),this.triggerChangeEvents()},triggerChangeEvents:function(){if(r){var e=t.$(r),i=a.data("origin"),n=e.closest("."+this.options.baseClass),o=[],s=t.$(r);i[0]===n[0]&&a.data("index")!=e.index()?o.push({sortable:this,mode:"moved"}):i[0]!=n[0]&&o.push({sortable:t.$(n).data("sortable"),mode:"added"},{sortable:t.$(i).data("sortable"),mode:"removed"}),o.forEach(function(t,e){t.sortable&&t.sortable.element.trigger("change.uk.sortable",[t.sortable,s,t.mode])})}},dragenterData:function(e,i){return e=t.$(e),1==arguments.length?parseInt(e.data("child-dragenter"),10)||0:void(i?e.data("child-dragenter",Math.max(0,i)):e.removeData("child-dragenter"))},moveElementNextTo:function(e,n){l=!0;var o=this,a=t.$(e).parent().css("min-height",""),r=i(e,n)?n:n.nextSibling,s=a.children(),u=s.length;return o.options.animation?(a.css("min-height",a.height()),s.stop().each(function(){var e=t.$(this),i=e.position();i.width=e.width(),e.data("offset-before",i)}),n.parentNode.insertBefore(e,r),t.Utils.checkDisplay(o.element.parent()),s=a.children().each(function(){var e=t.$(this);e.data("offset-after",e.position())}).each(function(){var e=t.$(this),i=e.data("offset-before");e.css({position:"absolute",top:i.top,left:i.left,"min-width":i.width})}),void s.each(function(){var e=t.$(this),i=(e.data("offset-before"),e.data("offset-after"));e.css("pointer-events","none").width(),setTimeout(function(){e.animate({top:i.top,left:i.left},o.options.animation,function(){e.css({position:"",top:"",left:"","min-width":"","pointer-events":""}).removeClass(o.options.overClass).removeData("child-dragenter"),u--,u||(a.css("min-height",""),t.Utils.checkDisplay(o.element.parent()))})},0)})):(n.parentNode.insertBefore(e,r),void t.Utils.checkDisplay(o.element.parent()))},serialize:function(){var e,i,n=[];return this.element.children().each(function(o,a){e={};for(var r,s,l=0;l<a.attributes.length;l++)i=a.attributes[l],0===i.name.indexOf("data-")&&(r=i.name.substr(5),s=t.Utils.str2json(i.value),e[r]=s||"false"==i.value||"0"==i.value?s:i.value);n.push(e)}),n},checkEmptyList:function(e){e=e?t.$(e):this.element,this.options.emptyClass&&e[e.children().length?"removeClass":"addClass"](this.options.emptyClass)}}),t.sortable}),function(t){var e;window.UIkit&&(e=t(UIkit)),__WEBPACK_AMD_DEFINE_ARRAY__=[__WEBPACK_LOCAL_MODULE_0__],__WEBPACK_AMD_DEFINE_RESULT__=function(){return e||t(UIkit)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}(function(t){"use strict";var e;return t.component("autocomplete",{defaults:{minLength:3,param:"search",method:"post",delay:300,loadingClass:"uk-loading",flipDropdown:!1,skipClass:"uk-skip",hoverClass:"uk-active",source:null,renderer:null,template:'<ul class="uk-nav uk-nav-autocomplete uk-autocomplete-results">{{~items}}<li data-value="{{$item.value}}"><a>{{$item.value}}</a></li>{{/items}}</ul>'},visible:!1,value:null,selected:null,boot:function(){t.$html.on("focus.autocomplete.uikit","[data-uk-autocomplete]",function(e){var i=t.$(this);i.data("autocomplete")||t.autocomplete(i,t.Utils.options(i.attr("data-uk-autocomplete")))}),t.$html.on("click.autocomplete.uikit",function(t){e&&t.target!=e.input[0]&&e.hide()})},init:function(){var e=this,i=!1,n=t.Utils.debounce(function(t){return i?i=!1:void e.handle()},this.options.delay);this.dropdown=this.find(".uk-dropdown"),this.template=this.find('script[type="text/autocomplete"]').html(),this.template=t.Utils.template(this.template||this.options.template),this.input=this.find("input:first").attr("autocomplete","off"),this.dropdown.length||(this.dropdown=t.$('<div class="uk-dropdown"></div>').appendTo(this.element)),this.options.flipDropdown&&this.dropdown.addClass("uk-dropdown-flip"),this.dropdown.attr("aria-expanded","false"),this.input.on({keydown:function(t){if(t&&t.which&&!t.shiftKey)switch(t.which){case 13:i=!0,e.selected&&(t.preventDefault(),e.select());break;case 38:t.preventDefault(),e.pick("prev",!0);break;case 40:t.preventDefault(),e.pick("next",!0);break;case 27:case 9:e.hide()}},keyup:n}),this.dropdown.on("click",".uk-autocomplete-results > *",function(){e.select()}),this.dropdown.on("mouseover",".uk-autocomplete-results > *",function(){e.pick(t.$(this))}),this.triggercomplete=n},handle:function(){var t=this,e=this.value;return this.value=this.input.val(),this.value.length<this.options.minLength?this.hide():(this.value!=e&&t.request(),this)},pick:function(e,i){var n=this,o=t.$(this.dropdown.find(".uk-autocomplete-results").children(":not(."+this.options.skipClass+")")),a=!1;if("string"==typeof e||e.hasClass(this.options.skipClass)){if("next"==e||"prev"==e){if(this.selected){var r=o.index(this.selected);a="next"==e?o.eq(r+1<o.length?r+1:0):o.eq(r-1<0?o.length-1:r-1)}else a=o["next"==e?"first":"last"]();a=t.$(a)}}else a=e;if(a&&a.length&&(this.selected=a,o.removeClass(this.options.hoverClass),this.selected.addClass(this.options.hoverClass),i)){var s=a.position().top,l=n.dropdown.scrollTop(),u=n.dropdown.height();(s>u||s<0)&&n.dropdown.scrollTop(l+s)}},select:function(){if(this.selected){var t=this.selected.data();this.trigger("selectitem.uk.autocomplete",[t,this]),t.value&&this.input.val(t.value).trigger("change"),this.hide()}},show:function(){if(!this.visible)return this.visible=!0,this.element.addClass("uk-open"),e&&e!==this&&e.hide(),e=this,this.dropdown.attr("aria-expanded","true"),this},hide:function(){if(this.visible)return this.visible=!1,this.element.removeClass("uk-open"),e===this&&(e=!1),this.dropdown.attr("aria-expanded","false"),this},request:function(){var e=this,i=function(t){t&&e.render(t),e.element.removeClass(e.options.loadingClass)};if(this.element.addClass(this.options.loadingClass),this.options.source){var n=this.options.source;switch(typeof this.options.source){case"function":this.options.source.apply(this,[i]);break;case"object":if(n.length){var o=[];n.forEach(function(t){t.value&&t.value.toLowerCase().indexOf(e.value.toLowerCase())!=-1&&o.push(t)}),i(o)}break;case"string":var a={};a[this.options.param]=this.value,t.$.ajax({url:this.options.source,data:a,type:this.options.method,dataType:"json"}).done(function(t){i(t||[])});break;default:i(null)}}else this.element.removeClass(e.options.loadingClass)},render:function(t){return this.dropdown.empty(),this.selected=!1,this.options.renderer?this.options.renderer.apply(this,[t]):t&&t.length&&(this.dropdown.append(this.template({items:t})),this.show(),this.trigger("show.uk.autocomplete")),this}}),t.autocomplete}),function(t){var e;window.UIkit&&(e=t(UIkit)),__WEBPACK_AMD_DEFINE_ARRAY__=[__WEBPACK_LOCAL_MODULE_0__],__WEBPACK_AMD_DEFINE_RESULT__=function(){return e||t(UIkit)}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}(function(t){"use strict";function e(e){var a=arguments.length?arguments:o;if(a.length&&!(i.scrollTop()<0))for(var r,s,l,u,c=i.scrollTop(),d=n.height(),p=i.height(),h=d-p,f=c>h?h-c:0,m=0;m<a.length;m++)if(u=a[m],u.element.is(":visible")&&!u.animate){if(u.check()){if(u.top<0?r=0:(l=u.element.outerHeight(),r=d-l-u.top-u.options.bottom-c-f,r=r<0?r+u.top:u.top),u.boundary&&u.boundary.length){var g=u.boundary.offset().top;s=u.boundtoparent?d-(g+u.boundary.outerHeight())+parseInt(u.boundary.css("padding-bottom")):d-g,r=c+l>d-s-(u.top<0?0:u.top)?d-s-(c+l):r}if(u.currentTop!=r){if(u.element.css({position:"fixed",top:r,width:u.getWidthFrom.length?u.getWidthFrom.width():u.element.width()}),!u.init&&(u.element.addClass(u.options.clsinit),location.hash&&c>0&&u.options.target)){var y=t.$(location.hash);y.length&&setTimeout(function(t,e){return function(){e.element.width();var i=t.offset(),n=i.top+t.outerHeight(),o=e.element.offset(),a=e.element.outerHeight(),r=o.top+a;o.top<n&&i.top<r&&(c=i.top-a-e.options.target,window.scrollTo(0,c))}}(y,u),0)}u.element.addClass(u.options.clsactive).removeClass(u.options.clsinactive),u.element.trigger("active.uk.sticky"),u.element.css("margin",""),u.options.animation&&u.init&&!t.Utils.isInView(u.wrapper)&&u.element.addClass(u.options.animation),u.currentTop=r}}else null!==u.currentTop&&u.reset();u.init=!0}}var i=t.$win,n=t.$doc,o=[],a=1;return t.component("sticky",{defaults:{top:0,bottom:0,animation:"",clsinit:"uk-sticky-init",clsactive:"uk-active",clsinactive:"",getWidthFrom:"",showup:!1,boundary:!1,media:!1,target:!1,disabled:!1},boot:function(){t.$doc.on("scrolling.uk.document",function(t,i){i&&i.dir&&(a=i.dir.y,e())}),t.$win.on("resize orientationchange",t.Utils.debounce(function(){if(o.length){for(var t=0;t<o.length;t++)o[t].reset(!0),o[t].self.computeWrapper();e()}},100)),t.ready(function(i){setTimeout(function(){t.$("[data-uk-sticky]",i).each(function(){var e=t.$(this);e.data("sticky")||t.sticky(e,t.Utils.options(e.attr("data-uk-sticky")))}),e()},0)})},init:function(){var e,r=this.options.boundary;this.wrapper=this.element.wrap('<div class="uk-sticky-placeholder"></div>').parent(),this.computeWrapper(),this.wrapper.css({"margin-top":this.element.css("margin-top"),"margin-bottom":this.element.css("margin-bottom"),"margin-left":this.element.css("margin-left"),"margin-right":this.element.css("margin-right")}),this.element.css("margin",0),r&&(r===!0||"!"===r[0]?(r=r===!0?this.wrapper.parent():this.wrapper.closest(r.substr(1)),e=!0):"string"==typeof r&&(r=t.$(r))),this.sticky={self:this,options:this.options,element:this.element,currentTop:null,wrapper:this.wrapper,init:!1,getWidthFrom:t.$(this.options.getWidthFrom||this.wrapper),boundary:r,boundtoparent:e,top:0,calcTop:function(){var e=this.options.top;if(this.options.top&&"string"==typeof this.options.top)if(this.options.top.match(/^(-|)(\d+)vh$/))e=window.innerHeight*parseInt(this.options.top,10)/100;else{var i=t.$(this.options.top).first();i.length&&i.is(":visible")&&(e=-1*(i.offset().top+i.outerHeight()-this.wrapper.offset().top))}this.top=e},reset:function(e){this.calcTop();var i=function(){this.element.css({position:"",top:"",width:"",left:"",margin:"0"}),this.element.removeClass([this.options.animation,"uk-animation-reverse",this.options.clsactive].join(" ")),this.element.addClass(this.options.clsinactive),this.element.trigger("inactive.uk.sticky"),this.currentTop=null,this.animate=!1}.bind(this);!e&&this.options.animation&&t.support.animation&&!t.Utils.isInView(this.wrapper)?(this.animate=!0,this.element.removeClass(this.options.animation).one(t.support.animation.end,function(){i()}).width(),this.element.addClass(this.options.animation+" uk-animation-reverse")):i()},check:function(){if(this.options.disabled)return!1;if(this.options.media)switch(typeof this.options.media){case"number":if(window.innerWidth<this.options.media)return!1;break;case"string":if(window.matchMedia&&!window.matchMedia(this.options.media).matches)return!1}var e=i.scrollTop(),o=n.height(),r=o-window.innerHeight,s=e>r?r-e:0,l=this.wrapper.offset().top,u=l-this.top-s,c=e>=u;return c&&this.options.showup&&(1==a&&(c=!1),a==-1&&!this.element.hasClass(this.options.clsactive)&&t.Utils.isInView(this.wrapper)&&(c=!1)),c}},this.sticky.calcTop(),o.push(this.sticky)},update:function(){e(this.sticky)},enable:function(){this.options.disabled=!1,this.update()},disable:function(t){this.options.disabled=!0,this.sticky.reset(t)},computeWrapper:function(){this.wrapper.css({height:["absolute","fixed"].indexOf(this.element.css("position"))==-1?this.element.outerHeight():"",float:"none"!=this.element.css("float")?this.element.css("float"):""}),"fixed"==this.element.css("position")&&this.element.css({width:this.sticky.getWidthFrom.length?this.sticky.getWidthFrom.width():this.element.width()})}}),t.sticky})}).call(exports,__webpack_require__(1),function(){return this}())},function(t,e,i){var n=i(1),o=i(6),a=i(18),r=i(19),s=function(){n(function(){"__env"in window&&"token"in window.__env&&n.ajaxSetup({headers:{"X-CSRF-TOKEN":window.__env.token}}),n("form").each(function(t,e){n(e).unbind("submit");var i=void 0!==n(e).attr("data-ajax-form");i?a.initAjax(e,o):n(e).is("[data-form-no-loading]")||a.initCommon(e,o)})})},l=function(){r.init(o)},u={init:function(){s(),l()},defaultFormCallback:function(t,e){return a.defaultCallback(t,e,o)},post:function(t,e,i){n.ajax({type:"post",url:t,dataType:"json",timeout:6e5,data:e,success:function(t){i&&i(t)},error:function(){i&&i({code:-999,msg:"请求出现错误 T_T"})}})}};t.exports=u},function(t,e,i){var n=i(1),o=i(7),a=(i(8),i(17)),r={device:"pc",loadingOn:function(t){if(t=t||null){var e=o.open({type:1,content:'<div style="padding:10px;height:32px;box-sizing:content-box;"><div class="layui-layer-ico16" style="display:inline-block;margin-right:10px;"></div><div style="display:inline-block;line-height:32px;vertical-align:top;font-size:13px;">'+t+"</div></div>",shade:[.3,"#000"],closeBtn:!1,title:!1,area:["auto","auto"]});n("#layui-layer"+e).attr("type","loading")}else o.load(2)},loadingOff:function(){o.closeAll("loading")},tipSuccess:function(t){var e=2e3;t&&t.length>10&&(e=1e3*parseInt(t.length/5)),o.msg(t,{shade:.3,time:e,shadeClose:!0,anim:-1})},tipError:function(t){var e=2e3;t.length>10&&(e=1e3*parseInt(t.length/5)),o.msg(t,{shade:.3,time:e,shadeClose:!0,anim:6})},tipPopoverShow:function(t,e){var i=n(t).data("popover-dialog");i&&o.close(i),i=o.tips(e,t,{tips:[1,"#333"]}),n(t).data("popover-dialog",i)},tipPopoverHide:function(t){var e=n(t).data("popover-dialog");e&&o.close(e)},alertSuccess:function(t,e){o.alert(t,{icon:1,closeBtn:0},function(t){o.close(t),e&&e()});try{document.activeElement.blur();var i=n("#layui-layer"+index),a=i.find(".layui-layer-btn0");a.attr("tabindex",0).css({outline:"none"}).get(0).focus(),i.on("keypress",function(){a.click()})}catch(t){}},alertError:function(t,e){var i=o.alert(t,{icon:2,closeBtn:0},function(t){o.close(t),e&&e()});try{document.activeElement.blur();var a=n("#layui-layer"+i),r=a.find(".layui-layer-btn0");r.attr("tabindex",0).css({outline:"none"}).get(0).focus(),a.on("keypress",function(){r.click()})}catch(t){}return i},confirm:function(t,e,i,n){n=n||{icon:3,title:"提示"},e=e||!1,i=i||!1,o.confirm(t,n,function(t){o.close(t),e&&e()},function(t){o.close(t),i&&i()})},dialog:function(t,e){var i=n.extend({title:null,width:"600px",height:"80%",shadeClose:!0,closeCallback:function(){}},e);return/^\d+px$/.test(i.width)&&n(window).width()<parseInt(i.width)&&(i.width="90%",i.height="90%"),o.open({type:2,title:"正在加载...",shadeClose:i.shadeClose,shade:.5,maxmin:!1,area:[i.width,i.height],scrollbar:!1,content:t,success:function(t,e){if(null!==i.title)return void o.title(i.title,e);try{var a=n(t).find("iframe")[0].contentWindow.document.title;o.title(a,e)}catch(t){}},end:function(){i.closeCallback()}})},dialogContent:function(t,e){var i=n.extend({closeBtn:!0,width:"auto",height:"auto",shade:[.3,"#000"],shadeClose:!0,openCallback:function(){},closeCallback:function(){}},e);return o.open({shade:i.shade,type:1,title:!1,zindex:2019,closeBtn:i.closeBtn,shadeClose:i.shadeClose,scrollbar:!1,content:t,area:[i.width,i.height],success:function(){i.openCallback()},end:function(){i.closeCallback()}})},dialogClose:function(t){o.close(t)},dialogCloseAll:function(){o.closeAll()},input:function(t,e){var i=n.extend({label:"请输入",width:"200px",height:"auto",defaultValue:""},e);/^\d+px$/.test(i.width)&&n(window).width()<parseInt(i.width)&&(i.width=n(window).width()-20+"px");var o=i.defaultValue,s=!1,l=r.dialogContent(['<div id="dialog-input-box" style="width:',i.width,";height:",i.height,';background:#FFF;border-radius:3px;">','<div style="padding:10px 10px 0 10px;">',i.label,"</div>",'<div style="padding:10px;"><input type="text" style="border:1px solid #CCC;height:30px;line-height:30px;padding:0 5px;width:100%;display:block;box-sizing:border-box;outline:none;border-radius:2px;" value="',a.specialchars(i.defaultValue),'" /></div>','<div style="cursor:pointer;padding:10px;text-align:center;color:#40AFFE;line-height:20px;border-top:1px solid #EEE;cursor:default;" class="ok">确定</div>',"</div>"].join(""),{openCallback:function(){n("#dialog-input-box").find(".ok").on("click",function(){s=!0,r.dialogClose(l)}),n("#dialog-input-box").find("input").on("change",function(){o=n(this).val()})},closeCallback:function(){s&&t&&t(o)}})}};t.exports=r},function(t,e,i){var n,o;!function(a,r){"use strict";var s,l,u=a.layui&&layui.define,c={getPath:function(){var t=document.scripts,e=t[t.length-1],i=e.src;if(!e.getAttribute("merge"))return i.substring(0,i.lastIndexOf("/")+1)}(),config:{},end:{},minIndex:0,minLeft:[],btn:["&#x786E;&#x5B9A;","&#x53D6;&#x6D88;"],type:["dialog","page","iframe","loading","tips"]},d={v:"3.0.1",ie:function(){var t=navigator.userAgent.toLowerCase();return!!(a.ActiveXObject||"ActiveXObject"in a)&&((t.match(/msie\s(\d+)/)||[])[1]||"11")}(),index:a.layer&&a.layer.v?1e5:0,path:c.getPath,config:function(t,e){return t=t||{},d.cache=c.config=s.extend({},c.config,t),d.path=c.config.path||d.path,"string"==typeof t.extend&&(t.extend=[t.extend]),
  c.config.path&&d.ready(),t.extend?(u?layui.addcss("modules/layer/"+t.extend):d.link("skin/"+t.extend),this):this},link:function(t,e,i){if(d.path){var n=s("head")[0],o=document.createElement("link");"string"==typeof e&&(i=e);var r=(i||t).replace(/\.|\//g,""),l="layuicss-"+r,u=0;o.rel="stylesheet",o.href=d.path+t,o.id=l,s("#"+l)[0]||n.appendChild(o),"function"==typeof e&&!function t(){return++u>80?a.console&&console.error("layer.css: Invalid"):void(1989===parseInt(s("#"+l).css("width"))?e():setTimeout(t,100))}()}},ready:function(t){var e="skinlayercss",i="1110";return u?layui.addcss("modules/layer/default/layer.css?v="+d.v+i,t,e):d.link("skin/default/layer.css?v="+d.v+i,t,e),this},alert:function(t,e,i){var n="function"==typeof e;return n&&(i=e),d.open(s.extend({content:t,yes:i},n?{}:e))},confirm:function(t,e,i,n){var o="function"==typeof e;return o&&(n=i,i=e),d.open(s.extend({content:t,btn:c.btn,yes:i,btn2:n},o?{}:e))},msg:function(t,e,i){var n="function"==typeof e,o=c.config.skin,a=(o?o+" "+o+"-msg":"")||"layui-layer-msg",l=h.anim.length-1;return n&&(i=e),d.open(s.extend({content:t,time:3e3,shade:!1,skin:a,title:!1,closeBtn:!1,btn:!1,resize:!1,end:i},n&&!c.config.skin?{skin:a+" layui-layer-hui",anim:l}:function(){return e=e||{},(e.icon===-1||e.icon===r&&!c.config.skin)&&(e.skin=a+" "+(e.skin||"layui-layer-hui")),e}()))},load:function(t,e){return d.open(s.extend({type:3,icon:t||0,resize:!1,shade:.01},e))},tips:function(t,e,i){return d.open(s.extend({type:4,content:[t,e],closeBtn:!1,time:3e3,shade:!1,resize:!1,fixed:!1,maxWidth:210},i))}},p=function(t){var e=this;e.index=++d.index,e.config=s.extend({},e.config,c.config,t),document.body?e.creat():setTimeout(function(){e.creat()},50)};p.pt=p.prototype;var h=["layui-layer",".layui-layer-title",".layui-layer-main",".layui-layer-dialog","layui-layer-iframe","layui-layer-content","layui-layer-btn","layui-layer-close"];h.anim=["layer-anim","layer-anim-01","layer-anim-02","layer-anim-03","layer-anim-04","layer-anim-05","layer-anim-06"],p.pt.config={type:0,shade:.3,fixed:!0,move:h[1],title:"&#x4FE1;&#x606F;",offset:"auto",area:"auto",closeBtn:1,time:0,zIndex:19891014,maxWidth:360,anim:0,icon:-1,moveType:1,resize:!0,scrollbar:!0,tips:2},p.pt.vessel=function(t,e){var i=this,n=i.index,o=i.config,a=o.zIndex+n,r="object"==typeof o.title,l=o.maxmin&&(1===o.type||2===o.type),u=o.title?'<div class="layui-layer-title" style="'+(r?o.title[1]:"")+'">'+(r?o.title[0]:o.title)+"</div>":"";return o.zIndex=a,e([o.shade?'<div class="layui-layer-shade" id="layui-layer-shade'+n+'" times="'+n+'" style="'+("z-index:"+(a-1)+"; background-color:"+(o.shade[1]||"#000")+"; opacity:"+(o.shade[0]||o.shade)+"; filter:alpha(opacity="+(100*o.shade[0]||100*o.shade)+");")+'"></div>':"",'<div class="'+h[0]+(" layui-layer-"+c.type[o.type])+(0!=o.type&&2!=o.type||o.shade?"":" layui-layer-border")+" "+(o.skin||"")+'" id="'+h[0]+n+'" type="'+c.type[o.type]+'" times="'+n+'" showtime="'+o.time+'" conType="'+(t?"object":"string")+'" style="z-index: '+a+"; width:"+o.area[0]+";height:"+o.area[1]+(o.fixed?"":";position:absolute;")+'">'+(t&&2!=o.type?"":u)+'<div id="'+(o.id||"")+'" class="layui-layer-content'+(0==o.type&&o.icon!==-1?" layui-layer-padding":"")+(3==o.type?" layui-layer-loading"+o.icon:"")+'">'+(0==o.type&&o.icon!==-1?'<i class="layui-layer-ico layui-layer-ico'+o.icon+'"></i>':"")+(1==o.type&&t?"":o.content||"")+'</div><span class="layui-layer-setwin">'+function(){var t=l?'<a class="layui-layer-min" href="javascript:;"><cite></cite></a><a class="layui-layer-ico layui-layer-max" href="javascript:;"></a>':"";return o.closeBtn&&(t+='<a class="layui-layer-ico '+h[7]+" "+h[7]+(o.title?o.closeBtn:4==o.type?"1":"2")+'" href="javascript:;"></a>'),t}()+"</span>"+(o.btn?function(){var t="";"string"==typeof o.btn&&(o.btn=[o.btn]);for(var e=0,i=o.btn.length;e<i;e++)t+='<a class="'+h[6]+e+'">'+o.btn[e]+"</a>";return'<div class="'+h[6]+" layui-layer-btn-"+(o.btnAlign||"")+'">'+t+"</div>"}():"")+(o.resize?'<span class="layui-layer-resize"></span>':"")+"</div>"],u,s('<div class="layui-layer-move"></div>')),i},p.pt.creat=function(){var t=this,e=t.config,i=t.index,n=e.content,o="object"==typeof n,a=s("body");if(!s("#"+e.id)[0]){switch("string"==typeof e.area&&(e.area="auto"===e.area?["",""]:[e.area,""]),e.shift&&(e.anim=e.shift),6==d.ie&&(e.fixed=!1),e.type){case 0:e.btn="btn"in e?e.btn:c.btn[0],d.closeAll("dialog");break;case 2:var n=e.content=o?e.content:[e.content||"http://layer.layui.com","auto"];e.content='<iframe scrolling="'+(e.content[1]||"auto")+'" allowtransparency="true" id="'+h[4]+i+'" name="'+h[4]+i+'" onload="this.className=\'\';" class="layui-layer-load" frameborder="0" src="'+e.content[0]+'"></iframe>';break;case 3:delete e.title,delete e.closeBtn,e.icon===-1&&0===e.icon,d.closeAll("loading");break;case 4:o||(e.content=[e.content,"body"]),e.follow=e.content[1],e.content=e.content[0]+'<i class="layui-layer-TipsG"></i>',delete e.title,e.tips="object"==typeof e.tips?e.tips:[e.tips,!0],e.tipsMore||d.closeAll("tips")}t.vessel(o,function(r,l,u){a.append(r[0]),o?function(){2==e.type||4==e.type?function(){s("body").append(r[1])}():function(){n.parents("."+h[0])[0]||(n.data("display",n.css("display")).show().addClass("layui-layer-wrap").wrap(r[1]),s("#"+h[0]+i).find("."+h[5]).before(l))}()}():a.append(r[1]),s(".layui-layer-move")[0]||a.append(c.moveElem=u),t.layero=s("#"+h[0]+i),e.scrollbar||h.html.css("overflow","hidden").attr("layer-full",i)}).auto(i),2==e.type&&6==d.ie&&t.layero.find("iframe").attr("src",n[0]),4==e.type?t.tips():t.offset(),e.fixed&&l.on("resize",function(){t.offset(),(/^\d+%$/.test(e.area[0])||/^\d+%$/.test(e.area[1]))&&t.auto(i),4==e.type&&t.tips()}),e.time<=0||setTimeout(function(){d.close(t.index)},e.time),t.move().callback(),h.anim[e.anim]&&t.layero.addClass(h.anim[e.anim]).data("anim",!0)}},p.pt.auto=function(t){function e(t){t=o.find(t),t.height(a[1]-r-u-2*(0|parseFloat(t.css("padding"))))}var i=this,n=i.config,o=s("#"+h[0]+t);""===n.area[0]&&n.maxWidth>0&&(d.ie&&d.ie<8&&n.btn&&o.width(o.innerWidth()),o.outerWidth()>n.maxWidth&&o.width(n.maxWidth));var a=[o.innerWidth(),o.innerHeight()],r=o.find(h[1]).outerHeight()||0,u=o.find("."+h[6]).outerHeight()||0;switch(n.type){case 2:e("iframe");break;default:""===n.area[1]?n.fixed&&a[1]>=l.height()&&(a[1]=l.height(),e("."+h[5])):e("."+h[5])}return i},p.pt.offset=function(){var t=this,e=t.config,i=t.layero,n=[i.outerWidth(),i.outerHeight()],o="object"==typeof e.offset;t.offsetTop=(l.height()-n[1])/2,t.offsetLeft=(l.width()-n[0])/2,o?(t.offsetTop=e.offset[0],t.offsetLeft=e.offset[1]||t.offsetLeft):"auto"!==e.offset&&("t"===e.offset?t.offsetTop=0:"r"===e.offset?t.offsetLeft=l.width()-n[0]:"b"===e.offset?t.offsetTop=l.height()-n[1]:"l"===e.offset?t.offsetLeft=0:"lt"===e.offset?(t.offsetTop=0,t.offsetLeft=0):"lb"===e.offset?(t.offsetTop=l.height()-n[1],t.offsetLeft=0):"rt"===e.offset?(t.offsetTop=0,t.offsetLeft=l.width()-n[0]):"rb"===e.offset?(t.offsetTop=l.height()-n[1],t.offsetLeft=l.width()-n[0]):t.offsetTop=e.offset),e.fixed||(t.offsetTop=/%$/.test(t.offsetTop)?l.height()*parseFloat(t.offsetTop)/100:parseFloat(t.offsetTop),t.offsetLeft=/%$/.test(t.offsetLeft)?l.width()*parseFloat(t.offsetLeft)/100:parseFloat(t.offsetLeft),t.offsetTop+=l.scrollTop(),t.offsetLeft+=l.scrollLeft()),i.attr("minLeft")&&(t.offsetTop=l.height()-(i.find(h[1]).outerHeight()||0),t.offsetLeft=i.css("left")),i.css({top:t.offsetTop,left:t.offsetLeft})},p.pt.tips=function(){var t=this,e=t.config,i=t.layero,n=[i.outerWidth(),i.outerHeight()],o=s(e.follow);o[0]||(o=s("body"));var a={width:o.outerWidth(),height:o.outerHeight(),top:o.offset().top,left:o.offset().left},r=i.find(".layui-layer-TipsG"),u=e.tips[0];e.tips[1]||r.remove(),a.autoLeft=function(){a.left+n[0]-l.width()>0?(a.tipLeft=a.left+a.width-n[0],r.css({right:12,left:"auto"})):a.tipLeft=a.left},a.where=[function(){a.autoLeft(),a.tipTop=a.top-n[1]-10,r.removeClass("layui-layer-TipsB").addClass("layui-layer-TipsT").css("border-right-color",e.tips[1])},function(){a.tipLeft=a.left+a.width+10,a.tipTop=a.top,r.removeClass("layui-layer-TipsL").addClass("layui-layer-TipsR").css("border-bottom-color",e.tips[1])},function(){a.autoLeft(),a.tipTop=a.top+a.height+10,r.removeClass("layui-layer-TipsT").addClass("layui-layer-TipsB").css("border-right-color",e.tips[1])},function(){a.tipLeft=a.left-n[0]-10,a.tipTop=a.top,r.removeClass("layui-layer-TipsR").addClass("layui-layer-TipsL").css("border-bottom-color",e.tips[1])}],a.where[u-1](),1===u?a.top-(l.scrollTop()+n[1]+16)<0&&a.where[2]():2===u?l.width()-(a.left+a.width+n[0]+16)>0||a.where[3]():3===u?a.top-l.scrollTop()+a.height+n[1]+16-l.height()>0&&a.where[0]():4===u&&n[0]+16-a.left>0&&a.where[1](),i.find("."+h[5]).css({"background-color":e.tips[1],"padding-right":e.closeBtn?"30px":""}),i.css({left:a.tipLeft-(e.fixed?l.scrollLeft():0),top:a.tipTop-(e.fixed?l.scrollTop():0)})},p.pt.move=function(){var t=this,e=t.config,i=s(document),n=t.layero,o=n.find(e.move),a=n.find(".layui-layer-resize"),r={};return e.move&&o.css("cursor","move"),o.on("mousedown",function(t){t.preventDefault(),e.move&&(r.moveStart=!0,r.offset=[t.clientX-parseFloat(n.css("left")),t.clientY-parseFloat(n.css("top"))],c.moveElem.css("cursor","move").show())}),a.on("mousedown",function(t){t.preventDefault(),r.resizeStart=!0,r.offset=[t.clientX,t.clientY],r.area=[n.outerWidth(),n.outerHeight()],c.moveElem.css("cursor","se-resize").show()}),i.on("mousemove",function(i){if(r.moveStart){var o=i.clientX-r.offset[0],a=i.clientY-r.offset[1],s="fixed"===n.css("position");if(i.preventDefault(),r.stX=s?0:l.scrollLeft(),r.stY=s?0:l.scrollTop(),!e.moveOut){var u=l.width()-n.outerWidth()+r.stX,c=l.height()-n.outerHeight()+r.stY;o<r.stX&&(o=r.stX),o>u&&(o=u),a<r.stY&&(a=r.stY),a>c&&(a=c)}n.css({left:o,top:a})}if(e.resize&&r.resizeStart){var o=i.clientX-r.offset[0],a=i.clientY-r.offset[1];i.preventDefault(),d.style(t.index,{width:r.area[0]+o,height:r.area[1]+a}),r.isResize=!0}}).on("mouseup",function(t){r.moveStart&&(delete r.moveStart,c.moveElem.hide(),e.moveEnd&&e.moveEnd()),r.resizeStart&&(delete r.resizeStart,c.moveElem.hide())}),t},p.pt.callback=function(){function t(){var t=n.cancel&&n.cancel(e.index,i);t===!1||d.close(e.index)}var e=this,i=e.layero,n=e.config;e.openLayer(),n.success&&(2==n.type?i.find("iframe").on("load",function(){n.success(i,e.index)}):n.success(i,e.index)),6==d.ie&&e.IE6(i),i.find("."+h[6]).children("a").on("click",function(){var t=s(this).index();if(0===t)n.yes?n.yes(e.index,i):n.btn1?n.btn1(e.index,i):d.close(e.index);else{var o=n["btn"+(t+1)]&&n["btn"+(t+1)](e.index,i);o===!1||d.close(e.index)}}),i.find("."+h[7]).on("click",t),n.shadeClose&&s("#layui-layer-shade"+e.index).on("click",function(){d.close(e.index)}),i.find(".layui-layer-min").on("click",function(){var t=n.min&&n.min(i);t===!1||d.min(e.index,n)}),i.find(".layui-layer-max").on("click",function(){s(this).hasClass("layui-layer-maxmin")?(d.restore(e.index),n.restore&&n.restore(i)):(d.full(e.index,n),setTimeout(function(){n.full&&n.full(i)},100))}),n.end&&(c.end[e.index]=n.end)},c.reselect=function(){s.each(s("select"),function(t,e){var i=s(this);i.parents("."+h[0])[0]||1==i.attr("layer")&&s("."+h[0]).length<1&&i.removeAttr("layer").show(),i=null})},p.pt.IE6=function(t){s("select").each(function(t,e){var i=s(this);i.parents("."+h[0])[0]||"none"===i.css("display")||i.attr({layer:"1"}).hide(),i=null})},p.pt.openLayer=function(){var t=this;d.zIndex=t.config.zIndex,d.setTop=function(t){var e=function(){d.zIndex++,t.css("z-index",d.zIndex+1)};return d.zIndex=parseInt(t[0].style.zIndex),t.on("mousedown",e),d.zIndex}},c.record=function(t){var e=[t.width(),t.height(),t.position().top,t.position().left+parseFloat(t.css("margin-left"))];t.find(".layui-layer-max").addClass("layui-layer-maxmin"),t.attr({area:e})},c.rescollbar=function(t){h.html.attr("layer-full")==t&&(h.html[0].style.removeProperty?h.html[0].style.removeProperty("overflow"):h.html[0].style.removeAttribute("overflow"),h.html.removeAttr("layer-full"))},a.layer=d,d.getChildFrame=function(t,e){return e=e||s("."+h[4]).attr("times"),s("#"+h[0]+e).find("iframe").contents().find(t)},d.getFrameIndex=function(t){return s("#"+t).parents("."+h[4]).attr("times")},d.iframeAuto=function(t){if(t){var e=d.getChildFrame("html",t).outerHeight(),i=s("#"+h[0]+t),n=i.find(h[1]).outerHeight()||0,o=i.find("."+h[6]).outerHeight()||0;i.css({height:e+n+o}),i.find("iframe").css({height:e})}},d.iframeSrc=function(t,e){s("#"+h[0]+t).find("iframe").attr("src",e)},d.style=function(t,e,i){var n=s("#"+h[0]+t),o=n.find(".layui-layer-content"),a=n.attr("type"),r=n.find(h[1]).outerHeight()||0,l=n.find("."+h[6]).outerHeight()||0;n.attr("minLeft"),a!==c.type[3]&&a!==c.type[4]&&(i||(parseFloat(e.width)<=260&&(e.width=260),parseFloat(e.height)-r-l<=64&&(e.height=64+r+l)),n.css(e),l=n.find("."+h[6]).outerHeight(),a===c.type[2]?n.find("iframe").css({height:parseFloat(e.height)-r-l}):o.css({height:parseFloat(e.height)-r-l-parseFloat(o.css("padding-top"))-parseFloat(o.css("padding-bottom"))}))},d.min=function(t,e){var i=s("#"+h[0]+t),n=i.find(h[1]).outerHeight()||0,o=i.attr("minLeft")||181*c.minIndex+"px",a=i.css("position");c.record(i),c.minLeft[0]&&(o=c.minLeft[0],c.minLeft.shift()),i.attr("position",a),d.style(t,{width:180,height:n,left:o,top:l.height()-n,position:"fixed",overflow:"hidden"},!0),i.find(".layui-layer-min").hide(),"page"===i.attr("type")&&i.find(h[4]).hide(),c.rescollbar(t),i.attr("minLeft")||c.minIndex++,i.attr("minLeft",o)},d.restore=function(t){var e=s("#"+h[0]+t),i=e.attr("area").split(",");e.attr("type"),d.style(t,{width:parseFloat(i[0]),height:parseFloat(i[1]),top:parseFloat(i[2]),left:parseFloat(i[3]),position:e.attr("position"),overflow:"visible"},!0),e.find(".layui-layer-max").removeClass("layui-layer-maxmin"),e.find(".layui-layer-min").show(),"page"===e.attr("type")&&e.find(h[4]).show(),c.rescollbar(t)},d.full=function(t){var e,i=s("#"+h[0]+t);c.record(i),h.html.attr("layer-full")||h.html.css("overflow","hidden").attr("layer-full",t),clearTimeout(e),e=setTimeout(function(){var e="fixed"===i.css("position");d.style(t,{top:e?0:l.scrollTop(),left:e?0:l.scrollLeft(),width:l.width(),height:l.height()},!0),i.find(".layui-layer-min").hide()},100)},d.title=function(t,e){var i=s("#"+h[0]+(e||d.index)).find(h[1]);i.html(t)},d.close=function(t){var e=s("#"+h[0]+t),i=e.attr("type"),n="layer-anim-close";if(e[0]){var o="layui-layer-wrap",a=function(){if(i===c.type[1]&&"object"===e.attr("conType")){e.children(":not(."+h[5]+")").remove();for(var n=e.find("."+o),a=0;a<2;a++)n.unwrap();n.css("display",n.data("display")).removeClass(o)}else{if(i===c.type[2])try{var r=s("#"+h[4]+t)[0];r.contentWindow.document.write(""),r.contentWindow.close(),e.find("."+h[5])[0].removeChild(r)}catch(t){}e[0].innerHTML="",e.remove()}"function"==typeof c.end[t]&&c.end[t](),delete c.end[t]};e.data("anim")&&e.addClass(n),s("#layui-layer-moves, #layui-layer-shade"+t).remove(),6==d.ie&&c.reselect(),c.rescollbar(t),e.attr("minLeft")&&(c.minIndex--,c.minLeft.push(e.attr("minLeft"))),setTimeout(function(){a()},d.ie&&d.ie<10||!e.data("anim")?0:200)}},d.closeAll=function(t){s.each(s("."+h[0]),function(){var e=s(this),i=t?e.attr("type")===t:1;i&&d.close(e.attr("times")),i=null})};var f=d.cache||{},m=function(t){return f.skin?" "+f.skin+" "+f.skin+"-"+t:""};d.prompt=function(t,e){var i="";if(t=t||{},"function"==typeof t&&(e=t),t.area){var n=t.area;i='style="width: '+n[0]+"; height: "+n[1]+';"',delete t.area}var o,a=2==t.formType?'<textarea class="layui-layer-input"'+i+">"+(t.value||"")+"</textarea>":function(){return'<input type="'+(1==t.formType?"password":"text")+'" class="layui-layer-input" value="'+(t.value||"")+'">'}();return d.open(s.extend({type:1,btn:["&#x786E;&#x5B9A;","&#x53D6;&#x6D88;"],content:a,skin:"layui-layer-prompt"+m("prompt"),maxWidth:l.width(),success:function(t){o=t.find(".layui-layer-input"),o.focus()},resize:!1,yes:function(i){var n=o.val();""===n?o.focus():n.length>(t.maxlength||500)?d.tips("&#x6700;&#x591A;&#x8F93;&#x5165;"+(t.maxlength||500)+"&#x4E2A;&#x5B57;&#x6570;",o,{tips:1}):e&&e(n,i,o)}},t))},d.tab=function(t){t=t||{};var e=t.tab||{};return d.open(s.extend({type:1,skin:"layui-layer-tab"+m("tab"),resize:!1,title:function(){var t=e.length,i=1,n="";if(t>0)for(n='<span class="layui-layer-tabnow">'+e[0].title+"</span>";i<t;i++)n+="<span>"+e[i].title+"</span>";return n}(),content:'<ul class="layui-layer-tabmain">'+function(){var t=e.length,i=1,n="";if(t>0)for(n='<li class="layui-layer-tabli xubox_tab_layer">'+(e[0].content||"no content")+"</li>";i<t;i++)n+='<li class="layui-layer-tabli">'+(e[i].content||"no  content")+"</li>";return n}()+"</ul>",success:function(e){var i=e.find(".layui-layer-title").children(),n=e.find(".layui-layer-tabmain").children();i.on("mousedown",function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0;var i=s(this),o=i.index();i.addClass("layui-layer-tabnow").siblings().removeClass("layui-layer-tabnow"),n.eq(o).show().siblings().hide(),"function"==typeof t.change&&t.change(o)})}},t))},d.photos=function(t,e,i){function n(t,e,i){var n=new Image;return n.src=t,n.complete?e(n):(n.onload=function(){n.onload=null,e(n)},void(n.onerror=function(t){n.onerror=null,i(t)}))}var o={};if(t=t||{},t.photos){var r=t.photos.constructor===Object,l=r?t.photos:{},u=l.data||[],c=l.start||0;if(o.imgIndex=(0|c)+1,t.img=t.img||"img",r){if(0===u.length)return d.msg("&#x6CA1;&#x6709;&#x56FE;&#x7247;")}else{var p=s(t.photos),h=function(){u=[],p.find(t.img).each(function(t){var e=s(this);e.attr("layer-index",t),u.push({alt:e.attr("alt"),pid:e.attr("layer-pid"),src:e.attr("layer-src")||e.attr("src"),thumb:e.attr("src")})})};if(h(),0===u.length)return;if(e||p.on("click",t.img,function(){var e=s(this),i=e.attr("layer-index");d.photos(s.extend(t,{photos:{start:i,data:u,tab:t.tab},full:t.full}),!0),h()}),!e)return}o.imgprev=function(t){o.imgIndex--,o.imgIndex<1&&(o.imgIndex=u.length),o.tabimg(t)},o.imgnext=function(t,e){o.imgIndex++,o.imgIndex>u.length&&(o.imgIndex=1,e)||o.tabimg(t)},o.keyup=function(t){if(!o.end){var e=t.keyCode;t.preventDefault(),37===e?o.imgprev(!0):39===e?o.imgnext(!0):27===e&&d.close(o.index)}},o.tabimg=function(e){u.length<=1||(l.start=o.imgIndex-1,d.close(o.index),d.photos(t,!0,e))},o.event=function(){o.bigimg.hover(function(){o.imgsee.show()},function(){o.imgsee.hide()}),o.bigimg.find(".layui-layer-imgprev").on("click",function(t){t.preventDefault(),o.imgprev()}),o.bigimg.find(".layui-layer-imgnext").on("click",function(t){t.preventDefault(),o.imgnext()}),s(document).on("keyup",o.keyup)},o.loadi=d.load(1,{shade:!("shade"in t)&&.9,scrollbar:!1}),n(u[c].src,function(e){d.close(o.loadi),o.index=d.open(s.extend({type:1,area:function(){var i=[e.width,e.height],n=[s(a).width()-100,s(a).height()-100];if(!t.full&&(i[0]>n[0]||i[1]>n[1])){var o=[i[0]/n[0],i[1]/n[1]];o[0]>o[1]?(i[0]=i[0]/o[0],i[1]=i[1]/o[0]):o[0]<o[1]&&(i[0]=i[0]/o[1],i[1]=i[1]/o[1])}return[i[0]+"px",i[1]+"px"]}(),title:!1,shade:.9,shadeClose:!0,closeBtn:!1,move:".layui-layer-phimg img",moveType:1,scrollbar:!1,moveOut:!0,anim:5*Math.random()|0,skin:"layui-layer-photos"+m("photos"),content:'<div class="layui-layer-phimg"><img src="'+u[c].src+'" alt="'+(u[c].alt||"")+'" layer-pid="'+u[c].pid+'"><div class="layui-layer-imgsee">'+(u.length>1?'<span class="layui-layer-imguide"><a href="javascript:;" class="layui-layer-iconext layui-layer-imgprev"></a><a href="javascript:;" class="layui-layer-iconext layui-layer-imgnext"></a></span>':"")+'<div class="layui-layer-imgbar" style="display:'+(i?"block":"")+'"><span class="layui-layer-imgtit"><a href="javascript:;">'+(u[c].alt||"")+"</a><em>"+o.imgIndex+"/"+u.length+"</em></span></div></div></div>",success:function(e,i){o.bigimg=e.find(".layui-layer-phimg"),o.imgsee=e.find(".layui-layer-imguide,.layui-layer-imgbar"),o.event(e),t.tab&&t.tab(u[c],e)},end:function(){o.end=!0,s(document).off("keyup",o.keyup)}},t))},function(){d.close(o.loadi),d.msg("&#x5F53;&#x524D;&#x56FE;&#x7247;&#x5730;&#x5740;&#x5F02;&#x5E38;<br>&#x662F;&#x5426;&#x7EE7;&#x7EED;&#x67E5;&#x770B;&#x4E0B;&#x4E00;&#x5F20;&#xFF1F;",{time:3e4,btn:["&#x4E0B;&#x4E00;&#x5F20;","&#x4E0D;&#x770B;&#x4E86;"],yes:function(){u.length>1&&o.imgnext(!0,!0)}})})}},c.run=function(t){s=t,l=s(a),h.html=s("html"),d.open=function(t){var e=new p(t);return e.index}},a.layui&&layui.define?(d.ready(),layui.define("jquery",function(t){d.path=layui.cache.dir,c.run(layui.jquery),a.layer=d,t("layer",d)})):(n=[i(1)],o=function(){return c.run(a.jQuery),d}.apply(e,n),!(void 0!==o&&(t.exports=o)))}(window)},function(t,e,i){var n=i(9);"string"==typeof n&&(n=[[t.id,n,""]]);i(16)(n,{});n.locals&&(t.exports=n.locals)},function(t,e,i){e=t.exports=i(10)(),e.push([t.id,'.layui-layer-imgbar,.layui-layer-imgtit a,.layui-layer-tab .layui-layer-title span,.layui-layer-title{text-overflow:ellipsis;white-space:nowrap}html{background-image:none;background-attachment:fixed}html #layuicss-skinlayercss{display:none;position:absolute;width:1989px}.layui-layer,.layui-layer-shade{position:fixed;_position:absolute;pointer-events:auto}.layui-layer-shade{top:0;left:0;width:100%;height:100%;_height:expression(document.body.offsetHeight+"px")}.layui-layer{-webkit-overflow-scrolling:touch;top:150px;left:0;margin:0;padding:0;background-color:#fff;-webkit-background-clip:content;box-shadow:1px 1px 50px rgba(0,0,0,.3)}.layui-layer-close{position:absolute}.layui-layer-content{position:relative}.layui-layer-border{border:1px solid #b2b2b2;border:1px solid rgba(0,0,0,.1);box-shadow:1px 1px 5px rgba(0,0,0,.2)}.layui-layer-load{background:url('+i(11)+") 50% no-repeat #eee}.layui-layer-ico{background:url("+i(12)+") no-repeat}.layui-layer-btn a,.layui-layer-dialog .layui-layer-ico,.layui-layer-setwin a{display:inline-block;*display:inline;*zoom:1;vertical-align:top}.layui-layer-move{display:none;position:fixed;*position:absolute;left:0;top:0;width:100%;height:100%;cursor:move;opacity:0;filter:alpha(opacity=0);background-color:#fff;z-index:2147483647}.layui-layer-resize{position:absolute;width:15px;height:15px;right:0;bottom:0;cursor:se-resize}.layui-layer{border-radius:2px;animation-fill-mode:both;animation-duration:.3s}@keyframes bounceIn{0%{opacity:0;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.layer-anim{animation-name:bounceIn}@keyframes zoomInDown{0%{opacity:0;transform:scale(.1) translateY(-2000px);animation-timing-function:ease-in-out}60%{opacity:1;transform:scale(.475) translateY(60px);animation-timing-function:ease-out}}.layer-anim-01{animation-name:zoomInDown}@keyframes fadeInUpBig{0%{opacity:0;transform:translateY(2000px)}to{opacity:1;transform:translateY(0)}}.layer-anim-02{animation-name:fadeInUpBig}@keyframes zoomInLeft{0%{opacity:0;transform:scale(.1) translateX(-2000px);animation-timing-function:ease-in-out}60%{opacity:1;transform:scale(.475) translateX(48px);animation-timing-function:ease-out}}.layer-anim-03{animation-name:zoomInLeft}@keyframes rollIn{0%{opacity:0;transform:translateX(-100%) rotate(-120deg)}to{opacity:1;transform:translateX(0) rotate(0)}}.layer-anim-04{animation-name:rollIn}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.layer-anim-05{animation-name:fadeIn}@keyframes shake{0%,to{transform:translateX(0)}10%,30%,50%,70%,90%{transform:translateX(-10px)}20%,40%,60%,80%{transform:translateX(10px)}}.layer-anim-06{animation-name:shake}@keyframes bounceOut{to{opacity:0;transform:scale(.7)}30%{transform:scale(1.05)}0%{transform:scale(1)}}.layer-anim-close{animation-name:bounceOut;animation-duration:.2s}.layui-layer-title{padding:0 80px 0 20px;height:42px;line-height:42px;border-bottom:1px solid #eee;font-size:14px;color:#333;overflow:hidden;background-color:#f8f8f8;border-radius:2px 2px 0 0}.layui-layer-setwin{position:absolute;right:15px;*right:0;top:15px;font-size:0;line-height:normal}.layui-layer-setwin a{position:relative;width:16px;height:16px;margin-left:10px;font-size:12px;_overflow:hidden}.layui-layer-setwin .layui-layer-min cite{position:absolute;width:14px;height:2px;left:0;top:50%;margin-top:-1px;background-color:#2e2d3c;cursor:pointer;_overflow:hidden}.layui-layer-setwin .layui-layer-min:hover cite{background-color:#2d93ca}.layui-layer-setwin .layui-layer-max{background-position:-32px -40px}.layui-layer-setwin .layui-layer-max:hover{background-position:-16px -40px}.layui-layer-setwin .layui-layer-maxmin{background-position:-65px -40px}.layui-layer-setwin .layui-layer-maxmin:hover{background-position:-49px -40px}.layui-layer-setwin .layui-layer-close1{background-position:0 -40px;cursor:pointer}.layui-layer-setwin .layui-layer-close1:hover{opacity:.7}.layui-layer-setwin .layui-layer-close2{position:absolute;right:-28px;top:-28px;width:30px;height:30px;margin-left:0;background-position:-149px -31px;*right:-18px;_display:none}.layui-layer-setwin .layui-layer-close2:hover{background-position:-180px -31px}.layui-layer-btn{text-align:right;padding:0 10px 12px;pointer-events:auto;user-select:none;-webkit-user-select:none}.layui-layer-btn a{height:28px;line-height:28px;margin:0 6px;padding:0 15px;border:1px solid #dedede;background-color:#f1f1f1;color:#333;border-radius:2px;font-weight:400;cursor:pointer;text-decoration:none}.layui-layer-btn a:hover{opacity:.9;text-decoration:none}.layui-layer-btn a:active{opacity:.8}.layui-layer-btn .layui-layer-btn0{border-color:#4898d5;background-color:#2e8ded;color:#fff}.layui-layer-btn-l{text-align:left}.layui-layer-btn-c{text-align:center}.layui-layer-dialog{min-width:260px}.layui-layer-dialog .layui-layer-content{position:relative;padding:20px;line-height:24px;word-break:break-all;overflow:hidden;font-size:14px;overflow-x:hidden;overflow-y:auto}.layui-layer-dialog .layui-layer-content .layui-layer-ico{position:absolute;top:16px;left:15px;_left:-40px;width:30px;height:30px}.layui-layer-ico1{background-position:-30px 0}.layui-layer-ico2{background-position:-60px 0}.layui-layer-ico3{background-position:-90px 0}.layui-layer-ico4{background-position:-120px 0}.layui-layer-ico5{background-position:-150px 0}.layui-layer-ico6{background-position:-180px 0}.layui-layer-rim{border:6px solid #8d8d8d;border:6px solid rgba(0,0,0,.3);border-radius:5px;box-shadow:none}.layui-layer-msg{min-width:180px;border:1px solid #d3d4d3;box-shadow:none}.layui-layer-hui{min-width:100px;background-color:#000;filter:alpha(opacity=60);background-color:rgba(0,0,0,.6);color:#fff;border:none}.layui-layer-hui .layui-layer-content{padding:12px 25px;text-align:center}.layui-layer-dialog .layui-layer-padding{padding:20px 20px 20px 55px;text-align:left}.layui-layer-page .layui-layer-content{position:relative;overflow:auto}.layui-layer-iframe .layui-layer-btn,.layui-layer-page .layui-layer-btn{padding-top:10px}.layui-layer-nobg{background:0 0}.layui-layer-iframe iframe{display:block;width:100%}.layui-layer-loading{border-radius:100%;background:0 0;box-shadow:none;border:none}.layui-layer-loading .layui-layer-content{width:60px;height:24px;background:url("+i(13)+") no-repeat}.layui-layer-loading .layui-layer-loading1{width:37px;height:37px;background:url("+i(11)+") no-repeat}.layui-layer-ico16,.layui-layer-loading .layui-layer-loading2{width:32px;height:32px;background:url("+i(14)+") no-repeat}.layui-layer-tips{background:0 0;box-shadow:none;border:none}.layui-layer-tips .layui-layer-content{position:relative;line-height:22px;min-width:12px;padding:5px 10px;font-size:12px;_float:left;border-radius:2px;box-shadow:1px 1px 3px rgba(0,0,0,.2);background-color:#000;color:#fff}.layui-layer-tips .layui-layer-close{right:-2px;top:-1px}.layui-layer-tips i.layui-layer-TipsG{position:absolute;width:0;height:0;border:8px dashed transparent;*overflow:hidden}.layui-layer-tips i.layui-layer-TipsB,.layui-layer-tips i.layui-layer-TipsT{left:5px;border-right-style:solid;border-right-color:#000}.layui-layer-tips i.layui-layer-TipsT{bottom:-8px}.layui-layer-tips i.layui-layer-TipsB{top:-8px}.layui-layer-tips i.layui-layer-TipsL,.layui-layer-tips i.layui-layer-TipsR{top:1px;border-bottom-style:solid;border-bottom-color:#000}.layui-layer-tips i.layui-layer-TipsR{left:-8px}.layui-layer-tips i.layui-layer-TipsL{right:-8px}.layui-layer-lan[type=dialog]{min-width:280px}.layui-layer-lan .layui-layer-title{background:#4476a7;color:#fff;border:none}.layui-layer-lan .layui-layer-btn{padding:10px;text-align:right;border-top:1px solid #e9e7e7}.layui-layer-lan .layui-layer-btn a{background:#bbb5b5;border:none}.layui-layer-lan .layui-layer-btn .layui-layer-btn1{background:#c9c5c5}.layui-layer-molv .layui-layer-title{background:#009f95;color:#fff;border:none}.layui-layer-molv .layui-layer-btn a{background:#009f95}.layui-layer-molv .layui-layer-btn .layui-layer-btn1{background:#92b8b1}.layui-layer-iconext{background:url("+i(15)+") no-repeat}.layui-layer-prompt .layui-layer-input{display:block;width:220px;height:30px;margin:0 auto;line-height:30px;padding:0 5px;border:1px solid #ccc;box-shadow:inset 1px 1px 5px rgba(0,0,0,.1);color:#333}.layui-layer-prompt textarea.layui-layer-input{width:300px;height:100px;line-height:20px}.layui-layer-prompt .layui-layer-content{padding:20px}.layui-layer-prompt .layui-layer-btn{padding-top:0}.layui-layer-tab{box-shadow:1px 1px 50px rgba(0,0,0,.4)}.layui-layer-tab .layui-layer-title{padding-left:0;border-bottom:1px solid #ccc;background-color:#eee;overflow:visible}.layui-layer-tab .layui-layer-title span{position:relative;float:left;min-width:80px;max-width:260px;padding:0 20px;text-align:center;cursor:default;overflow:hidden}.layui-layer-tab .layui-layer-title span.layui-layer-tabnow{height:43px;border-left:1px solid #ccc;border-right:1px solid #ccc;background-color:#fff;z-index:10}.layui-layer-tab .layui-layer-title span:first-child{border-left:none}.layui-layer-tabmain{line-height:24px;clear:both}.layui-layer-tabmain .layui-layer-tabli{display:none}.layui-layer-tabmain .layui-layer-tabli.xubox_tab_layer{display:block}.xubox_tabclose{position:absolute;right:10px;top:5px;cursor:pointer}.layui-layer-photos{animation-duration:1s}.layui-layer-photos .layui-layer-content{overflow:hidden;text-align:center}.layui-layer-photos .layui-layer-phimg img{position:relative;width:100%;display:inline-block;*display:inline;*zoom:1;vertical-align:top}.layui-layer-imgbar,.layui-layer-imguide{display:none}.layui-layer-imgnext,.layui-layer-imgprev{position:absolute;top:50%;width:27px;_width:44px;height:44px;margin-top:-22px;outline:0;blr:expression(this.onFocus=this.blur())}.layui-layer-imgprev{left:10px;background-position:-5px -5px;_background-position:-70px -5px}.layui-layer-imgprev:hover{background-position:-33px -5px;_background-position:-120px -5px}.layui-layer-imgnext{right:10px;_right:8px;background-position:-5px -50px;_background-position:-70px -50px}.layui-layer-imgnext:hover{background-position:-33px -50px;_background-position:-120px -50px}.layui-layer-imgbar{position:absolute;left:0;bottom:0;width:100%;height:32px;line-height:32px;background-color:rgba(0,0,0,.8);background-color:#000\\9;filter:Alpha(opacity=80);color:#fff;overflow:hidden;font-size:0}.layui-layer-imgtit *{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:12px}.layui-layer-imgtit a{max-width:65%;overflow:hidden;color:#fff}.layui-layer-imgtit a:hover{color:#fff;text-decoration:underline}.layui-layer-imgtit em{padding-left:10px;font-style:normal}@media screen and (max-width:1100px){.layui-layer-iframe{overflow-y:auto;-webkit-overflow-scrolling:touch}}",""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},o=0;o<this.length;o++){var a=this[o][0];"number"==typeof a&&(n[a]=!0)}for(o=0;o<e.length;o++){var r=e[o];"number"==typeof r[0]&&n[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),t.push(r))}},t}},function(t,e){t.exports="data:image/gif;base64,R0lGODlhJQAlAJECAL3L2AYrTv///wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgACACwAAAAAJQAlAAACi5SPqcvtDyGYIFpF690i8xUw3qJBwUlSadmcLqYmGQu6KDIeM13beGzYWWy3DlB4IYaMk+Dso2RWkFCfLPcRvFbZxFLUDTt21BW56TyjRep1e20+i+eYMR145W2eefj+6VFmgTQi+ECVY8iGxcg35phGo/iDFwlTyXWphwlm1imGRdcnuqhHeop6UAAAIfkEBQoAAgAsEAACAAQACwAAAgWMj6nLXAAh+QQFCgACACwVAAUACgALAAACFZQvgRi92dyJcVJlLobUdi8x4bIhBQAh+QQFCgACACwXABEADAADAAACBYyPqcsFACH5BAUKAAIALBUAFQAKAAsAAAITlGKZwWoMHYxqtmplxlNT7ixGAQAh+QQFCgACACwQABgABAALAAACBYyPqctcACH5BAUKAAIALAUAFQAKAAsAAAIVlC+BGL3Z3IlxUmUuhtR2LzHhsiEFACH5BAUKAAIALAEAEQAMAAMAAAIFjI+pywUAIfkEBQoAAgAsBQAFAAoACwAAAhOUYJnAagwdjGq2amXGU1PuLEYBACH5BAUKAAIALBAAAgAEAAsAAAIFhI+py1wAIfkEBQoAAgAsFQAFAAoACwAAAhWUL4AIvdnciXFSZS6G1HYvMeGyIQUAIfkEBQoAAgAsFwARAAwAAwAAAgWEj6nLBQAh+QQFCgACACwVABUACgALAAACE5RgmcBqDB2MarZqZcZTU+4sRgEAIfkEBQoAAgAsEAAYAAQACwAAAgWEj6nLXAAh+QQFCgACACwFABUACgALAAACFZQvgAi92dyJcVJlLobUdi8x4bIhBQAh+QQFCgACACwBABEADAADAAACBYSPqcsFADs=";
  },function(t,e,i){t.exports=i.p+"sprites/551539f873d9ebe0792b120a9867d399.png"},function(t,e){t.exports="data:image/gif;base64,R0lGODlhPAAYALMPAPPJp/HYxfSwkf50Df5TD/+HAPe5bvqHR/twOviZavyrMu/m3f9EAP9mAP+ZAO7u7iH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wUmlnaHRzPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvcmlnaHRzLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcFJpZ2h0czpNYXJrZWQ9IkZhbHNlIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6QUNDRERBRjMxRTIwNjgxMTg4QzZERjVGQ0I0MDI1NDkiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NTlDMEI5MzU5RTY2MTFFMTkxRDY5NkVCMDBGOTBFRUYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NTlDMEI5MzQ5RTY2MTFFMTkxRDY5NkVCMDBGOTBFRUYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpENzU2N0YwMTMyMjA2ODExODhDNkRGNUZDQjQwMjU0OSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBQ0NEREFGMzFFMjA2ODExODhDNkRGNUZDQjQwMjU0OSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PgH//v38+/r5+Pf29fTz8vHw7+7t7Ovq6ejn5uXk4+Lh4N/e3dzb2tnY19bV1NPS0dDPzs3My8rJyMfGxcTDwsHAv769vLu6ubi3trW0s7KxsK+urayrqqmop6alpKOioaCfnp2cm5qZmJeWlZSTkpGQj46NjIuKiYiHhoWEg4KBgH9+fXx7enl4d3Z1dHNycXBvbm1sa2ppaGdmZWRjYmFgX15dXFtaWVhXVlVUU1JRUE9OTUxLSklIR0ZFRENCQUA/Pj08Ozo5ODc2NTQzMjEwLy4tLCsqKSgnJiUkIyIhIB8eHRwbGhkYFxYVFBMSERAPDg0MCwoJCAcGBQQDAgEAACH5BAkFAA8ALAAAAAA8ABgAAATy8MlJq7046827/2AWCEdpCkGodkHSvHCcLGttLUOsw0NqW4EDYog4+CyInbJxwAQMiqjCcMQkGNgsNmFxLZXcisFBLpMNGYF2zRBQAt9vFWCuOwCXAJt9FMSXbhILdnY0FQd7a00SB39Kiw9jhGZoFQSJWgQTjksTCpNmChaYa5ucOxOgdaOkWaanMamqZRaXrZoSObAvA56zDqKHrQyQjbtME5KqlW/DRwbHDcwBv1UTV5hhEnDHVcqEzF2J2te75BLflBsCCFoIgRU4pwOGFQCfZQp4PxUBSX8IrPELscDLkhkDB7bQxQthwocQI0rMEAEAIfkECQUADwAsAAAAADwAGAAABOjwyUmrvTjrzbv/ILcAiWCUQKh+y9G88DsIa40JcQ4ji30JCIZQeAhcAgOdMvEYKZ5PQA8UHFoZtEpSuVQ4vmCHwuhJXK+EqcTA5YbfYrUmcD4jKNt2rAB/GzoHdWdTAXo6fXByGASCV1k4hjADiG8pG41XTA9skS98lGB/l5hDmgmdnqChHIykWBKQnZOqDpYaVaRkAKgvtA6KFwCudxO8DZ+UCh64grYPp7yqwBgLzFYEWRNIvAlecGMhAq1DCGQVu7JNBn7THQDvAObBeVwJ7T4gLW2i+P0PAQkOCBQoxZ/BgwgTYogAACH5BAkFAA8ALAAAAAA8ABgAAATV8MlJq7046827/2AojmMgHE2aIslCckAcb8Kg3umQvFhCMEAgYXcR4HCFpEJhCPAkiKAUiLAEbMdGwcHtcg28w3R8qKCyA6/aASABxvC2JJBNrdcuURQ+rUqMWVt3XmAhC3xweWdHg2oKIm+IU3KLOI1qkJKTEpU3l14iAZpSTg+dKp9cjyKjQRMGdYKXhSFio2VzdQ2ppSEBP5IEvQ9YR7J3tCICmgIVALrHhE+/cMIXCboDxwpy0z5BQ8POxUcD3U88CwnkKQni6E8yMXnw9fb3+BURACH5BAkFAA8ALAAAAAA8ABgAAATe8MlJq7046827/2AojqQUCEeaJkC5CUgcJ0G2JE2u60jrVgICY0gcIhaXQ25QaDp1vt8jUKwaLbhGwcHtcgeNQe23EFqrAkogt/W6cwlp4mwlICW4gXvvyI1LZnRFaRJgfHtghCRUglUIJjmHbgUNBy4AjY4SAGGSXpSWJZiZRI8PnHqeXKAujKQMpmsNqquVP4GZioa0iT8Hrwx/Sqmefj8BuHRxE5xanmChPwKZRxVKznxgDX8/AAh00RQL18S1YYpSDzffpVEXAjvxB9zpiwnaOQfo9fz9/v8ApUQAACH5BAkFAA8ALAAAAAA8ABgAAATO8MlJq7046827/2AojmS1AIkhJEBQasFBMDRDHC62JE3v97iXJVEr1hKThUHBdBQGv99gIZwIjFiG4AFweL/eQtSHqD4Cs2yR0AW7xeOGoXpQYwvuPHQ8FabtNA15g3ENWyUBgEUDg3mFBy8AijV4jWB7UZAlkpMMlZZemD+aJImdjKBej0KdDIKpDoWHJXWdn42iPzmIrQagcGOkL0SKSG15wFF9ZgJ/WLMBvpeFCLtmMVhBOjxxB1RmJgDiAN8bAQkH6Qcs4O3u7/Dx4BEAIfkECQUADwAsAAAAADwAGAAABMrwyUmrvTjrzbv/YCiOV5AgKCosZIsFCCPPc5KZQ6M3QxK4lgWBRuMVFEgDS5LYOXc24CRGlBUc2CwW8BA8vw2BtFuVDbRoByAHdg6WrmG1kU63v9EWoMy41rVsdzoDQAllBH9oBYJOPy2GVYiJWYuMOlyPh5OUlpcuApqbDpWWjiQBfH6TgYxSVER0m50NeS2gZap1BrOmLpBVuVpcTYy1QLdzuQamAqxuYmMTMGUJcBYmeL3REgAJ3gkC2hgLAOUA1tvp6uvs7R8RACH5BAkFAA8ALAAAAAA8ABgAAATs8MlJq7046827/2AojpmQICgqBGSLCQgjz3OyZEFy7LvgXoDZoEAsDBoyxGWRaDifzgHgNwkQGA2HdqstyBKWA3TsZFEPDAJ37RjIzBIBmTy4uQKyAnuNPEwWR3NjPi4CWHtrXgQTcoJjAz8xA4hrbxJijmNwIzF6lFtXUw+YmU+iJJ2foAyipKUNp5wMk6oOV2aupZsihlmqioyvUT94DJ6USEoSAcINYJGHlF6sFE2lA7sjxQ3HXNN+FAu5ZIRUAlcEtF1IDAh2FQaC2FQUATE0NOVACYENAyv0LMCgQeBAtoAIEypcyLDhhAgAIfkECQUADwAsAAAAADwAGAAABODwyUmrvTjrzbv/YCiOWiAgTJoiSUC+V0KodEokZWIIugtPAYNCUSgMZjWV4BI4NJ7QxsH3Mjiu2OsgqaJKFoOoeLB4AbJoR4PLQFQQ4rh7tEin2QyqIM5fiqx2WVtcfg9hfGMjCoFZBWxzC4h8Xh6MaI8SAJJxACKWWZgPmptRnSGLn45ccwGkUWUhgJaDSTgSh6QDIwGfDkhJeq4Ntn+zbAQUYLmwI7Joa2ymQLhxA5QiAKhXBdBcBxcLcHEHzD+Zv0kEhRcACQfvCdLmFAEytdfzZgD7AOX5/wADCrwQAQAh+QQJBQAPACwAAAAAPAAYAAAE6fDJSau9OOvNu/8gFiQkKSxh+gkE474uEqj0tSBw/gq1twCKYBCAOuiOhJllkRg0no0BDxRQOK5YhyJx7BIsAKj4ifgsrNlsodtNUBbOsdjgMaTvA7buOznI5UoaC3eELXowSgF/cm4bAIR3DYcwUwKLYwMcdpBZkpMujQaXY5qcnZ+gEgmjYhyPpleen42WrFEcg7AOqC4AEoq2Bx1onGu8FAi2vriwvAzCE2Gj0B1VhApGqEkVAnFyByhmm1gGKDifUxULfmN0PerZbATLGD8A9+8ZLF0y+f4PAhAIFJgg0L+DCBMqrBABACH5BAkFAA8ALAAAAAA8ABgAAATz8MlJq7046827/2AWCEhpCkGodkHCvHCcpGtdBUSswwRt3waFUGHwVRC7JAOBaR2eh9nG4KhaqwaLS5lMaBvgMNiLAVzPDgAlwOUaBeJ4Q3BZoNGLiaCtpEsWcnJGElR3V1kSSHw7TBIJgXFkFAqGVwoTi0oTA5BiAxaVZ5iZOxOdcaChVqOkMaanYRaUqpcSOa0vBJuwDZ8VhaGID4q4jQ+PsJITAaoOPlu4kgG8g4TBa7gvRsiQyr+GwhMHuAcWBpDhFwCzVQpqFgu3iwR5FgAHYgfvP2vEXAj7+K1YMI7LgXoCf7SQx4CAlIQQI0qcmCECACH5BAkFAA8ALAAAAAA8ABgAAATe8MlJq7046827/2AXACQZnuCSEEzrEkmAzpjAunhLCDRmKI5g0LC4BHJIl+wRSByeh1hKSBUWKYtbMkdQNb7gb+IDrFIVlcR2iwi7GzwOwGwGTI7r5Pu91NDpEwJ5SAR7bmMaC39mVweDOYZuAxsBi1VLCI84kW6UllSYmi6cYZ6fQaGiDKRfkxunQRNqqoWkiBoGpwaBqi2sfRmKn1cPWb21hreUZWYKwA+zogkGhrsguVVEF5maCBIAB2EHdicLAecBxBYL3HkI6j0zgmvK8T1NWgwwz/b9/v8AMUQAACH5BAkFAA8ALAAAAAA8ABgAAATY8MlJq7046827/+AXACQQhCi4CATjvoSwpFww2nMWtG/vEieaZQFwGI8ORbCy4Pl6hMZhmlimFMiswypBPKGNsDicoBm02pxE8IWN3w0BaoHWGijOLxzO5RTrWRMBbT97b2UgWIBIQQmEDIZvAyGKi0aNj5FvlJZHmISaYyFnnVtrmaENkyCknRMAj1GhiB90nXcTeU+pfRytgGoPjoSyhrQqlWgATLo+xW+4NH9ZCsGCzT5vB8tCEkQG4Aa9EwtehAjW3TQLCdgJ6erdAgn0CXLx+Pn6+xwRACH5BAkFAA8ALAAAAAA8ABgAAATM8MlJq7046827/2AojuSzCAeiqsJSaoChzIoBaALB7DyfvJaAwkEsEhWBS6LHIDQaTt0PKFkMjViFiwLoOZ/gJ0FAfVyx2Ypu9w2HB9QAeu5ISgQ9t75BfhnoaAYTCDxte08HQIBzE2sMh25wL4toE3mQYYqURpY8mJmTm0WdO59gQH+ighKEbKaJLwCiDjd3l5h9L2eAChQBjoZ7di9ylMMSS4WHBFNUVnRaSkx6DM1lDwC7CgBbFwCOTAy51yQLCeDM3eTr7O3u7yMRACH5BAkFAA8ALAAAAAA8ABgAAATO8MlJq7046827/2AojiQVCEmaCEGpLYbizI5iLFlwMHzPHy1XJSCjGRVBU6JBYDZ8PEJSuCgaj7jJssHtMqGIrKt6LdeyAq/660sIHwaz2fBYrNdQxnRkldMUD1t3XQRQAi4BfmYBA4NqYIiKZQGOjz4IkZJGlJVdkCULmkYLjZ1Pl0KiNIGmhT6HLnGidJyVeXsioaJZgneuPZhviZJicIO/UcVjfVgWAAeWl7hjskY3GQsIeTxhbxcLAeEByhjPCOcIBwDe7O3u7/DxEhEAIfkECQUADwAsAAAAADwAGAAABMHwyUmrvTjrzbv/YCiOWGACgbcALEpygeHMtGNoAsLsPCG8GEBt6FAAEofkIRE48J68A7ASIBILjay2QYB6f9PHQmElDrbarveZmsrKRLR2/USE4dazXE1ntElVeENYcg19O2CAgoOFhocJQIGLM4RyhwyQL5KTlWiXiSSTNHpofHR/JG+TjZcEYQuinWmfYQ9CgrJZpmtStQ+bRAYAB1sHAAKHoLUxVjcZOV4+vhYxBtYACx0CCdwJytPg4eLj5B8RACH5BAkFAA8ALAAAAAA8ABgAAATI8MlJq7046827/2AojtgCGKgBLGSbLYojz7LClgnC7AyS3C7KgkacJQKWAIHHZBCQQQmsSG0khMsmkwB0GajUQkMg1WmbiO5oCKYOGsjE+Xz1tt3WR3a+DX7vRGIDAXxnUCQxgDRiDQCFWgAuiYoyjI6PTJEtk5SChJg8hyMAlDNvV3uPBEFspQ1wD3KgdZKlYnULqXNcUa2ADQYUn3xPURIBnFQHmkJmWmnGE1NUNi+yTD/RFQEGCt4KBqIvAOQr2ufo6errIhEAIfkECQUADwAsAAAAADwAGAAABLTwyUmrvTjrzbv/YCiO2QIYSqoYxkK+GODMdG1owoHsyCHAF0NtSLtZAgiGcqlEBIATGXEKqCwIzCyD4IIqplNFJanNIqBSMLEqAZTL7NdXTRRLDm/tAUgHT7B5TAR8fUQTgVqEhTWHiEyKizN/jkqDMHORdg9kjmcwaYtxApQMPzALkTNdEpx5nkBCi0YTAYgEcbCFsxQLrUwIq1APAXS4Fjm/AsHCDwsoQy3M0tPU1dbXGBEAIfkECQUADwAsAAAAADwAGAAABNbwyUmrvTjrzbv/4BWMZGiCC+CsrKMYyyljQWuvSqAFQA/os0kgcSjejoqYRYBgOJ8EQDDRqDYKR6Ql8ew+EzKBtTHIZqUTgHfNQKPGDXNWQWmyuwgTdSzPAgN3a0AfA2NYfTcGEgKBXgIhcIeILYoPXI1fkIaTNpWXmAxgIIVWZZwsaIygDI8ge1Wmpw5/qwyDHgFwsisUBKAEJ69XspUSapitJgabk0kVB40HQQAHsJy3ab5eUUEWCwpyzhkCCeUJbt0VCwZZMOnvxgbyBujw9vf4+RcRACH5BAUFAA8ALAAAAAA8ABgAAATi8MlJq7046827/2AWjGRogovirKyjAMspY0Zrr0owe0Fy/IeE7gG4GRWxS4LAaDIIiaQn0ahaq0KjVmEJMJ1gwpAjuJob2jSgggC7GYjO4nwdpLcUwfst4FDpVQV3WlJfe04EHAOAVYNaaw8Bh29jGIyNjjcGEgCTbpAZl2iZNptEnmCgGIuMpKUSkqhNlUqXgq4roIaTiRsBtrgrUgmyCR1/dHa4XBMLu28EUhsGgAYqrrReh2IgAAdXB2sLrqYWS24H0juR13flFwsA8jDr8DVq9fkB9ywKBur5AgocSPBCBAA7"},function(t,e){t.exports="data:image/gif;base64,R0lGODlhIAAgALMAAP///7Ozs/v7+9bW1uHh4fLy8rq6uoGBgTQ0NAEBARsbG8TExJeXl/39/VRUVAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBQAAACwAAAAAIAAgAAAE5xDISSlLrOrNp0pKNRCdFhxVolJLEJQUoSgOpSYT4RowNSsvyW1icA16k8MMMRkCBjskBTFDAZyuAEkqCfxIQ2hgQRFvAQEEIjNxVDW6XNE4YagRjuBCwe60smQUDnd4Rz1ZAQZnFAGDd0hihh12CEE9kjAEVlycXIg7BAsMB6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYtyWTxIfy6BE8WJt5YEvpJivxNaGmLHT0VnOgGYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ/V/nmOM82XiHQjYKhKP1oZmADdEAAAh+QQFBQAAACwAAAAAGAAXAAAEchDISasKNeuJFKoHs4mUYlJIkmjIV54Soypsa0wmLSnqoTEtBw52mG0AjhYpBxioEqRNy8V0qFzNw+GGwlJki4lBqx1IBgjMkRIghwjrzcDti2/Gh7D9qN774wQGAYOEfwCChIV/gYmDho+QkZKTR3p7EQAh+QQFBQAAACwBAAAAHQAOAAAEchDISWdANesNHHJZwE2DUSEo5SjKKB2HOKGYFLD1CB/DnEoIlkti2PlyuKGEATMBaAACSyGbEDYD4zN1YIEmh0SCQQgYehNmTNNaKsQJXmBuuEYPi9ECAU/UFnNzeUp9VBQEBoFOLmFxWHNoQw6RWEocEQAh+QQFBQAAACwHAAAAGQARAAAEaRDICdZZNOvNDsvfBhBDdpwZgohBgE3nQaki0AYEjEqOGmqDlkEnAzBUjhrA0CoBYhLVSkm4SaAAWkahCFAWTU0A4RxzFWJnzXFWJJWb9pTihRu5dvghl+/7NQmBggo/fYKHCX8AiAmEEQAh+QQFBQAAACwOAAAAEgAYAAAEZXCwAaq9ODAMDOUAI17McYDhWA3mCYpb1RooXBktmsbt944BU6zCQCBQiwPB4jAihiCK86irTB20qvWp7Xq/FYV4TNWNz4oqWoEIgL0HX/eQSLi69boCikTkE2VVDAp5d1p0CW4RACH5BAUFAAAALA4AAAASAB4AAASAkBgCqr3YBIMXvkEIMsxXhcFFpiZqBaTXisBClibgAnd+ijYGq2I4HAamwXBgNHJ8BEbzgPNNjz7LwpnFDLvgLGJMdnw/5DRCrHaE3xbKm6FQwOt1xDnpwCvcJgcJMgEIeCYOCQlrF4YmBIoJVV2CCXZvCooHbwGRcAiKcmFUJhEAIfkEBQUAAAAsDwABABEAHwAABHsQyAkGoRivELInnOFlBjeM1BCiFBdcbMUtKQdTN0CUJru5NJQrYMh5VIFTTKJcOj2HqJQRhEqvqGuU+uw6AwgEwxkOO55lxIihoDjKY8pBoThPxmpAYi+hKzoeewkTdHkZghMIdCOIhIuHfBMOjxiNLR4KCW1ODAlxSxEAIfkEBQUAAAAsCAAOABgAEgAABGwQyEkrCDgbYvvMoOF5ILaNaIoGKroch9hacD3MFMHUBzMHiBtgwJMBFolDB4GoGGBCACKRcAAUWAmzOWJQExysQsJgWj0KqvKalTiYPhp1LBFTtp10Is6mT5gdVFx1bRN8FTsVCAqDOB9+KhEAIfkEBQUAAAAsAgASAB0ADgAABHgQyEmrBePS4bQdQZBdR5IcHmWEgUFQgWKaKbWwwSIhc4LonsXhBSCsQoOSScGQDJiWwOHQnAxWBIYJNXEoFCiEWDI9jCzESey7GwMM5doEwW4jJoypQQ743u1WcTV0CgFzbhJ5XClfHYd/EwZnHoYVDgiOfHKQNREAIfkEBQUAAAAsAAAPABkAEQAABGeQqUQruDjrW3vaYCZ5X2ie6EkcKaooTAsi7ytnTq046BBsNcTvItz4AotMwKZBIC6H6CVAJaCcT0CUBTgaTg5nTCu9GKiDEMPJg5YBBOpwlnVzLwtqyKnZagZWahoMB2M3GgsHSRsRACH5BAUFAAAALAEACAARABgAAARcMKR0gL34npkUyyCAcAmyhBijkGi2UW02VHFt33iu7yiDIDaD4/erEYGDlu/nuBAOJ9Dvc2EcDgFAYIuaXS3bbOh6MIC5IAP5Eh5fk2exC4tpgwZyiyFgvhEMBBEAIfkEBQUAAAAsAAACAA4AHQAABHMQyAnYoViSlFDGXBJ808Ep5KRwV8qEg+pRCOeoioKMwJK0Ekcu54h9AoghKgXIMZgAApQZcCCu2Ax2O6NUud2pmJcyHA4L0uDM/ljYDCnGfGakJQE5YH0wUBYBAUYfBIFkHwaBgxkDgX5lgXpHAXcpBIsRADs="},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAABkCAYAAAAv8xodAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNS8xMS8xNNdPc0oAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAWb0lEQVR4nO2de2wU172Av5l92t4Hti/YQHmVmFcSE7+WR0h0uRRVVC2pKldpCFJQEJAiFwg4diikgLEghEhpVLVQNblBSFEUVYoi+hc0FQoE87B52JQAiQnBJDY2wfix633O7P1jdwbbxe9d7yx3PgnJc87iM2M+js+cx+8nhMNhdHQeFcRE34COTizRhdZ5pNCF1nmk0IXWeaQwPqxQEIRYtpEKOABL9NoLtAKhWDbSDRF4EsgAbEBHtL3LAIN9CV6+fHlSvS0fOXLkof9oj8pzDJZ499A2YCxgWbJkiSUnJ8cApADZgCEO7ZmAImAyYFuxYsV4Iv+ZpgIFcWhPR2PEU2gbkAlQU1Mz67PPPvvvq1ev/s/f/va3LCIyp8e4PROQD4wrLi7Oam9vP/Dhhx/+9f79+3/Kz8+3AxPi0KaOxoiX0KrM169ff6KgoGAKgMFgEF944YWZ0c9Y+vrLw8BEpAceV1xcnHX48OE3HQ7HRIAxY8ZM2bdv39Lo5zJi2KaOBomH0D1knjFjxsTulX6/Pxj9Uo5Re4rMY1esWDH+8OHDb6akpGR2/4Db7fZEv4zXuF1HI8Ra6H5lDgQC0ttvv/1l9NIfg/Z6yPzee+/t6S1zY2PjpdWrV/8retkagzZ1NEwshR5Q5j179pzfu3dvOxBg5HINKHNTU1Ody+WqbG1tDQENQOcI29TROA+dthsGGYAd+pd5165d94nIfHeE7Q1K5qKioorvv/8+ANwGakfYZlwIh8MEg0F1OtFoNGIwxGMCKL4Eg0G6urqQJAlRFElNTcVsNo/6fcSih84A7BaLRRiCzCMZy5qAQoYm86URtBc3FJnNZjMzZswgKyuLQCCAJEmJvrUhEQwGcbvdZGdn88ILL5CTk0NnZ2dCnmOkPbQqc11d3eMPk3n37t01lZWVbcRW5v966aWXJh44cKAyWWWWZZlgMIjD4aCoqIj09HRkWeb48eO0tbUlTS+tyDxz5kz2799Peno6LS0trFq1Cr/fT2pq6qjez0iE1mUeJorM6enpFBUVkZaWRigUIhgMEgwGB/4GGiEQCOB2u5kzZw779u0jPT0yze/xeJAkKdYrzoNiuELrMg8TSZIIBoNkZWVRWFiI2WwmHA7j8/k4d+4cnZ2dCRl7DhWlZ37iiSd46623cDgcANy5c4c33ngDj8eD0+kc9fsajtC6zMMkGAwiSRKTJk0iLy9PHVZ4PB7Onj1LR0cHZrMZUdT2njGlZ87Ly2P//v1YrVYAmpqaKC0tpaGhAbvdnpBh01CFHm2ZzURmMx4ZmadNm0Zubi6iKCIIAm1tbZw5cwav14vJZNK8zH6/H7fbTWFhIXv27Okh85YtW7h9+zY2mw2TyZSQ+xuK0KrMly9ffiInJ2dC98pEyNzY2HjJ5XJVJoPMoVCI2bNnM2vWLCCyo/Hu3bucPXuWUCiE2WxOyJhzKCgyL1y4kMrKSiyWyO6Fb7/9li1bttDS0pJQmWHwQidU5oMHD+6xWq09NhYlg8zKtJwsy+Tm5vLYY48RDocRRZGmpiaqq6uRZRmTyaR5mX0+Hx6Ph2eeeYbdu3er0jY0NFBaWqoJmWFwQg8kc2j37t3ndZl70l3mvLw8pk6dSjgcxmAw8O2333LhwgVEUUyKF0C/36/KXFFRoUpbX19PaWkp9+7dw263YzTGap1u+Ax0B7rMwyAcDhMIBDAajbhcLsaPH48sy4iiyNdff01tbS1GozHhvdlgUHrmpUuXsmPHDvU3ybVr1ygtLaW9vV0zMkP/QusyDwNljtlsNlNUVMS4ceNUma9evcrVq1eTSma3282yZcvYvn27KvP169cpKyujo6NDUzJD30Kn8UDmJ3NycsZ3r4yDzABzeURkTklJweVykZGRQTgcRhAEamtr+eabbzCZTJoSoC+UnvnnP/85W7duVWWuq6ujtLQUn8+XsKm5/ujrJ2sDuHDhwpxRktkJZC9evDg92WV2OBy4XC5sNhuyLCPLMpcuXaKhoQGj0ZgUMnu9XtxuN7/61a947bXX1PLa2lrKy8s1KzP0LbR18uTJ4uzZs3vMM0uSJMdBZohuOy0rK1vUW+bm5uZ/a11mgFAohM1mY8GCBaSmpiJJEj6fj9raWpqbmzGZTJoUoDfBYBCPx/MfMl+8eJGtW7fS1dWlWZmhn912zc3N4WCvjQUGg0H85S9/mR29NEf/xAIvQGNj43/skU5PT//xypUrp0YvHUQO2WoOWZZxOp04HA4kScJgMNDS0sKdO3cQRVGzAvQmGAwyZswY1q5dq5bduHGD9evX4/F4cDgcmn6WvoTu8vv94YMHD16WJKnHUamCgoIpNTU1s6KXY4mEKRgprQAlJSWn6+vrP+9eYTabUysqKirKy8tnEBmaFKFBqUVR5M6dO9y+fRuj0YgkSUyePJk5c+aoG4+SAYPBgMfj4cqVK2rZhAkT+NnPfoYsywQCgQTe3cD0JXQrENq4ceMPf/7zny+OgtR+4JbX65Vzc3PfSUapTSYTsixz7tw5Ghoa1F5s5syZ5Ofnq2NsraM8x86dO6mpqQEgJSWF7du3s3z5ctxuN16vN8F32Td9CS0BzYyu1HUksdSCIKiLJDU1Ndy4cQODwUA4HGbatGkUFhYC9DidokVEUcThcODz+Xj99deprq4GIs9XXl5OcXExbrebrq6uBN/pw+lvJ0wIXeoho2wwunTpEteuXUMURWRZZtKkSbhcLkRR1LzUBoMBu91OIBDg97//PefOnVPrNm/ezPPPP4/H49Gk1ANt7dKlHgbKXPOVK1e4fPkygiAgyzLZ2dksXLgQq9WaFFI7HA78fj9btmzhxIkTat2mTZt48cUXNSn1YPYq6lIPA5PJhMlk4uuvv+bChQuqvJmZmcyfP5/U1FQCgQCyHKvwJLFHGX4IgsCOHTt6SF1SUsKqVavweDx4PJ5+vsvoMtjNt7rUw0BZ4r516xbV1dWEQiHC4TBOp5OFCxfidDrVDUxaRZFalmXeeOMNjh8/rtatW7eOl19+ma6uLs1IPZTd5LrUw8BgMGAymWhsbOTs2bP4/ZH4OmlpaSxcuJCxY8eqm/+1iiiK2O12ALZv386xY8fUujVr1rBu3To8Hg9utztRt6gy1OMRutTDwGAwYDabaWlpoaqqSh13WiwWXC4X2dnZSSO10Whk9+7dHD16VK1btWoVJSUlmuiph3PeR5d6GCh7n9vb2zl16hSdnZ0IgoDRaKSoqIgpU6aoJ1u0ijL8EEWRHTt2cOTIEbVu5cqVbNiwIeE99XAPsOlSDwNRFDGZTHg8Hqqqqrh37x6CIGAwGMjPz2f69OlIkqRpqQVBwG63Y7Va2bt3L59++qlat2LFCkpLS+nq6kqY1CM5kalLPQyUntrn81FVVUVzc7N6MDY3N1cNOKNllOGHxWJh3759fPLJJ2pdcXExr776Kj6fLyHL5CM9YqxLPQwEQVCXmM+cOUNDQwMQ2bap5d65O0pPrUj90UcfqXW/+MUvyMjISMizxOLMvC71MFCkFgSB6upqTp06xcmTJ+no6EiKPdPwQOqUlBTeffddDh48yHfffcfHH39MW1tbQk7lxCoIxHCkHmkE/6FKnTvC9uKCsgBz7949fD5fUgSa6Y4gCDgcDiwWC4cOHWLdunUcOHAAs9mc1ELDIKU+fvz4tOilPQZtDkrq4uLiLGAcGk1JocxVJ0Ogmb5wOp2MGzcOg8FAdnY2NpstIfcR65/egFIXFRVNjn4ZqxwrA0q9fv36Z6KXmhRaJ3bEozvoV+qOjg5l5j2Wm4P7lbq+vv776JeJX8rSiSvxevtQpM7auHHjD62trTWrV6+e5vP5gqWlpV9HPxOLHCvdqQPwer1TcnNz3zly5MjN3Nxc16VLl86sXbv2dLQ9PcfKI47wsC2MMQxLZSTyAtj77KEXaIlVI73IBaY8pPwk0KZnktU2I80kG+/5oRDQRORwq5VIKjcf8f3VX0fkdHg2kTFza/Qe2uLYpo5GiHcPrTm0vKleZ+T010ObiaQStkavfUR6uViPfbujJJ13EOnFlaTzo74W/Kj8qn5UnmOw9DXLYQbGA9a8vDxTXl6eiYjY2TwQPNYUEEky74gmnbcRSUJfRCSKv47OgPQl9BiAo0ePTjl//vzi8+fPL/7nP/+pLIhkEXup04EJ+fn59vv37//pww8//Gt7e/uBbgsi+ehS6wyCvoROcTqdwpIlS2YIUX7yk5/M+Pzzz6dH62MtdQbAvn37lo4ZM2YKgMPhmHj48OE3dal1hkKfCys+nw9Jknpsl3r22Wcfi5PUIeiRZB6AlJSUzF5SF6BLrdMP/YYC++CDD/4d7jUt8Oyzzz526tSpx6KXsZK6FWD16tX/amxs7BGMUZE6Oq4eiy61Tj/0FwpMeuWVV+6+//77tb2lXrhw4fQYS90JNLS2toZcLldlU1NTXffKlJSUzPfee2+PLrXOQAwUCkxas2ZN8/vvv1/be5NRHKSuBW5///33gaKioopklFqSJPx+P36/n0AgkLRz3oFAgLa2NlpbW2lvb0+KmHwK/W1OCtJN6g8++KBuEFKPdBP9JZJUakmSCAQCZGVlkZOTg8lk0nx0pIchSRJut5ucnBx+85vfkJWVhdvtThqpB9ptFwTuMHipxzH6UheiAaklSSIzM5Onn36auXPnsmjRIjU+nNbPCHbH7/fjdDrZu3cvJSUlHDhwgJycnKSRerChwAaUuqqqKid6OWpSv/TSSxOB/0IjUgeDQfx+P6FQCKfTyfz580lPT9d8dKTuCIKAJElq7JDMzEz279/PrFmz6OzsTNr40L0ZUOoFCxb8eLSlPnDgQKVWpDYajbjdbk6fPo3f7yccDpOamsqCBQsYN24cgUBA04FkFMxmM263mz/84Q+0tEQ2RGZmZvL222/z+OOPa76nHmooMF3qPlBibrS2tlJVVaVGEDKbzcybN48f/ehHBINBTcsAD0Lp3rx5k82bN9Pc3AxEjli9++67PPXUU5ruqYcTCiyhUj9snlprUnd0dPDFF1/Q0dGhBpIpKChg6tSpSJKkealNJhM2m41bt26xefNm7ty5A4DVauXNN98kPz8ft9utxunTEsMNBZYwqV0uV+UgpU5IzmFFap/PxxdffMEPP/yAIAgIgsBTTz3FzJkzkyLniiJ1Q0MDJSUl3Lp1CwCbzcZbb73FvHnz8Hg8mpN6JKHAtC51AQmSWom5EQwGOX36tJoJC2DOnDk8+eSThEIhzc9VK1I3Nzfz2muvcfv2bQA1DNjTTz+N2+3G5/Ml+E4fMNJQYANKfe7cuVGV+uDBg3u0IrXZbEaWZU6fPq0mEgqHw+Tk5JCXl6cmEtK61Ha7naamJjZu3Mg333wDRN4NKioqWLRokaZ66liEAutX6qKiolGV2mq1pmtFaniQc6Wmpob6+no1PcW0adOYN28eoihqvqc2Go3Y7Xbu3r3Lpk2buH79OhAJB7x3716WLFmimZ46VqHAdKn7Qcki2z2RUDgcZuLEicybNw+z2az5BRhF6ra2NsrKyvjqq6+AyDvDrl27+OlPf4rH40m41LEMBTZUqUcaaGaoUs8dYXsjQomMdPXqVerq6hAEgXA4TFZWFvPnz1cTCSWD1Pfv3+d3v/sdly9fBiLDq+3bt7Ns2bKESx3rUGADSt0tFJgjBm32kPq777670L1SkXrx4sXpRI6POWPQ5rBRktffuHGDCxcuIEkSsiyTkZHBokWLcDgcmpdamaf2er2UlZVRVxdZGhBFkW3btiU8OWc8QoH1kLr3B+bNm6fEzIhVKDBV6vnz5+9pbm7+d/dKq9WaXlZWtih6mRmjNoeNkkiooaGB6upqvF4vsixjt9uZP38+NptN8yF1Fak9Hg/l5eXU1tYCkZ66rKyM5557Do/Hk5CpyXiEAnMABovFIixZsiS7d6XX61Veh2O1DpwSbZOVK1dOTU9P/3HvDzQ2NioRkzSR09dgMCCKIk1NTbS0tGAwGJAkCafTidPp1HQPraDkMXS73fz2t7/lxo0bQETqdevWqRm+RptYC50B2C0Wi3D16tXcadOm9RA6EAgEKysrlazosRhopRA5Fe4sLy+fUVFRUWE2m3vEnq6vr/+8pKTkdPRSE6HAlFwqc+bMYfLkyUiShNFo5Pbt2zQ1NSVNBFLlRXbZsmVMmDBBLf/yyy/p6upS852PJrGMnDSgzK+//nrNO++800Ektsf9EbY3KJlzc3Pf8Xq9MnCL+MYUGRTKGDk/P5+pU6ciyzIGg4GGhgY1QWci4ioPFa/Xi8fj4bnnnqOsrEwNTlRTU8POnTuRZTkhzxEroYcq890Rtjccmf9jPD+ahMNhdWxcWFjIpEmTVJlv3LhBXV2dmn9F6yjp237961+zefNmtby6upqtW7cSCATUbFmjTSyEzgRsQ5R5JOPnpJQ5GAxiMBgoLCxk/PjxyLKMKIpcu3aNK1euqC+LWkeR+fnnn2fTpk1q+blz59i2bRuBQAC73Z6Q4QaMXOhMwOZ0OoWLFy/qMj8ERWar1UpRUREZGRnIsowgCFy+fJmvvvoq6WR+8cUXKSkpUctPnDjBtm3b1PQUiXwHGInQuswDoOzVSEtLw+VyMWbMGMLhMOFwmIsXL3Lr1i1MJlNSJAnyeDx0dXWxatUq1q1bp5afOHGCHTt2aEJmGL7QuswDoMjsdDpxuVykpaWp4+jz58/T2NioLolrHUXml19+mTVr1qjlx48fZ+fOnQCakBmGJ7Qu8wAo2WDHjh1LYWEhFktkDcnv91NTU0NLS0vSyOx2u+nq6uKVV15h1apVavmxY8fYtWuXuhyuBZlh6ELrMg+AciJl/PjxFBQUqGPjrq4uzp49S1tbW9KkblN65pKSElauXKmWHz16lMrKSs3JDEMTWpd5AEKhEKFQiClTpjB37lxEUUQQBDo6Ojhz5gwejydpZFZ65g0bNrBixQq1/MiRI+zZsweLxYLD4dBccPzBCq3LPAChUAhJkpg+fTq5uQ9yfN67d0/ds5EseQgVmUtLSykuLlbLP/30U/bt24fVasVms2lOZhic0LrMg0CWZdLT01WZlb0a1dXVSJKE2WzWpAC9CQQC+P1+Xn311R4yf/LJJ+zfvx+LxYLdbtfsswwktC7zEAiFQni9XlJSUmhoaOD8+fM9cnonA6FQiIyMDJYvX66WffTRR/zxj38kJSVF0zJD/0LrMg8Bo9FIZ2cnJ0+eJC0tTd1FlwwLJt0xmUy0tbXx8ccfs3TpUv7xj39w6NChpJAZ+hY6jdGVGSL5BZNSZugZvsDn8yXNtFxvlJM1f/nLX/j73/9Oa2ur+gKYDPQltA2gqqpqzijJnAGMKy4uzkpGmRVEUUyKl76BsNlsavL5sWPHJvhuhkZfP32r0+kUZs+ePbF7YZxkhmiOlfXr1z+TrDLraIO+hA62t7eHOzo6upSCOMoM0cyy3ZLME73WZdYZEn0J7QcoLy+/ePPmzeabN2/e2bBhw9k4yQyRkyT+tWvXnj527Nj/trS0fPnZZ58d0mXWGSp9pUYWiIQa6J1mwgf8QGxlVhgDPPOQ8pjKrCev1zbxSl4fJpKOwsGD09l+oGMkjQ1AG3CSSAZbJen8HUZ+VEvn/xEP7aF1dJKV5J9j0tHphi60ziOFLrTOI4UutM4jhS60ziPF/wHgvbfirVNMHAAAAABJRU5ErkJggg=="},function(t,e,i){function n(t,e){for(var i=0;i<t.length;i++){var n=t[i],o=h[n.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](n.parts[a]);for(;a<n.parts.length;a++)o.parts.push(u(n.parts[a],e))}else{for(var r=[],a=0;a<n.parts.length;a++)r.push(u(n.parts[a],e));h[n.id]={id:n.id,refs:1,parts:r}}}}function o(t){for(var e=[],i={},n=0;n<t.length;n++){var o=t[n],a=o[0],r=o[1],s=o[2],l=o[3],u={css:r,media:s,sourceMap:l};i[a]?i[a].parts.push(u):e.push(i[a]={id:a,parts:[u]})}return e}function a(t,e){var i=g(),n=b[b.length-1];if("top"===t.insertAt)n?n.nextSibling?i.insertBefore(e,n.nextSibling):i.appendChild(e):i.insertBefore(e,i.firstChild),b.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");i.appendChild(e)}}function r(t){t.parentNode.removeChild(t);var e=b.indexOf(t);e>=0&&b.splice(e,1)}function s(t){var e=document.createElement("style");return e.type="text/css",a(t,e),e}function l(t){var e=document.createElement("link");return e.rel="stylesheet",a(t,e),e}function u(t,e){var i,n,o;if(e.singleton){var a=v++;i=y||(y=s(e)),n=c.bind(null,i,a,!1),o=c.bind(null,i,a,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=l(e),n=p.bind(null,i),o=function(){r(i),i.href&&URL.revokeObjectURL(i.href)}):(i=s(e),n=d.bind(null,i),o=function(){r(i)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else o()}}function c(t,e,i,n){var o=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=w(e,o);else{var a=document.createTextNode(o),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(a,r[e]):t.appendChild(a)}}function d(t,e){var i=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}function p(t,e){var i=e.css,n=e.sourceMap;n&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var o=new Blob([i],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(o),a&&URL.revokeObjectURL(a)}var h={},f=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},m=f(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),g=f(function(){return document.head||document.getElementsByTagName("head")[0]}),y=null,v=0,b=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=m()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var i=o(t);return n(i,e),function(t){for(var a=[],r=0;r<i.length;r++){var s=i[r],l=h[s.id];l.refs--,a.push(l)}if(t){var u=o(t);n(u,e)}for(var r=0;r<a.length;r++){var l=a[r];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete h[l.id]}}}};var w=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}()},function(t,e){var i={};i.specialchars=function(t){var e=[];if(!t)return"";if(0==t.length)return"";for(var i=0;i<t.length;i++)switch(t.substr(i,1)){case"<":e.push("&lt;");break;case">":e.push("&gt;");break;case"&":e.push("&amp;");break;case" ":e.push("&nbsp;");break;case'"':e.push("&quot;");break;default:e.push(t.substr(i,1))}return e.join("")},i.text2html=function(t){return t=i.specialchars(t),t=t.replace(/\n/g,"</p><p>"),"<p>"+t+"</p>"},i.text2paragraph=function(t){return t=t.replace(/\n/g,"</p><p>"),"<p>"+t+"</p>"},i.urlencode=function(t){return t=(t+"").toString(),encodeURIComponent(t).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+")},i.randomString=function(t){t=t||16;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i=e.length,n="",o=0;o<t;o++)n+=e.charAt(Math.floor(Math.random()*i));return n},i.getRootWindow=function(){var t;for(t=window;t.self!==t.parent;)t=t.parent;return t},i.fixPath=function(t,e){return e=e||"",t?0===t.indexOf("http://")||0===t.indexOf("https://")||0===t.indexOf("//")?t:(0===t.indexOf("/")||(t="/"+t),e&&e.lastIndexOf("/")==e.length-1&&(e=e.substr(0,e.length-1)),e+t):""},i.set=function(t,e,i){for(var n,o=t,a=e.split("."),r=0;r<a.length-1;r++)n=a[r],n=0===n.indexOf("i")?parseInt(n.substr(1)):n.substr(1),o=o[n];n=a[a.length-1],n=0===n.indexOf("i")?parseInt(n.substr(1)):n.substr(1),o[n]=i},i.push=function(t,e,i){for(var n,o=t,a=e.split("."),r=0;r<a.length-1;r++)n=a[r],n=0===n.indexOf("i")?parseInt(n.substr(1)):n.substr(1),o=o[n];n=a[a.length-1],n=0===n.indexOf("i")?parseInt(n.substr(1)):n.substr(1),o[n]instanceof Array?o[n].push(i):alert("仅支持数据")},i.remove=function(t,e){for(var i,n=t,o=e.split("."),a=0;a<o.length-1;a++)i=o[a],i=0===i.indexOf("i")?parseInt(i.substr(1)):i.substr(1),n=n[i];i=o[o.length-1],0===i.indexOf("i")?(i=parseInt(i.substr(1)),n.splice(i,1)):(i=i.substr(1),delete n[i])},i.fullscreen={enter:function(t){var e=document.documentElement;e.requestFullscreen?(e.requestFullscreen(),setTimeout(function(){t&&t()},1e3)):e.mozRequestFullScreen?(e.mozRequestFullScreen(),setTimeout(function(){t&&t()},1e3)):e.webkitRequestFullScreen?(e.webkitRequestFullScreen(),setTimeout(function(){t&&t()},1e3)):elem.msRequestFullscreen&&(elem.msRequestFullscreen(),setTimeout(function(){t&&t()},1e3))},exit:function(t){document.exitFullscreen?(document.exitFullscreen(),setTimeout(function(){t&&t()},1e3)):document.mozCancelFullScreen?(document.mozCancelFullScreen(),setTimeout(function(){t&&t()},1e3)):document.webkitCancelFullScreen?(document.webkitCancelFullScreen(),setTimeout(function(){t&&t()},1e3)):document.msExitFullscreen&&(document.msExitFullscreen(),setTimeout(function(){t&&t()},1e3))},isFullScreen:function(){return document.exitFullscreen?document.fullscreen:document.mozCancelFullScreen?document.mozFullScreen:document.webkitCancelFullScreen?document.webkitIsFullScreen:!!document.msExitFullscreen&&document.msFullscreenElement},trigger:function(t){i.fullscreen.isFullScreen()?i.fullscreen.exit(function(){t("exit")}):i.fullscreen.enter(function(){t("enter")})}},t.exports=i},function(module,exports,__webpack_require__){var $=__webpack_require__(1),Util=__webpack_require__(17),Form={defaultCallback:function(res,callback,Dialog){if(Dialog=Dialog||null,callback=callback||{},"object"!=typeof res)return void alert("ErrorResponse:"+res);if("code"in res){var code=res.code,msg="",redirect="",data=null;"msg"in res&&(msg=res.msg),"redirect"in res&&(redirect=res.redirect),"data"in res&&(data=res.data);var winReload=function(t){var e=t.location,i=[],n="_t_"+(new Date).getTime()+"_";i.push(e.protocol),i.push("//"),i.push(e.host),i.push(e.pathname),e.search?/_t_\d+_/.test(e.search)?i.push(e.search.replace(/_t_\d+_/,n)):(i.push(e.search),i.push("&"),i.push(n)):(i.push(e.search),i.push("?"),i.push(n)),i.push(e.hash),t.location.replace(i.join(""))},redirectFunc=function(redirect){redirect&&("[reload]"===redirect?winReload(window):"[root-reload]"==redirect?winReload(Util.getRootWindow()):"[back]"===redirect?window.history.back():0===redirect.indexOf("[js]")?eval(redirect.substr(4)):window.location.href=redirect)},successFunc=function(){"success"in callback?callback.success(res):redirect?msg?Dialog?Dialog.alertSuccess(msg,function(){redirectFunc(redirect)}):(alert(msg),redirectFunc(redirect)):redirectFunc(redirect):Dialog?Dialog.tipSuccess(msg):alert(msg)},errorFunc=function(){"error"in callback?callback.error(res):redirect?msg?Dialog?Dialog.alertError(msg,function(){redirectFunc(redirect)}):(alert(msg),redirectFunc(redirect)):redirectFunc(redirect):Dialog?Dialog.tipError(msg):alert(msg)};0==code?successFunc():errorFunc()}},initAjax:function(t,e){e=e||null;var i=$(t);i.on("submit",function(){if(i.data("submiting"))return!1;var t=$(this).attr("action"),n=$(this).attr("method"),o=$(this).data("callbackValidate"),a=$(this).data("callback");if(o&&!o())return!1;a||(a=Form.defaultCallback),n||(n="get");var r=$(this).serializeArray();if(i.data("submiting",!0),e){var s=$(this).attr("data-form-loading");e.loadingOn(s)}return $.ajax({type:n,url:t,dataType:"json",timeout:6e5,data:r,success:function(t){return i.data("submiting",null),e&&e.loadingOff(),a(t,{},e)},error:function(){return i.data("submiting",null),e&&e.loadingOff(),a({code:-999,msg:"请求出现错误 T_T"},{},e)}}),!1})},initCommon:function(t,e){var i=$(t);i.on("submit",function(){if(i.data("submiting"))return!1;var t=($(this).attr("action"),$(this).attr("method"),$(this).serializeArray(),$(this).data("callbackValidate"));$(this).data("callback");if(t&&!t())return!1;if(i.data("submiting",!0),e){var n=$(this).attr("data-form-loading");e.loadingOn(n)}return!0})}};module.exports=Form},function(module,exports,__webpack_require__){var $=__webpack_require__(1),Form=__webpack_require__(18),ImagesLoaded=__webpack_require__(20),inited=!1,Convenient={initAll:function(Dialog){$(document).on("click","[data-confirm]",function(){if(!$(this).is("[data-ajax-request]")){var t=$(this).attr("data-href"),e=$(this).is("[data-new-window]");return Dialog.confirm($(this).attr("data-confirm"),function(){e?window.open(t,"_blank"):window.location.href=t}),!1}}),$(document).on("click","[data-ajax-request]",function(){var url=$(this).attr("data-ajax-request"),confirm=$(this).attr("data-confirm"),loading=$(this).is("[data-ajax-request-loading]"),method=$(this).attr("data-method"),jsonStr=$(this).attr("data-request"),jsonp=$(this).is("[data-ajax-jsonp]"),callback=$(this).data("callback");callback||(callback=Form.defaultCallback);var data={};if(jsonStr)try{data=JSON.parse(jsonStr)}catch(e){try{data=eval("data = "+jsonStr+";")}catch(t){}}else data={};var sendRequest=function(){loading&&Dialog.loadingOn(),$.ajax({async:!0,url:url,type:method?method:"get",dataType:jsonp?"jsonp":"json",data:data,success:function(t){loading&&Dialog.loadingOff(),callback(t,{},Dialog)},error:function(t){loading&&Dialog.loadingOff(),alert("请求出错")}})};return confirm?Dialog.confirm(confirm,function(){sendRequest()}):sendRequest(),!1}),$(document).on("click","[data-dialog-request]",function(){var t=$(this),e=t.attr("data-dialog-request"),i=t.attr("data-dialog-title")||null,n={title:i,closeCallback:function(){t.trigger("dialog.close",[t])}};t.attr("data-dialog-width")&&(n.width=t.attr("data-dialog-width")),t.attr("data-dialog-height")&&(n.height=t.attr("data-dialog-height")),Dialog.dialog(e,n)}),$(document).on("click","[data-image-preview]",function(){var option={};$(this).attr("data-option")&&eval("option = "+$(this).attr("data-option"));var opt=$.extend({title:null,width:"auto",height:"auto"},option),imgUrl=$(this).attr("href");imgUrl||(imgUrl=$(this).attr("data-image-preview")),imgUrl||(imgUrl=$(this).attr("src"));var windowWidth=$(window).width(),windowHeight=$(window).height();Dialog&&Dialog.loadingOn();var img=new Image;return img.onerror=function(){Dialog?(Dialog.loadingOff(),Dialog.tipError("加载图片出错")):alert("加载图片出错")},img.onload=function(){Dialog&&Dialog.loadingOff();var t=windowWidth-40,e=windowHeight-40,i=img.width,n=img.height;i>t&&(n=parseInt(n*t/i),i=t),n>e&&(i=parseInt(i*e/n),n=e);var o=['<div style="width:',i,"px;height:",n,'px;">','   <img src="',imgUrl,'" style="width:',i,"px;height:",n,'px;" />',"</div>"].join("");Dialog.dialogContent(o,opt)},img.src=imgUrl,!1})},initSmartImage:function(){$(document).ready(function(){setTimeout(function(){$("[data-smart-image]").each(function(t,e){$(e).attr("src",$(e).attr("data-smart-image"))})},0)})},initTip:function(t){t=t||null,$(document).on("click","[data-tip-error]",function(){return t?t.tipError($(this).attr("data-tip-error")):alert($(this).attr("data-tip-error")),!1}),$(document).on("click","[data-tip-success]",function(){return t?t.tipError($(this).attr("data-tip-success")):alert($(this).attr("data-tip-success")),!1}),$(document).on("mouseover","[data-tip-popover]",function(e){var i=$(this).attr("data-tip-popover"),n=this;t?t.tipPopoverShow(n,i):$(n).attr("title",i)}).on("mouseout","[data-tip-popover]",function(e){var i=this;t&&t.tipPopoverHide(i)})}};Convenient.init=function(t){inited||(inited=!0,Convenient.initAll(t),Convenient.initSmartImage(),Convenient.initTip(t))},module.exports=Convenient},function(t,e,i){var n,o,a,r;!function(a,r){n=r,!(o="function"==typeof n?n.call(e,i,e,t):n)}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return n.indexOf(e)==-1&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return n!=-1&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var a=this._onceEvents&&this._onceEvents[t];o;){var r=a&&a[o];r&&(this.off(t,o),delete a[o]),o.apply(this,e),n+=r?0:1,o=i[n]}return this}},t}),function(i,n){"use strict";a=[o],r=function(t){return n(i,t)}.apply(e,a),!(void 0!==r&&(t.exports=r))}(window,function(t,e){function i(t,e){for(var i in e)t[i]=e[i];return t}function n(t){var e=[];if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e}function o(t,e,a){return this instanceof o?("string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=n(t),this.options=i({},this.options),"function"==typeof e?a=e:i(this.options,e),a&&this.on("always",a),this.getImages(),s&&(this.jqDeferred=new s.Deferred),void setTimeout(function(){this.check()}.bind(this))):new o(t,e,a)}function a(t){this.img=t}function r(t,e){this.url=t,this.element=e,this.img=new Image}var s=t.jQuery,l=t.console;
  o.prototype=Object.create(e.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),this.options.background===!0&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&u[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var o=i[n];this.addImage(o)}if("string"==typeof this.options.background){var a=t.querySelectorAll(this.options.background);for(n=0;n<a.length;n++){var r=a[n];this.addElementBackgroundImages(r)}}}};var u={1:!0,9:!0,11:!0};return o.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var o=n&&n[2];o&&this.addBackground(o,t),n=i.exec(e.backgroundImage)}},o.prototype.addImage=function(t){var e=new a(t);this.images.push(e)},o.prototype.addBackground=function(t,e){var i=new r(t,e);this.images.push(i)},o.prototype.check=function(){function t(t,i,n){setTimeout(function(){e.progress(t,i,n)})}var e=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},o.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+i,t,e)},o.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},a.prototype=Object.create(e.prototype),a.prototype.check=function(){var t=this.getIsImageComplete();return t?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},a.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},a.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},a.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},a.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},r.prototype=Object.create(a.prototype),r.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var t=this.getIsImageComplete();t&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},r.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},r.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},o.makeJQueryPlugin=function(e){e=e||t.jQuery,e&&(s=e,s.fn.imagesLoaded=function(t,e){var i=new o(this,t,e);return i.jqDeferred.promise(s(this))})},o.makeJQueryPlugin(),o})},,function(t,e,i){(function(e){var i=function(t,i,n){var o=this,a=e.extend({jump:!0,total:!0},n);i=i||function(t){alert(t)};var r=e(t);r.on("click","a.page",function(){var t=e(this).attr("data-page");return i(t),!1}),r.on("click","button",function(){var t=parseInt(e(this).prev().val());return t?(i(t),!1):(e.tipError("请输入正确页码"),!1)}),this.total=0,this.render=function(t,e,i,n){n=n||0,o.total=t;var s=Math.ceil(t/e);n>0&&t>n&&(s=Math.ceil((n-1)/e)),i=i||1,i=parseInt(i);var l=function(t,e){for(var n=t;n<=e;n++)n==i?u.push('<span class="current">'+n+"</span>"):u.push('<a class="page" href="javascript:;" title="'+n+'" data-page="'+n+'">'+n+"</a>")},u=[];if(u.push('<div class="pages">'),u.push("<span>"),a.total&&(u.push("共"+t+"条"),n>0&&t>n&&u.push("(显示前"+n+"条)")),u.push("</span>"),s<4)s>1&&l(1,s);else{l(1,1);var c=i-1,d=i+1;c<2&&(c=2),d>s-1&&(d=s-1),c>2&&u.push('<span class="more">...</span>'),l(c,d),d<s-1&&u.push('<span class="more">...</span>'),l(s,s)}i>1&&u.push('<a class="page" href="javascript:;" title="'+(i-1)+'" data-page="'+(i-1)+'">上页</a>'),i<s&&u.push('<a class="page" href="javascript:;" title="'+(i+1)+'" data-page="'+(i+1)+'">下页</a>'),s>1&&a.jump&&u.push('<span class="jumpBox"><input type="text" value="'+i+'" class="page" /> <button>跳转</button></span>'),u.push("</div>"),r.html(u.join(""))}};t.exports=i}).call(e,i(1))},,,,,function(t,e,i){var n=i(1),o=i(28);i(29),o.Uploader.register({"before-send":"beforeBlockSend","before-send-file":"beforeSendFile"},{beforeBlockSend:function(t){var e=new n.Deferred;return t.chunk+1>=this.options.chunkUploaded?setTimeout(e.resolve,0):setTimeout(e.reject,0),n.when(e)},beforeSendFile:function(t){var e=new n.Deferred,i={action:"init",name:t.name,type:t.type,lastModifiedDate:t.lastModifiedDate,size:t.size},o=this;return n.post(this.options.server,i).done(function(t){t.code?(alert(t.msg),e.reject()):(o.options.chunkUploaded=t.data.chunkUploaded,e.resolve())}).fail(function(t){alert("上传出错"),e.reject()}),n.when(e)}});var a=function(t,e){var i=n.extend({text:"选择文件",swf:"/assets/webuploader/Uploader.swf",server:"/path/to/server",sizeLimit:2097152,extensions:"gif,jpg,png,jpeg",chunked:!0,chunkSize:5242880,tipError:function(t){alert(t)},callback:function(t,e){},finish:function(){}},e);return n(t).each(function(){var t=this,e=n(this);e.html('<div style="display:block;padding:0;margin:0;"><div class="picker">'+i.text+'</div><ul class="webuploader-list"></ul></div>');var a=e.find(".webuploader-list"),r=o.create({auto:!0,swf:i.swf,server:i.server,pick:e.find(".picker"),fileSingleSizeLimit:i.sizeLimit,chunked:i.chunked,chunkSize:i.chunkSize,chunkRetry:5,threads:1,accept:{extensions:i.extensions},formData:{_token:"__env"in window?__env.token:""},duplicate:!1});r.on("fileQueued",function(t){var e=' <li id="'+t.id+'"><div class="progress-box"><div class="progress-bar" style="width:0%"></div></div><div class="progress-info">[ <span class="status">排队等待</span> ] '+t.name+"</div></li>",i=n(e);a.append(i)}),r.on("uploadProgress",function(t,e){var i=n("#"+t.id);i.find(".progress-bar").css("width",100*e+"%"),i.find(".status").html("正在上传")}),r.on("uploadAccept",function(t,e){return!e.code}),r.on("uploadSuccess",function(e,o){this.removeFile(e);var a={name:o.data.data.filename,size:o.data.data.size,path:o.data.path};n("#"+e.id).fadeOut(function(){n("#"+e.id).remove()}),i.callback(a,t)}),r.on("uploadError",function(t){this.removeFile(t)}),r.on("uploadFinished",function(){i.finish()}),r.on("error",function(t){"Q_TYPE_DENIED"==t?i.tipError("文件类型不合法"):"Q_EXCEED_SIZE_LIMIT"==t?i.tipError("文件大小不合法"):"F_EXCEED_SIZE"==t&&i.tipError("文件大小不合法")})})};t.exports=a},function(t,e,i){var n,o,a;/*! WebUploader 0.1.5 */
  !function(r,s){var l={},u=function(t,e){var i,n,o;if("string"==typeof t)return p(t);for(i=[],n=t.length,o=0;o<n;o++)i.push(p(t[o]));return e.apply(null,i)},c=function(t,e,i){2===arguments.length&&(i=e,e=null),u(e||[],function(){d(t,i,arguments)})},d=function(t,e,i){var n,o={exports:e};"function"==typeof e&&(i.length||(i=[u,o.exports,o]),n=e.apply(null,i),void 0!==n&&(o.exports=n)),l[t]=o.exports},p=function(t){var e=l[t]||r[t];if(!e)throw new Error("`"+t+"` is undefined");return e},h=function(t){var e,i,n,o,a,r;r=function(t){return t&&t.charAt(0).toUpperCase()+t.substr(1)};for(e in l)if(i=t,l.hasOwnProperty(e)){for(n=e.split("/"),a=r(n.pop());o=r(n.shift());)i[o]=i[o]||{},i=i[o];i[a]=l[e]}return t},f=function(t){return r.__dollar=t,h(s(r,c,u))};"object"==typeof t&&"object"==typeof t.exports?t.exports=f():(o=[i(1)],n=f,a="function"==typeof n?n.apply(e,o):n,!(void 0!==a&&(t.exports=a)))}(window,function(t,e,i){return e("dollar-third",[],function(){var e=t.__dollar||t.jQuery||t.Zepto;if(!e)throw new Error("jQuery or Zepto not found!");return e}),e("dollar",["dollar-third"],function(t){return t}),e("promise-third",["dollar"],function(t){return{Deferred:t.Deferred,when:t.when,isPromise:function(t){return t&&"function"==typeof t.then}}}),e("promise",["promise-third"],function(t){return t}),e("base",["dollar","promise"],function(e,i){function n(t){return function(){return s.apply(t,arguments)}}function o(t,e){return function(){return t.apply(e,arguments)}}function a(t){var e;return Object.create?Object.create(t):(e=function(){},e.prototype=t,new e)}var r=function(){},s=Function.call;return{version:"0.1.5",$:e,Deferred:i.Deferred,isPromise:i.isPromise,when:i.when,browser:function(t){var e={},i=t.match(/WebKit\/([\d.]+)/),n=t.match(/Chrome\/([\d.]+)/)||t.match(/CriOS\/([\d.]+)/),o=t.match(/MSIE\s([\d\.]+)/)||t.match(/(?:trident)(?:.*rv:([\w.]+))?/i),a=t.match(/Firefox\/([\d.]+)/),r=t.match(/Safari\/([\d.]+)/),s=t.match(/OPR\/([\d.]+)/);return i&&(e.webkit=parseFloat(i[1])),n&&(e.chrome=parseFloat(n[1])),o&&(e.ie=parseFloat(o[1])),a&&(e.firefox=parseFloat(a[1])),r&&(e.safari=parseFloat(r[1])),s&&(e.opera=parseFloat(s[1])),e}(navigator.userAgent),os:function(t){var e={},i=t.match(/(?:Android);?[\s\/]+([\d.]+)?/),n=t.match(/(?:iPad|iPod|iPhone).*OS\s([\d_]+)/);return i&&(e.android=parseFloat(i[1])),n&&(e.ios=parseFloat(n[1].replace(/_/g,"."))),e}(navigator.userAgent),inherits:function(t,i,n){var o;return"function"==typeof i?(o=i,i=null):o=i&&i.hasOwnProperty("constructor")?i.constructor:function(){return t.apply(this,arguments)},e.extend(!0,o,t,n||{}),o.__super__=t.prototype,o.prototype=a(t.prototype),i&&e.extend(!0,o.prototype,i),o},noop:r,bindFn:o,log:function(){return t.console?o(console.log,console):r}(),nextTick:function(){return function(t){setTimeout(t,1)}}(),slice:n([].slice),guid:function(){var t=0;return function(e){for(var i=(+new Date).toString(32),n=0;n<5;n++)i+=Math.floor(65535*Math.random()).toString(32);return(e||"wu_")+i+(t++).toString(32)}}(),formatSize:function(t,e,i){var n;for(i=i||["B","K","M","G","TB"];(n=i.shift())&&t>1024;)t/=1024;return("B"===n?t:t.toFixed(e||2))+n}}}),e("mediator",["base"],function(t){function e(t,e,i,n){return a.grep(t,function(t){return t&&(!e||t.e===e)&&(!i||t.cb===i||t.cb._cb===i)&&(!n||t.ctx===n)})}function i(t,e,i){a.each((t||"").split(s),function(t,n){i(n,e)})}function n(t,e){for(var i,n=!1,o=-1,a=t.length;++o<a;)if(i=t[o],i.cb.apply(i.ctx2,e)===!1){n=!0;break}return!n}var o,a=t.$,r=[].slice,s=/\s+/;return o={on:function(t,e,n){var o,a=this;return e?(o=this._events||(this._events=[]),i(t,e,function(t,e){var i={e:t};i.cb=e,i.ctx=n,i.ctx2=n||a,i.id=o.length,o.push(i)}),this):this},once:function(t,e,n){var o=this;return e?(i(t,e,function(t,e){var i=function(){return o.off(t,i),e.apply(n||o,arguments)};i._cb=e,o.on(t,i,n)}),o):o},off:function(t,n,o){var r=this._events;return r?t||n||o?(i(t,n,function(t,i){a.each(e(r,t,i,o),function(){delete r[this.id]})}),this):(this._events=[],this):this},trigger:function(t){var i,o,a;return this._events&&t?(i=r.call(arguments,1),o=e(this._events,t),a=e(this._events,"all"),n(o,i)&&n(a,arguments)):this}},a.extend({installTo:function(t){return a.extend(t,o)}},o)}),e("uploader",["base","mediator"],function(t,e){function i(t){this.options=n.extend(!0,{},i.options,t),this._init(this.options)}var n=t.$;return i.options={},e.installTo(i.prototype),n.each({upload:"start-upload",stop:"stop-upload",getFile:"get-file",getFiles:"get-files",addFile:"add-file",addFiles:"add-file",sort:"sort-files",removeFile:"remove-file",cancelFile:"cancel-file",skipFile:"skip-file",retry:"retry",isInProgress:"is-in-progress",makeThumb:"make-thumb",md5File:"md5-file",getDimension:"get-dimension",addButton:"add-btn",predictRuntimeType:"predict-runtime-type",refresh:"refresh",disable:"disable",enable:"enable",reset:"reset"},function(t,e){i.prototype[t]=function(){return this.request(e,arguments)}}),n.extend(i.prototype,{state:"pending",_init:function(t){var e=this;e.request("init",t,function(){e.state="ready",e.trigger("ready")})},option:function(t,e){var i=this.options;return arguments.length>1?void(n.isPlainObject(e)&&n.isPlainObject(i[t])?n.extend(i[t],e):i[t]=e):t?i[t]:i},getStats:function(){var t=this.request("get-stats");return t?{successNum:t.numOfSuccess,progressNum:t.numOfProgress,cancelNum:t.numOfCancel,invalidNum:t.numOfInvalid,uploadFailNum:t.numOfUploadFailed,queueNum:t.numOfQueue,interruptNum:t.numofInterrupt}:{}},trigger:function(t){var i=[].slice.call(arguments,1),o=this.options,a="on"+t.substring(0,1).toUpperCase()+t.substring(1);return!(e.trigger.apply(this,arguments)===!1||n.isFunction(o[a])&&o[a].apply(this,i)===!1||n.isFunction(this[a])&&this[a].apply(this,i)===!1||e.trigger.apply(e,[this,t].concat(i))===!1)},destroy:function(){this.request("destroy",arguments),this.off()},request:t.noop}),t.create=i.create=function(t){return new i(t)},t.Uploader=i,i}),e("runtime/runtime",["base","mediator"],function(t,e){function i(e){this.options=n.extend({container:document.body},e),this.uid=t.guid("rt_")}var n=t.$,o={},a=function(t){for(var e in t)if(t.hasOwnProperty(e))return e;return null};return n.extend(i.prototype,{getContainer:function(){var t,e,i=this.options;return this._container?this._container:(t=n(i.container||document.body),e=n(document.createElement("div")),e.attr("id","rt_"+this.uid),e.css({position:"absolute",top:"0px",left:"0px",width:"1px",height:"1px",overflow:"hidden"}),t.append(e),t.addClass("webuploader-container"),this._container=e,this._parent=t,e)},init:t.noop,exec:t.noop,destroy:function(){this._container&&this._container.remove(),this._parent&&this._parent.removeClass("webuploader-container"),this.off()}}),i.orders="html5,flash",i.addRuntime=function(t,e){o[t]=e},i.hasRuntime=function(t){return!!(t?o[t]:a(o))},i.create=function(t,e){var r,s;if(e=e||i.orders,n.each(e.split(/\s*,\s*/g),function(){if(o[this])return r=this,!1}),r=r||a(o),!r)throw new Error("Runtime Error");return s=new o[r](t)},e.installTo(i.prototype),i}),e("runtime/client",["base","mediator","runtime/runtime"],function(t,e,i){function n(e,n){var a,r=t.Deferred();this.uid=t.guid("client_"),this.runtimeReady=function(t){return r.done(t)},this.connectRuntime=function(e,s){if(a)throw new Error("already connected!");return r.done(s),"string"==typeof e&&o.get(e)&&(a=o.get(e)),a=a||o.get(null,n),a?(t.$.extend(a.options,e),a.__promise.then(r.resolve),a.__client++):(a=i.create(e,e.runtimeOrder),a.__promise=r.promise(),a.once("ready",r.resolve),a.init(),o.add(a),a.__client=1),n&&(a.__standalone=n),a},this.getRuntime=function(){return a},this.disconnectRuntime=function(){a&&(a.__client--,a.__client<=0&&(o.remove(a),delete a.__promise,a.destroy()),a=null)},this.exec=function(){if(a){var i=t.slice(arguments);return e&&i.unshift(e),a.exec.apply(this,i)}},this.getRuid=function(){return a&&a.uid},this.destroy=function(t){return function(){t&&t.apply(this,arguments),this.trigger("destroy"),this.off(),this.exec("destroy"),this.disconnectRuntime()}}(this.destroy)}var o;return o=function(){var t={};return{add:function(e){t[e.uid]=e},get:function(e,i){var n;if(e)return t[e];for(n in t)if(!i||!t[n].__standalone)return t[n];return null},remove:function(e){delete t[e.uid]}}}(),e.installTo(n.prototype),n}),e("lib/dnd",["base","mediator","runtime/client"],function(t,e,i){function n(t){t=this.options=o.extend({},n.options,t),t.container=o(t.container),t.container.length&&i.call(this,"DragAndDrop")}var o=t.$;return n.options={accept:null,disableGlobalDnd:!1},t.inherits(i,{constructor:n,init:function(){var t=this;t.connectRuntime(t.options,function(){t.exec("init"),t.trigger("ready")})}}),e.installTo(n.prototype),n}),e("widgets/widget",["base","uploader"],function(t,e){function i(t){if(!t)return!1;var e=t.length,i=o.type(t);return!(1!==t.nodeType||!e)||("array"===i||"function"!==i&&"string"!==i&&(0===e||"number"==typeof e&&e>0&&e-1 in t))}function n(t){this.owner=t,this.options=t.options}var o=t.$,a=e.prototype._init,r=e.prototype.destroy,s={},l=[];return o.extend(n.prototype,{init:t.noop,invoke:function(t,e){var i=this.responseMap;return i&&t in i&&i[t]in this&&o.isFunction(this[i[t]])?this[i[t]].apply(this,e):s},request:function(){return this.owner.request.apply(this.owner,arguments)}}),o.extend(e.prototype,{_init:function(){var t=this,e=t._widgets=[],i=t.options.disableWidgets||"";return o.each(l,function(n,o){(!i||!~i.indexOf(o._name))&&e.push(new o(t))}),a.apply(t,arguments)},request:function(e,n,o){var a,r,l,u,c=0,d=this._widgets,p=d&&d.length,h=[],f=[];for(n=i(n)?n:[n];c<p;c++)a=d[c],r=a.invoke(e,n),r!==s&&(t.isPromise(r)?f.push(r):h.push(r));return o||f.length?(l=t.when.apply(t,f),u=l.pipe?"pipe":"then",l[u](function(){var e=t.Deferred(),i=arguments;return 1===i.length&&(i=i[0]),setTimeout(function(){e.resolve(i)},1),e.promise()})[o?u:"done"](o||t.noop)):h[0]},destroy:function(){r.apply(this,arguments),this._widgets=null}}),e.register=n.register=function(e,i){var a,r={init:"init",destroy:"destroy",name:"anonymous"};return 1===arguments.length?(i=e,o.each(i,function(t){return"_"===t[0]||"name"===t?void("name"===t&&(r.name=i.name)):void(r[t.replace(/[A-Z]/g,"-$&").toLowerCase()]=t)})):r=o.extend(r,e),i.responseMap=r,a=t.inherits(n,i),a._name=r.name,l.push(a),a},e.unRegister=n.unRegister=function(t){if(t&&"anonymous"!==t)for(var e=l.length;e--;)l[e]._name===t&&l.splice(e,1)},n}),e("widgets/filednd",["base","uploader","lib/dnd","widgets/widget"],function(t,e,i){var n=t.$;return e.options.dnd="",e.register({name:"dnd",init:function(e){if(e.dnd&&"html5"===this.request("predict-runtime-type")){var o,a=this,r=t.Deferred(),s=n.extend({},{disableGlobalDnd:e.disableGlobalDnd,container:e.dnd,accept:e.accept});return this.dnd=o=new i(s),o.once("ready",r.resolve),o.on("drop",function(t){a.request("add-file",[t])}),o.on("accept",function(t){return a.owner.trigger("dndAccept",t)}),o.init(),r.promise()}},destroy:function(){this.dnd&&this.dnd.destroy()}})}),e("lib/filepaste",["base","mediator","runtime/client"],function(t,e,i){function n(t){t=this.options=o.extend({},t),t.container=o(t.container||document.body),i.call(this,"FilePaste")}var o=t.$;return t.inherits(i,{constructor:n,init:function(){var t=this;t.connectRuntime(t.options,function(){t.exec("init"),t.trigger("ready")})}}),e.installTo(n.prototype),n}),e("widgets/filepaste",["base","uploader","lib/filepaste","widgets/widget"],function(t,e,i){var n=t.$;return e.register({name:"paste",init:function(e){if(e.paste&&"html5"===this.request("predict-runtime-type")){var o,a=this,r=t.Deferred(),s=n.extend({},{container:e.paste,accept:e.accept});return this.paste=o=new i(s),o.once("ready",r.resolve),o.on("paste",function(t){a.owner.request("add-file",[t])}),o.init(),r.promise()}},destroy:function(){this.paste&&this.paste.destroy()}})}),e("lib/blob",["base","runtime/client"],function(t,e){function i(t,i){var n=this;n.source=i,n.ruid=t,this.size=i.size||0,!i.type&&this.ext&&~"jpg,jpeg,png,gif,bmp".indexOf(this.ext)?this.type="image/"+("jpg"===this.ext?"jpeg":this.ext):this.type=i.type||"application/octet-stream",e.call(n,"Blob"),this.uid=i.uid||this.uid,t&&n.connectRuntime(t)}return t.inherits(e,{constructor:i,slice:function(t,e){return this.exec("slice",t,e)},getSource:function(){return this.source}}),i}),e("lib/file",["base","lib/blob"],function(t,e){function i(t,i){var a;this.name=i.name||"untitled"+n++,a=o.exec(i.name)?RegExp.$1.toLowerCase():"",!a&&i.type&&(a=/\/(jpg|jpeg|png|gif|bmp)$/i.exec(i.type)?RegExp.$1.toLowerCase():"",this.name+="."+a),this.ext=a,this.lastModifiedDate=i.lastModifiedDate||(new Date).toLocaleString(),e.apply(this,arguments)}var n=1,o=/\.([^.]+)$/;return t.inherits(e,i)}),e("lib/filepicker",["base","runtime/client","lib/file"],function(e,i,n){function o(t){if(t=this.options=a.extend({},o.options,t),t.container=a(t.id),!t.container.length)throw new Error("按钮指定错误");t.innerHTML=t.innerHTML||t.label||t.container.html()||"",t.button=a(t.button||document.createElement("div")),t.button.html(t.innerHTML),t.container.html(t.button),i.call(this,"FilePicker",!0)}var a=e.$;return o.options={button:null,container:null,label:null,innerHTML:null,multiple:!0,accept:null,name:"file"},e.inherits(i,{constructor:o,init:function(){var i=this,o=i.options,r=o.button;r.addClass("webuploader-pick"),i.on("all",function(t){var e;switch(t){case"mouseenter":r.addClass("webuploader-pick-hover");break;case"mouseleave":r.removeClass("webuploader-pick-hover");break;case"change":e=i.exec("getFiles"),i.trigger("select",a.map(e,function(t){return t=new n(i.getRuid(),t),t._refer=o.container,t}),o.container)}}),i.connectRuntime(o,function(){i.refresh(),i.exec("init",o),i.trigger("ready")}),this._resizeHandler=e.bindFn(this.refresh,this),a(t).on("resize",this._resizeHandler)},refresh:function(){var t=this.getRuntime().getContainer(),e=this.options.button,i=e.outerWidth?e.outerWidth():e.width(),n=e.outerHeight?e.outerHeight():e.height(),o=e.offset();i&&n&&t.css({bottom:"auto",right:"auto",width:i+"px",height:n+"px"}).offset(o)},enable:function(){var t=this.options.button;t.removeClass("webuploader-pick-disable"),this.refresh()},disable:function(){var t=this.options.button;this.getRuntime().getContainer().css({top:"-99999px"}),t.addClass("webuploader-pick-disable")},destroy:function(){var e=this.options.button;a(t).off("resize",this._resizeHandler),e.removeClass("webuploader-pick-disable webuploader-pick-hover webuploader-pick")}}),o}),e("widgets/filepicker",["base","uploader","lib/filepicker","widgets/widget"],function(t,e,i){var n=t.$;return n.extend(e.options,{pick:null,accept:null}),e.register({name:"picker",init:function(t){return this.pickers=[],t.pick&&this.addBtn(t.pick)},refresh:function(){n.each(this.pickers,function(){this.refresh()})},addBtn:function(e){var o=this,a=o.options,r=a.accept,s=[];if(e)return n.isPlainObject(e)||(e={id:e}),n(e.id).each(function(){var l,u,c;c=t.Deferred(),l=n.extend({},e,{accept:n.isPlainObject(r)?[r]:r,swf:a.swf,runtimeOrder:a.runtimeOrder,id:this}),u=new i(l),u.once("ready",c.resolve),u.on("select",function(t){o.owner.request("add-file",[t])}),u.init(),o.pickers.push(u),s.push(c.promise())}),t.when.apply(t,s)},disable:function(){n.each(this.pickers,function(){this.disable()})},enable:function(){n.each(this.pickers,function(){this.enable()})},destroy:function(){n.each(this.pickers,function(){this.destroy()}),this.pickers=null}})}),e("lib/image",["base","runtime/client","lib/blob"],function(t,e,i){function n(t){this.options=o.extend({},n.options,t),e.call(this,"Image"),this.on("load",function(){this._info=this.exec("info"),this._meta=this.exec("meta")})}var o=t.$;return n.options={quality:90,crop:!1,preserveHeaders:!1,allowMagnify:!1},t.inherits(e,{constructor:n,info:function(t){return t?(this._info=t,this):this._info},meta:function(t){return t?(this._meta=t,this):this._meta},loadFromBlob:function(t){var e=this,i=t.getRuid();this.connectRuntime(i,function(){e.exec("init",e.options),e.exec("loadFromBlob",t)})},resize:function(){var e=t.slice(arguments);return this.exec.apply(this,["resize"].concat(e))},crop:function(){var e=t.slice(arguments);return this.exec.apply(this,["crop"].concat(e))},getAsDataUrl:function(t){return this.exec("getAsDataUrl",t)},getAsBlob:function(t){var e=this.exec("getAsBlob",t);return new i(this.getRuid(),e)}}),n}),e("widgets/image",["base","uploader","lib/image","widgets/widget"],function(t,e,i){var n,o=t.$;return n=function(t){var e=0,i=[],n=function(){for(var n;i.length&&e<t;)n=i.shift(),e+=n[0],n[1]()};return function(t,o,a){i.push([o,a]),t.once("destroy",function(){e-=o,setTimeout(n,1)}),setTimeout(n,1)}}(5242880),o.extend(e.options,{thumb:{width:110,height:110,quality:70,allowMagnify:!0,crop:!0,preserveHeaders:!1,type:"image/jpeg"},compress:!1}),e.register({name:"image",makeThumb:function(t,e,a,r){var s,l;return t=this.request("get-file",t),t.type.match(/^image/)?(s=o.extend({},this.options.thumb),o.isPlainObject(a)&&(s=o.extend(s,a),a=null),a=a||s.width,r=r||s.height,l=new i(s),l.once("load",function(){t._info=t._info||l.info(),t._meta=t._meta||l.meta(),a<=1&&a>0&&(a=t._info.width*a),r<=1&&r>0&&(r=t._info.height*r),l.resize(a,r)}),l.once("complete",function(){e(!1,l.getAsDataUrl(s.type)),l.destroy()}),l.once("error",function(t){e(t||!0),l.destroy()}),void n(l,t.source.size,function(){t._info&&l.info(t._info),t._meta&&l.meta(t._meta),l.loadFromBlob(t.source)})):void e(!0)},beforeSendFile:function(e){var n,a,r=this.options.compress||this.options.resize,s=r&&r.compressSize||0,l=r&&r.noCompressIfLarger||!1;if(e=this.request("get-file",e),r&&~"image/jpeg,image/jpg".indexOf(e.type)&&!(e.size<s)&&!e._compressed)return r=o.extend({},r),a=t.Deferred(),n=new i(r),a.always(function(){n.destroy(),n=null}),n.once("error",a.reject),n.once("load",function(){var t=r.width,i=r.height;e._info=e._info||n.info(),e._meta=e._meta||n.meta(),t<=1&&t>0&&(t=e._info.width*t),i<=1&&i>0&&(i=e._info.height*i),n.resize(t,i)}),n.once("complete",function(){var t,i;try{t=n.getAsBlob(r.type),i=e.size,(!l||t.size<i)&&(e.source=t,e.size=t.size,e.trigger("resize",t.size,i)),e._compressed=!0,a.resolve()}catch(t){a.resolve()}}),e._info&&n.info(e._info),e._meta&&n.meta(e._meta),n.loadFromBlob(e.source),a.promise()}})}),e("file",["base","mediator"],function(t,e){function i(){return a+r++}function n(t){this.name=t.name||"Untitled",this.size=t.size||0,this.type=t.type||"application/octet-stream",this.lastModifiedDate=t.lastModifiedDate||1*new Date,this.id=i(),this.ext=s.exec(this.name)?RegExp.$1:"",this.statusText="",l[this.id]=n.Status.INITED,this.source=t,this.loaded=0,this.on("error",function(t){this.setStatus(n.Status.ERROR,t)})}var o=t.$,a="WU_FILE_",r=0,s=/\.([^.]+)$/,l={};return o.extend(n.prototype,{setStatus:function(t,e){var i=l[this.id];"undefined"!=typeof e&&(this.statusText=e),t!==i&&(l[this.id]=t,this.trigger("statuschange",t,i))},getStatus:function(){return l[this.id]},getSource:function(){return this.source},destroy:function(){this.off(),delete l[this.id]}}),e.installTo(n.prototype),n.Status={INITED:"inited",QUEUED:"queued",PROGRESS:"progress",ERROR:"error",COMPLETE:"complete",CANCELLED:"cancelled",INTERRUPT:"interrupt",INVALID:"invalid"},n}),e("queue",["base","mediator","file"],function(t,e,i){function n(){this.stats={numOfQueue:0,numOfSuccess:0,numOfCancel:0,numOfProgress:0,numOfUploadFailed:0,numOfInvalid:0,numofDeleted:0,numofInterrupt:0},this._queue=[],this._map={}}var o=t.$,a=i.Status;return o.extend(n.prototype,{append:function(t){return this._queue.push(t),this._fileAdded(t),this},prepend:function(t){return this._queue.unshift(t),this._fileAdded(t),this},getFile:function(t){return"string"!=typeof t?t:this._map[t]},fetch:function(t){var e,i,n=this._queue.length;for(t=t||a.QUEUED,e=0;e<n;e++)if(i=this._queue[e],t===i.getStatus())return i;return null},sort:function(t){"function"==typeof t&&this._queue.sort(t)},getFiles:function(){for(var t,e=[].slice.call(arguments,0),i=[],n=0,a=this._queue.length;n<a;n++)t=this._queue[n],e.length&&!~o.inArray(t.getStatus(),e)||i.push(t);return i},removeFile:function(t){var e=this._map[t.id];e&&(delete this._map[t.id],t.destroy(),this.stats.numofDeleted++)},_fileAdded:function(t){var e=this,i=this._map[t.id];i||(this._map[t.id]=t,t.on("statuschange",function(t,i){e._onFileStatusChange(t,i)}))},_onFileStatusChange:function(t,e){var i=this.stats;switch(e){case a.PROGRESS:i.numOfProgress--;break;case a.QUEUED:i.numOfQueue--;break;case a.ERROR:i.numOfUploadFailed--;break;case a.INVALID:i.numOfInvalid--;break;case a.INTERRUPT:i.numofInterrupt--}switch(t){case a.QUEUED:i.numOfQueue++;break;case a.PROGRESS:i.numOfProgress++;break;case a.ERROR:i.numOfUploadFailed++;break;case a.COMPLETE:i.numOfSuccess++;break;case a.CANCELLED:i.numOfCancel++;break;case a.INVALID:i.numOfInvalid++;break;case a.INTERRUPT:i.numofInterrupt++}}}),e.installTo(n.prototype),n}),e("widgets/queue",["base","uploader","queue","file","lib/file","runtime/client","widgets/widget"],function(t,e,i,n,o,a){var r=t.$,s=/\.\w+$/,l=n.Status;return e.register({name:"queue",init:function(e){var n,o,s,l,u,c,d,p=this;if(r.isPlainObject(e.accept)&&(e.accept=[e.accept]),e.accept){for(u=[],s=0,o=e.accept.length;s<o;s++)l=e.accept[s].extensions,l&&u.push(l);u.length&&(c="\\."+u.join(",").replace(/,/g,"$|\\.").replace(/\*/g,".*")+"$"),p.accept=new RegExp(c,"i")}if(p.queue=new i,p.stats=p.queue.stats,"html5"===this.request("predict-runtime-type"))return n=t.Deferred(),this.placeholder=d=new a("Placeholder"),d.connectRuntime({runtimeOrder:"html5"},function(){p._ruid=d.getRuid(),n.resolve()}),n.promise()},_wrapFile:function(t){if(!(t instanceof n)){if(!(t instanceof o)){if(!this._ruid)throw new Error("Can't add external files.");t=new o(this._ruid,t)}t=new n(t)}return t},acceptFile:function(t){var e=!t||!t.size||this.accept&&s.exec(t.name)&&!this.accept.test(t.name);return!e},_addFile:function(t){var e=this;if(t=e._wrapFile(t),e.owner.trigger("beforeFileQueued",t))return e.acceptFile(t)?(e.queue.append(t),e.owner.trigger("fileQueued",t),t):void e.owner.trigger("error","Q_TYPE_DENIED",t)},getFile:function(t){return this.queue.getFile(t)},addFile:function(t){var e=this;t.length||(t=[t]),t=r.map(t,function(t){return e._addFile(t)}),e.owner.trigger("filesQueued",t),e.options.auto&&setTimeout(function(){e.request("start-upload")},20)},getStats:function(){return this.stats},removeFile:function(t,e){var i=this;t=t.id?t:i.queue.getFile(t),this.request("cancel-file",t),e&&this.queue.removeFile(t)},getFiles:function(){return this.queue.getFiles.apply(this.queue,arguments)},fetchFile:function(){return this.queue.fetch.apply(this.queue,arguments)},retry:function(t,e){var i,n,o,a=this;if(t)return t=t.id?t:a.queue.getFile(t),t.setStatus(l.QUEUED),void(e||a.request("start-upload"));for(i=a.queue.getFiles(l.ERROR),n=0,o=i.length;n<o;n++)t=i[n],t.setStatus(l.QUEUED);a.request("start-upload")},sortFiles:function(){return this.queue.sort.apply(this.queue,arguments)},reset:function(){this.owner.trigger("reset"),this.queue=new i,this.stats=this.queue.stats},destroy:function(){this.reset(),this.placeholder&&this.placeholder.destroy()}})}),e("widgets/runtime",["uploader","runtime/runtime","widgets/widget"],function(t,e){return t.support=function(){return e.hasRuntime.apply(e,arguments)},t.register({name:"runtime",init:function(){if(!this.predictRuntimeType())throw Error("Runtime Error")},predictRuntimeType:function(){var t,i,n=this.options.runtimeOrder||e.orders,o=this.type;if(!o)for(n=n.split(/\s*,\s*/g),t=0,i=n.length;t<i;t++)if(e.hasRuntime(n[t])){this.type=o=n[t];break}return o}})}),e("lib/transport",["base","runtime/client","mediator"],function(t,e,i){function n(t){var i=this;t=i.options=o.extend(!0,{},n.options,t||{}),e.call(this,"Transport"),this._blob=null,this._formData=t.formData||{},this._headers=t.headers||{},this.on("progress",this._timeout),this.on("load error",function(){i.trigger("progress",1),clearTimeout(i._timer)})}var o=t.$;return n.options={server:"",method:"POST",withCredentials:!1,fileVal:"file",timeout:12e4,formData:{},headers:{},sendAsBinary:!1},o.extend(n.prototype,{appendBlob:function(t,e,i){var n=this,o=n.options;n.getRuid()&&n.disconnectRuntime(),n.connectRuntime(e.ruid,function(){n.exec("init")}),n._blob=e,o.fileVal=t||o.fileVal,o.filename=i||o.filename},append:function(t,e){"object"==typeof t?o.extend(this._formData,t):this._formData[t]=e},setRequestHeader:function(t,e){"object"==typeof t?o.extend(this._headers,t):this._headers[t]=e},send:function(t){this.exec("send",t),this._timeout()},abort:function(){return clearTimeout(this._timer),this.exec("abort")},destroy:function(){this.trigger("destroy"),this.off(),this.exec("destroy"),this.disconnectRuntime()},getResponse:function(){return this.exec("getResponse")},getResponseAsJson:function(){return this.exec("getResponseAsJson")},getStatus:function(){return this.exec("getStatus")},_timeout:function(){var t=this,e=t.options.timeout;e&&(clearTimeout(t._timer),t._timer=setTimeout(function(){t.abort(),t.trigger("error","timeout")},e))}}),i.installTo(n.prototype),n}),e("widgets/upload",["base","uploader","file","lib/transport","widgets/widget"],function(t,e,i,n){function o(t,e){var i,n,o=[],a=t.source,r=a.size,s=e?Math.ceil(r/e):1,l=0,u=0;for(n={file:t,has:function(){return!!o.length},shift:function(){return o.shift()},unshift:function(t){o.unshift(t)}};u<s;)i=Math.min(e,r-l),o.push({file:t,start:l,end:e?l+i:r,total:r,chunks:s,chunk:u++,cuted:n}),l+=i;return t.blocks=o.concat(),t.remaning=o.length,n}var a=t.$,r=t.isPromise,s=i.Status;a.extend(e.options,{prepareNextFile:!1,chunked:!1,chunkSize:5242880,chunkRetry:2,threads:3,formData:{}}),e.register({name:"upload",init:function(){var e=this.owner,i=this;this.runing=!1,this.progress=!1,e.on("startUpload",function(){i.progress=!0}).on("uploadFinished",function(){i.progress=!1}),this.pool=[],this.stack=[],this.pending=[],this.remaning=0,this.__tick=t.bindFn(this._tick,this),e.on("uploadComplete",function(t){t.blocks&&a.each(t.blocks,function(t,e){e.transport&&(e.transport.abort(),e.transport.destroy()),delete e.transport}),delete t.blocks,delete t.remaning})},reset:function(){this.request("stop-upload",!0),this.runing=!1,this.pool=[],this.stack=[],this.pending=[],this.remaning=0,this._trigged=!1,this._promise=null},startUpload:function(e){var i=this;if(a.each(i.request("get-files",s.INVALID),function(){i.request("remove-file",this)}),e)if(e=e.id?e:i.request("get-file",e),e.getStatus()===s.INTERRUPT)a.each(i.pool,function(t,i){i.file===e&&i.transport&&i.transport.send()}),e.setStatus(s.QUEUED);else{if(e.getStatus()===s.PROGRESS)return;e.setStatus(s.QUEUED)}else a.each(i.request("get-files",[s.INITED]),function(){this.setStatus(s.QUEUED)});if(!i.runing){i.runing=!0;var n=[];a.each(i.pool,function(t,e){var o=e.file;o.getStatus()===s.INTERRUPT&&(n.push(o),i._trigged=!1,e.transport&&e.transport.send())});for(var e;e=n.shift();)e.setStatus(s.PROGRESS);e||a.each(i.request("get-files",s.INTERRUPT),function(){this.setStatus(s.PROGRESS)}),i._trigged=!1,t.nextTick(i.__tick),i.owner.trigger("startUpload")}},stopUpload:function(e,i){var n=this;if(e===!0&&(i=e,e=null),n.runing!==!1){if(e){if(e=e.id?e:n.request("get-file",e),e.getStatus()!==s.PROGRESS&&e.getStatus()!==s.QUEUED)return;return e.setStatus(s.INTERRUPT),a.each(n.pool,function(t,i){i.file===e&&(i.transport&&i.transport.abort(),n._putback(i),n._popBlock(i))}),t.nextTick(n.__tick)}n.runing=!1,this._promise&&this._promise.file&&this._promise.file.setStatus(s.INTERRUPT),i&&a.each(n.pool,function(t,e){e.transport&&e.transport.abort(),e.file.setStatus(s.INTERRUPT)}),n.owner.trigger("stopUpload")}},cancelFile:function(t){t=t.id?t:this.request("get-file",t),t.blocks&&a.each(t.blocks,function(t,e){var i=e.transport;i&&(i.abort(),i.destroy(),delete e.transport)}),t.setStatus(s.CANCELLED),this.owner.trigger("fileDequeued",t)},isInProgress:function(){return!!this.progress},_getStats:function(){return this.request("get-stats")},skipFile:function(t,e){t=t.id?t:this.request("get-file",t),t.setStatus(e||s.COMPLETE),t.skipped=!0,t.blocks&&a.each(t.blocks,function(t,e){var i=e.transport;i&&(i.abort(),i.destroy(),delete e.transport)}),this.owner.trigger("uploadSkip",t)},_tick:function(){var e,i,n=this,o=n.options;return n._promise?n._promise.always(n.__tick):void(n.pool.length<o.threads&&(i=n._nextBlock())?(n._trigged=!1,e=function(e){n._promise=null,e&&e.file&&n._startSend(e),t.nextTick(n.__tick)},n._promise=r(i)?i.always(e):e(i)):n.remaning||n._getStats().numOfQueue||n._getStats().numofInterrupt||(n.runing=!1,n._trigged||t.nextTick(function(){n.owner.trigger("uploadFinished")}),n._trigged=!0))},_putback:function(t){var e;t.cuted.unshift(t),e=this.stack.indexOf(t.cuted),~e||this.stack.unshift(t.cuted)},_getStack:function(){for(var t,e=0;t=this.stack[e++];){if(t.has()&&t.file.getStatus()===s.PROGRESS)return t;(!t.has()||t.file.getStatus()!==s.PROGRESS&&t.file.getStatus()!==s.INTERRUPT)&&this.stack.splice(--e,1)}return null},_nextBlock:function(){var t,e,i,n,a=this,s=a.options;return(t=this._getStack())?(s.prepareNextFile&&!a.pending.length&&a._prepareNextFile(),t.shift()):a.runing?(!a.pending.length&&a._getStats().numOfQueue&&a._prepareNextFile(),e=a.pending.shift(),i=function(e){return e?(t=o(e,s.chunked?s.chunkSize:0),a.stack.push(t),t.shift()):null},r(e)?(n=e.file,e=e[e.pipe?"pipe":"then"](i),e.file=n,e):i(e)):void 0},_prepareNextFile:function(){var t,e=this,i=e.request("fetch-file"),n=e.pending;i&&(t=e.request("before-send-file",i,function(){return i.getStatus()===s.PROGRESS||i.getStatus()===s.INTERRUPT?i:e._finishFile(i)}),e.owner.trigger("uploadStart",i),i.setStatus(s.PROGRESS),t.file=i,t.done(function(){var e=a.inArray(t,n);~e&&n.splice(e,1,i)}),t.fail(function(t){i.setStatus(s.ERROR,t),e.owner.trigger("uploadError",i,t),e.owner.trigger("uploadComplete",i)}),n.push(t))},_popBlock:function(t){var e=a.inArray(t,this.pool);this.pool.splice(e,1),t.file.remaning--,this.remaning--},_startSend:function(e){var i,n=this,o=e.file;return o.getStatus()!==s.PROGRESS?void(o.getStatus()===s.INTERRUPT&&n._putback(e)):(n.pool.push(e),n.remaning++,e.blob=1===e.chunks?o.source:o.source.slice(e.start,e.end),i=n.request("before-send",e,function(){o.getStatus()===s.PROGRESS?n._doSend(e):(n._popBlock(e),t.nextTick(n.__tick))}),void i.fail(function(){1===o.remaning?n._finishFile(o).always(function(){e.percentage=1,n._popBlock(e),n.owner.trigger("uploadComplete",o),t.nextTick(n.__tick)}):(e.percentage=1,n.updateFileProgress(o),n._popBlock(e),t.nextTick(n.__tick))}))},_doSend:function(e){var i,o,r=this,l=r.owner,u=r.options,c=e.file,d=new n(u),p=a.extend({},u.formData),h=a.extend({},u.headers);e.transport=d,d.on("destroy",function(){delete e.transport,r._popBlock(e),t.nextTick(r.__tick)}),d.on("progress",function(t){e.percentage=t,r.updateFileProgress(c)}),i=function(t){var i;return o=d.getResponseAsJson()||{},o._raw=d.getResponse(),i=function(e){t=e},l.trigger("uploadAccept",e,o,i)||(t=t||"server"),t},d.on("error",function(t,n){e.retried=e.retried||0,e.chunks>1&&~"http,abort".indexOf(t)&&e.retried<u.chunkRetry?(e.retried++,d.send()):(n||"server"!==t||(t=i(t)),c.setStatus(s.ERROR,t),l.trigger("uploadError",c,t),l.trigger("uploadComplete",c))}),d.on("load",function(){var t;return(t=i())?void d.trigger("error",t,!0):void(1===c.remaning?r._finishFile(c,o):d.destroy())}),p=a.extend(p,{id:c.id,name:c.name,type:c.type,lastModifiedDate:c.lastModifiedDate,size:c.size}),e.chunks>1&&a.extend(p,{chunks:e.chunks,chunk:e.chunk}),l.trigger("uploadBeforeSend",e,p,h),d.appendBlob(u.fileVal,e.blob,c.name),d.append(p),d.setRequestHeader(h),d.send()},_finishFile:function(t,e,i){var n=this.owner;return n.request("after-send-file",arguments,function(){t.setStatus(s.COMPLETE),n.trigger("uploadSuccess",t,e,i)}).fail(function(e){t.getStatus()===s.PROGRESS&&t.setStatus(s.ERROR,e),n.trigger("uploadError",t,e)}).always(function(){n.trigger("uploadComplete",t)})},updateFileProgress:function(t){var e=0,i=0;t.blocks&&(a.each(t.blocks,function(t,e){i+=(e.percentage||0)*(e.end-e.start);
  }),e=i/t.size,this.owner.trigger("uploadProgress",t,e||0))}})}),e("widgets/validator",["base","uploader","file","widgets/widget"],function(t,e,i){var n,o=t.$,a={};return n={addValidator:function(t,e){a[t]=e},removeValidator:function(t){delete a[t]}},e.register({name:"validator",init:function(){var e=this;t.nextTick(function(){o.each(a,function(){this.call(e.owner)})})}}),n.addValidator("fileNumLimit",function(){var t=this,e=t.options,i=0,n=parseInt(e.fileNumLimit,10),o=!0;n&&(t.on("beforeFileQueued",function(t){return i>=n&&o&&(o=!1,this.trigger("error","Q_EXCEED_NUM_LIMIT",n,t),setTimeout(function(){o=!0},1)),!(i>=n)}),t.on("fileQueued",function(){i++}),t.on("fileDequeued",function(){i--}),t.on("reset",function(){i=0}))}),n.addValidator("fileSizeLimit",function(){var t=this,e=t.options,i=0,n=parseInt(e.fileSizeLimit,10),o=!0;n&&(t.on("beforeFileQueued",function(t){var e=i+t.size>n;return e&&o&&(o=!1,this.trigger("error","Q_EXCEED_SIZE_LIMIT",n,t),setTimeout(function(){o=!0},1)),!e}),t.on("fileQueued",function(t){i+=t.size}),t.on("fileDequeued",function(t){i-=t.size}),t.on("reset",function(){i=0}))}),n.addValidator("fileSingleSizeLimit",function(){var t=this,e=t.options,n=e.fileSingleSizeLimit;n&&t.on("beforeFileQueued",function(t){if(t.size>n)return t.setStatus(i.Status.INVALID,"exceed_size"),this.trigger("error","F_EXCEED_SIZE",n,t),!1})}),n.addValidator("duplicate",function(){function t(t){for(var e,i=0,n=0,o=t.length;n<o;n++)e=t.charCodeAt(n),i=e+(i<<6)+(i<<16)-i;return i}var e=this,i=e.options,n={};i.duplicate||(e.on("beforeFileQueued",function(e){var i=e.__hash||(e.__hash=t(e.name+e.size+e.lastModifiedDate));if(n[i])return this.trigger("error","F_DUPLICATE",e),!1}),e.on("fileQueued",function(t){var e=t.__hash;e&&(n[e]=!0)}),e.on("fileDequeued",function(t){var e=t.__hash;e&&delete n[e]}),e.on("reset",function(){n={}}))}),n}),e("lib/md5",["runtime/client","mediator"],function(t,e){function i(){t.call(this,"Md5")}return e.installTo(i.prototype),i.prototype.loadFromBlob=function(t){var e=this;e.getRuid()&&e.disconnectRuntime(),e.connectRuntime(t.ruid,function(){e.exec("init"),e.exec("loadFromBlob",t)})},i.prototype.getResult=function(){return this.exec("getResult")},i}),e("widgets/md5",["base","uploader","lib/md5","lib/blob","widgets/widget"],function(t,e,i,n){return e.register({name:"md5",md5File:function(e,o,a){var r=new i,s=t.Deferred(),l=e instanceof n?e:this.request("get-file",e).source;return r.on("progress load",function(t){t=t||{},s.notify(t.total?t.loaded/t.total:1)}),r.on("complete",function(){s.resolve(r.getResult())}),r.on("error",function(t){s.reject(t)}),arguments.length>1&&(o=o||0,a=a||0,o<0&&(o=l.size+o),a<0&&(a=l.size+a),a=Math.min(a,l.size),l=l.slice(o,a)),r.loadFromBlob(l),s.promise()}})}),e("runtime/compbase",[],function(){function t(t,e){this.owner=t,this.options=t.options,this.getRuntime=function(){return e},this.getRuid=function(){return e.uid},this.trigger=function(){return t.trigger.apply(t,arguments)}}return t}),e("runtime/html5/runtime",["base","runtime/runtime","runtime/compbase"],function(e,i,n){function o(){var t={},n=this,o=this.destroy;i.apply(n,arguments),n.type=a,n.exec=function(i,o){var a,s=this,l=s.uid,u=e.slice(arguments,2);if(r[i]&&(a=t[l]=t[l]||new r[i](s,n),a[o]))return a[o].apply(a,u)},n.destroy=function(){return o&&o.apply(this,arguments)}}var a="html5",r={};return e.inherits(i,{constructor:o,init:function(){var t=this;setTimeout(function(){t.trigger("ready")},1)}}),o.register=function(t,i){var o=r[t]=e.inherits(n,i);return o},t.Blob&&t.FileReader&&t.DataView&&i.addRuntime(a,o),o}),e("runtime/html5/blob",["runtime/html5/runtime","lib/blob"],function(t,e){return t.register("Blob",{slice:function(t,i){var n=this.owner.source,o=n.slice||n.webkitSlice||n.mozSlice;return n=o.call(n,t,i),new e(this.getRuid(),n)}})}),e("runtime/html5/dnd",["base","runtime/html5/runtime","lib/file"],function(t,e,i){var n=t.$,o="webuploader-dnd-";return e.register("DragAndDrop",{init:function(){var e=this.elem=this.options.container;this.dragEnterHandler=t.bindFn(this._dragEnterHandler,this),this.dragOverHandler=t.bindFn(this._dragOverHandler,this),this.dragLeaveHandler=t.bindFn(this._dragLeaveHandler,this),this.dropHandler=t.bindFn(this._dropHandler,this),this.dndOver=!1,e.on("dragenter",this.dragEnterHandler),e.on("dragover",this.dragOverHandler),e.on("dragleave",this.dragLeaveHandler),e.on("drop",this.dropHandler),this.options.disableGlobalDnd&&(n(document).on("dragover",this.dragOverHandler),n(document).on("drop",this.dropHandler))},_dragEnterHandler:function(t){var e,i=this,n=i._denied||!1;return t=t.originalEvent||t,i.dndOver||(i.dndOver=!0,e=t.dataTransfer.items,e&&e.length&&(i._denied=n=!i.trigger("accept",e)),i.elem.addClass(o+"over"),i.elem[n?"addClass":"removeClass"](o+"denied")),t.dataTransfer.dropEffect=n?"none":"copy",!1},_dragOverHandler:function(t){var e=this.elem.parent().get(0);return!(e&&!n.contains(e,t.currentTarget))&&(clearTimeout(this._leaveTimer),this._dragEnterHandler.call(this,t),!1)},_dragLeaveHandler:function(){var t,e=this;return t=function(){e.dndOver=!1,e.elem.removeClass(o+"over "+o+"denied")},clearTimeout(e._leaveTimer),e._leaveTimer=setTimeout(t,100),!1},_dropHandler:function(t){var e,a,r=this,s=r.getRuid(),l=r.elem.parent().get(0);if(l&&!n.contains(l,t.currentTarget))return!1;t=t.originalEvent||t,e=t.dataTransfer;try{a=e.getData("text/html")}catch(t){}return a?void 0:(r._getTansferFiles(e,function(t){r.trigger("drop",n.map(t,function(t){return new i(s,t)}))}),r.dndOver=!1,r.elem.removeClass(o+"over"),!1)},_getTansferFiles:function(e,i){var n,o,a,r,s,l,u,c=[],d=[];for(n=e.items,o=e.files,u=!(!n||!n[0].webkitGetAsEntry),s=0,l=o.length;s<l;s++)a=o[s],r=n&&n[s],u&&r.webkitGetAsEntry().isDirectory?d.push(this._traverseDirectoryTree(r.webkitGetAsEntry(),c)):c.push(a);t.when.apply(t,d).done(function(){c.length&&i(c)})},_traverseDirectoryTree:function(e,i){var n=t.Deferred(),o=this;return e.isFile?e.file(function(t){i.push(t),n.resolve()}):e.isDirectory&&e.createReader().readEntries(function(e){var a,r=e.length,s=[],l=[];for(a=0;a<r;a++)s.push(o._traverseDirectoryTree(e[a],l));t.when.apply(t,s).then(function(){i.push.apply(i,l),n.resolve()},n.reject)}),n.promise()},destroy:function(){var t=this.elem;t&&(t.off("dragenter",this.dragEnterHandler),t.off("dragover",this.dragOverHandler),t.off("dragleave",this.dragLeaveHandler),t.off("drop",this.dropHandler),this.options.disableGlobalDnd&&(n(document).off("dragover",this.dragOverHandler),n(document).off("drop",this.dropHandler)))}})}),e("runtime/html5/filepaste",["base","runtime/html5/runtime","lib/file"],function(t,e,i){return e.register("FilePaste",{init:function(){var e,i,n,o,a=this.options,r=this.elem=a.container,s=".*";if(a.accept){for(e=[],i=0,n=a.accept.length;i<n;i++)o=a.accept[i].mimeTypes,o&&e.push(o);e.length&&(s=e.join(","),s=s.replace(/,/g,"|").replace(/\*/g,".*"))}this.accept=s=new RegExp(s,"i"),this.hander=t.bindFn(this._pasteHander,this),r.on("paste",this.hander)},_pasteHander:function(t){var e,n,o,a,r,s=[],l=this.getRuid();for(t=t.originalEvent||t,e=t.clipboardData.items,a=0,r=e.length;a<r;a++)n=e[a],"file"===n.kind&&(o=n.getAsFile())&&s.push(new i(l,o));s.length&&(t.preventDefault(),t.stopPropagation(),this.trigger("paste",s))},destroy:function(){this.elem.off("paste",this.hander)}})}),e("runtime/html5/filepicker",["base","runtime/html5/runtime"],function(t,e){var i=t.$;return e.register("FilePicker",{init:function(){var t,e,n,o,a=this.getRuntime().getContainer(),r=this,s=r.owner,l=r.options,u=this.label=i(document.createElement("label")),c=this.input=i(document.createElement("input"));if(c.attr("type","file"),c.attr("name",l.name),c.addClass("webuploader-element-invisible"),u.on("click",function(){c.trigger("click")}),u.css({opacity:0,width:"100%",height:"100%",display:"block",cursor:"pointer",background:"#ffffff"}),l.multiple&&c.attr("multiple","multiple"),l.accept&&l.accept.length>0){for(t=[],e=0,n=l.accept.length;e<n;e++)t.push(l.accept[e].mimeTypes);c.attr("accept",t.join(","))}a.append(c),a.append(u),o=function(t){s.trigger(t.type)},c.on("change",function(t){var e,n=arguments.callee;r.files=t.target.files,e=this.cloneNode(!0),e.value=null,this.parentNode.replaceChild(e,this),c.off(),c=i(e).on("change",n).on("mouseenter mouseleave",o),s.trigger("change")}),u.on("mouseenter mouseleave",o)},getFiles:function(){return this.files},destroy:function(){this.input.off(),this.label.off()}})}),e("runtime/html5/util",["base"],function(e){var i=t.createObjectURL&&t||t.URL&&URL.revokeObjectURL&&URL||t.webkitURL,n=e.noop,o=n;return i&&(n=function(){return i.createObjectURL.apply(i,arguments)},o=function(){return i.revokeObjectURL.apply(i,arguments)}),{createObjectURL:n,revokeObjectURL:o,dataURL2Blob:function(t){var e,i,n,o,a,r;for(r=t.split(","),e=~r[0].indexOf("base64")?atob(r[1]):decodeURIComponent(r[1]),n=new ArrayBuffer(e.length),i=new Uint8Array(n),o=0;o<e.length;o++)i[o]=e.charCodeAt(o);return a=r[0].split(":")[1].split(";")[0],this.arrayBufferToBlob(n,a)},dataURL2ArrayBuffer:function(t){var e,i,n,o;for(o=t.split(","),e=~o[0].indexOf("base64")?atob(o[1]):decodeURIComponent(o[1]),i=new Uint8Array(e.length),n=0;n<e.length;n++)i[n]=e.charCodeAt(n);return i.buffer},arrayBufferToBlob:function(e,i){var n,o=t.BlobBuilder||t.WebKitBlobBuilder;return o?(n=new o,n.append(e),n.getBlob(i)):new Blob([e],i?{type:i}:{})},canvasToDataUrl:function(t,e,i){return t.toDataURL(e,i/100)},parseMeta:function(t,e){e(!1,{})},updateImageHead:function(t){return t}}}),e("runtime/html5/imagemeta",["runtime/html5/util"],function(t){var e;return e={parsers:{65505:[]},maxMetaDataSize:262144,parse:function(t,e){var i=this,n=new FileReader;n.onload=function(){e(!1,i._parse(this.result)),n=n.onload=n.onerror=null},n.onerror=function(t){e(t.message),n=n.onload=n.onerror=null},t=t.slice(0,i.maxMetaDataSize),n.readAsArrayBuffer(t.getSource())},_parse:function(t,i){if(!(t.byteLength<6)){var n,o,a,r,s=new DataView(t),l=2,u=s.byteLength-4,c=l,d={};if(65496===s.getUint16(0)){for(;l<u&&(n=s.getUint16(l),n>=65504&&n<=65519||65534===n)&&(o=s.getUint16(l+2)+2,!(l+o>s.byteLength));){if(a=e.parsers[n],!i&&a)for(r=0;r<a.length;r+=1)a[r].call(e,s,l,o,d);l+=o,c=l}c>6&&(t.slice?d.imageHead=t.slice(2,c):d.imageHead=new Uint8Array(t).subarray(2,c))}return d}},updateImageHead:function(t,e){var i,n,o,a=this._parse(t,!0);return o=2,a.imageHead&&(o=2+a.imageHead.byteLength),n=t.slice?t.slice(o):new Uint8Array(t).subarray(o),i=new Uint8Array(e.byteLength+2+n.byteLength),i[0]=255,i[1]=216,i.set(new Uint8Array(e),2),i.set(new Uint8Array(n),e.byteLength+2),i.buffer}},t.parseMeta=function(){return e.parse.apply(e,arguments)},t.updateImageHead=function(){return e.updateImageHead.apply(e,arguments)},e}),e("runtime/html5/imagemeta/exif",["base","runtime/html5/imagemeta"],function(t,e){var i={};return i.ExifMap=function(){return this},i.ExifMap.prototype.map={Orientation:274},i.ExifMap.prototype.get=function(t){return this[t]||this[this.map[t]]},i.exifTagTypes={1:{getValue:function(t,e){return t.getUint8(e)},size:1},2:{getValue:function(t,e){return String.fromCharCode(t.getUint8(e))},size:1,ascii:!0},3:{getValue:function(t,e,i){return t.getUint16(e,i)},size:2},4:{getValue:function(t,e,i){return t.getUint32(e,i)},size:4},5:{getValue:function(t,e,i){return t.getUint32(e,i)/t.getUint32(e+4,i)},size:8},9:{getValue:function(t,e,i){return t.getInt32(e,i)},size:4},10:{getValue:function(t,e,i){return t.getInt32(e,i)/t.getInt32(e+4,i)},size:8}},i.exifTagTypes[7]=i.exifTagTypes[1],i.getExifValue=function(e,n,o,a,r,s){var l,u,c,d,p,h,f=i.exifTagTypes[a];if(!f)return void t.log("Invalid Exif data: Invalid tag type.");if(l=f.size*r,u=l>4?n+e.getUint32(o+8,s):o+8,u+l>e.byteLength)return void t.log("Invalid Exif data: Invalid data offset.");if(1===r)return f.getValue(e,u,s);for(c=[],d=0;d<r;d+=1)c[d]=f.getValue(e,u+d*f.size,s);if(f.ascii){for(p="",d=0;d<c.length&&(h=c[d],"\0"!==h);d+=1)p+=h;return p}return c},i.parseExifTag=function(t,e,n,o,a){var r=t.getUint16(n,o);a.exif[r]=i.getExifValue(t,e,n,t.getUint16(n+2,o),t.getUint32(n+4,o),o)},i.parseExifTags=function(e,i,n,o,a){var r,s,l;if(n+6>e.byteLength)return void t.log("Invalid Exif data: Invalid directory offset.");if(r=e.getUint16(n,o),s=n+2+12*r,s+4>e.byteLength)return void t.log("Invalid Exif data: Invalid directory size.");for(l=0;l<r;l+=1)this.parseExifTag(e,i,n+2+12*l,o,a);return e.getUint32(s,o)},i.parseExifData=function(e,n,o,a){var r,s,l=n+10;if(1165519206===e.getUint32(n+4)){if(l+8>e.byteLength)return void t.log("Invalid Exif data: Invalid segment size.");if(0!==e.getUint16(n+8))return void t.log("Invalid Exif data: Missing byte alignment offset.");switch(e.getUint16(l)){case 18761:r=!0;break;case 19789:r=!1;break;default:return void t.log("Invalid Exif data: Invalid byte alignment marker.")}if(42!==e.getUint16(l+2,r))return void t.log("Invalid Exif data: Missing TIFF marker.");s=e.getUint32(l+4,r),a.exif=new i.ExifMap,s=i.parseExifTags(e,l,l+s,r,a)}},e.parsers[65505].push(i.parseExifData),i}),e("runtime/html5/jpegencoder",[],function(t,e,i){function n(t){function e(t){for(var e=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],i=0;i<64;i++){var n=_((e[i]*t+50)/100);n<1?n=1:n>255&&(n=255),C[H[i]]=n}for(var o=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],a=0;a<64;a++){var r=_((o[a]*t+50)/100);r<1?r=1:r>255&&(r=255),E[H[a]]=r}for(var s=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],l=0,u=0;u<8;u++)for(var c=0;c<8;c++)T[l]=1/(C[H[l]]*s[u]*s[c]*8),D[l]=1/(E[H[l]]*s[u]*s[c]*8),l++}function i(t,e){for(var i=0,n=0,o=new Array,a=1;a<=16;a++){for(var r=1;r<=t[a];r++)o[e[n]]=[],o[e[n]][0]=i,o[e[n]][1]=a,n++,i++;i*=2}return o}function n(){b=i(P,Y),w=i($,Q),x=i(q,W),k=i(G,J)}function o(){for(var t=1,e=2,i=1;i<=15;i++){for(var n=t;n<e;n++)S[32767+n]=i,M[32767+n]=[],M[32767+n][1]=i,M[32767+n][0]=n;for(var o=-(e-1);o<=-t;o++)S[32767+o]=i,M[32767+o]=[],M[32767+o][1]=i,M[32767+o][0]=e-1+o;t<<=1,e<<=1}}function a(){for(var t=0;t<256;t++)z[t]=19595*t,z[t+256>>0]=38470*t,z[t+512>>0]=7471*t+32768,z[t+768>>0]=-11059*t,z[t+1024>>0]=-21709*t,z[t+1280>>0]=32768*t+8421375,z[t+1536>>0]=-27439*t,z[t+1792>>0]=-5329*t}function r(t){for(var e=t[0],i=t[1]-1;i>=0;)e&1<<i&&(U|=1<<R),i--,R--,R<0&&(255==U?(s(255),s(0)):s(U),R=7,U=0)}function s(t){L.push(j[t])}function l(t){s(t>>8&255),s(255&t)}function u(t,e){var i,n,o,a,r,s,l,u,c,d=0,p=8,h=64;for(c=0;c<p;++c){i=t[d],n=t[d+1],o=t[d+2],a=t[d+3],r=t[d+4],s=t[d+5],l=t[d+6],u=t[d+7];var f=i+u,m=i-u,g=n+l,y=n-l,v=o+s,b=o-s,w=a+r,x=a-r,k=f+w,A=f-w,_=g+v,C=g-v;t[d]=k+_,t[d+4]=k-_;var E=.707106781*(C+A);t[d+2]=A+E,t[d+6]=A-E,k=x+b,_=b+y,C=y+m;var T=.382683433*(k-C),D=.5411961*k+T,M=1.306562965*C+T,S=.707106781*_,F=m+S,L=m-S;t[d+5]=L+D,t[d+3]=L-D,t[d+1]=F+M,t[d+7]=F-M,d+=8}for(d=0,c=0;c<p;++c){i=t[d],n=t[d+8],o=t[d+16],a=t[d+24],r=t[d+32],s=t[d+40],l=t[d+48],u=t[d+56];var U=i+u,R=i-u,O=n+l,B=n-l,N=o+s,j=o-s,z=a+r,H=a-r,P=U+z,Y=U-z,q=O+N,W=O-N;t[d]=P+q,t[d+32]=P-q;var $=.707106781*(W+Y);t[d+16]=Y+$,t[d+48]=Y-$,P=H+j,q=j+B,W=B+R;var Q=.382683433*(P-W),G=.5411961*P+Q,J=1.306562965*W+Q,K=.707106781*q,V=R+K,Z=R-K;t[d+40]=Z+G,t[d+24]=Z-G,t[d+8]=V+J,t[d+56]=V-J,d++}var X;for(c=0;c<h;++c)X=t[c]*e[c],I[c]=X>0?X+.5|0:X-.5|0;return I}function c(){l(65504),l(16),s(74),s(70),s(73),s(70),s(0),s(1),s(1),s(0),l(1),l(1),s(0),s(0)}function d(t,e){l(65472),l(17),s(8),l(e),l(t),s(3),s(1),s(17),s(0),s(2),s(17),s(1),s(3),s(17),s(1)}function p(){l(65499),l(132),s(0);for(var t=0;t<64;t++)s(C[t]);s(1);for(var e=0;e<64;e++)s(E[e])}function h(){l(65476),l(418),s(0);for(var t=0;t<16;t++)s(P[t+1]);for(var e=0;e<=11;e++)s(Y[e]);s(16);for(var i=0;i<16;i++)s(q[i+1]);for(var n=0;n<=161;n++)s(W[n]);s(1);for(var o=0;o<16;o++)s($[o+1]);for(var a=0;a<=11;a++)s(Q[a]);s(17);for(var r=0;r<16;r++)s(G[r+1]);for(var u=0;u<=161;u++)s(J[u])}function f(){l(65498),l(12),s(3),s(1),s(0),s(2),s(17),s(3),s(17),s(0),s(63),s(0)}function m(t,e,i,n,o){for(var a,s=o[0],l=o[240],c=16,d=63,p=64,h=u(t,e),f=0;f<p;++f)F[H[f]]=h[f];var m=F[0]-i;i=F[0],0==m?r(n[0]):(a=32767+m,r(n[S[a]]),r(M[a]));for(var g=63;g>0&&0==F[g];g--);if(0==g)return r(s),i;for(var y,v=1;v<=g;){for(var b=v;0==F[v]&&v<=g;++v);var w=v-b;if(w>=c){y=w>>4;for(var x=1;x<=y;++x)r(l);w&=15}a=32767+F[v],r(o[(w<<4)+S[a]]),r(M[a]),v++}return g!=d&&r(s),i}function g(){for(var t=String.fromCharCode,e=0;e<256;e++)j[e]=t(e)}function y(t){if(t<=0&&(t=1),t>100&&(t=100),A!=t){var i=0;i=t<50?Math.floor(5e3/t):Math.floor(200-2*t),e(i),A=t}}function v(){t||(t=50),g(),n(),o(),a(),y(t)}var b,w,x,k,A,_=(Math.round,Math.floor),C=new Array(64),E=new Array(64),T=new Array(64),D=new Array(64),M=new Array(65535),S=new Array(65535),I=new Array(64),F=new Array(64),L=[],U=0,R=7,O=new Array(64),B=new Array(64),N=new Array(64),j=new Array(256),z=new Array(2048),H=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],P=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Y=[0,1,2,3,4,5,6,7,8,9,10,11],q=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],W=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],$=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Q=[0,1,2,3,4,5,6,7,8,9,10,11],G=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],J=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];this.encode=function(t,e){e&&y(e),L=new Array,U=0,R=7,l(65496),c(),p(),d(t.width,t.height),h(),f();var i=0,n=0,o=0;U=0,R=7,this.encode.displayName="_encode_";for(var a,s,u,g,v,A,_,C,E,M=t.data,S=t.width,I=t.height,F=4*S,j=0;j<I;){for(a=0;a<F;){for(v=F*j+a,A=v,_=-1,C=0,E=0;E<64;E++)C=E>>3,_=4*(7&E),A=v+C*F+_,j+C>=I&&(A-=F*(j+1+C-I)),a+_>=F&&(A-=a+_-F+4),s=M[A++],u=M[A++],g=M[A++],O[E]=(z[s]+z[u+256>>0]+z[g+512>>0]>>16)-128,B[E]=(z[s+768>>0]+z[u+1024>>0]+z[g+1280>>0]>>16)-128,N[E]=(z[s+1280>>0]+z[u+1536>>0]+z[g+1792>>0]>>16)-128;i=m(O,T,i,b,x),n=m(B,D,n,w,k),o=m(N,D,o,w,k),a+=32}j+=8}if(R>=0){var H=[];H[1]=R+1,H[0]=(1<<R+1)-1,r(H)}l(65497);var P="data:image/jpeg;base64,"+btoa(L.join(""));return L=[],P},v()}return n.encode=function(t,e){var i=new n(e);return i.encode(t)},n}),e("runtime/html5/androidpatch",["runtime/html5/util","runtime/html5/jpegencoder","base"],function(t,e,i){var n,o=t.canvasToDataUrl;t.canvasToDataUrl=function(t,a,r){var s,l,u,c,d;return i.os.android?("image/jpeg"===a&&"undefined"==typeof n&&(c=o.apply(null,arguments),d=c.split(","),c=~d[0].indexOf("base64")?atob(d[1]):decodeURIComponent(d[1]),c=c.substring(0,2),n=255===c.charCodeAt(0)&&216===c.charCodeAt(1)),"image/jpeg"!==a||n?o.apply(null,arguments):(l=t.width,u=t.height,s=t.getContext("2d"),e.encode(s.getImageData(0,0,l,u),r))):o.apply(null,arguments)}}),e("runtime/html5/image",["base","runtime/html5/runtime","runtime/html5/util"],function(t,e,i){var n="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs%3D";return e.register("Image",{modified:!1,init:function(){var t=this,e=new Image;e.onload=function(){t._info={type:t.type,width:this.width,height:this.height},t._metas||"image/jpeg"!==t.type?t.owner.trigger("load"):i.parseMeta(t._blob,function(e,i){t._metas=i,t.owner.trigger("load")})},e.onerror=function(){t.owner.trigger("error")},t._img=e},loadFromBlob:function(t){var e=this,n=e._img;e._blob=t,e.type=t.type,n.src=i.createObjectURL(t.getSource()),e.owner.once("load",function(){i.revokeObjectURL(n.src)})},resize:function(t,e){var i=this._canvas||(this._canvas=document.createElement("canvas"));this._resize(this._img,i,t,e),this._blob=null,this.modified=!0,this.owner.trigger("complete","resize")},crop:function(t,e,i,n,o){var a=this._canvas||(this._canvas=document.createElement("canvas")),r=this.options,s=this._img,l=s.naturalWidth,u=s.naturalHeight,c=this.getOrientation();o=o||1,a.width=i,a.height=n,r.preserveHeaders||this._rotate2Orientaion(a,c),this._renderImageToCanvas(a,s,-t,-e,l*o,u*o),this._blob=null,this.modified=!0,this.owner.trigger("complete","crop")},getAsBlob:function(t){var e,n=this._blob,o=this.options;if(t=t||this.type,this.modified||this.type!==t){if(e=this._canvas,"image/jpeg"===t){if(n=i.canvasToDataUrl(e,t,o.quality),o.preserveHeaders&&this._metas&&this._metas.imageHead)return n=i.dataURL2ArrayBuffer(n),n=i.updateImageHead(n,this._metas.imageHead),n=i.arrayBufferToBlob(n,t)}else n=i.canvasToDataUrl(e,t);n=i.dataURL2Blob(n)}return n},getAsDataUrl:function(t){var e=this.options;return t=t||this.type,"image/jpeg"===t?i.canvasToDataUrl(this._canvas,t,e.quality):this._canvas.toDataURL(t)},getOrientation:function(){return this._metas&&this._metas.exif&&this._metas.exif.get("Orientation")||1},info:function(t){return t?(this._info=t,this):this._info},meta:function(t){return t?(this._meta=t,this):this._meta},destroy:function(){var t=this._canvas;this._img.onload=null,t&&(t.getContext("2d").clearRect(0,0,t.width,t.height),t.width=t.height=0,this._canvas=null),this._img.src=n,this._img=this._blob=null},_resize:function(t,e,i,n){var o,a,r,s,l,u=this.options,c=t.width,d=t.height,p=this.getOrientation();~[5,6,7,8].indexOf(p)&&(i^=n,n^=i,i^=n),o=Math[u.crop?"max":"min"](i/c,n/d),u.allowMagnify||(o=Math.min(1,o)),a=c*o,r=d*o,u.crop?(e.width=i,e.height=n):(e.width=a,e.height=r),s=(e.width-a)/2,l=(e.height-r)/2,u.preserveHeaders||this._rotate2Orientaion(e,p),this._renderImageToCanvas(e,t,s,l,a,r)},_rotate2Orientaion:function(t,e){var i=t.width,n=t.height,o=t.getContext("2d");switch(e){case 5:case 6:case 7:case 8:t.width=n,t.height=i}switch(e){case 2:o.translate(i,0),o.scale(-1,1);break;case 3:o.translate(i,n),o.rotate(Math.PI);break;case 4:o.translate(0,n),o.scale(1,-1);break;case 5:o.rotate(.5*Math.PI),o.scale(1,-1);break;case 6:o.rotate(.5*Math.PI),o.translate(0,-n);break;case 7:o.rotate(.5*Math.PI),o.translate(i,-n),o.scale(-1,1);break;case 8:o.rotate(-.5*Math.PI),o.translate(-i,0)}},_renderImageToCanvas:function(){function e(t,e,i){var n,o,a,r=document.createElement("canvas"),s=r.getContext("2d"),l=0,u=i,c=i;for(r.width=1,r.height=i,s.drawImage(t,0,0),n=s.getImageData(0,0,1,i).data;c>l;)o=n[4*(c-1)+3],0===o?u=c:l=c,c=u+l>>1;return a=c/i,0===a?1:a}function i(t){var e,i,n=t.naturalWidth,o=t.naturalHeight;return n*o>1048576&&(e=document.createElement("canvas"),e.width=e.height=1,i=e.getContext("2d"),i.drawImage(t,-n+1,0),0===i.getImageData(0,0,1,1).data[3])}return t.os.ios?t.os.ios>=7?function(t,i,n,o,a,r){var s=i.naturalWidth,l=i.naturalHeight,u=e(i,s,l);return t.getContext("2d").drawImage(i,0,0,s*u,l*u,n,o,a,r)}:function(t,n,o,a,r,s){var l,u,c,d,p,h,f,m=n.naturalWidth,g=n.naturalHeight,y=t.getContext("2d"),v=i(n),b="image/jpeg"===this.type,w=1024,x=0,k=0;for(v&&(m/=2,g/=2),y.save(),l=document.createElement("canvas"),l.width=l.height=w,u=l.getContext("2d"),c=b?e(n,m,g):1,d=Math.ceil(w*r/m),p=Math.ceil(w*s/g/c);x<g;){for(h=0,f=0;h<m;)u.clearRect(0,0,w,w),u.drawImage(n,-h,-x),y.drawImage(l,0,0,w,w,o+f,a+k,d,p),h+=w,f+=d;x+=w,k+=p}y.restore(),l=u=null}:function(e){var i=t.slice(arguments,1),n=e.getContext("2d");n.drawImage.apply(n,i)}}()})}),e("runtime/html5/transport",["base","runtime/html5/runtime"],function(t,e){var i=t.noop,n=t.$;return e.register("Transport",{init:function(){this._status=0,this._response=null},send:function(){var e,i,o,a=this.owner,r=this.options,s=this._initAjax(),l=a._blob,u=r.server;r.sendAsBinary?(u+=(/\?/.test(u)?"&":"?")+n.param(a._formData),i=l.getSource()):(e=new FormData,n.each(a._formData,function(t,i){e.append(t,i)}),e.append(r.fileVal,l.getSource(),r.filename||a._formData.name||"")),r.withCredentials&&"withCredentials"in s?(s.open(r.method,u,!0),s.withCredentials=!0):s.open(r.method,u),this._setRequestHeader(s,r.headers),i?(s.overrideMimeType&&s.overrideMimeType("application/octet-stream"),t.os.android?(o=new FileReader,o.onload=function(){s.send(this.result),o=o.onload=null},o.readAsArrayBuffer(i)):s.send(i)):s.send(e)},getResponse:function(){return this._response},getResponseAsJson:function(){return this._parseJson(this._response)},getStatus:function(){return this._status},abort:function(){var t=this._xhr;t&&(t.upload.onprogress=i,t.onreadystatechange=i,t.abort(),this._xhr=t=null)},destroy:function(){this.abort()},_initAjax:function(){var t=this,e=new XMLHttpRequest,n=this.options;return!n.withCredentials||"withCredentials"in e||"undefined"==typeof XDomainRequest||(e=new XDomainRequest),e.upload.onprogress=function(e){var i=0;return e.lengthComputable&&(i=e.loaded/e.total),t.trigger("progress",i)},e.onreadystatechange=function(){if(4===e.readyState)return e.upload.onprogress=i,e.onreadystatechange=i,t._xhr=null,t._status=e.status,e.status>=200&&e.status<300?(t._response=e.responseText,t.trigger("load")):e.status>=500&&e.status<600?(t._response=e.responseText,t.trigger("error","server")):t.trigger("error",t._status?"http":"abort")},t._xhr=e,e},_setRequestHeader:function(t,e){n.each(e,function(e,i){t.setRequestHeader(e,i)})},_parseJson:function(t){var e;try{e=JSON.parse(t)}catch(t){e={}}return e}})}),e("runtime/html5/md5",["runtime/html5/runtime"],function(t){var e=function(t,e){return t+e&4294967295},i=function(t,i,n,o,a,r){return i=e(e(i,t),e(o,r)),e(i<<a|i>>>32-a,n)},n=function(t,e,n,o,a,r,s){return i(e&n|~e&o,t,e,a,r,s)},o=function(t,e,n,o,a,r,s){return i(e&o|n&~o,t,e,a,r,s)},a=function(t,e,n,o,a,r,s){return i(e^n^o,t,e,a,r,s)},r=function(t,e,n,o,a,r,s){return i(n^(e|~o),t,e,a,r,s)},s=function(t,i){var s=t[0],l=t[1],u=t[2],c=t[3];s=n(s,l,u,c,i[0],7,-680876936),c=n(c,s,l,u,i[1],12,-389564586),u=n(u,c,s,l,i[2],17,606105819),l=n(l,u,c,s,i[3],22,-1044525330),s=n(s,l,u,c,i[4],7,-176418897),c=n(c,s,l,u,i[5],12,1200080426),u=n(u,c,s,l,i[6],17,-1473231341),l=n(l,u,c,s,i[7],22,-45705983),s=n(s,l,u,c,i[8],7,1770035416),c=n(c,s,l,u,i[9],12,-1958414417),u=n(u,c,s,l,i[10],17,-42063),l=n(l,u,c,s,i[11],22,-1990404162),s=n(s,l,u,c,i[12],7,1804603682),c=n(c,s,l,u,i[13],12,-40341101),u=n(u,c,s,l,i[14],17,-1502002290),l=n(l,u,c,s,i[15],22,1236535329),s=o(s,l,u,c,i[1],5,-165796510),c=o(c,s,l,u,i[6],9,-1069501632),u=o(u,c,s,l,i[11],14,643717713),l=o(l,u,c,s,i[0],20,-373897302),s=o(s,l,u,c,i[5],5,-701558691),c=o(c,s,l,u,i[10],9,38016083),u=o(u,c,s,l,i[15],14,-660478335),l=o(l,u,c,s,i[4],20,-405537848),s=o(s,l,u,c,i[9],5,568446438),c=o(c,s,l,u,i[14],9,-1019803690),u=o(u,c,s,l,i[3],14,-187363961),l=o(l,u,c,s,i[8],20,1163531501),s=o(s,l,u,c,i[13],5,-1444681467),c=o(c,s,l,u,i[2],9,-51403784),u=o(u,c,s,l,i[7],14,1735328473),l=o(l,u,c,s,i[12],20,-1926607734),s=a(s,l,u,c,i[5],4,-378558),c=a(c,s,l,u,i[8],11,-2022574463),u=a(u,c,s,l,i[11],16,1839030562),l=a(l,u,c,s,i[14],23,-35309556),s=a(s,l,u,c,i[1],4,-1530992060),c=a(c,s,l,u,i[4],11,1272893353),u=a(u,c,s,l,i[7],16,-155497632),l=a(l,u,c,s,i[10],23,-1094730640),s=a(s,l,u,c,i[13],4,681279174),c=a(c,s,l,u,i[0],11,-358537222),u=a(u,c,s,l,i[3],16,-722521979),l=a(l,u,c,s,i[6],23,76029189),s=a(s,l,u,c,i[9],4,-640364487),c=a(c,s,l,u,i[12],11,-421815835),u=a(u,c,s,l,i[15],16,530742520),l=a(l,u,c,s,i[2],23,-995338651),s=r(s,l,u,c,i[0],6,-198630844),c=r(c,s,l,u,i[7],10,1126891415),u=r(u,c,s,l,i[14],15,-1416354905),l=r(l,u,c,s,i[5],21,-57434055),s=r(s,l,u,c,i[12],6,1700485571),c=r(c,s,l,u,i[3],10,-1894986606),u=r(u,c,s,l,i[10],15,-1051523),l=r(l,u,c,s,i[1],21,-2054922799),s=r(s,l,u,c,i[8],6,1873313359),c=r(c,s,l,u,i[15],10,-30611744),u=r(u,c,s,l,i[6],15,-1560198380),l=r(l,u,c,s,i[13],21,1309151649),s=r(s,l,u,c,i[4],6,-145523070),c=r(c,s,l,u,i[11],10,-1120210379),u=r(u,c,s,l,i[2],15,718787259),l=r(l,u,c,s,i[9],21,-343485551),t[0]=e(s,t[0]),t[1]=e(l,t[1]),t[2]=e(u,t[2]),t[3]=e(c,t[3])},l=function(t){var e,i=[];for(e=0;e<64;e+=4)i[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return i},u=function(t){var e,i=[];for(e=0;e<64;e+=4)i[e>>2]=t[e]+(t[e+1]<<8)+(t[e+2]<<16)+(t[e+3]<<24);return i},c=function(t){var e,i,n,o,a,r,u=t.length,c=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=u;e+=64)s(c,l(t.substring(e-64,e)));for(t=t.substring(e-64),i=t.length,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e<i;e+=1)n[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(n[e>>2]|=128<<(e%4<<3),e>55)for(s(c,n),e=0;e<16;e+=1)n[e]=0;return o=8*u,o=o.toString(16).match(/(.*?)(.{0,8})$/),a=parseInt(o[2],16),r=parseInt(o[1],16)||0,n[14]=a,n[15]=r,s(c,n),c},d=function(t){var e,i,n,o,a,r,l=t.length,c=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=l;e+=64)s(c,u(t.subarray(e-64,e)));for(t=e-64<l?t.subarray(e-64):new Uint8Array(0),i=t.length,n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e=0;e<i;e+=1)n[e>>2]|=t[e]<<(e%4<<3);if(n[e>>2]|=128<<(e%4<<3),e>55)for(s(c,n),e=0;e<16;e+=1)n[e]=0;return o=8*l,o=o.toString(16).match(/(.*?)(.{0,8})$/),a=parseInt(o[2],16),r=parseInt(o[1],16)||0,n[14]=a,n[15]=r,s(c,n),c},p=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],h=function(t){var e,i="";for(e=0;e<4;e+=1)i+=p[t>>8*e+4&15]+p[t>>8*e&15];return i},f=function(t){var e;for(e=0;e<t.length;e+=1)t[e]=h(t[e]);return t.join("")},m=function(t){return f(c(t))},g=function(){this.reset()};return"5d41402abc4b2a76b9719d911017c592"!==m("hello")&&(e=function(t,e){var i=(65535&t)+(65535&e),n=(t>>16)+(e>>16)+(i>>16);return n<<16|65535&i}),g.prototype.append=function(t){return/[\u0080-\uFFFF]/.test(t)&&(t=unescape(encodeURIComponent(t))),this.appendBinary(t),this},g.prototype.appendBinary=function(t){this._buff+=t,this._length+=t.length;var e,i=this._buff.length;for(e=64;e<=i;e+=64)s(this._state,l(this._buff.substring(e-64,e)));return this._buff=this._buff.substr(e-64),this},g.prototype.end=function(t){var e,i,n=this._buff,o=n.length,a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<o;e+=1)a[e>>2]|=n.charCodeAt(e)<<(e%4<<3);return this._finish(a,o),i=t?this._state:f(this._state),this.reset(),i},g.prototype._finish=function(t,e){var i,n,o,a=e;if(t[a>>2]|=128<<(a%4<<3),a>55)for(s(this._state,t),a=0;a<16;a+=1)t[a]=0;i=8*this._length,i=i.toString(16).match(/(.*?)(.{0,8})$/),n=parseInt(i[2],16),o=parseInt(i[1],16)||0,t[14]=n,t[15]=o,s(this._state,t)},g.prototype.reset=function(){return this._buff="",this._length=0,this._state=[1732584193,-271733879,-1732584194,271733878],this},g.prototype.destroy=function(){delete this._state,delete this._buff,delete this._length},g.hash=function(t,e){/[\u0080-\uFFFF]/.test(t)&&(t=unescape(encodeURIComponent(t)));var i=c(t);return e?i:f(i)},g.hashBinary=function(t,e){var i=c(t);return e?i:f(i)},g.ArrayBuffer=function(){this.reset()},g.ArrayBuffer.prototype.append=function(t){var e,i=this._concatArrayBuffer(this._buff,t),n=i.length;for(this._length+=t.byteLength,e=64;e<=n;e+=64)s(this._state,u(i.subarray(e-64,e)));return this._buff=e-64<n?i.subarray(e-64):new Uint8Array(0),this},g.ArrayBuffer.prototype.end=function(t){var e,i,n=this._buff,o=n.length,a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<o;e+=1)a[e>>2]|=n[e]<<(e%4<<3);return this._finish(a,o),i=t?this._state:f(this._state),
  this.reset(),i},g.ArrayBuffer.prototype._finish=g.prototype._finish,g.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._state=[1732584193,-271733879,-1732584194,271733878],this},g.ArrayBuffer.prototype.destroy=g.prototype.destroy,g.ArrayBuffer.prototype._concatArrayBuffer=function(t,e){var i=t.length,n=new Uint8Array(i+e.byteLength);return n.set(t),n.set(new Uint8Array(e),i),n},g.ArrayBuffer.hash=function(t,e){var i=d(new Uint8Array(t));return e?i:f(i)},t.register("Md5",{init:function(){},loadFromBlob:function(t){var e,i,n=t.getSource(),o=2097152,a=Math.ceil(n.size/o),r=0,s=this.owner,l=new g.ArrayBuffer,u=this,c=n.mozSlice||n.webkitSlice||n.slice;i=new FileReader,(e=function(){var d,p;d=r*o,p=Math.min(d+o,n.size),i.onload=function(e){l.append(e.target.result),s.trigger("progress",{total:t.size,loaded:p})},i.onloadend=function(){i.onloadend=i.onload=null,++r<a?setTimeout(e,1):setTimeout(function(){s.trigger("load"),u.result=l.end(),e=t=n=l=null,s.trigger("complete")},50)},i.readAsArrayBuffer(c.call(n,d,p))})()},getResult:function(){return this.result}})}),e("runtime/flash/runtime",["base","runtime/runtime","runtime/compbase"],function(e,i,n){function o(){var t;try{t=navigator.plugins["Shockwave Flash"],t=t.description}catch(e){try{t=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version")}catch(e){t="0.0"}}return t=t.match(/\d+/g),parseFloat(t[0]+"."+t[1],10)}function a(){function n(t,e){var i,n,o=t.type||t;i=o.split("::"),n=i[0],o=i[1],"Ready"===o&&n===u.uid?u.trigger("ready"):a[n]&&a[n].trigger(o.toLowerCase(),t,e)}var o={},a={},r=this.destroy,u=this,c=e.guid("webuploader_");i.apply(u,arguments),u.type=s,u.exec=function(t,i){var n,r=this,s=r.uid,c=e.slice(arguments,2);return a[s]=r,l[t]&&(o[s]||(o[s]=new l[t](r,u)),n=o[s],n[i])?n[i].apply(n,c):u.flashExec.apply(r,arguments)},t[c]=function(){var t=arguments;setTimeout(function(){n.apply(null,t)},1)},this.jsreciver=c,this.destroy=function(){return r&&r.apply(this,arguments)},this.flashExec=function(t,i){var n=u.getFlash(),o=e.slice(arguments,2);return n.exec(this.uid,t,i,o)}}var r=e.$,s="flash",l={};return e.inherits(i,{constructor:a,init:function(){var t,i=this.getContainer(),n=this.options;i.css({position:"absolute",top:"-8px",left:"-8px",width:"9px",height:"9px",overflow:"hidden"}),t='<object id="'+this.uid+'" type="application/x-shockwave-flash" data="'+n.swf+'" ',e.browser.ie&&(t+='classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" '),t+='width="100%" height="100%" style="outline:0"><param name="movie" value="'+n.swf+'" /><param name="flashvars" value="uid='+this.uid+"&jsreciver="+this.jsreciver+'" /><param name="wmode" value="transparent" /><param name="allowscriptaccess" value="always" /></object>',i.html(t)},getFlash:function(){return this._flash?this._flash:(this._flash=r("#"+this.uid).get(0),this._flash)}}),a.register=function(t,i){return i=l[t]=e.inherits(n,r.extend({flashExec:function(){var t=this.owner,e=this.getRuntime();return e.flashExec.apply(t,arguments)}},i))},o()>=11.4&&i.addRuntime(s,a),a}),e("runtime/flash/filepicker",["base","runtime/flash/runtime"],function(t,e){var i=t.$;return e.register("FilePicker",{init:function(t){var e,n,o=i.extend({},t);for(e=o.accept&&o.accept.length,n=0;n<e;n++)o.accept[n].title||(o.accept[n].title="Files");delete o.button,delete o.id,delete o.container,this.flashExec("FilePicker","init",o)},destroy:function(){this.flashExec("FilePicker","destroy")}})}),e("runtime/flash/image",["runtime/flash/runtime"],function(t){return t.register("Image",{loadFromBlob:function(t){var e=this.owner;e.info()&&this.flashExec("Image","info",e.info()),e.meta()&&this.flashExec("Image","meta",e.meta()),this.flashExec("Image","loadFromBlob",t.uid)}})}),e("runtime/flash/transport",["base","runtime/flash/runtime","runtime/client"],function(e,i,n){var o=e.$;return i.register("Transport",{init:function(){this._status=0,this._response=null,this._responseJson=null},send:function(){var t,e=this.owner,i=this.options,n=this._initAjax(),a=e._blob,r=i.server;n.connectRuntime(a.ruid),i.sendAsBinary?(r+=(/\?/.test(r)?"&":"?")+o.param(e._formData),t=a.uid):(o.each(e._formData,function(t,e){n.exec("append",t,e)}),n.exec("appendBlob",i.fileVal,a.uid,i.filename||e._formData.name||"")),this._setRequestHeader(n,i.headers),n.exec("send",{method:i.method,url:r,forceURLStream:i.forceURLStream,mimeType:"application/octet-stream"},t)},getStatus:function(){return this._status},getResponse:function(){return this._response||""},getResponseAsJson:function(){return this._responseJson},abort:function(){var t=this._xhr;t&&(t.exec("abort"),t.destroy(),this._xhr=t=null)},destroy:function(){this.abort()},_initAjax:function(){var e=this,i=new n("XMLHttpRequest");return i.on("uploadprogress progress",function(t){var i=t.loaded/t.total;return i=Math.min(1,Math.max(0,i)),e.trigger("progress",i)}),i.on("load",function(){var n,o=i.exec("getStatus"),a=!1,r="";return i.off(),e._xhr=null,o>=200&&o<300?a=!0:o>=500&&o<600?(a=!0,r="server"):r="http",a&&(e._response=i.exec("getResponse"),e._response=decodeURIComponent(e._response),n=t.JSON&&t.JSON.parse||function(t){try{return new Function("return "+t).call()}catch(t){return{}}},e._responseJson=e._response?n(e._response):{}),i.destroy(),i=null,r?e.trigger("error",r):e.trigger("load")}),i.on("error",function(){i.off(),e._xhr=null,e.trigger("error","http")}),e._xhr=i,i},_setRequestHeader:function(t,e){o.each(e,function(e,i){t.exec("setRequestHeader",e,i)})}})}),e("runtime/flash/blob",["runtime/flash/runtime","lib/blob"],function(t,e){return t.register("Blob",{slice:function(t,i){var n=this.flashExec("Blob","slice",t,i);return new e(n.uid,n)}})}),e("runtime/flash/md5",["runtime/flash/runtime"],function(t){return t.register("Md5",{init:function(){},loadFromBlob:function(t){return this.flashExec("Md5","loadFromBlob",t.uid)}})}),e("preset/all",["base","widgets/filednd","widgets/filepaste","widgets/filepicker","widgets/image","widgets/queue","widgets/runtime","widgets/upload","widgets/validator","widgets/md5","runtime/html5/blob","runtime/html5/dnd","runtime/html5/filepaste","runtime/html5/filepicker","runtime/html5/imagemeta/exif","runtime/html5/androidpatch","runtime/html5/image","runtime/html5/transport","runtime/html5/md5","runtime/flash/filepicker","runtime/flash/image","runtime/flash/transport","runtime/flash/blob","runtime/flash/md5"],function(t){return t}),e("widgets/log",["base","uploader","widgets/widget"],function(t,e){function i(t){var e=o.extend({},n,t),i=a.replace(/^(.*)\?/,"$1"+o.param(e)),r=new Image;r.src=i}var n,o=t.$,a=" http://static.tieba.baidu.com/tb/pms/img/st.gif??",r=(location.hostname||location.host||"protected").toLowerCase(),s=r&&/baidu/i.exec(r);if(s)return n={dv:3,master:"webuploader",online:/test/.exec(r)?0:1,module:"",product:r,type:0},e.register({name:"log",init:function(){var t=this.owner,e=0,n=0;t.on("error",function(t){i({type:2,c_error_code:t})}).on("uploadError",function(t,e){i({type:2,c_error_code:"UPLOAD_ERROR",c_reason:""+e})}).on("uploadComplete",function(t){e++,n+=t.size}).on("uploadFinished",function(){i({c_count:e,c_size:n}),e=n=0}),i({c_usage:1})}})}),e("webuploader",["preset/all","widgets/log"],function(t){return t}),i("webuploader")})},function(t,e,i){var n=i(30);"string"==typeof n&&(n=[[t.id,n,""]]);i(16)(n,{});n.locals&&(t.exports=n.locals)},function(t,e,i){e=t.exports=i(10)(),e.push([t.id,".webuploader-container{position:relative}.webuploader-element-invisible{position:absolute!important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px)}.webuploader-pick{position:relative;display:block;cursor:pointer;background:#eee;padding:0;color:#666;text-align:center;border-radius:2px;overflow:hidden;line-height:37px}.webuploader-pick-hover{background:#ddd}.webuploader-pick-disable{opacity:.6;pointer-events:none}.webuploader-list{display:block;margin:0;padding:0}.webuploader-list>li{list-style:none;display:block;border:1px solid #ccc;padding:5px}.webuploader-list>li .progress-box{height:10px;border:1px solid #eee}.webuploader-list>li .progress-box .progress-bar{height:10px;background:#ccc}.webuploader-list>li .progress-info{font-size:12px;line-height:20px;width:100%;word-wrap:normal;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:#999}.webuploader-list>li .progress-info .status{display:inline;line-height:20px}",""])},,,,,,,,,,,function(t,e,i){(function(e,i){!function(t){"use strict";var i=function(){this.v="1.0.4"};i.fn=i.prototype;var n=document,o=i.fn.cache={},a=function(){var t=n.scripts,e=t[t.length-1].src;return e.substring(0,e.lastIndexOf("/")+1)}(),r=function(e){t.console&&console.error&&console.error("Layui hint: "+e)},s="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),l={laydate:"modules/laydate",laypage:"modules/laypage",laytpl:"modules/laytpl",layim:"modules/layim",layedit:"modules/layedit",form:"modules/form",upload:"modules/upload",tree:"modules/tree",slide:"modules/slide",table:"modules/table",element:"modules/element",util:"modules/util",flow:"modules/flow",code:"modules/code",single:"modules/single",mobile:"modules/mobile",jquery:"lib/jquery","layui.mod":"dest/layui.mod"};o.modules={},o.status={},o.timeout=10,o.event={},i.fn.define=function(t,e){var i=this,n="function"==typeof t,a=function(){return"function"==typeof e&&e(function(t,e){layui[t]=e,o.status[t]=!0}),this};return n&&(e=t,t=[]),layui["layui.all"]?a.call(i):(i.use(t,a),i)},i.fn.use=function(t,i,u){function c(t,e){var i="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;("load"===t.type||i.test((t.currentTarget||t.srcElement).readyState))&&(o.modules[m]=e,f.removeChild(y),function t(){return++g>1e3*o.timeout/4?r(m+" is not a valid module"):void(o.status[m]?d():setTimeout(t,4))}())}function d(){u.push(layui[m]),t.length>1?p.use(t.slice(1),i,u):"function"==typeof i&&i.apply(layui,u)}var p=this,h=o.dir=o.dir?o.dir:a,f=n.getElementsByTagName("head")[0];t="string"==typeof t?[t]:t,window.jQuery&&e.fn.on&&(p.each(t,function(e,i){"jquery"===i&&t.splice(e,1)}),layui.jquery=e);var m=t[0],g=0;if(u=u||[],o.host=o.host||(h.match(/\/\/([\s\S]+?)\//)||["//"+location.host+"/"])[0],0===t.length)return i();var y=n.createElement("script"),v=(l[m]?h+"lay/":o.base||"")+(p.modules[m]||m)+".js";return y.async=!0,y.charset="utf-8",y.src=v+function(){var t=o.version===!0?o.v||(new Date).getTime():o.version||"";return t?"?v="+t:""}(),o.modules[m]?!function t(){return++g>1e3*o.timeout/4?r(m+" is not a valid module"):void("string"==typeof o.modules[m]&&o.status[m]?d():setTimeout(t,4))}():(f.appendChild(y),!y.attachEvent||y.attachEvent.toString&&y.attachEvent.toString().indexOf("[native code")<0||s?y.addEventListener("load",function(t){c(t,v)},!1):y.attachEvent("onreadystatechange",function(t){c(t,v)})),o.modules[m]=v,p},i.fn.all=function(t){return this.use("layui.mod",t),this},i.fn.getStyle=function(e,i){var n=e.currentStyle?e.currentStyle:t.getComputedStyle(e,null);return n[n.getPropertyValue?"getPropertyValue":"getAttribute"](i)},i.fn.link=function(t,e,i){var a=this,s=n.createElement("link"),l=n.getElementsByTagName("head")[0];"string"==typeof e&&(i=e);var u=(i||t).replace(/\.|\//g,""),c=s.id="layuicss-"+u,d=0;s.rel="stylesheet",s.href=t+(o.debug?"?v="+(new Date).getTime():""),s.media="all",n.getElementById(c)||l.appendChild(s),"function"==typeof e&&!function i(){return++d>1e3*o.timeout/100?r(t+" timeout"):void(1989===parseInt(a.getStyle(n.getElementById(c),"width"))?function(){e()}():setTimeout(i,100))}()},i.fn.addcss=function(t,e,i){layui.link(o.dir+"css/"+t,e,i)},i.fn.img=function(t,e,i){var n=new Image;return n.src=t,n.complete?e(n):(n.onload=function(){n.onload=null,e(n)},void(n.onerror=function(t){n.onerror=null,i(t)}))},i.fn.config=function(t){t=t||{};for(var e in t)o[e]=t[e];return this},i.fn.modules=function(){var t={};for(var e in l)t[e]=l[e];return t}(),i.fn.extend=function(t){var e=this;t=t||{};for(var i in t)e[i]||e.modules[i]?r("模块名 "+i+" 已被占用"):e.modules[i]=t[i];return e},i.fn.router=function(t){for(var e,i=(t||location.hash).replace(/^#/,"").split("/")||[],n={dir:[]},o=0;o<i.length;o++)e=i[o].split("="),/^\w+=/.test(i[o])?function(){"dir"!==e[0]&&(n[e[0]]=e[1])}():n.dir.push(i[o]),e=null;return n},i.fn.data=function(e,i){if(e=e||"layui",t.JSON&&t.JSON.parse){if(null===i)return delete localStorage[e];i="object"==typeof i?i:{key:i};try{var n=JSON.parse(localStorage[e])}catch(t){var n={}}return i.value&&(n[i.key]=i.value),i.remove&&delete n[i.key],localStorage[e]=JSON.stringify(n),i.key?n[i.key]:n}},i.fn.device=function(e){var i=navigator.userAgent.toLowerCase(),n=function(t){var e=new RegExp(t+"/([^\\s\\_\\-]+)");return t=(i.match(e)||[])[1],t||!1},o={os:function(){return/windows/.test(i)?"windows":/linux/.test(i)?"linux":/iphone|ipod|ipad|ios/.test(i)?"ios":void 0}(),ie:function(){return!!(t.ActiveXObject||"ActiveXObject"in t)&&((i.match(/msie\s(\d+)/)||[])[1]||"11")}(),weixin:n("micromessenger")};return e&&!o[e]&&(o[e]=n(e)),o.android=/android/.test(i),o.ios="ios"===o.os,o},i.fn.hint=function(){return{error:r}},i.fn.each=function(t,e){var i,n=this;if("function"!=typeof e)return n;if(t=t||[],t.constructor===Object){for(i in t)if(e.call(t[i],i,t[i]))break}else for(i=0;i<t.length&&!e.call(t[i],i,t[i]);i++);return n},i.fn.stope=function(e){e=e||t.event,e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},i.fn.onevent=function(t,e,i){return"string"!=typeof t||"function"!=typeof i?this:(o.event[t+"."+e]=[i],this)},i.fn.event=function(t,e,i){var n=this,a=null,r=e.match(/\(.*\)$/)||[],s=(e=t+"."+e).replace(r,""),l=function(t,e){var o=e&&e.call(n,i);o===!1&&null===a&&(a=!1)};return layui.each(o.event[s],l),r[0]&&layui.each(o.event[e],l),a},t.layui=new i}(window),layui.define(function(t){var e=layui.cache;layui.config({dir:e.dir.replace(/lay\/dest\/$/,"")}),t("layui.all",layui.v)}),layui.define(function(t){"use strict";var e={open:"{{",close:"}}"},i={exp:function(t){return new RegExp(t,"g")},query:function(t,i,o){var a=["#([\\s\\S])+?","([^{#}])*?"][t||0];return n((i||"")+e.open+a+e.close+(o||""))},escape:function(t){return String(t||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#39;").replace(/"/g,"&quot;")},error:function(t,e){var i="Laytpl Error：";return"object"==typeof console&&console.error(i+t+"\n"+(e||"")),i+t}},n=i.exp,o=function(t){this.tpl=t};o.pt=o.prototype,window.errors=0,o.pt.parse=function(t,o){var a=this,r=t,s=n("^"+e.open+"#",""),l=n(e.close+"$","");t=t.replace(/\s+|\r|\t|\n/g," ").replace(n(e.open+"#"),e.open+"# ").replace(n(e.close+"}"),"} "+e.close).replace(/\\/g,"\\\\").replace(/(?="|')/g,"\\").replace(i.query(),function(t){return t=t.replace(s,"").replace(l,""),'";'+t.replace(/\\/g,"")+';view+="'}).replace(i.query(1),function(t){var i='"+(';return t.replace(/\s/g,"")===e.open+e.close?"":(t=t.replace(n(e.open+"|"+e.close),""),/^=/.test(t)&&(t=t.replace(/^=/,""),i='"+_escape_('),i+t.replace(/\\/g,"")+')+"')}),t='"use strict";var view = "'+t+'";return view;';try{return a.cache=t=new Function("d, _escape_",t),t(o,i.escape)}catch(t){return delete a.cache,i.error(t,r)}},o.pt.render=function(t,e){var n,o=this;return t?(n=o.cache?o.cache(t,i.escape):o.parse(o.tpl,t),e?void e(n):n):i.error("no data")};var a=function(t){return"string"!=typeof t?i.error("Template not found"):new o(t)};a.config=function(t){t=t||{};for(var i in t)e[i]=t[i]},a.v="1.2.0",t("laytpl",a)}),layui.define(function(t){"use strict";function e(t){new r(t)}var i=document,n="getElementById",o="getElementsByTagName",a=0,r=function(t){var e=this,i=e.config=t||{};i.item=a++,e.render(!0)};r.on=function(t,e,i){return t.attachEvent?t.attachEvent("on"+e,function(){i.call(t,window.even)}):t.addEventListener(e,i,!1),r},r.prototype.type=function(){var t=this.config;if("object"==typeof t.cont)return void 0===t.cont.length?2:3},r.prototype.view=function(){var t=this,e=t.config,i=[],n={};if(e.pages=0|e.pages,e.curr=0|e.curr||1,e.groups="groups"in e?0|e.groups:5,e.first="first"in e?e.first:"&#x9996;&#x9875;",e.last="last"in e?e.last:"&#x672B;&#x9875;",e.prev="prev"in e?e.prev:"&#x4E0A;&#x4E00;&#x9875;",e.next="next"in e?e.next:"&#x4E0B;&#x4E00;&#x9875;",e.pages<=1)return"";for(e.groups>e.pages&&(e.groups=e.pages),n.index=Math.ceil((e.curr+(e.groups>1&&e.groups!==e.pages?1:0))/(0===e.groups?1:e.groups)),e.curr>1&&e.prev&&i.push('<a href="javascript:;" class="layui-laypage-prev" data-page="'+(e.curr-1)+'">'+e.prev+"</a>"),n.index>1&&e.first&&0!==e.groups&&i.push('<a href="javascript:;" class="laypage_first" data-page="1"  title="&#x9996;&#x9875;">'+e.first+"</a><span>&#x2026;</span>"),n.poor=Math.floor((e.groups-1)/2),n.start=n.index>1?e.curr-n.poor:1,n.end=n.index>1?function(){var t=e.curr+(e.groups-n.poor-1);return t>e.pages?e.pages:t}():e.groups,n.end-n.start<e.groups-1&&(n.start=n.end-e.groups+1);n.start<=n.end;n.start++)n.start===e.curr?i.push('<span class="layui-laypage-curr"><em class="layui-laypage-em" '+(/^#/.test(e.skin)?'style="background-color:'+e.skin+';"':"")+"></em><em>"+n.start+"</em></span>"):i.push('<a href="javascript:;" data-page="'+n.start+'">'+n.start+"</a>");return e.pages>e.groups&&n.end<e.pages&&e.last&&0!==e.groups&&i.push('<span>&#x2026;</span><a href="javascript:;" class="layui-laypage-last" title="&#x5C3E;&#x9875;"  data-page="'+e.pages+'">'+e.last+"</a>"),n.flow=!e.prev&&0===e.groups,(e.curr!==e.pages&&e.next||n.flow)&&i.push(function(){return n.flow&&e.curr===e.pages?'<span class="layui-laypage-nomore" title="&#x5DF2;&#x6CA1;&#x6709;&#x66F4;&#x591A;">'+e.next+"</span>":'<a href="javascript:;" class="layui-laypage-next" data-page="'+(e.curr+1)+'">'+e.next+"</a>"}()),'<div class="layui-box layui-laypage layui-laypage-'+(e.skin?function(t){return/^#/.test(t)?"molv":t}(e.skin):"default")+'" id="layui-laypage-'+t.config.item+'">'+i.join("")+function(){return e.skip?'<span class="layui-laypage-total">&#x5230;&#x7B2C; <input type="number" min="1" onkeyup="this.value=this.value.replace(/\\D/, \'\');" value="'+e.curr+'" class="layui-laypage-skip"> &#x9875; <button type="button" class="layui-laypage-btn">&#x786e;&#x5b9a;</button></span>':""}()+"</div>"},r.prototype.jump=function(t){if(t){for(var e=this,i=e.config,n=t.children,a=t[o]("button")[0],s=t[o]("input")[0],l=0,u=n.length;l<u;l++)"a"===n[l].nodeName.toLowerCase()&&r.on(n[l],"click",function(){var t=0|this.getAttribute("data-page");i.curr=t,e.render()});a&&r.on(a,"click",function(){var t=0|s.value.replace(/\s|\D/g,"");t&&t<=i.pages&&(i.curr=t,e.render())})}},r.prototype.render=function(t){var e=this,o=e.config,a=e.type(),r=e.view();2===a?o.cont.innerHTML=r:3===a?o.cont.html(r):i[n](o.cont).innerHTML=r,o.jump&&o.jump(o,t),e.jump(i[n]("layui-laypage-"+o.item)),o.hash&&!t&&(location.hash="!"+o.hash+"="+o.curr)},t("laypage",e)}),layui.define(function(t){"use strict";var e=window,i={path:"",skin:"default",format:"YYYY-MM-DD",min:"1900-01-01 00:00:00",max:"2099-12-31 23:59:59",isv:!1,init:!0},n={},o=document,a="createElement",r="getElementById",s="getElementsByTagName",l=["laydate_box","laydate_void","laydate_click","LayDateSkin","skins/","/laydate.css"];e.laydate=function(t){return t=t||{},n.run(t),laydate},laydate.v="1.1",n.trim=function(t){return t=t||"",t.replace(/^\s|\s$/g,"").replace(/\s+/g," ")},n.digit=function(t){return t<10?"0"+(0|t):t},n.stopmp=function(t){return t=t||e.event,t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,this},n.each=function(t,e){for(var i=0,n=t.length;i<n&&e(i,t[i])!==!1;i++);},n.hasClass=function(t,e){return t=t||{},new RegExp("\\b"+e+"\\b").test(t.className)},n.addClass=function(t,e){return t=t||{},n.hasClass(t,e)||(t.className+=" "+e),t.className=n.trim(t.className),this},n.removeClass=function(t,e){if(t=t||{},n.hasClass(t,e)){var i=new RegExp("\\b"+e+"\\b");t.className=t.className.replace(i,"")}return this},n.removeCssAttr=function(t,e){var i=t.style;i.removeProperty?i.removeProperty(e):i.removeAttribute(e)},n.shde=function(t,e){t.style.display=e?"none":"block"},n.query=function(t){if(t&&1===t.nodeType){if("input"!==t.tagName.toLowerCase())throw new Error("选择器elem错误");return t}var e,t=n.trim(t).split(" "),i=o[r](t[0].substr(1));if(i){if(t[1]){if(/^\./.test(t[1])){var a,l=t[1].substr(1),u=new RegExp("\\b"+l+"\\b");return e=[],a=o.getElementsByClassName?i.getElementsByClassName(l):i[s]("*"),n.each(a,function(t,i){u.test(i.className)&&e.push(i)}),e[0]?e:""}return e=i[s](t[1]),e[0]?i[s](t[1]):""}return i}},n.on=function(t,i,o){return t.attachEvent?t.attachEvent("on"+i,function(){o.call(t,e.even)}):t.addEventListener(i,o,!1),n},n.stopMosup=function(t,e){"mouseup"!==t&&n.on(e,"mouseup",function(t){n.stopmp(t)})},n.run=function(t){var e=(n.query,t.elem);e&&(l.elemv=/textarea|input/.test(e.tagName.toLocaleLowerCase())?"value":"innerHTML",("init"in t?t.init:i.init)&&!e[l.elemv]&&(e[l.elemv]=laydate.now(null,t.format||i.format)),n.view(e,t),n.reshow())},n.scroll=function(t){return t=t?"scrollLeft":"scrollTop",o.body[t]|o.documentElement[t]},n.winarea=function(t){return document.documentElement[t?"clientWidth":"clientHeight"]},n.isleap=function(t){return t%4===0&&t%100!==0||t%400===0},n.checkVoid=function(t,e,i){var o=[];return t|=0,e|=0,i|=0,t<n.mins[0]?o=["y"]:t>n.maxs[0]?o=["y",1]:t>=n.mins[0]&&t<=n.maxs[0]&&(t==n.mins[0]&&(e<n.mins[1]?o=["m"]:e==n.mins[1]&&i<n.mins[2]&&(o=["d"])),t==n.maxs[0]&&(e>n.maxs[1]?o=["m",1]:e==n.maxs[1]&&i>n.maxs[2]&&(o=["d",1]))),o},n.timeVoid=function(t,e){if(n.ymd[1]+1==n.mins[1]&&n.ymd[2]==n.mins[2]){if(0===e&&t<n.mins[3])return 1;if(1===e&&t<n.mins[4])return 1;if(2===e&&t<n.mins[5])return 1}else if(n.ymd[1]+1==n.maxs[1]&&n.ymd[2]==n.maxs[2]){if(0===e&&t>n.maxs[3])return 1;if(1===e&&t>n.maxs[4])return 1;if(2===e&&t>n.maxs[5])return 1}if(t>(e?59:23))return 1},n.check=function(){var t=n.options.format.replace(/YYYY|MM|DD|hh|mm|ss/g,"\\d+\\").replace(/\\$/g,""),e=new RegExp(t),i=n.elem[l.elemv],o=i.match(/\d+/g)||[],a=n.checkVoid(o[0],o[1],o[2]);if(""!==i.replace(/\s/g,"")){if(!e.test(i))return n.elem[l.elemv]="",n.msg("日期不符合格式，请重新选择。"),1;if(a[0])return n.elem[l.elemv]="",n.msg("日期不在有效期内，请重新选择。"),1;a.value=n.elem[l.elemv].match(e).join(),o=a.value.match(/\d+/g),o[1]<1?(o[1]=1,a.auto=1):o[1]>12?(o[1]=12,a.auto=1):o[1].length<2&&(a.auto=1),o[2]<1?(o[2]=1,a.auto=1):o[2]>n.months[(0|o[1])-1]?(o[2]=31,a.auto=1):o[2].length<2&&(a.auto=1),o.length>3&&(n.timeVoid(o[3],0)&&(a.auto=1),n.timeVoid(o[4],1)&&(a.auto=1),n.timeVoid(o[5],2)&&(a.auto=1)),a.auto?n.creation([o[0],0|o[1],0|o[2]],1):a.value!==n.elem[l.elemv]&&(n.elem[l.elemv]=a.value)}},n.months=[31,null,31,30,31,30,31,31,30,31,30,31],n.viewDate=function(t,e,i){var o=(n.query,{}),a=new Date;t<(0|n.mins[0])&&(t=0|n.mins[0]),t>(0|n.maxs[0])&&(t=0|n.maxs[0]),a.setFullYear(t,e,i),o.ymd=[a.getFullYear(),a.getMonth(),a.getDate()],n.months[1]=n.isleap(o.ymd[0])?29:28,a.setFullYear(o.ymd[0],o.ymd[1],1),o.FDay=a.getDay(),o.PDay=n.months[0===e?11:e-1]-o.FDay+1,o.NDay=1,n.each(l.tds,function(t,e){var i,a=o.ymd[0],r=o.ymd[1]+1;e.className="",t<o.FDay?(e.innerHTML=i=t+o.PDay,n.addClass(e,"laydate_nothis"),1===r&&(a-=1),r=1===r?12:r-1):t>=o.FDay&&t<o.FDay+n.months[o.ymd[1]]?(e.innerHTML=i=t-o.FDay+1,t-o.FDay+1===o.ymd[2]&&(n.addClass(e,l[2]),o.thisDay=e)):(e.innerHTML=i=o.NDay++,n.addClass(e,"laydate_nothis"),12===r&&(a+=1),r=12===r?1:r+1),n.checkVoid(a,r,i)[0]&&n.addClass(e,l[1]),n.options.festival&&n.festival(e,r+"."+i),e.setAttribute("y",a),e.setAttribute("m",r),e.setAttribute("d",i),a=r=i=null}),n.valid=!n.hasClass(o.thisDay,l[1]),n.ymd=o.ymd,l.year.value=n.ymd[0]+"年",l.month.value=n.digit(n.ymd[1]+1)+"月",n.each(l.mms,function(t,e){var i=n.checkVoid(n.ymd[0],(0|e.getAttribute("m"))+1);"y"===i[0]||"m"===i[0]?n.addClass(e,l[1]):n.removeClass(e,l[1]),n.removeClass(e,l[2]),i=null}),n.addClass(l.mms[n.ymd[1]],l[2]),o.times=[0|n.inymd[3]||0,0|n.inymd[4]||0,0|n.inymd[5]||0],n.each(new Array(3),function(t){n.hmsin[t].value=n.digit(n.timeVoid(o.times[t],t)?0|n.mins[t+3]:0|o.times[t])}),n[n.valid?"removeClass":"addClass"](l.ok,l[1])},n.festival=function(t,e){var i;switch(e){case"1.1":i="元旦";break;case"3.8":i="妇女";break;case"4.5":i="清明";break;case"5.1":i="劳动";break;case"6.1":i="儿童";break;case"9.10":i="教师";break;case"10.1":i="国庆"}i&&(t.innerHTML=i),i=null},n.viewYears=function(t){var e=n.query,i="";n.each(new Array(14),function(e){i+=7===e?"<li "+(parseInt(l.year.value)===t?'class="'+l[2]+'"':"")+' y="'+t+'">'+t+"年</li>":'<li y="'+(t-7+e)+'">'+(t-7+e)+"年</li>"}),e("#laydate_ys").innerHTML=i,n.each(e("#laydate_ys li"),function(t,e){"y"===n.checkVoid(e.getAttribute("y"))[0]?n.addClass(e,l[1]):n.on(e,"click",function(t){n.stopmp(t).reshow(),n.viewDate(0|this.getAttribute("y"),n.ymd[1],n.ymd[2])})})},n.initDate=function(){var t=(n.query,new Date),e=n.elem[l.elemv].match(/\d+/g)||[];e.length<3&&(e=n.options.start.match(/\d+/g)||[],e.length<3&&(e=[t.getFullYear(),t.getMonth()+1,t.getDate()])),n.inymd=e,n.viewDate(e[0],e[1]-1,e[2])},n.iswrite=function(){var t=n.query,e={time:t("#laydate_hms")};n.shde(e.time,!n.options.istime),n.shde(l.oclear,!("isclear"in n.options?n.options.isclear:1)),n.shde(l.otoday,!("istoday"in n.options?n.options.istoday:1)),n.shde(l.ok,!("issure"in n.options?n.options.issure:1))},n.orien=function(t,e){var i,o=n.elem.getBoundingClientRect();t.style.left=o.left+(e?0:n.scroll(1))+"px",i=o.bottom+t.offsetHeight/1.5<=n.winarea()?o.bottom-1:o.top>t.offsetHeight/1.5?o.top-t.offsetHeight+1:n.winarea()-t.offsetHeight,t.style.top=Math.max(i+(e?0:n.scroll()),1)+"px"},n.follow=function(t){n.options.fixed?(t.style.position="fixed",n.orien(t,1)):(t.style.position="absolute",n.orien(t))},n.viewtb=function(){var t,e=[],i=["日","一","二","三","四","五","六"],r={},l=o[a]("table"),u=o[a]("thead");return u.appendChild(o[a]("tr")),r.creath=function(t){var e=o[a]("th");e.innerHTML=i[t],u[s]("tr")[0].appendChild(e),e=null},n.each(new Array(6),function(i){e.push([]),t=l.insertRow(0),n.each(new Array(7),function(n){e[i][n]=0,0===i&&r.creath(n),t.insertCell(n)})}),l.insertBefore(u,l.children[0]),l.id=l.className="laydate_table",t=e=null,l.outerHTML.toLowerCase()}(),n.view=function(t,e){var r,s=n.query,u={};e=e||t,n.elem=t,n.options=e,n.options.format||(n.options.format=i.format),n.options.start=n.options.start||"",n.mm=u.mm=[n.options.min||i.min,n.options.max||i.max],n.mins=u.mm[0].match(/\d+/g),n.maxs=u.mm[1].match(/\d+/g),n.box?n.shde(n.box):(r=o[a]("div"),r.id=l[0],r.className=l[0],r.style.cssText="position: absolute;",r.setAttribute("name","laydate-v"+laydate.v),r.innerHTML=u.html='<div class="laydate_top"><div class="laydate_ym laydate_y" id="laydate_YY"><a class="laydate_choose laydate_chprev laydate_tab"><cite></cite></a><input id="laydate_y" readonly><label></label><a class="laydate_choose laydate_chnext laydate_tab"><cite></cite></a><div class="laydate_yms"><a class="laydate_tab laydate_chtop"><cite></cite></a><ul id="laydate_ys"></ul><a class="laydate_tab laydate_chdown"><cite></cite></a></div></div><div class="laydate_ym laydate_m" id="laydate_MM"><a class="laydate_choose laydate_chprev laydate_tab"><cite></cite></a><input id="laydate_m" readonly><label></label><a class="laydate_choose laydate_chnext laydate_tab"><cite></cite></a><div class="laydate_yms" id="laydate_ms">'+function(){var t="";return n.each(new Array(12),function(e){t+='<span m="'+e+'">'+n.digit(e+1)+"月</span>"}),t}()+"</div></div></div>"+n.viewtb+'<div class="laydate_bottom"><ul id="laydate_hms"><li class="laydate_sj">时间</li><li><input readonly>:</li><li><input readonly>:</li><li><input readonly></li></ul><div class="laydate_time" id="laydate_time"></div><div class="laydate_btn"><a id="laydate_clear">清空</a><a id="laydate_today">今天</a><a id="laydate_ok">确认</a></div>'+(i.isv?'<a href="http://sentsin.com/layui/laydate/" class="laydate_v" target="_blank">laydate-v'+laydate.v+"</a>":"")+"</div>",o.body.appendChild(r),n.box=s("#"+l[0]),n.events(),r=null),n.follow(n.box),e.zIndex?n.box.style.zIndex=e.zIndex:n.removeCssAttr(n.box,"z-index"),n.stopMosup("click",n.box),n.initDate(),n.iswrite(),n.check()},n.reshow=function(){return n.each(n.query("#"+l[0]+" .laydate_show"),function(t,e){n.removeClass(e,"laydate_show")}),this},n.close=function(){n.reshow(),n.shde(n.query("#"+l[0]),1),n.elem=null},n.parse=function(t,e,o){return t=t.concat(e),o=o||(n.options?n.options.format:i.format),o.replace(/YYYY|MM|DD|hh|mm|ss/g,function(e,i){return t.index=0|++t.index,n.digit(t[t.index])})},n.creation=function(t,e){var i=(n.query,n.hmsin),o=n.parse(t,[i[0].value,i[1].value,i[2].value]);n.elem[l.elemv]=o,e||(n.close(),"function"==typeof n.options.choose&&n.options.choose(o))},n.events=function(){var t=n.query,i={box:"#"+l[0]};n.addClass(o.body,"laydate_body"),l.tds=t("#laydate_table td"),l.mms=t("#laydate_ms span"),l.year=t("#laydate_y"),l.month=t("#laydate_m"),n.each(t(i.box+" .laydate_ym"),function(t,e){n.on(e,"click",function(e){n.stopmp(e).reshow(),n.addClass(this[s]("div")[0],"laydate_show"),t||(i.YY=parseInt(l.year.value),n.viewYears(i.YY))})}),n.on(t(i.box),"click",function(){n.reshow()}),i.tabYear=function(t){0===t?n.ymd[0]--:1===t?n.ymd[0]++:2===t?i.YY-=14:i.YY+=14,t<2?(n.viewDate(n.ymd[0],n.ymd[1],n.ymd[2]),n.reshow()):n.viewYears(i.YY)},n.each(t("#laydate_YY .laydate_tab"),function(t,e){n.on(e,"click",function(e){n.stopmp(e),i.tabYear(t)})}),i.tabMonth=function(t){t?(n.ymd[1]++,12===n.ymd[1]&&(n.ymd[0]++,n.ymd[1]=0)):(n.ymd[1]--,n.ymd[1]===-1&&(n.ymd[0]--,n.ymd[1]=11)),n.viewDate(n.ymd[0],n.ymd[1],n.ymd[2])},n.each(t("#laydate_MM .laydate_tab"),function(t,e){n.on(e,"click",function(e){n.stopmp(e).reshow(),i.tabMonth(t)})}),n.each(t("#laydate_ms span"),function(t,e){n.on(e,"click",function(t){n.stopmp(t).reshow(),n.hasClass(this,l[1])||n.viewDate(n.ymd[0],0|this.getAttribute("m"),n.ymd[2])})}),n.each(t("#laydate_table td"),function(t,e){n.on(e,"click",function(t){n.hasClass(this,l[1])||(n.stopmp(t),n.creation([0|this.getAttribute("y"),0|this.getAttribute("m"),0|this.getAttribute("d")]))})}),l.oclear=t("#laydate_clear"),n.on(l.oclear,"click",function(){n.elem[l.elemv]="",n.close()}),l.otoday=t("#laydate_today"),n.on(l.otoday,"click",function(){var t=new Date;n.creation([t.getFullYear(),t.getMonth()+1,t.getDate()])}),l.ok=t("#laydate_ok"),n.on(l.ok,"click",function(){n.valid&&n.creation([n.ymd[0],n.ymd[1]+1,n.ymd[2]])}),i.times=t("#laydate_time"),n.hmsin=i.hmsin=t("#laydate_hms input"),i.hmss=["小时","分钟","秒数"],i.hmsarr=[],n.msg=function(e,o){var a='<div class="laydte_hsmtex">'+(o||"提示")+"<span>×</span></div>";"string"==typeof e?(a+="<p>"+e+"</p>",n.shde(t("#"+l[0])),n.removeClass(i.times,"laydate_time1").addClass(i.times,"laydate_msg")):(i.hmsarr[e]?a=i.hmsarr[e]:(a+='<div id="laydate_hmsno" class="laydate_hmsno">',n.each(new Array(0===e?24:60),function(t){a+="<span>"+t+"</span>"}),a+="</div>",i.hmsarr[e]=a),n.removeClass(i.times,"laydate_msg"),n[0===e?"removeClass":"addClass"](i.times,"laydate_time1")),n.addClass(i.times,"laydate_show"),i.times.innerHTML=a},i.hmson=function(e,i){var o=t("#laydate_hmsno span"),a=n.valid?null:1;n.each(o,function(t,o){a?n.addClass(o,l[1]):n.timeVoid(t,i)?n.addClass(o,l[1]):n.on(o,"click",function(t){n.hasClass(this,l[1])||(e.value=n.digit(0|this.innerHTML))})}),n.addClass(o[0|e.value],"laydate_click")},n.each(i.hmsin,function(t,e){n.on(e,"click",function(e){n.stopmp(e).reshow(),n.msg(t,i.hmss[t]),i.hmson(this,t)})}),n.on(o,"mouseup",function(){var e=t("#"+l[0]);e&&"none"!==e.style.display&&(n.check()||n.close())}).on(o,"keydown",function(t){t=t||e.event;var i=t.keyCode;13===i&&n.elem&&n.creation([n.ymd[0],n.ymd[1]+1,n.ymd[2]])})},laydate.reset=function(){n.box&&n.elem&&n.follow(n.box)},laydate.now=function(t,e){var i=new Date(0|t?function(t){return t<864e5?+new Date+864e5*t:t}(parseInt(t)):+new Date);return n.parse([i.getFullYear(),i.getMonth()+1,i.getDate()],[i.getHours(),i.getMinutes(),i.getSeconds()],e)},t("laydate",laydate)}),!function(e,i){"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?i(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return i(t)}:i(e)}("undefined"!=typeof window?window:this,function(t,e){
  function i(t){var e=!!t&&"length"in t&&t.length,i=ht.type(t);return"function"!==i&&!ht.isWindow(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function n(t,e,i){if(ht.isFunction(e))return ht.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return ht.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(At.test(e))return ht.filter(e,t,i);e=ht.filter(e,t)}return ht.grep(t,function(t){return ht.inArray(t,e)>-1!==i})}function o(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function a(t){var e={};return ht.each(t.match(Mt)||[],function(t,i){e[i]=!0}),e}function r(){nt.addEventListener?(nt.removeEventListener("DOMContentLoaded",s),t.removeEventListener("load",s)):(nt.detachEvent("onreadystatechange",s),t.detachEvent("onload",s))}function s(){(nt.addEventListener||"load"===t.event.type||"complete"===nt.readyState)&&(r(),ht.ready())}function l(t,e,i){if(void 0===i&&1===t.nodeType){var n="data-"+e.replace(Ut,"-$1").toLowerCase();if(i=t.getAttribute(n),"string"==typeof i){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Lt.test(i)?ht.parseJSON(i):i)}catch(t){}ht.data(t,e,i)}else i=void 0}return i}function u(t){var e;for(e in t)if(("data"!==e||!ht.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,i,n){if(Ft(t)){var o,a,r=ht.expando,s=t.nodeType,l=s?ht.cache:t,u=s?t[r]:t[r]&&r;if(u&&l[u]&&(n||l[u].data)||void 0!==i||"string"!=typeof e)return u||(u=s?t[r]=it.pop()||ht.guid++:r),l[u]||(l[u]=s?{}:{toJSON:ht.noop}),"object"!=typeof e&&"function"!=typeof e||(n?l[u]=ht.extend(l[u],e):l[u].data=ht.extend(l[u].data,e)),a=l[u],n||(a.data||(a.data={}),a=a.data),void 0!==i&&(a[ht.camelCase(e)]=i),"string"==typeof e?(o=a[e],null==o&&(o=a[ht.camelCase(e)])):o=a,o}}function d(t,e,i){if(Ft(t)){var n,o,a=t.nodeType,r=a?ht.cache:t,s=a?t[ht.expando]:ht.expando;if(r[s]){if(e&&(n=i?r[s]:r[s].data)){ht.isArray(e)?e=e.concat(ht.map(e,ht.camelCase)):e in n?e=[e]:(e=ht.camelCase(e),e=e in n?[e]:e.split(" ")),o=e.length;for(;o--;)delete n[e[o]];if(i?!u(n):!ht.isEmptyObject(n))return}(i||(delete r[s].data,u(r[s])))&&(a?ht.cleanData([t],!0):dt.deleteExpando||r!=r.window?delete r[s]:r[s]=void 0)}}}function p(t,e,i,n){var o,a=1,r=20,s=n?function(){return n.cur()}:function(){return ht.css(t,e,"")},l=s(),u=i&&i[3]||(ht.cssNumber[e]?"":"px"),c=(ht.cssNumber[e]||"px"!==u&&+l)&&Ot.exec(ht.css(t,e));if(c&&c[3]!==u){u=u||c[3],i=i||[],c=+l||1;do a=a||".5",c/=a,ht.style(t,e,c+u);while(a!==(a=s()/l)&&1!==a&&--r)}return i&&(c=+c||+l||0,o=i[1]?c+(i[1]+1)*i[2]:+i[2],n&&(n.unit=u,n.start=c,n.end=o)),o}function h(t){var e=qt.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}function f(t,e){var i,n,o=0,a="undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e||"*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll(e||"*"):void 0;if(!a)for(a=[],i=t.childNodes||t;null!=(n=i[o]);o++)!e||ht.nodeName(n,e)?a.push(n):ht.merge(a,f(n,e));return void 0===e||e&&ht.nodeName(t,e)?ht.merge([t],a):a}function m(t,e){for(var i,n=0;null!=(i=t[n]);n++)ht._data(i,"globalEval",!e||ht._data(e[n],"globalEval"))}function g(t){zt.test(t.type)&&(t.defaultChecked=t.checked)}function y(t,e,i,n,o){for(var a,r,s,l,u,c,d,p=t.length,y=h(e),v=[],b=0;b<p;b++)if(r=t[b],r||0===r)if("object"===ht.type(r))ht.merge(v,r.nodeType?[r]:r);else if($t.test(r)){for(l=l||y.appendChild(e.createElement("div")),u=(Ht.exec(r)||["",""])[1].toLowerCase(),d=Wt[u]||Wt._default,l.innerHTML=d[1]+ht.htmlPrefilter(r)+d[2],a=d[0];a--;)l=l.lastChild;if(!dt.leadingWhitespace&&Yt.test(r)&&v.push(e.createTextNode(Yt.exec(r)[0])),!dt.tbody)for(r="table"!==u||Qt.test(r)?"<table>"!==d[1]||Qt.test(r)?0:l:l.firstChild,a=r&&r.childNodes.length;a--;)ht.nodeName(c=r.childNodes[a],"tbody")&&!c.childNodes.length&&r.removeChild(c);for(ht.merge(v,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=y.lastChild}else v.push(e.createTextNode(r));for(l&&y.removeChild(l),dt.appendChecked||ht.grep(f(v,"input"),g),b=0;r=v[b++];)if(n&&ht.inArray(r,n)>-1)o&&o.push(r);else if(s=ht.contains(r.ownerDocument,r),l=f(y.appendChild(r),"script"),s&&m(l),i)for(a=0;r=l[a++];)Pt.test(r.type||"")&&i.push(r);return l=null,y}function v(){return!0}function b(){return!1}function w(){try{return nt.activeElement}catch(t){}}function x(t,e,i,n,o,a){var r,s;if("object"==typeof e){"string"!=typeof i&&(n=n||i,i=void 0);for(s in e)x(t,s,i,n,e[s],a);return t}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),o===!1)o=b;else if(!o)return t;return 1===a&&(r=o,o=function(t){return ht().off(t),r.apply(this,arguments)},o.guid=r.guid||(r.guid=ht.guid++)),t.each(function(){ht.event.add(this,e,o,n,i)})}function k(t,e){return ht.nodeName(t,"table")&&ht.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function A(t){return t.type=(null!==ht.find.attr(t,"type"))+"/"+t.type,t}function _(t){var e=oe.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function C(t,e){if(1===e.nodeType&&ht.hasData(t)){var i,n,o,a=ht._data(t),r=ht._data(e,a),s=a.events;if(s){delete r.handle,r.events={};for(i in s)for(n=0,o=s[i].length;n<o;n++)ht.event.add(e,i,s[i][n])}r.data&&(r.data=ht.extend({},r.data))}}function E(t,e){var i,n,o;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!dt.noCloneEvent&&e[ht.expando]){o=ht._data(e);for(n in o.events)ht.removeEvent(e,n,o.handle);e.removeAttribute(ht.expando)}"script"===i&&e.text!==t.text?(A(e).text=t.text,_(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),dt.html5Clone&&t.innerHTML&&!ht.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&zt.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:"input"!==i&&"textarea"!==i||(e.defaultValue=t.defaultValue)}}function T(t,e,i,n){e=at.apply([],e);var o,a,r,s,l,u,c=0,d=t.length,p=d-1,h=e[0],m=ht.isFunction(h);if(m||d>1&&"string"==typeof h&&!dt.checkClone&&ne.test(h))return t.each(function(o){var a=t.eq(o);m&&(e[0]=h.call(this,o,a.html())),T(a,e,i,n)});if(d&&(u=y(e,t[0].ownerDocument,!1,t,n),o=u.firstChild,1===u.childNodes.length&&(u=o),o||n)){for(s=ht.map(f(u,"script"),A),r=s.length;c<d;c++)a=u,c!==p&&(a=ht.clone(a,!0,!0),r&&ht.merge(s,f(a,"script"))),i.call(t[c],a,c);if(r)for(l=s[s.length-1].ownerDocument,ht.map(s,_),c=0;c<r;c++)a=s[c],Pt.test(a.type||"")&&!ht._data(a,"globalEval")&&ht.contains(l,a)&&(a.src?ht._evalUrl&&ht._evalUrl(a.src):ht.globalEval((a.text||a.textContent||a.innerHTML||"").replace(ae,"")));u=o=null}return t}function D(t,e,i){for(var n,o=e?ht.filter(e,t):t,a=0;null!=(n=o[a]);a++)i||1!==n.nodeType||ht.cleanData(f(n)),n.parentNode&&(i&&ht.contains(n.ownerDocument,n)&&m(f(n,"script")),n.parentNode.removeChild(n));return t}function M(t,e){var i=ht(e.createElement(t)).appendTo(e.body),n=ht.css(i[0],"display");return i.detach(),n}function S(t){var e=nt,i=ue[t];return i||(i=M(t,e),"none"!==i&&i||(le=(le||ht("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(le[0].contentWindow||le[0].contentDocument).document,e.write(),e.close(),i=M(t,e),le.detach()),ue[t]=i),i}function I(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function F(t){if(t in _e)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),i=Ae.length;i--;)if(t=Ae[i]+e,t in _e)return t}function L(t,e){for(var i,n,o,a=[],r=0,s=t.length;r<s;r++)n=t[r],n.style&&(a[r]=ht._data(n,"olddisplay"),i=n.style.display,e?(a[r]||"none"!==i||(n.style.display=""),""===n.style.display&&Nt(n)&&(a[r]=ht._data(n,"olddisplay",S(n.nodeName)))):(o=Nt(n),(i&&"none"!==i||!o)&&ht._data(n,"olddisplay",o?i:ht.css(n,"display"))));for(r=0;r<s;r++)n=t[r],n.style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?a[r]||"":"none"));return t}function U(t,e,i){var n=we.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function R(t,e,i,n,o){for(var a=i===(n?"border":"content")?4:"width"===e?1:0,r=0;a<4;a+=2)"margin"===i&&(r+=ht.css(t,i+Bt[a],!0,o)),n?("content"===i&&(r-=ht.css(t,"padding"+Bt[a],!0,o)),"margin"!==i&&(r-=ht.css(t,"border"+Bt[a]+"Width",!0,o))):(r+=ht.css(t,"padding"+Bt[a],!0,o),"padding"!==i&&(r+=ht.css(t,"border"+Bt[a]+"Width",!0,o)));return r}function O(e,i,n){var o=!0,a="width"===i?e.offsetWidth:e.offsetHeight,r=fe(e),s=dt.boxSizing&&"border-box"===ht.css(e,"boxSizing",!1,r);if(nt.msFullscreenElement&&t.top!==t&&e.getClientRects().length&&(a=Math.round(100*e.getBoundingClientRect()[i])),a<=0||null==a){if(a=me(e,i,r),(a<0||null==a)&&(a=e.style[i]),de.test(a))return a;o=s&&(dt.boxSizingReliable()||a===e.style[i]),a=parseFloat(a)||0}return a+R(e,i,n||(s?"border":"content"),o,r)+"px"}function B(t,e,i,n,o){return new B.prototype.init(t,e,i,n,o)}function N(){return t.setTimeout(function(){Ce=void 0}),Ce=ht.now()}function j(t,e){var i,n={height:t},o=0;for(e=e?1:0;o<4;o+=2-e)i=Bt[o],n["margin"+i]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function z(t,e,i){for(var n,o=(Y.tweeners[e]||[]).concat(Y.tweeners["*"]),a=0,r=o.length;a<r;a++)if(n=o[a].call(i,e,t))return n}function H(t,e,i){var n,o,a,r,s,l,u,c,d=this,p={},h=t.style,f=t.nodeType&&Nt(t),m=ht._data(t,"fxshow");i.queue||(s=ht._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,ht.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(i.overflow=[h.overflow,h.overflowX,h.overflowY],u=ht.css(t,"display"),c="none"===u?ht._data(t,"olddisplay")||S(t.nodeName):u,"inline"===c&&"none"===ht.css(t,"float")&&(dt.inlineBlockNeedsLayout&&"inline"!==S(t.nodeName)?h.zoom=1:h.display="inline-block")),i.overflow&&(h.overflow="hidden",dt.shrinkWrapBlocks()||d.always(function(){h.overflow=i.overflow[0],h.overflowX=i.overflow[1],h.overflowY=i.overflow[2]}));for(n in e)if(o=e[n],Te.exec(o)){if(delete e[n],a=a||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!m||void 0===m[n])continue;f=!0}p[n]=m&&m[n]||ht.style(t,n)}else u=void 0;if(ht.isEmptyObject(p))"inline"===("none"===u?S(t.nodeName):u)&&(h.display=u);else{m?"hidden"in m&&(f=m.hidden):m=ht._data(t,"fxshow",{}),a&&(m.hidden=!f),f?ht(t).show():d.done(function(){ht(t).hide()}),d.done(function(){var e;ht._removeData(t,"fxshow");for(e in p)ht.style(t,e,p[e])});for(n in p)r=z(f?m[n]:0,n,d),n in m||(m[n]=r.start,f&&(r.end=r.start,r.start="width"===n||"height"===n?1:0))}}function P(t,e){var i,n,o,a,r;for(i in t)if(n=ht.camelCase(i),o=e[n],a=t[i],ht.isArray(a)&&(o=a[1],a=t[i]=a[0]),i!==n&&(t[n]=a,delete t[i]),r=ht.cssHooks[n],r&&"expand"in r){a=r.expand(a),delete t[n];for(i in a)i in t||(t[i]=a[i],e[i]=o)}else e[n]=o}function Y(t,e,i){var n,o,a=0,r=Y.prefilters.length,s=ht.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var e=Ce||N(),i=Math.max(0,u.startTime+u.duration-e),n=i/u.duration||0,a=1-n,r=0,l=u.tweens.length;r<l;r++)u.tweens[r].run(a);return s.notifyWith(t,[u,a,i]),a<1&&l?i:(s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:ht.extend({},e),opts:ht.extend(!0,{specialEasing:{},easing:ht.easing._default},i),originalProperties:e,originalOptions:i,startTime:Ce||N(),duration:i.duration,tweens:[],createTween:function(e,i){var n=ht.Tween(t,u.opts,e,i,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var i=0,n=e?u.tweens.length:0;if(o)return this;for(o=!0;i<n;i++)u.tweens[i].run(1);return e?(s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u,e])):s.rejectWith(t,[u,e]),this}}),c=u.props;for(P(c,u.opts.specialEasing);a<r;a++)if(n=Y.prefilters[a].call(u,t,c,u.opts))return ht.isFunction(n.stop)&&(ht._queueHooks(u.elem,u.opts.queue).stop=ht.proxy(n.stop,n)),n;return ht.map(c,z,u),ht.isFunction(u.opts.start)&&u.opts.start.call(t,u),ht.fx.timer(ht.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function q(t){return ht.attr(t,"class")||""}function W(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,o=0,a=e.toLowerCase().match(Mt)||[];if(ht.isFunction(i))for(;n=a[o++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function $(t,e,i,n){function o(s){var l;return a[s]=!0,ht.each(t[s]||[],function(t,s){var u=s(e,i,n);return"string"!=typeof u||r||a[u]?r?!(l=u):void 0:(e.dataTypes.unshift(u),o(u),!1)}),l}var a={},r=t===Ze;return o(e.dataTypes[0])||!a["*"]&&o("*")}function Q(t,e){var i,n,o=ht.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((o[n]?t:i||(i={}))[n]=e[n]);return i&&ht.extend(!0,t,i),t}function G(t,e,i){for(var n,o,a,r,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===o&&(o=t.mimeType||e.getResponseHeader("Content-Type"));if(o)for(r in s)if(s[r]&&s[r].test(o)){l.unshift(r);break}if(l[0]in i)a=l[0];else{for(r in i){if(!l[0]||t.converters[r+" "+l[0]]){a=r;break}n||(n=r)}a=a||n}if(a)return a!==l[0]&&l.unshift(a),i[a]}function J(t,e,i,n){var o,a,r,s,l,u={},c=t.dataTypes.slice();if(c[1])for(r in t.converters)u[r.toLowerCase()]=t.converters[r];for(a=c.shift();a;)if(t.responseFields[a]&&(i[t.responseFields[a]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=a,a=c.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(r=u[l+" "+a]||u["* "+a],!r)for(o in u)if(s=o.split(" "),s[1]===a&&(r=u[l+" "+s[0]]||u["* "+s[0]])){r===!0?r=u[o]:u[o]!==!0&&(a=s[0],c.unshift(s[1]));break}if(r!==!0)if(r&&t.throws)e=r(e);else try{e=r(e)}catch(t){return{state:"parsererror",error:r?t:"No conversion from "+l+" to "+a}}}return{state:"success",data:e}}function K(t){return t.style&&t.style.display||ht.css(t,"display")}function V(t){for(;t&&1===t.nodeType;){if("none"===K(t)||"hidden"===t.type)return!0;t=t.parentNode}return!1}function Z(t,e,i,n){var o;if(ht.isArray(e))ht.each(e,function(e,o){i||ni.test(t)?n(t,o):Z(t+"["+("object"==typeof o&&null!=o?e:"")+"]",o,i,n)});else if(i||"object"!==ht.type(e))n(t,e);else for(o in e)Z(t+"["+o+"]",e[o],i,n)}function X(){try{return new t.XMLHttpRequest}catch(t){}}function tt(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function et(t){return ht.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var it=[],nt=t.document,ot=it.slice,at=it.concat,rt=it.push,st=it.indexOf,lt={},ut=lt.toString,ct=lt.hasOwnProperty,dt={},pt="1.12.3",ht=function(t,e){return new ht.fn.init(t,e)},ft=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,mt=/^-ms-/,gt=/-([\da-z])/gi,yt=function(t,e){return e.toUpperCase()};ht.fn=ht.prototype={jquery:pt,constructor:ht,selector:"",length:0,toArray:function(){return ot.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:ot.call(this)},pushStack:function(t){var e=ht.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return ht.each(this,t)},map:function(t){return this.pushStack(ht.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(ot.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i<e?[this[i]]:[])},end:function(){return this.prevObject||this.constructor()},push:rt,sort:it.sort,splice:it.splice},ht.extend=ht.fn.extend=function(){var t,e,i,n,o,a,r=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof r&&(u=r,r=arguments[s]||{},s++),"object"==typeof r||ht.isFunction(r)||(r={}),s===l&&(r=this,s--);s<l;s++)if(null!=(o=arguments[s]))for(n in o)t=r[n],i=o[n],r!==i&&(u&&i&&(ht.isPlainObject(i)||(e=ht.isArray(i)))?(e?(e=!1,a=t&&ht.isArray(t)?t:[]):a=t&&ht.isPlainObject(t)?t:{},r[n]=ht.extend(u,a,i)):void 0!==i&&(r[n]=i));return r},ht.extend({expando:"jQuery"+(pt+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===ht.type(t)},isArray:Array.isArray||function(t){return"array"===ht.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){var e=t&&t.toString();return!ht.isArray(t)&&e-parseFloat(e)+1>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==ht.type(t)||t.nodeType||ht.isWindow(t))return!1;try{if(t.constructor&&!ct.call(t,"constructor")&&!ct.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(!dt.ownFirst)for(e in t)return ct.call(t,e);for(e in t);return void 0===e||ct.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?lt[ut.call(t)]||"object":typeof t},globalEval:function(e){e&&ht.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(mt,"ms-").replace(gt,yt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var n,o=0;if(i(t))for(n=t.length;o<n&&e.call(t[o],o,t[o])!==!1;o++);else for(o in t)if(e.call(t[o],o,t[o])===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(ft,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(i(Object(t))?ht.merge(n,"string"==typeof t?[t]:t):rt.call(n,t)),n},inArray:function(t,e,i){var n;if(e){if(st)return st.call(e,t,i);for(n=e.length,i=i?i<0?Math.max(0,n+i):i:0;i<n;i++)if(i in e&&e[i]===t)return i}return-1},merge:function(t,e){for(var i=+e.length,n=0,o=t.length;n<i;)t[o++]=e[n++];if(i!==i)for(;void 0!==e[n];)t[o++]=e[n++];return t.length=o,t},grep:function(t,e,i){for(var n,o=[],a=0,r=t.length,s=!i;a<r;a++)n=!e(t[a],a),n!==s&&o.push(t[a]);return o},map:function(t,e,n){var o,a,r=0,s=[];if(i(t))for(o=t.length;r<o;r++)a=e(t[r],r,n),null!=a&&s.push(a);else for(r in t)a=e(t[r],r,n),null!=a&&s.push(a);return at.apply([],s)},guid:1,proxy:function(t,e){var i,n,o;if("string"==typeof e&&(o=t[e],e=t,t=o),ht.isFunction(t))return i=ot.call(arguments,2),n=function(){return t.apply(e||this,i.concat(ot.call(arguments)))},n.guid=t.guid=t.guid||ht.guid++,n},now:function(){return+new Date},support:dt}),"function"==typeof Symbol&&(ht.fn[Symbol.iterator]=it[Symbol.iterator]),ht.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){lt["[object "+e+"]"]=e.toLowerCase()});var vt=function(t){function e(t,e,i,n){var o,a,r,s,l,u,d,h,f=e&&e.ownerDocument,m=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==m&&9!==m&&11!==m)return i;if(!n&&((e?e.ownerDocument||e:z)!==F&&I(e),e=e||F,U)){if(11!==m&&(u=yt.exec(t)))if(o=u[1]){if(9===m){if(!(r=e.getElementById(o)))return i;if(r.id===o)return i.push(r),i}else if(f&&(r=f.getElementById(o))&&N(e,r)&&r.id===o)return i.push(r),i}else{if(u[2])return Z.apply(i,e.getElementsByTagName(t)),i;if((o=u[3])&&x.getElementsByClassName&&e.getElementsByClassName)return Z.apply(i,e.getElementsByClassName(o)),i}if(x.qsa&&!W[t+" "]&&(!R||!R.test(t))){if(1!==m)f=e,h=t;else if("object"!==e.nodeName.toLowerCase()){for((s=e.getAttribute("id"))?s=s.replace(bt,"\\$&"):e.setAttribute("id",s=j),d=C(t),a=d.length,l=pt.test(s)?"#"+s:"[id='"+s+"']";a--;)d[a]=l+" "+p(d[a]);h=d.join(","),f=vt.test(t)&&c(e.parentNode)||e}if(h)try{return Z.apply(i,f.querySelectorAll(h)),i}catch(t){}finally{s===j&&e.removeAttribute("id")}}}return T(t.replace(st,"$1"),e,i,n)}function i(){function t(i,n){return e.push(i+" ")>k.cacheLength&&delete t[e.shift()],t[i+" "]=n}var e=[];return t}function n(t){return t[j]=!0,t}function o(t){var e=F.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function a(t,e){for(var i=t.split("|"),n=i.length;n--;)k.attrHandle[i[n]]=e}function r(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Q)-(~t.sourceIndex||Q);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function s(t){return function(e){var i=e.nodeName.toLowerCase();return"input"===i&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var o,a=t([],i.length,e),r=a.length;r--;)i[o=a[r]]&&(i[o]=!(n[o]=i[o]))})})}function c(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function d(){}function p(t){for(var e=0,i=t.length,n="";e<i;e++)n+=t[e].value;return n}function h(t,e,i){var n=e.dir,o=i&&"parentNode"===n,a=P++;return e.first?function(e,i,a){for(;e=e[n];)if(1===e.nodeType||o)return t(e,i,a)}:function(e,i,r){var s,l,u,c=[H,a];if(r){for(;e=e[n];)if((1===e.nodeType||o)&&t(e,i,r))return!0}else for(;e=e[n];)if(1===e.nodeType||o){if(u=e[j]||(e[j]={}),l=u[e.uniqueID]||(u[e.uniqueID]={}),(s=l[n])&&s[0]===H&&s[1]===a)return c[2]=s[2];if(l[n]=c,c[2]=t(e,i,r))return!0}}}function f(t){return t.length>1?function(e,i,n){for(var o=t.length;o--;)if(!t[o](e,i,n))return!1;return!0}:t[0]}function m(t,i,n){for(var o=0,a=i.length;o<a;o++)e(t,i[o],n);return n}function g(t,e,i,n,o){for(var a,r=[],s=0,l=t.length,u=null!=e;s<l;s++)(a=t[s])&&(i&&!i(a,n,o)||(r.push(a),u&&e.push(s)));return r}function y(t,e,i,o,a,r){return o&&!o[j]&&(o=y(o)),a&&!a[j]&&(a=y(a,r)),n(function(n,r,s,l){var u,c,d,p=[],h=[],f=r.length,y=n||m(e||"*",s.nodeType?[s]:s,[]),v=!t||!n&&e?y:g(y,p,t,s,l),b=i?a||(n?t:f||o)?[]:r:v;if(i&&i(v,b,s,l),o)for(u=g(b,h),o(u,[],s,l),c=u.length;c--;)(d=u[c])&&(b[h[c]]=!(v[h[c]]=d));if(n){if(a||t){if(a){for(u=[],c=b.length;c--;)(d=b[c])&&u.push(v[c]=d);a(null,b=[],u,l)}for(c=b.length;c--;)(d=b[c])&&(u=a?tt(n,d):p[c])>-1&&(n[u]=!(r[u]=d))}}else b=g(b===r?b.splice(f,b.length):b),a?a(null,r,b,l):Z.apply(r,b)})}function v(t){for(var e,i,n,o=t.length,a=k.relative[t[0].type],r=a||k.relative[" "],s=a?1:0,l=h(function(t){return t===e},r,!0),u=h(function(t){return tt(e,t)>-1},r,!0),c=[function(t,i,n){var o=!a&&(n||i!==D)||((e=i).nodeType?l(t,i,n):u(t,i,n));return e=null,o}];s<o;s++)if(i=k.relative[t[s].type])c=[h(f(c),i)];else{if(i=k.filter[t[s].type].apply(null,t[s].matches),i[j]){for(n=++s;n<o&&!k.relative[t[n].type];n++);return y(s>1&&f(c),s>1&&p(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(st,"$1"),i,s<n&&v(t.slice(s,n)),n<o&&v(t=t.slice(n)),n<o&&p(t))}c.push(i)}return f(c)}function b(t,i){var o=i.length>0,a=t.length>0,r=function(n,r,s,l,u){var c,d,p,h=0,f="0",m=n&&[],y=[],v=D,b=n||a&&k.find.TAG("*",u),w=H+=null==v?1:Math.random()||.1,x=b.length;for(u&&(D=r===F||r||u);f!==x&&null!=(c=b[f]);f++){if(a&&c){for(d=0,r||c.ownerDocument===F||(I(c),s=!U);p=t[d++];)if(p(c,r||F,s)){l.push(c);break}u&&(H=w)}o&&((c=!p&&c)&&h--,n&&m.push(c))}if(h+=f,o&&f!==h){for(d=0;p=i[d++];)p(m,y,r,s);if(n){if(h>0)for(;f--;)m[f]||y[f]||(y[f]=K.call(l));y=g(y)}Z.apply(l,y),u&&!n&&y.length>0&&h+i.length>1&&e.uniqueSort(l)}return u&&(H=w,D=v),m};return o?n(r):r}var w,x,k,A,_,C,E,T,D,M,S,I,F,L,U,R,O,B,N,j="sizzle"+1*new Date,z=t.document,H=0,P=0,Y=i(),q=i(),W=i(),$=function(t,e){return t===e&&(S=!0),0},Q=1<<31,G={}.hasOwnProperty,J=[],K=J.pop,V=J.push,Z=J.push,X=J.slice,tt=function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",it="[\\x20\\t\\r\\n\\f]",nt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot="\\["+it+"*("+nt+")(?:"+it+"*([*^$|!~]?=)"+it+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+nt+"))|)"+it+"*\\]",at=":("+nt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ot+")*)|.*)\\)|)",rt=new RegExp(it+"+","g"),st=new RegExp("^"+it+"+|((?:^|[^\\\\])(?:\\\\.)*)"+it+"+$","g"),lt=new RegExp("^"+it+"*,"+it+"*"),ut=new RegExp("^"+it+"*([>+~]|"+it+")"+it+"*"),ct=new RegExp("="+it+"*([^\\]'\"]*?)"+it+"*\\]","g"),dt=new RegExp(at),pt=new RegExp("^"+nt+"$"),ht={ID:new RegExp("^#("+nt+")"),CLASS:new RegExp("^\\.("+nt+")"),TAG:new RegExp("^("+nt+"|[*])"),ATTR:new RegExp("^"+ot),PSEUDO:new RegExp("^"+at),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+it+"*(even|odd|(([+-]|)(\\d*)n|)"+it+"*(?:([+-]|)"+it+"*(\\d+)|))"+it+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+it+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+it+"*((?:-\\d)?\\d*)"+it+"*\\)|)(?=[^-]|$)","i")},ft=/^(?:input|select|textarea|button)$/i,mt=/^h\d$/i,gt=/^[^{]+\{\s*\[native \w/,yt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vt=/[+~]/,bt=/'|\\/g,wt=new RegExp("\\\\([\\da-f]{1,6}"+it+"?|("+it+")|.)","ig"),xt=function(t,e,i){var n="0x"+e-65536;return n!==n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},kt=function(){I()};try{Z.apply(J=X.call(z.childNodes),z.childNodes),J[z.childNodes.length].nodeType}catch(t){Z={apply:J.length?function(t,e){V.apply(t,X.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}x=e.support={},_=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},I=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:z;return n!==F&&9===n.nodeType&&n.documentElement?(F=n,L=F.documentElement,U=!_(F),(i=F.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",kt,!1):i.attachEvent&&i.attachEvent("onunload",kt)),x.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=o(function(t){return t.appendChild(F.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=gt.test(F.getElementsByClassName),x.getById=o(function(t){return L.appendChild(t).id=j,!F.getElementsByName||!F.getElementsByName(j).length}),x.getById?(k.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&U){var i=e.getElementById(t);return i?[i]:[]}},k.filter.ID=function(t){var e=t.replace(wt,xt);return function(t){return t.getAttribute("id")===e}}):(delete k.find.ID,k.filter.ID=function(t){var e=t.replace(wt,xt);return function(t){var i="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}}),k.find.TAG=x.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,a=e.getElementsByTagName(t);if("*"===t){for(;i=a[o++];)1===i.nodeType&&n.push(i);return n}return a},k.find.CLASS=x.getElementsByClassName&&function(t,e){if("undefined"!=typeof e.getElementsByClassName&&U)return e.getElementsByClassName(t)},O=[],R=[],(x.qsa=gt.test(F.querySelectorAll))&&(o(function(t){L.appendChild(t).innerHTML="<a id='"+j+"'></a><select id='"+j+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+it+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||R.push("\\["+it+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+j+"-]").length||R.push("~="),t.querySelectorAll(":checked").length||R.push(":checked"),t.querySelectorAll("a#"+j+"+*").length||R.push(".#.+[+~]")}),o(function(t){var e=F.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&R.push("name"+it+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),R.push(",.*:")})),(x.matchesSelector=gt.test(B=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(t){x.disconnectedMatch=B.call(t,"div"),B.call(t,"[s!='']:x"),O.push("!=",at)}),R=R.length&&new RegExp(R.join("|")),O=O.length&&new RegExp(O.join("|")),e=gt.test(L.compareDocumentPosition),N=e||gt.test(L.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},$=e?function(t,e){if(t===e)return S=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i?i:(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!x.sortDetached&&e.compareDocumentPosition(t)===i?t===F||t.ownerDocument===z&&N(z,t)?-1:e===F||e.ownerDocument===z&&N(z,e)?1:M?tt(M,t)-tt(M,e):0:4&i?-1:1)}:function(t,e){if(t===e)return S=!0,0;var i,n=0,o=t.parentNode,a=e.parentNode,s=[t],l=[e];if(!o||!a)return t===F?-1:e===F?1:o?-1:a?1:M?tt(M,t)-tt(M,e):0;if(o===a)return r(t,e);for(i=t;i=i.parentNode;)s.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;s[n]===l[n];)n++;return n?r(s[n],l[n]):s[n]===z?-1:l[n]===z?1:0},F):F},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==F&&I(t),i=i.replace(ct,"='$1']"),x.matchesSelector&&U&&!W[i+" "]&&(!O||!O.test(i))&&(!R||!R.test(i)))try{var n=B.call(t,i);if(n||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return e(i,F,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==F&&I(t),N(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==F&&I(t);var i=k.attrHandle[e.toLowerCase()],n=i&&G.call(k.attrHandle,e.toLowerCase())?i(t,e,!U):void 0;return void 0!==n?n:x.attributes||!U?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,o=0;if(S=!x.detectDuplicates,M=!x.sortStable&&t.slice(0),t.sort($),S){for(;e=t[o++];)e===t[o]&&(n=i.push(o));for(;n--;)t.splice(i[n],1)}return M=null,t},A=e.getText=function(t){var e,i="",n=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=A(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[n++];)i+=A(e);return i},k=e.selectors={cacheLength:50,createPseudo:n,match:ht,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(wt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(wt,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return ht.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&dt.test(i)&&(e=C(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(wt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=Y[t+" "];return e||(e=new RegExp("(^|"+it+")"+t+"("+it+"|$)"))&&Y(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var a=e.attr(o,t);return null==a?"!="===i:!i||(a+="","="===i?a===n:"!="===i?a!==n:"^="===i?n&&0===a.indexOf(n):"*="===i?n&&a.indexOf(n)>-1:"$="===i?n&&a.slice(-n.length)===n:"~="===i?(" "+a.replace(rt," ")+" ").indexOf(n)>-1:"|="===i&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,i,n,o){var a="nth"!==t.slice(0,3),r="last"!==t.slice(-4),s="of-type"===e;return 1===n&&0===o?function(t){return!!t.parentNode}:function(e,i,l){var u,c,d,p,h,f,m=a!==r?"nextSibling":"previousSibling",g=e.parentNode,y=s&&e.nodeName.toLowerCase(),v=!l&&!s,b=!1;if(g){if(a){for(;m;){for(p=e;p=p[m];)if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[r?g.firstChild:g.lastChild],r&&v){for(p=g,d=p[j]||(p[j]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),u=c[t]||[],h=u[0]===H&&u[1],b=h&&u[2],p=h&&g.childNodes[h];p=++h&&p&&p[m]||(b=h=0)||f.pop();)if(1===p.nodeType&&++b&&p===e){c[t]=[H,h,b];break}}else if(v&&(p=e,d=p[j]||(p[j]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),u=c[t]||[],h=u[0]===H&&u[1],
  b=h),b===!1)for(;(p=++h&&p&&p[m]||(b=h=0)||f.pop())&&((s?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++b||(v&&(d=p[j]||(p[j]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),c[t]=[H,b]),p!==e)););return b-=o,b===n||b%n===0&&b/n>=0}}},PSEUDO:function(t,i){var o,a=k.pseudos[t]||k.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return a[j]?a(i):a.length>1?(o=[t,t,"",i],k.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,o=a(t,i),r=o.length;r--;)n=tt(t,o[r]),t[n]=!(e[n]=o[r])}):function(t){return a(t,0,o)}):a}},pseudos:{not:n(function(t){var e=[],i=[],o=E(t.replace(st,"$1"));return o[j]?n(function(t,e,i,n){for(var a,r=o(t,null,n,[]),s=t.length;s--;)(a=r[s])&&(t[s]=!(e[s]=a))}):function(t,n,a){return e[0]=t,o(e,null,a,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(wt,xt),function(e){return(e.textContent||e.innerText||A(e)).indexOf(t)>-1}}),lang:n(function(t){return pt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(wt,xt).toLowerCase(),function(e){var i;do if(i=U?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return i=i.toLowerCase(),i===t||0===i.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===L},focus:function(t){return t===F.activeElement&&(!F.hasFocus||F.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!k.pseudos.empty(t)},header:function(t){return mt.test(t.nodeName)},input:function(t){return ft.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,i){return[i<0?i+e:i]}),even:u(function(t,e){for(var i=0;i<e;i+=2)t.push(i);return t}),odd:u(function(t,e){for(var i=1;i<e;i+=2)t.push(i);return t}),lt:u(function(t,e,i){for(var n=i<0?i+e:i;--n>=0;)t.push(n);return t}),gt:u(function(t,e,i){for(var n=i<0?i+e:i;++n<e;)t.push(n);return t})}},k.pseudos.nth=k.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[w]=s(w);for(w in{submit:!0,reset:!0})k.pseudos[w]=l(w);return d.prototype=k.filters=k.pseudos,k.setFilters=new d,C=e.tokenize=function(t,i){var n,o,a,r,s,l,u,c=q[t+" "];if(c)return i?0:c.slice(0);for(s=t,l=[],u=k.preFilter;s;){n&&!(o=lt.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(a=[])),n=!1,(o=ut.exec(s))&&(n=o.shift(),a.push({value:n,type:o[0].replace(st," ")}),s=s.slice(n.length));for(r in k.filter)!(o=ht[r].exec(s))||u[r]&&!(o=u[r](o))||(n=o.shift(),a.push({value:n,type:r,matches:o}),s=s.slice(n.length));if(!n)break}return i?s.length:s?e.error(t):q(t,l).slice(0)},E=e.compile=function(t,e){var i,n=[],o=[],a=W[t+" "];if(!a){for(e||(e=C(t)),i=e.length;i--;)a=v(e[i]),a[j]?n.push(a):o.push(a);a=W(t,b(o,n)),a.selector=t}return a},T=e.select=function(t,e,i,n){var o,a,r,s,l,u="function"==typeof t&&t,d=!n&&C(t=u.selector||t);if(i=i||[],1===d.length){if(a=d[0]=d[0].slice(0),a.length>2&&"ID"===(r=a[0]).type&&x.getById&&9===e.nodeType&&U&&k.relative[a[1].type]){if(e=(k.find.ID(r.matches[0].replace(wt,xt),e)||[])[0],!e)return i;u&&(e=e.parentNode),t=t.slice(a.shift().value.length)}for(o=ht.needsContext.test(t)?0:a.length;o--&&(r=a[o],!k.relative[s=r.type]);)if((l=k.find[s])&&(n=l(r.matches[0].replace(wt,xt),vt.test(a[0].type)&&c(e.parentNode)||e))){if(a.splice(o,1),t=n.length&&p(a),!t)return Z.apply(i,n),i;break}}return(u||E(t,d))(n,e,!U,i,!e||vt.test(t)&&c(e.parentNode)||e),i},x.sortStable=j.split("").sort($).join("")===j,x.detectDuplicates=!!S,I(),x.sortDetached=o(function(t){return 1&t.compareDocumentPosition(F.createElement("div"))}),o(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||a("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),x.attributes&&o(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||a("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),o(function(t){return null==t.getAttribute("disabled")})||a(et,function(t,e,i){var n;if(!i)return t[e]===!0?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);ht.find=vt,ht.expr=vt.selectors,ht.expr[":"]=ht.expr.pseudos,ht.uniqueSort=ht.unique=vt.uniqueSort,ht.text=vt.getText,ht.isXMLDoc=vt.isXML,ht.contains=vt.contains;var bt=function(t,e,i){for(var n=[],o=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&ht(t).is(i))break;n.push(t)}return n},wt=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},xt=ht.expr.match.needsContext,kt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,At=/^.[^:#\[\.,]*$/;ht.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?ht.find.matchesSelector(n,t)?[n]:[]:ht.find.matches(t,ht.grep(e,function(t){return 1===t.nodeType}))},ht.fn.extend({find:function(t){var e,i=[],n=this,o=n.length;if("string"!=typeof t)return this.pushStack(ht(t).filter(function(){for(e=0;e<o;e++)if(ht.contains(n[e],this))return!0}));for(e=0;e<o;e++)ht.find(t,n[e],i);return i=this.pushStack(o>1?ht.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(n(this,t||[],!1))},not:function(t){return this.pushStack(n(this,t||[],!0))},is:function(t){return!!n(this,"string"==typeof t&&xt.test(t)?ht(t):t||[],!1).length}});var _t,Ct=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Et=ht.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||_t,"string"==typeof t){if(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:Ct.exec(t),!n||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof ht?e[0]:e,ht.merge(this,ht.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:nt,!0)),kt.test(n[1])&&ht.isPlainObject(e))for(n in e)ht.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if(o=nt.getElementById(n[2]),o&&o.parentNode){if(o.id!==n[2])return _t.find(t);this.length=1,this[0]=o}return this.context=nt,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):ht.isFunction(t)?"undefined"!=typeof i.ready?i.ready(t):t(ht):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),ht.makeArray(t,this))};Et.prototype=ht.fn,_t=ht(nt);var Tt=/^(?:parents|prev(?:Until|All))/,Dt={children:!0,contents:!0,next:!0,prev:!0};ht.fn.extend({has:function(t){var e,i=ht(t,this),n=i.length;return this.filter(function(){for(e=0;e<n;e++)if(ht.contains(this,i[e]))return!0})},closest:function(t,e){for(var i,n=0,o=this.length,a=[],r=xt.test(t)||"string"!=typeof t?ht(t,e||this.context):0;n<o;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(r?r.index(i)>-1:1===i.nodeType&&ht.find.matchesSelector(i,t))){a.push(i);break}return this.pushStack(a.length>1?ht.uniqueSort(a):a)},index:function(t){return t?"string"==typeof t?ht.inArray(this[0],ht(t)):ht.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(ht.uniqueSort(ht.merge(this.get(),ht(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ht.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return bt(t,"parentNode")},parentsUntil:function(t,e,i){return bt(t,"parentNode",i)},next:function(t){return o(t,"nextSibling")},prev:function(t){return o(t,"previousSibling")},nextAll:function(t){return bt(t,"nextSibling")},prevAll:function(t){return bt(t,"previousSibling")},nextUntil:function(t,e,i){return bt(t,"nextSibling",i)},prevUntil:function(t,e,i){return bt(t,"previousSibling",i)},siblings:function(t){return wt((t.parentNode||{}).firstChild,t)},children:function(t){return wt(t.firstChild)},contents:function(t){return ht.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:ht.merge([],t.childNodes)}},function(t,e){ht.fn[t]=function(i,n){var o=ht.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(o=ht.filter(n,o)),this.length>1&&(Dt[t]||(o=ht.uniqueSort(o)),Tt.test(t)&&(o=o.reverse())),this.pushStack(o)}});var Mt=/\S+/g;ht.Callbacks=function(t){t="string"==typeof t?a(t):ht.extend({},t);var e,i,n,o,r=[],s=[],l=-1,u=function(){for(o=t.once,n=e=!0;s.length;l=-1)for(i=s.shift();++l<r.length;)r[l].apply(i[0],i[1])===!1&&t.stopOnFalse&&(l=r.length,i=!1);t.memory||(i=!1),e=!1,o&&(r=i?[]:"")},c={add:function(){return r&&(i&&!e&&(l=r.length-1,s.push(i)),function e(i){ht.each(i,function(i,n){ht.isFunction(n)?t.unique&&c.has(n)||r.push(n):n&&n.length&&"string"!==ht.type(n)&&e(n)})}(arguments),i&&!e&&u()),this},remove:function(){return ht.each(arguments,function(t,e){for(var i;(i=ht.inArray(e,r,i))>-1;)r.splice(i,1),i<=l&&l--}),this},has:function(t){return t?ht.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=i="",this},disabled:function(){return!r},lock:function(){return o=!0,i||c.disable(),this},locked:function(){return!!o},fireWith:function(t,i){return o||(i=i||[],i=[t,i.slice?i.slice():i],s.push(i),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},ht.extend({Deferred:function(t){var e=[["resolve","done",ht.Callbacks("once memory"),"resolved"],["reject","fail",ht.Callbacks("once memory"),"rejected"],["notify","progress",ht.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var t=arguments;return ht.Deferred(function(i){ht.each(e,function(e,a){var r=ht.isFunction(t[e])&&t[e];o[a[1]](function(){var t=r&&r.apply(this,arguments);t&&ht.isFunction(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[a[0]+"With"](this===n?i.promise():this,r?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?ht.extend(t,n):n}},o={};return n.pipe=n.then,ht.each(e,function(t,a){var r=a[2],s=a[3];n[a[1]]=r.add,s&&r.add(function(){i=s},e[1^t][2].disable,e[2][2].lock),o[a[0]]=function(){return o[a[0]+"With"](this===o?n:this,arguments),this},o[a[0]+"With"]=r.fireWith}),n.promise(o),t&&t.call(o,o),o},when:function(t){var e,i,n,o=0,a=ot.call(arguments),r=a.length,s=1!==r||t&&ht.isFunction(t.promise)?r:0,l=1===s?t:ht.Deferred(),u=function(t,i,n){return function(o){i[t]=this,n[t]=arguments.length>1?ot.call(arguments):o,n===e?l.notifyWith(i,n):--s||l.resolveWith(i,n)}};if(r>1)for(e=new Array(r),i=new Array(r),n=new Array(r);o<r;o++)a[o]&&ht.isFunction(a[o].promise)?a[o].promise().progress(u(o,i,e)).done(u(o,n,a)).fail(l.reject):--s;return s||l.resolveWith(n,a),l.promise()}});var St;ht.fn.ready=function(t){return ht.ready.promise().done(t),this},ht.extend({isReady:!1,readyWait:1,holdReady:function(t){t?ht.readyWait++:ht.ready(!0)},ready:function(t){(t===!0?--ht.readyWait:ht.isReady)||(ht.isReady=!0,t!==!0&&--ht.readyWait>0||(St.resolveWith(nt,[ht]),ht.fn.triggerHandler&&(ht(nt).triggerHandler("ready"),ht(nt).off("ready"))))}}),ht.ready.promise=function(e){if(!St)if(St=ht.Deferred(),"complete"===nt.readyState||"loading"!==nt.readyState&&!nt.documentElement.doScroll)t.setTimeout(ht.ready);else if(nt.addEventListener)nt.addEventListener("DOMContentLoaded",s),t.addEventListener("load",s);else{nt.attachEvent("onreadystatechange",s),t.attachEvent("onload",s);var i=!1;try{i=null==t.frameElement&&nt.documentElement}catch(t){}i&&i.doScroll&&!function e(){if(!ht.isReady){try{i.doScroll("left")}catch(i){return t.setTimeout(e,50)}r(),ht.ready()}}()}return St.promise(e)},ht.ready.promise();var It;for(It in ht(dt))break;dt.ownFirst="0"===It,dt.inlineBlockNeedsLayout=!1,ht(function(){var t,e,i,n;i=nt.getElementsByTagName("body")[0],i&&i.style&&(e=nt.createElement("div"),n=nt.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),"undefined"!=typeof e.style.zoom&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",dt.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(i.style.zoom=1)),i.removeChild(n))}),function(){var t=nt.createElement("div");dt.deleteExpando=!0;try{delete t.test}catch(t){dt.deleteExpando=!1}t=null}();var Ft=function(t){var e=ht.noData[(t.nodeName+" ").toLowerCase()],i=+t.nodeType||1;return(1===i||9===i)&&(!e||e!==!0&&t.getAttribute("classid")===e)},Lt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ut=/([A-Z])/g;ht.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?ht.cache[t[ht.expando]]:t[ht.expando],!!t&&!u(t)},data:function(t,e,i){return c(t,e,i)},removeData:function(t,e){return d(t,e)},_data:function(t,e,i){return c(t,e,i,!0)},_removeData:function(t,e){return d(t,e,!0)}}),ht.fn.extend({data:function(t,e){var i,n,o,a=this[0],r=a&&a.attributes;if(void 0===t){if(this.length&&(o=ht.data(a),1===a.nodeType&&!ht._data(a,"parsedAttrs"))){for(i=r.length;i--;)r[i]&&(n=r[i].name,0===n.indexOf("data-")&&(n=ht.camelCase(n.slice(5)),l(a,n,o[n])));ht._data(a,"parsedAttrs",!0)}return o}return"object"==typeof t?this.each(function(){ht.data(this,t)}):arguments.length>1?this.each(function(){ht.data(this,t,e)}):a?l(a,t,ht.data(a,t)):void 0},removeData:function(t){return this.each(function(){ht.removeData(this,t)})}}),ht.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=ht._data(t,e),i&&(!n||ht.isArray(i)?n=ht._data(t,e,ht.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=ht.queue(t,e),n=i.length,o=i.shift(),a=ht._queueHooks(t,e),r=function(){ht.dequeue(t,e)};"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===e&&i.unshift("inprogress"),delete a.stop,o.call(t,r,a)),!n&&a&&a.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return ht._data(t,i)||ht._data(t,i,{empty:ht.Callbacks("once memory").add(function(){ht._removeData(t,e+"queue"),ht._removeData(t,i)})})}}),ht.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?ht.queue(this[0],t):void 0===e?this:this.each(function(){var i=ht.queue(this,t,e);ht._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&ht.dequeue(this,t)})},dequeue:function(t){return this.each(function(){ht.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,o=ht.Deferred(),a=this,r=this.length,s=function(){--n||o.resolveWith(a,[a])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";r--;)i=ht._data(a[r],t+"queueHooks"),i&&i.empty&&(n++,i.empty.add(s));return s(),o.promise(e)}}),function(){var t;dt.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,i,n;return i=nt.getElementsByTagName("body")[0],i&&i.style?(e=nt.createElement("div"),n=nt.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),"undefined"!=typeof e.style.zoom&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(nt.createElement("div")).style.width="5px",t=3!==e.offsetWidth),i.removeChild(n),t):void 0}}();var Rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ot=new RegExp("^(?:([+-])=|)("+Rt+")([a-z%]*)$","i"),Bt=["Top","Right","Bottom","Left"],Nt=function(t,e){return t=e||t,"none"===ht.css(t,"display")||!ht.contains(t.ownerDocument,t)},jt=function(t,e,i,n,o,a,r){var s=0,l=t.length,u=null==i;if("object"===ht.type(i)){o=!0;for(s in i)jt(t,e,s,i[s],!0,a,r)}else if(void 0!==n&&(o=!0,ht.isFunction(n)||(r=!0),u&&(r?(e.call(t,n),e=null):(u=e,e=function(t,e,i){return u.call(ht(t),i)})),e))for(;s<l;s++)e(t[s],i,r?n:n.call(t[s],s,e(t[s],i)));return o?t:u?e.call(t):l?e(t[0],i):a},zt=/^(?:checkbox|radio)$/i,Ht=/<([\w:-]+)/,Pt=/^$|\/(?:java|ecma)script/i,Yt=/^\s+/,qt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var t=nt.createElement("div"),e=nt.createDocumentFragment(),i=nt.createElement("input");t.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",dt.leadingWhitespace=3===t.firstChild.nodeType,dt.tbody=!t.getElementsByTagName("tbody").length,dt.htmlSerialize=!!t.getElementsByTagName("link").length,dt.html5Clone="<:nav></:nav>"!==nt.createElement("nav").cloneNode(!0).outerHTML,i.type="checkbox",i.checked=!0,e.appendChild(i),dt.appendChecked=i.checked,t.innerHTML="<textarea>x</textarea>",dt.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,e.appendChild(t),i=nt.createElement("input"),i.setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),t.appendChild(i),dt.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,dt.noCloneEvent=!!t.addEventListener,t[ht.expando]=1,dt.attributes=!t.getAttribute(ht.expando)}();var Wt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:dt.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Wt.optgroup=Wt.option,Wt.tbody=Wt.tfoot=Wt.colgroup=Wt.caption=Wt.thead,Wt.th=Wt.td;var $t=/<|&#?\w+;/,Qt=/<tbody/i;!function(){var e,i,n=nt.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})i="on"+e,(dt[e]=i in t)||(n.setAttribute(i,"t"),dt[e]=n.attributes[i].expando===!1);n=null}();var Gt=/^(?:input|select|textarea)$/i,Jt=/^key/,Kt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Vt=/^(?:focusinfocus|focusoutblur)$/,Zt=/^([^.]*)(?:\.(.+)|)/;ht.event={global:{},add:function(t,e,i,n,o){var a,r,s,l,u,c,d,p,h,f,m,g=ht._data(t);if(g){for(i.handler&&(l=i,i=l.handler,o=l.selector),i.guid||(i.guid=ht.guid++),(r=g.events)||(r=g.events={}),(c=g.handle)||(c=g.handle=function(t){return"undefined"==typeof ht||t&&ht.event.triggered===t.type?void 0:ht.event.dispatch.apply(c.elem,arguments)},c.elem=t),e=(e||"").match(Mt)||[""],s=e.length;s--;)a=Zt.exec(e[s])||[],h=m=a[1],f=(a[2]||"").split(".").sort(),h&&(u=ht.event.special[h]||{},h=(o?u.delegateType:u.bindType)||h,u=ht.event.special[h]||{},d=ht.extend({type:h,origType:m,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&ht.expr.match.needsContext.test(o),namespace:f.join(".")},l),(p=r[h])||(p=r[h]=[],p.delegateCount=0,u.setup&&u.setup.call(t,n,f,c)!==!1||(t.addEventListener?t.addEventListener(h,c,!1):t.attachEvent&&t.attachEvent("on"+h,c))),u.add&&(u.add.call(t,d),d.handler.guid||(d.handler.guid=i.guid)),o?p.splice(p.delegateCount++,0,d):p.push(d),ht.event.global[h]=!0);t=null}},remove:function(t,e,i,n,o){var a,r,s,l,u,c,d,p,h,f,m,g=ht.hasData(t)&&ht._data(t);if(g&&(c=g.events)){for(e=(e||"").match(Mt)||[""],u=e.length;u--;)if(s=Zt.exec(e[u])||[],h=m=s[1],f=(s[2]||"").split(".").sort(),h){for(d=ht.event.special[h]||{},h=(n?d.delegateType:d.bindType)||h,p=c[h]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=a=p.length;a--;)r=p[a],!o&&m!==r.origType||i&&i.guid!==r.guid||s&&!s.test(r.namespace)||n&&n!==r.selector&&("**"!==n||!r.selector)||(p.splice(a,1),r.selector&&p.delegateCount--,d.remove&&d.remove.call(t,r));l&&!p.length&&(d.teardown&&d.teardown.call(t,f,g.handle)!==!1||ht.removeEvent(t,h,g.handle),delete c[h])}else for(h in c)ht.event.remove(t,h+e[u],i,n,!0);ht.isEmptyObject(c)&&(delete g.handle,ht._removeData(t,"events"))}},trigger:function(e,i,n,o){var a,r,s,l,u,c,d,p=[n||nt],h=ct.call(e,"type")?e.type:e,f=ct.call(e,"namespace")?e.namespace.split("."):[];if(s=c=n=n||nt,3!==n.nodeType&&8!==n.nodeType&&!Vt.test(h+ht.event.triggered)&&(h.indexOf(".")>-1&&(f=h.split("."),h=f.shift(),f.sort()),r=h.indexOf(":")<0&&"on"+h,e=e[ht.expando]?e:new ht.Event(h,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:ht.makeArray(i,[e]),u=ht.event.special[h]||{},o||!u.trigger||u.trigger.apply(n,i)!==!1)){if(!o&&!u.noBubble&&!ht.isWindow(n)){for(l=u.delegateType||h,Vt.test(l+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(n.ownerDocument||nt)&&p.push(c.defaultView||c.parentWindow||t)}for(d=0;(s=p[d++])&&!e.isPropagationStopped();)e.type=d>1?l:u.bindType||h,a=(ht._data(s,"events")||{})[e.type]&&ht._data(s,"handle"),a&&a.apply(s,i),a=r&&s[r],a&&a.apply&&Ft(s)&&(e.result=a.apply(s,i),e.result===!1&&e.preventDefault());if(e.type=h,!o&&!e.isDefaultPrevented()&&(!u._default||u._default.apply(p.pop(),i)===!1)&&Ft(n)&&r&&n[h]&&!ht.isWindow(n)){c=n[r],c&&(n[r]=null),ht.event.triggered=h;try{n[h]()}catch(t){}ht.event.triggered=void 0,c&&(n[r]=c)}return e.result}},dispatch:function(t){t=ht.event.fix(t);var e,i,n,o,a,r=[],s=ot.call(arguments),l=(ht._data(this,"events")||{})[t.type]||[],u=ht.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!u.preDispatch||u.preDispatch.call(this,t)!==!1){for(r=ht.event.handlers.call(this,t,l),e=0;(o=r[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,i=0;(a=o.handlers[i++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(a.namespace)||(t.handleObj=a,t.data=a.data,n=((ht.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,s),void 0!==n&&(t.result=n)===!1&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,o,a,r=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==t.type)){for(n=[],i=0;i<s;i++)a=e[i],o=a.selector+" ",void 0===n[o]&&(n[o]=a.needsContext?ht(o,this).index(l)>-1:ht.find(o,this,null,[l]).length),n[o]&&n.push(a);n.length&&r.push({elem:l,handlers:n})}return s<e.length&&r.push({elem:this,handlers:e.slice(s)}),r},fix:function(t){if(t[ht.expando])return t;var e,i,n,o=t.type,a=t,r=this.fixHooks[o];for(r||(this.fixHooks[o]=r=Kt.test(o)?this.mouseHooks:Jt.test(o)?this.keyHooks:{}),n=r.props?this.props.concat(r.props):this.props,t=new ht.Event(a),e=n.length;e--;)i=n[e],t[i]=a[i];return t.target||(t.target=a.srcElement||nt),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,r.filter?r.filter(t,a):t},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,o,a=e.button,r=e.fromElement;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||nt,o=n.documentElement,i=n.body,t.pageX=e.clientX+(o&&o.scrollLeft||i&&i.scrollLeft||0)-(o&&o.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(o&&o.scrollTop||i&&i.scrollTop||0)-(o&&o.clientTop||i&&i.clientTop||0)),!t.relatedTarget&&r&&(t.relatedTarget=r===t.target?e.toElement:r),t.which||void 0===a||(t.which=1&a?1:2&a?3:4&a?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==w()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===w()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(ht.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(t){return ht.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i){var n=ht.extend(new ht.Event,i,{type:t,isSimulated:!0});ht.event.trigger(n,null,e),n.isDefaultPrevented()&&i.preventDefault()}},ht.removeEvent=nt.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i)}:function(t,e,i){var n="on"+e;t.detachEvent&&("undefined"==typeof t[n]&&(t[n]=null),t.detachEvent(n,i))},ht.Event=function(t,e){return this instanceof ht.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?v:b):this.type=t,e&&ht.extend(this,e),this.timeStamp=t&&t.timeStamp||ht.now(),void(this[ht.expando]=!0)):new ht.Event(t,e)},ht.Event.prototype={constructor:ht.Event,isDefaultPrevented:b,isPropagationStopped:b,isImmediatePropagationStopped:b,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=v,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=v,t&&!this.isSimulated&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=v,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},ht.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){ht.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,o=t.relatedTarget,a=t.handleObj;return o&&(o===n||ht.contains(n,o))||(t.type=a.origType,i=a.handler.apply(this,arguments),t.type=e),i}}}),dt.submit||(ht.event.special.submit={setup:function(){return!ht.nodeName(this,"form")&&void ht.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,i=ht.nodeName(e,"input")||ht.nodeName(e,"button")?ht.prop(e,"form"):void 0;i&&!ht._data(i,"submit")&&(ht.event.add(i,"submit._submit",function(t){t._submitBubble=!0}),ht._data(i,"submit",!0))})},postDispatch:function(t){t._submitBubble&&(delete t._submitBubble,this.parentNode&&!t.isTrigger&&ht.event.simulate("submit",this.parentNode,t))},teardown:function(){return!ht.nodeName(this,"form")&&void ht.event.remove(this,"._submit")}}),dt.change||(ht.event.special.change={setup:function(){return Gt.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(ht.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._justChanged=!0)}),ht.event.add(this,"click._change",function(t){this._justChanged&&!t.isTrigger&&(this._justChanged=!1),ht.event.simulate("change",this,t)})),!1):void ht.event.add(this,"beforeactivate._change",function(t){var e=t.target;Gt.test(e.nodeName)&&!ht._data(e,"change")&&(ht.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||ht.event.simulate("change",this.parentNode,t)}),ht._data(e,"change",!0))})},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return ht.event.remove(this,"._change"),!Gt.test(this.nodeName)}}),dt.focusin||ht.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){ht.event.simulate(e,t.target,ht.event.fix(t))};ht.event.special[e]={setup:function(){var n=this.ownerDocument||this,o=ht._data(n,e);o||n.addEventListener(t,i,!0),ht._data(n,e,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this,o=ht._data(n,e)-1;o?ht._data(n,e,o):(n.removeEventListener(t,i,!0),ht._removeData(n,e))}}}),ht.fn.extend({on:function(t,e,i,n){return x(this,t,e,i,n)},one:function(t,e,i,n){return x(this,t,e,i,n,1)},off:function(t,e,i){var n,o;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,ht(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(o in t)this.off(o,e,t[o]);return this}return e!==!1&&"function"!=typeof e||(i=e,e=void 0),i===!1&&(i=b),this.each(function(){ht.event.remove(this,t,i,e)})},trigger:function(t,e){return this.each(function(){ht.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];if(i)return ht.event.trigger(t,e,i,!0)}});var Xt=/ jQuery\d+="(?:null|\d+)"/g,te=new RegExp("<(?:"+qt+")[\\s/>]","i"),ee=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ie=/<script|<style|<link/i,ne=/checked\s*(?:[^=]|=\s*.checked.)/i,oe=/^true\/(.*)/,ae=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,re=h(nt),se=re.appendChild(nt.createElement("div"));ht.extend({htmlPrefilter:function(t){return t.replace(ee,"<$1></$2>")},clone:function(t,e,i){var n,o,a,r,s,l=ht.contains(t.ownerDocument,t);if(dt.html5Clone||ht.isXMLDoc(t)||!te.test("<"+t.nodeName+">")?a=t.cloneNode(!0):(se.innerHTML=t.outerHTML,se.removeChild(a=se.firstChild)),!(dt.noCloneEvent&&dt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||ht.isXMLDoc(t)))for(n=f(a),s=f(t),r=0;null!=(o=s[r]);++r)n[r]&&E(o,n[r]);if(e)if(i)for(s=s||f(t),n=n||f(a),r=0;null!=(o=s[r]);r++)C(o,n[r]);else C(t,a);return n=f(a,"script"),n.length>0&&m(n,!l&&f(t,"script")),n=s=o=null,a},cleanData:function(t,e){for(var i,n,o,a,r=0,s=ht.expando,l=ht.cache,u=dt.attributes,c=ht.event.special;null!=(i=t[r]);r++)if((e||Ft(i))&&(o=i[s],a=o&&l[o])){if(a.events)for(n in a.events)c[n]?ht.event.remove(i,n):ht.removeEvent(i,n,a.handle);l[o]&&(delete l[o],u||"undefined"==typeof i.removeAttribute?i[s]=void 0:i.removeAttribute(s),it.push(o))}}}),ht.fn.extend({domManip:T,detach:function(t){return D(this,t,!0)},remove:function(t){return D(this,t)},text:function(t){return jt(this,function(t){return void 0===t?ht.text(this):this.empty().append((this[0]&&this[0].ownerDocument||nt).createTextNode(t))},null,t,arguments.length)},append:function(){return T(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=k(this,t);e.appendChild(t)}})},prepend:function(){return T(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=k(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return T(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return T(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&ht.cleanData(f(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&ht.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return ht.clone(this,t,e)})},html:function(t){return jt(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Xt,""):void 0;if("string"==typeof t&&!ie.test(t)&&(dt.htmlSerialize||!te.test(t))&&(dt.leadingWhitespace||!Yt.test(t))&&!Wt[(Ht.exec(t)||["",""])[1].toLowerCase()]){t=ht.htmlPrefilter(t);try{for(;i<n;i++)e=this[i]||{},1===e.nodeType&&(ht.cleanData(f(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return T(this,arguments,function(e){var i=this.parentNode;ht.inArray(this,t)<0&&(ht.cleanData(f(this)),i&&i.replaceChild(e,this))},t)}}),ht.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){ht.fn[t]=function(t){for(var i,n=0,o=[],a=ht(t),r=a.length-1;n<=r;n++)i=n===r?this:this.clone(!0),
  ht(a[n])[e](i),rt.apply(o,i.get());return this.pushStack(o)}});var le,ue={HTML:"block",BODY:"block"},ce=/^margin/,de=new RegExp("^("+Rt+")(?!px)[a-z%]+$","i"),pe=function(t,e,i,n){var o,a,r={};for(a in e)r[a]=t.style[a],t.style[a]=e[a];o=i.apply(t,n||[]);for(a in e)t.style[a]=r[a];return o},he=nt.documentElement;!function(){function e(){var e,c,d=nt.documentElement;d.appendChild(l),u.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",i=o=s=!1,n=r=!0,t.getComputedStyle&&(c=t.getComputedStyle(u),i="1%"!==(c||{}).top,s="2px"===(c||{}).marginLeft,o="4px"===(c||{width:"4px"}).width,u.style.marginRight="50%",n="4px"===(c||{marginRight:"4px"}).marginRight,e=u.appendChild(nt.createElement("div")),e.style.cssText=u.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",u.style.width="1px",r=!parseFloat((t.getComputedStyle(e)||{}).marginRight),u.removeChild(e)),u.style.display="none",a=0===u.getClientRects().length,a&&(u.style.display="",u.innerHTML="<table><tr><td></td><td>t</td></tr></table>",e=u.getElementsByTagName("td"),e[0].style.cssText="margin:0;border:0;padding:0;display:none",a=0===e[0].offsetHeight,a&&(e[0].style.display="",e[1].style.display="none",a=0===e[0].offsetHeight)),d.removeChild(l)}var i,n,o,a,r,s,l=nt.createElement("div"),u=nt.createElement("div");u.style&&(u.style.cssText="float:left;opacity:.5",dt.opacity="0.5"===u.style.opacity,dt.cssFloat=!!u.style.cssFloat,u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",dt.clearCloneStyle="content-box"===u.style.backgroundClip,l=nt.createElement("div"),l.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",u.innerHTML="",l.appendChild(u),dt.boxSizing=""===u.style.boxSizing||""===u.style.MozBoxSizing||""===u.style.WebkitBoxSizing,ht.extend(dt,{reliableHiddenOffsets:function(){return null==i&&e(),a},boxSizingReliable:function(){return null==i&&e(),o},pixelMarginRight:function(){return null==i&&e(),n},pixelPosition:function(){return null==i&&e(),i},reliableMarginRight:function(){return null==i&&e(),r},reliableMarginLeft:function(){return null==i&&e(),s}}))}();var fe,me,ge=/^(top|right|bottom|left)$/;t.getComputedStyle?(fe=function(e){var i=e.ownerDocument.defaultView;return i&&i.opener||(i=t),i.getComputedStyle(e)},me=function(t,e,i){var n,o,a,r,s=t.style;return i=i||fe(t),r=i?i.getPropertyValue(e)||i[e]:void 0,""!==r&&void 0!==r||ht.contains(t.ownerDocument,t)||(r=ht.style(t,e)),i&&!dt.pixelMarginRight()&&de.test(r)&&ce.test(e)&&(n=s.width,o=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=r,r=i.width,s.width=n,s.minWidth=o,s.maxWidth=a),void 0===r?r:r+""}):he.currentStyle&&(fe=function(t){return t.currentStyle},me=function(t,e,i){var n,o,a,r,s=t.style;return i=i||fe(t),r=i?i[e]:void 0,null==r&&s&&s[e]&&(r=s[e]),de.test(r)&&!ge.test(e)&&(n=s.left,o=t.runtimeStyle,a=o&&o.left,a&&(o.left=t.currentStyle.left),s.left="fontSize"===e?"1em":r,r=s.pixelLeft+"px",s.left=n,a&&(o.left=a)),void 0===r?r:r+""||"auto"});var ye=/alpha\([^)]*\)/i,ve=/opacity\s*=\s*([^)]*)/i,be=/^(none|table(?!-c[ea]).+)/,we=new RegExp("^("+Rt+")(.*)$","i"),xe={position:"absolute",visibility:"hidden",display:"block"},ke={letterSpacing:"0",fontWeight:"400"},Ae=["Webkit","O","Moz","ms"],_e=nt.createElement("div").style;ht.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=me(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:dt.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,a,r,s=ht.camelCase(e),l=t.style;if(e=ht.cssProps[s]||(ht.cssProps[s]=F(s)||s),r=ht.cssHooks[e]||ht.cssHooks[s],void 0===i)return r&&"get"in r&&void 0!==(o=r.get(t,!1,n))?o:l[e];if(a=typeof i,"string"===a&&(o=Ot.exec(i))&&o[1]&&(i=p(t,e,o),a="number"),null!=i&&i===i&&("number"===a&&(i+=o&&o[3]||(ht.cssNumber[s]?"":"px")),dt.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),!(r&&"set"in r&&void 0===(i=r.set(t,i,n)))))try{l[e]=i}catch(t){}}},css:function(t,e,i,n){var o,a,r,s=ht.camelCase(e);return e=ht.cssProps[s]||(ht.cssProps[s]=F(s)||s),r=ht.cssHooks[e]||ht.cssHooks[s],r&&"get"in r&&(a=r.get(t,!0,i)),void 0===a&&(a=me(t,e,n)),"normal"===a&&e in ke&&(a=ke[e]),""===i||i?(o=parseFloat(a),i===!0||isFinite(o)?o||0:a):a}}),ht.each(["height","width"],function(t,e){ht.cssHooks[e]={get:function(t,i,n){if(i)return be.test(ht.css(t,"display"))&&0===t.offsetWidth?pe(t,xe,function(){return O(t,e,n)}):O(t,e,n)},set:function(t,i,n){var o=n&&fe(t);return U(t,i,n?R(t,e,n,dt.boxSizing&&"border-box"===ht.css(t,"boxSizing",!1,o),o):0)}}}),dt.opacity||(ht.cssHooks.opacity={get:function(t,e){return ve.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,o=ht.isNumeric(e)?"alpha(opacity="+100*e+")":"",a=n&&n.filter||i.filter||"";i.zoom=1,(e>=1||""===e)&&""===ht.trim(a.replace(ye,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=ye.test(a)?a.replace(ye,o):a+" "+o)}}),ht.cssHooks.marginRight=I(dt.reliableMarginRight,function(t,e){if(e)return pe(t,{display:"inline-block"},me,[t,"marginRight"])}),ht.cssHooks.marginLeft=I(dt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(me(t,"marginLeft"))||(ht.contains(t.ownerDocument,t)?t.getBoundingClientRect().left-pe(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}):0))+"px"}),ht.each({margin:"",padding:"",border:"Width"},function(t,e){ht.cssHooks[t+e]={expand:function(i){for(var n=0,o={},a="string"==typeof i?i.split(" "):[i];n<4;n++)o[t+Bt[n]+e]=a[n]||a[n-2]||a[0];return o}},ce.test(t)||(ht.cssHooks[t+e].set=U)}),ht.fn.extend({css:function(t,e){return jt(this,function(t,e,i){var n,o,a={},r=0;if(ht.isArray(e)){for(n=fe(t),o=e.length;r<o;r++)a[e[r]]=ht.css(t,e[r],!1,n);return a}return void 0!==i?ht.style(t,e,i):ht.css(t,e)},t,e,arguments.length>1)},show:function(){return L(this,!0)},hide:function(){return L(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Nt(this)?ht(this).show():ht(this).hide()})}}),ht.Tween=B,B.prototype={constructor:B,init:function(t,e,i,n,o,a){this.elem=t,this.prop=i,this.easing=o||ht.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=a||(ht.cssNumber[i]?"":"px")},cur:function(){var t=B.propHooks[this.prop];return t&&t.get?t.get(this):B.propHooks._default.get(this)},run:function(t){var e,i=B.propHooks[this.prop];return this.options.duration?this.pos=e=ht.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):B.propHooks._default.set(this),this}},B.prototype.init.prototype=B.prototype,B.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=ht.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){ht.fx.step[t.prop]?ht.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[ht.cssProps[t.prop]]&&!ht.cssHooks[t.prop]?t.elem[t.prop]=t.now:ht.style(t.elem,t.prop,t.now+t.unit)}}},B.propHooks.scrollTop=B.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},ht.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},ht.fx=B.prototype.init,ht.fx.step={};var Ce,Ee,Te=/^(?:toggle|show|hide)$/,De=/queueHooks$/;ht.Animation=ht.extend(Y,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return p(i.elem,t,Ot.exec(e),i),i}]},tweener:function(t,e){ht.isFunction(t)?(e=t,t=["*"]):t=t.match(Mt);for(var i,n=0,o=t.length;n<o;n++)i=t[n],Y.tweeners[i]=Y.tweeners[i]||[],Y.tweeners[i].unshift(e)},prefilters:[H],prefilter:function(t,e){e?Y.prefilters.unshift(t):Y.prefilters.push(t)}}),ht.speed=function(t,e,i){var n=t&&"object"==typeof t?ht.extend({},t):{complete:i||!i&&e||ht.isFunction(t)&&t,duration:t,easing:i&&e||e&&!ht.isFunction(e)&&e};return n.duration=ht.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in ht.fx.speeds?ht.fx.speeds[n.duration]:ht.fx.speeds._default,null!=n.queue&&n.queue!==!0||(n.queue="fx"),n.old=n.complete,n.complete=function(){ht.isFunction(n.old)&&n.old.call(this),n.queue&&ht.dequeue(this,n.queue)},n},ht.fn.extend({fadeTo:function(t,e,i,n){return this.filter(Nt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var o=ht.isEmptyObject(t),a=ht.speed(e,i,n),r=function(){var e=Y(this,ht.extend({},t),a);(o||ht._data(this,"finish"))&&e.stop(!0)};return r.finish=r,o||a.queue===!1?this.each(r):this.queue(a.queue,r)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,o=null!=t&&t+"queueHooks",a=ht.timers,r=ht._data(this);if(o)r[o]&&r[o].stop&&n(r[o]);else for(o in r)r[o]&&r[o].stop&&De.test(o)&&n(r[o]);for(o=a.length;o--;)a[o].elem!==this||null!=t&&a[o].queue!==t||(a[o].anim.stop(i),e=!1,a.splice(o,1));!e&&i||ht.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,i=ht._data(this),n=i[t+"queue"],o=i[t+"queueHooks"],a=ht.timers,r=n?n.length:0;for(i.finish=!0,ht.queue(this,t,[]),o&&o.stop&&o.stop.call(this,!0),e=a.length;e--;)a[e].elem===this&&a[e].queue===t&&(a[e].anim.stop(!0),a.splice(e,1));for(e=0;e<r;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),ht.each(["toggle","show","hide"],function(t,e){var i=ht.fn[e];ht.fn[e]=function(t,n,o){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(j(e,!0),t,n,o)}}),ht.each({slideDown:j("show"),slideUp:j("hide"),slideToggle:j("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){ht.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),ht.timers=[],ht.fx.tick=function(){var t,e=ht.timers,i=0;for(Ce=ht.now();i<e.length;i++)t=e[i],t()||e[i]!==t||e.splice(i--,1);e.length||ht.fx.stop(),Ce=void 0},ht.fx.timer=function(t){ht.timers.push(t),t()?ht.fx.start():ht.timers.pop()},ht.fx.interval=13,ht.fx.start=function(){Ee||(Ee=t.setInterval(ht.fx.tick,ht.fx.interval))},ht.fx.stop=function(){t.clearInterval(Ee),Ee=null},ht.fx.speeds={slow:600,fast:200,_default:400},ht.fn.delay=function(e,i){return e=ht.fx?ht.fx.speeds[e]||e:e,i=i||"fx",this.queue(i,function(i,n){var o=t.setTimeout(i,e);n.stop=function(){t.clearTimeout(o)}})},function(){var t,e=nt.createElement("input"),i=nt.createElement("div"),n=nt.createElement("select"),o=n.appendChild(nt.createElement("option"));i=nt.createElement("div"),i.setAttribute("className","t"),i.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",t=i.getElementsByTagName("a")[0],e.setAttribute("type","checkbox"),i.appendChild(e),t=i.getElementsByTagName("a")[0],t.style.cssText="top:1px",dt.getSetAttribute="t"!==i.className,dt.style=/top/.test(t.getAttribute("style")),dt.hrefNormalized="/a"===t.getAttribute("href"),dt.checkOn=!!e.value,dt.optSelected=o.selected,dt.enctype=!!nt.createElement("form").enctype,n.disabled=!0,dt.optDisabled=!o.disabled,e=nt.createElement("input"),e.setAttribute("value",""),dt.input=""===e.getAttribute("value"),e.value="t",e.setAttribute("type","radio"),dt.radioValue="t"===e.value}();var Me=/\r/g,Se=/[\x20\t\r\n\f]+/g;ht.fn.extend({val:function(t){var e,i,n,o=this[0];return arguments.length?(n=ht.isFunction(t),this.each(function(i){var o;1===this.nodeType&&(o=n?t.call(this,i,ht(this).val()):t,null==o?o="":"number"==typeof o?o+="":ht.isArray(o)&&(o=ht.map(o,function(t){return null==t?"":t+""})),e=ht.valHooks[this.type]||ht.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,o,"value")||(this.value=o))})):o?(e=ht.valHooks[o.type]||ht.valHooks[o.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(i=e.get(o,"value"))?i:(i=o.value,"string"==typeof i?i.replace(Me,""):null==i?"":i)):void 0}}),ht.extend({valHooks:{option:{get:function(t){var e=ht.find.attr(t,"value");return null!=e?e:ht.trim(ht.text(t)).replace(Se," ")}},select:{get:function(t){for(var e,i,n=t.options,o=t.selectedIndex,a="select-one"===t.type||o<0,r=a?null:[],s=a?o+1:n.length,l=o<0?s:a?o:0;l<s;l++)if(i=n[l],(i.selected||l===o)&&(dt.optDisabled?!i.disabled:null===i.getAttribute("disabled"))&&(!i.parentNode.disabled||!ht.nodeName(i.parentNode,"optgroup"))){if(e=ht(i).val(),a)return e;r.push(e)}return r},set:function(t,e){for(var i,n,o=t.options,a=ht.makeArray(e),r=o.length;r--;)if(n=o[r],ht.inArray(ht.valHooks.option.get(n),a)>-1)try{n.selected=i=!0}catch(t){n.scrollHeight}else n.selected=!1;return i||(t.selectedIndex=-1),o}}}}),ht.each(["radio","checkbox"],function(){ht.valHooks[this]={set:function(t,e){if(ht.isArray(e))return t.checked=ht.inArray(ht(t).val(),e)>-1}},dt.checkOn||(ht.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ie,Fe,Le=ht.expr.attrHandle,Ue=/^(?:checked|selected)$/i,Re=dt.getSetAttribute,Oe=dt.input;ht.fn.extend({attr:function(t,e){return jt(this,ht.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){ht.removeAttr(this,t)})}}),ht.extend({attr:function(t,e,i){var n,o,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"==typeof t.getAttribute?ht.prop(t,e,i):(1===a&&ht.isXMLDoc(t)||(e=e.toLowerCase(),o=ht.attrHooks[e]||(ht.expr.match.bool.test(e)?Fe:Ie)),void 0!==i?null===i?void ht.removeAttr(t,e):o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:(t.setAttribute(e,i+""),i):o&&"get"in o&&null!==(n=o.get(t,e))?n:(n=ht.find.attr(t,e),null==n?void 0:n))},attrHooks:{type:{set:function(t,e){if(!dt.radioValue&&"radio"===e&&ht.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n,o=0,a=e&&e.match(Mt);if(a&&1===t.nodeType)for(;i=a[o++];)n=ht.propFix[i]||i,ht.expr.match.bool.test(i)?Oe&&Re||!Ue.test(i)?t[n]=!1:t[ht.camelCase("default-"+i)]=t[n]=!1:ht.attr(t,i,""),t.removeAttribute(Re?i:n)}}),Fe={set:function(t,e,i){return e===!1?ht.removeAttr(t,i):Oe&&Re||!Ue.test(i)?t.setAttribute(!Re&&ht.propFix[i]||i,i):t[ht.camelCase("default-"+i)]=t[i]=!0,i}},ht.each(ht.expr.match.bool.source.match(/\w+/g),function(t,e){var i=Le[e]||ht.find.attr;Oe&&Re||!Ue.test(e)?Le[e]=function(t,e,n){var o,a;return n||(a=Le[e],Le[e]=o,o=null!=i(t,e,n)?e.toLowerCase():null,Le[e]=a),o}:Le[e]=function(t,e,i){if(!i)return t[ht.camelCase("default-"+e)]?e.toLowerCase():null}}),Oe&&Re||(ht.attrHooks.value={set:function(t,e,i){return ht.nodeName(t,"input")?void(t.defaultValue=e):Ie&&Ie.set(t,e,i)}}),Re||(Ie={set:function(t,e,i){var n=t.getAttributeNode(i);if(n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i))return e}},Le.id=Le.name=Le.coords=function(t,e,i){var n;if(!i)return(n=t.getAttributeNode(e))&&""!==n.value?n.value:null},ht.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);if(i&&i.specified)return i.value},set:Ie.set},ht.attrHooks.contenteditable={set:function(t,e,i){Ie.set(t,""!==e&&e,i)}},ht.each(["width","height"],function(t,e){ht.attrHooks[e]={set:function(t,i){if(""===i)return t.setAttribute(e,"auto"),i}}})),dt.style||(ht.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var Be=/^(?:input|select|textarea|button|object)$/i,Ne=/^(?:a|area)$/i;ht.fn.extend({prop:function(t,e){return jt(this,ht.prop,t,e,arguments.length>1)},removeProp:function(t){return t=ht.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(t){}})}}),ht.extend({prop:function(t,e,i){var n,o,a=t.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&ht.isXMLDoc(t)||(e=ht.propFix[e]||e,o=ht.propHooks[e]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(t,i,e))?n:t[e]=i:o&&"get"in o&&null!==(n=o.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=ht.find.attr(t,"tabindex");return e?parseInt(e,10):Be.test(t.nodeName)||Ne.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),dt.hrefNormalized||ht.each(["href","src"],function(t,e){ht.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),dt.optSelected||(ht.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),ht.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ht.propFix[this.toLowerCase()]=this}),dt.enctype||(ht.propFix.enctype="encoding");var je=/[\t\r\n\f]/g;ht.fn.extend({addClass:function(t){var e,i,n,o,a,r,s,l=0;if(ht.isFunction(t))return this.each(function(e){ht(this).addClass(t.call(this,e,q(this)))});if("string"==typeof t&&t)for(e=t.match(Mt)||[];i=this[l++];)if(o=q(i),n=1===i.nodeType&&(" "+o+" ").replace(je," ")){for(r=0;a=e[r++];)n.indexOf(" "+a+" ")<0&&(n+=a+" ");s=ht.trim(n),o!==s&&ht.attr(i,"class",s)}return this},removeClass:function(t){var e,i,n,o,a,r,s,l=0;if(ht.isFunction(t))return this.each(function(e){ht(this).removeClass(t.call(this,e,q(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(Mt)||[];i=this[l++];)if(o=q(i),n=1===i.nodeType&&(" "+o+" ").replace(je," ")){for(r=0;a=e[r++];)for(;n.indexOf(" "+a+" ")>-1;)n=n.replace(" "+a+" "," ");s=ht.trim(n),o!==s&&ht.attr(i,"class",s)}return this},toggleClass:function(t,e){var i=typeof t;return"boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):ht.isFunction(t)?this.each(function(i){ht(this).toggleClass(t.call(this,i,q(this),e),e)}):this.each(function(){var e,n,o,a;if("string"===i)for(n=0,o=ht(this),a=t.match(Mt)||[];e=a[n++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==i||(e=q(this),e&&ht._data(this,"__className__",e),ht.attr(this,"class",e||t===!1?"":ht._data(this,"__className__")||""))})},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+q(i)+" ").replace(je," ").indexOf(e)>-1)return!0;return!1}}),ht.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){ht.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),ht.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}});var ze=t.location,He=ht.now(),Pe=/\?/,Ye=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ht.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var i,n=null,o=ht.trim(e+"");return o&&!ht.trim(o.replace(Ye,function(t,e,o,a){return i&&e&&(n=0),0===n?t:(i=o||e,n+=!a-!o,"")}))?Function("return "+o)():ht.error("Invalid JSON: "+e)},ht.parseXML=function(e){var i,n;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(n=new t.DOMParser,i=n.parseFromString(e,"text/xml")):(i=new t.ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(e))}catch(t){i=void 0}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||ht.error("Invalid XML: "+e),i};var qe=/#.*$/,We=/([?&])_=[^&]*/,$e=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Qe=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ge=/^(?:GET|HEAD)$/,Je=/^\/\//,Ke=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ve={},Ze={},Xe="*/".concat("*"),ti=ze.href,ei=Ke.exec(ti.toLowerCase())||[];ht.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ti,type:"GET",isLocal:Qe.test(ei[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ht.parseJSON,"text xml":ht.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Q(Q(t,ht.ajaxSettings),e):Q(ht.ajaxSettings,t)},ajaxPrefilter:W(Ve),ajaxTransport:W(Ze),ajax:function(e,i){function n(e,i,n,o){var a,d,v,b,x,A=i;2!==w&&(w=2,l&&t.clearTimeout(l),c=void 0,s=o||"",k.readyState=e>0?4:0,a=e>=200&&e<300||304===e,n&&(b=G(p,k,n)),b=J(p,b,k,a),a?(p.ifModified&&(x=k.getResponseHeader("Last-Modified"),x&&(ht.lastModified[r]=x),x=k.getResponseHeader("etag"),x&&(ht.etag[r]=x)),204===e||"HEAD"===p.type?A="nocontent":304===e?A="notmodified":(A=b.state,d=b.data,v=b.error,a=!v)):(v=A,!e&&A||(A="error",e<0&&(e=0))),k.status=e,k.statusText=(i||A)+"",a?m.resolveWith(h,[d,A,k]):m.rejectWith(h,[k,A,v]),k.statusCode(y),y=void 0,u&&f.trigger(a?"ajaxSuccess":"ajaxError",[k,p,a?d:v]),g.fireWith(h,[k,A]),u&&(f.trigger("ajaxComplete",[k,p]),--ht.active||ht.event.trigger("ajaxStop")))}"object"==typeof e&&(i=e,e=void 0),i=i||{};var o,a,r,s,l,u,c,d,p=ht.ajaxSetup({},i),h=p.context||p,f=p.context&&(h.nodeType||h.jquery)?ht(h):ht.event,m=ht.Deferred(),g=ht.Callbacks("once memory"),y=p.statusCode||{},v={},b={},w=0,x="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(2===w){if(!d)for(d={};e=$e.exec(s);)d[e[1].toLowerCase()]=e[2];e=d[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===w?s:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return w||(t=b[i]=b[i]||t,v[t]=e),this},overrideMimeType:function(t){return w||(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(w<2)for(e in t)y[e]=[y[e],t[e]];else k.always(t[k.status]);return this},abort:function(t){var e=t||x;return c&&c.abort(e),n(0,e),this}};if(m.promise(k).complete=g.add,k.success=k.done,k.error=k.fail,p.url=((e||p.url||ti)+"").replace(qe,"").replace(Je,ei[1]+"//"),p.type=i.method||i.type||p.method||p.type,p.dataTypes=ht.trim(p.dataType||"*").toLowerCase().match(Mt)||[""],null==p.crossDomain&&(o=Ke.exec(p.url.toLowerCase()),p.crossDomain=!(!o||o[1]===ei[1]&&o[2]===ei[2]&&(o[3]||("http:"===o[1]?"80":"443"))===(ei[3]||("http:"===ei[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=ht.param(p.data,p.traditional)),$(Ve,p,i,k),2===w)return k;u=ht.event&&p.global,u&&0===ht.active++&&ht.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Ge.test(p.type),r=p.url,p.hasContent||(p.data&&(r=p.url+=(Pe.test(r)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=We.test(r)?r.replace(We,"$1_="+He++):r+(Pe.test(r)?"&":"?")+"_="+He++)),p.ifModified&&(ht.lastModified[r]&&k.setRequestHeader("If-Modified-Since",ht.lastModified[r]),ht.etag[r]&&k.setRequestHeader("If-None-Match",ht.etag[r])),(p.data&&p.hasContent&&p.contentType!==!1||i.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Xe+"; q=0.01":""):p.accepts["*"]);for(a in p.headers)k.setRequestHeader(a,p.headers[a]);if(p.beforeSend&&(p.beforeSend.call(h,k,p)===!1||2===w))return k.abort();x="abort";for(a in{success:1,error:1,complete:1})k[a](p[a]);if(c=$(Ze,p,i,k)){if(k.readyState=1,u&&f.trigger("ajaxSend",[k,p]),2===w)return k;p.async&&p.timeout>0&&(l=t.setTimeout(function(){k.abort("timeout")},p.timeout));try{w=1,c.send(v,n)}catch(t){if(!(w<2))throw t;n(-1,t)}}else n(-1,"No Transport");return k},getJSON:function(t,e,i){return ht.get(t,e,i,"json")},getScript:function(t,e){return ht.get(t,void 0,e,"script")}}),ht.each(["get","post"],function(t,e){ht[e]=function(t,i,n,o){return ht.isFunction(i)&&(o=o||n,n=i,i=void 0),ht.ajax(ht.extend({url:t,type:e,dataType:o,data:i,success:n},ht.isPlainObject(t)&&t))}}),ht._evalUrl=function(t){return ht.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},ht.fn.extend({wrapAll:function(t){if(ht.isFunction(t))return this.each(function(e){ht(this).wrapAll(t.call(this,e))});if(this[0]){var e=ht(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return ht.isFunction(t)?this.each(function(e){ht(this).wrapInner(t.call(this,e))}):this.each(function(){var e=ht(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=ht.isFunction(t);return this.each(function(i){ht(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){ht.nodeName(this,"body")||ht(this).replaceWith(this.childNodes)}).end()}}),ht.expr.filters.hidden=function(t){return dt.reliableHiddenOffsets()?t.offsetWidth<=0&&t.offsetHeight<=0&&!t.getClientRects().length:V(t)},ht.expr.filters.visible=function(t){return!ht.expr.filters.hidden(t)};var ii=/%20/g,ni=/\[\]$/,oi=/\r?\n/g,ai=/^(?:submit|button|image|reset|file)$/i,ri=/^(?:input|select|textarea|keygen)/i;ht.param=function(t,e){var i,n=[],o=function(t,e){e=ht.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=ht.ajaxSettings&&ht.ajaxSettings.traditional),ht.isArray(t)||t.jquery&&!ht.isPlainObject(t))ht.each(t,function(){o(this.name,this.value)});else for(i in t)Z(i,t[i],e,o);return n.join("&").replace(ii,"+")},ht.fn.extend({serialize:function(){return ht.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=ht.prop(this,"elements");return t?ht.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!ht(this).is(":disabled")&&ri.test(this.nodeName)&&!ai.test(t)&&(this.checked||!zt.test(t))}).map(function(t,e){var i=ht(this).val();return null==i?null:ht.isArray(i)?ht.map(i,function(t){return{name:e.name,value:t.replace(oi,"\r\n")}}):{name:e.name,value:i.replace(oi,"\r\n")}}).get()}}),ht.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return this.isLocal?tt():nt.documentMode>8?X():/^(get|post|head|put|delete|options)$/i.test(this.type)&&X()||tt()}:X;var si=0,li={},ui=ht.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in li)li[t](void 0,!0)}),dt.cors=!!ui&&"withCredentials"in ui,ui=dt.ajax=!!ui,ui&&ht.ajaxTransport(function(e){if(!e.crossDomain||dt.cors){var i;return{send:function(n,o){var a,r=e.xhr(),s=++si;if(r.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)r[a]=e.xhrFields[a];e.mimeType&&r.overrideMimeType&&r.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(a in n)void 0!==n[a]&&r.setRequestHeader(a,n[a]+"");r.send(e.hasContent&&e.data||null),i=function(t,n){var a,l,u;if(i&&(n||4===r.readyState))if(delete li[s],i=void 0,r.onreadystatechange=ht.noop,n)4!==r.readyState&&r.abort();else{u={},a=r.status,"string"==typeof r.responseText&&(u.text=r.responseText);try{l=r.statusText}catch(t){l=""}a||!e.isLocal||e.crossDomain?1223===a&&(a=204):a=u.text?200:404}u&&o(a,l,u,r.getAllResponseHeaders())},e.async?4===r.readyState?t.setTimeout(i):r.onreadystatechange=li[s]=i:i()},abort:function(){i&&i(void 0,!0)}}}}),ht.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return ht.globalEval(t),t}}}),ht.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),ht.ajaxTransport("script",function(t){if(t.crossDomain){var e,i=nt.head||ht("head")[0]||nt.documentElement;return{send:function(n,o){e=nt.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,i){(i||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,i||o(200,"success"))},i.insertBefore(e,i.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var ci=[],di=/(=)\?(?=&|$)|\?\?/;ht.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=ci.pop()||ht.expando+"_"+He++;return this[t]=!0,t}}),ht.ajaxPrefilter("json jsonp",function(e,i,n){var o,a,r,s=e.jsonp!==!1&&(di.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&di.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ht.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(di,"$1"+o):e.jsonp!==!1&&(e.url+=(Pe.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||ht.error(o+" was not called"),r[0]},e.dataTypes[0]="json",a=t[o],t[o]=function(){r=arguments},n.always(function(){void 0===a?ht(t).removeProp(o):t[o]=a,e[o]&&(e.jsonpCallback=i.jsonpCallback,ci.push(o)),r&&ht.isFunction(a)&&a(r[0]),r=a=void 0}),"script"}),ht.parseHTML=function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||nt;var n=kt.exec(t),o=!i&&[];return n?[e.createElement(n[1])]:(n=y([t],e,o),o&&o.length&&ht(o).remove(),ht.merge([],n.childNodes))};var pi=ht.fn.load;return ht.fn.load=function(t,e,i){if("string"!=typeof t&&pi)return pi.apply(this,arguments);var n,o,a,r=this,s=t.indexOf(" ");return s>-1&&(n=ht.trim(t.slice(s,t.length)),t=t.slice(0,s)),ht.isFunction(e)?(i=e,e=void 0):e&&"object"==typeof e&&(o="POST"),r.length>0&&ht.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){a=arguments,r.html(n?ht("<div>").append(ht.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,a||[t.responseText,e,t])})}),this},ht.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){ht.fn[e]=function(t){return this.on(e,t)}}),ht.expr.filters.animated=function(t){return ht.grep(ht.timers,function(e){return t===e.elem}).length},ht.offset={setOffset:function(t,e,i){var n,o,a,r,s,l,u,c=ht.css(t,"position"),d=ht(t),p={};"static"===c&&(t.style.position="relative"),s=d.offset(),a=ht.css(t,"top"),l=ht.css(t,"left"),u=("absolute"===c||"fixed"===c)&&ht.inArray("auto",[a,l])>-1,u?(n=d.position(),r=n.top,o=n.left):(r=parseFloat(a)||0,o=parseFloat(l)||0),ht.isFunction(e)&&(e=e.call(t,i,ht.extend({},s))),null!=e.top&&(p.top=e.top-s.top+r),null!=e.left&&(p.left=e.left-s.left+o),"using"in e?e.using.call(t,p):d.css(p)}},ht.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ht.offset.setOffset(this,t,e)});var e,i,n={top:0,left:0},o=this[0],a=o&&o.ownerDocument;return a?(e=a.documentElement,ht.contains(e,o)?("undefined"!=typeof o.getBoundingClientRect&&(n=o.getBoundingClientRect()),i=et(a),{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):n):void 0},position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return"fixed"===ht.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),ht.nodeName(t[0],"html")||(i=t.offset()),i.top+=ht.css(t[0],"borderTopWidth",!0),i.left+=ht.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-ht.css(n,"marginTop",!0),left:e.left-i.left-ht.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&!ht.nodeName(t,"html")&&"static"===ht.css(t,"position");)t=t.offsetParent;return t||he})}}),ht.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i=/Y/.test(e);ht.fn[t]=function(n){return jt(this,function(t,n,o){
  var a=et(t);return void 0===o?a?e in a?a[e]:a.document.documentElement[n]:t[n]:void(a?a.scrollTo(i?ht(a).scrollLeft():o,i?o:ht(a).scrollTop()):t[n]=o)},t,n,arguments.length,null)}}),ht.each(["top","left"],function(t,e){ht.cssHooks[e]=I(dt.pixelPosition,function(t,i){if(i)return i=me(t,e),de.test(i)?ht(t).position()[e]+"px":i})}),ht.each({Height:"height",Width:"width"},function(t,e){ht.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){ht.fn[n]=function(n,o){var a=arguments.length&&(i||"boolean"!=typeof n),r=i||(n===!0||o===!0?"margin":"border");return jt(this,function(e,i,n){var o;return ht.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===n?ht.css(e,i,r):ht.style(e,i,n,r)},e,a?n:void 0,a,null)}})}),ht.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}}),ht.fn.size=function(){return this.length},ht.fn.andSelf=ht.fn.addBack,layui.define(function(t){t("jquery",ht)}),ht}),layui.define("jquery",function(t){"use strict";var e=layui.jquery,i=(layui.hint(),layui.device()),n="element",o="layui-this",a="layui-show",r=function(){this.config={}};r.prototype.set=function(t){var i=this;return e.extend(!0,i.config,t),i},r.prototype.on=function(t,e){return layui.onevent(n,t,e)},r.prototype.tabAdd=function(t,i){var n=e(".layui-tab[lay-filter="+t+"]"),o=n.children(".layui-tab-title"),a=n.children(".layui-tab-content");return o.append("<li>"+(i.title||"unnaming")+"</li>"),a.append('<div class="layui-tab-item">'+(i.content||"")+"</div>"),this.init()},r.prototype.tabDelete=function(t,i){var n=e(".layui-tab[lay-filter="+t+"]"),o=n.children(".layui-tab-title").find(">li").eq(i);return s.tabDelete(null,o),this},r.prototype.tabChange=function(t,i){var n=e(".layui-tab[lay-filter="+t+"]"),o=n.children(".layui-tab-title").find(">li").eq(i);return s.tabClick(null,i,o),this};var s={tabClick:function(t,i,r){var s=r||e(this),i=i||s.index(),l=s.parents(".layui-tab"),u=l.children(".layui-tab-content").children(".layui-tab-item"),c=l.attr("lay-filter");s.addClass(o).siblings().removeClass(o),u.eq(i).addClass(a).siblings().removeClass(a),layui.event.call(this,n,"tab("+c+")",{elem:l,index:i})},tabDelete:function(t,i){var n=i||e(this).parent(),a=n.index(),r=n.parents(".layui-tab"),l=r.children(".layui-tab-content").children(".layui-tab-item");n.hasClass(o)&&(n.next()[0]?s.tabClick.call(n.next()[0],null,a+1):n.prev()[0]&&s.tabClick.call(n.prev()[0],null,a-1)),n.remove(),l.eq(a).remove()},tabAuto:function(){var t="layui-tab-more",n="layui-tab-bar",o="layui-tab-close",a=this;e(".layui-tab").each(function(){var r=e(this),l=r.children(".layui-tab-title"),u=(r.children(".layui-tab-content").children(".layui-tab-item"),'lay-stope="tabmore"'),c=e('<span class="layui-unselect layui-tab-bar" '+u+"><i "+u+' class="layui-icon">&#xe61a;</i></span>');if(a===window&&8!=i.ie&&s.hideTabMore(!0),r.attr("lay-allowClose")&&!l.find("li").find("."+o)[0]){var d=e('<i class="layui-icon layui-unselect '+o+'">&#x1006;</i>');d.on("click",s.tabDelete),l.find("li").append(d)}if(l.prop("scrollWidth")>l.outerWidth()+1){if(l.find("."+n)[0])return;l.append(c),c.on("click",function(e){l[this.title?"removeClass":"addClass"](t),this.title=this.title?"":"收缩"})}else l.find("."+n).remove()})},hideTabMore:function(t){var i=e(".layui-tab-title");t!==!0&&"tabmore"===e(t.target).attr("lay-stope")||(i.removeClass("layui-tab-more"),i.find(".layui-tab-bar").attr("title",""))}};r.prototype.init=function(t){var n={tab:function(){s.tabAuto.call({})},nav:function(){var t,n,o,a=".layui-nav",r="layui-nav-item",s="layui-nav-bar",l="layui-nav-tree",u="layui-nav-child",c="layui-nav-more",d=200,p=function(a,r){var s=e(this),p=s.find("."+u);r.hasClass(l)?a.css({top:s.position().top,height:s.children("a").height(),opacity:1}):(p.addClass("layui-anim layui-anim-upbit"),a.css({left:s.position().left+parseFloat(s.css("marginLeft")),top:s.position().top+s.height()-5}),t=setTimeout(function(){a.css({width:s.width(),opacity:1})},i.ie&&i.ie<10?0:d),clearTimeout(o),"block"===p.css("display")&&clearTimeout(n),n=setTimeout(function(){p.show(),s.find("."+c).addClass(c+"d")},300))};e(a).each(function(){var i=e(this),a=e('<span class="'+s+'"></span>'),h=i.find("."+r);i.find("."+s)[0]||(i.append(a),h.on("mouseenter",function(){p.call(this,a,i)}).on("mouseleave",function(){i.hasClass(l)||(clearTimeout(n),n=setTimeout(function(){i.find("."+u).hide(),i.find("."+c).removeClass(c+"d")},300))}),i.on("mouseleave",function(){clearTimeout(t),o=setTimeout(function(){i.hasClass(l)?a.css({height:0,top:a.position().top+a.height()/2,opacity:0}):a.css({width:0,left:a.position().left+a.width()/2,opacity:0})},d)})),h.each(function(){var t=e(this),n=t.find("."+u);if(n[0]&&!t.find("."+c)[0]){if(t.children("a").append('<span class="'+c+'"></span>'),!i.hasClass(l))return;t.children("a").on("click",function(){e(this),"none"===n.css("display")?t.addClass(r+"ed"):t.removeClass(r+"ed")})}})})},breadcrumb:function(){var t=".layui-breadcrumb";e(t).each(function(){var t=e(this),i=t.attr("lay-separator")||">",n=t.find("a");n.find(".layui-box")[0]||(n.each(function(t){t!==n.length-1&&e(this).append('<span class="layui-box">'+i+"</span>")}),t.css("visibility","visible"))})}};return layui.each(n,function(t,e){e()})};var l=new r,u=e(document);l.init();var c=".layui-tab-title li";u.on("click",c,s.tabClick),u.on("click",s.hideTabMore),e(window).on("resize",s.tabAuto),t(n,function(t){return l.set(t)})}),layui.define("layer",function(t){"use strict";var e=layui.jquery,i=layui.layer,n=(layui.device(),"layui-upload-enter"),o="layui-upload-iframe",a={icon:2,shift:6},r={file:"文件",video:"视频",audio:"音频"},s=function(t){this.options=t};s.prototype.init=function(){var t=this,i=t.options,a=e("body"),s=e(i.elem||".layui-upload-file"),l=e('<iframe id="'+o+'" class="'+o+'" name="'+o+'"></iframe>');return e("#"+o)[0]||a.append(l),s.each(function(a,s){s=e(s);var l='<form target="'+o+'" method="'+(i.method||"post")+'" key="set-mine" enctype="multipart/form-data" action="'+(i.url||"")+'"></form>',u=s.attr("lay-type")||i.type;i.unwrap||(l='<div class="layui-box layui-upload-button">'+l+'<span class="layui-upload-icon"><i class="layui-icon">&#xe608;</i>'+(s.attr("lay-title")||i.title||"上传"+(r[u]||"图片"))+"</span></div>"),l=e(l),i.unwrap||l.on("dragover",function(t){t.preventDefault(),e(this).addClass(n)}).on("dragleave",function(){e(this).removeClass(n)}).on("drop",function(){e(this).removeClass(n)}),s.parent("form").attr("target")===o&&(i.unwrap?s.unwrap():(s.parent().next().remove(),s.unwrap().unwrap())),s.wrap(l),s.off("change").on("change",function(){t.action(this,u)})})},s.prototype.action=function(t,n){var r=this,s=r.options,l=t.value,u=e(t),c=u.attr("lay-ext")||s.ext||"";if(l){switch(n){case"file":if(c&&!RegExp("\\w\\.("+c+")$","i").test(escape(l)))return i.msg("不支持该文件格式",a),t.value="";break;case"video":if(!RegExp("\\w\\.("+(c||"avi|mp4|wma|rmvb|rm|flash|3gp|flv")+")$","i").test(escape(l)))return i.msg("不支持该视频格式",a),t.value="";break;case"audio":if(!RegExp("\\w\\.("+(c||"mp3|wav|mid")+")$","i").test(escape(l)))return i.msg("不支持该音频格式",a),t.value="";break;default:if(!RegExp("\\w\\.("+(c||"jpg|png|gif|bmp|jpeg")+")$","i").test(escape(l)))return i.msg("不支持该图片格式",a),t.value=""}s.before&&s.before(t),u.parent().submit();var d=e("#"+o),p=setInterval(function(){var e;try{e=d.contents().find("body").text()}catch(t){i.msg("上传接口存在跨域",a),clearInterval(p)}if(e){clearInterval(p),d.contents().find("body").html("");try{e=JSON.parse(e)}catch(t){return e={},i.msg("请对上传接口返回JSON字符",a)}"function"==typeof s.success&&s.success(e,t)}},30);t.value=""}},t("upload",function(t){var e=new s(t=t||{});e.init()})}),layui.define("layer",function(t){"use strict";var e=layui.jquery,i=layui.layer,n=layui.hint(),o=layui.device(),a="form",r=".layui-form",s="layui-this",l="layui-disabled",u=function(){this.config={verify:{required:[/[\S]+/,"必填项不能为空"],phone:[/^1\d{10}$/,"请输入正确的手机号"],email:[/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/,"邮箱格式不正确"],url:[/(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/,"链接格式不正确"],number:[/^\d+$/,"只能填写数字"],date:[/^(\d{4})[-\/](\d{1}|0\d{1}|1[0-2])([-\/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/,"日期格式不正确"],identity:[/(^\d{15}$)|(^\d{17}(x|X|\d)$)/,"请输入正确的身份证号"]}}};u.prototype.set=function(t){var i=this;return e.extend(!0,i.config,t),i},u.prototype.verify=function(t){var i=this;return e.extend(!0,i.config.verify,t),i},u.prototype.on=function(t,e){return layui.onevent(a,t,e)},u.prototype.render=function(t){var i=this,o={select:function(){var t="请选择",i="layui-form-select",n="layui-select-title",o=e(r).find("select"),u=function(t,o){e(t.target).parent().hasClass(n)&&!o||e("."+i).removeClass(i+"ed")},c=function(t,o){var r=e(this),c=t.find("."+n);o||(c.on("click",function(e){t.hasClass(i+"ed")?t.removeClass(i+"ed"):(u(e,!0),t.addClass(i+"ed"))}),t.find("dl>dd").on("click",function(){var t=e(this),i=t.attr("lay-value"),n=r.attr("lay-filter");return!t.hasClass(l)&&(r.val(i).removeClass("layui-form-danger"),c.find("input").val(t.text()),t.addClass(s).siblings().removeClass(s),void layui.event(a,"select("+n+")",{elem:r[0],value:i}))}),t.find("dl>dt").on("click",function(t){return!1}),e(document).off("click",u).on("click",u))};o.each(function(o,a){var r=e(this),u=r.next("."+i),d=this.disabled,p=a.value,h=e(a.options[a.selectedIndex]),f=e(['<div class="layui-unselect '+i+(d?" layui-select-disabled":"")+'">','<div class="'+n+'"><input type="text" placeholder="'+(a.options[0].innerHTML?a.options[0].innerHTML:t)+'" value="'+(p?h.html():"")+'" readonly class="layui-input layui-unselect'+(d?" "+l:"")+'">','<i class="layui-edge"></i></div>','<dl class="layui-anim layui-anim-upbit'+(r.find("optgroup")[0]?" layui-select-group":"")+'">'+function(t){var e=[];return layui.each(t,function(t,i){(0!==t||i.value)&&("optgroup"===i.tagName.toLowerCase()?e.push("<dt>"+i.label+"</dt>"):e.push('<dd lay-value="'+i.value+'" class="'+(p===i.value?s:"")+(i.disabled?" "+l:"")+'">'+i.innerHTML+"</dd>"))}),e.join("")}(r.find("*"))+"</dl>","</div>"].join(""));u[0]&&u.remove(),r.after(f),c.call(this,f,d)})},checkbox:function(){var t={checkbox:["layui-form-checkbox","layui-form-checked","checkbox"],_switch:["layui-form-switch","layui-form-onswitch","switch"]},i=e(r).find("input[type=checkbox]"),n=function(t,i){var n=e(this);t.on("click",function(){var e=n.attr("lay-filter");n[0].disabled||(n[0].checked?(n[0].checked=!1,t.removeClass(i[1])):(n[0].checked=!0,t.addClass(i[1])),layui.event(a,i[2]+"("+e+")",{elem:n[0],value:n[0].value}))})};i.each(function(i,o){var a=e(this),r=a.attr("lay-skin"),s=this.disabled;"switch"===r&&(r="_"+r);var u=t[r]||t.checkbox,c=a.next("."+u[0]),d=e(['<div class="layui-unselect '+u[0]+(o.checked?" "+u[1]:"")+(s?" layui-checkbox-disbaled "+l:"")+'">',{_switch:"<i></i>"}[r]||"<span>"+(o.title||"勾选")+'</span><i class="layui-icon">&#xe618;</i>',"</div>"].join(""));c[0]&&c.remove(),a.after(d),n.call(this,d,u)})},radio:function(){var t="layui-form-radio",i=["&#xe643;","&#xe63f;"],n=e(r).find("input[type=radio]"),o=function(n){var o=e(this),s="layui-anim-scaleSpring";n.on("click",function(){var l=o[0].name,u=o.parents(r),c=o.attr("lay-filter"),d=u.find("input[name="+l.replace(/(\.|#|\[|\])/g,"\\$1")+"]");o[0].disabled||(layui.each(d,function(){var n=e(this).next("."+t);this.checked=!1,n.removeClass(t+"ed"),n.find(".layui-icon").removeClass(s).html(i[1])}),o[0].checked=!0,n.addClass(t+"ed"),n.find(".layui-icon").addClass(s).html(i[0]),layui.event(a,"radio("+c+")",{elem:o[0],value:o[0].value}))})};n.each(function(n,a){var r=e(this),s=r.next("."+t),u=this.disabled,c=e(['<div class="layui-unselect '+t+(a.checked?" "+t+"ed":"")+(u?" layui-radio-disbaled "+l:"")+'">','<i class="layui-anim layui-icon">'+i[a.checked?0:1]+"</i>","<span>"+(a.title||"未命名")+"</span>","</div>"].join(""));s[0]&&s.remove(),r.after(c),o.call(this,c)})}};return t?o[t]?o[t]():n.error("不支持的"+t+"表单渲染"):layui.each(o,function(t,e){e()}),i};var c=function(){var t=e(this),n=d.config.verify,s=null,l="layui-form-danger",u={},c=t.parents(r),p=c.find("*[lay-verify]"),h=t.parents("form")[0],f=c.find("input,select,textarea"),m=t.attr("lay-filter");return layui.each(p,function(t,a){var r=e(this),u=r.attr("lay-verify"),c="",d=r.val(),p="function"==typeof n[u];if(r.removeClass(l),n[u]&&(p?c=n[u](d,a):!n[u][0].test(d)))return i.msg(c||n[u][1],{icon:5,shift:6}),o.android||o.ios||a.focus(),r.addClass(l),s=!0}),!s&&(layui.each(f,function(t,e){e.name&&(/^checkbox|radio$/.test(e.type)&&!e.checked||(u[e.name]=e.value))}),layui.event.call(this,a,"submit("+m+")",{elem:this,form:h,field:u}))},d=new u,p=e(document);d.render(),p.on("reset",r,function(){setTimeout(function(){d.render()},50)}),p.on("submit",r,c).on("click","*[lay-submit]",c),t(a,function(t){return d.set(t)})}),layui.define("jquery",function(t){"use strict";var e=layui.jquery,i=layui.hint(),n="layui-tree-enter",o=function(t){this.options=t},a={arrow:["&#xe623;","&#xe625;"],checkbox:["&#xe626;","&#xe627;"],radio:["&#xe62b;","&#xe62a;"],branch:["&#xe622;","&#xe624;"],leaf:"&#xe621;"};o.prototype.init=function(t){var e=this;t.addClass("layui-box layui-tree"),e.options.skin&&t.addClass("layui-tree-skin-"+e.options.skin),e.tree(t),e.on(t)},o.prototype.tree=function(t,i){var n=this,o=n.options,r=i||o.nodes;layui.each(r,function(i,r){var s=r.children&&r.children.length>0,l=e('<ul class="'+(r.spread?"layui-show":"")+'"></ul>'),u=e(["<li "+(r.spread?'data-spread="'+r.spread+'"':"")+">",function(){return s?'<i class="layui-icon layui-tree-spread">'+(r.spread?a.arrow[1]:a.arrow[0])+"</i>":""}(),function(){return o.check?'<i class="layui-icon layui-tree-check">'+("checkbox"===o.check?a.checkbox[0]:"radio"===o.check?a.radio[0]:"")+"</i>":""}(),function(){return'<a href="'+(r.href||"javascript:;")+'" '+(o.target&&r.href?'target="'+o.target+'"':"")+">"+('<i class="layui-icon layui-tree-'+(s?"branch":"leaf")+'">'+(s?r.spread?a.branch[1]:a.branch[0]:a.leaf)+"</i>")+("<cite>"+(r.name||"未命名")+"</cite></a>")}(),"</li>"].join(""));s&&(u.append(l),n.tree(l,r.children)),t.append(u),"function"==typeof o.click&&n.click(u,r),n.spread(u,r),o.drag&&n.drag(u,r)})},o.prototype.click=function(t,e){var i=this,n=i.options;t.children("a").on("click",function(t){layui.stope(t),n.click(e)})},o.prototype.spread=function(t,e){var i=this,n=(i.options,t.children(".layui-tree-spread")),o=t.children("ul"),r=t.children("a"),s=function(){t.data("spread")?(t.data("spread",null),o.removeClass("layui-show"),n.html(a.arrow[0]),r.find(".layui-icon").html(a.branch[0])):(t.data("spread",!0),o.addClass("layui-show"),n.html(a.arrow[1]),r.find(".layui-icon").html(a.branch[1]))};o[0]&&(n.on("click",s),r.on("dblclick",s))},o.prototype.on=function(t){var i=this,o=i.options,a="layui-tree-drag";t.find("i").on("selectstart",function(t){return!1}),o.drag&&e(document).on("mousemove",function(t){var n=i.move;if(n.from){var o=(n.to,e('<div class="layui-box '+a+'"></div>'));t.preventDefault(),e("."+a)[0]||e("body").append(o);var r=e("."+a)[0]?e("."+a):o;r.addClass("layui-show").html(n.from.elem.children("a").html()),r.css({left:t.pageX+10,top:t.pageY+10})}}).on("mouseup",function(){var t=i.move;t.from&&(t.from.elem.children("a").removeClass(n),t.to&&t.to.elem.children("a").removeClass(n),i.move={},e("."+a).remove())})},o.prototype.move={},o.prototype.drag=function(t,i){var o=this,a=(o.options,t.children("a")),r=function(){var a=e(this),r=o.move;r.from&&(r.to={item:i,elem:t},a.addClass(n))};a.on("mousedown",function(){var e=o.move;e.from={item:i,elem:t}}),a.on("mouseenter",r).on("mousemove",r).on("mouseleave",function(){var t=e(this),i=o.move;i.from&&(delete i.to,t.removeClass(n))})},t("tree",function(t){var n=new o(t=t||{}),a=e(t.elem);return a[0]?void n.init(a):i.error("layui.tree 没有找到"+t.elem+"元素")})}),layui.define("jquery",function(t){"use strict";var e=layui.jquery,i={fixbar:function(t){t=t||{},t.bgcolor=t.bgcolor?"background-color:"+t.bgcolor:"";var i,n,o="layui-fixbar-top",a=[t.bar1===!0?"&#xe606;":t.bar1,t.bar2===!0?"&#xe607;":t.bar2,"&#xe604;"],r=e(['<ul class="layui-fixbar">',t.bar1?'<li class="layui-icon" lay-type="bar1" style="'+t.bgcolor+'">'+a[0]+"</li>":"",t.bar2?'<li class="layui-icon" lay-type="bar2" style="'+t.bgcolor+'">'+a[1]+"</li>":"",'<li class="layui-icon '+o+'" lay-type="top" style="'+t.bgcolor+'">'+a[2]+"</li>","</ul>"].join("")),s=r.find("."+o),l=function(){var i=e(document).scrollTop();i>=(t.showHeight||200)?n||(s.show(),n=1):n&&(s.hide(),n=0)};e(".layui-fixbar")[0]||("object"==typeof t.css&&r.css(t.css),e("body").append(r),l(),r.find("li").on("click",function(){var i=e(this),n=i.attr("lay-type");"top"===n&&e("html,body").animate({scrollTop:0},200),t.click&&t.click.call(this,n)}),e(document).on("scroll",function(){i&&clearTimeout(i),i=setTimeout(function(){l()},100)}))}};t("util",i)}),layui.define("jquery",function(t){"use strict";var e=layui.jquery,i=function(t){},n='<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon ">&#xe63e;</i>';i.prototype.load=function(t){var i,o,a,r,s=this,l=1;t=t||{};var u=e(t.elem);if(u[0]){var c=e(t.scrollElem||document),d=t.mb||50,p=!("isAuto"in t)||t.isAuto,h=!("isShowEnd"in t)||t.isShowEnd,f=t.scrollElem&&t.scrollElem!==document,m="<cite>加载更多</cite>",g=e('<div class="layui-flow-more"><a href="javascript:;">'+m+"</a></div>");u.find(".layui-flow-more")[0]||u.append(g);var y=function(t,n){t=e(t),g.before(t),n=0==n||null,n?g.html(h?"没有更多了":""):g.find("a").html(m),o=n,i=null,a&&a()},v=function(){i=!0,g.find("a").html(n),"function"==typeof t.done&&t.done(++l,y)};if(g.find("a").on("click",function(){e(this),o||i||v()}),t.isLazyimg)var a=s.lazyimg({elem:t.elem+" img",scrollElem:t.scrollElem});return p?(c.on("scroll",function(){var t=e(this),n=t.scrollTop();r&&clearTimeout(r),o||(r=setTimeout(function(){var o=f?t.height():e(window).height(),a=f?t.prop("scrollHeight"):document.documentElement.scrollHeight;a-n-o<=d&&(i||v())},100))}),s):s}},i.prototype.lazyimg=function(t){var i,n=this,o=0;t=t||{};var a=e(t.scrollElem||document),r=t.elem||"img",s=t.scrollElem&&t.scrollElem!==document,l=function(t,e){var i=a.scrollTop(),r=i+e,l=s?function(){return t.offset().top-a.offset().top+i}():t.offset().top;if(l>=i&&l<=r&&!t.attr("src")){var c=t.attr("lay-src");layui.img(c,function(){var e=n.lazyimg.elem.eq(o);t.attr("src",c).removeAttr("lay-src"),e[0]&&u(e),o++})}},u=function(t,i){var u=s?(i||a).height():e(window).height(),c=a.scrollTop(),d=c+u;if(n.lazyimg.elem=e(r),t)l(t,u);else for(var p=0;p<n.lazyimg.elem.length;p++){var h=n.lazyimg.elem.eq(p),f=s?function(){return h.offset().top-a.offset().top+c}():h.offset().top;if(l(h,u),o=p,f>d)break}};if(u(),!i){var c;a.on("scroll",function(){var t=e(this);c&&clearTimeout(c),c=setTimeout(function(){u(null,t)},100)}),i=!0}return u},t("flow",new i)}),layui.define(["layer","form"],function(t){"use strict";var e=layui.jquery,i=layui.layer,n=layui.form(),o=(layui.hint(),layui.device()),a="layedit",r="layui-show",s="layui-disabled",l=function(){var t=this;t.index=0,t.config={tool:["strong","italic","underline","del","|","left","center","right","|","link","unlink","face","image"],hideTool:[],height:280}};l.prototype.set=function(t){var i=this;return e.extend(!0,i.config,t),i},l.prototype.on=function(t,e){return layui.onevent(a,t,e)},l.prototype.build=function(t,i){i=i||{};var n=this,a=n.config,s="layui-layedit",l=e("#"+t),c="LAY_layedit_"+ ++n.index,d=l.next("."+s),p=e.extend({},a,i),h=function(){var t=[],e={};return layui.each(p.hideTool,function(t,i){e[i]=!0}),layui.each(p.tool,function(i,n){k[n]&&!e[n]&&t.push(k[n])}),t.join("")}(),f=e(['<div class="'+s+'">','<div class="layui-unselect layui-layedit-tool">'+h+"</div>",'<div class="layui-layedit-iframe">','<iframe id="'+c+'" name="'+c+'" textarea="'+t+'" frameborder="0"></iframe>',"</div>","</div>"].join(""));return o.ie&&o.ie<8?l.removeClass("layui-hide").addClass(r):(d[0]&&d.remove(),u.call(n,f,l[0],p),l.addClass("layui-hide").after(f),n.index)},l.prototype.getContent=function(t){var e=c(t);if(e[0])return d(e[0].document.body.innerHTML)},l.prototype.getText=function(t){var i=c(t);if(i[0])return e(i[0].document.body).text()},l.prototype.sync=function(t){var i=c(t);if(i[0]){var n=e("#"+i[1].attr("textarea"));n.val(d(i[0].document.body.innerHTML))}},l.prototype.getSelection=function(t){var e=c(t);if(e[0]){var i=f(e[0].document);return document.selection?i.text:i.toString()}};var u=function(t,i,n){var o=this,a=t.find("iframe");a.css({height:n.height}).on("load",function(){var r=a.contents(),s=a.prop("contentWindow"),l=r.find("head"),u=e(["<style>","*{margin: 0; padding: 0;}","body{padding: 10px; line-height: 20px; overflow-x: hidden; word-wrap: break-word; font: 14px Helvetica Neue,Helvetica,PingFang SC,Microsoft YaHei,Tahoma,Arial,sans-serif; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}","a{color:#01AAED; text-decoration:none;}a:hover{color:#c00}","p{margin-bottom: 10px;}","img{display: inline-block; border: none; vertical-align: middle;}","pre{margin: 10px 0; padding: 10px; line-height: 20px; border: 1px solid #ddd; border-left-width: 6px; background-color: #F2F2F2; color: #333; font-family: Courier New; font-size: 12px;}","</style>"].join("")),c=r.find("body");l.append(u),c.attr("contenteditable","true").css({"min-height":n.height}).html(i.value||""),p.apply(o,[s,a,i,n]),v.call(o,s,t,n)})},c=function(t){var i=e("#LAY_layedit_"+t),n=i.prop("contentWindow");return[n,i]},d=function(t){return 8==o.ie&&(t=t.replace(/<.+>/g,function(t){return t.toLowerCase()})),t},p=function(t,n,a,r){var s=t.document,l=e(s.body);l.on("keydown",function(t){var e=t.keyCode;if(13===e){var n=f(s),o=m(n),a=o.parentNode;if("pre"===a.tagName.toLowerCase()){if(t.shiftKey)return;return i.msg("请暂时用shift+enter"),!1}s.execCommand("formatBlock",!1,"<p>")}}),e(a).parents("form").on("submit",function(){var t=l.html();8==o.ie&&(t=t.replace(/<.+>/g,function(t){return t.toLowerCase()})),a.value=t}),l.on("paste",function(e){s.execCommand("formatBlock",!1,"<p>"),setTimeout(function(){h.call(t,l),a.value=l.html()},100)})},h=function(t){var i=this;i.document,t.find("*[style]").each(function(){var t=this.style.textAlign;this.removeAttribute("style"),e(this).css({"text-align":t||""})}),t.find("table").addClass("layui-table"),t.find("script,link").remove()},f=function(t){return t.selection?t.selection.createRange():t.getSelection().getRangeAt(0)},m=function(t){return t.endContainer||t.parentElement().childNodes[0]},g=function(t,i,n){var o=this.document,a=document.createElement(t);for(var r in i)a.setAttribute(r,i[r]);if(a.removeAttribute("text"),o.selection){var s=n.text||i.text;if("a"===t&&!s)return;s&&(a.innerHTML=s),n.pasteHTML(e(a).prop("outerHTML")),n.select()}else{var s=n.toString()||i.text;if("a"===t&&!s)return;s&&(a.innerHTML=s),n.deleteContents(),n.insertNode(a)}},y=function(t,i){var n=this.document,o="layedit-tool-active",a=m(f(n)),r=function(e){return t.find(".layedit-tool-"+e)};i&&i[i.hasClass(o)?"removeClass":"addClass"](o),t.find(">i").removeClass(o),r("unlink").addClass(s),e(a).parents().each(function(){var t=this.tagName.toLowerCase(),e=this.style.textAlign;"b"!==t&&"strong"!==t||r("b").addClass(o),"i"!==t&&"em"!==t||r("i").addClass(o),"u"===t&&r("u").addClass(o),"strike"===t&&r("d").addClass(o),"p"===t&&("center"===e?r("center").addClass(o):"right"===e?r("right").addClass(o):r("left").addClass(o)),"a"===t&&(r("link").addClass(o),r("unlink").removeClass(s))})},v=function(t,n,o){var a=t.document,r=e(a.body),l={link:function(i){var n=m(i),o=e(n).parent();b.call(r,{href:o.attr("href"),target:o.attr("target")},function(e){var n=o[0];"A"===n.tagName?n.href=e.url:g.call(t,"a",{target:e.target,href:e.url,text:e.url},i)})},unlink:function(t){a.execCommand("unlink")},face:function(e){w.call(this,function(i){g.call(t,"img",{src:i.src,alt:i.alt},e)})},image:function(n){var a=this;layui.use("upload",function(r){var s=o.uploadImage||{};r({url:s.url,method:s.type,elem:e(a).find("input")[0],unwrap:!0,success:function(e){0==e.code?(e.data=e.data||{},g.call(t,"img",{src:e.data.src,alt:e.data.title},n)):i.msg(e.msg||"上传失败")}})})},code:function(e){x.call(r,function(i){g.call(t,"pre",{text:i.code,"lay-lang":i.lang},e)})},help:function(){i.open({type:2,title:"帮助",area:["600px","380px"],shadeClose:!0,shade:.1,skin:"layui-layer-msg",content:["http://www.layui.com/about/layedit/help.html","no"]})}},u=n.find(".layui-layedit-tool"),c=function(){var i=e(this),n=i.attr("layedit-event"),o=i.attr("lay-command");if(!i.hasClass(s)){r.focus();var c=f(a);c.commonAncestorContainer,o?(a.execCommand(o),/justifyLeft|justifyCenter|justifyRight/.test(o)&&a.execCommand("formatBlock",!1,"<p>"),setTimeout(function(){r.focus()},10)):l[n]&&l[n].call(this,c),y.call(t,u,i)}},d=/image/;u.find(">i").on("mousedown",function(){var t=e(this),i=t.attr("layedit-event");d.test(i)||c.call(this)}).on("click",function(){var t=e(this),i=t.attr("layedit-event");d.test(i)&&c.call(this)}),r.on("click",function(){y.call(t,u),i.close(w.index)})},b=function(t,e){var o=this,a=i.open({type:1,id:"LAY_layedit_link",area:"350px",shade:.05,shadeClose:!0,moveType:1,title:"超链接",skin:"layui-layer-msg",content:['<ul class="layui-form" style="margin: 15px;">','<li class="layui-form-item">','<label class="layui-form-label" style="width: 60px;">URL</label>','<div class="layui-input-block" style="margin-left: 90px">','<input name="url" lay-verify="url" value="'+(t.href||"")+'" autofocus="true" autocomplete="off" class="layui-input">',"</div>","</li>",'<li class="layui-form-item">','<label class="layui-form-label" style="width: 60px;">打开方式</label>','<div class="layui-input-block" style="margin-left: 90px">','<input type="radio" name="target" value="_self" class="layui-input" title="当前窗口"'+("_self"!==t.target&&t.target?"":"checked")+">",'<input type="radio" name="target" value="_blank" class="layui-input" title="新窗口" '+("_blank"===t.target?"checked":"")+">","</div>","</li>",'<li class="layui-form-item" style="text-align: center;">','<button type="button" lay-submit lay-filter="layedit-link-yes" class="layui-btn"> 确定 </button>','<button style="margin-left: 20px;" type="button" class="layui-btn layui-btn-primary"> 取消 </button>',"</li>","</ul>"].join(""),success:function(t,a){var r="submit(layedit-link-yes)";n.render("radio"),t.find(".layui-btn-primary").on("click",function(){i.close(a),o.focus()}),n.on(r,function(t){i.close(b.index),e&&e(t.field)})}});b.index=a},w=function(t){var n=function(){var t=["[微笑]","[嘻嘻]","[哈哈]","[可爱]","[可怜]","[挖鼻]","[吃惊]","[害羞]","[挤眼]","[闭嘴]","[鄙视]","[爱你]","[泪]","[偷笑]","[亲亲]","[生病]","[太开心]","[白眼]","[右哼哼]","[左哼哼]","[嘘]","[衰]","[委屈]","[吐]","[哈欠]","[抱抱]","[怒]","[疑问]","[馋嘴]","[拜拜]","[思考]","[汗]","[困]","[睡]","[钱]","[失望]","[酷]","[色]","[哼]","[鼓掌]","[晕]","[悲伤]","[抓狂]","[黑线]","[阴险]","[怒骂]","[互粉]","[心]","[伤心]","[猪头]","[熊猫]","[兔子]","[ok]","[耶]","[good]","[NO]","[赞]","[来]","[弱]","[草泥马]","[神马]","[囧]","[浮云]","[给力]","[围观]","[威武]","[奥特曼]","[礼物]","[钟]","[话筒]","[蜡烛]","[蛋糕]"],e={};return layui.each(t,function(t,i){e[i]=layui.cache.dir+"images/face/"+t+".gif"}),e}();return w.hide=w.hide||function(t){"face"!==e(t.target).attr("layedit-event")&&i.close(w.index)},w.index=i.tips(function(){var t=[];return layui.each(n,function(e,i){t.push('<li title="'+e+'"><img src="'+i+'" alt="'+e+'"></li>')}),'<ul class="layui-clear">'+t.join("")+"</ul>"}(),this,{tips:1,time:0,skin:"layui-box layui-util-face",maxWidth:500,success:function(o,a){o.css({marginTop:-4,marginLeft:-10}).find(".layui-clear>li").on("click",function(){t&&t({src:n[this.title],alt:this.title}),i.close(a)}),e(document).off("click",w.hide).on("click",w.hide)}})},x=function(t){var e=this,o=i.open({type:1,id:"LAY_layedit_code",area:"550px",shade:.05,shadeClose:!0,moveType:1,title:"插入代码",skin:"layui-layer-msg",content:['<ul class="layui-form layui-form-pane" style="margin: 15px;">','<li class="layui-form-item">','<label class="layui-form-label">请选择语言</label>','<div class="layui-input-block">','<select name="lang">','<option value="JavaScript">JavaScript</option>','<option value="HTML">HTML</option>','<option value="CSS">CSS</option>','<option value="Java">Java</option>','<option value="PHP">PHP</option>','<option value="C#">C#</option>','<option value="Python">Python</option>','<option value="Ruby">Ruby</option>','<option value="Go">Go</option>',"</select>","</div>","</li>",'<li class="layui-form-item layui-form-text">','<label class="layui-form-label">代码</label>','<div class="layui-input-block">','<textarea name="code" lay-verify="required" autofocus="true" class="layui-textarea" style="height: 200px;"></textarea>',"</div>","</li>",'<li class="layui-form-item" style="text-align: center;">','<button type="button" lay-submit lay-filter="layedit-code-yes" class="layui-btn"> 确定 </button>','<button style="margin-left: 20px;" type="button" class="layui-btn layui-btn-primary"> 取消 </button>',"</li>","</ul>"].join(""),success:function(o,a){var r="submit(layedit-code-yes)";n.render("select"),o.find(".layui-btn-primary").on("click",function(){i.close(a),e.focus()}),n.on(r,function(e){i.close(x.index),t&&t(e.field)})}});x.index=o},k={html:'<i class="layui-icon layedit-tool-html" title="HTML源代码" lay-command="html" layedit-event="html"">&#xe64b;</i><span class="layedit-tool-mid"></span>',strong:'<i class="layui-icon layedit-tool-b" title="加粗" lay-command="Bold" layedit-event="b"">&#xe62b;</i>',italic:'<i class="layui-icon layedit-tool-i" title="斜体" lay-command="italic" layedit-event="i"">&#xe644;</i>',underline:'<i class="layui-icon layedit-tool-u" title="下划线" lay-command="underline" layedit-event="u"">&#xe646;</i>',del:'<i class="layui-icon layedit-tool-d" title="删除线" lay-command="strikeThrough" layedit-event="d"">&#xe64f;</i>',"|":'<span class="layedit-tool-mid"></span>',left:'<i class="layui-icon layedit-tool-left" title="左对齐" lay-command="justifyLeft" layedit-event="left"">&#xe649;</i>',center:'<i class="layui-icon layedit-tool-center" title="居中对齐" lay-command="justifyCenter" layedit-event="center"">&#xe647;</i>',right:'<i class="layui-icon layedit-tool-right" title="右对齐" lay-command="justifyRight" layedit-event="right"">&#xe648;</i>',link:'<i class="layui-icon layedit-tool-link" title="插入链接" layedit-event="link"">&#xe64c;</i>',unlink:'<i class="layui-icon layedit-tool-unlink layui-disabled" title="清除链接" lay-command="unlink" layedit-event="unlink"">&#xe64d;</i>',face:'<i class="layui-icon layedit-tool-face" title="表情" layedit-event="face"">&#xe650;</i>',image:'<i class="layui-icon layedit-tool-image" title="图片" layedit-event="image">&#xe64a;<input type="file" name="file"></i>',code:'<i class="layui-icon layedit-tool-code" title="插入代码" layedit-event="code">&#xe64e;</i>',help:'<i class="layui-icon layedit-tool-help" title="帮助" layedit-event="help">&#xe607;</i>'},A=new l;t(a,A)}),layui.define("jquery",function(t){"use strict";var e=layui.jquery,i="http://www.layui.com/doc/modules/code.html";t("code",function(t){var n=[];t=t||{},t.elem=e(t.elem||".layui-code"),t.about=!("about"in t)||t.about,t.elem.each(function(){n.push(this)}),layui.each(n.reverse(),function(n,o){var a=e(o),r=a.html();(a.attr("lay-encode")||t.encode)&&(r=r.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#39;").replace(/"/g,"&quot;")),a.html('<ol class="layui-code-ol"><li>'+r.replace(/[\r\t\n]+/g,"</li><li>")+"</li></ol>"),a.find(">.layui-code-h3")[0]||a.prepend('<h3 class="layui-code-h3">'+(a.attr("lay-title")||t.title||"code")+(t.about?'<a href="'+i+'" target="_blank">layui.code</a>':"")+"</h3>");var s=a.find(">.layui-code-ol");a.addClass("layui-box layui-code-view"),(a.attr("lay-skin")||t.skin)&&a.addClass("layui-code-"+(a.attr("lay-skin")||t.skin)),(s.find("li").length/100|0)>0&&s.css("margin-left",(s.find("li").length/100|0)+"px"),
  (a.attr("lay-height")||t.height)&&s.css("max-height",a.attr("lay-height")||t.height)})})})}).call(e,i(1),i(1))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,i){i(41),i(71);t.exports=layui.tree},function(t,e,i){var n=i(72);"string"==typeof n&&(n=[[t.id,n,""]]);i(16)(n,{});n.locals&&(t.exports=n.locals)},function(t,e,i){e=t.exports=i(10)(),e.push([t.id,"::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-button:vertical{display:none}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background-color:#e2e2e2}::-webkit-scrollbar-thumb{border-radius:0;background-color:rgba(0,0,0,.3)}::-webkit-scrollbar-thumb:vertical:hover{background-color:rgba(0,0,0,.35)}::-webkit-scrollbar-thumb:vertical:active{background-color:rgba(0,0,0,.38)}@font-face{font-family:layui-icon;src:url("+i(73)+");src:url("+i(73)+'#iefix) format("embedded-opentype"),url('+i(74)+'#iconfont) format("svg"),url('+i(75)+') format("woff"),url('+i(76)+') format("truetype")}.layui-icon{font-family:layui-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{line-height:24px;font:14px Helvetica Neue,Helvetica,PingFang SC,\\5FAE\\8F6F\\96C5\\9ED1,Tahoma,Arial,sans-serif}hr{height:1px;margin:10px 0;border:0;background-color:#e2e2e2;clear:both}a{color:#333;text-decoration:none}a:hover{color:#777}a cite{font-style:normal;*cursor:pointer}.layui-box,.layui-box *{box-sizing:content-box!important}.layui-border-box,.layui-border-box *{box-sizing:border-box!important}.layui-clear{clear:both;*zoom:1}.layui-clear:after{content:" ";clear:both;*zoom:1;display:block;height:0}.layui-inline{position:relative;display:inline-block;*display:inline;*zoom:1;vertical-align:middle}.layui-edge{position:absolute;width:0;height:0;border-style:dashed;border-color:transparent;overflow:hidden}.layui-elip{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-unselect{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.layui-disabled,.layui-disabled:hover{color:#d2d2d2!important;cursor:not-allowed!important}.layui-circle{border-radius:100%}.layui-show{display:block!important}.layui-hide{display:none!important}.layui-main{position:relative;width:1140px;margin:0 auto}.layui-header{position:relative;z-index:1000;height:60px}.layui-header a:hover{transition:all .5s;-webkit-transition:all .5s}.layui-side{position:fixed;top:0;bottom:0;z-index:999;width:200px;overflow-x:hidden}.layui-side-scroll{width:220px;height:100%;overflow-x:hidden}.layui-body{position:absolute;left:200px;right:0;top:0;bottom:0;z-index:998;width:auto;overflow:hidden;overflow-y:auto;box-sizing:border-box}.layui-layout-admin .layui-header{background-color:#23262e}.layui-layout-admin .layui-side{top:60px;width:200px;overflow-x:hidden}.layui-layout-admin .layui-body{top:60px;bottom:44px}.layui-layout-admin .layui-main{width:auto;margin:0 15px}.layui-layout-admin .layui-footer{position:fixed;left:200px;right:0;bottom:0;height:44px;background-color:#eee}.layui-btn,.layui-input,.layui-select,.layui-textarea,.layui-upload-button{outline:none;transition:border-color .3s cubic-bezier(.65,.05,.35,.5);box-sizing:border-box!important}.layui-elem-quote{margin-bottom:10px;padding:15px;line-height:22px;border-left:5px solid #009688;border-radius:0 2px 2px 0;background-color:#f2f2f2}.layui-quote-nm{border:1px solid #e2e2e2;border-left-width:5px;background:none}.layui-elem-field{margin-bottom:10px;padding:0;border:1px solid #e2e2e2}.layui-elem-field legend{margin-left:20px;padding:0 10px;font-size:20px;font-weight:300}.layui-field-title{margin:10px 0 20px;border:none;border-top:1px solid #e2e2e2}.layui-field-box{padding:10px 15px}.layui-field-title .layui-field-box{padding:10px 0}.layui-progress{position:relative;height:6px;border-radius:20px;background-color:#e2e2e2}.layui-progress-bar{position:absolute;width:0;max-width:100%;height:6px;border-radius:20px;text-align:right;background-color:#5fb878;transition:all .3s;-webkit-transition:all .3s}.layui-progress-big,.layui-progress-big .layui-progress-bar{height:18px;line-height:18px}.layui-progress-text{position:relative;top:-18px;line-height:18px;font-size:12px;color:#666}.layui-progress-big .layui-progress-text{position:static;padding:0 10px;color:#fff}.layui-collapse{border:1px solid #e2e2e2;border-radius:2px}.layui-colla-item{border-top:1px solid #e2e2e2}.layui-colla-item:first-child{border-top:none}.layui-colla-title{position:relative;height:42px;line-height:42px;padding:0 15px 0 35px;color:#333;background-color:#f2f2f2;cursor:pointer}.layui-colla-content{display:none;padding:10px 15px;line-height:22px;border-top:1px solid #e2e2e2;color:#666}.layui-colla-icon{position:absolute;left:15px;top:0;font-size:14px}.layui-bg-red{background-color:#ff5722}.layui-bg-orange{background-color:#f7b824}.layui-bg-green{background-color:#009688}.layui-bg-cyan{background-color:#2f4056}.layui-bg-blue{background-color:#1e9fff}.layui-bg-black{background-color:#393d49}.layui-bg-gray{background-color:#eee}.layui-word-aux{font-size:12px;color:#999;padding:0 5px}.layui-btn{display:inline-block;vertical-align:middle;height:38px;line-height:38px;padding:0 18px;background-color:#009688;color:#fff;white-space:nowrap;text-align:center;font-size:14px;border:none;border-radius:2px;cursor:pointer;opacity:.9;filter:alpha(opacity=90);-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.layui-btn:hover{opacity:.8;filter:alpha(opacity=80);color:#fff}.layui-btn:active{opacity:1;filter:alpha(opacity=100)}.layui-btn+.layui-btn{margin-left:10px}.layui-btn-radius{border-radius:100px}.layui-btn .layui-icon{font-size:18px;vertical-align:bottom}.layui-btn-primary{border:1px solid #c9c9c9;background-color:#fff;color:#555}.layui-btn-primary:hover{border-color:#009688;color:#333}.layui-btn-normal{background-color:#1e9fff}.layui-btn-warm{background-color:#f7b824}.layui-btn-danger{background-color:#ff5722}.layui-btn-disabled,.layui-btn-disabled:active,.layui-btn-disabled:hover{border:1px solid #e6e6e6;background-color:#fbfbfb;color:#c9c9c9;cursor:not-allowed;opacity:1}.layui-btn-big{height:44px;line-height:44px;padding:0 25px;font-size:16px}.layui-btn-small{height:30px;line-height:30px;padding:0 10px;font-size:12px}.layui-btn-small i{font-size:16px!important}.layui-btn-mini{height:22px;line-height:22px;padding:0 5px;font-size:12px}.layui-btn-mini i{font-size:14px!important}.layui-btn-group{display:inline-block;vertical-align:middle;font-size:0}.layui-btn-group .layui-btn{margin-left:0!important;margin-right:0!important;border-left:1px solid hsla(0,0%,100%,.5);border-radius:0}.layui-btn-group .layui-btn-primary{border-left:none}.layui-btn-group .layui-btn-primary:hover{border-color:#c9c9c9;color:#009688}.layui-btn-group .layui-btn:first-child{border-left:none;border-radius:2px 0 0 2px}.layui-btn-group .layui-btn-primary:first-child{border-left:1px solid #c9c9c9}.layui-btn-group .layui-btn:last-child{border-radius:0 2px 2px 0}.layui-btn-group .layui-btn+.layui-btn{margin-left:0}.layui-btn-group+.layui-btn-group{margin-left:10px}.layui-input,.layui-select,.layui-textarea{height:38px;line-height:38px;line-height:36px\\9;border:1px solid #e6e6e6;background-color:#fff;border-radius:2px}.layui-input,.layui-textarea{display:block;width:100%;padding-left:10px}.layui-input:hover,.layui-textarea:hover{border-color:#d2d2d2!important}.layui-input:focus,.layui-textarea:focus{border-color:#c9c9c9!important}.layui-textarea{position:relative;min-height:100px;height:auto;line-height:20px;padding:6px 10px;resize:vertical}.layui-select{padding:0 10px}.layui-form input[type=checkbox],.layui-form input[type=radio],.layui-form select{display:none}.layui-form-item{margin-bottom:15px;clear:both;*zoom:1}.layui-form-item:after{content:" ";clear:both;*zoom:1;display:block;height:0}.layui-form-label{position:relative;float:left;display:block;padding:9px 15px;width:80px;font-weight:400;line-height:20px;text-align:right}.layui-form-item .layui-inline{margin-bottom:5px;margin-right:10px}.layui-input-block,.layui-input-inline{position:relative}.layui-input-block{margin-left:110px;min-height:36px}.layui-input-inline{display:inline-block;vertical-align:middle}.layui-form-item .layui-input-inline{float:left;width:190px;margin-right:10px}.layui-form-text .layui-input-inline{width:auto}.layui-form-mid{position:relative;float:left;display:block;padding:8px 0;line-height:20px;margin-right:10px}.layui-form-danger+.layui-form-select .layui-input,.layui-form-danger:focus{border:1px solid #ff5722!important}.layui-form-select{position:relative}.layui-form-select .layui-input{padding-right:30px;cursor:pointer}.layui-form-select .layui-edge{position:absolute;right:10px;top:50%;margin-top:-3px;cursor:pointer;border-width:6px;border-top-color:#c2c2c2;border-top-style:solid;transition:all .3s;-webkit-transition:all .3s}.layui-form-select dl{display:none;position:absolute;left:0;top:42px;padding:5px 0;z-index:999;min-width:100%;border:1px solid #d2d2d2;max-height:300px;overflow-y:auto;background-color:#fff;border-radius:2px;box-shadow:0 2px 4px rgba(0,0,0,.12);box-sizing:border-box}.layui-form-select dl dd,.layui-form-select dl dt{padding:0 10px;line-height:36px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.layui-form-select dl dt{font-size:12px;color:#999}.layui-form-select dl dd{cursor:pointer}.layui-form-select dl dd:hover{background-color:#f2f2f2}.layui-form-select .layui-select-group dd{padding-left:20px}.layui-form-select dl dd.layui-this{background-color:#5fb878;color:#fff}.layui-form-select dl dd.layui-disabled{background-color:#fff}.layui-form-selected dl{display:block}.layui-form-selected .layui-edge{margin-top:-9px;transform:rotate(180deg);margin-top:-3px \\0}:root .layui-form-selected .layui-edge{margin-top:-9px \\0/IE9}.layui-select-none{margin:5px 0;text-align:center;color:#999}.layui-select-disabled .layui-disabled{border-color:#eee!important}.layui-select-disabled .layui-edge{border-top-color:#d2d2d2}.layui-form-checkbox{position:relative;display:inline-block;vertical-align:middle;height:30px;line-height:28px;margin-right:10px;padding-right:30px;border:1px solid #d2d2d2;background-color:#fff;cursor:pointer;font-size:0;border-radius:2px;transition:.1s linear;box-sizing:border-box!important}.layui-form-checkbox:hover{border:1px solid #c2c2c2}.layui-form-checkbox *{display:inline-block;vertical-align:middle}.layui-form-checkbox span{padding:0 10px;height:100%;font-size:14px;background-color:#d2d2d2;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.layui-form-checkbox:hover span{background-color:#c2c2c2}.layui-form-checkbox i{position:absolute;right:0;width:30px;color:#fff;font-size:20px;text-align:center}.layui-form-checkbox:hover i{color:#c2c2c2}.layui-form-checked,.layui-form-checked:hover{border-color:#5fb878}.layui-form-checked:hover span,.layui-form-checked span{background-color:#5fb878}.layui-form-checked:hover i,.layui-form-checked i{color:#5fb878}.layui-form-item .layui-form-checkbox{margin-top:4px}.layui-form-checkbox[lay-skin=primary]{height:auto!important;line-height:normal!important;border:none!important;margin-right:0;padding-right:0;background:none}.layui-form-checkbox[lay-skin=primary] span{float:right;padding-right:15px;line-height:18px;background:none;color:#666}.layui-form-checkbox[lay-skin=primary] i{position:relative;top:0;width:16px;line-height:16px;border:1px solid #d2d2d2;font-size:12px;border-radius:2px;background-color:#fff;transition:.1s linear}.layui-form-checkbox[lay-skin=primary]:hover i{border-color:#5fb878;color:#fff}.layui-form-checked[lay-skin=primary] i{border-color:#5fb878;background-color:#5fb878;color:#fff}.layui-checkbox-disbaled[lay-skin=primary] span{background:none!important}.layui-checkbox-disbaled[lay-skin=primary]:hover i{border-color:#d2d2d2}.layui-form-item .layui-form-checkbox[lay-skin=primary]{margin-top:10px}.layui-form-switch{position:relative;display:inline-block;vertical-align:middle;height:22px;line-height:22px;width:42px;padding:0 5px;margin-top:8px;border:1px solid #d2d2d2;border-radius:20px;cursor:pointer;background-color:#fff;transition:.1s linear}.layui-form-switch i{position:absolute;left:5px;top:3px;width:16px;height:16px;border-radius:20px;background-color:#d2d2d2;transition:.1s linear}.layui-form-switch em{position:absolute;right:5px;top:0;width:25px;padding:0!important;text-align:center!important;color:#999!important;font-style:normal!important;font-size:12px}.layui-form-onswitch{border-color:#5fb878;background-color:#5fb878}.layui-form-onswitch i{left:32px;background-color:#fff}.layui-form-onswitch em{left:5px;right:auto;color:#fff!important}.layui-checkbox-disbaled{border-color:#e2e2e2!important}.layui-checkbox-disbaled span{background-color:#e2e2e2!important}.layui-checkbox-disbaled:hover i{color:#fff!important}.layui-form-radio{line-height:28px;margin:6px 10px 0 0;padding-right:10px;cursor:pointer;font-size:0}.layui-form-radio,.layui-form-radio *{display:inline-block;vertical-align:middle}.layui-form-radio i{margin-right:8px;font-size:22px;color:#c2c2c2}.layui-form-radio span{font-size:14px}.layui-form-radioed i,.layui-form-radio i:hover{color:#5fb878}.layui-radio-disbaled i{color:#e2e2e2!important}.layui-form-pane .layui-form-label{width:110px;padding:8px 15px;height:38px;line-height:20px;border:1px solid #e6e6e6;border-radius:2px 0 0 2px;text-align:center;background-color:#fbfbfb;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box!important}.layui-form-pane .layui-input-inline{margin-left:-1px}.layui-form-pane .layui-input-block{margin-left:110px;left:-1px}.layui-form-pane .layui-input{border-radius:0 2px 2px 0}.layui-form-pane .layui-form-text .layui-form-label{float:none;width:100%;border-right:1px solid #e6e6e6;border-radius:2px;box-sizing:border-box!important;text-align:left}.layui-form-pane .layui-form-text .layui-input-inline{display:block;margin:0;top:-1px;clear:both}.layui-form-pane .layui-form-text .layui-input-block{margin:0;left:0;top:-1px}.layui-form-pane .layui-form-text .layui-textarea{min-height:100px;border-radius:0 0 2px 2px}.layui-form-pane .layui-form-checkbox{margin:4px 0 4px 10px}.layui-form-pane .layui-form-radio,.layui-form-pane .layui-form-switch{margin-top:6px;margin-left:10px}.layui-form-pane .layui-form-item[pane]{position:relative;border:1px solid #e6e6e6}.layui-form-pane .layui-form-item[pane] .layui-form-label{position:absolute;left:0;top:0;height:100%;border-width:0;border-right-width:1px}.layui-form-pane .layui-form-item[pane] .layui-input-inline{margin-left:110px}.layui-layedit{border:1px solid #d2d2d2;border-radius:2px}.layui-layedit-tool{padding:3px 5px;border-bottom:1px solid #e2e2e2;font-size:0}.layedit-tool-fixed{position:fixed;top:0;border-top:1px solid #e2e2e2}.layui-layedit-tool .layedit-tool-mid,.layui-layedit-tool .layui-icon{display:inline-block;vertical-align:middle;text-align:center;font-size:14px}.layui-layedit-tool .layui-icon{position:relative;width:32px;height:30px;line-height:30px;margin:3px 5px;color:#777;cursor:pointer;border-radius:2px}.layui-layedit-tool .layui-icon:hover{color:#393d49}.layui-layedit-tool .layui-icon:active{color:#000}.layui-layedit-tool .layedit-tool-active{background-color:#e2e2e2;color:#000}.layui-layedit-tool .layui-disabled,.layui-layedit-tool .layui-disabled:hover{color:#d2d2d2;cursor:not-allowed}.layui-layedit-tool .layedit-tool-mid{width:1px;height:18px;margin:0 10px;background-color:#d2d2d2}.layedit-tool-html{width:50px!important;font-size:30px!important}.layedit-tool-b,.layedit-tool-code,.layedit-tool-help{font-size:16px!important}.layedit-tool-d,.layedit-tool-face,.layedit-tool-image,.layedit-tool-unlink{font-size:18px!important}.layedit-tool-image input{position:absolute;font-size:0;left:0;top:0;width:100%;height:100%;opacity:.01;filter:Alpha(opacity=1);cursor:pointer}.layui-layedit-iframe iframe{display:block;width:100%}#LAY_layedit_code{overflow:hidden}.layui-table{width:100%;margin:10px 0;background-color:#fff}.layui-table tr{transition:all .3s;-webkit-transition:all .3s}.layui-table thead tr{background-color:#f2f2f2}.layui-table th{text-align:left}.layui-table td,.layui-table th{padding:9px 15px;min-height:20px;line-height:20px;border:1px solid #e2e2e2;font-size:14px}.layui-table[lay-even] tr:nth-child(2n),.layui-table tr:hover{background-color:#f8f8f8}.layui-table[lay-skin=line],.layui-table[lay-skin=row]{border:1px solid #e2e2e2}.layui-table[lay-skin=line] td,.layui-table[lay-skin=line] th{border:none;border-bottom:1px solid #e2e2e2}.layui-table[lay-skin=row] td,.layui-table[lay-skin=row] th{border:none;border-right:1px solid #e2e2e2}.layui-table[lay-skin=nob] td,.layui-table[lay-skin=nob] th{border:none}.layui-upload-button{position:relative;display:inline-block;vertical-align:middle;min-width:60px;height:38px;line-height:38px;border:1px solid #dfdfdf;border-radius:2px;overflow:hidden;background-color:#fff;color:#666}.layui-upload-button:hover{border:1px solid #aaa;color:#333}.layui-upload-button:active{border:1px solid #4caf50;color:#000}.layui-upload-button input,.layui-upload-file{opacity:.01;filter:Alpha(opacity=1);cursor:pointer}.layui-upload-button input{position:absolute;left:0;top:0;z-index:10;font-size:100px;width:100%;height:100%}.layui-upload-icon{display:block;margin:0 15px;text-align:center}.layui-upload-icon i{margin-right:5px;vertical-align:top;font-size:20px;color:#5fb878}.layui-upload-iframe{position:absolute;width:0;height:0;border:0;visibility:hidden}.layui-upload-enter{border:1px solid #009e94;background-color:#009e94;color:#fff;transform:scale(1.1)}.layui-upload-enter .layui-upload-icon,.layui-upload-enter .layui-upload-icon i{color:#fff}.layui-flow-more{margin:10px 0;text-align:center;color:#999;font-size:14px}.layui-flow-more a{height:32px;line-height:32px}.layui-flow-more a *{display:inline-block;vertical-align:top}.layui-flow-more a cite{padding:0 20px;border-radius:3px;background-color:#eee;color:#333;font-style:normal}.layui-flow-more a cite:hover{opacity:.8}.layui-flow-more a i{font-size:30px;color:#737383}.layui-laypage{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;margin:10px 0;font-size:0}.layui-laypage>:first-child,.layui-laypage>:first-child em{border-radius:2px 0 0 2px}.layui-laypage>:last-child,.layui-laypage>:last-child em{border-radius:0 2px 2px 0}.layui-laypage a,.layui-laypage span{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding:0 15px;border:1px solid #e2e2e2;height:28px;line-height:28px;margin:0 -1px 5px 0;background-color:#fff;color:#333;font-size:12px}.layui-laypage em{font-style:normal}.layui-laypage span{color:#999;font-weight:700}.layui-laypage a{text-decoration:none}.layui-laypage .layui-laypage-curr{position:relative}.layui-laypage .layui-laypage-curr em{position:relative;color:#fff;font-weight:400}.layui-laypage .layui-laypage-curr .layui-laypage-em{position:absolute;left:-1px;top:-1px;padding:1px;width:100%;height:100%;background-color:#009688}.layui-laypage-em{border-radius:2px}.layui-laypage-next em,.layui-laypage-prev em{font-family:Sim sun;font-size:16px}.layui-laypage .layui-laypage-total{height:30px;line-height:30px;margin-left:1px;border:none;font-weight:400}.layui-laypage button,.layui-laypage input{height:30px;line-height:30px;border:1px solid #e2e2e2;border-radius:2px;vertical-align:top;background-color:#fff;box-sizing:border-box!important}.layui-laypage input{width:50px;margin:0 5px;text-align:center}.layui-laypage button{margin-left:5px;padding:0 15px;cursor:pointer}.layui-code{position:relative;margin:10px 0;padding:15px;line-height:20px;border:1px solid #ddd;border-left-width:6px;background-color:#f2f2f2;color:#333;font-family:Courier New;font-size:12px}.layui-tree{line-height:26px}.layui-tree li{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-tree li .layui-tree-spread,.layui-tree li a{display:inline-block;vertical-align:top;height:26px;*display:inline;*zoom:1;cursor:pointer}.layui-tree li a{font-size:0}.layui-tree li a i{font-size:16px}.layui-tree li a cite{padding:0 6px;font-size:14px;font-style:normal}.layui-tree li i{padding-left:6px;color:#333;-moz-user-select:none}.layui-tree li .layui-tree-check{font-size:13px}.layui-tree li .layui-tree-check:hover{color:#009e94}.layui-tree li ul{display:none;margin-left:20px}.layui-tree li .layui-tree-enter{line-height:24px;border:1px dotted #000}.layui-tree-drag{display:none;position:absolute;left:-666px;top:-666px;background-color:#f2f2f2;padding:5px 10px;border:1px dotted #000;white-space:nowrap}.layui-tree-drag i{padding-right:5px}.layui-nav{position:relative;padding:0 20px;background-color:#393d49;color:#c2c2c2;border-radius:2px;font-size:0;box-sizing:border-box!important}.layui-nav *{font-size:14px}.layui-nav .layui-nav-item{position:relative;display:inline-block;*display:inline;*zoom:1;vertical-align:middle;line-height:60px}.layui-nav .layui-nav-item a{display:block;padding:0 20px;color:#c2c2c2;transition:all .3s;-webkit-transition:all .3s}.layui-nav-bar,.layui-nav-tree .layui-nav-itemed:after,.layui-nav .layui-this:after{position:absolute;left:0;top:0;width:0;height:5px;background-color:#5fb878;transition:all .2s;-webkit-transition:all .2s}.layui-nav-bar{z-index:1000}.layui-nav .layui-nav-item a:hover,.layui-nav .layui-this a{color:#fff}.layui-nav .layui-this:after{content:"";top:auto;bottom:0;width:100%}.layui-nav .layui-nav-more{content:"";width:0;height:0;border-style:dashed;border-color:transparent;overflow:hidden;cursor:pointer;transition:all .2s;-webkit-transition:all .2s;position:absolute;top:28px;right:3px;border-width:6px;border-top-style:solid;border-top-color:#c2c2c2}.layui-nav-itemed .layui-nav-more,.layui-nav .layui-nav-mored{top:22px;border-style:dashed;border-color:transparent;border-bottom-style:solid;border-bottom-color:#c2c2c2}.layui-nav-child{display:none;position:absolute;left:0;top:65px;min-width:100%;line-height:36px;padding:5px 0;box-shadow:0 2px 4px rgba(0,0,0,.12);border:1px solid #d2d2d2;background-color:#fff;z-index:100;border-radius:2px;white-space:nowrap}.layui-nav .layui-nav-child a{color:#333}.layui-nav .layui-nav-child a:hover{background-color:#f2f2f2;color:#333}.layui-nav-child dd{position:relative}.layui-nav-child dd.layui-this{background-color:#5fb878;color:#fff}.layui-nav-child dd.layui-this a{color:#fff}.layui-nav-child dd.layui-this:after{display:none}.layui-nav-tree{width:200px;padding:0}.layui-nav-tree .layui-nav-item{display:block;width:100%;line-height:45px}.layui-nav-tree .layui-nav-item a{height:45px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-nav-tree .layui-nav-item a:hover{background-color:#4e5465}.layui-nav-tree .layui-nav-bar{width:5px;height:0}.layui-nav-tree .layui-nav-child dd.layui-this,.layui-nav-tree .layui-this,.layui-nav-tree .layui-this>a,.layui-nav-tree .layui-this>a:hover{background-color:#009688;color:#fff}.layui-nav-tree .layui-this:after{display:none}.layui-nav-itemed>a,.layui-nav-tree .layui-nav-title a,.layui-nav-tree .layui-nav-title a:hover{background-color:#2b2e37!important;color:#fff!important}.layui-nav-tree .layui-nav-bar{background-color:#009688}.layui-nav-tree .layui-nav-child{position:relative;z-index:0;top:0;border:none;box-shadow:none}.layui-nav-tree .layui-nav-child a{height:40px;line-height:40px;color:#c2c2c2}.layui-nav-tree .layui-nav-child,.layui-nav-tree .layui-nav-child a:hover{background:none;color:#fff}.layui-nav-tree .layui-nav-more{top:20px;right:10px}.layui-nav-itemed .layui-nav-more{top:14px}.layui-nav-itemed .layui-nav-child{display:block;padding:0}.layui-nav-side{position:fixed;top:0;bottom:0;left:0;overflow-x:hidden;z-index:999}.layui-breadcrumb{visibility:hidden;font-size:0}.layui-breadcrumb a{padding-right:8px;line-height:22px;font-size:14px;color:#333!important}.layui-breadcrumb a:hover{color:#01aaed!important}.layui-breadcrumb a cite,.layui-breadcrumb a span{color:#666;cursor:text;font-style:normal}.layui-breadcrumb a span{padding-left:8px;font-family:Sim sun}.layui-tab{margin:10px 0;text-align:left!important}.layui-tab[overflow]>.layui-tab-title{overflow:hidden}.layui-tab-title{position:relative;left:0;height:40px;white-space:nowrap;font-size:0;border-bottom:1px solid #e2e2e2}.layui-tab-title,.layui-tab-title li{transition:all .2s;-webkit-transition:all .2s}.layui-tab-title li{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;font-size:14px;position:relative;line-height:40px;min-width:65px;padding:0 10px;text-align:center;cursor:pointer}.layui-tab-title li a{display:block}.layui-tab-title .layui-this{color:#000}.layui-tab-title .layui-this:after{position:absolute;left:0;top:0;content:"";width:100%;height:41px;border:1px solid #e2e2e2;border-bottom-color:#fff;border-radius:2px 2px 0 0;box-sizing:border-box!important;pointer-events:none}.layui-tab-bar{position:absolute;right:0;top:0;z-index:10;width:30px;height:39px;line-height:39px;border:1px solid #e2e2e2;border-radius:2px;text-align:center;background-color:#fff;cursor:pointer}.layui-tab-bar .layui-icon{position:relative;display:inline-block;top:3px;transition:all .3s;-webkit-transition:all .3s}.layui-tab-item{display:none}.layui-tab-more{padding-right:30px;height:auto;white-space:normal}.layui-tab-more li.layui-this:after{border-bottom-color:#e2e2e2;border-radius:2px}.layui-tab-more .layui-tab-bar .layui-icon{top:-2px;top:3px \\0;transform:rotate(180deg)}:root .layui-tab-more .layui-tab-bar .layui-icon{top:-2px \\0/IE9}.layui-tab-content{padding:10px}.layui-tab-title li .layui-tab-close{position:relative;margin-left:8px;top:1px;color:#c2c2c2;transition:all .2s;-webkit-transition:all .2s}.layui-tab-title li .layui-tab-close:hover{border-radius:2px;background-color:#ff5722;color:#fff}.layui-tab-brief>.layui-tab-title .layui-this{color:#009688}.layui-tab-brief>.layui-tab-more li.layui-this:after,.layui-tab-brief>.layui-tab-title .layui-this:after{border:none;border-radius:0;border-bottom:3px solid #5fb878}.layui-tab-brief[overflow]>.layui-tab-title .layui-this:after{top:-1px}.layui-tab-card{border:1px solid #e2e2e2;border-radius:2px;box-shadow:0 2px 5px 0 rgba(0,0,0,.1)}.layui-tab-card>.layui-tab-title{background-color:#f2f2f2}.layui-tab-card>.layui-tab-title li{margin-right:-1px;margin-left:-1px}.layui-tab-card>.layui-tab-title .layui-this{background-color:#fff}.layui-tab-card>.layui-tab-title .layui-this:after{border-top:none;border-width:1px;border-bottom-color:#fff}.layui-tab-card>.layui-tab-title .layui-tab-bar{height:40px;line-height:40px;border-radius:0;border-top:none;border-right:none}.layui-tab-card>.layui-tab-more .layui-this{background:none;color:#5fb878}.layui-tab-card>.layui-tab-more .layui-this:after{border:none}.layui-fixbar{position:fixed;right:15px;bottom:15px;z-index:9999}.layui-fixbar li{width:50px;height:50px;line-height:50px;margin-bottom:1px;text-align:center;cursor:pointer;font-size:30px;background-color:#9f9f9f;color:#fff;border-radius:2px;opacity:.95}.layui-fixbar li:hover{opacity:.85}.layui-fixbar li:active{opacity:1}.layui-fixbar .layui-fixbar-top{display:none;font-size:40px}body .layui-util-face{border:none;background:none}body .layui-util-face .layui-layer-content{padding:0;background-color:#fff;color:#666;box-shadow:none}.layui-util-face .layui-layer-TipsG{display:none}.layui-util-face ul{position:relative;width:372px;padding:10px;border:1px solid #d9d9d9;background-color:#fff;box-shadow:0 0 20px rgba(0,0,0,.2)}.layui-util-face ul li{cursor:pointer;float:left;border:1px solid #e8e8e8;height:22px;width:26px;overflow:hidden;margin:-1px 0 0 -1px;padding:4px 2px;text-align:center}.layui-util-face ul li:hover{position:relative;z-index:2;border:1px solid #eb7350;background:#fff9ec}.layui-anim{animation-duration:.3s;animation-fill-mode:both}.layui-anim-loop{animation-iteration-count:infinite}@keyframes layui-rotate{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.layui-anim-rotate{animation-name:layui-rotate;animation-duration:1s;animation-timing-function:linear}@keyframes layui-up{0%{transform:translate3d(0,100%,0);opacity:.3}to{transform:translateZ(0);opacity:1}}.layui-anim-up{animation-name:layui-up}@keyframes layui-upbit{0%{transform:translate3d(0,30px,0);opacity:.3}to{transform:translateZ(0);opacity:1}}.layui-anim-upbit{animation-name:layui-upbit}@keyframes layui-scale{0%{opacity:.3;transform:scale(.5)}to{opacity:1;transform:scale(1)}}.layui-anim-scale{animation-name:layui-scale}@keyframes layui-scale-spring{0%{opacity:.5;transform:scale(.5)}80%{opacity:.8;transform:scale(1.1)}to{opacity:1;transform:scale(1)}}.layui-anim-scaleSpring{animation-name:layui-scale-spring}@media screen and (max-width:450px){.layui-form-item .layui-form-label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-form-item .layui-inline{display:block;margin-right:0;margin-bottom:20px;clear:both}.layui-form-item .layui-inline:after{content:" ";clear:both;display:block;height:0}.layui-form-item .layui-input-inline{display:block;float:none;left:-3px;width:auto;margin:0 0 10px 112px}.layui-form-item .layui-input-inline+.layui-form-mid{margin-left:110px;top:-5px;padding:0}.layui-form-item .layui-form-checkbox{margin-right:5px;margin-bottom:5px}}',""])},function(t,e,i){t.exports=i.p+"d58bf22f34c65a5dff8830499b596557.eot"},function(t,e,i){t.exports=i.p+"./assets/fonts/d38a749ca71879d5f4b10d390907fa99.svg"},function(t,e,i){t.exports=i.p+"./assets/fonts/1606f4978a0d74d01c658b4f2ccc45dc.woff"},function(t,e,i){t.exports=i.p+"./assets/fonts/110b98bbdc5b0e8622e2051c63231e16.ttf"}]);; })();