diff --git a/public/build/manifest.json b/public/build/manifest.json index 7e9c6d332..fb645917e 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=bdb0019", - "css/print-styles.css": "css/print-styles.css?version=bdb0019", - "js/common.js": "js/common.js?version=bdb0019" + "css/styles.css": "css/styles.css?version=9100af6", + "css/print-styles.css": "css/print-styles.css?version=9100af6", + "js/common.js": "js/common.js?version=9100af6" } \ No newline at end of file diff --git a/public/css/print-styles.css b/public/css/print-styles.css index 0f8d8aaa3..ab2cd8fb8 100644 --- a/public/css/print-styles.css +++ b/public/css/print-styles.css @@ -1 +1 @@ -.faded-small,.print-hidden,header{display:none}body{font-size:12px}.page-content{margin:0 auto}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file +.faded-small,.print-hidden,header{display:none}@font-face{font-family:Roboto;src:url(/fonts/roboto-bold-webfont.eot);src:url(/fonts/roboto-bold-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-bold-webfont.woff2) format("woff2"),url(/fonts/roboto-bold-webfont.woff) format("woff"),url(/fonts/roboto-bold-webfont.ttf) format("truetype"),url(/fonts/roboto-bold-webfont.svg#robotobold) format("svg");font-weight:700;font-style:normal}@font-face{font-family:Roboto;src:url(/fonts/roboto-bolditalic-webfont.eot);src:url(/fonts/roboto-bolditalic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-bolditalic-webfont.woff2) format("woff2"),url(/fonts/roboto-bolditalic-webfont.woff) format("woff"),url(/fonts/roboto-bolditalic-webfont.ttf) format("truetype"),url(/fonts/roboto-bolditalic-webfont.svg#robotobold_italic) format("svg");font-weight:700;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-italic-webfont.eot);src:url(/fonts/roboto-italic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-italic-webfont.woff2) format("woff2"),url(/fonts/roboto-italic-webfont.woff) format("woff"),url(/fonts/roboto-italic-webfont.ttf) format("truetype"),url(/fonts/roboto-italic-webfont.svg#robotoitalic) format("svg");font-weight:400;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-light-webfont.eot);src:url(/fonts/roboto-light-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-light-webfont.woff2) format("woff2"),url(/fonts/roboto-light-webfont.woff) format("woff"),url(/fonts/roboto-light-webfont.ttf) format("truetype"),url(/fonts/roboto-light-webfont.svg#robotolight) format("svg");font-weight:300;font-style:normal}@font-face{font-family:Roboto;src:url(/fonts/roboto-lightitalic-webfont.eot);src:url(/fonts/roboto-lightitalic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-lightitalic-webfont.woff2) format("woff2"),url(/fonts/roboto-lightitalic-webfont.woff) format("woff"),url(/fonts/roboto-lightitalic-webfont.ttf) format("truetype"),url(/fonts/roboto-lightitalic-webfont.svg#robotolight_italic) format("svg");font-weight:300;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-medium-webfont.eot);src:url(/fonts/roboto-medium-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-medium-webfont.woff2) format("woff2"),url(/fonts/roboto-medium-webfont.woff) format("woff"),url(/fonts/roboto-medium-webfont.ttf) format("truetype"),url(/fonts/roboto-medium-webfont.svg#robotomedium) format("svg");font-weight:500;font-style:normal}@font-face{font-family:Roboto;src:url(/fonts/roboto-mediumitalic-webfont.eot);src:url(/fonts/roboto-mediumitalic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-mediumitalic-webfont.woff2) format("woff2"),url(/fonts/roboto-mediumitalic-webfont.woff) format("woff"),url(/fonts/roboto-mediumitalic-webfont.ttf) format("truetype"),url(/fonts/roboto-mediumitalic-webfont.svg#robotomedium_italic) format("svg");font-weight:500;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-regular-webfont.eot);src:url(/fonts/roboto-regular-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-regular-webfont.woff2) format("woff2"),url(/fonts/roboto-regular-webfont.woff) format("woff"),url(/fonts/roboto-regular-webfont.ttf) format("truetype"),url(/fonts/roboto-regular-webfont.svg#robotoregular) format("svg");font-weight:400;font-style:normal}body{font-size:12px}.page-content{margin:0 auto}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 3be090dbc..7d246e8f1 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}ol,ul{margin-left:24px}.link,.text-button,a,body{font-family:Roboto,Helvetica,Arial,sans-serif}.dz-message,.italic,em,i{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.625em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{display:block;font-size:.5em;line-height:1em;color:#6d6d6d}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.text-button:hover,a:hover{text-decoration:underline;color:#01466c}.link i,.text-button i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,.text-button i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:.5em}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}body.flexbox,body.flexbox #content{display:-webkit-flex;display:-ms-flexbox}i{padding-right:6px}body.flexbox{display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-webkit-flex:1;-ms-flex:1;flex:1;display:flex}.flex-fill{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.flex-fill .flex,.flex-fill.flex{-webkit-flex:1;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.button-group:after,.dz-preview .dz-error-message:after,.pointer:before,.toggle-switch:after{content:''}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;transition:all ease-in-out 120ms;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288D1;color:#EEE}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52A256;color:#EEE}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#E84F4F;color:#EEE}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#EEE}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#EEE}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.input-base,input[type=text],input[type=search],input[type=url],input[type=password],input[type=number],input[type=email],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=number],input.invalid[type=email],input.neg[type=text],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=number],input.neg[type=email],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.pos[type=number],input.pos[type=email],input.valid[type=text],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=number],input.valid[type=email],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=number],input.disabled[type=email],input[disabled][type=text],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=number],input[disabled][type=email],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{max-width:100%;position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}.dropdown-container,.dz-preview,.logo-image,.logo-text,header .links,header .user-name,header .user-name>*{vertical-align:top}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;max-width:100%}.anim.fadeIn{opacity:0;-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:160ms;animation-duration:160ms;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.menuIn,.anim.searchResult{-webkit-animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.anim.searchResult{opacity:0;-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0);-webkit-animation-name:searchResult;animation-name:searchResult;-webkit-animation-duration:220ms;animation-duration:220ms;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@-webkit-keyframes searchResult{0%{opacity:0;-webkit-transform:translate3d(400px,0,0);transform:translate3d(400px,0,0)}100%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes searchResult{0%{opacity:0;-webkit-transform:translate3d(400px,0,0);transform:translate3d(400px,0,0)}100%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.anim.notification{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0);-webkit-animation-name:notification;animation-name:notification;-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.anim.notification.stopped{-webkit-animation-name:notificationStopped;animation-name:notificationStopped}@-webkit-keyframes notification{0%,100%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,90%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes notification{0%,100%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,90%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes notificationStopped{0%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes notificationStopped{0%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes menuIn{from{opacity:0;-webkit-transform:scale3d(0,0,1);transform:scale3d(0,0,1)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes menuIn{from{opacity:0;-webkit-transform:scale3d(0,0,1);transform:scale3d(0,0,1)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.anim.menuIn{-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-animation-name:menuIn;animation-name:menuIn;-webkit-animation-duration:120ms;animation-duration:120ms;-webkit-animation-delay:0s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@-webkit-keyframes loadingBob{0%,100%,30%,70%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}50%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}}@keyframes loadingBob{0%,100%,30%,70%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}50%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}}@-webkit-keyframes pointer{0%{-webkit-transform:translate3d(0,20px,0) scale3d(0,0,0);transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{-webkit-transform:translate3d(0,0,0) scale3d(1,1,1);transform:translate3d(0,0,0) scale3d(1,1,1)}}@keyframes pointer{0%{-webkit-transform:translate3d(0,20px,0) scale3d(0,0,0);transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{-webkit-transform:translate3d(0,0,0) scale3d(1,1,1);transform:translate3d(0,0,0) scale3d(1,1,1)}}.anim.pointer{-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-animation-name:pointer;animation-name:pointer;-webkit-animation-duration:180ms;animation-duration:180ms;-webkit-animation-delay:0s;animation-delay:0s;-webkit-animation-timing-function:cubic-bezier(.62,.28,.23,.99);animation-timing-function:cubic-bezier(.62,.28,.23,.99)}.mce-tinymce.mce-container.fullscreen{position:fixed;top:0;height:100%;width:825px;max-width:100%;margin-left:-12px;box-shadow:0 0 4px 2px rgba(0,0,0,.08)}.mce-tinymce .mce-btn,.mce-tinymce .mce-panel{background-color:#FFF}.mce-container-body.mce-flow-layout{text-align:center}.edit-area.flex>.mce-tinymce.mce-container.mce-panel{height:100%;max-height:100%;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-flex!important;display:-ms-flexbox!important;display:flex!important;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-flex!important;display:-ms-flexbox!important;display:flex!important;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-flex:1;-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.2);position:fixed;display:none;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0}.image-manager-body{background-color:#FFF;max-height:90%;width:90%;height:90%;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;max-width:1340px;position:fixed;top:0;bottom:0;left:0;z-index:999;display:-webkit-flex;display:-ms-flexbox;display:flex}.image-manager-body .title-input input[type=text],.image-manager-body h1,.image-manager-body h2,.image-manager-body h3,.title-input .image-manager-body input[type=text]{font-weight:300}#image-manager .dropzone-container{position:relative;border:3px dashed #DDD}.image-manager-bottom{position:absolute;bottom:0;right:0}.image-manager-list img{display:block;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #FFF;transition:all cubic-bezier(.4,0,1,1) 160ms}.image-manager-list img.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92)}#image-manager .load-more{display:block;text-align:center;background-color:#EEE;padding:12px 16px;color:#AAA;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;height:100%;margin-left:1px;padding:0 24px;border-left:1px solid #DDD}.image-manager-close{position:absolute;top:0;right:0;margin:0;border-radius:0}.image-manager-list{overflow-y:scroll;-webkit-flex:1;-ms-flex:1;flex:1;border-top:1px solid #ddd}.image-manager-content{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-flex:1;-ms-flex:1;flex:1}.dz-message{font-size:1.4em;color:#aaa;text-align:center;cursor:pointer;padding:32px 16px;transition:all ease-in-out 120ms}.dz-drag-hover .dz-message{background-color:#107ed2;color:#EEE}@-webkit-keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@-webkit-keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.dz-preview.dz-file-preview .dz-details,.dz-preview:hover .dz-details{opacity:1}@-webkit-keyframes pulse{0%,20%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}}@keyframes pulse{0%,20%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;margin:12px;min-height:80px}.dz-preview:hover{z-index:1000}.dz-preview.dz-file-preview .dz-image{border-radius:4px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{transition:opacity .2s linear}.dz-preview .dz-remove{font-size:14px;text-align:center;display:block;cursor:pointer;border:none}.dz-preview .dz-remove:hover{text-decoration:underline}.dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:10px;min-width:100%;max-width:100%;padding:6px 3px;text-align:center;color:rgba(0,0,0,.9);line-height:150%}.dz-preview .dz-details .dz-size{margin-bottom:.5em;font-size:12px}.dz-preview .dz-details .dz-filename{white-space:nowrap}.dz-preview .dz-details .dz-filename:hover span{border:1px solid rgba(200,200,200,.8);background-color:rgba(255,255,255,.8)}.dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dz-preview .dz-details .dz-filename span,.dz-preview .dz-details .dz-size span{background-color:rgba(255,255,255,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{-webkit-animation:passing-through 3s cubic-bezier(.77,0,.175,1);animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;-webkit-animation:slide-in 3s cubic-bezier(.77,0,.175,1);animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{-webkit-animation:pulse 6s ease infinite;animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:rgba(255,255,255,.9);-webkit-transform:scale(1);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;transition:width .3s ease-in-out}.dz-preview.dz-error .dz-error-message{display:block}.dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;transition:opacity .3s ease;border-radius:8px;font-size:13px;top:130px;left:-10px;width:140px;background:#be2626;background:linear-gradient(to bottom,#be2626,#a92222);padding:.5em 1.2em;color:#fff}.dz-preview .dz-error-message:after{position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #be2626}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links{margin-right:32px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{vertical-align:top;margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF;text-decoration:none}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.dropdown-container{position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.setting-nav{text-align:center}.setting-nav a{padding:16px;display:inline-block;color:#666}.setting-nav a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 16px}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:25% 50%;transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{margin-top:32px}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .sub-menu{display:none}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.page-editor{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-flex:1;-ms-flex:1;flex:1;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.title-input .page-content input[type=text]{clear:both}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:2%}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:6px 12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:1}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:180px;z-index:40}.avatar,.notification{background-color:#EEE}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.title-input input[type=text]:hover a.link-hook,h1:hover a.link-hook,h2:hover a.link-hook,h3:hover a.link-hook,h4:hover a.link-hook,h5:hover a.link-hook,h6:hover a.link-hook{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}[v-cloak],[v-show]{display:none}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:table;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52A256;color:#EEE}.notification.neg{background-color:#E84F4F;color:#EEE}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-animation-name:loadingBob;animation-name:loadingBob;-webkit-animation-duration:1.4s;animation-duration:1.4s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:cubic-bezier(.62,.28,.23,.99);animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288D1;-webkit-animation-delay:.3s;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;-webkit-animation-delay:0s;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;-webkit-animation-delay:.6s;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288D1;padding-left:16px}.search-results>h3 a i{padding-right:12px} \ No newline at end of file +.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}ol,ul{margin-left:24px}.link,.text-button,a,body{font-family:Roboto,Helvetica,Arial,sans-serif}.dz-message,.italic,em,i{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;src:url(/fonts/roboto-bold-webfont.eot);src:url(/fonts/roboto-bold-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-bold-webfont.woff2) format("woff2"),url(/fonts/roboto-bold-webfont.woff) format("woff"),url(/fonts/roboto-bold-webfont.ttf) format("truetype"),url(/fonts/roboto-bold-webfont.svg#robotobold) format("svg");font-weight:700;font-style:normal}@font-face{font-family:Roboto;src:url(/fonts/roboto-bolditalic-webfont.eot);src:url(/fonts/roboto-bolditalic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-bolditalic-webfont.woff2) format("woff2"),url(/fonts/roboto-bolditalic-webfont.woff) format("woff"),url(/fonts/roboto-bolditalic-webfont.ttf) format("truetype"),url(/fonts/roboto-bolditalic-webfont.svg#robotobold_italic) format("svg");font-weight:700;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-italic-webfont.eot);src:url(/fonts/roboto-italic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-italic-webfont.woff2) format("woff2"),url(/fonts/roboto-italic-webfont.woff) format("woff"),url(/fonts/roboto-italic-webfont.ttf) format("truetype"),url(/fonts/roboto-italic-webfont.svg#robotoitalic) format("svg");font-weight:400;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-light-webfont.eot);src:url(/fonts/roboto-light-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-light-webfont.woff2) format("woff2"),url(/fonts/roboto-light-webfont.woff) format("woff"),url(/fonts/roboto-light-webfont.ttf) format("truetype"),url(/fonts/roboto-light-webfont.svg#robotolight) format("svg");font-weight:300;font-style:normal}@font-face{font-family:Roboto;src:url(/fonts/roboto-lightitalic-webfont.eot);src:url(/fonts/roboto-lightitalic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-lightitalic-webfont.woff2) format("woff2"),url(/fonts/roboto-lightitalic-webfont.woff) format("woff"),url(/fonts/roboto-lightitalic-webfont.ttf) format("truetype"),url(/fonts/roboto-lightitalic-webfont.svg#robotolight_italic) format("svg");font-weight:300;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-medium-webfont.eot);src:url(/fonts/roboto-medium-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-medium-webfont.woff2) format("woff2"),url(/fonts/roboto-medium-webfont.woff) format("woff"),url(/fonts/roboto-medium-webfont.ttf) format("truetype"),url(/fonts/roboto-medium-webfont.svg#robotomedium) format("svg");font-weight:500;font-style:normal}@font-face{font-family:Roboto;src:url(/fonts/roboto-mediumitalic-webfont.eot);src:url(/fonts/roboto-mediumitalic-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-mediumitalic-webfont.woff2) format("woff2"),url(/fonts/roboto-mediumitalic-webfont.woff) format("woff"),url(/fonts/roboto-mediumitalic-webfont.ttf) format("truetype"),url(/fonts/roboto-mediumitalic-webfont.svg#robotomedium_italic) format("svg");font-weight:500;font-style:italic}@font-face{font-family:Roboto;src:url(/fonts/roboto-regular-webfont.eot);src:url(/fonts/roboto-regular-webfont.eot?#iefix) format("embedded-opentype"),url(/fonts/roboto-regular-webfont.woff2) format("woff2"),url(/fonts/roboto-regular-webfont.woff) format("woff"),url(/fonts/roboto-regular-webfont.ttf) format("truetype"),url(/fonts/roboto-regular-webfont.svg#robotoregular) format("svg");font-weight:400;font-style:normal}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.625em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{display:block;font-size:.5em;line-height:1em;color:#6d6d6d}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.text-button:hover,a:hover{text-decoration:underline;color:#01466c}.link i,.text-button i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,.text-button i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:.5em}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}body.flexbox,body.flexbox #content{display:-webkit-flex;display:-ms-flexbox}i{padding-right:6px}body.flexbox{display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-webkit-flex:1;-ms-flex:1;flex:1;display:flex}.flex-fill{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.flex-fill .flex,.flex-fill.flex{-webkit-flex:1;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.button-group:after,.dz-preview .dz-error-message:after,.pointer:before,.toggle-switch:after{content:''}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;transition:all ease-in-out 120ms;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288D1;color:#EEE}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52A256;color:#EEE}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#E84F4F;color:#EEE}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#EEE}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#EEE}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.input-base,input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}#html-editor{display:none}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{max-width:100%;position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;max-width:100%}.anim.fadeIn{opacity:0;-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:160ms;animation-duration:160ms;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.menuIn,.anim.searchResult{-webkit-animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.anim.searchResult{opacity:0;-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0);-webkit-animation-name:searchResult;animation-name:searchResult;-webkit-animation-duration:220ms;animation-duration:220ms;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@-webkit-keyframes searchResult{0%{opacity:0;-webkit-transform:translate3d(400px,0,0);transform:translate3d(400px,0,0)}100%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes searchResult{0%{opacity:0;-webkit-transform:translate3d(400px,0,0);transform:translate3d(400px,0,0)}100%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.anim.notification{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0);-webkit-animation-name:notification;animation-name:notification;-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.anim.notification.stopped{-webkit-animation-name:notificationStopped;animation-name:notificationStopped}@-webkit-keyframes notification{0%,100%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,90%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes notification{0%,100%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,90%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes notificationStopped{0%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes notificationStopped{0%{-webkit-transform:translate3d(580px,0,0);transform:translate3d(580px,0,0)}10%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes menuIn{from{opacity:0;-webkit-transform:scale3d(0,0,1);transform:scale3d(0,0,1)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes menuIn{from{opacity:0;-webkit-transform:scale3d(0,0,1);transform:scale3d(0,0,1)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.anim.menuIn{-webkit-transform-origin:100% 0;transform-origin:100% 0;-webkit-animation-name:menuIn;animation-name:menuIn;-webkit-animation-duration:120ms;animation-duration:120ms;-webkit-animation-delay:0s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@-webkit-keyframes loadingBob{0%,100%,30%,70%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}50%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}}@keyframes loadingBob{0%,100%,30%,70%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}50%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}}@-webkit-keyframes pointer{0%{-webkit-transform:translate3d(0,20px,0) scale3d(0,0,0);transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{-webkit-transform:translate3d(0,0,0) scale3d(1,1,1);transform:translate3d(0,0,0) scale3d(1,1,1)}}@keyframes pointer{0%{-webkit-transform:translate3d(0,20px,0) scale3d(0,0,0);transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{-webkit-transform:translate3d(0,0,0) scale3d(1,1,1);transform:translate3d(0,0,0) scale3d(1,1,1)}}.anim.pointer{-webkit-transform-origin:50% 100%;transform-origin:50% 100%;-webkit-animation-name:pointer;animation-name:pointer;-webkit-animation-duration:180ms;animation-duration:180ms;-webkit-animation-delay:0s;animation-delay:0s;-webkit-animation-timing-function:cubic-bezier(.62,.28,.23,.99);animation-timing-function:cubic-bezier(.62,.28,.23,.99)}.mce-tinymce.mce-container.fullscreen{position:fixed;top:0;height:100%;width:825px;max-width:100%;margin-left:-12px;box-shadow:0 0 4px 2px rgba(0,0,0,.08)}.mce-tinymce .mce-btn,.mce-tinymce .mce-panel{background-color:#FFF}.mce-container-body.mce-flow-layout{text-align:center}.edit-area.flex>.mce-tinymce.mce-container.mce-panel{height:100%;max-height:100%;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-flex!important;display:-ms-flexbox!important;display:flex!important;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-flex!important;display:-ms-flexbox!important;display:flex!important;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-flex:1;-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.2);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0}.image-manager-body{background-color:#FFF;max-height:90%;width:90%;height:90%;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;max-width:1340px;position:fixed;top:0;bottom:0;left:0;z-index:999;display:-webkit-flex;display:-ms-flexbox;display:flex}.image-manager-body .title-input input[type=text],.image-manager-body h1,.image-manager-body h2,.image-manager-body h3,.title-input .image-manager-body input[type=text]{font-weight:300}#image-manager .dropzone-container{position:relative;border:3px dashed #DDD}.image-manager-bottom{position:absolute;bottom:0;right:0}.image-manager-list img{display:block;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #FFF;transition:all cubic-bezier(.4,0,1,1) 160ms}.image-manager-list img.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92)}#image-manager .load-more{display:block;text-align:center;background-color:#EEE;padding:12px 16px;color:#AAA;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;height:100%;margin-left:1px;padding:0 24px;border-left:1px solid #DDD}.image-manager-close{position:absolute;top:0;right:0;margin:0;border-radius:0}.image-manager-list{overflow-y:scroll;-webkit-flex:1;-ms-flex:1;flex:1;border-top:1px solid #ddd}.image-manager-content{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;-webkit-flex:1;-ms-flex:1;flex:1}.dz-message{font-size:1.4em;color:#aaa;text-align:center;cursor:pointer;padding:32px 16px;transition:all ease-in-out 120ms}.dz-drag-hover .dz-message{background-color:#107ed2;color:#EEE}@-webkit-keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@keyframes passing-through{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%,70%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}100%{opacity:0;-webkit-transform:translateY(-40px);transform:translateY(-40px)}}@-webkit-keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes slide-in{0%{opacity:0;-webkit-transform:translateY(40px);transform:translateY(40px)}30%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.dz-preview.dz-file-preview .dz-details,.dz-preview:hover .dz-details{opacity:1}@-webkit-keyframes pulse{0%,20%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}}@keyframes pulse{0%,20%{-webkit-transform:scale(1);transform:scale(1)}10%{-webkit-transform:scale(1.1);transform:scale(1.1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;margin:12px;min-height:80px}.dz-preview:hover{z-index:1000}.dz-preview.dz-file-preview .dz-image{border-radius:4px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{transition:opacity .2s linear}.dz-preview .dz-remove{font-size:14px;text-align:center;display:block;cursor:pointer;border:none}.dz-preview .dz-remove:hover{text-decoration:underline}.dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:10px;min-width:100%;max-width:100%;padding:6px 3px;text-align:center;color:rgba(0,0,0,.9);line-height:150%}.dz-preview .dz-details .dz-size{margin-bottom:.5em;font-size:12px}.dz-preview .dz-details .dz-filename{white-space:nowrap}.dz-preview .dz-details .dz-filename:hover span{border:1px solid rgba(200,200,200,.8);background-color:rgba(255,255,255,.8)}.dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dz-preview .dz-details .dz-filename span,.dz-preview .dz-details .dz-size span{background-color:rgba(255,255,255,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{-webkit-animation:passing-through 3s cubic-bezier(.77,0,.175,1);animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;-webkit-animation:slide-in 3s cubic-bezier(.77,0,.175,1);animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{-webkit-animation:pulse 6s ease infinite;animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:rgba(255,255,255,.9);-webkit-transform:scale(1);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;transition:width .3s ease-in-out}.dz-preview.dz-error .dz-error-message{display:block}.dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;transition:opacity .3s ease;border-radius:4px;font-size:11.5px;line-height:1.2;top:88px;left:-26px;width:148px;background:#E84F4F;padding:6px;color:#fff}.dz-preview .dz-error-message:after{position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #E84F4F}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links{margin-right:32px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF;text-decoration:none}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.dropdown-container{position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.setting-nav{text-align:center}.setting-nav a{padding:16px;display:inline-block;color:#666}.setting-nav a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 16px}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;-webkit-transform:rotate(0);transform:rotate(0);-webkit-transform-origin:25% 50%;transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{margin-top:32px}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .sub-menu{display:none}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-flex:1;-ms-flex:1;flex:1;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.title-input .page-content input[type=text]{clear:both}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:6px 12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:180px;z-index:40}.avatar,.notification{background-color:#EEE}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.title-input input[type=text]:hover a.link-hook,h1:hover a.link-hook,h2:hover a.link-hook,h3:hover a.link-hook,h4:hover a.link-hook,h5:hover a.link-hook,h6:hover a.link-hook{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:table;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52A256;color:#EEE}.notification.neg{background-color:#E84F4F;color:#EEE}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-animation-name:loadingBob;animation-name:loadingBob;-webkit-animation-duration:1.4s;animation-duration:1.4s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:cubic-bezier(.62,.28,.23,.99);animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288D1;-webkit-animation-delay:.3s;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;-webkit-animation-delay:0s;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;-webkit-animation-delay:.6s;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288D1;padding-left:16px}.search-results>h3 a i{padding-right:12px} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index 087d23ff4..0752f6298 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,6 +1,9 @@ -!function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};t[s][0].call(u.exports,function(e){var n=t[s][1][e];return r(n?n:e)},u,u.exports,e,t,n,i)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;sr;r++)t=n[r],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,i,r,o,s;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(i=this._callbacks[e],!i)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(r=o=0,s=i.length;s>o;r=++o)if(n=i[r],n===t){i.splice(r,1);break}return this},e}(),e=function(e){function t(e,n){var r,o,s;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,r=null!=(s=t.optionsForElement(this.element))?s:{},this.options=i({},this.defaultOptions,r,null!=n?n:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),this.options.previewsContainer!==!1&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(this.options.clickable===!0?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var i,r;return h(t,e),t.prototype.Emitter=n,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return a},forceFallback:!1,fallback:function(){var e,n,i,r,o,s;for(this.element.className=""+this.element.className+" dz-browser-not-supported",s=this.element.getElementsByTagName("div"),r=0,o=s.length;o>r;r++)e=s[r],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('
'),this.element.appendChild(n)),i=n.getElementsByTagName("span")[0],i&&(null!=i.textContent?i.textContent=this.options.dictFallbackMessage:null!=i.innerText&&(i.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,i;return t={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},n=e.width/e.height,t.optWidth=this.options.thumbnailWidth,t.optHeight=this.options.thumbnailHeight,null==t.optWidth&&null==t.optHeight?(t.optWidth=t.srcWidth,t.optHeight=t.srcHeight):null==t.optWidth?t.optWidth=n*t.optHeight:null==t.optHeight&&(t.optHeight=1/n*t.optWidth),i=t.optWidth/t.optHeight,e.heighti?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*i):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/i),t.srcX=(e.width-t.srcWidth)/2,t.srcY=(e.height-t.srcHeight)/2,t},drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:a,dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:a,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n,i,r,o,s,a,l,c,u,h,p,d,f;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(e.previewElement=t.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),h=e.previewElement.querySelectorAll("[data-dz-name]"),o=0,l=h.length;l>o;o++)n=h[o],n.textContent=e.name;for(p=e.previewElement.querySelectorAll("[data-dz-size]"),s=0,c=p.length;c>s;s++)n=p[s],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement(''+this.options.dictRemoveFile+""),e.previewElement.appendChild(e._removeLink)),i=function(n){return function(i){return i.preventDefault(),i.stopPropagation(),e.status===t.UPLOADING?t.confirm(n.options.dictCancelUploadConfirmation,function(){return n.removeFile(e)}):n.options.dictRemoveFileConfirmation?t.confirm(n.options.dictRemoveFileConfirmation,function(){return n.removeFile(e)}):n.removeFile(e)}}(this),d=e.previewElement.querySelectorAll("[data-dz-remove]"),f=[],a=0,u=d.length;u>a;a++)r=d[a],f.push(r.addEventListener("click",i));return f}},removedfile:function(e){var t;return e.previewElement&&null!=(t=e.previewElement)&&t.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){var n,i,r,o;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),o=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),i=0,r=o.length;r>i;i++)n=o[i],n.alt=e.name,n.src=t;return setTimeout(function(t){return function(){return e.previewElement.classList.add("dz-image-preview")}}(this),1)}},error:function(e,t){var n,i,r,o,s;if(e.previewElement){for(e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error),o=e.previewElement.querySelectorAll("[data-dz-errormessage]"),s=[],i=0,r=o.length;r>i;i++)n=o[i],s.push(n.textContent=t);return s}},errormultiple:a,processing:function(e){return e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink)?e._removeLink.textContent=this.options.dictCancelUpload:void 0},processingmultiple:a,uploadprogress:function(e,t,n){var i,r,o,s,a;if(e.previewElement){for(s=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),a=[],r=0,o=s.length;o>r;r++)i=s[r],"PROGRESS"===i.nodeName?a.push(i.value=t):a.push(i.style.width=""+t+"%");return a}},totaluploadprogress:a,sending:a,sendingmultiple:a,success:function(e){return e.previewElement?e.previewElement.classList.add("dz-success"):void 0},successmultiple:a,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:a,complete:function(e){return e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement?e.previewElement.classList.add("dz-complete"):void 0},completemultiple:a,maxfilesexceeded:a,maxfilesreached:a,queuecomplete:a,addedfiles:a,previewTemplate:'
\n
\n
\n
\n
\n
\n
\n
\n
\n \n Check\n \n \n \n \n \n
\n
\n \n Error\n \n \n \n \n \n \n \n
\n
'},i=function(){var e,t,n,i,r,o,s;for(i=arguments[0],n=2<=arguments.length?c.call(arguments,1):[],o=0,s=n.length;s>o;o++){t=n[o];for(e in t)r=t[e],i[e]=r}return i},t.prototype.getAcceptedFiles=function(){var e,t,n,i,r;for(i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],e.accepted&&r.push(e);return r},t.prototype.getRejectedFiles=function(){var e,t,n,i,r;for(i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],e.accepted||r.push(e);return r},t.prototype.getFilesWithStatus=function(e){var t,n,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)t=r[n],t.status===e&&o.push(t);return o},t.prototype.getQueuedFiles=function(){return this.getFilesWithStatus(t.QUEUED)},t.prototype.getUploadingFiles=function(){return this.getFilesWithStatus(t.UPLOADING)},t.prototype.getAddedFiles=function(){return this.getFilesWithStatus(t.ADDED)},t.prototype.getActiveFiles=function(){var e,n,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)e=r[n],(e.status===t.UPLOADING||e.status===t.QUEUED)&&o.push(e);return o},t.prototype.init=function(){var e,n,i,r,o,s,a;for("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(t.createElement('
'+this.options.dictDefaultMessage+"
")),this.clickableElements.length&&(i=function(e){return function(){return e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null==e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!=e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!=e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",document.querySelector(e.options.hiddenInputContainer).appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",function(){var t,n,r,o;if(n=e.hiddenFileInput.files,n.length)for(r=0,o=n.length;o>r;r++)t=n[r],e.addFile(t);return e.emit("addedfiles",n),i()})}}(this))(),this.URL=null!=(s=window.URL)?s:window.webkitURL,a=this.events,r=0,o=a.length;o>r;r++)e=a[r],this.on(e,this.options[e]);return this.on("uploadprogress",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("removedfile",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("canceled",function(e){return function(t){return e.emit("complete",t)}}(this)),this.on("complete",function(e){return function(t){return 0===e.getAddedFiles().length&&0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length?setTimeout(function(){return e.emit("queuecomplete")},0):void 0}}(this)),n=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1},this.listeners=[{element:this.element,events:{dragstart:function(e){return function(t){return e.emit("dragstart",t)}}(this),dragenter:function(e){return function(t){return n(t),e.emit("dragenter",t)}}(this),dragover:function(e){return function(t){var i;try{i=t.dataTransfer.effectAllowed}catch(r){}return t.dataTransfer.dropEffect="move"===i||"linkMove"===i?"move":"copy",n(t),e.emit("dragover",t)}}(this),dragleave:function(e){return function(t){return e.emit("dragleave",t)}}(this),drop:function(e){return function(t){return n(t),e.drop(t)}}(this),dragend:function(e){return function(t){return e.emit("dragend",t)}}(this)}}],this.clickableElements.forEach(function(e){return function(n){return e.listeners.push({element:n,events:{click:function(i){return(n!==e.element||i.target===e.element||t.elementInside(i.target,e.element.querySelector(".dz-message")))&&e.hiddenFileInput.click(),!0}}})}}(this)),this.enable(),this.options.init.call(this)},t.prototype.destroy=function(){var e;return this.disable(),this.removeAllFiles(!0),(null!=(e=this.hiddenFileInput)?e.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,t.instances.splice(t.instances.indexOf(this),1)},t.prototype.updateTotalUploadProgress=function(){var e,t,n,i,r,o,s,a;if(i=0,n=0,e=this.getActiveFiles(),e.length){for(a=this.getActiveFiles(),o=0,s=a.length;s>o;o++)t=a[o],i+=t.upload.bytesSent,n+=t.upload.total;r=100*i/n}else r=100;return this.emit("totaluploadprogress",r,n,i)},t.prototype._getParamName=function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):""+this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")},t.prototype.getFallbackForm=function(){var e,n,i,r;return(e=this.getExistingFallback())?e:(i='
',this.options.dictFallbackText&&(i+="

"+this.options.dictFallbackText+"

"),i+='
',n=t.createElement(i),"FORM"!==this.element.tagName?(r=t.createElement('
'),r.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=r?r:n)},t.prototype.getExistingFallback=function(){var e,t,n,i,r,o;for(t=function(e){var t,n,i;for(n=0,i=e.length;i>n;n++)if(t=e[n],/(^| )fallback($| )/.test(t.className))return t},o=["div","form"],i=0,r=o.length;r>i;i++)if(n=o[i],e=t(this.element.getElementsByTagName(n)))return e},t.prototype.setupEventListeners=function(){var e,t,n,i,r,o,s;for(o=this.listeners,s=[],i=0,r=o.length;r>i;i++)e=o[i],s.push(function(){var i,r;i=e.events,r=[];for(t in i)n=i[t],r.push(e.element.addEventListener(t,n,!1));return r}());return s},t.prototype.removeEventListeners=function(){var e,t,n,i,r,o,s;for(o=this.listeners,s=[],i=0,r=o.length;r>i;i++)e=o[i],s.push(function(){var i,r;i=e.events,r=[];for(t in i)n=i[t],r.push(e.element.removeEventListener(t,n,!1));return r}());return s},t.prototype.disable=function(){var e,t,n,i,r;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],r.push(this.cancelUpload(e));return r},t.prototype.enable=function(){return this.clickableElements.forEach(function(e){return e.classList.add("dz-clickable")}),this.setupEventListeners()},t.prototype.filesize=function(e){var t,n,i,r,o,s,a,l;if(i=0,r="b",e>0){for(s=["TB","GB","MB","KB","b"],n=a=0,l=s.length;l>a;n=++a)if(o=s[n],t=Math.pow(this.options.filesizeBase,4-n)/10,e>=t){i=e/Math.pow(this.options.filesizeBase,4-n),r=o;break}i=Math.round(10*i)/10}return""+i+" "+r},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,n;e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,this.emit("addedfiles",t),t.length&&(n=e.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},t.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,n,i,r;for(r=[],n=0,i=e.length;i>n;n++)t=e[n],r.push(this.addFile(t));return r},t.prototype._addFilesFromItems=function(e){var t,n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],null!=n.webkitGetAsEntry&&(t=n.webkitGetAsEntry())?t.isFile?o.push(this.addFile(n.getAsFile())):t.isDirectory?o.push(this._addFilesFromDirectory(t,t.name)):o.push(void 0):null!=n.getAsFile&&(null==n.kind||"file"===n.kind)?o.push(this.addFile(n.getAsFile())):o.push(void 0);return o},t.prototype._addFilesFromDirectory=function(e,t){var n,i;return n=e.createReader(),i=function(e){return function(n){var i,r,o;for(r=0,o=n.length;o>r;r++)i=n[r],i.isFile?i.file(function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+t+"/"+n.name,e.addFile(n))}):i.isDirectory&&e._addFilesFromDirectory(i,""+t+"/"+i.name)}}(this),n.readEntries(i,function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0})},t.prototype.accept=function(e,n){return e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,n,i;for(n=0,i=e.length;i>n;n++)t=e[n],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||e.accepted!==!0)throw new Error("This file can't be queued because it has already been processed or was rejected.");return e.status=t.QUEUED,this.options.autoProcessQueue?setTimeout(function(e){return function(){return e.processQueue()}}(this),0):void 0},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){return this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024?(this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)):void 0},t.prototype._processThumbnailQueue=function(){return this._processingThumbnail||0===this._thumbnailQueue.length?void 0:(this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this)))},t.prototype.removeFile=function(e){return e.status===t.UPLOADING&&this.cancelUpload(e),this.files=l(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},t.prototype.removeAllFiles=function(e){var n,i,r,o;for(null==e&&(e=!1),o=this.files.slice(),i=0,r=o.length;r>i;i++)n=o[i],(n.status!==t.UPLOADING||e)&&this.removeFile(n);return null},t.prototype.createThumbnail=function(e,t){var n;return n=new FileReader,n.onload=function(i){return function(){return"image/svg+xml"===e.type?(i.emit("thumbnail",e,n.result),void(null!=t&&t())):i.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,i){var r;return r=document.createElement("img"),i&&(r.crossOrigin=i),r.onload=function(t){return function(){var i,o,a,l,c,u,h,p;return e.width=r.width,e.height=r.height,a=t.options.resize.call(t,e),null==a.trgWidth&&(a.trgWidth=a.optWidth),null==a.trgHeight&&(a.trgHeight=a.optHeight),i=document.createElement("canvas"),o=i.getContext("2d"),i.width=a.trgWidth,i.height=a.trgHeight,s(o,r,null!=(c=a.srcX)?c:0,null!=(u=a.srcY)?u:0,a.srcWidth,a.srcHeight,null!=(h=a.trgX)?h:0,null!=(p=a.trgY)?p:0,a.trgWidth,a.trgHeight),l=i.toDataURL("image/png"),t.emit("thumbnail",e,l),null!=n?n():void 0}}(this),null!=n&&(r.onerror=n),r.src=t},t.prototype.processQueue=function(){var e,t,n,i;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(i=this.getQueuedFiles(),i.length>0)){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,t-n));for(;t>e;){if(!i.length)return;this.processFile(i.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,i,r;for(i=0,r=e.length;r>i;i++)n=e[i],n.processing=!0,n.status=t.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},t.prototype._getFilesWithXhr=function(e){var t,n;return n=function(){var n,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)t=r[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,i,r,o,s,a,l;if(e.status===t.UPLOADING){for(i=this._getFilesWithXhr(e.xhr),r=0,s=i.length;s>r;r++)n=i[r],n.status=t.CANCELED;for(e.xhr.abort(),o=0,a=i.length;a>o;o++)n=i[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",i)}else((l=e.status)===t.ADDED||l===t.QUEUED)&&(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));return this.options.autoProcessQueue?this.processQueue():void 0},r=function(){var e,t;return t=arguments[0],e=2<=arguments.length?c.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var n,o,s,a,l,c,u,h,p,d,f,m,v,g,y,b,w,_,x,E,C,k,O,A,N,T,F,D,$,j,S,P,I,L;for(x=new XMLHttpRequest,E=0,A=e.length;A>E;E++)n=e[E],n.xhr=x;m=r(this.options.method,e),w=r(this.options.url,e),x.open(m,w,!0),x.withCredentials=!!this.options.withCredentials,y=null,s=function(t){return function(){var i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],o.push(t._errorProcessing(e,y||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return o}}(this),b=function(t){return function(i){var r,o,s,a,l,c,u,h,p;if(null!=i)for(o=100*i.loaded/i.total,s=0,c=e.length;c>s;s++)n=e[s],n.upload={progress:o,total:i.total,bytesSent:i.loaded};else{for(r=!0,o=100,a=0,u=e.length;u>a;a++)n=e[a],(100!==n.upload.progress||n.upload.bytesSent!==n.upload.total)&&(r=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(r)return}for(p=[],l=0,h=e.length;h>l;l++)n=e[l],p.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return p}}(this),x.onload=function(n){return function(i){var r;if(e[0].status!==t.CANCELED&&4===x.readyState){if(y=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{y=JSON.parse(y)}catch(o){i=o,y="Invalid JSON response from server."}return b(),200<=(r=x.status)&&300>r?n._finished(e,y,i):s()}}}(this),x.onerror=function(n){return function(){return e[0].status!==t.CANCELED?s():void 0}}(this),g=null!=($=x.upload)?$:x,g.onprogress=b,c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&i(c,this.options.headers);for(a in c)l=c[a],l&&x.setRequestHeader(a,l);if(o=new FormData,this.options.params){j=this.options.params;for(f in j)_=j[f],o.append(f,_)}for(C=0,N=e.length;N>C;C++)n=e[C],this.emit("sending",n,x,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,x,o),"FORM"===this.element.tagName)for(S=this.element.querySelectorAll("input, textarea, select, button"),k=0,T=S.length;T>k;k++)if(h=S[k],p=h.getAttribute("name"),d=h.getAttribute("type"),"SELECT"===h.tagName&&h.hasAttribute("multiple"))for(P=h.options,O=0,F=P.length;F>O;O++)v=P[O],v.selected&&o.append(p,v.value);else(!d||"checkbox"!==(I=d.toLowerCase())&&"radio"!==I||h.checked)&&o.append(p,h.value);for(u=D=0,L=e.length-1;L>=0?L>=D:D>=L;u=L>=0?++D:--D)o.append(this._getParamName(u),e[u],e[u].name);return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,i){var r,o,s;for(o=0,s=e.length;s>o;o++)r=e[o],r.status=t.SUCCESS,this.emit("success",r,n,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("successmultiple",e,n,i),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t.prototype._errorProcessing=function(e,n,i){var r,o,s;for(o=0,s=e.length;s>o;o++)r=e[o],r.status=t.ERROR,this.emit("error",r,n,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("errormultiple",e,n,i),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t}(n),e.version="4.2.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[i(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,i,r,o,s;for(document.querySelectorAll?i=document.querySelectorAll(".dropzone"):(i=[],t=function(e){var t,n,r,o;for(o=[],n=0,r=e.length;r>n;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(i.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),s=[],r=0,o=i.length;o>r;r++)n=i[r],e.optionsForElement(n)!==!1?s.push(new e(n)):s.push(void 0);return s},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,i,r,o;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(o=e.blacklistedBrowsers,i=0,r=o.length;r>i;i++)n=o[i],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},l=function(e,t){var n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],n!==t&&o.push(n);return o},i=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,i,r,o,s,a,l,c;if(e instanceof Array){r=[];try{for(o=0,a=e.length;a>o;o++)i=e[o],r.push(this.getElement(i,t))}catch(u){n=u,r=null}}else if("string"==typeof e)for(r=[],c=document.querySelectorAll(e),s=0,l=c.length;l>s;s++)i=c[s],r.push(i);else null!=e.nodeType&&(r=[e]);if(null==r||!r.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0; -},e.isValidFile=function(e,t){var n,i,r,o,s;if(!t)return!0;for(t=t.split(","),i=e.type,n=i.replace(/\/.*$/,""),o=0,s=t.length;s>o;o++)if(r=t[o],r=r.trim(),"."===r.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(r.toLowerCase(),e.name.length-r.length))return!0}else if(/\/\*$/.test(r)){if(n===r.replace(/\/.*$/,""))return!0}else if(i===r)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),"undefined"!=typeof t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",o=function(e){var t,n,i,r,o,s,a,l,c,u;for(a=e.naturalWidth,s=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=s,i=n.getContext("2d"),i.drawImage(e,0,0),r=i.getImageData(0,0,1,s).data,u=0,o=s,l=s;l>u;)t=r[4*(l-1)+3],0===t?o=l:u=l,l=o+u>>1;return c=l/s,0===c?1:c},s=function(e,t,n,i,r,s,a,l,c,u){var h;return h=o(t),e.drawImage(t,n,i,r,s,a,l,c,u/h)},r=function(e,t){var n,i,r,o,s,a,l,c,u;if(r=!1,u=!0,i=e.document,c=i.documentElement,n=i.addEventListener?"addEventListener":"attachEvent",l=i.addEventListener?"removeEventListener":"detachEvent",a=i.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===i.readyState?(("load"===n.type?e:i)[l](a+n.type,o,!1),!r&&(r=!0)?t.call(e,n.type||n):void 0):void 0},s=function(){var e;try{c.doScroll("left")}catch(t){return e=t,void setTimeout(s,50)}return o("poll")},"complete"!==i.readyState){if(i.createEventObject&&c.doScroll){try{u=!e.frameElement}catch(h){}u&&s()}return i[n](a+"DOMContentLoaded",o,!1),i[n](a+"readystatechange",o,!1),e[n](a+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},r(window,e._autoDiscoverFunction)}).call(this)},{}],2:[function(e,t,n){function i(){u=!1,a.length?c=a.concat(c):h=-1,c.length&&r()}function r(){if(!u){var e=setTimeout(i);u=!0;for(var t=c.length;t;){for(a=c,c=[];++h1)for(var n=1;n hot reload shim applied."))}},n.createRecord=function(e,t){var n="function"==typeof t?t:u.extend(t);t=n.options,"string"!=typeof t.el&&"object"!=typeof t.data&&(s(e,t),h[e]={Component:n,views:[],instances:[]})},n.update=function(e,t,n){var i=h[e];if(!i||i.instances.length&&!i.views.length){if(console.log("[HMR] Root or manually-mounted instance modified. Full reload may be required."),d)return;window.location.reload()}d||console.log("[HMR] Updating component: "+c(e));var r=i.Component;t&&(r=i.Component="function"==typeof t?t:u.extend(t),s(e,r.options)),n&&(r.options.template=n),r.options.name&&(r.options.components[r.options.name]=r),r.linker=null,i.views.forEach(function(e){l(e,r)})}},{}],4:[function(e,t,n){var i=e("./lib/xhr"),r=e("./lib/jsonp"),o=e("./lib/promise");t.exports=function(e){function t(o,l){var c;return e.isPlainObject(o)&&(l=o,o=""),l=e.extend({url:o},l),l=e.extend(!0,{},t.options,this.options,l),null===l.crossOrigin&&(l.crossOrigin=a(l.url)),l.method=l.method.toUpperCase(),l.headers=e.extend({},t.headers.common,l.crossOrigin?{}:t.headers.custom,t.headers[l.method.toLowerCase()],l.headers),e.isPlainObject(l.data)&&/^(GET|JSONP)$/i.test(l.method)&&(e.extend(l.params,l.data),delete l.data),l.emulateHTTP&&!l.crossOrigin&&/^(PUT|PATCH|DELETE)$/i.test(l.method)&&(l.headers["X-HTTP-Method-Override"]=l.method,l.method="POST"),l.emulateJSON&&e.isPlainObject(l.data)&&(l.headers["Content-Type"]="application/x-www-form-urlencoded",l.data=e.url.params(l.data)),e.isObject(l.data)&&/FormData/i.test(l.data.toString())&&delete l.headers["Content-Type"],e.isPlainObject(l.data)&&(l.data=JSON.stringify(l.data)),c=("JSONP"==l.method?r:i).call(this.vm,e,l),c=n(c.then(s,s),this.vm),l.success&&(c=c.success(l.success)),l.error&&(c=c.error(l.error)),c}function n(e,t){return e.success=function(i){return n(e.then(function(e){return i.call(t,e.data,e.status,e)||e}),t)},e.error=function(i){return n(e.then(void 0,function(e){return i.call(t,e.data,e.status,e)||e}),t)},e.always=function(i){var r=function(e){return i.call(t,e.data,e.status,e)||e};return n(e.then(r,r),t)},e}function s(e){try{e.data=JSON.parse(e.responseText)}catch(t){e.data=e.responseText}return e.ok?e:o.reject(e)}function a(t){var n=e.url.parse(t);return n.protocol!==l.protocol||n.host!==l.host}var l=e.url.parse(location.href),c={"Content-Type":"application/json;charset=utf-8"};return t.options={method:"get",params:{},data:"",xhr:null,jsonp:"callback",beforeSend:null,crossOrigin:null,emulateHTTP:!1,emulateJSON:!1},t.headers={put:c,post:c,patch:c,"delete":c,common:{Accept:"application/json, text/plain, */*"},custom:{"X-Requested-With":"XMLHttpRequest"}},["get","put","post","patch","delete","jsonp"].forEach(function(n){t[n]=function(t,i,r,o){return e.isFunction(i)&&(o=r,r=i,i=void 0),this(t,e.extend({method:n,data:i,success:r},o))}}),e.http=t}},{"./lib/jsonp":6,"./lib/promise":7,"./lib/xhr":9}],5:[function(e,t,n){function i(t){var n=e("./lib/util")(t);t.url=e("./url")(n),t.http=e("./http")(n),t.resource=e("./resource")(n),Object.defineProperties(t.prototype,{$url:{get:function(){return n.options(t.url,this,this.$options.url)}},$http:{get:function(){return n.options(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}}})}window.Vue&&Vue.use(i),t.exports=i},{"./http":4,"./lib/util":8,"./resource":10,"./url":11}],6:[function(e,t,n){var i=e("./promise");t.exports=function(e,t){var n,r,o="_jsonp"+Math.random().toString(36).substr(2),s={};return t.params[t.jsonp]=o,e.isFunction(t.beforeSend)&&t.beforeSend.call(this,{},t),new i(function(i,a){n=document.createElement("script"),n.src=e.url(t),n.type="text/javascript",n.async=!0,window[o]=function(e){r=e};var l=function(e){delete window[o],document.body.removeChild(n),"load"!==e.type||r||(e.type="error"),s.ok="error"!==e.type,s.status=s.ok?200:404,s.responseText=r?r:e.type,(s.ok?i:a)(s)};n.onload=l,n.onerror=l,document.body.appendChild(n)})}},{"./promise":7}],7:[function(e,t,n){function i(e){this.state=s,this.value=void 0,this.deferred=[];var t=this;try{e(function(e){t.resolve(e)},function(e){t.reject(e)})}catch(n){t.reject(n)}}var r=0,o=1,s=2;i.reject=function(e){return new i(function(t,n){n(e)})},i.resolve=function(e){return new i(function(t,n){t(e)})},i.all=function(e){return new i(function(t,n){function i(n){return function(i){o[n]=i,r+=1,r===e.length&&t(o)}}var r=0,o=[];0===e.length&&t(o);for(var s=0;s=200&&o.status<300),(o.ok?n:i)(o)};o.onload=r,o.onabort=r,o.onerror=r,o.send(t.data)})}},{"./promise":7}],10:[function(e,t,n){t.exports=function(e){function t(i,r,o,s){var a=this,l={};return o=e.extend({},t.actions,o),e.each(o,function(t,o){t=e.extend(!0,{url:i,params:r||{}},s,t),l[o]=function(){return(a.$http||e.http)(n(t,arguments))}}),l}function n(t,n){var i,r,o,s=e.extend({},t),a={};switch(n.length){case 4:o=n[3],r=n[2];case 3:case 2:if(!e.isFunction(n[1])){a=n[0],i=n[1],r=n[2];break}if(e.isFunction(n[0])){r=n[0],o=n[1];break}r=n[1],o=n[2];case 1:e.isFunction(n[0])?r=n[0]:/^(POST|PUT|PATCH)$/i.test(s.method)?i=n[0]:a=n[0];break;case 0:break;default:throw"Expected up to 4 arguments [params, data, success, error], got "+n.length+" arguments"}return s.data=i,s.params=e.extend({},s.params,a),r&&(s.success=r),o&&(s.error=o),s}return t.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},"delete":{method:"DELETE"}},e.resource=t}},{}],11:[function(e,t,n){var i=document.documentMode,r=document.createElement("a");t.exports=function(e){function t(n,i){var r,s={},a={},l=n;return e.isPlainObject(l)||(l={url:n,params:i}),l=e.extend(!0,{},t.options,this.options,l),n=l.url.replace(/(\/?):([a-z]\w*)/gi,function(e,t,n){return l.params[n]?(s[n]=!0,t+o(l.params[n])):""}),e.isString(l.root)&&!n.match(/^(https?:)?\//)&&(n=l.root+"/"+n),e.each(l.params,function(e,t){s[t]||(a[t]=e)}),r=t.params(a),r&&(n+=(-1==n.indexOf("?")?"?":"&")+r),n}function n(t,i,r){var o,s=e.isArray(i),a=e.isPlainObject(i);e.each(i,function(i,l){o=e.isObject(i)||e.isArray(i),r&&(l=r+"["+(a||o?l:"")+"]"),!r&&s?t.add(i.name,i.value):o?n(t,i,l):t.add(l,i)})}function o(e){return s(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function s(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}return t.options={url:"",root:null,params:{}},t.params=function(t){var i=[];return i.add=function(t,n){e.isFunction(n)&&(n=n()),null===n&&(n=""),this.push(o(t)+"="+o(n))},n(i,t),i.join("&")},t.parse=function(e){return i&&(r.href=e,e=r.href),r.href=e,{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",port:r.port,host:r.host,hostname:r.hostname,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):""}},e.url=t}},{}],12:[function(e,t,n){function i(e){return JSON.parse(JSON.stringify(e))}var r=e("../util"),o=e("../watcher"),s=e("../parsers/path"),a=e("../parsers/text"),l=e("../parsers/directive"),c=e("../parsers/expression"),u=/[^|]\|[^|]/;n.$get=function(e,t){var n=c.parse(e);if(n){if(t&&!c.isSimplePath(e)){var i=this;return function(){n.get.call(i,i)}}try{return n.get.call(this,this)}catch(r){}}},n.$set=function(e,t){var n=c.parse(e,!0);n&&n.set&&n.set.call(this,this,t)},n.$delete=function(e){r["delete"](this._data,e)},n.$watch=function(e,t,n){var i,r=this;"string"==typeof e&&(i=l.parse(e),e=i.expression);var s=new o(r,e,t,{deep:n&&n.deep,filters:i&&i.filters});return n&&n.immediate&&t.call(r,s.value),function(){s.teardown()}},n.$eval=function(e,t){if(u.test(e)){var n=l.parse(e),i=this.$get(n.expression,t);return n.filters?this._applyFilters(i,null,n.filters):i}return this.$get(e,t)},n.$interpolate=function(e){var t=a.parse(e),n=this;return t?1===t.length?n.$eval(t[0].value)+"":t.map(function(e){return e.tag?n.$eval(e.value):e.value}).join(""):e},n.$log=function(e){var t=e?s.get(this._data,e):this._data;if(t&&(t=i(t)),!e)for(var n in this.$options.computed)t[n]=i(this[n]);console.log(t)}},{"../parsers/directive":62,"../parsers/expression":63,"../parsers/path":64,"../parsers/text":66,"../util":74,"../watcher":78}],13:[function(e,t,n){function i(e,t,n,i,o,s){t=r(t);var a=!l.inDoc(t),c=i===!1||a?o:s,u=!a&&!e._isAttached&&!l.inDoc(e.$el);return e._isFragment?(l.mapNodeRange(e._fragmentStart,e._fragmentEnd,function(n){c(n,t,e)}),n&&n()):c(e.$el,t,e,n),u&&e._callHook("attached"),e}function r(e){return"string"==typeof e?document.querySelector(e):e}function o(e,t,n,i){t.appendChild(e),i&&i()}function s(e,t,n,i){l.before(e,t),i&&i()}function a(e,t,n){l.remove(e),n&&n()}var l=e("../util"),c=e("../transition");n.$nextTick=function(e){l.nextTick(e,this)},n.$appendTo=function(e,t,n){return i(this,e,t,n,o,c.append)},n.$prependTo=function(e,t,n){return e=r(e),e.hasChildNodes()?this.$before(e.firstChild,t,n):this.$appendTo(e,t,n),this},n.$before=function(e,t,n){return i(this,e,t,n,s,c.before)},n.$after=function(e,t,n){return e=r(e),e.nextSibling?this.$before(e.nextSibling,t,n):this.$appendTo(e.parentNode,t,n),this},n.$remove=function(e,t){if(!this.$el.parentNode)return e&&e();var n=this._isAttached&&l.inDoc(this.$el);n||(t=!1);var i=this,r=function(){n&&i._callHook("detached"),e&&e()};if(this._isFragment)l.removeNodeRange(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var o=t===!1?a:c.remove;o(this.$el,this,r)}return this}},{"../transition":67,"../util":74}],14:[function(e,t,n){function i(e,t,n){var i=e.$parent;if(i&&n&&!o.test(t))for(;i;)i._eventsCount[t]=(i._eventsCount[t]||0)+n,i=i.$parent}var r=e("../util");n.$on=function(e,t){return(this._events[e]||(this._events[e]=[])).push(t),i(this,e,1),this},n.$once=function(e,t){function n(){i.$off(e,n),t.apply(this,arguments)}var i=this;return n.fn=t,this.$on(e,n),this},n.$off=function(e,t){var n;if(!arguments.length){if(this.$parent)for(e in this._events)n=this._events[e],n&&i(this,e,-n.length);return this._events={},this}if(n=this._events[e],!n)return this;if(1===arguments.length)return i(this,e,-n.length),this._events[e]=null,this;for(var r,o=n.length;o--;)if(r=n[o],r===t||r.fn===t){i(this,e,-1),n.splice(o,1);break}return this},n.$emit=function(e){var t=this._events[e];if(this._shouldPropagate=!t,t){t=t.length>1?r.toArray(t):t;for(var n=r.toArray(arguments,1),i=0,o=t.length;o>i;i++){var s=t[i].apply(this,n);s===!0&&(this._shouldPropagate=!0)}}return this},n.$broadcast=function(e){if(this._eventsCount[e]){for(var t=this.$children,n=0,i=t.length;i>n;n++){var r=t[n];r.$emit.apply(r,arguments),r._shouldPropagate&&r.$broadcast.apply(r,arguments)}return this}},n.$dispatch=function(){this.$emit.apply(this,arguments);for(var e=this.$parent;e;)e.$emit.apply(e,arguments),e=e._shouldPropagate?e.$parent:null;return this};var o=/^hook:/},{"../util":74}],15:[function(e,t,n){(function(t){function i(e){return new Function("return function "+r.classify(e)+" (options) { this._init(options) }")()}var r=e("../util"),o=e("../config");n.util=r,n.config=o,n.set=r.set,n["delete"]=r["delete"],n.nextTick=r.nextTick,n.compiler=e("../compiler"),n.FragmentFactory=e("../fragment/factory"),n.internalDirectives=e("../directives/internal"),n.parsers={path:e("../parsers/path"),text:e("../parsers/text"),template:e("../parsers/template"),directive:e("../parsers/directive"),expression:e("../parsers/expression")},n.cid=0;var s=1;n.extend=function(e){e=e||{};var t=this,n=0===t.cid;if(n&&e._Ctor)return e._Ctor;var a=e.name||t.options.name,l=i(a||"VueComponent");return l.prototype=Object.create(t.prototype),l.prototype.constructor=l,l.cid=s++,l.options=r.mergeOptions(t.options,e),l["super"]=t,l.extend=t.extend,o._assetTypes.forEach(function(e){l[e]=t[e]}),a&&(l.options.components[a]=l),n&&(e._Ctor=l),l},n.use=function(e){if(!e.installed){var t=r.toArray(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):e.apply(null,t),e.installed=!0,this}},n.mixin=function(e){var t=r.Vue;t.options=r.mergeOptions(t.options,e)},o._assetTypes.forEach(function(e){n[e]=function(n,i){return i?("production"!==t.env.NODE_ENV&&"component"===e&&r.commonTagRE.test(n)&&r.warn("Do not use built-in HTML elements as component id: "+n),"component"===e&&r.isPlainObject(i)&&(i.name=n,i=r.Vue.extend(i)),this.options[e+"s"][n]=i,i):this.options[e+"s"][n]}})}).call(this,e("_process"))},{"../compiler":21,"../config":23,"../directives/internal":30,"../fragment/factory":52,"../parsers/directive":62,"../parsers/expression":63,"../parsers/path":64,"../parsers/template":65,"../parsers/text":66,"../util":74,_process:2}],16:[function(e,t,n){(function(t){function i(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}var r=e("../util"),o=e("../compiler");n.$mount=function(e){return this._isCompiled?void("production"!==t.env.NODE_ENV&&r.warn("$mount() should be called only once.")):(e=r.query(e),e||(e=document.createElement("div")),this._compile(e),this._initDOMHooks(),r.inDoc(this.$el)?(this._callHook("attached"),i.call(this)):this.$once("hook:attached",i),this)},n.$destroy=function(e,t){this._destroy(e,t)},n.$compile=function(e,t,n,i){return o.compile(e,this.$options,!0)(this,e,t,n,i)}}).call(this,e("_process"))},{"../compiler":21,"../util":74,_process:2}],17:[function(e,t,n){(function(t){function i(){l=[],c=[],u={},h={},p=d=!1}function r(){o(l),d=!0,o(c),"production"!==t.env.NODE_ENV&&s.inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("flush"),i()}function o(e){for(var n=0;na._maxUpdateCount&&(e.splice(u[r],1),s.warn("You may have an infinite update loop for watcher with expression: "+i.expression)))}}var s=e("./util"),a=e("./config"),l=[],c=[],u={},h={},p=!1,d=!1;n.push=function(e){var t=e.id;if(null==u[t]){if(d&&!e.user)return void e.run();var n=e.user?c:l;u[t]=n.length,n.push(e),p||(p=!0,s.nextTick(r))}}}).call(this,e("_process"))},{"./config":23,"./util":74,_process:2}],18:[function(e,t,n){function i(e){this.size=0,this.limit=e,this.head=this.tail=void 0,this._keymap=Object.create(null)}var r=i.prototype;r.put=function(e,t){var n={key:e,value:t};return this._keymap[e]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size===this.limit?this.shift():void this.size++},r.shift=function(){var e=this.head;return e&&(this.head=this.head.newer,this.head.older=void 0,e.newer=e.older=void 0,this._keymap[e.key]=void 0),e},r.get=function(e,t){var n=this._keymap[e];if(void 0!==n)return n===this.tail?t?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,t?n:n.value)},t.exports=i},{}],19:[function(e,t,n){(function(n){function i(e){return function(t,i){t._props={};for(var s,c,u,h,p,d=e.length;d--;)if(s=e[d],p=s.raw,c=s.path,u=s.options,t._props[c]=s,null===p)o.initProp(t,s,r(t,u));else if(s.dynamic)t._context?s.mode===l.ONE_TIME?(h=(i||t._context).$get(s.parentPath),o.initProp(t,s,h)):t._bindDir({name:"prop",def:a,prop:s},null,null,i):"production"!==n.env.NODE_ENV&&o.warn("Cannot bind dynamic prop on a root instance with no parent: "+s.name+'="'+p+'"');else if(s.optimizedLiteral){var f=o.stripQuotes(p);h=f===p?o.toBoolean(o.toNumber(p)):f,o.initProp(t,s,h)}else h=u.type===Boolean&&""===p?!0:p,o.initProp(t,s,h)}}function r(e,t){if(!t.hasOwnProperty("default"))return t.type===Boolean?!1:void 0;var i=t["default"];return o.isObject(i)&&"production"!==n.env.NODE_ENV&&o.warn("Object/Array as default prop values will be shared across multiple instances. Use a factory function to return the default value instead."),"function"==typeof i&&t.type!==Function?i.call(e):i}var o=e("../util"),s=e("../parsers/directive"),a=e("../directives/internal/prop"),l=e("../config")._propBindingModes,c={},u=e("../parsers/path").identRE,h=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/;t.exports=function(e,t){for(var r,a,p,d,f,m,v,g=[],y=Object.keys(t),b=y.length;b--;)a=y[b],r=t[a]||c,"production"===n.env.NODE_ENV||"$data"!==a?(f=o.camelize(a),u.test(f)?(v={name:a,path:f,options:r,mode:l.ONE_WAY,raw:null},p=o.hyphenate(a),null===(d=o.getBindAttr(e,p))&&(null!==(d=o.getBindAttr(e,p+".sync"))?v.mode=l.TWO_WAY:null!==(d=o.getBindAttr(e,p+".once"))&&(v.mode=l.ONE_TIME)),null!==d?(v.raw=d,m=s.parse(d),d=m.expression,v.filters=m.filters,o.isLiteral(d)?v.optimizedLiteral=!0:(v.dynamic=!0,"production"===n.env.NODE_ENV||v.mode!==l.TWO_WAY||h.test(d)||(v.mode=l.ONE_WAY,o.warn("Cannot bind two-way prop with non-settable parent path: "+d))),v.parentPath=d,"production"!==n.env.NODE_ENV&&r.twoWay&&v.mode!==l.TWO_WAY&&o.warn('Prop "'+a+'" expects a two-way binding type.')):null!==(d=o.attr(e,p))?v.raw=d:r.required&&"production"!==n.env.NODE_ENV&&o.warn("Missing required prop: "+a),g.push(v)):"production"!==n.env.NODE_ENV&&o.warn('Invalid prop key: "'+a+'". Prop keys must be valid identifiers.')):o.warn("Do not use $data as prop.");return i(g)}}).call(this,e("_process"))},{"../config":23,"../directives/internal/prop":31,"../parsers/directive":62,"../parsers/path":64,"../util":74,_process:2}],20:[function(e,t,n){(function(t){function i(e,t){var n=t._directives.length;e();var i=t._directives.slice(n);i.sort(r);for(var o=0,s=i.length;s>o;o++)i[o]._bind();return i}function r(e,t){return e=e.descriptor.def.priority||I,t=t.descriptor.def.priority||I,e>t?-1:e===t?0:1}function o(e,t,n,i){return function(r){s(e,t,r),n&&i&&s(n,i)}}function s(e,t,n){for(var i=t.length;i--;)t[i]._teardown(),n||e._directives.$remove(t[i])}function a(e,t){var n=e.nodeType;return 1===n&&"SCRIPT"!==e.tagName?l(e,t):3===n&&e.data.trim()?c(e,t):null}function l(e,t){if("TEXTAREA"===e.tagName){var n=O.parse(e.value);n&&(e.setAttribute(":value",O.tokensToExp(n)),e.value="")}var i,r=e.hasAttributes();return r&&(i=v(e,t)),i||(i=f(e,t)),i||(i=m(e,t)),!i&&r&&(i=b(e.attributes,t)),i}function c(e,t){var n=O.parse(e.data);if(!n)return null;for(var i,r,o=document.createDocumentFragment(),s=0,a=n.length;a>s;s++)r=n[s],i=r.tag?u(r,t):document.createTextNode(r.value),o.appendChild(i);return h(n,o,t)}function u(e,t){function n(t){if(!e.descriptor){var n=A.parse(e.value);e.descriptor={name:t,def:E[t],expression:n.expression,filters:n.filters}}}var i;return e.oneTime?i=document.createTextNode(e.value):e.html?(i=document.createComment("v-html"),n("html")):(i=document.createTextNode(" "),n("text")),i}function h(e,t){return function(n,i,r,o){for(var s,a,l,c=t.cloneNode(!0),u=x.toArray(c.childNodes),h=0,p=e.length;p>h;h++)s=e[h],a=s.value,s.tag&&(l=u[h],s.oneTime?(a=(o||n).$eval(a),s.html?x.replace(l,N.parse(a,!0)):l.data=a):n._bindDir(s.descriptor,l,r,o));x.replace(i,c)}}function p(e,t){for(var n,i,r,o=[],s=0,l=e.length;l>s;s++)r=e[s],n=a(r,t),i=n&&n.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:p(r.childNodes,t),o.push(n,i);return o.length?d(o):null}function d(e){return function(t,n,i,r,o){for(var s,a,l,c=0,u=0,h=e.length;h>c;u++){s=n[u],a=e[c++],l=e[c++];var p=x.toArray(s.childNodes);a&&a(t,s,i,r,o),l&&l(t,p,i,r,o)}}}function f(e,t){var n=e.tagName.toLowerCase();if(!x.commonTagRE.test(n)){var i=T(t,"elementDirectives",n);return i?y(e,n,"",t,i):void 0}}function m(e,t){var n=x.checkComponent(e,t);if(n){var i=x.findRef(e),r={name:"component",ref:i,expression:n.id,def:C.component,modifiers:{literal:!n.dynamic}},o=function(e,t,n,o,s){i&&x.defineReactive((o||e).$refs,i,null),e._bindDir(r,t,n,o,s)};return o.terminal=!0,o}}function v(e,t){if(null!==x.attr(e,"v-pre"))return g;if(e.hasAttribute("v-else")){var n=e.previousElementSibling;if(n&&n.hasAttribute("v-if"))return g}for(var i,r,o=0,s=P.length;s>o;o++)if(r=P[o],i=e.getAttribute("v-"+r))return y(e,r,i,t)}function g(){}function y(e,t,n,i,r){var o=A.parse(n),s={name:t,expression:o.expression,filters:o.filters,raw:n,def:r||E[t]};("for"===t||"router-view"===t)&&(s.ref=x.findRef(e));var a=function(e,t,n,i,r){s.ref&&x.defineReactive((i||e).$refs,s.ref,null),e._bindDir(s,t,n,i,r)};return a.terminal=!0,a}function b(e,n){function i(e,t,n){var i=A.parse(s);m.push({name:e,attr:a,raw:l,def:t,arg:u,modifiers:h,expression:i.expression,filters:i.filters,interp:n})}for(var r,o,s,a,l,c,u,h,p,d,f=e.length,m=[];f--;)if(r=e[f],o=a=r.name,s=l=r.value,d=O.parse(s),u=null,h=w(o),o=o.replace(j,""),d)s=O.tokensToExp(d),u=o,i("bind",E.bind,!0),"production"!==t.env.NODE_ENV&&"class"===o&&Array.prototype.some.call(e,function(e){return":class"===e.name||"v-bind:class"===e.name})&&x.warn('class="'+l+'": Do not mix mustache interpolation and v-bind for "class" on the same element. Use one or the other.');else if(S.test(o))h.literal=!F.test(o),i("transition",C.transition);else if(D.test(o))u=o.replace(D,""),i("on",E.on);else if(F.test(o))c=o.replace(F,""),"style"===c||"class"===c?i(c,C[c]):(u=c,i("bind",E.bind));else if(0===o.indexOf("v-")){if(u=(u=o.match($))&&u[1],u&&(o=o.replace($,"")),c=o.slice(2),"else"===c)continue;p=T(n,"directives",c),"production"!==t.env.NODE_ENV&&x.assertAsset(p,"directive",c),p&&i(c,p)}return m.length?_(m):void 0}function w(e){var t=Object.create(null),n=e.match(j);if(n)for(var i=n.length;i--;)t[n[i].slice(1)]=!0;return t}function _(e){return function(t,n,i,r,o){for(var s=e.length;s--;)t._bindDir(e[s],n,i,r,o)}}var x=e("../util"),E=e("../directives/public"),C=e("../directives/internal"),k=e("./compile-props"),O=e("../parsers/text"),A=e("../parsers/directive"),N=e("../parsers/template"),T=x.resolveAsset,F=/^v-bind:|^:/,D=/^v-on:|^@/,$=/:(.*)$/,j=/\.[^\.]+/g,S=/^(v-bind:|:)?transition$/,P=["for","if"],I=1e3;n.compile=function(e,t,n){var r=n||!t._asComponent?a(e,t):null,s=r&&r.terminal||"SCRIPT"===e.tagName||!e.hasChildNodes()?null:p(e.childNodes,t);return function(e,t,n,a,l){var c=x.toArray(t.childNodes),u=i(function(){r&&r(e,t,n,a,l),s&&s(e,c,n,a,l)},e);return o(e,u)}},n.compileAndLinkProps=function(e,t,n,r){var s=k(t,n),a=i(function(){s(e,r)},e);return o(e,a)},n.compileRoot=function(e,n,r){var s,a,l=n._containerAttrs,c=n._replacerAttrs;if(11!==e.nodeType)n._asComponent?(l&&r&&(s=b(l,r)),c&&(a=b(c,n))):a=b(e.attributes,n);else if("production"!==t.env.NODE_ENV&&l){var u=l.filter(function(e){return e.name.indexOf("_v-")<0&&!D.test(e.name)&&"slot"!==e.name}).map(function(e){return'"'+e.name+'"'});if(u.length){var h=u.length>1;x.warn("Attribute"+(h?"s ":" ")+u.join(", ")+(h?" are":" is")+" ignored on component <"+n.el.tagName.toLowerCase()+"> because the component is a fragment instance: http://vuejs.org/guide/components.html#Fragment_Instance")}}return function(e,t,n){var r,l=e._context;l&&s&&(r=i(function(){s(l,t,null,n)},l));var c=i(function(){a&&a(e,t)},e);return o(e,c,l,r)}},g.terminal=!0}).call(this,e("_process"))},{"../directives/internal":30,"../directives/public":40,"../parsers/directive":62,"../parsers/template":65,"../parsers/text":66,"../util":74,"./compile-props":19,_process:2}],21:[function(e,t,n){var i=e("../util");i.extend(n,e("./compile")),i.extend(n,e("./transclude"))},{"../util":74,"./compile":20,"./transclude":22}],22:[function(e,t,n){(function(t){function i(e,n){var i=n.template,l=a.parse(i,!0);if(l){var c=l.firstChild,u=c.tagName&&c.tagName.toLowerCase();return n.replace?(e===document.body&&"production"!==t.env.NODE_ENV&&s.warn("You are mounting an instance with a template to . This will replace entirely. You should probably use `replace: false` here."),l.childNodes.length>1||1!==c.nodeType||"component"===u||s.resolveAsset(n,"components",u)||c.hasAttribute("is")||c.hasAttribute(":is")||c.hasAttribute("v-bind:is")||s.resolveAsset(n,"elementDirectives",u)||c.hasAttribute("v-for")||c.hasAttribute("v-if")?l:(n._replacerAttrs=r(c),o(e,c),c)):(e.appendChild(l),e)}"production"!==t.env.NODE_ENV&&s.warn("Invalid template option: "+i)}function r(e){return 1===e.nodeType&&e.hasAttributes()?s.toArray(e.attributes):void 0}function o(e,t){for(var n,i,r=e.attributes,o=r.length;o--;)n=r[o].name,i=r[o].value,t.hasAttribute(n)||l.test(n)?"class"===n&&(i=t.getAttribute(n)+" "+i,t.setAttribute(n,i)):t.setAttribute(n,i)}var s=e("../util"),a=e("../parsers/template"),l=/[^\w\-:\.]/;n.transclude=function(e,t){return t&&(t._containerAttrs=r(e)),s.isTemplate(e)&&(e=a.parse(e)),t&&(t._asComponent&&!t.template&&(t.template=""),t.template&&(t._content=s.extractContent(e),e=i(e,t))),e instanceof DocumentFragment&&(s.prepend(s.createAnchor("v-start",!0),e),e.appendChild(s.createAnchor("v-end",!0))),e}}).call(this,e("_process"))},{"../parsers/template":65,"../util":74,_process:2}],23:[function(e,t,n){t.exports={debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100};var i=["{{","}}"],r=["{{{","}}}"],o=e("./parsers/text");Object.defineProperty(t.exports,"delimiters",{get:function(){return i},set:function(e){i=e,o.compileRegex()}}),Object.defineProperty(t.exports,"unsafeDelimiters",{get:function(){return r},set:function(e){r=e,o.compileRegex()}})},{"./parsers/text":66 -}],24:[function(e,t,n){(function(n){function i(){}function r(e,t,i,r,o,s){this.vm=t,this.el=i,this.descriptor=e,this.name=e.name,this.expression=e.expression,this.arg=e.arg,this.modifiers=e.modifiers,this.filters=e.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=r,this._scope=o,this._frag=s,"production"!==n.env.NODE_ENV&&this.el&&(this.el._vue_directives=this.el._vue_directives||[],this.el._vue_directives.push(this))}var o=e("./util"),s=e("./watcher"),a=e("./parsers/expression");r.prototype._bind=function(){var e=this.name,t=this.descriptor;if(("cloak"!==e||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var n=t.attr||"v-"+e;this.el.removeAttribute(n)}var r=t.def;if("function"==typeof r?this.update=r:o.extend(this,r),this._setupParams(),this.bind&&this.bind(),this.literal)this.update&&this.update(t.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var a=this;this.update?this._update=function(e,t){a._locked||a.update(e,t)}:this._update=i;var l=this._preProcess?o.bind(this._preProcess,this):null,c=this._postProcess?o.bind(this._postProcess,this):null,u=this._watcher=new s(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:l,postProcess:c,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(u.value)}this._bound=!0},r.prototype._setupParams=function(){if(this.params){var e=this.params;this.params=Object.create(null);for(var t,n,i,r=e.length;r--;)t=e[r],i=o.camelize(t),n=o.getBindAttr(this.el,t),null!=n?this._setupParamWatcher(i,n):(n=o.attr(this.el,t),null!=n&&(this.params[i]=""===n?!0:n))}},r.prototype._setupParamWatcher=function(e,t){var n=this,i=!1,r=(this._scope||this.vm).$watch(t,function(t,r){if(n.params[e]=t,i){var o=n.paramWatchers&&n.paramWatchers[e];o&&o.call(n,t,r)}else i=!0},{immediate:!0});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},r.prototype._checkStatement=function(){var e=this.expression;if(e&&this.acceptStatement&&!a.isSimplePath(e)){var t=a.parse(e).get,n=this._scope||this.vm,i=function(){t.call(n,n)};return this.filters&&(i=n._applyFilters(i,null,this.filters)),this.update(i),!0}},r.prototype.set=function(e){this.twoWay?this._withLock(function(){this._watcher.set(e)}):"production"!==n.env.NODE_ENV&&o.warn("Directive.set() can only be used inside twoWaydirectives.")},r.prototype._withLock=function(e){var t=this;t._locked=!0,e.call(t),o.nextTick(function(){t._locked=!1})},r.prototype.on=function(e,t){o.on(this.el,e,t),(this._listeners||(this._listeners=[])).push([e,t])},r.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var e,t=this._listeners;if(t)for(e=t.length;e--;)o.off(this.el,t[e][0],t[e][1]);var i=this._paramUnwatchFns;if(i)for(e=i.length;e--;)i[e]();"production"!==n.env.NODE_ENV&&this.el&&this.el._vue_directives.$remove(this),this.vm=this.el=this._watcher=this._listeners=null}},t.exports=r}).call(this,e("_process"))},{"./parsers/expression":63,"./util":74,"./watcher":78,_process:2}],25:[function(e,t,n){n.slot=e("./slot"),n.partial=e("./partial")},{"./partial":26,"./slot":27}],26:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../public/if"),o=e("../../fragment/factory");t.exports={priority:1750,params:["name"],paramWatchers:{name:function(e){r.remove.call(this),e&&this.insert(e)}},bind:function(){this.anchor=i.createAnchor("v-partial"),i.replace(this.el,this.anchor),this.insert(this.params.name)},insert:function(e){var t=i.resolveAsset(this.vm.$options,"partials",e);"production"!==n.env.NODE_ENV&&i.assertAsset(t,"partial",e),t&&(this.factory=new o(this.vm,t),r.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}}}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,"../public/if":39,_process:2}],27:[function(e,t,n){function i(e,t,n){function i(e){!r.isTemplate(e)||e.hasAttribute("v-if")||e.hasAttribute("v-for")||(e=o.parse(e)),e=o.clone(e),s.appendChild(e)}for(var s=document.createDocumentFragment(),a=0,l=e.length;l>a;a++){var c=e[a];n&&!c.__v_selected?i(c):n||c.parentNode!==t||(c.__v_selected=!0,i(c))}return s}var r=e("../../util"),o=e("../../parsers/template");t.exports={priority:1750,params:["name"],bind:function(){var e,t=this.vm,n=t.$options._content;if(!n)return void this.fallback();var r=t._context,o=this.params.name;if(o){var s='[slot="'+o+'"]',a=n.querySelectorAll(s);a.length?(e=i(a,n),e.hasChildNodes()?this.compile(e,r,t):this.fallback()):this.fallback()}else{var l=this,c=function(){l.compile(i(n.childNodes,n,!0),r,t)};t._isCompiled?c():t.$once("hook:compiled",c)}},fallback:function(){this.compile(r.extractContent(this.el,!0),this.vm)},compile:function(e,t,n){if(e&&t){var i=n?n._scope:this._scope;this.unlink=t.$compile(e,n,i,this._frag)}e?r.replace(this.el,e):r.remove(this.el)},unbind:function(){this.unlink&&this.unlink()}}},{"../../parsers/template":65,"../../util":74}],28:[function(e,t,n){function i(e){for(var t={},n=e.trim().split(/\s+/),i=n.length;i--;)t[n[i]]=!0;return t}function r(e,t){return o.isArray(e)?e.indexOf(t)>-1:e.hasOwnProperty(t)}var o=e("../../util"),s=o.addClass,a=o.removeClass;t.exports={deep:!0,update:function(e){e&&"string"==typeof e?this.handleObject(i(e)):o.isPlainObject(e)?this.handleObject(e):o.isArray(e)?this.handleArray(e):this.cleanup()},handleObject:function(e){this.cleanup(e);for(var t=this.prevKeys=Object.keys(e),n=0,i=t.length;i>n;n++){var r=t[n];e[r]?s(this.el,r):a(this.el,r)}},handleArray:function(e){this.cleanup(e);for(var t=0,n=e.length;n>t;t++)e[t]&&s(this.el,e[t]);this.prevKeys=e.slice()},cleanup:function(e){if(this.prevKeys)for(var t=this.prevKeys.length;t--;){var n=this.prevKeys[t];!n||e&&r(e,n)||a(this.el,n)}}}},{"../../util":74}],29:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../../parsers/template");t.exports={priority:1500,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__?"production"!==n.env.NODE_ENV&&i.warn('cannot mount component "'+this.expression+'" on already mounted element: '+this.el):(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=i.extractContent(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=i.createAnchor("v-component"),i.replace(this.el,this.anchor),this.el.removeAttribute("is"),this.literal&&this.setComponent(this.expression))},update:function(e){this.literal||this.setComponent(e)},setComponent:function(e,t){if(this.invalidatePending(),e){var n=this;this.resolveComponent(e,function(){n.mountComponent(t)})}else this.unbuild(!0),this.remove(this.childVM,t),this.childVM=null},resolveComponent:function(e,t){var n=this;this.pendingComponentCb=i.cancellable(function(i){n.ComponentName=i.options.name||e,n.Component=i,t()}),this.vm._resolveComponent(e,this.pendingComponentCb)},mountComponent:function(e){this.unbuild(!0);var t=this,n=this.Component.options.activate,i=this.getCached(),r=this.build();n&&!i?(this.waitingFor=r,n.call(r,function(){t.waitingFor=null,t.transition(r,e)})):(i&&r._updateRef(),this.transition(r,e))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(e){var t=this.getCached();if(t)return t;if(this.Component){var o={name:this.ComponentName,el:r.clone(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};e&&i.extend(o,e);var s=new this.Component(o);return this.keepAlive&&(this.cache[this.Component.cid]=s),"production"!==n.env.NODE_ENV&&this.el.hasAttribute("transition")&&s._isFragment&&i.warn("Transitions will not work on a fragment instance. Template: "+s.$options.template),s}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(e){this.waitingFor&&(this.waitingFor.$destroy(),this.waitingFor=null);var t=this.childVM;return!t||this.keepAlive?void(t&&t._updateRef(!0)):void t.$destroy(!1,e)},remove:function(e,t){var n=this.keepAlive;if(e){this.pendingRemovals++,this.pendingRemovalCb=t;var i=this;e.$remove(function(){i.pendingRemovals--,n||e._cleanup(),!i.pendingRemovals&&i.pendingRemovalCb&&(i.pendingRemovalCb(),i.pendingRemovalCb=null)})}else t&&t()},transition:function(e,t){var i=this,r=this.childVM;switch("production"!==n.env.NODE_ENV&&(r&&(r._inactive=!0),e._inactive=!1),this.childVM=e,i.params.transitionMode){case"in-out":e.$before(i.anchor,function(){i.remove(r,t)});break;case"out-in":i.remove(r,function(){e.$before(i.anchor,t)});break;default:i.remove(r),e.$before(i.anchor,t)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var e in this.cache)this.cache[e].$destroy();this.cache=null}}}}).call(this,e("_process"))},{"../../parsers/template":65,"../../util":74,_process:2}],30:[function(e,t,n){n.style=e("./style"),n["class"]=e("./class"),n.component=e("./component"),n.prop=e("./prop"),n.transition=e("./transition")},{"./class":28,"./component":29,"./prop":31,"./style":32,"./transition":33}],31:[function(e,t,n){var i=e("../../util"),r=e("../../watcher"),o=e("../../config")._propBindingModes;t.exports={bind:function(){var e=this.vm,t=e._context,n=this.descriptor.prop,s=n.path,a=n.parentPath,l=n.mode===o.TWO_WAY,c=this.parentWatcher=new r(t,a,function(t){i.assertProp(n,t)&&(e[s]=t)},{twoWay:l,filters:n.filters,scope:this._scope});if(i.initProp(e,n,c.value),l){var u=this;e.$once("hook:created",function(){u.childWatcher=new r(e,s,function(e){c.set(e)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}}},{"../../config":23,"../../util":74,"../../watcher":78}],32:[function(e,t,n){function i(e){if(u[e])return u[e];var t=r(e);return u[e]=u[t]=t,t}function r(e){e=o.hyphenate(e);var t=o.camelize(e),n=t.charAt(0).toUpperCase()+t.slice(1);if(c||(c=document.createElement("div")),t in c.style)return e;for(var i,r=s.length;r--;)if(i=a[r]+n,i in c.style)return s[r]+e}var o=e("../../util"),s=["-webkit-","-moz-","-ms-"],a=["Webkit","Moz","ms"],l=/!important;?$/,c=null,u={};t.exports={deep:!0,update:function(e){"string"==typeof e?this.el.style.cssText=e:o.isArray(e)?this.handleObject(e.reduce(o.extend,{})):this.handleObject(e||{})},handleObject:function(e){var t,n,i=this.cache||(this.cache={});for(t in i)t in e||(this.handleSingle(t,null),delete i[t]);for(t in e)n=e[t],n!==i[t]&&(i[t]=n,this.handleSingle(t,n))},handleSingle:function(e,t){if(e=i(e))if(null!=t&&(t+=""),t){var n=l.test(t)?"important":"";n&&(t=t.replace(l,"").trim()),this.el.style.setProperty(e,t,n)}else this.el.style.removeProperty(e)}}},{"../../util":74}],33:[function(e,t,n){var i=e("../../util"),r=e("../../transition/transition");t.exports={priority:1100,update:function(e,t){var n=this.el,o=i.resolveAsset(this.vm.$options,"transitions",e);e=e||"v",n.__v_trans=new r(n,e,o,this.el.__vue__||this.vm),t&&i.removeClass(n,t+"-transition"),i.addClass(n,e+"-transition")}}},{"../../transition/transition":69,"../../util":74}],34:[function(e,t,n){(function(n){var i=e("../../util"),r="http://www.w3.org/1999/xlink",o=/^xlink:/,s={value:1,checked:1,selected:1},a={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},l=/^v-|^:|^@|^(is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/;t.exports={priority:850,bind:function(){var e=this.arg,t=this.el.tagName;if(e||(this.deep=!0),this.descriptor.interp&&((l.test(e)||"name"===e&&("PARTIAL"===t||"SLOT"===t))&&("production"!==n.env.NODE_ENV&&i.warn(e+'="'+this.descriptor.raw+'": attribute interpolation is not allowed in Vue.js directives and special attributes.'),this.el.removeAttribute(e),this.invalid=!0),"production"!==n.env.NODE_ENV)){var r=e+'="'+this.descriptor.raw+'": ';"src"===e&&i.warn(r+'interpolation in "src" attribute will cause a 404 request. Use v-bind:src instead.'),"style"===e&&i.warn(r+'interpolation in "style" attribute will cause the attribute to be discarded in Internet Explorer. Use v-bind:style instead.')}},update:function(e){if(!this.invalid){var t=this.arg;this.arg?this.handleSingle(t,e):this.handleObject(e||{})}},handleObject:e("../internal/style").handleObject,handleSingle:function(e,t){s[e]&&e in this.el&&(this.el[e]="value"===e?t||"":t);var n=a[e];if(n){this.el[n]=t;var i=this.el.__v_model;i&&i.listener()}return"value"===e&&"TEXTAREA"===this.el.tagName?void this.el.removeAttribute(e):void(null!=t&&t!==!1?o.test(e)?this.el.setAttributeNS(r,e,t):this.el.setAttribute(e,t):this.el.removeAttribute(e))}}}).call(this,e("_process"))},{"../../util":74,"../internal/style":32,_process:2}],35:[function(e,t,n){t.exports={bind:function(){var e=this.el;this.vm.$once("hook:compiled",function(){e.removeAttribute("v-cloak")})}}},{}],36:[function(e,t,n){var i=e("../../util");t.exports={priority:1500,bind:function(){if(this.arg){var e=this.id=i.camelize(this.arg),t=(this._scope||this.vm).$els;t.hasOwnProperty(e)?t[e]=this.el:i.defineReactive(t,e,this.el)}},unbind:function(){var e=(this._scope||this.vm).$els;e[this.id]===this.el&&(e[this.id]=null)}}},{"../../util":74}],37:[function(e,t,n){(function(n){function i(e,t,n){var i=e.node.previousSibling;if(i){for(e=i.__vfrag__;!(e&&e.forId===n&&e.inserted||i===t);){if(i=i.previousSibling,!i)return;e=i.__vfrag__}return e}}function r(e){return e.node.__vue__||e.node.nextSibling.__vue__}function o(e){for(var t=-1,n=new Array(e);++tt;t++)u=e[t],o=h?u.$key:null,a=h?u.$value:u,c=!l(a),r=!w&&this.getCachedFrag(a,t,o),r?(r.reused=!0,r.scope.$index=t,o&&(r.scope.$key=o),v&&(r.scope[v]=null!==o?o:t),(p||h||c)&&(r.scope[m]=a)):(r=this.create(a,m,t,o),r.fresh=!w),f[t]=r,w&&r.before(y);if(!w){var _=0,x=d.length-f.length;for(t=0,n=d.length;n>t;t++)r=d[t],r.reused||(this.deleteCachedFrag(r),this.remove(r,_++,x,b));var E,C,k,O=0;for(t=0,n=f.length;n>t;t++)r=f[t],E=f[t-1],C=E?E.staggerCb?E.staggerAnchor:E.end||E.node:g,r.reused&&!r.staggerCb?(k=i(r,g,this.id),k!==E&&this.move(r,C)):this.insert(r,O++,C,b),r.reused=r.fresh=!1}},create:function(e,t,n,i){var r=this._host,o=this._scope||this.vm,a=Object.create(o);a.$refs=Object.create(o.$refs),a.$els=Object.create(o.$els),a.$parent=o,a.$forContext=this,s.defineReactive(a,t,e),s.defineReactive(a,"$index",n),i?s.defineReactive(a,"$key",i):a.$key&&s.define(a,"$key",null),this.iterator&&s.defineReactive(a,this.iterator,null!==i?i:n);var l=this.factory.create(r,a,this._frag);return l.forId=this.id,this.cacheFrag(e,l,n,i),l},updateRef:function(){var e=this.descriptor.ref;if(e){var t,n=(this._scope||this.vm).$refs;this.fromObject?(t={},this.frags.forEach(function(e){t[e.scope.$key]=r(e)})):t=this.frags.map(r),n[e]=t}},updateModel:function(){if(this.isOption){var e=this.start.parentNode,t=e&&e.__v_model;t&&t.forceUpdate()}},insert:function(e,t,n,i){e.staggerCb&&(e.staggerCb.cancel(),e.staggerCb=null);var r=this.getStagger(e,t,null,"enter");if(i&&r){var o=e.staggerAnchor;o||(o=e.staggerAnchor=s.createAnchor("stagger-anchor"),o.__vfrag__=e),s.after(o,n);var a=e.staggerCb=s.cancellable(function(){e.staggerCb=null,e.before(o),s.remove(o)});setTimeout(a,r)}else e.before(n.nextSibling)},remove:function(e,t,n,i){if(e.staggerCb)return e.staggerCb.cancel(),void(e.staggerCb=null);var r=this.getStagger(e,t,n,"leave");if(i&&r){var o=e.staggerCb=s.cancellable(function(){e.staggerCb=null,e.remove()});setTimeout(o,r)}else e.remove()},move:function(e,t){e.before(t.nextSibling,!1)},cacheFrag:function(e,t,i,r){var o,a=this.params.trackBy,c=this.cache,u=!l(e);r||a||u?(o=a?"$index"===a?i:e[a]:r||e,c[o]?"$index"!==a&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(e):c[o]=t):(o=this.id,e.hasOwnProperty(o)?null===e[o]?e[o]=t:"production"!==n.env.NODE_ENV&&this.warnDuplicate(e):s.define(e,o,t)),t.raw=e},getCachedFrag:function(e,t,i){var r,o=this.params.trackBy,s=!l(e);if(i||o||s){var a=o?"$index"===o?t:e[o]:i||e;r=this.cache[a]}else r=e[this.id];return r&&(r.reused||r.fresh)&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(e),r},deleteCachedFrag:function(e){var t=e.raw,n=this.params.trackBy,i=e.scope,r=i.$index,o=i.hasOwnProperty("$key")&&i.$key,s=!l(t);if(n||o||s){var a=n?"$index"===n?r:t[n]:o||t;this.cache[a]=null}else t[this.id]=null,e.raw=null},getStagger:function(e,t,n,i){i+="Stagger";var r=e.node.__v_trans,o=r&&r.hooks,s=o&&(o[i]||o.stagger);return s?s.call(e,t,n):t*parseInt(this.params[i]||this.params.stagger,10)},_preProcess:function(e){return this.rawValue=e,e},_postProcess:function(e){if(s.isArray(e))return e;if(s.isPlainObject(e)){for(var t,n=Object.keys(e),i=n.length,r=new Array(i);i--;)t=n[i],r[i]={$key:t,$value:e[t]};return r}return"number"==typeof e&&(e=o(e)),e||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var e,t=this.frags.length;t--;)e=this.frags[t],this.deleteCachedFrag(e),e.destroy()}},"production"!==n.env.NODE_ENV&&(t.exports.warnDuplicate=function(e){s.warn('Duplicate value found in v-for="'+this.descriptor.raw+'": '+JSON.stringify(e)+'. Use track-by="$index" if you are expecting duplicate values.')})}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,_process:2}],38:[function(e,t,n){var i=e("../../util"),r=e("../../parsers/template");t.exports={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=i.createAnchor("v-html"),i.replace(this.el,this.anchor))},update:function(e){e=i.toString(e),this.nodes?this.swap(e):this.el.innerHTML=e},swap:function(e){for(var t=this.nodes.length;t--;)i.remove(this.nodes[t]);var n=r.parse(e,!0,!0);this.nodes=i.toArray(n.childNodes),i.before(n,this.anchor)}}},{"../../parsers/template":65,"../../util":74}],39:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../../fragment/factory");t.exports={priority:2e3,bind:function(){var e=this.el;if(e.__vue__)"production"!==n.env.NODE_ENV&&i.warn('v-if="'+this.expression+'" cannot be used on an instance root element.'),this.invalid=!0;else{var t=e.nextElementSibling;t&&null!==i.attr(t,"v-else")&&(i.remove(t),this.elseFactory=new r(this.vm,t)),this.anchor=i.createAnchor("v-if"),i.replace(e,this.anchor),this.factory=new r(this.vm,e)}},update:function(e){this.invalid||(e?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseFactory&&!this.elseFrag&&(this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy()}}}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,_process:2}],40:[function(e,t,n){n.text=e("./text"),n.html=e("./html"),n["for"]=e("./for"),n["if"]=e("./if"),n.show=e("./show"),n.model=e("./model"),n.on=e("./on"),n.bind=e("./bind"),n.el=e("./el"),n.ref=e("./ref"),n.cloak=e("./cloak")},{"./bind":34,"./cloak":35,"./el":36,"./for":37,"./html":38,"./if":39,"./model":42,"./on":46,"./ref":47,"./show":48,"./text":49}],41:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){function e(){var e=n.checked;return e&&n.hasOwnProperty("_trueValue")?n._trueValue:!e&&n.hasOwnProperty("_falseValue")?n._falseValue:e}var t=this,n=this.el;this.getValue=function(){return n.hasOwnProperty("_value")?n._value:t.params.number?i.toNumber(n.value):n.value},this.listener=function(){var r=t._watcher.value;if(i.isArray(r)){var o=t.getValue();n.checked?i.indexOf(r,o)<0&&r.push(o):r.$remove(o)}else t.set(e())},this.on("change",this.listener),n.checked&&(this.afterBind=this.listener)},update:function(e){var t=this.el;i.isArray(e)?t.checked=i.indexOf(e,this.getValue())>-1:t.hasOwnProperty("_trueValue")?t.checked=i.looseEqual(e,t._trueValue):t.checked=!!e}}},{"../../../util":74}],42:[function(e,t,n){(function(n){var i=e("../../../util"),r={text:e("./text"),radio:e("./radio"),select:e("./select"),checkbox:e("./checkbox")};t.exports={priority:800,twoWay:!0,handlers:r,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite&&"production"!==n.env.NODE_ENV&&i.warn("It seems you are using a read-only filter with v-model. You might want to use a two-way filter to ensure correct behavior.");var e,t=this.el,o=t.tagName;if("INPUT"===o)e=r[t.type]||r.text;else if("SELECT"===o)e=r.select;else{if("TEXTAREA"!==o)return void("production"!==n.env.NODE_ENV&&i.warn("v-model does not support element type: "+o));e=r.text}t.__v_model=this,e.bind.call(this),this.update=e.update,this._unbind=e.unbind},checkFilters:function(){var e=this.filters;if(e)for(var t=e.length;t--;){var n=i.resolveAsset(this.vm.$options,"filters",e[t].name);("function"==typeof n||n.read)&&(this.hasRead=!0),n.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}}}).call(this,e("_process"))},{"../../../util":74,"./checkbox":41,"./radio":43,"./select":44,"./text":45,_process:2}],43:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){var e=this,t=this.el;this.getValue=function(){if(t.hasOwnProperty("_value"))return t._value;var n=t.value;return e.params.number&&(n=i.toNumber(n)),n},this.listener=function(){e.set(e.getValue())},this.on("change",this.listener),t.checked&&(this.afterBind=this.listener)},update:function(e){this.el.checked=i.looseEqual(e,this.getValue())}}},{"../../../util":74}],44:[function(e,t,n){function i(e,t,n){for(var i,r,o,s=t?[]:null,a=0,l=e.options.length;l>a;a++)if(i=e.options[a],o=n?i.hasAttribute("selected"):i.selected){if(r=i.hasOwnProperty("_value")?i._value:i.value,!t)return r;s.push(r)}return s}function r(e,t){for(var n=e.length;n--;)if(o.looseEqual(e[n],t))return n;return-1}var o=e("../../../util");t.exports={bind:function(){var e=this,t=this.el;this.forceUpdate=function(){e._watcher&&e.update(e._watcher.get())};var n=this.multiple=t.hasAttribute("multiple");this.listener=function(){var r=i(t,n);r=e.params.number?o.isArray(r)?r.map(o.toNumber):o.toNumber(r):r,e.set(r)},this.on("change",this.listener);var r=i(t,n,!0);(n&&r.length||!n&&null!==r)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",this.forceUpdate)},update:function(e){var t=this.el;t.selectedIndex=-1;for(var n,i,s=this.multiple&&o.isArray(e),a=t.options,l=a.length;l--;)n=a[l],i=n.hasOwnProperty("_value")?n._value:n.value,n.selected=s?r(e,i)>-1:o.looseEqual(e,i)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}}},{"../../../util":74}],45:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){var e=this,t=this.el,n="range"===t.type,r=this.params.lazy,o=this.params.number,s=this.params.debounce,a=!1;i.isAndroid||n||(this.on("compositionstart",function(){a=!0}),this.on("compositionend",function(){a=!1,r||e.listener()})),this.focused=!1,n||(this.on("focus",function(){e.focused=!0}),this.on("blur",function(){e.focused=!1,e.listener()})),this.listener=function(){if(!a){var r=o||n?i.toNumber(t.value):t.value;e.set(r),i.nextTick(function(){e._bound&&!e.focused&&e.update(e._watcher.value)})}},s&&(this.listener=i.debounce(this.listener,s)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery?(jQuery(t).on("change",this.listener),r||jQuery(t).on("input",this.listener)):(this.on("change",this.listener),r||this.on("input",this.listener)),!r&&i.isIE9&&(this.on("cut",function(){i.nextTick(e.listener)}),this.on("keyup",function(t){(46===t.keyCode||8===t.keyCode)&&e.listener()})),(t.hasAttribute("value")||"TEXTAREA"===t.tagName&&t.value.trim())&&(this.afterBind=this.listener)},update:function(e){this.el.value=i.toString(e)},unbind:function(){var e=this.el;this.hasjQuery&&(jQuery(e).off("change",this.listener),jQuery(e).off("input",this.listener))}}},{"../../../util":74}],46:[function(e,t,n){(function(n){function i(e,t){var n=t.map(function(e){var t=a[e];return t||(t=parseInt(e,10)),t});return function(t){return n.indexOf(t.keyCode)>-1?e.call(this,t):void 0}}function r(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function o(e){return function(t){return t.preventDefault(),e.call(this,t)}}var s=e("../../util"),a={esc:27,tab:9,enter:13,space:32,"delete":46,up:38,left:37,right:39,down:40};t.exports={acceptStatement:!0,priority:700,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var e=this;this.iframeBind=function(){s.on(e.el.contentWindow,e.arg,e.handler)},this.on("load",this.iframeBind)}},update:function(e){if(this.descriptor.raw||(e=function(){}),"function"!=typeof e)return void("production"!==n.env.NODE_ENV&&s.warn("v-on:"+this.arg+'="'+this.expression+'" expects a function value, got '+e));this.modifiers.stop&&(e=r(e)),this.modifiers.prevent&&(e=o(e));var t=Object.keys(this.modifiers).filter(function(e){return"stop"!==e&&"prevent"!==e});t.length&&(e=i(e,t)),this.reset();var a=this._scope||this.vm;this.handler=function(t){a.$event=t;var n=e(t);return a.$event=null,n},this.iframeBind?this.iframeBind():s.on(this.el,this.arg,this.handler)},reset:function(){var e=this.iframeBind?this.el.contentWindow:this.el;this.handler&&s.off(e,this.arg,this.handler)},unbind:function(){this.reset()}}}).call(this,e("_process"))},{"../../util":74,_process:2}],47:[function(e,t,n){(function(n){"production"!==n.env.NODE_ENV&&(t.exports={bind:function(){e("../../util").warn("v-ref:"+this.arg+" must be used on a child component. Found on <"+this.el.tagName.toLowerCase()+">.")}})}).call(this,e("_process"))},{"../../util":74,_process:2}],48:[function(e,t,n){var i=e("../../util"),r=e("../../transition");t.exports={bind:function(){var e=this.el.nextElementSibling;e&&null!==i.attr(e,"v-else")&&(this.elseEl=e)},update:function(e){this.apply(this.el,e),this.elseEl&&this.apply(this.elseEl,!e)},apply:function(e,t){function n(){e.style.display=t?"":"none"}i.inDoc(e)?r.apply(e,t?1:-1,n,this.vm):n()}}},{"../../transition":67,"../../util":74}],49:[function(e,t,n){var i=e("../../util");t.exports={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(e){this.el[this.attr]=i.toString(e)}}},{"../../util":74}],50:[function(e,t,n){function i(e,t){var n;if(r.isPlainObject(e)){var o=Object.keys(e);for(n=o.length;n--;)if(i(e[o[n]],t))return!0}else if(r.isArray(e)){for(n=e.length;n--;)if(i(e[n],t))return!0}else if(null!=e)return e.toString().toLowerCase().indexOf(t)>-1}var r=e("../util"),o=e("../parsers/path"),s=e("../directives/public/for")._postProcess;n.limitBy=function(e,t,n){return n=n?parseInt(n,10):0,"number"==typeof t?e.slice(n,n+t):e},n.filterBy=function(e,t,n){if(e=s(e),null==t)return e;if("function"==typeof t)return e.filter(t);t=(""+t).toLowerCase();for(var a,l,c,u,h="in"===n?3:2,p=r.toArray(arguments,h).reduce(function(e,t){return e.concat(t)},[]),d=[],f=0,m=e.length;m>f;f++)if(a=e[f],c=a&&a.$value||a,u=p.length){for(;u--;)if(l=p[u],"$key"===l&&i(a.$key,t)||i(o.get(c,l),t)){d.push(a);break}}else i(a,t)&&d.push(a);return d},n.orderBy=function(e,t,n){if(e=s(e),!t)return e;var i=n&&0>n?-1:1;return e.slice().sort(function(e,n){return"$key"!==t&&(r.isObject(e)&&"$value"in e&&(e=e.$value),r.isObject(n)&&"$value"in n&&(n=n.$value)),e=r.isObject(e)?o.get(e,t):e,n=r.isObject(n)?o.get(n,t):n,e===n?0:e>n?i:-i})}},{"../directives/public/for":37,"../parsers/path":64,"../util":74}],51:[function(e,t,n){var i=e("../util");n.json={read:function(e,t){return"string"==typeof e?e:JSON.stringify(e,null,Number(t)||2)},write:function(e){try{return JSON.parse(e)}catch(t){return e}}},n.capitalize=function(e){return e||0===e?(e=e.toString(),e.charAt(0).toUpperCase()+e.slice(1)):""},n.uppercase=function(e){return e||0===e?e.toString().toUpperCase():""},n.lowercase=function(e){return e||0===e?e.toString().toLowerCase():""};var r=/(\d{3})(?=\d)/g;n.currency=function(e,t){if(e=parseFloat(e),!isFinite(e)||!e&&0!==e)return"";t=null!=t?t:"$";var n=Math.abs(e).toFixed(2),i=n.slice(0,-3),o=i.length%3,s=o>0?i.slice(0,o)+(i.length>3?",":""):"",a=n.slice(-3),l=0>e?"-":"";return t+l+s+i.slice(o).replace(r,"$1,")+a},n.pluralize=function(e){var t=i.toArray(arguments,1);return t.length>1?t[e%10-1]||t[t.length-1]:t[0]+(1===e?"":"s")},n.debounce=function(e,t){return e?(t||(t=300),i.debounce(e,t)):void 0},i.extend(n,e("./array-filters"))},{"../util":74,"./array-filters":50}],52:[function(e,t,n){function i(e,t){this.vm=e;var n,i="string"==typeof t;i||r.isTemplate(t)?n=s.parse(t,!0):(n=document.createDocumentFragment(),n.appendChild(t)),this.template=n;var a,l=e.constructor.cid;if(l>0){var u=l+(i?t:t.outerHTML);a=c.get(u),a||(a=o.compile(n,e.$options,!0),c.put(u,a))}else a=o.compile(n,e.$options,!0);this.linker=a}var r=e("../util"),o=e("../compiler"),s=e("../parsers/template"),a=e("./fragment"),l=e("../cache"),c=new l(5e3);i.prototype.create=function(e,t,n){var i=s.clone(this.template);return new a(this.linker,this.vm,i,e,t,n)},t.exports=i},{"../cache":18,"../compiler":21,"../parsers/template":65,"../util":74,"./fragment":53}],53:[function(e,t,n){function i(e,t,n,i,l,c){this.children=[],this.childFrags=[],this.vm=t,this.scope=l,this.inserted=!1,this.parentFrag=c,c&&c.childFrags.push(this),this.unlink=e(t,n,i,l,this);var u=this.single=1===n.childNodes.length;u?(this.node=n.childNodes[0],this.before=r,this.remove=o):(this.node=h.createAnchor("fragment-start"),this.end=h.createAnchor("fragment-end"),this.frag=n,h.prepend(this.node,n),n.appendChild(this.end),this.before=s,this.remove=a),this.node.__vfrag__=this}function r(e,t){this.inserted=!0;var n=t!==!1?p.before:h.before;n(this.node,e,this.vm),h.inDoc(this.node)&&this.callHook(l)}function o(){this.inserted=!1;var e=h.inDoc(this.node),t=this;t.callHook(c),p.remove(this.node,this.vm,function(){e&&t.callHook(u),t.destroy()})}function s(e,t){this.inserted=!0;var n=this.vm,i=t!==!1?p.before:h.before;h.mapNodeRange(this.node,this.end,function(t){i(t,e,n)}),h.inDoc(this.node)&&this.callHook(l)}function a(){this.inserted=!1;var e=this,t=h.inDoc(this.node);e.callHook(c),h.removeNodeRange(this.node,this.end,this.vm,this.frag,function(){t&&e.callHook(u),e.destroy()})}function l(e){e._isAttached||e._callHook("attached")}function c(e){e.$destroy(!1,!0)}function u(e){e._isAttached&&e._callHook("detached")}var h=e("../util"),p=e("../transition");i.prototype.callHook=function(e){var t,n;for(t=0,n=this.children.length;n>t;t++)e(this.children[t]);for(t=0,n=this.childFrags.length;n>t;t++)this.childFrags[t].callHook(e)},i.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.unlink()},t.exports=i},{"../transition":67,"../util":74}],54:[function(e,t,n){(function(t){function i(e,t){for(var n,i,r=t.attributes,o=0,s=r.length;s>o;o++)n=r[o].name, -p.test(n)&&(n=n.replace(p,""),i=(e._scope||e._context).$eval(r[o].value,!0),e.$on(n.replace(p),i))}function r(e,t,n){if(n){var i,r,s,a;for(r in n)if(i=n[r],u.isArray(i))for(s=0,a=i.length;a>s;s++)o(e,t,r,i[s]);else o(e,t,r,i)}}function o(e,n,i,r,s){var a=typeof r;if("function"===a)e[n](i,r,s);else if("string"===a){var l=e.$options.methods,c=l&&l[r];c?e[n](i,c,s):"production"!==t.env.NODE_ENV&&u.warn('Unknown method: "'+r+'" when registering callback for '+n+': "'+i+'".')}else r&&"object"===a&&o(e,n,i,r.handler,r)}function s(){this._isAttached||(this._isAttached=!0,this.$children.forEach(a))}function a(e){!e._isAttached&&h(e.$el)&&e._callHook("attached")}function l(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(c))}function c(e){e._isAttached&&!h(e.$el)&&e._callHook("detached")}var u=e("../util"),h=u.inDoc,p=/^v-on:|^@/;n._initEvents=function(){var e=this.$options;e._asComponent&&i(this,e.el),r(this,"$on",e.events),r(this,"$watch",e.watch)},n._initDOMHooks=function(){this.$on("hook:attached",s),this.$on("hook:detached",l)},n._callHook=function(e){var t=this.$options[e];if(t)for(var n=0,i=t.length;i>n;n++)t[n].call(this);this.$emit("hook:"+e)}}).call(this,e("_process"))},{"../util":74,_process:2}],55:[function(e,t,n){var i=e("../util").mergeOptions,r=0;n._init=function(e){e=e||{},this.$el=null,this.$parent=e.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=r++,this._isVue=!0,this._events={},this._eventsCount={},this._shouldPropagate=!1,this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=!1,this._unlinkFn=null,this._context=e._context||this.$parent,this._scope=e._scope,this._frag=e._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),e=this.$options=i(this.constructor.options,e,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),e.el&&this.$mount(e.el)}},{"../util":74}],56:[function(e,t,n){var i=e("../util"),r=e("../directive"),o=e("../compiler");n._updateRef=function(e){var t=this.$options._ref;if(t){var n=(this._scope||this._context).$refs;e?n[t]===this&&(n[t]=null):n[t]=this}},n._compile=function(e){var t=this.$options,n=e;e=o.transclude(e,t),this._initElement(e);var r,s=this._context&&this._context.$options,a=o.compileRoot(e,t,s),l=this.constructor;t._linkerCachable&&(r=l.linker,r||(r=l.linker=o.compile(e,t)));var c=a(this,e,this._scope),u=r?r(this,e):o.compile(e,t)(this,e);return this._unlinkFn=function(){c(),u(!0)},t.replace&&i.replace(n,e),this._isCompiled=!0,this._callHook("compiled"),e},n._initElement=function(e){e instanceof DocumentFragment?(this._isFragment=!0,this.$el=this._fragmentStart=e.firstChild,this._fragmentEnd=e.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=e):this.$el=e,this.$el.__vue__=this,this._callHook("beforeCompile")},n._bindDir=function(e,t,n,i,o){this._directives.push(new r(e,this,t,n,i,o))},n._destroy=function(e,t){if(this._isBeingDestroyed)return void(t||this._cleanup());this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var n,i=this.$parent;for(i&&!i._isBeingDestroyed&&(i.$children.$remove(this),this._updateRef(!0)),n=this.$children.length;n--;)this.$children[n].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),n=this._watchers.length;n--;)this._watchers[n].teardown();this.$el&&(this.$el.__vue__=null);var r=this;e&&this.$el?this.$remove(function(){r._cleanup()}):t||this._cleanup()},n._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}},{"../compiler":21,"../directive":24,"../util":74}],57:[function(e,t,n){(function(t){var i=e("../util");n._applyFilters=function(e,n,r,o){var s,a,l,c,u,h,p,d,f;for(h=0,p=r.length;p>h;h++)if(s=r[h],a=i.resolveAsset(this.$options,"filters",s.name),"production"!==t.env.NODE_ENV&&i.assertAsset(a,"filter",s.name),a&&(a=o?a.write:a.read||a,"function"==typeof a)){if(l=o?[e,n]:[e],u=o?2:1,s.args)for(d=0,f=s.args.length;f>d;d++)c=s.args[d],l[d+u]=c.dynamic?this.$get(c.value):c.value;e=a.apply(this,l)}return e},n._resolveComponent=function(e,n){var r=i.resolveAsset(this.$options,"components",e);if("production"!==t.env.NODE_ENV&&i.assertAsset(r,"component",e),r)if(r.options)n(r);else if(r.resolved)n(r.resolved);else if(r.requested)r.pendingCallbacks.push(n);else{r.requested=!0;var o=r.pendingCallbacks=[n];r(function(e){i.isPlainObject(e)&&(e=i.Vue.extend(e)),r.resolved=e;for(var t=0,n=o.length;n>t;t++)o[t](e)},function(n){"production"!==t.env.NODE_ENV&&i.warn("Failed to resolve async component: "+e+". "+(n?"\nReason: "+n:""))})}}}).call(this,e("_process"))},{"../util":74,_process:2}],58:[function(e,t,n){(function(t){function i(){}function r(e,t){var n=new c(t,e,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),l.target&&n.depend(),n.value}}var o=e("../util"),s=e("../compiler"),a=e("../observer"),l=e("../observer/dep"),c=e("../watcher");n._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},n._initProps=function(){var e=this.$options,n=e.el,i=e.props;i&&!n&&"production"!==t.env.NODE_ENV&&o.warn("Props will not be compiled if no `el` option is provided at instantiation."),n=e.el=o.query(n),this._propsUnlinkFn=n&&1===n.nodeType&&i?s.compileAndLinkProps(this,n,i,this._scope):null},n._initData=function(){var e=this._data,n=this.$options.data,i=n&&n();if(i){this._data=i;for(var r in e)"production"!==t.env.NODE_ENV&&i.hasOwnProperty(r)&&o.warn('Data field "'+r+'" is already defined as a prop. Use prop default value instead.'),null===this._props[r].raw&&i.hasOwnProperty(r)||o.set(i,r,e[r])}var s,l,c=this._data,u=Object.keys(c);for(s=u.length;s--;)l=u[s],this._proxy(l);a.create(c,this)},n._setData=function(e){e=e||{};var t=this._data;this._data=e;var n,i,r;for(n=Object.keys(t),r=n.length;r--;)i=n[r],i in e||this._unproxy(i);for(n=Object.keys(e),r=n.length;r--;)i=n[r],this.hasOwnProperty(i)||this._proxy(i);t.__ob__.removeVm(this),a.create(e,this),this._digest()},n._proxy=function(e){if(!o.isReserved(e)){var t=this;Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}},n._unproxy=function(e){o.isReserved(e)||delete this[e]},n._digest=function(){for(var e=0,t=this._watchers.length;t>e;e++)this._watchers[e].update(!0)},n._initComputed=function(){var e=this.$options.computed;if(e)for(var t in e){var n=e[t],s={enumerable:!0,configurable:!0};"function"==typeof n?(s.get=r(n,this),s.set=i):(s.get=n.get?n.cache!==!1?r(n.get,this):o.bind(n.get,this):i,s.set=n.set?o.bind(n.set,this):i),Object.defineProperty(this,t,s)}},n._initMethods=function(){var e=this.$options.methods;if(e)for(var t in e)this[t]=o.bind(e[t],this)},n._initMeta=function(){var e=this.$options._meta;if(e)for(var t in e)o.defineReactive(this,t,e[t])}}).call(this,e("_process"))},{"../compiler":21,"../observer":61,"../observer/dep":60,"../util":74,"../watcher":78,_process:2}],59:[function(e,t,n){var i=e("../util"),r=Array.prototype,o=Object.create(r);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=r[e];i.define(o,e,function(){for(var n=arguments.length,i=new Array(n);n--;)i[n]=arguments[n];var r,o=t.apply(this,i),s=this.__ob__;switch(e){case"push":r=i;break;case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&s.observeArray(r),s.dep.notify(),o})}),i.define(r,"$set",function(e,t){return e>=this.length&&(this.length=e+1),this.splice(e,1,t)[0]}),i.define(r,"$remove",function(e){if(this.length){var t=i.indexOf(this,e);return t>-1?this.splice(t,1):void 0}}),t.exports=o},{"../util":74}],60:[function(e,t,n){function i(){this.id=o++,this.subs=[]}var r=e("../util"),o=0;i.target=null,i.prototype.addSub=function(e){this.subs.push(e)},i.prototype.removeSub=function(e){this.subs.$remove(e)},i.prototype.depend=function(){i.target.addDep(this)},i.prototype.notify=function(){for(var e=r.toArray(this.subs),t=0,n=e.length;n>t;t++)e[t].update()},t.exports=i},{"../util":74}],61:[function(e,t,n){function i(e){if(this.value=e,this.dep=new l,a.define(e,"__ob__",this),a.isArray(e)){var t=a.hasProto?r:o;t(e,c,u),this.observeArray(e)}else this.walk(e)}function r(e,t){e.__proto__=t}function o(e,t,n){for(var i,r=n.length;r--;)i=n[r],a.define(e,i,t[i])}function s(e,t,n){var r=new l,o=i.create(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){if(l.target&&(r.depend(),o&&o.dep.depend(),a.isArray(n)))for(var e,t=0,i=n.length;i>t;t++)e=n[t],e&&e.__ob__&&e.__ob__.dep.depend();return n},set:function(e){e!==n&&(n=e,o=i.create(e),r.notify())}})}var a=e("../util"),l=e("./dep"),c=e("./array"),u=Object.getOwnPropertyNames(c);i.create=function(e,t){if(e&&"object"==typeof e){var n;return e.hasOwnProperty("__ob__")&&e.__ob__ instanceof i?n=e.__ob__:!a.isArray(e)&&!a.isPlainObject(e)||Object.isFrozen(e)||e._isVue||(n=new i(e)),n&&t&&n.addVm(t),n}},i.prototype.walk=function(e){for(var t=Object.keys(e),n=t.length;n--;)this.convert(t[n],e[t[n]])},i.prototype.observeArray=function(e){for(var t=e.length;t--;)i.create(e[t])},i.prototype.convert=function(e,t){s(this.value,e,t)},i.prototype.addVm=function(e){(this.vms||(this.vms=[])).push(e)},i.prototype.removeVm=function(e){this.vms.$remove(e)},a.defineReactive=s,t.exports=i},{"../util":74,"./array":59,"./dep":60}],62:[function(e,t,n){function i(){var e,t=o.slice(u,l).trim();if(t){e={};var n=t.match(b);e.name=n[0],n.length>1&&(e.args=n.slice(1).map(r))}e&&(s.filters=s.filters||[]).push(e),u=l+1}function r(e){if(w.test(e))return{value:v.toNumber(e),dynamic:!1};var t=v.stripQuotes(e),n=t===e;return{value:n?e:t,dynamic:n}}var o,s,a,l,c,u,h,p,d,f,m,v=e("../util"),g=e("../cache"),y=new g(1e3),b=/[^\s'"]+|'[^']*'|"[^"]*"/g,w=/^in$|^-?\d+/;n.parse=function(e){var t=y.get(e);if(t)return t;for(o=e,h=p=!1,d=f=m=0,u=0,s={},l=0,c=o.length;c>l;l++)if(a=o.charCodeAt(l),h)39===a&&(h=!h);else if(p)34===a&&(p=!p);else if(124===a&&124!==o.charCodeAt(l+1)&&124!==o.charCodeAt(l-1))null==s.expression?(u=l+1,s.expression=o.slice(0,l).trim()):i();else switch(a){case 34:p=!0;break;case 39:h=!0;break;case 40:m++;break;case 41:m--;break;case 91:f++;break;case 93:f--;break;case 123:d++;break;case 125:d--}return null==s.expression?s.expression=o.slice(0,l).trim():0!==u&&i(),y.put(e,s),s}},{"../cache":18,"../util":74}],63:[function(e,t,n){(function(t){function i(e,t){var n=O.length;return O[n]=t?e.replace(w,"\\n"):e,'"'+n+'"'}function r(e){var t=e.charAt(0),n=e.slice(1);return v.test(n)?e:(n=n.indexOf('"')>-1?n.replace(x,o):n,t+"scope."+n)}function o(e,t){return O[t]}function s(e,n){y.test(e)&&"production"!==t.env.NODE_ENV&&h.warn("Avoid using reserved keywords in expression: "+e),O.length=0;var s=e.replace(_,i).replace(b,"");s=(" "+s).replace(C,r).replace(x,o);var a=l(s);return a?{get:a,body:s,set:n?c(s):null}:void 0}function a(e){var t,n;return e.indexOf("[")<0?(n=e.split("."),n.raw=e,t=p.compileGetter(n)):(n=p.parse(e),t=n.get),{get:t,set:function(e,t){p.set(e,n,t)}}}function l(e){try{return new Function("scope","return "+e+";")}catch(n){"production"!==t.env.NODE_ENV&&h.warn("Invalid expression. Generated function body: "+e)}}function c(e){try{return new Function("scope","value",e+"=value;")}catch(n){"production"!==t.env.NODE_ENV&&h.warn("Invalid setter function body: "+e)}}function u(e){e.set||(e.set=c(e.body))}var h=e("../util"),p=e("./path"),d=e("../cache"),f=new d(1e3),m="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",v=new RegExp("^("+m.replace(/,/g,"\\b|")+"\\b)"),g="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,proctected,static,interface,private,public",y=new RegExp("^("+g.replace(/,/g,"\\b|")+"\\b)"),b=/\s/g,w=/\n/g,_=/[\{,]\s*[\w\$_]+\s*:|('[^']*'|"[^"]*")|new |typeof |void /g,x=/"(\d+)"/g,E=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,C=/[^\w$\.]([A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\])*)/g,k=/^(true|false)$/,O=[];n.parse=function(e,t){e=e.trim();var i=f.get(e);if(i)return t&&u(i),i;var r=n.isSimplePath(e)?a(e):s(e,t);return f.put(e,r),r},n.isSimplePath=function(e){return E.test(e)&&!k.test(e)&&"Math."!==e.slice(0,5)}}).call(this,e("_process"))},{"../cache":18,"../util":74,"./path":64,_process:2}],64:[function(e,t,n){(function(t){function i(e){if(void 0===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:case 48:return e;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return t>=97&&122>=t||t>=65&&90>=t?"ident":t>=49&&57>=t?"number":"else"}function r(e){function t(){var t=e[f+1];return m===b&&"'"===t||m===w&&'"'===t?(f++,r=t,v[u](),!0):void 0}var n,r,o,s,a,l,c,d=[],f=-1,m=p,v=[];for(v[h]=function(){void 0!==o&&(d.push(o),o=void 0)},v[u]=function(){void 0===o?o=r:o+=r};null!=m;)if(f++,n=e[f],"\\"!==n||!t()){if(s=i(n),c=k[m],a=c[s]||c["else"]||C,a===C)return;if(m=a[0],l=v[a[1]],l&&(r=a[2],r=void 0===r?n:"*"===r?r+n:r,l()),m===E)return d.raw=e,d}}function o(e){return c.test(e)?"."+e:+e===e>>>0?"["+e+"]":"*"===e.charAt(0)?"[o"+o(e.slice(1))+"]":'["'+e.replace(/"/g,'\\"')+'"]'}var s=e("../util"),a=e("../cache"),l=new a(1e3),c=n.identRE=/^[$_a-zA-Z]+[\w$]*$/,u=0,h=1,p=0,d=1,f=2,m=3,v=4,g=5,y=6,b=7,w=8,_=9,x=10,E=11,C=12,k=[];k[p]={ws:[p],ident:[m,u],"[":[v],eof:[E]},k[d]={ws:[d],".":[f],"[":[v],eof:[E]},k[f]={ws:[f],ident:[m,u]},k[m]={ident:[m,u],0:[m,u],number:[m,u],ws:[d,h],".":[f,h],"[":[v,h],eof:[E,h]},k[v]={ws:[v],0:[g,u],number:[y,u],"'":[b,u,""],'"':[w,u,""],ident:[_,u,"*"]},k[g]={ws:[x,h],"]":[d,h]},k[y]={0:[y,u],number:[y,u],ws:[x],"]":[d,h]},k[b]={"'":[x],eof:C,"else":[b,u]},k[w]={'"':[x],eof:C,"else":[w,u]},k[_]={ident:[_,u],0:[_,u],number:[_,u],ws:[x],"]":[d,h]},k[x]={ws:[x],"]":[d,h]},n.compileGetter=function(e){var t="return o"+e.map(o).join("");return new Function("o",t)},n.parse=function(e){var t=l.get(e);return t||(t=r(e),t&&(t.get=n.compileGetter(t),l.put(e,t))),t},n.get=function(e,t){return t=n.parse(t),t?t.get(e):void 0};var O;"production"!==t.env.NODE_ENV&&(O=function(e){s.warn('You are setting a non-existent path "'+e.raw+'" on a vm instance. Consider pre-initializing the property with the "data" option for more reliable reactivity and better performance.')}),n.set=function(e,i,r){var o=e;if("string"==typeof i&&(i=n.parse(i)),!i||!s.isObject(e))return!1;for(var a,l,c=0,u=i.length;u>c;c++)a=e,l=i[c],"*"===l.charAt(0)&&(l=o[l.slice(1)]),u-1>c?(e=e[l],s.isObject(e)||(e={},"production"!==t.env.NODE_ENV&&a._isVue&&O(i),s.set(a,l,e))):s.isArray(e)?e.$set(l,r):l in e?e[l]=r:("production"!==t.env.NODE_ENV&&e._isVue&&O(i),s.set(e,l,r));return!0}}).call(this,e("_process"))},{"../cache":18,"../util":74,_process:2}],65:[function(e,t,n){function i(e){return s.isTemplate(e)&&e.content instanceof DocumentFragment}function r(e){var t=l.get(e);if(t)return t;var n=document.createDocumentFragment(),i=e.match(h),r=p.test(e);if(i||r){var o=i&&i[1],s=u[o]||u._default,a=s[0],c=s[1],d=s[2],f=document.createElement("div");for(f.innerHTML=c+e.trim()+d;a--;)f=f.lastChild;for(var m;m=f.firstChild;)n.appendChild(m)}else n.appendChild(document.createTextNode(e));return l.put(e,n),n}function o(e){if(i(e))return s.trimNode(e.content),e.content;if("SCRIPT"===e.tagName)return r(e.textContent);for(var t,o=n.clone(e),a=document.createDocumentFragment();t=o.firstChild;)a.appendChild(t);return s.trimNode(a),a}var s=e("../util"),a=e("../cache"),l=new a(1e3),c=new a(1e3),u={_default:[0,"",""],legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"]};u.td=u.th=[3,"","
"],u.option=u.optgroup=[1,'"],u.thead=u.tbody=u.colgroup=u.caption=u.tfoot=[1,"","
"],u.g=u.defs=u.symbol=u.use=u.image=u.text=u.circle=u.ellipse=u.line=u.path=u.polygon=u.polyline=u.rect=[1,'',""];var h=/<([\w:]+)/,p=/&\w+;|&#\d+;|&#x[\dA-F]+;/,d=function(){if(s.inBrowser){var e=document.createElement("div");return e.innerHTML="",!e.cloneNode(!0).firstChild.innerHTML}return!1}(),f=function(){if(s.inBrowser){var e=document.createElement("textarea");return e.placeholder="t","t"===e.cloneNode(!0).value}return!1}();n.clone=function(e){if(!e.querySelectorAll)return e.cloneNode();var t,r,o,s=e.cloneNode(!0);if(d){var a=s;if(i(e)&&(e=e.content,a=s.content),r=e.querySelectorAll("template"),r.length)for(o=a.querySelectorAll("template"),t=o.length;t--;)o[t].parentNode.replaceChild(n.clone(r[t]),o[t])}if(f)if("TEXTAREA"===e.tagName)s.value=e.value;else if(r=e.querySelectorAll("textarea"),r.length)for(o=s.querySelectorAll("textarea"),t=o.length;t--;)o[t].value=r[t].value;return s},n.parse=function(e,t,i){var a,l;return e instanceof DocumentFragment?(s.trimNode(e),t?n.clone(e):e):("string"==typeof e?i||"#"!==e.charAt(0)?l=r(e):(l=c.get(e),l||(a=document.getElementById(e.slice(1)),a&&(l=o(a),c.put(e,l)))):e.nodeType&&(l=o(e)),l&&t?n.clone(l):l)}},{"../cache":18,"../util":74}],66:[function(e,t,n){function i(e){return e.replace(p,"\\$&")}function r(e,t){return e.tag?o(e.value,t):'"'+e.value+'"'}function o(e,t){if(d.test(e)){var n=h.parse(e);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+e+")"}return t?e:"("+e+")"}var s,a,l,c=e("../cache"),u=e("../config"),h=e("./directive"),p=/[-.*+?^${}()|[\]\/\\]/g;n.compileRegex=function(){var e=i(u.delimiters[0]),t=i(u.delimiters[1]),n=i(u.unsafeDelimiters[0]),r=i(u.unsafeDelimiters[1]);a=new RegExp(n+"(.+?)"+r+"|"+e+"(.+?)"+t,"g"),l=new RegExp("^"+n+".*"+r+"$"),s=new c(1e3)},n.parse=function(e){s||n.compileRegex();var t=s.get(e);if(t)return t;if(e=e.replace(/\n/g,""),!a.test(e))return null;for(var i,r,o,c,u,h,p=[],d=a.lastIndex=0;i=a.exec(e);)r=i.index,r>d&&p.push({value:e.slice(d,r)}),o=l.test(i[0]),c=o?i[1]:i[2],u=c.charCodeAt(0),h=42===u,c=h?c.slice(1):c,p.push({tag:!0,value:c.trim(),html:o,oneTime:h}),d=r+i[0].length;return d1?e.map(function(e){return r(e)}).join("+"):r(e[0],!0)};var d=/[^|]\|[^|]/},{"../cache":18,"../config":23,"./directive":62}],67:[function(e,t,n){var i=e("../util");n.append=function(e,t,n,i){r(e,1,function(){t.appendChild(e)},n,i)},n.before=function(e,t,n,o){r(e,1,function(){i.before(e,t)},n,o)},n.remove=function(e,t,n){r(e,-1,function(){i.remove(e)},t,n)};var r=n.apply=function(e,t,n,r,o){var s=e.__v_trans;if(!s||!s.hooks&&!i.transitionEndEvent||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(o&&o());var a=t>0?"enter":"leave";s[a](n,o)}},{"../util":74}],68:[function(e,t,n){function i(){for(var e=document.documentElement.offsetHeight,t=0;t1&&(this.pendingJsCb=o.cancellable(this[e+"Done"])),t.call(this.vm,this.el,this.pendingJsCb))},m.getCssTransitionType=function(e){if(!(!c||document.hidden||this.hooks&&this.hooks.css===!1||r(this.el))){var t=this.typeCache[e];if(t)return t;var n=this.el.style,i=window.getComputedStyle(this.el),o=n[h]||i[h];if(o&&"0s"!==o)t=d;else{var s=n[p]||i[p];s&&"0s"!==s&&(t=f)}return t&&(this.typeCache[e]=t),t}},m.setupCssCb=function(e,t){this.pendingCssEvent=e;var n=this,i=this.el,r=this.pendingCssCb=function(s){s.target===i&&(o.off(i,e,r),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&t&&t())};o.on(i,e,r)},t.exports=i},{"../util":74,"./queue":68}],70:[function(e,t,n){(function(t){function i(e){var t=s.attr(e,"is");return null!=t?{id:t}:(t=s.getBindAttr(e,"is"),null!=t?{id:t,dynamic:!0}:void 0)}function r(e){return e?e.charAt(0).toUpperCase()+e.slice(1):"custom type"}function o(e){return Object.prototype.toString.call(e).slice(8,-1)}var s=e("./index");n.commonTagRE=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/,n.checkComponent=function(e,r){var o=e.tagName.toLowerCase(),a=e.hasAttributes();if(n.commonTagRE.test(o)||"component"===o){if(a)return i(e)}else{if(s.resolveAsset(r,"components",o))return{id:o};var l=a&&i(e);if(l)return l;"production"!==t.env.NODE_ENV&&(o.indexOf("-")>-1||/HTMLUnknownElement/.test(e.toString())&&!/^(data|time|rtc|rb)$/.test(o))&&s.warn("Unknown custom element: <"+o+"> - did you register the component correctly?")}},n.initProp=function(e,t,i){if(n.assertProp(t,i)){var r=t.path;e[r]=e._data[r]=i}},n.assertProp=function(e,n){if(null===e.raw&&!e.required)return!0;var i,a=e.options,l=a.type,c=!0;if(l&&(l===String?(i="string",c=typeof n===i):l===Number?(i="number",c="number"==typeof n):l===Boolean?(i="boolean",c="boolean"==typeof n):l===Function?(i="function",c="function"==typeof n):l===Object?(i="object",c=s.isPlainObject(n)):l===Array?(i="array",c=s.isArray(n)):c=n instanceof l),!c)return"production"!==t.env.NODE_ENV&&s.warn("Invalid prop: type check failed for "+e.path+'="'+e.raw+'". Expected '+r(i)+", got "+o(n)+"."),!1;var u=a.validator;return u&&!u.call(null,n)?("production"!==t.env.NODE_ENV&&s.warn("Invalid prop: custom validator check failed for "+e.path+'="'+e.raw+'"'),!1):!0}}).call(this,e("_process"))},{"./index":74,_process:2}],71:[function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var i=e("../config"),r="undefined"!=typeof console;n.log=function(e){r&&i.debug&&console.log("[Vue info]: "+e)},n.warn=function(e,t){!r||i.silent&&!i.debug||(console.warn("[Vue warn]: "+e),i.debug&&console.warn((t||new Error("Warning Stack Trace")).stack))},n.assertAsset=function(e,t,i){e||n.warn("Failed to resolve "+t+": "+i)}}}).call(this,e("_process"))},{"../config":23,_process:2}],72:[function(e,t,n){(function(t){function i(e,t){t&&3===t.nodeType&&!t.data.trim()&&e.removeChild(t)}var r=e("./index"),o=e("../config"),s=e("../transition");n.query=function(e){if("string"==typeof e){var n=e;e=document.querySelector(e),e||"production"!==t.env.NODE_ENV&&r.warn("Cannot find element: "+n)}return e},n.inDoc=function(e){var t=document.documentElement,n=e&&e.parentNode;return t===e||t===n||!(!n||1!==n.nodeType||!t.contains(n))},n.attr=function(e,t){var n=e.getAttribute(t);return null!==n&&e.removeAttribute(t),n},n.getBindAttr=function(e,t){var i=n.attr(e,":"+t);return null===i&&(i=n.attr(e,"v-bind:"+t)),i},n.before=function(e,t){t.parentNode.insertBefore(e,t)},n.after=function(e,t){t.nextSibling?n.before(e,t.nextSibling):t.parentNode.appendChild(e)},n.remove=function(e){e.parentNode.removeChild(e)},n.prepend=function(e,t){t.firstChild?n.before(e,t.firstChild):t.appendChild(e)},n.replace=function(e,t){var n=e.parentNode;n&&n.replaceChild(t,e)},n.on=function(e,t,n){e.addEventListener(t,n)},n.off=function(e,t,n){e.removeEventListener(t,n)},n.addClass=function(e,t){if(e.classList)e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}},n.removeClass=function(e,t){if(e.classList)e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");e.setAttribute("class",n.trim())}e.className||e.removeAttribute("class")},n.extractContent=function(e,t){var i,r;if(n.isTemplate(e)&&e.content instanceof DocumentFragment&&(e=e.content),e.hasChildNodes())for(n.trimNode(e),r=t?document.createDocumentFragment():document.createElement("div");i=e.firstChild;)r.appendChild(i);return r},n.trimNode=function(e){i(e,e.firstChild),i(e,e.lastChild)},n.isTemplate=function(e){return e.tagName&&"template"===e.tagName.toLowerCase()},n.createAnchor=function(e,t){return o.debug?document.createComment(e):document.createTextNode(t?" ":"")};var a=/^v-ref:/;n.findRef=function(e){if(e.hasAttributes())for(var t=e.attributes,n=0,i=t.length;i>n;n++){var o=t[n].name;if(a.test(o))return e.removeAttribute(o),r.camelize(o.replace(a,""))}},n.mapNodeRange=function(e,t,n){for(var i;e!==t;)i=e.nextSibling,n(e),e=i;n(t)},n.removeNodeRange=function(e,t,i,r,o){function a(){if(c++,l&&c>=u.length){for(var e=0;e0,n.isAndroid=i&&navigator.userAgent.toLowerCase().indexOf("android")>0,i&&!n.isIE9){var r=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,o=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;n.transitionProp=r?"WebkitTransition":"transition",n.transitionEndEvent=r?"webkitTransitionEnd":"transitionend",n.animationProp=o?"WebkitAnimation":"animation",n.animationEndEvent=o?"webkitAnimationEnd":"animationend"}n.nextTick=function(){function e(){i=!1;var e=n.slice(0);n=[];for(var t=0;t1?e.apply(t,arguments):e.call(t,n):e.call(t)}},n.toArray=function(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i},n.extend=function(e,t){for(var n=Object.keys(t),i=n.length;i--;)e[n[i]]=t[n[i]];return e},n.isObject=function(e){return null!==e&&"object"==typeof e};var l=Object.prototype.toString,c="[object Object]";n.isPlainObject=function(e){return l.call(e)===c},n.isArray=Array.isArray,n.define=function(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})},n.debounce=function(e,t){var n,i,r,o,s,a=function(){var l=Date.now()-o;t>l&&l>=0?n=setTimeout(a,t-l):(n=null,s=e.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,o=Date.now(),n||(n=setTimeout(a,t)),s}},n.indexOf=function(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1},n.cancellable=function(e){var t=function(){return t.cancelled?void 0:e.apply(this,arguments)};return t.cancel=function(){t.cancelled=!0},t},n.looseEqual=function(e,t){return e==t||(n.isObject(e)&&n.isObject(t)?JSON.stringify(e)===JSON.stringify(t):!1)}},{}],76:[function(e,t,n){(function(t){function i(e,t){var n,r,o;for(n in t)r=e[n],o=t[n],e.hasOwnProperty(n)?l.isObject(r)&&l.isObject(o)&&i(r,o):l.set(e,n,o);return e}function r(e,t){var n=Object.create(e);return t?u(n,a(t)):n}function o(e){if(e.components)for(var n,i=e.components=a(e.components),r=Object.keys(i),o=0,s=r.length;s>o;o++){var c=r[o];l.commonTagRE.test(c)?"production"!==t.env.NODE_ENV&&l.warn("Do not use built-in HTML elements as component id: "+c):(n=i[c],l.isPlainObject(n)&&(i[c]=l.Vue.extend(n)))}}function s(e){var t,n=e.props;if(l.isArray(n))for(e.props={},t=n.length;t--;)e.props[n[t]]=null;else if(l.isPlainObject(n)){ -var i=Object.keys(n);for(t=i.length;t--;){var r=n[i[t]];"function"==typeof r&&(n[i[t]]={type:r})}}}function a(e){if(l.isArray(e)){for(var n,i={},r=e.length;r--;){n=e[r];var o="function"==typeof n?n.options&&n.options.name||n.id:n.name||n.id;o?i[o]=n:"production"!==t.env.NODE_ENV&&l.warn('Array-syntax assets must provide a "name" or "id" field.')}return i}return e}var l=e("./index"),c=e("../config"),u=l.extend,h=c.optionMergeStrategies=Object.create(null);h.data=function(e,n,r){return r?e||n?function(){var t="function"==typeof n?n.call(r):n,o="function"==typeof e?e.call(r):void 0;return t?i(t,o):o}:void 0:n?"function"!=typeof n?("production"!==t.env.NODE_ENV&&l.warn('The "data" option should be a function that returns a per-instance value in component definitions.'),e):e?function(){return i(n.call(this),e.call(this))}:n:e},h.el=function(e,n,i){if(!i&&n&&"function"!=typeof n)return void("production"!==t.env.NODE_ENV&&l.warn('The "el" option should be a function that returns a per-instance value in component definitions.'));var r=n||e;return i&&"function"==typeof r?r.call(i):r},h.init=h.created=h.ready=h.attached=h.detached=h.beforeCompile=h.compiled=h.beforeDestroy=h.destroyed=function(e,t){return t?e?e.concat(t):l.isArray(t)?t:[t]:e},h.paramAttributes=function(){"production"!==t.env.NODE_ENV&&l.warn('"paramAttributes" option has been deprecated in 0.12. Use "props" instead.')},c._assetTypes.forEach(function(e){h[e+"s"]=r}),h.watch=h.events=function(e,t){if(!t)return e;if(!e)return t;var n={};u(n,e);for(var i in t){var r=n[i],o=t[i];r&&!l.isArray(r)&&(r=[r]),n[i]=r?r.concat(o):[o]}return n},h.props=h.methods=h.computed=function(e,t){if(!t)return e;if(!e)return t;var n=Object.create(null);return u(n,e),u(n,t),n};var p=function(e,t){return void 0===t?e:t};n.mergeOptions=function d(e,t,n){function i(i){var r=h[i]||p;a[i]=r(e[i],t[i],n,i)}o(t),s(t);var r,a={};if(t.mixins)for(var l=0,c=t.mixins.length;c>l;l++)e=d(e,t.mixins[l],n);for(r in e)i(r);for(r in t)e.hasOwnProperty(r)||i(r);return a},n.resolveAsset=function(e,t,n){var i,r=e[t];return r[n]||r[i=l.camelize(n)]||r[i.charAt(0).toUpperCase()+i.slice(1)]}}).call(this,e("_process"))},{"../config":23,"./index":74,_process:2}],77:[function(e,t,n){(function(n){function i(e){this._init(e)}var r=e("./util"),o=r.extend;o(i,e("./api/global")),i.options={replace:!0,directives:e("./directives/public"),elementDirectives:e("./directives/element"),filters:e("./filters"),transitions:{},components:{},partials:{}};var s=i.prototype;Object.defineProperty(s,"$data",{get:function(){return this._data},set:function(e){e!==this._data&&this._setData(e)}}),o(s,e("./instance/init")),o(s,e("./instance/events")),o(s,e("./instance/state")),o(s,e("./instance/lifecycle")),o(s,e("./instance/misc")),o(s,e("./api/data")),o(s,e("./api/dom")),o(s,e("./api/events")),o(s,e("./api/lifecycle")),i.version="1.0.7",t.exports=r.Vue=i,"production"!==n.env.NODE_ENV&&r.inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("init",i)}).call(this,e("_process"))},{"./api/data":12,"./api/dom":13,"./api/events":14,"./api/global":15,"./api/lifecycle":16,"./directives/element":25,"./directives/public":40,"./filters":51,"./instance/events":54,"./instance/init":55,"./instance/lifecycle":56,"./instance/misc":57,"./instance/state":58,"./util":74,_process:2}],78:[function(e,t,n){(function(n){function i(e,t,n,i){i&&o.extend(this,i);var r="function"==typeof t;if(this.vm=e,e._watchers.push(this),this.expression=r?t.toString():t,this.cb=n,this.id=++u,this.active=!0,this.dirty=this.lazy,this.deps=Object.create(null),this.newDeps=null,this.prevError=null,r)this.getter=t,this.setter=void 0;else{var s=l.parse(t,this.twoWay);this.getter=s.get,this.setter=s.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function r(e){var t,n;if(o.isArray(e))for(t=e.length;t--;)r(e[t]);else if(o.isObject(e))for(n=Object.keys(e),t=n.length;t--;)r(e[n[t]])}var o=e("./util"),s=e("./config"),a=e("./observer/dep"),l=e("./parsers/expression"),c=e("./batcher"),u=0;i.prototype.addDep=function(e){var t=e.id;this.newDeps[t]||(this.newDeps[t]=e,this.deps[t]||(this.deps[t]=e,e.addSub(this)))},i.prototype.get=function(){this.beforeGet();var e,t=this.scope||this.vm;try{e=this.getter.call(t,t)}catch(i){"production"!==n.env.NODE_ENV&&s.warnExpressionErrors&&o.warn('Error when evaluating expression "'+this.expression+'". '+(s.debug?"":"Turn on debug mode to see stack trace."),i)}return this.deep&&r(e),this.preProcess&&(e=this.preProcess(e)),this.filters&&(e=t._applyFilters(e,null,this.filters,!1)),this.postProcess&&(e=this.postProcess(e)),this.afterGet(),e},i.prototype.set=function(e){var t=this.scope||this.vm;this.filters&&(e=t._applyFilters(e,this.value,this.filters,!0));try{this.setter.call(t,t,e)}catch(i){"production"!==n.env.NODE_ENV&&s.warnExpressionErrors&&o.warn('Error when evaluating setter "'+this.expression+'"',i)}var r=t.$forContext;"production"!==n.env.NODE_ENV&&r&&r.filters&&new RegExp(r.alias+"\\b").test(this.expression)&&o.warn("It seems you are using two-way binding on a v-for alias ("+this.expression+"), and the v-for has filters. This will not work properly. Either remove the filters or use an array of objects and bind to object properties instead."),r&&r.alias===this.expression&&!r.filters&&(t.$key?r.rawValue[t.$key]=e:r.rawValue.$set(t.$index,e))},i.prototype.beforeGet=function(){a.target=this,this.newDeps=Object.create(null)},i.prototype.afterGet=function(){a.target=null;for(var e=Object.keys(this.deps),t=e.length;t--;){var n=e[t];this.newDeps[n]||this.deps[n].removeSub(this)}this.deps=this.newDeps},i.prototype.update=function(e){this.lazy?this.dirty=!0:this.sync||!s.async?this.run():(this.shallow=this.queued?e?this.shallow:!1:!!e,this.queued=!0,"production"!==n.env.NODE_ENV&&s.debug&&(this.prevError=new Error("[vue] async stack trace")),c.push(this))},i.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||(o.isArray(e)||this.deep)&&!this.shallow){var t=this.value;this.value=e;var i=this.prevError;if("production"!==n.env.NODE_ENV&&s.debug&&i){this.prevError=null;try{this.cb.call(this.vm,e,t)}catch(r){throw o.nextTick(function(){throw i},0),r}}else this.cb.call(this.vm,e,t)}this.queued=this.shallow=!1}},i.prototype.evaluate=function(){var e=a.target;this.value=this.get(),this.dirty=!1,a.target=e},i.prototype.depend=function(){for(var e=Object.keys(this.deps),t=e.length;t--;)this.deps[e[t]].depend()},i.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._watchers.$remove(this);for(var e=Object.keys(this.deps),t=e.length;t--;)this.deps[e[t]].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}},t.exports=i}).call(this,e("_process"))},{"./batcher":17,"./config":23,"./observer/dep":60,"./parsers/expression":63,"./util":74,_process:2}],79:[function(e,t,n){!function(e,n){"use strict";var i,r,o,s=e,a=s.document,l=s.navigator,c=s.setTimeout,u=s.clearTimeout,h=s.setInterval,p=s.clearInterval,d=s.getComputedStyle,f=s.encodeURIComponent,m=s.ActiveXObject,v=s.Error,g=s.Number.parseInt||s.parseInt,y=s.Number.parseFloat||s.parseFloat,b=s.Number.isNaN||s.isNaN,w=s.Date.now,_=s.Object.keys,x=s.Object.defineProperty,E=s.Object.prototype.hasOwnProperty,C=s.Array.prototype.slice,k=function(){var e=function(e){return e};if("function"==typeof s.wrap&&"function"==typeof s.unwrap)try{var t=a.createElement("div"),n=s.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=s.unwrap)}catch(i){}return e}(),O=function(e){return C.call(e,0)},A=function(){var e,t,i,r,o,s,a=O(arguments),l=a[0]||{};for(e=1,t=a.length;t>e;e++)if(null!=(i=a[e]))for(r in i)E.call(i,r)&&(o=l[r],s=i[r],l!==s&&s!==n&&(l[r]=s));return l},N=function(e){var t,n,i,r;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,i=e.length;i>n;n++)E.call(e,n)&&(t[n]=N(e[n]));else{t={};for(r in e)E.call(e,r)&&(t[r]=N(e[r]))}return t},T=function(e,t){for(var n={},i=0,r=t.length;r>i;i++)t[i]in e&&(n[t[i]]=e[t[i]]);return n},F=function(e,t){var n={};for(var i in e)-1===t.indexOf(i)&&(n[i]=e[i]);return n},D=function(e){if(e)for(var t in e)E.call(e,t)&&delete e[t];return e},$=function(e,t){if(e&&1===e.nodeType&&e.ownerDocument&&t&&(1===t.nodeType&&t.ownerDocument&&t.ownerDocument===e.ownerDocument||9===t.nodeType&&!t.ownerDocument&&t===e.ownerDocument))do{if(e===t)return!0;e=e.parentNode}while(e);return!1},j=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},S=function(e){var t,n;return"string"==typeof e&&e&&(n=e.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]?t=n[1]:(n=e.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]&&(t=n[1]))),t},P=function(){var e,t;try{throw new v}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||S(t.stack)),e},I=function(){var e,t,i;if(a.currentScript&&(e=a.currentScript.src))return e;if(t=a.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(i=t.length;i--;)if("interactive"===t[i].readyState&&(e=t[i].src))return e;return"loading"===a.readyState&&(e=t[t.length-1].src)?e:(e=P())?e:n},L=function(){var e,t,i,r=a.getElementsByTagName("script");for(e=r.length;e--;){if(!(i=r[e].src)){t=null;break}if(i=j(i),null==t)t=i;else if(t!==i){t=null;break}}return t||n},z=function(){var e=j(I())||L()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),V={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},M="11.0.0",H={},U={},B=null,q=0,W=0,Q={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},Z=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],X=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],G=new RegExp("^flash-("+X.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),Y=new RegExp("^flash-("+X.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J={swfPath:z(),trustedDomains:e.location.host?[e.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},K=function(e){if("object"==typeof e&&null!==e)for(var t in e)if(E.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))J[t]=e[t];else if(null==V.bridge)if("containerId"===t||"swfObjectId"===t){if(!fe(e[t]))throw new Error("The specified `"+t+"` value is not valid as an HTML4 Element ID");J[t]=e[t]}else J[t]=e[t];{if("string"!=typeof e||!e)return N(J);if(E.call(J,e))return J[e]}},ee=function(){return We(),{browser:T(l,["userAgent","platform","appName"]),flash:F(V,["bridge"]),zeroclipboard:{version:Ze.version,config:Ze.config()}}},te=function(){return!!(V.disabled||V.outdated||V.sandboxed||V.unavailable||V.degraded||V.deactivated)},ne=function(e,t){var r,o,s,a={};if("string"==typeof e&&e)s=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(r in e)E.call(e,r)&&"string"==typeof r&&r&&"function"==typeof e[r]&&Ze.on(r,e[r]);if(s&&s.length){for(r=0,o=s.length;o>r;r++)e=s[r].replace(/^on/,""),a[e]=!0,H[e]||(H[e]=[]),H[e].push(t);if(a.ready&&V.ready&&Ze.emit({type:"ready"}),a.error){for(r=0,o=X.length;o>r;r++)if(V[X[r].replace(/^flash-/,"")]===!0){Ze.emit({type:"error",name:X[r]});break}i!==n&&Ze.version!==i&&Ze.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:i})}}return Ze},ie=function(e,t){var n,i,r,o,s;if(0===arguments.length)o=_(H);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)E.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ze.off(n,e[n]);if(o&&o.length)for(n=0,i=o.length;i>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=H[e],s&&s.length)if(t)for(r=s.indexOf(t);-1!==r;)s.splice(r,1),r=s.indexOf(t,r);else s.length=0;return Ze},re=function(e){var t;return t="string"==typeof e&&e?N(H[e])||null:N(H)},oe=function(e){var t,n,i;return e=me(e),e&&!xe(e)?"ready"===e.type&&V.overdue===!0?Ze.emit({type:"error",name:"flash-overdue"}):(t=A({},e),we.call(this,t),"copy"===e.type&&(i=Fe(U),n=i.data,B=i.formatMap),n):void 0},se=function(){var e=V.sandboxed;if(We(),"boolean"!=typeof V.ready&&(V.ready=!1),V.sandboxed!==e&&V.sandboxed===!0)V.ready=!1,Ze.emit({type:"error",name:"flash-sandboxed"});else if(!Ze.isFlashUnusable()&&null===V.bridge){var t=J.flashLoadTimeout;"number"==typeof t&&t>=0&&(q=c(function(){"boolean"!=typeof V.deactivated&&(V.deactivated=!0),V.deactivated===!0&&Ze.emit({type:"error",name:"flash-deactivated"})},t)),V.overdue=!1,Ne()}},ae=function(){Ze.clearData(),Ze.blur(),Ze.emit("destroy"),Te(),Ze.off()},le=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ze.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var i in n)"string"==typeof i&&i&&E.call(n,i)&&"string"==typeof n[i]&&n[i]&&(U[i]=n[i])},ce=function(e){"undefined"==typeof e?(D(U),B=null):"string"==typeof e&&E.call(U,e)&&delete U[e]},ue=function(e){return"undefined"==typeof e?N(U):"string"==typeof e&&E.call(U,e)?U[e]:void 0},he=function(e){if(e&&1===e.nodeType){r&&(ze(r,J.activeClass),r!==e&&ze(r,J.hoverClass)),r=e,Le(e,J.hoverClass);var t=e.getAttribute("title")||J.title;if("string"==typeof t&&t){var n=Ae(V.bridge);n&&n.setAttribute("title",t)}var i=J.forceHandCursor===!0||"pointer"===Re(e,"cursor");Be(i),Ue()}},pe=function(){var e=Ae(V.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),r&&(ze(r,J.hoverClass),ze(r,J.activeClass),r=null)},de=function(){return r||null},fe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),A(e,{type:t,target:e.target||r||null,relatedTarget:e.relatedTarget||null,currentTarget:V&&V.bridge||null,timeStamp:e.timeStamp||w()||null});var n=Q[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&A(e,{target:null,version:V.version}),"error"===e.type&&(G.test(e.name)&&A(e,{target:null,minimumVersion:M}),Y.test(e.name)&&A(e,{version:V.version})),"copy"===e.type&&(e.clipboardData={setData:Ze.setData,clearData:Ze.clearData}),"aftercopy"===e.type&&(e=De(e,B)),e.target&&!e.relatedTarget&&(e.relatedTarget=ve(e.target)),ge(e)}},ve=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?a.getElementById(t):null},ge=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,i="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,r="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=Ve(t),l=s.screenLeft||s.screenX||0,c=s.screenTop||s.screenY||0,u=a.body.scrollLeft+a.documentElement.scrollLeft,h=a.body.scrollTop+a.documentElement.scrollTop,p=o.left+("number"==typeof e._stageX?e._stageX:0),d=o.top+("number"==typeof e._stageY?e._stageY:0),f=p-u,m=d-h,v=l+f,g=c+m,y="number"==typeof e.movementX?e.movementX:0,b="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,A(e,{srcElement:t,fromElement:i,toElement:r,screenX:v,screenY:g,pageX:p,pageY:d,clientX:f,clientY:m,x:f,y:m,movementX:y,movementY:b,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},ye=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},be=function(e,t,n,i){i?c(function(){e.apply(t,n)},0):e.apply(t,n)},we=function(e){if("object"==typeof e&&e&&e.type){var t=ye(e),n=H["*"]||[],i=H[e.type]||[],r=n.concat(i);if(r&&r.length){var o,a,l,c,u,h=this;for(o=0,a=r.length;a>o;o++)l=r[o],c=h,"string"==typeof l&&"function"==typeof s[l]&&(l=s[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(u=A({},e),be(l,c,[u],t))}return this}},_e=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==Z.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||r||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var s="flash-sandboxed"===e.name||_e(e);"boolean"==typeof s&&(V.sandboxed=s),-1!==X.indexOf(e.name)?A(V,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,unavailable:"flash-unavailable"===e.name,degraded:"flash-degraded"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1}):"version-mismatch"===e.name&&(i=e.swfVersion,A(V,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),He();break;case"ready":i=e.swfVersion;var a=V.deactivated===!0;A(V,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:a,ready:!a}),He();break;case"beforecopy":o=t;break;case"copy":var l,c,u=e.relatedTarget;!U["text/html"]&&!U["text/plain"]&&u&&(c=u.value||u.outerHTML||u.innerHTML)&&(l=u.value||u.textContent||u.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l),c!==l&&e.clipboardData.setData("text/html",c)):!U["text/plain"]&&e.target&&(l=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l));break;case"aftercopy":Ee(e),Ze.clearData(),t&&t!==Ie()&&t.focus&&t.focus();break;case"_mouseover":Ze.focus(t),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!$(e.relatedTarget,t)&&Ce(A({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(A({},e,{type:"mouseover"})));break;case"_mouseout":Ze.blur(),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!$(e.relatedTarget,t)&&Ce(A({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(A({},e,{type:"mouseout"})));break;case"_mousedown":Le(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_mouseup":ze(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_click":o=null,J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_mousemove":J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},Ee=function(e){if(e.errors&&e.errors.length>0){var t=N(e);A(t,{type:"error",name:"clipboard-error"}),delete t.success,c(function(){Ze.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,i=n&&n.ownerDocument||a,r={view:i.defaultView||s,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:i.createEvent?0:1},o=A(r,e);n&&i.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=i.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},ke=function(){var e=J.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=J.swfObjectId+"_fallbackContent";W=h(function(){var e=a.getElementById(n);Me(e)&&(He(),V.deactivated=null,Ze.emit({type:"error",name:"swf-not-found"}))},t)}},Oe=function(){var e=a.createElement("div");return e.id=J.containerId,e.className=J.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+qe(J.zIndex),e},Ae=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},Ne=function(){var e,t=V.bridge,n=Ae(t);if(!t){var i=Pe(s.location.host,J),r="never"===i?"none":"all",o=je(A({jsVersion:Ze.version},J)),l=J.swfPath+$e(J.swfPath,J);n=Oe();var c=a.createElement("div");n.appendChild(c),a.body.appendChild(n);var u=a.createElement("div"),h="activex"===V.pluginType;u.innerHTML='"+(h?'':"")+'
 
',t=u.firstChild,u=null,k(t).ZeroClipboard=Ze,n.replaceChild(t,c),ke()}return t||(t=a[J.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),V.bridge=t||null,t},Te=function(){var e=V.bridge;if(e){var t=Ae(e);t&&("activex"===V.pluginType&&"readyState"in e?(e.style.display="none",function r(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else c(r,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),He(),V.ready=null,V.bridge=null,V.deactivated=null,i=n}},Fe=function(e){var t={},n={};if("object"==typeof e&&e){for(var i in e)if(i&&E.call(e,i)&&"string"==typeof e[i]&&e[i])switch(i.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[i],n.text=i;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[i],n.html=i;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[i],n.rtf=i}return{data:t,formatMap:n}}},De=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var i in e)if(E.call(e,i))if("errors"===i){n[i]=e[i]?e[i].slice():[];for(var r=0,o=n[i].length;o>r;r++)n[i][r].format=t[n[i][r].format]}else if("success"!==i&&"data"!==i)n[i]=e[i];else{n[i]={};var s=e[i];for(var a in s)a&&E.call(s,a)&&E.call(t,a)&&(n[i][t[a]]=s[a])}return n},$e=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+w():""},je=function(e){var t,n,i,r,o="",a=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?r=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(r=e.trustedDomains)),r&&r.length)for(t=0,n=r.length;n>t;t++)if(E.call(r,t)&&r[t]&&"string"==typeof r[t]){if(i=Se(r[t]),!i)continue;if("*"===i){a.length=0,a.push(i);break}a.push.apply(a,[i,"//"+i,s.location.protocol+"//"+i])}return a.length&&(o+="trustedOrigins="+f(a.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+f(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+f(e.jsVersion)),o},Se=function(e){if(null==e||""===e)return null;if(e=e.replace(/^\s+|\s+$/g,""),""===e)return null;var t=e.indexOf("//");e=-1===t?e:e.slice(t+2);var n=e.indexOf("/");return e=-1===n?e:-1===t||0===n?null:e.slice(0,n),e&&".swf"===e.slice(-4).toLowerCase()?null:e||null},Pe=function(){var e=function(e){var t,n,i,r=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return r;for(t=0,n=e.length;n>t;t++)if(E.call(e,t)&&(i=Se(e[t]))){if("*"===i){r.length=0,r.push("*");break}-1===r.indexOf(i)&&r.push(i)}return r};return function(t,n){var i=Se(n.swfPath);null===i&&(i=t);var r=e(n.trustedDomains),o=r.length;if(o>0){if(1===o&&"*"===r[0])return"always";if(-1!==r.indexOf(t))return 1===o&&t===i?"sameDomain":"always"}return"never"}}(),Ie=function(){try{return a.activeElement}catch(e){return null}},Le=function(e,t){var n,i,r,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,i=o.length;i>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(r=" "+e.className+" ",n=0,i=o.length;i>n;n++)-1===r.indexOf(" "+o[n]+" ")&&(r+=o[n]+" ");e.className=r.replace(/^\s+|\s+$/g,"")}return e},ze=function(e,t){var n,i,r,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList&&e.classList.length>0)for(n=0,i=o.length;i>n;n++)e.classList.remove(o[n]);else if(e.className){for(r=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,i=o.length;i>n;n++)r=r.replace(" "+o[n]+" "," ");e.className=r.replace(/^\s+|\s+$/g,"")}return e},Re=function(e,t){var n=d(e,null).getPropertyValue(t);return"cursor"!==t||n&&"auto"!==n||"A"!==e.nodeName?n:"pointer"},Ve=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),i=s.pageXOffset,r=s.pageYOffset,o=a.documentElement.clientLeft||0,l=a.documentElement.clientTop||0,c=0,u=0;if("relative"===Re(a.body,"position")){var h=a.body.getBoundingClientRect(),p=a.documentElement.getBoundingClientRect();c=h.left-p.left||0,u=h.top-p.top||0}t.left=n.left+i-o-c,t.top=n.top+r-l-u,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Me=function(e){if(!e)return!1;var t=d(e,null),n=y(t.height)>0,i=y(t.width)>0,r=y(t.top)>=0,o=y(t.left)>=0,s=n&&i&&r&&o,a=s?null:Ve(e),l="none"!==t.display&&"collapse"!==t.visibility&&(s||!!a&&(n||a.height>0)&&(i||a.width>0)&&(r||a.top>=0)&&(o||a.left>=0));return l},He=function(){u(q),q=0,p(W),W=0},Ue=function(){var e;if(r&&(e=Ae(V.bridge))){var t=Ve(r);A(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+qe(J.zIndex)})}},Be=function(e){V.ready===!0&&(V.bridge&&"function"==typeof V.bridge.setHandCursor?V.bridge.setHandCursor(e):V.ready=!1)},qe=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||b(e)?"string"==typeof e&&(t=qe(g(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,i,r,o=V.sandboxed,s=null;if(t=t===!0,R===!1)s=!1;else{try{i=e.frameElement||null}catch(a){r={name:a.name,message:a.message}}if(i&&1===i.nodeType&&"IFRAME"===i.nodeName)try{s=i.hasAttribute("sandbox")}catch(a){s=null}else{try{n=document.domain||null}catch(a){n=null}(null===n||r&&"SecurityError"===r.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(r.message.toLowerCase()))&&(s=!0)}}return V.sandboxed=s,o===s||t||Qe(m),s},Qe=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function i(e){e&&(a=!0,e.version&&(h=t(e.version)),!h&&e.description&&(h=t(e.description)),e.filename&&(u=n(e.filename)))}var r,o,s,a=!1,c=!1,u=!1,h="";if(l.plugins&&l.plugins.length)r=l.plugins["Shockwave Flash"],i(r),l.plugins["Shockwave Flash 2.0"]&&(a=!0,h="2.0.0.11");else if(l.mimeTypes&&l.mimeTypes.length)s=l.mimeTypes["application/x-shockwave-flash"],r=s&&s.enabledPlugin,i(r);else if("undefined"!=typeof e){c=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),a=!0,h=t(o.GetVariable("$version"))}catch(p){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),a=!0,h="6.0.21"}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash"),a=!0,h=t(o.GetVariable("$version"))}catch(f){c=!1}}}}V.disabled=a!==!0,V.outdated=h&&y(h)r;r++)e=s[r].replace(/^on/,""),a[e]=!0,c[e]||(c[e]=[]),c[e].push(t);if(a.ready&&V.ready&&this.emit({type:"ready",client:this}),a.error){for(r=0,o=X.length;o>r;r++)if(V[X[r].replace(/^flash-/,"")]){this.emit({type:"error",name:X[r],client:this});break}i!==n&&Ze.version!==i&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:i})}}return this},nt=function(e,t){var n,i,r,o,s,a=Ge[this.id],l=a&&a.handlers;if(!l)return this;if(0===arguments.length)o=_(l);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)E.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,i=o.length;i>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=l[e],s&&s.length)if(t)for(r=s.indexOf(t);-1!==r;)s.splice(r,1),r=s.indexOf(t,r);else s.length=0;return this},it=function(e){var t=null,n=Ge[this.id]&&Ge[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:N(n)),t},rt=function(e){if(ct.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=A({},e));var t=A({},me(e),{client:this});ut.call(this,t)}return this},ot=function(e){if(!Ge[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance"); -e=ht(e);for(var t=0;t0,r=!e.target||i&&-1!==n.indexOf(e.target),o=e.relatedTarget&&i&&-1!==n.indexOf(e.relatedTarget),s=e.client&&e.client===this;return t&&(r||o||s)?!0:!1},ut=function(e){var t=Ge[this.id];if("object"==typeof e&&e&&e.type&&t){var n=ye(e),i=t&&t.handlers["*"]||[],r=t&&t.handlers[e.type]||[],o=i.concat(r);if(o&&o.length){var a,l,c,u,h,p=this;for(a=0,l=o.length;l>a;a++)c=o[a],u=p,"string"==typeof c&&"function"==typeof s[c]&&(c=s[c]),"object"==typeof c&&c&&"function"==typeof c.handleEvent&&(u=c,c=c.handleEvent),"function"==typeof c&&(h=A({},e),be(c,u,[h],n))}}},ht=function(e){return"string"==typeof e&&(e=[]),"number"!=typeof e.length?[e]:e},pt=function(e){if(e&&1===e.nodeType){var t=function(e){(e||(e=s.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=s.event))&&(t(n),Ze.focus(e))};e.addEventListener("mouseover",n,!1),e.addEventListener("mouseout",t,!1),e.addEventListener("mouseenter",t,!1),e.addEventListener("mouseleave",t,!1),e.addEventListener("mousemove",t,!1),Ke[e.zcClippingId]={mouseover:n,mouseout:t,mouseenter:t,mouseleave:t,mousemove:t}}},dt=function(e){if(e&&1===e.nodeType){var t=Ke[e.zcClippingId];if("object"==typeof t&&t){for(var n,i,r=["move","leave","enter","out","over"],o=0,s=r.length;s>o;o++)n="mouse"+r[o],i=t[n],"function"==typeof i&&e.removeEventListener(n,i,!1);delete Ke[e.zcClippingId]}}};Ze._createClient=function(){et.apply(this,O(arguments))},Ze.prototype.on=function(){return tt.apply(this,O(arguments))},Ze.prototype.off=function(){return nt.apply(this,O(arguments))},Ze.prototype.handlers=function(){return it.apply(this,O(arguments))},Ze.prototype.emit=function(){return rt.apply(this,O(arguments))},Ze.prototype.clip=function(){return ot.apply(this,O(arguments))},Ze.prototype.unclip=function(){return st.apply(this,O(arguments))},Ze.prototype.elements=function(){return at.apply(this,O(arguments))},Ze.prototype.destroy=function(){return lt.apply(this,O(arguments))},Ze.prototype.setText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/plain",e),this},Ze.prototype.setHtml=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/html",e),this},Ze.prototype.setRichText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("application/rtf",e),this},Ze.prototype.setData=function(){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData.apply(this,O(arguments)),this},Ze.prototype.clearData=function(){if(!Ge[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.clearData.apply(this,O(arguments)),this},Ze.prototype.getData=function(){if(!Ge[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.getData.apply(this,O(arguments))},"function"==typeof define&&define.amd?define(function(){return Ze}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ze:e.ZeroClipboard=Ze}(function(){return this||window}())},{}],80:[function(e,t,n){"use strict";var i=e("dropzone");t.exports={data:function(){return{images:[],hasMore:!1,page:0,cClickTime:0,selectedImage:!1,dependantPages:!1,deleteForm:{},token:document.querySelector("meta[name=token]").getAttribute("content"),dataLoaded:!1}},props:{imageType:{type:String,required:!0}},created:function(){window.ImageManager=this},ready:function(){this.setupDropZone()},methods:{fetchData:function(){var e=this;this.$http.get("/images/"+e.imageType+"/all/"+e.page,function(t){e.images=e.images.concat(t.images),e.hasMore=t.hasMore,e.page++})},setupDropZone:function(){var e=this;new i(e.$els.dropZone,{url:"/images/"+e.imageType+"/upload",init:function(){var t=this;this.on("sending",function(t,n,i){i.append("_token",e.token)}),this.on("success",function(n,i){e.images.unshift(i),$(n.previewElement).fadeOut(400,function(){t.removeFile(n)})}),this.on("error",function(e,t,n){t.file&&$(e.previewElement).find("[data-dz-errormessage]").text(t.file[0]),console.log(t)})}})},returnCallback:function(e){this.callback(e)},imageClick:function(e){var t=380,n=(new Date).getTime(),i=n-this.cClickTime;0!==this.cClickTime&&t>i&&this.selectedImage===e?(this.callback&&this.returnCallback(e),this.hide()):(this.selectedImage=this.selectedImage===e?!1:e,this.dependantPages=!1),this.cClickTime=n},selectButtonClick:function(){this.callback&&this.returnCallback(this.selectedImage),this.hide()},show:function(e){this.callback=e,this.$els.overlay.style.display="block",this.dataLoaded||(this.fetchData(this.page),this.dataLoaded=!0)},overlayClick:function(e){"overlay"===e.target.className&&this.hide()},hide:function(){this.$els.overlay.style.display="none"},saveImageDetails:function(e){e.preventDefault();var t=this;t.selectedImage._token=t.token;var n=$(t.$els.imageForm);$.ajax("/images/update/"+t.selectedImage.id,{method:"PUT",data:t.selectedImage}).done(function(){n.showSuccess("Image name updated")}).fail(function(e){n.showFailure(e.responseJSON)})},deleteImage:function(e){e.preventDefault();var t=this;t.deleteForm.force=t.dependantPages!==!1,t.deleteForm._token=t.token,$.ajax("/images/"+t.selectedImage.id,{method:"DELETE",data:t.deleteForm}).done(function(){t.images.splice(t.images.indexOf(t.selectedImage),1),t.selectedImage=!1,$(t.$els.imageTitle).showSuccess("Image Deleted")}).fail(function(e,n){400===e.status&&(t.dependantPages=e.responseJSON)})}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n
\n
\n
\n
\n \n
\n
Load More
\n
\n
\n \n
\n

Images

\n
\n
\n
Drop files or click here to upload
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n

\n This image is used in the pages below, Click delete again to confirm you want to delete\n this image.\n

\n \n
\n\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-manager.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{dropzone:1,vue:77,"vue-hot-reload-api":3}],81:[function(e,t,n){"use strict";t.exports={props:{currentImage:{required:!0,type:String},currentId:{required:!1,"default":"false",type:String},name:{required:!0,type:String},defaultImage:{required:!0,type:String},imageClass:{required:!0,type:String},resizeWidth:{type:String},resizeHeight:{type:String},resizeCrop:{type:Boolean},showRemove:{type:Boolean,"default":"true"}},data:function(){return{image:this.currentImage,value:!1}},compiled:function(){this.value="false"===this.currentId?this.currentImage:this.currentId},methods:{setCurrentValue:function(e,t){this.image=t,this.value="false"===this.currentId?t:e.id},showImageManager:function(e){var t=this;ImageManager.show(function(e){t.updateImageFromModel(e)})},reset:function(){this.setCurrentValue({id:0},this.defaultImage)},remove:function(){this.image="none"},updateImageFromModel:function(e){var t=this,n=t.resizeWidth&&t.resizeHeight;if(!n)return void t.setCurrentValue(e,e.url);var i=t.resizeCrop?"true":"false",r="/images/thumb/"+e.id+"/"+t.resizeWidth+"/"+t.resizeHeight+"/"+i;t.$http.get(r,function(n){t.setCurrentValue(e,n.url)})}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n Image Preview\n Image Preview\n
\n \n
\n | \n \n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-picker.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],82:[function(e,t,n){"use strict";t.exports={props:["name","value"],data:function(){return{isActive:1==this.value&&"false"!=this.value}},ready:function(){this.value=1==this.value&&"false"!=this.value?"true":"false"},methods:{"switch":function(){this.isActive=!this.isActive,this.value=this.isActive?"true":"false"}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n \n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/toggle-switch.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],83:[function(e,t,n){"use strict";function i(e){return null!==document.querySelector(e)}if(window.ZeroClipboard=e("zeroclipboard"),window.ZeroClipboard.config({swfPath:"/ZeroClipboard.swf"}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$("[data-dropdown]").dropDown(),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),i("#html-editor")){var r=e("./pages/page-form");tinymce.init(r)}var o=e("vue");o.use(e("vue-resource")),o.component("image-manager",e("./components/image-manager.vue")),o.component("image-picker",e("./components/image-picker.vue")),o.component("toggle-switch",e("./components/toggle-switch.vue")),i("#book-dashboard")&&new o(e("./pages/book-show"));new o({el:"#app"})},{"./components/image-manager.vue":80,"./components/image-picker.vue":81,"./components/toggle-switch.vue":82,"./pages/book-show":85,"./pages/page-form":86,vue:77,"vue-resource":5,zeroclipboard:79}],84:[function(e,t,n){"use strict";jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),jQuery.fn.showSuccess=function(e){var t=$(this),n=$('");t.after(n),n.slideDown(400,function(){setTimeout(function(){n.slideUp(400,function(){n.remove()})},2e3)})},jQuery.fn.showFailure=function(e){var t=$(this);$.each(e,function(e,n){var i=t.find('[name="'+e+'"]').last(),r=$('");i.after(r),r.slideDown(400,function(){setTimeout(function(){r.slideUp(400,function(){r.remove()})},2e3)})})},jQuery.fn.submitForm=function(){$(this).closest("form").submit()},jQuery.fn.dropDown=function(){var e=$(this),t=e.find("ul");e.find("[data-dropdown-toggle]").on("click",function(){t.show().addClass("anim menuIn"),e.mouseleave(function(){t.hide(),t.removeClass("anim menuIn")})})}},{}],85:[function(e,t,n){"use strict";t.exports={el:"#book-dashboard",data:{searching:!1,searchTerm:"",searchResults:""},methods:{searchBook:function(e){e.preventDefault();var t=this.searchTerm;if(0!=t.length){this.searching=!0,this.searchResults="";var n=this.$els.form.getAttribute("action");n+="?term="+encodeURIComponent(t),this.$http.get(n,function(e){this.$set("searchResults",e)})}},checkSearchForm:function(e){this.searchTerm.length<1&&(this.searching=!1)},clearSearch:function(e){this.searching=!1,this.searchTerm=""}}}},{}],86:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/css/styles.css","//fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,300italic,100,300"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,i){ImageManager.show(function(t){if(i.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),i.document.getElementById(e).dispatchEvent(n)}else i.document.getElementById(e).fireEvent("onchange")})},paste_preprocess:function(e,t){var n=t.content;-1!==n.indexOf('';n+=''+t.name+'',n+="",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){if(t.clipboardData){var n=t.clipboardData.items;if(n)for(var i=0;i');var u="image-"+Date.now()+"."+s;o.append("file",r,u),o.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST","/upload/image"),a.onload=function(){if(200===a.status||201===a.status){var t=JSON.parse(a.responseText);e.dom.setAttrib(c,"src",t.url)}else console.log("An error occured uploading the image"),console.log(a.responseText)},a.send(o)}}})}}},{}]},{},[84,83]); \ No newline at end of file +!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function s(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function u(e){if(e instanceof V)switch(e.length){case 0:return[];case 1:if(e[0].nodeType===Y)return e;break;default:return V(l(e))}return e.nodeType===Y?V(e):void 0}function l(e){if(!e[0])return e;for(var t=0;t=0)&&(n=D(n)),0===n&&(n=null),r[t]=n}}),r}function D(e){var t=0,n=e.split(/\s*,\s*/);return U(n,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function O(e){return 0===e||null!=e}function F(e,t){var n=I,r=e+"s";return t?n+=oe:r+=" linear all",[n,r]}function M(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function N(e,t,n){U(n,function(n){e[n]=G(e[n])?e[n]:t.style.getPropertyValue(n)})}var I,j,_,P,L=t.noop,R=t.copy,z=t.extend,V=t.element,U=t.forEach,q=t.isArray,H=t.isString,B=t.isObject,W=t.isUndefined,G=t.isDefined,Z=t.isFunction,Q=t.isElement,Y=1,X="-add",J="-remove",K="ng-",ee="-active",te="-prepare",ne="ng-animate",re="$$ngAnimateChildren",ie="";W(e.ontransitionend)&&G(e.onwebkittransitionend)?(ie="-webkit-",I="WebkitTransition",j="webkitTransitionEnd transitionend"):(I="transition",j="transitionend"),W(e.onanimationend)&&G(e.onwebkitanimationend)?(ie="-webkit-",_="WebkitAnimation",P="webkitAnimationEnd animationend"):(_="animation",P="animationend");var oe="Duration",ae="Property",se="Delay",ue="TimingFunction",le="IterationCount",ce="PlayState",fe=9999,pe=_+se,de=_+oe,he=I+se,me=I+oe,ve=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o0&&(l=n.get(s),!l)){var c=a(o,"-stagger");r.addClass(i,c),l=T(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function k(e){V.push(e),f.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r0,_e.hasAnimations=Ie.animationDuration>0}if(_e.applyAnimationDelay&&(je="boolean"!=typeof V.delay&&O(V.delay)?parseFloat(V.delay):je,te=Math.max(je,0),Ie.animationDelay=je,Pe=A(je,!0),oe.push(Pe),B.style[Pe[0]]=Pe[1]),ne=te*ye,ie=re*ye,V.easing){var t,s=V.easing;_e.hasTransitions&&(t=I+ue,oe.push([t,s]),B.style[t]=s),_e.hasAnimations&&(t=_+ue,oe.push([t,s]),B.style[t]=s)}Ie.transitionDuration&&a.push(j),Ie.animationDuration&&a.push(P),o=Date.now();var l=ne+we*ie,c=o+l,f=e.data($e)||[],d=!0;if(f.length){var h=f[0];d=c>h.expectedEndTime,d?u.cancel(h.timer):f.push(p)}if(d){var m=u(n,l,!1);f[0]={timer:m,expectedEndTime:c},f.push(p),e.data($e,f)}e.on(a.join(" "),i),V.to&&(V.cleanupStyles&&N(H,B,Object.keys(V.to)),v(e,V))}}function n(){var t=e.data($e);if(t){for(var n=1;n=ne&&r>=re&&(Z=!0,p())}if(!W){if(!B.parentNode)return void p();var o,a=[],l=function(e){if(Z)G&&e&&(G=!1,p());else if(G=!e,Ie.animationDuration){var t=C(B,G);G?oe.push(t):s(oe,t)}},c=Me>0&&(Ie.transitionDuration&&0===Se.transitionDuration||Ie.animationDuration&&0===Se.animationDuration)&&Math.max(Se.animationDelay,Se.transitionDelay);c?u(t,Math.floor(c*Me*ye),!1):t(),Y.resume=function(){l(!0)},Y.pause=function(){l(!1)}}}var V=R(n),H={},B=y(e);if(!B||!B.parentNode||!g.enabled())return T();V=d(V);var W,G,Z,Q,Y,te,ne,re,ie,oe=[],se=e.attr("class"),le=o(V);if(0===V.duration||!c.animations&&!c.transitions)return T();var ce=V.event&&q(V.event)?V.event.join(" "):V.event,pe=ce&&V.structural,de="",he="";pe?de=a(ce,K,!0):ce&&(de=ce),V.addClass&&(he+=a(V.addClass,X)),V.removeClass&&(he.length&&(he+=" "),he+=a(V.removeClass,J)),V.applyClassesEarly&&he.length&&M(e,V);var me=[de,he].join(" ").trim(),ve=se+" "+me,ge=a(me,ee),xe=le.to&&Object.keys(le.to).length>0,Ee=(V.keyframeStyle||"").length>0;if(!Ee&&!xe&&!me)return T();var ke,Se;if(V.stagger>0){var Ae=parseFloat(V.stagger);Se={transitionDelay:Ae,animationDelay:Ae,transitionDuration:0,animationDuration:0}}else ke=$(B,ve),Se=w(B,me,ke,Ce);V.$$skipPreparationClasses||r.addClass(e,me);var Te;if(V.transitionStyle){var De=[I,V.transitionStyle];E(B,De),oe.push(De)}if(V.duration>=0){Te=B.style[I].length>0;var Oe=F(V.duration,Te);E(B,Oe),oe.push(Oe)}if(V.keyframeStyle){var Fe=[_,V.keyframeStyle];E(B,Fe),oe.push(Fe)}var Me=Se?V.staggerIndex>=0?V.staggerIndex:t.count(ke):0,Ne=0===Me;Ne&&!V.skipBlocking&&x(B,fe);var Ie=D(B,ve,ke),je=Ie.maxDelay;te=Math.max(je,0),re=Ie.maxDuration;var _e={};if(_e.hasTransitions=Ie.transitionDuration>0,_e.hasAnimations=Ie.animationDuration>0,_e.hasTransitionAll=_e.hasTransitions&&"all"==Ie.transitionProperty,_e.applyTransitionDuration=xe&&(_e.hasTransitions&&!_e.hasTransitionAll||_e.hasAnimations&&!_e.hasTransitions),_e.applyAnimationDuration=V.duration&&_e.hasAnimations,_e.applyTransitionDelay=O(V.delay)&&(_e.applyTransitionDuration||_e.hasTransitions),_e.applyAnimationDelay=O(V.delay)&&_e.hasAnimations,_e.recalculateTimingStyles=he.length>0,(_e.applyTransitionDuration||_e.applyAnimationDuration)&&(re=V.duration?parseFloat(V.duration):re,_e.applyTransitionDuration&&(_e.hasTransitions=!0,Ie.transitionDuration=re,Te=B.style[I+ae].length>0,oe.push(F(re,Te))),_e.applyAnimationDuration&&(_e.hasAnimations=!0,Ie.animationDuration=re,oe.push(S(re)))),0===re&&!_e.recalculateTimingStyles)return T();if(null!=V.delay){var Pe;"boolean"!=typeof V.delay&&(Pe=parseFloat(V.delay),te=Math.max(Pe,0)),_e.applyTransitionDelay&&oe.push(A(Pe)),_e.applyAnimationDelay&&oe.push(A(Pe,!0))}return null==V.duration&&Ie.transitionDuration>0&&(_e.recalculateTimingStyles=_e.recalculateTimingStyles||Ne),ne=te*ye,ie=re*ye,V.skipBlocking||(_e.blockTransition=Ie.transitionDuration>0,_e.blockKeyframeAnimation=Ie.animationDuration>0&&Se.animationDelay>0&&0===Se.animationDuration),V.from&&(V.cleanupStyles&&N(H,B,Object.keys(V.from)),m(e,V)),_e.blockTransition||_e.blockKeyframeAnimation?b(re):V.skipBlocking||x(B,!1),{$$willAnimate:!0,end:l,start:function(){return W?void 0:(Y={end:l,cancel:f,resume:null,pause:null},Q=new i(Y),k(z),Q)}}}}]}],ke=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,s,u,l,c,f){function d(e){return e.replace(/\bng-\S+\b/g,"")}function h(e,t){return H(e)&&(e=e.split(" ")),H(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function m(t,a,u){function l(e){var t={},n=y(e).getBoundingClientRect();return U(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=$.scrollTop;break;case"left":r+=$.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function c(){var t=e(v,{addClass:i,delay:!0,from:l(a)});return t.$$willAnimate?t:null}function f(e){return e.attr("class")||""}function p(){var t=d(f(u)),n=h(t,g),r=h(g,t),a=e(v,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function m(){v.remove(),a.removeClass(n),u.removeClass(n)}var v=V(y(a).cloneNode(!0)),g=d(f(v));a.addClass(n),u.addClass(n),v.addClass(r),w.append(v);var b,x=c();if(!x&&(b=p(),!b))return m();var C=x||b;return{start:function(){function e(){n&&n.end()}var t,n=C.start();return n.done(function(){return n=null,!b&&(b=p())?(n=b.start(),n.done(function(){n=null,m(),t.complete()}),n):(m(),void t.complete())}),t=new s({end:e,cancel:e})}}}function v(e,t,n,r){var i=g(e,L),o=g(t,L),a=[];return U(r,function(e){var t=e.out,r=e["in"],i=m(n,t,r);i&&a.push(i)}),i||o||0!==a.length?{start:function(){function e(){U(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),U(a,function(e){t.push(e.start())});var n=new s({end:e,cancel:e});return s.all(t,function(e){n.complete(e)}),n}}:void 0}function g(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=k(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return L;var $=f[0].body,b=y(u),w=V(t(b)||$.contains(b)?b:$);p(c);return function(e){return e.from&&e.to?v(e.from,e.to,e.classes,e.anchors):g(e)}}]}],Se=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=q(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var i=1,o=2,a=this.rules={skip:[],cancel:[],join:[]};a.join.push(function(e,t,r){return!t.structural&&n(t.options)}),a.skip.push(function(e,t,r){return!t.structural&&!n(t.options)}),a.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),a.skip.push(function(e,t,n){return n.structural&&n.state===o&&!t.structural}),a.cancel.push(function(e,t,n){return n.structural&&t.structural}),a.cancel.push(function(e,t,n){return n.state===o&&t.structural}),a.cancel.push(function(e,t,n){var r=t.options,i=n.options;return r.addClass&&r.addClass===i.removeClass||r.removeClass&&r.removeClass===i.addClass}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(a,s,c,f,m,v,$,x,C,E){function k(){var e=!1;return function(t){e?t():s.$$postDigest(function(){e=!0,t()})}}function S(e,t){return g(e,t,{})}function A(e,t,n){var r=y(t),i=y(e),o=[],a=L[n];return a&&U(a,function(e){e.node.contains(r)?o.push(e.callback):"leave"===n&&e.node.contains(i)&&o.push(e.callback)}),o}function T(e,r,l){function c(t,n,r,i){E(function(){var t=A(m,e,n);t.length&&a(function(){U(t,function(t){t(e,r,i)})})}),t.progress(n,r,i)}function f(t){w(e,x),J(e,x),h(e,x),x.domOperation(),C.complete(!t)}var p,m,x=R(l);e=u(e),e&&(p=y(e),m=e.parent()),x=d(x);var C=new $,E=k();if(q(x.addClass)&&(x.addClass=x.addClass.join(" ")),x.addClass&&!H(x.addClass)&&(x.addClass=null),q(x.removeClass)&&(x.removeClass=x.removeClass.join(" ")),x.removeClass&&!H(x.removeClass)&&(x.removeClass=null),x.from&&!B(x.from)&&(x.from=null),x.to&&!B(x.to)&&(x.to=null),!p)return f(),C;var T=[p.className,x.addClass,x.removeClass].join(" ");if(!X(T))return f(),C;var F=["enter","move","leave"].indexOf(r)>=0,P=!_||j.get(p),L=!P&&I.get(p)||{},z=!!L.state;if(P||z&&L.state==i||(P=!M(e,m,r)),P)return f(),C;F&&D(e);var V={structural:F,element:e,event:r,close:f,options:x,runner:C};if(z){var W=t("skip",e,V,L);if(W)return L.state===o?(f(),C):(g(e,L.options,x),L.runner);var G=t("cancel",e,V,L);if(G)if(L.state===o)L.runner.end();else{if(!L.structural)return g(e,L.options,V.options),L.runner;L.close()}else{var Z=t("join",e,V,L);if(Z){if(L.state!==o)return b(e,F?r:null,x),r=V.event=L.event,x=g(e,L.options,V.options),L.runner;S(e,x)}}}else S(e,x);var Q=V.structural;if(Q||(Q="animate"===V.event&&Object.keys(V.options.to||{}).length>0||n(V.options)),!Q)return f(),O(e),C;var Y=(L.counter||0)+1;return V.counter=Y,N(e,i,V),s.$$postDigest(function(){var t=I.get(p),i=!t;t=t||{};var a=e.parent()||[],s=a.length>0&&("animate"===t.event||t.structural||n(t.options));if(i||t.counter!==Y||!s)return i&&(J(e,x),h(e,x)),(i||F&&t.event!==r)&&(x.domOperation(),C.end()),void(s||O(e));r=!t.structural&&n(t.options,!0)?"setClass":t.event,N(e,o);var u=v(e,r,t.options);u.done(function(t){f(!t);var n=I.get(p);n&&n.counter===Y&&O(y(e)),c(C,r,"close",{})}),C.setHost(u),c(C,r,"start",{})}),C}function D(e){var t=y(e),n=t.querySelectorAll("["+Te+"]");U(n,function(e){var t=parseInt(e.getAttribute(Te)),n=I.get(e);if(n)switch(t){case o:n.runner.end();case i:I.remove(e)}})}function O(e){var t=y(e);t.removeAttribute(Te),I.remove(t)}function F(e,t){return y(e)===y(t)}function M(e,t,n){var r,i=V(f[0].body),o=F(e,i)||"HTML"===e[0].nodeName,a=F(e,c),s=!1,u=e.data(De);for(u&&(t=u);t&&t.length;){a||(a=F(t,c));var l=t[0];if(l.nodeType!==Y)break;var p=I.get(l)||{};if(s||(s=p.structural||j.get(l)),W(r)||r===!0){var d=t.data(re);G(d)&&(r=d)}if(s&&r===!1)break;a||(a=F(t,c),a||(u=t.data(De),u&&(t=u))),o||(o=F(t,i)),t=t.parent()}var h=!s||r;return h&&a&&o}function N(e,t,n){n=n||{},n.state=t;var r=y(e);r.setAttribute(Te,t);var i=I.get(r),o=i?z(i,n):n;I.put(r,o)}var I=new m,j=new m,_=null,P=s.$watch(function(){return 0===x.totalPendingRequests},function(e){e&&(P(),s.$$postDigest(function(){s.$$postDigest(function(){null===_&&(_=!0)})}))}),L={},Z=e.classNameFilter(),X=Z?function(e){return Z.test(e)}:function(){return!0},J=p(C);return{on:function(e,t,n){var r=l(t);L[e]=L[e]||[],L[e].push({node:r,callback:n})},off:function(e,t,n){function r(e,t,n){var r=l(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}var i=L[e];i&&(L[e]=1===arguments.length?null:r(i,t,n))},pin:function(e,t){r(Q(e),"element","not an element"),r(Q(t),"parentElement","not an element"),e.data(De,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,T(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!_;else{var r=Q(e);if(r){var i=y(e),o=j.get(i);1===n?t=!o:(t=!!t,t?o&&j.remove(i):j.put(i,!0))}else t=_=!!e}return t}}}]}],Fe=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function r(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,f){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t=i&&(i=o,o=0,n.push(a),a=[]),a.push(s.fn),s.children.forEach(function(e){o++,r.push(e)}),i--}return a.length&&n.push(a),n}var r,i={children:[]},o=new c;for(r=0;r=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";U(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:V(e)}})}else t.push(e)});var r={},i={};return U(n,function(n,o){var a=n.from,s=n.to;if(!a||!s){var u=a?a.animationID:s.animationID,l=u.toString();return void(r[l]||(r[l]=!0,t.push(e[u])))}var c=e[a.animationID],f=e[s.animationID],p=a.animationID.toString();if(!i[p]){var d=i[p]={structural:!0,beforeStart:function(){c.beforeStart(),f.beforeStart()},close:function(){c.close(),f.close()},classes:x(c.classes,f.classes),from:c,to:f,anchors:[]};d.classes.length?t.push(d):(t.push(c),t.push(f))}i[p].anchors.push({out:a.element,"in":s.element})}),t}function x(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r=0;t--){var n=a[t];if(u.has(n)){var r=u.get(n),i=r(e);if(i)return i}}}function E(){c.addClass(ne),F&&e.addClass(c,F),M&&(e.removeClass(c,M),M=null)}function k(e,t){function n(e){r(e).setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function S(){var e=r(c);!e||"leave"===p&&$.$$domOperationFired||e.end()}function A(t){c.off("$destroy",S),n(c),g(c,$),h(c,$),$.domOperation(),F&&e.removeClass(c,F),c.removeClass(ne),D.complete(!t)}$=d($);var T=["enter","move","leave"].indexOf(p)>=0,D=new l({end:function(){A()},cancel:function(){A(!0)}});if(!a.length)return A(),D;t(c,D);var O=i(c.attr("class"),i($.addClass,$.removeClass)),F=$.tempClasses;F&&(O+=" "+F,$.tempClasses=null);var M;return T&&(M="ng-"+p+te,e.addClass(c,M)),v.push({element:c,classes:O,event:p,structural:T,options:$,beforeStart:E,close:A}),c.on("$destroy",S),v.length>1?D:(s.$$postDigest(function(){var e=[];U(v,function(t){r(t.element)?e.push(t):t.close()}),v.length=0;var t=w(e),n=[];U(t,function(e){n.push({domNode:y(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,i=e.anchors?e.from.element||e.to.element:e.element;if(r(i)){var o=C(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),k(e,a)}else n()}})}),f(m(n))}),D)}}]}],Me=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[]).directive("ngAnimateSwap",Me).directive("ngAnimateChildren",ge).factory("$$rAFScheduler",ve).provider("$$animateQueue",Oe).provider("$$animation",Fe).provider("$animateCss",Ee).provider("$$animateCssDriver",ke).provider("$$animateJs",Se).provider("$$animateJsDriver",Ae)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t,n){"use strict";function r(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&s.test("."+e)}function i(e,i){if(!r(i))throw a("badmember",'Dotted member path "@{0}" is invalid.',i);for(var o=i.split("."),s=0,u=o.length;u>s&&t.isDefined(e);s++){var l=o[s];e=null!==e?e[l]:n}return e}function o(e,n){n=n||{},t.forEach(n,function(e,t){delete n[t]});for(var r in e)!e.hasOwnProperty(r)||"$"===r.charAt(0)&&"$"===r.charAt(1)||(n[r]=e[r]);return n}var a=t.$$minErr("$resource"),s=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;t.module("ngResource",["ng"]).provider("$resource",function(){var e=/^https?:\/\/[^\/]*/,r=this;this.defaults={stripTrailingSlashes:!0,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}}},this.$get=["$http","$log","$q",function(s,u,l){function c(e){return f(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function f(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function p(e,t){this.template=e,this.defaults=v({},r.defaults,t),this.urlParams={}}function d(e,c,f,y){function b(e,t){var n={};return t=v({},c,t),m(t,function(t,r){$(t)&&(t=t()),n[r]=t&&t.charAt&&"@"==t.charAt(0)?i(e,t.substr(1)):t}),n}function w(e){return e.resource}function x(e){o(e||{},this)}var C=new p(e,y);return f=v({},r.defaults.actions,f),x.prototype.toJSON=function(){var e=v({},this);return delete e.$promise,delete e.$resolved,e},m(f,function(e,i){var c=/^(POST|PUT|PATCH)$/i.test(e.method),f=!1;t.isNumber(e.timeout)||(e.timeout&&(u.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete e.timeout),f=t.isDefined(e.cancellable)?e.cancellable:y&&t.isDefined(y.cancellable)?y.cancellable:r.defaults.cancellable),x[i]=function(r,u,p,d){var y,E,k,S={};switch(arguments.length){case 4:k=d,E=p;case 3:case 2:if(!$(u)){S=r,y=u,E=p;break}if($(r)){E=r,k=u;break}E=u,k=p;case 1:$(r)?E=r:c?y=r:S=r;break;case 0:break;default:throw a("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var A,T=this instanceof x,D=T?y:e.isArray?[]:new x(y),O={},F=e.interceptor&&e.interceptor.response||w,M=e.interceptor&&e.interceptor.responseError||n;m(e,function(e,t){switch(t){default:O[t]=g(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!T&&f&&(A=l.defer(),O.timeout=A.promise),c&&(O.data=y),C.setUrlParams(O,v({},b(y,e.params||{}),S),e.url);var N=s(O).then(function(n){var r=n.data;if(r){if(t.isArray(r)!==!!e.isArray)throw a("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",i,e.isArray?"array":"object",t.isArray(r)?"array":"object",O.method,O.url);if(e.isArray)D.length=0,m(r,function(e){"object"==typeof e?D.push(new x(e)):D.push(e)});else{var s=D.$promise;o(r,D),D.$promise=s}}return n.resource=D,n},function(e){return(k||h)(e),l.reject(e)});return N["finally"](function(){D.$resolved=!0,!T&&f&&(D.$cancelRequest=t.noop,A=O.timeout=null)}),N=N.then(function(e){var t=F(e);return(E||h)(t,e.headers),t},M),T?N:(D.$promise=N,D.$resolved=!1,f&&(D.$cancelRequest=A.resolve),D)},x.prototype["$"+i]=function(e,t,n){$(e)&&(n=t,t=e,e={});var r=x[i].call(this,e,this,t,n);return r.$promise||r}}),x.bind=function(t){return d(e,v({},c,t),f)},x}var h=t.noop,m=t.forEach,v=t.extend,g=t.copy,$=t.isFunction;return p.prototype={setUrlParams:function(n,r,i){var o,s,u=this,l=i||u.template,p="",d=u.urlParams={};m(l.split(/\W/),function(e){if("hasOwnProperty"===e)throw a("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(l)&&(d[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(l)})}),l=l.replace(/\\:/g,":"),l=l.replace(e,function(e){return p=e,""}),r=r||{},m(u.urlParams,function(e,n){o=r.hasOwnProperty(n)?r[n]:u.defaults[n],t.isDefined(o)&&null!==o?(s=e.isQueryParamValue?f(o,!0):c(o),l=l.replace(new RegExp(":"+n+"(\\W|$)","g"),function(e,t){return s+t})):l=l.replace(new RegExp("(/?):"+n+"(\\W|$)","g"),function(e,t,n){return"/"==n.charAt(0)?n:t+n})}),u.defaults.stripTrailingSlashes&&(l=l.replace(/\/+$/,"")||"/"),l=l.replace(/\/\.(?=\w+($|\?))/,"."),n.url=p+l.replace(/\/\\\./,"/."),m(r,function(e,t){u.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},d}]})}(window,window.angular)},{}],4:[function(e,t,n){e("./angular-resource"),t.exports="ngResource"},{"./angular-resource":3}],5:[function(e,t,n){!function(e,t,n){"use strict";function r(){var e=!1;this.$get=["$$sanitizeUri",function(n){return e&&t.extend(C,w),function(e){var t=[];return a(e,l(t,function(e,t){return!/^unsafe:/.test(n(e,t))})),t.join("")}}],this.enableSvg=function(n){return t.isDefined(n)?(e=n,this):e}}function i(e){var n=[],r=l(n,t.noop);return r.chars(e),n.join("")}function o(e,n){var r,i={},o=e.split(",");for(r=0;rn;n++){var i=e[n];t[i.name]=i.value}return t}function u(e){return e.replace(/&/g,"&").replace(d,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+(1024*(t-55296)+(n-56320)+65536)+";"}).replace(h,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function l(e,n){var r=!1,i=t.bind(e,e.push);return{start:function(e,o){e=t.lowercase(e),!r&&x[e]&&(r=e),r||C[e]!==!0||(i("<"),i(e),t.forEach(o,function(r,o){var a=t.lowercase(o),s="img"===e&&"src"===a||"background"===a;A[a]!==!0||E[a]===!0&&!n(r,s)||(i(" "),i(o),i('="'),i(u(r)),i('"'))}),i(">"))},end:function(e){e=t.lowercase(e),r||C[e]!==!0||m[e]===!0||(i("")),e==r&&(r=!1)},chars:function(e){r||i(u(e))}}}function c(e){if(e.nodeType===Node.ELEMENT_NODE)for(var t=e.attributes,n=0,r=t.length;r>n;n++){var i=t[n],o=i.name.toLowerCase();("xmlns:ns1"===o||0===o.indexOf("ns1:"))&&(e.removeAttributeNode(i),n--,r--)}var a=e.firstChild;a&&c(a),a=e.nextSibling,a&&c(a)}var f,p=t.$$minErr("$sanitize"),d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=/([^\#-~ |!])/g,m=o("area,br,col,hr,img,wbr"),v=o("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),g=o("rp,rt"),$=t.extend({},g,v),y=t.extend({},v,o("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),b=t.extend({},g,o("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),w=o("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),x=o("script,style"),C=t.extend({},m,y,b,$),E=o("background,cite,href,longdesc,src,usemap,xlink:href"),k=o("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),S=o("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),A=t.extend({},E,S,k);!function(e){var t;if(!e.document||!e.document.implementation)throw p("noinert","Can't create an inert html document");t=e.document.implementation.createHTMLDocument("inert");var n=t.documentElement||t.getDocumentElement(),r=n.getElementsByTagName("body");if(1===r.length)f=r[0];else{var i=t.createElement("html");f=t.createElement("body"),i.appendChild(f),t.appendChild(i)}}(e),t.module("ngSanitize",[]).provider("$sanitize",r),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,r=/^mailto:/i;return function(o,a,s){function u(e){e&&h.push(i(e))}function l(e,n){var r;if(h.push("'),u(n),h.push("")}if(!o)return o;for(var c,f,p,d=o,h=[];c=d.match(n);)f=c[0],c[2]||c[4]||(f=(c[3]?"http://":"mailto:")+f),p=c.index,u(d.substr(0,p)),l(f,c[0].replace(r,"")),d=d.substring(p+c[0].length);return u(d),e(h.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){!function(e,t,n){"use strict";function r(e,t){return t=t||Error,function(){var n,r,i=2,o=arguments,a=o[0],s="["+(e?e+":":"")+a+"] ",u=o[1];for(s+=u.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1),n=t+i;return n=0&&t-1 in e||"function"==typeof e.item)}function o(e,t,n){var r,a;if(e)if(S(e))for(r in e)"prototype"==r||"length"==r||"name"==r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(Hr(e)||i(e)){var s="object"!=typeof e;for(r=0,a=e.length;a>r;r++)(s||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==o)e.forEach(t,n,e);else if(x(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)Tr.call(e,r)&&t.call(n,e[r],r,e);return e}function a(e,t,n){for(var r=Object.keys(e).sort(),i=0;ii;++i){var a=t[i];if(w(a)||S(a))for(var s=Object.keys(a),u=0,f=s.length;f>u;u++){var p=s[u],d=a[p];n&&w(d)?k(d)?e[p]=new Date(d.valueOf()):A(d)?e[p]=new RegExp(d):d.nodeName?e[p]=d.cloneNode(!0):_(d)?e[p]=d.clone():(w(e[p])||(e[p]=Hr(d)?[]:{}),c(e[p],[d],!0)):e[p]=d}}return l(e,r),e}function f(e){return c(e,_r.call(arguments,1),!1)}function p(e){return c(e,_r.call(arguments,1),!0)}function d(e){return parseInt(e,10)}function h(e,t){return f(Object.create(e),t)}function m(){}function v(e){return e}function g(e){return function(){return e}}function $(e){return S(e.toString)&&e.toString!==Rr}function y(e){return"undefined"==typeof e}function b(e){return"undefined"!=typeof e}function w(e){return null!==e&&"object"==typeof e}function x(e){return null!==e&&"object"==typeof e&&!zr(e)}function C(e){return"string"==typeof e}function E(e){return"number"==typeof e}function k(e){return"[object Date]"===Rr.call(e)}function S(e){return"function"==typeof e}function A(e){return"[object RegExp]"===Rr.call(e)}function T(e){return e&&e.window===e}function D(e){return e&&e.$evalAsync&&e.$watch}function O(e){return"[object File]"===Rr.call(e)}function F(e){return"[object FormData]"===Rr.call(e)}function M(e){return"[object Blob]"===Rr.call(e)}function N(e){return"boolean"==typeof e}function I(e){return e&&S(e.then)}function j(e){return e&&E(e.length)&&Br.test(Rr.call(e))}function _(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t,n={},r=e.split(",");for(t=0;t=0&&e.splice(n,1),n}function z(e,t){function n(e,t){var n,i=t.$$hashKey;if(Hr(e))for(var o=0,a=e.length;a>o;o++)t.push(r(e[o]));else if(x(e))for(n in e)t[n]=r(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=r(e[n]));else for(n in e)Tr.call(e,n)&&(t[n]=r(e[n]));return l(t,i),t}function r(e){if(!w(e))return e;var t=i.indexOf(e);if(-1!==t)return a[t];if(T(e)||D(e))throw Vr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r,o=!1;return Hr(e)?(r=[],o=!0):j(e)?r=new e.constructor(e):k(e)?r=new Date(e.getTime()):A(e)?(r=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]),r.lastIndex=e.lastIndex):S(e.cloneNode)?r=e.cloneNode(!0):(r=Object.create(zr(e)),o=!0),i.push(e),a.push(r),o?n(e,r):r}var i=[],a=[];if(t){if(j(t))throw Vr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw Vr("cpi","Can't copy! Source and destination are identical.");return Hr(t)?t.length=0:o(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),i.push(e),a.push(t),n(e,t)}return r(e)}function V(e,t){if(Hr(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(w(e)){t=t||{};for(var i in e)("$"!==i.charAt(0)||"$"!==i.charAt(1))&&(t[i]=e[i])}return t||e}function U(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,a=typeof t;if(o==a&&"object"==o){if(!Hr(e)){if(k(e))return k(t)?U(e.getTime(),t.getTime()):!1;if(A(e))return A(t)?e.toString()==t.toString():!1;if(D(e)||D(t)||T(e)||T(t)||Hr(t)||k(t)||A(t))return!1;i=ve();for(r in e)if("$"!==r.charAt(0)&&!S(e[r])){if(!U(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&b(t[r])&&!S(t[r]))return!1;return!0}if(!Hr(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!U(e[r],t[r]))return!1;return!0}}return!1}function q(e,t,n){return e.concat(_r.call(t,n))}function H(e,t){return _r.call(e,t||0)}function B(e,t){var n=arguments.length>2?H(arguments,2):[];return!S(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,q(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function W(e,r){var i=r;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?i=n:T(r)?i="$WINDOW":r&&t===r?i="$DOCUMENT":D(r)&&(i="$SCOPE"),i}function G(e,t){return"undefined"==typeof e?n:(E(t)||(t=t?2:null),JSON.stringify(e,W,t))}function Z(e){return C(e)?JSON.parse(e):e}function Q(e,t){var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Y(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function X(e,t,n){n=n?-1:1;var r=Q(t,e.getTimezoneOffset());return Y(e,n*(r-e.getTimezoneOffset()))}function J(e){e=Nr(e).clone();try{e.empty()}catch(t){}var n=Nr("
").append(e).html();try{return e[0].nodeType===ti?Ar(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Ar(t)})}catch(t){return Ar(n)}}function K(e){try{return decodeURIComponent(e)}catch(t){}}function ee(e){var t={};return o((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=K(r),b(r)&&(i=b(i)?K(i):!0,Tr.call(t,r)?Hr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function te(e){var t=[];return o(e,function(e,n){Hr(e)?o(e,function(e){t.push(re(n,!0)+(e===!0?"":"="+re(e,!0)))}):t.push(re(n,!0)+(e===!0?"":"="+re(e,!0)))}),t.length?t.join("&"):""}function ne(e){return re(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function re(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function ie(e,t){var n,r,i=Yr.length;for(r=0;i>r;++r)if(n=Yr[r]+t,C(n=e.getAttribute(n)))return n;return null}function oe(e,t){var n,r,i={};o(Yr,function(t){var i=t+"app";!n&&e.hasAttribute&&e.hasAttribute(i)&&(n=e,r=e.getAttribute(i))}),o(Yr,function(t){var i,o=t+"app";!n&&(i=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(o))}),n&&(i.strictDi=null!==ie(n,"strict-di"),t(n,r?[r]:[],i))}function ae(n,r,i){w(i)||(i={});var a={strictDi:!1};i=f(a,i);var s=function(){if(n=Nr(n),n.injector()){var e=n[0]===t?"document":J(n);throw Vr("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(//,">"))}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var o=nt(r,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},u=/^NG_ENABLE_DEBUG_INFO!/,l=/^NG_DEFER_BOOTSTRAP!/;return e&&u.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(u,"")),e&&!l.test(e.name)?s():(e.name=e.name.replace(l,""),Ur.resumeBootstrap=function(e){return o(e,function(e){r.push(e)}),s()},void(S(Ur.resumeDeferredBootstrap)&&Ur.resumeDeferredBootstrap()))}function se(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ue(e){var t=Ur.element(e).injector();if(!t)throw Vr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function le(e,t){return t=t||"_",e.replace(Xr,function(e,n){return(n?t:"")+e.toLowerCase()})}function ce(){var t;if(!Jr){var r=Qr();Ir=y(r)?e.jQuery:r?e[r]:n,Ir&&Ir.fn.on?(Nr=Ir,f(Ir.fn,{scope:bi.scope,isolateScope:bi.isolateScope,controller:bi.controller,injector:bi.injector,inheritedData:bi.inheritedData}),t=Ir.cleanData,Ir.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Ir._data(r,"events"),n&&n.$destroy&&Ir(r).triggerHandler("$destroy");t(e)}):Nr=De,Ur.element=Nr,Jr=!0}}function fe(e,t,n){if(!e)throw Vr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function pe(e,t,n){return n&&Hr(e)&&(e=e[e.length-1]),fe(S(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function de(e,t){if("hasOwnProperty"===e)throw Vr("badname","hasOwnProperty is not a valid {0} name",t)}function he(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&S(e)?B(o,e):e}function me(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=Nr(_r.call(e,0,i))),t.push(n));return t||e}function ve(){return Object.create(null)}function ge(e){function t(e,t,n){return e[t]||(e[t]=n())}var i=r("$injector"),o=r("ng"),a=t(e,"angular",Object);return a.$$minErr=a.$$minErr||r,t(a,"module",function(){var e={};return function(r,s,u){var l=function(e,t){if("hasOwnProperty"===e)throw o("badname","hasOwnProperty is not a valid {0} name",t)};return l(r,"module"),s&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,t,n,r){return r||(r=o),function(){return r[n||"push"]([e,t,arguments]),p}}function t(e,t){return function(n,i){return i&&S(i)&&(i.$$moduleName=r),o.push([e,t,arguments]),p}}if(!s)throw i("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",r);var o=[],l=[],c=[],f=e("$injector","invoke","push",l),p={_invokeQueue:o,_configBlocks:l,_runBlocks:c,requires:s,name:r,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:t("$provide","decorator"),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),component:function(e,t){function r(r){function i(e){return a.isFunction(e)?function(t,n){return r.invoke(e,this,{$element:t,$attrs:n})}:e}var o=t.template||t.templateUrl?t.template:"";return{controller:t.controller||function(){},controllerAs:vt(t.controller)||t.controllerAs||e,template:i(o),templateUrl:i(t.templateUrl),transclude:t.transclude===n?!0:t.transclude,scope:t.isolate===!1?!0:{},bindToController:t.bindings||{},restrict:t.restrict||"E"}}return t.$canActivate&&(r.$canActivate=t.$canActivate),t.$routeConfig&&(r.$routeConfig=t.$routeConfig),r.$inject=["$injector"],p.directive(e,r)},config:f,run:function(e){return c.push(e),this}};return u&&f(u),p})}})}function $e(e){var t=[];return JSON.stringify(e,function(e,n){if(n=W(e,n),w(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function ye(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):y(e)?"undefined":"string"!=typeof e?$e(e):e}function be(t){f(t,{bootstrap:ae,copy:z,extend:f,merge:p,equals:U,element:Nr,forEach:o,injector:nt,noop:m,bind:B,toJson:G,fromJson:Z,identity:v,isUndefined:y,isDefined:b,isString:C,isFunction:S,isObject:w,isNumber:E,isElement:_,isArray:Hr,version:oi,isDate:k,lowercase:Ar,uppercase:Dr,callbacks:{counter:0},getTestability:ue,$$minErr:r,$$csp:Zr,reloadWithDebugInfo:se}),(jr=ge(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:wn}),e.provider("$compile",pt).directive({a:ko,input:Uo,textarea:Uo,form:Oo,script:Pa,select:za,style:Ua,option:Va,ngBind:Bo,ngBindHtml:Go,ngBindTemplate:Wo,ngClass:Qo,ngClassEven:Xo,ngClassOdd:Yo,ngCloak:Jo,ngController:Ko,ngForm:Fo,ngHide:Oa,ngIf:na,ngInclude:ra,ngInit:oa,ngNonBindable:wa,ngPluralize:ka,ngRepeat:Sa,ngShow:Da,ngStyle:Fa,ngSwitch:Ma,ngSwitchWhen:Na,ngSwitchDefault:Ia,ngOptions:Ea,ngTransclude:_a,ngModel:$a,ngList:aa,ngChange:Zo,pattern:Ha,ngPattern:Ha,required:qa,ngRequired:qa,minlength:Wa,ngMinlength:Wa,maxlength:Ba,ngMaxlength:Ba,ngValue:Ho,ngModelOptions:ba}).directive({ngInclude:ia}).directive(So).directive(ea),e.provider({$anchorScroll:rt,$animate:ji,$animateCss:Li,$$animateQueue:Ii,$$AnimateRunner:Pi,$$animateAsyncRun:_i,$browser:lt,$cacheFactory:ct,$controller:gt,$document:$t,$exceptionHandler:yt,$filter:jn,$$forceReflow:qi,$interpolate:Nt,$interval:It,$http:Dt,$httpParamSerializer:wt,$httpParamSerializerJQLike:xt,$httpBackend:Ft,$xhrFactory:Ot,$location:Zt,$log:Qt,$parse:mn,$rootScope:bn,$q:vn,$$q:gn,$sce:kn,$sceDelegate:En,$sniffer:Sn,$templateCache:ft,$templateRequest:An,$$testability:Tn,$timeout:Dn,$window:Mn,$$rAF:yn,$$jqLite:Ye,$$HashMap:Ei,$$cookieReader:In})}])}function we(){return++si}function xe(e){return e.replace(ci,function(e,t,n,r){return r?n.toUpperCase():n}).replace(fi,"Moz$1")}function Ce(e){return!mi.test(e)}function Ee(e){var t=e.nodeType;return t===Kr||!t||t===ri}function ke(e){for(var t in ai[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;n>t;t++)Ne(e[t])}function Ae(e,t){var n,r,i,a,s=t.createDocumentFragment(),u=[];if(Ce(e))u.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),r=(vi.exec(e)||["",""])[1].toLowerCase(),i=$i[r]||$i._default,n.innerHTML=i[1]+e.replace(gi,"<$1>")+i[2],a=i[0];a--;)n=n.lastChild;u=q(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",o(u,function(e){s.appendChild(e)}),s}function Te(e,n){n=n||t;var r;return(r=hi.exec(e))?[n.createElement(r[1])]:(r=Ae(e,n))?r.childNodes:[]}function De(e){if(e instanceof De)return e;var t;if(C(e)&&(e=Wr(e),t=!0),!(this instanceof De)){if(t&&"<"!=e.charAt(0))throw di("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new De(e)}t?Re(this,Te(e)):Re(this,e)}function Oe(e){return e.cloneNode(!0)}function Fe(e,t){if(t||Ne(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Ne(n[r])}function Me(e,t,n,r){if(b(r))throw di("offargs","jqLite#off() does not support the `selector` argument");var i=Ie(e),a=i&&i.events,s=i&&i.handle;if(s)if(t){var u=function(t){var r=a[t];b(n)&&R(r||[],n),b(n)&&r&&r.length>0||(li(e,t,s),delete a[t])};o(t.split(" "),function(e){u(e),pi[e]&&u(pi[e])})}else for(t in a)"$destroy"!==t&&li(e,t,s),delete a[t]}function Ne(e,t){var r=e.ng339,i=r&&ai[r];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),Me(e)),delete ai[r],e.ng339=n}}function Ie(e,t){var r=e.ng339,i=r&&ai[r];return t&&!i&&(e.ng339=r=we(),i=ai[r]={events:{},data:{},handle:n}),i}function je(e,t,n){if(Ee(e)){var r=b(n),i=!r&&t&&!w(t),o=!t,a=Ie(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];f(s,t)}}}function _e(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Pe(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",Wr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Wr(t)+" "," ")))})}function Le(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=Wr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Wr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function ze(e,t){return Ve(e,"$"+(t||"ngController")+"Controller")}function Ve(e,t,n){e.nodeType==ri&&(e=e.documentElement);for(var r=Hr(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if(b(n=Nr.data(e,r[i])))return n;e=e.parentNode||e.nodeType===ii&&e.host}}function Ue(e){for(Fe(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function qe(e,t){t||Fe(e);var n=e.parentNode;n&&n.removeChild(e)}function He(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Nr(n).on("load",t)}function Be(e,t){var n=wi[t.toLowerCase()];return n&&xi[L(e)]&&n}function We(e){return Ci[e]}function Ge(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(y(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0};var s=i.specialHandlerWrapper||Ze;o>1&&(i=V(i));for(var u=0;o>u;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function Ze(e,t,n){n.call(e,t)}function Qe(e,t,n){var r=t.relatedTarget;(!r||r!==e&&!yi.call(e,r))&&n.call(e,t)}function Ye(){this.$get=function(){return f(De,{hasClass:function(e,t){return e.attr&&(e=e[0]),_e(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Le(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Pe(e,t)}})}}function Xe(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||u)():r+":"+e}function Je(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function Ke(e){var t=e.toString().replace(Di,""),n=t.match(ki)||t.match(Si);return n}function et(e){var t=Ke(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function tt(e,t,n){var r,i,a;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw C(n)&&n||(n=e.name||et(e)),Oi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=Ke(e),o(i[1].split(Ai),function(e){e.replace(Ti,function(e,t,n){r.push(n)})})}e.$inject=r}}else Hr(e)?(a=e.length-1,pe(e[a],"fn"),r=e.slice(0,a)):pe(e,"fn",!0);return r}function nt(e,t){function r(e){return function(t,n){return w(t)?void o(t,s(e)):e(t,n)}}function i(e,t){if(de(e,"service"),(S(t)||Hr(t))&&(t=E.instantiate(t)),!t.$get)throw Oi("pget","Provider '{0}' must define $get factory method.",e);return x[e+v]=t}function a(e,t){return function(){var n=T.invoke(t,this);if(y(n))throw Oi("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function u(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function l(e,t){return u(e,["$injector",function(e){return e.instantiate(t)}])}function c(e,t){return u(e,g(t),!1)}function f(e,t){de(e,"constant"),x[e]=t,k[e]=t}function p(e,t){var n=E.get(e+v),r=n.$get;n.$get=function(){var e=T.invoke(r,n);return T.invoke(t,null,{$delegate:e})}}function d(e){fe(y(e)||Hr(e),"modulesToLoad","not an array");var t,n=[];return o(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=E.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{C(e)?(t=jr(e),n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):S(e)?n.push(E.invoke(e)):Hr(e)?n.push(E.invoke(e)):pe(e,"module")}catch(i){throw Hr(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Oi("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function h(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===m)throw Oi("cdep","Circular dependency found: {0}",t+" <- "+$.join(" <- "));return e[t]}try{return $.unshift(t),e[t]=m,e[t]=n(t,r)}catch(i){throw e[t]===m&&delete e[t],i}finally{$.shift()}}function i(e,n,i,o){"string"==typeof i&&(o=i,i=null);var a,s,u,l=[],c=nt.$$annotate(e,t,o);for(s=0,a=c.length;a>s;s++){if(u=c[s],"string"!=typeof u)throw Oi("itkn","Incorrect injection token! Expected service name as string, got {0}",u);l.push(i&&i.hasOwnProperty(u)?i[u]:r(u,o))}return Hr(e)&&(e=e[a]),e.apply(n,l)}function o(e,t,n){var r=Object.create((Hr(e)?e[e.length-1]:e).prototype||null),o=i(e,r,t,n);return w(o)||S(o)?o:r}return{invoke:i,instantiate:o,get:r,annotate:nt.$$annotate,has:function(t){return x.hasOwnProperty(t+v)||e.hasOwnProperty(t)}}}t=t===!0;var m={},v="Provider",$=[],b=new Je([],!0),x={$provide:{provider:r(i),factory:r(u),service:r(l),value:r(c),constant:r(f),decorator:p}},E=x.$injector=h(x,function(e,t){throw Ur.isString(t)&&$.push(t),Oi("unpr","Unknown provider: {0}",$.join(" <- "))}),k={},A=h(k,function(e,t){var r=E.get(e+v,t);return T.invoke(r.$get,r,n,e)}),T=A;x["$injector"+v]={$get:g(A)};var D=d(e);return T=A.get("$injector"),T.strictDi=t,o(D,function(e){e&&T.invoke(e)}),T}function rt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===L(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(S(e))e=e();else if(_(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else E(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(e){e=C(e)?e:n.hash();var t;e?(t=u.getElementById(e))?a(t):(t=i(u.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){(e!==t||""!==e)&&He(function(){r.$evalAsync(s)})}),s}]}function it(e,t){return e||t?e?t?(Hr(e)&&(e=e.join(" ")),Hr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function ot(e){for(var t=0;tl&&this.remove(d.key),t}},get:function(e){if(l";var r=ce.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function M(e,t){try{e.addClass(t)}catch(n){}}function N(e,t,n,r,i){e instanceof Nr||(e=Nr(e)),o(e,function(t,n){t.nodeType==ti&&t.nodeValue.match(/\S+/)&&(e[n]=Nr(t).wrap("").parent()[0])});var a=j(e,t,e,n,r,i);N.$$addScopeClass(e);var s=null;return function(t,n,r){fe(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var o=r.parentBoundTranscludeFn,u=r.transcludeControllers,l=r.futureParentElement;o&&o.$$boundTransclude&&(o=o.$$boundTransclude),s||(s=I(l));var c;if(c="html"!==s?Nr(te(s,Nr("
").append(e).html())):n?bi.clone.call(e):e, +u)for(var f in u)c.data("$"+f+"Controller",u[f].instance);return N.$$addScopeInfo(c,t),n&&n(c,t),a&&a(t,c,c,o),c}}function I(e){var t=e&&e[0];return t&&"foreignobject"!==L(t)&&t.toString().match(/SVG/)?"svg":"html"}function j(e,t,r,i,o,a){function s(e,r,i,o){var a,s,u,l,c,f,p,d,v;if(h){var g=r.length;for(v=new Array(g),c=0;cc;)u=v[m[c++]],a=m[c++],s=m[c++],a?(a.scope?(l=e.$new(),N.$$addScopeInfo(Nr(u),l)):l=e,d=a.transcludeOnThisElement?_(e,a.transclude,o):!a.templateOnThisElement&&o?o:!o&&t?_(e,t):null,a(s,l,u,i,d)):s&&s(e,u.childNodes,n,o)}for(var u,l,c,f,p,d,h,m=[],v=0;v$;$++){var b=!1,x=!1;l=g[$],c=l.name,m=Wr(l.value),h=dt(c),(v=ge.test(h))&&(c=c.replace(zi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var E=h.match($e);E&&Z(E[1])&&(b=c,x=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),f=dt(c.toLowerCase()),u[f]=c,(v||!n.hasOwnProperty(f))&&(n[f]=m,Be(e,f)&&(n[f]=!0)),re(e,t,m,f,v),G(t,f,"A",r,i,b,x)}if(a=e.className,w(a)&&(a=a.animVal),C(a)&&""!==a)for(;o=d.exec(a);)f=dt(o[2]),G(t,f,"C",r,i)&&(n[f]=Wr(o[3])),a=a.substr(o.index+o[0].length);break;case ti:if(11===Mr)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ti;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);ee(t,e.nodeValue);break;case ni:try{o=p.exec(e.nodeValue),o&&(f=dt(o[1]),G(t,f,"M",r,i)&&(n[f]=Wr(o[2])))}catch(k){}}return t.sort(X),t}function z(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Ri("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==Kr&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Nr(r)}function V(e,t,n){return function(r,i,o,a,s){return i=z(i[0],t,n),e(r,i,o,a,s)}}function q(e,t,n,r,i,o){if(e)return N(t,n,r,i,o);var a;return function(){return a||(a=N(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function B(e,r,a,s,l,c,f,p,d){function h(e,t,n,r){e&&(n&&(e=V(e,n,r)),e.require=$.require,e.directiveName=b,(M===$||$.$$isolateScope)&&(e=oe(e,{isolateScope:!0})),f.push(e)),t&&(n&&(t=V(t,n,r)),t.require=$.require,t.directiveName=b,(M===$||$.$$isolateScope)&&(t=oe(t,{isolateScope:!0})),p.push(t))}function m(e,t,n,r){var i;if(C(t)){var o=t.match(x),a=t.substring(o[0].length),s=o[1]||o[3],u="?"===o[2];if("^^"===s?n=n.parent():(i=r&&r[a],i=i&&i.instance),!i){var l="$"+a+"Controller";i=s?n.inheritedData(l):n.data(l)}if(!i&&!u)throw Ri("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,e)}else if(Hr(t)){i=[];for(var c=0,f=t.length;f>c;c++)i[c]=m(e,t[c],n,r)}return i||null}function v(e,t,n,r,i,o){var a=ve();for(var s in r){var l=r[s],c={$scope:l===M||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=l.controller;"@"==f&&(f=t[l.name]);var p=u(f,c,!0,l.controllerAs);a[l.name]=p,U||e.data("$"+l.name+"Controller",p.instance)}return a}function g(e,t,i,o,s){function u(e,t,r,i){var o;if(D(e)||(i=r,r=t,t=e,e=n),U&&(o=h),r||(r=U?$.parent():$),!i)return s(e,t,o,r,T);var a=s.$$slots[i];if(a)return a(e,t,o,r,T);if(y(a))throw Ri("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',i,J($))}var l,c,d,h,g,$,b,w,x;r===i?(b=a,$=a.$$element):($=Nr(i),b=new pe($,a)),d=t,M?c=t.$new(!0):O&&(d=t.$parent),s&&(g=u,g.$$boundTransclude=s,g.isSlotFilled=function(e){return!!s.$$slots[e]}),F&&(h=v($,b,g,F,c,t)),M&&(N.$$addScopeInfo($,c,!0,!(I&&(I===M||I===M.$$originalDirective))),N.$$addScopeClass($,!0),c.$$isolateBindings=M.$$isolateBindings,w=se(t,b,c,c.$$isolateBindings,M),w&&c.$on("$destroy",w));for(var C in h){var E=F[C],k=h[C],S=E.$$bindings.bindToController;k.identifier&&S&&(x=se(d,b,k.instance,S,E));var A=k();A!==k.instance&&(k.instance=A,$.data("$"+E.name+"Controller",A),x&&x(),x=se(d,b,k.instance,S,E))}for(ne=0,re=f.length;re>ne;ne++)l=f[ne],ae(l,l.isolateScope?c:t,$,b,l.require&&m(l.directiveName,l.require,$,h),g);var T=t;for(M&&(M.template||null===M.templateUrl)&&(T=c),e&&e(T,i.childNodes,n,s),ne=p.length-1;ne>=0;ne--)l=p[ne],ae(l,l.isolateScope?c:t,$,b,l.require&&m(l.directiveName,l.require,$,h),g)}d=d||{};for(var $,b,E,k,A,T=-Number.MAX_VALUE,O=d.newScopeDirective,F=d.controllerDirectives,M=d.newIsolateScopeDirective,I=d.templateDirective,j=d.nonTlbTranscludeDirective,_=!1,R=!1,U=d.hasElementTranscludeDirective,B=a.$$element=Nr(r),G=c,Z=s,X=!1,ee=!1,ne=0,re=e.length;re>ne;ne++){$=e[ne];var ue=$.$$start,le=$.$$end;if(ue&&(B=z(r,ue,le)),E=n,T>$.priority)break;if((A=$.scope)&&($.templateUrl||(w(A)?(K("new/isolated scope",M||O,$,B),M=$):K("new/isolated scope",M,$,B)),O=O||$),b=$.name,!X&&($.replace&&($.templateUrl||$.template)||$.transclude&&!$.$$tlb)){for(var ce,fe=ne+1;ce=e[fe++];)if(ce.transclude&&!ce.$$tlb||ce.replace&&(ce.templateUrl||ce.template)){ee=!0;break}X=!0}if(!$.templateUrl&&$.controller&&(A=$.controller,F=F||ve(),K("'"+b+"' controller",F[b],$,B),F[b]=$),A=$.transclude)if(_=!0,$.$$tlb||(K("transclusion",j,$,B),j=$),"element"==A)U=!0,T=$.priority,E=B,B=a.$$element=Nr(t.createComment(" "+b+": "+a[b]+" ")),r=B[0],ie(l,H(E),r),Z=q(ee,E,s,T,G&&G.name,{nonTlbTranscludeDirective:j});else{var de=ve();if(E=Nr(Oe(r)).contents(),w(A)){E=[];var he=ve(),ge=ve();o(A,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,he[e]=t,de[t]=null,ge[t]=n}),o(B.contents(),function(e){var t=he[dt(L(e))];t?(ge[t]=!0,de[t]=de[t]||[],de[t].push(e)):E.push(e)}),o(ge,function(e,t){if(!e)throw Ri("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var $e in de)de[$e]&&(de[$e]=q(ee,de[$e],s))}B.empty(),Z=q(ee,E,s,n,n,{needsNewScope:$.$$isolateScope||$.$$newScope}),Z.$$slots=de}if($.template)if(R=!0,K("template",I,$,B),I=$,A=S($.template)?$.template(B,a):$.template,A=me(A),$.replace){if(G=$,E=Ce(A)?[]:mt(te($.templateNamespace,Wr(A))),r=E[0],1!=E.length||r.nodeType!==Kr)throw Ri("tplrt","Template for directive '{0}' must have exactly one root element. {1}",b,"");ie(l,B,r);var ye={$attr:{}},be=P(r,[],ye),we=e.splice(ne+1,e.length-(ne+1));(M||O)&&W(be,M,O),e=e.concat(be).concat(we),Q(a,ye),re=e.length}else B.html(A);if($.templateUrl)R=!0,K("template",I,$,B),I=$,$.replace&&(G=$),g=Y(e.splice(ne,e.length-ne),B,a,l,_&&Z,f,p,{controllerDirectives:F,newScopeDirective:O!==$&&O,newIsolateScopeDirective:M,templateDirective:I,nonTlbTranscludeDirective:j}),re=e.length;else if($.compile)try{k=$.compile(B,a,Z),S(k)?h(null,k,ue,le):k&&h(k.pre,k.post,ue,le)}catch(xe){i(xe,J(B))}$.terminal&&(g.terminal=!0,T=Math.max(T,$.priority))}return g.scope=O&&O.scope===!0,g.transcludeOnThisElement=_,g.templateOnThisElement=R,g.transclude=Z,d.hasElementTranscludeDirective=U,g}function W(e,t,n){for(var r=0,i=e.length;i>r;r++)e[r]=h(e[r],{$$isolateScope:t,$$newScope:n})}function G(t,n,r,o,a,s,u){if(n===a)return null;var f=null;if(l.hasOwnProperty(n))for(var p,d=e.get(n+c),m=0,v=d.length;v>m;m++)try{p=d[m],(y(o)||o>p.priority)&&-1!=p.restrict.indexOf(r)&&(s&&(p=h(p,{$$start:s,$$end:u})),t.push(p),f=p)}catch(g){i(g)}return f}function Z(t){if(l.hasOwnProperty(t))for(var n,r=e.get(t+c),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function Q(e,t){var n=t.$attr,r=e.$attr,i=e.$$element;o(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,o){"class"==o?(M(i,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==o?(i.attr("style",i.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==o.charAt(0)||e.hasOwnProperty(o)||(e[o]=t,r[o]=n[o])})}function Y(e,t,n,r,i,s,u,l){var c,f,p=[],d=t[0],m=e.shift(),v=h(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),g=S(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,$=m.templateNamespace;return t.empty(),a(g).then(function(a){var h,y,b,x;if(a=me(a),m.replace){if(b=Ce(a)?[]:mt(te($,Wr(a))),h=b[0],1!=b.length||h.nodeType!==Kr)throw Ri("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,g);y={$attr:{}},ie(r,t,h);var C=P(h,[],y);w(m.scope)&&W(C,!0),e=C.concat(e),Q(n,y)}else h=d,t.html(a);for(e.unshift(v),c=B(e,h,n,i,t,m,s,u,l),o(r,function(e,n){e==h&&(r[n]=t[0])}),f=j(t[0].childNodes,i);p.length;){var E=p.shift(),k=p.shift(),S=p.shift(),A=p.shift(),T=t[0];if(!E.$$destroyed){if(k!==d){var D=k.className;l.hasElementTranscludeDirective&&m.replace||(T=Oe(h)),ie(S,Nr(k),T),M(Nr(T),D)}x=c.transcludeOnThisElement?_(E,c.transclude,A):A,c(f,E,T,r,x)}}p=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(p?p.push(t,n,r,o):(c.transcludeOnThisElement&&(o=_(t,c.transclude,i)),c(f,t,n,r,o)))}}function X(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name"+n+"",r.childNodes[0].childNodes;default:return n}}function ne(e,t){if("srcdoc"==t)return A.HTML;var n=L(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?A.RESOURCE_URL:void 0}function re(e,t,n,i,o){var a=ne(e,i);o=$[i]||o;var s=r(n,!0,a,o);if(s){if("multiple"===i&&"select"===L(e))throw Ri("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=ve());if(E.test(i))throw Ri("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==n&&(s=c&&r(c,!0,a,o),n=c),s&&(u[i]=s(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function ie(e,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(e)for(i=0,o=e.length;o>i;i++)if(e[i]==a){e[i++]=r;for(var l=i,c=l+s-1,f=e.length;f>l;l++,c++)f>c?e[l]=e[c]:delete e[l];e.length-=s-1,e.context===a&&(e.context=r);break}u&&u.replaceChild(r,a);var p=t.createDocumentFragment();for(i=0;s>i;i++)p.appendChild(n[i]);for(Nr.hasData(a)&&(Nr.data(r,Nr.data(a)),Nr(a).off("$destroy")),Nr.cleanData(p.querySelectorAll("*")),i=1;s>i;i++)delete n[i];n[0]=r,n.length=1}function oe(e,t){return f(function(){return e.apply(null,arguments)},e,t)}function ae(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,J(n))}}function se(e,t,n,i,a){var u=[];return o(i,function(i,o){var l,c,f,p,d=i.attrName,h=i.optional,v=i.mode;switch(v){case"@":h||Tr.call(t,d)||(n[o]=t[d]=void 0),t.$observe(d,function(e){C(e)&&(n[o]=e)}),t.$$observers[d].$$scope=e,C(t[d])&&(n[o]=r(t[d])(e));break;case"=":if(!Tr.call(t,d)){if(h)break;t[d]=void 0}if(h&&!t[d])break;c=s(t[d]),p=c.literal?U:function(e,t){return e===t||e!==e&&t!==t},f=c.assign||function(){throw l=n[o]=c(e),Ri("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",t[d],a.name)},l=n[o]=c(e);var g=function(t){return p(t,n[o])||(p(t,l)?f(e,t=n[o]):n[o]=t),l=t};g.$stateful=!0;var $;$=i.collection?e.$watchCollection(t[d],g):e.$watch(s(t[d],g),null,c.literal),u.push($);break;case"&":if(c=t.hasOwnProperty(d)?s(t[d]):m,c===m&&h)break;n[o]=function(t){return c(e,t)}}}),u.length&&function(){for(var e=0,t=u.length;t>e;++e)u[e]()}}var ue=/^\w/,ce=t.createElement("div"),pe=function(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e};pe.prototype={$normalize:dt,$addClass:function(e){e&&e.length>0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=ht(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=ht(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,r){var a,s=this.$$element[0],u=Be(s,e),l=We(e),c=e;if(u?(this.$$element.prop(e,t),r=u):l&&(this[l]=t,c=l),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e],r||(this.$attr[e]=r=le(e,"-"))),a=L(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=O(t,"src"===e);else if("img"===a&&"srcset"===e){for(var f="",p=Wr(t),d=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,h=/\s/.test(p)?d:/(,)/,m=p.split(h),v=Math.floor(m.length/2),g=0;v>g;g++){var $=2*g;f+=O(Wr(m[$]),!0),f+=" "+Wr(m[$+1])}var b=Wr(m[2*g]).split(/\s/);f+=O(Wr(b[0]),!0),2===b.length&&(f+=" "+Wr(b[1])),this[e]=t=f}n!==!1&&(null===t||y(t)?this.$$element.removeAttr(r):ue.test(r)?this.$$element.attr(r,t):F(this.$$element[0],r,t));var w=this.$$observers;w&&o(w[c],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=ve()),i=r[e]||(r[e]=[]);return i.push(t),g.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||y(n[e])||t(n[e])}),function(){R(i,t)}}};var de=r.startSymbol(),he=r.endSymbol(),me="{{"==de||"}}"==he?v:function(e){return e.replace(/\{\{/g,de).replace(/}}/g,he)},ge=/^ngAttr[A-Z]/,$e=/^(.+)Start$/;return N.$$addBindingInfo=k?function(e,t){var n=e.data("$binding")||[];Hr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:m,N.$$addBindingClass=k?function(e){M(e,"ng-binding")}:m,N.$$addScopeInfo=k?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:m,N.$$addScopeClass=k?function(e,t){M(e,t?"ng-isolate-scope":"ng-scope")}:m,N}]}function dt(e){return xe(e.replace(zi,""))}function ht(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o0?" ":"")+a}return n}function mt(e){e=Nr(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===ni&&Pr.call(e,t,1)}return e}function vt(e,t){if(t&&C(t))return t;if(C(e)){var n=Ui.exec(e);if(n)return n[3]}}function gt(){var e={},t=!1;this.register=function(t,n){de(t,"controller"),w(t)?f(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(i,o){function a(e,t,n,i){if(!e||!w(e.$scope))throw r("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,t);e.$scope[t]=n}return function(r,s,u,l){var c,p,d,h;if(u=u===!0,l&&C(l)&&(h=l),C(r)){if(p=r.match(Ui),!p)throw Vi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",r);d=p[1],h=h||p[3],r=e.hasOwnProperty(d)?e[d]:he(s.$scope,d,!0)||(t?he(o,d,!0):n),pe(r,d,!0)}if(u){var m=(Hr(r)?r[r.length-1]:r).prototype;c=Object.create(m||null),h&&a(s,h,c,d||r.name);var v;return v=f(function(){var e=i.invoke(r,c,s,d);return e!==c&&(w(e)||S(e))&&(c=e,h&&a(s,h,c,d||r.name)),c},{instance:c,identifier:h})}return c=i.instantiate(r,s,d),h&&a(s,h,c,d||r.name),c}}]}function $t(){this.$get=["$window",function(e){return Nr(e.document)}]}function yt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function bt(e){return w(e)?k(e)?e.toISOString():G(e):e}function wt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return a(e,function(e,n){null===e||y(e)||(Hr(e)?o(e,function(e,r){t.push(re(n)+"="+re(bt(e)))}):t.push(re(n)+"="+re(bt(e))))}),t.join("&")}}}function xt(){this.$get=function(){return function(e){function t(e,r,i){null===e||y(e)||(Hr(e)?o(e,function(e,n){t(e,r+"["+(w(e)?n:"")+"]")}):w(e)&&!k(e)?a(e,function(e,n){t(e,r+(i?"":"[")+n+(i?"":"]"))}):n.push(re(r)+"="+re(bt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function Ct(e,t){if(C(e)){var n=e.replace(Zi,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Hi)||Et(n))&&(e=Z(n))}}return e}function Et(e){var t=e.match(Wi);return t&&Gi[t[0]].test(e)}function kt(e){function t(e,t){e&&(r[e]=r[e]?r[e]+", "+t:t)}var n,r=ve();return C(e)?o(e.split("\n"),function(e){n=e.indexOf(":"),t(Ar(Wr(e.substr(0,n))),Wr(e.substr(n+1)))}):w(e)&&o(e,function(e,n){t(Ar(n),Wr(e))}),r}function St(e){var t;return function(n){if(t||(t=kt(e)),n){var r=t[Ar(n)];return void 0===r&&(r=null),r}return t}}function At(e,t,n,r){return S(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function Tt(e){return e>=200&&300>e}function Dt(){var e=this.defaults={transformResponse:[Ct],transformRequest:[function(e){return!w(e)||O(e)||M(e)||F(e)?e:G(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:V(Bi),put:V(Bi),patch:V(Bi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},t=!1;this.useApplyAsync=function(e){return b(e)?(t=!!e,this):t};var i=!0;this.useLegacyPromiseExtensions=function(e){return b(e)?(i=!!e,this):i};var a=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(s,u,l,c,p,d){function h(t){function a(e){var t=f({},e);return t.data=At(e.data,e.headers,e.status,l.transformResponse),Tt(e.status)?t:p.reject(t)}function s(e,t){var n,r={};return o(e,function(e,i){S(e)?(n=e(t),null!=n&&(r[i]=n)):r[i]=e}),r}function u(t){var n,r,i,o=e.headers,a=f({},t.headers);o=f({},o.common,o[Ar(t.method)]);e:for(n in o){r=Ar(n);for(i in a)if(Ar(i)===r)continue e;a[n]=o[n]}return s(a,V(t))}if(!w(t))throw r("$http")("badreq","Http request configuration must be an object. Received: {0}",t);if(!C(t.url))throw r("$http")("badreq","Http request configuration url must be a string. Received: {0}",t.url);var l=f({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},t);l.headers=u(t),l.method=Dr(l.method),l.paramSerializer=C(l.paramSerializer)?d.get(l.paramSerializer):l.paramSerializer;var c=function(t){var r=t.headers,i=At(t.data,St(r),n,t.transformRequest);return y(i)&&o(r,function(e,t){"content-type"===Ar(t)&&delete r[t]}),y(t.withCredentials)&&!y(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,i).then(a,a)},h=[c,n],m=p.when(l);for(o(E,function(e){(e.request||e.requestError)&&h.unshift(e.request,e.requestError),(e.response||e.responseError)&&h.push(e.response,e.responseError)});h.length;){var v=h.shift(),$=h.shift();m=m.then(v,$)}return i?(m.success=function(e){return pe(e,"fn"),m.then(function(t){e(t.data,t.status,t.headers,l)}),m},m.error=function(e){return pe(e,"fn"),m.then(null,function(t){e(t.data,t.status,t.headers,l)}),m}):(m.success=Yi("success"),m.error=Yi("error")),m}function m(e){o(arguments,function(e){h[e]=function(t,n){return h(f({},n||{},{method:e,url:t}))}})}function v(e){o(arguments,function(e){h[e]=function(t,n,r){return h(f({},r||{},{method:e,url:t,data:n}))}})}function g(r,i){function o(e,n,r,i){function o(){a(n,e,r,i)}d&&(Tt(e)?d.put(E,[e,n,kt(r),i]):d.remove(E)),t?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function a(e,t,n,i){t=t>=-1?t:0,(Tt(t)?v.resolve:v.reject)({data:e,status:t,headers:St(n),config:r,statusText:i})}function l(e){a(e.data,e.status,V(e.headers()),e.statusText)}function f(){var e=h.pendingRequests.indexOf(r);-1!==e&&h.pendingRequests.splice(e,1)}var d,m,v=p.defer(),g=v.promise,C=r.headers,E=$(r.url,r.paramSerializer(r.params));if(h.pendingRequests.push(r),g.then(f,f),!r.cache&&!e.cache||r.cache===!1||"GET"!==r.method&&"JSONP"!==r.method||(d=w(r.cache)?r.cache:w(e.cache)?e.cache:x),d&&(m=d.get(E),b(m)?I(m)?m.then(l,l):Hr(m)?a(m[1],m[0],V(m[2]),m[3]):a(m,200,{},"OK"):d.put(E,g)),y(m)){var k=Fn(r.url)?u()[r.xsrfCookieName||e.xsrfCookieName]:n;k&&(C[r.xsrfHeaderName||e.xsrfHeaderName]=k),s(r.method,E,i,o,C,r.timeout,r.withCredentials,r.responseType)}return g}function $(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}var x=l("$http");e.paramSerializer=C(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var E=[];return o(a,function(e){E.unshift(C(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],m("get","delete","head","jsonp"),v("post","put","patch"),h.defaults=e,h}]}function Ot(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Ft(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return Mt(e,r,e.defer,t.angular.callbacks,n[0])}]}function Mt(e,t,n,r,i){function a(e,t,n){var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=e,o.async=!0,a=function(e){li(o,"load",a),li(o,"error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";e&&("load"!==e.type||r[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},ui(o,"load",a),ui(o,"error",a),i.body.appendChild(o),a}return function(i,s,u,l,c,f,p,d){function h(){$&&$(),w&&w.abort()}function v(t,r,i,o,a){b(E)&&n.cancel(E),$=w=null,t(r,i,o,a),e.$$completeOutstandingRequest(m)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==Ar(i)){var g="_"+(r.counter++).toString(36);r[g]=function(e){r[g].data=e,r[g].called=!0};var $=a(s.replace("JSON_CALLBACK","angular.callbacks."+g),g,function(e,t){v(l,e,r[g].data,"",t),r[g]=m})}else{var w=t(i,s);w.open(i,s,!0),o(c,function(e,t){b(e)&&w.setRequestHeader(t,e)}),w.onload=function(){var e=w.statusText||"",t="response"in w?w.response:w.responseText,n=1223===w.status?204:w.status;0===n&&(n=t?200:"file"==On(s).protocol?404:0),v(l,n,t,w.getAllResponseHeaders(),e)};var x=function(){v(l,-1,null,null,"")};if(w.onerror=x,w.onabort=x,p&&(w.withCredentials=!0),d)try{w.responseType=d}catch(C){if("json"!==d)throw C}w.send(y(u)?null:u)}if(f>0)var E=n(h,f);else I(f)&&f.then(h)}}function Nt(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(n){return n.replace(d,e).replace(h,t)}function s(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=G(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function l(o,l,d,h){function m(e){try{return e=M(e),h&&!b(e)?e:s(e)}catch(t){r(Xi.interr(o,t))}}if(!o.length||-1===o.indexOf(e)){var v;if(!l){var $=a(o);v=g($),v.exp=o,v.expressions=[],v.$$watchDelegate=u}return v}h=!!h;for(var w,x,C,E=0,k=[],A=[],T=o.length,D=[],O=[];T>E;){if(-1==(w=o.indexOf(e,E))||-1==(x=o.indexOf(t,w+c))){E!==T&&D.push(a(o.substring(E)));break}E!==w&&D.push(a(o.substring(E,w))),C=o.substring(w+c,x),k.push(C),A.push(n(C,m)),E=x+p,O.push(D.length),D.push("")}if(d&&D.length>1&&Xi.throwNoconcat(o),!l||k.length){var F=function(e){for(var t=0,n=k.length;n>t;t++){if(h&&y(e[t]))return;D[O[t]]=e[t]}return D.join("")},M=function(e){return d?i.getTrusted(d,e):i.valueOf(e)};return f(function(e){var t=0,n=k.length,i=new Array(n);try{for(;n>t;t++)i[t]=A[t](e);return F(i)}catch(a){r(Xi.interr(o,a))}},{exp:o,expressions:k,$$watchDelegate:function(e,t){var n;return e.$watchGroup(A,function(r,i){var o=F(r);S(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var c=e.length,p=t.length,d=new RegExp(e.replace(/./g,o),"g"),h=new RegExp(t.replace(/./g,o),"g");return l.startSymbol=function(){return e},l.endSymbol=function(){return t},l}]}function It(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,s,u,l){function c(){f?o.apply(null,p):o(m)}var f=arguments.length>4,p=f?H(arguments,4):[],d=t.setInterval,h=t.clearInterval,m=0,v=b(l)&&!l,g=(v?r:n).defer(),$=g.promise;return u=b(u)?u:0,$.$$intervalId=d(function(){v?i.defer(c):e.$evalAsync(c),g.notify(m++),u>0&&m>=u&&(g.resolve(m),h($.$$intervalId),delete a[$.$$intervalId]),v||e.$apply()},s),a[$.$$intervalId]=g,$}var a={};return o.cancel=function(e){return e&&e.$$intervalId in a?(a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0):!1},o}]}function jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ne(t[n]);return t.join("/")}function _t(e,t){var n=On(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=d(n.port)||Ki[n.protocol]||null}function Pt(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=On(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=ee(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Lt(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Rt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function zt(e){return e.replace(/(#.+)|#$/,"$1")}function Vt(e){return e.substr(0,Rt(e).lastIndexOf("/")+1)}function Ut(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function qt(e,t,n){this.$$html5=!0,n=n||"",_t(e,this),this.$$parse=function(e){var n=Lt(t,e);if(!C(n))throw eo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Pt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=te(this.$$search),n=this.$$hash?"#"+ne(this.$$hash):"";this.$$url=jt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return b(o=Lt(e,r))?(a=o,s=b(o=Lt(n,o))?t+(Lt("/",o)||o):e+a):b(o=Lt(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Ht(e,t,n){_t(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=Lt(e,r)||Lt(t,r);y(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",y(a)&&(e=r,this.replace())):(o=Lt(n,a),y(o)&&(o=a)),Pt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=te(this.$$search),r=this.$$hash?"#"+ne(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Rt(e)==Rt(t)?(this.$$parse(t),!0):!1}}function Bt(e,t,n){this.$$html5=!0,Ht.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Rt(r)?o=r:(a=Lt(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=te(this.$$search),r=this.$$hash?"#"+ne(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Wt(e){return function(){return this[e]}}function Gt(e,t){return function(n){return y(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Zt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return b(t)?(e=t,this):e},this.html5Mode=function(e){return N(e)?(t.enabled=e,this):w(e)?(N(e.enabled)&&(t.enabled=e.enabled),N(e.requireBase)&&(t.requireBase=e.requireBase),N(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(a){throw l.url(i),l.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c,f,p=r.baseHref(),d=r.url();if(t.enabled){if(!p&&t.requireBase)throw eo("nobase","$location in HTML5 mode requires a tag to be present!");f=Ut(d)+(p||"/"),c=i.history?qt:Bt}else f=Rt(d),c=Ht;var h=Vt(f);l=new c(f,h,"#"+e),l.$$parseLinkUrl(d,d),l.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=Nr(e.target);"a"!==L(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");w(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=On(s.animVal).href),m.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(s,u)&&(e.preventDefault(),l.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),zt(l.absUrl())!=zt(d)&&r.url(l.absUrl(),!0);var v=!0;return r.onUrlChange(function(e,t){return y(Lt(h,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=zt(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,s(i,!1,o)):(v=!1,u(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var e=zt(r.url()),t=zt(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(v||c)&&(v=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(c&&s(t,a,o===l.$$state?null:l.$$state),u(e,o)))})),l.$$replace=!1}),l}]}function Qt(){var e=!0,t=this;this.debugEnabled=function(t){return b(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function i(e){var t=n.console||{},i=t[e]||t.log||m,a=!1;try{a=!!i.apply}catch(s){}return a?function(){var e=[];return o(arguments,function(t){e.push(r(t))}),i.apply(t,e)}:function(e,t){i(e,null==t?"":t)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Yt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw no("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Xt(e,t){if(e+="",!C(e))throw no("iseccst","Cannot convert object to primitive value! Expression: {0}",t);return e}function Jt(e,t){if(e){if(e.constructor===e)throw no("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw no("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw no("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw no("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function Kt(e,t){if(e){if(e.constructor===e)throw no("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===ro||e===io||e===oo)throw no("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function en(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw no("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function tn(e,t){return"undefined"!=typeof e?e:t}function nn(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function rn(e,t){var n=e(t);return!n.$stateful}function on(e,t){var n,r;switch(e.type){case lo.Program:n=!0,o(e.body,function(e){on(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case lo.Literal:e.constant=!0,e.toWatch=[];break;case lo.UnaryExpression:on(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case lo.BinaryExpression:on(e.left,t),on(e.right,t),e.constant=e.left.constant&&e.right.constant, +e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case lo.LogicalExpression:on(e.left,t),on(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case lo.ConditionalExpression:on(e.test,t),on(e.alternate,t),on(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case lo.Identifier:e.constant=!1,e.toWatch=[e];break;case lo.MemberExpression:on(e.object,t),e.computed&&on(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case lo.CallExpression:n=e.filter?rn(t,e.callee.name):!1,r=[],o(e.arguments,function(e){on(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&rn(t,e.callee.name)?r:[e];break;case lo.AssignmentExpression:on(e.left,t),on(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case lo.ArrayExpression:n=!0,r=[],o(e.elements,function(e){on(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case lo.ObjectExpression:n=!0,r=[],o(e.properties,function(e){on(e.value,t),n=n&&e.value.constant,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case lo.ThisExpression:e.constant=!1,e.toWatch=[];break;case lo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function an(e){if(1==e.length){var t=e[0].expression,r=t.toWatch;return 1!==r.length?r:r[0]!==t?r:n}}function sn(e){return e.type===lo.Identifier||e.type===lo.MemberExpression}function un(e){return 1===e.body.length&&sn(e.body[0].expression)?{type:lo.AssignmentExpression,left:e.body[0].expression,right:{type:lo.NGValueParameter},operator:"="}:void 0}function ln(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===lo.Literal||e.body[0].expression.type===lo.ArrayExpression||e.body[0].expression.type===lo.ObjectExpression)}function cn(e){return e.constant}function fn(e,t){this.astBuilder=e,this.$filter=t}function pn(e,t){this.astBuilder=e,this.$filter=t}function dn(e){return"constructor"==e}function hn(e){return S(e.valueOf)?e.valueOf():fo.call(e)}function mn(){var e=ve(),t=ve();this.$get=["$filter",function(r){function i(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=hn(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function a(e,t,r,o,a){var s,u=o.inputs;if(1===u.length){var l=i;return u=u[0],e.$watch(function(e){var t=u(e);return i(t,l)||(s=o(e,n,n,[t]),l=t&&hn(t)),s},t,r,a)}for(var c=[],f=[],p=0,d=u.length;d>p;p++)c[p]=i,f[p]=null;return e.$watch(function(e){for(var t=!1,r=0,a=u.length;a>r;r++){var l=u[r](e);(t||(t=!i(l,c[r])))&&(f[r]=l,c[r]=l&&hn(l))}return t&&(s=o(e,n,n,f)),s},t,r,a)}function s(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,S(t)&&t.apply(this,arguments),b(e)&&r.$$postDigest(function(){b(o)&&i()})},n)}function u(e,t,n,r){function i(e){var t=!0;return o(e,function(e){b(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return r(e)},function(e,n,r){s=e,S(t)&&t.call(this,e,n,r),i(e)&&r.$$postDigest(function(){i(s)&&a()})},n)}function l(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function c(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==u&&n!==s,o=i?function(n,i,o,a){var s=r&&a?a[0]:e(n,i,o,a);return t(s,n,i)}:function(n,r,i,o){var a=e(n,r,i,o),s=t(a,n,r);return b(a)?s:a};return e.$$watchDelegate&&e.$$watchDelegate!==a?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=a,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var f=Zr().noUnsafeEval,p={csp:f,expensiveChecks:!1},d={csp:f,expensiveChecks:!0};return function(n,i,o){var f,h,v;switch(typeof n){case"string":n=n.trim(),v=n;var g=o?t:e;if(f=g[v],!f){":"===n.charAt(0)&&":"===n.charAt(1)&&(h=!0,n=n.substring(2));var $=o?d:p,y=new uo($),b=new co(y,r,$);f=b.parse(n),f.constant?f.$$watchDelegate=l:h?f.$$watchDelegate=f.literal?u:s:f.inputs&&(f.$$watchDelegate=a),g[v]=f}return c(f,i);case"function":return c(n,i);default:return c(m,i)}}}]}function vn(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return $n(function(t){e.$evalAsync(t)},t)}]}function gn(){this.$get=["$browser","$exceptionHandler",function(e,t){return $n(function(t){e.defer(t)},t)}]}function $n(e,t){function i(){this.$$state={status:0}}function a(e,t){return function(n){t.call(e,n)}}function s(e){var r,i,o;o=e.pending,e.processScheduled=!1,e.pending=n;for(var a=0,s=o.length;s>a;++a){i=o[a][0],r=o[a][e.status];try{S(r)?i.resolve(r(e.value)):1===e.status?i.resolve(e.value):i.reject(e.value)}catch(u){i.reject(u),t(u)}}}function u(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){s(t)}))}function l(){this.promise=new i}function c(e){var t=new l,n=0,r=Hr(e)?[]:{};return o(e,function(e,i){n++,g(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}var p=r("$q",TypeError),d=function(){var e=new l;return e.resolve=a(e,e.resolve),e.reject=a(e,e.reject),e.notify=a(e,e.notify),e};f(i.prototype,{then:function(e,t,n){if(y(e)&&y(t)&&y(n))return this;var r=new l;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&u(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return v(t,!0,e)},function(t){return v(t,!1,e)},t)}}),f(l.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(p("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){function n(e){s||(s=!0,o.$$resolve(e))}function r(e){s||(s=!0,o.$$reject(e))}var i,o=this,s=!1;try{(w(e)||S(e))&&(i=e&&e.then),S(i)?(this.promise.$$state.status=-1,i.call(e,n,r,a(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,u(this.promise.$$state))}catch(l){r(l),t(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,u(this.promise.$$state)},notify:function(n){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;a>o;o++){i=r[o][0],e=r[o][3];try{i.notify(S(e)?e(n):n)}catch(s){t(s)}}})}});var h=function(e){var t=new l;return t.reject(e),t.promise},m=function(e,t){var n=new l;return t?n.resolve(e):n.reject(e),n.promise},v=function(e,t,n){var r=null;try{S(n)&&(r=n())}catch(i){return m(i,!1)}return I(r)?r.then(function(){return m(e,t)},function(e){return m(e,!1)}):m(e,t)},g=function(e,t,n,r){var i=new l;return i.resolve(e),i.promise.then(t,n,r)},$=g,b=function x(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!S(e))throw p("norslvr","Expected resolverFn, got '{0}'",e);if(!(this instanceof x))return new x(e);var r=new l;return e(t,n),r.promise};return b.defer=d,b.reject=h,b.when=g,b.resolve=$,b.all=c,b}function yn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function bn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=u(),this.$$ChildScope=null}return t.prototype=e,t}var t=10,n=r("$rootScope"),a=null,s=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$exceptionHandler","$parse","$browser",function(r,l,c){function f(e){e.currentScope.$$destroyed=!0}function p(e){9===Mr&&(e.$$childHead&&p(e.$$childHead),e.$$nextSibling&&p(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function d(){this.$id=u(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function h(e){if(E.$$phase)throw n("inprog","{0} already in progress",E.$$phase);E.$$phase=e}function v(){E.$$phase=null}function g(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function $(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function b(){}function x(){for(;T.length;)try{T.shift()()}catch(e){r(e)}s=null}function C(){null===s&&(s=c.defer(function(){E.$apply(x)}))}d.prototype={constructor:d,$new:function(t,n){var r;return n=n||this,t?(r=new d,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,s=o.$$watchers,u={fn:t,last:b,get:i,exp:r||e,eq:!!n};return a=null,S(t)||(u.fn=m),s||(s=o.$$watchers=[]),s.unshift(u),g(this,1),function(){R(s,u)>=0&&g(o,-1),a=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(i,i,s)):t(i,r,s)}var r=new Array(e.length),i=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(i,i,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,o){i[0]=e,r[0]=n,t(i,e===n?i:r,o)}):(o(e,function(e,t){var o=s.$watch(e,function(e,o){i[t]=e,r[t]=o,u||(u=!0,s.$evalAsync(n))});a.push(o)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function n(e){o=e;var t,n,r,s,u;if(!y(o)){if(w(o))if(i(o)){a!==d&&(a=d,v=a.length=0,f++),t=o.length,v!==t&&(f++,a.length=v=t);for(var l=0;t>l;l++)u=a[l],s=o[l],r=u!==u&&s!==s,r||u===s||(f++,a[l]=s)}else{a!==h&&(a=h={},v=0,f++),t=0;for(n in o)Tr.call(o,n)&&(t++,s=o[n],u=a[n],n in a?(r=u!==u&&s!==s,r||u===s||(f++,a[n]=s)):(v++,a[n]=s,f++));if(v>t){f++;for(n in a)Tr.call(o,n)||(v--,delete a[n])}}else a!==o&&(a=o,f++);return f}}function r(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(w(o))if(i(o)){s=new Array(o.length);for(var e=0;e1,f=0,p=l(e,n),d=[],h={},m=!0,v=0;return this.$watch(p,r)},$digest:function(){var e,i,o,u,l,f,p,d,m,g,$=t,y=this,w=[];h("$digest"),c.$$checkUrlChange(),this===E&&null!==s&&(c.defer.cancel(s),x()),a=null;do{for(f=!1,d=y;k.length;){try{g=k.shift(),g.scope.$eval(g.expression,g.locals)}catch(C){r(C)}a=null}e:do{if(u=d.$$watchers)for(l=u.length;l--;)try{if(e=u[l])if((i=e.get(d))===(o=e.last)||(e.eq?U(i,o):"number"==typeof i&&"number"==typeof o&&isNaN(i)&&isNaN(o))){if(e===a){f=!1;break e}}else f=!0,a=e,e.last=e.eq?z(i,null):i,e.fn(i,o===b?i:o,d),5>$&&(m=4-$,w[m]||(w[m]=[]),w[m].push({msg:S(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:i,oldVal:o}))}catch(C){r(C)}if(!(p=d.$$watchersCount&&d.$$childHead||d!==y&&d.$$nextSibling))for(;d!==y&&!(p=d.$$nextSibling);)d=d.$parent}while(d=p);if((f||k.length)&&!$--)throw v(),n("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,w)}while(f||k.length);for(v();A.length;)try{A.shift()()}catch(C){r(C)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===E&&c.$$applicationDestroyed(),g(this,-this.$$watchersCount);for(var t in this.$$listenerCount)$(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=m,this.$on=this.$watch=this.$watchGroup=function(){return m},this.$$listeners={},this.$$nextSibling=null,p(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){E.$$phase||k.length||c.defer(function(){k.length&&E.$digest()}),k.push({scope:this,expression:e,locals:t})},$$postDigest:function(e){A.push(e)},$apply:function(e){try{h("$apply");try{return this.$eval(e)}finally{v()}}catch(t){r(t)}finally{try{E.$digest()}catch(t){throw r(t),t}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&T.push(t),C()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,$(i,1,e))}},$emit:function(e,t){var n,i,o,a=[],s=this,u=!1,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=q([l],arguments,1);do{for(n=s.$$listeners[e]||a,l.currentScope=s,i=0,o=n.length;o>i;i++)if(n[i])try{n[i].apply(null,c)}catch(f){r(f)}else n.splice(i,1),i--,o--;if(u)return l.currentScope=null,l;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(e,t){var n=this,i=n,o=n,a={name:e,targetScope:n,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return a;for(var s,u,l,c=q([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[e]||[],u=0,l=s.length;l>u;u++)if(s[u])try{s[u].apply(null,c)}catch(f){r(f)}else s.splice(u,1),u--,l--;if(!(o=i.$$listenerCount[e]&&i.$$childHead||i!==n&&i.$$nextSibling))for(;i!==n&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var E=new d,k=E.$$asyncQueue=[],A=E.$$postDigestQueue=[],T=E.$$applyAsyncQueue=[];return E}]}function wn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return b(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return b(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=On(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function xn(e){if("self"===e)return e;if(C(e)){if(e.indexOf("***")>-1)throw po("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Gr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(A(e))return new RegExp("^"+e.source+"$");throw po("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Cn(e){var t=[];return b(e)&&o(e,function(e){t.push(xn(e))}),t}function En(){this.SCE_CONTEXTS=ho;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Cn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Cn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Fn(t):!!e.exec(t.href)}function i(n){var i,o,a=On(n.toString()),s=!1;for(i=0,o=e.length;o>i;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;o>i;i++)if(r(t[i],a)){s=!1;break}return s}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var n=f.hasOwnProperty(e)?f[e]:null;if(!n)throw po("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||y(t)||""===t)return t;if("string"!=typeof t)throw po("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function s(e){return e instanceof c?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||y(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===ho.RESOURCE_URL){if(i(t))return t;throw po("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===ho.HTML)return l(t);throw po("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw po("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[ho.HTML]=o(c),f[ho.CSS]=o(c),f[ho.URL]=o(c),f[ho.JS]=o(c),f[ho.RESOURCE_URL]=o(f[ho.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function kn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Mr)throw po("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var r=V(ho);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=v),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return o(ho,function(e,t){var n=Ar(t);r[xe("parse_as_"+n)]=function(t){return i(e,t)},r[xe("get_trusted_"+n)]=function(t){return a(e,t)},r[xe("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Sn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=d((/android (\d+)/.exec(Ar((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=/^(Moz|webkit|ms)(?=[A-Z])/,l=s.body&&s.body.style,c=!1,f=!1;if(l){for(var p in l)if(r=u.exec(p)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in l&&"webkit"),c=!!("transition"in l||n+"Transition"in l),f=!!("animation"in l||n+"Animation"in l),!o||c&&f||(c=C(l.webkitTransition),f=C(l.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>o||a),hasEvent:function(e){if("input"===e&&11>=Mr)return!1;if(y(i[e])){var t=s.createElement("div");i[e]="on"+e in t}return i[e]},csp:Zr(),vendorPrefix:n,transitions:c,animations:f,android:o}}]}function An(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$templateCache","$http","$q","$sce",function(t,n,r,i){function o(a,s){function u(e){if(!s)throw Ri("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,C(a)&&t.get(a)||(a=i.getTrustedResourceUrl(a));var l=n.defaults&&n.defaults.transformResponse;return Hr(l)?l=l.filter(function(e){return e!==Ct}):l===Ct&&(l=null),n.get(a,f({cache:t,transformResponse:l},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function Tn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={};return r.findBindings=function(e,t,n){var r=e.getElementsByClassName("ng-binding"),i=[];return o(r,function(e){var r=Ur.element(e).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+Gr(t)+"(\\s|\\||$)");o.test(r)&&i.push(e)}else-1!=r.indexOf(t)&&i.push(e)})}),i},r.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=t(o.substring(0,s)),y(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function In(){this.$get=Nn}function jn(e){function t(r,i){if(w(r)){var a={};return o(r,function(e,n){a[n]=t(n,e)}),a}return e.factory(r+n,i)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",zn),t("date",tr),t("filter",_n),t("json",nr),t("limitTo",rr),t("lowercase",Co),t("number",Vn),t("orderBy",ir),t("uppercase",Eo)}function _n(){return function(e,t,n){if(!i(e)){if(null==e)return e;throw r("filter")("notarray","Expected array but received: {0}",e)}var o,a,s=Rn(t);switch(s){case"function":o=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Pn(t,n,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Pn(e,t,n){var r,i=w(e)&&"$"in e;return t===!0?t=U:S(t)||(t=function(e,t){return y(e)?!1:null===e||null===t?e===t:w(t)||w(e)&&!$(e)?!1:(e=Ar(""+e),t=Ar(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!w(r)?Ln(r,e.$,t,!1):Ln(r,e,t,n)}}function Ln(e,t,n,r,i){var o=Rn(e),a=Rn(t);if("string"===a&&"!"===t.charAt(0))return!Ln(e,t.substring(1),n,r);if(Hr(e))return e.some(function(e){return Ln(e,t,n,r)});switch(o){case"object":var s;if(r){for(s in e)if("$"!==s.charAt(0)&&Ln(e[s],t,n,!0))return!0;return i?!1:Ln(e,t,n,!1)}if("object"===a){for(s in t){var u=t[s];if(!S(u)&&!y(u)){var l="$"===s,c=l?e:e[s];if(!Ln(c,u,n,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Rn(e){return null===e?"null":typeof e}function zn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return y(n)&&(n=t.CURRENCY_SYM),y(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Hn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Vn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Hn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Un(e){var t,n,r,i,o,a=0;for((n=e.indexOf($o))>-1&&(e=e.replace($o,"")),(r=e.search(/e/i))>0?(0>n&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):0>n&&(n=e.length),r=0;e.charAt(r)==yo;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==yo;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>go&&(t=t.splice(0,go-1),a=n-1,n=1),{d:t,e:a,i:n}}function qn(e,t,n,r){var i=e.d,o=i.length-e.i;t=y(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0)i.splice(a);else{e.i=1,i.length=a=t+1;for(var u=0;a>u;u++)i[u]=0}for(s>=5&&i[a-1]++;t>o;o++)i.push(0);var l=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);l&&(i.unshift(l),e.i++)}function Hn(e,t,n,r,i){if(!C(e)&&!E(e)||isNaN(e))return"";var o,a=!isFinite(e),s=!1,u=Math.abs(e)+"",l="";if(a)l="∞";else{o=Un(u),qn(o,i,t.minFrac,t.maxFrac);var c=o.d,f=o.i,p=o.e,d=[];for(s=c.reduce(function(e,t){return e&&!t},!0);0>f;)c.unshift(0),f++;f>0?d=c.splice(f):(d=c,c=[0]);var h=[];for(c.length>t.lgSize&&h.unshift(c.splice(-t.lgSize).join(""));c.length>t.gSize;)h.unshift(c.splice(-t.gSize).join(""));c.length&&h.unshift(c.join("")),l=h.join(n),d.length&&(l+=r+d.join("")),p&&(l+="e+"+p)}return 0>e&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Bn(e,t,n){var r="";for(0>e&&(r="-",e=-e),e=""+e;e.length0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),Bn(o,t,r)}}function Gn(e,t){return function(n,r){var i=n["get"+e](),o=Dr(t?"SHORT"+e:e);return r[o][i]}}function Zn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Bn(Math[r>0?"floor":"ceil"](r/60),2)+Bn(Math.abs(r%60),2)}function Qn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Yn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Xn(e){return function(t){var n=Qn(t.getFullYear()),r=Yn(t),i=+r-+n,o=1+Math.round(i/6048e5);return Bn(o,e)}}function Jn(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function Kn(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function er(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function tr(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=d(t[9]+t[10]),o=d(t[9]+t[11])),a.call(r,d(t[1]),d(t[2])-1,d(t[3]));var u=d(t[4]||0)-i,l=d(t[5]||0)-o,c=d(t[6]||0),f=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,f),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var a,s,u="",l=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,C(n)&&(n=xo.test(n)?d(n):t(n)),E(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;r;)s=wo.exec(r),s?(l=q(l,s,1),r=l.pop()):(l.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=Q(i,n.getTimezoneOffset()),n=X(n,i,!0)),o(l,function(t){a=bo[t],u+=a?a(n,e.DATETIME_FORMATS,c):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function nr(){return function(e,t){return y(t)&&(t=2),G(e,t)}}function rr(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):d(t),isNaN(t)?e:(E(e)&&(e=e.toString()),Hr(e)||C(e)?(n=!n||isNaN(n)?0:d(n),n=0>n?Math.max(0,e.length+n):n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function ir(e){function t(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=v;if(S(t))i=t;else if(C(t)&&(("+"==t.charAt(0)||"-"==t.charAt(0))&&(r="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t),i.constant))){var o=i();i=function(e){return e[o]}}return{get:i,descending:r*n}})}function n(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e,t){return"function"==typeof e.valueOf&&(e=e.valueOf(),n(e))?e:$(e)&&(e=e.toString(),n(e))?e:t}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"string"===n?e=e.toLowerCase():"object"===n&&(e=o(e,t)),{value:e,type:n}}function s(e,t){var n=0;return e.type===t.type?e.value!==t.value&&(n=e.valuer&&!(n=s(e.predicateValues[r],t.predicateValues[r])*c[r].descending);++r);return n}if(null==e)return e;if(!i(e))throw r("orderBy")("notarray","Expected array but received: {0}",e);Hr(n)||(n=[n]),0===n.length&&(n=["+"]);var c=t(n,o);c.push({get:function(){return{}},descending:o?-1:1});var f=Array.prototype.map.call(e,u);return f.sort(l),e=f.map(function(e){return e.value})}}function or(e){return S(e)&&(e={link:e}),e.restrict=e.restrict||"AC",g(e)}function ar(e,t){e.$name=t}function sr(e,t,r,i,a){var s=this,u=[];s.$error={},s.$$success={},s.$pending=n,s.$name=a(t.name||t.ngForm||"")(r),s.$dirty=!1,s.$pristine=!0,s.$valid=!0,s.$invalid=!1,s.$submitted=!1,s.$$parentForm=Ao,s.$rollbackViewValue=function(){o(u,function(e){e.$rollbackViewValue()})},s.$commitViewValue=function(){o(u,function(e){e.$commitViewValue()})},s.$addControl=function(e){de(e.$name,"input"),u.push(e),e.$name&&(s[e.$name]=e),e.$$parentForm=s},s.$$renameControl=function(e,t){var n=e.$name;s[n]===e&&delete s[n],s[t]=e,e.$name=t},s.$removeControl=function(e){e.$name&&s[e.$name]===e&&delete s[e.$name],o(s.$pending,function(t,n){s.$setValidity(n,null,e)}),o(s.$error,function(t,n){s.$setValidity(n,null,e)}),o(s.$$success,function(t,n){s.$setValidity(n,null,e)}),R(u,e),e.$$parentForm=Ao},xr({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(R(r,n),0===r.length&&delete e[t])},$animate:i}),s.$setDirty=function(){i.removeClass(e,la),i.addClass(e,ca),s.$dirty=!0,s.$pristine=!1,s.$$parentForm.$setDirty()},s.$setPristine=function(){i.setClass(e,la,ca+" "+To),s.$dirty=!1,s.$pristine=!0,s.$submitted=!1,o(u,function(e){e.$setPristine()})},s.$setUntouched=function(){o(u,function(e){e.$setUntouched()})},s.$setSubmitted=function(){i.addClass(e,To),s.$submitted=!0,s.$$parentForm.$setSubmitted()}}function ur(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function lr(e,t,n,r,i,o){cr(e,t,n,r,i,o),ur(r)}function cr(e,t,n,r,i,o){var a=Ar(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(e){s=!0}),t.on("compositionend",function(){s=!1,u()})}var u=function(e){if(l&&(o.defer.cancel(l),l=null),!s){var i=t.val(),u=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Wr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,u)}};if(i.hasEvent("input"))t.on("input",u);else{var l,c=function(e,t,n){l||(l=o.defer(function(){l=null,t&&t.value===n||u(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",u),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function fr(e,t){if(k(e))return e;if(C(e)){Lo.lastIndex=0;var n=Lo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Qn(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,l.getDate()+c,o,a,s,u)}}return NaN}function pr(e,t){return function(n,r){var i,a;if(k(n))return n;if(C(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Mo.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.shift(),a=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(i,function(e,n){n=v},s.$observe("min",function(e){v=d(e),u.$validate()})}if(b(s.max)||s.ngMax){var g;u.$validators.max=function(e){return!p(e)||y(g)||r(e)<=g},s.$observe("max",function(e){g=d(e),u.$validate()})}}}function hr(e,t,r,i){var o=t[0],a=i.$$hasNativeValidators=w(o.validity);a&&i.$parsers.push(function(e){var r=t.prop(Sr)||{};return r.badInput||r.typeMismatch?n:e})}function mr(e,t,r,i,o,a){if(hr(e,t,r,i),cr(e,t,r,i,o,a),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:jo.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!E(e))throw va("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),b(r.min)||r.ngMin){var s;i.$validators.min=function(e){return i.$isEmpty(e)||y(s)||e>=s},r.$observe("min",function(e){b(e)&&!E(e)&&(e=parseFloat(e,10)),s=E(e)&&!isNaN(e)?e:n,i.$validate()})}if(b(r.max)||r.ngMax){var u;i.$validators.max=function(e){return i.$isEmpty(e)||y(u)||u>=e; +},r.$observe("max",function(e){b(e)&&!E(e)&&(e=parseFloat(e,10)),u=E(e)&&!isNaN(e)?e:n,i.$validate()})}}function vr(e,t,n,r,i,o){cr(e,t,n,r,i,o),ur(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||No.test(n)}}function gr(e,t,n,r,i,o){cr(e,t,n,r,i,o),ur(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Io.test(n)}}function $r(e,t,n,r){y(n.name)&&t.attr("name",u());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function yr(e,t,n,r,i){var o;if(b(r)){if(o=e(r),!o.constant)throw va("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function br(e,t,n,r,i,o,a,s){var u=yr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=yr(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return U(e,u)}),r.$parsers.push(function(e){return e?u:l})}function wr(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function p(e,t){var i=r(t,e),o=r(e,t);i=f(i,1),o=f(o,-1),i&&i.length&&n.addClass(s,i),o&&o.length&&n.removeClass(s,o)}function d(e){if(t===!0||a.$index%2===t){var n=i(e||[]);if(h){if(!U(e,h)){var r=i(h);p(r,n)}}else l(n)}h=V(e)}var h;a.$watch(u[e],d,!0),u.$observe("class",function(t){d(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var o=1&n;if(o!==(1&r)){var s=i(a.$eval(u[e]));o===t?l(s):c(s)}})}}}]}function xr(e){function t(e,t,u){y(t)?r("$pending",e,u):i("$pending",e,u),N(t)?t?(f(s.$error,e,u),c(s.$$success,e,u)):(c(s.$error,e,u),f(s.$$success,e,u)):(f(s.$error,e,u),f(s.$$success,e,u)),s.$pending?(o(da,!0),s.$valid=s.$invalid=n,a("",null)):(o(da,!1),s.$valid=Cr(s.$error),s.$invalid=!s.$valid,a("",s.$valid));var l;l=s.$pending&&s.$pending[e]?n:s.$error[e]?!1:s.$$success[e]?!0:null,a(e,l),s.$$parentForm.$setValidity(e,l,s)}function r(e,t,n){s[e]||(s[e]={}),c(s[e],t,n)}function i(e,t,r){s[e]&&f(s[e],t,r),Cr(s[e])&&(s[e]=n)}function o(e,t){t&&!l[e]?(p.addClass(u,e),l[e]=!0):!t&&l[e]&&(p.removeClass(u,e),l[e]=!1)}function a(e,t){e=e?"-"+le(e,"-"):"",o(sa+e,t===!0),o(ua+e,t===!1)}var s=e.ctrl,u=e.$element,l={},c=e.set,f=e.unset,p=e.$animate;l[ua]=!(l[sa]=u.hasClass(sa)),s.$setValidity=t}function Cr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Er(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var kr=/^\/(.+)\/([a-z]*)$/,Sr="validity",Ar=function(e){return C(e)?e.toLowerCase():e},Tr=Object.prototype.hasOwnProperty,Dr=function(e){return C(e)?e.toUpperCase():e},Or=function(e){return C(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Fr=function(e){return C(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Ar=Or,Dr=Fr);var Mr,Nr,Ir,jr,_r=[].slice,Pr=[].splice,Lr=[].push,Rr=Object.prototype.toString,zr=Object.getPrototypeOf,Vr=r("ng"),Ur=e.angular||(e.angular={}),qr=0;Mr=t.documentMode,m.$inject=[],v.$inject=[];var Hr=Array.isArray,Br=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Wr=function(e){return C(e)?e.trim():e},Gr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#n;++n)if(r=Yr[n],e=t.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return Qr.name_=i},Yr=["ng-","data-ng-","ng:","x-ng-"],Xr=/[A-Z]/g,Jr=!1,Kr=1,ei=2,ti=3,ni=8,ri=9,ii=11,oi={full:"1.5.0-rc.0",major:1,minor:5,dot:0,codeName:"oblong-panoptikum"};De.expando="ng339";var ai=De.cache={},si=1,ui=function(e,t,n){e.addEventListener(t,n,!1)},li=function(e,t,n){e.removeEventListener(t,n,!1)};De._data=function(e){return this.cache[e[this.expando]]||{}};var ci=/([\:\-\_]+(.))/g,fi=/^moz([A-Z])/,pi={mouseleave:"mouseout",mouseenter:"mouseover"},di=r("jqLite"),hi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,mi=/<|&#?\w+;/,vi=/<([\w:-]+)/,gi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,$i={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};$i.optgroup=$i.option,$i.tbody=$i.tfoot=$i.colgroup=$i.caption=$i.thead,$i.th=$i.td;var yi=Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},bi=De.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),De(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Nr(e>=0?this[e]:this[this.length+e])},length:0,push:Lr,sort:[].sort,splice:[].splice},wi={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){wi[Ar(e)]=e});var xi={};o("input,select,option,textarea,button,form,details".split(","),function(e){xi[e]=!0});var Ci={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:je,removeData:Ne,hasData:ke,cleanData:Se},function(e,t){De[t]=e}),o({data:je,inheritedData:Ve,scope:function(e){return Nr.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Nr.data(e,"$isolateScope")||Nr.data(e,"$isolateScopeNoTemplate")},controller:ze,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:_e,css:function(e,t,n){return t=xe(t),b(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,r){var i=e.nodeType;if(i!==ti&&i!==ei&&i!==ni){var o=Ar(t);if(wi[o]){if(!b(r))return e[t]||(e.attributes.getNamedItem(t)||m).specified?o:n;r?(e[t]=!0,e.setAttribute(t,o)):(e[t]=!1,e.removeAttribute(o))}else if(b(r))e.setAttribute(t,r);else if(e.getAttribute){var a=e.getAttribute(t,2);return null===a?n:a}}},prop:function(e,t,n){return b(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(y(t)){var n=e.nodeType;return n===Kr||n===ti?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(y(t)){if(e.multiple&&"select"===L(e)){var n=[];return o(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return y(t)?e.innerHTML:(Fe(e,!0),void(e.innerHTML=t))},empty:Ue},function(e,t){De.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Ue&&y(2==e.length&&e!==_e&&e!==ze?t:n)){if(w(t)){for(r=0;o>r;r++)if(e===je)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=y(a)?Math.min(o,1):o,u=0;s>u;u++){var l=e(this[u],t,n);a=a?a+l:l}return a}for(r=0;o>r;r++)e(this[r],t,n);return this}}),o({removeData:Ne,on:function(e,t,r,i){if(b(i))throw di("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Ee(e)){var o=Ie(e,!0),a=o.events,s=o.handle;s||(s=o.handle=Ge(e,a));for(var u=t.indexOf(" ")>=0?t.split(" "):[t],l=u.length,c=function(t,n,i){var o=a[t];o||(o=a[t]=[],o.specialHandlerWrapper=n,"$destroy"===t||i||ui(e,t,s)),o.push(r)};l--;)t=u[l],pi[t]?(c(pi[t],Qe),c(t,n,!0)):c(t)}},off:Me,one:function(e,t,n){e=Nr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;Fe(e),o(new De(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){e.nodeType===Kr&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Kr||n===ii){t=new De(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===Kr){var n=e.firstChild;o(new De(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=Nr(t).eq(0).clone()[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:qe,detach:function(e){qe(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new De(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Le,removeClass:Pe,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;y(r)&&(r=!_e(e,t)),(r?Le:Pe)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==ii?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Oe,triggerHandler:function(e,t,n){var r,i,a,s=t.type||t,u=Ie(e),l=u&&u.events,c=l&&l[s];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:m,type:s,target:e},t.type&&(r=f(r,t)),i=V(c),a=n?[r].concat(n):[r],o(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){De.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)y(i)?(i=e(this[o],t,n,r),b(i)&&(i=Nr(i))):Re(i,e(this[o],t,n,r));return b(i)?i:this},De.prototype.bind=De.prototype.on,De.prototype.unbind=De.prototype.off}),Je.prototype={put:function(e,t){this[Xe(e,this.nextUid)]=t},get:function(e){return this[Xe(e,this.nextUid)]},remove:function(e){var t=this[e=Xe(e,this.nextUid)];return delete this[e],t}};var Ei=[function(){this.$get=[function(){return Je}]}],ki=/^([^\(]+?)=>/,Si=/^[^\(]*\(\s*([^\)]*)\)/m,Ai=/,/,Ti=/^\s*(_?)(\S+?)\1\s*$/,Di=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Oi=r("$injector");nt.$$annotate=tt;var Fi=r("$animate"),Mi=1,Ni="ng-animate",Ii=function(){var e=new Je,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=C(t)?t.split(" "):Hr(t)?t:[],o(t,function(t){t&&(r=!0,e[t]=n)})),r}function a(){o(t,function(t){var n=e.get(t);if(n){var r=at(t.attr("class")),i="",a="";o(n,function(e,t){var n=!!r[t];e!==n&&(e?i+=(i.length?" ":"")+t:a+=(a.length?" ":"")+t)}),o(t,function(e){i&&Le(e,i),a&&Pe(e,a)}),e.remove(t)}}),t.length=0}function s(n,o,s){var u=e.get(n)||{},l=i(u,o,!0),c=i(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&r.$$postDigest(a))}return{enabled:m,on:m,off:m,pin:m,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},ji=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Fi("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){var t=new RegExp("(\\s+|\\/)"+Ni+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Fi("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ni)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=ot(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Nr(r),i=i&&Nr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",st(o))},move:function(n,r,i,o){return r=r&&Nr(r),i=i&&Nr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",st(o))},leave:function(t,n){return e.push(t,"leave",st(n),function(){t.remove()})},addClass:function(t,n,r){return r=st(r),r.addClass=it(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=st(r),r.removeClass=it(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=st(i),i.addClass=it(i.addClass,n),i.removeClass=it(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=st(o),o.from=o.from?f(o.from,n):n,o.to=o.to?f(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=it(o.tempClasses,i),e.push(t,"animate",o)}}}]}],_i=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e <= >= && || ! = |".split(" "),function(e){ao[e]=!0});var so={n:"\n",f:"\f",r:"\r",t:" ",v:" ","'":"'",'"':'"'},uo=function(e){this.options=e};uo.prototype={constructor:uo,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||" "===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=b(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw no("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:lo.Program,body:e}},expressionStatement:function(){return{type:lo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return this.expect("=")&&(e={type:lo.AssignmentExpression,left:e,right:this.assignment(),operator:"="}),e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:lo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:lo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:lo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:lo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:lo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:lo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:lo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:lo.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.constants.hasOwnProperty(this.peek().text)?e=z(this.constants[this.consume().text]):this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:lo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:lo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:lo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:lo.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.expression());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:lo.Identifier,name:e.text}},constant:function(){return{type:lo.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:lo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:lo.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:lo.ObjectExpression,properties:t}},throwError:function(e,t){throw no("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw no("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw no("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},constants:{"true":{type:lo.Literal,value:!0},"false":{type:lo.Literal,value:!1},"null":{type:lo.Literal,value:null},undefined:{type:lo.Literal,value:n},"this":{type:lo.ThisExpression},$locals:{type:lo.LocalsExpression}}},fn.prototype={compile:function(e,t){var r=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},on(i,r.$filter);var a,s="";if(this.stage="assign",a=un(i)){this.state.computing="assign";var u=this.nextId();this.recurse(a,u),this.return_(u),s="fn.assign="+this.generateFunction("assign","s,v,l")}var l=an(i.body);r.stage="inputs",o(l,function(e,t){var n="fn"+t;r.state[n]={vars:[],body:[],own:{}},r.state.computing=n;var i=r.nextId();r.recurse(e,i),r.return_(i),r.state.inputs.push(n),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var c='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+s+this.watchFns()+"return fn;",f=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",c)(this.$filter,Yt,Jt,Kt,Xt,en,tn,nn,e);return this.state=this.stage=n,f.literal=ln(i),f.constant=cn(i),f},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return o(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return o(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,r,i,a,s){var u,l,c,f,p=this;if(i=i||m,!s&&b(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,r,i,a,!0));switch(e.type){case lo.Program:o(e.body,function(t,r){p.recurse(t.expression,n,n,function(e){l=e}),r!==e.body.length-1?p.current().body.push(l,";"):p.return_(l)});break;case lo.Literal:f=this.escape(e.value),this.assign(t,f),i(f);break;case lo.UnaryExpression:this.recurse(e.argument,n,n,function(e){l=e}),f=e.operator+"("+this.ifDefined(l,0)+")",this.assign(t,f),i(f);break;case lo.BinaryExpression:this.recurse(e.left,n,n,function(e){u=e}),this.recurse(e.right,n,n,function(e){l=e}),f="+"===e.operator?this.plus(u,l):"-"===e.operator?this.ifDefined(u,0)+e.operator+this.ifDefined(l,0):"("+u+")"+e.operator+"("+l+")",this.assign(t,f),i(f);break;case lo.LogicalExpression:t=t||this.nextId(),p.recurse(e.left,t),p.if_("&&"===e.operator?t:p.not(t),p.lazyRecurse(e.right,t)),i(t);break;case lo.ConditionalExpression:t=t||this.nextId(),p.recurse(e.test,t),p.if_(t,p.lazyRecurse(e.alternate,t),p.lazyRecurse(e.consequent,t)),i(t);break;case lo.Identifier:t=t||this.nextId(),r&&(r.context="inputs"===p.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),r.computed=!1,r.name=e.name),Yt(e.name),p.if_("inputs"===p.stage||p.not(p.getHasOwnProperty("l",e.name)),function(){p.if_("inputs"===p.stage||"s",function(){a&&1!==a&&p.if_(p.not(p.nonComputedMember("s",e.name)),p.lazyAssign(p.nonComputedMember("s",e.name),"{}")),p.assign(t,p.nonComputedMember("s",e.name))})},t&&p.lazyAssign(t,p.nonComputedMember("l",e.name))),(p.state.expensiveChecks||dn(e.name))&&p.addEnsureSafeObject(t),i(t);break;case lo.MemberExpression:u=r&&(r.context=this.nextId())||this.nextId(),t=t||this.nextId(),p.recurse(e.object,u,n,function(){p.if_(p.notNull(u),function(){a&&1!==a&&p.addEnsureSafeAssignContext(u),e.computed?(l=p.nextId(),p.recurse(e.property,l),p.getStringValue(l),p.addEnsureSafeMemberName(l),a&&1!==a&&p.if_(p.not(p.computedMember(u,l)),p.lazyAssign(p.computedMember(u,l),"{}")),f=p.ensureSafeObject(p.computedMember(u,l)),p.assign(t,f),r&&(r.computed=!0,r.name=l)):(Yt(e.property.name),a&&1!==a&&p.if_(p.not(p.nonComputedMember(u,e.property.name)),p.lazyAssign(p.nonComputedMember(u,e.property.name),"{}")),f=p.nonComputedMember(u,e.property.name),(p.state.expensiveChecks||dn(e.property.name))&&(f=p.ensureSafeObject(f)),p.assign(t,f),r&&(r.computed=!1,r.name=e.property.name))},function(){p.assign(t,"undefined")}),i(t)},!!a);break;case lo.CallExpression:t=t||this.nextId(),e.filter?(l=p.filter(e.callee.name),c=[],o(e.arguments,function(e){var t=p.nextId();p.recurse(e,t),c.push(t)}),f=l+"("+c.join(",")+")",p.assign(t,f),i(t)):(l=p.nextId(),u={},c=[],p.recurse(e.callee,l,u,function(){p.if_(p.notNull(l),function(){p.addEnsureSafeFunction(l),o(e.arguments,function(e){p.recurse(e,p.nextId(),n,function(e){c.push(p.ensureSafeObject(e))})}),u.name?(p.state.expensiveChecks||p.addEnsureSafeObject(u.context),f=p.member(u.context,u.name,u.computed)+"("+c.join(",")+")"):f=l+"("+c.join(",")+")",f=p.ensureSafeObject(f),p.assign(t,f)},function(){p.assign(t,"undefined")}),i(t)}));break;case lo.AssignmentExpression:if(l=this.nextId(),u={},!sn(e.left))throw no("lval","Trying to assign a value to a non l-value");this.recurse(e.left,n,u,function(){p.if_(p.notNull(u.context),function(){p.recurse(e.right,l),p.addEnsureSafeObject(p.member(u.context,u.name,u.computed)),p.addEnsureSafeAssignContext(u.context),f=p.member(u.context,u.name,u.computed)+e.operator+l,p.assign(t,f),i(t||f)})},1);break;case lo.ArrayExpression:c=[],o(e.elements,function(e){p.recurse(e,p.nextId(),n,function(e){c.push(e)})}),f="["+c.join(",")+"]",this.assign(t,f),i(f);break;case lo.ObjectExpression:c=[],o(e.properties,function(e){p.recurse(e.value,p.nextId(),n,function(t){c.push(p.escape(e.key.type===lo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),f="{"+c.join(",")+"}",this.assign(t,f),i(f);break;case lo.ThisExpression:this.assign(t,"s"),i("s");break;case lo.LocalsExpression:this.assign(t,"l"), +i("l");break;case lo.NGValueParameter:this.assign(t,"v"),i("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){return e?(this.current().body.push(e,"=",t,";"),e):void 0},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return e+"."+t},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+",text)")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(C(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(E(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw no("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},pn.prototype={compile:function(e,t){var n=this,r=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,on(r,n.$filter);var i,a;(i=un(r))&&(a=this.recurse(i));var s,u=an(r.body);u&&(s=[],o(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];o(r.body,function(e){l.push(n.recurse(e.expression))});var c=0===r.body.length?function(){}:1===r.body.length?l[0]:function(e,t){var n;return o(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=ln(r),c.constant=cn(r),c},recurse:function(e,t,r){var i,a,s,u=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case lo.Literal:return this.value(e.value,t);case lo.UnaryExpression:return a=this.recurse(e.argument),this["unary"+e.operator](a,t);case lo.BinaryExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case lo.LogicalExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case lo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case lo.Identifier:return Yt(e.name,u.expression),u.identifier(e.name,u.expensiveChecks||dn(e.name),t,r,u.expression);case lo.MemberExpression:return i=this.recurse(e.object,!1,!!r),e.computed||(Yt(e.property.name,u.expression),a=e.property.name),e.computed&&(a=this.recurse(e.property)),e.computed?this.computedMember(i,a,t,r,u.expression):this.nonComputedMember(i,a,u.expensiveChecks,t,r,u.expression);case lo.CallExpression:return s=[],o(e.arguments,function(e){s.push(u.recurse(e))}),e.filter&&(a=this.$filter(e.callee.name)),e.filter||(a=this.recurse(e.callee,!0)),e.filter?function(e,r,i,o){for(var u=[],l=0;l":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:n,name:n,value:e}:e}},identifier:function(e,t,r,i,o){return function(a,s,u,l){var c=s&&e in s?s:a;i&&1!==i&&c&&!c[e]&&(c[e]={});var f=c?c[e]:n;return t&&Jt(f,o),r?{context:c,name:e,value:f}:f}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=Xt(l),Yt(l,i),r&&1!==r&&(en(f),f&&!f[l]&&(f[l]={})),c=f[l],Jt(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,r,i,o,a){return function(s,u,l,c){var f=e(s,u,l,c);o&&1!==o&&(en(f),f&&!f[t]&&(f[t]={}));var p=null!=f?f[t]:n;return(r||dn(t))&&Jt(p,a),i?{context:f,name:t,value:p}:p}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var co=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new lo(this.lexer),this.astCompiler=n.csp?new pn(this.ast,t):new fn(this.ast,t)};co.prototype={constructor:co,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var fo=(ve(),ve(),Object.prototype.valueOf),po=r("$sce"),ho={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Ri=r("$compile"),mo=t.createElement("a"),vo=On(e.location.href);Nn.$inject=["$document"],jn.$inject=["$provide"];var go=22,$o=".",yo="0";zn.$inject=["$locale"],Vn.$inject=["$locale"];var bo={yyyy:Wn("FullYear",4),yy:Wn("FullYear",2,0,!0),y:Wn("FullYear",1),MMMM:Gn("Month"),MMM:Gn("Month",!0),MM:Wn("Month",2,1),M:Wn("Month",1,1),dd:Wn("Date",2),d:Wn("Date",1),HH:Wn("Hours",2),H:Wn("Hours",1),hh:Wn("Hours",2,-12),h:Wn("Hours",1,-12),mm:Wn("Minutes",2),m:Wn("Minutes",1),ss:Wn("Seconds",2),s:Wn("Seconds",1),sss:Wn("Milliseconds",3),EEEE:Gn("Day"),EEE:Gn("Day",!0),a:Jn,Z:Zn,ww:Xn(2),w:Xn(1),G:Kn,GG:Kn,GGG:Kn,GGGG:er},wo=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,xo=/^\-?\d+$/;tr.$inject=["$locale"];var Co=g(Ar),Eo=g(Dr);ir.$inject=["$parse"];var ko=g({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Rr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),So={};o(wi,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=dt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),So[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(Ci,function(e,t){So[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(kr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),o(["src","srcset","href"],function(e){var t=dt("ng-"+e);So[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Rr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(a,t),void(Mr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Ao={$addControl:m,$$renameControl:ar,$removeControl:m,$setValidity:m,$setDirty:m,$setPristine:m,$setSubmitted:m},To="ng-submitted";sr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Do=function(e){return["$timeout","$parse",function(t,r){function i(e){return""===e?r('this[""]').assign:r(e).assign||m}var o={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:sr,compile:function(r,o){r.addClass(la).addClass(sa);var a=o.name?"name":e&&o.ngForm?"ngForm":!1;return{pre:function(e,r,o,s){var u=s[0];if(!("action"in o)){var l=function(t){e.$apply(function(){u.$commitViewValue(),u.$setSubmitted()}),t.preventDefault()};ui(r[0],"submit",l),r.on("$destroy",function(){t(function(){li(r[0],"submit",l)},0,!1)})}var c=s[1]||u.$$parentForm;c.$addControl(u);var p=a?i(u.$name):m;a&&(p(e,u),o.$observe(a,function(t){u.$name!==t&&(p(e,n),u.$$parentForm.$$renameControl(u,t),(p=i(u.$name))(e,u))})),r.on("$destroy",function(){u.$$parentForm.$removeControl(u),p(e,n),f(u,Ao)})}}}};return o}]},Oo=Do(),Fo=Do(!0),Mo=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,No=/^[A-Za-z][A-Za-z\d.+-]*:\/*(?:\w+(?::\w+)?@)?[^\s\/]+(?::\d+)?(?:\/[\w#!:.?+=&%@\-\/[\]$'()*,;~]*)?$/,Io=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,jo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,_o=/^(\d{4})-(\d{2})-(\d{2})$/,Po=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Lo=/^(\d{4})-W(\d\d)$/,Ro=/^(\d{4})-(\d\d)$/,zo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Vo={text:lr,date:dr("date",_o,pr(_o,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":dr("datetimelocal",Po,pr(Po,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:dr("time",zo,pr(zo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:dr("week",Lo,fr,"yyyy-Www"),month:dr("month",Ro,pr(Ro,["yyyy","MM"]),"yyyy-MM"),number:mr,url:vr,email:gr,radio:$r,checkbox:br,hidden:m,button:m,submit:m,reset:m,file:m},Uo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Vo[Ar(a.type)]||Vo.text)(i,o,a,s[0],t,e,n,r)}}}}],qo=/^(true|false|\d+)$/,Ho=function(){return{restrict:"A",priority:100,compile:function(e,t){return qo.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Bo=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=y(e)?"":e})}}}}],Wo=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=y(e)?"":e})}}}}],Go=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],Zo=g({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Qo=wr("",!0),Yo=wr("Odd",0),Xo=wr("Even",1),Jo=or({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),Ko=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ea={},ta={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=dt("ng-"+e);ea[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};ta[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var na=["$animate",function(e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=me(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],ra=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Ur.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,p,d,h=0,m=function(){p&&(p.remove(),p=null),f&&(f.$destroy(),f=null),d&&(n.leave(d).then(function(){p=null}),p=d,d=null)};r.$watch(o,function(o){var u=function(){!b(s)||s&&!r.$eval(s)||t()},p=++h;o?(e(o,!0).then(function(e){if(p===h){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).then(u)});f=t,d=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){p===h&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],ia=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return/SVG/.test(r[0].toString())?(r.empty(),void e(Ae(o.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],oa=or({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),aa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,r,i){var a=t.attr(r.$attr.ngList)||", ",s="false"!==r.ngTrim,u=s?Wr(a):a,l=function(e){if(!y(e)){var t=[];return e&&o(e.split(u),function(e){e&&t.push(s?Wr(e):e)}),t}};i.$parsers.push(l),i.$formatters.push(function(e){return Hr(e)?e.join(a):n}),i.$isEmpty=function(e){return!e||!e.length}}}},sa="ng-valid",ua="ng-invalid",la="ng-pristine",ca="ng-dirty",fa="ng-untouched",pa="ng-touched",da="ng-pending",ha="ng-empty",ma="ng-not-empty",va=r("ngModel"),ga=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,r,i,a,s,u,l,c,f){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=n,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=n,this.$name=f(r.name||"",!1)(e),this.$$parentForm=Ao;var p,d=a(r.ngModel),h=d.assign,v=d,g=h,$=null,w=this;this.$$setOptions=function(e){if(w.$options=e,e&&e.getterSetter){var t=a(r.ngModel+"()"),n=a(r.ngModel+"($$$p)");v=function(e){var n=d(e);return S(n)&&(n=t(e)),n},g=function(e,t){S(d(e))?n(e,{$$$p:w.$modelValue}):h(e,w.$modelValue)}}else if(!d.assign)throw va("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,J(i))},this.$render=m,this.$isEmpty=function(e){return y(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){w.$isEmpty(e)?(s.removeClass(i,ma),s.addClass(i,ha)):(s.removeClass(i,ha),s.addClass(i,ma))};var x=0;xr({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:s}),this.$setPristine=function(){w.$dirty=!1,w.$pristine=!0,s.removeClass(i,ca),s.addClass(i,la)},this.$setDirty=function(){w.$dirty=!0,w.$pristine=!1,s.removeClass(i,la),s.addClass(i,ca),w.$$parentForm.$setDirty()},this.$setUntouched=function(){w.$touched=!1,w.$untouched=!0,s.setClass(i,fa,pa)},this.$setTouched=function(){w.$touched=!0,w.$untouched=!1,s.setClass(i,pa,fa)},this.$rollbackViewValue=function(){u.cancel($),w.$viewValue=w.$$lastCommittedViewValue,w.$render()},this.$validate=function(){if(!E(w.$modelValue)||!isNaN(w.$modelValue)){var e=w.$$lastCommittedViewValue,t=w.$$rawModelValue,r=w.$valid,i=w.$modelValue,o=w.$options&&w.$options.allowInvalid;w.$$runValidators(t,e,function(e){o||r===e||(w.$modelValue=e?t:n,w.$modelValue!==i&&w.$$writeModelToScope())})}},this.$$runValidators=function(e,t,r){function i(){var e=w.$$parserName||"parse";return y(p)?(u(e,null),!0):(p||(o(w.$validators,function(e,t){u(t,null)}),o(w.$asyncValidators,function(e,t){u(t,null)})),u(e,p),p)}function a(){var n=!0;return o(w.$validators,function(r,i){var o=r(e,t);n=n&&o,u(i,o)}),n?!0:(o(w.$asyncValidators,function(e,t){u(t,null)}),!1)}function s(){var r=[],i=!0;o(w.$asyncValidators,function(o,a){var s=o(e,t);if(!I(s))throw va("$asyncValidators","Expected asynchronous validator to return a promise but got '{0}' instead.",s);u(a,n),r.push(s.then(function(){u(a,!0)},function(e){i=!1,u(a,!1)}))}),r.length?c.all(r).then(function(){l(i)},m):l(!0)}function u(e,t){f===x&&w.$setValidity(e,t)}function l(e){f===x&&r(e)}x++;var f=x;return i()&&a()?void s():void l(!1)},this.$commitViewValue=function(){var e=w.$viewValue;u.cancel($),(w.$$lastCommittedViewValue!==e||""===e&&w.$$hasNativeValidators)&&(w.$$updateEmptyClasses(e),w.$$lastCommittedViewValue=e,w.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){w.$modelValue!==a&&w.$$writeModelToScope()}var r=w.$$lastCommittedViewValue,i=r;if(p=y(i)?n:!0)for(var o=0;oo;o++){var u=e===n?o:n[o],l=(e[u],C(e[u],u)),c=v(e[u],l);if(t.push(c),s[2]||s[1]){var f=$(r,l);t.push(f)}if(s[4]){var p=b(r,l);t.push(p)}}return t}),getOptions:function(){for(var e=[],t={},n=w(r)||[],i=a(n),s=i.length,u=0;s>u;u++){var l=n===i?u:i[u],c=n[l],p=C(c,l),d=h(r,p),m=v(d,p),x=$(r,p),E=y(r,p),k=b(r,p),S=new o(m,d,x,E,k);e.push(S),t[m]=S}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[g(e)]},getViewValueFromOption:function(e){return f?Ur.copy(e.viewValue):e.viewValue}}}}}function a(t,n,i,a){function l(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),e.value!==t.value&&(t.value=e.selectValue)}function c(e,t,n,r){var i;return t&&Ar(t.nodeName)===n?i=t:(i=r.cloneNode(!1),t?e.insertBefore(i,t):e.appendChild(i)),i}function f(e){for(var t;e;)t=e.nextSibling,qe(e),e=t}function p(e){var t=h&&h[0],n=C&&C[0];if(t||n)for(;e&&(e===t||e===n||e.nodeType===ni||""===e.value);)e=e.nextSibling;return e}function d(){var e=E&&m.readValue();E=k.getOptions();var t={},r=n[0].firstChild;if(x&&n.prepend(h),r=p(r),E.items.forEach(function(e){var i,o,a;b(e.group)?(i=t[e.group],i||(o=c(n[0],r,"optgroup",u),r=o.nextSibling,o.label=e.group,i=t[e.group]={groupElement:o,currentOptionElement:o.firstChild}),a=c(i.groupElement,i.currentOptionElement,"option",s),l(e,a),i.currentOptionElement=a.nextSibling):(a=c(n[0],r,"option",s),l(e,a),r=a.nextSibling)}),Object.keys(t).forEach(function(e){f(t[e].currentOptionElement)}),f(r),v.$render(),!v.$isEmpty(e)){var i=m.readValue(),o=k.trackBy||g;(o?U(e,i):e===i)||(v.$setViewValue(i),v.$render())}}for(var h,m=a[0],v=a[1],g=i.multiple,$=0,y=n.children(),w=y.length;w>$;$++)if(""===y[$].value){h=y.eq($);break}var x=!!h,C=Nr(s.cloneNode(!1));C.val("?");var E,k=r(i.ngOptions,n,t),S=function(){x||n.prepend(h),n.val(""),h.prop("selected",!0),h.attr("selected",!0)},A=function(){x||h.remove()},T=function(){n.prepend(C),n.val("?"),C.prop("selected",!0),C.attr("selected",!0)},D=function(){C.remove()};g?(v.$isEmpty=function(e){return!e||0===e.length},m.writeValue=function(e){E.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=E.getOptionFromViewValue(e);t&&!t.disabled&&(t.element.selected=!0)})},m.readValue=function(){var e=n.val()||[],t=[];return o(e,function(e){var n=E.selectValueMap[e];n&&!n.disabled&&t.push(E.getViewValueFromOption(n))}),t},k.trackBy&&t.$watchCollection(function(){return Hr(v.$viewValue)?v.$viewValue.map(function(e){return k.getTrackByValue(e)}):void 0},function(){v.$render()})):(m.writeValue=function(e){var t=E.getOptionFromViewValue(e);t&&!t.disabled?n[0].value!==t.selectValue&&(D(),A(),n[0].value=t.selectValue,t.element.selected=!0,t.element.setAttribute("selected","selected")):null===e||x?(D(),S()):(A(),T())},m.readValue=function(){var e=E.selectValueMap[n.val()];return e&&!e.disabled?(A(),D(),E.getViewValueFromOption(e)):null},k.trackBy&&t.$watch(function(){return k.getTrackByValue(v.$viewValue)},function(){v.$render()})),x?(h.remove(),e(h)(t),h.removeClass("ng-scope")):h=Nr(s.cloneNode(!1)),d(),t.$watchCollection(k.getWatchables,d)}var s=t.createElement("option"),u=t.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=m},post:a}}}],ka=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function l(e){s.text(e||"")}var c,f=u.count,p=u.$attr.when&&s.attr(u.$attr.when),d=u.offset||0,h=a.$eval(p)||{},v={},g=t.startSymbol(),$=t.endSymbol(),b=g+f+"-"+d+$,w=Ur.noop;o(u,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+Ar(n[2]);h[r]=s.attr(u.$attr[t])}}),o(h,function(e,n){v[n]=t(e.replace(r,b))}),a.$watch(f,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in h||(r=e.pluralCat(r-d)),r!==c&&!(i&&E(c)&&isNaN(c))){w();var o=v[r];y(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+p),w=m,l()):w=a.$watch(o,l),c=r}})}}}],Sa=["$parse","$animate",function(e,a){var s="$$NG_REMOVED",u=r("ngRepeat"),l=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},c=function(e){return e.clone[0]},f=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(r,p){var d=p.ngRepeat,h=t.createComment(" end ngRepeat: "+d+" "),m=d.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!m)throw u("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",d);var v=m[1],g=m[2],$=m[3],y=m[4];if(m=v.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!m)throw u("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",v);var b=m[3]||m[1],w=m[2];if($&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test($)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test($)))throw u("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",$);var x,C,E,k,S={$id:Xe};return y?x=e(y):(E=function(e,t){return Xe(t)},k=function(e){return e}),function(e,t,r,p,m){x&&(C=function(t,n,r){return w&&(S[w]=t),S[b]=n,S.$index=r,x(e,S)});var v=ve();e.$watchCollection(g,function(r){var p,g,y,x,S,A,T,D,O,F,M,N,I=t[0],j=ve();if($&&(e[$]=r),i(r))O=r,D=C||E;else{D=C||k,O=[];for(var _ in r)Tr.call(r,_)&&"$"!==_.charAt(0)&&O.push(_)}for(x=O.length,M=new Array(x),p=0;x>p;p++)if(S=r===O?p:O[p],A=r[S],T=D(S,A,p),v[T])F=v[T],delete v[T],j[T]=F,M[p]=F;else{if(j[T])throw o(M,function(e){e&&e.scope&&(v[e.id]=e)}),u("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",d,T,A);M[p]={id:T,scope:n,clone:n},j[T]=!0}for(var P in v){if(F=v[P],N=me(F.clone),a.leave(N),N[0].parentNode)for(p=0,g=N.length;g>p;p++)N[p][s]=!0;F.scope.$destroy()}for(p=0;x>p;p++)if(S=r===O?p:O[p],A=r[S],F=M[p],F.scope){y=I;do y=y.nextSibling;while(y&&y[s]);c(F)!=y&&a.move(me(F.clone),null,Nr(I)),I=f(F),l(F.scope,p,b,A,w,S,x)}else m(function(e,t){F.scope=t;var n=h.cloneNode(!1);e[e.length++]=n,a.enter(e,null,Nr(I)),I=n,F.clone=e,j[F.id]=F,l(F.scope,p,b,A,w,S,x)});v=j})}}}}],Aa="ng-hide",Ta="ng-hide-animate",Da=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,Aa,{tempClasses:Ta})})}}}],Oa=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,Aa,{tempClasses:Ta})})}}}],Fa=or(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Ma=["$animate",function(e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,a){var s=i.ngSwitch||i.on,u=[],l=[],c=[],f=[],p=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var r,i;for(r=0,i=c.length;i>r;++r)e.cancel(c[r]);for(c.length=0,r=0,i=f.length;i>r;++r){var s=me(l[r].clone);f[r].$destroy();var d=c[r]=e.leave(s);d.then(p(c,r))}l.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&o(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.createComment(" end ngSwitchWhen: ");var a={clone:r};l.push(a),e.enter(r,o.parent(),o)})})})}}}],Na=or({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),Ia=or({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),ja=r("ngTransclude"),_a=or({restrict:"EAC",link:function(e,t,n,r,i){function o(e){e.length&&(t.empty(),t.append(e))}if(n.ngTransclude===n.$attr.ngTransclude&&(n.ngTransclude=""),!i)throw ja("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",J(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),Pa=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],La={$setViewValue:m,$render:m},Ra=["$element","$scope","$attrs",function(e,r,i){var o=this,a=new Je;o.ngModelCtrl=La,o.unknownOption=Nr(t.createElement("option")),o.renderUnknownOption=function(t){var n="? "+Xe(t)+" ?";o.unknownOption.val(n),e.prepend(o.unknownOption),e.val(n)},r.$on("$destroy",function(){o.renderUnknownOption=m; +}),o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.readValue=function(){return o.removeUnknownOption(),e.val()},o.writeValue=function(t){o.hasOption(t)?(o.removeUnknownOption(),e.val(t),""===t&&o.emptyOption.prop("selected",!0)):null==t&&o.emptyOption?(o.removeUnknownOption(),e.val("")):o.renderUnknownOption(t)},o.addOption=function(e,t){de(e,'"option value"'),""===e&&(o.emptyOption=t);var n=a.get(e)||0;a.put(e,n+1),o.ngModelCtrl.$render(),Er(t)},o.removeOption=function(e){var t=a.get(e);t&&(1===t?(a.remove(e),""===e&&(o.emptyOption=n)):a.put(e,t-1))},o.hasOption=function(e){return!!a.get(e)},o.registerOption=function(e,t,n,r,i){if(r){var a;n.$observe("value",function(e){b(a)&&o.removeOption(a),a=e,o.addOption(e,t)})}else i?e.$watch(i,function(e,r){n.$set("value",e),r!==e&&o.removeOption(r),o.addOption(e,t)}):o.addOption(n.value,t);t.on("$destroy",function(){o.removeOption(n.value),o.ngModelCtrl.$render()})}}],za=function(){function e(e,t,n,r){var i=r[1];if(i){var a=r[0];if(a.ngModelCtrl=i,i.$render=function(){a.writeValue(i.$viewValue)},t.on("change",function(){e.$apply(function(){i.$setViewValue(a.readValue())})}),n.multiple){a.readValue=function(){var e=[];return o(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},a.writeValue=function(e){var n=new Je(e);o(t.find("option"),function(e){e.selected=b(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==i.$viewValue||U(s,i.$viewValue)||(s=V(i.$viewValue),i.$render()),u=i.$viewValue}),i.$isEmpty=function(e){return!e||0===e.length}}}}return{restrict:"E",require:["select","?ngModel"],controller:Ra,priority:1,link:{pre:e}}},Va=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if(b(n.value))var r=e(n.value,!0);else{var i=e(t.text(),!0);i||n.$set("value",t.text())}return function(e,t,n){var o="$selectController",a=t.parent(),s=a.data(o)||a.parent().data(o);s&&s.registerOption(e,t,n,r,i)}}}}],Ua=g({restrict:"E",terminal:!1}),qa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Ha=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,i,o){if(o){var a,s=i.ngPattern||i.pattern;i.$observe("pattern",function(e){if(C(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw r("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",s,e,J(t));a=e||n,o.$validate()}),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||y(a)||a.test(t)}}}}},Ba=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=d(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},Wa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=d(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void console.log("WARNING: Tried to load angular more than once."):(ce(),be(Ur),Ur.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function r(e,r){var i=r;n===i&&(i=Math.min(t(e),3));var o=Math.pow(10,i),a=(e*o|0)%o;return{v:i,f:a}}var i={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",pluralCat:function(e,t){var n=0|e,o=r(e,t);return 1==n&&0==o.v?i.ONE:i.OTHER}})}]),void Nr(t).ready(function(){oe(t,ae)}))}(window,document),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],8:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":7}],9:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;o>i;i++)t=n[i],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,r,i,o,a;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(r=this._callbacks[e],!r)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(i=o=0,a=r.length;a>o;i=++o)if(n=r[i],n===t){r.splice(i,1);break}return this},e}(),e=function(e){function t(e,n){var i,o,a;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,i=null!=(a=t.optionsForElement(this.element))?a:{},this.options=r({},this.defaultOptions,i,null!=n?n:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),this.options.previewsContainer!==!1&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(this.options.clickable===!0?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var r,i;return f(t,e),t.prototype.Emitter=n,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return s},forceFallback:!1,fallback:function(){var e,n,r,i,o,a;for(this.element.className=""+this.element.className+" dz-browser-not-supported",a=this.element.getElementsByTagName("div"),i=0,o=a.length;o>i;i++)e=a[i],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('
'),this.element.appendChild(n)),r=n.getElementsByTagName("span")[0],r&&(null!=r.textContent?r.textContent=this.options.dictFallbackMessage:null!=r.innerText&&(r.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,r;return t={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},n=e.width/e.height,t.optWidth=this.options.thumbnailWidth,t.optHeight=this.options.thumbnailHeight,null==t.optWidth&&null==t.optHeight?(t.optWidth=t.srcWidth,t.optHeight=t.srcHeight):null==t.optWidth?t.optWidth=n*t.optHeight:null==t.optHeight&&(t.optHeight=1/n*t.optWidth),r=t.optWidth/t.optHeight,e.heightr?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*r):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/r),t.srcX=(e.width-t.srcWidth)/2,t.srcY=(e.height-t.srcHeight)/2,t},drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:s,dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:s,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n,r,i,o,a,s,u,l,c,f,p,d,h;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(e.previewElement=t.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),f=e.previewElement.querySelectorAll("[data-dz-name]"),o=0,u=f.length;u>o;o++)n=f[o],n.textContent=e.name;for(p=e.previewElement.querySelectorAll("[data-dz-size]"),a=0,l=p.length;l>a;a++)n=p[a],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement(''+this.options.dictRemoveFile+""),e.previewElement.appendChild(e._removeLink)),r=function(n){return function(r){return r.preventDefault(),r.stopPropagation(),e.status===t.UPLOADING?t.confirm(n.options.dictCancelUploadConfirmation,function(){return n.removeFile(e)}):n.options.dictRemoveFileConfirmation?t.confirm(n.options.dictRemoveFileConfirmation,function(){return n.removeFile(e)}):n.removeFile(e)}}(this),d=e.previewElement.querySelectorAll("[data-dz-remove]"),h=[],s=0,c=d.length;c>s;s++)i=d[s],h.push(i.addEventListener("click",r));return h}},removedfile:function(e){var t;return e.previewElement&&null!=(t=e.previewElement)&&t.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){var n,r,i,o;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),o=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),r=0,i=o.length;i>r;r++)n=o[r],n.alt=e.name,n.src=t;return setTimeout(function(t){return function(){return e.previewElement.classList.add("dz-image-preview")}}(this),1)}},error:function(e,t){var n,r,i,o,a;if(e.previewElement){for(e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error),o=e.previewElement.querySelectorAll("[data-dz-errormessage]"),a=[],r=0,i=o.length;i>r;r++)n=o[r],a.push(n.textContent=t);return a}},errormultiple:s,processing:function(e){return e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink)?e._removeLink.textContent=this.options.dictCancelUpload:void 0},processingmultiple:s,uploadprogress:function(e,t,n){var r,i,o,a,s;if(e.previewElement){for(a=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),s=[],i=0,o=a.length;o>i;i++)r=a[i],"PROGRESS"===r.nodeName?s.push(r.value=t):s.push(r.style.width=""+t+"%");return s}},totaluploadprogress:s,sending:s,sendingmultiple:s,success:function(e){return e.previewElement?e.previewElement.classList.add("dz-success"):void 0},successmultiple:s,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:s,complete:function(e){return e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement?e.previewElement.classList.add("dz-complete"):void 0},completemultiple:s,maxfilesexceeded:s,maxfilesreached:s,queuecomplete:s,addedfiles:s,previewTemplate:'
\n
\n
\n
\n
\n
\n
\n
\n
\n \n Check\n \n \n \n \n \n
\n
\n \n Error\n \n \n \n \n \n \n \n
\n
'},r=function(){var e,t,n,r,i,o,a;for(r=arguments[0],n=2<=arguments.length?l.call(arguments,1):[],o=0,a=n.length;a>o;o++){t=n[o];for(e in t)i=t[e],r[e]=i}return r},t.prototype.getAcceptedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;n>t;t++)e=r[t],e.accepted&&i.push(e);return i},t.prototype.getRejectedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;n>t;t++)e=r[t],e.accepted||i.push(e);return i},t.prototype.getFilesWithStatus=function(e){var t,n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)t=i[n],t.status===e&&o.push(t);return o},t.prototype.getQueuedFiles=function(){return this.getFilesWithStatus(t.QUEUED)},t.prototype.getUploadingFiles=function(){return this.getFilesWithStatus(t.UPLOADING)},t.prototype.getAddedFiles=function(){return this.getFilesWithStatus(t.ADDED)},t.prototype.getActiveFiles=function(){var e,n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)e=i[n],(e.status===t.UPLOADING||e.status===t.QUEUED)&&o.push(e);return o},t.prototype.init=function(){var e,n,r,i,o,a,s;for("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(t.createElement('
'+this.options.dictDefaultMessage+"
")),this.clickableElements.length&&(r=function(e){return function(){return e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null==e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!=e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!=e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",document.querySelector(e.options.hiddenInputContainer).appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",function(){var t,n,i,o;if(n=e.hiddenFileInput.files,n.length)for(i=0,o=n.length;o>i;i++)t=n[i],e.addFile(t);return e.emit("addedfiles",n),r()})}}(this))(),this.URL=null!=(a=window.URL)?a:window.webkitURL,s=this.events,i=0,o=s.length;o>i;i++)e=s[i],this.on(e,this.options[e]);return this.on("uploadprogress",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("removedfile",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("canceled",function(e){return function(t){return e.emit("complete",t)}}(this)),this.on("complete",function(e){return function(t){return 0===e.getAddedFiles().length&&0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length?setTimeout(function(){return e.emit("queuecomplete")},0):void 0}}(this)),n=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1},this.listeners=[{element:this.element,events:{dragstart:function(e){return function(t){return e.emit("dragstart",t)}}(this),dragenter:function(e){return function(t){return n(t),e.emit("dragenter",t)}}(this),dragover:function(e){return function(t){var r;try{r=t.dataTransfer.effectAllowed}catch(i){}return t.dataTransfer.dropEffect="move"===r||"linkMove"===r?"move":"copy",n(t),e.emit("dragover",t)}}(this),dragleave:function(e){return function(t){return e.emit("dragleave",t)}}(this),drop:function(e){return function(t){return n(t),e.drop(t)}}(this),dragend:function(e){return function(t){return e.emit("dragend",t)}}(this)}}],this.clickableElements.forEach(function(e){return function(n){return e.listeners.push({element:n,events:{click:function(r){return(n!==e.element||r.target===e.element||t.elementInside(r.target,e.element.querySelector(".dz-message")))&&e.hiddenFileInput.click(),!0}}})}}(this)),this.enable(),this.options.init.call(this)},t.prototype.destroy=function(){var e;return this.disable(),this.removeAllFiles(!0),(null!=(e=this.hiddenFileInput)?e.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,t.instances.splice(t.instances.indexOf(this),1)},t.prototype.updateTotalUploadProgress=function(){var e,t,n,r,i,o,a,s;if(r=0,n=0,e=this.getActiveFiles(),e.length){for(s=this.getActiveFiles(),o=0,a=s.length;a>o;o++)t=s[o],r+=t.upload.bytesSent,n+=t.upload.total;i=100*r/n}else i=100;return this.emit("totaluploadprogress",i,n,r)},t.prototype._getParamName=function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):""+this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")},t.prototype.getFallbackForm=function(){var e,n,r,i;return(e=this.getExistingFallback())?e:(r='
',this.options.dictFallbackText&&(r+="

"+this.options.dictFallbackText+"

"),r+='
',n=t.createElement(r),"FORM"!==this.element.tagName?(i=t.createElement('
'),i.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=i?i:n)},t.prototype.getExistingFallback=function(){var e,t,n,r,i,o;for(t=function(e){var t,n,r;for(n=0,r=e.length;r>n;n++)if(t=e[n],/(^| )fallback($| )/.test(t.className))return t},o=["div","form"],r=0,i=o.length;i>r;r++)if(n=o[r],e=t(this.element.getElementsByTagName(n)))return e},t.prototype.setupEventListeners=function(){var e,t,n,r,i,o,a;for(o=this.listeners,a=[],r=0,i=o.length;i>r;r++)e=o[r],a.push(function(){var r,i;r=e.events,i=[];for(t in r)n=r[t],i.push(e.element.addEventListener(t,n,!1));return i}());return a},t.prototype.removeEventListeners=function(){var e,t,n,r,i,o,a;for(o=this.listeners,a=[],r=0,i=o.length;i>r;r++)e=o[r],a.push(function(){var r,i;r=e.events,i=[];for(t in r)n=r[t],i.push(e.element.removeEventListener(t,n,!1));return i}());return a},t.prototype.disable=function(){var e,t,n,r,i;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),r=this.files,i=[],t=0,n=r.length;n>t;t++)e=r[t],i.push(this.cancelUpload(e));return i},t.prototype.enable=function(){return this.clickableElements.forEach(function(e){return e.classList.add("dz-clickable")}),this.setupEventListeners()},t.prototype.filesize=function(e){var t,n,r,i,o,a,s,u;if(r=0,i="b",e>0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;u>s;n=++s)if(o=a[n],t=Math.pow(this.options.filesizeBase,4-n)/10,e>=t){r=e/Math.pow(this.options.filesizeBase,4-n),i=o;break}r=Math.round(10*r)/10}return""+r+" "+i},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,n;e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,this.emit("addedfiles",t),t.length&&(n=e.dataTransfer.items,n&&n.length&&null!=n[0].webkitGetAsEntry?this._addFilesFromItems(n):this.handleFiles(t)))},t.prototype.paste=function(e){var t,n;if(null!=(null!=e&&null!=(n=e.clipboardData)?n.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,n,r,i;for(i=[],n=0,r=e.length;r>n;n++)t=e[n],i.push(this.addFile(t));return i},t.prototype._addFilesFromItems=function(e){var t,n,r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],null!=n.webkitGetAsEntry&&(t=n.webkitGetAsEntry())?t.isFile?o.push(this.addFile(n.getAsFile())):t.isDirectory?o.push(this._addFilesFromDirectory(t,t.name)):o.push(void 0):null!=n.getAsFile&&(null==n.kind||"file"===n.kind)?o.push(this.addFile(n.getAsFile())):o.push(void 0);return o},t.prototype._addFilesFromDirectory=function(e,t){var n,r;return n=e.createReader(),r=function(e){return function(n){var r,i,o;for(i=0,o=n.length;o>i;i++)r=n[i],r.isFile?r.file(function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+t+"/"+n.name,e.addFile(n))}):r.isDirectory&&e._addFilesFromDirectory(r,""+t+"/"+r.name)}}(this),n.readEntries(r,function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0})},t.prototype.accept=function(e,n){return e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,n,r;for(n=0,r=e.length;r>n;n++)t=e[n],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||e.accepted!==!0)throw new Error("This file can't be queued because it has already been processed or was rejected.");return e.status=t.QUEUED,this.options.autoProcessQueue?setTimeout(function(e){return function(){return e.processQueue()}}(this),0):void 0},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){return this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024?(this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)):void 0},t.prototype._processThumbnailQueue=function(){return this._processingThumbnail||0===this._thumbnailQueue.length?void 0:(this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this)))},t.prototype.removeFile=function(e){return e.status===t.UPLOADING&&this.cancelUpload(e),this.files=u(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},t.prototype.removeAllFiles=function(e){var n,r,i,o;for(null==e&&(e=!1),o=this.files.slice(),r=0,i=o.length;i>r;r++)n=o[r],(n.status!==t.UPLOADING||e)&&this.removeFile(n);return null},t.prototype.createThumbnail=function(e,t){var n;return n=new FileReader,n.onload=function(r){return function(){return"image/svg+xml"===e.type?(r.emit("thumbnail",e,n.result),void(null!=t&&t())):r.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,r){var i;return i=document.createElement("img"),r&&(i.crossOrigin=r),i.onload=function(t){return function(){var r,o,s,u,l,c,f,p;return e.width=i.width,e.height=i.height,s=t.options.resize.call(t,e),null==s.trgWidth&&(s.trgWidth=s.optWidth),null==s.trgHeight&&(s.trgHeight=s.optHeight),r=document.createElement("canvas"),o=r.getContext("2d"),r.width=s.trgWidth,r.height=s.trgHeight,a(o,i,null!=(l=s.srcX)?l:0,null!=(c=s.srcY)?c:0,s.srcWidth,s.srcHeight,null!=(f=s.trgX)?f:0,null!=(p=s.trgY)?p:0,s.trgWidth,s.trgHeight),u=r.toDataURL("image/png"),t.emit("thumbnail",e,u),null!=n?n():void 0}}(this),null!=n&&(i.onerror=n),i.src=t},t.prototype.processQueue=function(){var e,t,n,r;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;t>e;){if(!r.length)return;this.processFile(r.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,r,i;for(r=0,i=e.length;i>r;r++)n=e[r],n.processing=!0,n.status=t.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},t.prototype._getFilesWithXhr=function(e){var t,n;return n=function(){var n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)t=i[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,r,i,o,a,s,u;if(e.status===t.UPLOADING){for(r=this._getFilesWithXhr(e.xhr),i=0,a=r.length;a>i;i++)n=r[i],n.status=t.CANCELED;for(e.xhr.abort(),o=0,s=r.length;s>o;o++)n=r[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",r)}else((u=e.status)===t.ADDED||u===t.QUEUED)&&(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));return this.options.autoProcessQueue?this.processQueue():void 0},i=function(){var e,t;return t=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var n,o,a,s,u,l,c,f,p,d,h,m,v,g,$,y,b,w,x,C,E,k,S,A,T,D,O,F,M,N,I,j,_,P;for(x=new XMLHttpRequest,C=0,A=e.length;A>C;C++)n=e[C],n.xhr=x;m=i(this.options.method,e),b=i(this.options.url,e),x.open(m,b,!0),x.withCredentials=!!this.options.withCredentials,$=null,a=function(t){return function(){var r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],o.push(t._errorProcessing(e,$||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return o}}(this),y=function(t){return function(r){var i,o,a,s,u,l,c,f,p;if(null!=r)for(o=100*r.loaded/r.total,a=0,l=e.length;l>a;a++)n=e[a],n.upload={progress:o,total:r.total,bytesSent:r.loaded};else{for(i=!0,o=100,s=0,c=e.length;c>s;s++)n=e[s],(100!==n.upload.progress||n.upload.bytesSent!==n.upload.total)&&(i=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(i)return}for(p=[],u=0,f=e.length;f>u;u++)n=e[u],p.push(t.emit("uploadprogress",n,o,n.upload.bytesSent)); +return p}}(this),x.onload=function(n){return function(r){var i;if(e[0].status!==t.CANCELED&&4===x.readyState){if($=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{$=JSON.parse($)}catch(o){r=o,$="Invalid JSON response from server."}return y(),200<=(i=x.status)&&300>i?n._finished(e,$,r):a()}}}(this),x.onerror=function(n){return function(){return e[0].status!==t.CANCELED?a():void 0}}(this),g=null!=(M=x.upload)?M:x,g.onprogress=y,l={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&r(l,this.options.headers);for(s in l)u=l[s],u&&x.setRequestHeader(s,u);if(o=new FormData,this.options.params){N=this.options.params;for(h in N)w=N[h],o.append(h,w)}for(E=0,T=e.length;T>E;E++)n=e[E],this.emit("sending",n,x,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,x,o),"FORM"===this.element.tagName)for(I=this.element.querySelectorAll("input, textarea, select, button"),k=0,D=I.length;D>k;k++)if(f=I[k],p=f.getAttribute("name"),d=f.getAttribute("type"),"SELECT"===f.tagName&&f.hasAttribute("multiple"))for(j=f.options,S=0,O=j.length;O>S;S++)v=j[S],v.selected&&o.append(p,v.value);else(!d||"checkbox"!==(_=d.toLowerCase())&&"radio"!==_||f.checked)&&o.append(p,f.value);for(c=F=0,P=e.length-1;P>=0?P>=F:F>=P;c=P>=0?++F:--F)o.append(this._getParamName(c),e[c],e[c].name);return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.SUCCESS,this.emit("success",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("successmultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t.prototype._errorProcessing=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.ERROR,this.emit("error",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("errormultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t}(n),e.version="4.2.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[r(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,r,i,o,a;for(document.querySelectorAll?r=document.querySelectorAll(".dropzone"):(r=[],t=function(e){var t,n,i,o;for(o=[],n=0,i=e.length;i>n;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(r.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),a=[],i=0,o=r.length;o>i;i++)n=r[i],e.optionsForElement(n)!==!1?a.push(new e(n)):a.push(void 0);return a},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,r,i,o;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(o=e.blacklistedBrowsers,r=0,i=o.length;i>r;r++)n=o[r],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},u=function(e,t){var n,r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],n!==t&&o.push(n);return o},r=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,r,i,o,a,s,u,l;if(e instanceof Array){i=[];try{for(o=0,s=e.length;s>o;o++)r=e[o],i.push(this.getElement(r,t))}catch(c){n=c,i=null}}else if("string"==typeof e)for(i=[],l=document.querySelectorAll(e),a=0,u=l.length;u>a;a++)r=l[a],i.push(r);else null!=e.nodeType&&(i=[e]);if(null==i||!i.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return i},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},e.isValidFile=function(e,t){var n,r,i,o,a;if(!t)return!0;for(t=t.split(","),r=e.type,n=r.replace(/\/.*$/,""),o=0,a=t.length;a>o;o++)if(i=t[o],i=i.trim(),"."===i.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(i.toLowerCase(),e.name.length-i.length))return!0}else if(/\/\*$/.test(i)){if(n===i.replace(/\/.*$/,""))return!0}else if(r===i)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),"undefined"!=typeof t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",o=function(e){var t,n,r,i,o,a,s,u,l,c;for(s=e.naturalWidth,a=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=a,r=n.getContext("2d"),r.drawImage(e,0,0),i=r.getImageData(0,0,1,a).data,c=0,o=a,u=a;u>c;)t=i[4*(u-1)+3],0===t?o=u:c=u,u=o+c>>1;return l=u/a,0===l?1:l},a=function(e,t,n,r,i,a,s,u,l,c){var f;return f=o(t),e.drawImage(t,n,r,i,a,s,u,l,c/f)},i=function(e,t){var n,r,i,o,a,s,u,l,c;if(i=!1,c=!0,r=e.document,l=r.documentElement,n=r.addEventListener?"addEventListener":"attachEvent",u=r.addEventListener?"removeEventListener":"detachEvent",s=r.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===r.readyState?(("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):void 0):void 0},a=function(){var e;try{l.doScroll("left")}catch(t){return e=t,void setTimeout(a,50)}return o("poll")},"complete"!==r.readyState){if(r.createEventObject&&l.doScroll){try{c=!e.frameElement}catch(f){}c&&a()}return r[n](s+"DOMContentLoaded",o,!1),r[n](s+"readystatechange",o,!1),e[n](s+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},i(window,e._autoDiscoverFunction)}).call(this)},{}],10:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,p=a.clearInterval,d=a.getComputedStyle,h=a.encodeURIComponent,m=a.ActiveXObject,v=a.Error,g=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,C=a.Object.prototype.hasOwnProperty,E=a.Array.prototype.slice,k=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),S=function(e){return E.call(e,0)},A=function(){var e,t,r,i,o,a,s=S(arguments),u=s[0]||{};for(e=1,t=s.length;t>e;e++)if(null!=(r=s[e]))for(i in r)C.call(r,i)&&(o=u[i],a=r[i],u!==a&&a!==n&&(u[i]=a));return u},T=function(e){var t,n,r,i;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,r=e.length;r>n;n++)C.call(e,n)&&(t[n]=T(e[n]));else{t={};for(i in e)C.call(e,i)&&(t[i]=T(e[i]))}return t},D=function(e,t){for(var n={},r=0,i=t.length;i>r;r++)t[r]in e&&(n[t[r]]=e[t[r]]);return n},O=function(e,t){var n={};for(var r in e)-1===t.indexOf(r)&&(n[r]=e[r]);return n},F=function(e){if(e)for(var t in e)C.call(e,t)&&delete e[t];return e},M=function(e,t){if(e&&1===e.nodeType&&e.ownerDocument&&t&&(1===t.nodeType&&t.ownerDocument&&t.ownerDocument===e.ownerDocument||9===t.nodeType&&!t.ownerDocument&&t===e.ownerDocument))do{if(e===t)return!0;e=e.parentNode}while(e);return!1},N=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},I=function(e){var t,n;return"string"==typeof e&&e&&(n=e.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]?t=n[1]:(n=e.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]&&(t=n[1]))),t},j=function(){var e,t;try{throw new v}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||I(t.stack)),e},_=function(){var e,t,r;if(s.currentScript&&(e=s.currentScript.src))return e;if(t=s.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(r=t.length;r--;)if("interactive"===t[r].readyState&&(e=t[r].src))return e;return"loading"===s.readyState&&(e=t[t.length-1].src)?e:(e=j())?e:n},P=function(){var e,t,r,i=s.getElementsByTagName("script");for(e=i.length;e--;){if(!(r=i[e].src)){t=null;break}if(r=N(r),null==t)t=r;else if(t!==r){t=null;break}}return t||n},L=function(){var e=N(_())||P()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),z={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},V="11.0.0",U={},q={},H=null,B=0,W=0,G={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},Z=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],Q=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],Y=new RegExp("^flash-("+Q.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),X=new RegExp("^flash-("+Q.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J={swfPath:L(),trustedDomains:e.location.host?[e.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},K=function(e){if("object"==typeof e&&null!==e)for(var t in e)if(C.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))J[t]=e[t];else if(null==z.bridge)if("containerId"===t||"swfObjectId"===t){if(!he(e[t]))throw new Error("The specified `"+t+"` value is not valid as an HTML4 Element ID");J[t]=e[t]}else J[t]=e[t];{if("string"!=typeof e||!e)return T(J);if(C.call(J,e))return J[e]}},ee=function(){return We(),{browser:D(u,["userAgent","platform","appName"]),flash:O(z,["bridge"]),zeroclipboard:{version:Ze.version,config:Ze.config()}}},te=function(){return!!(z.disabled||z.outdated||z.sandboxed||z.unavailable||z.degraded||z.deactivated)},ne=function(e,t){var i,o,a,s={};if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)C.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&Ze.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,U[e]||(U[e]=[]),U[e].push(t);if(s.ready&&z.ready&&Ze.emit({type:"ready"}),s.error){for(i=0,o=Q.length;o>i;i++)if(z[Q[i].replace(/^flash-/,"")]===!0){Ze.emit({type:"error",name:Q[i]});break}r!==n&&Ze.version!==r&&Ze.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:r})}}return Ze},re=function(e,t){var n,r,i,o,a;if(0===arguments.length)o=w(U);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)C.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ze.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=U[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return Ze},ie=function(e){var t;return t="string"==typeof e&&e?T(U[e])||null:T(U)},oe=function(e){var t,n,r;return e=me(e),e&&!xe(e)?"ready"===e.type&&z.overdue===!0?Ze.emit({type:"error",name:"flash-overdue"}):(t=A({},e),be.call(this,t),"copy"===e.type&&(r=Oe(q),n=r.data,H=r.formatMap),n):void 0},ae=function(){var e=z.sandboxed;if(We(),"boolean"!=typeof z.ready&&(z.ready=!1),z.sandboxed!==e&&z.sandboxed===!0)z.ready=!1,Ze.emit({type:"error",name:"flash-sandboxed"});else if(!Ze.isFlashUnusable()&&null===z.bridge){var t=J.flashLoadTimeout;"number"==typeof t&&t>=0&&(B=l(function(){"boolean"!=typeof z.deactivated&&(z.deactivated=!0),z.deactivated===!0&&Ze.emit({type:"error",name:"flash-deactivated"})},t)),z.overdue=!1,Te()}},se=function(){Ze.clearData(),Ze.blur(),Ze.emit("destroy"),De(),Ze.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ze.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var r in n)"string"==typeof r&&r&&C.call(n,r)&&"string"==typeof n[r]&&n[r]&&(q[r]=n[r])},le=function(e){"undefined"==typeof e?(F(q),H=null):"string"==typeof e&&C.call(q,e)&&delete q[e]},ce=function(e){return"undefined"==typeof e?T(q):"string"==typeof e&&C.call(q,e)?q[e]:void 0},fe=function(e){if(e&&1===e.nodeType){i&&(Le(i,J.activeClass),i!==e&&Le(i,J.hoverClass)),i=e,Pe(e,J.hoverClass);var t=e.getAttribute("title")||J.title;if("string"==typeof t&&t){var n=Ae(z.bridge);n&&n.setAttribute("title",t)}var r=J.forceHandCursor===!0||"pointer"===Re(e,"cursor");He(r),qe()}},pe=function(){var e=Ae(z.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,J.hoverClass),Le(i,J.activeClass),i=null)},de=function(){return i||null},he=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),A(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:z&&z.bridge||null,timeStamp:e.timeStamp||b()||null});var n=G[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&A(e,{target:null,version:z.version}),"error"===e.type&&(Y.test(e.name)&&A(e,{target:null,minimumVersion:V}),X.test(e.name)&&A(e,{version:z.version})),"copy"===e.type&&(e.clipboardData={setData:Ze.setData,clearData:Ze.clearData}),"aftercopy"===e.type&&(e=Fe(e,H)),e.target&&!e.relatedTarget&&(e.relatedTarget=ve(e.target)),ge(e)}},ve=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?s.getElementById(t):null},ge=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,r="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,i="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=ze(t),u=a.screenLeft||a.screenX||0,l=a.screenTop||a.screenY||0,c=s.body.scrollLeft+s.documentElement.scrollLeft,f=s.body.scrollTop+s.documentElement.scrollTop,p=o.left+("number"==typeof e._stageX?e._stageX:0),d=o.top+("number"==typeof e._stageY?e._stageY:0),h=p-c,m=d-f,v=u+h,g=l+m,$="number"==typeof e.movementX?e.movementX:0,y="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,A(e,{srcElement:t,fromElement:r,toElement:i,screenX:v,screenY:g,pageX:p,pageY:d,clientX:h,clientY:m,x:h,y:m,movementX:$,movementY:y,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},$e=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},ye=function(e,t,n,r){r?l(function(){e.apply(t,n)},0):e.apply(t,n)},be=function(e){if("object"==typeof e&&e&&e.type){var t=$e(e),n=U["*"]||[],r=U[e.type]||[],i=n.concat(r);if(i&&i.length){var o,s,u,l,c,f=this;for(o=0,s=i.length;s>o;o++)u=i[o],l=f,"string"==typeof u&&"function"==typeof a[u]&&(u=a[u]),"object"==typeof u&&u&&"function"==typeof u.handleEvent&&(l=u,u=u.handleEvent),"function"==typeof u&&(c=A({},e),ye(u,l,[c],t))}return this}},we=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==Z.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||i||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var a="flash-sandboxed"===e.name||we(e);"boolean"==typeof a&&(z.sandboxed=a),-1!==Q.indexOf(e.name)?A(z,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,unavailable:"flash-unavailable"===e.name,degraded:"flash-degraded"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1}):"version-mismatch"===e.name&&(r=e.swfVersion,A(z,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),Ue();break;case"ready":r=e.swfVersion;var s=z.deactivated===!0;A(z,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:s,ready:!s}),Ue();break;case"beforecopy":o=t;break;case"copy":var u,l,c=e.relatedTarget;!q["text/html"]&&!q["text/plain"]&&c&&(l=c.value||c.outerHTML||c.innerHTML)&&(u=c.value||c.textContent||c.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u),l!==u&&e.clipboardData.setData("text/html",l)):!q["text/plain"]&&e.target&&(u=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u));break;case"aftercopy":Ce(e),Ze.clearData(),t&&t!==_e()&&t.focus&&t.focus();break;case"_mouseover":Ze.focus(t),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!M(e.relatedTarget,t)&&Ee(A({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ee(A({},e,{type:"mouseover"})));break;case"_mouseout":Ze.blur(),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!M(e.relatedTarget,t)&&Ee(A({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ee(A({},e,{type:"mouseout"})));break;case"_mousedown":Pe(t,J.activeClass),J.bubbleEvents===!0&&n&&Ee(A({},e,{type:e.type.slice(1)}));break;case"_mouseup":Le(t,J.activeClass),J.bubbleEvents===!0&&n&&Ee(A({},e,{type:e.type.slice(1)}));break;case"_click":o=null,J.bubbleEvents===!0&&n&&Ee(A({},e,{type:e.type.slice(1)}));break;case"_mousemove":J.bubbleEvents===!0&&n&&Ee(A({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},Ce=function(e){if(e.errors&&e.errors.length>0){var t=T(e);A(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ze.emit(t)},0)}},Ee=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=A(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},ke=function(){var e=J.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=J.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(Ue(),z.deactivated=null,Ze.emit({type:"error",name:"swf-not-found"}))},t)}},Se=function(){var e=s.createElement("div");return e.id=J.containerId,e.className=J.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Be(J.zIndex),e},Ae=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},Te=function(){var e,t=z.bridge,n=Ae(t);if(!t){var r=je(a.location.host,J),i="never"===r?"none":"all",o=Ne(A({jsVersion:Ze.version},J)),u=J.swfPath+Me(J.swfPath,J);n=Se();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n);var c=s.createElement("div"),f="activex"===z.pluginType;c.innerHTML='"+(f?'':"")+'
 
',t=c.firstChild,c=null,k(t).ZeroClipboard=Ze,n.replaceChild(t,l),ke()}return t||(t=s[J.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),z.bridge=t||null,t},De=function(){var e=z.bridge;if(e){var t=Ae(e);t&&("activex"===z.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),Ue(),z.ready=null,z.bridge=null,z.deactivated=null,r=n}},Oe=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&C.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},Fe=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var r in e)if(C.call(e,r))if("errors"===r){n[r]=e[r]?e[r].slice():[];for(var i=0,o=n[r].length;o>i;i++)n[r][i].format=t[n[r][i].format]}else if("success"!==r&&"data"!==r)n[r]=e[r];else{n[r]={};var a=e[r];for(var s in a)s&&C.call(a,s)&&C.call(t,s)&&(n[r][t[s]]=a[s])}return n},Me=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+b():""},Ne=function(e){var t,n,r,i,o="",s=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?i=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(i=e.trustedDomains)),i&&i.length)for(t=0,n=i.length;n>t;t++)if(C.call(i,t)&&i[t]&&"string"==typeof i[t]){if(r=Ie(i[t]),!r)continue;if("*"===r){s.length=0,s.push(r);break}s.push.apply(s,[r,"//"+r,a.location.protocol+"//"+r])}return s.length&&(o+="trustedOrigins="+h(s.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+h(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+h(e.jsVersion)),o},Ie=function(e){if(null==e||""===e)return null;if(e=e.replace(/^\s+|\s+$/g,""),""===e)return null;var t=e.indexOf("//");e=-1===t?e:e.slice(t+2);var n=e.indexOf("/");return e=-1===n?e:-1===t||0===n?null:e.slice(0,n),e&&".swf"===e.slice(-4).toLowerCase()?null:e||null},je=function(){var e=function(e){var t,n,r,i=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return i;for(t=0,n=e.length;n>t;t++)if(C.call(e,t)&&(r=Ie(e[t]))){if("*"===r){i.length=0,i.push("*");break}-1===i.indexOf(r)&&i.push(r)}return i};return function(t,n){var r=Ie(n.swfPath);null===r&&(r=t);var i=e(n.trustedDomains),o=i.length;if(o>0){if(1===o&&"*"===i[0])return"always";if(-1!==i.indexOf(t))return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),_e=function(){try{return s.activeElement}catch(e){return null}},Pe=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;r>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(i=" "+e.className+" ",n=0,r=o.length;r>n;n++)-1===i.indexOf(" "+o[n]+" ")&&(i+=o[n]+" ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Le=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;r>n;n++)e.classList.remove(o[n]);else if(e.className){for(i=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,r=o.length;r>n;n++)i=i.replace(" "+o[n]+" "," ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Re=function(e,t){var n=d(e,null).getPropertyValue(t);return"cursor"!==t||n&&"auto"!==n||"A"!==e.nodeName?n:"pointer"},ze=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),r=a.pageXOffset,i=a.pageYOffset,o=s.documentElement.clientLeft||0,u=s.documentElement.clientTop||0,l=0,c=0;if("relative"===Re(s.body,"position")){var f=s.body.getBoundingClientRect(),p=s.documentElement.getBoundingClientRect();l=f.left-p.left||0,c=f.top-p.top||0}t.left=n.left+r-o-l,t.top=n.top+i-u-c,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Ve=function(e){if(!e)return!1;var t=d(e,null),n=$(t.height)>0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:ze(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},Ue=function(){c(B),B=0,p(W),W=0},qe=function(){var e;if(i&&(e=Ae(z.bridge))){var t=ze(i);A(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Be(J.zIndex)})}},He=function(e){z.ready===!0&&(z.bridge&&"function"==typeof z.bridge.setHandCursor?z.bridge.setHandCursor(e):z.ready=!1)},Be=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Be(g(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=z.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return z.sandboxed=a,o===a||t||Ge(m),a},Ge=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(p){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(h){l=!1}}}}z.disabled=s!==!0,z.outdated=f&&$(f)<$(V),z.version=f||"0.0.0",z.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Ge(m),We(!0);var Ze=function(){return this instanceof Ze?void("function"==typeof Ze._createClient&&Ze._createClient.apply(this,S(arguments))):new Ze};x(Ze,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ze.config=function(){return K.apply(this,S(arguments))},Ze.state=function(){return ee.apply(this,S(arguments))},Ze.isFlashUnusable=function(){return te.apply(this,S(arguments))},Ze.on=function(){return ne.apply(this,S(arguments))},Ze.off=function(){return re.apply(this,S(arguments))},Ze.handlers=function(){return ie.apply(this,S(arguments))},Ze.emit=function(){return oe.apply(this,S(arguments))},Ze.create=function(){return ae.apply(this,S(arguments))},Ze.destroy=function(){return se.apply(this,S(arguments))},Ze.setData=function(){return ue.apply(this,S(arguments))},Ze.clearData=function(){return le.apply(this,S(arguments))},Ze.getData=function(){return ce.apply(this,S(arguments))},Ze.focus=Ze.activate=function(){return fe.apply(this,S(arguments))},Ze.blur=Ze.deactivate=function(){return pe.apply(this,S(arguments))},Ze.activeElement=function(){return de.apply(this,S(arguments))};var Qe=0,Ye={},Xe=0,Je={},Ke={};A(J,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Qe++,Ye[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ze.on("*",function(e){return t.emit(e)}),Ze.on("destroy",function(){t.destroy()}),Ze.create()},tt=function(e,t){var i,o,a,s={},u=Ye[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)C.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,l[e]||(l[e]=[]),l[e].push(t);if(s.ready&&z.ready&&this.emit({type:"ready",client:this}),s.error){for(i=0,o=Q.length;o>i;i++)if(z[Q[i].replace(/^flash-/,"")]){this.emit({type:"error",name:Q[i],client:this});break}r!==n&&Ze.version!==r&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:r})}}return this},nt=function(e,t){var n,r,i,o,a,s=Ye[this.id],u=s&&s.handlers;if(!u)return this;if(0===arguments.length)o=w(u);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)C.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=u[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return this},rt=function(e){var t=null,n=Ye[this.id]&&Ye[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:T(n)),t},it=function(e){if(lt.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=A({},e));var t=A({},me(e),{client:this});ct.call(this,t)}return this},ot=function(e){if(!Ye[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");e=ft(e);for(var t=0;t0,i=!e.target||r&&-1!==n.indexOf(e.target),o=e.relatedTarget&&r&&-1!==n.indexOf(e.relatedTarget),a=e.client&&e.client===this;return t&&(i||o||a)?!0:!1},ct=function(e){var t=Ye[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,p=this;for(s=0,u=o.length;u>s;s++)l=o[s],c=p,"string"==typeof l&&"function"==typeof a[l]&&(l=a[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(f=A({},e),ye(l,c,[f],n))}}},ft=function(e){return"string"==typeof e&&(e=[]),"number"!=typeof e.length?[e]:e},pt=function(e){if(e&&1===e.nodeType){var t=function(e){(e||(e=a.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=a.event))&&(t(n),Ze.focus(e))};e.addEventListener("mouseover",n,!1),e.addEventListener("mouseout",t,!1),e.addEventListener("mouseenter",t,!1),e.addEventListener("mouseleave",t,!1),e.addEventListener("mousemove",t,!1),Ke[e.zcClippingId]={mouseover:n,mouseout:t,mouseenter:t,mouseleave:t,mousemove:t}}},dt=function(e){if(e&&1===e.nodeType){var t=Ke[e.zcClippingId];if("object"==typeof t&&t){for(var n,r,i=["move","leave","enter","out","over"],o=0,a=i.length;a>o;o++)n="mouse"+i[o],r=t[n],"function"==typeof r&&e.removeEventListener(n,r,!1);delete Ke[e.zcClippingId]}}};Ze._createClient=function(){et.apply(this,S(arguments))},Ze.prototype.on=function(){return tt.apply(this,S(arguments))},Ze.prototype.off=function(){return nt.apply(this,S(arguments))},Ze.prototype.handlers=function(){return rt.apply(this,S(arguments))},Ze.prototype.emit=function(){return it.apply(this,S(arguments))},Ze.prototype.clip=function(){return ot.apply(this,S(arguments))},Ze.prototype.unclip=function(){return at.apply(this,S(arguments))},Ze.prototype.elements=function(){return st.apply(this,S(arguments))},Ze.prototype.destroy=function(){return ut.apply(this,S(arguments))},Ze.prototype.setText=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/plain",e),this},Ze.prototype.setHtml=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/html",e),this},Ze.prototype.setRichText=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("application/rtf",e),this},Ze.prototype.setData=function(){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData.apply(this,S(arguments)),this},Ze.prototype.clearData=function(){if(!Ye[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.clearData.apply(this,S(arguments)),this},Ze.prototype.getData=function(){if(!Ye[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.getData.apply(this,S(arguments))},"function"==typeof define&&define.amd?define(function(){return Ze}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ze:e.ZeroClipboard=Ze}(function(){return this||window}())},{}],11:[function(e,t,n){t.exports='
\n
Drop files or click here to upload
\n
'},{}],12:[function(e,t,n){t.exports='\n
\n
\n Image Preview\n Image Preview\n
\n \n
\n\n \n |\n \n\n \n
'},{}],13:[function(e,t,n){t.exports='
\n \n
\n
'},{}],14:[function(e,t,n){"use strict";t.exports=function(e){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,n,r,i){function o(t){f&&f(t),e.showing=!1}function a(t){f=t,e.showing=!0,c||(s(),c=!0)}function s(){var t="/images/"+e.imageType+"/all/"+u;n.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,u++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var u=0,l=0,c=!1,f=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(t,n){e.$apply(function(){e.images.unshift(n)})},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-l;n>i?o(t):(e.selectedImage=t,e.dependantPages=!1),l=r},e.selectButtonClick=function(){o(e.selectedImage)},i.show=a,i.showExternal=function(t){e.$apply(function(){a(t)})},window.ImageManager=i,e.hide=function(){e.showing=!1},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;n.put(i,this.selectedImage).then(function(t){e.imageUpdateSuccess=!0,r(function(){e.imageUpdateSuccess=!1},3e3)},function(t){var n=t.data,i="";Object.keys(n).forEach(function(e){i+=n[e].join("\n")}),e.imageUpdateFailure=i,r(function(){e.imageUpdateFailure=!1},5e3)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),n["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,e.imageDeleteSuccess=!0,r(function(){e.imageDeleteSuccess=!1},3e3)},function(t){400===t.status&&(e.dependantPages=t.data)})}}]),e.controller("BookShowController",["$scope","$http","$attrs",function(e,t,n){e.searching=!1,e.searchTerm="",e.searchResults="",e.searchBook=function(r){r.preventDefault();var i=e.searchTerm;if(0!=i.length){e.searching=!0,e.searchResults="";var o="/search/book/"+n.bookId;o+="?term="+encodeURIComponent(i),t.get(o).then(function(t){e.searchResults=t.data})}},e.checkSearchForm=function(){e.searchTerm.length<1&&(e.searching=!1)},e.clearSearch=function(){e.searching=!1,e.searchTerm=""}}])}},{}],15:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("./components/toggle-switch.html"),o=e("./components/image-picker.html"),a=e("./components/drop-zone.html");t.exports=function(e){e.directive("toggleSwitch",function(){return{restrict:"E",template:i,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:o,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:a,scope:{uploadUrl:"@",eventSuccess:"=",eventError:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"undefined"!=typeof e.eventSuccess&&t.on("success",e.eventSuccess),t.on("success",function(e,n){$(e.previewElement).fadeOut(400,function(){t.removeFile(e)})}),"undefined"!=typeof e.eventError&&t.on("error",e.eventError),t.on("error",function(e,t,n){function r(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}console.log(t),console.log(n),413===n.status&&r("The server does not allow uploads of this size. Please try a smaller file."),t.file&&r(t.file[0])})}})}}}]),e.directive("dropdown",[function(){return{restrict:"A",link:function(e,t,n){var r=t.find("ul");t.find("[dropdown-toggle]").on("click",function(){r.show().addClass("anim menuIn"),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"]));e("./services")(o),e("./directives")(o),e("./controllers")(o);if(jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),r("#html-editor")){var a=e("./pages/page-form");tinymce.init(a)}e("./pages/page-show")},{"./controllers":14,"./directives":15,"./pages/page-form":17,"./pages/page-show":18,"./services":19,angular:8,"angular-animate":2,"angular-resource":4,"angular-sanitize":6}],17:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/css/styles.css"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,r){ImageManager.show(function(t){if(r.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.document.getElementById(e).dispatchEvent(n)}else r.document.getElementById(e).fireEvent("onchange")})},paste_preprocess:function(e,t){var n=t.content;-1!==n.indexOf('';n+=''+t.name+'',n+="",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){if(t.clipboardData){var n=t.clipboardData.items;if(n)for(var r=0;r');var c="image-"+Date.now()+"."+a;o.append("file",i,c),o.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),s.open("POST","/images/gallery/upload"),s.onload=function(){if(200===s.status||201===s.status){var t=JSON.parse(s.responseText);e.dom.setAttrib(l,"src",t.url)}else console.log("An error occured uploading the image"),console.log(s.responseText),e.dom.remove(l)},s.send(o)}}})}}},{}],18:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:"/ZeroClipboard.swf"}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}var n=$("#pointer").detach(),i=n.children("div.pointer").first(),o=!1;if(n.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(n.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){o||n.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){var r=window.getSelection();if(0!==r.toString().length){var a=$(this),s=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+a.attr("id");n.find("input").val(s),n.find("button").first().attr("data-clipboard-text",s),a.before(n),n.show();var u=t.pageX-a.offset().left-i.width()/2;0>u&&(u=0);var l=u/a.width()*100;i.css("left",l+"%"),t.stopPropagation(),o=!0,setTimeout(function(){o=!1},100)}}),window.location.hash){var a=window.location.hash.replace(/\%20/g," ").substr(1);t(a)}}},{zeroclipboard:10}],19:[function(e,t,n){"use strict";t.exports=function(e){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[16]); \ No newline at end of file