diff --git a/_src/common/js/global.js b/_src/common/js/global.js index a523550..c8bc0b7 100644 --- a/_src/common/js/global.js +++ b/_src/common/js/global.js @@ -98,7 +98,7 @@ $('[data-toggle="btn-popup-close"]').click(function(e){ /** * SNS 공유 */ -$("a[data-toggle='sns-share']").click(function(e){ +$("a[data-toggle='sns-share']").not('[data-service="link"]').click(function(e){ e.preventDefault(); var _this = $(this); @@ -140,4 +140,15 @@ $("a[data-toggle='sns-share']").click(function(e){ } APP.POPUP({ url : loc}); return false; +}); + +$(function(){ + var clipboard = new ClipboardJS('a[data-toggle="sns-share"][data-service="link"]', { + text: function(trigger) { + return trigger.getAttribute('data-url'); + } + }); + clipboard.on('success', function(){ + alert('현재 URL이 복사되었습니다.'); + }); }); \ No newline at end of file diff --git a/_src/desktop/scss/pages/_social.scss b/_src/desktop/scss/pages/_social.scss index 30b8820..aaef19b 100644 --- a/_src/desktop/scss/pages/_social.scss +++ b/_src/desktop/scss/pages/_social.scss @@ -5,57 +5,54 @@ background-color:#fff; .sns-share-list { + @include display-flex(); + justify-content: center; + align-items: center; + margin:0 auto; + flex-wrap:wrap; + padding:0; margin:0; - padding:0px; - list-style:none; - white-space:nowrap; - display:inline-block; - vertical-align:middle; - height:32px; - float:right; - - &:after { - clear:both; content:''; display:table; - } li { - display:block; width:32px; height:32px; float:left; + display:block; + padding:0px 5px; - + li { - margin-left:5px; + @media screen and (max-width:$break-desktop) { + width:25%; + margin-bottom:15px; } - - a { - display:block; - width:32px; - height:32px; - text-indent:-9999px; - overflow:hidden; - background-image:url('../images/social/sns_buttons.png'); - background-repeat:no-repeat; - background-size:cover; - - &[data-service="facebook"] { - background-position-x:0px; - } - - &[data-service="google"] { - background-position-x:-32px; - } - &[data-service="kakaostory"] { - background-position-x:-64px; - } - &[data-service="band"] { - background-position-x:-96px; - } - &[data-service="naver"] { - background-position-x:-128px; - } - - } // a - - } // li - - } // .sns-share-list + } + [data-toggle="sns-share"] { + text-indent:-9999px; + width:40px; + height:40px; + display:block; + margin:auto; + } + [data-toggle="sns-share"][data-service="pinterest"] { + background-image:url(../images/social/sns_pinterest.png); + } + [data-toggle="sns-share"][data-service="facebook"] { + background-image:url(../images/social/sns_facebook.png); + } + [data-toggle="sns-share"][data-service="google"] { + background-image:url(../images/social/sns_google.png); + } + [data-toggle="sns-share"][data-service="band"] { + background-image:url(../images/social/sns_band.png); + } + [data-toggle="sns-share"][data-service="kakaostory"] { + background-image:url(../images/social/sns_kakao.png); + } + [data-toggle="sns-share"][data-service="naver"] { + background-image:url(../images/social/sns_naver.png); + } + [data-toggle="sns-share"][data-service="line"] { + background-image:url(../images/social/sns_line.png); + } + [data-toggle="sns-share"][data-service="link"] { + background-image:url(../images/social/sns_link.png); + } + } } //.sns-share-wrap \ No newline at end of file diff --git a/gulpfile.js b/gulpfile.js index c9e1497..5bf17dc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -40,6 +40,7 @@ var theme = { ] }, commonJs : [ + "node_modules/clipboard/dist/clipboard.js", "_src/plugins/jquery-blockUI/jquery.blockUI.js", "_src/plugins/jquery-cookie/jquery.cookie.js", "_src/plugins/toastr/toastr.js", diff --git a/package-lock.json b/package-lock.json index 945b0ab..c450ce7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,6 +4,43 @@ "lockfileVersion": 1, "requires": true, "dependencies": { + "clipboard": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/clipboard/-/clipboard-2.0.1.tgz", + "integrity": "sha512-7yhQBmtN+uYZmfRjjVjKa0dZdWuabzpSKGtyQZN+9C8xlC788SSJjOHWh7tzurfwTqTD5UDYAhIv5fRJg3sHjQ==", + "requires": { + "good-listener": "1.2.2", + "select": "1.1.2", + "tiny-emitter": "2.0.2" + }, + "dependencies": { + "good-listener": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/good-listener/-/good-listener-1.2.2.tgz", + "integrity": "sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=", + "requires": { + "delegate": "3.2.0" + }, + "dependencies": { + "delegate": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/delegate/-/delegate-3.2.0.tgz", + "integrity": "sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw==" + } + } + }, + "select": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/select/-/select-1.1.2.tgz", + "integrity": "sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=" + }, + "tiny-emitter": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/tiny-emitter/-/tiny-emitter-2.0.2.tgz", + "integrity": "sha512-2NM0auVBGft5tee/OxP4PI3d8WItkDM+fPnaRAVo6xTDI2knbz9eC5ArWGqtGlYqiH3RU5yMpdyTTO7MguC4ow==" + } + } + }, "gulp": { "version": "3.9.1", "resolved": "https://registry.npmjs.org/gulp/-/gulp-3.9.1.tgz", diff --git a/package.json b/package.json index 1eb968e..3188cfd 100644 --- a/package.json +++ b/package.json @@ -20,5 +20,7 @@ "gulp-sass": "^3.2.1", "gulp-size": "^3.0.0" }, - "dependencies": {} + "dependencies": { + "clipboard": "^2.0.1" + } } diff --git a/public_html/assets/css/desktop.min.css b/public_html/assets/css/desktop.min.css index 564cb8e..c1b3212 100644 --- a/public_html/assets/css/desktop.min.css +++ b/public_html/assets/css/desktop.min.css @@ -1 +1 @@ -@charset "UTF-8";*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:나눔고딕,NanumGothic,NanumGothicWeb,"나눔 고딕",sans-serif;font-size:16px;font-weight:400;line-height:1.5em;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin:0;font-family:나눔고딕,NanumGothic,NanumGothicWeb,"나눔 고딕",sans-serif}p{margin:0}abbr[data-original-title],abbr[title]{text-decoration:underline;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin:0;font-style:normal;line-height:inherit}dl,ol,ul{margin:0}ol ol,ol ul,ul ol,ul ul{margin:0}dt{font-weight:400}dd{margin:0}blockquote{margin:0}dfn{font-style:italic}b,strong{font-weight:700}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#212529;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#282828;text-decoration:none}a:not([href]):not([tabindedx]){color:inherit;text-decoration:none}a:not([href]):not([tabindedx]):focus,a:not([href]):not([tabindedx]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindedx]):focus{outline:0}code,kbd,pre,samp{font-family:나눔고딕,NanumGothic,NanumGothicWeb,"나눔 고딕",sans-serif;font-size:1em}pre{margin:0;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#212529;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin:0}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin:0;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only.sr-only-focusable:active,.sr-only.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.clearfix,.clearfix:after,.clearfix:before{display:block;clear:both;content:""}.H10{height:10px!important}.H15{height:15px!important}.H20{height:20px!important}.H25{height:25px!important}.H30{height:30px!important}.H35{height:35px!important}.H40{height:40px!important}.H45{height:45px!important}.W50{width:50px!important}.W75{width:75px!important}.W100{width:100px!important}.W125{width:125px!important}.W150{width:150px!important}.W175{width:175px!important}.W200{width:200px!important}.W225{width:225px!important}.W250{width:250px!important}.W275{width:275px!important}.W300{width:300px!important}.W325{width:325px!important}.W350{width:350px!important}.W375{width:375px!important}.W400{width:400px!important}.W425{width:425px!important}.W450{width:450px!important}.W475{width:475px!important}.M5{margin:5px}.MT5{margin-top:5px}.MR5{margin-right:5px}.MB5{margin-bottom:5px}.ML5{margin-left:5px}.PT5{padding-top:5px}.PR5{padding-right:5px}.PB5{padding-bottom:5px}.PL5{padding-left:5px}.P5{padding:5px}.M10{margin:10px}.MT10{margin-top:10px}.MR10{margin-right:10px}.MB10{margin-bottom:10px}.ML10{margin-left:10px}.PT10{padding-top:10px}.PR10{padding-right:10px}.PB10{padding-bottom:10px}.PL10{padding-left:10px}.P10{padding:10px}.M15{margin:15px}.MT15{margin-top:15px}.MR15{margin-right:15px}.MB15{margin-bottom:15px}.ML15{margin-left:15px}.PT15{padding-top:15px}.PR15{padding-right:15px}.PB15{padding-bottom:15px}.PL15{padding-left:15px}.P15{padding:15px}.M20{margin:20px}.MT20{margin-top:20px}.MR20{margin-right:20px}.MB20{margin-bottom:20px}.ML20{margin-left:20px}.PT20{padding-top:20px}.PR20{padding-right:20px}.PB20{padding-bottom:20px}.PL20{padding-left:20px}.P20{padding:20px}.M25{margin:25px}.MT25{margin-top:25px}.MR25{margin-right:25px}.MB25{margin-bottom:25px}.ML25{margin-left:25px}.PT25{padding-top:25px}.PR25{padding-right:25px}.PB25{padding-bottom:25px}.PL25{padding-left:25px}.P25{padding:25px}.M30{margin:30px}.MT30{margin-top:30px}.MR30{margin-right:30px}.MB30{margin-bottom:30px}.ML30{margin-left:30px}.PT30{padding-top:30px}.PR30{padding-right:30px}.PB30{padding-bottom:30px}.PL30{padding-left:30px}.P30{padding:30px}.M35{margin:35px}.MT35{margin-top:35px}.MR35{margin-right:35px}.MB35{margin-bottom:35px}.ML35{margin-left:35px}.PT35{padding-top:35px}.PR35{padding-right:35px}.PB35{padding-bottom:35px}.PL35{padding-left:35px}.P35{padding:35px}.M40{margin:40px}.MT40{margin-top:40px}.MR40{margin-right:40px}.MB40{margin-bottom:40px}.ML40{margin-left:40px}.PT40{padding-top:40px}.PR40{padding-right:40px}.PB40{padding-bottom:40px}.PL40{padding-left:40px}.P40{padding:40px}.M45{margin:45px}.MT45{margin-top:45px}.MR45{margin-right:45px}.MB45{margin-bottom:45px}.ML45{margin-left:45px}.PT45{padding-top:45px}.PR45{padding-right:45px}.PB45{padding-bottom:45px}.PL45{padding-left:45px}.P45{padding:45px}.pop-layer{position:fixed;top:50%;left:50%;z-index:1000;background:#fff}.pop-layer .pop-content{border:1px solid #ddd}.pop-layer .pop-footer{width:100%;background:#282828;height:30px;text-align:right;padding:0 15px}.pop-layer .pop-footer [data-toggle=btn-popup-close]{display:inline-block;line-height:30px;color:#fff}.pop-layer .pop-footer [data-toggle=btn-popup-close]:hover{color:#d0d0d0}.pop-layer .pop-footer [data-toggle=btn-popup-close]+.pop-layer .pop-footer [data-toggle=btn-popup-close]{margin-left:30px}.toast-title{font-weight:700}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}#toast-container{position:fixed;z-index:999999;pointer-events:none}#toast-container *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#toast-container>div{position:relative;pointer-events:auto;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;-moz-border-radius:3px 3px 3px 3px;-webkit-border-radius:3px 3px 3px 3px;border-radius:3px 3px 3px 3px;background-position:15px center;background-repeat:no-repeat;-moz-box-shadow:0 0 12px #999;-webkit-box-shadow:0 0 12px #999;box-shadow:0 0 12px #999;color:#fff;opacity:.8}#toast-container>:hover{-moz-box-shadow:0 0 12px #000;-webkit-box-shadow:0 0 12px #000;box-shadow:0 0 12px #000;opacity:1;cursor:pointer}#toast-container>.toast-info{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=)!important}#toast-container>.toast-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=)!important}#toast-container>.toast-success{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important}#toast-container>.toast-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=)!important}#toast-container.toast-top-center{top:0;right:0;width:100%}#toast-container.toast-bottom-center{bottom:0;right:0;width:100%}#toast-container.toast-top-full-width{top:0;right:0;width:100%}#toast-container.toast-bottom-full-width{bottom:0;right:0;width:100%}#toast-container.toast-top-left{top:12px;left:12px}#toast-container.toast-top-right{top:12px;right:12px}#toast-container.toast-bottom-right{right:12px;bottom:12px}#toast-container.toast-bottom-left{bottom:12px;left:12px}#toast-container.toast-bottom-center>div,#toast-container.toast-top-center>div{width:300px;margin-left:auto;margin-right:auto}#toast-container.toast-bottom-full-width>div,#toast-container.toast-top-full-width>div{width:96%;margin-left:auto;margin-right:auto}.toast{background-color:#030303}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width:240px){#toast-container>div{padding:8px 8px 8px 50px;width:11em}#toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width:241px) and (max-width:480px){#toast-container>div{padding:8px 8px 8px 50px;width:18em}#toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width:481px) and (max-width:768px){#toast-container>div{padding:15px 15px 15px 50px;width:25em}}/*! Font Awesome Pro 5.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) */.fa,.fab,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:solid .08em #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fa-rotate-90{transform:rotate(90deg)}.fa-rotate-180{transform:rotate(180deg)}.fa-rotate-270{transform:rotate(270deg)}.fa-flip-horizontal{transform:scale(-1,1)}.fa-flip-vertical{transform:scale(1,-1)}.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1,-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-rotate-90{filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-alarm-clock:before{content:"\f34e"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-alt-down:before{content:"\f354"}.fa-arrow-alt-from-bottom:before{content:"\f346"}.fa-arrow-alt-from-left:before{content:"\f347"}.fa-arrow-alt-from-right:before{content:"\f348"}.fa-arrow-alt-from-top:before{content:"\f349"}.fa-arrow-alt-left:before{content:"\f355"}.fa-arrow-alt-right:before{content:"\f356"}.fa-arrow-alt-square-down:before{content:"\f350"}.fa-arrow-alt-square-left:before{content:"\f351"}.fa-arrow-alt-square-right:before{content:"\f352"}.fa-arrow-alt-square-up:before{content:"\f353"}.fa-arrow-alt-to-bottom:before{content:"\f34a"}.fa-arrow-alt-to-left:before{content:"\f34b"}.fa-arrow-alt-to-right:before{content:"\f34c"}.fa-arrow-alt-to-top:before{content:"\f34d"}.fa-arrow-alt-up:before{content:"\f357"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-from-bottom:before{content:"\f342"}.fa-arrow-from-left:before{content:"\f343"}.fa-arrow-from-right:before{content:"\f344"}.fa-arrow-from-top:before{content:"\f345"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-square-down:before{content:"\f339"}.fa-arrow-square-left:before{content:"\f33a"}.fa-arrow-square-right:before{content:"\f33b"}.fa-arrow-square-up:before{content:"\f33c"}.fa-arrow-to-bottom:before{content:"\f33d"}.fa-arrow-to-left:before{content:"\f33e"}.fa-arrow-to-right:before{content:"\f340"}.fa-arrow-to-top:before{content:"\f341"}.fa-arrow-up:before{content:"\f062"}.fa-arrows:before{content:"\f047"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-arrows-h:before{content:"\f07e"}.fa-arrows-v:before{content:"\f07d"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-badge:before{content:"\f335"}.fa-badge-check:before{content:"\f336"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-barcode-alt:before{content:"\f463"}.fa-barcode-read:before{content:"\f464"}.fa-barcode-scan:before{content:"\f465"}.fa-bars:before{content:"\f0c9"}.fa-baseball:before{content:"\f432"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-basketball-hoop:before{content:"\f435"}.fa-bath:before{content:"\f2cd"}.fa-battery-bolt:before{content:"\f376"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-slash:before{content:"\f377"}.fa-battery-three-quarters:before{content:"\f241"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bicycle:before{content:"\f206"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blanket:before{content:"\f498"}.fa-blender:before{content:"\f517"}.fa-blind:before{content:"\f29d"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-heart:before{content:"\f499"}.fa-book-open:before{content:"\f518"}.fa-bookmark:before{content:"\f02e"}.fa-bowling-ball:before{content:"\f436"}.fa-bowling-pins:before{content:"\f437"}.fa-box:before{content:"\f466"}.fa-box-alt:before{content:"\f49a"}.fa-box-check:before{content:"\f467"}.fa-box-fragile:before{content:"\f49b"}.fa-box-full:before{content:"\f49c"}.fa-box-heart:before{content:"\f49d"}.fa-box-open:before{content:"\f49e"}.fa-box-up:before{content:"\f49f"}.fa-box-usd:before{content:"\f4a0"}.fa-boxes:before{content:"\f468"}.fa-boxes-alt:before{content:"\f4a1"}.fa-boxing-glove:before{content:"\f438"}.fa-braille:before{content:"\f2a1"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-browser:before{content:"\f37e"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-edit:before{content:"\f333"}.fa-calendar-exclamation:before{content:"\f334"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-camera:before{content:"\f030"}.fa-camera-alt:before{content:"\f332"}.fa-camera-retro:before{content:"\f083"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-caret-circle-down:before{content:"\f32d"}.fa-caret-circle-left:before{content:"\f32e"}.fa-caret-circle-right:before{content:"\f330"}.fa-caret-circle-up:before{content:"\f331"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-certificate:before{content:"\f0a3"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-bishop-alt:before{content:"\f43b"}.fa-chess-board:before{content:"\f43c"}.fa-chess-clock:before{content:"\f43d"}.fa-chess-clock-alt:before{content:"\f43e"}.fa-chess-king:before{content:"\f43f"}.fa-chess-king-alt:before{content:"\f440"}.fa-chess-knight:before{content:"\f441"}.fa-chess-knight-alt:before{content:"\f442"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-pawn-alt:before{content:"\f444"}.fa-chess-queen:before{content:"\f445"}.fa-chess-queen-alt:before{content:"\f446"}.fa-chess-rook:before{content:"\f447"}.fa-chess-rook-alt:before{content:"\f448"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-double-down:before{content:"\f322"}.fa-chevron-double-left:before{content:"\f323"}.fa-chevron-double-right:before{content:"\f324"}.fa-chevron-double-up:before{content:"\f325"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-square-down:before{content:"\f329"}.fa-chevron-square-left:before{content:"\f32a"}.fa-chevron-square-right:before{content:"\f32b"}.fa-chevron-square-up:before{content:"\f32c"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-upload:before{content:"\f0ee"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-club:before{content:"\f327"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-code-commit:before{content:"\f386"}.fa-code-merge:before{content:"\f387"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-alt-check:before{content:"\f4a2"}.fa-comment-alt-dots:before{content:"\f4a3"}.fa-comment-alt-edit:before{content:"\f4a4"}.fa-comment-alt-exclamation:before{content:"\f4a5"}.fa-comment-alt-lines:before{content:"\f4a6"}.fa-comment-alt-minus:before{content:"\f4a7"}.fa-comment-alt-plus:before{content:"\f4a8"}.fa-comment-alt-slash:before{content:"\f4a9"}.fa-comment-alt-smile:before{content:"\f4aa"}.fa-comment-alt-times:before{content:"\f4ab"}.fa-comment-check:before{content:"\f4ac"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-edit:before{content:"\f4ae"}.fa-comment-exclamation:before{content:"\f4af"}.fa-comment-lines:before{content:"\f4b0"}.fa-comment-minus:before{content:"\f4b1"}.fa-comment-plus:before{content:"\f4b2"}.fa-comment-slash:before{content:"\f4b3"}.fa-comment-smile:before{content:"\f4b4"}.fa-comment-times:before{content:"\f4b5"}.fa-comments:before{content:"\f086"}.fa-comments-alt:before{content:"\f4b6"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-wide:before{content:"\f326"}.fa-concierge-bell:before{content:"\f562"}.fa-connectdevelop:before{content:"\f20e"}.fa-container-storage:before{content:"\f4b7"}.fa-contao:before{content:"\f26d"}.fa-conveyor-belt:before{content:"\f46e"}.fa-conveyor-belt-alt:before{content:"\f46f"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-credit-card-blank:before{content:"\f389"}.fa-credit-card-front:before{content:"\f38a"}.fa-cricket:before{content:"\f449"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-curling:before{content:"\f44a"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-desktop-alt:before{content:"\f390"}.fa-deviantart:before{content:"\f1bd"}.fa-diagnoses:before{content:"\f470"}.fa-diamond:before{content:"\f219"}.fa-dice:before{content:"\f522"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-empty:before{content:"\f473"}.fa-dolly-flatbed:before{content:"\f474"}.fa-dolly-flatbed-alt:before{content:"\f475"}.fa-dolly-flatbed-empty:before{content:"\f476"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-h-alt:before{content:"\f39b"}.fa-ellipsis-v:before{content:"\f142"}.fa-ellipsis-v-alt:before{content:"\f39c"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-exchange:before{content:"\f0ec"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-square:before{content:"\f321"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-alt:before{content:"\f424"}.fa-expand-arrows:before{content:"\f31d"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expand-wide:before{content:"\f320"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link:before{content:"\f08e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square:before{content:"\f14c"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-female:before{content:"\f182"}.fa-field-hockey:before{content:"\f44c"}.fa-fighter-jet:before{content:"\f0fb"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-check:before{content:"\f316"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-download:before{content:"\f56d"}.fa-file-edit:before{content:"\f31c"}.fa-file-excel:before{content:"\f1c3"}.fa-file-exclamation:before{content:"\f31a"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-minus:before{content:"\f318"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-plus:before{content:"\f319"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-times:before{content:"\f317"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-film-alt:before{content:"\f3a0"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-football-helmet:before{content:"\f44f"}.fa-forklift:before{content:"\f47a"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-fragile:before{content:"\f4bb"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-gift:before{content:"\f06b"}.fa-git:before{content:"\f1d3"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-golf-club:before{content:"\f451"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-h1:before{content:"\f313"}.fa-h2:before{content:"\f314"}.fa-h3:before{content:"\f315"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hand-heart:before{content:"\f4bc"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-box:before{content:"\f47b"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-seedling:before{content:"\f4bf"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-holding-water:before{content:"\f4c1"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-receiving:before{content:"\f47c"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-heart:before{content:"\f4c3"}.fa-hands-helping:before{content:"\f4c4"}.fa-hands-usd:before{content:"\f4c5"}.fa-handshake:before{content:"\f2b5"}.fa-handshake-alt:before{content:"\f4c6"}.fa-hashtag:before{content:"\f292"}.fa-hdd:before{content:"\f0a0"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-circle:before{content:"\f4c7"}.fa-heart-square:before{content:"\f4c8"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-hexagon:before{content:"\f312"}.fa-highlighter:before{content:"\f591"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hockey-puck:before{content:"\f453"}.fa-hockey-sticks:before{content:"\f454"}.fa-home:before{content:"\f015"}.fa-home-heart:before{content:"\f4c9"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hot-tub:before{content:"\f593"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-houzz:before{content:"\f27c"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-inbox-in:before{content:"\f310"}.fa-inbox-out:before{content:"\f311"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-industry-alt:before{content:"\f3b3"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-info-square:before{content:"\f30f"}.fa-instagram:before{content:"\f16d"}.fa-internet-explorer:before{content:"\f26b"}.fa-inventory:before{content:"\f480"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-jack-o-lantern:before{content:"\f30e"}.fa-java:before{content:"\f4e4"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-lamp:before{content:"\f4ca"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-leaf:before{content:"\f06c"}.fa-leaf-heart:before{content:"\f4cb"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down:before{content:"\f149"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up:before{content:"\f148"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-alt:before{content:"\f30d"}.fa-lock-open:before{content:"\f3c1"}.fa-lock-open-alt:before{content:"\f3c2"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-long-arrow-up:before{content:"\f176"}.fa-loveseat:before{content:"\f4cc"}.fa-low-vision:before{content:"\f2a8"}.fa-luchador:before{content:"\f455"}.fa-luggage-cart:before{content:"\f59d"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mercury:before{content:"\f223"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-hexagon:before{content:"\f307"}.fa-minus-octagon:before{content:"\f308"}.fa-minus-square:before{content:"\f146"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-mobile-android:before{content:"\f3ce"}.fa-mobile-android-alt:before{content:"\f3cf"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-motorcycle:before{content:"\f21c"}.fa-mouse-pointer:before{content:"\f245"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-nintendo-switch:before{content:"\f418"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-octagon:before{content:"\f306"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-old-republic:before{content:"\f510"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-osi:before{content:"\f41a"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-brush-alt:before{content:"\f5a9"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-pallet-alt:before{content:"\f483"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil:before{content:"\f040"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-pennant:before{content:"\f456"}.fa-people-carry:before{content:"\f4ce"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-carry:before{content:"\f4cf"}.fa-person-dolly:before{content:"\f4d0"}.fa-person-dolly-empty:before{content:"\f4d1"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-plus:before{content:"\f4d2"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-volume:before{content:"\f2a0"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-plane:before{content:"\f072"}.fa-plane-alt:before{content:"\f3de"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-hexagon:before{content:"\f300"}.fa-plus-octagon:before{content:"\f301"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poo:before{content:"\f2fe"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-question-square:before{content:"\f2fd"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-r-project:before{content:"\f4f7"}.fa-racquet:before{content:"\f45a"}.fa-ramp-loading:before{content:"\f4d4"}.fa-random:before{content:"\f074"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-rectangle-landscape:before{content:"\f2fa"}.fa-rectangle-portrait:before{content:"\f2fb"}.fa-rectangle-wide:before{content:"\f2fc"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-rendact:before{content:"\f3e4"}.fa-renren:before{content:"\f18b"}.fa-repeat:before{content:"\f363"}.fa-repeat-1:before{content:"\f365"}.fa-repeat-1-alt:before{content:"\f366"}.fa-repeat-alt:before{content:"\f364"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-retweet:before{content:"\f079"}.fa-retweet-alt:before{content:"\f361"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-rupee-sign:before{content:"\f156"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-sass:before{content:"\f41e"}.fa-save:before{content:"\f0c7"}.fa-scanner:before{content:"\f488"}.fa-scanner-keyboard:before{content:"\f489"}.fa-scanner-touchscreen:before{content:"\f48a"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scrubber:before{content:"\f2f8"}.fa-search:before{content:"\f002"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-share:before{content:"\f064"}.fa-share-all:before{content:"\f367"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield:before{content:"\f132"}.fa-shield-alt:before{content:"\f3ed"}.fa-shield-check:before{content:"\f2f7"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shipping-timed:before{content:"\f48c"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-shuttlecock:before{content:"\f45b"}.fa-sign:before{content:"\f4d9"}.fa-sign-in:before{content:"\f090"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out:before{content:"\f08b"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skull:before{content:"\f54c"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-sliders-h:before{content:"\f1de"}.fa-sliders-h-square:before{content:"\f3f0"}.fa-sliders-v:before{content:"\f3f1"}.fa-sliders-v-square:before{content:"\f3f2"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-plus:before{content:"\f5b9"}.fa-smile-wink:before{content:"\f4da"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowflake:before{content:"\f2dc"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-spade:before{content:"\f2f4"}.fa-speakap:before{content:"\f3f3"}.fa-spinner:before{content:"\f110"}.fa-spinner-third:before{content:"\f3f4"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-exclamation:before{content:"\f2f3"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-swatchbook:before{content:"\f5c3"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablet-android:before{content:"\f3fb"}.fa-tablet-android-alt:before{content:"\f3fc"}.fa-tablet-rugged:before{content:"\f48f"}.fa-tablets:before{content:"\f490"}.fa-tachometer:before{content:"\f0e4"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tennis-ball:before{content:"\f45e"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket:before{content:"\f145"}.fa-ticket-alt:before{content:"\f3ff"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-times-hexagon:before{content:"\f2ee"}.fa-times-octagon:before{content:"\f2f0"}.fa-times-square:before{content:"\f2d3"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toolbox:before{content:"\f552"}.fa-tooth:before{content:"\f5c9"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-train:before{content:"\f238"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-tree:before{content:"\f1bb"}.fa-tree-alt:before{content:"\f400"}.fa-trello:before{content:"\f181"}.fa-triangle:before{content:"\f2ec"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-trophy-alt:before{content:"\f2eb"}.fa-truck:before{content:"\f0d1"}.fa-truck-container:before{content:"\f4dc"}.fa-truck-couch:before{content:"\f4dd"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-ramp:before{content:"\f4e0"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-tv-retro:before{content:"\f401"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-uikit:before{content:"\f403"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-usb:before{content:"\f287"}.fa-usd-circle:before{content:"\f2e8"}.fa-usd-square:before{content:"\f2e9"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-fork:before{content:"\f2e3"}.fa-utensil-knife:before{content:"\f2e4"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-utensils-alt:before{content:"\f2e6"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-plus:before{content:"\f4e1"}.fa-video-slash:before{content:"\f4e2"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f2e2"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-warehouse-alt:before{content:"\f495"}.fa-watch:before{content:"\f2e1"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whistle:before{content:"\f460"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-window:before{content:"\f40e"}.fa-window-alt:before{content:"\f40f"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:'Font Awesome 5 Pro';font-style:normal;font-weight:400;src:url(../fonts/fa-regular-400.eot);src:url(../fonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-regular-400.woff2) format("woff2"),url(../fonts/fa-regular-400.woff) format("woff"),url(../fonts/fa-regular-400.ttf) format("truetype"),url(../fonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-family:'Font Awesome 5 Pro';font-weight:400}@font-face{font-family:'Font Awesome 5 Pro';font-style:normal;font-weight:300;src:url(../fonts/fa-light-300.eot);src:url(../fonts/fa-light-300.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-light-300.woff2) format("woff2"),url(../fonts/fa-light-300.woff) format("woff"),url(../fonts/fa-light-300.ttf) format("truetype"),url(../fonts/fa-light-300.svg#fontawesome) format("svg")}.fal{font-family:'Font Awesome 5 Pro';font-weight:300}@font-face{font-family:'Font Awesome 5 Pro';font-style:normal;font-weight:900;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../fonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.fas{font-family:'Font Awesome 5 Pro';font-weight:900}@font-face{font-family:'Font Awesome 5 Brands';font-style:normal;font-weight:400;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../fonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:'Font Awesome 5 Brands'}#skin-board-basic .board-category{margin:0;padding:0;list-style:none;font-size:0;padding:15px;background:#fff;border:1px solid #ccc}#skin-board-basic .board-category>li{display:inline-block;vertical-align:top}#skin-board-basic .board-category>li+li{margin-left:15px}#skin-board-basic .board-category>li a{color:#282828;text-decoration:none;text-align:center;display:block}#skin-board-basic .board-category>li a:hover{color:#989898}#skin-board-basic .board-category>li>a{font-size:16px;border-bottom:1px solid #ccc;padding:5px 12px}#skin-board-basic .board-category>li>ul{margin:0;padding:0;list-style:none}#skin-board-basic .board-category>li>ul>li{display:block}#skin-board-basic .board-category>li>ul>li>a{font-size:14px;padding:3px 6px}#skin-board-basic .post-info dl{display:inline-block}#skin-board-basic .post-info dl dd,#skin-board-basic .post-info dl dt{display:inline-block}#skin-board-basic .post-info dl+dl:before{display:inline-block;content:'';width:1px;height:8px;background:#ccc;margin:0 5px}#login-form{width:100%;height:100%;padding:20px 0}#login-form,#login-form *{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}#login-form .login-wrap{width:300px;margin:20px auto;border:1px solid #282828}#login-form .login-wrap .login{background-color:#fff;padding:20px;border-radius:5px}#login-form .login-wrap .login header h1{text-align:center;color:#777;font-size:1.67em;margin:.67em 0}#login-form .login-wrap .login legend{display:none}#login-form .login-wrap .login .login-form{text-align:center}#login-form .login-wrap .login .login-form .control-group{margin-bottom:10px}#login-form .login-wrap .login .login-form .control-group:after{display:block;clear:both;content:""}#login-form .login-wrap .login .login-form .control-group>label{display:none}#login-form .login-wrap .login .login-form .control-group>input{text-align:center;background-color:#ecf0f1;border:2px solid transparent;border-radius:3px;font-size:16px;font-weight:200;padding:10px 0;width:250px;transition:border .5s}#login-form .login-wrap .login .login-form .control-group>input:focus{border:2px solid #282828;box-shadow:none}#login-form .login-wrap .login .login-form .control-group .checkbox{text-align:left}#login-form .login-wrap .login .login-form .btn{display:inline-block;margin:0;font-weight:400;text-align:center;white-space:nowrap;user-select:none;text-decoration:none;outline:0;vertical-align:middle;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-ms-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;border:2px solid transparent;background:#282828;color:#fff;font-size:16px;line-height:25px;padding:10px 0;text-shadow:none;border-radius:3px;box-shadow:none;transition:.25s;display:block;width:250px;margin:0 auto}#login-form .login-wrap .login .login-form .btn.disabled,#login-form .login-wrap .login .login-form .btn:disabled{opacity:.65}#login-form .login-wrap .login .login-form .btn:not([disabled]):not(.disabled){cursor:pointer}#login-form .login-wrap .login .login-form .btn:hover{background-color:#282828}#login-form .login-wrap .login .login-form .social-login{margin:15px 0 0 0;padding:0;list-style:none}#login-form .login-wrap .login .login-form .social-login,#login-form .login-wrap .login .login-form .social-login li{font-size:0}#login-form .login-wrap .login .login-form .social-login li,#login-form .login-wrap .login .login-form .social-login li a{display:inline-block}#login-form .login-wrap .login .login-form .social-login li a>img{display:block;margin:0 auto}#login-form .login-wrap .login .login-form .social-login li+li{margin-left:5px}.sns-share-wrap{overflow:hidden;padding:20px 0;background-color:#fff}.sns-share-wrap .sns-share-list{margin:0;padding:0;list-style:none;white-space:nowrap;display:inline-block;vertical-align:middle;height:32px;float:right}.sns-share-wrap .sns-share-list:after{clear:both;content:'';display:table}.sns-share-wrap .sns-share-list li{display:block;width:32px;height:32px;float:left}.sns-share-wrap .sns-share-list li+li{margin-left:5px}.sns-share-wrap .sns-share-list li a{display:block;width:32px;height:32px;text-indent:-9999px;overflow:hidden;background-image:url(../images/social/sns_buttons.png);background-repeat:no-repeat;background-size:cover}.sns-share-wrap .sns-share-list li a[data-service=facebook]{background-position-x:0}.sns-share-wrap .sns-share-list li a[data-service=google]{background-position-x:-32px}.sns-share-wrap .sns-share-list li a[data-service=kakaostory]{background-position-x:-64px}.sns-share-wrap .sns-share-list li a[data-service=band]{background-position-x:-96px}.sns-share-wrap .sns-share-list li a[data-service=naver]{background-position-x:-128px} \ No newline at end of file +@charset "UTF-8";*,::after,::before{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}@-ms-viewport{width:device-width}article,aside,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}body{margin:0;font-family:나눔고딕,NanumGothic,NanumGothicWeb,"나눔 고딕",sans-serif;font-size:16px;font-weight:400;line-height:1.5em;color:#212529;text-align:left;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin:0;font-family:나눔고딕,NanumGothic,NanumGothicWeb,"나눔 고딕",sans-serif}p{margin:0}abbr[data-original-title],abbr[title]{text-decoration:underline;text-decoration:underline dotted;cursor:help;border-bottom:0}address{margin:0;font-style:normal;line-height:inherit}dl,ol,ul{margin:0}ol ol,ol ul,ul ol,ul ul{margin:0}dt{font-weight:400}dd{margin:0}blockquote{margin:0}dfn{font-style:italic}b,strong{font-weight:700}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}a{color:#212529;text-decoration:none;background-color:transparent;-webkit-text-decoration-skip:objects}a:hover{color:#282828;text-decoration:none}a:not([href]):not([tabindedx]){color:inherit;text-decoration:none}a:not([href]):not([tabindedx]):focus,a:not([href]):not([tabindedx]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindedx]):focus{outline:0}code,kbd,pre,samp{font-family:나눔고딕,NanumGothic,NanumGothicWeb,"나눔 고딕",sans-serif;font-size:1em}pre{margin:0;overflow:auto;-ms-overflow-style:scrollbar}figure{margin:0}img{vertical-align:middle;border-style:none}svg:not(:root){overflow:hidden}table{border-collapse:collapse}caption{padding-top:.75rem;padding-bottom:.75rem;color:#212529;text-align:left;caption-side:bottom}th{text-align:inherit}label{display:inline-block;margin:0}button{border-radius:0}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{padding:0;border-style:none}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=date],input[type=datetime-local],input[type=month],input[type=time]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;max-width:100%;padding:0;margin:0;font-size:1.5rem;line-height:inherit;color:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item;cursor:pointer}template{display:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only.sr-only-focusable:active,.sr-only.sr-only-focusable:focus{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}.clearfix,.clearfix:after,.clearfix:before{display:block;clear:both;content:""}.H10{height:10px!important}.H15{height:15px!important}.H20{height:20px!important}.H25{height:25px!important}.H30{height:30px!important}.H35{height:35px!important}.H40{height:40px!important}.H45{height:45px!important}.W50{width:50px!important}.W75{width:75px!important}.W100{width:100px!important}.W125{width:125px!important}.W150{width:150px!important}.W175{width:175px!important}.W200{width:200px!important}.W225{width:225px!important}.W250{width:250px!important}.W275{width:275px!important}.W300{width:300px!important}.W325{width:325px!important}.W350{width:350px!important}.W375{width:375px!important}.W400{width:400px!important}.W425{width:425px!important}.W450{width:450px!important}.W475{width:475px!important}.M5{margin:5px}.MT5{margin-top:5px}.MR5{margin-right:5px}.MB5{margin-bottom:5px}.ML5{margin-left:5px}.PT5{padding-top:5px}.PR5{padding-right:5px}.PB5{padding-bottom:5px}.PL5{padding-left:5px}.P5{padding:5px}.M10{margin:10px}.MT10{margin-top:10px}.MR10{margin-right:10px}.MB10{margin-bottom:10px}.ML10{margin-left:10px}.PT10{padding-top:10px}.PR10{padding-right:10px}.PB10{padding-bottom:10px}.PL10{padding-left:10px}.P10{padding:10px}.M15{margin:15px}.MT15{margin-top:15px}.MR15{margin-right:15px}.MB15{margin-bottom:15px}.ML15{margin-left:15px}.PT15{padding-top:15px}.PR15{padding-right:15px}.PB15{padding-bottom:15px}.PL15{padding-left:15px}.P15{padding:15px}.M20{margin:20px}.MT20{margin-top:20px}.MR20{margin-right:20px}.MB20{margin-bottom:20px}.ML20{margin-left:20px}.PT20{padding-top:20px}.PR20{padding-right:20px}.PB20{padding-bottom:20px}.PL20{padding-left:20px}.P20{padding:20px}.M25{margin:25px}.MT25{margin-top:25px}.MR25{margin-right:25px}.MB25{margin-bottom:25px}.ML25{margin-left:25px}.PT25{padding-top:25px}.PR25{padding-right:25px}.PB25{padding-bottom:25px}.PL25{padding-left:25px}.P25{padding:25px}.M30{margin:30px}.MT30{margin-top:30px}.MR30{margin-right:30px}.MB30{margin-bottom:30px}.ML30{margin-left:30px}.PT30{padding-top:30px}.PR30{padding-right:30px}.PB30{padding-bottom:30px}.PL30{padding-left:30px}.P30{padding:30px}.M35{margin:35px}.MT35{margin-top:35px}.MR35{margin-right:35px}.MB35{margin-bottom:35px}.ML35{margin-left:35px}.PT35{padding-top:35px}.PR35{padding-right:35px}.PB35{padding-bottom:35px}.PL35{padding-left:35px}.P35{padding:35px}.M40{margin:40px}.MT40{margin-top:40px}.MR40{margin-right:40px}.MB40{margin-bottom:40px}.ML40{margin-left:40px}.PT40{padding-top:40px}.PR40{padding-right:40px}.PB40{padding-bottom:40px}.PL40{padding-left:40px}.P40{padding:40px}.M45{margin:45px}.MT45{margin-top:45px}.MR45{margin-right:45px}.MB45{margin-bottom:45px}.ML45{margin-left:45px}.PT45{padding-top:45px}.PR45{padding-right:45px}.PB45{padding-bottom:45px}.PL45{padding-left:45px}.P45{padding:45px}.pop-layer{position:fixed;top:50%;left:50%;z-index:1000;background:#fff}.pop-layer .pop-content{border:1px solid #ddd}.pop-layer .pop-footer{width:100%;background:#282828;height:30px;text-align:right;padding:0 15px}.pop-layer .pop-footer [data-toggle=btn-popup-close]{display:inline-block;line-height:30px;color:#fff}.pop-layer .pop-footer [data-toggle=btn-popup-close]:hover{color:#d0d0d0}.pop-layer .pop-footer [data-toggle=btn-popup-close]+.pop-layer .pop-footer [data-toggle=btn-popup-close]{margin-left:30px}.toast-title{font-weight:700}.toast-message{-ms-word-wrap:break-word;word-wrap:break-word}.toast-message a,.toast-message label{color:#fff}.toast-message a:hover{color:#ccc;text-decoration:none}.toast-close-button{position:relative;right:-.3em;top:-.3em;float:right;font-size:20px;font-weight:700;color:#fff;-webkit-text-shadow:0 1px 0 #fff;text-shadow:0 1px 0 #fff;opacity:.8}.toast-close-button:focus,.toast-close-button:hover{color:#000;text-decoration:none;cursor:pointer;opacity:.4}button.toast-close-button{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none}#toast-container{position:fixed;z-index:999999;pointer-events:none}#toast-container *{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}#toast-container>div{position:relative;pointer-events:auto;overflow:hidden;margin:0 0 6px;padding:15px 15px 15px 50px;width:300px;-moz-border-radius:3px 3px 3px 3px;-webkit-border-radius:3px 3px 3px 3px;border-radius:3px 3px 3px 3px;background-position:15px center;background-repeat:no-repeat;-moz-box-shadow:0 0 12px #999;-webkit-box-shadow:0 0 12px #999;box-shadow:0 0 12px #999;color:#fff;opacity:.8}#toast-container>:hover{-moz-box-shadow:0 0 12px #000;-webkit-box-shadow:0 0 12px #000;box-shadow:0 0 12px #000;opacity:1;cursor:pointer}#toast-container>.toast-info{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGwSURBVEhLtZa9SgNBEMc9sUxxRcoUKSzSWIhXpFMhhYWFhaBg4yPYiWCXZxBLERsLRS3EQkEfwCKdjWJAwSKCgoKCcudv4O5YLrt7EzgXhiU3/4+b2ckmwVjJSpKkQ6wAi4gwhT+z3wRBcEz0yjSseUTrcRyfsHsXmD0AmbHOC9Ii8VImnuXBPglHpQ5wwSVM7sNnTG7Za4JwDdCjxyAiH3nyA2mtaTJufiDZ5dCaqlItILh1NHatfN5skvjx9Z38m69CgzuXmZgVrPIGE763Jx9qKsRozWYw6xOHdER+nn2KkO+Bb+UV5CBN6WC6QtBgbRVozrahAbmm6HtUsgtPC19tFdxXZYBOfkbmFJ1VaHA1VAHjd0pp70oTZzvR+EVrx2Ygfdsq6eu55BHYR8hlcki+n+kERUFG8BrA0BwjeAv2M8WLQBtcy+SD6fNsmnB3AlBLrgTtVW1c2QN4bVWLATaIS60J2Du5y1TiJgjSBvFVZgTmwCU+dAZFoPxGEEs8nyHC9Bwe2GvEJv2WXZb0vjdyFT4Cxk3e/kIqlOGoVLwwPevpYHT+00T+hWwXDf4AJAOUqWcDhbwAAAAASUVORK5CYII=)!important}#toast-container>.toast-error{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHOSURBVEhLrZa/SgNBEMZzh0WKCClSCKaIYOED+AAKeQQLG8HWztLCImBrYadgIdY+gIKNYkBFSwu7CAoqCgkkoGBI/E28PdbLZmeDLgzZzcx83/zZ2SSXC1j9fr+I1Hq93g2yxH4iwM1vkoBWAdxCmpzTxfkN2RcyZNaHFIkSo10+8kgxkXIURV5HGxTmFuc75B2RfQkpxHG8aAgaAFa0tAHqYFfQ7Iwe2yhODk8+J4C7yAoRTWI3w/4klGRgR4lO7Rpn9+gvMyWp+uxFh8+H+ARlgN1nJuJuQAYvNkEnwGFck18Er4q3egEc/oO+mhLdKgRyhdNFiacC0rlOCbhNVz4H9FnAYgDBvU3QIioZlJFLJtsoHYRDfiZoUyIxqCtRpVlANq0EU4dApjrtgezPFad5S19Wgjkc0hNVnuF4HjVA6C7QrSIbylB+oZe3aHgBsqlNqKYH48jXyJKMuAbiyVJ8KzaB3eRc0pg9VwQ4niFryI68qiOi3AbjwdsfnAtk0bCjTLJKr6mrD9g8iq/S/B81hguOMlQTnVyG40wAcjnmgsCNESDrjme7wfftP4P7SP4N3CJZdvzoNyGq2c/HWOXJGsvVg+RA/k2MC/wN6I2YA2Pt8GkAAAAASUVORK5CYII=)!important}#toast-container>.toast-success{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==)!important}#toast-container>.toast-warning{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVEhL5ZSvTsNQFMbXZGICMYGYmJhAQIJAICYQPAACiSDB8AiICQQJT4CqQEwgJvYASAQCiZiYmJhAIBATCARJy+9rTsldd8sKu1M0+dLb057v6/lbq/2rK0mS/TRNj9cWNAKPYIJII7gIxCcQ51cvqID+GIEX8ASG4B1bK5gIZFeQfoJdEXOfgX4QAQg7kH2A65yQ87lyxb27sggkAzAuFhbbg1K2kgCkB1bVwyIR9m2L7PRPIhDUIXgGtyKw575yz3lTNs6X4JXnjV+LKM/m3MydnTbtOKIjtz6VhCBq4vSm3ncdrD2lk0VgUXSVKjVDJXJzijW1RQdsU7F77He8u68koNZTz8Oz5yGa6J3H3lZ0xYgXBK2QymlWWA+RWnYhskLBv2vmE+hBMCtbA7KX5drWyRT/2JsqZ2IvfB9Y4bWDNMFbJRFmC9E74SoS0CqulwjkC0+5bpcV1CZ8NMej4pjy0U+doDQsGyo1hzVJttIjhQ7GnBtRFN1UarUlH8F3xict+HY07rEzoUGPlWcjRFRr4/gChZgc3ZL2d8oAAAAASUVORK5CYII=)!important}#toast-container.toast-top-center{top:0;right:0;width:100%}#toast-container.toast-bottom-center{bottom:0;right:0;width:100%}#toast-container.toast-top-full-width{top:0;right:0;width:100%}#toast-container.toast-bottom-full-width{bottom:0;right:0;width:100%}#toast-container.toast-top-left{top:12px;left:12px}#toast-container.toast-top-right{top:12px;right:12px}#toast-container.toast-bottom-right{right:12px;bottom:12px}#toast-container.toast-bottom-left{bottom:12px;left:12px}#toast-container.toast-bottom-center>div,#toast-container.toast-top-center>div{width:300px;margin-left:auto;margin-right:auto}#toast-container.toast-bottom-full-width>div,#toast-container.toast-top-full-width>div{width:96%;margin-left:auto;margin-right:auto}.toast{background-color:#030303}.toast-success{background-color:#51a351}.toast-error{background-color:#bd362f}.toast-info{background-color:#2f96b4}.toast-warning{background-color:#f89406}.toast-progress{position:absolute;left:0;bottom:0;height:4px;background-color:#000;opacity:.4}@media all and (max-width:240px){#toast-container>div{padding:8px 8px 8px 50px;width:11em}#toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width:241px) and (max-width:480px){#toast-container>div{padding:8px 8px 8px 50px;width:18em}#toast-container .toast-close-button{right:-.2em;top:-.2em}}@media all and (min-width:481px) and (max-width:768px){#toast-container>div{padding:15px 15px 15px 50px;width:25em}}/*! Font Awesome Pro 5.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) */.fa,.fab,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:solid .08em #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fa-rotate-90{transform:rotate(90deg)}.fa-rotate-180{transform:rotate(180deg)}.fa-rotate-270{transform:rotate(270deg)}.fa-flip-horizontal{transform:scale(-1,1)}.fa-flip-vertical{transform:scale(1,-1)}.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1,-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-rotate-90{filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-alarm-clock:before{content:"\f34e"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-alt-down:before{content:"\f354"}.fa-arrow-alt-from-bottom:before{content:"\f346"}.fa-arrow-alt-from-left:before{content:"\f347"}.fa-arrow-alt-from-right:before{content:"\f348"}.fa-arrow-alt-from-top:before{content:"\f349"}.fa-arrow-alt-left:before{content:"\f355"}.fa-arrow-alt-right:before{content:"\f356"}.fa-arrow-alt-square-down:before{content:"\f350"}.fa-arrow-alt-square-left:before{content:"\f351"}.fa-arrow-alt-square-right:before{content:"\f352"}.fa-arrow-alt-square-up:before{content:"\f353"}.fa-arrow-alt-to-bottom:before{content:"\f34a"}.fa-arrow-alt-to-left:before{content:"\f34b"}.fa-arrow-alt-to-right:before{content:"\f34c"}.fa-arrow-alt-to-top:before{content:"\f34d"}.fa-arrow-alt-up:before{content:"\f357"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-from-bottom:before{content:"\f342"}.fa-arrow-from-left:before{content:"\f343"}.fa-arrow-from-right:before{content:"\f344"}.fa-arrow-from-top:before{content:"\f345"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-square-down:before{content:"\f339"}.fa-arrow-square-left:before{content:"\f33a"}.fa-arrow-square-right:before{content:"\f33b"}.fa-arrow-square-up:before{content:"\f33c"}.fa-arrow-to-bottom:before{content:"\f33d"}.fa-arrow-to-left:before{content:"\f33e"}.fa-arrow-to-right:before{content:"\f340"}.fa-arrow-to-top:before{content:"\f341"}.fa-arrow-up:before{content:"\f062"}.fa-arrows:before{content:"\f047"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-arrows-h:before{content:"\f07e"}.fa-arrows-v:before{content:"\f07d"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-badge:before{content:"\f335"}.fa-badge-check:before{content:"\f336"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-barcode-alt:before{content:"\f463"}.fa-barcode-read:before{content:"\f464"}.fa-barcode-scan:before{content:"\f465"}.fa-bars:before{content:"\f0c9"}.fa-baseball:before{content:"\f432"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-basketball-hoop:before{content:"\f435"}.fa-bath:before{content:"\f2cd"}.fa-battery-bolt:before{content:"\f376"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-slash:before{content:"\f377"}.fa-battery-three-quarters:before{content:"\f241"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bicycle:before{content:"\f206"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blanket:before{content:"\f498"}.fa-blender:before{content:"\f517"}.fa-blind:before{content:"\f29d"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-heart:before{content:"\f499"}.fa-book-open:before{content:"\f518"}.fa-bookmark:before{content:"\f02e"}.fa-bowling-ball:before{content:"\f436"}.fa-bowling-pins:before{content:"\f437"}.fa-box:before{content:"\f466"}.fa-box-alt:before{content:"\f49a"}.fa-box-check:before{content:"\f467"}.fa-box-fragile:before{content:"\f49b"}.fa-box-full:before{content:"\f49c"}.fa-box-heart:before{content:"\f49d"}.fa-box-open:before{content:"\f49e"}.fa-box-up:before{content:"\f49f"}.fa-box-usd:before{content:"\f4a0"}.fa-boxes:before{content:"\f468"}.fa-boxes-alt:before{content:"\f4a1"}.fa-boxing-glove:before{content:"\f438"}.fa-braille:before{content:"\f2a1"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-browser:before{content:"\f37e"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-edit:before{content:"\f333"}.fa-calendar-exclamation:before{content:"\f334"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-camera:before{content:"\f030"}.fa-camera-alt:before{content:"\f332"}.fa-camera-retro:before{content:"\f083"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-caret-circle-down:before{content:"\f32d"}.fa-caret-circle-left:before{content:"\f32e"}.fa-caret-circle-right:before{content:"\f330"}.fa-caret-circle-up:before{content:"\f331"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-certificate:before{content:"\f0a3"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-bishop-alt:before{content:"\f43b"}.fa-chess-board:before{content:"\f43c"}.fa-chess-clock:before{content:"\f43d"}.fa-chess-clock-alt:before{content:"\f43e"}.fa-chess-king:before{content:"\f43f"}.fa-chess-king-alt:before{content:"\f440"}.fa-chess-knight:before{content:"\f441"}.fa-chess-knight-alt:before{content:"\f442"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-pawn-alt:before{content:"\f444"}.fa-chess-queen:before{content:"\f445"}.fa-chess-queen-alt:before{content:"\f446"}.fa-chess-rook:before{content:"\f447"}.fa-chess-rook-alt:before{content:"\f448"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-double-down:before{content:"\f322"}.fa-chevron-double-left:before{content:"\f323"}.fa-chevron-double-right:before{content:"\f324"}.fa-chevron-double-up:before{content:"\f325"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-square-down:before{content:"\f329"}.fa-chevron-square-left:before{content:"\f32a"}.fa-chevron-square-right:before{content:"\f32b"}.fa-chevron-square-up:before{content:"\f32c"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-upload:before{content:"\f0ee"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-club:before{content:"\f327"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-code-commit:before{content:"\f386"}.fa-code-merge:before{content:"\f387"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-alt-check:before{content:"\f4a2"}.fa-comment-alt-dots:before{content:"\f4a3"}.fa-comment-alt-edit:before{content:"\f4a4"}.fa-comment-alt-exclamation:before{content:"\f4a5"}.fa-comment-alt-lines:before{content:"\f4a6"}.fa-comment-alt-minus:before{content:"\f4a7"}.fa-comment-alt-plus:before{content:"\f4a8"}.fa-comment-alt-slash:before{content:"\f4a9"}.fa-comment-alt-smile:before{content:"\f4aa"}.fa-comment-alt-times:before{content:"\f4ab"}.fa-comment-check:before{content:"\f4ac"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-edit:before{content:"\f4ae"}.fa-comment-exclamation:before{content:"\f4af"}.fa-comment-lines:before{content:"\f4b0"}.fa-comment-minus:before{content:"\f4b1"}.fa-comment-plus:before{content:"\f4b2"}.fa-comment-slash:before{content:"\f4b3"}.fa-comment-smile:before{content:"\f4b4"}.fa-comment-times:before{content:"\f4b5"}.fa-comments:before{content:"\f086"}.fa-comments-alt:before{content:"\f4b6"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-alt:before{content:"\f422"}.fa-compress-wide:before{content:"\f326"}.fa-concierge-bell:before{content:"\f562"}.fa-connectdevelop:before{content:"\f20e"}.fa-container-storage:before{content:"\f4b7"}.fa-contao:before{content:"\f26d"}.fa-conveyor-belt:before{content:"\f46e"}.fa-conveyor-belt-alt:before{content:"\f46f"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-credit-card-blank:before{content:"\f389"}.fa-credit-card-front:before{content:"\f38a"}.fa-cricket:before{content:"\f449"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-curling:before{content:"\f44a"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-desktop-alt:before{content:"\f390"}.fa-deviantart:before{content:"\f1bd"}.fa-diagnoses:before{content:"\f470"}.fa-diamond:before{content:"\f219"}.fa-dice:before{content:"\f522"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-empty:before{content:"\f473"}.fa-dolly-flatbed:before{content:"\f474"}.fa-dolly-flatbed-alt:before{content:"\f475"}.fa-dolly-flatbed-empty:before{content:"\f476"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-h-alt:before{content:"\f39b"}.fa-ellipsis-v:before{content:"\f142"}.fa-ellipsis-v-alt:before{content:"\f39c"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-exchange:before{content:"\f0ec"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-square:before{content:"\f321"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-alt:before{content:"\f424"}.fa-expand-arrows:before{content:"\f31d"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expand-wide:before{content:"\f320"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link:before{content:"\f08e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square:before{content:"\f14c"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-female:before{content:"\f182"}.fa-field-hockey:before{content:"\f44c"}.fa-fighter-jet:before{content:"\f0fb"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-check:before{content:"\f316"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-download:before{content:"\f56d"}.fa-file-edit:before{content:"\f31c"}.fa-file-excel:before{content:"\f1c3"}.fa-file-exclamation:before{content:"\f31a"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-minus:before{content:"\f318"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-plus:before{content:"\f319"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-times:before{content:"\f317"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-film-alt:before{content:"\f3a0"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-football-helmet:before{content:"\f44f"}.fa-forklift:before{content:"\f47a"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-fragile:before{content:"\f4bb"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-gift:before{content:"\f06b"}.fa-git:before{content:"\f1d3"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-golf-club:before{content:"\f451"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-h1:before{content:"\f313"}.fa-h2:before{content:"\f314"}.fa-h3:before{content:"\f315"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hand-heart:before{content:"\f4bc"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-box:before{content:"\f47b"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-seedling:before{content:"\f4bf"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-holding-water:before{content:"\f4c1"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-receiving:before{content:"\f47c"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-heart:before{content:"\f4c3"}.fa-hands-helping:before{content:"\f4c4"}.fa-hands-usd:before{content:"\f4c5"}.fa-handshake:before{content:"\f2b5"}.fa-handshake-alt:before{content:"\f4c6"}.fa-hashtag:before{content:"\f292"}.fa-hdd:before{content:"\f0a0"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-circle:before{content:"\f4c7"}.fa-heart-square:before{content:"\f4c8"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-hexagon:before{content:"\f312"}.fa-highlighter:before{content:"\f591"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hockey-puck:before{content:"\f453"}.fa-hockey-sticks:before{content:"\f454"}.fa-home:before{content:"\f015"}.fa-home-heart:before{content:"\f4c9"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hot-tub:before{content:"\f593"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-houzz:before{content:"\f27c"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-inbox-in:before{content:"\f310"}.fa-inbox-out:before{content:"\f311"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-industry-alt:before{content:"\f3b3"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-info-square:before{content:"\f30f"}.fa-instagram:before{content:"\f16d"}.fa-internet-explorer:before{content:"\f26b"}.fa-inventory:before{content:"\f480"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-jack-o-lantern:before{content:"\f30e"}.fa-java:before{content:"\f4e4"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-lamp:before{content:"\f4ca"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-leaf:before{content:"\f06c"}.fa-leaf-heart:before{content:"\f4cb"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down:before{content:"\f149"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up:before{content:"\f148"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-alt:before{content:"\f30d"}.fa-lock-open:before{content:"\f3c1"}.fa-lock-open-alt:before{content:"\f3c2"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-long-arrow-up:before{content:"\f176"}.fa-loveseat:before{content:"\f4cc"}.fa-low-vision:before{content:"\f2a8"}.fa-luchador:before{content:"\f455"}.fa-luggage-cart:before{content:"\f59d"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mercury:before{content:"\f223"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-hexagon:before{content:"\f307"}.fa-minus-octagon:before{content:"\f308"}.fa-minus-square:before{content:"\f146"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-mobile-android:before{content:"\f3ce"}.fa-mobile-android-alt:before{content:"\f3cf"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-motorcycle:before{content:"\f21c"}.fa-mouse-pointer:before{content:"\f245"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-nintendo-switch:before{content:"\f418"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-octagon:before{content:"\f306"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-old-republic:before{content:"\f510"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-osi:before{content:"\f41a"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-brush-alt:before{content:"\f5a9"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-pallet-alt:before{content:"\f483"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil:before{content:"\f040"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-pennant:before{content:"\f456"}.fa-people-carry:before{content:"\f4ce"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-carry:before{content:"\f4cf"}.fa-person-dolly:before{content:"\f4d0"}.fa-person-dolly-empty:before{content:"\f4d1"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-plus:before{content:"\f4d2"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-volume:before{content:"\f2a0"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-plane:before{content:"\f072"}.fa-plane-alt:before{content:"\f3de"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-hexagon:before{content:"\f300"}.fa-plus-octagon:before{content:"\f301"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poo:before{content:"\f2fe"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-question-square:before{content:"\f2fd"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-r-project:before{content:"\f4f7"}.fa-racquet:before{content:"\f45a"}.fa-ramp-loading:before{content:"\f4d4"}.fa-random:before{content:"\f074"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-rectangle-landscape:before{content:"\f2fa"}.fa-rectangle-portrait:before{content:"\f2fb"}.fa-rectangle-wide:before{content:"\f2fc"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-rendact:before{content:"\f3e4"}.fa-renren:before{content:"\f18b"}.fa-repeat:before{content:"\f363"}.fa-repeat-1:before{content:"\f365"}.fa-repeat-1-alt:before{content:"\f366"}.fa-repeat-alt:before{content:"\f364"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-retweet:before{content:"\f079"}.fa-retweet-alt:before{content:"\f361"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-rupee-sign:before{content:"\f156"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-sass:before{content:"\f41e"}.fa-save:before{content:"\f0c7"}.fa-scanner:before{content:"\f488"}.fa-scanner-keyboard:before{content:"\f489"}.fa-scanner-touchscreen:before{content:"\f48a"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scrubber:before{content:"\f2f8"}.fa-search:before{content:"\f002"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-share:before{content:"\f064"}.fa-share-all:before{content:"\f367"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield:before{content:"\f132"}.fa-shield-alt:before{content:"\f3ed"}.fa-shield-check:before{content:"\f2f7"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shipping-timed:before{content:"\f48c"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-shuttlecock:before{content:"\f45b"}.fa-sign:before{content:"\f4d9"}.fa-sign-in:before{content:"\f090"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out:before{content:"\f08b"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skull:before{content:"\f54c"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-sliders-h:before{content:"\f1de"}.fa-sliders-h-square:before{content:"\f3f0"}.fa-sliders-v:before{content:"\f3f1"}.fa-sliders-v-square:before{content:"\f3f2"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-plus:before{content:"\f5b9"}.fa-smile-wink:before{content:"\f4da"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowflake:before{content:"\f2dc"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-spade:before{content:"\f2f4"}.fa-speakap:before{content:"\f3f3"}.fa-spinner:before{content:"\f110"}.fa-spinner-third:before{content:"\f3f4"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-exclamation:before{content:"\f2f3"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-swatchbook:before{content:"\f5c3"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablet-android:before{content:"\f3fb"}.fa-tablet-android-alt:before{content:"\f3fc"}.fa-tablet-rugged:before{content:"\f48f"}.fa-tablets:before{content:"\f490"}.fa-tachometer:before{content:"\f0e4"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tennis-ball:before{content:"\f45e"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket:before{content:"\f145"}.fa-ticket-alt:before{content:"\f3ff"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-times-hexagon:before{content:"\f2ee"}.fa-times-octagon:before{content:"\f2f0"}.fa-times-square:before{content:"\f2d3"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toolbox:before{content:"\f552"}.fa-tooth:before{content:"\f5c9"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-train:before{content:"\f238"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-tree:before{content:"\f1bb"}.fa-tree-alt:before{content:"\f400"}.fa-trello:before{content:"\f181"}.fa-triangle:before{content:"\f2ec"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-trophy-alt:before{content:"\f2eb"}.fa-truck:before{content:"\f0d1"}.fa-truck-container:before{content:"\f4dc"}.fa-truck-couch:before{content:"\f4dd"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-ramp:before{content:"\f4e0"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-tv-retro:before{content:"\f401"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-uikit:before{content:"\f403"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-usb:before{content:"\f287"}.fa-usd-circle:before{content:"\f2e8"}.fa-usd-square:before{content:"\f2e9"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-fork:before{content:"\f2e3"}.fa-utensil-knife:before{content:"\f2e4"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-utensils-alt:before{content:"\f2e6"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-plus:before{content:"\f4e1"}.fa-video-slash:before{content:"\f4e2"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f2e2"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-warehouse-alt:before{content:"\f495"}.fa-watch:before{content:"\f2e1"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whistle:before{content:"\f460"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-window:before{content:"\f40e"}.fa-window-alt:before{content:"\f40f"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:'Font Awesome 5 Pro';font-style:normal;font-weight:400;src:url(../fonts/fa-regular-400.eot);src:url(../fonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-regular-400.woff2) format("woff2"),url(../fonts/fa-regular-400.woff) format("woff"),url(../fonts/fa-regular-400.ttf) format("truetype"),url(../fonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-family:'Font Awesome 5 Pro';font-weight:400}@font-face{font-family:'Font Awesome 5 Pro';font-style:normal;font-weight:300;src:url(../fonts/fa-light-300.eot);src:url(../fonts/fa-light-300.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-light-300.woff2) format("woff2"),url(../fonts/fa-light-300.woff) format("woff"),url(../fonts/fa-light-300.ttf) format("truetype"),url(../fonts/fa-light-300.svg#fontawesome) format("svg")}.fal{font-family:'Font Awesome 5 Pro';font-weight:300}@font-face{font-family:'Font Awesome 5 Pro';font-style:normal;font-weight:900;src:url(../fonts/fa-solid-900.eot);src:url(../fonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-solid-900.woff2) format("woff2"),url(../fonts/fa-solid-900.woff) format("woff"),url(../fonts/fa-solid-900.ttf) format("truetype"),url(../fonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.fas{font-family:'Font Awesome 5 Pro';font-weight:900}@font-face{font-family:'Font Awesome 5 Brands';font-style:normal;font-weight:400;src:url(../fonts/fa-brands-400.eot);src:url(../fonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../fonts/fa-brands-400.woff2) format("woff2"),url(../fonts/fa-brands-400.woff) format("woff"),url(../fonts/fa-brands-400.ttf) format("truetype"),url(../fonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:'Font Awesome 5 Brands'}#skin-board-basic .board-category{margin:0;padding:0;list-style:none;font-size:0;padding:15px;background:#fff;border:1px solid #ccc}#skin-board-basic .board-category>li{display:inline-block;vertical-align:top}#skin-board-basic .board-category>li+li{margin-left:15px}#skin-board-basic .board-category>li a{color:#282828;text-decoration:none;text-align:center;display:block}#skin-board-basic .board-category>li a:hover{color:#989898}#skin-board-basic .board-category>li>a{font-size:16px;border-bottom:1px solid #ccc;padding:5px 12px}#skin-board-basic .board-category>li>ul{margin:0;padding:0;list-style:none}#skin-board-basic .board-category>li>ul>li{display:block}#skin-board-basic .board-category>li>ul>li>a{font-size:14px;padding:3px 6px}#skin-board-basic .post-info dl{display:inline-block}#skin-board-basic .post-info dl dd,#skin-board-basic .post-info dl dt{display:inline-block}#skin-board-basic .post-info dl+dl:before{display:inline-block;content:'';width:1px;height:8px;background:#ccc;margin:0 5px}#login-form{width:100%;height:100%;padding:20px 0}#login-form,#login-form *{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}#login-form .login-wrap{width:300px;margin:20px auto;border:1px solid #282828}#login-form .login-wrap .login{background-color:#fff;padding:20px;border-radius:5px}#login-form .login-wrap .login header h1{text-align:center;color:#777;font-size:1.67em;margin:.67em 0}#login-form .login-wrap .login legend{display:none}#login-form .login-wrap .login .login-form{text-align:center}#login-form .login-wrap .login .login-form .control-group{margin-bottom:10px}#login-form .login-wrap .login .login-form .control-group:after{display:block;clear:both;content:""}#login-form .login-wrap .login .login-form .control-group>label{display:none}#login-form .login-wrap .login .login-form .control-group>input{text-align:center;background-color:#ecf0f1;border:2px solid transparent;border-radius:3px;font-size:16px;font-weight:200;padding:10px 0;width:250px;transition:border .5s}#login-form .login-wrap .login .login-form .control-group>input:focus{border:2px solid #282828;box-shadow:none}#login-form .login-wrap .login .login-form .control-group .checkbox{text-align:left}#login-form .login-wrap .login .login-form .btn{display:inline-block;margin:0;font-weight:400;text-align:center;white-space:nowrap;user-select:none;text-decoration:none;outline:0;vertical-align:middle;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-ms-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;border:2px solid transparent;background:#282828;color:#fff;font-size:16px;line-height:25px;padding:10px 0;text-shadow:none;border-radius:3px;box-shadow:none;transition:.25s;display:block;width:250px;margin:0 auto}#login-form .login-wrap .login .login-form .btn.disabled,#login-form .login-wrap .login .login-form .btn:disabled{opacity:.65}#login-form .login-wrap .login .login-form .btn:not([disabled]):not(.disabled){cursor:pointer}#login-form .login-wrap .login .login-form .btn:hover{background-color:#282828}#login-form .login-wrap .login .login-form .social-login{margin:15px 0 0 0;padding:0;list-style:none}#login-form .login-wrap .login .login-form .social-login,#login-form .login-wrap .login .login-form .social-login li{font-size:0}#login-form .login-wrap .login .login-form .social-login li,#login-form .login-wrap .login .login-form .social-login li a{display:inline-block}#login-form .login-wrap .login .login-form .social-login li a>img{display:block;margin:0 auto}#login-form .login-wrap .login .login-form .social-login li+li{margin-left:5px}.sns-share-wrap{overflow:hidden;padding:20px 0;background-color:#fff}.sns-share-wrap .sns-share-list{-webkit-display:flex;display:-ms-flex;display:flex;justify-content:center;align-items:center;margin:0 auto;flex-wrap:wrap;padding:0;margin:0}.sns-share-wrap .sns-share-list li{display:block;padding:0 5px}@media screen and (max-width:1200px){.sns-share-wrap .sns-share-list li{width:25%;margin-bottom:15px}}.sns-share-wrap .sns-share-list [data-toggle=sns-share]{text-indent:-9999px;width:40px;height:40px;display:block;margin:auto}.sns-share-wrap .sns-share-list [data-toggle=sns-share][data-service=pinterest]{background-image:url(../images/social/sns_pinterest.png)}.sns-share-wrap .sns-share-list [data-toggle=sns-share][data-service=facebook]{background-image:url(../images/social/sns_facebook.png)}.sns-share-wrap .sns-share-list [data-toggle=sns-share][data-service=google]{background-image:url(../images/social/sns_google.png)}.sns-share-wrap .sns-share-list [data-toggle=sns-share][data-service=band]{background-image:url(../images/social/sns_band.png)}.sns-share-wrap .sns-share-list [data-toggle=sns-share][data-service=kakaostory]{background-image:url(../images/social/sns_kakao.png)}.sns-share-wrap .sns-share-list [data-toggle=sns-share][data-service=naver]{background-image:url(../images/social/sns_naver.png)}.sns-share-wrap .sns-share-list [data-toggle=sns-share][data-service=line]{background-image:url(../images/social/sns_line.png)}.sns-share-wrap .sns-share-list [data-toggle=sns-share][data-service=link]{background-image:url(../images/social/sns_link.png)} \ No newline at end of file diff --git a/public_html/assets/images/social/sns_band.png b/public_html/assets/images/social/sns_band.png new file mode 100644 index 0000000..1d1d532 Binary files /dev/null and b/public_html/assets/images/social/sns_band.png differ diff --git a/public_html/assets/images/social/sns_facebook.png b/public_html/assets/images/social/sns_facebook.png new file mode 100644 index 0000000..9667c6d Binary files /dev/null and b/public_html/assets/images/social/sns_facebook.png differ diff --git a/public_html/assets/images/social/sns_google.png b/public_html/assets/images/social/sns_google.png new file mode 100644 index 0000000..f599ac5 Binary files /dev/null and b/public_html/assets/images/social/sns_google.png differ diff --git a/public_html/assets/images/social/sns_kakao.png b/public_html/assets/images/social/sns_kakao.png new file mode 100644 index 0000000..a061271 Binary files /dev/null and b/public_html/assets/images/social/sns_kakao.png differ diff --git a/public_html/assets/images/social/sns_line.png b/public_html/assets/images/social/sns_line.png new file mode 100644 index 0000000..ebe4301 Binary files /dev/null and b/public_html/assets/images/social/sns_line.png differ diff --git a/public_html/assets/images/social/sns_link.png b/public_html/assets/images/social/sns_link.png new file mode 100644 index 0000000..c284a00 Binary files /dev/null and b/public_html/assets/images/social/sns_link.png differ diff --git a/public_html/assets/images/social/sns_naver.png b/public_html/assets/images/social/sns_naver.png new file mode 100644 index 0000000..4859072 Binary files /dev/null and b/public_html/assets/images/social/sns_naver.png differ diff --git a/public_html/assets/images/social/sns_pinterest.png b/public_html/assets/images/social/sns_pinterest.png new file mode 100644 index 0000000..e4ee95a Binary files /dev/null and b/public_html/assets/images/social/sns_pinterest.png differ diff --git a/public_html/assets/js/admin.min.js b/public_html/assets/js/admin.min.js index 4a8cb70..74e9564 100644 --- a/public_html/assets/js/admin.min.js +++ b/public_html/assets/js/admin.min.js @@ -1 +1 @@ -!function(){"use strict";function e(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},i=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),o=(document.documentMode,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){s(window,e)},e.unblockUI=function(e){l(window,e)},e.growlUI=function(t,i,n,o){var r=e('
');t&&r.append("

"+t+"

"),i&&r.append("

"+i+"

"),void 0===n&&(n=3e3);var a=function(t){t=t||{},e.blockUI({message:r,fadeIn:void 0!==t.fadeIn?t.fadeIn:700,fadeOut:void 0!==t.fadeOut?t.fadeOut:1e3,timeout:void 0!==t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:o,css:e.blockUI.defaults.growlCSS})};a();r.css("opacity");r.mouseover(function(){a({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).mouseout(function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var i=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var t=e(this);i.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,s(this,t)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){l(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var r=null,a=[];function s(s,c){var u,p,m=s==window,g=c&&void 0!==c.message?c.message:void 0;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(s).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),u=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),p=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),g=void 0===g?c.message:g,m&&r&&l(window,{fadeOut:0}),g&&"string"!=typeof g&&(g.parentNode||g.jquery)){var v=g.jquery?g[0]:g,y={};e(s).data("blockUI.history",y),y.el=v,y.parent=v.parentNode,y.display=v.style.display,y.position=v.style.position,y.parent&&y.parent.removeChild(v)}e(s).data("blockUI.onUnblock",c.onUnblock);var b,w,_,x,k=c.baseZ;b=i||c.forceIframe?e(''):e(''),w=c.theme?e(''):e(''),c.theme&&m?(x='"):c.theme?(x='"):x=m?'':'',_=e(x),g&&(c.theme?(_.css(p),_.addClass("ui-widget-content")):_.css(u)),c.theme||w.css(c.overlayCSS),w.css("position",m?"fixed":"absolute"),(i||c.forceIframe)&&b.css("opacity",0);var D=[b,w,_],M=e(m?"body":s);e.each(D,function(){this.appendTo(M)}),c.theme&&c.draggable&&e.fn.draggable&&_.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var S=o&&(!e.support.boxModel||e("object,embed",m?null:s).length>0);if(n||S){if(m&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!m)var T=f(s,"borderTopWidth"),C=f(s,"borderLeftWidth"),P=T?"(0 - "+T+")":0,O=C?"(0 - "+C+")":0;e.each(D,function(e,t){var i=t[0].style;if(i.position="absolute",e<2)m?i.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):i.setExpression("height",'this.parentNode.offsetHeight + "px"'),m?i.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):i.setExpression("width",'this.parentNode.offsetWidth + "px"'),O&&i.setExpression("left",O),P&&i.setExpression("top",P);else if(c.centerY)m&&i.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),i.marginTop=0;else if(!c.centerY&&m){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';i.setExpression("top",n)}})}if(g&&(c.theme?_.find(".ui-widget-content").append(g):_.append(g),(g.jquery||g.nodeType)&&e(g).show()),(i||c.forceIframe)&&c.showOverlay&&b.show(),c.fadeIn){var A=c.onBlock?c.onBlock:t,I=c.showOverlay&&!g?A:t,E=g?A:t;c.showOverlay&&w._fadeIn(c.fadeIn,I),g&&_._fadeIn(c.fadeIn,E)}else c.showOverlay&&w.show(),g&&_.show(),c.onBlock&&c.onBlock.bind(_)();if(d(1,s,c),m?(r=_[0],a=e(c.focusableElements,r),c.focusInput&&setTimeout(h,20)):function(e,t,i){var n=e.parentNode,o=e.style,r=(n.offsetWidth-e.offsetWidth)/2-f(n,"borderLeftWidth"),a=(n.offsetHeight-e.offsetHeight)/2-f(n,"borderTopWidth");t&&(o.left=r>0?r+"px":"0");i&&(o.top=a>0?a+"px":"0")}(_[0],c.centerX,c.centerY),c.timeout){var z=setTimeout(function(){m?e.unblockUI(c):e(s).unblock(c)},c.timeout);e(s).data("blockUI.timeout",z)}}}function l(t,i){var n,o,s=t==window,l=e(t),u=l.data("blockUI.history"),h=l.data("blockUI.timeout");h&&(clearTimeout(h),l.removeData("blockUI.timeout")),i=e.extend({},e.blockUI.defaults,i||{}),d(0,t,i),null===i.onUnblock&&(i.onUnblock=l.data("blockUI.onUnblock"),l.removeData("blockUI.onUnblock")),o=s?e("body").children().filter(".blockUI").add("body > .blockUI"):l.find(">.blockUI"),i.cursorReset&&(o.length>1&&(o[1].style.cursor=i.cursorReset),o.length>2&&(o[2].style.cursor=i.cursorReset)),s&&(r=a=null),i.fadeOut?(n=o.length,o.stop().fadeOut(i.fadeOut,function(){0==--n&&c(o,u,i,t)})):c(o,u,i,t)}function c(t,i,n,o){var r=e(o);if(!r.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),i&&i.el&&(i.el.style.display=i.display,i.el.style.position=i.position,i.el.style.cursor="default",i.parent&&i.parent.appendChild(i.el),r.removeData("blockUI.history")),r.data("blockUI.static")&&r.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(o,n);var a=e(document.body),s=a.width(),l=a[0].style.width;a.width(s-1).width(s),a[0].style.width=l}}function d(t,i,n){var o=i==window,a=e(i);if((t||(!o||r)&&(o||a.data("blockUI.isBlocked")))&&(a.data("blockUI.isBlocked",t),o&&n.bindEvents&&(!t||n.showOverlay))){var s="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).bind(s,n,u):e(document).unbind(s,u)}}function u(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&r&&t.data.constrainTabKey){var i=a,n=!t.shiftKey&&t.target===i[i.length-1],o=t.shiftKey&&t.target===i[0];if(n||o)return setTimeout(function(){h(o)},10),!1}var s=t.data,l=e(t.target);return l.hasClass("blockOverlay")&&s.onOverlayClick&&s.onOverlayClick(t),l.parents("div."+s.blockMsgClass).length>0||0===l.parents().children().filter("div.blockUI").length}function h(e){if(a){var t=a[!0===e?a.length-1:0];t&&t.focus()}}function f(t,i){return parseInt(e.css(t,i),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}(),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){var t=/\+/g;function i(e){return o.raw?e:encodeURIComponent(e)}function n(i,n){var r=o.raw?i:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(t," ")),o.json?JSON.parse(e):e}catch(e){}}(i);return e.isFunction(n)?n(r):r}var o=e.cookie=function(t,r,a){if(arguments.length>1&&!e.isFunction(r)){if("number"==typeof(a=e.extend({},o.defaults,a)).expires){var s=a.expires,l=a.expires=new Date;l.setMilliseconds(l.getMilliseconds()+864e5*s)}return document.cookie=[i(t),"=",function(e){return i(o.json?JSON.stringify(e):String(e))}(r),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}for(var c,d=t?void 0:{},u=document.cookie?document.cookie.split("; "):[],h=0,f=u.length;h=0;o--)l(e(n[o]),i)}(o)},remove:function(i){var n=u();t||s(n);if(i&&0===e(":focus",i).length)return void h(i);t.children().length&&t.remove()},error:function(e,t,i){return d({type:r.error,iconClass:u().iconClasses.error,message:e,optionsOverride:i,title:t})},getContainer:s,info:function(e,t,i){return d({type:r.info,iconClass:u().iconClasses.info,message:e,optionsOverride:i,title:t})},options:{},subscribe:function(e){i=e},success:function(e,t,i){return d({type:r.success,iconClass:u().iconClasses.success,message:e,optionsOverride:i,title:t})},version:"2.1.2",warning:function(e,t,i){return d({type:r.warning,iconClass:u().iconClasses.warning,message:e,optionsOverride:i,title:t})}};return a;function s(i,n){return i||(i=u()),(t=e("#"+i.containerId)).length?t:(n&&(t=function(i){return(t=e("
").attr("id",i.containerId).addClass(i.positionClass).attr("aria-live","polite").attr("role","alert")).appendTo(e(i.target)),t}(i)),t)}function l(t,i,n){var o=!(!n||!n.force)&&n.force;return!(!t||!o&&0!==e(":focus",t).length)&&(t[i.hideMethod]({duration:i.hideDuration,easing:i.hideEasing,complete:function(){h(t)}}),!0)}function c(e){i&&i(e)}function d(i){var r=u(),a=i.iconClass||r.iconClass;if(void 0!==i.optionsOverride&&(r=e.extend(r,i.optionsOverride),a=i.optionsOverride.iconClass||a),!function(e,t){if(e.preventDuplicates){if(t.message===n)return!0;n=t.message}return!1}(r,i)){o++,t=s(r,!0);var l=null,d=e("
"),f=e("
"),p=e("
"),m=e("
"),g=e(r.closeHtml),v={intervalId:null,hideEta:null,maxHideTime:null},y={toastId:o,state:"visible",startTime:new Date,options:r,map:i};return i.iconClass&&d.addClass(r.toastClass).addClass(a),i.title&&(f.append(r.escapeHtml?b(i.title):i.title).addClass(r.titleClass),d.append(f)),i.message&&(p.append(r.escapeHtml?b(i.message):i.message).addClass(r.messageClass),d.append(p)),r.closeButton&&(g.addClass("toast-close-button").attr("role","button"),d.prepend(g)),r.progressBar&&(m.addClass("toast-progress"),d.prepend(m)),r.newestOnTop?t.prepend(d):t.append(d),d.hide(),d[r.showMethod]({duration:r.showDuration,easing:r.showEasing,complete:r.onShown}),r.timeOut>0&&(l=setTimeout(w,r.timeOut),v.maxHideTime=parseFloat(r.timeOut),v.hideEta=(new Date).getTime()+v.maxHideTime,r.progressBar&&(v.intervalId=setInterval(k,10))),function(){d.hover(x,_),!r.onclick&&r.tapToDismiss&&d.click(w);r.closeButton&&g&&g.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),w(!0)});r.onclick&&d.click(function(e){r.onclick(e),w()})}(),c(y),r.debug&&console&&console.log(y),d}function b(e){return null==e&&(e=""),new String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function w(t){var i=t&&!1!==r.closeMethod?r.closeMethod:r.hideMethod,n=t&&!1!==r.closeDuration?r.closeDuration:r.hideDuration,o=t&&!1!==r.closeEasing?r.closeEasing:r.hideEasing;if(!e(":focus",d).length||t)return clearTimeout(v.intervalId),d[i]({duration:n,easing:o,complete:function(){h(d),r.onHidden&&"hidden"!==y.state&&r.onHidden(),y.state="hidden",y.endTime=new Date,c(y)}})}function _(){(r.timeOut>0||r.extendedTimeOut>0)&&(l=setTimeout(w,r.extendedTimeOut),v.maxHideTime=parseFloat(r.extendedTimeOut),v.hideEta=(new Date).getTime()+v.maxHideTime)}function x(){clearTimeout(l),v.hideEta=0,d.stop(!0,!0)[r.showMethod]({duration:r.showDuration,easing:r.showEasing})}function k(){var e=(v.hideEta-(new Date).getTime())/v.maxHideTime*100;m.width(e+"%")}}function u(){return e.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'',newestOnTop:!0,preventDuplicates:!1,progressBar:!1},a.options)}function h(e){t||(t=s()),e.is(":visible")||(e.remove(),e=null,0===t.children().length&&(t.remove(),n=void 0))}}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}),window.console&&window.console.log||(window.console={log:function(){}}),$(function(){$(document).ajaxError(function(e,t,i){var n="알수없는 오류가 발생하였습니다.";void 0!==t.responseJSON&&void 0!==t.responseJSON.message?n=t.responseJSON.message:500==t.status?n="서버 코드 오류가 발생하였습니다.\n관리자에게 문의하세요":401==t.status&&(n="해당 명령을 실행할 권한이 없습니다."),toastr.error(n,"오류 발생")}).ajaxStart(function(){$.blockUI({css:{width:"25px",top:"49%",left:"49%",border:"0px none",backgroundColor:"transparent",cursor:"wait"},message:'로딩중',baseZ:1e4,overlayCSS:{opacity:0}})}).ajaxComplete(function(){$.unblockUI()})});var APP={POPUP:null,REGEX:{}};APP.REGEX.uniqueID=/^[a-z][a-z0-9_]{2,19}$/g,function(e){APP.POPUP=function(t){var i=e.extend({},{title:"_blank",width:800,height:600,url:""},t);cw=screen.availWidth,ch=screen.availHeight,sw=i.width,sh=i.height,ml=(cw-sw)/2,mt=(ch-sh)/2;t="width="+sw+",height="+sh+",top="+mt+",left="+ml+",scrollbars=yes,resizable=no";var n=window.open(i.url,i.title,t);(null==n||void 0===n||null==n&&0==n.outerWidth||null!=n&&0==n.outerHeight)&&alert("팝업 차단 기능이 설정되어있습니다\n\n차단 기능을 해제(팝업허용) 한 후 다시 이용해 주십시오.")}}(jQuery),APP.SET_LANG=function(e){$.cookie("site_lang",e,{expires:30,path:"/"}),location.reload()},$('[data-toggle="btn-popup-close"]').click(function(e){var t=$(this).data("type"),i=$(this).data("idx"),n=$(this).data("cookie");"Y"==t?window.close():"N"==t&&$("#popup-"+i).remove(),1==n&&$.cookie("popup_"+i,1,{expires:1,path:"/"})}),$("a[data-toggle='sns-share']").click(function(e){e.preventDefault();var t=$(this),i=t.data("service"),n=t.data("url"),o=t.data("title"),r="",a=$("meta[name='og:image']").attr("content");if(i&&n&&o){if("facebook"==i)r="//www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(n);else if("twitter"==i)r="//twitter.com/home?status="+encodeURIComponent(o)+" "+n;else if("google"==i)r="//plus.google.com/share?url="+n;else if("pinterest"==i)r="//www.pinterest.com/pin/create/button/?url="+n+"&media="+a+"&description="+encodeURIComponent(o);else if("kakaostory"==i)r="https://story.kakao.com/share?url="+encodeURIComponent(n);else if("band"==i)r="http://www.band.us/plugin/share?body="+encodeURIComponent(o)+"%0A"+encodeURIComponent(n);else if("naver"==i)r="http://share.naver.com/web/shareView.nhn?url="+encodeURIComponent(n)+"&title="+encodeURIComponent(o);else{if("line"!=i)return!1;r="http://line.me/R/msg/text/?"+encodeURIComponent(o+"\n"+n)}return APP.POPUP({url:r}),!1}}),APP.MEMBER={},APP.MEMBER.init=function(){APP.MEMBER.InitLoginForm(),APP.MEMBER.initCheckExist(),APP.MEMBER.InitRegisterForm(),APP.MEMBER.InitMemberModifyForm()},APP.MEMBER.InitRegisterForm=function(){$('[data-form="form-register"]').submit(function(e){e.preventDefault();var t=$(this);$.ajax({type:"PUT",data:t.serialize(),url:base_url+"/ajax/members/info",success:function(e){1==e.result&&(alert(LANG.member_join_success),location.href=base_url+"/members/login")}})})},APP.MEMBER.InitMemberModifyForm=function(){$('[data-form="form-member-modify"]').submit(function(e){e.preventDefault();var t=$(this);$.ajax({type:"POST",data:t.serialize(),url:base_url+"/ajax/members/info",success:function(e){1==e.result&&(alert(e.message),location.reload())}})})},APP.MEMBER.InitLoginForm=function(){$('[data-role="form-login"]').submit(function(e){e.preventDefault();var t=$(this),i=t.find('[name="login_id"]'),n=t.find('[name="login_pass"]');return""==i.val().trim()?(alert(LANG.member_login_userid_required),i.focus(),!1):""==n.val().trim()?(alert(LANG.member_login_password_required),n.focus(),!1):void $.ajax({url:base_url+"ajax/members/login",type:"POST",data:t.serialize(),success:function(e){1==e.result&&(location.href=e.reurl?e.reurl:base_url)},error:function(e){n.val("")}})})},APP.MEMBER.initCheckExist=function(){$('[data-toggle="check-member-exist"]').each(function(){var e=$(this);e.on("click",function(){var t=$("#"+e.data("target")),i=e.data("check"),n=t.val();if(void 0===n||!n||!n.trim())return alert(LANG.member_join_user_id_required),t.focus(),!1;var o=APP.MEMBER.denyWordCheck(i,n);return"VALID_EMAIL"==o?(alert(LANG.member_join_no_valid_email_address),t.focus(),!1):o?APP.MEMBER.getInfo(i,n)?(alert(LANG.member_join_user_id_already_exists),t.focus(),!1):(alert(LANG.member_join_user_id_available),!0):(alert(LANG.member_join_user_id_contains_deny_word),t.focus(),!1)})})},APP.MEMBER.getInfo=function(e,t){var i=null;return $.ajax({url:base_url+"/ajax/members/info",type:"get",async:!1,cache:!1,data:{key:e,value:t},success:function(e){i=e.result}}),i},APP.MEMBER.denyWordCheck=function(e,t){var i=null;return $.ajax({url:base_url+"/ajax/members/word_check",type:"get",async:!1,cache:!1,data:{key:e,value:t},success:function(e){i=e.result}}),i},APP.MEMBER.POP_CHANGE_PHOTO=function(){APP.POPUP({url:"/members/photo_change",width:600,height:150})},$(document).ready(APP.MEMBER.init),APP.BOARD={},APP.BOARD.CATEGORY={},APP.BOARD.EXTRA={},APP.BOARD.COMMENT={},APP.BOARD.CATEGORY.count=function(e){if(void 0===e||!e)return 0;var t=0;return $.ajax({url:base_url+"/ajax/board/category_count",type:"get",cache:!1,async:!1,data:{bca_idx:e},success:function(e){t=e.result}}),t},APP.BOARD.CATEGORY.postCount=function(e){if(void 0===e||!e)return 0;var t=0;return $.ajax({url:base_url+"/ajax/board/category_post_count",type:"get",cache:!1,async:!1,data:{bca_idx:e},success:function(e){t=e.result}}),t},APP.BOARD.COMMENT.modify=function(e){APP.POPUP({title:"_blank",width:800,height:600,url:base_url+"/board/comment/modify/"+e})},APP.BOARD.COMMENT.reply=function(e,t){APP.POPUP({title:"_blank",width:800,height:600,url:base_url+"/board/comment/reply/"+e+"/"+t})},$(function(){var e=$('[data-form="post"]');e.length>0&&e.on("submit",function(){$.blockUI({css:{width:"25px",top:"49%",left:"49%",border:"0px none",backgroundColor:"transparent",cursor:"wait"},message:'로딩중',baseZ:1e4,overlayCSS:{opacity:0}})})});var DateFormatter,_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};(function(){"use strict";var e=this,t=this,i=t?t.document:null,n=(t&&t.document.documentElement,/^(["'](\\.|[^"\\\n\r])*?["']|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/),o=/^-ms-/,r=/[\-_]([\da-z])/gi,a=/([A-Z])/g,s=/\./,l=/[-|+]?[\D]/gi,c=/\D/gi,d=new RegExp("([0-9])([0-9][0-9][0-9][,.])"),u=/&/g,h=/=/,f=/[ ]+/g,p={},m=void 0,g=void 0;p.guid=1,p.getGuid=function(){return p.guid++},p.info=m=function(){var e=arguments,n=function(e,i,n,o,r,a){return t&&t.navigator?(i=-1!=(e=navigator.userAgent.toLowerCase()).search(/mobile/g),-1!=e.search(/iphone/g)?{name:"iphone",version:0,mobile:!0}:-1!=e.search(/ipad/g)?{name:"ipad",version:0,mobile:!0}:-1!=e.search(/android/g)?{name:"android",version:(o=/(android)[ \/]([\w.]+)/.exec(e)||[])[2]||"0",mobile:i}:("","msie"==(r=(o=/(opr)[ \/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[])[1]||"")&&(r="ie"),{name:r,version:o[2]||"0",mobile:i})):{}}(),o=!("undefined"==typeof window||"undefined"==typeof navigator||!t.document),r=t&&/Firefox/i.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel";return{errorMsg:{},version:"1.4.126",baseUrl:"",onerror:function(){console.error(g.toArray(e).join(":"))},eventKeys:{BACKSPACE:8,TAB:9,RETURN:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,HOME:36,END:35,PAGEUP:33,PAGEDOWN:34,INSERT:45,SPACE:32},weekNames:[{label:"SUN"},{label:"MON"},{label:"TUE"},{label:"WED"},{label:"THU"},{label:"FRI"},{label:"SAT"}],browser:n,isBrowser:o,supportTouch:!!t&&("ontouchstart"in t||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),supportFileApi:!!t&&(t.FileReader&&t.File&&t.FileList&&t.Blob),wheelEnm:r,urlUtil:function(e,n){return n=(e={href:t.location.href,param:t.location.search,referrer:i.referrer,pathname:t.location.pathname,hostname:t.location.hostname,port:t.location.port}).href.split(/[\?#]/),e.param=e.param.replace("?",""),e.url=n[0],e.href.search("#")>-1&&(e.hashdata=g.last(n)),n=null,e.baseUrl=g.left(e.href,"?").replace(e.pathname,""),e},getError:function(e,t,i){return m.errorMsg&&m.errorMsg[e]?{className:e,errorCode:t,methodName:i,msg:m.errorMsg[e][t]}:{className:e,errorCode:t,methodName:i}}}}(),p.util=g=function(){var v=Object.prototype.toString;function y(e,t){if(M(e))return[];var i=void 0,n=0,o=e.length;if(void 0===o||"function"==typeof e){for(i in e)if(void 0!==e[i]&&!1===t.call(e[i],i,e[i]))break}else for(;n0&&(t+=","),t+=b(e[i]);t+="]"}else if(p.util.isObject(e)){t+="{";var o=[];y(e,function(e,t){o.push('"'+e+'": '+b(t))}),t+=o.join(", "),t+="}"}else t=p.util.isString(e)?'"'+e+'"':p.util.isNumber(e)?e:p.util.isUndefined(e)?"undefined":p.util.isFunction(e)?'"{Function}"':e;return t}function w(e){return"[object Object]"==v.call(e)}function _(e){return"[object Array]"==v.call(e)}function x(e){return"function"==typeof e}function k(e){return"[object String]"==v.call(e)}function D(e){return"[object Number]"==v.call(e)}function M(e){return null==e||""===e}function S(e,t){return void 0===e||void 0===t?"":k(t)?e.indexOf(t)>-1?e.substr(0,e.indexOf(t)):"":D(t)?e.substr(0,t):""}function T(e,t){return void 0===e||void 0===t?"":(e=""+e,k(t)?e.lastIndexOf(t)>-1?e.substr(e.lastIndexOf(t)+1):"":D(t)?e.substr(e.length-t):"")}function C(e){return e.replace(o,"ms-").replace(r,function(e,t){return t.toUpperCase()})}function P(e){return C(e).replace(a,function(e,t){return"-"+t.toLowerCase()})}function O(e,t){var i,n,o,r=(""+e).split(s);return n=Number(r[0].replace(/,/g,""))<0||"-0"==r[0],o=0,r[0]=r[0].replace(l,""),r[1]?(r[1]=r[1].replace(c,""),o=Number(r[0]+"."+r[1])||0):o=Number(r[0])||0,i=n?-o:o,y(t,function(e,t){var n,o;"round"==e&&(i=D(t)?t<0?+(Math.round(i+"e-"+Math.abs(t))+"e+"+Math.abs(t)):+(Math.round(i+"e+"+t)+"e-"+t):Math.round(i)),"floor"==e&&(i=Math.floor(i)),"ceil"==e?i=Math.ceil(i):"money"==e?i=function(e){var t=""+i;if(isNaN(t)||""==t)return"";var n=t.split(".");n[0]+=".";do{n[0]=n[0].replace(d,"$1,$2")}while(d.test(n[0]));return n.length>1?n.join(""):n[0].split(".")[0]}():"abs"==e?i=Math.abs(Number(i)):"byte"==e&&(n="KB",(o=Number(i)/1024)/1024>1&&(n="MB",o/=1024),o/1024>1&&(n="GB",o/=1024),i=O(o,{round:1})+n)}),i}function A(e,t,i,n,o,r){var a;return new Date,t<0&&(t=0),void 0===n&&(n=12),void 0===o&&(o=0),a=new Date(Date.UTC(e,t,i||1,n,o,r||0)),0==t&&1==i&&a.getUTCHours()+a.getTimezoneOffset()/60<0?a.setUTCHours(0):a.setUTCHours(a.getUTCHours()+a.getTimezoneOffset()/60),a}function I(e,t){var i,n,o,r,a,s,l,c,d,u,h,f,p,g,v,y=void 0,b=void 0,w=void 0,_=void 0,x=void 0,D=void 0,M=void 0,S=void 0,C=void 0,P=void 0;if(k(e))if(0==e.length)e=new Date;else if(e.length>15)/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(\.\d+)?(([+-]\d\d:\d\d)|Z)?$/i.test(e)||/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z)?)?)?)?$/i.test(e)?e=new Date(e):(y=(C=(D=e.split(/ /g))[0].split(/\D/g))[0],b=parseFloat(C[1]),w=parseFloat(C[2]),M=(S=D[1]||"09:00").substring(0,5).split(":"),_=parseFloat(M[0]),x=parseFloat(M[1]),"AM"!==T(S,2)&&"PM"!==T(S,2)||(_+=12),e=A(y,b-1,w,_,x));else if(14==e.length)P=e.replace(/\D/g,""),e=A(P.substr(0,4),P.substr(4,2)-1,O(P.substr(6,2)),O(P.substr(8,2)),O(P.substr(10,2)),O(P.substr(12,2)));else if(e.length>7)P=e.replace(/\D/g,""),e=A(P.substr(0,4),P.substr(4,2)-1,O(P.substr(6,2)));else if(e.length>4)P=e.replace(/\D/g,""),e=A(P.substr(0,4),P.substr(4,2)-1,1);else{if(e.length>2)return A((P=e.replace(/\D/g,"")).substr(0,4),P.substr(4,2)-1,1);e=new Date}return void 0===t||void 0===e?e:("add"in t&&(e=function(e,t){var i=void 0,n=void 0,o=void 0,r=void 0;return void 0!==t.d?e.setTime(e.getTime()+864e5*t.d):void 0!==t.m?(i=e.getFullYear(),n=e.getMonth(),o=e.getDate(),(r=E(i+=parseInt(t.m/12),n+=t.m%12))=t||i<0||u&&e-c>=r}function m(){var e=Date.now();if(p(e))return g(e);s=setTimeout(m,function(e){var i=e-c,n=t-(e-l);return u?Math.min(n,r-i):n}(e))}function g(e){return s=void 0,h&&n?f(e):(n=o=void 0,a)}function v(){for(var e=Date.now(),i=p(e),r=arguments.length,h=Array(r),g=0;g\&\"]/gm,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";case'"':return""";default:return e}}):""}function Y(e){return"[object String]"!=v.call(e)?e:e?e.replace(/(<)|(>)|(&)|(")/gm,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";case""":return'"';default:return e}}):""}return{alert:function(e){return t.alert(b(e)),e},each:y,map:function(e,t){if(M(e))return[];var i=void 0,n=0,o=e.length,r=[],a=void 0;if(w(e)){for(i in e)if(void 0!==e[i]){if(a=void 0,!1===(a=t.call(e[i],i,e[i])))break;r.push(a)}}else for(;n0&&(void 0===t[n]||!1!==(o=i.call(e,o,t[--n]))););return o},filter:function(e,t){if(M(e))return[];var i,n=0,o=e.length,r=[];if(w(e))for(i in e)void 0!==e[i]&&t.call(e[i],i,e[i])&&r.push(e[i]);else for(;n7&&I(e)instanceof Date)return!0;if((e=e.replace(/\D/g,"")).length>7){var i=e.substr(4,2),n=e.substr(6,2);(e=I(e)).getMonth()==i-1&&e.getDate()==n&&(t=!0)}}return t},stopEvent:function(e){e||(e=window.event);return e.cancelBubble=!0,e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1},selectRange:F,debounce:W,throttle:function(e,t,i){var n=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return w(i)&&(n="leading"in i?!!i.leading:n,o="trailing"in i?!!i.trailing:o),W(e,t,{leading:n,maxWait:t,trailing:o})},escapeHtml:L,unescapeHtml:Y,string:function(e){return new function(e){this.value=e,this.toString=function(){return this.value},this.format=function(){for(var e=[],t=0,i=arguments.length;t.5?l/(2-r-a):l/(r+a),r){case e:n=(t-i)/l+(t1&&(i-=1),i<1/6?e+6*(t-e)*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}if(e=c(e,360),t=c(t,100),i=c(i,100),0===t)n=o=r=i;else{var s=i<.5?i*(1+t):i+t-i*t,l=2*i-s;n=a(l,s,e+1/3),o=a(l,s,e),r=a(l,s,e-1/3)}return{r:255*n,g:255*o,b:255*r}}return new function(t){this._originalValue=t,t=function(e){var t=void 0;return(t=r.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=r.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=r.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=r.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=r.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=r.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=r.hex8.exec(e))?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16),a:parseInt(t[4]/255,16),format:"hex8"}:(t=r.hex6.exec(e))?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16),format:"hex"}:(t=r.hex4.exec(e))?{r:parseInt(t[1]+""+t[1],16),g:parseInt(t[2]+""+t[2],16),b:parseInt(t[3]+""+t[3],16),a:parseInt(t[4]+""+t[4],16),format:"hex8"}:!!(t=r.hex3.exec(e))&&{r:parseInt(t[1]+""+t[1],16),g:parseInt(t[2]+""+t[2],16),b:parseInt(t[3]+""+t[3],16),format:"hex"}}(t),this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a||1,this._format=t.format,this._hex=l(this.r)+l(this.g)+l(this.b),this.getHexValue=function(){return this._hex},this.lighten=function(t){t=0===t?0:t||10;var i,n=d(this.r,this.g,this.b);return n.l+=t/100,n.l=Math.min(1,Math.max(0,n.l)),n.h=360*n.h,e("rgba("+s((i=u(n.h,a(n.s),a(n.l))).r)+", "+s(i.g)+", "+s(i.b)+", "+this.a+")")},this.darken=function(t){t=0===t?0:t||10;var i,n=d(this.r,this.g,this.b);return n.l-=t/100,n.l=Math.min(1,Math.max(0,n.l)),n.h=360*n.h,e("rgba("+s((i=u(n.h,a(n.s),a(n.l))).r)+", "+s(i.g)+", "+s(i.b)+", "+this.a+")")},this.getBrightness=function(){return(299*this.r+587*this.g+114*this.b)/1e3},this.isDark=function(){return this.getBrightness()<128},this.isLight=function(){return!this.isDark()},this.getHsl=function(){var e=d(this.r,this.g,this.b);return e.l=Math.min(1,Math.max(0,e.l)),e.h=360*e.h,{h:e.h,s:e.s,l:e.l}}}(t)}}}(),"object"===("undefined"==typeof module?"undefined":_typeof(module))&&"object"===_typeof(module.exports)?module.exports=p:e.ax5=p}).call("undefined"!=typeof window?window:void 0),ax5.def={},ax5.info.errorMsg.ax5dialog={501:"Duplicate call error"},ax5.info.errorMsg.ax5picker={401:"Can not find target element",402:"Can not find boundID",501:"Can not find content key"},ax5.info.errorMsg["single-uploader"]={460:"There are no files to be uploaded.",461:"There is no uploaded files."},ax5.info.errorMsg.ax5calendar={401:"Can not find target element"},ax5.info.errorMsg.ax5formatter={401:"Can not find target element",402:"Can not find boundID",501:"Can not find pattern"},ax5.info.errorMsg.ax5menu={501:"Can not find menu item"},ax5.info.errorMsg.ax5select={401:"Can not find target element",402:"Can not find boundID",501:"Can not find option"},ax5.info.errorMsg.ax5combobox={401:"Can not find target element",402:"Can not find boundID",501:"Can not find option"},function(){"use strict";var e,t,i,n,o,r,a=/^\s*|\s*$/g;(Object.keys||(Object.keys=(e=Object.prototype.hasOwnProperty,t=!{toString:null}.propertyIsEnumerable("toString"),n=(i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(o){if("object"!==(void 0===o?"undefined":_typeof(o))&&("function"!=typeof o||null===o))throw new TypeError("type err");var r,a,s=[];for(r in o)e.call(o,r)&&s.push(r);if(t)for(a=0;a>>0;if("function"!=typeof e)throw TypeError();var n,o=arguments[1];for(n=0;ni));n+=1);return e.removeRule(0),a};document.querySelectorAll=function(e){return t(e,1/0)},document.querySelector=function(e){return t(e,1)[0]||null}}}(),String.prototype.trim||(String.prototype.trim=function(){return this.replace(a,"")}),window.JSON||(window.JSON={parse:function(e){return new Function("","return "+e)()},stringify:(r=/["]/g,o=function(e){var t,i,n;switch(t=void 0===e?"undefined":_typeof(e)){case"string":return'"'+e.replace(r,'\\"')+'"';case"number":case"boolean":return e.toString();case"undefined":return"undefined";case"function":return'""';case"object":if(!e)return"null";if(t="",e.splice){for(i=0,n=e.length;i=9)return!1;var e=Array.prototype.splice;Array.prototype.splice=function(){var t=Array.prototype.slice.call(arguments);return void 0===t[1]&&(t[1]=this.length-t[0]),e.apply(this,t)}}(),function(){var e=Array.prototype.slice;try{e.call(document.documentElement)}catch(t){Array.prototype.slice=function(t,i){if(i=void 0!==i?i:this.length,"[object Array]"===Object.prototype.toString.call(this))return e.call(this,t,i);var n,o,r=[],a=this.length,s=t||0;s=s>=0?s:Math.max(0,a+s);var l="number"==typeof i?Math.min(i,a):a;if(i<0&&(l=a+i),(o=l-s)>0)if(r=new Array(o),this.charAt)for(n=0;n":">",'"':""","'":"'","/":"/"};var d=/\s*/,u=/\s+/,h=/\s*=/,f=/\s*\}/,p=/#|\^|\/|>|\{|&|=|!/;function m(e){this.string=e,this.tail=e,this.pos=0}function g(e,t){this.view=e,this.cache={".":this.view,"@each":function(){var e=[];for(var t in this)e.push({"@key":t,"@value":this[t]});return e}},this.parent=t}function v(){this.cache={}}m.prototype.eos=function(){return""===this.tail},m.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var i=t[0];return this.tail=this.tail.substring(i.length),this.pos+=i.length,i},m.prototype.scanUntil=function(e){var t,i=this.tail.search(e);switch(i){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,i),this.tail=this.tail.substring(i)}return this.pos+=t.length,t},g.prototype.push=function(e){return new g(e,this)},g.prototype.lookup=function(e){var t,i=this.cache;if(i.hasOwnProperty(e))t=i[e];else{for(var o,a,s=this,l=!1;s;){if(e.indexOf(".")>0)for(t=s.view,o=e.split("."),a=0;null!=t&&a0?o[o.length-1][4]:i;break;default:n.push(t)}return i}(function(e){for(var t,i,n=[],o=0,r=e.length;o"===r?a=this.renderPartial(o,t,i,n):"&"===r?a=this.unescapedValue(o,t):"name"===r?a=this.escapedValue(o,t):"text"===r&&(a=this.rawValue(o)),void 0!==a&&(s+=a);return s},v.prototype.renderSection=function(e,t,o,r){var a=this,s="",l=t.lookup(e[1]);if(l){if(i(l))for(var c=0,d=l.length;c"'\/]/g,function(e){return c[e]})},e.Scanner=m,e.Context=g,e.Writer=v}),function(){var e=ax5.ui,t=ax5.util,i=void 0;e.addClass({className:"mask"},function(){var n,o=this;this.instanceId=ax5.getGuid(),this.config={theme:"",target:jQuery(document.body).get(0),animateTime:250},this.maskContent="",this.status="off",n=this.config;var r=function(e,t){return e&&e.onStateChanged?e.onStateChanged.call(t,t):this.onStateChanged&&this.onStateChanged.call(t,t),e=null,t=null,!0},a=function(e){this.maskContent=e};this.init=function(){this.onStateChanged=n.onStateChanged,this.onClick=n.onClick,this.config.content&&a.call(this,this.config.content)},this.open=function(e){"on"===this.status&&this.close(),e&&e.content&&a.call(this,e.content),e&&void 0===e.templateName&&(e.templateName="defaultMask"),o.maskConfig=jQuery.extend(!0,{},this.config,e);var t=o.maskConfig,n=t.target,s=jQuery(n),l="ax-mask-"+ax5.getGuid(),c=void 0,d={},u={},h=t.templateName,f=function(e){return void 0===e.templateName&&(e.templateName="defaultMask"),i.tmpl.get.call(this,e.templateName,e)}({theme:t.theme,maskId:l,body:this.maskContent,templateName:h});return jQuery(document.body).append(f),n&&n!==jQuery(document.body).get(0)&&(d={position:t.position||"absolute",left:s.offset().left,top:s.offset().top,width:s.outerWidth(),height:s.outerHeight()},s.addClass("ax-masking"),jQuery(window).on("resize.ax5mask-"+this.instanceId,function(e){this.align()}.bind(this))),void 0!==o.maskConfig.zIndex&&(d["z-index"]=o.maskConfig.zIndex),this.$mask=c=jQuery("#"+l),this.$target=s,this.status="on",c.css(d),t.onClick&&c.on("click",function(e){u={self:o,state:"open",type:"click"},o.maskConfig.onClick.call(u,u)}),r.call(this,null,{self:this,state:"open"}),e=null,t=null,n=null,s=null,l=null,c=null,d=null,u=null,h=null,f=null,this},this.close=function(e){if(this.$mask){var t=function(){this.status="off",this.$mask.remove(),this.$target.removeClass("ax-masking"),r.call(this,null,{self:this,state:"close"}),jQuery(window).off("resize.ax5mask-"+this.instanceId)};e?setTimeout(function(){t.call(this)}.bind(this),e):t.call(this)}return this},this.fadeOut=function(){return this.$mask&&(this.$mask.addClass("fade-out"),setTimeout(function(){(function(){this.status="off",this.$mask.remove(),this.$target.removeClass("ax-masking"),r.call(this,null,{self:this,state:"close"}),jQuery(window).off("resize.ax5mask-"+this.instanceId)}).call(this)}.bind(this),n.animateTime)),this},this.align=function(){if(this.maskConfig&&this.maskConfig.target&&this.maskConfig.target!==jQuery(document.body).get(0))try{var e={position:this.maskConfig.position||"absolute",left:this.$target.offset().left,top:this.$target.offset().top,width:this.$target.outerWidth(),height:this.$target.outerHeight()};this.$mask.css(e)}catch(e){}return this},this.pullRequest=function(){console.log("test pullRequest01"),console.log("test pullRequest02")},this.main=function(){e.mask_instance=e.mask_instance||[],e.mask_instance.push(this),arguments&&t.isObject(arguments[0])&&this.setConfig(arguments[0])}.apply(this,arguments)}),i=ax5.ui.mask}(),function(){var e=ax5.ui.mask;e.tmpl={defaultMask:function(e){return'\n
\n
\n
\n
\n {{{body}}}\n
\n
\n
\n '},get:function(t,i,n){return ax5.mustache.render(e.tmpl[t].call(this,n),i)}}}(),function(){var e=ax5.ui,t=ax5.util,i=void 0;e.addClass({className:"modal"},function(){var n,o=this,r={mousedown:ax5.info.supportTouch?"touchstart":"mousedown",mousemove:ax5.info.supportTouch?"touchmove":"mousemove",mouseup:ax5.info.supportTouch?"touchend":"mouseup"},a=function(e){var t=e;return"changedTouches"in e&&e.changedTouches&&(t=e.changedTouches[0]),{clientX:t.clientX,clientY:t.clientY}};this.instanceId=ax5.getGuid(),this.config={id:"ax5-modal-"+this.instanceId,position:{left:"center",top:"middle",margin:10},minimizePosition:"bottom-right",clickEventName:"ontouchstart"in document.documentElement?"touchstart":"click",theme:"default",width:300,height:400,closeToEsc:!0,disableDrag:!1,disableResize:!1,animateTime:250,iframe:!1},this.activeModal=null,this.watingModal=!1,this.$={},n=this.config;var s=function(e,t){var i={resize:function(t){e&&e.onResize?e.onResize.call(t,t):this.onResize&&this.onResize.call(t,t)},move:function(){}};return t.state in i&&i[t.state].call(this,t),e&&e.onStateChanged?e.onStateChanged.call(t,t):this.onStateChanged&&this.onStateChanged.call(t,t),!0},l=function(e,n){var l=void 0;jQuery(document.body).append(function(e,t){var n={modalId:e,theme:t.theme,header:t.header,fullScreen:t.fullScreen?"fullscreen":"",styles:"",iframe:t.iframe,iframeLoadingMsg:t.iframeLoadingMsg,disableResize:t.disableResize};return t.zIndex&&(n.styles+="z-index:"+t.zIndex+";"),t.absolute&&(n.styles+="position:absolute;"),n.iframe&&"string"==typeof n.iframe.param&&(n.iframe.param=ax5.util.param(n.iframe.param)),i.tmpl.get.call(this,"content",n,{})}.call(this,e.id,e)),this.activeModal=jQuery("#"+e.id),this.$={root:this.activeModal,header:this.activeModal.find('[data-modal-els="header"]'),body:this.activeModal.find('[data-modal-els="body"]')},e.iframe?(this.$["iframe-wrap"]=this.activeModal.find('[data-modal-els="iframe-wrap"]'),this.$.iframe=this.activeModal.find('[data-modal-els="iframe"]'),this.$["iframe-form"]=this.activeModal.find('[data-modal-els="iframe-form"]'),this.$["iframe-loading"]=this.activeModal.find('[data-modal-els="iframe-loading"]')):this.$["body-frame"]=this.activeModal.find('[data-modal-els="body-frame"]'),this.align(),l={self:this,id:e.id,theme:e.theme,width:e.width,height:e.height,state:"open",$:this.$},e.iframe&&(this.$["iframe-wrap"].css({height:e.height}),this.$.iframe.css({height:e.height}),this.$["iframe-form"].attr({method:e.iframe.method}),this.$["iframe-form"].attr({target:e.id+"-frame"}),this.$["iframe-form"].attr({action:e.iframe.url}),this.$.iframe.on("load",function(){l.state="load",e.iframeLoadingMsg&&this.$["iframe-loading"].hide(),s.call(this,e,l)}.bind(this)),e.iframeLoadingMsg||this.$.iframe.show(),this.$["iframe-form"].submit()),n&&n.call(l,l),this.watingModal||s.call(this,e,l),e.closeToEsc&&jQuery(window).bind("keydown.ax-modal",function(e){d.call(this,e||window.event)}.bind(this)),jQuery(window).bind("resize.ax-modal",function(e){this.align(null,e||window.event)}.bind(this)),this.$.header.off(r.mousedown).off("dragstart").on(r.mousedown,function(i){var n=t.findParentNode(i.target,function(e){if(e.getAttribute("data-modal-header-btn"))return!0});e.isFullScreen||n||1==e.disableDrag||(o.mousePosition=a(i),h.on.call(o)),n&&c.call(o,i||window.event,e)}).on("dragstart",function(e){return t.stopEvent(e.originalEvent),!1}),this.activeModal.off(r.mousedown).off("dragstart").on(r.mousedown,"[data-ax5modal-resizer]",function(t){if(e.disableDrag||e.isFullScreen)return!1;o.mousePosition=a(t),f.on.call(o,this.getAttribute("data-ax5modal-resizer"))}).on("dragstart",function(e){return t.stopEvent(e.originalEvent),!1})},c=function(e,i,n,o,r){var a=void 0;e.srcElement&&(e.target=e.srcElement),(o=t.findParentNode(e.target,function(e){if(e.getAttribute("data-modal-header-btn"))return!0}))&&(a={self:this,key:r=o.getAttribute("data-modal-header-btn"),value:i.header.btns[r],dialogId:i.id,btnTarget:o},i.header.btns[r].onClick&&i.header.btns[r].onClick.call(a,r)),a=null,i=null,o=null,r=null},d=function(e){e.keyCode==ax5.info.eventKeys.ESC&&this.close()},u={"top-left":function(){this.align({left:"left",top:"top"})},"top-right":function(){this.align({left:"right",top:"top"})},"bottom-left":function(){this.align({left:"left",top:"bottom"})},"bottom-right":function(){this.align({left:"right",top:"bottom"})},"center-middle":function(){this.align({left:"center",top:"middle"})}},h={on:function(){var e=this.activeModal.css("z-index"),t=this.activeModal.offset(),i={width:this.activeModal.outerWidth(),height:this.activeModal.outerHeight()};jQuery(window).width(),jQuery(window).height(),jQuery(document).scrollLeft(),jQuery(document).scrollTop(),o.__dx=0,o.__dy=0,o.resizerBg=jQuery('
'),o.resizer=jQuery('
'),o.resizerBg.css({zIndex:e}),o.resizer.css({left:t.left,top:t.top,width:i.width,height:i.height,zIndex:e+1}),jQuery(document.body).append(o.resizerBg).append(o.resizer),o.activeModal.addClass("draged"),jQuery(document.body).on(r.mousemove+".ax5modal-move-"+this.instanceId,function(e){o.resizer.css(function(e){return o.__dx=e.clientX-o.mousePosition.clientX,o.__dy=e.clientY-o.mousePosition.clientY,{left:t.left+o.__dx,top:t.top+o.__dy}}(e))}).on(r.mouseup+".ax5modal-move-"+this.instanceId,function(e){h.off.call(o)}).on("mouseleave.ax5modal-move-"+this.instanceId,function(e){h.off.call(o)}),jQuery(document.body).attr("unselectable","on").css("user-select","none").on("selectstart",!1)},off:function(){this.activeModal.removeClass("draged"),function(){var e=this.resizer.offset();this.modalConfig.absolute||(e.left-=jQuery(document).scrollLeft(),e.top-=jQuery(document).scrollTop()),this.activeModal.css(e),this.modalConfig.left=e.left,this.modalConfig.top=e.top,e=null}.call(this),this.resizer.remove(),this.resizer=null,this.resizerBg.remove(),this.resizerBg=null,jQuery(document.body).off(r.mousemove+".ax5modal-move-"+this.instanceId).off(r.mouseup+".ax5modal-move-"+this.instanceId).off("mouseleave.ax5modal-move-"+this.instanceId),jQuery(document.body).removeAttr("unselectable").css("user-select","auto").off("selectstart"),s.call(this,o.modalConfig,{self:this,state:"move"})}},f={on:function(e){var t=this.activeModal.css("z-index"),i=this.activeModal.offset(),n={width:this.activeModal.outerWidth(),height:this.activeModal.outerHeight()},a=(jQuery(window).width(),jQuery(window).height(),jQuery(document).scrollLeft(),jQuery(document).scrollTop(),{top:function(e){return l>n.height-o.__dy&&(o.__dy=n.height-l),e.shiftKey?(l>n.height-2*o.__dy&&(o.__dy=(n.height-l)/2),{left:i.left,top:i.top+o.__dy,width:n.width,height:n.height-2*o.__dy}):e.altKey?(l>n.height-2*o.__dy&&(o.__dy=(n.height-l)/2),{left:i.left+o.__dy,top:i.top+o.__dy,width:n.width-2*o.__dy,height:n.height-2*o.__dy}):{left:i.left,top:i.top+o.__dy,width:n.width,height:n.height-o.__dy}},bottom:function(e){return l>n.height+o.__dy&&(o.__dy=-n.height+l),e.shiftKey?(l>n.height+2*o.__dy&&(o.__dy=(-n.height+l)/2),{left:i.left,top:i.top-o.__dy,width:n.width,height:n.height+2*o.__dy}):e.altKey?(l>n.height+2*o.__dy&&(o.__dy=(-n.height+l)/2),{left:i.left-o.__dy,top:i.top-o.__dy,width:n.width+2*o.__dy,height:n.height+2*o.__dy}):{left:i.left,top:i.top,width:n.width,height:n.height+o.__dy}},left:function(e){return s>n.width-o.__dx&&(o.__dx=n.width-s),e.shiftKey?(s>n.width-2*o.__dx&&(o.__dx=(n.width-s)/2),{left:i.left+o.__dx,top:i.top,width:n.width-2*o.__dx,height:n.height}):e.altKey?(s>n.width-2*o.__dx&&(o.__dx=(n.width-s)/2),{left:i.left+o.__dx,top:i.top+o.__dx,width:n.width-2*o.__dx,height:n.height-2*o.__dx}):{left:i.left+o.__dx,top:i.top,width:n.width-o.__dx,height:n.height}},right:function(e){return s>n.width+o.__dx&&(o.__dx=-n.width+s),e.shiftKey?(s>n.width+2*o.__dx&&(o.__dx=(-n.width+s)/2),{left:i.left-o.__dx,top:i.top,width:n.width+2*o.__dx,height:n.height}):e.altKey?(s>n.width+2*o.__dx&&(o.__dx=(-n.width+s)/2),{left:i.left-o.__dx,top:i.top-o.__dx,width:n.width+2*o.__dx,height:n.height+2*o.__dx}):{left:i.left,top:i.top,width:n.width+o.__dx,height:n.height}},"top-left":function(e){return s>n.width-o.__dx&&(o.__dx=n.width-s),l>n.height-o.__dy&&(o.__dy=n.height-l),e.shiftKey||e.altKey?(l>n.height-2*o.__dy&&(o.__dy=(n.height-l)/2),s>n.width-2*o.__dx&&(o.__dx=(n.width-s)/2),{left:i.left+o.__dx,top:i.top+o.__dy,width:n.width-2*o.__dx,height:n.height-2*o.__dy}):(l>n.height-2*o.__dy&&(o.__dy=(n.height-l)/2),s>n.width-2*o.__dx&&(o.__dx=(n.width-s)/2),{left:i.left+o.__dx,top:i.top+o.__dy,width:n.width-o.__dx,height:n.height-o.__dy})},"top-right":function(e){return s>n.width+o.__dx&&(o.__dx=-n.width+s),l>n.height-o.__dy&&(o.__dy=n.height-l),e.shiftKey||e.altKey?(l>n.height-2*o.__dy&&(o.__dy=(n.height-l)/2),s>n.width+2*o.__dx&&(o.__dx=(-n.width+s)/2),{left:i.left-o.__dx,top:i.top+o.__dy,width:n.width+2*o.__dx,height:n.height-2*o.__dy}):{left:i.left,top:i.top+o.__dy,width:n.width+o.__dx,height:n.height-o.__dy}},"bottom-left":function(e){return s>n.width-o.__dx&&(o.__dx=n.width-s),l>n.height+o.__dy&&(o.__dy=-n.height+l),e.shiftKey||e.altKey?(s>n.width-2*o.__dx&&(o.__dx=(n.width-s)/2),l>n.height+2*o.__dy&&(o.__dy=(-n.height+l)/2),{left:i.left+o.__dx,top:i.top-o.__dy,width:n.width-2*o.__dx,height:n.height+2*o.__dy}):{left:i.left+o.__dx,top:i.top,width:n.width-o.__dx,height:n.height+o.__dy}},"bottom-right":function(e){return s>n.width+o.__dx&&(o.__dx=-n.width+s),l>n.height+o.__dy&&(o.__dy=-n.height+l),e.shiftKey||e.altKey?(s>n.width+2*o.__dx&&(o.__dx=(-n.width+s)/2),l>n.height+2*o.__dy&&(o.__dy=(-n.height+l)/2),{left:i.left-o.__dx,top:i.top-o.__dy,width:n.width+2*o.__dx,height:n.height+2*o.__dy}):{left:i.left,top:i.top,width:n.width+o.__dx,height:n.height+o.__dy}}}),s=100,l=100,c={top:"row-resize",bottom:"row-resize",left:"col-resize",right:"col-resize","top-left":"nwse-resize","top-right":"nesw-resize","bottom-left":"nesw-resize","bottom-right":"nwse-resize"};o.__dx=0,o.__dy=0,o.resizerBg=jQuery('
'),o.resizer=jQuery('
'),o.resizerBg.css({zIndex:t,cursor:c[e]}),o.resizer.css({left:i.left,top:i.top,width:n.width,height:n.height,zIndex:t+1,cursor:c[e]}),jQuery(document.body).append(o.resizerBg).append(o.resizer),o.activeModal.addClass("draged"),jQuery(document.body).bind(r.mousemove+".ax5modal-resize-"+this.instanceId,function(t){o.resizer.css(function(t){return o.__dx=t.clientX-o.mousePosition.clientX,o.__dy=t.clientY-o.mousePosition.clientY,a[e](t)}(t))}).bind(r.mouseup+".ax5modal-resize-"+this.instanceId,function(e){f.off.call(o)}).bind("mouseleave.ax5modal-resize-"+this.instanceId,function(e){f.off.call(o)}),jQuery(document.body).attr("unselectable","on").css("user-select","none").bind("selectstart",!1)},off:function(){this.activeModal.removeClass("draged"),function(){var e=this.resizer.offset();jQuery.extend(e,{width:this.resizer.width(),height:this.resizer.height()}),this.modalConfig.absolute||(e.left-=jQuery(document).scrollLeft(),e.top-=jQuery(document).scrollTop()),this.activeModal.css(e),this.modalConfig.left=e.left,this.modalConfig.top=e.top,this.modalConfig.width=e.width,this.modalConfig.height=e.height,this.$.body.css({height:e.height-this.modalConfig.headerHeight}),this.modalConfig.iframe&&(this.$["iframe-wrap"].css({height:e.height-this.modalConfig.headerHeight}),this.$.iframe.css({height:e.height-this.modalConfig.headerHeight})),e=null}.call(this),this.resizer.remove(),this.resizer=null,this.resizerBg.remove(),this.resizerBg=null,s.call(this,o.modalConfig,{self:this,state:"resize"}),jQuery(document.body).unbind(r.mousemove+".ax5modal-resize-"+this.instanceId).unbind(r.mouseup+".ax5modal-resize-"+this.instanceId).unbind("mouseleave.ax5modal-resize-"+this.instanceId),jQuery(document.body).removeAttr("unselectable").css("user-select","auto").unbind("selectstart")}};this.init=function(){this.onStateChanged=n.onStateChanged,this.onResize=n.onResize},this.open=function(e,t,i){return void 0===i&&(i=0),this.activeModal?i<3?(this.watingModal=!0,setTimeout(function(){this.open(e,t,i+1)}.bind(this),n.animateTime)):this.watingModal=!1:(e=o.modalConfig=jQuery.extend(!0,{},n,e),l.call(this,e,t),this.watingModal=!1),this},this.close=function(e){var i=void 0,r=void 0;return this.activeModal&&(i=o.modalConfig,this.activeModal.addClass("destroy"),jQuery(window).unbind("keydown.ax-modal"),jQuery(window).unbind("resize.ax-modal"),setTimeout(function(){if(i.iframe){var n=this.$.iframe;if(n){var o=n.get(0),a=o.contentDocument?o.contentDocument:o.contentWindow.document;try{$(a.body).children().each(function(){$(this).remove()})}catch(e){}a.innerHTML="",n.attr("src","about:blank").remove(),window.CollectGarbage&&window.CollectGarbage()}}this.activeModal.remove(),this.activeModal=null,this.watingModal||s.call(this,i,{self:this,state:"close"}),e&&t.isFunction(e.callback)&&(r={self:this,id:i.id,theme:i.theme,width:i.width,height:i.height,state:"close",$:this.$},e.callback.call(r,r))}.bind(this),n.animateTime)),this.minimized=!1,this},this.minimize=function(e){if(!0!==this.minimized){var t=o.modalConfig;void 0===e&&(e=n.minimizePosition),this.minimized=!0,this.$.body.hide(),o.modalConfig.originalHeight=t.height,o.modalConfig.height=0,u[e].call(this),s.call(this,t,{self:this,state:"minimize"})}return this},this.restore=function(){var e=o.modalConfig;return this.minimized&&(this.minimized=!1,this.$.body.show(),o.modalConfig.height=o.modalConfig.originalHeight,o.modalConfig.originalHeight=void 0,this.align({left:"center",top:"middle"}),s.call(this,e,{self:this,state:"restore"})),this},this.css=function(e){return this.activeModal&&!o.fullScreen&&(this.activeModal.css(e),void 0!==e.width&&(o.modalConfig.width=e.width),void 0!==e.height&&(o.modalConfig.height=e.height),this.align()),this},this.setModalConfig=function(e){return o.modalConfig=jQuery.extend({},o.modalConfig,e),this.align(),this},this.align=function(e,i){if(!this.activeModal)return this;var n,r=o.modalConfig,a={width:r.width,height:r.height};return(r.isFullScreen=void 0!==(n=r.fullScreen)&&(t.isFunction(n)?n():void 0))?(r.header&&this.$.header.show(),r.header?(r.headerHeight=this.$.header.outerHeight(),a.height+=r.headerHeight):r.headerHeight=0,a.width=jQuery(window).width(),a.height=r.height,a.left=0,a.top=0):(r.header&&this.$.header.show(),e&&jQuery.extend(!0,r.position,e),r.header?(r.headerHeight=this.$.header.outerHeight(),a.height+=r.headerHeight):r.headerHeight=0,"left"==r.position.left?a.left=r.position.margin||0:"right"==r.position.left?a.left=jQuery(window).width()-a.width-(r.position.margin||0):"center"==r.position.left?a.left=jQuery(window).width()/2-a.width/2:a.left=r.position.left||0,"top"==r.position.top?a.top=r.position.margin||0:"bottom"==r.position.top?a.top=jQuery(window).height()-a.height-(r.position.margin||0):"middle"==r.position.top?a.top=jQuery(window).height()/2-a.height/2:a.top=r.position.top||0,a.left<0&&(a.left=0),a.top<0&&(a.top=0),r.absolute&&(a.top+=jQuery(window).scrollTop(),a.left+=jQuery(window).scrollLeft())),this.activeModal.css(a),this.$.body.css({height:a.height-(r.headerHeight||0)}),r.iframe&&(this.$["iframe-wrap"].css({height:a.height-r.headerHeight}),this.$.iframe.css({height:a.height-r.headerHeight})),this},this.main=function(){e.modal_instance=e.modal_instance||[],e.modal_instance.push(this),arguments&&t.isObject(arguments[0])&&this.setConfig(arguments[0])}.apply(this,arguments)}),i=ax5.ui.modal}(),function(){var e=ax5.ui.modal;e.tmpl={content:function(){return' \n
\n {{#header}}\n
\n {{{title}}}\n {{#btns}}\n
\n {{#@each}}\n \n {{/@each}}\n
\n {{/btns}}\n
\n {{/header}}\n
\n {{#iframe}}\n
\n
{{{iframeLoadingMsg}}}
\n \n
\n
\n \n {{#param}}\n {{#@each}}\n \n {{/@each}}\n {{/param}}\n
\n {{/iframe}}\n {{^iframe}}\n
\n {{/iframe}}\n
\n {{^disableResize}}\n
\n
\n
\n
\n
\n
\n
\n
\n {{/disableResize}}\n
\n '},get:function(t,i,n){return ax5.mustache.render(e.tmpl[t].call(this,n),i)}}}(),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){"use strict";var t=!1,i=!1,n=0,o=2e3,r=0,a=e,s=document,l=window,c=a(l),d=[];var u=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||!1,h=l.cancelAnimationFrame||l.webkitCancelAnimationFrame||l.mozCancelAnimationFrame||!1;if(u)l.cancelAnimationFrame||(h=function(e){});else{var f=0;u=function(e,t){var i=(new Date).getTime(),n=Math.max(0,16-(i-f)),o=l.setTimeout(function(){e(i+n)},n);return f=i+n,o},h=function(e){l.clearTimeout(e)}}var p,m,g,v=l.MutationObserver||l.WebKitMutationObserver||!1,y=Date.now||function(){return(new Date).getTime()},b={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"6px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:40,mousescrollstep:27,touchbehavior:!1,emulatetouch:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,railhoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0},disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:.3,rtlmode:"auto",cursordragontouch:!1,oneaxismousemode:"auto",scriptpath:(m=s.currentScript||!!(p=s.getElementsByTagName("script")).length&&p[p.length-1],g=m?m.src.split("?")[0]:"",g.split("/").length>0?g.split("/").slice(0,-1).join("/")+"/":""),preventmultitouchscrolling:!0,disablemutationobserver:!1,enableobserver:!0,scrollbarid:!1},w=!1,_=function(e,f){var p=this;this.version="3.7.4",this.name="nicescroll",this.me=f;var m=a("body"),g=this.opt={doc:m,win:!1};if(a.extend(g,b),g.snapbackspeed=80,e)for(var _ in g)void 0!==e[_]&&(g[_]=e[_]);if(g.disablemutationobserver&&(v=!1),this.doc=g.doc,this.iddoc=this.doc&&this.doc[0]&&this.doc[0].id||"",this.ispage=/^BODY|HTML/.test(g.win?g.win[0].nodeName:this.doc[0].nodeName),this.haswrapper=!1!==g.win,this.win=g.win||(this.ispage?c:this.doc),this.docscroll=this.ispage&&!this.haswrapper?c:this.win,this.body=m,this.viewport=!1,this.isfixed=!1,this.iframe=!1,this.isiframe="IFRAME"==this.doc[0].nodeName&&"IFRAME"==this.win[0].nodeName,this.istextarea="TEXTAREA"==this.win[0].nodeName,this.forcescreen=!1,this.canshowonmouseevent="scroll"!=g.autohidemode,this.onmousedown=!1,this.onmouseup=!1,this.onmousemove=!1,this.onmousewheel=!1,this.onkeypress=!1,this.ongesturezoom=!1,this.onclick=!1,this.onscrollstart=!1,this.onscrollend=!1,this.onscrollcancel=!1,this.onzoomin=!1,this.onzoomout=!1,this.view=!1,this.page=!1,this.scroll={x:0,y:0},this.scrollratio={x:0,y:0},this.cursorheight=20,this.scrollvaluemax=0,"auto"==g.rtlmode){var k=this.win[0]==l?this.body:this.win,D=k.css("writing-mode")||k.css("-webkit-writing-mode")||k.css("-ms-writing-mode")||k.css("-moz-writing-mode");"horizontal-tb"==D||"lr-tb"==D||""===D?(this.isrtlmode="rtl"==k.css("direction"),this.isvertical=!1):(this.isrtlmode="vertical-rl"==D||"tb"==D||"tb-rl"==D||"rl-tb"==D,this.isvertical="vertical-rl"==D||"tb"==D||"tb-rl"==D)}else this.isrtlmode=!0===g.rtlmode,this.isvertical=!1;if(this.scrollrunning=!1,this.scrollmom=!1,this.observer=!1,this.observerremover=!1,this.observerbody=!1,!1!==g.scrollbarid)this.id=g.scrollbarid;else do{this.id="ascrail"+o++}while(s.getElementById(this.id));this.rail=!1,this.cursor=!1,this.cursorfreezed=!1,this.selectiondrag=!1,this.zoom=!1,this.zoomactive=!1,this.hasfocus=!1,this.hasmousefocus=!1,this.visibility=!0,this.railslocked=!1,this.locked=!1,this.hidden=!1,this.cursoractive=!0,this.wheelprevented=!1,this.overflowx=g.overflowx,this.overflowy=g.overflowy,this.nativescrollingarea=!1,this.checkarea=0,this.events=[],this.saved={},this.delaylist={},this.synclist={},this.lastdeltax=0,this.lastdeltay=0,this.detected=function(){if(w)return w;var e=s.createElement("DIV"),t=e.style,i=navigator.userAgent,n=navigator.platform,o={};return o.haspointerlock="pointerLockElement"in s||"webkitPointerLockElement"in s||"mozPointerLockElement"in s,o.isopera="opera"in l,o.isopera12=o.isopera&&"getUserMedia"in navigator,o.isoperamini="[object OperaMini]"===Object.prototype.toString.call(l.operamini),o.isie="all"in s&&"attachEvent"in e&&!o.isopera,o.isieold=o.isie&&!("msInterpolationMode"in t),o.isie7=o.isie&&!o.isieold&&(!("documentMode"in s)||7===s.documentMode),o.isie8=o.isie&&"documentMode"in s&&8===s.documentMode,o.isie9=o.isie&&"performance"in l&&9===s.documentMode,o.isie10=o.isie&&"performance"in l&&10===s.documentMode,o.isie11="msRequestFullscreen"in e&&s.documentMode>=11,o.ismsedge="msCredentials"in l,o.ismozilla="MozAppearance"in t,o.iswebkit=!o.ismsedge&&"WebkitAppearance"in t,o.ischrome=o.iswebkit&&"chrome"in l,o.ischrome38=o.ischrome&&"touchAction"in t,o.ischrome22=!o.ischrome38&&o.ischrome&&o.haspointerlock,o.ischrome26=!o.ischrome38&&o.ischrome&&"transition"in t,o.cantouch="ontouchstart"in s.documentElement||"ontouchstart"in l,o.hasw3ctouch=!!l.PointerEvent&&(navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0),o.hasmstouch=!o.hasw3ctouch&&(l.MSPointerEvent||!1),o.ismac=/^mac$/i.test(n),o.isios=o.cantouch&&/iphone|ipad|ipod/i.test(n),o.isios4=o.isios&&!("seal"in Object),o.isios7=o.isios&&"webkitHidden"in s,o.isios8=o.isios&&"hidden"in s,o.isios10=o.isios&&l.Proxy,o.isandroid=/android/i.test(i),o.haseventlistener="addEventListener"in e,o.trstyle=!1,o.hastransform=!1,o.hastranslate3d=!1,o.transitionstyle=!1,o.hastransition=!1,o.transitionend=!1,o.trstyle="transform",o.hastransform="transform"in t||function(){for(var e=["msTransform","webkitTransform","MozTransform","OTransform"],i=0,n=e.length;i=1?this.ed:this.st+this.df*t|0},update:function(e,t){return this.st=this.getNow(),this.ed=e,this.spd=t,this.ts=y(),this.df=this.ed-this.st,this}},this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"},M.hastranslate3d&&M.isios&&this.doc.css("-webkit-backface-visibility","hidden"),this.getScrollTop=function(e){if(!e){var t=T();if(t)return 16==t.length?-t[13]:-t[5];if(p.timerscroll&&p.timerscroll.bz)return p.timerscroll.bz.getNow()}return p.doc.translate.y},this.getScrollLeft=function(e){if(!e){var t=T();if(t)return 16==t.length?-t[12]:-t[4];if(p.timerscroll&&p.timerscroll.bh)return p.timerscroll.bh.getNow()}return p.doc.translate.x},this.notifyScrollEvent=function(e){var t=s.createEvent("UIEvents");t.initUIEvent("scroll",!1,!1,l,1),t.niceevent=!0,e.dispatchEvent(t)};var C=this.isrtlmode?1:-1;M.hastranslate3d&&g.enabletranslate3d?(this.setScrollTop=function(e,t){p.doc.translate.y=e,p.doc.translate.ty=-1*e+"px",p.doc.css(M.trstyle,"translate3d("+p.doc.translate.tx+","+p.doc.translate.ty+",0)"),t||p.notifyScrollEvent(p.win[0])},this.setScrollLeft=function(e,t){p.doc.translate.x=e,p.doc.translate.tx=e*C+"px",p.doc.css(M.trstyle,"translate3d("+p.doc.translate.tx+","+p.doc.translate.ty+",0)"),t||p.notifyScrollEvent(p.win[0])}):(this.setScrollTop=function(e,t){p.doc.translate.y=e,p.doc.translate.ty=-1*e+"px",p.doc.css(M.trstyle,"translate("+p.doc.translate.tx+","+p.doc.translate.ty+")"),t||p.notifyScrollEvent(p.win[0])},this.setScrollLeft=function(e,t){p.doc.translate.x=e,p.doc.translate.tx=e*C+"px",p.doc.css(M.trstyle,"translate("+p.doc.translate.tx+","+p.doc.translate.ty+")"),t||p.notifyScrollEvent(p.win[0])})}else this.getScrollTop=function(){return p.docscroll.scrollTop()},this.setScrollTop=function(e){p.docscroll.scrollTop(e)},this.getScrollLeft=function(){return p.hasreversehr?p.detected.ismozilla?p.page.maxw-Math.abs(p.docscroll.scrollLeft()):p.page.maxw-p.docscroll.scrollLeft():p.docscroll.scrollLeft()},this.setScrollLeft=function(e){return setTimeout(function(){if(p)return p.hasreversehr&&(e=p.detected.ismozilla?-(p.page.maxw-e):p.page.maxw-e),p.docscroll.scrollLeft(e)},1)};this.getTarget=function(e){return!!e&&(e.target?e.target:!!e.srcElement&&e.srcElement)},this.hasParent=function(e,t){if(!e)return!1;for(var i=e.target||e.srcElement||e||!1;i&&i.id!=t;)i=i.parentNode||!1;return!1!==i};var P={thin:1,medium:3,thick:5};function O(e,t,i){var n=e.css(t),o=parseFloat(n);if(isNaN(o)){var r=3==(o=P[n]||0)?i?p.win.outerHeight()-p.win.innerHeight():p.win.outerWidth()-p.win.innerWidth():1;return p.isie8&&o&&(o+=1),r?o:0}return o}this.getDocumentScrollOffset=function(){return{top:l.pageYOffset||s.documentElement.scrollTop,left:l.pageXOffset||s.documentElement.scrollLeft}},this.getOffset=function(){if(p.isfixed){var e=p.win.offset(),t=p.getDocumentScrollOffset();return e.top-=t.top,e.left-=t.left,e}var i=p.win.offset();if(!p.viewport)return i;var n=p.viewport.offset();return{top:i.top-n.top,left:i.left-n.left}},this.updateScrollBar=function(e){var t,i;if(p.ishwscroll)p.rail.css({height:p.win.innerHeight()-(g.railpadding.top+g.railpadding.bottom)}),p.railh&&p.railh.css({width:p.win.innerWidth()-(g.railpadding.left+g.railpadding.right)});else{var n=p.getOffset();if((t={top:n.top,left:n.left-(g.railpadding.left+g.railpadding.right)}).top+=O(p.win,"border-top-width",!0),t.left+=p.rail.align?p.win.outerWidth()-O(p.win,"border-right-width")-p.rail.width:O(p.win,"border-left-width"),(i=g.railoffset)&&(i.top&&(t.top+=i.top),i.left&&(t.left+=i.left)),p.railslocked||p.rail.css({top:t.top,left:t.left,height:(e?e.h:p.win.innerHeight())-(g.railpadding.top+g.railpadding.bottom)}),p.zoom&&p.zoom.css({top:t.top+1,left:1==p.rail.align?t.left-20:t.left+p.rail.width+4}),p.railh&&!p.railslocked){t={top:n.top,left:n.left},(i=g.railhoffset)&&(i.top&&(t.top+=i.top),i.left&&(t.left+=i.left));var o=p.railh.align?t.top+O(p.win,"border-top-width",!0)+p.win.innerHeight()-p.railh.height:t.top+O(p.win,"border-top-width",!0),r=t.left+O(p.win,"border-left-width");p.railh.css({top:o-(g.railpadding.top+g.railpadding.bottom),left:r,width:p.railh.width})}}},this.doRailClick=function(e,t,i){var n,o,r,a;p.railslocked||(p.cancelEvent(e),"pageY"in e||(e.pageX=e.clientX+s.documentElement.scrollLeft,e.pageY=e.clientY+s.documentElement.scrollTop),t?(n=i?p.doScrollLeft:p.doScrollTop,r=i?(e.pageX-p.railh.offset().left-p.cursorwidth/2)*p.scrollratio.x:(e.pageY-p.rail.offset().top-p.cursorheight/2)*p.scrollratio.y,p.unsynched("relativexy"),n(0|r)):(n=i?p.doScrollLeftBy:p.doScrollBy,r=i?p.scroll.x:p.scroll.y,a=i?e.pageX-p.railh.offset().left:e.pageY-p.rail.offset().top,o=i?p.view.w:p.view.h,n(r>=a?o:-o)))},p.newscrolly=p.newscrollx=0,p.hasanimationframe="requestAnimationFrame"in l,p.hascancelanimationframe="cancelAnimationFrame"in l,p.hasborderbox=!1,this.init=function(){if(p.saved.css=[],M.isoperamini)return!0;if(M.isandroid&&!("hidden"in s))return!0;g.emulatetouch=g.emulatetouch||g.touchbehavior,p.hasborderbox=l.getComputedStyle&&"border-box"===l.getComputedStyle(s.body)["box-sizing"];var e={"overflow-y":"hidden"};if((M.isie11||M.isie10)&&(e["-ms-overflow-style"]="none"),p.ishwscroll&&(this.doc.css(M.transitionstyle,M.prefixstyle+"transform 0ms ease-out"),M.transitionend&&p.bind(p.doc,M.transitionend,p.onScrollTransitionEnd,!1)),p.zindex="auto",p.ispage||"auto"!=g.zindex?p.zindex=g.zindex:p.zindex=function(){var e=p.win;if("zIndex"in e)return e.zIndex();for(;e.length>0;){if(9==e[0].nodeType)return!1;var t=e.css("zIndex");if(!isNaN(t)&&0!==t)return parseInt(t);e=e.parent()}return!1}()||"auto",!p.ispage&&"auto"!=p.zindex&&p.zindex>r&&(r=p.zindex),p.isie&&0===p.zindex&&"auto"==g.zindex&&(p.zindex="auto"),!p.ispage||!M.isieold){var o=p.docscroll;p.ispage&&(o=p.haswrapper?p.win:p.doc),p.css(o,e),p.ispage&&(M.isie11||M.isie)&&p.css(a("html"),e),!M.isios||p.ispage||p.haswrapper||p.css(m,{"-webkit-overflow-scrolling":"touch"});var d=a(s.createElement("div"));d.css({position:"relative",top:0,float:"right",width:g.cursorwidth,height:0,"background-color":g.cursorcolor,border:g.cursorborder,"background-clip":"padding-box","-webkit-border-radius":g.cursorborderradius,"-moz-border-radius":g.cursorborderradius,"border-radius":g.cursorborderradius}),d.addClass("nicescroll-cursors"),p.cursor=d;var u=a(s.createElement("div"));u.attr("id",p.id),u.addClass("nicescroll-rails nicescroll-rails-vr");var h,f,y=["left","right","top","bottom"];for(var b in y)f=y[b],(h=g.railpadding[f]||0)&&u.css("padding-"+f,h+"px");u.append(d),u.width=Math.max(parseFloat(g.cursorwidth),d.outerWidth()),u.css({width:u.width+"px",zIndex:p.zindex,background:g.background,cursor:"default"}),u.visibility=!0,u.scrollable=!0,u.align="left"==g.railalign?0:1,p.rail=u,p.rail.drag=!1;var w,_=!1;if(!g.boxzoom||p.ispage||M.isieold||(_=s.createElement("div"),p.bind(_,"click",p.doZoom),p.bind(_,"mouseenter",function(){p.zoom.css("opacity",g.cursoropacitymax)}),p.bind(_,"mouseleave",function(){p.zoom.css("opacity",g.cursoropacitymin)}),p.zoom=a(_),p.zoom.css({cursor:"pointer",zIndex:p.zindex,backgroundImage:"url("+g.scriptpath+"zoomico.png)",height:18,width:18,backgroundPosition:"0 0"}),g.dblclickzoom&&p.bind(p.win,"dblclick",p.doZoom),M.cantouch&&g.gesturezoom&&(p.ongesturezoom=function(e){return e.scale>1.5&&p.doZoomIn(e),e.scale<.8&&p.doZoomOut(e),p.cancelEvent(e)},p.bind(p.win,"gestureend",p.ongesturezoom))),p.railh=!1,g.horizrailenabled&&(p.css(o,{overflowX:"hidden"}),(d=a(s.createElement("div"))).css({position:"absolute",top:0,height:g.cursorwidth,width:0,backgroundColor:g.cursorcolor,border:g.cursorborder,backgroundClip:"padding-box","-webkit-border-radius":g.cursorborderradius,"-moz-border-radius":g.cursorborderradius,"border-radius":g.cursorborderradius}),M.isieold&&d.css("overflow","hidden"),d.addClass("nicescroll-cursors"),p.cursorh=d,(w=a(s.createElement("div"))).attr("id",p.id+"-hr"),w.addClass("nicescroll-rails nicescroll-rails-hr"),w.height=Math.max(parseFloat(g.cursorwidth),d.outerHeight()),w.css({height:w.height+"px",zIndex:p.zindex,background:g.background}),w.append(d),w.visibility=!0,w.scrollable=!0,w.align="top"==g.railvalign?0:1,p.railh=w,p.railh.drag=!1),p.ispage)u.css({position:"fixed",top:0,height:"100%"}),u.css(u.align?{right:0}:{left:0}),p.body.append(u),p.railh&&(w.css({position:"fixed",left:0,width:"100%"}),w.css(w.align?{bottom:0}:{top:0}),p.body.append(w));else{if(p.ishwscroll){"static"==p.win.css("position")&&p.css(p.win,{position:"relative"});var k="HTML"==p.win[0].nodeName?p.body:p.win;a(k).scrollTop(0).scrollLeft(0),p.zoom&&(p.zoom.css({position:"absolute",top:1,right:0,"margin-right":u.width+4}),k.append(p.zoom)),u.css({position:"absolute",top:0}),u.css(u.align?{right:0}:{left:0}),k.append(u),w&&(w.css({position:"absolute",left:0,bottom:0}),w.css(w.align?{bottom:0}:{top:0}),k.append(w))}else{p.isfixed="fixed"==p.win.css("position");var D=p.isfixed?"fixed":"absolute";p.isfixed||(p.viewport=p.getViewport(p.win[0])),p.viewport&&(p.body=p.viewport,/fixed|absolute/.test(p.viewport.css("position"))||p.css(p.viewport,{position:"relative"})),u.css({position:D}),p.zoom&&p.zoom.css({position:D}),p.updateScrollBar(),p.body.append(u),p.zoom&&p.body.append(p.zoom),p.railh&&(w.css({position:D}),p.body.append(w))}M.isios&&p.css(p.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),g.disableoutline&&(M.isie&&p.win.attr("hideFocus","true"),M.iswebkit&&p.win.css("outline","none"))}if(!1===g.autohidemode?(p.autohidedom=!1,p.rail.css({opacity:g.cursoropacitymax}),p.railh&&p.railh.css({opacity:g.cursoropacitymax})):!0===g.autohidemode||"leave"===g.autohidemode?(p.autohidedom=a().add(p.rail),M.isie8&&(p.autohidedom=p.autohidedom.add(p.cursor)),p.railh&&(p.autohidedom=p.autohidedom.add(p.railh)),p.railh&&M.isie8&&(p.autohidedom=p.autohidedom.add(p.cursorh))):"scroll"==g.autohidemode?(p.autohidedom=a().add(p.rail),p.railh&&(p.autohidedom=p.autohidedom.add(p.railh))):"cursor"==g.autohidemode?(p.autohidedom=a().add(p.cursor),p.railh&&(p.autohidedom=p.autohidedom.add(p.cursorh))):"hidden"==g.autohidemode&&(p.autohidedom=!1,p.hide(),p.railslocked=!1),M.cantouch||p.istouchcapable||g.emulatetouch||M.hasmstouch){p.scrollmom=new x(p);p.ontouchstart=function(e){if(p.locked)return!1;if(e.pointerType&&("mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))return!1;if(p.hasmoving=!1,p.scrollmom.timer&&(p.triggerScrollEnd(),p.scrollmom.stop()),!p.railslocked){var t=p.getTarget(e);if(t)if(/INPUT/i.test(t.nodeName)&&/range/i.test(t.type))return p.stopPropagation(e);var i="mousedown"===e.type;if(!("clientX"in e)&&"changedTouches"in e&&(e.clientX=e.changedTouches[0].clientX,e.clientY=e.changedTouches[0].clientY),p.forcescreen){var n=e;(e={original:e.original?e.original:e}).clientX=n.screenX,e.clientY=n.screenY}if(p.rail.drag={x:e.clientX,y:e.clientY,sx:p.scroll.x,sy:p.scroll.y,st:p.getScrollTop(),sl:p.getScrollLeft(),pt:2,dl:!1,tg:t},p.ispage||!g.directionlockdeadzone)p.rail.drag.dl="f";else{var o={w:c.width(),h:c.height()},r=p.getContentSize(),s=r.h-o.h,l=r.w-o.w;p.rail.scrollable&&!p.railh.scrollable?p.rail.drag.ck=s>0&&"v":!p.rail.scrollable&&p.railh.scrollable?p.rail.drag.ck=l>0&&"h":p.rail.drag.ck=!1}if(g.emulatetouch&&p.isiframe&&M.isie){var d=p.win.position();p.rail.drag.x+=d.left,p.rail.drag.y+=d.top}if(p.hasmoving=!1,p.lastmouseup=!1,p.scrollmom.reset(e.clientX,e.clientY),t&&i){if(!/INPUT|SELECT|BUTTON|TEXTAREA/i.test(t.nodeName))return M.hasmousecapture&&t.setCapture(),g.emulatetouch?(t.onclick&&!t._onclick&&(t._onclick=t.onclick,t.onclick=function(e){if(p.hasmoving)return!1;t._onclick.call(this,e)}),p.cancelEvent(e)):p.stopPropagation(e);/SUBMIT|CANCEL|BUTTON/i.test(a(t).attr("type"))&&(p.preventclick={tg:t,click:!1})}}},p.ontouchend=function(e){if(!p.rail.drag)return!0;if(2==p.rail.drag.pt){if(e.pointerType&&("mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))return!1;p.rail.drag=!1;var t="mouseup"===e.type;if(p.hasmoving&&(p.scrollmom.doMomentum(),p.lastmouseup=!0,p.hideCursor(),M.hasmousecapture&&s.releaseCapture(),t))return p.cancelEvent(e)}else if(1==p.rail.drag.pt)return p.onmouseup(e)};var S=g.emulatetouch&&p.isiframe&&!M.hasmousecapture,T=.3*g.directionlockdeadzone|0;p.ontouchmove=function(e,t){if(!p.rail.drag)return!0;if(e.targetTouches&&g.preventmultitouchscrolling&&e.targetTouches.length>1)return!0;if(e.pointerType&&("mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))return!0;if(2==p.rail.drag.pt){var i,n;if("changedTouches"in e&&(e.clientX=e.changedTouches[0].clientX,e.clientY=e.changedTouches[0].clientY),n=i=0,S&&!t){var o=p.win.position();n=-o.left,i=-o.top}var r=e.clientY+i,a=r-p.rail.drag.y,l=e.clientX+n,c=l-p.rail.drag.x,d=p.rail.drag.st-a;if(p.ishwscroll&&g.bouncescroll)d<0?d=Math.round(d/2):d>p.page.maxh&&(d=p.page.maxh+Math.round((d-p.page.maxh)/2));else if(d<0?(d=0,r=0):d>p.page.maxh&&(d=p.page.maxh,r=0),0===r&&!p.hasmoving)return p.ispage||(p.rail.drag=!1),!0;var u=p.getScrollLeft();if(p.railh&&p.railh.scrollable&&(u=p.isrtlmode?c-p.rail.drag.sl:p.rail.drag.sl-c,p.ishwscroll&&g.bouncescroll?u<0?u=Math.round(u/2):u>p.page.maxw&&(u=p.page.maxw+Math.round((u-p.page.maxw)/2)):(u<0&&(u=0,l=0),u>p.page.maxw&&(u=p.page.maxw,l=0))),!p.hasmoving){if(p.rail.drag.y===e.clientY&&p.rail.drag.x===e.clientX)return p.cancelEvent(e);var h=Math.abs(a),f=Math.abs(c),m=g.directionlockdeadzone;if(p.rail.drag.ck?"v"==p.rail.drag.ck?f>m&&h<=T?p.rail.drag=!1:h>m&&(p.rail.drag.dl="v"):"h"==p.rail.drag.ck&&(h>m&&f<=T?p.rail.drag=!1:f>m&&(p.rail.drag.dl="h")):h>m&&f>m?p.rail.drag.dl="f":h>m?p.rail.drag.dl=f>T?"f":"v":f>m&&(p.rail.drag.dl=h>T?"f":"h"),!p.rail.drag.dl)return p.cancelEvent(e);p.triggerScrollStart(e.clientX,e.clientY,0,0,0),p.hasmoving=!0}return p.preventclick&&!p.preventclick.click&&(p.preventclick.click=p.preventclick.tg.onclick||!1,p.preventclick.tg.onclick=p.onpreventclick),p.rail.drag.dl&&("v"==p.rail.drag.dl?u=p.rail.drag.sl:"h"==p.rail.drag.dl&&(d=p.rail.drag.st)),p.synched("touchmove",function(){p.rail.drag&&2==p.rail.drag.pt&&(p.prepareTransition&&p.resetTransition(),p.rail.scrollable&&p.setScrollTop(d),p.scrollmom.update(l,r),p.railh&&p.railh.scrollable?(p.setScrollLeft(u),p.showCursor(d,u)):p.showCursor(d),M.isie10&&s.selection.clear())}),p.cancelEvent(e)}return 1==p.rail.drag.pt?p.onmousemove(e):void 0},p.ontouchstartCursor=function(e,t){if(!p.rail.drag||3==p.rail.drag.pt){if(p.locked)return p.cancelEvent(e);p.cancelScroll(),p.rail.drag={x:e.touches[0].clientX,y:e.touches[0].clientY,sx:p.scroll.x,sy:p.scroll.y,pt:3,hr:!!t};var i=p.getTarget(e);return!p.ispage&&M.hasmousecapture&&i.setCapture(),p.isiframe&&!M.hasmousecapture&&(p.saved.csspointerevents=p.doc.css("pointer-events"),p.css(p.doc,{"pointer-events":"none"})),p.cancelEvent(e)}},p.ontouchendCursor=function(e){if(p.rail.drag){if(M.hasmousecapture&&s.releaseCapture(),p.isiframe&&!M.hasmousecapture&&p.doc.css("pointer-events",p.saved.csspointerevents),3!=p.rail.drag.pt)return;return p.rail.drag=!1,p.cancelEvent(e)}},p.ontouchmoveCursor=function(e){if(p.rail.drag){if(3!=p.rail.drag.pt)return;if(p.cursorfreezed=!0,p.rail.drag.hr){p.scroll.x=p.rail.drag.sx+(e.touches[0].clientX-p.rail.drag.x),p.scroll.x<0&&(p.scroll.x=0);var t=p.scrollvaluemaxw;p.scroll.x>t&&(p.scroll.x=t)}else{p.scroll.y=p.rail.drag.sy+(e.touches[0].clientY-p.rail.drag.y),p.scroll.y<0&&(p.scroll.y=0);var i=p.scrollvaluemax;p.scroll.y>i&&(p.scroll.y=i)}return p.synched("touchmove",function(){p.rail.drag&&3==p.rail.drag.pt&&(p.showCursor(),p.rail.drag.hr?p.doScrollLeft(Math.round(p.scroll.x*p.scrollratio.x),g.cursordragspeed):p.doScrollTop(Math.round(p.scroll.y*p.scrollratio.y),g.cursordragspeed))}),p.cancelEvent(e)}}}if(p.onmousedown=function(e,t){if(!p.rail.drag||1==p.rail.drag.pt){if(p.railslocked)return p.cancelEvent(e);p.cancelScroll(),p.rail.drag={x:e.clientX,y:e.clientY,sx:p.scroll.x,sy:p.scroll.y,pt:1,hr:t||!1};var i=p.getTarget(e);return M.hasmousecapture&&i.setCapture(),p.isiframe&&!M.hasmousecapture&&(p.saved.csspointerevents=p.doc.css("pointer-events"),p.css(p.doc,{"pointer-events":"none"})),p.hasmoving=!1,p.cancelEvent(e)}},p.onmouseup=function(e){if(p.rail.drag)return 1!=p.rail.drag.pt||(M.hasmousecapture&&s.releaseCapture(),p.isiframe&&!M.hasmousecapture&&p.doc.css("pointer-events",p.saved.csspointerevents),p.rail.drag=!1,p.cursorfreezed=!1,p.hasmoving&&p.triggerScrollEnd(),p.cancelEvent(e))},p.onmousemove=function(e){if(p.rail.drag){if(1!==p.rail.drag.pt)return;if(M.ischrome&&0===e.which)return p.onmouseup(e);if(p.cursorfreezed=!0,p.hasmoving||p.triggerScrollStart(e.clientX,e.clientY,0,0,0),p.hasmoving=!0,p.rail.drag.hr){p.scroll.x=p.rail.drag.sx+(e.clientX-p.rail.drag.x),p.scroll.x<0&&(p.scroll.x=0);var t=p.scrollvaluemaxw;p.scroll.x>t&&(p.scroll.x=t)}else{p.scroll.y=p.rail.drag.sy+(e.clientY-p.rail.drag.y),p.scroll.y<0&&(p.scroll.y=0);var i=p.scrollvaluemax;p.scroll.y>i&&(p.scroll.y=i)}return p.synched("mousemove",function(){p.cursorfreezed&&(p.showCursor(),p.rail.drag.hr?p.scrollLeft(Math.round(p.scroll.x*p.scrollratio.x)):p.scrollTop(Math.round(p.scroll.y*p.scrollratio.y)))}),p.cancelEvent(e)}p.checkarea=0},M.cantouch||g.emulatetouch)p.onpreventclick=function(e){if(p.preventclick)return p.preventclick.tg.onclick=p.preventclick.click,p.preventclick=!1,p.cancelEvent(e)},p.onclick=!M.isios&&function(e){return!p.lastmouseup||(p.lastmouseup=!1,p.cancelEvent(e))},g.grabcursorenabled&&M.cursorgrabvalue&&(p.css(p.ispage?p.doc:p.win,{cursor:M.cursorgrabvalue}),p.css(p.rail,{cursor:M.cursorgrabvalue}));else{var C=function(e){if(p.selectiondrag){if(e){var t=p.win.outerHeight(),i=e.pageY-p.selectiondrag.top;i>0&&i=t&&(i-=t),p.selectiondrag.df=i}if(0!==p.selectiondrag.df){var n=-2*p.selectiondrag.df/6|0;p.doScrollBy(n),p.debounced("doselectionscroll",function(){C()},50)}}};p.hasTextSelected="getSelection"in s?function(){return s.getSelection().rangeCount>0}:"selection"in s?function(){return"None"!=s.selection.type}:function(){return!1},p.onselectionstart=function(e){p.ispage||(p.selectiondrag=p.win.offset())},p.onselectionend=function(e){p.selectiondrag=!1},p.onselectiondrag=function(e){p.selectiondrag&&p.hasTextSelected()&&p.debounced("selectionscroll",function(){C(e)},250)}}if(M.hasw3ctouch?(p.css(p.ispage?a("html"):p.win,{"touch-action":"none"}),p.css(p.rail,{"touch-action":"none"}),p.css(p.cursor,{"touch-action":"none"}),p.bind(p.win,"pointerdown",p.ontouchstart),p.bind(s,"pointerup",p.ontouchend),p.delegate(s,"pointermove",p.ontouchmove)):M.hasmstouch?(p.css(p.ispage?a("html"):p.win,{"-ms-touch-action":"none"}),p.css(p.rail,{"-ms-touch-action":"none"}),p.css(p.cursor,{"-ms-touch-action":"none"}),p.bind(p.win,"MSPointerDown",p.ontouchstart),p.bind(s,"MSPointerUp",p.ontouchend),p.delegate(s,"MSPointerMove",p.ontouchmove),p.bind(p.cursor,"MSGestureHold",function(e){e.preventDefault()}),p.bind(p.cursor,"contextmenu",function(e){e.preventDefault()})):M.cantouch&&(p.bind(p.win,"touchstart",p.ontouchstart,!1,!0),p.bind(s,"touchend",p.ontouchend,!1,!0),p.bind(s,"touchcancel",p.ontouchend,!1,!0),p.delegate(s,"touchmove",p.ontouchmove,!1,!0)),g.emulatetouch&&(p.bind(p.win,"mousedown",p.ontouchstart,!1,!0),p.bind(s,"mouseup",p.ontouchend,!1,!0),p.bind(s,"mousemove",p.ontouchmove,!1,!0)),(g.cursordragontouch||!M.cantouch&&!g.emulatetouch)&&(p.rail.css({cursor:"default"}),p.railh&&p.railh.css({cursor:"default"}),p.jqbind(p.rail,"mouseenter",function(){if(!p.ispage&&!p.win.is(":visible"))return!1;p.canshowonmouseevent&&p.showCursor(),p.rail.active=!0}),p.jqbind(p.rail,"mouseleave",function(){p.rail.active=!1,p.rail.drag||p.hideCursor()}),g.sensitiverail&&(p.bind(p.rail,"click",function(e){p.doRailClick(e,!1,!1)}),p.bind(p.rail,"dblclick",function(e){p.doRailClick(e,!0,!1)}),p.bind(p.cursor,"click",function(e){p.cancelEvent(e)}),p.bind(p.cursor,"dblclick",function(e){p.cancelEvent(e)})),p.railh&&(p.jqbind(p.railh,"mouseenter",function(){if(!p.ispage&&!p.win.is(":visible"))return!1;p.canshowonmouseevent&&p.showCursor(),p.rail.active=!0}),p.jqbind(p.railh,"mouseleave",function(){p.rail.active=!1,p.rail.drag||p.hideCursor()}),g.sensitiverail&&(p.bind(p.railh,"click",function(e){p.doRailClick(e,!1,!0)}),p.bind(p.railh,"dblclick",function(e){p.doRailClick(e,!0,!0)}),p.bind(p.cursorh,"click",function(e){p.cancelEvent(e)}),p.bind(p.cursorh,"dblclick",function(e){p.cancelEvent(e)})))),g.cursordragontouch&&(this.istouchcapable||M.cantouch)&&(p.bind(p.cursor,"touchstart",p.ontouchstartCursor),p.bind(p.cursor,"touchmove",p.ontouchmoveCursor),p.bind(p.cursor,"touchend",p.ontouchendCursor),p.cursorh&&p.bind(p.cursorh,"touchstart",function(e){p.ontouchstartCursor(e,!0)}),p.cursorh&&p.bind(p.cursorh,"touchmove",p.ontouchmoveCursor),p.cursorh&&p.bind(p.cursorh,"touchend",p.ontouchendCursor)),M.cantouch||g.emulatetouch?(p.bind(M.hasmousecapture?p.win:s,"mouseup",p.ontouchend),p.onclick&&p.bind(s,"click",p.onclick),g.cursordragontouch?(p.bind(p.cursor,"mousedown",p.onmousedown),p.bind(p.cursor,"mouseup",p.onmouseup),p.cursorh&&p.bind(p.cursorh,"mousedown",function(e){p.onmousedown(e,!0)}),p.cursorh&&p.bind(p.cursorh,"mouseup",p.onmouseup)):(p.bind(p.rail,"mousedown",function(e){e.preventDefault()}),p.railh&&p.bind(p.railh,"mousedown",function(e){e.preventDefault()}))):(p.bind(M.hasmousecapture?p.win:s,"mouseup",p.onmouseup),p.bind(s,"mousemove",p.onmousemove),p.onclick&&p.bind(s,"click",p.onclick),p.bind(p.cursor,"mousedown",p.onmousedown),p.bind(p.cursor,"mouseup",p.onmouseup),p.railh&&(p.bind(p.cursorh,"mousedown",function(e){p.onmousedown(e,!0)}),p.bind(p.cursorh,"mouseup",p.onmouseup)),!p.ispage&&g.enablescrollonselection&&(p.bind(p.win[0],"mousedown",p.onselectionstart),p.bind(s,"mouseup",p.onselectionend),p.bind(p.cursor,"mouseup",p.onselectionend),p.cursorh&&p.bind(p.cursorh,"mouseup",p.onselectionend),p.bind(s,"mousemove",p.onselectiondrag)),p.zoom&&(p.jqbind(p.zoom,"mouseenter",function(){p.canshowonmouseevent&&p.showCursor(),p.rail.active=!0}),p.jqbind(p.zoom,"mouseleave",function(){p.rail.active=!1,p.rail.drag||p.hideCursor()}))),g.enablemousewheel&&(p.isiframe||p.mousewheel(M.isie&&p.ispage?s:p.win,p.onmousewheel),p.mousewheel(p.rail,p.onmousewheel),p.railh&&p.mousewheel(p.railh,p.onmousewheelhr)),p.ispage||M.cantouch||/HTML|^BODY/.test(p.win[0].nodeName)||(p.win.attr("tabindex")||p.win.attr({tabindex:++n}),p.bind(p.win,"focus",function(e){t=p.getTarget(e).id||p.getTarget(e)||!1,p.hasfocus=!0,p.canshowonmouseevent&&p.noticeCursor()}),p.bind(p.win,"blur",function(e){t=!1,p.hasfocus=!1}),p.bind(p.win,"mouseenter",function(e){i=p.getTarget(e).id||p.getTarget(e)||!1,p.hasmousefocus=!0,p.canshowonmouseevent&&p.noticeCursor()}),p.bind(p.win,"mouseleave",function(e){i=!1,p.hasmousefocus=!1,p.rail.drag||p.hideCursor()})),p.onkeypress=function(e){if(p.railslocked&&0===p.page.maxh)return!0;e=e||l.event;var n=p.getTarget(e);if(n&&/INPUT|TEXTAREA|SELECT|OPTION/.test(n.nodeName)&&(!(n.getAttribute("type")||n.type||!1)||!/submit|button|cancel/i.tp))return!0;if(a(n).attr("contenteditable"))return!0;if(p.hasfocus||p.hasmousefocus&&!t||p.ispage&&!t&&!i){var o=e.keyCode;if(p.railslocked&&27!=o)return p.cancelEvent(e);var r=e.ctrlKey||!1,s=e.shiftKey||!1,c=!1;switch(o){case 38:case 63233:p.doScrollBy(72),c=!0;break;case 40:case 63235:p.doScrollBy(-72),c=!0;break;case 37:case 63232:p.railh&&(r?p.doScrollLeft(0):p.doScrollLeftBy(72),c=!0);break;case 39:case 63234:p.railh&&(r?p.doScrollLeft(p.page.maxw):p.doScrollLeftBy(-72),c=!0);break;case 33:case 63276:p.doScrollBy(p.view.h),c=!0;break;case 34:case 63277:p.doScrollBy(-p.view.h),c=!0;break;case 36:case 63273:p.railh&&r?p.doScrollPos(0,0):p.doScrollTo(0),c=!0;break;case 35:case 63275:p.railh&&r?p.doScrollPos(p.page.maxw,p.page.maxh):p.doScrollTo(p.page.maxh),c=!0;break;case 32:g.spacebarenabled&&(s?p.doScrollBy(p.view.h):p.doScrollBy(-p.view.h),c=!0);break;case 27:p.zoomactive&&(p.doZoom(),c=!0)}if(c)return p.cancelEvent(e)}},g.enablekeyboard&&p.bind(s,M.isopera&&!M.isopera12?"keypress":"keydown",p.onkeypress),p.bind(s,"keydown",function(e){(e.ctrlKey||!1)&&(p.wheelprevented=!0)}),p.bind(s,"keyup",function(e){e.ctrlKey||!1||(p.wheelprevented=!1)}),p.bind(l,"blur",function(e){p.wheelprevented=!1}),p.bind(l,"resize",p.onscreenresize),p.bind(l,"orientationchange",p.onscreenresize),p.bind(l,"load",p.lazyResize),M.ischrome&&!p.ispage&&!p.haswrapper){var P=p.win.attr("style"),O=parseFloat(p.win.css("width"))+1;p.win.css("width",O),p.synched("chromefix",function(){p.win.attr("style",P)})}p.onAttributeChange=function(e){p.lazyResize(p.isieold?250:30)},g.enableobserver&&(p.isie11||!1===v||(p.observerbody=new v(function(e){if(e.forEach(function(e){if("attributes"==e.type)return m.hasClass("modal-open")&&m.hasClass("modal-dialog")&&!a.contains(a(".modal-dialog")[0],p.doc[0])?p.hide():p.show()}),p.me.clientWidth!=p.page.width||p.me.clientHeight!=p.page.height)return p.lazyResize(30)}),p.observerbody.observe(s.body,{childList:!0,subtree:!0,characterData:!1,attributes:!0,attributeFilter:["class"]})),p.ispage||p.haswrapper||(!1!==v?(p.observer=new v(function(e){e.forEach(p.onAttributeChange)}),p.observer.observe(p.win[0],{childList:!0,characterData:!1,attributes:!0,subtree:!1}),p.observerremover=new v(function(e){e.forEach(function(e){if(e.removedNodes.length>0)for(var t in e.removedNodes)if(p&&e.removedNodes[t]==p.win[0])return p.remove()})}),p.observerremover.observe(p.win[0].parentNode,{childList:!0,characterData:!1,attributes:!1,subtree:!1})):(p.bind(p.win,M.isie&&!M.isie9?"propertychange":"DOMAttrModified",p.onAttributeChange),M.isie9&&p.win[0].attachEvent("onpropertychange",p.onAttributeChange),p.bind(p.win,"DOMNodeRemoved",function(e){e.target==p.win[0]&&p.remove()})))),!p.ispage&&g.boxzoom&&p.bind(l,"resize",p.resizeZoom),p.istextarea&&(p.bind(p.win,"keydown",p.lazyResize),p.bind(p.win,"mouseup",p.lazyResize)),p.lazyResize(30)}if("IFRAME"==this.doc[0].nodeName){var A=function(){var t;p.iframexd=!1;try{(t="contentDocument"in this?this.contentDocument:this.contentWindow._doc).domain}catch(e){p.iframexd=!0,t=!1}if(p.iframexd)return"console"in l&&console.log("NiceScroll error: policy restriced iframe"),!0;if(p.forcescreen=!0,p.isiframe&&(p.iframe={doc:a(t),html:p.doc.contents().find("html")[0],body:p.doc.contents().find("body")[0]},p.getContentSize=function(){return{w:Math.max(p.iframe.html.scrollWidth,p.iframe.body.scrollWidth),h:Math.max(p.iframe.html.scrollHeight,p.iframe.body.scrollHeight)}},p.docscroll=a(p.iframe.body)),!M.isios&&g.iframeautoresize&&!p.isiframe){p.win.scrollTop(0),p.doc.height("");var i=Math.max(t.getElementsByTagName("html")[0].scrollHeight,t.body.scrollHeight);p.doc.height(i)}p.lazyResize(30),p.css(a(p.iframe.body),e),M.isios&&p.haswrapper&&p.css(a(t.body),{"-webkit-transform":"translate3d(0,0,0)"}),"contentWindow"in this?p.bind(this.contentWindow,"scroll",p.onscroll):p.bind(t,"scroll",p.onscroll),g.enablemousewheel&&p.mousewheel(t,p.onmousewheel),g.enablekeyboard&&p.bind(t,M.isopera?"keypress":"keydown",p.onkeypress),M.cantouch?(p.bind(t,"touchstart",p.ontouchstart),p.bind(t,"touchmove",p.ontouchmove)):g.emulatetouch&&(p.bind(t,"mousedown",p.ontouchstart),p.bind(t,"mousemove",function(e){return p.ontouchmove(e,!0)}),g.grabcursorenabled&&M.cursorgrabvalue&&p.css(a(t.body),{cursor:M.cursorgrabvalue})),p.bind(t,"mouseup",p.ontouchend),p.zoom&&(g.dblclickzoom&&p.bind(t,"dblclick",p.doZoom),p.ongesturezoom&&p.bind(t,"gestureend",p.ongesturezoom))};this.doc[0].readyState&&"complete"===this.doc[0].readyState&&setTimeout(function(){A.call(p.doc[0],!1)},500),p.bind(this.doc,"load",A)}},this.showCursor=function(e,t){if(p.cursortimeout&&(clearTimeout(p.cursortimeout),p.cursortimeout=0),p.rail){if(p.autohidedom&&(p.autohidedom.stop().css({opacity:g.cursoropacitymax}),p.cursoractive=!0),p.rail.drag&&1==p.rail.drag.pt||(void 0!==e&&!1!==e&&(p.scroll.y=e/p.scrollratio.y|0),void 0!==t&&(p.scroll.x=t/p.scrollratio.x|0)),p.cursor.css({height:p.cursorheight,top:p.scroll.y}),p.cursorh){var i=p.hasreversehr?p.scrollvaluemaxw-p.scroll.x:p.scroll.x;p.cursorh.css({width:p.cursorwidth,left:!p.rail.align&&p.rail.visibility?i+p.rail.width:i}),p.cursoractive=!0}p.zoom&&p.zoom.stop().css({opacity:g.cursoropacitymax})}},this.hideCursor=function(e){p.cursortimeout||p.rail&&p.autohidedom&&(p.hasmousefocus&&"leave"===g.autohidemode||(p.cursortimeout=setTimeout(function(){p.rail.active&&p.showonmouseevent||(p.autohidedom.stop().animate({opacity:g.cursoropacitymin}),p.zoom&&p.zoom.stop().animate({opacity:g.cursoropacitymin}),p.cursoractive=!1),p.cursortimeout=0},e||g.hidecursordelay)))},this.noticeCursor=function(e,t,i){p.showCursor(t,i),p.rail.active||p.hideCursor(e)},this.getContentSize=p.ispage?function(){return{w:Math.max(s.body.scrollWidth,s.documentElement.scrollWidth),h:Math.max(s.body.scrollHeight,s.documentElement.scrollHeight)}}:p.haswrapper?function(){return{w:p.doc[0].offsetWidth,h:p.doc[0].offsetHeight}}:function(){return{w:p.docscroll[0].scrollWidth,h:p.docscroll[0].scrollHeight}},this.onResize=function(e,t){if(!p||!p.win)return!1;var i=p.page.maxh,n=p.page.maxw,o=p.view.h,r=p.view.w;if(p.view={w:p.ispage?p.win.width():p.win[0].clientWidth,h:p.ispage?p.win.height():p.win[0].clientHeight},p.page=t||p.getContentSize(),p.page.maxh=Math.max(0,p.page.h-p.view.h),p.page.maxw=Math.max(0,p.page.w-p.view.w),p.page.maxh==i&&p.page.maxw==n&&p.view.w==r&&p.view.h==o){if(p.ispage)return p;var a=p.win.offset();if(p.lastposition){var s=p.lastposition;if(s.top==a.top&&s.left==a.left)return p}p.lastposition=a}return 0===p.page.maxh?(p.hideRail(),p.scrollvaluemax=0,p.scroll.y=0,p.scrollratio.y=0,p.cursorheight=0,p.setScrollTop(0),p.rail&&(p.rail.scrollable=!1)):(p.page.maxh-=g.railpadding.top+g.railpadding.bottom,p.rail.scrollable=!0),0===p.page.maxw?(p.hideRailHr(),p.scrollvaluemaxw=0,p.scroll.x=0,p.scrollratio.x=0,p.cursorwidth=0,p.setScrollLeft(0),p.railh&&(p.railh.scrollable=!1)):(p.page.maxw-=g.railpadding.left+g.railpadding.right,p.railh&&(p.railh.scrollable=g.horizrailenabled)),p.railslocked=p.locked||0===p.page.maxh&&0===p.page.maxw,p.railslocked?(p.ispage||p.updateScrollBar(p.view),!1):(p.hidden||p.visibility?!p.railh||p.hidden||p.railh.visibility||p.showRailHr():p.showRail().showRailHr(),p.istextarea&&p.win.css("resize")&&"none"!=p.win.css("resize")&&(p.view.h-=20),p.cursorheight=Math.min(p.view.h,Math.round(p.view.h*(p.view.h/p.page.h))),p.cursorheight=g.cursorfixedheight?g.cursorfixedheight:Math.max(g.cursorminheight,p.cursorheight),p.cursorwidth=Math.min(p.view.w,Math.round(p.view.w*(p.view.w/p.page.w))),p.cursorwidth=g.cursorfixedheight?g.cursorfixedheight:Math.max(g.cursorminheight,p.cursorwidth),p.scrollvaluemax=p.view.h-p.cursorheight-(g.railpadding.top+g.railpadding.bottom),p.hasborderbox||(p.scrollvaluemax-=p.cursor[0].offsetHeight-p.cursor[0].clientHeight),p.railh&&(p.railh.width=p.page.maxh>0?p.view.w-p.rail.width:p.view.w,p.scrollvaluemaxw=p.railh.width-p.cursorwidth-(g.railpadding.left+g.railpadding.right)),p.ispage||p.updateScrollBar(p.view),p.scrollratio={x:p.page.maxw/p.scrollvaluemaxw,y:p.page.maxh/p.scrollvaluemax},p.getScrollTop()>p.page.maxh?p.doScrollTop(p.page.maxh):(p.scroll.y=p.getScrollTop()/p.scrollratio.y|0,p.scroll.x=p.getScrollLeft()/p.scrollratio.x|0,p.cursoractive&&p.noticeCursor()),p.scroll.y&&0===p.getScrollTop()&&p.doScrollTo(p.scroll.y*p.scrollratio.y|0),p)},this.resize=p.onResize;var A=0;function I(e,t,i,n){p._bind(e,t,function(n){var o={original:n=n||l.event,target:n.target||n.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==n.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){return n.preventDefault?n.preventDefault():n.returnValue=!1,!1},stopImmediatePropagation:function(){n.stopImmediatePropagation?n.stopImmediatePropagation():n.cancelBubble=!0}};return"mousewheel"==t?(n.wheelDeltaX&&(o.deltaX=-.025*n.wheelDeltaX),n.wheelDeltaY&&(o.deltaY=-.025*n.wheelDeltaY),!o.deltaY&&!o.deltaX&&(o.deltaY=-.025*n.wheelDelta)):o.deltaY=n.detail,i.call(e,o)},n)}this.onscreenresize=function(e){clearTimeout(A);var t=!p.ispage&&!p.haswrapper;t&&p.hideRails(),A=setTimeout(function(){p&&(t&&p.showRails(),p.resize()),A=0},120)},this.lazyResize=function(e){return clearTimeout(A),A=setTimeout(function(){p&&p.resize(),A=0},e||240),p},this.jqbind=function(e,t,i){p.events.push({e:e,n:t,f:i,q:!0}),a(e).on(t,i)},this.mousewheel=function(e,t,i){var n="jquery"in e?e[0]:e;if("onwheel"in s.createElement("div"))p._bind(n,"wheel",t,i||!1);else{var o=void 0!==s.onmousewheel?"mousewheel":"DOMMouseScroll";I(n,o,t,i||!1),"DOMMouseScroll"==o&&I(n,"MozMousePixelScroll",t,i||!1)}};var E=!1;if(M.haseventlistener){try{var z=Object.defineProperty({},"passive",{get:function(){E=!0}});l.addEventListener("test",null,z)}catch(e){}this.stopPropagation=function(e){return!!e&&((e=e.original?e.original:e).stopPropagation(),!1)},this.cancelEvent=function(e){return e.cancelable&&e.preventDefault(),e.stopImmediatePropagation(),e.preventManipulation&&e.preventManipulation(),!1}}else Event.prototype.preventDefault=function(){this.returnValue=!1},Event.prototype.stopPropagation=function(){this.cancelBubble=!0},l.constructor.prototype.addEventListener=s.constructor.prototype.addEventListener=Element.prototype.addEventListener=function(e,t,i){this.attachEvent("on"+e,t)},l.constructor.prototype.removeEventListener=s.constructor.prototype.removeEventListener=Element.prototype.removeEventListener=function(e,t,i){this.detachEvent("on"+e,t)},this.cancelEvent=function(e){return(e=e||l.event)&&(e.cancelBubble=!0,e.cancel=!0,e.returnValue=!1),!1},this.stopPropagation=function(e){return(e=e||l.event)&&(e.cancelBubble=!0),!1};this.delegate=function(e,t,i,n,o){var r=d[t]||!1;r||(r={a:[],l:[],f:function(e){for(var t=r.l,i=!1,n=t.length-1;n>=0;n--)if(!1===(i=t[n].call(e.target,e)))return!1;return i}},p.bind(e,t,r.f,n,o),d[t]=r),p.ispage?(r.a=[p.id].concat(r.a),r.l=[i].concat(r.l)):(r.a.push(p.id),r.l.push(i))},this.undelegate=function(e,t,i,n,o){var r=d[t]||!1;if(r)for(var a=0,s=r.l.length;a0)return i;t=!!t.parentNode&&t.parentNode}return!1},this.triggerScrollStart=function(e,t,i,n,o){if(p.onscrollstart){var r={type:"scrollstart",current:{x:e,y:t},request:{x:i,y:n},end:{x:p.newscrollx,y:p.newscrolly},speed:o};p.onscrollstart.call(p,r)}},this.triggerScrollEnd=function(){if(p.onscrollend){var e=p.getScrollLeft(),t=p.getScrollTop(),i={type:"scrollend",current:{x:e,y:t},end:{x:e,y:t}};p.onscrollend.call(p,i)}};var N=0,j=0,F=0,W=1;function L(e,t,i,n){p.scrollrunning||(p.newscrolly=p.getScrollTop(),p.newscrollx=p.getScrollLeft(),F=y());var o=y()-F;if(F=y(),o>350?W=1:W+=(2-W)/10,t=t*W|0,e=e*W|0){if(n)if(e<0){if(p.getScrollLeft()>=p.page.maxw)return!0}else if(p.getScrollLeft()<=0)return!0;var r=e>0?1:-1;j!==r&&(p.scrollmom&&p.scrollmom.stop(),p.newscrollx=p.getScrollLeft(),j=r),p.lastdeltax-=e}if(t){if(function(){var e=p.getScrollTop();if(t<0){if(e>=p.page.maxh)return!0}else if(e<=0)return!0}()){if(g.nativeparentscrolling&&i&&!p.ispage&&!p.zoomactive)return!0;var a=p.view.h>>1;p.newscrolly<-a?(p.newscrolly=-a,t=-1):p.newscrolly>p.page.maxh+a?(p.newscrolly=p.page.maxh+a,t=1):t=0}var s=t>0?1:-1;N!==s&&(p.scrollmom&&p.scrollmom.stop(),p.newscrolly=p.getScrollTop(),N=s),p.lastdeltay-=t}(t||e)&&p.synched("relativexy",function(){var e=p.lastdeltay+p.newscrolly;p.lastdeltay=0;var t=p.lastdeltax+p.newscrollx;p.lastdeltax=0,p.rail.drag||p.doScrollPos(t,e)})}var Y=!1;function H(e,t,i){var n,o;if(!i&&Y)return!0;(0===e.deltaMode?(n=-e.deltaX*(g.mousescrollstep/54)|0,o=-e.deltaY*(g.mousescrollstep/54)|0):1===e.deltaMode&&(n=-e.deltaX*g.mousescrollstep*50/80|0,o=-e.deltaY*g.mousescrollstep*50/80|0),t&&g.oneaxismousemode&&0===n&&o)&&(n=o,o=0,i&&(n<0?p.getScrollLeft()>=p.page.maxw:p.getScrollLeft()<=0)&&(o=n,n=0));if(p.isrtlmode&&(n=-n),!L(n,o,i,!0))return Y=!1,e.stopImmediatePropagation(),e.preventDefault();i&&(Y=!0)}if(this.onmousewheel=function(e){if(p.wheelprevented||p.locked)return!1;if(p.railslocked)return p.debounced("checkunlock",p.resize,250),!1;if(p.rail.drag)return p.cancelEvent(e);if("auto"===g.oneaxismousemode&&0!==e.deltaX&&(g.oneaxismousemode=!1),g.oneaxismousemode&&0===e.deltaX&&!p.rail.scrollable)return!p.railh||!p.railh.scrollable||p.onmousewheelhr(e);var t=y(),i=!1;if(g.preservenativescrolling&&p.checkarea+600p.page.maxh&&(t=p.page.maxh+(t-p.page.maxh)/2|0),e<0?e=e/2|0:e>p.page.maxw&&(e=p.page.maxw+(e-p.page.maxw)/2|0)):(t<0?t=0:t>p.page.maxh&&(t=p.page.maxh),e<0?e=0:e>p.page.maxw&&(e=p.page.maxw)),p.scrollrunning&&e==p.newscrollx&&t==p.newscrolly)return!1;p.newscrolly=t,p.newscrollx=e;var r=p.getScrollTop(),a=p.getScrollLeft(),s={};s.x=e-a,s.y=t-r;var l=0|Math.sqrt(s.x*s.x+s.y*s.y),c=p.prepareTransition(l);p.scrollrunning||(p.scrollrunning=!0,p.triggerScrollStart(a,r,e,t,c),p.cursorupdate.start()),p.scrollendtrapped=!0,M.transitionend||(p.scrollendtrapped&&clearTimeout(p.scrollendtrapped),p.scrollendtrapped=setTimeout(p.onScrollTransitionEnd,c)),p.setScrollTop(p.newscrolly),p.setScrollLeft(p.newscrollx)},this.cancelScroll=function(){if(!p.scrollendtrapped)return!0;var e=p.getScrollTop(),t=p.getScrollLeft();return p.scrollrunning=!1,M.transitionend||clearTimeout(M.transitionend),p.scrollendtrapped=!1,p.resetTransition(),p.setScrollTop(e),p.railh&&p.setScrollLeft(t),p.timerscroll&&p.timerscroll.tm&&clearInterval(p.timerscroll.tm),p.timerscroll=!1,p.cursorfreezed=!1,p.cursorupdate.stop(),p.showCursor(e,t),p},this.onScrollTransitionEnd=function(){if(p.scrollendtrapped){var e=p.getScrollTop(),t=p.getScrollLeft();if(e<0?e=0:e>p.page.maxh&&(e=p.page.maxh),t<0?t=0:t>p.page.maxw&&(t=p.page.maxw),e!=p.newscrolly||t!=p.newscrollx)return p.doScrollPos(t,e,g.snapbackspeed);p.scrollrunning&&p.triggerScrollEnd(),p.scrollrunning=!1,p.scrollendtrapped=!1,p.resetTransition(),p.timerscroll=!1,p.setScrollTop(e),p.railh&&p.setScrollLeft(t),p.cursorupdate.stop(),p.noticeCursor(!1,e,t),p.cursorfreezed=!1}}}else this.doScrollLeft=function(e,t){var i=p.scrollrunning?p.newscrolly:p.getScrollTop();p.doScrollPos(e,i,t)},this.doScrollTop=function(e,t){var i=p.scrollrunning?p.newscrollx:p.getScrollLeft();p.doScrollPos(i,e,t)},this.doScrollPos=function(e,t,i){var n=p.getScrollTop(),o=p.getScrollLeft();((p.newscrolly-n)*(t-n)<0||(p.newscrollx-o)*(e-o)<0)&&p.cancelScroll();var r=!1;if(p.bouncescroll&&p.rail.visibility||(t<0?(t=0,r=!0):t>p.page.maxh&&(t=p.page.maxh,r=!0)),p.bouncescroll&&p.railh.visibility||(e<0?(e=0,r=!0):e>p.page.maxw&&(e=p.page.maxw,r=!0)),p.scrollrunning&&p.newscrolly===t&&p.newscrollx===e)return!0;p.newscrolly=t,p.newscrollx=e,p.dst={},p.dst.x=e-o,p.dst.y=t-n,p.dst.px=o,p.dst.py=n;var a=0|Math.sqrt(p.dst.x*p.dst.x+p.dst.y*p.dst.y),s=p.getTransitionSpeed(a);p.bzscroll={};var l=r?1:.58;p.bzscroll.x=new S(o,p.newscrollx,s,0,0,l,1),p.bzscroll.y=new S(n,p.newscrolly,s,0,0,l,1);y();var c=function(){if(p.scrollrunning){var e=p.bzscroll.y.getPos();p.setScrollLeft(p.bzscroll.x.getNow()),p.setScrollTop(p.bzscroll.y.getNow()),e<=1?p.timer=u(c):(p.scrollrunning=!1,p.timer=0,p.triggerScrollEnd())}};p.scrollrunning||(p.triggerScrollStart(o,n,e,t,s),p.scrollrunning=!0,p.timer=u(c))},this.cancelScroll=function(){return p.timer&&h(p.timer),p.timer=0,p.bzscroll=!1,p.scrollrunning=!1,p};else this.doScrollLeft=function(e,t){var i=p.getScrollTop();p.doScrollPos(e,i,t)},this.doScrollTop=function(e,t){var i=p.getScrollLeft();p.doScrollPos(i,e,t)},this.doScrollPos=function(e,t,i){var n=e>p.page.maxw?p.page.maxw:e;n<0&&(n=0);var o=t>p.page.maxh?p.page.maxh:t;o<0&&(o=0),p.synched("scroll",function(){p.setScrollTop(o),p.setScrollLeft(n)})},this.cancelScroll=function(){};this.doScrollBy=function(e,t){L(0,e)},this.doScrollLeftBy=function(e,t){L(e,0)},this.doScrollTo=function(e,t){var i=t?Math.round(e*p.scrollratio.y):e;i<0?i=0:i>p.page.maxh&&(i=p.page.maxh),p.cursorfreezed=!1,p.doScrollTop(e)},this.checkContentSize=function(){var e=p.getContentSize();e.h==p.page.h&&e.w==p.page.w||p.resize(!1,e)},p.onscroll=function(e){p.rail.drag||p.cursorfreezed||p.synched("scroll",function(){p.scroll.y=Math.round(p.getScrollTop()/p.scrollratio.y),p.railh&&(p.scroll.x=Math.round(p.getScrollLeft()/p.scrollratio.x)),p.noticeCursor()})},p.bind(p.docscroll,"scroll",p.onscroll),this.doZoomIn=function(e){if(!p.zoomactive){p.zoomactive=!0,p.zoomrestore={style:{}};var t=["position","top","left","zIndex","backgroundColor","marginTop","marginBottom","marginLeft","marginRight"],i=p.win[0].style;for(var n in t){var o=t[n];p.zoomrestore.style[o]=void 0!==i[o]?i[o]:""}p.zoomrestore.style.width=p.win.css("width"),p.zoomrestore.style.height=p.win.css("height"),p.zoomrestore.padding={w:p.win.outerWidth()-p.win.width(),h:p.win.outerHeight()-p.win.height()},M.isios4&&(p.zoomrestore.scrollTop=c.scrollTop(),c.scrollTop(0)),p.win.css({position:M.isios4?"absolute":"fixed",top:0,left:0,zIndex:r+100,margin:0});var a=p.win.css("backgroundColor");return(""===a||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(a))&&p.win.css("backgroundColor","#fff"),p.rail.css({zIndex:r+101}),p.zoom.css({zIndex:r+102}),p.zoom.css("backgroundPosition","0 -18px"),p.resizeZoom(),p.onzoomin&&p.onzoomin.call(p),p.cancelEvent(e)}},this.doZoomOut=function(e){if(p.zoomactive)return p.zoomactive=!1,p.win.css("margin",""),p.win.css(p.zoomrestore.style),M.isios4&&c.scrollTop(p.zoomrestore.scrollTop),p.rail.css({"z-index":p.zindex}),p.zoom.css({"z-index":p.zindex}),p.zoomrestore=!1,p.zoom.css("backgroundPosition","0 0"),p.onResize(),p.onzoomout&&p.onzoomout.call(p),p.cancelEvent(e)},this.doZoom=function(e){return p.zoomactive?p.doZoomOut(e):p.doZoomIn(e)},this.resizeZoom=function(){if(p.zoomactive){var e=p.getScrollTop();p.win.css({width:c.width()-p.zoomrestore.padding.w+"px",height:c.height()-p.zoomrestore.padding.h+"px"}),p.onResize(),p.setScrollTop(Math.min(p.page.maxh,e))}},this.init(),a.nicescroll.push(this)},x=function(e){var t=this;this.nc=e,this.lastx=0,this.lasty=0,this.speedx=0,this.speedy=0,this.lasttime=0,this.steptime=0,this.snapx=!1,this.snapy=!1,this.demulx=0,this.demuly=0,this.lastscrollx=-1,this.lastscrolly=-1,this.chkx=0,this.chky=0,this.timer=0,this.reset=function(e,i){t.stop(),t.steptime=0,t.lasttime=y(),t.speedx=0,t.speedy=0,t.lastx=e,t.lasty=i,t.lastscrollx=-1,t.lastscrolly=-1},this.update=function(e,i){var n=y();t.steptime=n-t.lasttime,t.lasttime=n;var o=i-t.lasty,r=e-t.lastx,a=t.nc.getScrollTop()+o,s=t.nc.getScrollLeft()+r;t.snapx=s<0||s>t.nc.page.maxw,t.snapy=a<0||a>t.nc.page.maxh,t.speedx=r,t.speedy=o,t.lastx=e,t.lasty=i},this.stop=function(){t.nc.unsynched("domomentum2d"),t.timer&&clearTimeout(t.timer),t.timer=0,t.lastscrollx=-1,t.lastscrolly=-1},this.doSnapy=function(e,i){var n=!1;i<0?(i=0,n=!0):i>t.nc.page.maxh&&(i=t.nc.page.maxh,n=!0),e<0?(e=0,n=!0):e>t.nc.page.maxw&&(e=t.nc.page.maxw,n=!0),n?t.nc.doScrollPos(e,i,t.nc.opt.snapbackspeed):t.nc.triggerScrollEnd()},this.doMomentum=function(e){var i=y(),n=e?i+e:t.lasttime,o=t.nc.getScrollLeft(),r=t.nc.getScrollTop(),a=t.nc.page.maxh,s=t.nc.page.maxw;t.speedx=s>0?Math.min(60,t.speedx):0,t.speedy=a>0?Math.min(60,t.speedy):0;var l=n&&i-n<=60;(r<0||r>a||o<0||o>s)&&(l=!1);var c=!(!t.speedy||!l)&&t.speedy,d=!(!t.speedx||!l)&&t.speedx;if(c||d){var u=Math.max(16,t.steptime);if(u>50){var h=u/50;t.speedx*=h,t.speedy*=h,u=50}t.demulxy=0,t.lastscrollx=t.nc.getScrollLeft(),t.chkx=t.lastscrollx,t.lastscrolly=t.nc.getScrollTop(),t.chky=t.lastscrolly;var f=t.lastscrollx,p=t.lastscrolly,m=function(){var e=y()-i>600?.04:.02;t.speedx&&(f=Math.floor(t.lastscrollx-t.speedx*(1-t.demulxy)),t.lastscrollx=f,(f<0||f>s)&&(e=.1)),t.speedy&&(p=Math.floor(t.lastscrolly-t.speedy*(1-t.demulxy)),t.lastscrolly=p,(p<0||p>a)&&(e=.1)),t.demulxy=Math.min(1,t.demulxy+e),t.nc.synched("domomentum2d",function(){if(t.speedx){t.nc.getScrollLeft();t.chkx=f,t.nc.setScrollLeft(f)}if(t.speedy){t.nc.getScrollTop();t.chky=p,t.nc.setScrollTop(p)}t.timer||(t.nc.hideCursor(),t.doSnapy(f,p))}),t.demulxy<1?t.timer=setTimeout(m,u):(t.stop(),t.nc.hideCursor(),t.doSnapy(f,p))};m()}else t.doSnapy(t.nc.getScrollLeft(),t.nc.getScrollTop())}},k=e.fn.scrollTop;e.cssHooks.pageYOffset={get:function(e,t,i){var n=a.data(e,"__nicescroll")||!1;return n&&n.ishwscroll?n.getScrollTop():k.call(e)},set:function(e,t){var i=a.data(e,"__nicescroll")||!1;return i&&i.ishwscroll?i.setScrollTop(parseInt(t)):k.call(e,t),this}},e.fn.scrollTop=function(e){if(void 0===e){var t=this[0]&&a.data(this[0],"__nicescroll")||!1;return t&&t.ishwscroll?t.getScrollTop():k.call(this)}return this.each(function(){var t=a.data(this,"__nicescroll")||!1;t&&t.ishwscroll?t.setScrollTop(parseInt(e)):k.call(a(this),e)})};var D=e.fn.scrollLeft;a.cssHooks.pageXOffset={get:function(e,t,i){var n=a.data(e,"__nicescroll")||!1;return n&&n.ishwscroll?n.getScrollLeft():D.call(e)},set:function(e,t){var i=a.data(e,"__nicescroll")||!1;return i&&i.ishwscroll?i.setScrollLeft(parseInt(t)):D.call(e,t),this}},e.fn.scrollLeft=function(e){if(void 0===e){var t=this[0]&&a.data(this[0],"__nicescroll")||!1;return t&&t.ishwscroll?t.getScrollLeft():D.call(this)}return this.each(function(){var t=a.data(this,"__nicescroll")||!1;t&&t.ishwscroll?t.setScrollLeft(parseInt(e)):D.call(a(this),e)})};var M=function(e){var t=this;if(this.length=0,this.name="nicescrollarray",this.each=function(e){return a.each(t,e),t},this.push=function(e){t[t.length]=e,t.length++},this.eq=function(e){return t[e]},e)for(var i=0;i1?a(e,n):r,o.win=n}!("doc"in o)||"win"in o||(o.win=n);var s=n.data("__nicescroll")||!1;s||(o.doc=o.doc||n,s=new _(o,n),n.data("__nicescroll",s)),i.push(s)}),1===i.length?i[0]:i},l.NiceScroll={getjQuery:function(){return e}},a.nicescroll||(a.nicescroll=new M,a.nicescroll.options=b)}),function(){"use strict";var e,t,i,n,o;e=function(e,t){return"string"==typeof e&&"string"==typeof t&&e.toLowerCase()===t.toLowerCase()},t=function(e,i,n){var o=n||"0",r=e.toString();return r.lengths?"20":"19")+a):s,p=!0;break;case"m":case"n":case"M":case"F":if(isNaN(s)){if(!((l=f.getMonth(a))>0))return null;v.month=l}else{if(!(s>=1&&12>=s))return null;v.month=s}p=!0;break;case"d":case"j":if(!(s>=1&&31>=s))return null;v.day=s,p=!0;break;case"g":case"h":if(h=o[c=n.indexOf("a")>-1?n.indexOf("a"):n.indexOf("A")>-1?n.indexOf("A"):-1],c>-1)d=e(h,g.meridiem[0])?0:e(h,g.meridiem[1])?12:-1,s>=1&&12>=s&&d>-1?v.hour=s+d-1:s>=0&&23>=s&&(v.hour=s);else{if(!(s>=0&&23>=s))return null;v.hour=s}m=!0;break;case"G":case"H":if(!(s>=0&&23>=s))return null;v.hour=s,m=!0;break;case"i":if(!(s>=0&&59>=s))return null;v.min=s,m=!0;break;case"s":if(!(s>=0&&59>=s))return null;v.sec=s,m=!0}if(!0===p&&v.year&&v.month&&v.day)v.date=new Date(v.year,v.month-1,v.day,v.hour,v.min,v.sec,0);else{if(!0!==m)return null;v.date=new Date(0,0,0,v.hour,v.min,v.sec,0)}return v.date},guessDate:function(e,t){if("string"!=typeof e)return e;var i,n,o,r,a,s,l=e.replace(this.separators,"\0").split("\0"),c=t.match(this.validParts),d=new Date,u=0;if(!/^[djmn]/g.test(c[0]))return e;for(o=0;o(i=a.length)?i:4,!(n=parseInt(4>i?n.toString().substr(0,4-i)+a:a.substr(0,4))))return null;d.setFullYear(n);break;case 3:d.setHours(s);break;case 4:d.setMinutes(s);break;case 5:d.setSeconds(s)}(r=a.substr(u)).length>0&&l.splice(o+1,0,r)}return d},parseFormat:function(e,i){var n,o=this,r=o.dateSettings,a=/\\?(.?)/gi,s=function(e,t){return n[e]?n[e]():t};return n={d:function(){return t(n.j(),2)},D:function(){return r.daysShort[n.w()]},j:function(){return i.getDate()},l:function(){return r.days[n.w()]},N:function(){return n.w()||7},w:function(){return i.getDay()},z:function(){var e=new Date(n.Y(),n.n()-1,n.j()),t=new Date(n.Y(),0,1);return Math.round((e-t)/864e5)},W:function(){var e=new Date(n.Y(),n.n()-1,n.j()-n.N()+3),i=new Date(e.getFullYear(),0,4);return t(1+Math.round((e-i)/864e5/7),2)},F:function(){return r.months[i.getMonth()]},m:function(){return t(n.n(),2)},M:function(){return r.monthsShort[i.getMonth()]},n:function(){return i.getMonth()+1},t:function(){return new Date(n.Y(),n.n(),0).getDate()},L:function(){var e=n.Y();return e%4==0&&e%100!=0||e%400==0?1:0},o:function(){var e=n.n(),t=n.W();return n.Y()+(12===e&&9>t?1:1===e&&t>9?-1:0)},Y:function(){return i.getFullYear()},y:function(){return n.Y().toString().slice(-2)},a:function(){return n.A().toLowerCase()},A:function(){var e=n.G()<12?0:1;return r.meridiem[e]},B:function(){var e=3600*i.getUTCHours(),n=60*i.getUTCMinutes(),o=i.getUTCSeconds();return t(Math.floor((e+n+o+3600)/86.4)%1e3,3)},g:function(){return n.G()%12||12},G:function(){return i.getHours()},h:function(){return t(n.g(),2)},H:function(){return t(n.G(),2)},i:function(){return t(i.getMinutes(),2)},s:function(){return t(i.getSeconds(),2)},u:function(){return t(1e3*i.getMilliseconds(),6)},e:function(){return/\((.*)\)/.exec(String(i))[1]||"Coordinated Universal Time"},I:function(){return new Date(n.Y(),0)-Date.UTC(n.Y(),0)!=new Date(n.Y(),6)-Date.UTC(n.Y(),6)?1:0},O:function(){var e=i.getTimezoneOffset(),n=Math.abs(e);return(e>0?"-":"+")+t(100*Math.floor(n/60)+n%60,4)},P:function(){var e=n.O();return e.substr(0,3)+":"+e.substr(3,2)},T:function(){return(String(i).match(o.tzParts)||[""]).pop().replace(o.tzClip,"")||"UTC"},Z:function(){return 60*-i.getTimezoneOffset()},c:function(){return"Y-m-d\\TH:i:sP".replace(a,s)},r:function(){return"D, d M Y H:i:s O".replace(a,s)},U:function(){return i.getTime()/1e3||0}},s(e,e)},formatDate:function(e,t){var i,n,o,r,a,s=this,l="";if("string"==typeof e&&!(e=s.parseDate(e,t)))return null;if(e instanceof Date){for(o=t.length,i=0;o>i;i++)"S"!==(a=t.charAt(i))&&"\\"!==a&&(i>0&&"\\"===t.charAt(i-1)?l+=a:(r=s.parseFormat(a,e),i!==o-1&&s.intParts.test(a)&&"S"===t.charAt(i+1)&&(n=parseInt(r)||0,r+=s.dateSettings.ordinal(n)),l+=r));return l}return""}}}();var datetimepickerFactory=function(e){"use strict";var t={i18n:{ar:{months:["كانون الثاني","شباط","آذار","نيسان","مايو","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],dayOfWeekShort:["ن","ث","ع","خ","ج","س","ح"],dayOfWeek:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت","الأحد"]},ro:{months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],dayOfWeekShort:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],dayOfWeek:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"]},id:{months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],dayOfWeekShort:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],dayOfWeek:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},is:{months:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],dayOfWeekShort:["Sun","Mán","Þrið","Mið","Fim","Fös","Lau"],dayOfWeek:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"]},bg:{months:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],dayOfWeekShort:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],dayOfWeek:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"]},fa:{months:["فروردین","اردیبهشت","خرداد","تیر","مرداد","شهریور","مهر","آبان","آذر","دی","بهمن","اسفند"],dayOfWeekShort:["یکشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayOfWeek:["یک‌شنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنج‌شنبه","جمعه","شنبه","یک‌شنبه"]},ru:{months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],dayOfWeekShort:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],dayOfWeek:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"]},uk:{months:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],dayOfWeekShort:["Ндл","Пнд","Втр","Срд","Чтв","Птн","Сбт"],dayOfWeek:["Неділя","Понеділок","Вівторок","Середа","Четвер","П'ятниця","Субота"]},en:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},el:{months:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],dayOfWeekShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],dayOfWeek:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"]},de:{months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],dayOfWeekShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayOfWeek:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},nl:{months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],dayOfWeekShort:["zo","ma","di","wo","do","vr","za"],dayOfWeek:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},tr:{months:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],dayOfWeekShort:["Paz","Pts","Sal","Çar","Per","Cum","Cts"],dayOfWeek:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},fr:{months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],dayOfWeekShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],dayOfWeek:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},es:{months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],dayOfWeekShort:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],dayOfWeek:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"]},th:{months:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],dayOfWeekShort:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],dayOfWeek:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัส","ศุกร์","เสาร์","อาทิตย์"]},pl:{months:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],dayOfWeekShort:["nd","pn","wt","śr","cz","pt","sb"],dayOfWeek:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},pt:{months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],dayOfWeek:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"]},ch:{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayOfWeekShort:["日","一","二","三","四","五","六"]},se:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"]},km:{months:["មករា​","កុម្ភៈ","មិនា​","មេសា​","ឧសភា​","មិថុនា​","កក្កដា​","សីហា​","កញ្ញា​","តុលា​","វិច្ឆិកា","ធ្នូ​"],dayOfWeekShort:["អាទិ​","ច័ន្ទ​","អង្គារ​","ពុធ​","ព្រហ​​","សុក្រ​","សៅរ៍"],dayOfWeek:["អាទិត្យ​","ច័ន្ទ​","អង្គារ​","ពុធ​","ព្រហស្បតិ៍​","សុក្រ​","សៅរ៍"]},kr:{months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayOfWeekShort:["일","월","화","수","목","금","토"],dayOfWeek:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},it:{months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayOfWeek:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"]},da:{months:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],dayOfWeekShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayOfWeek:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},no:{months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],dayOfWeekShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayOfWeek:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"]},ja:{months:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeekShort:["日","月","火","水","木","金","土"],dayOfWeek:["日曜","月曜","火曜","水曜","木曜","金曜","土曜"]},vi:{months:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayOfWeekShort:["CN","T2","T3","T4","T5","T6","T7"],dayOfWeek:["Chủ nhật","Thứ hai","Thứ ba","Thứ tư","Thứ năm","Thứ sáu","Thứ bảy"]},sl:{months:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],dayOfWeekShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],dayOfWeek:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"]},cs:{months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],dayOfWeekShort:["Ne","Po","Út","St","Čt","Pá","So"]},hu:{months:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],dayOfWeekShort:["Va","Hé","Ke","Sze","Cs","Pé","Szo"],dayOfWeek:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"]},az:{months:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],dayOfWeekShort:["B","Be","Ça","Ç","Ca","C","Ş"],dayOfWeek:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"]},bs:{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"]},ca:{months:["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],dayOfWeekShort:["Dg","Dl","Dt","Dc","Dj","Dv","Ds"],dayOfWeek:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"]},"en-GB":{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},et:{months:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],dayOfWeekShort:["P","E","T","K","N","R","L"],dayOfWeek:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"]},eu:{months:["Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila","Urria","Azaroa","Abendua"],dayOfWeekShort:["Ig.","Al.","Ar.","Az.","Og.","Or.","La."],dayOfWeek:["Igandea","Astelehena","Asteartea","Asteazkena","Osteguna","Ostirala","Larunbata"]},fi:{months:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],dayOfWeekShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayOfWeek:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},gl:{months:["Xan","Feb","Maz","Abr","Mai","Xun","Xul","Ago","Set","Out","Nov","Dec"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Xov","Ven","Sab"],dayOfWeek:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"]},hr:{months:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],dayOfWeekShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"]},ko:{months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayOfWeekShort:["일","월","화","수","목","금","토"],dayOfWeek:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},lt:{months:["Sausio","Vasario","Kovo","Balandžio","Gegužės","Birželio","Liepos","Rugpjūčio","Rugsėjo","Spalio","Lapkričio","Gruodžio"],dayOfWeekShort:["Sek","Pir","Ant","Tre","Ket","Pen","Šeš"],dayOfWeek:["Sekmadienis","Pirmadienis","Antradienis","Trečiadienis","Ketvirtadienis","Penktadienis","Šeštadienis"]},lv:{months:["Janvāris","Februāris","Marts","Aprīlis ","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],dayOfWeekShort:["Sv","Pr","Ot","Tr","Ct","Pk","St"],dayOfWeek:["Svētdiena","Pirmdiena","Otrdiena","Trešdiena","Ceturtdiena","Piektdiena","Sestdiena"]},mk:{months:["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],dayOfWeekShort:["нед","пон","вто","сре","чет","пет","саб"],dayOfWeek:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"]},mn:{months:["1-р сар","2-р сар","3-р сар","4-р сар","5-р сар","6-р сар","7-р сар","8-р сар","9-р сар","10-р сар","11-р сар","12-р сар"],dayOfWeekShort:["Дав","Мяг","Лха","Пүр","Бсн","Бям","Ням"],dayOfWeek:["Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба","Ням"]},"pt-BR":{months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayOfWeek:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"]},sk:{months:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],dayOfWeekShort:["Ne","Po","Ut","St","Št","Pi","So"],dayOfWeek:["Nedeľa","Pondelok","Utorok","Streda","Štvrtok","Piatok","Sobota"]},sq:{months:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],dayOfWeekShort:["Die","Hën","Mar","Mër","Enj","Pre","Shtu"],dayOfWeek:["E Diel","E Hënë","E Martē","E Mërkurë","E Enjte","E Premte","E Shtunë"]},"sr-YU":{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sre","čet","Pet","Sub"],dayOfWeek:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota"]},sr:{months:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],dayOfWeekShort:["нед","пон","уто","сре","чет","пет","суб"],dayOfWeek:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"]},sv:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayOfWeek:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"]},"zh-TW":{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayOfWeekShort:["日","一","二","三","四","五","六"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},zh:{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayOfWeekShort:["日","一","二","三","四","五","六"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},ug:{months:["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي"],dayOfWeek:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"]},he:{months:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],dayOfWeekShort:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],dayOfWeek:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת","ראשון"]},hy:{months:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր"],dayOfWeekShort:["Կի","Երկ","Երք","Չոր","Հնգ","Ուրբ","Շբթ"],dayOfWeek:["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","Ուրբաթ","Շաբաթ"]},kg:{months:["Үчтүн айы","Бирдин айы","Жалган Куран","Чын Куран","Бугу","Кулжа","Теке","Баш Оона","Аяк Оона","Тогуздун айы","Жетинин айы","Бештин айы"],dayOfWeekShort:["Жек","Дүй","Шей","Шар","Бей","Жум","Ише"],dayOfWeek:["Жекшемб","Дүйшөмб","Шейшемб","Шаршемб","Бейшемби","Жума","Ишенб"]},rm:{months:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],dayOfWeekShort:["Du","Gli","Ma","Me","Gie","Ve","So"],dayOfWeek:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"]},ka:{months:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],dayOfWeekShort:["კვ","ორშ","სამშ","ოთხ","ხუთ","პარ","შაბ"],dayOfWeek:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"]}},ownerDocument:document,contentWindow:window,value:"",rtl:!1,format:"Y/m/d H:i",formatTime:"H:i",formatDate:"Y/m/d",startDate:!1,step:60,monthChangeSpinner:!0,closeOnDateSelect:!1,closeOnTimeSelect:!0,closeOnWithoutClick:!0,closeOnInputClick:!0,openOnFocus:!0,timepicker:!0,datepicker:!0,weeks:!1,defaultTime:!1,defaultDate:!1,minDate:!1,maxDate:!1,minTime:!1,maxTime:!1,minDateTime:!1,maxDateTime:!1,allowTimes:[],opened:!1,initTime:!0,inline:!1,theme:"",touchMovedThreshold:5,onSelectDate:function(){},onSelectTime:function(){},onChangeMonth:function(){},onGetWeekOfYear:function(){},onChangeYear:function(){},onChangeDateTime:function(){},onShow:function(){},onClose:function(){},onGenerate:function(){},withoutCopyright:!0,inverseButton:!1,hours12:!1,next:"xdsoft_next",prev:"xdsoft_prev",dayOfWeekStart:0,parentID:"body",timeHeightInTimePicker:25,timepickerScrollbar:!0,todayButton:!0,prevButton:!0,nextButton:!0,defaultSelect:!0,scrollMonth:!0,scrollTime:!0,scrollInput:!0,lazyInit:!1,mask:!1,validateOnBlur:!0,allowBlank:!0,yearStart:1950,yearEnd:2050,monthStart:0,monthEnd:11,style:"",id:"",fixed:!1,roundTime:"round",className:"",weekends:[],highlightedDates:[],highlightedPeriods:[],allowDates:[],allowDateRe:null,disabledDates:[],disabledWeekDays:[],yearOffset:0,beforeShowDay:null,enterLikeTab:!0,showApplyButton:!1},i=null,n=null,o="en",r={meridiem:["AM","PM"]},a=function(){var a=t.i18n[o],s={days:a.dayOfWeek,daysShort:a.dayOfWeekShort,months:a.months,monthsShort:e.map(a.months,function(e){return e.substring(0,3)})};"function"==typeof DateFormatter&&(i=n=new DateFormatter({dateSettings:e.extend({},r,s)}))},s={moment:{default_options:{format:"YYYY/MM/DD HH:mm",formatDate:"YYYY/MM/DD",formatTime:"HH:mm"},formatter:{parseDate:function(e,t){if(c(t))return n.parseDate(e,t);var i=moment(e,t);return!!i.isValid()&&i.toDate()},formatDate:function(e,t){return c(t)?n.formatDate(e,t):moment(e).format(t)},formatMask:function(e){return e.replace(/Y{4}/g,"9999").replace(/Y{2}/g,"99").replace(/M{2}/g,"19").replace(/D{2}/g,"39").replace(/H{2}/g,"29").replace(/m{2}/g,"59").replace(/s{2}/g,"59")}}}};e.datetimepicker={setLocale:function(e){var i=t.i18n[e]?e:"en";o!==i&&(o=i,a())},setDateFormatter:function(n){if("string"==typeof n&&s.hasOwnProperty(n)){var o=s[n];e.extend(t,o.default_options),i=o.formatter}else i=n}};var l={RFC_2822:"D, d M Y H:i:s O",ATOM:"Y-m-dTH:i:sP",ISO_8601:"Y-m-dTH:i:sO",RFC_822:"D, d M y H:i:s O",RFC_850:"l, d-M-y H:i:s T",RFC_1036:"D, d M y H:i:s O",RFC_1123:"D, d M Y H:i:s O",RSS:"D, d M Y H:i:s O",W3C:"Y-m-dTH:i:sP"},c=function(e){return-1!==Object.values(l).indexOf(e)};function d(e,t,i){this.date=e,this.desc=t,this.style=i}e.extend(e.datetimepicker,l),a(),window.getComputedStyle||(window.getComputedStyle=function(e){return this.el=e,this.getPropertyValue=function(t){var i=/(-([a-z]))/g;return"float"===t&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,function(e,t,i){return i.toUpperCase()})),e.currentStyle[t]||null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var i,n;for(i=t||0,n=this.length;i
'),s=e('
'),a.append(s),l.addClass("xdsoft_scroller_box").append(a),v=function(e){var t=c(e).y-h+g;t<0&&(t=0),t+s[0].offsetHeight>p&&(t=p-s[0].offsetHeight),l.trigger("scroll_element.xdsoft_scroller",[d?t/d:0])},s.on("touchstart.xdsoft_scroller mousedown.xdsoft_scroller",function(n){o||l.trigger("resize_scroll.xdsoft_scroller",[i]),h=c(n).y,g=parseInt(s.css("margin-top"),10),p=a[0].offsetHeight,"mousedown"===n.type||"touchstart"===n.type?(t.ownerDocument&&e(t.ownerDocument.body).addClass("xdsoft_noselect"),e([t.ownerDocument.body,t.contentWindow]).on("touchend mouseup.xdsoft_scroller",function i(){e([t.ownerDocument.body,t.contentWindow]).off("touchend mouseup.xdsoft_scroller",i).off("mousemove.xdsoft_scroller",v).removeClass("xdsoft_noselect")}),e(t.ownerDocument.body).on("mousemove.xdsoft_scroller",v)):(m=!0,n.stopPropagation(),n.preventDefault())}).on("touchmove",function(e){m&&(e.preventDefault(),v(e))}).on("touchend touchcancel",function(){m=!1,g=0}),l.on("scroll_element.xdsoft_scroller",function(e,t){o||l.trigger("resize_scroll.xdsoft_scroller",[t,!0]),t=t>1?1:t<0||isNaN(t)?0:t,s.css("margin-top",d*t),setTimeout(function(){n.css("marginTop",-parseInt((n[0].offsetHeight-o)*t,10))},10)}).on("resize_scroll.xdsoft_scroller",function(e,t,i){var c,u;o=l[0].clientHeight,r=n[0].offsetHeight,u=(c=o/r)*a[0].offsetHeight,c>1?s.hide():(s.show(),s.css("height",parseInt(u>10?u:10,10)),d=a[0].offsetHeight-s[0].offsetHeight,!0!==i&&l.trigger("scroll_element.xdsoft_scroller",[t||Math.abs(parseInt(n.css("marginTop"),10))/(r-o)]))}),l.on("mousewheel",function(e){var t=Math.abs(parseInt(n.css("marginTop"),10));return(t-=20*e.deltaY)<0&&(t=0),l.trigger("scroll_element.xdsoft_scroller",[t/(r-o)]),e.stopPropagation(),!1}),l.on("touchstart",function(e){u=c(e),f=Math.abs(parseInt(n.css("marginTop"),10))}),l.on("touchmove",function(e){if(u){e.preventDefault();var t=c(e);l.trigger("scroll_element.xdsoft_scroller",[(f-(t.y-u.y))/(r-o)])}}),l.on("touchend touchcancel",function(){u=!1,f=0})),l.trigger("resize_scroll.xdsoft_scroller",[i])):l.find(".xdsoft_scrollbar").hide()})},e.fn.datetimepicker=function(n,r){var a,s,l=this,c=48,u=57,h=96,f=105,p=17,m=46,g=13,v=27,y=8,b=37,w=38,_=39,x=40,k=9,D=116,M=65,S=67,T=86,C=90,P=89,O=!1,A=e.isPlainObject(n)||!n?e.extend(!0,{},t,n):e.extend(!0,{},t),I=0;return a=function(t){var r,a,s,l,I,E,z=e('
'),N=e(''),j=e('
'),F=e('
'),W=e('
'),L=e('
'),Y=L.find(".xdsoft_time_box").eq(0),H=e('
'),R=e(''),$=e('
'),B=e('
'),U=!1,K=0;A.id&&z.attr("id",A.id),A.style&&z.attr("style",A.style),A.weeks&&z.addClass("xdsoft_showweeks"),A.rtl&&z.addClass("xdsoft_rtl"),z.addClass("xdsoft_"+A.theme),z.addClass(A.className),F.find(".xdsoft_month span").after($),F.find(".xdsoft_year span").after(B),F.find(".xdsoft_month,.xdsoft_year").on("touchstart mousedown.xdsoft",function(t){var i,n,o=e(this).find(".xdsoft_select").eq(0),r=0,a=0,s=o.is(":visible");for(F.find(".xdsoft_select").hide(),I.currentTime&&(r=I.currentTime[e(this).hasClass("xdsoft_month")?"getMonth":"getFullYear"]()),o[s?"hide":"show"](),i=o.find("div.xdsoft_option"),n=0;nA.touchMovedThreshold&&(this.touchMoved=!0)};function q(){var e,i=!1;return A.startDate?i=I.strToDate(A.startDate):(i=A.value||(t&&t.val&&t.val()?t.val():""))?(i=I.strToDateTime(i),A.yearOffset&&(i=new Date(i.getFullYear()-A.yearOffset,i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()))):A.defaultDate&&(i=I.strToDateTime(A.defaultDate),A.defaultTime&&(e=I.strtotime(A.defaultTime),i.setHours(e.getHours()),i.setMinutes(e.getMinutes()))),i&&I.isValidDate(i)?z.data("changed",!0):i="",i||0}function J(n){var o=function(e,t){var i=e.replace(/([\[\]\/\{\}\(\)\-\.\+]{1})/g,"\\$1").replace(/_/g,"{digit+}").replace(/([0-9]{1})/g,"{digit$1}").replace(/\{digit([0-9]{1})\}/g,"[0-$1_]{1}").replace(/\{digit[\+]\}/g,"[0-9_]{1}");return new RegExp(i).test(t)},r=function(e,t){if(!(e="string"==typeof e||e instanceof String?n.ownerDocument.getElementById(e):e))return!1;if(e.createTextRange){var i=e.createTextRange();return i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",t),i.select(),!0}return!!e.setSelectionRange&&(e.setSelectionRange(t,t),!0)};n.mask&&t.off("keydown.xdsoft"),!0===n.mask&&(i.formatMask?n.mask=i.formatMask(n.format):n.mask=n.format.replace(/Y/g,"9999").replace(/F/g,"9999").replace(/m/g,"19").replace(/d/g,"39").replace(/H/g,"29").replace(/i/g,"59").replace(/s/g,"59")),"string"===e.type(n.mask)&&(o(n.mask,t.val())||(t.val(n.mask.replace(/[0-9]/g,"_")),r(t[0],0)),t.on("paste.xdsoft",function(i){var a=(i.clipboardData||i.originalEvent.clipboardData||window.clipboardData).getData("text"),s=this.value,l=this.selectionStart,c=s.substr(0,l),d=s.substr(l+a.length);return s=c+a+d,l+=a.length,o(n.mask,s)?(this.value=s,r(this,l)):""===e.trim(s)?this.value=n.mask.replace(/[0-9]/g,"_"):t.trigger("error_input.xdsoft"),i.preventDefault(),!1}),t.on("keydown.xdsoft",function(i){var a,s=this.value,l=i.which,d=this.selectionStart,A=this.selectionEnd,I=d!==A;if(l>=c&&l<=u||l>=h&&l<=f||l===y||l===m){for(a=l===y||l===m?"_":String.fromCharCode(h<=l&&l<=f?l-c:l),l===y&&d&&!I&&(d-=1);;){var E=n.mask.substr(d,1),z=d0;if(!(/[^0-9_]/.test(E)&&z&&N))break;d+=l!==y||I?1:-1}if(I){var j=A-d,F=n.mask.replace(/[0-9]/g,"_"),W=F.substr(d,j).substr(1),L=s.substr(0,d),Y=a+W,H=s.substr(d+j);s=L+Y+H}else{var R=s.substr(0,d),$=a,B=s.substr(d+1);s=R+$+B}if(""===e.trim(s))s=F;else if(d===n.mask.length)return i.preventDefault(),!1;for(d+=l===y?0:1;/[^0-9_]/.test(n.mask.substr(d,1))&&d0;)d+=l===y?0:1;o(n.mask,s)?(this.value=s,r(this,d)):""===e.trim(s)?this.value=n.mask.replace(/[0-9]/g,"_"):t.trigger("error_input.xdsoft")}else if(-1!==[M,S,T,C,P].indexOf(l)&&O||-1!==[v,w,x,b,_,D,p,k,g].indexOf(l))return!0;return i.preventDefault(),!1}))}F.find(".xdsoft_select").xdsoftScroller(A).on("touchstart mousedown.xdsoft",function(e){var t=e.originalEvent;this.touchMoved=!1,this.touchStartPosition=t.touches?t.touches[0]:t,e.stopPropagation(),e.preventDefault()}).on("touchmove",".xdsoft_option",Q).on("touchend mousedown.xdsoft",".xdsoft_option",function(){if(!this.touchMoved){void 0!==I.currentTime&&null!==I.currentTime||(I.currentTime=I.now());var t=I.currentTime.getFullYear();I&&I.currentTime&&I.currentTime[e(this).parent().parent().hasClass("xdsoft_monthselect")?"setMonth":"setFullYear"](e(this).data("value")),e(this).parent().parent().hide(),z.trigger("xchange.xdsoft"),A.onChangeMonth&&e.isFunction(A.onChangeMonth)&&A.onChangeMonth.call(z,I.currentTime,z.data("input")),t!==I.currentTime.getFullYear()&&e.isFunction(A.onChangeYear)&&A.onChangeYear.call(z,I.currentTime,z.data("input"))}}),z.getValue=function(){return I.getCurrentTime()},z.setOptions=function(n){var o={};A=e.extend(!0,{},A,n),n.allowTimes&&e.isArray(n.allowTimes)&&n.allowTimes.length&&(A.allowTimes=e.extend(!0,[],n.allowTimes)),n.weekends&&e.isArray(n.weekends)&&n.weekends.length&&(A.weekends=e.extend(!0,[],n.weekends)),n.allowDates&&e.isArray(n.allowDates)&&n.allowDates.length&&(A.allowDates=e.extend(!0,[],n.allowDates)),n.allowDateRe&&"[object String]"===Object.prototype.toString.call(n.allowDateRe)&&(A.allowDateRe=new RegExp(n.allowDateRe)),n.highlightedDates&&e.isArray(n.highlightedDates)&&n.highlightedDates.length&&(e.each(n.highlightedDates,function(t,n){var r,a=e.map(n.split(","),e.trim),s=new d(i.parseDate(a[0],A.formatDate),a[1],a[2]),l=i.formatDate(s.date,A.formatDate);void 0!==o[l]?(r=o[l].desc)&&r.length&&s.desc&&s.desc.length&&(o[l].desc=r+"\n"+s.desc):o[l]=s}),A.highlightedDates=e.extend(!0,[],o)),n.highlightedPeriods&&e.isArray(n.highlightedPeriods)&&n.highlightedPeriods.length&&(o=e.extend(!0,[],A.highlightedDates),e.each(n.highlightedPeriods,function(t,n){var r,a,s,l,c,u,h;if(e.isArray(n))r=n[0],a=n[1],s=n[2],h=n[3];else{var f=e.map(n.split(","),e.trim);r=i.parseDate(f[0],A.formatDate),a=i.parseDate(f[1],A.formatDate),s=f[2],h=f[3]}for(;r<=a;)l=new d(r,s,h),c=i.formatDate(r,A.formatDate),r.setDate(r.getDate()+1),void 0!==o[c]?(u=o[c].desc)&&u.length&&l.desc&&l.desc.length&&(o[c].desc=u+"\n"+l.desc):o[c]=l}),A.highlightedDates=e.extend(!0,[],o)),n.disabledDates&&e.isArray(n.disabledDates)&&n.disabledDates.length&&(A.disabledDates=e.extend(!0,[],n.disabledDates)),n.disabledWeekDays&&e.isArray(n.disabledWeekDays)&&n.disabledWeekDays.length&&(A.disabledWeekDays=e.extend(!0,[],n.disabledWeekDays)),!A.open&&!A.opened||A.inline||t.trigger("open.xdsoft"),A.inline&&(U=!0,z.addClass("xdsoft_inline"),t.after(z).hide()),A.inverseButton&&(A.next="xdsoft_prev",A.prev="xdsoft_next"),A.datepicker?j.addClass("active"):j.removeClass("active"),A.timepicker?L.addClass("active"):L.removeClass("active"),A.value&&(I.setCurrentTime(A.value),t&&t.val&&t.val(I.str)),isNaN(A.dayOfWeekStart)?A.dayOfWeekStart=0:A.dayOfWeekStart=parseInt(A.dayOfWeekStart,10)%7,A.timepickerScrollbar||Y.xdsoftScroller(A,"hide"),A.minDate&&/^[\+\-](.*)$/.test(A.minDate)&&(A.minDate=i.formatDate(I.strToDateTime(A.minDate),A.formatDate)),A.maxDate&&/^[\+\-](.*)$/.test(A.maxDate)&&(A.maxDate=i.formatDate(I.strToDateTime(A.maxDate),A.formatDate)),A.minDateTime&&/^\+(.*)$/.test(A.minDateTime)&&(A.minDateTime=I.strToDateTime(A.minDateTime).dateFormat(A.formatDate)),A.maxDateTime&&/^\+(.*)$/.test(A.maxDateTime)&&(A.maxDateTime=I.strToDateTime(A.maxDateTime).dateFormat(A.formatDate)),R.toggle(A.showApplyButton),F.find(".xdsoft_today_button").css("visibility",A.todayButton?"visible":"hidden"),F.find("."+A.prev).css("visibility",A.prevButton?"visible":"hidden"),F.find("."+A.next).css("visibility",A.nextButton?"visible":"hidden"),J(A),A.validateOnBlur&&t.off("blur.xdsoft").on("blur.xdsoft",function(){if(A.allowBlank&&(!e.trim(e(this).val()).length||"string"==typeof A.mask&&e.trim(e(this).val())===A.mask.replace(/[0-9]/g,"_")))e(this).val(null),z.data("xdsoft_datetime").empty();else{var t=i.parseDate(e(this).val(),A.format);if(t)e(this).val(i.formatDate(t,A.format));else{var n=+[e(this).val()[0],e(this).val()[1]].join(""),o=+[e(this).val()[2],e(this).val()[3]].join("");!A.datepicker&&A.timepicker&&n>=0&&n<24&&o>=0&&o<60?e(this).val([n,o].map(function(e){return e>9?e:"0"+e}).join(":")):e(this).val(i.formatDate(I.now(),A.format))}z.data("xdsoft_datetime").setCurrentTime(e(this).val())}z.trigger("changedatetime.xdsoft"),z.trigger("close.xdsoft")}),A.dayOfWeekStartPrev=0===A.dayOfWeekStart?6:A.dayOfWeekStart-1,z.trigger("xchange.xdsoft").trigger("afterOpen.xdsoft")},z.data("options",A).on("touchstart mousedown.xdsoft",function(e){return e.stopPropagation(),e.preventDefault(),B.hide(),$.hide(),!1}),Y.append(H),Y.xdsoftScroller(A),z.on("afterOpen.xdsoft",function(){Y.xdsoftScroller(A)}),z.append(j).append(L),!0!==A.withoutCopyright&&z.append(N),j.append(F).append(W).append(R),e(A.parentID).append(z),I=new function(){var t=this;t.now=function(e){var i,n,o=new Date;return!e&&A.defaultDate&&(i=t.strToDateTime(A.defaultDate),o.setFullYear(i.getFullYear()),o.setMonth(i.getMonth()),o.setDate(i.getDate())),o.setFullYear(o.getFullYear()),!e&&A.defaultTime&&(n=t.strtotime(A.defaultTime),o.setHours(n.getHours()),o.setMinutes(n.getMinutes()),o.setSeconds(n.getSeconds()),o.setMilliseconds(n.getMilliseconds())),o},t.isValidDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},t.setCurrentTime=function(e,i){"string"==typeof e?t.currentTime=t.strToDateTime(e):t.isValidDate(e)?t.currentTime=e:e||i||!A.allowBlank||A.inline?t.currentTime=t.now():t.currentTime=null,z.trigger("xchange.xdsoft")},t.empty=function(){t.currentTime=null},t.getCurrentTime=function(){return t.currentTime},t.nextMonth=function(){void 0!==t.currentTime&&null!==t.currentTime||(t.currentTime=t.now());var i,n=t.currentTime.getMonth()+1;return 12===n&&(t.currentTime.setFullYear(t.currentTime.getFullYear()+1),n=0),i=t.currentTime.getFullYear(),t.currentTime.setDate(Math.min(new Date(t.currentTime.getFullYear(),n+1,0).getDate(),t.currentTime.getDate())),t.currentTime.setMonth(n),A.onChangeMonth&&e.isFunction(A.onChangeMonth)&&A.onChangeMonth.call(z,I.currentTime,z.data("input")),i!==t.currentTime.getFullYear()&&e.isFunction(A.onChangeYear)&&A.onChangeYear.call(z,I.currentTime,z.data("input")),z.trigger("xchange.xdsoft"),n},t.prevMonth=function(){void 0!==t.currentTime&&null!==t.currentTime||(t.currentTime=t.now());var i=t.currentTime.getMonth()-1;return-1===i&&(t.currentTime.setFullYear(t.currentTime.getFullYear()-1),i=11),t.currentTime.setDate(Math.min(new Date(t.currentTime.getFullYear(),i+1,0).getDate(),t.currentTime.getDate())),t.currentTime.setMonth(i),A.onChangeMonth&&e.isFunction(A.onChangeMonth)&&A.onChangeMonth.call(z,I.currentTime,z.data("input")),z.trigger("xchange.xdsoft"),i},t.getWeekOfYear=function(t){if(A.onGetWeekOfYear&&e.isFunction(A.onGetWeekOfYear)){var i=A.onGetWeekOfYear.call(z,t);if(void 0!==i)return i}var n=new Date(t.getFullYear(),0,1);return 4!==n.getDay()&&n.setMonth(0,1+(4-n.getDay()+7)%7),Math.ceil(((t-n)/864e5+n.getDay()+1)/7)},t.strToDateTime=function(e){var n,o,r=[];return e&&e instanceof Date&&t.isValidDate(e)?e:((r=/^([+-]{1})(.*)$/.exec(e))&&(r[2]=i.parseDate(r[2],A.formatDate)),r&&r[2]?(n=r[2].getTime()-6e4*r[2].getTimezoneOffset(),o=new Date(t.now(!0).getTime()+parseInt(r[1]+"1",10)*n)):o=e?i.parseDate(e,A.format):t.now(),t.isValidDate(o)||(o=t.now()),o)},t.strToDate=function(e){if(e&&e instanceof Date&&t.isValidDate(e))return e;var n=e?i.parseDate(e,A.formatDate):t.now(!0);return t.isValidDate(n)||(n=t.now(!0)),n},t.strtotime=function(e){if(e&&e instanceof Date&&t.isValidDate(e))return e;var n=e?i.parseDate(e,A.formatTime):t.now(!0);return t.isValidDate(n)||(n=t.now(!0)),n},t.str=function(){var e=A.format;return A.yearOffset&&(e=(e=e.replace("Y",t.currentTime.getFullYear()+A.yearOffset)).replace("y",String(t.currentTime.getFullYear()+A.yearOffset).substring(2,4))),i.formatDate(t.currentTime,e)},t.currentTime=this.now()},R.on("touchend click",function(e){e.preventDefault(),z.data("changed",!0),I.setCurrentTime(q()),t.val(I.str()),z.trigger("close.xdsoft")}),F.find(".xdsoft_today_button").on("touchend mousedown.xdsoft",function(){z.data("changed",!0),I.setCurrentTime(0,!0),z.trigger("afterOpen.xdsoft")}).on("dblclick.xdsoft",function(){var e,i,n=I.getCurrentTime();n=new Date(n.getFullYear(),n.getMonth(),n.getDate()),e=I.strToDate(A.minDate),n<(e=new Date(e.getFullYear(),e.getMonth(),e.getDate()))||(i=I.strToDate(A.maxDate),n>(i=new Date(i.getFullYear(),i.getMonth(),i.getDate()))||(t.val(I.str()),t.trigger("change"),z.trigger("close.xdsoft")))}),F.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var t=e(this),i=0,n=!1;!function e(o){t.hasClass(A.next)?I.nextMonth():t.hasClass(A.prev)&&I.prevMonth(),A.monthChangeSpinner&&(n||(i=setTimeout(e,o||100)))}(500),e([A.ownerDocument.body,A.contentWindow]).on("touchend mouseup.xdsoft",function t(){clearTimeout(i),n=!0,e([A.ownerDocument.body,A.contentWindow]).off("touchend mouseup.xdsoft",t)})}),L.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var t=e(this),i=0,n=!1,o=110;!function e(r){var a=Y[0].clientHeight,s=H[0].offsetHeight,l=Math.abs(parseInt(H.css("marginTop"),10));t.hasClass(A.next)&&s-a-A.timeHeightInTimePicker>=l?H.css("marginTop","-"+(l+A.timeHeightInTimePicker)+"px"):t.hasClass(A.prev)&&l-A.timeHeightInTimePicker>=0&&H.css("marginTop","-"+(l-A.timeHeightInTimePicker)+"px"),Y.trigger("scroll_element.xdsoft_scroller",[Math.abs(parseInt(H[0].style.marginTop,10)/(s-a))]),o=o>10?10:o-10,n||(i=setTimeout(e,r||o))}(500),e([A.ownerDocument.body,A.contentWindow]).on("touchend mouseup.xdsoft",function t(){clearTimeout(i),n=!0,e([A.ownerDocument.body,A.contentWindow]).off("touchend mouseup.xdsoft",t)})}),r=0,z.on("xchange.xdsoft",function(a){clearTimeout(r),r=setTimeout(function(){void 0!==I.currentTime&&null!==I.currentTime||(I.currentTime=I.now());for(var r,a,s,l,c,d,u,h,f,p,m="",g=new Date(I.currentTime.getFullYear(),I.currentTime.getMonth(),1,12,0,0),v=0,y=I.now(),b=!1,w=!1,_=!1,x=!1,k=[],D=!0,M="";g.getDay()!==A.dayOfWeekStart;)g.setDate(g.getDate()-1);for(m+="",A.weeks&&(m+=""),r=0;r<7;r+=1)m+="";for(m+="",m+="",!1!==A.maxDate&&(b=I.strToDate(A.maxDate),b=new Date(b.getFullYear(),b.getMonth(),b.getDate(),23,59,59,999)),!1!==A.minDate&&(w=I.strToDate(A.minDate),w=new Date(w.getFullYear(),w.getMonth(),w.getDate())),!1!==A.minDateTime&&(_=I.strToDate(A.minDateTime),_=new Date(_.getFullYear(),_.getMonth(),_.getDate(),_.getHours(),_.getMinutes(),_.getSeconds())),!1!==A.maxDateTime&&(x=I.strToDate(A.maxDateTime),x=new Date(x.getFullYear(),x.getMonth(),x.getDate(),x.getHours(),x.getMinutes(),x.getSeconds())),!1!==x&&(p=31*(12*x.getFullYear()+x.getMonth())+x.getDate());v0&&-1===A.allowDates.indexOf(i.formatDate(g,A.formatDate))&&k.push("xdsoft_disabled");var S=31*(12*g.getFullYear()+g.getMonth())+g.getDate();(!1!==b&&g>b||!1!==_&&g<_||!1!==w&&gp||u&&!1===u[0])&&k.push("xdsoft_disabled"),-1!==A.disabledDates.indexOf(i.formatDate(g,A.formatDate))&&k.push("xdsoft_disabled"),-1!==A.disabledWeekDays.indexOf(s)&&k.push("xdsoft_disabled"),t.is("[disabled]")&&k.push("xdsoft_disabled"),u&&""!==u[1]&&k.push(u[1]),I.currentTime.getMonth()!==O&&k.push("xdsoft_other_month"),(A.defaultSelect||z.data("changed"))&&i.formatDate(I.currentTime,A.formatDate)===i.formatDate(g,A.formatDate)&&k.push("xdsoft_current"),i.formatDate(y,A.formatDate)===i.formatDate(g,A.formatDate)&&k.push("xdsoft_today"),0!==g.getDay()&&6!==g.getDay()&&-1===A.weekends.indexOf(i.formatDate(g,A.formatDate))||k.push("xdsoft_weekend"),void 0!==A.highlightedDates[i.formatDate(g,A.formatDate)]&&(a=A.highlightedDates[i.formatDate(g,A.formatDate)],k.push(void 0===a.style?"xdsoft_highlighted_default":a.style),f=void 0===a.desc?"":a.desc),A.beforeShowDay&&e.isFunction(A.beforeShowDay)&&k.push(A.beforeShowDay(g)),D&&(m+="",D=!1,A.weeks&&(m+="")),m+='",g.getDay()===A.dayOfWeekStartPrev&&(m+="",D=!0),g.setDate(l+1)}m+="
"+A.i18n[o].dayOfWeekShort[(r+A.dayOfWeekStart)%7]+"
"+d+"
'+l+"
",W.html(m),F.find(".xdsoft_label span").eq(0).text(A.i18n[o].months[I.currentTime.getMonth()]),F.find(".xdsoft_label span").eq(1).text(I.currentTime.getFullYear()+A.yearOffset),M="",O="";var T=0;if(!1!==A.minTime){var C=I.strtotime(A.minTime);T=60*C.getHours()+C.getMinutes()}var P=1440;if(!1!==A.maxTime){C=I.strtotime(A.maxTime);P=60*C.getHours()+C.getMinutes()}if(!1!==A.minDateTime){C=I.strToDateTime(A.minDateTime);if(i.formatDate(I.currentTime,A.formatDate)===i.formatDate(C,A.formatDate))(O=60*C.getHours()+C.getMinutes())>T&&(T=O)}if(!1!==A.maxDateTime){var O;C=I.strToDateTime(A.maxDateTime);if(i.formatDate(I.currentTime,A.formatDate)===i.formatDate(C,A.formatDate))(O=60*C.getHours()+C.getMinutes())=P||l59||r.getMinutes()===parseInt(o,10))&&(A.defaultSelect||z.data("changed")?k.push("xdsoft_current"):A.initTime&&k.push("xdsoft_init_time")),parseInt(y.getHours(),10)===parseInt(n,10)&&parseInt(y.getMinutes(),10)===parseInt(o,10)&&k.push("xdsoft_today"),M+='
'+i.formatDate(a,A.formatTime)+"
"},A.allowTimes&&e.isArray(A.allowTimes)&&A.allowTimes.length)for(v=0;v=P||h((v<10?"0":"")+v,O=(r<10?"0":"")+r))}for(H.html(M),n="",v=parseInt(A.yearStart,10);v<=parseInt(A.yearEnd,10);v+=1)n+='
'+(v+A.yearOffset)+"
";for(B.children().eq(0).html(n),v=parseInt(A.monthStart,10),n="";v<=parseInt(A.monthEnd,10);v+=1)n+='
'+A.i18n[o].months[v]+"
";$.children().eq(0).html(n),e(z).trigger("generate.xdsoft")},10),a.stopPropagation()}).on("afterOpen.xdsoft",function(){var e,t,i,n;A.timepicker&&(H.find(".xdsoft_current").length?e=".xdsoft_current":H.find(".xdsoft_init_time").length&&(e=".xdsoft_init_time"),e?(t=Y[0].clientHeight,(i=H[0].offsetHeight)-t<(n=H.find(e).index()*A.timeHeightInTimePicker+1)&&(n=i-t),Y.trigger("scroll_element.xdsoft_scroller",[parseInt(n,10)/(i-t)])):Y.trigger("scroll_element.xdsoft_scroller",[0]))}),a=0,W.on("touchend click.xdsoft","td",function(i){i.stopPropagation(),a+=1;var n=e(this),o=I.currentTime;if(null==o&&(I.currentTime=I.now(),o=I.currentTime),n.hasClass("xdsoft_disabled"))return!1;o.setDate(1),o.setFullYear(n.data("year")),o.setMonth(n.data("month")),o.setDate(n.data("date")),z.trigger("select.xdsoft",[o]),t.val(I.str()),A.onSelectDate&&e.isFunction(A.onSelectDate)&&A.onSelectDate.call(z,I.currentTime,z.data("input"),i),z.data("changed",!0),z.trigger("xchange.xdsoft"),z.trigger("changedatetime.xdsoft"),(a>1||!0===A.closeOnDateSelect||!1===A.closeOnDateSelect&&!A.timepicker)&&!A.inline&&z.trigger("close.xdsoft"),setTimeout(function(){a=0},200)}),H.on("touchstart","div",function(e){this.touchMoved=!1}).on("touchmove","div",Q).on("touchend click.xdsoft","div",function(t){if(!this.touchMoved){t.stopPropagation();var i=e(this),n=I.currentTime;if(null==n&&(I.currentTime=I.now(),n=I.currentTime),i.hasClass("xdsoft_disabled"))return!1;n.setHours(i.data("hour")),n.setMinutes(i.data("minute")),z.trigger("select.xdsoft",[n]),z.data("input").val(I.str()),A.onSelectTime&&e.isFunction(A.onSelectTime)&&A.onSelectTime.call(z,I.currentTime,z.data("input"),t),z.data("changed",!0),z.trigger("xchange.xdsoft"),z.trigger("changedatetime.xdsoft"),!0!==A.inline&&!0===A.closeOnTimeSelect&&z.trigger("close.xdsoft")}}),j.on("mousewheel.xdsoft",function(e){return!A.scrollMonth||(e.deltaY<0?I.nextMonth():I.prevMonth(),!1)}),t.on("mousewheel.xdsoft",function(e){return!A.scrollInput||(!A.datepicker&&A.timepicker?((s=H.find(".xdsoft_current").length?H.find(".xdsoft_current").eq(0).index():0)+e.deltaY>=0&&s+e.deltaYh+f?(d="bottom",n=h+f-t.top):n-=f):n+z[0].offsetHeight>h+f&&(n=t.top-z[0].offsetHeight+1),n<0&&(n=0),o+i.offsetWidth>c&&(o=c-i.offsetWidth)),a=z[0],E(a,function(e){if("relative"===A.contentWindow.getComputedStyle(e).getPropertyValue("position")&&c>=e.offsetWidth)return o-=(c-e.offsetWidth)/2,!1}),(u={position:r,left:o,top:"",bottom:""})[d]=n,z.css(u)},z.on("open.xdsoft",function(t){var i=!0;A.onShow&&e.isFunction(A.onShow)&&(i=A.onShow.call(z,I.currentTime,z.data("input"),t)),!1!==i&&(z.show(),l(),e(A.contentWindow).off("resize.xdsoft",l).on("resize.xdsoft",l),A.closeOnWithoutClick&&e([A.ownerDocument.body,A.contentWindow]).on("touchstart mousedown.xdsoft",function t(){z.trigger("close.xdsoft"),e([A.ownerDocument.body,A.contentWindow]).off("touchstart mousedown.xdsoft",t)}))}).on("close.xdsoft",function(t){var i=!0;F.find(".xdsoft_month,.xdsoft_year").find(".xdsoft_select").hide(),A.onClose&&e.isFunction(A.onClose)&&(i=A.onClose.call(z,I.currentTime,z.data("input"),t)),!1===i||A.opened||A.inline||z.hide(),t.stopPropagation()}).on("toggle.xdsoft",function(){z.is(":visible")?z.trigger("close.xdsoft"):z.trigger("open.xdsoft")}).data("input",t),K=0,z.data("xdsoft_datetime",I),z.setOptions(A),I.setCurrentTime(q()),t.data("xdsoft_datetimepicker",z).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function(){t.is(":disabled")||t.data("xdsoft_datetimepicker").is(":visible")&&A.closeOnInputClick||A.openOnFocus&&(clearTimeout(K),K=setTimeout(function(){t.is(":disabled")||(U=!0,I.setCurrentTime(q(),!0),A.mask&&J(A),z.trigger("open.xdsoft"))},100))}).on("keydown.xdsoft",function(t){var i,n=t.which;return-1!==[g].indexOf(n)&&A.enterLikeTab?(i=e("input:visible,textarea:visible,button:visible,a:visible"),z.trigger("close.xdsoft"),i.eq(i.index(this)+1).focus(),!1):-1!==[k].indexOf(n)?(z.trigger("close.xdsoft"),!0):void 0}).on("blur.xdsoft",function(){z.trigger("close.xdsoft")})},s=function(t){var i=t.data("xdsoft_datetimepicker");i&&(i.data("xdsoft_datetime",null),i.remove(),t.data("xdsoft_datetimepicker",null).off(".xdsoft"),e(A.contentWindow).off("resize.xdsoft"),e([A.contentWindow,A.ownerDocument.body]).off("mousedown.xdsoft touchstart"),t.unmousewheel&&t.unmousewheel())},e(A.ownerDocument).off("keydown.xdsoftctrl keyup.xdsoftctrl").on("keydown.xdsoftctrl",function(e){e.keyCode===p&&(O=!0)}).on("keyup.xdsoftctrl",function(e){e.keyCode===p&&(O=!1)}),this.each(function(){var t,o=e(this).data("xdsoft_datetimepicker");if(o){if("string"===e.type(n))switch(n){case"show":e(this).select().focus(),o.trigger("open.xdsoft");break;case"hide":o.trigger("close.xdsoft");break;case"toggle":o.trigger("toggle.xdsoft");break;case"destroy":s(e(this));break;case"reset":this.value=this.defaultValue,this.value&&o.data("xdsoft_datetime").isValidDate(i.parseDate(this.value,A.format))||o.data("changed",!1),o.data("xdsoft_datetime").setCurrentTime(this.value);break;case"validate":o.data("input").trigger("blur.xdsoft");break;default:o[n]&&e.isFunction(o[n])&&(l=o[n](r))}else o.setOptions(n);return 0}"string"!==e.type(n)&&(!A.lazyInit||A.open||A.inline?a(e(this)):(t=e(this)).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function e(){t.is(":disabled")||t.data("xdsoft_datetimepicker")||(clearTimeout(I),I=setTimeout(function(){t.data("xdsoft_datetimepicker")||a(t),t.off("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",e).trigger("open.xdsoft")},100))}))}),l},e.fn.datetimepicker.defaults=t};!function(e){"function"==typeof define&&define.amd?define(["jquery","jquery-mousewheel"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(datetimepickerFactory),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){var t,i,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],o="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(e.event.fixHooks)for(var a=n.length;a;)e.event.fixHooks[n[--a]]=e.event.mouseHooks;var s=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=o.length;t;)this.addEventListener(o[--t],l,!1);else this.onmousewheel=l;e.data(this,"mousewheel-line-height",s.getLineHeight(this)),e.data(this,"mousewheel-page-height",s.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=o.length;t;)this.removeEventListener(o[--t],l,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),n=i["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(n){var o,a=n||window.event,l=r.call(arguments,1),u=0,h=0,f=0,p=0,m=0;if((n=e.event.fix(a)).type="mousewheel","detail"in a&&(f=-1*a.detail),"wheelDelta"in a&&(f=a.wheelDelta),"wheelDeltaY"in a&&(f=a.wheelDeltaY),"wheelDeltaX"in a&&(h=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(h=-1*f,f=0),u=0===f?h:f,"deltaY"in a&&(u=f=-1*a.deltaY),"deltaX"in a&&(h=a.deltaX,0===f&&(u=-1*h)),0!==f||0!==h){if(1===a.deltaMode){var g=e.data(this,"mousewheel-line-height");u*=g,f*=g,h*=g}else if(2===a.deltaMode){var v=e.data(this,"mousewheel-page-height");u*=v,f*=v,h*=v}if(o=Math.max(Math.abs(f),Math.abs(h)),(!i||o=1?"floor":"ceil"](u/i),h=Math[h>=1?"floor":"ceil"](h/i),f=Math[f>=1?"floor":"ceil"](f/i),s.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();p=n.clientX-y.left,m=n.clientY-y.top}return n.deltaX=h,n.deltaY=f,n.deltaFactor=i,n.offsetX=p,n.offsetY=m,n.deltaMode=0,l.unshift(n,u,h,f),t&&clearTimeout(t),t=setTimeout(c,200),(e.event.dispatch||e.event.handle).apply(this,l)}}function c(){i=null}function d(e,t){return s.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){e.ui=e.ui||{};e.ui.version="1.12.1";var t,i=0,n=Array.prototype.slice;e.cleanData=(t=e.cleanData,function(i){var n,o,r;for(r=0;null!=(o=i[r]);r++)try{(n=e._data(o,"events"))&&n.remove&&e(o).triggerHandler("remove")}catch(e){}t(i)}),e.widget=function(t,i,n){var o,r,a,s={},l=t.split(".")[0],c=l+"-"+(t=t.split(".")[1]);return n||(n=i,i=e.Widget),e.isArray(n)&&(n=e.extend.apply(null,[{}].concat(n))),e.expr[":"][c.toLowerCase()]=function(t){return!!e.data(t,c)},e[l]=e[l]||{},o=e[l][t],r=e[l][t]=function(e,t){if(!this._createWidget)return new r(e,t);arguments.length&&this._createWidget(e,t)},e.extend(r,o,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),(a=new i).options=e.widget.extend({},a.options),e.each(n,function(t,n){e.isFunction(n)?s[t]=function(){function e(){return i.prototype[t].apply(this,arguments)}function o(e){return i.prototype[t].apply(this,e)}return function(){var t,i=this._super,r=this._superApply;return this._super=e,this._superApply=o,t=n.apply(this,arguments),this._super=i,this._superApply=r,t}}():s[t]=n}),r.prototype=e.widget.extend(a,{widgetEventPrefix:o&&a.widgetEventPrefix||t},s,{constructor:r,namespace:l,widgetName:t,widgetFullName:c}),o?(e.each(o._childConstructors,function(t,i){var n=i.prototype;e.widget(n.namespace+"."+n.widgetName,r,i._proto)}),delete o._childConstructors):i._childConstructors.push(r),e.widget.bridge(t,r),r},e.widget.extend=function(t){for(var i,o,r=n.call(arguments,1),a=0,s=r.length;a",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,n){n=e(n||this.defaultElement||this)[0],this.element=e(n),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},n!==this&&(e.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===n&&this.destroy()}}),this.document=e(n.style?n.ownerDocument:n.document||n),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,function(e,i){t._removeClass(i,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var n,o,r,a=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(a={},n=t.split("."),t=n.shift(),n.length){for(o=a[t]=e.widget.extend({},this.options[t]),r=0;r=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),e.widget("ui.sortable",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,i){return e>=t&&e=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,i){var n=null,o=!1,r=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(t),e(t.target).parents().each(function(){if(e.data(this,r.widgetName+"-item")===r)return n=e(this),!1}),e.data(t.target,r.widgetName+"-item")===r&&(n=e(t.target)),!!n&&(!(this.options.handle&&!i&&(e(this.options.handle,n).find("*").addBack().each(function(){this===t.target&&(o=!0)}),!o))&&(this.currentItem=n,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(t,i,n){var o,r,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(r=this.document.find("body"),this.storedCursor=r.css("cursor"),r.css("cursor",a.cursor),this.storedStylesheet=e("").appendTo(r)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(o=this.containers.length-1;o>=0;o--)this.containers[o]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!a.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var i,n,o,r,a=this.options,s=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY=0;i--)if(o=(n=this.items[i]).item[0],(r=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&!(o===this.currentItem[0]||this.placeholder[1===r?"next":"prev"]()[0]===o||e.contains(this.placeholder[0],o)||"semi-dynamic"===this.options.type&&e.contains(this.element[0],o))){if(this.direction=1===r?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(t,n),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,i){if(t){if(e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t),this.options.revert){var n=this,o=this.placeholder.offset(),r=this.options.axis,a={};r&&"x"!==r||(a.left=o.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),r&&"y"!==r||(a.top=o.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,e(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){n._clear(t)})}else this._clear(t,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new e.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var i=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},e(i).each(function(){var i=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);i&&n.push((t.key||i[1]+"[]")+"="+(t.key&&t.expression?i[1]:i[2]))}),!n.length&&t.key&&n.push(t.key+"="),n.join("&")},toArray:function(t){var i=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},i.each(function(){n.push(e(t.item||this).attr(t.attribute||"id")||"")}),n},_intersectsWith:function(e){var t=this.positionAbs.left,i=t+this.helperProportions.width,n=this.positionAbs.top,o=n+this.helperProportions.height,r=e.left,a=r+e.width,s=e.top,l=s+e.height,c=this.offset.click.top,d=this.offset.click.left,u="x"===this.options.axis||n+c>s&&n+cr&&t+de[this.floating?"width":"height"]?f:r0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var i,n,o,r,a=[],s=[],l=this._connectWith();if(l&&t)for(i=l.length-1;i>=0;i--)for(n=(o=e(l[i],this.document[0])).length-1;n>=0;n--)(r=e.data(o[n],this.widgetFullName))&&r!==this&&!r.options.disabled&&s.push([e.isFunction(r.options.items)?r.options.items.call(r.element):e(r.options.items,r.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),r]);function c(){a.push(this)}for(s.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=s.length-1;i>=0;i--)s[i][0].each(c);return e(a)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,function(e){for(var i=0;i=0;i--)for(n=(o=e(h[i],this.document[0])).length-1;n>=0;n--)(r=e.data(o[n],this.widgetFullName))&&r!==this&&!r.options.disabled&&(u.push([e.isFunction(r.options.items)?r.options.items.call(r.element[0],t,{item:this.currentItem}):e(r.options.items,r.element),r]),this.containers.push(r));for(i=u.length-1;i>=0;i--)for(a=u[i][1],n=0,c=(s=u[i][0]).length;n=0;i--)(n=this.items[i]).instance!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[0]||(o=this.options.toleranceElement?e(this.options.toleranceElement,n.item):n.item,t||(n.width=o.outerWidth(),n.height=o.outerHeight()),r=o.offset(),n.left=r.left,n.top=r.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)r=this.containers[i].element.offset(),this.containers[i].containerCache.left=r.left,this.containers[i].containerCache.top=r.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(t){var i,n=(t=t||this).options;n.placeholder&&n.placeholder.constructor!==String||(i=n.placeholder,n.placeholder={element:function(){var n=t.currentItem[0].nodeName.toLowerCase(),o=e("<"+n+">",t.document[0]);return t._addClass(o,"ui-sortable-placeholder",i||t.currentItem[0].className)._removeClass(o,"ui-sortable-helper"),"tbody"===n?t._createTrPlaceholder(t.currentItem.find("tr").eq(0),e("",t.document[0]).appendTo(o)):"tr"===n?t._createTrPlaceholder(t.currentItem,o):"img"===n&&o.attr("src",t.currentItem.attr("src")),i||o.css("visibility","hidden"),o},update:function(e,o){i&&!n.forcePlaceholderSize||(o.height()||o.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),o.width()||o.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=e(n.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),n.placeholder.update(t,t.placeholder)},_createTrPlaceholder:function(t,i){var n=this;t.children().each(function(){e(" ",n.document[0]).attr("colspan",e(this).attr("colspan")||1).appendTo(i)})},_contactContainers:function(t){var i,n,o,r,a,s,l,c,d,u,h=null,f=null;for(i=this.containers.length-1;i>=0;i--)if(!e.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(h&&e.contains(this.containers[i].element[0],h.element[0]))continue;h=this.containers[i],f=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",t,this._uiHash(this)),this.containers[i].containerCache.over=0);if(h)if(1===this.containers.length)this.containers[f].containerCache.over||(this.containers[f]._trigger("over",t,this._uiHash(this)),this.containers[f].containerCache.over=1);else{for(o=1e4,r=null,a=(d=h.floating||this._isFloating(this.currentItem))?"left":"top",s=d?"width":"height",u=d?"pageX":"pageY",n=this.items.length-1;n>=0;n--)e.contains(this.containers[f].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(l=this.items[n].item.offset()[a],c=!1,t[u]-l>this.items[n][s]/2&&(c=!0),Math.abs(t[u]-l)this.containment[2]&&(r=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),o.grid&&(i=this.originalPageY+Math.round((a-this.originalPageY)/o.grid[1])*o.grid[1],a=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-o.grid[1]:i+o.grid[1]:i,n=this.originalPageX+Math.round((r-this.originalPageX)/o.grid[0])*o.grid[0],r=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-o.grid[0]:n+o.grid[0]:n)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():l?0:s.scrollTop()),left:r-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:s.scrollLeft())}},_rearrange:function(e,t,i,n){i?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var o=this.counter;this._delay(function(){o===this.counter&&this.refreshPositions(!n)})},_clear:function(e,t){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function o(e,t,i){return function(n){i._trigger(e,n,t._uiHash(t))}}for(this.fromOutside&&!t&&n.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||n.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(t||(n.push(function(e){this._trigger("remove",e,this._uiHash())}),n.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)t||n.push(o("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(o("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(i=0;i
"))}function s(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",i,function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",i,l)}function l(){e.datepicker._isDisabledDatepicker(r.inline?r.dpDiv.parent()[0]:r.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function c(t,i){for(var n in e.extend(t,i),i)null==i[n]&&(t[n]=i[n]);return t}e.extend(e.ui,{datepicker:{version:"1.12.1"}}),e.extend(a.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return c(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var n,o,r;o="div"===(n=t.nodeName.toLowerCase())||"span"===n,t.id||(this.uuid+=1,t.id="dp"+this.uuid),(r=this._newInst(e(t),o)).settings=e.extend({},i||{}),"input"===n?this._connectDatepicker(t,r):o&&this._inlineDatepicker(t,r)},_newInst:function(t,i){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?s(e("
")):this.dpDiv}},_connectDatepicker:function(t,i){var n=e(t);i.append=e([]),i.trigger=e([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),e.data(t,"datepicker",i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var n,o,r,a=this._get(i,"appendText"),s=this._get(i,"isRTL");i.append&&i.append.remove(),a&&(i.append=e(""+a+""),t[s?"before":"after"](i.append)),t.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),"focus"!==(n=this._get(i,"showOn"))&&"both"!==n||t.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(o=this._get(i,"buttonText"),r=this._get(i,"buttonImage"),i.trigger=e(this._get(i,"buttonImageOnly")?e("").addClass(this._triggerClass).attr({src:r,alt:o,title:o}):e("").addClass(this._triggerClass).html(r?e("").attr({src:r,alt:o,title:o}):o)),t[s?"before":"after"](i.trigger),i.trigger.on("click",function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,n,o,r=new Date(2009,11,20),a=this._get(e,"dateFormat");a.match(/[DM]/)&&(t=function(e){for(i=0,n=0,o=0;oi&&(i=e[o].length,n=o);return n},r.setMonth(t(this._get(e,a.match(/MM/)?"monthNames":"monthNamesShort"))),r.setDate(t(this._get(e,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-r.getDay())),e.input.attr("size",this._formatDate(e,r).length)}},_inlineDatepicker:function(t,i){var n=e(t);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),e.data(t,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,n,o,r){var a,s,l,d,u,h=this._dialogInst;return h||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=e(""),this._dialogInput.on("keydown",this._doKeyDown),e("body").append(this._dialogInput),(h=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},e.data(this._dialogInput[0],"datepicker",h)),c(h.settings,o||{}),i=i&&i.constructor===Date?this._formatDate(h,i):i,this._dialogInput.val(i),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(s=document.documentElement.clientWidth,l=document.documentElement.clientHeight,d=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[s/2-100+d,l/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),h.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",h),this},_destroyDatepicker:function(t){var i,n=e(t),o=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),e.removeData(t,"datepicker"),"input"===i?(o.append.remove(),o.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==i&&"span"!==i||n.removeClass(this.markerClassName).empty(),r===o&&(r=null))},_enableDatepicker:function(t){var i,n,o=e(t),r=e.data(t,"datepicker");o.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!1,r.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==i&&"span"!==i||((n=o.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var i,n,o=e(t),r=e.data(t,"datepicker");o.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!0,r.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==i&&"span"!==i||((n=o.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t-1},_doKeyUp:function(t){var i=e.datepicker._getInst(t.target);if(i.input.val()!==i.lastVal)try{e.datepicker.parseDate(e.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,e.datepicker._getFormatConfig(i))&&(e.datepicker._setDateFromField(i),e.datepicker._updateAlternate(i),e.datepicker._updateDatepicker(i))}catch(e){}return!0},_showDatepicker:function(t){var i,n,o,r,a,s,l;("input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),e.datepicker._isDisabledDatepicker(t)||e.datepicker._lastInput===t)||(i=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==i&&(e.datepicker._curInst.dpDiv.stop(!0,!0),i&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),!1!==(o=(n=e.datepicker._get(i,"beforeShow"))?n.apply(t,[t,i]):{})&&(c(i.settings,o),i.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(i),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),r=!1,e(t).parents().each(function(){return!(r|="fixed"===e(this).css("position"))}),a={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(i),a=e.datepicker._checkOffset(i,a,r),i.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":r?"fixed":"absolute",display:"none",left:a.left+"px",top:a.top+"px"}),i.inline||(s=e.datepicker._get(i,"showAnim"),l=e.datepicker._get(i,"duration"),i.dpDiv.css("z-index",function(e){for(var t,i;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}(e(t))+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[s]?i.dpDiv.show(s,e.datepicker._get(i,"showOptions"),l):i.dpDiv[s||"show"](s?l:null),e.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),e.datepicker._curInst=i)))},_updateDatepicker:function(t){this.maxRows=4,r=t,t.dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var i,n=this._getNumberOfMonths(t),o=n[1],a=t.dpDiv.find("."+this._dayOverClass+" a");a.length>0&&l.apply(a.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),o>1&&t.dpDiv.addClass("ui-datepicker-multi-"+o).css("width",17*o+"em"),t.dpDiv[(1!==n[0]||1!==n[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),t.yearshtml&&(i=t.yearshtml,setTimeout(function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),i=t.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,i,n){var o=t.dpDiv.outerWidth(),r=t.dpDiv.outerHeight(),a=t.input?t.input.outerWidth():0,s=t.input?t.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:e(document).scrollLeft()),c=document.documentElement.clientHeight+(n?0:e(document).scrollTop());return i.left-=this._get(t,"isRTL")?o-a:0,i.left-=n&&i.left===t.input.offset().left?e(document).scrollLeft():0,i.top-=n&&i.top===t.input.offset().top+s?e(document).scrollTop():0,i.left-=Math.min(i.left,i.left+o>l&&l>o?Math.abs(i.left+o-l):0),i.top-=Math.min(i.top,i.top+r>c&&c>r?Math.abs(r+s):0),i},_findPos:function(t){for(var i,n=this._getInst(t),o=this._get(n,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.filters.hidden(t));)t=t[o?"previousSibling":"nextSibling"];return[(i=e(t).offset()).left,i.top]},_hideDatepicker:function(t){var i,n,o,r,a=this._curInst;!a||t&&a!==e.data(t,"datepicker")||this._datepickerShowing&&(i=this._get(a,"showAnim"),n=this._get(a,"duration"),o=function(){e.datepicker._tidyDialog(a)},e.effects&&(e.effects.effect[i]||e.effects[i])?a.dpDiv.hide(i,e.datepicker._get(a,"showOptions"),n,o):a.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?n:null,o),i||o(),this._datepickerShowing=!1,(r=this._get(a,"onClose"))&&r.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var i=e(t.target),n=e.datepicker._getInst(i[0]);(i[0].id===e.datepicker._mainDivId||0!==i.parents("#"+e.datepicker._mainDivId).length||i.hasClass(e.datepicker.markerClassName)||i.closest("."+e.datepicker._triggerClass).length||!e.datepicker._datepickerShowing||e.datepicker._inDialog&&e.blockUI)&&(!i.hasClass(e.datepicker.markerClassName)||e.datepicker._curInst===n)||e.datepicker._hideDatepicker()}},_adjustDate:function(t,i,n){var o=e(t),r=this._getInst(o[0]);this._isDisabledDatepicker(o[0])||(this._adjustInstDate(r,i+("M"===n?this._get(r,"showCurrentAtPos"):0),n),this._updateDatepicker(r))},_gotoToday:function(t){var i,n=e(t),o=this._getInst(n[0]);this._get(o,"gotoCurrent")&&o.currentDay?(o.selectedDay=o.currentDay,o.drawMonth=o.selectedMonth=o.currentMonth,o.drawYear=o.selectedYear=o.currentYear):(i=new Date,o.selectedDay=i.getDate(),o.drawMonth=o.selectedMonth=i.getMonth(),o.drawYear=o.selectedYear=i.getFullYear()),this._notifyChange(o),this._adjustDate(n)},_selectMonthYear:function(t,i,n){var o=e(t),r=this._getInst(o[0]);r["selected"+("M"===n?"Month":"Year")]=r["draw"+("M"===n?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(r),this._adjustDate(o)},_selectDay:function(t,i,n,o){var r,a=e(t);e(o).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||((r=this._getInst(a[0])).selectedDay=r.currentDay=e("a",o).html(),r.selectedMonth=r.currentMonth=i,r.selectedYear=r.currentYear=n,this._selectDate(t,this._formatDate(r,r.currentDay,r.currentMonth,r.currentYear)))},_clearDate:function(t){var i=e(t);this._selectDate(i,"")},_selectDate:function(t,i){var n,o=e(t),r=this._getInst(o[0]);i=null!=i?i:this._formatDate(r),r.input&&r.input.val(i),this._updateAlternate(r),(n=this._get(r,"onSelect"))?n.apply(r.input?r.input[0]:null,[i,r]):r.input&&r.input.trigger("change"),r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],"object"!=typeof r.input[0]&&r.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var i,n,o,r=this._get(t,"altField");r&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),n=this._getDate(t),o=this.formatDate(i,n,this._getFormatConfig(t)),e(r).val(o))},noWeekends:function(e){var t=e.getDay();return[t>0&&t<6,""]},iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(t,i,n){if(null==t||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?i.toString():i+""))return null;var o,r,a,s,l=0,c=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,d="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),u=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,h=(n?n.dayNames:null)||this._defaults.dayNames,f=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,p=(n?n.monthNames:null)||this._defaults.monthNames,m=-1,g=-1,v=-1,y=-1,b=!1,w=function(e){var i=o+1-1)for(g=1,v=y;;){if(v<=(r=this._getDaysInMonth(m,g-1)))break;g++,v-=r}if((s=this._daylightSavingAdjust(new Date(m,g-1,v))).getFullYear()!==m||s.getMonth()+1!==g||s.getDate()!==v)throw"Invalid date";return s},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(e,t,i){if(!t)return"";var n,o=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,r=(i?i.dayNames:null)||this._defaults.dayNames,a=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,s=(i?i.monthNames:null)||this._defaults.monthNames,l=function(t){var i=n+112?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var n=!t,o=e.selectedMonth,r=e.selectedYear,a=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=a.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=a.getMonth(),e.drawYear=e.selectedYear=e.currentYear=a.getFullYear(),o===e.selectedMonth&&r===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(n?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(t){var i=this._get(t,"stepMonths"),n="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){e.datepicker._adjustDate(n,-i,"M")},next:function(){e.datepicker._adjustDate(n,+i,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(n)},selectDay:function(){return e.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(n,this,"Y"),!1}};e(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,n,o,r,a,s,l,c,d,u,h,f,p,m,g,v,y,b,w,_,x,k,D,M,S,T,C,P,O,A,I,E,z,N,j,F,W,L,Y=new Date,H=this._daylightSavingAdjust(new Date(Y.getFullYear(),Y.getMonth(),Y.getDate())),R=this._get(e,"isRTL"),$=this._get(e,"showButtonPanel"),B=this._get(e,"hideIfNoPrevNext"),U=this._get(e,"navigationAsDateFormat"),K=this._getNumberOfMonths(e),Q=this._get(e,"showCurrentAtPos"),q=this._get(e,"stepMonths"),J=1!==K[0]||1!==K[1],X=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),G=this._getMinMaxDate(e,"min"),V=this._getMinMaxDate(e,"max"),Z=e.drawMonth-Q,ee=e.drawYear;if(Z<0&&(Z+=12,ee--),V)for(t=this._daylightSavingAdjust(new Date(V.getFullYear(),V.getMonth()-K[0]*K[1]+1,V.getDate())),t=G&&tt;)--Z<0&&(Z=11,ee--);for(e.drawMonth=Z,e.drawYear=ee,i=this._get(e,"prevText"),i=U?this.formatDate(i,this._daylightSavingAdjust(new Date(ee,Z-q,1)),this._getFormatConfig(e)):i,n=this._canAdjustMonth(e,-1,ee,Z)?""+i+"":B?"":""+i+"",o=this._get(e,"nextText"),o=U?this.formatDate(o,this._daylightSavingAdjust(new Date(ee,Z+q,1)),this._getFormatConfig(e)):o,r=this._canAdjustMonth(e,1,ee,Z)?""+o+"":B?"":""+o+"",a=this._get(e,"currentText"),s=this._get(e,"gotoCurrent")&&e.currentDay?X:H,a=U?this.formatDate(a,s,this._getFormatConfig(e)):a,l=e.inline?"":"",c=$?"
"+(R?l:"")+(this._isInRange(e,s)?"":"")+(R?"":l)+"
":"",d=parseInt(this._get(e,"firstDay"),10),d=isNaN(d)?0:d,u=this._get(e,"showWeek"),h=this._get(e,"dayNames"),f=this._get(e,"dayNamesMin"),p=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),g=this._get(e,"beforeShowDay"),v=this._get(e,"showOtherMonths"),y=this._get(e,"selectOtherMonths"),b=this._getDefaultDate(e),w="",x=0;x1)switch(D){case 0:T+=" ui-datepicker-group-first",S=" ui-corner-"+(R?"right":"left");break;case K[1]-1:T+=" ui-datepicker-group-last",S=" ui-corner-"+(R?"left":"right");break;default:T+=" ui-datepicker-group-middle",S=""}T+="'>"}for(T+="
"+(/all|left/.test(S)&&0===x?R?r:n:"")+(/all|right/.test(S)&&0===x?R?n:r:"")+this._generateMonthYearHeader(e,Z,ee,G,V,x>0||D>0,p,m)+"
",C=u?"":"",_=0;_<7;_++)C+="";for(T+=C+"",O=this._getDaysInMonth(ee,Z),ee===e.selectedYear&&Z===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,O)),A=(this._getFirstDayOfMonth(ee,Z)-d+7)%7,I=Math.ceil((A+O)/7),E=J&&this.maxRows>I?this.maxRows:I,this.maxRows=E,z=this._daylightSavingAdjust(new Date(ee,Z,1-A)),N=0;N",j=u?"":"",_=0;_<7;_++)F=g?g.apply(e.input?e.input[0]:null,[z]):[!0,""],L=(W=z.getMonth()!==Z)&&!y||!F[0]||G&&zV,j+="",z.setDate(z.getDate()+1),z=this._daylightSavingAdjust(z);T+=j+""}++Z>11&&(Z=0,ee++),k+=T+="
"+this._get(e,"weekHeader")+"=5?" class='ui-datepicker-week-end'":"")+">"+f[P]+"
"+this._get(e,"calculateWeek")(z)+""+(W&&!v?" ":L?""+z.getDate()+"":""+z.getDate()+"")+"
"+(J?"
"+(K[0]>0&&D===K[1]-1?"
":""):"")}w+=k}return w+=c,e._keyEvent=!1,w},_generateMonthYearHeader:function(e,t,i,n,o,r,a,s){var l,c,d,u,h,f,p,m,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),y=this._get(e,"showMonthAfterYear"),b="
",w="";if(r||!g)w+=""+a[t]+"";else{for(l=n&&n.getFullYear()===i,c=o&&o.getFullYear()===i,w+=""}if(y||(b+=w+(!r&&g&&v?"":" ")),!e.yearshtml)if(e.yearshtml="",r||!v)b+=""+i+"";else{for(u=this._get(e,"yearRange").split(":"),h=(new Date).getFullYear(),p=(f=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?h+parseInt(e,10):parseInt(e,10);return isNaN(t)?h:t})(u[0]),m=Math.max(p,f(u[1]||"")),p=n?Math.max(p,n.getFullYear()):p,m=o?Math.min(m,o.getFullYear()):m,e.yearshtml+="",b+=e.yearshtml,e.yearshtml=null}return b+=this._get(e,"yearSuffix"),y&&(b+=(!r&&g&&v?"":" ")+w),b+="
"},_adjustInstDate:function(e,t,i){var n=e.selectedYear+("Y"===i?t:0),o=e.selectedMonth+("M"===i?t:0),r=Math.min(e.selectedDay,this._getDaysInMonth(n,o))+("D"===i?t:0),a=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(n,o,r)));e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),n=this._getMinMaxDate(e,"max"),o=i&&tn?n:o},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,n){var o=this._getNumberOfMonths(e),r=this._daylightSavingAdjust(new Date(i,n+(t<0?t:o[0]*o[1]),1));return t<0&&r.setDate(this._getDaysInMonth(r.getFullYear(),r.getMonth())),this._isInRange(e,r)},_isInRange:function(e,t){var i,n,o=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max"),a=null,s=null,l=this._get(e,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),a=parseInt(i[0],10),s=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=n),i[1].match(/[+\-].*/)&&(s+=n)),(!o||t.getTime()>=o.getTime())&&(!r||t.getTime()<=r.getTime())&&(!a||t.getFullYear()>=a)&&(!s||t.getFullYear()<=s)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,n){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var o=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(n,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),o,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).on("mousedown",e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(i)):e.datepicker._attachDatepicker(this,t)}):e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i))},e.datepicker=new a,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.12.1";e.datepicker}),function(e,t){"function"==typeof define&&define.amd?define(["jQuery"],t):"object"==typeof exports?t(require("jQuery")):t(e.jQuery)}(this,function(e){var t=function(){var e={},t=new RegExp("{{([^}]+)}}","g");return e.parse=function(e){for(var i={inpts:{},chars:{}},n=function(e){for(var i,n=[];i=t.exec(e);)n.push(i);return n}(e),o=e.length,r=0,a=0,s=0,l=function(e){for(var t=e.length,n=0;nt[0]&&ee.focus,o=0===i.end;(n||o)&&t.set(e.el,e.focus)},0)},r.prototype._processKey=function(e,n,o){if(this.sel=t.get(this.el),this.val=this.el.value,this.delta=0,this.sel.begin!==this.sel.end)this.delta=-1*Math.abs(this.sel.begin-this.sel.end),this.val=i.removeChars(this.val,this.sel.begin,this.sel.end);else if(n&&46===n)this._delete();else if(n&&this.sel.begin-1>=0)this.val=i.removeChars(this.val,this.sel.end-1,this.sel.end),this.delta-=1;else if(n)return!0;n||(this.val=i.addChars(this.val,e,this.sel.begin),this.delta+=e.length),this._formatValue(o)},r.prototype._delete=function(){for(;this.chars[this.sel.begin];)this._nextPos();this.sel.beginthis.focus&&(this.delta+=this.sel.end-this.focus);for(var e=0,t=0;t<=this.mLength;t++){var n,o=this.chars[t],r=this.hldrs[t],a=t+e;a=t>=this.sel.begin?a+this.delta:a,n=this.val.charAt(a),(o&&o===n||r&&r===n)&&(this.val=i.removeChars(this.val,a,a+1),e--)}this.hldrs={},this.focus=this.val.length},r.prototype._validateInpts=function(){for(var e=0;e-1?{begin:o,end:o}:{begin:-i.moveStart("character",-o),end:-i.moveEnd("character",-o)}}return{begin:0,end:0}},set:function(e,t){if("object"!=typeof t&&(t={begin:t,end:t}),e.setSelectionRange)e.focus(),e.setSelectionRange(t.begin,t.end);else if(e.createTextRange){var i=e.createTextRange();i.collapse(!0),i.moveEnd("character",t.end),i.moveStart("character",t.begin),i.select()}}};return e}(),i);$.fn.formatter=function(e){return"object"==typeof e&&this.each(function(){$.data(this,"plugin_formatter")||$.data(this,"plugin_formatter",new n(this,e))}),this.resetPattern=function(e){return this.each(function(){var t=$.data(this,"plugin_formatter");t&&t.resetPattern(e)}),this},this},$.fn.formatter.addInptType=function(e,t){n.addInptType(e,t)}}),function(e,t){var i,n=e.fn.domManip,o="_tmplitem",r=/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /,a={},s={},l={key:0,data:{}},c=0,d=0,u=[];function h(t,i,n,o){var r={data:o||0===o||!1===o?o:i?i.data:{},_wrap:i?i._wrap:null,tmpl:null,parent:i||null,nodes:[],calls:b,nest:w,wrap:_,html:x,update:k};return t&&e.extend(r,t,{nodes:[],parent:i}),n&&(r.tmpl=n,r._ctnt=r._ctnt||r.tmpl(e,r),r.key=++c,(u.length?s:a)[c]=r),r}function f(t,i,n){var r,a=n?e.map(n,function(e){return"string"==typeof e?t.key?e.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g,"$1 "+o+'="'+t.key+'" $2'):e:f(e,t,e._ctnt)}):t;return i?a:((a=a.join("")).replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/,function(t,i,n,o){y(r=e(n).get()),i&&(r=p(i).concat(r)),o&&(r=r.concat(p(o)))}),r||p(a))}function p(t){var i=document.createElement("div");return i.innerHTML=t,e.makeArray(i.childNodes)}function m(t){return new Function("jQuery","$item","var $=jQuery,call,__=[],$data=$item.data;with($data){__.push('"+e.trim(t).replace(/([\\'])/g,"\\$1").replace(/[\r\t\n]/g," ").replace(/\$\{([^\}]*)\}/g,"{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,function(t,i,n,o,r,a,s){var l,c,d,u=e.tmpl.tag[n];if(!u)throw"Unknown template tag: "+n;return l=u._default||[],a&&!/\w$/.test(r)&&(r+=a,a=""),r?(r=v(r),s=s?","+v(s)+")":a?")":"",c=a?r.indexOf(".")>-1?r+v(a):"("+r+").call($item"+s:r,d=a?c:"(typeof("+r+")==='function'?("+r+").call($item):("+r+"))"):d=c=l.$1||"null",o=v(o),"');"+u[i?"close":"open"].split("$notnull_1").join(r?"typeof("+r+")!=='undefined' && ("+r+")!=null":"true").split("$1a").join(d).split("$1").join(c).split("$2").join(o||l.$2||"")+"__.push('"})+"');}return __;")}function g(t,i){t._wrap=f(t,!0,e.isArray(i)?i:[r.test(i)?i:e(i).html()]).join("")}function v(e){return e?e.replace(/\\'/g,"'").replace(/\\\\/g,"\\"):null}function y(t){var i,n,r,l,u,f="_"+d,p={};for(r=0,l=t.length;r=0;u--)m(n[u]);m(i)}function m(t){var i,n,r,l,u=t;if(l=t.getAttribute(o)){for(;u.parentNode&&1===(u=u.parentNode).nodeType&&!(i=u.getAttribute(o)););i!==l&&(u=u.parentNode?11===u.nodeType?0:u.getAttribute(o)||0:0,(r=a[l])||((r=h(r=s[l],a[u]||s[u])).key=++c,a[c]=r),d&&m(l)),t.removeAttribute(o)}else d&&(r=e.data(t,"tmplItem"))&&(m(r.key),a[r.key]=r,u=(u=e.data(t.parentNode,"tmplItem"))?u.key:0);if(r){for(n=r;n&&n.key!=u;)n.nodes.push(t),n=n.parent;delete r._ctnt,delete r._wrap,e.data(t,"tmplItem",r)}function m(e){r=p[e+=f]=p[e]||h(r,a[r.parent.key+f]||r.parent)}}}function b(e,t,i,n){if(!e)return u.pop();u.push({_:e,tmpl:t,item:this,data:i,options:n})}function w(t,i,n){return e.tmpl(e.template(t),i,n,this)}function _(t,i){var n=t.options||{};return n.wrapped=i,e.tmpl(e.template(t.tmpl),t.data,n,t.item)}function x(t,i){var n=this._wrap;return e.map(e(e.isArray(n)?n.join(""):n).filter(t||"*"),function(e){return i?e.innerText||e.textContent:e.outerHTML||(t=e,(n=document.createElement("div")).appendChild(t.cloneNode(!0)),n.innerHTML);var t,n})}function k(){var t=this.nodes;e.tmpl(null,null,null,this).insertBefore(t[0]),e(t).remove()}e.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,n){e.fn[t]=function(o){var r,s,l,c,u=[],h=e(o),f=1===this.length&&this[0].parentNode;if(i=a||{},f&&11===f.nodeType&&1===f.childNodes.length&&1===h.length)h[n](this[0]),u=this;else{for(s=0,l=h.length;s0?this.clone(!0):this).get(),e(h[s])[n](r),u=u.concat(r);d=0,u=this.pushStack(u,t,h.selector)}return c=i,i=null,e.tmpl.complete(c),u}}),e.fn.extend({tmpl:function(t,i,n){return e.tmpl(this[0],t,i,n)},tmplItem:function(){return e.tmplItem(this[0])},template:function(t){return e.template(t,this[0])},domManip:function(t,o,r,s){if(t[0]&&e.isArray(t[0])){for(var l,c=e.makeArray(arguments),u=t[0],h=u.length,f=0;f").join(">").split('"').join(""").split("'").join("'")}}),e.extend(e.tmpl,{tag:{tmpl:{_default:{$2:"null"},open:"if($notnull_1){__=__.concat($item.nest($1,$2));}"},wrap:{_default:{$2:"null"},open:"$item.calls(__,$1,$2);__=[];",close:"call=$item.calls();__=call._.concat($item.wrap(call,__));"},each:{_default:{$2:"$index, $value"},open:"if($notnull_1){$.each($1a,function($2){with(this){",close:"}});}"},if:{open:"if(($notnull_1) && $1a){",close:"}"},else:{_default:{$1:"true"},open:"}else if(($notnull_1) && $1a){"},html:{open:"if($notnull_1){__.push($1a);}"},"=":{_default:{$1:"$data"},open:"if($notnull_1){__.push($.encode($1a));}"},"!":{open:""}},complete:function(e){a={}},afterManip:function(t,i,n){var o=11===i.nodeType?e.makeArray(i.childNodes):1===i.nodeType?[i]:[];n.call(t,i),y(o),d++}})}(jQuery),APP.init=function(){APP.initPage(),APP.initMenu(),APP.initMask(),APP.initModal(),APP.initPlugins(),APP.initCheckboxAll()},APP.initPage=function(){$("body").height()<$(window).height()&&$("html,body").css("height","100%")},APP.initMenu=function(){$(".btn-menu-toggle").click(function(e){$("#left-panel").toggleClass("opened"),$("#left-panel").niceScroll().resize()}),$("#main .main").niceScroll({cursorborder:"1px solid rgba(0,0,0, 0.15)",cursorwidth:"12px",cursorcolor:"rgba(0,0,0, 0.5)"}),$("#left-panel").niceScroll({cursorborder:"1px solid rgba(0,0,0, 0.15)",cursorwidth:"12px",cursorcolor:"rgba(0,0,0, 0.5)"}),$("#left-panel li").each(function(){$(this).data("active")&&$(this).data("active")==menuActive&&($(this).addClass("active"),$(this).parents("li").addClass("open"),$(this).parents("ul").show())}),$("#left-panel #main-navigation a.parent").click(function(e){e.preventDefault(),$(this).parent().toggleClass("open"),$("#left-panel").niceScroll().resize()})},APP.initPlugins=function(){$.datepicker.regional.ko={closeText:"닫기",prevText:"이전달",nextText:"다음달",currentText:"오늘",monthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthNamesShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayNames:["일","월","화","수","목","금","토"],dayNamesShort:["일","월","화","수","목","금","토"],dayNamesMin:["일","월","화","수","목","금","토"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""},$.datepicker.setDefaults($.datepicker.regional.ko),$('[data-toggle="datepicker"]').datepicker(),$("body").on("click",'[data-toggle="datepicker"]',function(){$(this).hasClass("hasDatepicker")||($(this).datepicker(),$(this).datepicker("show"))}),$('[data-toggle="formatter"]').each(function(){$(this).data("pattern")&&$(this).formatter({pattern:$(this).data("pattern"),persistent:!0})}),$.datetimepicker.setLocale("kr"),$('[data-toggle="datetimepicker"]').datetimepicker({format:"Y-m-d H:i"})},APP.initCheckboxAll=function(){$("[data-checkbox]").click(function(){var e=$(this),t=e.data("checkbox-all")&&"true"==e.data("checkbox-all").toString(),i=e.data("checkbox"),n=e.prop("checked"),o=t?e:$('[data-checkbox="'+i+'"][data-checkbox-all="true"]');t?$('[data-checkbox="'+i+'"]').prop("checked",n):o.prop("checked",$('[data-checkbox="'+i+'"]').not('[data-checkbox-all="true"]').length==$('[data-checkbox="'+i+'"]:checked').not('[data-checkbox-all="true"]').length)})},APP.MASK=null,APP.MASK2=null,APP.modal=null,APP.modal2=null,APP.initMask=function(){APP.MASK=new ax5.ui.mask({zIndex:1e3}),APP.MASK2=new ax5.ui.mask({zIndex:2e3})},APP.initModal=function(){APP.modal=new ax5.ui.modal({absolute:!0,iframeLoadingMsg:''}),APP.modal2=new ax5.ui.modal({absolute:!0,iframeLoadingMsg:''})},APP.MODAL=function(){var e={width:400,height:400,position:{left:"center",top:"middle"}},t=$.extend(!0,{},e,{iframeLoadingMsg:"",iframe:{method:"get",url:"#"},closeToEsc:!0,onStateChanged:function(){"open"===this.state?APP.MASK.open():"close"===this.state&&APP.MASK.close()},animateTime:100,zIndex:1001,absolute:!0,fullScreen:!1,header:{title:"새로운 윈도우",btns:{close:{label:'',onClick:function(){APP.MODAL.callback()}}}}});return{open:function(e){e=$.extend(!0,{},t,e),$(document.body).addClass("modalOpened"),this.modalCallback=e.callback,this.modalSendData=e.sendData,APP.modal.open(e)},css:function(t){t=$.extend(!0,{},e,t),APP.modal.css(t)},align:function(e){APP.modal.align(e)},close:function(e){APP.modal.close(),setTimeout(function(){$(document.body).removeClass("modalOpened")},500)},minimize:function(){APP.modal.minimize()},maximize:function(){APP.modal.maximize()},callback:function(e){this.modalCallback&&this.modalCallback(e),this.close(e)},modalCallback:{},getData:function(){if(this.modalSendData)return this.modalSendData()}}}(),APP.MODAL2=function(){var e={width:400,height:400,position:{left:"center",top:"middle"}},t=$.extend(!0,{},e,{iframeLoadingMsg:"",iframe:{method:"get",url:"#"},closeToEsc:!0,onStateChanged:function(){"open"===this.state?APP.MASK2.open():"close"===this.state&&APP.MASK2.close()},animateTime:100,zIndex:2001,absolute:!0,fullScreen:!1,header:{title:"새로운 윈도우",btns:{close:{label:'',onClick:function(){APP.MODAL2.callback()}}}}});return{open:function(e){e=$.extend(!0,{},t,e),$(document.body).addClass("modalOpened"),this.modalCallback=e.callback,this.modalSendData=e.sendData,APP.modal2.open(e)},css:function(t){t=$.extend(!0,{},e,t),APP.modal2.css(t)},align:function(e){APP.modal2.align(e)},close:function(e){APP.modal2.close(),setTimeout(function(){$(document.body).removeClass("modalOpened")},500)},minimize:function(){APP.modal2.minimize()},maximize:function(){APP.modal2.maximize()},callback:function(e){this.modalCallback&&this.modalCallback(e),this.close(e)},modalCallback:{},getData:function(){if(this.modalSendData)return this.modalSendData()}}}(),$(function(){APP.init()}),APP.BOARD.keyCheck=function(e){return""==e?"게시판 고유키를 입력하세요":APP.REGEX.uniqueID.test(e)?!APP.BOARD.existCheck(e)||"이미 존재하는 키 입니다.":"게시판 고유키는 영어 소문자로 시작하는 3~20 글자로 영어와 숫자만 사용가능합니다."},APP.BOARD.existCheck=function(e){var t=null;return $.ajax({url:base_url+"/ajax/board/info",type:"get",async:!1,cache:!1,data:{brd_key:e,is_raw:!0},success:function(e){t=e}}),t},APP.BOARD.CATEGORY.form=function(e,t,i){t=void 0!==t&&t>=0?t:null,i=void 0!==i&&i?i:null;return(e=void 0!==e&&e?e:null)?parseInt(t)<0?(alert("부모 카테고리가 선택되지 않았습니다."),!1):void APP.MODAL.open({width:400,height:200,header:{title:i?"카테고리 정보 수정":"카테고리 추가"},callback:function(){parent.location.reload()},iframe:{method:"get",url:"/admin/board/category_form",param:{brd_key:e,bca_parent:t,bca_idx:i}}}):(alert("게시판이 지정되지 않았습니다."),!1)},APP.BOARD.CATEGORY.remove=function(e){if(APP.BOARD.CATEGORY.count(e)>0)return alert("해당 카테고리의 하위 카테고리가 존재합니다. 하위 카테고리를 먼저 삭제해주세요"),!1;var t=APP.BOARD.CATEGORY.postCount(e);return!(t>0&&!confirm("해당 카테고리에 등록된 글이 "+t+"건이 있습니다. 삭제를 진행하시겠습니까?"))&&(!!confirm("해당 카테고리를 삭제하시겠습니까?")&&void $.ajax({url:base_url+"/ajax/board/category",type:"DELETE",cache:!1,async:!1,data:{bca_idx:e},success:function(e){e.result?(alert("카테고리 삭제에 성공하였습니다."),location.reload()):(alert("카테고리 삭제에 실패하였습니다."),location.reload())}}))},APP.BOARD.EXTRA.form=function(e,t){if(t=void 0!==t&&t?t:null,!(e=void 0!==e&&e?e:null))return alert("게시판이 지정되지 않았습니다."),!1;APP.MODAL.open({width:400,height:200,header:{title:t?"입력필드 수정":"입력필드 추가"},callback:function(){parent.location.reload()},iframe:{method:"get",url:"/admin/board/extra_form",param:{brd_key:e,bmt_idx:t}}})},APP.BOARD.EXTRA.remove=function(e,t){return e=void 0!==e&&e?e:null,(t=void 0!==t&&t?t:null)?!!confirm("해당 필드로 등록된 글이 있을경우, 해당 필드값도 같이 사라집니다. 계속 진행 하시겠습니까?")&&void $.ajax({url:base_url+"/ajax/board/extra",type:"DELETE",cache:!1,async:!1,data:{brd_key:e,bmt_idx:t},success:function(e){e.result?(alert("입력필드 삭제에 성공하였습니다."),location.reload()):(alert("입력필드 삭제에 실패하였습니다."),location.reload())}}):(alert("잘못된 접근입니다."),!1)};var faq={form:function(e,t){t="string"==typeof t||"number"==typeof t?t:null;if(!(e="string"==typeof e||"number"==typeof e?e:null))return alert("FAQ 분류 정보가 없습니다."),!1;APP.MODAL.open({width:800,height:650,header:{title:t?"FAQ 정보 수정":"FAQ 추가"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/management/faq_form",param:{fac_idx:e,faq_idx:t}}})},remove:function(e){if(void 0!==e&&e&&""!=e.trim()||alert("잘못된 접근입니다."),!confirm("해당 FAQ를 삭제하시겠습니까?"))return!1;$.ajax({url:"/ajax/faq/info",type:"delete",async:!1,cache:!1,data:{faq_idx:e},success:function(e){alert("FAQ가 삭제되었습니다."),location.reload()}})},category:{}};faq.category.form=function(e){e="string"==typeof e||"number"==typeof e?e:null;APP.MODAL.open({width:$(window).width()>600?600:$(window).width(),height:250,header:{title:e?"FAQ 분류 정보 수정":"FAQ 분류 추가"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/management/faq_category_form",param:{fac_idx:e}}})},faq.category.exist=function(e){if(void 0===e||!e||""==e.trim())return!1;var t=!1;return $.ajax({url:"/ajax/faq/category",type:"get",async:!1,cache:!1,data:{fac_idx:e},success:function(e){t=!(e&&void 0!==e.fac_idx&&e.fac_idx)}}),t},faq.category.remove=function(e){void 0!==e&&e&&""!=e.trim()||alert("잘못된 접근입니다.");var t=0;if($.ajax({url:"/ajax/faq/lists",type:"get",async:!1,cache:!1,data:{fac_idx:e},success:function(e){t=e.total_count}}),!confirm(t>0?"해당 FAQ 분류에 "+t+"개의 FAQ 목록이 등록되어 있습니다.\nFAQ 분류을 삭제할시 등록된 FAQ 목록도 같이 삭제됩니다.\n\n계속 하시겠습니까?":"FAQ 분류을 삭제하시겠습니까?"))return!1;$.ajax({url:"/ajax/faq/category",type:"delete",async:!1,cache:!1,data:{fac_idx:e},success:function(e){alert("FAQ 분류가 삭제되었습니다."),location.href=base_url+"/admin/management/faq"}})},APP.MEMBER.POP_INFO_ADMIN=function(e){if(void 0===e||!e)return alert("잘못된 접근입니다."),!1;APP.MODAL.open({width:800,height:600,header:{title:"회원 정보"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/members/info/"+e,param:{}}})},APP.MEMBER.POP_PASSWORD_ADMIN=function(e){if(void 0===e||!e)return alert("잘못된 접근입니다."),!1;APP.MODAL.open({width:800,height:600,header:{title:"비밀번호 변경"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/members/password/"+e,param:{}}})},APP.MEMBER.POP_MODIFY_ADMIN=function(e){if(void 0===e||!e)return alert("잘못된 접근입니다."),!1;APP.MODAL.open({width:800,height:600,header:{title:"회원 정보 수정"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/members/modify/"+e,param:{}}})},APP.MEMBER.POP_POINT_ADMIN=function(e){if(void 0===e||!e)return alert("잘못된 접근입니다."),!1;APP.MODAL.open({width:800,height:600,header:{title:"회원 포인트 관리"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/members/point/"+e,param:{}}})},APP.MEMBER.POP_POINT_FORM_ADMIN=function(e){(e=void 0!==e&&e?e:null)?(APP.MODAL2.callback=function(){location.reload()},APP.MODAL2.open({width:410,height:200,header:{title:"회원 포인트 추가"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/members/point_form/"+e}})):alert("잘못된 접근입니다.")},APP.MEMBER.STATUS_CHANGE=function(e,t,i){if(void 0===e||!e||void 0===t||!t||void 0===i||!i)return alert(LANG.common_msg_invalid_access),!1;var n="";if("Y"==i)n=LANG.member_status_y;else if("N"==i)n=LANG.member_status_n;else if("D"==i)n=LANG.member_status_d;else{if("H"!=i)return alert(LANG.common_msg_invalid_access),!1;n=LANG.member_status_h}confirm("해당 회원의 상태를 ["+n+"] 상태로 변경합니까?")&&$.ajax({url:"/ajax/members/status",type:"POST",async:!1,cache:!1,data:{mem_idx:e,current_status:t,change_status:i},success:function(){alert("지정한 회원의 상태를 ["+n+"] 상태로 변경하였습니다."),location.reload()}})},$(function(){}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ClipboardJS=t():e.ClipboardJS=t()}(this,function(){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,i),o.l=!0,o.exports}return i.m=e,i.c=t,i.i=function(e){return e},i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=3)}([function(e,t,i){var n,o,r,a;a=function(e,t){"use strict";var i,n=(i=t)&&i.__esModule?i:{default:i};var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var r=function(){function e(e,t){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var i=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=i+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,n.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,n.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=a},o=[e,i(7)],void 0===(r="function"==typeof(n=a)?n.apply(t,o):n)||(e.exports=r)},function(e,t,i){var n=i(6),o=i(5);e.exports=function(e,t,i){if(!e&&!t&&!i)throw new Error("Missing required arguments");if(!n.string(t))throw new TypeError("Second argument must be a String");if(!n.fn(i))throw new TypeError("Third argument must be a Function");if(n.node(e))return function(e,t,i){return e.addEventListener(t,i),{destroy:function(){e.removeEventListener(t,i)}}}(e,t,i);if(n.nodeList(e))return function(e,t,i){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,i)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,i)})}}}(e,t,i);if(n.string(e))return function(e,t,i){return o(document.body,e,t,i)}(e,t,i);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){function i(){}i.prototype={on:function(e,t,i){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:i}),this},once:function(e,t,i){var n=this;function o(){n.off(e,o),t.apply(i,arguments)}return o._=t,this.on(e,o,i)},emit:function(e){for(var t=[].slice.call(arguments,1),i=((this.e||(this.e={}))[e]||[]).slice(),n=0,o=i.length;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===l(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,a.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,i=!!document.queryCommandSupported;return t.forEach(function(e){i=i&&!!document.queryCommandSupported(e)}),i}}]),t}();function u(e,t){var i="data-clipboard-"+e;if(t.hasAttribute(i))return t.getAttribute(i)}e.exports=d},o=[e,i(0),i(2),i(1)],void 0===(r="function"==typeof(n=a)?n.apply(t,o):n)||(e.exports=r)},function(e,t){var i=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,t){for(;e&&e.nodeType!==i;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},function(e,t,i){var n=i(4);function o(e,t,i,o,r){var a=function(e,t,i,o){return function(i){i.delegateTarget=n(i.target,t),i.delegateTarget&&o.call(e,i)}}.apply(this,arguments);return e.addEventListener(i,a,r),{destroy:function(){e.removeEventListener(i,a,r)}}}e.exports=function(e,t,i,n,r){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof i?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return o(e,t,i,n,r)}))}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var i=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===i||"[object HTMLCollection]"===i)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var i=e.hasAttribute("readonly");i||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),i||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),o=document.createRange();o.selectNodeContents(e),n.removeAllRanges(),n.addRange(o),t=n.toString()}return t}}])}),function(){"use strict";function e(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},i=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),o=(document.documentMode,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){s(window,e)},e.unblockUI=function(e){l(window,e)},e.growlUI=function(t,i,n,o){var r=e('
');t&&r.append("

"+t+"

"),i&&r.append("

"+i+"

"),void 0===n&&(n=3e3);var a=function(t){t=t||{},e.blockUI({message:r,fadeIn:void 0!==t.fadeIn?t.fadeIn:700,fadeOut:void 0!==t.fadeOut?t.fadeOut:1e3,timeout:void 0!==t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:o,css:e.blockUI.defaults.growlCSS})};a();r.css("opacity");r.mouseover(function(){a({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).mouseout(function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var i=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var t=e(this);i.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,s(this,t)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){l(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var r=null,a=[];function s(s,c){var u,p,m=s==window,g=c&&void 0!==c.message?c.message:void 0;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(s).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),u=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),p=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),g=void 0===g?c.message:g,m&&r&&l(window,{fadeOut:0}),g&&"string"!=typeof g&&(g.parentNode||g.jquery)){var v=g.jquery?g[0]:g,y={};e(s).data("blockUI.history",y),y.el=v,y.parent=v.parentNode,y.display=v.style.display,y.position=v.style.position,y.parent&&y.parent.removeChild(v)}e(s).data("blockUI.onUnblock",c.onUnblock);var b,w,_,k,x=c.baseZ;b=i||c.forceIframe?e(''):e(''),w=c.theme?e(''):e(''),c.theme&&m?(k='"):c.theme?(k='"):k=m?'':'',_=e(k),g&&(c.theme?(_.css(p),_.addClass("ui-widget-content")):_.css(u)),c.theme||w.css(c.overlayCSS),w.css("position",m?"fixed":"absolute"),(i||c.forceIframe)&&b.css("opacity",0);var D=[b,w,_],S=e(m?"body":s);e.each(D,function(){this.appendTo(S)}),c.theme&&c.draggable&&e.fn.draggable&&_.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var M=o&&(!e.support.boxModel||e("object,embed",m?null:s).length>0);if(n||M){if(m&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!m)var T=f(s,"borderTopWidth"),C=f(s,"borderLeftWidth"),P=T?"(0 - "+T+")":0,O=C?"(0 - "+C+")":0;e.each(D,function(e,t){var i=t[0].style;if(i.position="absolute",e<2)m?i.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):i.setExpression("height",'this.parentNode.offsetHeight + "px"'),m?i.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):i.setExpression("width",'this.parentNode.offsetWidth + "px"'),O&&i.setExpression("left",O),P&&i.setExpression("top",P);else if(c.centerY)m&&i.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),i.marginTop=0;else if(!c.centerY&&m){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';i.setExpression("top",n)}})}if(g&&(c.theme?_.find(".ui-widget-content").append(g):_.append(g),(g.jquery||g.nodeType)&&e(g).show()),(i||c.forceIframe)&&c.showOverlay&&b.show(),c.fadeIn){var A=c.onBlock?c.onBlock:t,I=c.showOverlay&&!g?A:t,E=g?A:t;c.showOverlay&&w._fadeIn(c.fadeIn,I),g&&_._fadeIn(c.fadeIn,E)}else c.showOverlay&&w.show(),g&&_.show(),c.onBlock&&c.onBlock.bind(_)();if(d(1,s,c),m?(r=_[0],a=e(c.focusableElements,r),c.focusInput&&setTimeout(h,20)):function(e,t,i){var n=e.parentNode,o=e.style,r=(n.offsetWidth-e.offsetWidth)/2-f(n,"borderLeftWidth"),a=(n.offsetHeight-e.offsetHeight)/2-f(n,"borderTopWidth");t&&(o.left=r>0?r+"px":"0");i&&(o.top=a>0?a+"px":"0")}(_[0],c.centerX,c.centerY),c.timeout){var z=setTimeout(function(){m?e.unblockUI(c):e(s).unblock(c)},c.timeout);e(s).data("blockUI.timeout",z)}}}function l(t,i){var n,o,s=t==window,l=e(t),u=l.data("blockUI.history"),h=l.data("blockUI.timeout");h&&(clearTimeout(h),l.removeData("blockUI.timeout")),i=e.extend({},e.blockUI.defaults,i||{}),d(0,t,i),null===i.onUnblock&&(i.onUnblock=l.data("blockUI.onUnblock"),l.removeData("blockUI.onUnblock")),o=s?e("body").children().filter(".blockUI").add("body > .blockUI"):l.find(">.blockUI"),i.cursorReset&&(o.length>1&&(o[1].style.cursor=i.cursorReset),o.length>2&&(o[2].style.cursor=i.cursorReset)),s&&(r=a=null),i.fadeOut?(n=o.length,o.stop().fadeOut(i.fadeOut,function(){0==--n&&c(o,u,i,t)})):c(o,u,i,t)}function c(t,i,n,o){var r=e(o);if(!r.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),i&&i.el&&(i.el.style.display=i.display,i.el.style.position=i.position,i.el.style.cursor="default",i.parent&&i.parent.appendChild(i.el),r.removeData("blockUI.history")),r.data("blockUI.static")&&r.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(o,n);var a=e(document.body),s=a.width(),l=a[0].style.width;a.width(s-1).width(s),a[0].style.width=l}}function d(t,i,n){var o=i==window,a=e(i);if((t||(!o||r)&&(o||a.data("blockUI.isBlocked")))&&(a.data("blockUI.isBlocked",t),o&&n.bindEvents&&(!t||n.showOverlay))){var s="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).bind(s,n,u):e(document).unbind(s,u)}}function u(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&r&&t.data.constrainTabKey){var i=a,n=!t.shiftKey&&t.target===i[i.length-1],o=t.shiftKey&&t.target===i[0];if(n||o)return setTimeout(function(){h(o)},10),!1}var s=t.data,l=e(t.target);return l.hasClass("blockOverlay")&&s.onOverlayClick&&s.onOverlayClick(t),l.parents("div."+s.blockMsgClass).length>0||0===l.parents().children().filter("div.blockUI").length}function h(e){if(a){var t=a[!0===e?a.length-1:0];t&&t.focus()}}function f(t,i){return parseInt(e.css(t,i),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}(),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){var t=/\+/g;function i(e){return o.raw?e:encodeURIComponent(e)}function n(i,n){var r=o.raw?i:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(t," ")),o.json?JSON.parse(e):e}catch(e){}}(i);return e.isFunction(n)?n(r):r}var o=e.cookie=function(t,r,a){if(arguments.length>1&&!e.isFunction(r)){if("number"==typeof(a=e.extend({},o.defaults,a)).expires){var s=a.expires,l=a.expires=new Date;l.setMilliseconds(l.getMilliseconds()+864e5*s)}return document.cookie=[i(t),"=",function(e){return i(o.json?JSON.stringify(e):String(e))}(r),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}for(var c,d=t?void 0:{},u=document.cookie?document.cookie.split("; "):[],h=0,f=u.length;h=0;o--)l(e(n[o]),i)}(o)},remove:function(i){var n=u();t||s(n);if(i&&0===e(":focus",i).length)return void h(i);t.children().length&&t.remove()},error:function(e,t,i){return d({type:r.error,iconClass:u().iconClasses.error,message:e,optionsOverride:i,title:t})},getContainer:s,info:function(e,t,i){return d({type:r.info,iconClass:u().iconClasses.info,message:e,optionsOverride:i,title:t})},options:{},subscribe:function(e){i=e},success:function(e,t,i){return d({type:r.success,iconClass:u().iconClasses.success,message:e,optionsOverride:i,title:t})},version:"2.1.2",warning:function(e,t,i){return d({type:r.warning,iconClass:u().iconClasses.warning,message:e,optionsOverride:i,title:t})}};return a;function s(i,n){return i||(i=u()),(t=e("#"+i.containerId)).length?t:(n&&(t=function(i){return(t=e("
").attr("id",i.containerId).addClass(i.positionClass).attr("aria-live","polite").attr("role","alert")).appendTo(e(i.target)),t}(i)),t)}function l(t,i,n){var o=!(!n||!n.force)&&n.force;return!(!t||!o&&0!==e(":focus",t).length)&&(t[i.hideMethod]({duration:i.hideDuration,easing:i.hideEasing,complete:function(){h(t)}}),!0)}function c(e){i&&i(e)}function d(i){var r=u(),a=i.iconClass||r.iconClass;if(void 0!==i.optionsOverride&&(r=e.extend(r,i.optionsOverride),a=i.optionsOverride.iconClass||a),!function(e,t){if(e.preventDuplicates){if(t.message===n)return!0;n=t.message}return!1}(r,i)){o++,t=s(r,!0);var l=null,d=e("
"),f=e("
"),p=e("
"),m=e("
"),g=e(r.closeHtml),v={intervalId:null,hideEta:null,maxHideTime:null},y={toastId:o,state:"visible",startTime:new Date,options:r,map:i};return i.iconClass&&d.addClass(r.toastClass).addClass(a),i.title&&(f.append(r.escapeHtml?b(i.title):i.title).addClass(r.titleClass),d.append(f)),i.message&&(p.append(r.escapeHtml?b(i.message):i.message).addClass(r.messageClass),d.append(p)),r.closeButton&&(g.addClass("toast-close-button").attr("role","button"),d.prepend(g)),r.progressBar&&(m.addClass("toast-progress"),d.prepend(m)),r.newestOnTop?t.prepend(d):t.append(d),d.hide(),d[r.showMethod]({duration:r.showDuration,easing:r.showEasing,complete:r.onShown}),r.timeOut>0&&(l=setTimeout(w,r.timeOut),v.maxHideTime=parseFloat(r.timeOut),v.hideEta=(new Date).getTime()+v.maxHideTime,r.progressBar&&(v.intervalId=setInterval(x,10))),function(){d.hover(k,_),!r.onclick&&r.tapToDismiss&&d.click(w);r.closeButton&&g&&g.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),w(!0)});r.onclick&&d.click(function(e){r.onclick(e),w()})}(),c(y),r.debug&&console&&console.log(y),d}function b(e){return null==e&&(e=""),new String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function w(t){var i=t&&!1!==r.closeMethod?r.closeMethod:r.hideMethod,n=t&&!1!==r.closeDuration?r.closeDuration:r.hideDuration,o=t&&!1!==r.closeEasing?r.closeEasing:r.hideEasing;if(!e(":focus",d).length||t)return clearTimeout(v.intervalId),d[i]({duration:n,easing:o,complete:function(){h(d),r.onHidden&&"hidden"!==y.state&&r.onHidden(),y.state="hidden",y.endTime=new Date,c(y)}})}function _(){(r.timeOut>0||r.extendedTimeOut>0)&&(l=setTimeout(w,r.extendedTimeOut),v.maxHideTime=parseFloat(r.extendedTimeOut),v.hideEta=(new Date).getTime()+v.maxHideTime)}function k(){clearTimeout(l),v.hideEta=0,d.stop(!0,!0)[r.showMethod]({duration:r.showDuration,easing:r.showEasing})}function x(){var e=(v.hideEta-(new Date).getTime())/v.maxHideTime*100;m.width(e+"%")}}function u(){return e.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'',newestOnTop:!0,preventDuplicates:!1,progressBar:!1},a.options)}function h(e){t||(t=s()),e.is(":visible")||(e.remove(),e=null,0===t.children().length&&(t.remove(),n=void 0))}}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}),window.console&&window.console.log||(window.console={log:function(){}}),$(function(){$(document).ajaxError(function(e,t,i){var n="알수없는 오류가 발생하였습니다.";void 0!==t.responseJSON&&void 0!==t.responseJSON.message?n=t.responseJSON.message:500==t.status?n="서버 코드 오류가 발생하였습니다.\n관리자에게 문의하세요":401==t.status&&(n="해당 명령을 실행할 권한이 없습니다."),toastr.error(n,"오류 발생")}).ajaxStart(function(){$.blockUI({css:{width:"25px",top:"49%",left:"49%",border:"0px none",backgroundColor:"transparent",cursor:"wait"},message:'로딩중',baseZ:1e4,overlayCSS:{opacity:0}})}).ajaxComplete(function(){$.unblockUI()})});var APP={POPUP:null,REGEX:{}};APP.REGEX.uniqueID=/^[a-z][a-z0-9_]{2,19}$/g,function(e){APP.POPUP=function(t){var i=e.extend({},{title:"_blank",width:800,height:600,url:""},t);cw=screen.availWidth,ch=screen.availHeight,sw=i.width,sh=i.height,ml=(cw-sw)/2,mt=(ch-sh)/2;t="width="+sw+",height="+sh+",top="+mt+",left="+ml+",scrollbars=yes,resizable=no";var n=window.open(i.url,i.title,t);(null==n||void 0===n||null==n&&0==n.outerWidth||null!=n&&0==n.outerHeight)&&alert("팝업 차단 기능이 설정되어있습니다\n\n차단 기능을 해제(팝업허용) 한 후 다시 이용해 주십시오.")}}(jQuery),APP.SET_LANG=function(e){$.cookie("site_lang",e,{expires:30,path:"/"}),location.reload()},$('[data-toggle="btn-popup-close"]').click(function(e){var t=$(this).data("type"),i=$(this).data("idx"),n=$(this).data("cookie");"Y"==t?window.close():"N"==t&&$("#popup-"+i).remove(),1==n&&$.cookie("popup_"+i,1,{expires:1,path:"/"})}),$("a[data-toggle='sns-share']").not('[data-service="link"]').click(function(e){e.preventDefault();var t=$(this),i=t.data("service"),n=t.data("url"),o=t.data("title"),r="",a=$("meta[name='og:image']").attr("content");if(i&&n&&o){if("facebook"==i)r="//www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(n);else if("twitter"==i)r="//twitter.com/home?status="+encodeURIComponent(o)+" "+n;else if("google"==i)r="//plus.google.com/share?url="+n;else if("pinterest"==i)r="//www.pinterest.com/pin/create/button/?url="+n+"&media="+a+"&description="+encodeURIComponent(o);else if("kakaostory"==i)r="https://story.kakao.com/share?url="+encodeURIComponent(n);else if("band"==i)r="http://www.band.us/plugin/share?body="+encodeURIComponent(o)+"%0A"+encodeURIComponent(n);else if("naver"==i)r="http://share.naver.com/web/shareView.nhn?url="+encodeURIComponent(n)+"&title="+encodeURIComponent(o);else{if("line"!=i)return!1;r="http://line.me/R/msg/text/?"+encodeURIComponent(o+"\n"+n)}return APP.POPUP({url:r}),!1}}),$(function(){new ClipboardJS('a[data-toggle="sns-share"][data-service="link"]',{text:function(e){return e.getAttribute("data-url")}}).on("success",function(){alert("현재 URL이 복사되었습니다.")})}),APP.MEMBER={},APP.MEMBER.init=function(){APP.MEMBER.InitLoginForm(),APP.MEMBER.initCheckExist(),APP.MEMBER.InitRegisterForm(),APP.MEMBER.InitMemberModifyForm()},APP.MEMBER.InitRegisterForm=function(){$('[data-form="form-register"]').submit(function(e){e.preventDefault();var t=$(this);$.ajax({type:"PUT",data:t.serialize(),url:base_url+"/ajax/members/info",success:function(e){1==e.result&&(alert(LANG.member_join_success),location.href=base_url+"/members/login")}})})},APP.MEMBER.InitMemberModifyForm=function(){$('[data-form="form-member-modify"]').submit(function(e){e.preventDefault();var t=$(this);$.ajax({type:"POST",data:t.serialize(),url:base_url+"/ajax/members/info",success:function(e){1==e.result&&(alert(e.message),location.reload())}})})},APP.MEMBER.InitLoginForm=function(){$('[data-role="form-login"]').submit(function(e){e.preventDefault();var t=$(this),i=t.find('[name="login_id"]'),n=t.find('[name="login_pass"]');return""==i.val().trim()?(alert(LANG.member_login_userid_required),i.focus(),!1):""==n.val().trim()?(alert(LANG.member_login_password_required),n.focus(),!1):void $.ajax({url:base_url+"ajax/members/login",type:"POST",data:t.serialize(),success:function(e){1==e.result&&(location.href=e.reurl?e.reurl:base_url)},error:function(e){n.val("")}})})},APP.MEMBER.initCheckExist=function(){$('[data-toggle="check-member-exist"]').each(function(){var e=$(this);e.on("click",function(){var t=$("#"+e.data("target")),i=e.data("check"),n=t.val();if(void 0===n||!n||!n.trim())return alert(LANG.member_join_user_id_required),t.focus(),!1;var o=APP.MEMBER.denyWordCheck(i,n);return"VALID_EMAIL"==o?(alert(LANG.member_join_no_valid_email_address),t.focus(),!1):o?APP.MEMBER.getInfo(i,n)?(alert(LANG.member_join_user_id_already_exists),t.focus(),!1):(alert(LANG.member_join_user_id_available),!0):(alert(LANG.member_join_user_id_contains_deny_word),t.focus(),!1)})})},APP.MEMBER.getInfo=function(e,t){var i=null;return $.ajax({url:base_url+"/ajax/members/info",type:"get",async:!1,cache:!1,data:{key:e,value:t},success:function(e){i=e.result}}),i},APP.MEMBER.denyWordCheck=function(e,t){var i=null;return $.ajax({url:base_url+"/ajax/members/word_check",type:"get",async:!1,cache:!1,data:{key:e,value:t},success:function(e){i=e.result}}),i},APP.MEMBER.POP_CHANGE_PHOTO=function(){APP.POPUP({url:"/members/photo_change",width:600,height:150})},$(document).ready(APP.MEMBER.init),APP.BOARD={},APP.BOARD.CATEGORY={},APP.BOARD.EXTRA={},APP.BOARD.COMMENT={},APP.BOARD.CATEGORY.count=function(e){if(void 0===e||!e)return 0;var t=0;return $.ajax({url:base_url+"/ajax/board/category_count",type:"get",cache:!1,async:!1,data:{bca_idx:e},success:function(e){t=e.result}}),t},APP.BOARD.CATEGORY.postCount=function(e){if(void 0===e||!e)return 0;var t=0;return $.ajax({url:base_url+"/ajax/board/category_post_count",type:"get",cache:!1,async:!1,data:{bca_idx:e},success:function(e){t=e.result}}),t},APP.BOARD.COMMENT.modify=function(e){APP.POPUP({title:"_blank",width:800,height:600,url:base_url+"/board/comment/modify/"+e})},APP.BOARD.COMMENT.reply=function(e,t){APP.POPUP({title:"_blank",width:800,height:600,url:base_url+"/board/comment/reply/"+e+"/"+t})},$(function(){var e=$('[data-form="post"]');e.length>0&&e.on("submit",function(){$.blockUI({css:{width:"25px",top:"49%",left:"49%",border:"0px none",backgroundColor:"transparent",cursor:"wait"},message:'로딩중',baseZ:1e4,overlayCSS:{opacity:0}})})});var DateFormatter,_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};(function(){"use strict";var e=this,t=this,i=t?t.document:null,n=(t&&t.document.documentElement,/^(["'](\\.|[^"\\\n\r])*?["']|[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t])+?$/),o=/^-ms-/,r=/[\-_]([\da-z])/gi,a=/([A-Z])/g,s=/\./,l=/[-|+]?[\D]/gi,c=/\D/gi,d=new RegExp("([0-9])([0-9][0-9][0-9][,.])"),u=/&/g,h=/=/,f=/[ ]+/g,p={},m=void 0,g=void 0;p.guid=1,p.getGuid=function(){return p.guid++},p.info=m=function(){var e=arguments,n=function(e,i,n,o,r,a){return t&&t.navigator?(i=-1!=(e=navigator.userAgent.toLowerCase()).search(/mobile/g),-1!=e.search(/iphone/g)?{name:"iphone",version:0,mobile:!0}:-1!=e.search(/ipad/g)?{name:"ipad",version:0,mobile:!0}:-1!=e.search(/android/g)?{name:"android",version:(o=/(android)[ \/]([\w.]+)/.exec(e)||[])[2]||"0",mobile:i}:("","msie"==(r=(o=/(opr)[ \/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[])[1]||"")&&(r="ie"),{name:r,version:o[2]||"0",mobile:i})):{}}(),o=!("undefined"==typeof window||"undefined"==typeof navigator||!t.document),r=t&&/Firefox/i.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel";return{errorMsg:{},version:"1.4.126",baseUrl:"",onerror:function(){console.error(g.toArray(e).join(":"))},eventKeys:{BACKSPACE:8,TAB:9,RETURN:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,HOME:36,END:35,PAGEUP:33,PAGEDOWN:34,INSERT:45,SPACE:32},weekNames:[{label:"SUN"},{label:"MON"},{label:"TUE"},{label:"WED"},{label:"THU"},{label:"FRI"},{label:"SAT"}],browser:n,isBrowser:o,supportTouch:!!t&&("ontouchstart"in t||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),supportFileApi:!!t&&(t.FileReader&&t.File&&t.FileList&&t.Blob),wheelEnm:r,urlUtil:function(e,n){return n=(e={href:t.location.href,param:t.location.search,referrer:i.referrer,pathname:t.location.pathname,hostname:t.location.hostname,port:t.location.port}).href.split(/[\?#]/),e.param=e.param.replace("?",""),e.url=n[0],e.href.search("#")>-1&&(e.hashdata=g.last(n)),n=null,e.baseUrl=g.left(e.href,"?").replace(e.pathname,""),e},getError:function(e,t,i){return m.errorMsg&&m.errorMsg[e]?{className:e,errorCode:t,methodName:i,msg:m.errorMsg[e][t]}:{className:e,errorCode:t,methodName:i}}}}(),p.util=g=function(){var v=Object.prototype.toString;function y(e,t){if(S(e))return[];var i=void 0,n=0,o=e.length;if(void 0===o||"function"==typeof e){for(i in e)if(void 0!==e[i]&&!1===t.call(e[i],i,e[i]))break}else for(;n0&&(t+=","),t+=b(e[i]);t+="]"}else if(p.util.isObject(e)){t+="{";var o=[];y(e,function(e,t){o.push('"'+e+'": '+b(t))}),t+=o.join(", "),t+="}"}else t=p.util.isString(e)?'"'+e+'"':p.util.isNumber(e)?e:p.util.isUndefined(e)?"undefined":p.util.isFunction(e)?'"{Function}"':e;return t}function w(e){return"[object Object]"==v.call(e)}function _(e){return"[object Array]"==v.call(e)}function k(e){return"function"==typeof e}function x(e){return"[object String]"==v.call(e)}function D(e){return"[object Number]"==v.call(e)}function S(e){return null==e||""===e}function M(e,t){return void 0===e||void 0===t?"":x(t)?e.indexOf(t)>-1?e.substr(0,e.indexOf(t)):"":D(t)?e.substr(0,t):""}function T(e,t){return void 0===e||void 0===t?"":(e=""+e,x(t)?e.lastIndexOf(t)>-1?e.substr(e.lastIndexOf(t)+1):"":D(t)?e.substr(e.length-t):"")}function C(e){return e.replace(o,"ms-").replace(r,function(e,t){return t.toUpperCase()})}function P(e){return C(e).replace(a,function(e,t){return"-"+t.toLowerCase()})}function O(e,t){var i,n,o,r=(""+e).split(s);return n=Number(r[0].replace(/,/g,""))<0||"-0"==r[0],o=0,r[0]=r[0].replace(l,""),r[1]?(r[1]=r[1].replace(c,""),o=Number(r[0]+"."+r[1])||0):o=Number(r[0])||0,i=n?-o:o,y(t,function(e,t){var n,o;"round"==e&&(i=D(t)?t<0?+(Math.round(i+"e-"+Math.abs(t))+"e+"+Math.abs(t)):+(Math.round(i+"e+"+t)+"e-"+t):Math.round(i)),"floor"==e&&(i=Math.floor(i)),"ceil"==e?i=Math.ceil(i):"money"==e?i=function(e){var t=""+i;if(isNaN(t)||""==t)return"";var n=t.split(".");n[0]+=".";do{n[0]=n[0].replace(d,"$1,$2")}while(d.test(n[0]));return n.length>1?n.join(""):n[0].split(".")[0]}():"abs"==e?i=Math.abs(Number(i)):"byte"==e&&(n="KB",(o=Number(i)/1024)/1024>1&&(n="MB",o/=1024),o/1024>1&&(n="GB",o/=1024),i=O(o,{round:1})+n)}),i}function A(e,t,i,n,o,r){var a;return new Date,t<0&&(t=0),void 0===n&&(n=12),void 0===o&&(o=0),a=new Date(Date.UTC(e,t,i||1,n,o,r||0)),0==t&&1==i&&a.getUTCHours()+a.getTimezoneOffset()/60<0?a.setUTCHours(0):a.setUTCHours(a.getUTCHours()+a.getTimezoneOffset()/60),a}function I(e,t){var i,n,o,r,a,s,l,c,d,u,h,f,p,g,v,y=void 0,b=void 0,w=void 0,_=void 0,k=void 0,D=void 0,S=void 0,M=void 0,C=void 0,P=void 0;if(x(e))if(0==e.length)e=new Date;else if(e.length>15)/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(\.\d+)?(([+-]\d\d:\d\d)|Z)?$/i.test(e)||/^\d{4}(-\d\d(-\d\d(T\d\d:\d\d(:\d\d)?(\.\d+)?(([+-]\d\d:\d\d)|Z)?)?)?)?$/i.test(e)?e=new Date(e):(y=(C=(D=e.split(/ /g))[0].split(/\D/g))[0],b=parseFloat(C[1]),w=parseFloat(C[2]),S=(M=D[1]||"09:00").substring(0,5).split(":"),_=parseFloat(S[0]),k=parseFloat(S[1]),"AM"!==T(M,2)&&"PM"!==T(M,2)||(_+=12),e=A(y,b-1,w,_,k));else if(14==e.length)P=e.replace(/\D/g,""),e=A(P.substr(0,4),P.substr(4,2)-1,O(P.substr(6,2)),O(P.substr(8,2)),O(P.substr(10,2)),O(P.substr(12,2)));else if(e.length>7)P=e.replace(/\D/g,""),e=A(P.substr(0,4),P.substr(4,2)-1,O(P.substr(6,2)));else if(e.length>4)P=e.replace(/\D/g,""),e=A(P.substr(0,4),P.substr(4,2)-1,1);else{if(e.length>2)return A((P=e.replace(/\D/g,"")).substr(0,4),P.substr(4,2)-1,1);e=new Date}return void 0===t||void 0===e?e:("add"in t&&(e=function(e,t){var i=void 0,n=void 0,o=void 0,r=void 0;return void 0!==t.d?e.setTime(e.getTime()+864e5*t.d):void 0!==t.m?(i=e.getFullYear(),n=e.getMonth(),o=e.getDate(),(r=E(i+=parseInt(t.m/12),n+=t.m%12))=t||i<0||u&&e-c>=r}function m(){var e=Date.now();if(p(e))return g(e);s=setTimeout(m,function(e){var i=e-c,n=t-(e-l);return u?Math.min(n,r-i):n}(e))}function g(e){return s=void 0,h&&n?f(e):(n=o=void 0,a)}function v(){for(var e=Date.now(),i=p(e),r=arguments.length,h=Array(r),g=0;g\&\"]/gm,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";case'"':return""";default:return e}}):""}function Y(e){return"[object String]"!=v.call(e)?e:e?e.replace(/(<)|(>)|(&)|(")/gm,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";case""":return'"';default:return e}}):""}return{alert:function(e){return t.alert(b(e)),e},each:y,map:function(e,t){if(S(e))return[];var i=void 0,n=0,o=e.length,r=[],a=void 0;if(w(e)){for(i in e)if(void 0!==e[i]){if(a=void 0,!1===(a=t.call(e[i],i,e[i])))break;r.push(a)}}else for(;n0&&(void 0===t[n]||!1!==(o=i.call(e,o,t[--n]))););return o},filter:function(e,t){if(S(e))return[];var i,n=0,o=e.length,r=[];if(w(e))for(i in e)void 0!==e[i]&&t.call(e[i],i,e[i])&&r.push(e[i]);else for(;n7&&I(e)instanceof Date)return!0;if((e=e.replace(/\D/g,"")).length>7){var i=e.substr(4,2),n=e.substr(6,2);(e=I(e)).getMonth()==i-1&&e.getDate()==n&&(t=!0)}}return t},stopEvent:function(e){e||(e=window.event);return e.cancelBubble=!0,e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1},selectRange:F,debounce:L,throttle:function(e,t,i){var n=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return w(i)&&(n="leading"in i?!!i.leading:n,o="trailing"in i?!!i.trailing:o),L(e,t,{leading:n,maxWait:t,trailing:o})},escapeHtml:W,unescapeHtml:Y,string:function(e){return new function(e){this.value=e,this.toString=function(){return this.value},this.format=function(){for(var e=[],t=0,i=arguments.length;t.5?l/(2-r-a):l/(r+a),r){case e:n=(t-i)/l+(t1&&(i-=1),i<1/6?e+6*(t-e)*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}if(e=c(e,360),t=c(t,100),i=c(i,100),0===t)n=o=r=i;else{var s=i<.5?i*(1+t):i+t-i*t,l=2*i-s;n=a(l,s,e+1/3),o=a(l,s,e),r=a(l,s,e-1/3)}return{r:255*n,g:255*o,b:255*r}}return new function(t){this._originalValue=t,t=function(e){var t=void 0;return(t=r.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=r.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=r.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=r.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=r.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=r.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=r.hex8.exec(e))?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16),a:parseInt(t[4]/255,16),format:"hex8"}:(t=r.hex6.exec(e))?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16),format:"hex"}:(t=r.hex4.exec(e))?{r:parseInt(t[1]+""+t[1],16),g:parseInt(t[2]+""+t[2],16),b:parseInt(t[3]+""+t[3],16),a:parseInt(t[4]+""+t[4],16),format:"hex8"}:!!(t=r.hex3.exec(e))&&{r:parseInt(t[1]+""+t[1],16),g:parseInt(t[2]+""+t[2],16),b:parseInt(t[3]+""+t[3],16),format:"hex"}}(t),this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a||1,this._format=t.format,this._hex=l(this.r)+l(this.g)+l(this.b),this.getHexValue=function(){return this._hex},this.lighten=function(t){t=0===t?0:t||10;var i,n=d(this.r,this.g,this.b);return n.l+=t/100,n.l=Math.min(1,Math.max(0,n.l)),n.h=360*n.h,e("rgba("+s((i=u(n.h,a(n.s),a(n.l))).r)+", "+s(i.g)+", "+s(i.b)+", "+this.a+")")},this.darken=function(t){t=0===t?0:t||10;var i,n=d(this.r,this.g,this.b);return n.l-=t/100,n.l=Math.min(1,Math.max(0,n.l)),n.h=360*n.h,e("rgba("+s((i=u(n.h,a(n.s),a(n.l))).r)+", "+s(i.g)+", "+s(i.b)+", "+this.a+")")},this.getBrightness=function(){return(299*this.r+587*this.g+114*this.b)/1e3},this.isDark=function(){return this.getBrightness()<128},this.isLight=function(){return!this.isDark()},this.getHsl=function(){var e=d(this.r,this.g,this.b);return e.l=Math.min(1,Math.max(0,e.l)),e.h=360*e.h,{h:e.h,s:e.s,l:e.l}}}(t)}}}(),"object"===("undefined"==typeof module?"undefined":_typeof(module))&&"object"===_typeof(module.exports)?module.exports=p:e.ax5=p}).call("undefined"!=typeof window?window:void 0),ax5.def={},ax5.info.errorMsg.ax5dialog={501:"Duplicate call error"},ax5.info.errorMsg.ax5picker={401:"Can not find target element",402:"Can not find boundID",501:"Can not find content key"},ax5.info.errorMsg["single-uploader"]={460:"There are no files to be uploaded.",461:"There is no uploaded files."},ax5.info.errorMsg.ax5calendar={401:"Can not find target element"},ax5.info.errorMsg.ax5formatter={401:"Can not find target element",402:"Can not find boundID",501:"Can not find pattern"},ax5.info.errorMsg.ax5menu={501:"Can not find menu item"},ax5.info.errorMsg.ax5select={401:"Can not find target element",402:"Can not find boundID",501:"Can not find option"},ax5.info.errorMsg.ax5combobox={401:"Can not find target element",402:"Can not find boundID",501:"Can not find option"},function(){"use strict";var e,t,i,n,o,r,a=/^\s*|\s*$/g;(Object.keys||(Object.keys=(e=Object.prototype.hasOwnProperty,t=!{toString:null}.propertyIsEnumerable("toString"),n=(i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(o){if("object"!==(void 0===o?"undefined":_typeof(o))&&("function"!=typeof o||null===o))throw new TypeError("type err");var r,a,s=[];for(r in o)e.call(o,r)&&s.push(r);if(t)for(a=0;a>>0;if("function"!=typeof e)throw TypeError();var n,o=arguments[1];for(n=0;ni));n+=1);return e.removeRule(0),a};document.querySelectorAll=function(e){return t(e,1/0)},document.querySelector=function(e){return t(e,1)[0]||null}}}(),String.prototype.trim||(String.prototype.trim=function(){return this.replace(a,"")}),window.JSON||(window.JSON={parse:function(e){return new Function("","return "+e)()},stringify:(r=/["]/g,o=function(e){var t,i,n;switch(t=void 0===e?"undefined":_typeof(e)){case"string":return'"'+e.replace(r,'\\"')+'"';case"number":case"boolean":return e.toString();case"undefined":return"undefined";case"function":return'""';case"object":if(!e)return"null";if(t="",e.splice){for(i=0,n=e.length;i=9)return!1;var e=Array.prototype.splice;Array.prototype.splice=function(){var t=Array.prototype.slice.call(arguments);return void 0===t[1]&&(t[1]=this.length-t[0]),e.apply(this,t)}}(),function(){var e=Array.prototype.slice;try{e.call(document.documentElement)}catch(t){Array.prototype.slice=function(t,i){if(i=void 0!==i?i:this.length,"[object Array]"===Object.prototype.toString.call(this))return e.call(this,t,i);var n,o,r=[],a=this.length,s=t||0;s=s>=0?s:Math.max(0,a+s);var l="number"==typeof i?Math.min(i,a):a;if(i<0&&(l=a+i),(o=l-s)>0)if(r=new Array(o),this.charAt)for(n=0;n":">",'"':""","'":"'","/":"/"};var d=/\s*/,u=/\s+/,h=/\s*=/,f=/\s*\}/,p=/#|\^|\/|>|\{|&|=|!/;function m(e){this.string=e,this.tail=e,this.pos=0}function g(e,t){this.view=e,this.cache={".":this.view,"@each":function(){var e=[];for(var t in this)e.push({"@key":t,"@value":this[t]});return e}},this.parent=t}function v(){this.cache={}}m.prototype.eos=function(){return""===this.tail},m.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var i=t[0];return this.tail=this.tail.substring(i.length),this.pos+=i.length,i},m.prototype.scanUntil=function(e){var t,i=this.tail.search(e);switch(i){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,i),this.tail=this.tail.substring(i)}return this.pos+=t.length,t},g.prototype.push=function(e){return new g(e,this)},g.prototype.lookup=function(e){var t,i=this.cache;if(i.hasOwnProperty(e))t=i[e];else{for(var o,a,s=this,l=!1;s;){if(e.indexOf(".")>0)for(t=s.view,o=e.split("."),a=0;null!=t&&a0?o[o.length-1][4]:i;break;default:n.push(t)}return i}(function(e){for(var t,i,n=[],o=0,r=e.length;o"===r?a=this.renderPartial(o,t,i,n):"&"===r?a=this.unescapedValue(o,t):"name"===r?a=this.escapedValue(o,t):"text"===r&&(a=this.rawValue(o)),void 0!==a&&(s+=a);return s},v.prototype.renderSection=function(e,t,o,r){var a=this,s="",l=t.lookup(e[1]);if(l){if(i(l))for(var c=0,d=l.length;c"'\/]/g,function(e){return c[e]})},e.Scanner=m,e.Context=g,e.Writer=v}),function(){var e=ax5.ui,t=ax5.util,i=void 0;e.addClass({className:"mask"},function(){var n,o=this;this.instanceId=ax5.getGuid(),this.config={theme:"",target:jQuery(document.body).get(0),animateTime:250},this.maskContent="",this.status="off",n=this.config;var r=function(e,t){return e&&e.onStateChanged?e.onStateChanged.call(t,t):this.onStateChanged&&this.onStateChanged.call(t,t),e=null,t=null,!0},a=function(e){this.maskContent=e};this.init=function(){this.onStateChanged=n.onStateChanged,this.onClick=n.onClick,this.config.content&&a.call(this,this.config.content)},this.open=function(e){"on"===this.status&&this.close(),e&&e.content&&a.call(this,e.content),e&&void 0===e.templateName&&(e.templateName="defaultMask"),o.maskConfig=jQuery.extend(!0,{},this.config,e);var t=o.maskConfig,n=t.target,s=jQuery(n),l="ax-mask-"+ax5.getGuid(),c=void 0,d={},u={},h=t.templateName,f=function(e){return void 0===e.templateName&&(e.templateName="defaultMask"),i.tmpl.get.call(this,e.templateName,e)}({theme:t.theme,maskId:l,body:this.maskContent,templateName:h});return jQuery(document.body).append(f),n&&n!==jQuery(document.body).get(0)&&(d={position:t.position||"absolute",left:s.offset().left,top:s.offset().top,width:s.outerWidth(),height:s.outerHeight()},s.addClass("ax-masking"),jQuery(window).on("resize.ax5mask-"+this.instanceId,function(e){this.align()}.bind(this))),void 0!==o.maskConfig.zIndex&&(d["z-index"]=o.maskConfig.zIndex),this.$mask=c=jQuery("#"+l),this.$target=s,this.status="on",c.css(d),t.onClick&&c.on("click",function(e){u={self:o,state:"open",type:"click"},o.maskConfig.onClick.call(u,u)}),r.call(this,null,{self:this,state:"open"}),e=null,t=null,n=null,s=null,l=null,c=null,d=null,u=null,h=null,f=null,this},this.close=function(e){if(this.$mask){var t=function(){this.status="off",this.$mask.remove(),this.$target.removeClass("ax-masking"),r.call(this,null,{self:this,state:"close"}),jQuery(window).off("resize.ax5mask-"+this.instanceId)};e?setTimeout(function(){t.call(this)}.bind(this),e):t.call(this)}return this},this.fadeOut=function(){return this.$mask&&(this.$mask.addClass("fade-out"),setTimeout(function(){(function(){this.status="off",this.$mask.remove(),this.$target.removeClass("ax-masking"),r.call(this,null,{self:this,state:"close"}),jQuery(window).off("resize.ax5mask-"+this.instanceId)}).call(this)}.bind(this),n.animateTime)),this},this.align=function(){if(this.maskConfig&&this.maskConfig.target&&this.maskConfig.target!==jQuery(document.body).get(0))try{var e={position:this.maskConfig.position||"absolute",left:this.$target.offset().left,top:this.$target.offset().top,width:this.$target.outerWidth(),height:this.$target.outerHeight()};this.$mask.css(e)}catch(e){}return this},this.pullRequest=function(){console.log("test pullRequest01"),console.log("test pullRequest02")},this.main=function(){e.mask_instance=e.mask_instance||[],e.mask_instance.push(this),arguments&&t.isObject(arguments[0])&&this.setConfig(arguments[0])}.apply(this,arguments)}),i=ax5.ui.mask}(),function(){var e=ax5.ui.mask;e.tmpl={defaultMask:function(e){return'\n
\n
\n
\n
\n {{{body}}}\n
\n
\n
\n '},get:function(t,i,n){return ax5.mustache.render(e.tmpl[t].call(this,n),i)}}}(),function(){var e=ax5.ui,t=ax5.util,i=void 0;e.addClass({className:"modal"},function(){var n,o=this,r={mousedown:ax5.info.supportTouch?"touchstart":"mousedown",mousemove:ax5.info.supportTouch?"touchmove":"mousemove",mouseup:ax5.info.supportTouch?"touchend":"mouseup"},a=function(e){var t=e;return"changedTouches"in e&&e.changedTouches&&(t=e.changedTouches[0]),{clientX:t.clientX,clientY:t.clientY}};this.instanceId=ax5.getGuid(),this.config={id:"ax5-modal-"+this.instanceId,position:{left:"center",top:"middle",margin:10},minimizePosition:"bottom-right",clickEventName:"ontouchstart"in document.documentElement?"touchstart":"click",theme:"default",width:300,height:400,closeToEsc:!0,disableDrag:!1,disableResize:!1,animateTime:250,iframe:!1},this.activeModal=null,this.watingModal=!1,this.$={},n=this.config;var s=function(e,t){var i={resize:function(t){e&&e.onResize?e.onResize.call(t,t):this.onResize&&this.onResize.call(t,t)},move:function(){}};return t.state in i&&i[t.state].call(this,t),e&&e.onStateChanged?e.onStateChanged.call(t,t):this.onStateChanged&&this.onStateChanged.call(t,t),!0},l=function(e,n){var l=void 0;jQuery(document.body).append(function(e,t){var n={modalId:e,theme:t.theme,header:t.header,fullScreen:t.fullScreen?"fullscreen":"",styles:"",iframe:t.iframe,iframeLoadingMsg:t.iframeLoadingMsg,disableResize:t.disableResize};return t.zIndex&&(n.styles+="z-index:"+t.zIndex+";"),t.absolute&&(n.styles+="position:absolute;"),n.iframe&&"string"==typeof n.iframe.param&&(n.iframe.param=ax5.util.param(n.iframe.param)),i.tmpl.get.call(this,"content",n,{})}.call(this,e.id,e)),this.activeModal=jQuery("#"+e.id),this.$={root:this.activeModal,header:this.activeModal.find('[data-modal-els="header"]'),body:this.activeModal.find('[data-modal-els="body"]')},e.iframe?(this.$["iframe-wrap"]=this.activeModal.find('[data-modal-els="iframe-wrap"]'),this.$.iframe=this.activeModal.find('[data-modal-els="iframe"]'),this.$["iframe-form"]=this.activeModal.find('[data-modal-els="iframe-form"]'),this.$["iframe-loading"]=this.activeModal.find('[data-modal-els="iframe-loading"]')):this.$["body-frame"]=this.activeModal.find('[data-modal-els="body-frame"]'),this.align(),l={self:this,id:e.id,theme:e.theme,width:e.width,height:e.height,state:"open",$:this.$},e.iframe&&(this.$["iframe-wrap"].css({height:e.height}),this.$.iframe.css({height:e.height}),this.$["iframe-form"].attr({method:e.iframe.method}),this.$["iframe-form"].attr({target:e.id+"-frame"}),this.$["iframe-form"].attr({action:e.iframe.url}),this.$.iframe.on("load",function(){l.state="load",e.iframeLoadingMsg&&this.$["iframe-loading"].hide(),s.call(this,e,l)}.bind(this)),e.iframeLoadingMsg||this.$.iframe.show(),this.$["iframe-form"].submit()),n&&n.call(l,l),this.watingModal||s.call(this,e,l),e.closeToEsc&&jQuery(window).bind("keydown.ax-modal",function(e){d.call(this,e||window.event)}.bind(this)),jQuery(window).bind("resize.ax-modal",function(e){this.align(null,e||window.event)}.bind(this)),this.$.header.off(r.mousedown).off("dragstart").on(r.mousedown,function(i){var n=t.findParentNode(i.target,function(e){if(e.getAttribute("data-modal-header-btn"))return!0});e.isFullScreen||n||1==e.disableDrag||(o.mousePosition=a(i),h.on.call(o)),n&&c.call(o,i||window.event,e)}).on("dragstart",function(e){return t.stopEvent(e.originalEvent),!1}),this.activeModal.off(r.mousedown).off("dragstart").on(r.mousedown,"[data-ax5modal-resizer]",function(t){if(e.disableDrag||e.isFullScreen)return!1;o.mousePosition=a(t),f.on.call(o,this.getAttribute("data-ax5modal-resizer"))}).on("dragstart",function(e){return t.stopEvent(e.originalEvent),!1})},c=function(e,i,n,o,r){var a=void 0;e.srcElement&&(e.target=e.srcElement),(o=t.findParentNode(e.target,function(e){if(e.getAttribute("data-modal-header-btn"))return!0}))&&(a={self:this,key:r=o.getAttribute("data-modal-header-btn"),value:i.header.btns[r],dialogId:i.id,btnTarget:o},i.header.btns[r].onClick&&i.header.btns[r].onClick.call(a,r)),a=null,i=null,o=null,r=null},d=function(e){e.keyCode==ax5.info.eventKeys.ESC&&this.close()},u={"top-left":function(){this.align({left:"left",top:"top"})},"top-right":function(){this.align({left:"right",top:"top"})},"bottom-left":function(){this.align({left:"left",top:"bottom"})},"bottom-right":function(){this.align({left:"right",top:"bottom"})},"center-middle":function(){this.align({left:"center",top:"middle"})}},h={on:function(){var e=this.activeModal.css("z-index"),t=this.activeModal.offset(),i={width:this.activeModal.outerWidth(),height:this.activeModal.outerHeight()};jQuery(window).width(),jQuery(window).height(),jQuery(document).scrollLeft(),jQuery(document).scrollTop(),o.__dx=0,o.__dy=0,o.resizerBg=jQuery('
'),o.resizer=jQuery('
'),o.resizerBg.css({zIndex:e}),o.resizer.css({left:t.left,top:t.top,width:i.width,height:i.height,zIndex:e+1}),jQuery(document.body).append(o.resizerBg).append(o.resizer),o.activeModal.addClass("draged"),jQuery(document.body).on(r.mousemove+".ax5modal-move-"+this.instanceId,function(e){o.resizer.css(function(e){return o.__dx=e.clientX-o.mousePosition.clientX,o.__dy=e.clientY-o.mousePosition.clientY,{left:t.left+o.__dx,top:t.top+o.__dy}}(e))}).on(r.mouseup+".ax5modal-move-"+this.instanceId,function(e){h.off.call(o)}).on("mouseleave.ax5modal-move-"+this.instanceId,function(e){h.off.call(o)}),jQuery(document.body).attr("unselectable","on").css("user-select","none").on("selectstart",!1)},off:function(){this.activeModal.removeClass("draged"),function(){var e=this.resizer.offset();this.modalConfig.absolute||(e.left-=jQuery(document).scrollLeft(),e.top-=jQuery(document).scrollTop()),this.activeModal.css(e),this.modalConfig.left=e.left,this.modalConfig.top=e.top,e=null}.call(this),this.resizer.remove(),this.resizer=null,this.resizerBg.remove(),this.resizerBg=null,jQuery(document.body).off(r.mousemove+".ax5modal-move-"+this.instanceId).off(r.mouseup+".ax5modal-move-"+this.instanceId).off("mouseleave.ax5modal-move-"+this.instanceId),jQuery(document.body).removeAttr("unselectable").css("user-select","auto").off("selectstart"),s.call(this,o.modalConfig,{self:this,state:"move"})}},f={on:function(e){var t=this.activeModal.css("z-index"),i=this.activeModal.offset(),n={width:this.activeModal.outerWidth(),height:this.activeModal.outerHeight()},a=(jQuery(window).width(),jQuery(window).height(),jQuery(document).scrollLeft(),jQuery(document).scrollTop(),{top:function(e){return l>n.height-o.__dy&&(o.__dy=n.height-l),e.shiftKey?(l>n.height-2*o.__dy&&(o.__dy=(n.height-l)/2),{left:i.left,top:i.top+o.__dy,width:n.width,height:n.height-2*o.__dy}):e.altKey?(l>n.height-2*o.__dy&&(o.__dy=(n.height-l)/2),{left:i.left+o.__dy,top:i.top+o.__dy,width:n.width-2*o.__dy,height:n.height-2*o.__dy}):{left:i.left,top:i.top+o.__dy,width:n.width,height:n.height-o.__dy}},bottom:function(e){return l>n.height+o.__dy&&(o.__dy=-n.height+l),e.shiftKey?(l>n.height+2*o.__dy&&(o.__dy=(-n.height+l)/2),{left:i.left,top:i.top-o.__dy,width:n.width,height:n.height+2*o.__dy}):e.altKey?(l>n.height+2*o.__dy&&(o.__dy=(-n.height+l)/2),{left:i.left-o.__dy,top:i.top-o.__dy,width:n.width+2*o.__dy,height:n.height+2*o.__dy}):{left:i.left,top:i.top,width:n.width,height:n.height+o.__dy}},left:function(e){return s>n.width-o.__dx&&(o.__dx=n.width-s),e.shiftKey?(s>n.width-2*o.__dx&&(o.__dx=(n.width-s)/2),{left:i.left+o.__dx,top:i.top,width:n.width-2*o.__dx,height:n.height}):e.altKey?(s>n.width-2*o.__dx&&(o.__dx=(n.width-s)/2),{left:i.left+o.__dx,top:i.top+o.__dx,width:n.width-2*o.__dx,height:n.height-2*o.__dx}):{left:i.left+o.__dx,top:i.top,width:n.width-o.__dx,height:n.height}},right:function(e){return s>n.width+o.__dx&&(o.__dx=-n.width+s),e.shiftKey?(s>n.width+2*o.__dx&&(o.__dx=(-n.width+s)/2),{left:i.left-o.__dx,top:i.top,width:n.width+2*o.__dx,height:n.height}):e.altKey?(s>n.width+2*o.__dx&&(o.__dx=(-n.width+s)/2),{left:i.left-o.__dx,top:i.top-o.__dx,width:n.width+2*o.__dx,height:n.height+2*o.__dx}):{left:i.left,top:i.top,width:n.width+o.__dx,height:n.height}},"top-left":function(e){return s>n.width-o.__dx&&(o.__dx=n.width-s),l>n.height-o.__dy&&(o.__dy=n.height-l),e.shiftKey||e.altKey?(l>n.height-2*o.__dy&&(o.__dy=(n.height-l)/2),s>n.width-2*o.__dx&&(o.__dx=(n.width-s)/2),{left:i.left+o.__dx,top:i.top+o.__dy,width:n.width-2*o.__dx,height:n.height-2*o.__dy}):(l>n.height-2*o.__dy&&(o.__dy=(n.height-l)/2),s>n.width-2*o.__dx&&(o.__dx=(n.width-s)/2),{left:i.left+o.__dx,top:i.top+o.__dy,width:n.width-o.__dx,height:n.height-o.__dy})},"top-right":function(e){return s>n.width+o.__dx&&(o.__dx=-n.width+s),l>n.height-o.__dy&&(o.__dy=n.height-l),e.shiftKey||e.altKey?(l>n.height-2*o.__dy&&(o.__dy=(n.height-l)/2),s>n.width+2*o.__dx&&(o.__dx=(-n.width+s)/2),{left:i.left-o.__dx,top:i.top+o.__dy,width:n.width+2*o.__dx,height:n.height-2*o.__dy}):{left:i.left,top:i.top+o.__dy,width:n.width+o.__dx,height:n.height-o.__dy}},"bottom-left":function(e){return s>n.width-o.__dx&&(o.__dx=n.width-s),l>n.height+o.__dy&&(o.__dy=-n.height+l),e.shiftKey||e.altKey?(s>n.width-2*o.__dx&&(o.__dx=(n.width-s)/2),l>n.height+2*o.__dy&&(o.__dy=(-n.height+l)/2),{left:i.left+o.__dx,top:i.top-o.__dy,width:n.width-2*o.__dx,height:n.height+2*o.__dy}):{left:i.left+o.__dx,top:i.top,width:n.width-o.__dx,height:n.height+o.__dy}},"bottom-right":function(e){return s>n.width+o.__dx&&(o.__dx=-n.width+s),l>n.height+o.__dy&&(o.__dy=-n.height+l),e.shiftKey||e.altKey?(s>n.width+2*o.__dx&&(o.__dx=(-n.width+s)/2),l>n.height+2*o.__dy&&(o.__dy=(-n.height+l)/2),{left:i.left-o.__dx,top:i.top-o.__dy,width:n.width+2*o.__dx,height:n.height+2*o.__dy}):{left:i.left,top:i.top,width:n.width+o.__dx,height:n.height+o.__dy}}}),s=100,l=100,c={top:"row-resize",bottom:"row-resize",left:"col-resize",right:"col-resize","top-left":"nwse-resize","top-right":"nesw-resize","bottom-left":"nesw-resize","bottom-right":"nwse-resize"};o.__dx=0,o.__dy=0,o.resizerBg=jQuery('
'),o.resizer=jQuery('
'),o.resizerBg.css({zIndex:t,cursor:c[e]}),o.resizer.css({left:i.left,top:i.top,width:n.width,height:n.height,zIndex:t+1,cursor:c[e]}),jQuery(document.body).append(o.resizerBg).append(o.resizer),o.activeModal.addClass("draged"),jQuery(document.body).bind(r.mousemove+".ax5modal-resize-"+this.instanceId,function(t){o.resizer.css(function(t){return o.__dx=t.clientX-o.mousePosition.clientX,o.__dy=t.clientY-o.mousePosition.clientY,a[e](t)}(t))}).bind(r.mouseup+".ax5modal-resize-"+this.instanceId,function(e){f.off.call(o)}).bind("mouseleave.ax5modal-resize-"+this.instanceId,function(e){f.off.call(o)}),jQuery(document.body).attr("unselectable","on").css("user-select","none").bind("selectstart",!1)},off:function(){this.activeModal.removeClass("draged"),function(){var e=this.resizer.offset();jQuery.extend(e,{width:this.resizer.width(),height:this.resizer.height()}),this.modalConfig.absolute||(e.left-=jQuery(document).scrollLeft(),e.top-=jQuery(document).scrollTop()),this.activeModal.css(e),this.modalConfig.left=e.left,this.modalConfig.top=e.top,this.modalConfig.width=e.width,this.modalConfig.height=e.height,this.$.body.css({height:e.height-this.modalConfig.headerHeight}),this.modalConfig.iframe&&(this.$["iframe-wrap"].css({height:e.height-this.modalConfig.headerHeight}),this.$.iframe.css({height:e.height-this.modalConfig.headerHeight})),e=null}.call(this),this.resizer.remove(),this.resizer=null,this.resizerBg.remove(),this.resizerBg=null,s.call(this,o.modalConfig,{self:this,state:"resize"}),jQuery(document.body).unbind(r.mousemove+".ax5modal-resize-"+this.instanceId).unbind(r.mouseup+".ax5modal-resize-"+this.instanceId).unbind("mouseleave.ax5modal-resize-"+this.instanceId),jQuery(document.body).removeAttr("unselectable").css("user-select","auto").unbind("selectstart")}};this.init=function(){this.onStateChanged=n.onStateChanged,this.onResize=n.onResize},this.open=function(e,t,i){return void 0===i&&(i=0),this.activeModal?i<3?(this.watingModal=!0,setTimeout(function(){this.open(e,t,i+1)}.bind(this),n.animateTime)):this.watingModal=!1:(e=o.modalConfig=jQuery.extend(!0,{},n,e),l.call(this,e,t),this.watingModal=!1),this},this.close=function(e){var i=void 0,r=void 0;return this.activeModal&&(i=o.modalConfig,this.activeModal.addClass("destroy"),jQuery(window).unbind("keydown.ax-modal"),jQuery(window).unbind("resize.ax-modal"),setTimeout(function(){if(i.iframe){var n=this.$.iframe;if(n){var o=n.get(0),a=o.contentDocument?o.contentDocument:o.contentWindow.document;try{$(a.body).children().each(function(){$(this).remove()})}catch(e){}a.innerHTML="",n.attr("src","about:blank").remove(),window.CollectGarbage&&window.CollectGarbage()}}this.activeModal.remove(),this.activeModal=null,this.watingModal||s.call(this,i,{self:this,state:"close"}),e&&t.isFunction(e.callback)&&(r={self:this,id:i.id,theme:i.theme,width:i.width,height:i.height,state:"close",$:this.$},e.callback.call(r,r))}.bind(this),n.animateTime)),this.minimized=!1,this},this.minimize=function(e){if(!0!==this.minimized){var t=o.modalConfig;void 0===e&&(e=n.minimizePosition),this.minimized=!0,this.$.body.hide(),o.modalConfig.originalHeight=t.height,o.modalConfig.height=0,u[e].call(this),s.call(this,t,{self:this,state:"minimize"})}return this},this.restore=function(){var e=o.modalConfig;return this.minimized&&(this.minimized=!1,this.$.body.show(),o.modalConfig.height=o.modalConfig.originalHeight,o.modalConfig.originalHeight=void 0,this.align({left:"center",top:"middle"}),s.call(this,e,{self:this,state:"restore"})),this},this.css=function(e){return this.activeModal&&!o.fullScreen&&(this.activeModal.css(e),void 0!==e.width&&(o.modalConfig.width=e.width),void 0!==e.height&&(o.modalConfig.height=e.height),this.align()),this},this.setModalConfig=function(e){return o.modalConfig=jQuery.extend({},o.modalConfig,e),this.align(),this},this.align=function(e,i){if(!this.activeModal)return this;var n,r=o.modalConfig,a={width:r.width,height:r.height};return(r.isFullScreen=void 0!==(n=r.fullScreen)&&(t.isFunction(n)?n():void 0))?(r.header&&this.$.header.show(),r.header?(r.headerHeight=this.$.header.outerHeight(),a.height+=r.headerHeight):r.headerHeight=0,a.width=jQuery(window).width(),a.height=r.height,a.left=0,a.top=0):(r.header&&this.$.header.show(),e&&jQuery.extend(!0,r.position,e),r.header?(r.headerHeight=this.$.header.outerHeight(),a.height+=r.headerHeight):r.headerHeight=0,"left"==r.position.left?a.left=r.position.margin||0:"right"==r.position.left?a.left=jQuery(window).width()-a.width-(r.position.margin||0):"center"==r.position.left?a.left=jQuery(window).width()/2-a.width/2:a.left=r.position.left||0,"top"==r.position.top?a.top=r.position.margin||0:"bottom"==r.position.top?a.top=jQuery(window).height()-a.height-(r.position.margin||0):"middle"==r.position.top?a.top=jQuery(window).height()/2-a.height/2:a.top=r.position.top||0,a.left<0&&(a.left=0),a.top<0&&(a.top=0),r.absolute&&(a.top+=jQuery(window).scrollTop(),a.left+=jQuery(window).scrollLeft())),this.activeModal.css(a),this.$.body.css({height:a.height-(r.headerHeight||0)}),r.iframe&&(this.$["iframe-wrap"].css({height:a.height-r.headerHeight}),this.$.iframe.css({height:a.height-r.headerHeight})),this},this.main=function(){e.modal_instance=e.modal_instance||[],e.modal_instance.push(this),arguments&&t.isObject(arguments[0])&&this.setConfig(arguments[0])}.apply(this,arguments)}),i=ax5.ui.modal}(),function(){var e=ax5.ui.modal;e.tmpl={content:function(){return' \n
\n {{#header}}\n
\n {{{title}}}\n {{#btns}}\n
\n {{#@each}}\n \n {{/@each}}\n
\n {{/btns}}\n
\n {{/header}}\n
\n {{#iframe}}\n
\n
{{{iframeLoadingMsg}}}
\n \n
\n
\n \n {{#param}}\n {{#@each}}\n \n {{/@each}}\n {{/param}}\n
\n {{/iframe}}\n {{^iframe}}\n
\n {{/iframe}}\n
\n {{^disableResize}}\n
\n
\n
\n
\n
\n
\n
\n
\n {{/disableResize}}\n
\n '},get:function(t,i,n){return ax5.mustache.render(e.tmpl[t].call(this,n),i)}}}(),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){"use strict";var t=!1,i=!1,n=0,o=2e3,r=0,a=e,s=document,l=window,c=a(l),d=[];var u=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||!1,h=l.cancelAnimationFrame||l.webkitCancelAnimationFrame||l.mozCancelAnimationFrame||!1;if(u)l.cancelAnimationFrame||(h=function(e){});else{var f=0;u=function(e,t){var i=(new Date).getTime(),n=Math.max(0,16-(i-f)),o=l.setTimeout(function(){e(i+n)},n);return f=i+n,o},h=function(e){l.clearTimeout(e)}}var p,m,g,v=l.MutationObserver||l.WebKitMutationObserver||!1,y=Date.now||function(){return(new Date).getTime()},b={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"6px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:40,mousescrollstep:27,touchbehavior:!1,emulatetouch:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,railhoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0},disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:.3,rtlmode:"auto",cursordragontouch:!1,oneaxismousemode:"auto",scriptpath:(m=s.currentScript||!!(p=s.getElementsByTagName("script")).length&&p[p.length-1],g=m?m.src.split("?")[0]:"",g.split("/").length>0?g.split("/").slice(0,-1).join("/")+"/":""),preventmultitouchscrolling:!0,disablemutationobserver:!1,enableobserver:!0,scrollbarid:!1},w=!1,_=function(e,f){var p=this;this.version="3.7.4",this.name="nicescroll",this.me=f;var m=a("body"),g=this.opt={doc:m,win:!1};if(a.extend(g,b),g.snapbackspeed=80,e)for(var _ in g)void 0!==e[_]&&(g[_]=e[_]);if(g.disablemutationobserver&&(v=!1),this.doc=g.doc,this.iddoc=this.doc&&this.doc[0]&&this.doc[0].id||"",this.ispage=/^BODY|HTML/.test(g.win?g.win[0].nodeName:this.doc[0].nodeName),this.haswrapper=!1!==g.win,this.win=g.win||(this.ispage?c:this.doc),this.docscroll=this.ispage&&!this.haswrapper?c:this.win,this.body=m,this.viewport=!1,this.isfixed=!1,this.iframe=!1,this.isiframe="IFRAME"==this.doc[0].nodeName&&"IFRAME"==this.win[0].nodeName,this.istextarea="TEXTAREA"==this.win[0].nodeName,this.forcescreen=!1,this.canshowonmouseevent="scroll"!=g.autohidemode,this.onmousedown=!1,this.onmouseup=!1,this.onmousemove=!1,this.onmousewheel=!1,this.onkeypress=!1,this.ongesturezoom=!1,this.onclick=!1,this.onscrollstart=!1,this.onscrollend=!1,this.onscrollcancel=!1,this.onzoomin=!1,this.onzoomout=!1,this.view=!1,this.page=!1,this.scroll={x:0,y:0},this.scrollratio={x:0,y:0},this.cursorheight=20,this.scrollvaluemax=0,"auto"==g.rtlmode){var x=this.win[0]==l?this.body:this.win,D=x.css("writing-mode")||x.css("-webkit-writing-mode")||x.css("-ms-writing-mode")||x.css("-moz-writing-mode");"horizontal-tb"==D||"lr-tb"==D||""===D?(this.isrtlmode="rtl"==x.css("direction"),this.isvertical=!1):(this.isrtlmode="vertical-rl"==D||"tb"==D||"tb-rl"==D||"rl-tb"==D,this.isvertical="vertical-rl"==D||"tb"==D||"tb-rl"==D)}else this.isrtlmode=!0===g.rtlmode,this.isvertical=!1;if(this.scrollrunning=!1,this.scrollmom=!1,this.observer=!1,this.observerremover=!1,this.observerbody=!1,!1!==g.scrollbarid)this.id=g.scrollbarid;else do{this.id="ascrail"+o++}while(s.getElementById(this.id));this.rail=!1,this.cursor=!1,this.cursorfreezed=!1,this.selectiondrag=!1,this.zoom=!1,this.zoomactive=!1,this.hasfocus=!1,this.hasmousefocus=!1,this.visibility=!0,this.railslocked=!1,this.locked=!1,this.hidden=!1,this.cursoractive=!0,this.wheelprevented=!1,this.overflowx=g.overflowx,this.overflowy=g.overflowy,this.nativescrollingarea=!1,this.checkarea=0,this.events=[],this.saved={},this.delaylist={},this.synclist={},this.lastdeltax=0,this.lastdeltay=0,this.detected=function(){if(w)return w;var e=s.createElement("DIV"),t=e.style,i=navigator.userAgent,n=navigator.platform,o={};return o.haspointerlock="pointerLockElement"in s||"webkitPointerLockElement"in s||"mozPointerLockElement"in s,o.isopera="opera"in l,o.isopera12=o.isopera&&"getUserMedia"in navigator,o.isoperamini="[object OperaMini]"===Object.prototype.toString.call(l.operamini),o.isie="all"in s&&"attachEvent"in e&&!o.isopera,o.isieold=o.isie&&!("msInterpolationMode"in t),o.isie7=o.isie&&!o.isieold&&(!("documentMode"in s)||7===s.documentMode),o.isie8=o.isie&&"documentMode"in s&&8===s.documentMode,o.isie9=o.isie&&"performance"in l&&9===s.documentMode,o.isie10=o.isie&&"performance"in l&&10===s.documentMode,o.isie11="msRequestFullscreen"in e&&s.documentMode>=11,o.ismsedge="msCredentials"in l,o.ismozilla="MozAppearance"in t,o.iswebkit=!o.ismsedge&&"WebkitAppearance"in t,o.ischrome=o.iswebkit&&"chrome"in l,o.ischrome38=o.ischrome&&"touchAction"in t,o.ischrome22=!o.ischrome38&&o.ischrome&&o.haspointerlock,o.ischrome26=!o.ischrome38&&o.ischrome&&"transition"in t,o.cantouch="ontouchstart"in s.documentElement||"ontouchstart"in l,o.hasw3ctouch=!!l.PointerEvent&&(navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0),o.hasmstouch=!o.hasw3ctouch&&(l.MSPointerEvent||!1),o.ismac=/^mac$/i.test(n),o.isios=o.cantouch&&/iphone|ipad|ipod/i.test(n),o.isios4=o.isios&&!("seal"in Object),o.isios7=o.isios&&"webkitHidden"in s,o.isios8=o.isios&&"hidden"in s,o.isios10=o.isios&&l.Proxy,o.isandroid=/android/i.test(i),o.haseventlistener="addEventListener"in e,o.trstyle=!1,o.hastransform=!1,o.hastranslate3d=!1,o.transitionstyle=!1,o.hastransition=!1,o.transitionend=!1,o.trstyle="transform",o.hastransform="transform"in t||function(){for(var e=["msTransform","webkitTransform","MozTransform","OTransform"],i=0,n=e.length;i=1?this.ed:this.st+this.df*t|0},update:function(e,t){return this.st=this.getNow(),this.ed=e,this.spd=t,this.ts=y(),this.df=this.ed-this.st,this}},this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"},S.hastranslate3d&&S.isios&&this.doc.css("-webkit-backface-visibility","hidden"),this.getScrollTop=function(e){if(!e){var t=T();if(t)return 16==t.length?-t[13]:-t[5];if(p.timerscroll&&p.timerscroll.bz)return p.timerscroll.bz.getNow()}return p.doc.translate.y},this.getScrollLeft=function(e){if(!e){var t=T();if(t)return 16==t.length?-t[12]:-t[4];if(p.timerscroll&&p.timerscroll.bh)return p.timerscroll.bh.getNow()}return p.doc.translate.x},this.notifyScrollEvent=function(e){var t=s.createEvent("UIEvents");t.initUIEvent("scroll",!1,!1,l,1),t.niceevent=!0,e.dispatchEvent(t)};var C=this.isrtlmode?1:-1;S.hastranslate3d&&g.enabletranslate3d?(this.setScrollTop=function(e,t){p.doc.translate.y=e,p.doc.translate.ty=-1*e+"px",p.doc.css(S.trstyle,"translate3d("+p.doc.translate.tx+","+p.doc.translate.ty+",0)"),t||p.notifyScrollEvent(p.win[0])},this.setScrollLeft=function(e,t){p.doc.translate.x=e,p.doc.translate.tx=e*C+"px",p.doc.css(S.trstyle,"translate3d("+p.doc.translate.tx+","+p.doc.translate.ty+",0)"),t||p.notifyScrollEvent(p.win[0])}):(this.setScrollTop=function(e,t){p.doc.translate.y=e,p.doc.translate.ty=-1*e+"px",p.doc.css(S.trstyle,"translate("+p.doc.translate.tx+","+p.doc.translate.ty+")"),t||p.notifyScrollEvent(p.win[0])},this.setScrollLeft=function(e,t){p.doc.translate.x=e,p.doc.translate.tx=e*C+"px",p.doc.css(S.trstyle,"translate("+p.doc.translate.tx+","+p.doc.translate.ty+")"),t||p.notifyScrollEvent(p.win[0])})}else this.getScrollTop=function(){return p.docscroll.scrollTop()},this.setScrollTop=function(e){p.docscroll.scrollTop(e)},this.getScrollLeft=function(){return p.hasreversehr?p.detected.ismozilla?p.page.maxw-Math.abs(p.docscroll.scrollLeft()):p.page.maxw-p.docscroll.scrollLeft():p.docscroll.scrollLeft()},this.setScrollLeft=function(e){return setTimeout(function(){if(p)return p.hasreversehr&&(e=p.detected.ismozilla?-(p.page.maxw-e):p.page.maxw-e),p.docscroll.scrollLeft(e)},1)};this.getTarget=function(e){return!!e&&(e.target?e.target:!!e.srcElement&&e.srcElement)},this.hasParent=function(e,t){if(!e)return!1;for(var i=e.target||e.srcElement||e||!1;i&&i.id!=t;)i=i.parentNode||!1;return!1!==i};var P={thin:1,medium:3,thick:5};function O(e,t,i){var n=e.css(t),o=parseFloat(n);if(isNaN(o)){var r=3==(o=P[n]||0)?i?p.win.outerHeight()-p.win.innerHeight():p.win.outerWidth()-p.win.innerWidth():1;return p.isie8&&o&&(o+=1),r?o:0}return o}this.getDocumentScrollOffset=function(){return{top:l.pageYOffset||s.documentElement.scrollTop,left:l.pageXOffset||s.documentElement.scrollLeft}},this.getOffset=function(){if(p.isfixed){var e=p.win.offset(),t=p.getDocumentScrollOffset();return e.top-=t.top,e.left-=t.left,e}var i=p.win.offset();if(!p.viewport)return i;var n=p.viewport.offset();return{top:i.top-n.top,left:i.left-n.left}},this.updateScrollBar=function(e){var t,i;if(p.ishwscroll)p.rail.css({height:p.win.innerHeight()-(g.railpadding.top+g.railpadding.bottom)}),p.railh&&p.railh.css({width:p.win.innerWidth()-(g.railpadding.left+g.railpadding.right)});else{var n=p.getOffset();if((t={top:n.top,left:n.left-(g.railpadding.left+g.railpadding.right)}).top+=O(p.win,"border-top-width",!0),t.left+=p.rail.align?p.win.outerWidth()-O(p.win,"border-right-width")-p.rail.width:O(p.win,"border-left-width"),(i=g.railoffset)&&(i.top&&(t.top+=i.top),i.left&&(t.left+=i.left)),p.railslocked||p.rail.css({top:t.top,left:t.left,height:(e?e.h:p.win.innerHeight())-(g.railpadding.top+g.railpadding.bottom)}),p.zoom&&p.zoom.css({top:t.top+1,left:1==p.rail.align?t.left-20:t.left+p.rail.width+4}),p.railh&&!p.railslocked){t={top:n.top,left:n.left},(i=g.railhoffset)&&(i.top&&(t.top+=i.top),i.left&&(t.left+=i.left));var o=p.railh.align?t.top+O(p.win,"border-top-width",!0)+p.win.innerHeight()-p.railh.height:t.top+O(p.win,"border-top-width",!0),r=t.left+O(p.win,"border-left-width");p.railh.css({top:o-(g.railpadding.top+g.railpadding.bottom),left:r,width:p.railh.width})}}},this.doRailClick=function(e,t,i){var n,o,r,a;p.railslocked||(p.cancelEvent(e),"pageY"in e||(e.pageX=e.clientX+s.documentElement.scrollLeft,e.pageY=e.clientY+s.documentElement.scrollTop),t?(n=i?p.doScrollLeft:p.doScrollTop,r=i?(e.pageX-p.railh.offset().left-p.cursorwidth/2)*p.scrollratio.x:(e.pageY-p.rail.offset().top-p.cursorheight/2)*p.scrollratio.y,p.unsynched("relativexy"),n(0|r)):(n=i?p.doScrollLeftBy:p.doScrollBy,r=i?p.scroll.x:p.scroll.y,a=i?e.pageX-p.railh.offset().left:e.pageY-p.rail.offset().top,o=i?p.view.w:p.view.h,n(r>=a?o:-o)))},p.newscrolly=p.newscrollx=0,p.hasanimationframe="requestAnimationFrame"in l,p.hascancelanimationframe="cancelAnimationFrame"in l,p.hasborderbox=!1,this.init=function(){if(p.saved.css=[],S.isoperamini)return!0;if(S.isandroid&&!("hidden"in s))return!0;g.emulatetouch=g.emulatetouch||g.touchbehavior,p.hasborderbox=l.getComputedStyle&&"border-box"===l.getComputedStyle(s.body)["box-sizing"];var e={"overflow-y":"hidden"};if((S.isie11||S.isie10)&&(e["-ms-overflow-style"]="none"),p.ishwscroll&&(this.doc.css(S.transitionstyle,S.prefixstyle+"transform 0ms ease-out"),S.transitionend&&p.bind(p.doc,S.transitionend,p.onScrollTransitionEnd,!1)),p.zindex="auto",p.ispage||"auto"!=g.zindex?p.zindex=g.zindex:p.zindex=function(){var e=p.win;if("zIndex"in e)return e.zIndex();for(;e.length>0;){if(9==e[0].nodeType)return!1;var t=e.css("zIndex");if(!isNaN(t)&&0!==t)return parseInt(t);e=e.parent()}return!1}()||"auto",!p.ispage&&"auto"!=p.zindex&&p.zindex>r&&(r=p.zindex),p.isie&&0===p.zindex&&"auto"==g.zindex&&(p.zindex="auto"),!p.ispage||!S.isieold){var o=p.docscroll;p.ispage&&(o=p.haswrapper?p.win:p.doc),p.css(o,e),p.ispage&&(S.isie11||S.isie)&&p.css(a("html"),e),!S.isios||p.ispage||p.haswrapper||p.css(m,{"-webkit-overflow-scrolling":"touch"});var d=a(s.createElement("div"));d.css({position:"relative",top:0,float:"right",width:g.cursorwidth,height:0,"background-color":g.cursorcolor,border:g.cursorborder,"background-clip":"padding-box","-webkit-border-radius":g.cursorborderradius,"-moz-border-radius":g.cursorborderradius,"border-radius":g.cursorborderradius}),d.addClass("nicescroll-cursors"),p.cursor=d;var u=a(s.createElement("div"));u.attr("id",p.id),u.addClass("nicescroll-rails nicescroll-rails-vr");var h,f,y=["left","right","top","bottom"];for(var b in y)f=y[b],(h=g.railpadding[f]||0)&&u.css("padding-"+f,h+"px");u.append(d),u.width=Math.max(parseFloat(g.cursorwidth),d.outerWidth()),u.css({width:u.width+"px",zIndex:p.zindex,background:g.background,cursor:"default"}),u.visibility=!0,u.scrollable=!0,u.align="left"==g.railalign?0:1,p.rail=u,p.rail.drag=!1;var w,_=!1;if(!g.boxzoom||p.ispage||S.isieold||(_=s.createElement("div"),p.bind(_,"click",p.doZoom),p.bind(_,"mouseenter",function(){p.zoom.css("opacity",g.cursoropacitymax)}),p.bind(_,"mouseleave",function(){p.zoom.css("opacity",g.cursoropacitymin)}),p.zoom=a(_),p.zoom.css({cursor:"pointer",zIndex:p.zindex,backgroundImage:"url("+g.scriptpath+"zoomico.png)",height:18,width:18,backgroundPosition:"0 0"}),g.dblclickzoom&&p.bind(p.win,"dblclick",p.doZoom),S.cantouch&&g.gesturezoom&&(p.ongesturezoom=function(e){return e.scale>1.5&&p.doZoomIn(e),e.scale<.8&&p.doZoomOut(e),p.cancelEvent(e)},p.bind(p.win,"gestureend",p.ongesturezoom))),p.railh=!1,g.horizrailenabled&&(p.css(o,{overflowX:"hidden"}),(d=a(s.createElement("div"))).css({position:"absolute",top:0,height:g.cursorwidth,width:0,backgroundColor:g.cursorcolor,border:g.cursorborder,backgroundClip:"padding-box","-webkit-border-radius":g.cursorborderradius,"-moz-border-radius":g.cursorborderradius,"border-radius":g.cursorborderradius}),S.isieold&&d.css("overflow","hidden"),d.addClass("nicescroll-cursors"),p.cursorh=d,(w=a(s.createElement("div"))).attr("id",p.id+"-hr"),w.addClass("nicescroll-rails nicescroll-rails-hr"),w.height=Math.max(parseFloat(g.cursorwidth),d.outerHeight()),w.css({height:w.height+"px",zIndex:p.zindex,background:g.background}),w.append(d),w.visibility=!0,w.scrollable=!0,w.align="top"==g.railvalign?0:1,p.railh=w,p.railh.drag=!1),p.ispage)u.css({position:"fixed",top:0,height:"100%"}),u.css(u.align?{right:0}:{left:0}),p.body.append(u),p.railh&&(w.css({position:"fixed",left:0,width:"100%"}),w.css(w.align?{bottom:0}:{top:0}),p.body.append(w));else{if(p.ishwscroll){"static"==p.win.css("position")&&p.css(p.win,{position:"relative"});var x="HTML"==p.win[0].nodeName?p.body:p.win;a(x).scrollTop(0).scrollLeft(0),p.zoom&&(p.zoom.css({position:"absolute",top:1,right:0,"margin-right":u.width+4}),x.append(p.zoom)),u.css({position:"absolute",top:0}),u.css(u.align?{right:0}:{left:0}),x.append(u),w&&(w.css({position:"absolute",left:0,bottom:0}),w.css(w.align?{bottom:0}:{top:0}),x.append(w))}else{p.isfixed="fixed"==p.win.css("position");var D=p.isfixed?"fixed":"absolute";p.isfixed||(p.viewport=p.getViewport(p.win[0])),p.viewport&&(p.body=p.viewport,/fixed|absolute/.test(p.viewport.css("position"))||p.css(p.viewport,{position:"relative"})),u.css({position:D}),p.zoom&&p.zoom.css({position:D}),p.updateScrollBar(),p.body.append(u),p.zoom&&p.body.append(p.zoom),p.railh&&(w.css({position:D}),p.body.append(w))}S.isios&&p.css(p.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),g.disableoutline&&(S.isie&&p.win.attr("hideFocus","true"),S.iswebkit&&p.win.css("outline","none"))}if(!1===g.autohidemode?(p.autohidedom=!1,p.rail.css({opacity:g.cursoropacitymax}),p.railh&&p.railh.css({opacity:g.cursoropacitymax})):!0===g.autohidemode||"leave"===g.autohidemode?(p.autohidedom=a().add(p.rail),S.isie8&&(p.autohidedom=p.autohidedom.add(p.cursor)),p.railh&&(p.autohidedom=p.autohidedom.add(p.railh)),p.railh&&S.isie8&&(p.autohidedom=p.autohidedom.add(p.cursorh))):"scroll"==g.autohidemode?(p.autohidedom=a().add(p.rail),p.railh&&(p.autohidedom=p.autohidedom.add(p.railh))):"cursor"==g.autohidemode?(p.autohidedom=a().add(p.cursor),p.railh&&(p.autohidedom=p.autohidedom.add(p.cursorh))):"hidden"==g.autohidemode&&(p.autohidedom=!1,p.hide(),p.railslocked=!1),S.cantouch||p.istouchcapable||g.emulatetouch||S.hasmstouch){p.scrollmom=new k(p);p.ontouchstart=function(e){if(p.locked)return!1;if(e.pointerType&&("mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))return!1;if(p.hasmoving=!1,p.scrollmom.timer&&(p.triggerScrollEnd(),p.scrollmom.stop()),!p.railslocked){var t=p.getTarget(e);if(t)if(/INPUT/i.test(t.nodeName)&&/range/i.test(t.type))return p.stopPropagation(e);var i="mousedown"===e.type;if(!("clientX"in e)&&"changedTouches"in e&&(e.clientX=e.changedTouches[0].clientX,e.clientY=e.changedTouches[0].clientY),p.forcescreen){var n=e;(e={original:e.original?e.original:e}).clientX=n.screenX,e.clientY=n.screenY}if(p.rail.drag={x:e.clientX,y:e.clientY,sx:p.scroll.x,sy:p.scroll.y,st:p.getScrollTop(),sl:p.getScrollLeft(),pt:2,dl:!1,tg:t},p.ispage||!g.directionlockdeadzone)p.rail.drag.dl="f";else{var o={w:c.width(),h:c.height()},r=p.getContentSize(),s=r.h-o.h,l=r.w-o.w;p.rail.scrollable&&!p.railh.scrollable?p.rail.drag.ck=s>0&&"v":!p.rail.scrollable&&p.railh.scrollable?p.rail.drag.ck=l>0&&"h":p.rail.drag.ck=!1}if(g.emulatetouch&&p.isiframe&&S.isie){var d=p.win.position();p.rail.drag.x+=d.left,p.rail.drag.y+=d.top}if(p.hasmoving=!1,p.lastmouseup=!1,p.scrollmom.reset(e.clientX,e.clientY),t&&i){if(!/INPUT|SELECT|BUTTON|TEXTAREA/i.test(t.nodeName))return S.hasmousecapture&&t.setCapture(),g.emulatetouch?(t.onclick&&!t._onclick&&(t._onclick=t.onclick,t.onclick=function(e){if(p.hasmoving)return!1;t._onclick.call(this,e)}),p.cancelEvent(e)):p.stopPropagation(e);/SUBMIT|CANCEL|BUTTON/i.test(a(t).attr("type"))&&(p.preventclick={tg:t,click:!1})}}},p.ontouchend=function(e){if(!p.rail.drag)return!0;if(2==p.rail.drag.pt){if(e.pointerType&&("mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))return!1;p.rail.drag=!1;var t="mouseup"===e.type;if(p.hasmoving&&(p.scrollmom.doMomentum(),p.lastmouseup=!0,p.hideCursor(),S.hasmousecapture&&s.releaseCapture(),t))return p.cancelEvent(e)}else if(1==p.rail.drag.pt)return p.onmouseup(e)};var M=g.emulatetouch&&p.isiframe&&!S.hasmousecapture,T=.3*g.directionlockdeadzone|0;p.ontouchmove=function(e,t){if(!p.rail.drag)return!0;if(e.targetTouches&&g.preventmultitouchscrolling&&e.targetTouches.length>1)return!0;if(e.pointerType&&("mouse"===e.pointerType||e.pointerType===e.MSPOINTER_TYPE_MOUSE))return!0;if(2==p.rail.drag.pt){var i,n;if("changedTouches"in e&&(e.clientX=e.changedTouches[0].clientX,e.clientY=e.changedTouches[0].clientY),n=i=0,M&&!t){var o=p.win.position();n=-o.left,i=-o.top}var r=e.clientY+i,a=r-p.rail.drag.y,l=e.clientX+n,c=l-p.rail.drag.x,d=p.rail.drag.st-a;if(p.ishwscroll&&g.bouncescroll)d<0?d=Math.round(d/2):d>p.page.maxh&&(d=p.page.maxh+Math.round((d-p.page.maxh)/2));else if(d<0?(d=0,r=0):d>p.page.maxh&&(d=p.page.maxh,r=0),0===r&&!p.hasmoving)return p.ispage||(p.rail.drag=!1),!0;var u=p.getScrollLeft();if(p.railh&&p.railh.scrollable&&(u=p.isrtlmode?c-p.rail.drag.sl:p.rail.drag.sl-c,p.ishwscroll&&g.bouncescroll?u<0?u=Math.round(u/2):u>p.page.maxw&&(u=p.page.maxw+Math.round((u-p.page.maxw)/2)):(u<0&&(u=0,l=0),u>p.page.maxw&&(u=p.page.maxw,l=0))),!p.hasmoving){if(p.rail.drag.y===e.clientY&&p.rail.drag.x===e.clientX)return p.cancelEvent(e);var h=Math.abs(a),f=Math.abs(c),m=g.directionlockdeadzone;if(p.rail.drag.ck?"v"==p.rail.drag.ck?f>m&&h<=T?p.rail.drag=!1:h>m&&(p.rail.drag.dl="v"):"h"==p.rail.drag.ck&&(h>m&&f<=T?p.rail.drag=!1:f>m&&(p.rail.drag.dl="h")):h>m&&f>m?p.rail.drag.dl="f":h>m?p.rail.drag.dl=f>T?"f":"v":f>m&&(p.rail.drag.dl=h>T?"f":"h"),!p.rail.drag.dl)return p.cancelEvent(e);p.triggerScrollStart(e.clientX,e.clientY,0,0,0),p.hasmoving=!0}return p.preventclick&&!p.preventclick.click&&(p.preventclick.click=p.preventclick.tg.onclick||!1,p.preventclick.tg.onclick=p.onpreventclick),p.rail.drag.dl&&("v"==p.rail.drag.dl?u=p.rail.drag.sl:"h"==p.rail.drag.dl&&(d=p.rail.drag.st)),p.synched("touchmove",function(){p.rail.drag&&2==p.rail.drag.pt&&(p.prepareTransition&&p.resetTransition(),p.rail.scrollable&&p.setScrollTop(d),p.scrollmom.update(l,r),p.railh&&p.railh.scrollable?(p.setScrollLeft(u),p.showCursor(d,u)):p.showCursor(d),S.isie10&&s.selection.clear())}),p.cancelEvent(e)}return 1==p.rail.drag.pt?p.onmousemove(e):void 0},p.ontouchstartCursor=function(e,t){if(!p.rail.drag||3==p.rail.drag.pt){if(p.locked)return p.cancelEvent(e);p.cancelScroll(),p.rail.drag={x:e.touches[0].clientX,y:e.touches[0].clientY,sx:p.scroll.x,sy:p.scroll.y,pt:3,hr:!!t};var i=p.getTarget(e);return!p.ispage&&S.hasmousecapture&&i.setCapture(),p.isiframe&&!S.hasmousecapture&&(p.saved.csspointerevents=p.doc.css("pointer-events"),p.css(p.doc,{"pointer-events":"none"})),p.cancelEvent(e)}},p.ontouchendCursor=function(e){if(p.rail.drag){if(S.hasmousecapture&&s.releaseCapture(),p.isiframe&&!S.hasmousecapture&&p.doc.css("pointer-events",p.saved.csspointerevents),3!=p.rail.drag.pt)return;return p.rail.drag=!1,p.cancelEvent(e)}},p.ontouchmoveCursor=function(e){if(p.rail.drag){if(3!=p.rail.drag.pt)return;if(p.cursorfreezed=!0,p.rail.drag.hr){p.scroll.x=p.rail.drag.sx+(e.touches[0].clientX-p.rail.drag.x),p.scroll.x<0&&(p.scroll.x=0);var t=p.scrollvaluemaxw;p.scroll.x>t&&(p.scroll.x=t)}else{p.scroll.y=p.rail.drag.sy+(e.touches[0].clientY-p.rail.drag.y),p.scroll.y<0&&(p.scroll.y=0);var i=p.scrollvaluemax;p.scroll.y>i&&(p.scroll.y=i)}return p.synched("touchmove",function(){p.rail.drag&&3==p.rail.drag.pt&&(p.showCursor(),p.rail.drag.hr?p.doScrollLeft(Math.round(p.scroll.x*p.scrollratio.x),g.cursordragspeed):p.doScrollTop(Math.round(p.scroll.y*p.scrollratio.y),g.cursordragspeed))}),p.cancelEvent(e)}}}if(p.onmousedown=function(e,t){if(!p.rail.drag||1==p.rail.drag.pt){if(p.railslocked)return p.cancelEvent(e);p.cancelScroll(),p.rail.drag={x:e.clientX,y:e.clientY,sx:p.scroll.x,sy:p.scroll.y,pt:1,hr:t||!1};var i=p.getTarget(e);return S.hasmousecapture&&i.setCapture(),p.isiframe&&!S.hasmousecapture&&(p.saved.csspointerevents=p.doc.css("pointer-events"),p.css(p.doc,{"pointer-events":"none"})),p.hasmoving=!1,p.cancelEvent(e)}},p.onmouseup=function(e){if(p.rail.drag)return 1!=p.rail.drag.pt||(S.hasmousecapture&&s.releaseCapture(),p.isiframe&&!S.hasmousecapture&&p.doc.css("pointer-events",p.saved.csspointerevents),p.rail.drag=!1,p.cursorfreezed=!1,p.hasmoving&&p.triggerScrollEnd(),p.cancelEvent(e))},p.onmousemove=function(e){if(p.rail.drag){if(1!==p.rail.drag.pt)return;if(S.ischrome&&0===e.which)return p.onmouseup(e);if(p.cursorfreezed=!0,p.hasmoving||p.triggerScrollStart(e.clientX,e.clientY,0,0,0),p.hasmoving=!0,p.rail.drag.hr){p.scroll.x=p.rail.drag.sx+(e.clientX-p.rail.drag.x),p.scroll.x<0&&(p.scroll.x=0);var t=p.scrollvaluemaxw;p.scroll.x>t&&(p.scroll.x=t)}else{p.scroll.y=p.rail.drag.sy+(e.clientY-p.rail.drag.y),p.scroll.y<0&&(p.scroll.y=0);var i=p.scrollvaluemax;p.scroll.y>i&&(p.scroll.y=i)}return p.synched("mousemove",function(){p.cursorfreezed&&(p.showCursor(),p.rail.drag.hr?p.scrollLeft(Math.round(p.scroll.x*p.scrollratio.x)):p.scrollTop(Math.round(p.scroll.y*p.scrollratio.y)))}),p.cancelEvent(e)}p.checkarea=0},S.cantouch||g.emulatetouch)p.onpreventclick=function(e){if(p.preventclick)return p.preventclick.tg.onclick=p.preventclick.click,p.preventclick=!1,p.cancelEvent(e)},p.onclick=!S.isios&&function(e){return!p.lastmouseup||(p.lastmouseup=!1,p.cancelEvent(e))},g.grabcursorenabled&&S.cursorgrabvalue&&(p.css(p.ispage?p.doc:p.win,{cursor:S.cursorgrabvalue}),p.css(p.rail,{cursor:S.cursorgrabvalue}));else{var C=function(e){if(p.selectiondrag){if(e){var t=p.win.outerHeight(),i=e.pageY-p.selectiondrag.top;i>0&&i=t&&(i-=t),p.selectiondrag.df=i}if(0!==p.selectiondrag.df){var n=-2*p.selectiondrag.df/6|0;p.doScrollBy(n),p.debounced("doselectionscroll",function(){C()},50)}}};p.hasTextSelected="getSelection"in s?function(){return s.getSelection().rangeCount>0}:"selection"in s?function(){return"None"!=s.selection.type}:function(){return!1},p.onselectionstart=function(e){p.ispage||(p.selectiondrag=p.win.offset())},p.onselectionend=function(e){p.selectiondrag=!1},p.onselectiondrag=function(e){p.selectiondrag&&p.hasTextSelected()&&p.debounced("selectionscroll",function(){C(e)},250)}}if(S.hasw3ctouch?(p.css(p.ispage?a("html"):p.win,{"touch-action":"none"}),p.css(p.rail,{"touch-action":"none"}),p.css(p.cursor,{"touch-action":"none"}),p.bind(p.win,"pointerdown",p.ontouchstart),p.bind(s,"pointerup",p.ontouchend),p.delegate(s,"pointermove",p.ontouchmove)):S.hasmstouch?(p.css(p.ispage?a("html"):p.win,{"-ms-touch-action":"none"}),p.css(p.rail,{"-ms-touch-action":"none"}),p.css(p.cursor,{"-ms-touch-action":"none"}),p.bind(p.win,"MSPointerDown",p.ontouchstart),p.bind(s,"MSPointerUp",p.ontouchend),p.delegate(s,"MSPointerMove",p.ontouchmove),p.bind(p.cursor,"MSGestureHold",function(e){e.preventDefault()}),p.bind(p.cursor,"contextmenu",function(e){e.preventDefault()})):S.cantouch&&(p.bind(p.win,"touchstart",p.ontouchstart,!1,!0),p.bind(s,"touchend",p.ontouchend,!1,!0),p.bind(s,"touchcancel",p.ontouchend,!1,!0),p.delegate(s,"touchmove",p.ontouchmove,!1,!0)),g.emulatetouch&&(p.bind(p.win,"mousedown",p.ontouchstart,!1,!0),p.bind(s,"mouseup",p.ontouchend,!1,!0),p.bind(s,"mousemove",p.ontouchmove,!1,!0)),(g.cursordragontouch||!S.cantouch&&!g.emulatetouch)&&(p.rail.css({cursor:"default"}),p.railh&&p.railh.css({cursor:"default"}),p.jqbind(p.rail,"mouseenter",function(){if(!p.ispage&&!p.win.is(":visible"))return!1;p.canshowonmouseevent&&p.showCursor(),p.rail.active=!0}),p.jqbind(p.rail,"mouseleave",function(){p.rail.active=!1,p.rail.drag||p.hideCursor()}),g.sensitiverail&&(p.bind(p.rail,"click",function(e){p.doRailClick(e,!1,!1)}),p.bind(p.rail,"dblclick",function(e){p.doRailClick(e,!0,!1)}),p.bind(p.cursor,"click",function(e){p.cancelEvent(e)}),p.bind(p.cursor,"dblclick",function(e){p.cancelEvent(e)})),p.railh&&(p.jqbind(p.railh,"mouseenter",function(){if(!p.ispage&&!p.win.is(":visible"))return!1;p.canshowonmouseevent&&p.showCursor(),p.rail.active=!0}),p.jqbind(p.railh,"mouseleave",function(){p.rail.active=!1,p.rail.drag||p.hideCursor()}),g.sensitiverail&&(p.bind(p.railh,"click",function(e){p.doRailClick(e,!1,!0)}),p.bind(p.railh,"dblclick",function(e){p.doRailClick(e,!0,!0)}),p.bind(p.cursorh,"click",function(e){p.cancelEvent(e)}),p.bind(p.cursorh,"dblclick",function(e){p.cancelEvent(e)})))),g.cursordragontouch&&(this.istouchcapable||S.cantouch)&&(p.bind(p.cursor,"touchstart",p.ontouchstartCursor),p.bind(p.cursor,"touchmove",p.ontouchmoveCursor),p.bind(p.cursor,"touchend",p.ontouchendCursor),p.cursorh&&p.bind(p.cursorh,"touchstart",function(e){p.ontouchstartCursor(e,!0)}),p.cursorh&&p.bind(p.cursorh,"touchmove",p.ontouchmoveCursor),p.cursorh&&p.bind(p.cursorh,"touchend",p.ontouchendCursor)),S.cantouch||g.emulatetouch?(p.bind(S.hasmousecapture?p.win:s,"mouseup",p.ontouchend),p.onclick&&p.bind(s,"click",p.onclick),g.cursordragontouch?(p.bind(p.cursor,"mousedown",p.onmousedown),p.bind(p.cursor,"mouseup",p.onmouseup),p.cursorh&&p.bind(p.cursorh,"mousedown",function(e){p.onmousedown(e,!0)}),p.cursorh&&p.bind(p.cursorh,"mouseup",p.onmouseup)):(p.bind(p.rail,"mousedown",function(e){e.preventDefault()}),p.railh&&p.bind(p.railh,"mousedown",function(e){e.preventDefault()}))):(p.bind(S.hasmousecapture?p.win:s,"mouseup",p.onmouseup),p.bind(s,"mousemove",p.onmousemove),p.onclick&&p.bind(s,"click",p.onclick),p.bind(p.cursor,"mousedown",p.onmousedown),p.bind(p.cursor,"mouseup",p.onmouseup),p.railh&&(p.bind(p.cursorh,"mousedown",function(e){p.onmousedown(e,!0)}),p.bind(p.cursorh,"mouseup",p.onmouseup)),!p.ispage&&g.enablescrollonselection&&(p.bind(p.win[0],"mousedown",p.onselectionstart),p.bind(s,"mouseup",p.onselectionend),p.bind(p.cursor,"mouseup",p.onselectionend),p.cursorh&&p.bind(p.cursorh,"mouseup",p.onselectionend),p.bind(s,"mousemove",p.onselectiondrag)),p.zoom&&(p.jqbind(p.zoom,"mouseenter",function(){p.canshowonmouseevent&&p.showCursor(),p.rail.active=!0}),p.jqbind(p.zoom,"mouseleave",function(){p.rail.active=!1,p.rail.drag||p.hideCursor()}))),g.enablemousewheel&&(p.isiframe||p.mousewheel(S.isie&&p.ispage?s:p.win,p.onmousewheel),p.mousewheel(p.rail,p.onmousewheel),p.railh&&p.mousewheel(p.railh,p.onmousewheelhr)),p.ispage||S.cantouch||/HTML|^BODY/.test(p.win[0].nodeName)||(p.win.attr("tabindex")||p.win.attr({tabindex:++n}),p.bind(p.win,"focus",function(e){t=p.getTarget(e).id||p.getTarget(e)||!1,p.hasfocus=!0,p.canshowonmouseevent&&p.noticeCursor()}),p.bind(p.win,"blur",function(e){t=!1,p.hasfocus=!1}),p.bind(p.win,"mouseenter",function(e){i=p.getTarget(e).id||p.getTarget(e)||!1,p.hasmousefocus=!0,p.canshowonmouseevent&&p.noticeCursor()}),p.bind(p.win,"mouseleave",function(e){i=!1,p.hasmousefocus=!1,p.rail.drag||p.hideCursor()})),p.onkeypress=function(e){if(p.railslocked&&0===p.page.maxh)return!0;e=e||l.event;var n=p.getTarget(e);if(n&&/INPUT|TEXTAREA|SELECT|OPTION/.test(n.nodeName)&&(!(n.getAttribute("type")||n.type||!1)||!/submit|button|cancel/i.tp))return!0;if(a(n).attr("contenteditable"))return!0;if(p.hasfocus||p.hasmousefocus&&!t||p.ispage&&!t&&!i){var o=e.keyCode;if(p.railslocked&&27!=o)return p.cancelEvent(e);var r=e.ctrlKey||!1,s=e.shiftKey||!1,c=!1;switch(o){case 38:case 63233:p.doScrollBy(72),c=!0;break;case 40:case 63235:p.doScrollBy(-72),c=!0;break;case 37:case 63232:p.railh&&(r?p.doScrollLeft(0):p.doScrollLeftBy(72),c=!0);break;case 39:case 63234:p.railh&&(r?p.doScrollLeft(p.page.maxw):p.doScrollLeftBy(-72),c=!0);break;case 33:case 63276:p.doScrollBy(p.view.h),c=!0;break;case 34:case 63277:p.doScrollBy(-p.view.h),c=!0;break;case 36:case 63273:p.railh&&r?p.doScrollPos(0,0):p.doScrollTo(0),c=!0;break;case 35:case 63275:p.railh&&r?p.doScrollPos(p.page.maxw,p.page.maxh):p.doScrollTo(p.page.maxh),c=!0;break;case 32:g.spacebarenabled&&(s?p.doScrollBy(p.view.h):p.doScrollBy(-p.view.h),c=!0);break;case 27:p.zoomactive&&(p.doZoom(),c=!0)}if(c)return p.cancelEvent(e)}},g.enablekeyboard&&p.bind(s,S.isopera&&!S.isopera12?"keypress":"keydown",p.onkeypress),p.bind(s,"keydown",function(e){(e.ctrlKey||!1)&&(p.wheelprevented=!0)}),p.bind(s,"keyup",function(e){e.ctrlKey||!1||(p.wheelprevented=!1)}),p.bind(l,"blur",function(e){p.wheelprevented=!1}),p.bind(l,"resize",p.onscreenresize),p.bind(l,"orientationchange",p.onscreenresize),p.bind(l,"load",p.lazyResize),S.ischrome&&!p.ispage&&!p.haswrapper){var P=p.win.attr("style"),O=parseFloat(p.win.css("width"))+1;p.win.css("width",O),p.synched("chromefix",function(){p.win.attr("style",P)})}p.onAttributeChange=function(e){p.lazyResize(p.isieold?250:30)},g.enableobserver&&(p.isie11||!1===v||(p.observerbody=new v(function(e){if(e.forEach(function(e){if("attributes"==e.type)return m.hasClass("modal-open")&&m.hasClass("modal-dialog")&&!a.contains(a(".modal-dialog")[0],p.doc[0])?p.hide():p.show()}),p.me.clientWidth!=p.page.width||p.me.clientHeight!=p.page.height)return p.lazyResize(30)}),p.observerbody.observe(s.body,{childList:!0,subtree:!0,characterData:!1,attributes:!0,attributeFilter:["class"]})),p.ispage||p.haswrapper||(!1!==v?(p.observer=new v(function(e){e.forEach(p.onAttributeChange)}),p.observer.observe(p.win[0],{childList:!0,characterData:!1,attributes:!0,subtree:!1}),p.observerremover=new v(function(e){e.forEach(function(e){if(e.removedNodes.length>0)for(var t in e.removedNodes)if(p&&e.removedNodes[t]==p.win[0])return p.remove()})}),p.observerremover.observe(p.win[0].parentNode,{childList:!0,characterData:!1,attributes:!1,subtree:!1})):(p.bind(p.win,S.isie&&!S.isie9?"propertychange":"DOMAttrModified",p.onAttributeChange),S.isie9&&p.win[0].attachEvent("onpropertychange",p.onAttributeChange),p.bind(p.win,"DOMNodeRemoved",function(e){e.target==p.win[0]&&p.remove()})))),!p.ispage&&g.boxzoom&&p.bind(l,"resize",p.resizeZoom),p.istextarea&&(p.bind(p.win,"keydown",p.lazyResize),p.bind(p.win,"mouseup",p.lazyResize)),p.lazyResize(30)}if("IFRAME"==this.doc[0].nodeName){var A=function(){var t;p.iframexd=!1;try{(t="contentDocument"in this?this.contentDocument:this.contentWindow._doc).domain}catch(e){p.iframexd=!0,t=!1}if(p.iframexd)return"console"in l&&console.log("NiceScroll error: policy restriced iframe"),!0;if(p.forcescreen=!0,p.isiframe&&(p.iframe={doc:a(t),html:p.doc.contents().find("html")[0],body:p.doc.contents().find("body")[0]},p.getContentSize=function(){return{w:Math.max(p.iframe.html.scrollWidth,p.iframe.body.scrollWidth),h:Math.max(p.iframe.html.scrollHeight,p.iframe.body.scrollHeight)}},p.docscroll=a(p.iframe.body)),!S.isios&&g.iframeautoresize&&!p.isiframe){p.win.scrollTop(0),p.doc.height("");var i=Math.max(t.getElementsByTagName("html")[0].scrollHeight,t.body.scrollHeight);p.doc.height(i)}p.lazyResize(30),p.css(a(p.iframe.body),e),S.isios&&p.haswrapper&&p.css(a(t.body),{"-webkit-transform":"translate3d(0,0,0)"}),"contentWindow"in this?p.bind(this.contentWindow,"scroll",p.onscroll):p.bind(t,"scroll",p.onscroll),g.enablemousewheel&&p.mousewheel(t,p.onmousewheel),g.enablekeyboard&&p.bind(t,S.isopera?"keypress":"keydown",p.onkeypress),S.cantouch?(p.bind(t,"touchstart",p.ontouchstart),p.bind(t,"touchmove",p.ontouchmove)):g.emulatetouch&&(p.bind(t,"mousedown",p.ontouchstart),p.bind(t,"mousemove",function(e){return p.ontouchmove(e,!0)}),g.grabcursorenabled&&S.cursorgrabvalue&&p.css(a(t.body),{cursor:S.cursorgrabvalue})),p.bind(t,"mouseup",p.ontouchend),p.zoom&&(g.dblclickzoom&&p.bind(t,"dblclick",p.doZoom),p.ongesturezoom&&p.bind(t,"gestureend",p.ongesturezoom))};this.doc[0].readyState&&"complete"===this.doc[0].readyState&&setTimeout(function(){A.call(p.doc[0],!1)},500),p.bind(this.doc,"load",A)}},this.showCursor=function(e,t){if(p.cursortimeout&&(clearTimeout(p.cursortimeout),p.cursortimeout=0),p.rail){if(p.autohidedom&&(p.autohidedom.stop().css({opacity:g.cursoropacitymax}),p.cursoractive=!0),p.rail.drag&&1==p.rail.drag.pt||(void 0!==e&&!1!==e&&(p.scroll.y=e/p.scrollratio.y|0),void 0!==t&&(p.scroll.x=t/p.scrollratio.x|0)),p.cursor.css({height:p.cursorheight,top:p.scroll.y}),p.cursorh){var i=p.hasreversehr?p.scrollvaluemaxw-p.scroll.x:p.scroll.x;p.cursorh.css({width:p.cursorwidth,left:!p.rail.align&&p.rail.visibility?i+p.rail.width:i}),p.cursoractive=!0}p.zoom&&p.zoom.stop().css({opacity:g.cursoropacitymax})}},this.hideCursor=function(e){p.cursortimeout||p.rail&&p.autohidedom&&(p.hasmousefocus&&"leave"===g.autohidemode||(p.cursortimeout=setTimeout(function(){p.rail.active&&p.showonmouseevent||(p.autohidedom.stop().animate({opacity:g.cursoropacitymin}),p.zoom&&p.zoom.stop().animate({opacity:g.cursoropacitymin}),p.cursoractive=!1),p.cursortimeout=0},e||g.hidecursordelay)))},this.noticeCursor=function(e,t,i){p.showCursor(t,i),p.rail.active||p.hideCursor(e)},this.getContentSize=p.ispage?function(){return{w:Math.max(s.body.scrollWidth,s.documentElement.scrollWidth),h:Math.max(s.body.scrollHeight,s.documentElement.scrollHeight)}}:p.haswrapper?function(){return{w:p.doc[0].offsetWidth,h:p.doc[0].offsetHeight}}:function(){return{w:p.docscroll[0].scrollWidth,h:p.docscroll[0].scrollHeight}},this.onResize=function(e,t){if(!p||!p.win)return!1;var i=p.page.maxh,n=p.page.maxw,o=p.view.h,r=p.view.w;if(p.view={w:p.ispage?p.win.width():p.win[0].clientWidth,h:p.ispage?p.win.height():p.win[0].clientHeight},p.page=t||p.getContentSize(),p.page.maxh=Math.max(0,p.page.h-p.view.h),p.page.maxw=Math.max(0,p.page.w-p.view.w),p.page.maxh==i&&p.page.maxw==n&&p.view.w==r&&p.view.h==o){if(p.ispage)return p;var a=p.win.offset();if(p.lastposition){var s=p.lastposition;if(s.top==a.top&&s.left==a.left)return p}p.lastposition=a}return 0===p.page.maxh?(p.hideRail(),p.scrollvaluemax=0,p.scroll.y=0,p.scrollratio.y=0,p.cursorheight=0,p.setScrollTop(0),p.rail&&(p.rail.scrollable=!1)):(p.page.maxh-=g.railpadding.top+g.railpadding.bottom,p.rail.scrollable=!0),0===p.page.maxw?(p.hideRailHr(),p.scrollvaluemaxw=0,p.scroll.x=0,p.scrollratio.x=0,p.cursorwidth=0,p.setScrollLeft(0),p.railh&&(p.railh.scrollable=!1)):(p.page.maxw-=g.railpadding.left+g.railpadding.right,p.railh&&(p.railh.scrollable=g.horizrailenabled)),p.railslocked=p.locked||0===p.page.maxh&&0===p.page.maxw,p.railslocked?(p.ispage||p.updateScrollBar(p.view),!1):(p.hidden||p.visibility?!p.railh||p.hidden||p.railh.visibility||p.showRailHr():p.showRail().showRailHr(),p.istextarea&&p.win.css("resize")&&"none"!=p.win.css("resize")&&(p.view.h-=20),p.cursorheight=Math.min(p.view.h,Math.round(p.view.h*(p.view.h/p.page.h))),p.cursorheight=g.cursorfixedheight?g.cursorfixedheight:Math.max(g.cursorminheight,p.cursorheight),p.cursorwidth=Math.min(p.view.w,Math.round(p.view.w*(p.view.w/p.page.w))),p.cursorwidth=g.cursorfixedheight?g.cursorfixedheight:Math.max(g.cursorminheight,p.cursorwidth),p.scrollvaluemax=p.view.h-p.cursorheight-(g.railpadding.top+g.railpadding.bottom),p.hasborderbox||(p.scrollvaluemax-=p.cursor[0].offsetHeight-p.cursor[0].clientHeight),p.railh&&(p.railh.width=p.page.maxh>0?p.view.w-p.rail.width:p.view.w,p.scrollvaluemaxw=p.railh.width-p.cursorwidth-(g.railpadding.left+g.railpadding.right)),p.ispage||p.updateScrollBar(p.view),p.scrollratio={x:p.page.maxw/p.scrollvaluemaxw,y:p.page.maxh/p.scrollvaluemax},p.getScrollTop()>p.page.maxh?p.doScrollTop(p.page.maxh):(p.scroll.y=p.getScrollTop()/p.scrollratio.y|0,p.scroll.x=p.getScrollLeft()/p.scrollratio.x|0,p.cursoractive&&p.noticeCursor()),p.scroll.y&&0===p.getScrollTop()&&p.doScrollTo(p.scroll.y*p.scrollratio.y|0),p)},this.resize=p.onResize;var A=0;function I(e,t,i,n){p._bind(e,t,function(n){var o={original:n=n||l.event,target:n.target||n.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==n.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){return n.preventDefault?n.preventDefault():n.returnValue=!1,!1},stopImmediatePropagation:function(){n.stopImmediatePropagation?n.stopImmediatePropagation():n.cancelBubble=!0}};return"mousewheel"==t?(n.wheelDeltaX&&(o.deltaX=-.025*n.wheelDeltaX),n.wheelDeltaY&&(o.deltaY=-.025*n.wheelDeltaY),!o.deltaY&&!o.deltaX&&(o.deltaY=-.025*n.wheelDelta)):o.deltaY=n.detail,i.call(e,o)},n)}this.onscreenresize=function(e){clearTimeout(A);var t=!p.ispage&&!p.haswrapper;t&&p.hideRails(),A=setTimeout(function(){p&&(t&&p.showRails(),p.resize()),A=0},120)},this.lazyResize=function(e){return clearTimeout(A),A=setTimeout(function(){p&&p.resize(),A=0},e||240),p},this.jqbind=function(e,t,i){p.events.push({e:e,n:t,f:i,q:!0}),a(e).on(t,i)},this.mousewheel=function(e,t,i){var n="jquery"in e?e[0]:e;if("onwheel"in s.createElement("div"))p._bind(n,"wheel",t,i||!1);else{var o=void 0!==s.onmousewheel?"mousewheel":"DOMMouseScroll";I(n,o,t,i||!1),"DOMMouseScroll"==o&&I(n,"MozMousePixelScroll",t,i||!1)}};var E=!1;if(S.haseventlistener){try{var z=Object.defineProperty({},"passive",{get:function(){E=!0}});l.addEventListener("test",null,z)}catch(e){}this.stopPropagation=function(e){return!!e&&((e=e.original?e.original:e).stopPropagation(),!1)},this.cancelEvent=function(e){return e.cancelable&&e.preventDefault(),e.stopImmediatePropagation(),e.preventManipulation&&e.preventManipulation(),!1}}else Event.prototype.preventDefault=function(){this.returnValue=!1},Event.prototype.stopPropagation=function(){this.cancelBubble=!0},l.constructor.prototype.addEventListener=s.constructor.prototype.addEventListener=Element.prototype.addEventListener=function(e,t,i){this.attachEvent("on"+e,t)},l.constructor.prototype.removeEventListener=s.constructor.prototype.removeEventListener=Element.prototype.removeEventListener=function(e,t,i){this.detachEvent("on"+e,t)},this.cancelEvent=function(e){return(e=e||l.event)&&(e.cancelBubble=!0,e.cancel=!0,e.returnValue=!1),!1},this.stopPropagation=function(e){return(e=e||l.event)&&(e.cancelBubble=!0),!1};this.delegate=function(e,t,i,n,o){var r=d[t]||!1;r||(r={a:[],l:[],f:function(e){for(var t=r.l,i=!1,n=t.length-1;n>=0;n--)if(!1===(i=t[n].call(e.target,e)))return!1;return i}},p.bind(e,t,r.f,n,o),d[t]=r),p.ispage?(r.a=[p.id].concat(r.a),r.l=[i].concat(r.l)):(r.a.push(p.id),r.l.push(i))},this.undelegate=function(e,t,i,n,o){var r=d[t]||!1;if(r)for(var a=0,s=r.l.length;a0)return i;t=!!t.parentNode&&t.parentNode}return!1},this.triggerScrollStart=function(e,t,i,n,o){if(p.onscrollstart){var r={type:"scrollstart",current:{x:e,y:t},request:{x:i,y:n},end:{x:p.newscrollx,y:p.newscrolly},speed:o};p.onscrollstart.call(p,r)}},this.triggerScrollEnd=function(){if(p.onscrollend){var e=p.getScrollLeft(),t=p.getScrollTop(),i={type:"scrollend",current:{x:e,y:t},end:{x:e,y:t}};p.onscrollend.call(p,i)}};var N=0,j=0,F=0,L=1;function W(e,t,i,n){p.scrollrunning||(p.newscrolly=p.getScrollTop(),p.newscrollx=p.getScrollLeft(),F=y());var o=y()-F;if(F=y(),o>350?L=1:L+=(2-L)/10,t=t*L|0,e=e*L|0){if(n)if(e<0){if(p.getScrollLeft()>=p.page.maxw)return!0}else if(p.getScrollLeft()<=0)return!0;var r=e>0?1:-1;j!==r&&(p.scrollmom&&p.scrollmom.stop(),p.newscrollx=p.getScrollLeft(),j=r),p.lastdeltax-=e}if(t){if(function(){var e=p.getScrollTop();if(t<0){if(e>=p.page.maxh)return!0}else if(e<=0)return!0}()){if(g.nativeparentscrolling&&i&&!p.ispage&&!p.zoomactive)return!0;var a=p.view.h>>1;p.newscrolly<-a?(p.newscrolly=-a,t=-1):p.newscrolly>p.page.maxh+a?(p.newscrolly=p.page.maxh+a,t=1):t=0}var s=t>0?1:-1;N!==s&&(p.scrollmom&&p.scrollmom.stop(),p.newscrolly=p.getScrollTop(),N=s),p.lastdeltay-=t}(t||e)&&p.synched("relativexy",function(){var e=p.lastdeltay+p.newscrolly;p.lastdeltay=0;var t=p.lastdeltax+p.newscrollx;p.lastdeltax=0,p.rail.drag||p.doScrollPos(t,e)})}var Y=!1;function H(e,t,i){var n,o;if(!i&&Y)return!0;(0===e.deltaMode?(n=-e.deltaX*(g.mousescrollstep/54)|0,o=-e.deltaY*(g.mousescrollstep/54)|0):1===e.deltaMode&&(n=-e.deltaX*g.mousescrollstep*50/80|0,o=-e.deltaY*g.mousescrollstep*50/80|0),t&&g.oneaxismousemode&&0===n&&o)&&(n=o,o=0,i&&(n<0?p.getScrollLeft()>=p.page.maxw:p.getScrollLeft()<=0)&&(o=n,n=0));if(p.isrtlmode&&(n=-n),!W(n,o,i,!0))return Y=!1,e.stopImmediatePropagation(),e.preventDefault();i&&(Y=!0)}if(this.onmousewheel=function(e){if(p.wheelprevented||p.locked)return!1;if(p.railslocked)return p.debounced("checkunlock",p.resize,250),!1;if(p.rail.drag)return p.cancelEvent(e);if("auto"===g.oneaxismousemode&&0!==e.deltaX&&(g.oneaxismousemode=!1),g.oneaxismousemode&&0===e.deltaX&&!p.rail.scrollable)return!p.railh||!p.railh.scrollable||p.onmousewheelhr(e);var t=y(),i=!1;if(g.preservenativescrolling&&p.checkarea+600p.page.maxh&&(t=p.page.maxh+(t-p.page.maxh)/2|0),e<0?e=e/2|0:e>p.page.maxw&&(e=p.page.maxw+(e-p.page.maxw)/2|0)):(t<0?t=0:t>p.page.maxh&&(t=p.page.maxh),e<0?e=0:e>p.page.maxw&&(e=p.page.maxw)),p.scrollrunning&&e==p.newscrollx&&t==p.newscrolly)return!1;p.newscrolly=t,p.newscrollx=e;var r=p.getScrollTop(),a=p.getScrollLeft(),s={};s.x=e-a,s.y=t-r;var l=0|Math.sqrt(s.x*s.x+s.y*s.y),c=p.prepareTransition(l);p.scrollrunning||(p.scrollrunning=!0,p.triggerScrollStart(a,r,e,t,c),p.cursorupdate.start()),p.scrollendtrapped=!0,S.transitionend||(p.scrollendtrapped&&clearTimeout(p.scrollendtrapped),p.scrollendtrapped=setTimeout(p.onScrollTransitionEnd,c)),p.setScrollTop(p.newscrolly),p.setScrollLeft(p.newscrollx)},this.cancelScroll=function(){if(!p.scrollendtrapped)return!0;var e=p.getScrollTop(),t=p.getScrollLeft();return p.scrollrunning=!1,S.transitionend||clearTimeout(S.transitionend),p.scrollendtrapped=!1,p.resetTransition(),p.setScrollTop(e),p.railh&&p.setScrollLeft(t),p.timerscroll&&p.timerscroll.tm&&clearInterval(p.timerscroll.tm),p.timerscroll=!1,p.cursorfreezed=!1,p.cursorupdate.stop(),p.showCursor(e,t),p},this.onScrollTransitionEnd=function(){if(p.scrollendtrapped){var e=p.getScrollTop(),t=p.getScrollLeft();if(e<0?e=0:e>p.page.maxh&&(e=p.page.maxh),t<0?t=0:t>p.page.maxw&&(t=p.page.maxw),e!=p.newscrolly||t!=p.newscrollx)return p.doScrollPos(t,e,g.snapbackspeed);p.scrollrunning&&p.triggerScrollEnd(),p.scrollrunning=!1,p.scrollendtrapped=!1,p.resetTransition(),p.timerscroll=!1,p.setScrollTop(e),p.railh&&p.setScrollLeft(t),p.cursorupdate.stop(),p.noticeCursor(!1,e,t),p.cursorfreezed=!1}}}else this.doScrollLeft=function(e,t){var i=p.scrollrunning?p.newscrolly:p.getScrollTop();p.doScrollPos(e,i,t)},this.doScrollTop=function(e,t){var i=p.scrollrunning?p.newscrollx:p.getScrollLeft();p.doScrollPos(i,e,t)},this.doScrollPos=function(e,t,i){var n=p.getScrollTop(),o=p.getScrollLeft();((p.newscrolly-n)*(t-n)<0||(p.newscrollx-o)*(e-o)<0)&&p.cancelScroll();var r=!1;if(p.bouncescroll&&p.rail.visibility||(t<0?(t=0,r=!0):t>p.page.maxh&&(t=p.page.maxh,r=!0)),p.bouncescroll&&p.railh.visibility||(e<0?(e=0,r=!0):e>p.page.maxw&&(e=p.page.maxw,r=!0)),p.scrollrunning&&p.newscrolly===t&&p.newscrollx===e)return!0;p.newscrolly=t,p.newscrollx=e,p.dst={},p.dst.x=e-o,p.dst.y=t-n,p.dst.px=o,p.dst.py=n;var a=0|Math.sqrt(p.dst.x*p.dst.x+p.dst.y*p.dst.y),s=p.getTransitionSpeed(a);p.bzscroll={};var l=r?1:.58;p.bzscroll.x=new M(o,p.newscrollx,s,0,0,l,1),p.bzscroll.y=new M(n,p.newscrolly,s,0,0,l,1);y();var c=function(){if(p.scrollrunning){var e=p.bzscroll.y.getPos();p.setScrollLeft(p.bzscroll.x.getNow()),p.setScrollTop(p.bzscroll.y.getNow()),e<=1?p.timer=u(c):(p.scrollrunning=!1,p.timer=0,p.triggerScrollEnd())}};p.scrollrunning||(p.triggerScrollStart(o,n,e,t,s),p.scrollrunning=!0,p.timer=u(c))},this.cancelScroll=function(){return p.timer&&h(p.timer),p.timer=0,p.bzscroll=!1,p.scrollrunning=!1,p};else this.doScrollLeft=function(e,t){var i=p.getScrollTop();p.doScrollPos(e,i,t)},this.doScrollTop=function(e,t){var i=p.getScrollLeft();p.doScrollPos(i,e,t)},this.doScrollPos=function(e,t,i){var n=e>p.page.maxw?p.page.maxw:e;n<0&&(n=0);var o=t>p.page.maxh?p.page.maxh:t;o<0&&(o=0),p.synched("scroll",function(){p.setScrollTop(o),p.setScrollLeft(n)})},this.cancelScroll=function(){};this.doScrollBy=function(e,t){W(0,e)},this.doScrollLeftBy=function(e,t){W(e,0)},this.doScrollTo=function(e,t){var i=t?Math.round(e*p.scrollratio.y):e;i<0?i=0:i>p.page.maxh&&(i=p.page.maxh),p.cursorfreezed=!1,p.doScrollTop(e)},this.checkContentSize=function(){var e=p.getContentSize();e.h==p.page.h&&e.w==p.page.w||p.resize(!1,e)},p.onscroll=function(e){p.rail.drag||p.cursorfreezed||p.synched("scroll",function(){p.scroll.y=Math.round(p.getScrollTop()/p.scrollratio.y),p.railh&&(p.scroll.x=Math.round(p.getScrollLeft()/p.scrollratio.x)),p.noticeCursor()})},p.bind(p.docscroll,"scroll",p.onscroll),this.doZoomIn=function(e){if(!p.zoomactive){p.zoomactive=!0,p.zoomrestore={style:{}};var t=["position","top","left","zIndex","backgroundColor","marginTop","marginBottom","marginLeft","marginRight"],i=p.win[0].style;for(var n in t){var o=t[n];p.zoomrestore.style[o]=void 0!==i[o]?i[o]:""}p.zoomrestore.style.width=p.win.css("width"),p.zoomrestore.style.height=p.win.css("height"),p.zoomrestore.padding={w:p.win.outerWidth()-p.win.width(),h:p.win.outerHeight()-p.win.height()},S.isios4&&(p.zoomrestore.scrollTop=c.scrollTop(),c.scrollTop(0)),p.win.css({position:S.isios4?"absolute":"fixed",top:0,left:0,zIndex:r+100,margin:0});var a=p.win.css("backgroundColor");return(""===a||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(a))&&p.win.css("backgroundColor","#fff"),p.rail.css({zIndex:r+101}),p.zoom.css({zIndex:r+102}),p.zoom.css("backgroundPosition","0 -18px"),p.resizeZoom(),p.onzoomin&&p.onzoomin.call(p),p.cancelEvent(e)}},this.doZoomOut=function(e){if(p.zoomactive)return p.zoomactive=!1,p.win.css("margin",""),p.win.css(p.zoomrestore.style),S.isios4&&c.scrollTop(p.zoomrestore.scrollTop),p.rail.css({"z-index":p.zindex}),p.zoom.css({"z-index":p.zindex}),p.zoomrestore=!1,p.zoom.css("backgroundPosition","0 0"),p.onResize(),p.onzoomout&&p.onzoomout.call(p),p.cancelEvent(e)},this.doZoom=function(e){return p.zoomactive?p.doZoomOut(e):p.doZoomIn(e)},this.resizeZoom=function(){if(p.zoomactive){var e=p.getScrollTop();p.win.css({width:c.width()-p.zoomrestore.padding.w+"px",height:c.height()-p.zoomrestore.padding.h+"px"}),p.onResize(),p.setScrollTop(Math.min(p.page.maxh,e))}},this.init(),a.nicescroll.push(this)},k=function(e){var t=this;this.nc=e,this.lastx=0,this.lasty=0,this.speedx=0,this.speedy=0,this.lasttime=0,this.steptime=0,this.snapx=!1,this.snapy=!1,this.demulx=0,this.demuly=0,this.lastscrollx=-1,this.lastscrolly=-1,this.chkx=0,this.chky=0,this.timer=0,this.reset=function(e,i){t.stop(),t.steptime=0,t.lasttime=y(),t.speedx=0,t.speedy=0,t.lastx=e,t.lasty=i,t.lastscrollx=-1,t.lastscrolly=-1},this.update=function(e,i){var n=y();t.steptime=n-t.lasttime,t.lasttime=n;var o=i-t.lasty,r=e-t.lastx,a=t.nc.getScrollTop()+o,s=t.nc.getScrollLeft()+r;t.snapx=s<0||s>t.nc.page.maxw,t.snapy=a<0||a>t.nc.page.maxh,t.speedx=r,t.speedy=o,t.lastx=e,t.lasty=i},this.stop=function(){t.nc.unsynched("domomentum2d"),t.timer&&clearTimeout(t.timer),t.timer=0,t.lastscrollx=-1,t.lastscrolly=-1},this.doSnapy=function(e,i){var n=!1;i<0?(i=0,n=!0):i>t.nc.page.maxh&&(i=t.nc.page.maxh,n=!0),e<0?(e=0,n=!0):e>t.nc.page.maxw&&(e=t.nc.page.maxw,n=!0),n?t.nc.doScrollPos(e,i,t.nc.opt.snapbackspeed):t.nc.triggerScrollEnd()},this.doMomentum=function(e){var i=y(),n=e?i+e:t.lasttime,o=t.nc.getScrollLeft(),r=t.nc.getScrollTop(),a=t.nc.page.maxh,s=t.nc.page.maxw;t.speedx=s>0?Math.min(60,t.speedx):0,t.speedy=a>0?Math.min(60,t.speedy):0;var l=n&&i-n<=60;(r<0||r>a||o<0||o>s)&&(l=!1);var c=!(!t.speedy||!l)&&t.speedy,d=!(!t.speedx||!l)&&t.speedx;if(c||d){var u=Math.max(16,t.steptime);if(u>50){var h=u/50;t.speedx*=h,t.speedy*=h,u=50}t.demulxy=0,t.lastscrollx=t.nc.getScrollLeft(),t.chkx=t.lastscrollx,t.lastscrolly=t.nc.getScrollTop(),t.chky=t.lastscrolly;var f=t.lastscrollx,p=t.lastscrolly,m=function(){var e=y()-i>600?.04:.02;t.speedx&&(f=Math.floor(t.lastscrollx-t.speedx*(1-t.demulxy)),t.lastscrollx=f,(f<0||f>s)&&(e=.1)),t.speedy&&(p=Math.floor(t.lastscrolly-t.speedy*(1-t.demulxy)),t.lastscrolly=p,(p<0||p>a)&&(e=.1)),t.demulxy=Math.min(1,t.demulxy+e),t.nc.synched("domomentum2d",function(){if(t.speedx){t.nc.getScrollLeft();t.chkx=f,t.nc.setScrollLeft(f)}if(t.speedy){t.nc.getScrollTop();t.chky=p,t.nc.setScrollTop(p)}t.timer||(t.nc.hideCursor(),t.doSnapy(f,p))}),t.demulxy<1?t.timer=setTimeout(m,u):(t.stop(),t.nc.hideCursor(),t.doSnapy(f,p))};m()}else t.doSnapy(t.nc.getScrollLeft(),t.nc.getScrollTop())}},x=e.fn.scrollTop;e.cssHooks.pageYOffset={get:function(e,t,i){var n=a.data(e,"__nicescroll")||!1;return n&&n.ishwscroll?n.getScrollTop():x.call(e)},set:function(e,t){var i=a.data(e,"__nicescroll")||!1;return i&&i.ishwscroll?i.setScrollTop(parseInt(t)):x.call(e,t),this}},e.fn.scrollTop=function(e){if(void 0===e){var t=this[0]&&a.data(this[0],"__nicescroll")||!1;return t&&t.ishwscroll?t.getScrollTop():x.call(this)}return this.each(function(){var t=a.data(this,"__nicescroll")||!1;t&&t.ishwscroll?t.setScrollTop(parseInt(e)):x.call(a(this),e)})};var D=e.fn.scrollLeft;a.cssHooks.pageXOffset={get:function(e,t,i){var n=a.data(e,"__nicescroll")||!1;return n&&n.ishwscroll?n.getScrollLeft():D.call(e)},set:function(e,t){var i=a.data(e,"__nicescroll")||!1;return i&&i.ishwscroll?i.setScrollLeft(parseInt(t)):D.call(e,t),this}},e.fn.scrollLeft=function(e){if(void 0===e){var t=this[0]&&a.data(this[0],"__nicescroll")||!1;return t&&t.ishwscroll?t.getScrollLeft():D.call(this)}return this.each(function(){var t=a.data(this,"__nicescroll")||!1;t&&t.ishwscroll?t.setScrollLeft(parseInt(e)):D.call(a(this),e)})};var S=function(e){var t=this;if(this.length=0,this.name="nicescrollarray",this.each=function(e){return a.each(t,e),t},this.push=function(e){t[t.length]=e,t.length++},this.eq=function(e){return t[e]},e)for(var i=0;i1?a(e,n):r,o.win=n}!("doc"in o)||"win"in o||(o.win=n);var s=n.data("__nicescroll")||!1;s||(o.doc=o.doc||n,s=new _(o,n),n.data("__nicescroll",s)),i.push(s)}),1===i.length?i[0]:i},l.NiceScroll={getjQuery:function(){return e}},a.nicescroll||(a.nicescroll=new S,a.nicescroll.options=b)}),function(){"use strict";var e,t,i,n,o;e=function(e,t){return"string"==typeof e&&"string"==typeof t&&e.toLowerCase()===t.toLowerCase()},t=function(e,i,n){var o=n||"0",r=e.toString();return r.lengths?"20":"19")+a):s,p=!0;break;case"m":case"n":case"M":case"F":if(isNaN(s)){if(!((l=f.getMonth(a))>0))return null;v.month=l}else{if(!(s>=1&&12>=s))return null;v.month=s}p=!0;break;case"d":case"j":if(!(s>=1&&31>=s))return null;v.day=s,p=!0;break;case"g":case"h":if(h=o[c=n.indexOf("a")>-1?n.indexOf("a"):n.indexOf("A")>-1?n.indexOf("A"):-1],c>-1)d=e(h,g.meridiem[0])?0:e(h,g.meridiem[1])?12:-1,s>=1&&12>=s&&d>-1?v.hour=s+d-1:s>=0&&23>=s&&(v.hour=s);else{if(!(s>=0&&23>=s))return null;v.hour=s}m=!0;break;case"G":case"H":if(!(s>=0&&23>=s))return null;v.hour=s,m=!0;break;case"i":if(!(s>=0&&59>=s))return null;v.min=s,m=!0;break;case"s":if(!(s>=0&&59>=s))return null;v.sec=s,m=!0}if(!0===p&&v.year&&v.month&&v.day)v.date=new Date(v.year,v.month-1,v.day,v.hour,v.min,v.sec,0);else{if(!0!==m)return null;v.date=new Date(0,0,0,v.hour,v.min,v.sec,0)}return v.date},guessDate:function(e,t){if("string"!=typeof e)return e;var i,n,o,r,a,s,l=e.replace(this.separators,"\0").split("\0"),c=t.match(this.validParts),d=new Date,u=0;if(!/^[djmn]/g.test(c[0]))return e;for(o=0;o(i=a.length)?i:4,!(n=parseInt(4>i?n.toString().substr(0,4-i)+a:a.substr(0,4))))return null;d.setFullYear(n);break;case 3:d.setHours(s);break;case 4:d.setMinutes(s);break;case 5:d.setSeconds(s)}(r=a.substr(u)).length>0&&l.splice(o+1,0,r)}return d},parseFormat:function(e,i){var n,o=this,r=o.dateSettings,a=/\\?(.?)/gi,s=function(e,t){return n[e]?n[e]():t};return n={d:function(){return t(n.j(),2)},D:function(){return r.daysShort[n.w()]},j:function(){return i.getDate()},l:function(){return r.days[n.w()]},N:function(){return n.w()||7},w:function(){return i.getDay()},z:function(){var e=new Date(n.Y(),n.n()-1,n.j()),t=new Date(n.Y(),0,1);return Math.round((e-t)/864e5)},W:function(){var e=new Date(n.Y(),n.n()-1,n.j()-n.N()+3),i=new Date(e.getFullYear(),0,4);return t(1+Math.round((e-i)/864e5/7),2)},F:function(){return r.months[i.getMonth()]},m:function(){return t(n.n(),2)},M:function(){return r.monthsShort[i.getMonth()]},n:function(){return i.getMonth()+1},t:function(){return new Date(n.Y(),n.n(),0).getDate()},L:function(){var e=n.Y();return e%4==0&&e%100!=0||e%400==0?1:0},o:function(){var e=n.n(),t=n.W();return n.Y()+(12===e&&9>t?1:1===e&&t>9?-1:0)},Y:function(){return i.getFullYear()},y:function(){return n.Y().toString().slice(-2)},a:function(){return n.A().toLowerCase()},A:function(){var e=n.G()<12?0:1;return r.meridiem[e]},B:function(){var e=3600*i.getUTCHours(),n=60*i.getUTCMinutes(),o=i.getUTCSeconds();return t(Math.floor((e+n+o+3600)/86.4)%1e3,3)},g:function(){return n.G()%12||12},G:function(){return i.getHours()},h:function(){return t(n.g(),2)},H:function(){return t(n.G(),2)},i:function(){return t(i.getMinutes(),2)},s:function(){return t(i.getSeconds(),2)},u:function(){return t(1e3*i.getMilliseconds(),6)},e:function(){return/\((.*)\)/.exec(String(i))[1]||"Coordinated Universal Time"},I:function(){return new Date(n.Y(),0)-Date.UTC(n.Y(),0)!=new Date(n.Y(),6)-Date.UTC(n.Y(),6)?1:0},O:function(){var e=i.getTimezoneOffset(),n=Math.abs(e);return(e>0?"-":"+")+t(100*Math.floor(n/60)+n%60,4)},P:function(){var e=n.O();return e.substr(0,3)+":"+e.substr(3,2)},T:function(){return(String(i).match(o.tzParts)||[""]).pop().replace(o.tzClip,"")||"UTC"},Z:function(){return 60*-i.getTimezoneOffset()},c:function(){return"Y-m-d\\TH:i:sP".replace(a,s)},r:function(){return"D, d M Y H:i:s O".replace(a,s)},U:function(){return i.getTime()/1e3||0}},s(e,e)},formatDate:function(e,t){var i,n,o,r,a,s=this,l="";if("string"==typeof e&&!(e=s.parseDate(e,t)))return null;if(e instanceof Date){for(o=t.length,i=0;o>i;i++)"S"!==(a=t.charAt(i))&&"\\"!==a&&(i>0&&"\\"===t.charAt(i-1)?l+=a:(r=s.parseFormat(a,e),i!==o-1&&s.intParts.test(a)&&"S"===t.charAt(i+1)&&(n=parseInt(r)||0,r+=s.dateSettings.ordinal(n)),l+=r));return l}return""}}}();var datetimepickerFactory=function(e){"use strict";var t={i18n:{ar:{months:["كانون الثاني","شباط","آذار","نيسان","مايو","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول"],dayOfWeekShort:["ن","ث","ع","خ","ج","س","ح"],dayOfWeek:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت","الأحد"]},ro:{months:["Ianuarie","Februarie","Martie","Aprilie","Mai","Iunie","Iulie","August","Septembrie","Octombrie","Noiembrie","Decembrie"],dayOfWeekShort:["Du","Lu","Ma","Mi","Jo","Vi","Sâ"],dayOfWeek:["Duminică","Luni","Marţi","Miercuri","Joi","Vineri","Sâmbătă"]},id:{months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],dayOfWeekShort:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],dayOfWeek:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},is:{months:["Janúar","Febrúar","Mars","Apríl","Maí","Júní","Júlí","Ágúst","September","Október","Nóvember","Desember"],dayOfWeekShort:["Sun","Mán","Þrið","Mið","Fim","Fös","Lau"],dayOfWeek:["Sunnudagur","Mánudagur","Þriðjudagur","Miðvikudagur","Fimmtudagur","Föstudagur","Laugardagur"]},bg:{months:["Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември"],dayOfWeekShort:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],dayOfWeek:["Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота"]},fa:{months:["فروردین","اردیبهشت","خرداد","تیر","مرداد","شهریور","مهر","آبان","آذر","دی","بهمن","اسفند"],dayOfWeekShort:["یکشنبه","دوشنبه","سه شنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"],dayOfWeek:["یک‌شنبه","دوشنبه","سه‌شنبه","چهارشنبه","پنج‌شنبه","جمعه","شنبه","یک‌شنبه"]},ru:{months:["Январь","Февраль","Март","Апрель","Май","Июнь","Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь"],dayOfWeekShort:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],dayOfWeek:["Воскресенье","Понедельник","Вторник","Среда","Четверг","Пятница","Суббота"]},uk:{months:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],dayOfWeekShort:["Ндл","Пнд","Втр","Срд","Чтв","Птн","Сбт"],dayOfWeek:["Неділя","Понеділок","Вівторок","Середа","Четвер","П'ятниця","Субота"]},en:{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},el:{months:["Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος","Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος"],dayOfWeekShort:["Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ"],dayOfWeek:["Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο"]},de:{months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],dayOfWeekShort:["So","Mo","Di","Mi","Do","Fr","Sa"],dayOfWeek:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},nl:{months:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],dayOfWeekShort:["zo","ma","di","wo","do","vr","za"],dayOfWeek:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},tr:{months:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"],dayOfWeekShort:["Paz","Pts","Sal","Çar","Per","Cum","Cts"],dayOfWeek:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},fr:{months:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],dayOfWeekShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],dayOfWeek:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},es:{months:["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"],dayOfWeekShort:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],dayOfWeek:["Domingo","Lunes","Martes","Miércoles","Jueves","Viernes","Sábado"]},th:{months:["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],dayOfWeekShort:["อา.","จ.","อ.","พ.","พฤ.","ศ.","ส."],dayOfWeek:["อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัส","ศุกร์","เสาร์","อาทิตย์"]},pl:{months:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"],dayOfWeekShort:["nd","pn","wt","śr","cz","pt","sb"],dayOfWeek:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},pt:{months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sab"],dayOfWeek:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"]},ch:{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayOfWeekShort:["日","一","二","三","四","五","六"]},se:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"]},km:{months:["មករា​","កុម្ភៈ","មិនា​","មេសា​","ឧសភា​","មិថុនា​","កក្កដា​","សីហា​","កញ្ញា​","តុលា​","វិច្ឆិកា","ធ្នូ​"],dayOfWeekShort:["អាទិ​","ច័ន្ទ​","អង្គារ​","ពុធ​","ព្រហ​​","សុក្រ​","សៅរ៍"],dayOfWeek:["អាទិត្យ​","ច័ន្ទ​","អង្គារ​","ពុធ​","ព្រហស្បតិ៍​","សុក្រ​","សៅរ៍"]},kr:{months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayOfWeekShort:["일","월","화","수","목","금","토"],dayOfWeek:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},it:{months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"],dayOfWeek:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"]},da:{months:["Januar","Februar","Marts","April","Maj","Juni","Juli","August","September","Oktober","November","December"],dayOfWeekShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayOfWeek:["søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag"]},no:{months:["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],dayOfWeekShort:["Søn","Man","Tir","Ons","Tor","Fre","Lør"],dayOfWeek:["Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag"]},ja:{months:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeekShort:["日","月","火","水","木","金","土"],dayOfWeek:["日曜","月曜","火曜","水曜","木曜","金曜","土曜"]},vi:{months:["Tháng 1","Tháng 2","Tháng 3","Tháng 4","Tháng 5","Tháng 6","Tháng 7","Tháng 8","Tháng 9","Tháng 10","Tháng 11","Tháng 12"],dayOfWeekShort:["CN","T2","T3","T4","T5","T6","T7"],dayOfWeek:["Chủ nhật","Thứ hai","Thứ ba","Thứ tư","Thứ năm","Thứ sáu","Thứ bảy"]},sl:{months:["Januar","Februar","Marec","April","Maj","Junij","Julij","Avgust","September","Oktober","November","December"],dayOfWeekShort:["Ned","Pon","Tor","Sre","Čet","Pet","Sob"],dayOfWeek:["Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota"]},cs:{months:["Leden","Únor","Březen","Duben","Květen","Červen","Červenec","Srpen","Září","Říjen","Listopad","Prosinec"],dayOfWeekShort:["Ne","Po","Út","St","Čt","Pá","So"]},hu:{months:["Január","Február","Március","Április","Május","Június","Július","Augusztus","Szeptember","Október","November","December"],dayOfWeekShort:["Va","Hé","Ke","Sze","Cs","Pé","Szo"],dayOfWeek:["vasárnap","hétfő","kedd","szerda","csütörtök","péntek","szombat"]},az:{months:["Yanvar","Fevral","Mart","Aprel","May","Iyun","Iyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"],dayOfWeekShort:["B","Be","Ça","Ç","Ca","C","Ş"],dayOfWeek:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"]},bs:{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"]},ca:{months:["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],dayOfWeekShort:["Dg","Dl","Dt","Dc","Dj","Dv","Ds"],dayOfWeek:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"]},"en-GB":{months:["January","February","March","April","May","June","July","August","September","October","November","December"],dayOfWeekShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},et:{months:["Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni","Juuli","August","September","Oktoober","November","Detsember"],dayOfWeekShort:["P","E","T","K","N","R","L"],dayOfWeek:["Pühapäev","Esmaspäev","Teisipäev","Kolmapäev","Neljapäev","Reede","Laupäev"]},eu:{months:["Urtarrila","Otsaila","Martxoa","Apirila","Maiatza","Ekaina","Uztaila","Abuztua","Iraila","Urria","Azaroa","Abendua"],dayOfWeekShort:["Ig.","Al.","Ar.","Az.","Og.","Or.","La."],dayOfWeek:["Igandea","Astelehena","Asteartea","Asteazkena","Osteguna","Ostirala","Larunbata"]},fi:{months:["Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu","Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu"],dayOfWeekShort:["Su","Ma","Ti","Ke","To","Pe","La"],dayOfWeek:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},gl:{months:["Xan","Feb","Maz","Abr","Mai","Xun","Xul","Ago","Set","Out","Nov","Dec"],dayOfWeekShort:["Dom","Lun","Mar","Mer","Xov","Ven","Sab"],dayOfWeek:["Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado"]},hr:{months:["Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj","Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac"],dayOfWeekShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],dayOfWeek:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"]},ko:{months:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayOfWeekShort:["일","월","화","수","목","금","토"],dayOfWeek:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},lt:{months:["Sausio","Vasario","Kovo","Balandžio","Gegužės","Birželio","Liepos","Rugpjūčio","Rugsėjo","Spalio","Lapkričio","Gruodžio"],dayOfWeekShort:["Sek","Pir","Ant","Tre","Ket","Pen","Šeš"],dayOfWeek:["Sekmadienis","Pirmadienis","Antradienis","Trečiadienis","Ketvirtadienis","Penktadienis","Šeštadienis"]},lv:{months:["Janvāris","Februāris","Marts","Aprīlis ","Maijs","Jūnijs","Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris"],dayOfWeekShort:["Sv","Pr","Ot","Tr","Ct","Pk","St"],dayOfWeek:["Svētdiena","Pirmdiena","Otrdiena","Trešdiena","Ceturtdiena","Piektdiena","Sestdiena"]},mk:{months:["јануари","февруари","март","април","мај","јуни","јули","август","септември","октомври","ноември","декември"],dayOfWeekShort:["нед","пон","вто","сре","чет","пет","саб"],dayOfWeek:["Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота"]},mn:{months:["1-р сар","2-р сар","3-р сар","4-р сар","5-р сар","6-р сар","7-р сар","8-р сар","9-р сар","10-р сар","11-р сар","12-р сар"],dayOfWeekShort:["Дав","Мяг","Лха","Пүр","Бсн","Бям","Ням"],dayOfWeek:["Даваа","Мягмар","Лхагва","Пүрэв","Баасан","Бямба","Ням"]},"pt-BR":{months:["Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro"],dayOfWeekShort:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],dayOfWeek:["Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado"]},sk:{months:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],dayOfWeekShort:["Ne","Po","Ut","St","Št","Pi","So"],dayOfWeek:["Nedeľa","Pondelok","Utorok","Streda","Štvrtok","Piatok","Sobota"]},sq:{months:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor"],dayOfWeekShort:["Die","Hën","Mar","Mër","Enj","Pre","Shtu"],dayOfWeek:["E Diel","E Hënë","E Martē","E Mërkurë","E Enjte","E Premte","E Shtunë"]},"sr-YU":{months:["Januar","Februar","Mart","April","Maj","Jun","Jul","Avgust","Septembar","Oktobar","Novembar","Decembar"],dayOfWeekShort:["Ned","Pon","Uto","Sre","čet","Pet","Sub"],dayOfWeek:["Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota"]},sr:{months:["јануар","фебруар","март","април","мај","јун","јул","август","септембар","октобар","новембар","децембар"],dayOfWeekShort:["нед","пон","уто","сре","чет","пет","суб"],dayOfWeek:["Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота"]},sv:{months:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],dayOfWeekShort:["Sön","Mån","Tis","Ons","Tor","Fre","Lör"],dayOfWeek:["Söndag","Måndag","Tisdag","Onsdag","Torsdag","Fredag","Lördag"]},"zh-TW":{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayOfWeekShort:["日","一","二","三","四","五","六"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},zh:{months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],dayOfWeekShort:["日","一","二","三","四","五","六"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},ug:{months:["1-ئاي","2-ئاي","3-ئاي","4-ئاي","5-ئاي","6-ئاي","7-ئاي","8-ئاي","9-ئاي","10-ئاي","11-ئاي","12-ئاي"],dayOfWeek:["يەكشەنبە","دۈشەنبە","سەيشەنبە","چارشەنبە","پەيشەنبە","جۈمە","شەنبە"]},he:{months:["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"],dayOfWeekShort:["א'","ב'","ג'","ד'","ה'","ו'","שבת"],dayOfWeek:["ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת","ראשון"]},hy:{months:["Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս","Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր"],dayOfWeekShort:["Կի","Երկ","Երք","Չոր","Հնգ","Ուրբ","Շբթ"],dayOfWeek:["Կիրակի","Երկուշաբթի","Երեքշաբթի","Չորեքշաբթի","Հինգշաբթի","Ուրբաթ","Շաբաթ"]},kg:{months:["Үчтүн айы","Бирдин айы","Жалган Куран","Чын Куран","Бугу","Кулжа","Теке","Баш Оона","Аяк Оона","Тогуздун айы","Жетинин айы","Бештин айы"],dayOfWeekShort:["Жек","Дүй","Шей","Шар","Бей","Жум","Ише"],dayOfWeek:["Жекшемб","Дүйшөмб","Шейшемб","Шаршемб","Бейшемби","Жума","Ишенб"]},rm:{months:["Schaner","Favrer","Mars","Avrigl","Matg","Zercladur","Fanadur","Avust","Settember","October","November","December"],dayOfWeekShort:["Du","Gli","Ma","Me","Gie","Ve","So"],dayOfWeek:["Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda"]},ka:{months:["იანვარი","თებერვალი","მარტი","აპრილი","მაისი","ივნისი","ივლისი","აგვისტო","სექტემბერი","ოქტომბერი","ნოემბერი","დეკემბერი"],dayOfWeekShort:["კვ","ორშ","სამშ","ოთხ","ხუთ","პარ","შაბ"],dayOfWeek:["კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი"]}},ownerDocument:document,contentWindow:window,value:"",rtl:!1,format:"Y/m/d H:i",formatTime:"H:i",formatDate:"Y/m/d",startDate:!1,step:60,monthChangeSpinner:!0,closeOnDateSelect:!1,closeOnTimeSelect:!0,closeOnWithoutClick:!0,closeOnInputClick:!0,openOnFocus:!0,timepicker:!0,datepicker:!0,weeks:!1,defaultTime:!1,defaultDate:!1,minDate:!1,maxDate:!1,minTime:!1,maxTime:!1,minDateTime:!1,maxDateTime:!1,allowTimes:[],opened:!1,initTime:!0,inline:!1,theme:"",touchMovedThreshold:5,onSelectDate:function(){},onSelectTime:function(){},onChangeMonth:function(){},onGetWeekOfYear:function(){},onChangeYear:function(){},onChangeDateTime:function(){},onShow:function(){},onClose:function(){},onGenerate:function(){},withoutCopyright:!0,inverseButton:!1,hours12:!1,next:"xdsoft_next",prev:"xdsoft_prev",dayOfWeekStart:0,parentID:"body",timeHeightInTimePicker:25,timepickerScrollbar:!0,todayButton:!0,prevButton:!0,nextButton:!0,defaultSelect:!0,scrollMonth:!0,scrollTime:!0,scrollInput:!0,lazyInit:!1,mask:!1,validateOnBlur:!0,allowBlank:!0,yearStart:1950,yearEnd:2050,monthStart:0,monthEnd:11,style:"",id:"",fixed:!1,roundTime:"round",className:"",weekends:[],highlightedDates:[],highlightedPeriods:[],allowDates:[],allowDateRe:null,disabledDates:[],disabledWeekDays:[],yearOffset:0,beforeShowDay:null,enterLikeTab:!0,showApplyButton:!1},i=null,n=null,o="en",r={meridiem:["AM","PM"]},a=function(){var a=t.i18n[o],s={days:a.dayOfWeek,daysShort:a.dayOfWeekShort,months:a.months,monthsShort:e.map(a.months,function(e){return e.substring(0,3)})};"function"==typeof DateFormatter&&(i=n=new DateFormatter({dateSettings:e.extend({},r,s)}))},s={moment:{default_options:{format:"YYYY/MM/DD HH:mm",formatDate:"YYYY/MM/DD",formatTime:"HH:mm"},formatter:{parseDate:function(e,t){if(c(t))return n.parseDate(e,t);var i=moment(e,t);return!!i.isValid()&&i.toDate()},formatDate:function(e,t){return c(t)?n.formatDate(e,t):moment(e).format(t)},formatMask:function(e){return e.replace(/Y{4}/g,"9999").replace(/Y{2}/g,"99").replace(/M{2}/g,"19").replace(/D{2}/g,"39").replace(/H{2}/g,"29").replace(/m{2}/g,"59").replace(/s{2}/g,"59")}}}};e.datetimepicker={setLocale:function(e){var i=t.i18n[e]?e:"en";o!==i&&(o=i,a())},setDateFormatter:function(n){if("string"==typeof n&&s.hasOwnProperty(n)){var o=s[n];e.extend(t,o.default_options),i=o.formatter}else i=n}};var l={RFC_2822:"D, d M Y H:i:s O",ATOM:"Y-m-dTH:i:sP",ISO_8601:"Y-m-dTH:i:sO",RFC_822:"D, d M y H:i:s O",RFC_850:"l, d-M-y H:i:s T",RFC_1036:"D, d M y H:i:s O",RFC_1123:"D, d M Y H:i:s O",RSS:"D, d M Y H:i:s O",W3C:"Y-m-dTH:i:sP"},c=function(e){return-1!==Object.values(l).indexOf(e)};function d(e,t,i){this.date=e,this.desc=t,this.style=i}e.extend(e.datetimepicker,l),a(),window.getComputedStyle||(window.getComputedStyle=function(e){return this.el=e,this.getPropertyValue=function(t){var i=/(-([a-z]))/g;return"float"===t&&(t="styleFloat"),i.test(t)&&(t=t.replace(i,function(e,t,i){return i.toUpperCase()})),e.currentStyle[t]||null},this}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var i,n;for(i=t||0,n=this.length;i
'),s=e('
'),a.append(s),l.addClass("xdsoft_scroller_box").append(a),v=function(e){var t=c(e).y-h+g;t<0&&(t=0),t+s[0].offsetHeight>p&&(t=p-s[0].offsetHeight),l.trigger("scroll_element.xdsoft_scroller",[d?t/d:0])},s.on("touchstart.xdsoft_scroller mousedown.xdsoft_scroller",function(n){o||l.trigger("resize_scroll.xdsoft_scroller",[i]),h=c(n).y,g=parseInt(s.css("margin-top"),10),p=a[0].offsetHeight,"mousedown"===n.type||"touchstart"===n.type?(t.ownerDocument&&e(t.ownerDocument.body).addClass("xdsoft_noselect"),e([t.ownerDocument.body,t.contentWindow]).on("touchend mouseup.xdsoft_scroller",function i(){e([t.ownerDocument.body,t.contentWindow]).off("touchend mouseup.xdsoft_scroller",i).off("mousemove.xdsoft_scroller",v).removeClass("xdsoft_noselect")}),e(t.ownerDocument.body).on("mousemove.xdsoft_scroller",v)):(m=!0,n.stopPropagation(),n.preventDefault())}).on("touchmove",function(e){m&&(e.preventDefault(),v(e))}).on("touchend touchcancel",function(){m=!1,g=0}),l.on("scroll_element.xdsoft_scroller",function(e,t){o||l.trigger("resize_scroll.xdsoft_scroller",[t,!0]),t=t>1?1:t<0||isNaN(t)?0:t,s.css("margin-top",d*t),setTimeout(function(){n.css("marginTop",-parseInt((n[0].offsetHeight-o)*t,10))},10)}).on("resize_scroll.xdsoft_scroller",function(e,t,i){var c,u;o=l[0].clientHeight,r=n[0].offsetHeight,u=(c=o/r)*a[0].offsetHeight,c>1?s.hide():(s.show(),s.css("height",parseInt(u>10?u:10,10)),d=a[0].offsetHeight-s[0].offsetHeight,!0!==i&&l.trigger("scroll_element.xdsoft_scroller",[t||Math.abs(parseInt(n.css("marginTop"),10))/(r-o)]))}),l.on("mousewheel",function(e){var t=Math.abs(parseInt(n.css("marginTop"),10));return(t-=20*e.deltaY)<0&&(t=0),l.trigger("scroll_element.xdsoft_scroller",[t/(r-o)]),e.stopPropagation(),!1}),l.on("touchstart",function(e){u=c(e),f=Math.abs(parseInt(n.css("marginTop"),10))}),l.on("touchmove",function(e){if(u){e.preventDefault();var t=c(e);l.trigger("scroll_element.xdsoft_scroller",[(f-(t.y-u.y))/(r-o)])}}),l.on("touchend touchcancel",function(){u=!1,f=0})),l.trigger("resize_scroll.xdsoft_scroller",[i])):l.find(".xdsoft_scrollbar").hide()})},e.fn.datetimepicker=function(n,r){var a,s,l=this,c=48,u=57,h=96,f=105,p=17,m=46,g=13,v=27,y=8,b=37,w=38,_=39,k=40,x=9,D=116,S=65,M=67,T=86,C=90,P=89,O=!1,A=e.isPlainObject(n)||!n?e.extend(!0,{},t,n):e.extend(!0,{},t),I=0;return a=function(t){var r,a,s,l,I,E,z=e('
'),N=e(''),j=e('
'),F=e('
'),L=e('
'),W=e('
'),Y=W.find(".xdsoft_time_box").eq(0),H=e('
'),R=e(''),$=e('
'),B=e('
'),U=!1,K=0;A.id&&z.attr("id",A.id),A.style&&z.attr("style",A.style),A.weeks&&z.addClass("xdsoft_showweeks"),A.rtl&&z.addClass("xdsoft_rtl"),z.addClass("xdsoft_"+A.theme),z.addClass(A.className),F.find(".xdsoft_month span").after($),F.find(".xdsoft_year span").after(B),F.find(".xdsoft_month,.xdsoft_year").on("touchstart mousedown.xdsoft",function(t){var i,n,o=e(this).find(".xdsoft_select").eq(0),r=0,a=0,s=o.is(":visible");for(F.find(".xdsoft_select").hide(),I.currentTime&&(r=I.currentTime[e(this).hasClass("xdsoft_month")?"getMonth":"getFullYear"]()),o[s?"hide":"show"](),i=o.find("div.xdsoft_option"),n=0;nA.touchMovedThreshold&&(this.touchMoved=!0)};function Q(){var e,i=!1;return A.startDate?i=I.strToDate(A.startDate):(i=A.value||(t&&t.val&&t.val()?t.val():""))?(i=I.strToDateTime(i),A.yearOffset&&(i=new Date(i.getFullYear()-A.yearOffset,i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()))):A.defaultDate&&(i=I.strToDateTime(A.defaultDate),A.defaultTime&&(e=I.strtotime(A.defaultTime),i.setHours(e.getHours()),i.setMinutes(e.getMinutes()))),i&&I.isValidDate(i)?z.data("changed",!0):i="",i||0}function J(n){var o=function(e,t){var i=e.replace(/([\[\]\/\{\}\(\)\-\.\+]{1})/g,"\\$1").replace(/_/g,"{digit+}").replace(/([0-9]{1})/g,"{digit$1}").replace(/\{digit([0-9]{1})\}/g,"[0-$1_]{1}").replace(/\{digit[\+]\}/g,"[0-9_]{1}");return new RegExp(i).test(t)},r=function(e,t){if(!(e="string"==typeof e||e instanceof String?n.ownerDocument.getElementById(e):e))return!1;if(e.createTextRange){var i=e.createTextRange();return i.collapse(!0),i.moveEnd("character",t),i.moveStart("character",t),i.select(),!0}return!!e.setSelectionRange&&(e.setSelectionRange(t,t),!0)};n.mask&&t.off("keydown.xdsoft"),!0===n.mask&&(i.formatMask?n.mask=i.formatMask(n.format):n.mask=n.format.replace(/Y/g,"9999").replace(/F/g,"9999").replace(/m/g,"19").replace(/d/g,"39").replace(/H/g,"29").replace(/i/g,"59").replace(/s/g,"59")),"string"===e.type(n.mask)&&(o(n.mask,t.val())||(t.val(n.mask.replace(/[0-9]/g,"_")),r(t[0],0)),t.on("paste.xdsoft",function(i){var a=(i.clipboardData||i.originalEvent.clipboardData||window.clipboardData).getData("text"),s=this.value,l=this.selectionStart,c=s.substr(0,l),d=s.substr(l+a.length);return s=c+a+d,l+=a.length,o(n.mask,s)?(this.value=s,r(this,l)):""===e.trim(s)?this.value=n.mask.replace(/[0-9]/g,"_"):t.trigger("error_input.xdsoft"),i.preventDefault(),!1}),t.on("keydown.xdsoft",function(i){var a,s=this.value,l=i.which,d=this.selectionStart,A=this.selectionEnd,I=d!==A;if(l>=c&&l<=u||l>=h&&l<=f||l===y||l===m){for(a=l===y||l===m?"_":String.fromCharCode(h<=l&&l<=f?l-c:l),l===y&&d&&!I&&(d-=1);;){var E=n.mask.substr(d,1),z=d0;if(!(/[^0-9_]/.test(E)&&z&&N))break;d+=l!==y||I?1:-1}if(I){var j=A-d,F=n.mask.replace(/[0-9]/g,"_"),L=F.substr(d,j).substr(1),W=s.substr(0,d),Y=a+L,H=s.substr(d+j);s=W+Y+H}else{var R=s.substr(0,d),$=a,B=s.substr(d+1);s=R+$+B}if(""===e.trim(s))s=F;else if(d===n.mask.length)return i.preventDefault(),!1;for(d+=l===y?0:1;/[^0-9_]/.test(n.mask.substr(d,1))&&d0;)d+=l===y?0:1;o(n.mask,s)?(this.value=s,r(this,d)):""===e.trim(s)?this.value=n.mask.replace(/[0-9]/g,"_"):t.trigger("error_input.xdsoft")}else if(-1!==[S,M,T,C,P].indexOf(l)&&O||-1!==[v,w,k,b,_,D,p,x,g].indexOf(l))return!0;return i.preventDefault(),!1}))}F.find(".xdsoft_select").xdsoftScroller(A).on("touchstart mousedown.xdsoft",function(e){var t=e.originalEvent;this.touchMoved=!1,this.touchStartPosition=t.touches?t.touches[0]:t,e.stopPropagation(),e.preventDefault()}).on("touchmove",".xdsoft_option",q).on("touchend mousedown.xdsoft",".xdsoft_option",function(){if(!this.touchMoved){void 0!==I.currentTime&&null!==I.currentTime||(I.currentTime=I.now());var t=I.currentTime.getFullYear();I&&I.currentTime&&I.currentTime[e(this).parent().parent().hasClass("xdsoft_monthselect")?"setMonth":"setFullYear"](e(this).data("value")),e(this).parent().parent().hide(),z.trigger("xchange.xdsoft"),A.onChangeMonth&&e.isFunction(A.onChangeMonth)&&A.onChangeMonth.call(z,I.currentTime,z.data("input")),t!==I.currentTime.getFullYear()&&e.isFunction(A.onChangeYear)&&A.onChangeYear.call(z,I.currentTime,z.data("input"))}}),z.getValue=function(){return I.getCurrentTime()},z.setOptions=function(n){var o={};A=e.extend(!0,{},A,n),n.allowTimes&&e.isArray(n.allowTimes)&&n.allowTimes.length&&(A.allowTimes=e.extend(!0,[],n.allowTimes)),n.weekends&&e.isArray(n.weekends)&&n.weekends.length&&(A.weekends=e.extend(!0,[],n.weekends)),n.allowDates&&e.isArray(n.allowDates)&&n.allowDates.length&&(A.allowDates=e.extend(!0,[],n.allowDates)),n.allowDateRe&&"[object String]"===Object.prototype.toString.call(n.allowDateRe)&&(A.allowDateRe=new RegExp(n.allowDateRe)),n.highlightedDates&&e.isArray(n.highlightedDates)&&n.highlightedDates.length&&(e.each(n.highlightedDates,function(t,n){var r,a=e.map(n.split(","),e.trim),s=new d(i.parseDate(a[0],A.formatDate),a[1],a[2]),l=i.formatDate(s.date,A.formatDate);void 0!==o[l]?(r=o[l].desc)&&r.length&&s.desc&&s.desc.length&&(o[l].desc=r+"\n"+s.desc):o[l]=s}),A.highlightedDates=e.extend(!0,[],o)),n.highlightedPeriods&&e.isArray(n.highlightedPeriods)&&n.highlightedPeriods.length&&(o=e.extend(!0,[],A.highlightedDates),e.each(n.highlightedPeriods,function(t,n){var r,a,s,l,c,u,h;if(e.isArray(n))r=n[0],a=n[1],s=n[2],h=n[3];else{var f=e.map(n.split(","),e.trim);r=i.parseDate(f[0],A.formatDate),a=i.parseDate(f[1],A.formatDate),s=f[2],h=f[3]}for(;r<=a;)l=new d(r,s,h),c=i.formatDate(r,A.formatDate),r.setDate(r.getDate()+1),void 0!==o[c]?(u=o[c].desc)&&u.length&&l.desc&&l.desc.length&&(o[c].desc=u+"\n"+l.desc):o[c]=l}),A.highlightedDates=e.extend(!0,[],o)),n.disabledDates&&e.isArray(n.disabledDates)&&n.disabledDates.length&&(A.disabledDates=e.extend(!0,[],n.disabledDates)),n.disabledWeekDays&&e.isArray(n.disabledWeekDays)&&n.disabledWeekDays.length&&(A.disabledWeekDays=e.extend(!0,[],n.disabledWeekDays)),!A.open&&!A.opened||A.inline||t.trigger("open.xdsoft"),A.inline&&(U=!0,z.addClass("xdsoft_inline"),t.after(z).hide()),A.inverseButton&&(A.next="xdsoft_prev",A.prev="xdsoft_next"),A.datepicker?j.addClass("active"):j.removeClass("active"),A.timepicker?W.addClass("active"):W.removeClass("active"),A.value&&(I.setCurrentTime(A.value),t&&t.val&&t.val(I.str)),isNaN(A.dayOfWeekStart)?A.dayOfWeekStart=0:A.dayOfWeekStart=parseInt(A.dayOfWeekStart,10)%7,A.timepickerScrollbar||Y.xdsoftScroller(A,"hide"),A.minDate&&/^[\+\-](.*)$/.test(A.minDate)&&(A.minDate=i.formatDate(I.strToDateTime(A.minDate),A.formatDate)),A.maxDate&&/^[\+\-](.*)$/.test(A.maxDate)&&(A.maxDate=i.formatDate(I.strToDateTime(A.maxDate),A.formatDate)),A.minDateTime&&/^\+(.*)$/.test(A.minDateTime)&&(A.minDateTime=I.strToDateTime(A.minDateTime).dateFormat(A.formatDate)),A.maxDateTime&&/^\+(.*)$/.test(A.maxDateTime)&&(A.maxDateTime=I.strToDateTime(A.maxDateTime).dateFormat(A.formatDate)),R.toggle(A.showApplyButton),F.find(".xdsoft_today_button").css("visibility",A.todayButton?"visible":"hidden"),F.find("."+A.prev).css("visibility",A.prevButton?"visible":"hidden"),F.find("."+A.next).css("visibility",A.nextButton?"visible":"hidden"),J(A),A.validateOnBlur&&t.off("blur.xdsoft").on("blur.xdsoft",function(){if(A.allowBlank&&(!e.trim(e(this).val()).length||"string"==typeof A.mask&&e.trim(e(this).val())===A.mask.replace(/[0-9]/g,"_")))e(this).val(null),z.data("xdsoft_datetime").empty();else{var t=i.parseDate(e(this).val(),A.format);if(t)e(this).val(i.formatDate(t,A.format));else{var n=+[e(this).val()[0],e(this).val()[1]].join(""),o=+[e(this).val()[2],e(this).val()[3]].join("");!A.datepicker&&A.timepicker&&n>=0&&n<24&&o>=0&&o<60?e(this).val([n,o].map(function(e){return e>9?e:"0"+e}).join(":")):e(this).val(i.formatDate(I.now(),A.format))}z.data("xdsoft_datetime").setCurrentTime(e(this).val())}z.trigger("changedatetime.xdsoft"),z.trigger("close.xdsoft")}),A.dayOfWeekStartPrev=0===A.dayOfWeekStart?6:A.dayOfWeekStart-1,z.trigger("xchange.xdsoft").trigger("afterOpen.xdsoft")},z.data("options",A).on("touchstart mousedown.xdsoft",function(e){return e.stopPropagation(),e.preventDefault(),B.hide(),$.hide(),!1}),Y.append(H),Y.xdsoftScroller(A),z.on("afterOpen.xdsoft",function(){Y.xdsoftScroller(A)}),z.append(j).append(W),!0!==A.withoutCopyright&&z.append(N),j.append(F).append(L).append(R),e(A.parentID).append(z),I=new function(){var t=this;t.now=function(e){var i,n,o=new Date;return!e&&A.defaultDate&&(i=t.strToDateTime(A.defaultDate),o.setFullYear(i.getFullYear()),o.setMonth(i.getMonth()),o.setDate(i.getDate())),o.setFullYear(o.getFullYear()),!e&&A.defaultTime&&(n=t.strtotime(A.defaultTime),o.setHours(n.getHours()),o.setMinutes(n.getMinutes()),o.setSeconds(n.getSeconds()),o.setMilliseconds(n.getMilliseconds())),o},t.isValidDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},t.setCurrentTime=function(e,i){"string"==typeof e?t.currentTime=t.strToDateTime(e):t.isValidDate(e)?t.currentTime=e:e||i||!A.allowBlank||A.inline?t.currentTime=t.now():t.currentTime=null,z.trigger("xchange.xdsoft")},t.empty=function(){t.currentTime=null},t.getCurrentTime=function(){return t.currentTime},t.nextMonth=function(){void 0!==t.currentTime&&null!==t.currentTime||(t.currentTime=t.now());var i,n=t.currentTime.getMonth()+1;return 12===n&&(t.currentTime.setFullYear(t.currentTime.getFullYear()+1),n=0),i=t.currentTime.getFullYear(),t.currentTime.setDate(Math.min(new Date(t.currentTime.getFullYear(),n+1,0).getDate(),t.currentTime.getDate())),t.currentTime.setMonth(n),A.onChangeMonth&&e.isFunction(A.onChangeMonth)&&A.onChangeMonth.call(z,I.currentTime,z.data("input")),i!==t.currentTime.getFullYear()&&e.isFunction(A.onChangeYear)&&A.onChangeYear.call(z,I.currentTime,z.data("input")),z.trigger("xchange.xdsoft"),n},t.prevMonth=function(){void 0!==t.currentTime&&null!==t.currentTime||(t.currentTime=t.now());var i=t.currentTime.getMonth()-1;return-1===i&&(t.currentTime.setFullYear(t.currentTime.getFullYear()-1),i=11),t.currentTime.setDate(Math.min(new Date(t.currentTime.getFullYear(),i+1,0).getDate(),t.currentTime.getDate())),t.currentTime.setMonth(i),A.onChangeMonth&&e.isFunction(A.onChangeMonth)&&A.onChangeMonth.call(z,I.currentTime,z.data("input")),z.trigger("xchange.xdsoft"),i},t.getWeekOfYear=function(t){if(A.onGetWeekOfYear&&e.isFunction(A.onGetWeekOfYear)){var i=A.onGetWeekOfYear.call(z,t);if(void 0!==i)return i}var n=new Date(t.getFullYear(),0,1);return 4!==n.getDay()&&n.setMonth(0,1+(4-n.getDay()+7)%7),Math.ceil(((t-n)/864e5+n.getDay()+1)/7)},t.strToDateTime=function(e){var n,o,r=[];return e&&e instanceof Date&&t.isValidDate(e)?e:((r=/^([+-]{1})(.*)$/.exec(e))&&(r[2]=i.parseDate(r[2],A.formatDate)),r&&r[2]?(n=r[2].getTime()-6e4*r[2].getTimezoneOffset(),o=new Date(t.now(!0).getTime()+parseInt(r[1]+"1",10)*n)):o=e?i.parseDate(e,A.format):t.now(),t.isValidDate(o)||(o=t.now()),o)},t.strToDate=function(e){if(e&&e instanceof Date&&t.isValidDate(e))return e;var n=e?i.parseDate(e,A.formatDate):t.now(!0);return t.isValidDate(n)||(n=t.now(!0)),n},t.strtotime=function(e){if(e&&e instanceof Date&&t.isValidDate(e))return e;var n=e?i.parseDate(e,A.formatTime):t.now(!0);return t.isValidDate(n)||(n=t.now(!0)),n},t.str=function(){var e=A.format;return A.yearOffset&&(e=(e=e.replace("Y",t.currentTime.getFullYear()+A.yearOffset)).replace("y",String(t.currentTime.getFullYear()+A.yearOffset).substring(2,4))),i.formatDate(t.currentTime,e)},t.currentTime=this.now()},R.on("touchend click",function(e){e.preventDefault(),z.data("changed",!0),I.setCurrentTime(Q()),t.val(I.str()),z.trigger("close.xdsoft")}),F.find(".xdsoft_today_button").on("touchend mousedown.xdsoft",function(){z.data("changed",!0),I.setCurrentTime(0,!0),z.trigger("afterOpen.xdsoft")}).on("dblclick.xdsoft",function(){var e,i,n=I.getCurrentTime();n=new Date(n.getFullYear(),n.getMonth(),n.getDate()),e=I.strToDate(A.minDate),n<(e=new Date(e.getFullYear(),e.getMonth(),e.getDate()))||(i=I.strToDate(A.maxDate),n>(i=new Date(i.getFullYear(),i.getMonth(),i.getDate()))||(t.val(I.str()),t.trigger("change"),z.trigger("close.xdsoft")))}),F.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var t=e(this),i=0,n=!1;!function e(o){t.hasClass(A.next)?I.nextMonth():t.hasClass(A.prev)&&I.prevMonth(),A.monthChangeSpinner&&(n||(i=setTimeout(e,o||100)))}(500),e([A.ownerDocument.body,A.contentWindow]).on("touchend mouseup.xdsoft",function t(){clearTimeout(i),n=!0,e([A.ownerDocument.body,A.contentWindow]).off("touchend mouseup.xdsoft",t)})}),W.find(".xdsoft_prev,.xdsoft_next").on("touchend mousedown.xdsoft",function(){var t=e(this),i=0,n=!1,o=110;!function e(r){var a=Y[0].clientHeight,s=H[0].offsetHeight,l=Math.abs(parseInt(H.css("marginTop"),10));t.hasClass(A.next)&&s-a-A.timeHeightInTimePicker>=l?H.css("marginTop","-"+(l+A.timeHeightInTimePicker)+"px"):t.hasClass(A.prev)&&l-A.timeHeightInTimePicker>=0&&H.css("marginTop","-"+(l-A.timeHeightInTimePicker)+"px"),Y.trigger("scroll_element.xdsoft_scroller",[Math.abs(parseInt(H[0].style.marginTop,10)/(s-a))]),o=o>10?10:o-10,n||(i=setTimeout(e,r||o))}(500),e([A.ownerDocument.body,A.contentWindow]).on("touchend mouseup.xdsoft",function t(){clearTimeout(i),n=!0,e([A.ownerDocument.body,A.contentWindow]).off("touchend mouseup.xdsoft",t)})}),r=0,z.on("xchange.xdsoft",function(a){clearTimeout(r),r=setTimeout(function(){void 0!==I.currentTime&&null!==I.currentTime||(I.currentTime=I.now());for(var r,a,s,l,c,d,u,h,f,p,m="",g=new Date(I.currentTime.getFullYear(),I.currentTime.getMonth(),1,12,0,0),v=0,y=I.now(),b=!1,w=!1,_=!1,k=!1,x=[],D=!0,S="";g.getDay()!==A.dayOfWeekStart;)g.setDate(g.getDate()-1);for(m+="",A.weeks&&(m+=""),r=0;r<7;r+=1)m+="";for(m+="",m+="",!1!==A.maxDate&&(b=I.strToDate(A.maxDate),b=new Date(b.getFullYear(),b.getMonth(),b.getDate(),23,59,59,999)),!1!==A.minDate&&(w=I.strToDate(A.minDate),w=new Date(w.getFullYear(),w.getMonth(),w.getDate())),!1!==A.minDateTime&&(_=I.strToDate(A.minDateTime),_=new Date(_.getFullYear(),_.getMonth(),_.getDate(),_.getHours(),_.getMinutes(),_.getSeconds())),!1!==A.maxDateTime&&(k=I.strToDate(A.maxDateTime),k=new Date(k.getFullYear(),k.getMonth(),k.getDate(),k.getHours(),k.getMinutes(),k.getSeconds())),!1!==k&&(p=31*(12*k.getFullYear()+k.getMonth())+k.getDate());v0&&-1===A.allowDates.indexOf(i.formatDate(g,A.formatDate))&&x.push("xdsoft_disabled");var M=31*(12*g.getFullYear()+g.getMonth())+g.getDate();(!1!==b&&g>b||!1!==_&&g<_||!1!==w&&gp||u&&!1===u[0])&&x.push("xdsoft_disabled"),-1!==A.disabledDates.indexOf(i.formatDate(g,A.formatDate))&&x.push("xdsoft_disabled"),-1!==A.disabledWeekDays.indexOf(s)&&x.push("xdsoft_disabled"),t.is("[disabled]")&&x.push("xdsoft_disabled"),u&&""!==u[1]&&x.push(u[1]),I.currentTime.getMonth()!==O&&x.push("xdsoft_other_month"),(A.defaultSelect||z.data("changed"))&&i.formatDate(I.currentTime,A.formatDate)===i.formatDate(g,A.formatDate)&&x.push("xdsoft_current"),i.formatDate(y,A.formatDate)===i.formatDate(g,A.formatDate)&&x.push("xdsoft_today"),0!==g.getDay()&&6!==g.getDay()&&-1===A.weekends.indexOf(i.formatDate(g,A.formatDate))||x.push("xdsoft_weekend"),void 0!==A.highlightedDates[i.formatDate(g,A.formatDate)]&&(a=A.highlightedDates[i.formatDate(g,A.formatDate)],x.push(void 0===a.style?"xdsoft_highlighted_default":a.style),f=void 0===a.desc?"":a.desc),A.beforeShowDay&&e.isFunction(A.beforeShowDay)&&x.push(A.beforeShowDay(g)),D&&(m+="",D=!1,A.weeks&&(m+="")),m+='",g.getDay()===A.dayOfWeekStartPrev&&(m+="",D=!0),g.setDate(l+1)}m+="
"+A.i18n[o].dayOfWeekShort[(r+A.dayOfWeekStart)%7]+"
"+d+"
'+l+"
",L.html(m),F.find(".xdsoft_label span").eq(0).text(A.i18n[o].months[I.currentTime.getMonth()]),F.find(".xdsoft_label span").eq(1).text(I.currentTime.getFullYear()+A.yearOffset),S="",O="";var T=0;if(!1!==A.minTime){var C=I.strtotime(A.minTime);T=60*C.getHours()+C.getMinutes()}var P=1440;if(!1!==A.maxTime){C=I.strtotime(A.maxTime);P=60*C.getHours()+C.getMinutes()}if(!1!==A.minDateTime){C=I.strToDateTime(A.minDateTime);if(i.formatDate(I.currentTime,A.formatDate)===i.formatDate(C,A.formatDate))(O=60*C.getHours()+C.getMinutes())>T&&(T=O)}if(!1!==A.maxDateTime){var O;C=I.strToDateTime(A.maxDateTime);if(i.formatDate(I.currentTime,A.formatDate)===i.formatDate(C,A.formatDate))(O=60*C.getHours()+C.getMinutes())=P||l59||r.getMinutes()===parseInt(o,10))&&(A.defaultSelect||z.data("changed")?x.push("xdsoft_current"):A.initTime&&x.push("xdsoft_init_time")),parseInt(y.getHours(),10)===parseInt(n,10)&&parseInt(y.getMinutes(),10)===parseInt(o,10)&&x.push("xdsoft_today"),S+='
'+i.formatDate(a,A.formatTime)+"
"},A.allowTimes&&e.isArray(A.allowTimes)&&A.allowTimes.length)for(v=0;v=P||h((v<10?"0":"")+v,O=(r<10?"0":"")+r))}for(H.html(S),n="",v=parseInt(A.yearStart,10);v<=parseInt(A.yearEnd,10);v+=1)n+='
'+(v+A.yearOffset)+"
";for(B.children().eq(0).html(n),v=parseInt(A.monthStart,10),n="";v<=parseInt(A.monthEnd,10);v+=1)n+='
'+A.i18n[o].months[v]+"
";$.children().eq(0).html(n),e(z).trigger("generate.xdsoft")},10),a.stopPropagation()}).on("afterOpen.xdsoft",function(){var e,t,i,n;A.timepicker&&(H.find(".xdsoft_current").length?e=".xdsoft_current":H.find(".xdsoft_init_time").length&&(e=".xdsoft_init_time"),e?(t=Y[0].clientHeight,(i=H[0].offsetHeight)-t<(n=H.find(e).index()*A.timeHeightInTimePicker+1)&&(n=i-t),Y.trigger("scroll_element.xdsoft_scroller",[parseInt(n,10)/(i-t)])):Y.trigger("scroll_element.xdsoft_scroller",[0]))}),a=0,L.on("touchend click.xdsoft","td",function(i){i.stopPropagation(),a+=1;var n=e(this),o=I.currentTime;if(null==o&&(I.currentTime=I.now(),o=I.currentTime),n.hasClass("xdsoft_disabled"))return!1;o.setDate(1),o.setFullYear(n.data("year")),o.setMonth(n.data("month")),o.setDate(n.data("date")),z.trigger("select.xdsoft",[o]),t.val(I.str()),A.onSelectDate&&e.isFunction(A.onSelectDate)&&A.onSelectDate.call(z,I.currentTime,z.data("input"),i),z.data("changed",!0),z.trigger("xchange.xdsoft"),z.trigger("changedatetime.xdsoft"),(a>1||!0===A.closeOnDateSelect||!1===A.closeOnDateSelect&&!A.timepicker)&&!A.inline&&z.trigger("close.xdsoft"),setTimeout(function(){a=0},200)}),H.on("touchstart","div",function(e){this.touchMoved=!1}).on("touchmove","div",q).on("touchend click.xdsoft","div",function(t){if(!this.touchMoved){t.stopPropagation();var i=e(this),n=I.currentTime;if(null==n&&(I.currentTime=I.now(),n=I.currentTime),i.hasClass("xdsoft_disabled"))return!1;n.setHours(i.data("hour")),n.setMinutes(i.data("minute")),z.trigger("select.xdsoft",[n]),z.data("input").val(I.str()),A.onSelectTime&&e.isFunction(A.onSelectTime)&&A.onSelectTime.call(z,I.currentTime,z.data("input"),t),z.data("changed",!0),z.trigger("xchange.xdsoft"),z.trigger("changedatetime.xdsoft"),!0!==A.inline&&!0===A.closeOnTimeSelect&&z.trigger("close.xdsoft")}}),j.on("mousewheel.xdsoft",function(e){return!A.scrollMonth||(e.deltaY<0?I.nextMonth():I.prevMonth(),!1)}),t.on("mousewheel.xdsoft",function(e){return!A.scrollInput||(!A.datepicker&&A.timepicker?((s=H.find(".xdsoft_current").length?H.find(".xdsoft_current").eq(0).index():0)+e.deltaY>=0&&s+e.deltaYh+f?(d="bottom",n=h+f-t.top):n-=f):n+z[0].offsetHeight>h+f&&(n=t.top-z[0].offsetHeight+1),n<0&&(n=0),o+i.offsetWidth>c&&(o=c-i.offsetWidth)),a=z[0],E(a,function(e){if("relative"===A.contentWindow.getComputedStyle(e).getPropertyValue("position")&&c>=e.offsetWidth)return o-=(c-e.offsetWidth)/2,!1}),(u={position:r,left:o,top:"",bottom:""})[d]=n,z.css(u)},z.on("open.xdsoft",function(t){var i=!0;A.onShow&&e.isFunction(A.onShow)&&(i=A.onShow.call(z,I.currentTime,z.data("input"),t)),!1!==i&&(z.show(),l(),e(A.contentWindow).off("resize.xdsoft",l).on("resize.xdsoft",l),A.closeOnWithoutClick&&e([A.ownerDocument.body,A.contentWindow]).on("touchstart mousedown.xdsoft",function t(){z.trigger("close.xdsoft"),e([A.ownerDocument.body,A.contentWindow]).off("touchstart mousedown.xdsoft",t)}))}).on("close.xdsoft",function(t){var i=!0;F.find(".xdsoft_month,.xdsoft_year").find(".xdsoft_select").hide(),A.onClose&&e.isFunction(A.onClose)&&(i=A.onClose.call(z,I.currentTime,z.data("input"),t)),!1===i||A.opened||A.inline||z.hide(),t.stopPropagation()}).on("toggle.xdsoft",function(){z.is(":visible")?z.trigger("close.xdsoft"):z.trigger("open.xdsoft")}).data("input",t),K=0,z.data("xdsoft_datetime",I),z.setOptions(A),I.setCurrentTime(Q()),t.data("xdsoft_datetimepicker",z).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function(){t.is(":disabled")||t.data("xdsoft_datetimepicker").is(":visible")&&A.closeOnInputClick||A.openOnFocus&&(clearTimeout(K),K=setTimeout(function(){t.is(":disabled")||(U=!0,I.setCurrentTime(Q(),!0),A.mask&&J(A),z.trigger("open.xdsoft"))},100))}).on("keydown.xdsoft",function(t){var i,n=t.which;return-1!==[g].indexOf(n)&&A.enterLikeTab?(i=e("input:visible,textarea:visible,button:visible,a:visible"),z.trigger("close.xdsoft"),i.eq(i.index(this)+1).focus(),!1):-1!==[x].indexOf(n)?(z.trigger("close.xdsoft"),!0):void 0}).on("blur.xdsoft",function(){z.trigger("close.xdsoft")})},s=function(t){var i=t.data("xdsoft_datetimepicker");i&&(i.data("xdsoft_datetime",null),i.remove(),t.data("xdsoft_datetimepicker",null).off(".xdsoft"),e(A.contentWindow).off("resize.xdsoft"),e([A.contentWindow,A.ownerDocument.body]).off("mousedown.xdsoft touchstart"),t.unmousewheel&&t.unmousewheel())},e(A.ownerDocument).off("keydown.xdsoftctrl keyup.xdsoftctrl").on("keydown.xdsoftctrl",function(e){e.keyCode===p&&(O=!0)}).on("keyup.xdsoftctrl",function(e){e.keyCode===p&&(O=!1)}),this.each(function(){var t,o=e(this).data("xdsoft_datetimepicker");if(o){if("string"===e.type(n))switch(n){case"show":e(this).select().focus(),o.trigger("open.xdsoft");break;case"hide":o.trigger("close.xdsoft");break;case"toggle":o.trigger("toggle.xdsoft");break;case"destroy":s(e(this));break;case"reset":this.value=this.defaultValue,this.value&&o.data("xdsoft_datetime").isValidDate(i.parseDate(this.value,A.format))||o.data("changed",!1),o.data("xdsoft_datetime").setCurrentTime(this.value);break;case"validate":o.data("input").trigger("blur.xdsoft");break;default:o[n]&&e.isFunction(o[n])&&(l=o[n](r))}else o.setOptions(n);return 0}"string"!==e.type(n)&&(!A.lazyInit||A.open||A.inline?a(e(this)):(t=e(this)).on("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",function e(){t.is(":disabled")||t.data("xdsoft_datetimepicker")||(clearTimeout(I),I=setTimeout(function(){t.data("xdsoft_datetimepicker")||a(t),t.off("open.xdsoft focusin.xdsoft mousedown.xdsoft touchstart",e).trigger("open.xdsoft")},100))}))}),l},e.fn.datetimepicker.defaults=t};!function(e){"function"==typeof define&&define.amd?define(["jquery","jquery-mousewheel"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(datetimepickerFactory),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){var t,i,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],o="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(e.event.fixHooks)for(var a=n.length;a;)e.event.fixHooks[n[--a]]=e.event.mouseHooks;var s=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=o.length;t;)this.addEventListener(o[--t],l,!1);else this.onmousewheel=l;e.data(this,"mousewheel-line-height",s.getLineHeight(this)),e.data(this,"mousewheel-page-height",s.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=o.length;t;)this.removeEventListener(o[--t],l,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),n=i["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(n){var o,a=n||window.event,l=r.call(arguments,1),u=0,h=0,f=0,p=0,m=0;if((n=e.event.fix(a)).type="mousewheel","detail"in a&&(f=-1*a.detail),"wheelDelta"in a&&(f=a.wheelDelta),"wheelDeltaY"in a&&(f=a.wheelDeltaY),"wheelDeltaX"in a&&(h=-1*a.wheelDeltaX),"axis"in a&&a.axis===a.HORIZONTAL_AXIS&&(h=-1*f,f=0),u=0===f?h:f,"deltaY"in a&&(u=f=-1*a.deltaY),"deltaX"in a&&(h=a.deltaX,0===f&&(u=-1*h)),0!==f||0!==h){if(1===a.deltaMode){var g=e.data(this,"mousewheel-line-height");u*=g,f*=g,h*=g}else if(2===a.deltaMode){var v=e.data(this,"mousewheel-page-height");u*=v,f*=v,h*=v}if(o=Math.max(Math.abs(f),Math.abs(h)),(!i||o=1?"floor":"ceil"](u/i),h=Math[h>=1?"floor":"ceil"](h/i),f=Math[f>=1?"floor":"ceil"](f/i),s.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();p=n.clientX-y.left,m=n.clientY-y.top}return n.deltaX=h,n.deltaY=f,n.deltaFactor=i,n.offsetX=p,n.offsetY=m,n.deltaMode=0,l.unshift(n,u,h,f),t&&clearTimeout(t),t=setTimeout(c,200),(e.event.dispatch||e.event.handle).apply(this,l)}}function c(){i=null}function d(e,t){return s.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){e.ui=e.ui||{};e.ui.version="1.12.1";var t,i=0,n=Array.prototype.slice;e.cleanData=(t=e.cleanData,function(i){var n,o,r;for(r=0;null!=(o=i[r]);r++)try{(n=e._data(o,"events"))&&n.remove&&e(o).triggerHandler("remove")}catch(e){}t(i)}),e.widget=function(t,i,n){var o,r,a,s={},l=t.split(".")[0],c=l+"-"+(t=t.split(".")[1]);return n||(n=i,i=e.Widget),e.isArray(n)&&(n=e.extend.apply(null,[{}].concat(n))),e.expr[":"][c.toLowerCase()]=function(t){return!!e.data(t,c)},e[l]=e[l]||{},o=e[l][t],r=e[l][t]=function(e,t){if(!this._createWidget)return new r(e,t);arguments.length&&this._createWidget(e,t)},e.extend(r,o,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),(a=new i).options=e.widget.extend({},a.options),e.each(n,function(t,n){e.isFunction(n)?s[t]=function(){function e(){return i.prototype[t].apply(this,arguments)}function o(e){return i.prototype[t].apply(this,e)}return function(){var t,i=this._super,r=this._superApply;return this._super=e,this._superApply=o,t=n.apply(this,arguments),this._super=i,this._superApply=r,t}}():s[t]=n}),r.prototype=e.widget.extend(a,{widgetEventPrefix:o&&a.widgetEventPrefix||t},s,{constructor:r,namespace:l,widgetName:t,widgetFullName:c}),o?(e.each(o._childConstructors,function(t,i){var n=i.prototype;e.widget(n.namespace+"."+n.widgetName,r,i._proto)}),delete o._childConstructors):i._childConstructors.push(r),e.widget.bridge(t,r),r},e.widget.extend=function(t){for(var i,o,r=n.call(arguments,1),a=0,s=r.length;a",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,n){n=e(n||this.defaultElement||this)[0],this.element=e(n),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},n!==this&&(e.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===n&&this.destroy()}}),this.document=e(n.style?n.ownerDocument:n.document||n),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,function(e,i){t._removeClass(i,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var n,o,r,a=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(a={},n=t.split("."),t=n.shift(),n.length){for(o=a[t]=e.widget.extend({},this.options[t]),r=0;r=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),e.widget("ui.sortable",e.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,i){return e>=t&&e=0;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(t,i){var n=null,o=!1,r=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(t),e(t.target).parents().each(function(){if(e.data(this,r.widgetName+"-item")===r)return n=e(this),!1}),e.data(t.target,r.widgetName+"-item")===r&&(n=e(t.target)),!!n&&(!(this.options.handle&&!i&&(e(this.options.handle,n).find("*").addBack().each(function(){this===t.target&&(o=!0)}),!o))&&(this.currentItem=n,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(t,i,n){var o,r,a=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},e.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(r=this.document.find("body"),this.storedCursor=r.css("cursor"),r.css("cursor",a.cursor),this.storedStylesheet=e("").appendTo(r)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(o=this.containers.length-1;o>=0;o--)this.containers[o]._trigger("activate",t,this._uiHash(this));return e.ui.ddmanager&&(e.ui.ddmanager.current=this),e.ui.ddmanager&&!a.dropBehaviour&&e.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var i,n,o,r,a=this.options,s=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY=0;i--)if(o=(n=this.items[i]).item[0],(r=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&!(o===this.currentItem[0]||this.placeholder[1===r?"next":"prev"]()[0]===o||e.contains(this.placeholder[0],o)||"semi-dynamic"===this.options.type&&e.contains(this.element[0],o))){if(this.direction=1===r?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(t,n),this._trigger("change",t,this._uiHash());break}return this._contactContainers(t),e.ui.ddmanager&&e.ui.ddmanager.drag(this,t),this._trigger("sort",t,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(t,i){if(t){if(e.ui.ddmanager&&!this.options.dropBehaviour&&e.ui.ddmanager.drop(this,t),this.options.revert){var n=this,o=this.placeholder.offset(),r=this.options.axis,a={};r&&"x"!==r||(a.left=o.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),r&&"y"!==r||(a.top=o.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,e(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){n._clear(t)})}else this._clear(t,i);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new e.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var t=this.containers.length-1;t>=0;t--)this.containers[t]._trigger("deactivate",null,this._uiHash(this)),this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",null,this._uiHash(this)),this.containers[t].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),e.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?e(this.domPosition.prev).after(this.currentItem):e(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var i=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},e(i).each(function(){var i=(e(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);i&&n.push((t.key||i[1]+"[]")+"="+(t.key&&t.expression?i[1]:i[2]))}),!n.length&&t.key&&n.push(t.key+"="),n.join("&")},toArray:function(t){var i=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},i.each(function(){n.push(e(t.item||this).attr(t.attribute||"id")||"")}),n},_intersectsWith:function(e){var t=this.positionAbs.left,i=t+this.helperProportions.width,n=this.positionAbs.top,o=n+this.helperProportions.height,r=e.left,a=r+e.width,s=e.top,l=s+e.height,c=this.offset.click.top,d=this.offset.click.left,u="x"===this.options.axis||n+c>s&&n+cr&&t+de[this.floating?"width":"height"]?f:r0?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(e>0?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(t){var i,n,o,r,a=[],s=[],l=this._connectWith();if(l&&t)for(i=l.length-1;i>=0;i--)for(n=(o=e(l[i],this.document[0])).length-1;n>=0;n--)(r=e.data(o[n],this.widgetFullName))&&r!==this&&!r.options.disabled&&s.push([e.isFunction(r.options.items)?r.options.items.call(r.element):e(r.options.items,r.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),r]);function c(){a.push(this)}for(s.push([e.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):e(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),i=s.length-1;i>=0;i--)s[i][0].each(c);return e(a)},_removeCurrentsFromItems:function(){var t=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=e.grep(this.items,function(e){for(var i=0;i=0;i--)for(n=(o=e(h[i],this.document[0])).length-1;n>=0;n--)(r=e.data(o[n],this.widgetFullName))&&r!==this&&!r.options.disabled&&(u.push([e.isFunction(r.options.items)?r.options.items.call(r.element[0],t,{item:this.currentItem}):e(r.options.items,r.element),r]),this.containers.push(r));for(i=u.length-1;i>=0;i--)for(a=u[i][1],n=0,c=(s=u[i][0]).length;n=0;i--)(n=this.items[i]).instance!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[0]||(o=this.options.toleranceElement?e(this.options.toleranceElement,n.item):n.item,t||(n.width=o.outerWidth(),n.height=o.outerHeight()),r=o.offset(),n.left=r.left,n.top=r.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(i=this.containers.length-1;i>=0;i--)r=this.containers[i].element.offset(),this.containers[i].containerCache.left=r.left,this.containers[i].containerCache.top=r.top,this.containers[i].containerCache.width=this.containers[i].element.outerWidth(),this.containers[i].containerCache.height=this.containers[i].element.outerHeight();return this},_createPlaceholder:function(t){var i,n=(t=t||this).options;n.placeholder&&n.placeholder.constructor!==String||(i=n.placeholder,n.placeholder={element:function(){var n=t.currentItem[0].nodeName.toLowerCase(),o=e("<"+n+">",t.document[0]);return t._addClass(o,"ui-sortable-placeholder",i||t.currentItem[0].className)._removeClass(o,"ui-sortable-helper"),"tbody"===n?t._createTrPlaceholder(t.currentItem.find("tr").eq(0),e("",t.document[0]).appendTo(o)):"tr"===n?t._createTrPlaceholder(t.currentItem,o):"img"===n&&o.attr("src",t.currentItem.attr("src")),i||o.css("visibility","hidden"),o},update:function(e,o){i&&!n.forcePlaceholderSize||(o.height()||o.height(t.currentItem.innerHeight()-parseInt(t.currentItem.css("paddingTop")||0,10)-parseInt(t.currentItem.css("paddingBottom")||0,10)),o.width()||o.width(t.currentItem.innerWidth()-parseInt(t.currentItem.css("paddingLeft")||0,10)-parseInt(t.currentItem.css("paddingRight")||0,10)))}}),t.placeholder=e(n.placeholder.element.call(t.element,t.currentItem)),t.currentItem.after(t.placeholder),n.placeholder.update(t,t.placeholder)},_createTrPlaceholder:function(t,i){var n=this;t.children().each(function(){e(" ",n.document[0]).attr("colspan",e(this).attr("colspan")||1).appendTo(i)})},_contactContainers:function(t){var i,n,o,r,a,s,l,c,d,u,h=null,f=null;for(i=this.containers.length-1;i>=0;i--)if(!e.contains(this.currentItem[0],this.containers[i].element[0]))if(this._intersectsWith(this.containers[i].containerCache)){if(h&&e.contains(this.containers[i].element[0],h.element[0]))continue;h=this.containers[i],f=i}else this.containers[i].containerCache.over&&(this.containers[i]._trigger("out",t,this._uiHash(this)),this.containers[i].containerCache.over=0);if(h)if(1===this.containers.length)this.containers[f].containerCache.over||(this.containers[f]._trigger("over",t,this._uiHash(this)),this.containers[f].containerCache.over=1);else{for(o=1e4,r=null,a=(d=h.floating||this._isFloating(this.currentItem))?"left":"top",s=d?"width":"height",u=d?"pageX":"pageY",n=this.items.length-1;n>=0;n--)e.contains(this.containers[f].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(l=this.items[n].item.offset()[a],c=!1,t[u]-l>this.items[n][s]/2&&(c=!0),Math.abs(t[u]-l)this.containment[2]&&(r=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),o.grid&&(i=this.originalPageY+Math.round((a-this.originalPageY)/o.grid[1])*o.grid[1],a=this.containment?i-this.offset.click.top>=this.containment[1]&&i-this.offset.click.top<=this.containment[3]?i:i-this.offset.click.top>=this.containment[1]?i-o.grid[1]:i+o.grid[1]:i,n=this.originalPageX+Math.round((r-this.originalPageX)/o.grid[0])*o.grid[0],r=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-o.grid[0]:n+o.grid[0]:n)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():l?0:s.scrollTop()),left:r-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:s.scrollLeft())}},_rearrange:function(e,t,i,n){i?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var o=this.counter;this._delay(function(){o===this.counter&&this.refreshPositions(!n)})},_clear:function(e,t){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function o(e,t,i){return function(n){i._trigger(e,n,t._uiHash(t))}}for(this.fromOutside&&!t&&n.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||n.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(t||(n.push(function(e){this._trigger("remove",e,this._uiHash())}),n.push(function(e){return function(t){e._trigger("receive",t,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(e){return function(t){e._trigger("update",t,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;i>=0;i--)t||n.push(o("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(o("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(i=0;i
"))}function s(t){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return t.on("mouseout",i,function(){e(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",i,l)}function l(){e.datepicker._isDisabledDatepicker(r.inline?r.dpDiv.parent()[0]:r.input[0])||(e(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),e(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&e(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&e(this).addClass("ui-datepicker-next-hover"))}function c(t,i){for(var n in e.extend(t,i),i)null==i[n]&&(t[n]=i[n]);return t}e.extend(e.ui,{datepicker:{version:"1.12.1"}}),e.extend(a.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return c(this._defaults,e||{}),this},_attachDatepicker:function(t,i){var n,o,r;o="div"===(n=t.nodeName.toLowerCase())||"span"===n,t.id||(this.uuid+=1,t.id="dp"+this.uuid),(r=this._newInst(e(t),o)).settings=e.extend({},i||{}),"input"===n?this._connectDatepicker(t,r):o&&this._inlineDatepicker(t,r)},_newInst:function(t,i){return{id:t[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?s(e("
")):this.dpDiv}},_connectDatepicker:function(t,i){var n=e(t);i.append=e([]),i.trigger=e([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),e.data(t,"datepicker",i),i.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,i){var n,o,r,a=this._get(i,"appendText"),s=this._get(i,"isRTL");i.append&&i.append.remove(),a&&(i.append=e(""+a+""),t[s?"before":"after"](i.append)),t.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),"focus"!==(n=this._get(i,"showOn"))&&"both"!==n||t.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(o=this._get(i,"buttonText"),r=this._get(i,"buttonImage"),i.trigger=e(this._get(i,"buttonImageOnly")?e("").addClass(this._triggerClass).attr({src:r,alt:o,title:o}):e("").addClass(this._triggerClass).html(r?e("").attr({src:r,alt:o,title:o}):o)),t[s?"before":"after"](i.trigger),i.trigger.on("click",function(){return e.datepicker._datepickerShowing&&e.datepicker._lastInput===t[0]?e.datepicker._hideDatepicker():e.datepicker._datepickerShowing&&e.datepicker._lastInput!==t[0]?(e.datepicker._hideDatepicker(),e.datepicker._showDatepicker(t[0])):e.datepicker._showDatepicker(t[0]),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,i,n,o,r=new Date(2009,11,20),a=this._get(e,"dateFormat");a.match(/[DM]/)&&(t=function(e){for(i=0,n=0,o=0;oi&&(i=e[o].length,n=o);return n},r.setMonth(t(this._get(e,a.match(/MM/)?"monthNames":"monthNamesShort"))),r.setDate(t(this._get(e,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-r.getDay())),e.input.attr("size",this._formatDate(e,r).length)}},_inlineDatepicker:function(t,i){var n=e(t);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),e.data(t,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(t),i.dpDiv.css("display","block"))},_dialogDatepicker:function(t,i,n,o,r){var a,s,l,d,u,h=this._dialogInst;return h||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=e(""),this._dialogInput.on("keydown",this._doKeyDown),e("body").append(this._dialogInput),(h=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},e.data(this._dialogInput[0],"datepicker",h)),c(h.settings,o||{}),i=i&&i.constructor===Date?this._formatDate(h,i):i,this._dialogInput.val(i),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(s=document.documentElement.clientWidth,l=document.documentElement.clientHeight,d=document.documentElement.scrollLeft||document.body.scrollLeft,u=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[s/2-100+d,l/2-150+u]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),h.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),e.blockUI&&e.blockUI(this.dpDiv),e.data(this._dialogInput[0],"datepicker",h),this},_destroyDatepicker:function(t){var i,n=e(t),o=e.data(t,"datepicker");n.hasClass(this.markerClassName)&&(i=t.nodeName.toLowerCase(),e.removeData(t,"datepicker"),"input"===i?(o.append.remove(),o.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==i&&"span"!==i||n.removeClass(this.markerClassName).empty(),r===o&&(r=null))},_enableDatepicker:function(t){var i,n,o=e(t),r=e.data(t,"datepicker");o.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!1,r.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==i&&"span"!==i||((n=o.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var i,n,o=e(t),r=e.data(t,"datepicker");o.hasClass(this.markerClassName)&&("input"===(i=t.nodeName.toLowerCase())?(t.disabled=!0,r.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==i&&"span"!==i||((n=o.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=e.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t-1},_doKeyUp:function(t){var i=e.datepicker._getInst(t.target);if(i.input.val()!==i.lastVal)try{e.datepicker.parseDate(e.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,e.datepicker._getFormatConfig(i))&&(e.datepicker._setDateFromField(i),e.datepicker._updateAlternate(i),e.datepicker._updateDatepicker(i))}catch(e){}return!0},_showDatepicker:function(t){var i,n,o,r,a,s,l;("input"!==(t=t.target||t).nodeName.toLowerCase()&&(t=e("input",t.parentNode)[0]),e.datepicker._isDisabledDatepicker(t)||e.datepicker._lastInput===t)||(i=e.datepicker._getInst(t),e.datepicker._curInst&&e.datepicker._curInst!==i&&(e.datepicker._curInst.dpDiv.stop(!0,!0),i&&e.datepicker._datepickerShowing&&e.datepicker._hideDatepicker(e.datepicker._curInst.input[0])),!1!==(o=(n=e.datepicker._get(i,"beforeShow"))?n.apply(t,[t,i]):{})&&(c(i.settings,o),i.lastVal=null,e.datepicker._lastInput=t,e.datepicker._setDateFromField(i),e.datepicker._inDialog&&(t.value=""),e.datepicker._pos||(e.datepicker._pos=e.datepicker._findPos(t),e.datepicker._pos[1]+=t.offsetHeight),r=!1,e(t).parents().each(function(){return!(r|="fixed"===e(this).css("position"))}),a={left:e.datepicker._pos[0],top:e.datepicker._pos[1]},e.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),e.datepicker._updateDatepicker(i),a=e.datepicker._checkOffset(i,a,r),i.dpDiv.css({position:e.datepicker._inDialog&&e.blockUI?"static":r?"fixed":"absolute",display:"none",left:a.left+"px",top:a.top+"px"}),i.inline||(s=e.datepicker._get(i,"showAnim"),l=e.datepicker._get(i,"duration"),i.dpDiv.css("z-index",function(e){for(var t,i;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(i=parseInt(e.css("zIndex"),10),!isNaN(i)&&0!==i))return i;e=e.parent()}return 0}(e(t))+1),e.datepicker._datepickerShowing=!0,e.effects&&e.effects.effect[s]?i.dpDiv.show(s,e.datepicker._get(i,"showOptions"),l):i.dpDiv[s||"show"](s?l:null),e.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),e.datepicker._curInst=i)))},_updateDatepicker:function(t){this.maxRows=4,r=t,t.dpDiv.empty().append(this._generateHTML(t)),this._attachHandlers(t);var i,n=this._getNumberOfMonths(t),o=n[1],a=t.dpDiv.find("."+this._dayOverClass+" a");a.length>0&&l.apply(a.get(0)),t.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),o>1&&t.dpDiv.addClass("ui-datepicker-multi-"+o).css("width",17*o+"em"),t.dpDiv[(1!==n[0]||1!==n[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),t.dpDiv[(this._get(t,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),t===e.datepicker._curInst&&e.datepicker._datepickerShowing&&e.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),t.yearshtml&&(i=t.yearshtml,setTimeout(function(){i===t.yearshtml&&t.yearshtml&&t.dpDiv.find("select.ui-datepicker-year:first").replaceWith(t.yearshtml),i=t.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(t,i,n){var o=t.dpDiv.outerWidth(),r=t.dpDiv.outerHeight(),a=t.input?t.input.outerWidth():0,s=t.input?t.input.outerHeight():0,l=document.documentElement.clientWidth+(n?0:e(document).scrollLeft()),c=document.documentElement.clientHeight+(n?0:e(document).scrollTop());return i.left-=this._get(t,"isRTL")?o-a:0,i.left-=n&&i.left===t.input.offset().left?e(document).scrollLeft():0,i.top-=n&&i.top===t.input.offset().top+s?e(document).scrollTop():0,i.left-=Math.min(i.left,i.left+o>l&&l>o?Math.abs(i.left+o-l):0),i.top-=Math.min(i.top,i.top+r>c&&c>r?Math.abs(r+s):0),i},_findPos:function(t){for(var i,n=this._getInst(t),o=this._get(n,"isRTL");t&&("hidden"===t.type||1!==t.nodeType||e.expr.filters.hidden(t));)t=t[o?"previousSibling":"nextSibling"];return[(i=e(t).offset()).left,i.top]},_hideDatepicker:function(t){var i,n,o,r,a=this._curInst;!a||t&&a!==e.data(t,"datepicker")||this._datepickerShowing&&(i=this._get(a,"showAnim"),n=this._get(a,"duration"),o=function(){e.datepicker._tidyDialog(a)},e.effects&&(e.effects.effect[i]||e.effects[i])?a.dpDiv.hide(i,e.datepicker._get(a,"showOptions"),n,o):a.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?n:null,o),i||o(),this._datepickerShowing=!1,(r=this._get(a,"onClose"))&&r.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),e.blockUI&&(e.unblockUI(),e("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(t){if(e.datepicker._curInst){var i=e(t.target),n=e.datepicker._getInst(i[0]);(i[0].id===e.datepicker._mainDivId||0!==i.parents("#"+e.datepicker._mainDivId).length||i.hasClass(e.datepicker.markerClassName)||i.closest("."+e.datepicker._triggerClass).length||!e.datepicker._datepickerShowing||e.datepicker._inDialog&&e.blockUI)&&(!i.hasClass(e.datepicker.markerClassName)||e.datepicker._curInst===n)||e.datepicker._hideDatepicker()}},_adjustDate:function(t,i,n){var o=e(t),r=this._getInst(o[0]);this._isDisabledDatepicker(o[0])||(this._adjustInstDate(r,i+("M"===n?this._get(r,"showCurrentAtPos"):0),n),this._updateDatepicker(r))},_gotoToday:function(t){var i,n=e(t),o=this._getInst(n[0]);this._get(o,"gotoCurrent")&&o.currentDay?(o.selectedDay=o.currentDay,o.drawMonth=o.selectedMonth=o.currentMonth,o.drawYear=o.selectedYear=o.currentYear):(i=new Date,o.selectedDay=i.getDate(),o.drawMonth=o.selectedMonth=i.getMonth(),o.drawYear=o.selectedYear=i.getFullYear()),this._notifyChange(o),this._adjustDate(n)},_selectMonthYear:function(t,i,n){var o=e(t),r=this._getInst(o[0]);r["selected"+("M"===n?"Month":"Year")]=r["draw"+("M"===n?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(r),this._adjustDate(o)},_selectDay:function(t,i,n,o){var r,a=e(t);e(o).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||((r=this._getInst(a[0])).selectedDay=r.currentDay=e("a",o).html(),r.selectedMonth=r.currentMonth=i,r.selectedYear=r.currentYear=n,this._selectDate(t,this._formatDate(r,r.currentDay,r.currentMonth,r.currentYear)))},_clearDate:function(t){var i=e(t);this._selectDate(i,"")},_selectDate:function(t,i){var n,o=e(t),r=this._getInst(o[0]);i=null!=i?i:this._formatDate(r),r.input&&r.input.val(i),this._updateAlternate(r),(n=this._get(r,"onSelect"))?n.apply(r.input?r.input[0]:null,[i,r]):r.input&&r.input.trigger("change"),r.inline?this._updateDatepicker(r):(this._hideDatepicker(),this._lastInput=r.input[0],"object"!=typeof r.input[0]&&r.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(t){var i,n,o,r=this._get(t,"altField");r&&(i=this._get(t,"altFormat")||this._get(t,"dateFormat"),n=this._getDate(t),o=this.formatDate(i,n,this._getFormatConfig(t)),e(r).val(o))},noWeekends:function(e){var t=e.getDay();return[t>0&&t<6,""]},iso8601Week:function(e){var t,i=new Date(e.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),t=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((t-i)/864e5)/7)+1},parseDate:function(t,i,n){if(null==t||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?i.toString():i+""))return null;var o,r,a,s,l=0,c=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,d="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),u=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,h=(n?n.dayNames:null)||this._defaults.dayNames,f=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,p=(n?n.monthNames:null)||this._defaults.monthNames,m=-1,g=-1,v=-1,y=-1,b=!1,w=function(e){var i=o+1-1)for(g=1,v=y;;){if(v<=(r=this._getDaysInMonth(m,g-1)))break;g++,v-=r}if((s=this._daylightSavingAdjust(new Date(m,g-1,v))).getFullYear()!==m||s.getMonth()+1!==g||s.getDate()!==v)throw"Invalid date";return s},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(e,t,i){if(!t)return"";var n,o=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,r=(i?i.dayNames:null)||this._defaults.dayNames,a=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,s=(i?i.monthNames:null)||this._defaults.monthNames,l=function(t){var i=n+112?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var n=!t,o=e.selectedMonth,r=e.selectedYear,a=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=a.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=a.getMonth(),e.drawYear=e.selectedYear=e.currentYear=a.getFullYear(),o===e.selectedMonth&&r===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(n?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(t){var i=this._get(t,"stepMonths"),n="#"+t.id.replace(/\\\\/g,"\\");t.dpDiv.find("[data-handler]").map(function(){var t={prev:function(){e.datepicker._adjustDate(n,-i,"M")},next:function(){e.datepicker._adjustDate(n,+i,"M")},hide:function(){e.datepicker._hideDatepicker()},today:function(){e.datepicker._gotoToday(n)},selectDay:function(){return e.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return e.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return e.datepicker._selectMonthYear(n,this,"Y"),!1}};e(this).on(this.getAttribute("data-event"),t[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,n,o,r,a,s,l,c,d,u,h,f,p,m,g,v,y,b,w,_,k,x,D,S,M,T,C,P,O,A,I,E,z,N,j,F,L,W,Y=new Date,H=this._daylightSavingAdjust(new Date(Y.getFullYear(),Y.getMonth(),Y.getDate())),R=this._get(e,"isRTL"),$=this._get(e,"showButtonPanel"),B=this._get(e,"hideIfNoPrevNext"),U=this._get(e,"navigationAsDateFormat"),K=this._getNumberOfMonths(e),q=this._get(e,"showCurrentAtPos"),Q=this._get(e,"stepMonths"),J=1!==K[0]||1!==K[1],X=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),G=this._getMinMaxDate(e,"min"),V=this._getMinMaxDate(e,"max"),Z=e.drawMonth-q,ee=e.drawYear;if(Z<0&&(Z+=12,ee--),V)for(t=this._daylightSavingAdjust(new Date(V.getFullYear(),V.getMonth()-K[0]*K[1]+1,V.getDate())),t=G&&tt;)--Z<0&&(Z=11,ee--);for(e.drawMonth=Z,e.drawYear=ee,i=this._get(e,"prevText"),i=U?this.formatDate(i,this._daylightSavingAdjust(new Date(ee,Z-Q,1)),this._getFormatConfig(e)):i,n=this._canAdjustMonth(e,-1,ee,Z)?""+i+"":B?"":""+i+"",o=this._get(e,"nextText"),o=U?this.formatDate(o,this._daylightSavingAdjust(new Date(ee,Z+Q,1)),this._getFormatConfig(e)):o,r=this._canAdjustMonth(e,1,ee,Z)?""+o+"":B?"":""+o+"",a=this._get(e,"currentText"),s=this._get(e,"gotoCurrent")&&e.currentDay?X:H,a=U?this.formatDate(a,s,this._getFormatConfig(e)):a,l=e.inline?"":"",c=$?"
"+(R?l:"")+(this._isInRange(e,s)?"":"")+(R?"":l)+"
":"",d=parseInt(this._get(e,"firstDay"),10),d=isNaN(d)?0:d,u=this._get(e,"showWeek"),h=this._get(e,"dayNames"),f=this._get(e,"dayNamesMin"),p=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),g=this._get(e,"beforeShowDay"),v=this._get(e,"showOtherMonths"),y=this._get(e,"selectOtherMonths"),b=this._getDefaultDate(e),w="",k=0;k1)switch(D){case 0:T+=" ui-datepicker-group-first",M=" ui-corner-"+(R?"right":"left");break;case K[1]-1:T+=" ui-datepicker-group-last",M=" ui-corner-"+(R?"left":"right");break;default:T+=" ui-datepicker-group-middle",M=""}T+="'>"}for(T+="
"+(/all|left/.test(M)&&0===k?R?r:n:"")+(/all|right/.test(M)&&0===k?R?n:r:"")+this._generateMonthYearHeader(e,Z,ee,G,V,k>0||D>0,p,m)+"
",C=u?"":"",_=0;_<7;_++)C+="";for(T+=C+"",O=this._getDaysInMonth(ee,Z),ee===e.selectedYear&&Z===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,O)),A=(this._getFirstDayOfMonth(ee,Z)-d+7)%7,I=Math.ceil((A+O)/7),E=J&&this.maxRows>I?this.maxRows:I,this.maxRows=E,z=this._daylightSavingAdjust(new Date(ee,Z,1-A)),N=0;N",j=u?"":"",_=0;_<7;_++)F=g?g.apply(e.input?e.input[0]:null,[z]):[!0,""],W=(L=z.getMonth()!==Z)&&!y||!F[0]||G&&zV,j+="",z.setDate(z.getDate()+1),z=this._daylightSavingAdjust(z);T+=j+""}++Z>11&&(Z=0,ee++),x+=T+="
"+this._get(e,"weekHeader")+"=5?" class='ui-datepicker-week-end'":"")+">"+f[P]+"
"+this._get(e,"calculateWeek")(z)+""+(L&&!v?" ":W?""+z.getDate()+"":""+z.getDate()+"")+"
"+(J?"
"+(K[0]>0&&D===K[1]-1?"
":""):"")}w+=x}return w+=c,e._keyEvent=!1,w},_generateMonthYearHeader:function(e,t,i,n,o,r,a,s){var l,c,d,u,h,f,p,m,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),y=this._get(e,"showMonthAfterYear"),b="
",w="";if(r||!g)w+=""+a[t]+"";else{for(l=n&&n.getFullYear()===i,c=o&&o.getFullYear()===i,w+=""}if(y||(b+=w+(!r&&g&&v?"":" ")),!e.yearshtml)if(e.yearshtml="",r||!v)b+=""+i+"";else{for(u=this._get(e,"yearRange").split(":"),h=(new Date).getFullYear(),p=(f=function(e){var t=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?h+parseInt(e,10):parseInt(e,10);return isNaN(t)?h:t})(u[0]),m=Math.max(p,f(u[1]||"")),p=n?Math.max(p,n.getFullYear()):p,m=o?Math.min(m,o.getFullYear()):m,e.yearshtml+="",b+=e.yearshtml,e.yearshtml=null}return b+=this._get(e,"yearSuffix"),y&&(b+=(!r&&g&&v?"":" ")+w),b+="
"},_adjustInstDate:function(e,t,i){var n=e.selectedYear+("Y"===i?t:0),o=e.selectedMonth+("M"===i?t:0),r=Math.min(e.selectedDay,this._getDaysInMonth(n,o))+("D"===i?t:0),a=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(n,o,r)));e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),n=this._getMinMaxDate(e,"max"),o=i&&tn?n:o},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,n){var o=this._getNumberOfMonths(e),r=this._daylightSavingAdjust(new Date(i,n+(t<0?t:o[0]*o[1]),1));return t<0&&r.setDate(this._getDaysInMonth(r.getFullYear(),r.getMonth())),this._isInRange(e,r)},_isInRange:function(e,t){var i,n,o=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max"),a=null,s=null,l=this._get(e,"yearRange");return l&&(i=l.split(":"),n=(new Date).getFullYear(),a=parseInt(i[0],10),s=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=n),i[1].match(/[+\-].*/)&&(s+=n)),(!o||t.getTime()>=o.getTime())&&(!r||t.getTime()<=r.getTime())&&(!a||t.getFullYear()>=a)&&(!s||t.getFullYear()<=s)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,n){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var o=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(n,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),o,this._getFormatConfig(e))}}),e.fn.datepicker=function(t){if(!this.length)return this;e.datepicker.initialized||(e(document).on("mousedown",e.datepicker._checkExternalClick),e.datepicker.initialized=!0),0===e("#"+e.datepicker._mainDivId).length&&e("body").append(e.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof t||"isDisabled"!==t&&"getDate"!==t&&"widget"!==t?"option"===t&&2===arguments.length&&"string"==typeof arguments[1]?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i)):this.each(function(){"string"==typeof t?e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this].concat(i)):e.datepicker._attachDatepicker(this,t)}):e.datepicker["_"+t+"Datepicker"].apply(e.datepicker,[this[0]].concat(i))},e.datepicker=new a,e.datepicker.initialized=!1,e.datepicker.uuid=(new Date).getTime(),e.datepicker.version="1.12.1";e.datepicker}),function(e,t){"function"==typeof define&&define.amd?define(["jQuery"],t):"object"==typeof exports?t(require("jQuery")):t(e.jQuery)}(this,function(e){var t=function(){var e={},t=new RegExp("{{([^}]+)}}","g");return e.parse=function(e){for(var i={inpts:{},chars:{}},n=function(e){for(var i,n=[];i=t.exec(e);)n.push(i);return n}(e),o=e.length,r=0,a=0,s=0,l=function(e){for(var t=e.length,n=0;nt[0]&&ee.focus,o=0===i.end;(n||o)&&t.set(e.el,e.focus)},0)},r.prototype._processKey=function(e,n,o){if(this.sel=t.get(this.el),this.val=this.el.value,this.delta=0,this.sel.begin!==this.sel.end)this.delta=-1*Math.abs(this.sel.begin-this.sel.end),this.val=i.removeChars(this.val,this.sel.begin,this.sel.end);else if(n&&46===n)this._delete();else if(n&&this.sel.begin-1>=0)this.val=i.removeChars(this.val,this.sel.end-1,this.sel.end),this.delta-=1;else if(n)return!0;n||(this.val=i.addChars(this.val,e,this.sel.begin),this.delta+=e.length),this._formatValue(o)},r.prototype._delete=function(){for(;this.chars[this.sel.begin];)this._nextPos();this.sel.beginthis.focus&&(this.delta+=this.sel.end-this.focus);for(var e=0,t=0;t<=this.mLength;t++){var n,o=this.chars[t],r=this.hldrs[t],a=t+e;a=t>=this.sel.begin?a+this.delta:a,n=this.val.charAt(a),(o&&o===n||r&&r===n)&&(this.val=i.removeChars(this.val,a,a+1),e--)}this.hldrs={},this.focus=this.val.length},r.prototype._validateInpts=function(){for(var e=0;e-1?{begin:o,end:o}:{begin:-i.moveStart("character",-o),end:-i.moveEnd("character",-o)}}return{begin:0,end:0}},set:function(e,t){if("object"!=typeof t&&(t={begin:t,end:t}),e.setSelectionRange)e.focus(),e.setSelectionRange(t.begin,t.end);else if(e.createTextRange){var i=e.createTextRange();i.collapse(!0),i.moveEnd("character",t.end),i.moveStart("character",t.begin),i.select()}}};return e}(),i);$.fn.formatter=function(e){return"object"==typeof e&&this.each(function(){$.data(this,"plugin_formatter")||$.data(this,"plugin_formatter",new n(this,e))}),this.resetPattern=function(e){return this.each(function(){var t=$.data(this,"plugin_formatter");t&&t.resetPattern(e)}),this},this},$.fn.formatter.addInptType=function(e,t){n.addInptType(e,t)}}),function(e,t){var i,n=e.fn.domManip,o="_tmplitem",r=/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /,a={},s={},l={key:0,data:{}},c=0,d=0,u=[];function h(t,i,n,o){var r={data:o||0===o||!1===o?o:i?i.data:{},_wrap:i?i._wrap:null,tmpl:null,parent:i||null,nodes:[],calls:b,nest:w,wrap:_,html:k,update:x};return t&&e.extend(r,t,{nodes:[],parent:i}),n&&(r.tmpl=n,r._ctnt=r._ctnt||r.tmpl(e,r),r.key=++c,(u.length?s:a)[c]=r),r}function f(t,i,n){var r,a=n?e.map(n,function(e){return"string"==typeof e?t.key?e.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g,"$1 "+o+'="'+t.key+'" $2'):e:f(e,t,e._ctnt)}):t;return i?a:((a=a.join("")).replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/,function(t,i,n,o){y(r=e(n).get()),i&&(r=p(i).concat(r)),o&&(r=r.concat(p(o)))}),r||p(a))}function p(t){var i=document.createElement("div");return i.innerHTML=t,e.makeArray(i.childNodes)}function m(t){return new Function("jQuery","$item","var $=jQuery,call,__=[],$data=$item.data;with($data){__.push('"+e.trim(t).replace(/([\\'])/g,"\\$1").replace(/[\r\t\n]/g," ").replace(/\$\{([^\}]*)\}/g,"{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,function(t,i,n,o,r,a,s){var l,c,d,u=e.tmpl.tag[n];if(!u)throw"Unknown template tag: "+n;return l=u._default||[],a&&!/\w$/.test(r)&&(r+=a,a=""),r?(r=v(r),s=s?","+v(s)+")":a?")":"",c=a?r.indexOf(".")>-1?r+v(a):"("+r+").call($item"+s:r,d=a?c:"(typeof("+r+")==='function'?("+r+").call($item):("+r+"))"):d=c=l.$1||"null",o=v(o),"');"+u[i?"close":"open"].split("$notnull_1").join(r?"typeof("+r+")!=='undefined' && ("+r+")!=null":"true").split("$1a").join(d).split("$1").join(c).split("$2").join(o||l.$2||"")+"__.push('"})+"');}return __;")}function g(t,i){t._wrap=f(t,!0,e.isArray(i)?i:[r.test(i)?i:e(i).html()]).join("")}function v(e){return e?e.replace(/\\'/g,"'").replace(/\\\\/g,"\\"):null}function y(t){var i,n,r,l,u,f="_"+d,p={};for(r=0,l=t.length;r=0;u--)m(n[u]);m(i)}function m(t){var i,n,r,l,u=t;if(l=t.getAttribute(o)){for(;u.parentNode&&1===(u=u.parentNode).nodeType&&!(i=u.getAttribute(o)););i!==l&&(u=u.parentNode?11===u.nodeType?0:u.getAttribute(o)||0:0,(r=a[l])||((r=h(r=s[l],a[u]||s[u])).key=++c,a[c]=r),d&&m(l)),t.removeAttribute(o)}else d&&(r=e.data(t,"tmplItem"))&&(m(r.key),a[r.key]=r,u=(u=e.data(t.parentNode,"tmplItem"))?u.key:0);if(r){for(n=r;n&&n.key!=u;)n.nodes.push(t),n=n.parent;delete r._ctnt,delete r._wrap,e.data(t,"tmplItem",r)}function m(e){r=p[e+=f]=p[e]||h(r,a[r.parent.key+f]||r.parent)}}}function b(e,t,i,n){if(!e)return u.pop();u.push({_:e,tmpl:t,item:this,data:i,options:n})}function w(t,i,n){return e.tmpl(e.template(t),i,n,this)}function _(t,i){var n=t.options||{};return n.wrapped=i,e.tmpl(e.template(t.tmpl),t.data,n,t.item)}function k(t,i){var n=this._wrap;return e.map(e(e.isArray(n)?n.join(""):n).filter(t||"*"),function(e){return i?e.innerText||e.textContent:e.outerHTML||(t=e,(n=document.createElement("div")).appendChild(t.cloneNode(!0)),n.innerHTML);var t,n})}function x(){var t=this.nodes;e.tmpl(null,null,null,this).insertBefore(t[0]),e(t).remove()}e.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,n){e.fn[t]=function(o){var r,s,l,c,u=[],h=e(o),f=1===this.length&&this[0].parentNode;if(i=a||{},f&&11===f.nodeType&&1===f.childNodes.length&&1===h.length)h[n](this[0]),u=this;else{for(s=0,l=h.length;s0?this.clone(!0):this).get(),e(h[s])[n](r),u=u.concat(r);d=0,u=this.pushStack(u,t,h.selector)}return c=i,i=null,e.tmpl.complete(c),u}}),e.fn.extend({tmpl:function(t,i,n){return e.tmpl(this[0],t,i,n)},tmplItem:function(){return e.tmplItem(this[0])},template:function(t){return e.template(t,this[0])},domManip:function(t,o,r,s){if(t[0]&&e.isArray(t[0])){for(var l,c=e.makeArray(arguments),u=t[0],h=u.length,f=0;f").join(">").split('"').join(""").split("'").join("'")}}),e.extend(e.tmpl,{tag:{tmpl:{_default:{$2:"null"},open:"if($notnull_1){__=__.concat($item.nest($1,$2));}"},wrap:{_default:{$2:"null"},open:"$item.calls(__,$1,$2);__=[];",close:"call=$item.calls();__=call._.concat($item.wrap(call,__));"},each:{_default:{$2:"$index, $value"},open:"if($notnull_1){$.each($1a,function($2){with(this){",close:"}});}"},if:{open:"if(($notnull_1) && $1a){",close:"}"},else:{_default:{$1:"true"},open:"}else if(($notnull_1) && $1a){"},html:{open:"if($notnull_1){__.push($1a);}"},"=":{_default:{$1:"$data"},open:"if($notnull_1){__.push($.encode($1a));}"},"!":{open:""}},complete:function(e){a={}},afterManip:function(t,i,n){var o=11===i.nodeType?e.makeArray(i.childNodes):1===i.nodeType?[i]:[];n.call(t,i),y(o),d++}})}(jQuery),APP.init=function(){APP.initPage(),APP.initMenu(),APP.initMask(),APP.initModal(),APP.initPlugins(),APP.initCheckboxAll()},APP.initPage=function(){$("body").height()<$(window).height()&&$("html,body").css("height","100%")},APP.initMenu=function(){$(".btn-menu-toggle").click(function(e){$("#left-panel").toggleClass("opened"),$("#left-panel").niceScroll().resize()}),$("#main .main").niceScroll({cursorborder:"1px solid rgba(0,0,0, 0.15)",cursorwidth:"12px",cursorcolor:"rgba(0,0,0, 0.5)"}),$("#left-panel").niceScroll({cursorborder:"1px solid rgba(0,0,0, 0.15)",cursorwidth:"12px",cursorcolor:"rgba(0,0,0, 0.5)"}),$("#left-panel li").each(function(){$(this).data("active")&&$(this).data("active")==menuActive&&($(this).addClass("active"),$(this).parents("li").addClass("open"),$(this).parents("ul").show())}),$("#left-panel #main-navigation a.parent").click(function(e){e.preventDefault(),$(this).parent().toggleClass("open"),$("#left-panel").niceScroll().resize()})},APP.initPlugins=function(){$.datepicker.regional.ko={closeText:"닫기",prevText:"이전달",nextText:"다음달",currentText:"오늘",monthNames:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],monthNamesShort:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],dayNames:["일","월","화","수","목","금","토"],dayNamesShort:["일","월","화","수","목","금","토"],dayNamesMin:["일","월","화","수","목","금","토"],weekHeader:"Wk",dateFormat:"yy-mm-dd",firstDay:0,isRTL:!1,showMonthAfterYear:!0,yearSuffix:""},$.datepicker.setDefaults($.datepicker.regional.ko),$('[data-toggle="datepicker"]').datepicker(),$("body").on("click",'[data-toggle="datepicker"]',function(){$(this).hasClass("hasDatepicker")||($(this).datepicker(),$(this).datepicker("show"))}),$('[data-toggle="formatter"]').each(function(){$(this).data("pattern")&&$(this).formatter({pattern:$(this).data("pattern"),persistent:!0})}),$.datetimepicker.setLocale("kr"),$('[data-toggle="datetimepicker"]').datetimepicker({format:"Y-m-d H:i"})},APP.initCheckboxAll=function(){$("[data-checkbox]").click(function(){var e=$(this),t=e.data("checkbox-all")&&"true"==e.data("checkbox-all").toString(),i=e.data("checkbox"),n=e.prop("checked"),o=t?e:$('[data-checkbox="'+i+'"][data-checkbox-all="true"]');t?$('[data-checkbox="'+i+'"]').prop("checked",n):o.prop("checked",$('[data-checkbox="'+i+'"]').not('[data-checkbox-all="true"]').length==$('[data-checkbox="'+i+'"]:checked').not('[data-checkbox-all="true"]').length)})},APP.MASK=null,APP.MASK2=null,APP.modal=null,APP.modal2=null,APP.initMask=function(){APP.MASK=new ax5.ui.mask({zIndex:1e3}),APP.MASK2=new ax5.ui.mask({zIndex:2e3})},APP.initModal=function(){APP.modal=new ax5.ui.modal({absolute:!0,iframeLoadingMsg:''}),APP.modal2=new ax5.ui.modal({absolute:!0,iframeLoadingMsg:''})},APP.MODAL=function(){var e={width:400,height:400,position:{left:"center",top:"middle"}},t=$.extend(!0,{},e,{iframeLoadingMsg:"",iframe:{method:"get",url:"#"},closeToEsc:!0,onStateChanged:function(){"open"===this.state?APP.MASK.open():"close"===this.state&&APP.MASK.close()},animateTime:100,zIndex:1001,absolute:!0,fullScreen:!1,header:{title:"새로운 윈도우",btns:{close:{label:'',onClick:function(){APP.MODAL.callback()}}}}});return{open:function(e){e=$.extend(!0,{},t,e),$(document.body).addClass("modalOpened"),this.modalCallback=e.callback,this.modalSendData=e.sendData,APP.modal.open(e)},css:function(t){t=$.extend(!0,{},e,t),APP.modal.css(t)},align:function(e){APP.modal.align(e)},close:function(e){APP.modal.close(),setTimeout(function(){$(document.body).removeClass("modalOpened")},500)},minimize:function(){APP.modal.minimize()},maximize:function(){APP.modal.maximize()},callback:function(e){this.modalCallback&&this.modalCallback(e),this.close(e)},modalCallback:{},getData:function(){if(this.modalSendData)return this.modalSendData()}}}(),APP.MODAL2=function(){var e={width:400,height:400,position:{left:"center",top:"middle"}},t=$.extend(!0,{},e,{iframeLoadingMsg:"",iframe:{method:"get",url:"#"},closeToEsc:!0,onStateChanged:function(){"open"===this.state?APP.MASK2.open():"close"===this.state&&APP.MASK2.close()},animateTime:100,zIndex:2001,absolute:!0,fullScreen:!1,header:{title:"새로운 윈도우",btns:{close:{label:'',onClick:function(){APP.MODAL2.callback()}}}}});return{open:function(e){e=$.extend(!0,{},t,e),$(document.body).addClass("modalOpened"),this.modalCallback=e.callback,this.modalSendData=e.sendData,APP.modal2.open(e)},css:function(t){t=$.extend(!0,{},e,t),APP.modal2.css(t)},align:function(e){APP.modal2.align(e)},close:function(e){APP.modal2.close(),setTimeout(function(){$(document.body).removeClass("modalOpened")},500)},minimize:function(){APP.modal2.minimize()},maximize:function(){APP.modal2.maximize()},callback:function(e){this.modalCallback&&this.modalCallback(e),this.close(e)},modalCallback:{},getData:function(){if(this.modalSendData)return this.modalSendData()}}}(),$(function(){APP.init()}),APP.BOARD.keyCheck=function(e){return""==e?"게시판 고유키를 입력하세요":APP.REGEX.uniqueID.test(e)?!APP.BOARD.existCheck(e)||"이미 존재하는 키 입니다.":"게시판 고유키는 영어 소문자로 시작하는 3~20 글자로 영어와 숫자만 사용가능합니다."},APP.BOARD.existCheck=function(e){var t=null;return $.ajax({url:base_url+"/ajax/board/info",type:"get",async:!1,cache:!1,data:{brd_key:e,is_raw:!0},success:function(e){t=e}}),t},APP.BOARD.CATEGORY.form=function(e,t,i){t=void 0!==t&&t>=0?t:null,i=void 0!==i&&i?i:null;return(e=void 0!==e&&e?e:null)?parseInt(t)<0?(alert("부모 카테고리가 선택되지 않았습니다."),!1):void APP.MODAL.open({width:400,height:200,header:{title:i?"카테고리 정보 수정":"카테고리 추가"},callback:function(){parent.location.reload()},iframe:{method:"get",url:"/admin/board/category_form",param:{brd_key:e,bca_parent:t,bca_idx:i}}}):(alert("게시판이 지정되지 않았습니다."),!1)},APP.BOARD.CATEGORY.remove=function(e){if(APP.BOARD.CATEGORY.count(e)>0)return alert("해당 카테고리의 하위 카테고리가 존재합니다. 하위 카테고리를 먼저 삭제해주세요"),!1;var t=APP.BOARD.CATEGORY.postCount(e);return!(t>0&&!confirm("해당 카테고리에 등록된 글이 "+t+"건이 있습니다. 삭제를 진행하시겠습니까?"))&&(!!confirm("해당 카테고리를 삭제하시겠습니까?")&&void $.ajax({url:base_url+"/ajax/board/category",type:"DELETE",cache:!1,async:!1,data:{bca_idx:e},success:function(e){e.result?(alert("카테고리 삭제에 성공하였습니다."),location.reload()):(alert("카테고리 삭제에 실패하였습니다."),location.reload())}}))},APP.BOARD.EXTRA.form=function(e,t){if(t=void 0!==t&&t?t:null,!(e=void 0!==e&&e?e:null))return alert("게시판이 지정되지 않았습니다."),!1;APP.MODAL.open({width:400,height:200,header:{title:t?"입력필드 수정":"입력필드 추가"},callback:function(){parent.location.reload()},iframe:{method:"get",url:"/admin/board/extra_form",param:{brd_key:e,bmt_idx:t}}})},APP.BOARD.EXTRA.remove=function(e,t){return e=void 0!==e&&e?e:null,(t=void 0!==t&&t?t:null)?!!confirm("해당 필드로 등록된 글이 있을경우, 해당 필드값도 같이 사라집니다. 계속 진행 하시겠습니까?")&&void $.ajax({url:base_url+"/ajax/board/extra",type:"DELETE",cache:!1,async:!1,data:{brd_key:e,bmt_idx:t},success:function(e){e.result?(alert("입력필드 삭제에 성공하였습니다."),location.reload()):(alert("입력필드 삭제에 실패하였습니다."),location.reload())}}):(alert("잘못된 접근입니다."),!1)};var faq={form:function(e,t){t="string"==typeof t||"number"==typeof t?t:null;if(!(e="string"==typeof e||"number"==typeof e?e:null))return alert("FAQ 분류 정보가 없습니다."),!1;APP.MODAL.open({width:800,height:650,header:{title:t?"FAQ 정보 수정":"FAQ 추가"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/management/faq_form",param:{fac_idx:e,faq_idx:t}}})},remove:function(e){if(void 0!==e&&e&&""!=e.trim()||alert("잘못된 접근입니다."),!confirm("해당 FAQ를 삭제하시겠습니까?"))return!1;$.ajax({url:"/ajax/faq/info",type:"delete",async:!1,cache:!1,data:{faq_idx:e},success:function(e){alert("FAQ가 삭제되었습니다."),location.reload()}})},category:{}};faq.category.form=function(e){e="string"==typeof e||"number"==typeof e?e:null;APP.MODAL.open({width:$(window).width()>600?600:$(window).width(),height:250,header:{title:e?"FAQ 분류 정보 수정":"FAQ 분류 추가"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/management/faq_category_form",param:{fac_idx:e}}})},faq.category.exist=function(e){if(void 0===e||!e||""==e.trim())return!1;var t=!1;return $.ajax({url:"/ajax/faq/category",type:"get",async:!1,cache:!1,data:{fac_idx:e},success:function(e){t=!(e&&void 0!==e.fac_idx&&e.fac_idx)}}),t},faq.category.remove=function(e){void 0!==e&&e&&""!=e.trim()||alert("잘못된 접근입니다.");var t=0;if($.ajax({url:"/ajax/faq/lists",type:"get",async:!1,cache:!1,data:{fac_idx:e},success:function(e){t=e.total_count}}),!confirm(t>0?"해당 FAQ 분류에 "+t+"개의 FAQ 목록이 등록되어 있습니다.\nFAQ 분류을 삭제할시 등록된 FAQ 목록도 같이 삭제됩니다.\n\n계속 하시겠습니까?":"FAQ 분류을 삭제하시겠습니까?"))return!1;$.ajax({url:"/ajax/faq/category",type:"delete",async:!1,cache:!1,data:{fac_idx:e},success:function(e){alert("FAQ 분류가 삭제되었습니다."),location.href=base_url+"/admin/management/faq"}})},APP.MEMBER.POP_INFO_ADMIN=function(e){if(void 0===e||!e)return alert("잘못된 접근입니다."),!1;APP.MODAL.open({width:800,height:600,header:{title:"회원 정보"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/members/info/"+e,param:{}}})},APP.MEMBER.POP_PASSWORD_ADMIN=function(e){if(void 0===e||!e)return alert("잘못된 접근입니다."),!1;APP.MODAL.open({width:800,height:600,header:{title:"비밀번호 변경"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/members/password/"+e,param:{}}})},APP.MEMBER.POP_MODIFY_ADMIN=function(e){if(void 0===e||!e)return alert("잘못된 접근입니다."),!1;APP.MODAL.open({width:800,height:600,header:{title:"회원 정보 수정"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/members/modify/"+e,param:{}}})},APP.MEMBER.POP_POINT_ADMIN=function(e){if(void 0===e||!e)return alert("잘못된 접근입니다."),!1;APP.MODAL.open({width:800,height:600,header:{title:"회원 포인트 관리"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/members/point/"+e,param:{}}})},APP.MEMBER.POP_POINT_FORM_ADMIN=function(e){(e=void 0!==e&&e?e:null)?(APP.MODAL2.callback=function(){location.reload()},APP.MODAL2.open({width:410,height:200,header:{title:"회원 포인트 추가"},callback:function(){location.reload()},iframe:{method:"get",url:"/admin/members/point_form/"+e}})):alert("잘못된 접근입니다.")},APP.MEMBER.STATUS_CHANGE=function(e,t,i){if(void 0===e||!e||void 0===t||!t||void 0===i||!i)return alert(LANG.common_msg_invalid_access),!1;var n="";if("Y"==i)n=LANG.member_status_y;else if("N"==i)n=LANG.member_status_n;else if("D"==i)n=LANG.member_status_d;else{if("H"!=i)return alert(LANG.common_msg_invalid_access),!1;n=LANG.member_status_h}confirm("해당 회원의 상태를 ["+n+"] 상태로 변경합니까?")&&$.ajax({url:"/ajax/members/status",type:"POST",async:!1,cache:!1,data:{mem_idx:e,current_status:t,change_status:i},success:function(){alert("지정한 회원의 상태를 ["+n+"] 상태로 변경하였습니다."),location.reload()}})},$(function(){}); \ No newline at end of file diff --git a/public_html/assets/js/desktop.min.js b/public_html/assets/js/desktop.min.js index 59b98f1..7dbc77f 100644 --- a/public_html/assets/js/desktop.min.js +++ b/public_html/assets/js/desktop.min.js @@ -1,8 +1 @@ -!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=fe.type(e);return"function"!==n&&!fe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e,t,n){if(fe.isFunction(t))return fe.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return fe.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(we.test(t))return fe.filter(t,e,n);t=fe.filter(t,e)}return fe.grep(e,function(e){return fe.inArray(e,t)>-1!==n})}function i(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function o(e){var t={};return fe.each(e.match(ke)||[],function(e,n){t[n]=!0}),t}function a(){ne.addEventListener?(ne.removeEventListener("DOMContentLoaded",s),e.removeEventListener("load",s)):(ne.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}function s(){(ne.addEventListener||"load"===e.event.type||"complete"===ne.readyState)&&(a(),fe.ready())}function u(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(Le,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:je.test(n)?fe.parseJSON(n):n)}catch(e){}fe.data(e,t,n)}else n=void 0}return n}function l(e){var t;for(t in e)if(("data"!==t||!fe.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,n,r){if(De(e)){var i,o,a=fe.expando,s=e.nodeType,u=s?fe.cache:e,l=s?e[a]:e[a]&&a;if(l&&u[l]&&(r||u[l].data)||void 0!==n||"string"!=typeof t)return l||(l=s?e[a]=te.pop()||fe.guid++:a),u[l]||(u[l]=s?{}:{toJSON:fe.noop}),"object"!=typeof t&&"function"!=typeof t||(r?u[l]=fe.extend(u[l],t):u[l].data=fe.extend(u[l].data,t)),o=u[l],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[fe.camelCase(t)]=n),"string"==typeof t?null==(i=o[t])&&(i=o[fe.camelCase(t)]):i=o,i}}function f(e,t,n){if(De(e)){var r,i,o=e.nodeType,a=o?fe.cache:e,s=o?e[fe.expando]:fe.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=fe.isArray(t)?t.concat(fe.map(t,fe.camelCase)):t in r?[t]:(t=fe.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!l(r):!fe.isEmptyObject(r))return}(n||(delete a[s].data,l(a[s])))&&(o?fe.cleanData([e],!0):ce.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}function d(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return fe.css(e,t,"")},u=s(),l=n&&n[3]||(fe.cssNumber[t]?"":"px"),c=(fe.cssNumber[t]||"px"!==l&&+u)&&qe.exec(fe.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do{c/=o=o||".5",fe.style(e,t,c+l)}while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function p(e){var t=We.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function h(e,t){var n,r,i=0,o=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||fe.nodeName(r,t)?o.push(r):fe.merge(o,h(r,t));return void 0===t||t&&fe.nodeName(e,t)?fe.merge([e],o):o}function g(e,t){for(var n,r=0;null!=(n=e[r]);r++)fe._data(n,"globalEval",!t||fe._data(t[r],"globalEval"))}function m(e){Oe.test(e.type)&&(e.defaultChecked=e.checked)}function v(e,t,n,r,i){for(var o,a,s,u,l,c,f,d=e.length,v=p(t),y=[],x=0;x"!==f[1]||ze.test(a)?0:u:u.firstChild)&&a.childNodes.length;o--;)fe.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(fe.merge(y,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=v.lastChild}else y.push(t.createTextNode(a));for(u&&v.removeChild(u),ce.appendChecked||fe.grep(h(y,"input"),m),x=0;a=y[x++];)if(r&&fe.inArray(a,r)>-1)i&&i.push(a);else if(s=fe.contains(a.ownerDocument,a),u=h(v.appendChild(a),"script"),s&&g(u),n)for(o=0;a=u[o++];)Pe.test(a.type||"")&&n.push(a);return u=null,v}function y(){return!0}function x(){return!1}function b(){try{return ne.activeElement}catch(e){}}function w(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)w(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=x;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return fe().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=fe.guid++)),e.each(function(){fe.event.add(this,t,i,r,n)})}function T(e,t){return fe.nodeName(e,"table")&&fe.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function C(e){return e.type=(null!==fe.find.attr(e,"type"))+"/"+e.type,e}function E(e){var t=tt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function N(e,t){if(1===t.nodeType&&fe.hasData(e)){var n,r,i,o=fe._data(e),a=fe._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;r1&&"string"==typeof p&&!ce.checkClone&&et.test(p))return e.each(function(i){var o=e.eq(i);g&&(t[0]=p.call(this,i,o.html())),S(o,t,n,r)});if(f&&(l=v(t,e[0].ownerDocument,!1,e,r),i=l.firstChild,1===l.childNodes.length&&(l=i),i||r)){for(a=(s=fe.map(h(l,"script"),C)).length;c")).appendTo(t.documentElement))[0].contentWindow||it[0].contentDocument).document).write(),t.close(),n=D(e,t),it.detach()),ot[e]=n),n}function L(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function H(e){if(e in bt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=xt.length;n--;)if((e=xt[n]+t)in bt)return e}function q(e,t){for(var n,r,i,o=[],a=0,s=e.length;a=0&&n=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==fe.type(e)||e.nodeType||fe.isWindow(e))return!1;try{if(e.constructor&&!le.call(e,"constructor")&&!le.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(!ce.ownFirst)for(t in e)return le.call(e,t);for(t in e);return void 0===t||le.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?se[ue.call(e)]||"object":typeof e},globalEval:function(t){t&&fe.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(pe,"ms-").replace(he,ge)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var r,i=0;if(n(e))for(r=e.length;ib.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[O]=!0,e}function i(e){var t=j.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||X)-(~e.sourceIndex||X);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function u(e){return e&&void 0!==e.getElementsByTagName&&e}function l(){}function c(e){for(var t=0,n=e.length,r="";t1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function p(e,n,r){for(var i=0,o=n.length;i-1&&(r[l]=!(a[l]=f))}}else x=h(x===a?x.splice(m,x.length):x),o?o(null,a,x,u):G.apply(a,x)})}function m(e){for(var t,n,r,i=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=f(function(e){return e===t},a,!0),l=f(function(e){return K(t,e)>-1},a,!0),p=[function(e,n,r){var i=!o&&(r||n!==k)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s1&&d(p),s>1&&c(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(oe,"$1"),n,s0,o=e.length>0,a=function(r,a,s,u,l){var c,f,d,p=0,g="0",m=r&&[],v=[],y=k,x=r||o&&b.find.TAG("*",l),w=P+=null==y?1:Math.random()||.1,T=x.length;for(l&&(k=a===j||a||l);g!==T&&null!=(c=x[g]);g++){if(o&&c){for(f=0,a||c.ownerDocument===j||(D(c),s=!H);d=e[f++];)if(d(c,a||j,s)){u.push(c);break}l&&(P=w)}i&&((c=!d&&c)&&p--,r&&m.push(c))}if(p+=g,i&&g!==p){for(f=0;d=n[f++];)d(m,v,a,s);if(r){if(p>0)for(;g--;)m[g]||v[g]||(v[g]=Y.call(u));v=h(v)}G.apply(u,v),l&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(P=w,k=y),m};return i?r(a):a}var y,x,b,w,T,C,E,N,k,S,A,D,j,L,H,q,_,F,M,O="sizzle"+1*new Date,R=e.document,P=0,B=0,W=n(),I=n(),$=n(),z=function(e,t){return e===t&&(A=!0),0},X=1<<31,U={}.hasOwnProperty,V=[],Y=V.pop,J=V.push,G=V.push,Q=V.slice,K=function(e,t){for(var n=0,r=e.length;n+~]|"+ee+")"+ee+"*"),ue=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),le=new RegExp(re),ce=new RegExp("^"+te+"$"),fe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},de=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,ve=/'|\\/g,ye=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),xe=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},be=function(){D()};try{G.apply(V=Q.call(R.childNodes),R.childNodes),V[R.childNodes.length].nodeType}catch(e){G={apply:V.length?function(e,t){J.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}x=t.support={},T=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},D=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:R;return r!==j&&9===r.nodeType&&r.documentElement?(j=r,L=j.documentElement,H=!T(j),(n=j.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",be,!1):n.attachEvent&&n.attachEvent("onunload",be)),x.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=i(function(e){return e.appendChild(j.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=he.test(j.getElementsByClassName),x.getById=i(function(e){return L.appendChild(e).id=O,!j.getElementsByName||!j.getElementsByName(O).length}),x.getById?(b.find.ID=function(e,t){if(void 0!==t.getElementById&&H){var n=t.getElementById(e);return n?[n]:[]}},b.filter.ID=function(e){var t=e.replace(ye,xe);return function(e){return e.getAttribute("id")===t}}):(delete b.find.ID,b.filter.ID=function(e){var t=e.replace(ye,xe);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),b.find.TAG=x.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=x.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&H)return t.getElementsByClassName(e)},_=[],q=[],(x.qsa=he.test(j.querySelectorAll))&&(i(function(e){L.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||q.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+O+"-]").length||q.push("~="),e.querySelectorAll(":checked").length||q.push(":checked"),e.querySelectorAll("a#"+O+"+*").length||q.push(".#.+[+~]")}),i(function(e){var t=j.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&q.push("name"+ee+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),q.push(",.*:")})),(x.matchesSelector=he.test(F=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&i(function(e){x.disconnectedMatch=F.call(e,"div"),F.call(e,"[s!='']:x"),_.push("!=",re)}),q=q.length&&new RegExp(q.join("|")),_=_.length&&new RegExp(_.join("|")),t=he.test(L.compareDocumentPosition),M=t||he.test(L.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},z=t?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!x.sortDetached&&t.compareDocumentPosition(e)===n?e===j||e.ownerDocument===R&&M(R,e)?-1:t===j||t.ownerDocument===R&&M(R,t)?1:S?K(S,e)-K(S,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===j?-1:t===j?1:i?-1:o?1:S?K(S,e)-K(S,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===R?-1:u[r]===R?1:0},j):j},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==j&&D(e),n=n.replace(ue,"='$1']"),x.matchesSelector&&H&&!$[n+" "]&&(!_||!_.test(n))&&(!q||!q.test(n)))try{var r=F.call(e,n);if(r||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,j,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==j&&D(e),M(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==j&&D(e);var n=b.attrHandle[t.toLowerCase()],r=n&&U.call(b.attrHandle,t.toLowerCase())?n(e,t,!H):void 0;return void 0!==r?r:x.attributes||!H?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(A=!x.detectDuplicates,S=!x.sortStable&&e.slice(0),e.sort(z),A){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return S=null,e},w=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=w(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=w(t);return n},(b=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,xe),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,xe),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&le.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,xe).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,x=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&y){for(x=(p=(l=(c=(f=(d=m)[O]||(d[O]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===P&&l[1])&&l[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){c[e]=[P,p,x];break}}else if(y&&(x=p=(l=(c=(f=(d=t)[O]||(d[O]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===P&&l[1]),!1===x)for(;(d=++p&&d&&d[g]||(x=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++x||(y&&((c=(f=d[O]||(d[O]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[P,x]),d!==t)););return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=b.pseudos[e]||b.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[O]?o(n):o.length>1?(i=[e,e,"",n],b.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)e[r=K(e,i[a])]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=E(e.replace(oe,"$1"));return i[O]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ye,xe),function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,xe).toLowerCase(),function(t){var n;do{if(n=H?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===L},focus:function(e){return e===j.activeElement&&(!j.hasFocus||j.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,n){return[n<0?n+t:n]}),even:s(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:s(function(e,t,n){for(var r=n<0?n+t:n;++r2&&"ID"===(a=o[0]).type&&x.getById&&9===t.nodeType&&H&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(ye,xe),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=fe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!b.relative[s=a.type]);)if((l=b.find[s])&&(r=l(a.matches[0].replace(ye,xe),me.test(o[0].type)&&u(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&c(o)))return G.apply(n,r),n;break}}return(f||E(e,d))(r,t,!H,n,!t||me.test(e)&&u(t.parentNode)||t),n},x.sortStable=O.split("").sort(z).join("")===O,x.detectDuplicates=!!A,D(),x.sortDetached=i(function(e){return 1&e.compareDocumentPosition(j.createElement("div"))}),i(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&i(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);fe.find=me,fe.expr=me.selectors,fe.expr[":"]=fe.expr.pseudos,fe.uniqueSort=fe.unique=me.uniqueSort,fe.text=me.getText,fe.isXMLDoc=me.isXML,fe.contains=me.contains;var ve=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&fe(e).is(n))break;r.push(e)}return r},ye=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},xe=fe.expr.match.needsContext,be=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,we=/^.[^:#\[\.,]*$/;fe.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?fe.find.matchesSelector(r,e)?[r]:[]:fe.find.matches(e,fe.grep(t,function(e){return 1===e.nodeType}))},fe.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(fe(e).filter(function(){for(t=0;t1?fe.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&xe.test(e)?fe(e):e||[],!1).length}});var Te,Ce=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(fe.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Te,"string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Ce.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof fe?t[0]:t,fe.merge(this,fe.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ne,!0)),be.test(r[1])&&fe.isPlainObject(t))for(r in t)fe.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if((i=ne.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return Te.find(e);this.length=1,this[0]=i}return this.context=ne,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):fe.isFunction(e)?void 0!==n.ready?n.ready(e):e(fe):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),fe.makeArray(e,this))}).prototype=fe.fn,Te=fe(ne);var Ee=/^(?:parents|prev(?:Until|All))/,Ne={children:!0,contents:!0,next:!0,prev:!0};fe.fn.extend({has:function(e){var t,n=fe(e,this),r=n.length;return this.filter(function(){for(t=0;t-1:1===n.nodeType&&fe.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?fe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?fe.inArray(this[0],fe(e)):fe.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(fe.uniqueSort(fe.merge(this.get(),fe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),fe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return ve(e,"parentNode")},parentsUntil:function(e,t,n){return ve(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return ve(e,"nextSibling")},prevAll:function(e){return ve(e,"previousSibling")},nextUntil:function(e,t,n){return ve(e,"nextSibling",n)},prevUntil:function(e,t,n){return ve(e,"previousSibling",n)},siblings:function(e){return ye((e.parentNode||{}).firstChild,e)},children:function(e){return ye(e.firstChild)},contents:function(e){return fe.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:fe.merge([],e.childNodes)}},function(e,t){fe.fn[e]=function(n,r){var i=fe.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=fe.filter(r,i)),this.length>1&&(Ne[e]||(i=fe.uniqueSort(i)),Ee.test(e)&&(i=i.reverse())),this.pushStack(i)}});var ke=/\S+/g;fe.Callbacks=function(e){e="string"==typeof e?o(e):fe.extend({},e);var t,n,r,i,a=[],s=[],u=-1,l=function(){for(i=e.once,r=t=!0;s.length;u=-1)for(n=s.shift();++u-1;)a.splice(n,1),n<=u&&u--}),this},has:function(e){return e?fe.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=!0,n||c.disable(),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},fe.extend({Deferred:function(e){var t=[["resolve","done",fe.Callbacks("once memory"),"resolved"],["reject","fail",fe.Callbacks("once memory"),"rejected"],["notify","progress",fe.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return fe.Deferred(function(n){fe.each(t,function(t,o){var a=fe.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&fe.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?fe.extend(e,r):r}},i={};return r.pipe=r.then,fe.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=re.call(arguments),a=o.length,s=1!==a||e&&fe.isFunction(e.promise)?a:0,u=1===s?e:fe.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?re.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);i0||(Se.resolveWith(ne,[fe]),fe.fn.triggerHandler&&(fe(ne).triggerHandler("ready"),fe(ne).off("ready"))))}}),fe.ready.promise=function(t){if(!Se)if(Se=fe.Deferred(),"complete"===ne.readyState||"loading"!==ne.readyState&&!ne.documentElement.doScroll)e.setTimeout(fe.ready);else if(ne.addEventListener)ne.addEventListener("DOMContentLoaded",s),e.addEventListener("load",s);else{ne.attachEvent("onreadystatechange",s),e.attachEvent("onload",s);var n=!1;try{n=null==e.frameElement&&ne.documentElement}catch(e){}n&&n.doScroll&&function t(){if(!fe.isReady){try{n.doScroll("left")}catch(n){return e.setTimeout(t,50)}a(),fe.ready()}}()}return Se.promise(t)},fe.ready.promise();var Ae;for(Ae in fe(ce))break;ce.ownFirst="0"===Ae,ce.inlineBlockNeedsLayout=!1,fe(function(){var e,t,n,r;(n=ne.getElementsByTagName("body")[0])&&n.style&&(t=ne.createElement("div"),(r=ne.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ce.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=ne.createElement("div");ce.deleteExpando=!0;try{delete e.test}catch(e){ce.deleteExpando=!1}e=null}();var De=function(e){var t=fe.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},je=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Le=/([A-Z])/g;fe.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?fe.cache[e[fe.expando]]:e[fe.expando])&&!l(e)},data:function(e,t,n){return c(e,t,n)},removeData:function(e,t){return f(e,t)},_data:function(e,t,n){return c(e,t,n,!0)},_removeData:function(e,t){return f(e,t,!0)}}),fe.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=fe.data(o),1===o.nodeType&&!fe._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&u(o,r=fe.camelCase(r.slice(5)),i[r]);fe._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){fe.data(this,e)}):arguments.length>1?this.each(function(){fe.data(this,e,t)}):o?u(o,e,fe.data(o,e)):void 0},removeData:function(e){return this.each(function(){fe.removeData(this,e)})}}),fe.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=fe._data(e,t),n&&(!r||fe.isArray(n)?r=fe._data(e,t,fe.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=fe.queue(e,t),r=n.length,i=n.shift(),o=fe._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){fe.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return fe._data(e,n)||fe._data(e,n,{empty:fe.Callbacks("once memory").add(function(){fe._removeData(e,t+"queue"),fe._removeData(e,n)})})}}),fe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length
a",ce.leadingWhitespace=3===e.firstChild.nodeType,ce.tbody=!e.getElementsByTagName("tbody").length,ce.htmlSerialize=!!e.getElementsByTagName("link").length,ce.html5Clone="<:nav>"!==ne.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),ce.appendChecked=n.checked,e.innerHTML="",ce.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),(n=ne.createElement("input")).setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),ce.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.noCloneEvent=!!e.addEventListener,e[fe.expando]=1,ce.attributes=!e.getAttribute(fe.expando)}();var Ie={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:ce.htmlSerialize?[0,"",""]:[1,"X
","
"]};Ie.optgroup=Ie.option,Ie.tbody=Ie.tfoot=Ie.colgroup=Ie.caption=Ie.thead,Ie.th=Ie.td;var $e=/<|&#?\w+;/,ze=/-1&&(p=(h=p.split(".")).shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,t=t[fe.expando]?t:new fe.Event(p,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:fe.makeArray(n,[t]),l=fe.event.special[p]||{},i||!l.trigger||!1!==l.trigger.apply(r,n))){if(!i&&!l.noBubble&&!fe.isWindow(r)){for(u=l.delegateType||p,Ye.test(u+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),c=s;c===(r.ownerDocument||ne)&&d.push(c.defaultView||c.parentWindow||e)}for(f=0;(s=d[f++])&&!t.isPropagationStopped();)t.type=f>1?u:l.bindType||p,(o=(fe._data(s,"events")||{})[t.type]&&fe._data(s,"handle"))&&o.apply(s,n),(o=a&&s[a])&&o.apply&&De(s)&&(t.result=o.apply(s,n),!1===t.result&&t.preventDefault());if(t.type=p,!i&&!t.isDefaultPrevented()&&(!l._default||!1===l._default.apply(d.pop(),n))&&De(r)&&a&&r[p]&&!fe.isWindow(r)){(c=r[a])&&(r[a]=null),fe.event.triggered=p;try{r[p]()}catch(e){}fe.event.triggered=void 0,c&&(r[a]=c)}return t.result}},dispatch:function(e){e=fe.event.fix(e);var t,n,r,i,o,a=[],s=re.call(arguments),u=(fe._data(this,"events")||{})[e.type]||[],l=fe.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(a=fe.event.handlers.call(this,e,u),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(r=((fe.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],n=0;n-1:fe.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s]","i"),Ke=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ze=/\s*$/g,rt=p(ne).appendChild(ne.createElement("div"));fe.extend({htmlPrefilter:function(e){return e.replace(Ke,"<$1>")},clone:function(e,t,n){var r,i,o,a,s,u=fe.contains(e.ownerDocument,e);if(ce.html5Clone||fe.isXMLDoc(e)||!Qe.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(rt.innerHTML=e.outerHTML,rt.removeChild(o=rt.firstChild)),!(ce.noCloneEvent&&ce.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||fe.isXMLDoc(e)))for(r=h(o),s=h(e),a=0;null!=(i=s[a]);++a)r[a]&&k(i,r[a]);if(t)if(n)for(s=s||h(e),r=r||h(o),a=0;null!=(i=s[a]);a++)N(i,r[a]);else N(e,o);return(r=h(o,"script")).length>0&&g(r,!u&&h(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var n,r,i,o,a=0,s=fe.expando,u=fe.cache,l=ce.attributes,c=fe.event.special;null!=(n=e[a]);a++)if((t||De(n))&&(i=n[s],o=i&&u[i])){if(o.events)for(r in o.events)c[r]?fe.event.remove(n,r):fe.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l||void 0===n.removeAttribute?n[s]=void 0:n.removeAttribute(s),te.push(i))}}}),fe.fn.extend({domManip:S,detach:function(e){return A(this,e,!0)},remove:function(e){return A(this,e)},text:function(e){return Me(this,function(e){return void 0===e?fe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||ne).createTextNode(e))},null,e,arguments.length)},append:function(){return S(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||T(this,e).appendChild(e)})},prepend:function(){return S(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=T(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&fe.cleanData(h(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&fe.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return fe.clone(this,e,t)})},html:function(e){return Me(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Ge,""):void 0;if("string"==typeof e&&!Ze.test(e)&&(ce.htmlSerialize||!Qe.test(e))&&(ce.leadingWhitespace||!Be.test(e))&&!Ie[(Re.exec(e)||["",""])[1].toLowerCase()]){e=fe.htmlPrefilter(e);try{for(;nt",l.childNodes[0].style.borderCollapse="separate",(t=l.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(o=0===t[0].offsetHeight)&&(t[0].style.display="",t[1].style.display="none",o=0===t[0].offsetHeight)),f.removeChild(u)}var n,r,i,o,a,s,u=ne.createElement("div"),l=ne.createElement("div");l.style&&(l.style.cssText="float:left;opacity:.5",ce.opacity="0.5"===l.style.opacity,ce.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",ce.clearCloneStyle="content-box"===l.style.backgroundClip,(u=ne.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",u.appendChild(l),ce.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,fe.extend(ce,{reliableHiddenOffsets:function(){return null==n&&t(),o},boxSizingReliable:function(){return null==n&&t(),i},pixelMarginRight:function(){return null==n&&t(),r},pixelPosition:function(){return null==n&&t(),n},reliableMarginRight:function(){return null==n&&t(),a},reliableMarginLeft:function(){return null==n&&t(),s}}))}();var ct,ft,dt=/^(top|right|bottom|left)$/;e.getComputedStyle?(ct=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},ft=function(e,t,n){var r,i,o,a,s=e.style;return n=n||ct(e),""!==(a=n?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==a||fe.contains(e.ownerDocument,e)||(a=fe.style(e,t)),n&&!ce.pixelMarginRight()&&st.test(a)&&at.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o),void 0===a?a:a+""}):lt.currentStyle&&(ct=function(e){return e.currentStyle},ft=function(e,t,n){var r,i,o,a,s=e.style;return n=n||ct(e),null==(a=n?n[t]:void 0)&&s&&s[t]&&(a=s[t]),st.test(a)&&!dt.test(t)&&(r=s.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"});var pt=/alpha\([^)]*\)/i,ht=/opacity\s*=\s*([^)]*)/i,gt=/^(none|table(?!-c[ea]).+)/,mt=new RegExp("^("+He+")(.*)$","i"),vt={position:"absolute",visibility:"hidden",display:"block"},yt={letterSpacing:"0",fontWeight:"400"},xt=["Webkit","O","Moz","ms"],bt=ne.createElement("div").style;fe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ft(e,"opacity");return""===n?"1":n}}}},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:ce.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=fe.camelCase(t),u=e.style;if(t=fe.cssProps[s]||(fe.cssProps[s]=H(s)||s),a=fe.cssHooks[t]||fe.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];if("string"==(o=typeof n)&&(i=qe.exec(n))&&i[1]&&(n=d(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(fe.cssNumber[s]?"":"px")),ce.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{u[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o,a,s=fe.camelCase(t);return t=fe.cssProps[s]||(fe.cssProps[s]=H(s)||s),(a=fe.cssHooks[t]||fe.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=ft(e,t,r)),"normal"===o&&t in yt&&(o=yt[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),fe.each(["height","width"],function(e,t){fe.cssHooks[t]={get:function(e,n,r){if(n)return gt.test(fe.css(e,"display"))&&0===e.offsetWidth?ut(e,vt,function(){return M(e,t,r)}):M(e,t,r)},set:function(e,n,r){var i=r&&ct(e);return _(0,n,r?F(e,t,r,ce.boxSizing&&"border-box"===fe.css(e,"boxSizing",!1,i),i):0)}}}),ce.opacity||(fe.cssHooks.opacity={get:function(e,t){return ht.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=fe.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===fe.trim(o.replace(pt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=pt.test(o)?o.replace(pt,i):o+" "+i)}}),fe.cssHooks.marginRight=L(ce.reliableMarginRight,function(e,t){if(t)return ut(e,{display:"inline-block"},ft,[e,"marginRight"])}),fe.cssHooks.marginLeft=L(ce.reliableMarginLeft,function(e,t){if(t)return(parseFloat(ft(e,"marginLeft"))||(fe.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-ut(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),fe.each({margin:"",padding:"",border:"Width"},function(e,t){fe.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+_e[r]+t]=o[r]||o[r-2]||o[0];return i}},at.test(e)||(fe.cssHooks[e+t].set=_)}),fe.fn.extend({css:function(e,t){return Me(this,function(e,t,n){var r,i,o={},a=0;if(fe.isArray(t)){for(r=ct(e),i=t.length;a1)},show:function(){return q(this,!0)},hide:function(){return q(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Fe(this)?fe(this).show():fe(this).hide()})}}),fe.Tween=O,O.prototype={constructor:O,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||fe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(fe.cssNumber[n]?"":"px")},cur:function(){var e=O.propHooks[this.prop];return e&&e.get?e.get(this):O.propHooks._default.get(this)},run:function(e){var t,n=O.propHooks[this.prop];return this.options.duration?this.pos=t=fe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):O.propHooks._default.set(this),this}},O.prototype.init.prototype=O.prototype,O.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=fe.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){fe.fx.step[e.prop]?fe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[fe.cssProps[e.prop]]&&!fe.cssHooks[e.prop]?e.elem[e.prop]=e.now:fe.style(e.elem,e.prop,e.now+e.unit)}}},O.propHooks.scrollTop=O.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},fe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},fe.fx=O.prototype.init,fe.fx.step={};var wt,Tt,Ct=/^(?:toggle|show|hide)$/,Et=/queueHooks$/;fe.Animation=fe.extend(I,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return d(n.elem,e,qe.exec(t),n),n}]},tweener:function(e,t){fe.isFunction(e)?(t=e,e=["*"]):e=e.match(ke);for(var n,r=0,i=e.length;r
a",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),(e=n.getElementsByTagName("a")[0]).style.cssText="top:1px",ce.getSetAttribute="t"!==n.className,ce.style=/top/.test(e.getAttribute("style")),ce.hrefNormalized="/a"===e.getAttribute("href"),ce.checkOn=!!t.value,ce.optSelected=i.selected,ce.enctype=!!ne.createElement("form").enctype,r.disabled=!0,ce.optDisabled=!i.disabled,(t=ne.createElement("input")).setAttribute("value",""),ce.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),ce.radioValue="t"===t.value}();var Nt=/\r/g,kt=/[\x20\t\r\n\f]+/g;fe.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=fe.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,fe(this).val()):e)?i="":"number"==typeof i?i+="":fe.isArray(i)&&(i=fe.map(i,function(e){return null==e?"":e+""})),(t=fe.valHooks[this.type]||fe.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=fe.valHooks[i.type]||fe.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Nt,""):null==n?"":n}}}),fe.extend({valHooks:{option:{get:function(e){var t=fe.find.attr(e,"value");return null!=t?t:fe.trim(fe.text(e)).replace(kt," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u-1)try{r.selected=n=!0}catch(e){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),fe.each(["radio","checkbox"],function(){fe.valHooks[this]={set:function(e,t){if(fe.isArray(t))return e.checked=fe.inArray(fe(e).val(),t)>-1}},ce.checkOn||(fe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var St,At,Dt=fe.expr.attrHandle,jt=/^(?:checked|selected)$/i,Lt=ce.getSetAttribute,Ht=ce.input;fe.fn.extend({attr:function(e,t){return Me(this,fe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){fe.removeAttr(this,e)})}}),fe.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?fe.prop(e,t,n):(1===o&&fe.isXMLDoc(e)||(t=t.toLowerCase(),i=fe.attrHooks[t]||(fe.expr.match.bool.test(t)?At:St)),void 0!==n?null===n?void fe.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=fe.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!ce.radioValue&&"radio"===t&&fe.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(ke);if(o&&1===e.nodeType)for(;n=o[i++];)r=fe.propFix[n]||n,fe.expr.match.bool.test(n)?Ht&&Lt||!jt.test(n)?e[r]=!1:e[fe.camelCase("default-"+n)]=e[r]=!1:fe.attr(e,n,""),e.removeAttribute(Lt?n:r)}}),At={set:function(e,t,n){return!1===t?fe.removeAttr(e,n):Ht&&Lt||!jt.test(n)?e.setAttribute(!Lt&&fe.propFix[n]||n,n):e[fe.camelCase("default-"+n)]=e[n]=!0,n}},fe.each(fe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Dt[t]||fe.find.attr;Ht&&Lt||!jt.test(t)?Dt[t]=function(e,t,r){var i,o;return r||(o=Dt[t],Dt[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,Dt[t]=o),i}:Dt[t]=function(e,t,n){if(!n)return e[fe.camelCase("default-"+t)]?t.toLowerCase():null}}),Ht&&Lt||(fe.attrHooks.value={set:function(e,t,n){if(!fe.nodeName(e,"input"))return St&&St.set(e,t,n);e.defaultValue=t}}),Lt||(St={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},Dt.id=Dt.name=Dt.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},fe.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:St.set},fe.attrHooks.contenteditable={set:function(e,t,n){St.set(e,""!==t&&t,n)}},fe.each(["width","height"],function(e,t){fe.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),ce.style||(fe.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var qt=/^(?:input|select|textarea|button|object)$/i,_t=/^(?:a|area)$/i;fe.fn.extend({prop:function(e,t){return Me(this,fe.prop,e,t,arguments.length>1)},removeProp:function(e){return e=fe.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),fe.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&fe.isXMLDoc(e)||(t=fe.propFix[t]||t,i=fe.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=fe.find.attr(e,"tabindex");return t?parseInt(t,10):qt.test(e.nodeName)||_t.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ce.hrefNormalized||fe.each(["href","src"],function(e,t){fe.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),ce.optSelected||(fe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),fe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){fe.propFix[this.toLowerCase()]=this}),ce.enctype||(fe.propFix.enctype="encoding");var Ft=/[\t\r\n\f]/g;fe.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(fe.isFunction(e))return this.each(function(t){fe(this).addClass(e.call(this,t,$(this)))});if("string"==typeof e&&e)for(t=e.match(ke)||[];n=this[u++];)if(i=$(n),r=1===n.nodeType&&(" "+i+" ").replace(Ft," ")){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=fe.trim(r))&&fe.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(fe.isFunction(e))return this.each(function(t){fe(this).removeClass(e.call(this,t,$(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(ke)||[];n=this[u++];)if(i=$(n),r=1===n.nodeType&&(" "+i+" ").replace(Ft," ")){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=fe.trim(r))&&fe.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):fe.isFunction(e)?this.each(function(n){fe(this).toggleClass(e.call(this,n,$(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=fe(this),o=e.match(ke)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=$(this))&&fe._data(this,"__className__",t),fe.attr(this,"class",t||!1===e?"":fe._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+$(n)+" ").replace(Ft," ").indexOf(t)>-1)return!0;return!1}}),fe.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(e,t){fe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),fe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Mt=e.location,Ot=fe.now(),Rt=/\?/,Pt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;fe.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=fe.trim(t+"");return i&&!fe.trim(i.replace(Pt,function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")}))?Function("return "+i)():fe.error("Invalid JSON: "+t)},fe.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(r=new e.DOMParser,n=r.parseFromString(t,"text/xml")):((n=new e.ActiveXObject("Microsoft.XMLDOM")).async="false",n.loadXML(t))}catch(e){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||fe.error("Invalid XML: "+t),n};var Bt=/#.*$/,Wt=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,$t=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,zt=/^(?:GET|HEAD)$/,Xt=/^\/\//,Ut=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Vt={},Yt={},Jt="*/".concat("*"),Gt=Mt.href,Qt=Ut.exec(Gt.toLowerCase())||[];fe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Gt,type:"GET",isLocal:$t.test(Qt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Jt,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":fe.parseJSON,"text xml":fe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?U(U(e,fe.ajaxSettings),t):U(fe.ajaxSettings,e)},ajaxPrefilter:z(Vt),ajaxTransport:z(Yt),ajax:function(t,n){function r(t,n,r,i){var o,f,y,x,w,C=n;2!==b&&(b=2,u&&e.clearTimeout(u),c=void 0,s=i||"",T.readyState=t>0?4:0,o=t>=200&&t<300||304===t,r&&(x=V(d,T,r)),x=Y(d,x,T,o),o?(d.ifModified&&((w=T.getResponseHeader("Last-Modified"))&&(fe.lastModified[a]=w),(w=T.getResponseHeader("etag"))&&(fe.etag[a]=w)),204===t||"HEAD"===d.type?C="nocontent":304===t?C="notmodified":(C=x.state,f=x.data,o=!(y=x.error))):(y=C,!t&&C||(C="error",t<0&&(t=0))),T.status=t,T.statusText=(n||C)+"",o?g.resolveWith(p,[f,C,T]):g.rejectWith(p,[T,C,y]),T.statusCode(v),v=void 0,l&&h.trigger(o?"ajaxSuccess":"ajaxError",[T,d,o?f:y]),m.fireWith(p,[T,C]),l&&(h.trigger("ajaxComplete",[T,d]),--fe.active||fe.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,d=fe.ajaxSetup({},n),p=d.context||d,h=d.context&&(p.nodeType||p.jquery)?fe(p):fe.event,g=fe.Deferred(),m=fe.Callbacks("once memory"),v=d.statusCode||{},y={},x={},b=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!f)for(f={};t=It.exec(s);)f[t[1].toLowerCase()]=t[2];t=f[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=x[n]=x[n]||e,y[e]=t),this},overrideMimeType:function(e){return b||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)v[t]=[v[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),r(0,t),this}};if(g.promise(T).complete=m.add,T.success=T.done,T.error=T.fail,d.url=((t||d.url||Gt)+"").replace(Bt,"").replace(Xt,Qt[1]+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=fe.trim(d.dataType||"*").toLowerCase().match(ke)||[""],null==d.crossDomain&&(i=Ut.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===Qt[1]&&i[2]===Qt[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(Qt[3]||("http:"===Qt[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=fe.param(d.data,d.traditional)),X(Vt,d,n,T),2===b)return T;(l=fe.event&&d.global)&&0==fe.active++&&fe.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!zt.test(d.type),a=d.url,d.hasContent||(d.data&&(a=d.url+=(Rt.test(a)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=Wt.test(a)?a.replace(Wt,"$1_="+Ot++):a+(Rt.test(a)?"&":"?")+"_="+Ot++)),d.ifModified&&(fe.lastModified[a]&&T.setRequestHeader("If-Modified-Since",fe.lastModified[a]),fe.etag[a]&&T.setRequestHeader("If-None-Match",fe.etag[a])),(d.data&&d.hasContent&&!1!==d.contentType||n.contentType)&&T.setRequestHeader("Content-Type",d.contentType),T.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Jt+"; q=0.01":""):d.accepts["*"]);for(o in d.headers)T.setRequestHeader(o,d.headers[o]);if(d.beforeSend&&(!1===d.beforeSend.call(p,T,d)||2===b))return T.abort();w="abort";for(o in{success:1,error:1,complete:1})T[o](d[o]);if(c=X(Yt,d,n,T)){if(T.readyState=1,l&&h.trigger("ajaxSend",[T,d]),2===b)return T;d.async&&d.timeout>0&&(u=e.setTimeout(function(){T.abort("timeout")},d.timeout));try{b=1,c.send(y,r)}catch(e){if(!(b<2))throw e;r(-1,e)}}else r(-1,"No Transport");return T},getJSON:function(e,t,n){return fe.get(e,t,n,"json")},getScript:function(e,t){return fe.get(e,void 0,t,"script")}}),fe.each(["get","post"],function(e,t){fe[t]=function(e,n,r,i){return fe.isFunction(n)&&(i=i||r,r=n,n=void 0),fe.ajax(fe.extend({url:e,type:t,dataType:i,data:n,success:r},fe.isPlainObject(e)&&e))}}),fe._evalUrl=function(e){return fe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},fe.fn.extend({wrapAll:function(e){if(fe.isFunction(e))return this.each(function(t){fe(this).wrapAll(e.call(this,t))});if(this[0]){var t=fe(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return fe.isFunction(e)?this.each(function(t){fe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=fe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=fe.isFunction(e);return this.each(function(n){fe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){fe.nodeName(this,"body")||fe(this).replaceWith(this.childNodes)}).end()}}),fe.expr.filters.hidden=function(e){return ce.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:G(e)},fe.expr.filters.visible=function(e){return!fe.expr.filters.hidden(e)};var Kt=/%20/g,Zt=/\[\]$/,en=/\r?\n/g,tn=/^(?:submit|button|image|reset|file)$/i,nn=/^(?:input|select|textarea|keygen)/i;fe.param=function(e,t){var n,r=[],i=function(e,t){t=fe.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=fe.ajaxSettings&&fe.ajaxSettings.traditional),fe.isArray(e)||e.jquery&&!fe.isPlainObject(e))fe.each(e,function(){i(this.name,this.value)});else for(n in e)Q(n,e[n],t,i);return r.join("&").replace(Kt,"+")},fe.fn.extend({serialize:function(){return fe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=fe.prop(this,"elements");return e?fe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!fe(this).is(":disabled")&&nn.test(this.nodeName)&&!tn.test(e)&&(this.checked||!Oe.test(e))}).map(function(e,t){var n=fe(this).val();return null==n?null:fe.isArray(n)?fe.map(n,function(e){return{name:t.name,value:e.replace(en,"\r\n")}}):{name:t.name,value:n.replace(en,"\r\n")}}).get()}}),fe.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return this.isLocal?Z():ne.documentMode>8?K():/^(get|post|head|put|delete|options)$/i.test(this.type)&&K()||Z()}:K;var rn=0,on={},an=fe.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in on)on[e](void 0,!0)}),ce.cors=!!an&&"withCredentials"in an,(an=ce.ajax=!!an)&&fe.ajaxTransport(function(t){if(!t.crossDomain||ce.cors){var n;return{send:function(r,i){var o,a=t.xhr(),s=++rn;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)void 0!==r[o]&&a.setRequestHeader(o,r[o]+"");a.send(t.hasContent&&t.data||null),n=function(e,r){var o,u,l;if(n&&(r||4===a.readyState))if(delete on[s],n=void 0,a.onreadystatechange=fe.noop,r)4!==a.readyState&&a.abort();else{l={},o=a.status,"string"==typeof a.responseText&&(l.text=a.responseText);try{u=a.statusText}catch(e){u=""}o||!t.isLocal||t.crossDomain?1223===o&&(o=204):o=l.text?200:404}l&&i(o,u,l,a.getAllResponseHeaders())},t.async?4===a.readyState?e.setTimeout(n):a.onreadystatechange=on[s]=n:n()},abort:function(){n&&n(void 0,!0)}}}}),fe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return fe.globalEval(e),e}}}),fe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),fe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=ne.head||fe("head")[0]||ne.documentElement;return{send:function(r,i){(t=ne.createElement("script")).async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var sn=[],un=/(=)\?(?=&|$)|\?\?/;fe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=sn.pop()||fe.expando+"_"+Ot++;return this[e]=!0,e}}),fe.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(un.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&un.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=fe.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(un,"$1"+i):!1!==t.jsonp&&(t.url+=(Rt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||fe.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?fe(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,sn.push(i)),a&&fe.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),fe.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||ne;var r=be.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=v([e],t,i),i&&i.length&&fe(i).remove(),fe.merge([],r.childNodes))};var ln=fe.fn.load;fe.fn.load=function(e,t,n){if("string"!=typeof e&&ln)return ln.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=fe.trim(e.slice(s,e.length)),e=e.slice(0,s)),fe.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&fe.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?fe("
").append(fe.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},fe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){fe.fn[t]=function(e){return this.on(t,e)}}),fe.expr.filters.animated=function(e){return fe.grep(fe.timers,function(t){return e===t.elem}).length},fe.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=fe.css(e,"position"),c=fe(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=fe.css(e,"top"),u=fe.css(e,"left"),("absolute"===l||"fixed"===l)&&fe.inArray("auto",[o,u])>-1?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),fe.isFunction(t)&&(t=t.call(e,n,fe.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},fe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){fe.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,fe.contains(t,i)?(void 0!==i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=ee(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===fe.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),fe.nodeName(e[0],"html")||(n=e.offset()),n.top+=fe.css(e[0],"borderTopWidth",!0),n.left+=fe.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-fe.css(r,"marginTop",!0),left:t.left-n.left-fe.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!fe.nodeName(e,"html")&&"static"===fe.css(e,"position");)e=e.offsetParent;return e||lt})}}),fe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);fe.fn[e]=function(r){return Me(this,function(e,r,i){var o=ee(e);if(void 0===i)return o?t in o?o[t]:o.document.documentElement[r]:e[r];o?o.scrollTo(n?fe(o).scrollLeft():i,n?i:fe(o).scrollTop()):e[r]=i},e,r,arguments.length,null)}}),fe.each(["top","left"],function(e,t){fe.cssHooks[t]=L(ce.pixelPosition,function(e,n){if(n)return n=ft(e,t),st.test(n)?fe(e).position()[t]+"px":n})}),fe.each({Height:"height",Width:"width"},function(e,t){fe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){fe.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return Me(this,function(t,n,r){var i;return fe.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?fe.css(t,n,a):fe.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),fe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),fe.fn.size=function(){return this.length},fe.fn.andSelf=fe.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return fe});var cn=e.jQuery,fn=e.$;return fe.noConflict=function(t){return e.$===fe&&(e.$=fn),t&&e.jQuery===fe&&(e.jQuery=cn),fe},t||(e.jQuery=e.$=fe),fe}); -!function(){"use strict";function e(e){function o(o,i){var s,h,k=o==window,v=i&&void 0!==i.message?i.message:void 0;if(!(i=e.extend({},e.blockUI.defaults,i||{})).ignoreIfBlocked||!e(o).data("blockUI.isBlocked")){if(i.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,i.overlayCSS||{}),s=e.extend({},e.blockUI.defaults.css,i.css||{}),i.onOverlayClick&&(i.overlayCSS.cursor="pointer"),h=e.extend({},e.blockUI.defaults.themedCSS,i.themedCSS||{}),v=void 0===v?i.message:v,k&&b&&t(window,{fadeOut:0}),v&&"string"!=typeof v&&(v.parentNode||v.jquery)){var y=v.jquery?v[0]:v,m={};e(o).data("blockUI.history",m),m.el=y,m.parent=y.parentNode,m.display=y.style.display,m.position=y.style.position,m.parent&&m.parent.removeChild(y)}e(o).data("blockUI.onUnblock",i.onUnblock);var g,I,w,U,x=i.baseZ;g=e(r||i.forceIframe?'':''),I=e(i.theme?'':''),i.theme&&k?(U='"):i.theme?(U='"):U=k?'':'',w=e(U),v&&(i.theme?(w.css(h),w.addClass("ui-widget-content")):w.css(s)),i.theme||I.css(i.overlayCSS),I.css("position",k?"fixed":"absolute"),(r||i.forceIframe)&&g.css("opacity",0);var C=[g,I,w],S=e(k?"body":o);e.each(C,function(){this.appendTo(S)}),i.theme&&i.draggable&&e.fn.draggable&&w.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var O=f&&(!e.support.boxModel||e("object,embed",k?null:o).length>0);if(u||O){if(k&&i.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(u||!e.support.boxModel)&&!k)var E=d(o,"borderTopWidth"),T=d(o,"borderLeftWidth"),M=E?"(0 - "+E+")":0,B=T?"(0 - "+T+")":0;e.each(C,function(e,o){var t=o[0].style;if(t.position="absolute",e<2)k?t.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+i.quirksmodeOffsetHack+') + "px"'):t.setExpression("height",'this.parentNode.offsetHeight + "px"'),k?t.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):t.setExpression("width",'this.parentNode.offsetWidth + "px"'),B&&t.setExpression("left",B),M&&t.setExpression("top",M);else if(i.centerY)k&&t.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),t.marginTop=0;else if(!i.centerY&&k){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(i.css&&i.css.top?parseInt(i.css.top,10):0)+') + "px"';t.setExpression("top",n)}})}if(v&&(i.theme?w.find(".ui-widget-content").append(v):w.append(v),(v.jquery||v.nodeType)&&e(v).show()),(r||i.forceIframe)&&i.showOverlay&&g.show(),i.fadeIn){var j=i.onBlock?i.onBlock:c,H=i.showOverlay&&!v?j:c,z=v?j:c;i.showOverlay&&I._fadeIn(i.fadeIn,H),v&&w._fadeIn(i.fadeIn,z)}else i.showOverlay&&I.show(),v&&w.show(),i.onBlock&&i.onBlock.bind(w)();if(n(1,o,i),k?(b=w[0],p=e(i.focusableElements,b),i.focusInput&&setTimeout(l,20)):a(w[0],i.centerX,i.centerY),i.timeout){var W=setTimeout(function(){k?e.unblockUI(i):e(o).unblock(i)},i.timeout);e(o).data("blockUI.timeout",W)}}}function t(o,t){var s,l=o==window,a=e(o),d=a.data("blockUI.history"),c=a.data("blockUI.timeout");c&&(clearTimeout(c),a.removeData("blockUI.timeout")),t=e.extend({},e.blockUI.defaults,t||{}),n(0,o,t),null===t.onUnblock&&(t.onUnblock=a.data("blockUI.onUnblock"),a.removeData("blockUI.onUnblock"));var r;r=l?e("body").children().filter(".blockUI").add("body > .blockUI"):a.find(">.blockUI"),t.cursorReset&&(r.length>1&&(r[1].style.cursor=t.cursorReset),r.length>2&&(r[2].style.cursor=t.cursorReset)),l&&(b=p=null),t.fadeOut?(s=r.length,r.stop().fadeOut(t.fadeOut,function(){0==--s&&i(r,d,t,o)})):i(r,d,t,o)}function i(o,t,i,n){var s=e(n);if(!s.data("blockUI.isBlocked")){o.each(function(e,o){this.parentNode&&this.parentNode.removeChild(this)}),t&&t.el&&(t.el.style.display=t.display,t.el.style.position=t.position,t.el.style.cursor="default",t.parent&&t.parent.appendChild(t.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof i.onUnblock&&i.onUnblock(n,i);var l=e(document.body),a=l.width(),d=l[0].style.width;l.width(a-1).width(a),l[0].style.width=d}}function n(o,t,i){var n=t==window,l=e(t);if((o||(!n||b)&&(n||l.data("blockUI.isBlocked")))&&(l.data("blockUI.isBlocked",o),n&&i.bindEvents&&(!o||i.showOverlay))){var a="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";o?e(document).bind(a,i,s):e(document).unbind(a,s)}}function s(o){if("keydown"===o.type&&o.keyCode&&9==o.keyCode&&b&&o.data.constrainTabKey){var t=p,i=!o.shiftKey&&o.target===t[t.length-1],n=o.shiftKey&&o.target===t[0];if(i||n)return setTimeout(function(){l(n)},10),!1}var s=o.data,a=e(o.target);return a.hasClass("blockOverlay")&&s.onOverlayClick&&s.onOverlayClick(o),a.parents("div."+s.blockMsgClass).length>0||0===a.parents().children().filter("div.blockUI").length}function l(e){if(p){var o=p[!0===e?p.length-1:0];o&&o.focus()}}function a(e,o,t){var i=e.parentNode,n=e.style,s=(i.offsetWidth-e.offsetWidth)/2-d(i,"borderLeftWidth"),l=(i.offsetHeight-e.offsetHeight)/2-d(i,"borderTopWidth");o&&(n.left=s>0?s+"px":"0"),t&&(n.top=l>0?l+"px":"0")}function d(o,t){return parseInt(e.css(o,t),10)||0}e.fn._fadeIn=e.fn.fadeIn;var c=e.noop||function(){},r=/MSIE/.test(navigator.userAgent),u=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),f=(document.documentMode,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){o(window,e)},e.unblockUI=function(e){t(window,e)},e.growlUI=function(o,t,i,n){var s=e('
');o&&s.append("

"+o+"

"),t&&s.append("

"+t+"

"),void 0===i&&(i=3e3);var l=function(o){o=o||{},e.blockUI({message:s,fadeIn:void 0!==o.fadeIn?o.fadeIn:700,fadeOut:void 0!==o.fadeOut?o.fadeOut:1e3,timeout:void 0!==o.timeout?o.timeout:i,centerY:!1,showOverlay:!1,onUnblock:n,css:e.blockUI.defaults.growlCSS})};l();s.css("opacity");s.mouseover(function(){l({fadeIn:0,timeout:3e4});var o=e(".blockMsg");o.stop(),o.fadeTo(300,1)}).mouseout(function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var i=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var o=e(this);i.ignoreIfBlocked&&o.data("blockUI.isBlocked")||o.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,o(this,t)})},e.fn.unblock=function(o){return this[0]===window?(e.unblockUI(o),this):this.each(function(){t(this,o)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var b=null,p=[]}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}(); -!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){function n(e){return u.raw?e:encodeURIComponent(e)}function o(e){return u.raw?e:decodeURIComponent(e)}function i(e){return n(u.json?JSON.stringify(e):String(e))}function t(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(c," ")),u.json?JSON.parse(e):e}catch(e){}}function r(n,o){var i=u.raw?n:t(n);return e.isFunction(o)?o(i):i}var c=/\+/g,u=e.cookie=function(t,c,s){if(arguments.length>1&&!e.isFunction(c)){if("number"==typeof(s=e.extend({},u.defaults,s)).expires){var d=s.expires,f=s.expires=new Date;f.setMilliseconds(f.getMilliseconds()+864e5*d)}return document.cookie=[n(t),"=",i(c),s.expires?"; expires="+s.expires.toUTCString():"",s.path?"; path="+s.path:"",s.domain?"; domain="+s.domain:"",s.secure?"; secure":""].join("")}for(var a=t?void 0:{},p=document.cookie?document.cookie.split("; "):[],l=0,m=p.length;l=0;o--)i(e(n[o]),t)}function i(t,n,i){var o=!(!i||!i.force)&&i.force;return!(!t||!o&&0!==e(":focus",t).length)&&(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){l(t)}}),!0)}function o(t){return(d=e("
").attr("id",t.containerId).addClass(t.positionClass).attr("aria-live","polite").attr("role","alert")).appendTo(e(t.target)),d}function s(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'',newestOnTop:!0,preventDuplicates:!1,progressBar:!1}}function a(e){u&&u(e)}function r(n){function i(e){return null==e&&(e=""),new String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function o(){n.iconClass&&D.addClass(T.toastClass).addClass(O)}function s(){T.newestOnTop?d.prepend(D):d.append(D)}function r(){n.title&&(x.append(T.escapeHtml?i(n.title):n.title).addClass(T.titleClass),D.append(x))}function u(){n.message&&(E.append(T.escapeHtml?i(n.message):n.message).addClass(T.messageClass),D.append(E))}function f(){T.closeButton&&(y.addClass("toast-close-button").attr("role","button"),D.prepend(y))}function m(){T.progressBar&&(H.addClass("toast-progress"),D.prepend(H))}function h(t){var n=t&&!1!==T.closeMethod?T.closeMethod:T.hideMethod,i=t&&!1!==T.closeDuration?T.closeDuration:T.hideDuration,o=t&&!1!==T.closeEasing?T.closeEasing:T.hideEasing;if(!e(":focus",D).length||t)return clearTimeout(I.intervalId),D[n]({duration:i,easing:o,complete:function(){l(D),T.onHidden&&"hidden"!==M.state&&T.onHidden(),M.state="hidden",M.endTime=new Date,a(M)}})}function v(){(T.timeOut>0||T.extendedTimeOut>0)&&(b=setTimeout(h,T.extendedTimeOut),I.maxHideTime=parseFloat(T.extendedTimeOut),I.hideEta=(new Date).getTime()+I.maxHideTime)}function w(){clearTimeout(b),I.hideEta=0,D.stop(!0,!0)[T.showMethod]({duration:T.showDuration,easing:T.showEasing})}function C(){var e=(I.hideEta-(new Date).getTime())/I.maxHideTime*100;H.width(e+"%")}var T=c(),O=n.iconClass||T.iconClass;if(void 0!==n.optionsOverride&&(T=e.extend(T,n.optionsOverride),O=n.optionsOverride.iconClass||O),!function(e,t){if(e.preventDuplicates){if(t.message===p)return!0;p=t.message}return!1}(T,n)){g++,d=t(T,!0);var b=null,D=e("
"),x=e("
"),E=e("
"),H=e("
"),y=e(T.closeHtml),I={intervalId:null,hideEta:null,maxHideTime:null},M={toastId:g,state:"visible",startTime:new Date,options:T,map:n};return o(),r(),u(),f(),m(),s(),D.hide(),D[T.showMethod]({duration:T.showDuration,easing:T.showEasing,complete:T.onShown}),T.timeOut>0&&(b=setTimeout(h,T.timeOut),I.maxHideTime=parseFloat(T.timeOut),I.hideEta=(new Date).getTime()+I.maxHideTime,T.progressBar&&(I.intervalId=setInterval(C,10))),D.hover(w,v),!T.onclick&&T.tapToDismiss&&D.click(h),T.closeButton&&y&&y.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),h(!0)}),T.onclick&&D.click(function(e){T.onclick(e),h()}),a(M),T.debug&&console&&console.log(M),D}}function c(){return e.extend({},s(),m.options)}function l(e){d||(d=t()),e.is(":visible")||(e.remove(),e=null,0===d.children().length&&(d.remove(),p=void 0))}var d,u,p,g=0,f={error:"error",info:"info",success:"success",warning:"warning"},m={clear:function(e,o){var s=c();d||t(s),i(e,s,o)||n(s)},remove:function(n){var i=c();d||t(i),n&&0===e(":focus",n).length?l(n):d.children().length&&d.remove()},error:function(e,t,n){return r({type:f.error,iconClass:c().iconClasses.error,message:e,optionsOverride:n,title:t})},getContainer:t,info:function(e,t,n){return r({type:f.info,iconClass:c().iconClasses.info,message:e,optionsOverride:n,title:t})},options:{},subscribe:function(e){u=e},success:function(e,t,n){return r({type:f.success,iconClass:c().iconClasses.success,message:e,optionsOverride:n,title:t})},version:"2.1.2",warning:function(e,t,n){return r({type:f.warning,iconClass:c().iconClasses.warning,message:e,optionsOverride:n,title:t})}};return m}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}); -window.console&&window.console.log||(window.console={log:function(){}}),$(function(){$(document).ajaxError(function(e,o,t){var n="알수없는 오류가 발생하였습니다.";void 0!==o.responseJSON&&void 0!==o.responseJSON.message?n=o.responseJSON.message:500==o.status?n="서버 코드 오류가 발생하였습니다.\n관리자에게 문의하세요":401==o.status&&(n="해당 명령을 실행할 권한이 없습니다."),toastr.error(n,"오류 발생")}).ajaxStart(function(){$.blockUI({css:{width:"25px",top:"49%",left:"49%",border:"0px none",backgroundColor:"transparent",cursor:"wait"},message:'로딩중',baseZ:1e4,overlayCSS:{opacity:0}})}).ajaxComplete(function(){$.unblockUI()})});var APP={};APP.POPUP=null,APP.REGEX={},APP.REGEX.uniqueID=/^[a-z][a-z0-9_]{2,19}$/g,function(e){APP.POPUP=function(o){var t={title:"_blank",width:800,height:600,url:""},n=e.extend({},t,o);cw=screen.availWidth,ch=screen.availHeight,sw=n.width,sh=n.height,ml=(cw-sw)/2,mt=(ch-sh)/2;var o="width="+sw+",height="+sh+",top="+mt+",left="+ml+",scrollbars=yes,resizable=no",a=window.open(n.url,n.title,o);(null==a||void 0===a||null==a&&0==a.outerWidth||null!=a&&0==a.outerHeight)&&alert("팝업 차단 기능이 설정되어있습니다\n\n차단 기능을 해제(팝업허용) 한 후 다시 이용해 주십시오.")}}(jQuery),APP.SET_LANG=function(e){$.cookie("site_lang",e,{expires:30,path:"/"}),location.reload()},$('[data-toggle="btn-popup-close"]').click(function(e){var o=$(this).data("type"),t=$(this).data("idx"),n=$(this).data("cookie");"Y"==o?window.close():"N"==o&&$("#popup-"+t).remove(),1==n&&$.cookie("popup_"+t,1,{expires:1,path:"/"})}),$("a[data-toggle='sns-share']").click(function(e){e.preventDefault();var o=$(this),t=o.data("service"),n=o.data("url"),a=o.data("title"),s="",i=$("meta[name='og:image']").attr("content");if(t&&n&&a){if("facebook"==t)s="//www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(n);else if("twitter"==t)s="//twitter.com/home?status="+encodeURIComponent(a)+" "+n;else if("google"==t)s="//plus.google.com/share?url="+n;else if("pinterest"==t)s="//www.pinterest.com/pin/create/button/?url="+n+"&media="+i+"&description="+encodeURIComponent(a);else if("kakaostory"==t)s="https://story.kakao.com/share?url="+encodeURIComponent(n);else if("band"==t)s="http://www.band.us/plugin/share?body="+encodeURIComponent(a)+"%0A"+encodeURIComponent(n);else if("naver"==t)s="http://share.naver.com/web/shareView.nhn?url="+encodeURIComponent(n)+"&title="+encodeURIComponent(a);else{if("line"!=t)return!1;s="http://line.me/R/msg/text/?"+encodeURIComponent(a+"\n"+n)}return APP.POPUP({url:s}),!1}}); -APP.MEMBER={},APP.MEMBER.init=function(){APP.MEMBER.InitLoginForm(),APP.MEMBER.initCheckExist(),APP.MEMBER.InitRegisterForm(),APP.MEMBER.InitMemberModifyForm()},APP.MEMBER.InitRegisterForm=function(){$('[data-form="form-register"]').submit(function(e){e.preventDefault();var r=$(this);$.ajax({type:"PUT",data:r.serialize(),url:base_url+"/ajax/members/info",success:function(e){1==e.result&&(alert(LANG.member_join_success),location.href=base_url+"/members/login")}})})},APP.MEMBER.InitMemberModifyForm=function(){$('[data-form="form-member-modify"]').submit(function(e){e.preventDefault();var r=$(this);$.ajax({type:"POST",data:r.serialize(),url:base_url+"/ajax/members/info",success:function(e){1==e.result&&(alert(e.message),location.reload())}})})},APP.MEMBER.InitLoginForm=function(){$('[data-role="form-login"]').submit(function(e){e.preventDefault();var r=$(this),a=r.find('[name="login_id"]'),t=r.find('[name="login_pass"]');return""==a.val().trim()?(alert(LANG.member_login_userid_required),a.focus(),!1):""==t.val().trim()?(alert(LANG.member_login_password_required),t.focus(),!1):void $.ajax({url:base_url+"ajax/members/login",type:"POST",data:r.serialize(),success:function(e){1==e.result&&(location.href=e.reurl?e.reurl:base_url)},error:function(e){t.val("")}})})},APP.MEMBER.initCheckExist=function(){$('[data-toggle="check-member-exist"]').each(function(){var e=$(this);e.on("click",function(){var r=$("#"+e.data("target")),a=e.data("check"),t=r.val();if(void 0===t||!t||!t.trim())return alert(LANG.member_join_user_id_required),r.focus(),!1;var i=APP.MEMBER.denyWordCheck(a,t);return"VALID_EMAIL"==i?(alert(LANG.member_join_no_valid_email_address),r.focus(),!1):i?APP.MEMBER.getInfo(a,t)?(alert(LANG.member_join_user_id_already_exists),r.focus(),!1):(alert(LANG.member_join_user_id_available),!0):(alert(LANG.member_join_user_id_contains_deny_word),r.focus(),!1)})})},APP.MEMBER.getInfo=function(e,r){var a=null;return $.ajax({url:base_url+"/ajax/members/info",type:"get",async:!1,cache:!1,data:{key:e,value:r},success:function(e){a=e.result}}),a},APP.MEMBER.denyWordCheck=function(e,r){var a=null;return $.ajax({url:base_url+"/ajax/members/word_check",type:"get",async:!1,cache:!1,data:{key:e,value:r},success:function(e){a=e.result}}),a},APP.MEMBER.POP_CHANGE_PHOTO=function(){APP.POPUP({url:"/members/photo_change",width:600,height:150})},$(document).ready(APP.MEMBER.init); -APP.BOARD={},APP.BOARD.CATEGORY={},APP.BOARD.EXTRA={},APP.BOARD.COMMENT={},APP.BOARD.CATEGORY.count=function(t){if(void 0===t||!t)return 0;var a=0;return $.ajax({url:base_url+"/ajax/board/category_count",type:"get",cache:!1,async:!1,data:{bca_idx:t},success:function(t){a=t.result}}),a},APP.BOARD.CATEGORY.postCount=function(t){if(void 0===t||!t)return 0;var a=0;return $.ajax({url:base_url+"/ajax/board/category_post_count",type:"get",cache:!1,async:!1,data:{bca_idx:t},success:function(t){a=t.result}}),a},APP.BOARD.COMMENT.modify=function(t){APP.POPUP({title:"_blank",width:800,height:600,url:base_url+"/board/comment/modify/"+t})},APP.BOARD.COMMENT.reply=function(t,a){APP.POPUP({title:"_blank",width:800,height:600,url:base_url+"/board/comment/reply/"+t+"/"+a})},$(function(){var t=$('[data-form="post"]');t.length>0&&t.on("submit",function(){$.blockUI({css:{width:"25px",top:"49%",left:"49%",border:"0px none",backgroundColor:"transparent",cursor:"wait"},message:'로딩중',baseZ:1e4,overlayCSS:{opacity:0}})})}); -if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,o=this;t(this).one("bsTransitionEnd",function(){i=!0});return setTimeout(function(){i||t(o).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};i.VERSION="3.3.7",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function o(){a.detach().trigger("closed.bs.alert").remove()}var n=t(this),s=n.attr("data-target");s||(s=(s=n.attr("href"))&&s.replace(/.*(?=#[^\s]*$)/,""));var a=t("#"===s?[]:s);e&&e.preventDefault(),a.length||(a=n.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",o).emulateTransitionEnd(i.TRANSITION_DURATION):o())};var o=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var o=t(this),n=o.data("bs.alert");n||o.data("bs.alert",n=new i(this)),"string"==typeof e&&n[e].call(o)})},t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.button"),s="object"==typeof e&&e;n||o.data("bs.button",n=new i(this,s)),"toggle"==e?n.toggle():e&&n.setState(e)})}var i=function(e,o){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,o),this.isLoading=!1};i.VERSION="3.3.7",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",o=this.$element,n=o.is("input")?"val":"html",s=o.data();e+="Text",null==s.resetText&&o.data("resetText",o[n]()),setTimeout(t.proxy(function(){o[n](null==s[e]?this.options[e]:s[e]),"loadingText"==e?(this.isLoading=!0,o.addClass(i).attr(i,i).prop(i,!0)):this.isLoading&&(this.isLoading=!1,o.removeClass(i).removeAttr(i).prop(i,!1))},this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var o=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=o,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var o=t(i.target).closest(".btn");e.call(o,"toggle"),t(i.target).is('input[type="radio"], input[type="checkbox"]')||(i.preventDefault(),o.is("input,button")?o.trigger("focus"):o.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.carousel"),s=t.extend({},i.DEFAULTS,o.data(),"object"==typeof e&&e),a="string"==typeof e?e:s.slide;n||o.data("bs.carousel",n=new i(this,s)),"number"==typeof e?n.to(e):a?n[a]():s.interval&&n.pause().cycle()})}var i=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.VERSION="3.3.7",i.TRANSITION_DURATION=600,i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var o=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(o)},i.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){if(!this.sliding)return this.slide("next")},i.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},i.prototype.slide=function(e,o){var n=this.$element.find(".item.active"),s=o||this.getItemForDirection(e,n),a=this.interval,r="next"==e?"left":"right",l=this;if(s.hasClass("active"))return this.sliding=!1;var h=s[0],d=t.Event("slide.bs.carousel",{relatedTarget:h,direction:r});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var p=t(this.$indicators.children()[this.getItemIndex(s)]);p&&p.addClass("active")}var c=t.Event("slid.bs.carousel",{relatedTarget:h,direction:r});return t.support.transition&&this.$element.hasClass("slide")?(s.addClass(e),s[0].offsetWidth,n.addClass(r),s.addClass(r),n.one("bsTransitionEnd",function(){s.removeClass([e,r].join(" ")).addClass("active"),n.removeClass(["active",r].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(c)},0)}).emulateTransitionEnd(i.TRANSITION_DURATION)):(n.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(c)),a&&this.cycle(),this}};var o=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=i,t.fn.carousel.noConflict=function(){return t.fn.carousel=o,this};var n=function(i){var o,n=t(this),s=t(n.attr("data-target")||(o=n.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,""));if(s.hasClass("carousel")){var a=t.extend({},s.data(),n.data()),r=n.attr("data-slide-to");r&&(a.interval=!1),e.call(s,a),r&&s.data("bs.carousel").to(r),i.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",n).on("click.bs.carousel.data-api","[data-slide-to]",n),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var i=t(this);e.call(i,i.data())})})}(jQuery),function(t){"use strict";function e(e){var i,o=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(o)}function i(e){return this.each(function(){var i=t(this),n=i.data("bs.collapse"),s=t.extend({},o.DEFAULTS,i.data(),"object"==typeof e&&e);!n&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),n||i.data("bs.collapse",n=new o(this,s)),"string"==typeof e&&n[e]()})}var o=function(e,i){this.$element=t(e),this.options=t.extend({},o.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};o.VERSION="3.3.7",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(e=n.data("bs.collapse"))&&e.transitioning)){var s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){n&&n.length&&(i.call(n,"hide"),e||n.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[a](this.$element[0][l])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return n.call(this);this.$element[i](0).one("bsTransitionEnd",t.proxy(n,this)).emulateTransitionEnd(o.TRANSITION_DURATION)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(i,o){var n=t(o);this.addAriaAndCollapsedClass(e(n),n)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var n=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=o,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(o){var n=t(this);n.attr("data-target")||o.preventDefault();var s=e(n),a=s.data("bs.collapse")?"toggle":n.data();i.call(s,a)})}(jQuery),function(t){"use strict";function e(e){var i=e.attr("data-target");i||(i=(i=e.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var o=i&&t(i);return o&&o.length?o:e.parent()}function i(i){i&&3===i.which||(t(o).remove(),t(n).each(function(){var o=t(this),n=e(o),s={relatedTarget:this};n.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&t.contains(n[0],i.target)||(n.trigger(i=t.Event("hide.bs.dropdown",s)),i.isDefaultPrevented()||(o.attr("aria-expanded","false"),n.removeClass("open").trigger(t.Event("hidden.bs.dropdown",s)))))}))}var o=".dropdown-backdrop",n='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.7",s.prototype.toggle=function(o){var n=t(this);if(!n.is(".disabled, :disabled")){var s=e(n),a=s.hasClass("open");if(i(),!a){"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",i);var r={relatedTarget:this};if(s.trigger(o=t.Event("show.bs.dropdown",r)),o.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),s.toggleClass("open").trigger(t.Event("shown.bs.dropdown",r))}return!1}},s.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)){var o=t(this);if(i.preventDefault(),i.stopPropagation(),!o.is(".disabled, :disabled")){var s=e(o),a=s.hasClass("open");if(!a&&27!=i.which||a&&27==i.which)return 27==i.which&&s.find(n).trigger("focus"),o.trigger("click");var r=s.find(".dropdown-menu li:not(.disabled):visible a");if(r.length){var l=r.index(i.target);38==i.which&&l>0&&l--,40==i.which&&ldocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},i.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},i.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var a=n[s];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var r="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,o){i[t]!=o&&(e[t]=o)}),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)}},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)}},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var o=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!o)return;var n=this,s=this.tip(),a=this.getUID(this.type);this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,h=l.test(r);h&&(r=r.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),p=s[0].offsetWidth,c=s[0].offsetHeight;if(h){var f=r,u=this.getPosition(this.$viewport);r="bottom"==r&&d.bottom+c>u.bottom?"top":"top"==r&&d.top-cu.width?"left":"left"==r&&d.left-pa.top+a.height&&(n.top=a.top+a.height-l)}else{var h=e.left-s,d=e.left+s+i;ha.right&&(n.left=a.left+a.width-d)}return n},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var i=t.fn.tooltip;t.fn.tooltip=function(i){return this.each(function(){var o=t(this),n=o.data("bs.tooltip"),s="object"==typeof i&&i;!n&&/destroy|hide/.test(i)||(n||o.data("bs.tooltip",n=new e(this,s)),"string"==typeof i&&n[i]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.7",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=function(i){return this.each(function(){var o=t(this),n=o.data("bs.popover"),s="object"==typeof i&&i;!n&&/destroy|hide/.test(i)||(n||o.data("bs.popover",n=new e(this,s)),"string"==typeof i&&n[i]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),function(t){"use strict";function e(i,o){this.$body=t(document.body),this.$scrollElement=t(t(i).is(document.body)?window:i),this.options=t.extend({},e.DEFAULTS,o),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each(function(){var o=t(this),n=o.data("bs.scrollspy"),s="object"==typeof i&&i;n||o.data("bs.scrollspy",n=new e(this,s)),"string"==typeof i&&n[i]()})}e.VERSION="3.3.7",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",o=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",o=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),n=e.data("target")||e.attr("href"),s=/^#./.test(n)&&t(n);return s&&s.length&&s.is(":visible")&&[[s[i]().top+o,n]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),o=this.options.offset+i-this.$scrollElement.height(),n=this.offsets,s=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=o)return a!=(t=s[s.length-1])&&this.activate(t);if(a&&e=n[t]&&(void 0===n[t+1]||e .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),r?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}var a=o.find("> .active"),r=n&&t.support.transition&&(a.length&&a.hasClass("fade")||!!o.find("> .fade").length);a.length&&r?a.one("bsTransitionEnd",s).emulateTransitionEnd(i.TRANSITION_DURATION):s(),a.removeClass("in")};var o=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=i,t.fn.tab.noConflict=function(){return t.fn.tab=o,this};var n=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.affix"),s="object"==typeof e&&e;n||o.data("bs.affix",n=new i(this,s)),"string"==typeof e&&n[e]()})}var i=function(e,o){this.options=t.extend({},i.DEFAULTS,o),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};i.VERSION="3.3.7",i.RESET="affix affix-top affix-bottom",i.DEFAULTS={offset:0,target:window},i.prototype.getState=function(t,e,i,o){var n=this.$target.scrollTop(),s=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return n=t-o&&"bottom"},i.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(i.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},i.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},i.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),o=this.options.offset,n=o.top,s=o.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof o&&(s=n=o),"function"==typeof n&&(n=o.top(this.$element)),"function"==typeof s&&(s=o.bottom(this.$element));var r=this.getState(a,e,n,s);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var l="affix"+(r?"-"+r:""),h=t.Event(l+".bs.affix");if(this.$element.trigger(h),h.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(i.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:a-e-s})}};var o=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=i,t.fn.affix.noConflict=function(){return t.fn.affix=o,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var i=t(this),o=i.data();o.offset=o.offset||{},null!=o.offsetBottom&&(o.offset.bottom=o.offsetBottom),null!=o.offsetTop&&(o.offset.top=o.offsetTop),e.call(i,o)})})}(jQuery); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ClipboardJS=t():e.ClipboardJS=t()}(this,function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.i=function(e){return e},o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}([function(e,t,o){var n,i,r,a;a=function(e,t){"use strict";var o,n=(o=t)&&o.__esModule?o:{default:o};var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var r=function(){function e(e,t){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var o=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=o+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,n.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,n.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=a},i=[e,o(7)],void 0===(r="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=r)},function(e,t,o){var n=o(6),i=o(5);e.exports=function(e,t,o){if(!e&&!t&&!o)throw new Error("Missing required arguments");if(!n.string(t))throw new TypeError("Second argument must be a String");if(!n.fn(o))throw new TypeError("Third argument must be a Function");if(n.node(e))return function(e,t,o){return e.addEventListener(t,o),{destroy:function(){e.removeEventListener(t,o)}}}(e,t,o);if(n.nodeList(e))return function(e,t,o){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,o)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,o)})}}}(e,t,o);if(n.string(e))return function(e,t,o){return i(document.body,e,t,o)}(e,t,o);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){function o(){}o.prototype={on:function(e,t,o){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:o}),this},once:function(e,t,o){var n=this;function i(){n.off(e,i),t.apply(o,arguments)}return i._=t,this.on(e,i,o)},emit:function(e){for(var t=[].slice.call(arguments,1),o=((this.e||(this.e={}))[e]||[]).slice(),n=0,i=o.length;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===l(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,a.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new i.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return d("action",e)}},{key:"defaultTarget",value:function(e){var t=d("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return d("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,o=!!document.queryCommandSupported;return t.forEach(function(e){o=o&&!!document.queryCommandSupported(e)}),o}}]),t}();function d(e,t){var o="data-clipboard-"+e;if(t.hasAttribute(o))return t.getAttribute(o)}e.exports=u},i=[e,o(0),o(2),o(1)],void 0===(r="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=r)},function(e,t){var o=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,t){for(;e&&e.nodeType!==o;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},function(e,t,o){var n=o(4);function i(e,t,o,i,r){var a=function(e,t,o,i){return function(o){o.delegateTarget=n(o.target,t),o.delegateTarget&&i.call(e,o)}}.apply(this,arguments);return e.addEventListener(o,a,r),{destroy:function(){e.removeEventListener(o,a,r)}}}e.exports=function(e,t,o,n,r){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof o?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return i(e,t,o,n,r)}))}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var o=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===o||"[object HTMLCollection]"===o)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var o=e.hasAttribute("readonly");o||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),o||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),i=document.createRange();i.selectNodeContents(e),n.removeAllRanges(),n.addRange(i),t=n.toString()}return t}}])}),function(){"use strict";function e(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),i=(document.documentMode,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){s(window,e)},e.unblockUI=function(e){l(window,e)},e.growlUI=function(t,o,n,i){var r=e('
');t&&r.append("

"+t+"

"),o&&r.append("

"+o+"

"),void 0===n&&(n=3e3);var a=function(t){t=t||{},e.blockUI({message:r,fadeIn:void 0!==t.fadeIn?t.fadeIn:700,fadeOut:void 0!==t.fadeOut?t.fadeOut:1e3,timeout:void 0!==t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:i,css:e.blockUI.defaults.growlCSS})};a();r.css("opacity");r.mouseover(function(){a({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).mouseout(function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,s(this,t)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){l(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var r=null,a=[];function s(s,c){var d,h,m=s==window,g=c&&void 0!==c.message?c.message:void 0;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(s).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),d=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),h=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),g=void 0===g?c.message:g,m&&r&&l(window,{fadeOut:0}),g&&"string"!=typeof g&&(g.parentNode||g.jquery)){var b=g.jquery?g[0]:g,v={};e(s).data("blockUI.history",v),v.el=b,v.parent=b.parentNode,v.display=b.style.display,v.position=b.style.position,v.parent&&v.parent.removeChild(b)}e(s).data("blockUI.onUnblock",c.onUnblock);var y,k,w,x,E=c.baseZ;y=o||c.forceIframe?e(''):e(''),k=c.theme?e(''):e(''),c.theme&&m?(x='"):c.theme?(x='"):x=m?'':'',w=e(x),g&&(c.theme?(w.css(h),w.addClass("ui-widget-content")):w.css(d)),c.theme||k.css(c.overlayCSS),k.css("position",m?"fixed":"absolute"),(o||c.forceIframe)&&y.css("opacity",0);var C=[y,k,w],I=e(m?"body":s);e.each(C,function(){this.appendTo(I)}),c.theme&&c.draggable&&e.fn.draggable&&w.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var P=i&&(!e.support.boxModel||e("object,embed",m?null:s).length>0);if(n||P){if(m&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!m)var O=p(s,"borderTopWidth"),T=p(s,"borderLeftWidth"),A=O?"(0 - "+O+")":0,S=T?"(0 - "+T+")":0;e.each(C,function(e,t){var o=t[0].style;if(o.position="absolute",e<2)m?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),m?o.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),S&&o.setExpression("left",S),A&&o.setExpression("top",A);else if(c.centerY)m&&o.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&m){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}})}if(g&&(c.theme?w.find(".ui-widget-content").append(g):w.append(g),(g.jquery||g.nodeType)&&e(g).show()),(o||c.forceIframe)&&c.showOverlay&&y.show(),c.fadeIn){var _=c.onBlock?c.onBlock:t,M=c.showOverlay&&!g?_:t,U=g?_:t;c.showOverlay&&k._fadeIn(c.fadeIn,M),g&&w._fadeIn(c.fadeIn,U)}else c.showOverlay&&k.show(),g&&w.show(),c.onBlock&&c.onBlock.bind(w)();if(u(1,s,c),m?(r=w[0],a=e(c.focusableElements,r),c.focusInput&&setTimeout(f,20)):function(e,t,o){var n=e.parentNode,i=e.style,r=(n.offsetWidth-e.offsetWidth)/2-p(n,"borderLeftWidth"),a=(n.offsetHeight-e.offsetHeight)/2-p(n,"borderTopWidth");t&&(i.left=r>0?r+"px":"0");o&&(i.top=a>0?a+"px":"0")}(w[0],c.centerX,c.centerY),c.timeout){var j=setTimeout(function(){m?e.unblockUI(c):e(s).unblock(c)},c.timeout);e(s).data("blockUI.timeout",j)}}}function l(t,o){var n,i,s=t==window,l=e(t),d=l.data("blockUI.history"),f=l.data("blockUI.timeout");f&&(clearTimeout(f),l.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),u(0,t,o),null===o.onUnblock&&(o.onUnblock=l.data("blockUI.onUnblock"),l.removeData("blockUI.onUnblock")),i=s?e("body").children().filter(".blockUI").add("body > .blockUI"):l.find(">.blockUI"),o.cursorReset&&(i.length>1&&(i[1].style.cursor=o.cursorReset),i.length>2&&(i[2].style.cursor=o.cursorReset)),s&&(r=a=null),o.fadeOut?(n=i.length,i.stop().fadeOut(o.fadeOut,function(){0==--n&&c(i,d,o,t)})):c(i,d,o,t)}function c(t,o,n,i){var r=e(i);if(!r.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),r.removeData("blockUI.history")),r.data("blockUI.static")&&r.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(i,n);var a=e(document.body),s=a.width(),l=a[0].style.width;a.width(s-1).width(s),a[0].style.width=l}}function u(t,o,n){var i=o==window,a=e(o);if((t||(!i||r)&&(i||a.data("blockUI.isBlocked")))&&(a.data("blockUI.isBlocked",t),i&&n.bindEvents&&(!t||n.showOverlay))){var s="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).bind(s,n,d):e(document).unbind(s,d)}}function d(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&r&&t.data.constrainTabKey){var o=a,n=!t.shiftKey&&t.target===o[o.length-1],i=t.shiftKey&&t.target===o[0];if(n||i)return setTimeout(function(){f(i)},10),!1}var s=t.data,l=e(t.target);return l.hasClass("blockOverlay")&&s.onOverlayClick&&s.onOverlayClick(t),l.parents("div."+s.blockMsgClass).length>0||0===l.parents().children().filter("div.blockUI").length}function f(e){if(a){var t=a[!0===e?a.length-1:0];t&&t.focus()}}function p(t,o){return parseInt(e.css(t,o),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}(),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){var t=/\+/g;function o(e){return i.raw?e:encodeURIComponent(e)}function n(o,n){var r=i.raw?o:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(t," ")),i.json?JSON.parse(e):e}catch(e){}}(o);return e.isFunction(n)?n(r):r}var i=e.cookie=function(t,r,a){if(arguments.length>1&&!e.isFunction(r)){if("number"==typeof(a=e.extend({},i.defaults,a)).expires){var s=a.expires,l=a.expires=new Date;l.setMilliseconds(l.getMilliseconds()+864e5*s)}return document.cookie=[o(t),"=",function(e){return o(i.json?JSON.stringify(e):String(e))}(r),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}for(var c,u=t?void 0:{},d=document.cookie?document.cookie.split("; "):[],f=0,p=d.length;f=0;i--)l(e(n[i]),o)}(i)},remove:function(o){var n=d();t||s(n);if(o&&0===e(":focus",o).length)return void f(o);t.children().length&&t.remove()},error:function(e,t,o){return u({type:r.error,iconClass:d().iconClasses.error,message:e,optionsOverride:o,title:t})},getContainer:s,info:function(e,t,o){return u({type:r.info,iconClass:d().iconClasses.info,message:e,optionsOverride:o,title:t})},options:{},subscribe:function(e){o=e},success:function(e,t,o){return u({type:r.success,iconClass:d().iconClasses.success,message:e,optionsOverride:o,title:t})},version:"2.1.2",warning:function(e,t,o){return u({type:r.warning,iconClass:d().iconClasses.warning,message:e,optionsOverride:o,title:t})}};return a;function s(o,n){return o||(o=d()),(t=e("#"+o.containerId)).length?t:(n&&(t=function(o){return(t=e("
").attr("id",o.containerId).addClass(o.positionClass).attr("aria-live","polite").attr("role","alert")).appendTo(e(o.target)),t}(o)),t)}function l(t,o,n){var i=!(!n||!n.force)&&n.force;return!(!t||!i&&0!==e(":focus",t).length)&&(t[o.hideMethod]({duration:o.hideDuration,easing:o.hideEasing,complete:function(){f(t)}}),!0)}function c(e){o&&o(e)}function u(o){var r=d(),a=o.iconClass||r.iconClass;if(void 0!==o.optionsOverride&&(r=e.extend(r,o.optionsOverride),a=o.optionsOverride.iconClass||a),!function(e,t){if(e.preventDuplicates){if(t.message===n)return!0;n=t.message}return!1}(r,o)){i++,t=s(r,!0);var l=null,u=e("
"),p=e("
"),h=e("
"),m=e("
"),g=e(r.closeHtml),b={intervalId:null,hideEta:null,maxHideTime:null},v={toastId:i,state:"visible",startTime:new Date,options:r,map:o};return o.iconClass&&u.addClass(r.toastClass).addClass(a),o.title&&(p.append(r.escapeHtml?y(o.title):o.title).addClass(r.titleClass),u.append(p)),o.message&&(h.append(r.escapeHtml?y(o.message):o.message).addClass(r.messageClass),u.append(h)),r.closeButton&&(g.addClass("toast-close-button").attr("role","button"),u.prepend(g)),r.progressBar&&(m.addClass("toast-progress"),u.prepend(m)),r.newestOnTop?t.prepend(u):t.append(u),u.hide(),u[r.showMethod]({duration:r.showDuration,easing:r.showEasing,complete:r.onShown}),r.timeOut>0&&(l=setTimeout(k,r.timeOut),b.maxHideTime=parseFloat(r.timeOut),b.hideEta=(new Date).getTime()+b.maxHideTime,r.progressBar&&(b.intervalId=setInterval(E,10))),function(){u.hover(x,w),!r.onclick&&r.tapToDismiss&&u.click(k);r.closeButton&&g&&g.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),k(!0)});r.onclick&&u.click(function(e){r.onclick(e),k()})}(),c(v),r.debug&&console&&console.log(v),u}function y(e){return null==e&&(e=""),new String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function k(t){var o=t&&!1!==r.closeMethod?r.closeMethod:r.hideMethod,n=t&&!1!==r.closeDuration?r.closeDuration:r.hideDuration,i=t&&!1!==r.closeEasing?r.closeEasing:r.hideEasing;if(!e(":focus",u).length||t)return clearTimeout(b.intervalId),u[o]({duration:n,easing:i,complete:function(){f(u),r.onHidden&&"hidden"!==v.state&&r.onHidden(),v.state="hidden",v.endTime=new Date,c(v)}})}function w(){(r.timeOut>0||r.extendedTimeOut>0)&&(l=setTimeout(k,r.extendedTimeOut),b.maxHideTime=parseFloat(r.extendedTimeOut),b.hideEta=(new Date).getTime()+b.maxHideTime)}function x(){clearTimeout(l),b.hideEta=0,u.stop(!0,!0)[r.showMethod]({duration:r.showDuration,easing:r.showEasing})}function E(){var e=(b.hideEta-(new Date).getTime())/b.maxHideTime*100;m.width(e+"%")}}function d(){return e.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'',newestOnTop:!0,preventDuplicates:!1,progressBar:!1},a.options)}function f(e){t||(t=s()),e.is(":visible")||(e.remove(),e=null,0===t.children().length&&(t.remove(),n=void 0))}}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}),window.console&&window.console.log||(window.console={log:function(){}}),$(function(){$(document).ajaxError(function(e,t,o){var n="알수없는 오류가 발생하였습니다.";void 0!==t.responseJSON&&void 0!==t.responseJSON.message?n=t.responseJSON.message:500==t.status?n="서버 코드 오류가 발생하였습니다.\n관리자에게 문의하세요":401==t.status&&(n="해당 명령을 실행할 권한이 없습니다."),toastr.error(n,"오류 발생")}).ajaxStart(function(){$.blockUI({css:{width:"25px",top:"49%",left:"49%",border:"0px none",backgroundColor:"transparent",cursor:"wait"},message:'로딩중',baseZ:1e4,overlayCSS:{opacity:0}})}).ajaxComplete(function(){$.unblockUI()})});var APP={POPUP:null,REGEX:{}};APP.REGEX.uniqueID=/^[a-z][a-z0-9_]{2,19}$/g,function(e){APP.POPUP=function(t){var o=e.extend({},{title:"_blank",width:800,height:600,url:""},t);cw=screen.availWidth,ch=screen.availHeight,sw=o.width,sh=o.height,ml=(cw-sw)/2,mt=(ch-sh)/2;t="width="+sw+",height="+sh+",top="+mt+",left="+ml+",scrollbars=yes,resizable=no";var n=window.open(o.url,o.title,t);(null==n||void 0===n||null==n&&0==n.outerWidth||null!=n&&0==n.outerHeight)&&alert("팝업 차단 기능이 설정되어있습니다\n\n차단 기능을 해제(팝업허용) 한 후 다시 이용해 주십시오.")}}(jQuery),APP.SET_LANG=function(e){$.cookie("site_lang",e,{expires:30,path:"/"}),location.reload()},$('[data-toggle="btn-popup-close"]').click(function(e){var t=$(this).data("type"),o=$(this).data("idx"),n=$(this).data("cookie");"Y"==t?window.close():"N"==t&&$("#popup-"+o).remove(),1==n&&$.cookie("popup_"+o,1,{expires:1,path:"/"})}),$("a[data-toggle='sns-share']").not('[data-service="link"]').click(function(e){e.preventDefault();var t=$(this),o=t.data("service"),n=t.data("url"),i=t.data("title"),r="",a=$("meta[name='og:image']").attr("content");if(o&&n&&i){if("facebook"==o)r="//www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(n);else if("twitter"==o)r="//twitter.com/home?status="+encodeURIComponent(i)+" "+n;else if("google"==o)r="//plus.google.com/share?url="+n;else if("pinterest"==o)r="//www.pinterest.com/pin/create/button/?url="+n+"&media="+a+"&description="+encodeURIComponent(i);else if("kakaostory"==o)r="https://story.kakao.com/share?url="+encodeURIComponent(n);else if("band"==o)r="http://www.band.us/plugin/share?body="+encodeURIComponent(i)+"%0A"+encodeURIComponent(n);else if("naver"==o)r="http://share.naver.com/web/shareView.nhn?url="+encodeURIComponent(n)+"&title="+encodeURIComponent(i);else{if("line"!=o)return!1;r="http://line.me/R/msg/text/?"+encodeURIComponent(i+"\n"+n)}return APP.POPUP({url:r}),!1}}),$(function(){new ClipboardJS('a[data-toggle="sns-share"][data-service="link"]',{text:function(e){return e.getAttribute("data-url")}}).on("success",function(){alert("현재 URL이 복사되었습니다.")})}),APP.MEMBER={},APP.MEMBER.init=function(){APP.MEMBER.InitLoginForm(),APP.MEMBER.initCheckExist(),APP.MEMBER.InitRegisterForm(),APP.MEMBER.InitMemberModifyForm()},APP.MEMBER.InitRegisterForm=function(){$('[data-form="form-register"]').submit(function(e){e.preventDefault();var t=$(this);$.ajax({type:"PUT",data:t.serialize(),url:base_url+"/ajax/members/info",success:function(e){1==e.result&&(alert(LANG.member_join_success),location.href=base_url+"/members/login")}})})},APP.MEMBER.InitMemberModifyForm=function(){$('[data-form="form-member-modify"]').submit(function(e){e.preventDefault();var t=$(this);$.ajax({type:"POST",data:t.serialize(),url:base_url+"/ajax/members/info",success:function(e){1==e.result&&(alert(e.message),location.reload())}})})},APP.MEMBER.InitLoginForm=function(){$('[data-role="form-login"]').submit(function(e){e.preventDefault();var t=$(this),o=t.find('[name="login_id"]'),n=t.find('[name="login_pass"]');return""==o.val().trim()?(alert(LANG.member_login_userid_required),o.focus(),!1):""==n.val().trim()?(alert(LANG.member_login_password_required),n.focus(),!1):void $.ajax({url:base_url+"ajax/members/login",type:"POST",data:t.serialize(),success:function(e){1==e.result&&(location.href=e.reurl?e.reurl:base_url)},error:function(e){n.val("")}})})},APP.MEMBER.initCheckExist=function(){$('[data-toggle="check-member-exist"]').each(function(){var e=$(this);e.on("click",function(){var t=$("#"+e.data("target")),o=e.data("check"),n=t.val();if(void 0===n||!n||!n.trim())return alert(LANG.member_join_user_id_required),t.focus(),!1;var i=APP.MEMBER.denyWordCheck(o,n);return"VALID_EMAIL"==i?(alert(LANG.member_join_no_valid_email_address),t.focus(),!1):i?APP.MEMBER.getInfo(o,n)?(alert(LANG.member_join_user_id_already_exists),t.focus(),!1):(alert(LANG.member_join_user_id_available),!0):(alert(LANG.member_join_user_id_contains_deny_word),t.focus(),!1)})})},APP.MEMBER.getInfo=function(e,t){var o=null;return $.ajax({url:base_url+"/ajax/members/info",type:"get",async:!1,cache:!1,data:{key:e,value:t},success:function(e){o=e.result}}),o},APP.MEMBER.denyWordCheck=function(e,t){var o=null;return $.ajax({url:base_url+"/ajax/members/word_check",type:"get",async:!1,cache:!1,data:{key:e,value:t},success:function(e){o=e.result}}),o},APP.MEMBER.POP_CHANGE_PHOTO=function(){APP.POPUP({url:"/members/photo_change",width:600,height:150})},$(document).ready(APP.MEMBER.init),APP.BOARD={},APP.BOARD.CATEGORY={},APP.BOARD.EXTRA={},APP.BOARD.COMMENT={},APP.BOARD.CATEGORY.count=function(e){if(void 0===e||!e)return 0;var t=0;return $.ajax({url:base_url+"/ajax/board/category_count",type:"get",cache:!1,async:!1,data:{bca_idx:e},success:function(e){t=e.result}}),t},APP.BOARD.CATEGORY.postCount=function(e){if(void 0===e||!e)return 0;var t=0;return $.ajax({url:base_url+"/ajax/board/category_post_count",type:"get",cache:!1,async:!1,data:{bca_idx:e},success:function(e){t=e.result}}),t},APP.BOARD.COMMENT.modify=function(e){APP.POPUP({title:"_blank",width:800,height:600,url:base_url+"/board/comment/modify/"+e})},APP.BOARD.COMMENT.reply=function(e,t){APP.POPUP({title:"_blank",width:800,height:600,url:base_url+"/board/comment/reply/"+e+"/"+t})},$(function(){var e=$('[data-form="post"]');e.length>0&&e.on("submit",function(){$.blockUI({css:{width:"25px",top:"49%",left:"49%",border:"0px none",backgroundColor:"transparent",cursor:"wait"},message:'로딩중',baseZ:1e4,overlayCSS:{opacity:0}})})}); \ No newline at end of file diff --git a/public_html/assets/js/mobile.min.js b/public_html/assets/js/mobile.min.js index 6dbcb98..7dbc77f 100644 --- a/public_html/assets/js/mobile.min.js +++ b/public_html/assets/js/mobile.min.js @@ -1 +1 @@ -!function(){"use strict";function e(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),i=(document.documentMode,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){r(window,e)},e.unblockUI=function(e){l(window,e)},e.growlUI=function(t,o,n,i){var s=e('
');t&&s.append("

"+t+"

"),o&&s.append("

"+o+"

"),void 0===n&&(n=3e3);var a=function(t){t=t||{},e.blockUI({message:s,fadeIn:void 0!==t.fadeIn?t.fadeIn:700,fadeOut:void 0!==t.fadeOut?t.fadeOut:1e3,timeout:void 0!==t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:i,css:e.blockUI.defaults.growlCSS})};a();s.css("opacity");s.mouseover(function(){a({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).mouseout(function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,r(this,t)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){l(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var s=null,a=[];function r(r,c){var u,m,h=r==window,g=c&&void 0!==c.message?c.message:void 0;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(r).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),u=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),m=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),g=void 0===g?c.message:g,h&&s&&l(window,{fadeOut:0}),g&&"string"!=typeof g&&(g.parentNode||g.jquery)){var b=g.jquery?g[0]:g,v={};e(r).data("blockUI.history",v),v.el=b,v.parent=b.parentNode,v.display=b.style.display,v.position=b.style.position,v.parent&&v.parent.removeChild(b)}e(r).data("blockUI.onUnblock",c.onUnblock);var y,k,w,x,I=c.baseZ;y=o||c.forceIframe?e(''):e(''),k=c.theme?e(''):e(''),c.theme&&h?(x='"):c.theme?(x='"):x=h?'':'',w=e(x),g&&(c.theme?(w.css(m),w.addClass("ui-widget-content")):w.css(u)),c.theme||k.css(c.overlayCSS),k.css("position",h?"fixed":"absolute"),(o||c.forceIframe)&&y.css("opacity",0);var P=[y,k,w],C=e(h?"body":r);e.each(P,function(){this.appendTo(C)}),c.theme&&c.draggable&&e.fn.draggable&&w.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var E=i&&(!e.support.boxModel||e("object,embed",h?null:r).length>0);if(n||E){if(h&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!h)var U=p(r,"borderTopWidth"),O=p(r,"borderLeftWidth"),M=U?"(0 - "+U+")":0,_=O?"(0 - "+O+")":0;e.each(P,function(e,t){var o=t[0].style;if(o.position="absolute",e<2)h?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),h?o.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),_&&o.setExpression("left",_),M&&o.setExpression("top",M);else if(c.centerY)h&&o.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&h){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}})}if(g&&(c.theme?w.find(".ui-widget-content").append(g):w.append(g),(g.jquery||g.nodeType)&&e(g).show()),(o||c.forceIframe)&&c.showOverlay&&y.show(),c.fadeIn){var A=c.onBlock?c.onBlock:t,T=c.showOverlay&&!g?A:t,R=g?A:t;c.showOverlay&&k._fadeIn(c.fadeIn,T),g&&w._fadeIn(c.fadeIn,R)}else c.showOverlay&&k.show(),g&&w.show(),c.onBlock&&c.onBlock.bind(w)();if(d(1,r,c),h?(s=w[0],a=e(c.focusableElements,s),c.focusInput&&setTimeout(f,20)):function(e,t,o){var n=e.parentNode,i=e.style,s=(n.offsetWidth-e.offsetWidth)/2-p(n,"borderLeftWidth"),a=(n.offsetHeight-e.offsetHeight)/2-p(n,"borderTopWidth");t&&(i.left=s>0?s+"px":"0");o&&(i.top=a>0?a+"px":"0")}(w[0],c.centerX,c.centerY),c.timeout){var j=setTimeout(function(){h?e.unblockUI(c):e(r).unblock(c)},c.timeout);e(r).data("blockUI.timeout",j)}}}function l(t,o){var n,i,r=t==window,l=e(t),u=l.data("blockUI.history"),f=l.data("blockUI.timeout");f&&(clearTimeout(f),l.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),d(0,t,o),null===o.onUnblock&&(o.onUnblock=l.data("blockUI.onUnblock"),l.removeData("blockUI.onUnblock")),i=r?e("body").children().filter(".blockUI").add("body > .blockUI"):l.find(">.blockUI"),o.cursorReset&&(i.length>1&&(i[1].style.cursor=o.cursorReset),i.length>2&&(i[2].style.cursor=o.cursorReset)),r&&(s=a=null),o.fadeOut?(n=i.length,i.stop().fadeOut(o.fadeOut,function(){0==--n&&c(i,u,o,t)})):c(i,u,o,t)}function c(t,o,n,i){var s=e(i);if(!s.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(i,n);var a=e(document.body),r=a.width(),l=a[0].style.width;a.width(r-1).width(r),a[0].style.width=l}}function d(t,o,n){var i=o==window,a=e(o);if((t||(!i||s)&&(i||a.data("blockUI.isBlocked")))&&(a.data("blockUI.isBlocked",t),i&&n.bindEvents&&(!t||n.showOverlay))){var r="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).bind(r,n,u):e(document).unbind(r,u)}}function u(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&s&&t.data.constrainTabKey){var o=a,n=!t.shiftKey&&t.target===o[o.length-1],i=t.shiftKey&&t.target===o[0];if(n||i)return setTimeout(function(){f(i)},10),!1}var r=t.data,l=e(t.target);return l.hasClass("blockOverlay")&&r.onOverlayClick&&r.onOverlayClick(t),l.parents("div."+r.blockMsgClass).length>0||0===l.parents().children().filter("div.blockUI").length}function f(e){if(a){var t=a[!0===e?a.length-1:0];t&&t.focus()}}function p(t,o){return parseInt(e.css(t,o),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}(),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){var t=/\+/g;function o(e){return i.raw?e:encodeURIComponent(e)}function n(o,n){var s=i.raw?o:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(t," ")),i.json?JSON.parse(e):e}catch(e){}}(o);return e.isFunction(n)?n(s):s}var i=e.cookie=function(t,s,a){if(arguments.length>1&&!e.isFunction(s)){if("number"==typeof(a=e.extend({},i.defaults,a)).expires){var r=a.expires,l=a.expires=new Date;l.setMilliseconds(l.getMilliseconds()+864e5*r)}return document.cookie=[o(t),"=",function(e){return o(i.json?JSON.stringify(e):String(e))}(s),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}for(var c,d=t?void 0:{},u=document.cookie?document.cookie.split("; "):[],f=0,p=u.length;f=0;i--)l(e(n[i]),o)}(i)},remove:function(o){var n=u();t||r(n);if(o&&0===e(":focus",o).length)return void f(o);t.children().length&&t.remove()},error:function(e,t,o){return d({type:s.error,iconClass:u().iconClasses.error,message:e,optionsOverride:o,title:t})},getContainer:r,info:function(e,t,o){return d({type:s.info,iconClass:u().iconClasses.info,message:e,optionsOverride:o,title:t})},options:{},subscribe:function(e){o=e},success:function(e,t,o){return d({type:s.success,iconClass:u().iconClasses.success,message:e,optionsOverride:o,title:t})},version:"2.1.2",warning:function(e,t,o){return d({type:s.warning,iconClass:u().iconClasses.warning,message:e,optionsOverride:o,title:t})}};return a;function r(o,n){return o||(o=u()),(t=e("#"+o.containerId)).length?t:(n&&(t=function(o){return(t=e("
").attr("id",o.containerId).addClass(o.positionClass).attr("aria-live","polite").attr("role","alert")).appendTo(e(o.target)),t}(o)),t)}function l(t,o,n){var i=!(!n||!n.force)&&n.force;return!(!t||!i&&0!==e(":focus",t).length)&&(t[o.hideMethod]({duration:o.hideDuration,easing:o.hideEasing,complete:function(){f(t)}}),!0)}function c(e){o&&o(e)}function d(o){var s=u(),a=o.iconClass||s.iconClass;if(void 0!==o.optionsOverride&&(s=e.extend(s,o.optionsOverride),a=o.optionsOverride.iconClass||a),!function(e,t){if(e.preventDuplicates){if(t.message===n)return!0;n=t.message}return!1}(s,o)){i++,t=r(s,!0);var l=null,d=e("
"),p=e("
"),m=e("
"),h=e("
"),g=e(s.closeHtml),b={intervalId:null,hideEta:null,maxHideTime:null},v={toastId:i,state:"visible",startTime:new Date,options:s,map:o};return o.iconClass&&d.addClass(s.toastClass).addClass(a),o.title&&(p.append(s.escapeHtml?y(o.title):o.title).addClass(s.titleClass),d.append(p)),o.message&&(m.append(s.escapeHtml?y(o.message):o.message).addClass(s.messageClass),d.append(m)),s.closeButton&&(g.addClass("toast-close-button").attr("role","button"),d.prepend(g)),s.progressBar&&(h.addClass("toast-progress"),d.prepend(h)),s.newestOnTop?t.prepend(d):t.append(d),d.hide(),d[s.showMethod]({duration:s.showDuration,easing:s.showEasing,complete:s.onShown}),s.timeOut>0&&(l=setTimeout(k,s.timeOut),b.maxHideTime=parseFloat(s.timeOut),b.hideEta=(new Date).getTime()+b.maxHideTime,s.progressBar&&(b.intervalId=setInterval(I,10))),function(){d.hover(x,w),!s.onclick&&s.tapToDismiss&&d.click(k);s.closeButton&&g&&g.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),k(!0)});s.onclick&&d.click(function(e){s.onclick(e),k()})}(),c(v),s.debug&&console&&console.log(v),d}function y(e){return null==e&&(e=""),new String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function k(t){var o=t&&!1!==s.closeMethod?s.closeMethod:s.hideMethod,n=t&&!1!==s.closeDuration?s.closeDuration:s.hideDuration,i=t&&!1!==s.closeEasing?s.closeEasing:s.hideEasing;if(!e(":focus",d).length||t)return clearTimeout(b.intervalId),d[o]({duration:n,easing:i,complete:function(){f(d),s.onHidden&&"hidden"!==v.state&&s.onHidden(),v.state="hidden",v.endTime=new Date,c(v)}})}function w(){(s.timeOut>0||s.extendedTimeOut>0)&&(l=setTimeout(k,s.extendedTimeOut),b.maxHideTime=parseFloat(s.extendedTimeOut),b.hideEta=(new Date).getTime()+b.maxHideTime)}function x(){clearTimeout(l),b.hideEta=0,d.stop(!0,!0)[s.showMethod]({duration:s.showDuration,easing:s.showEasing})}function I(){var e=(b.hideEta-(new Date).getTime())/b.maxHideTime*100;h.width(e+"%")}}function u(){return e.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'',newestOnTop:!0,preventDuplicates:!1,progressBar:!1},a.options)}function f(e){t||(t=r()),e.is(":visible")||(e.remove(),e=null,0===t.children().length&&(t.remove(),n=void 0))}}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}),window.console&&window.console.log||(window.console={log:function(){}}),$(function(){$(document).ajaxError(function(e,t,o){var n="알수없는 오류가 발생하였습니다.";void 0!==t.responseJSON&&void 0!==t.responseJSON.message?n=t.responseJSON.message:500==t.status?n="서버 코드 오류가 발생하였습니다.\n관리자에게 문의하세요":401==t.status&&(n="해당 명령을 실행할 권한이 없습니다."),toastr.error(n,"오류 발생")}).ajaxStart(function(){$.blockUI({css:{width:"25px",top:"49%",left:"49%",border:"0px none",backgroundColor:"transparent",cursor:"wait"},message:'로딩중',baseZ:1e4,overlayCSS:{opacity:0}})}).ajaxComplete(function(){$.unblockUI()})});var APP={POPUP:null,REGEX:{}};APP.REGEX.uniqueID=/^[a-z][a-z0-9_]{2,19}$/g,function(e){APP.POPUP=function(t){var o=e.extend({},{title:"_blank",width:800,height:600,url:""},t);cw=screen.availWidth,ch=screen.availHeight,sw=o.width,sh=o.height,ml=(cw-sw)/2,mt=(ch-sh)/2;t="width="+sw+",height="+sh+",top="+mt+",left="+ml+",scrollbars=yes,resizable=no";var n=window.open(o.url,o.title,t);(null==n||void 0===n||null==n&&0==n.outerWidth||null!=n&&0==n.outerHeight)&&alert("팝업 차단 기능이 설정되어있습니다\n\n차단 기능을 해제(팝업허용) 한 후 다시 이용해 주십시오.")}}(jQuery),APP.SET_LANG=function(e){$.cookie("site_lang",e,{expires:30,path:"/"}),location.reload()},$('[data-toggle="btn-popup-close"]').click(function(e){var t=$(this).data("type"),o=$(this).data("idx"),n=$(this).data("cookie");"Y"==t?window.close():"N"==t&&$("#popup-"+o).remove(),1==n&&$.cookie("popup_"+o,1,{expires:1,path:"/"})}),$("a[data-toggle='sns-share']").click(function(e){e.preventDefault();var t=$(this),o=t.data("service"),n=t.data("url"),i=t.data("title"),s="",a=$("meta[name='og:image']").attr("content");if(o&&n&&i){if("facebook"==o)s="//www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(n);else if("twitter"==o)s="//twitter.com/home?status="+encodeURIComponent(i)+" "+n;else if("google"==o)s="//plus.google.com/share?url="+n;else if("pinterest"==o)s="//www.pinterest.com/pin/create/button/?url="+n+"&media="+a+"&description="+encodeURIComponent(i);else if("kakaostory"==o)s="https://story.kakao.com/share?url="+encodeURIComponent(n);else if("band"==o)s="http://www.band.us/plugin/share?body="+encodeURIComponent(i)+"%0A"+encodeURIComponent(n);else if("naver"==o)s="http://share.naver.com/web/shareView.nhn?url="+encodeURIComponent(n)+"&title="+encodeURIComponent(i);else{if("line"!=o)return!1;s="http://line.me/R/msg/text/?"+encodeURIComponent(i+"\n"+n)}return APP.POPUP({url:s}),!1}}),APP.MEMBER={},APP.MEMBER.init=function(){APP.MEMBER.InitLoginForm(),APP.MEMBER.initCheckExist(),APP.MEMBER.InitRegisterForm(),APP.MEMBER.InitMemberModifyForm()},APP.MEMBER.InitRegisterForm=function(){$('[data-form="form-register"]').submit(function(e){e.preventDefault();var t=$(this);$.ajax({type:"PUT",data:t.serialize(),url:base_url+"/ajax/members/info",success:function(e){1==e.result&&(alert(LANG.member_join_success),location.href=base_url+"/members/login")}})})},APP.MEMBER.InitMemberModifyForm=function(){$('[data-form="form-member-modify"]').submit(function(e){e.preventDefault();var t=$(this);$.ajax({type:"POST",data:t.serialize(),url:base_url+"/ajax/members/info",success:function(e){1==e.result&&(alert(e.message),location.reload())}})})},APP.MEMBER.InitLoginForm=function(){$('[data-role="form-login"]').submit(function(e){e.preventDefault();var t=$(this),o=t.find('[name="login_id"]'),n=t.find('[name="login_pass"]');return""==o.val().trim()?(alert(LANG.member_login_userid_required),o.focus(),!1):""==n.val().trim()?(alert(LANG.member_login_password_required),n.focus(),!1):void $.ajax({url:base_url+"ajax/members/login",type:"POST",data:t.serialize(),success:function(e){1==e.result&&(location.href=e.reurl?e.reurl:base_url)},error:function(e){n.val("")}})})},APP.MEMBER.initCheckExist=function(){$('[data-toggle="check-member-exist"]').each(function(){var e=$(this);e.on("click",function(){var t=$("#"+e.data("target")),o=e.data("check"),n=t.val();if(void 0===n||!n||!n.trim())return alert(LANG.member_join_user_id_required),t.focus(),!1;var i=APP.MEMBER.denyWordCheck(o,n);return"VALID_EMAIL"==i?(alert(LANG.member_join_no_valid_email_address),t.focus(),!1):i?APP.MEMBER.getInfo(o,n)?(alert(LANG.member_join_user_id_already_exists),t.focus(),!1):(alert(LANG.member_join_user_id_available),!0):(alert(LANG.member_join_user_id_contains_deny_word),t.focus(),!1)})})},APP.MEMBER.getInfo=function(e,t){var o=null;return $.ajax({url:base_url+"/ajax/members/info",type:"get",async:!1,cache:!1,data:{key:e,value:t},success:function(e){o=e.result}}),o},APP.MEMBER.denyWordCheck=function(e,t){var o=null;return $.ajax({url:base_url+"/ajax/members/word_check",type:"get",async:!1,cache:!1,data:{key:e,value:t},success:function(e){o=e.result}}),o},APP.MEMBER.POP_CHANGE_PHOTO=function(){APP.POPUP({url:"/members/photo_change",width:600,height:150})},$(document).ready(APP.MEMBER.init),APP.BOARD={},APP.BOARD.CATEGORY={},APP.BOARD.EXTRA={},APP.BOARD.COMMENT={},APP.BOARD.CATEGORY.count=function(e){if(void 0===e||!e)return 0;var t=0;return $.ajax({url:base_url+"/ajax/board/category_count",type:"get",cache:!1,async:!1,data:{bca_idx:e},success:function(e){t=e.result}}),t},APP.BOARD.CATEGORY.postCount=function(e){if(void 0===e||!e)return 0;var t=0;return $.ajax({url:base_url+"/ajax/board/category_post_count",type:"get",cache:!1,async:!1,data:{bca_idx:e},success:function(e){t=e.result}}),t},APP.BOARD.COMMENT.modify=function(e){APP.POPUP({title:"_blank",width:800,height:600,url:base_url+"/board/comment/modify/"+e})},APP.BOARD.COMMENT.reply=function(e,t){APP.POPUP({title:"_blank",width:800,height:600,url:base_url+"/board/comment/reply/"+e+"/"+t})},$(function(){var e=$('[data-form="post"]');e.length>0&&e.on("submit",function(){$.blockUI({css:{width:"25px",top:"49%",left:"49%",border:"0px none",backgroundColor:"transparent",cursor:"wait"},message:'로딩중',baseZ:1e4,overlayCSS:{opacity:0}})})}); \ No newline at end of file +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ClipboardJS=t():e.ClipboardJS=t()}(this,function(){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.i=function(e){return e},o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}([function(e,t,o){var n,i,r,a;a=function(e,t){"use strict";var o,n=(o=t)&&o.__esModule?o:{default:o};var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var r=function(){function e(e,t){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var o=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=o+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,n.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,n.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=a},i=[e,o(7)],void 0===(r="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=r)},function(e,t,o){var n=o(6),i=o(5);e.exports=function(e,t,o){if(!e&&!t&&!o)throw new Error("Missing required arguments");if(!n.string(t))throw new TypeError("Second argument must be a String");if(!n.fn(o))throw new TypeError("Third argument must be a Function");if(n.node(e))return function(e,t,o){return e.addEventListener(t,o),{destroy:function(){e.removeEventListener(t,o)}}}(e,t,o);if(n.nodeList(e))return function(e,t,o){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,o)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,o)})}}}(e,t,o);if(n.string(e))return function(e,t,o){return i(document.body,e,t,o)}(e,t,o);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(e,t){function o(){}o.prototype={on:function(e,t,o){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:o}),this},once:function(e,t,o){var n=this;function i(){n.off(e,i),t.apply(o,arguments)}return i._=t,this.on(e,i,o)},emit:function(e){for(var t=[].slice.call(arguments,1),o=((this.e||(this.e={}))[e]||[]).slice(),n=0,i=o.length;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===l(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,a.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new i.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return d("action",e)}},{key:"defaultTarget",value:function(e){var t=d("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return d("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,o=!!document.queryCommandSupported;return t.forEach(function(e){o=o&&!!document.queryCommandSupported(e)}),o}}]),t}();function d(e,t){var o="data-clipboard-"+e;if(t.hasAttribute(o))return t.getAttribute(o)}e.exports=u},i=[e,o(0),o(2),o(1)],void 0===(r="function"==typeof(n=a)?n.apply(t,i):n)||(e.exports=r)},function(e,t){var o=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}e.exports=function(e,t){for(;e&&e.nodeType!==o;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},function(e,t,o){var n=o(4);function i(e,t,o,i,r){var a=function(e,t,o,i){return function(o){o.delegateTarget=n(o.target,t),o.delegateTarget&&i.call(e,o)}}.apply(this,arguments);return e.addEventListener(o,a,r),{destroy:function(){e.removeEventListener(o,a,r)}}}e.exports=function(e,t,o,n,r){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof o?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,function(e){return i(e,t,o,n,r)}))}},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var o=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===o||"[object HTMLCollection]"===o)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var o=e.hasAttribute("readonly");o||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),o||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),i=document.createRange();i.selectNodeContents(e),n.removeAllRanges(),n.addRange(i),t=n.toString()}return t}}])}),function(){"use strict";function e(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),i=(document.documentMode,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){s(window,e)},e.unblockUI=function(e){l(window,e)},e.growlUI=function(t,o,n,i){var r=e('
');t&&r.append("

"+t+"

"),o&&r.append("

"+o+"

"),void 0===n&&(n=3e3);var a=function(t){t=t||{},e.blockUI({message:r,fadeIn:void 0!==t.fadeIn?t.fadeIn:700,fadeOut:void 0!==t.fadeOut?t.fadeOut:1e3,timeout:void 0!==t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:i,css:e.blockUI.defaults.growlCSS})};a();r.css("opacity");r.mouseover(function(){a({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).mouseout(function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,s(this,t)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){l(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"

Please wait...

",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var r=null,a=[];function s(s,c){var d,h,m=s==window,g=c&&void 0!==c.message?c.message:void 0;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(s).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),d=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),h=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),g=void 0===g?c.message:g,m&&r&&l(window,{fadeOut:0}),g&&"string"!=typeof g&&(g.parentNode||g.jquery)){var b=g.jquery?g[0]:g,v={};e(s).data("blockUI.history",v),v.el=b,v.parent=b.parentNode,v.display=b.style.display,v.position=b.style.position,v.parent&&v.parent.removeChild(b)}e(s).data("blockUI.onUnblock",c.onUnblock);var y,k,w,x,E=c.baseZ;y=o||c.forceIframe?e(''):e(''),k=c.theme?e(''):e(''),c.theme&&m?(x='"):c.theme?(x='"):x=m?'':'',w=e(x),g&&(c.theme?(w.css(h),w.addClass("ui-widget-content")):w.css(d)),c.theme||k.css(c.overlayCSS),k.css("position",m?"fixed":"absolute"),(o||c.forceIframe)&&y.css("opacity",0);var C=[y,k,w],I=e(m?"body":s);e.each(C,function(){this.appendTo(I)}),c.theme&&c.draggable&&e.fn.draggable&&w.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var P=i&&(!e.support.boxModel||e("object,embed",m?null:s).length>0);if(n||P){if(m&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!m)var O=p(s,"borderTopWidth"),T=p(s,"borderLeftWidth"),A=O?"(0 - "+O+")":0,S=T?"(0 - "+T+")":0;e.each(C,function(e,t){var o=t[0].style;if(o.position="absolute",e<2)m?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),m?o.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),S&&o.setExpression("left",S),A&&o.setExpression("top",A);else if(c.centerY)m&&o.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&m){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}})}if(g&&(c.theme?w.find(".ui-widget-content").append(g):w.append(g),(g.jquery||g.nodeType)&&e(g).show()),(o||c.forceIframe)&&c.showOverlay&&y.show(),c.fadeIn){var _=c.onBlock?c.onBlock:t,M=c.showOverlay&&!g?_:t,U=g?_:t;c.showOverlay&&k._fadeIn(c.fadeIn,M),g&&w._fadeIn(c.fadeIn,U)}else c.showOverlay&&k.show(),g&&w.show(),c.onBlock&&c.onBlock.bind(w)();if(u(1,s,c),m?(r=w[0],a=e(c.focusableElements,r),c.focusInput&&setTimeout(f,20)):function(e,t,o){var n=e.parentNode,i=e.style,r=(n.offsetWidth-e.offsetWidth)/2-p(n,"borderLeftWidth"),a=(n.offsetHeight-e.offsetHeight)/2-p(n,"borderTopWidth");t&&(i.left=r>0?r+"px":"0");o&&(i.top=a>0?a+"px":"0")}(w[0],c.centerX,c.centerY),c.timeout){var j=setTimeout(function(){m?e.unblockUI(c):e(s).unblock(c)},c.timeout);e(s).data("blockUI.timeout",j)}}}function l(t,o){var n,i,s=t==window,l=e(t),d=l.data("blockUI.history"),f=l.data("blockUI.timeout");f&&(clearTimeout(f),l.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),u(0,t,o),null===o.onUnblock&&(o.onUnblock=l.data("blockUI.onUnblock"),l.removeData("blockUI.onUnblock")),i=s?e("body").children().filter(".blockUI").add("body > .blockUI"):l.find(">.blockUI"),o.cursorReset&&(i.length>1&&(i[1].style.cursor=o.cursorReset),i.length>2&&(i[2].style.cursor=o.cursorReset)),s&&(r=a=null),o.fadeOut?(n=i.length,i.stop().fadeOut(o.fadeOut,function(){0==--n&&c(i,d,o,t)})):c(i,d,o,t)}function c(t,o,n,i){var r=e(i);if(!r.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),r.removeData("blockUI.history")),r.data("blockUI.static")&&r.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(i,n);var a=e(document.body),s=a.width(),l=a[0].style.width;a.width(s-1).width(s),a[0].style.width=l}}function u(t,o,n){var i=o==window,a=e(o);if((t||(!i||r)&&(i||a.data("blockUI.isBlocked")))&&(a.data("blockUI.isBlocked",t),i&&n.bindEvents&&(!t||n.showOverlay))){var s="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).bind(s,n,d):e(document).unbind(s,d)}}function d(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&r&&t.data.constrainTabKey){var o=a,n=!t.shiftKey&&t.target===o[o.length-1],i=t.shiftKey&&t.target===o[0];if(n||i)return setTimeout(function(){f(i)},10),!1}var s=t.data,l=e(t.target);return l.hasClass("blockOverlay")&&s.onOverlayClick&&s.onOverlayClick(t),l.parents("div."+s.blockMsgClass).length>0||0===l.parents().children().filter("div.blockUI").length}function f(e){if(a){var t=a[!0===e?a.length-1:0];t&&t.focus()}}function p(t,o){return parseInt(e.css(t,o),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}(),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){var t=/\+/g;function o(e){return i.raw?e:encodeURIComponent(e)}function n(o,n){var r=i.raw?o:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(t," ")),i.json?JSON.parse(e):e}catch(e){}}(o);return e.isFunction(n)?n(r):r}var i=e.cookie=function(t,r,a){if(arguments.length>1&&!e.isFunction(r)){if("number"==typeof(a=e.extend({},i.defaults,a)).expires){var s=a.expires,l=a.expires=new Date;l.setMilliseconds(l.getMilliseconds()+864e5*s)}return document.cookie=[o(t),"=",function(e){return o(i.json?JSON.stringify(e):String(e))}(r),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}for(var c,u=t?void 0:{},d=document.cookie?document.cookie.split("; "):[],f=0,p=d.length;f=0;i--)l(e(n[i]),o)}(i)},remove:function(o){var n=d();t||s(n);if(o&&0===e(":focus",o).length)return void f(o);t.children().length&&t.remove()},error:function(e,t,o){return u({type:r.error,iconClass:d().iconClasses.error,message:e,optionsOverride:o,title:t})},getContainer:s,info:function(e,t,o){return u({type:r.info,iconClass:d().iconClasses.info,message:e,optionsOverride:o,title:t})},options:{},subscribe:function(e){o=e},success:function(e,t,o){return u({type:r.success,iconClass:d().iconClasses.success,message:e,optionsOverride:o,title:t})},version:"2.1.2",warning:function(e,t,o){return u({type:r.warning,iconClass:d().iconClasses.warning,message:e,optionsOverride:o,title:t})}};return a;function s(o,n){return o||(o=d()),(t=e("#"+o.containerId)).length?t:(n&&(t=function(o){return(t=e("
").attr("id",o.containerId).addClass(o.positionClass).attr("aria-live","polite").attr("role","alert")).appendTo(e(o.target)),t}(o)),t)}function l(t,o,n){var i=!(!n||!n.force)&&n.force;return!(!t||!i&&0!==e(":focus",t).length)&&(t[o.hideMethod]({duration:o.hideDuration,easing:o.hideEasing,complete:function(){f(t)}}),!0)}function c(e){o&&o(e)}function u(o){var r=d(),a=o.iconClass||r.iconClass;if(void 0!==o.optionsOverride&&(r=e.extend(r,o.optionsOverride),a=o.optionsOverride.iconClass||a),!function(e,t){if(e.preventDuplicates){if(t.message===n)return!0;n=t.message}return!1}(r,o)){i++,t=s(r,!0);var l=null,u=e("
"),p=e("
"),h=e("
"),m=e("
"),g=e(r.closeHtml),b={intervalId:null,hideEta:null,maxHideTime:null},v={toastId:i,state:"visible",startTime:new Date,options:r,map:o};return o.iconClass&&u.addClass(r.toastClass).addClass(a),o.title&&(p.append(r.escapeHtml?y(o.title):o.title).addClass(r.titleClass),u.append(p)),o.message&&(h.append(r.escapeHtml?y(o.message):o.message).addClass(r.messageClass),u.append(h)),r.closeButton&&(g.addClass("toast-close-button").attr("role","button"),u.prepend(g)),r.progressBar&&(m.addClass("toast-progress"),u.prepend(m)),r.newestOnTop?t.prepend(u):t.append(u),u.hide(),u[r.showMethod]({duration:r.showDuration,easing:r.showEasing,complete:r.onShown}),r.timeOut>0&&(l=setTimeout(k,r.timeOut),b.maxHideTime=parseFloat(r.timeOut),b.hideEta=(new Date).getTime()+b.maxHideTime,r.progressBar&&(b.intervalId=setInterval(E,10))),function(){u.hover(x,w),!r.onclick&&r.tapToDismiss&&u.click(k);r.closeButton&&g&&g.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),k(!0)});r.onclick&&u.click(function(e){r.onclick(e),k()})}(),c(v),r.debug&&console&&console.log(v),u}function y(e){return null==e&&(e=""),new String(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function k(t){var o=t&&!1!==r.closeMethod?r.closeMethod:r.hideMethod,n=t&&!1!==r.closeDuration?r.closeDuration:r.hideDuration,i=t&&!1!==r.closeEasing?r.closeEasing:r.hideEasing;if(!e(":focus",u).length||t)return clearTimeout(b.intervalId),u[o]({duration:n,easing:i,complete:function(){f(u),r.onHidden&&"hidden"!==v.state&&r.onHidden(),v.state="hidden",v.endTime=new Date,c(v)}})}function w(){(r.timeOut>0||r.extendedTimeOut>0)&&(l=setTimeout(k,r.extendedTimeOut),b.maxHideTime=parseFloat(r.extendedTimeOut),b.hideEta=(new Date).getTime()+b.maxHideTime)}function x(){clearTimeout(l),b.hideEta=0,u.stop(!0,!0)[r.showMethod]({duration:r.showDuration,easing:r.showEasing})}function E(){var e=(b.hideEta-(new Date).getTime())/b.maxHideTime*100;m.width(e+"%")}}function d(){return e.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'',newestOnTop:!0,preventDuplicates:!1,progressBar:!1},a.options)}function f(e){t||(t=s()),e.is(":visible")||(e.remove(),e=null,0===t.children().length&&(t.remove(),n=void 0))}}()})}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}),window.console&&window.console.log||(window.console={log:function(){}}),$(function(){$(document).ajaxError(function(e,t,o){var n="알수없는 오류가 발생하였습니다.";void 0!==t.responseJSON&&void 0!==t.responseJSON.message?n=t.responseJSON.message:500==t.status?n="서버 코드 오류가 발생하였습니다.\n관리자에게 문의하세요":401==t.status&&(n="해당 명령을 실행할 권한이 없습니다."),toastr.error(n,"오류 발생")}).ajaxStart(function(){$.blockUI({css:{width:"25px",top:"49%",left:"49%",border:"0px none",backgroundColor:"transparent",cursor:"wait"},message:'로딩중',baseZ:1e4,overlayCSS:{opacity:0}})}).ajaxComplete(function(){$.unblockUI()})});var APP={POPUP:null,REGEX:{}};APP.REGEX.uniqueID=/^[a-z][a-z0-9_]{2,19}$/g,function(e){APP.POPUP=function(t){var o=e.extend({},{title:"_blank",width:800,height:600,url:""},t);cw=screen.availWidth,ch=screen.availHeight,sw=o.width,sh=o.height,ml=(cw-sw)/2,mt=(ch-sh)/2;t="width="+sw+",height="+sh+",top="+mt+",left="+ml+",scrollbars=yes,resizable=no";var n=window.open(o.url,o.title,t);(null==n||void 0===n||null==n&&0==n.outerWidth||null!=n&&0==n.outerHeight)&&alert("팝업 차단 기능이 설정되어있습니다\n\n차단 기능을 해제(팝업허용) 한 후 다시 이용해 주십시오.")}}(jQuery),APP.SET_LANG=function(e){$.cookie("site_lang",e,{expires:30,path:"/"}),location.reload()},$('[data-toggle="btn-popup-close"]').click(function(e){var t=$(this).data("type"),o=$(this).data("idx"),n=$(this).data("cookie");"Y"==t?window.close():"N"==t&&$("#popup-"+o).remove(),1==n&&$.cookie("popup_"+o,1,{expires:1,path:"/"})}),$("a[data-toggle='sns-share']").not('[data-service="link"]').click(function(e){e.preventDefault();var t=$(this),o=t.data("service"),n=t.data("url"),i=t.data("title"),r="",a=$("meta[name='og:image']").attr("content");if(o&&n&&i){if("facebook"==o)r="//www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(n);else if("twitter"==o)r="//twitter.com/home?status="+encodeURIComponent(i)+" "+n;else if("google"==o)r="//plus.google.com/share?url="+n;else if("pinterest"==o)r="//www.pinterest.com/pin/create/button/?url="+n+"&media="+a+"&description="+encodeURIComponent(i);else if("kakaostory"==o)r="https://story.kakao.com/share?url="+encodeURIComponent(n);else if("band"==o)r="http://www.band.us/plugin/share?body="+encodeURIComponent(i)+"%0A"+encodeURIComponent(n);else if("naver"==o)r="http://share.naver.com/web/shareView.nhn?url="+encodeURIComponent(n)+"&title="+encodeURIComponent(i);else{if("line"!=o)return!1;r="http://line.me/R/msg/text/?"+encodeURIComponent(i+"\n"+n)}return APP.POPUP({url:r}),!1}}),$(function(){new ClipboardJS('a[data-toggle="sns-share"][data-service="link"]',{text:function(e){return e.getAttribute("data-url")}}).on("success",function(){alert("현재 URL이 복사되었습니다.")})}),APP.MEMBER={},APP.MEMBER.init=function(){APP.MEMBER.InitLoginForm(),APP.MEMBER.initCheckExist(),APP.MEMBER.InitRegisterForm(),APP.MEMBER.InitMemberModifyForm()},APP.MEMBER.InitRegisterForm=function(){$('[data-form="form-register"]').submit(function(e){e.preventDefault();var t=$(this);$.ajax({type:"PUT",data:t.serialize(),url:base_url+"/ajax/members/info",success:function(e){1==e.result&&(alert(LANG.member_join_success),location.href=base_url+"/members/login")}})})},APP.MEMBER.InitMemberModifyForm=function(){$('[data-form="form-member-modify"]').submit(function(e){e.preventDefault();var t=$(this);$.ajax({type:"POST",data:t.serialize(),url:base_url+"/ajax/members/info",success:function(e){1==e.result&&(alert(e.message),location.reload())}})})},APP.MEMBER.InitLoginForm=function(){$('[data-role="form-login"]').submit(function(e){e.preventDefault();var t=$(this),o=t.find('[name="login_id"]'),n=t.find('[name="login_pass"]');return""==o.val().trim()?(alert(LANG.member_login_userid_required),o.focus(),!1):""==n.val().trim()?(alert(LANG.member_login_password_required),n.focus(),!1):void $.ajax({url:base_url+"ajax/members/login",type:"POST",data:t.serialize(),success:function(e){1==e.result&&(location.href=e.reurl?e.reurl:base_url)},error:function(e){n.val("")}})})},APP.MEMBER.initCheckExist=function(){$('[data-toggle="check-member-exist"]').each(function(){var e=$(this);e.on("click",function(){var t=$("#"+e.data("target")),o=e.data("check"),n=t.val();if(void 0===n||!n||!n.trim())return alert(LANG.member_join_user_id_required),t.focus(),!1;var i=APP.MEMBER.denyWordCheck(o,n);return"VALID_EMAIL"==i?(alert(LANG.member_join_no_valid_email_address),t.focus(),!1):i?APP.MEMBER.getInfo(o,n)?(alert(LANG.member_join_user_id_already_exists),t.focus(),!1):(alert(LANG.member_join_user_id_available),!0):(alert(LANG.member_join_user_id_contains_deny_word),t.focus(),!1)})})},APP.MEMBER.getInfo=function(e,t){var o=null;return $.ajax({url:base_url+"/ajax/members/info",type:"get",async:!1,cache:!1,data:{key:e,value:t},success:function(e){o=e.result}}),o},APP.MEMBER.denyWordCheck=function(e,t){var o=null;return $.ajax({url:base_url+"/ajax/members/word_check",type:"get",async:!1,cache:!1,data:{key:e,value:t},success:function(e){o=e.result}}),o},APP.MEMBER.POP_CHANGE_PHOTO=function(){APP.POPUP({url:"/members/photo_change",width:600,height:150})},$(document).ready(APP.MEMBER.init),APP.BOARD={},APP.BOARD.CATEGORY={},APP.BOARD.EXTRA={},APP.BOARD.COMMENT={},APP.BOARD.CATEGORY.count=function(e){if(void 0===e||!e)return 0;var t=0;return $.ajax({url:base_url+"/ajax/board/category_count",type:"get",cache:!1,async:!1,data:{bca_idx:e},success:function(e){t=e.result}}),t},APP.BOARD.CATEGORY.postCount=function(e){if(void 0===e||!e)return 0;var t=0;return $.ajax({url:base_url+"/ajax/board/category_post_count",type:"get",cache:!1,async:!1,data:{bca_idx:e},success:function(e){t=e.result}}),t},APP.BOARD.COMMENT.modify=function(e){APP.POPUP({title:"_blank",width:800,height:600,url:base_url+"/board/comment/modify/"+e})},APP.BOARD.COMMENT.reply=function(e,t){APP.POPUP({title:"_blank",width:800,height:600,url:base_url+"/board/comment/reply/"+e+"/"+t})},$(function(){var e=$('[data-form="post"]');e.length>0&&e.on("submit",function(){$.blockUI({css:{width:"25px",top:"49%",left:"49%",border:"0px none",backgroundColor:"transparent",cursor:"wait"},message:'로딩중',baseZ:1e4,overlayCSS:{opacity:0}})})}); \ No newline at end of file diff --git a/wheeparam/views/skins/board/view/basic/view.php b/wheeparam/views/skins/board/view/basic/view.php index a2cac81..7d63f0c 100644 --- a/wheeparam/views/skins/board/view/basic/view.php +++ b/wheeparam/views/skins/board/view/basic/view.php @@ -35,11 +35,14 @@