From cdfda508d8a06cd00a7487828a2e2cb2f6a1a056 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 22 Jan 2017 12:36:10 +0000 Subject: [PATCH] Updated assets for release v0.14 --- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 24 ++++++++++++------------ version | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 151852fd2a8..56a58457f78 100644 --- a/public/css/export-styles.css +++ b/public/css/export-styles.css @@ -1 +1 @@ -.link,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{cursor:pointer;-ms-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.toggle-switch,.toggle-switch:after{-webkit-transition:all ease-in-out 120ms}.link:hover,a:hover{color:#01466c}.link i,a i{padding-right:12px}.link 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:-webkit-linear-gradient(left,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff);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}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;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:12px;overflow-x:scroll}body.flexbox,ol,ul{overflow:hidden}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;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.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:#969696}.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-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{text-decoration:none}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.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}.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}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before,.callout>*{display:inline-block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],input[type=text],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=text],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.pos[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=text],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],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],input[disabled][type=text],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,input[type=text]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;flex:none}.editor-toolbar:after{display:block;clear:both}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;-webkit-user-select:none;-moz-user-select:none;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 textarea{display:block;width:100%;min-height:64px}.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}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{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%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}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:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.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}}header .dropdown-container{font-size:.9em}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}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.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;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.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;padding-left: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 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 .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.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;padding-left:1px}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}.compact ul.pagination,.entity-list h4{margin:0}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}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;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}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.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,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.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: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:172px;z-index:40}.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}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file +article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.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}.link,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.toggle-switch,.toggle-switch:after{-webkit-transition:all ease-in-out 120ms}.link:hover,a:hover{color:#01466c}.link i,a i{padding-right:12px}.link 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:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.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:12px;overflow-x:scroll}body.flexbox,ol,ul{overflow:hidden}blockquote{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}.list>*,pre code{display:block}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.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:#969696}.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-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{text-decoration:none}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.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}.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}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.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,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{font-family:'Roboto Mono',monospace}.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==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;flex:none}.editor-toolbar:after{display:block;clear:both}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 textarea{display:block;width:100%;min-height:64px}.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}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{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%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}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:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.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}}header .dropdown-container{font-size:.9em}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}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.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;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;user-select:none}.pointer span.icon,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.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;padding-left: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 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 .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.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;padding-left:1px}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;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}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}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;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}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.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,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.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: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:172px;z-index:40}.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 span.icon{cursor:pointer;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 83d0b88768f..140a68f0a4b 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}#markdown-editor .markdown-editor-wrap,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.popup-body,body.flexbox{-webkit-box-orient:vertical;-webkit-box-direction:normal}*,.dropzone,.dropzone *{box-sizing:border-box}.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}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;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:-webkit-linear-gradient(left,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff);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}.italic,em,i{font-style:italic}.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:12px;overflow-x:scroll}body.flexbox,ol,ul{overflow:hidden}blockquote{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}pre code{background-color:transparent;border:0;font-size:1em}.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:#969696}.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-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.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}.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,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before,.callout>*{display:inline-block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.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,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;-webkit-transition:all ease-in-out 120ms;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}.button[disabled],.button[disabled]:hover{background-color:#BBB;cursor:default}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.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}.button[disabled]:hover{box-shadow:none}.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,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.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==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;flex:none}.editor-toolbar:after{display:block;clear:both}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}.logo-text,.page-list h5,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;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer;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);-webkit-transition:all ease-in-out 120ms;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 textarea{display:block;width:100%;min-height:64px}.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}.search-box,.search-box input,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{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}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table{border-collapse:collapse;border-spacing:0;min-width:100px}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout{text-align:center}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.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)}.anim.pointer,.loading-container>div{-webkit-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;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}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-webkit-box-flex:0;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-box-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,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-webkit-box;display:flex}.popup-body{background-color:#FFF;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-webkit-box;display:flex;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-webkit-box;display:flex;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-webkit-box-flex:0!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#FFF;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #DDD}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #DDD;box-shadow:0 0 0 0 transparent;-webkit-transition:all cubic-bezier(.4,0,1,1) 160ms;transition:all cubic-bezier(.4,0,1,1) 160ms;overflow:hidden}.image-manager-list .image.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#EEE;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#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;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #DDD}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-webkit-box-flex:1;flex:1}.image-manager-content,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}.image-manager-content{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;-webkit-transition:all ease-in-out 120ms;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)}}.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:-webkit-linear-gradient(top,#eee,#ddd);background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.dz-preview .dz-remove{font-size:14px;display:block;cursor:pointer;border:none}.dz-preview .dz-remove:hover{text-decoration:underline}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{text-decoration:none}.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;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;-webkit-transition:all .2s linear;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;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:-webkit-linear-gradient(top,#666,#444);background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;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;-webkit-transition:opacity .3s ease;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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #DDD;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}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 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:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.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}}header .dropdown-container{font-size:.9em}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}.logo-text{font-size:1.8em;color:#fff;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em}.page-list h5.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.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{cursor:pointer;margin:0 0 24px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;user-select:none}.floating-toolbox .handle,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.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;padding-left: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 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 .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.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;padding-left:1px}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;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}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}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;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}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.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,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.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: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:172px;z-index:40}.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}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;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}.notification.warning{background-color:#e27b41;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;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}#back-to-top{background-color:#0288D1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#FFF;width:40px;height:40px;border-radius:40px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-webkit-box;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #DDD;margin-left:-1px}.contained-search-box input{-webkit-box-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file +article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{-moz-user-select:none;-webkit-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}#markdown-editor .markdown-editor-wrap,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.popup-body,body.flexbox{-webkit-box-orient:vertical;-webkit-box-direction:normal}*,.dropzone,.dropzone *{box-sizing:border-box}.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}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;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:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.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:12px;overflow-x:scroll}body.flexbox,ol,ul{overflow:hidden}blockquote{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}.list>*,pre code{display:block}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.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:#969696}.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-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.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}.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,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.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,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;-webkit-transition:all ease-in-out 120ms;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}.button[disabled],.button[disabled]:hover{background-color:#BBB;cursor:default}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.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}.button[disabled]:hover{box-shadow:none}.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,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{font-family:'Roboto Mono',monospace}.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==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;flex-direction:column;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;flex:none}.editor-toolbar:after{display:block;clear:both}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}.logo-text,.page-list h5,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;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer;-ms-user-select:none;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);-webkit-transition:all ease-in-out 120ms;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 textarea{display:block;width:100%;min-height:64px}.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}.search-box,.search-box input,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{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}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{border-collapse:collapse;border-spacing:0;min-width:100px}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout,table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.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)}.anim.pointer,.loading-container>div{-webkit-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;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}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-webkit-box-flex:0;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-box-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,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-webkit-box;display:flex}.popup-body{background-color:#FFF;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-webkit-box;display:flex;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-webkit-box;display:flex;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-webkit-box-flex:0!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#FFF;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #DDD}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #DDD;box-shadow:0 0 0 0 transparent;-webkit-transition:all cubic-bezier(.4,0,1,1) 160ms;transition:all cubic-bezier(.4,0,1,1) 160ms;overflow:hidden}.image-manager-list .image.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#EEE;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#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;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #DDD}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-webkit-box-flex:1;flex:1}.image-manager-content,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}.image-manager-content{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;-webkit-transition:all ease-in-out 120ms;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)}}.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:-webkit-linear-gradient(top,#eee,#ddd);background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.dz-preview .dz-remove{font-size:14px;display:block;cursor:pointer;border:none}.dz-preview .dz-remove:hover{text-decoration:underline}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{text-decoration:none}.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;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;-webkit-transition:all .2s linear;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;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:-webkit-linear-gradient(top,#666,#444);background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;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;-webkit-transition:opacity .3s ease;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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #DDD;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}.image-picker .none{display:none}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 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:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.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}}header .dropdown-container{font-size:.9em}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}.logo-text{font-size:1.8em;color:#fff;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em}.page-list h5.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.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{cursor:pointer;margin:0 0 24px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.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;padding-left: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 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 .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.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;padding-left:1px}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}.compact ul.pagination,.entity-list h4{margin:0}.floating-toolbox .handle,.pointer span.icon{-webkit-user-select:none;-ms-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}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;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}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.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,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.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: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:172px;z-index:40}.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 span.icon{cursor:pointer;-moz-user-select:none;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-moz-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;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}.notification.warning{background-color:#e27b41;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;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}#back-to-top{background-color:#0288D1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#FFF;width:40px;height:40px;border-radius:40px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-webkit-box;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #DDD;margin-left:-1px}.contained-search-box input{-webkit-box-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index 5eb1b40d6b8..af0a5eb2592 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,12 +1,12 @@ -!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 a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof ne)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===L)return e;break;default:return ne(u(e))}if(e.nodeType===L)return ne(e)}function u(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 G(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 M(e){return 0===e||null!=e}function T(e,t){var n=F,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function A(){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 O(e,t,n){G(n,function(n){e[n]=Q(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,I,N,P,L=1,j="-add",R="-remove",U="ng-",V="-active",z="-prepare",H="ng-animate",Y="$$ngAnimateChildren",q="";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?(q="-webkit-",F="WebkitTransition",I="webkitTransitionEnd transitionend"):(F="transition",I="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?(q="-webkit-",N="WebkitAnimation",P="webkitAnimationEnd animationend"):(N="animation",P="animationend");var W,B,G,Z,Q,J,X,K,ee,te,ne,re,ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=N+ae,de=N+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$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=o(a,"-stagger");r.addClass(i,c),l=E(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 D(e){H.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=ne&&r>=ie&&(X=!0,g())}function H(){function t(){if(!Q){if(b(!1),G(le,function(e){var t=e[0],n=e[1];B.style[t]=n}),L(e,Y),r.addClass(e,Se),Re.recalculateTimingStyles){if(Ce=B.className+" "+xe,De=$(B,Ce),Le=A(B,Ce,De),je=Le.maxDelay,te=Math.max(je,0),ie=Le.maxDuration,0===ie)return void g();Re.hasTransitions=Le.transitionDuration>0,Re.hasAnimations=Le.animationDuration>0}if(Re.applyAnimationDelay&&(je="boolean"!=typeof Y.delay&&M(Y.delay)?parseFloat(Y.delay):je,te=Math.max(je,0),Le.animationDelay=je,Ue=_(je,!0),le.push(Ue),B.style[Ue[0]]=Ue[1]),ne=te*$e,ae=ie*$e,Y.easing){var t,i=Y.easing;Re.hasTransitions&&(t=F+se,le.push([t,i]),B.style[t]=i),Re.hasAnimations&&(t=N+se,le.push([t,i]),B.style[t]=i)}Le.transitionDuration&&he.push(I),Le.animationDuration&&he.push(P),ue=Date.now();var o=ne+we*ae,a=ue+o,s=e.data(ye)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data(ye,s)}he.length&&e.on(he.join(" "),z),Y.to&&(Y.cleanupStyles&&O(q,B,Object.keys(Y.to)),m(e,Y))}}function n(){var t=e.data(ye);if(t){for(var n=1;n0&&(Le.transitionDuration&&0===Me.transitionDuration||Le.animationDuration&&0===Me.animationDuration)&&Math.max(Me.animationDelay,Me.transitionDelay);o?u(t,Math.floor(o*Ne*$e),!1):t(),ee.resume=function(){i(!0)},ee.pause=function(){i(!1)}}}var Y=n||{};Y.$$prepared||(Y=d(W(Y)));var q={},B=y(e);if(!B||!B.parentNode||!v.enabled())return E();var Q,J,X,K,ee,te,ne,ie,ae,ue,le=[],fe=e.attr("class"),de=i(Y),he=[];if(0===Y.duration||!c.animations&&!c.transitions)return E();var pe=Y.event&&Z(Y.event)?Y.event.join(" "):Y.event,me=pe&&Y.structural,ge="",ve="";me?ge=o(pe,U,!0):pe&&(ge=pe),Y.addClass&&(ve+=o(Y.addClass,j)),Y.removeClass&&(ve.length&&(ve+=" "),ve+=o(Y.removeClass,R)),Y.applyClassesEarly&&ve.length&&L(e,Y);var xe=[ge,ve].join(" ").trim(),Ce=fe+" "+xe,Se=o(xe,V),_e=de.to&&Object.keys(de.to).length>0,Ee=(Y.keyframeStyle||"").length>0;if(!Ee&&!_e&&!xe)return E();var De,Me;if(Y.stagger>0){var Te=parseFloat(Y.stagger);Me={transitionDelay:Te,animationDelay:Te,transitionDuration:0,animationDuration:0}}else De=$(B,Ce),Me=C(B,xe,De,ke);Y.$$skipPreparationClasses||r.addClass(e,xe);var Ae;if(Y.transitionStyle){var Oe=[F,Y.transitionStyle];k(B,Oe),le.push(Oe)}if(Y.duration>=0){Ae=B.style[F].length>0;var Fe=T(Y.duration,Ae);k(B,Fe),le.push(Fe)}if(Y.keyframeStyle){var Ie=[N,Y.keyframeStyle];k(B,Ie),le.push(Ie)}var Ne=Me?Y.staggerIndex>=0?Y.staggerIndex:t.count(De):0,Pe=0===Ne;Pe&&!Y.skipBlocking&&w(B,ce);var Le=A(B,Ce,De),je=Le.maxDelay;te=Math.max(je,0),ie=Le.maxDuration;var Re={};if(Re.hasTransitions=Le.transitionDuration>0,Re.hasAnimations=Le.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==Le.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=Y.duration&&Re.hasAnimations,Re.applyTransitionDelay=M(Y.delay)&&(Re.applyTransitionDuration||Re.hasTransitions),Re.applyAnimationDelay=M(Y.delay)&&Re.hasAnimations,Re.recalculateTimingStyles=ve.length>0,(Re.applyTransitionDuration||Re.applyAnimationDuration)&&(ie=Y.duration?parseFloat(Y.duration):ie,Re.applyTransitionDuration&&(Re.hasTransitions=!0,Le.transitionDuration=ie,Ae=B.style[F+oe].length>0,le.push(T(ie,Ae))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,Le.animationDuration=ie,le.push(S(ie)))),0===ie&&!Re.recalculateTimingStyles)return E();if(null!=Y.delay){var Ue;"boolean"!=typeof Y.delay&&(Ue=parseFloat(Y.delay),te=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(_(Ue)),Re.applyAnimationDelay&&le.push(_(Ue,!0))}return null==Y.duration&&Le.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||Pe),ne=te*$e,ae=ie*$e,Y.skipBlocking||(Re.blockTransition=Le.transitionDuration>0,Re.blockKeyframeAnimation=Le.animationDuration>0&&Me.animationDelay>0&&0===Me.animationDuration),Y.from&&(Y.cleanupStyles&&O(q,B,Object.keys(Y.from)),p(e,Y)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):Y.skipBlocking||w(B,!1),{$$willAnimate:!0,end:l,start:function(){if(!Q)return ee={end:l,cancel:f,resume:null,pause:null},K=new s(ee),D(H),K}}}}]}],Se=["$$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,d){function h(e){return e.replace(/\bng-\S+\b/g,"")}function p(e,t){return ee(e)&&(e=e.split(" ")),ee(t)&&(t=t.split(" ")),e.filter(function(e){return t.indexOf(e)===-1}).join(" ")}function m(t,a,u){function l(e){var t={},n=y(e).getBoundingClientRect();return G(["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(g,{addClass:i,delay:!0,from:l(a)});return t.$$willAnimate?t:null}function f(e){return e.attr("class")||""}function d(){var t=h(f(u)),n=p(t,v),r=p(v,t),a=e(g,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function m(){g.remove(),a.removeClass(n),u.removeClass(n)}var g=ne(y(a).cloneNode(!0)),v=h(f(g));a.addClass(n),u.addClass(n),g.addClass(r),w.append(g);var b,x=c();if(!x&&(b=d(),!b))return m();var k=x||b;return{start:function(){function e(){n&&n.end()}var t,n=k.start();return n.done(function(){return n=null,!b&&(b=d())?(n=b.start(),n.done(function(){n=null,m(),t.complete()}),n):(m(),void t.complete())}),t=new s({end:e,cancel:e})}}}function g(e,t,n,r){var i=v(e,re),o=v(t,re),a=[];if(G(r,function(e){var t=e.out,r=e["in"],i=m(n,t,r);i&&a.push(i)}),i||o||0!==a.length)return{start:function(){function e(){G(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),G(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}}}function v(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=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return re;var $=d[0].body,b=y(u),w=ne(t(b)||$.contains(b)?b:$);f(c);return function(e){return e.from&&e.to?g(e.from,e.to,e.classes,e.anchors):v(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=Z(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var l=1,c=2,p=" ",m=this.rules={skip:[],cancel:[],join:[]};m.join.push(function(e,t,n){return!t.structural&&a(t)}),m.skip.push(function(e,t,n){return!t.structural&&!a(t)}),m.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),m.skip.push(function(e,t,n){return n.structural&&n.state===c&&!t.structural}),m.cancel.push(function(e,t,n){return n.structural&&t.structural}),m.cancel.push(function(e,t,n){return n.state===c&&t.structural}),m.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,o=t.removeClass,a=n.addClass,s=n.removeClass;return!(te(r)&&te(o)||te(a)&&te(s))&&(i(r,s)||i(o,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(r,i,p,m,v,w,x,k,C,S){function _(){var e=!1;return function(t){e?t():i.$$postDigest(function(){e=!0,t()})}}function E(e,t){return g(e,t,{})}function D(e,t,n){var r=y(t),i=y(e),o=[],a=z[n];return a&&G(a,function(e){re.call(e.node,r)?o.push(e.callback):"leave"===n&&re.call(e.node,i)&&o.push(e.callback)}),o}function M(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function T(e,t){"close"!==e||t[0].parentNode||ie.off(t)}function A(e,t,n){function u(t,n,i,o){S(function(){var t=D(v,e,n);t.length?r(function(){G(t,function(t){t(e,i,o)}),T(i,e)}):T(i,e)}),t.progress(n,i,o)}function f(t){b(e,k),X(e,k),h(e,k),k.domOperation(),C.complete(!t)}var p,v,k=W(n);e=s(e),e&&(p=y(e),v=e.parent()),k=d(k);var C=new x,S=_();if(Z(k.addClass)&&(k.addClass=k.addClass.join(" ")),k.addClass&&!ee(k.addClass)&&(k.addClass=null),Z(k.removeClass)&&(k.removeClass=k.removeClass.join(" ")),k.removeClass&&!ee(k.removeClass)&&(k.removeClass=null),k.from&&!K(k.from)&&(k.from=null),k.to&&!K(k.to)&&(k.to=null),!p)return f(),C;var M=[p.className,k.addClass,k.removeClass].join(" ");if(!q(M))return f(),C;var A=["enter","move","leave"].indexOf(t)>=0,I=m[0].hidden,L=!U||I||R.get(p),V=!L&&j.get(p)||{},z=!!V.state;if(L||z&&V.state==l||(L=!N(e,v,t)),L)return I&&u(C,t,"start"),f(),I&&u(C,t,"close"),C;A&&O(e);var H={structural:A,element:e,event:t,addClass:k.addClass,removeClass:k.removeClass,close:f,options:k,runner:C};if(z){var Y=o("skip",e,H,V);if(Y)return V.state===c?(f(),C):(g(e,V,H),V.runner);var B=o("cancel",e,H,V);if(B)if(V.state===c)V.runner.end();else{if(!V.structural)return g(e,V,H),V.runner;V.close()}else{var Q=o("join",e,H,V);if(Q){if(V.state!==c)return $(e,A?t:null,k),t=H.event=V.event,k=g(e,V,H),V.runner;E(e,H)}}}else E(e,H);var J=H.structural;if(J||(J="animate"===H.event&&Object.keys(H.options.to||{}).length>0||a(H)),!J)return f(),F(e),C;var te=(V.counter||0)+1;return H.counter=te,P(e,l,H),i.$$postDigest(function(){var n=j.get(p),r=!n;n=n||{};var i=e.parent()||[],o=i.length>0&&("animate"===n.event||n.structural||a(n));if(r||n.counter!==te||!o)return r&&(X(e,k),h(e,k)),(r||A&&n.event!==t)&&(k.domOperation(),C.end()),void(o||F(e));t=!n.structural&&a(n,!0)?"setClass":n.event,P(e,c);var s=w(e,t,n.options);C.setHost(s),u(C,t,"start",{}),s.done(function(n){f(!n);var r=j.get(p);r&&r.counter===te&&F(y(e)),u(C,t,"close",{})})}),C}function O(e){var t=y(e),n=t.querySelectorAll("["+De+"]");G(n,function(e){var t=parseInt(e.getAttribute(De)),n=j.get(e);if(n)switch(t){case c:n.runner.end();case l:j.remove(e)}})}function F(e){var t=y(e);t.removeAttribute(De),j.remove(t)}function I(e,t){return y(e)===y(t)}function N(e,t,n){var r,i=ne(m[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,p),s=!1,u=R.get(y(e)),l=ne.data(e[0],Me);for(l&&(t=l),t=y(t);t&&(a||(a=I(t,p)),t.nodeType===L);){var c=j.get(t)||{};if(!s){var f=R.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(te(r)||r===!0){var d=ne.data(t,Y);Q(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=ne.data(t,Me))?t.parentNode:y(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function P(e,t,n){n=n||{},n.state=t;var r=y(e);r.setAttribute(De,t);var i=j.get(r),o=i?B(i,n):n;j.put(r,o)}var j=new v,R=new v,U=null,V=i.$watch(function(){return 0===k.totalPendingRequests},function(e){e&&(V(),i.$$postDigest(function(){i.$$postDigest(function(){null===U&&(U=!0)})}))}),z=Object.create(null),H=t.classNameFilter(),q=H?function(e){return H.test(e)}:function(){return!0},X=f(C),re=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},ie={on:function(e,t,n){var r=u(t);z[e]=z[e]||[],z[e].push({node:r,callback:n}),ne(t).on("$destroy",function(){var i=j.get(r);i||ie.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||ee(arguments[0])){var r=z[e];r&&(z[e]=1===arguments.length?null:M(r,t,n))}else{t=arguments[0];for(var i in z)z[i]=M(z[i],t)}},pin:function(e,t){n(J(e),"element","not an element"),n(J(t),"parentElement","not an element"),e.data(Me,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,A(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!U;else{var r=J(e);if(r){var i=y(e);1===n?t=!R.get(i):R.put(i,!t)}else t=U=!!e}return t}};return ie}]}],Ae=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(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,p){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=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";G(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:ne(e)}})}else t.push(e)});var r={},i={};return G(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],d=a.animationID.toString();if(!i[d]){var h=i[d]={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:[]};h.classes.length?t.push(h):(t.push(c),t.push(f))}i[d].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],r=u.get(n),i=r(e);if(i)return i}}function C(){c.addClass(H),A&&e.addClass(c,A),O&&(e.removeClass(c,O),O=null)}function S(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function _(){var e=i(c);!e||"leave"===f&&$.$$domOperationFired||e.end()}function E(t){c.off("$destroy",_),n(c),v(c,$),h(c,$),$.domOperation(),A&&e.removeClass(c,A),c.removeClass(H),M.complete(!t)}$=d($);var D=["enter","move","leave"].indexOf(f)>=0,M=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),M;t(c,M);var T=r(c.attr("class"),r($.addClass,$.removeClass)),A=$.tempClasses;A&&(T+=" "+A,$.tempClasses=null);var O;return D&&(O="ng-"+f+z,e.addClass(c,O)),g.push({element:c,classes:T,event:f,structural:D,options:$,beforeStart:C,close:E}),c.on("$destroy",_),g.length>1?M:(s.$$postDigest(function(){var e=[];G(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];G(t,function(e){n.push({domNode:y(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),S(e,a)}else n()}})}),p(m(n))}),M)}}]}],Oe=["$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",[],function(){re=t.noop,W=t.copy,B=t.extend,ne=t.element,G=t.forEach,Z=t.isArray,ee=t.isString,K=t.isObject,te=t.isUndefined,Q=t.isDefined,X=t.isFunction,J=t.isElement}).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",Te).provider("$$animation",Ae).provider("$animateCss",Ce).provider("$$animateCssDriver",Se).provider("$$animateJs",_e).provider("$$animateJsDriver",Ee)}(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){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;a/g,">")}function m(e,t){var n=!1,r=i(e,e.push);return{start:function(e,i){e=u(e),!n&&D[e]&&(n=e),n||M[e]!==!0||(r("<"),r(e),a(i,function(n,i){var o=u(i),a="img"===e&&"src"===o||"background"===o;F[o]!==!0||T[o]===!0&&!t(n,a)||(r(" "),r(i),r('="'),r(p(n)),r('"'))}),r(">"))},end:function(e){e=u(e),n||M[e]!==!0||w[e]===!0||(r("")),e==n&&(n=!1)},chars:function(e){n||r(p(e))}}}function g(t){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isDefined,s=t.isFunction,u=t.isObject,l=t.isString;return function(t,c,f){function d(e){e&&$.push(r(e))}function h(e,t){var n,r=v(e);$.push("'),d(t),$.push("")}if(null==t||""===t)return t;if(!l(t))throw o("notstring","Expected string but received: {0}",t);for(var p,m,g,v=s(f)?f:u(f)?function(){return f}:function(){return{}},y=t,$=[];p=y.match(n);)m=p[0],p[2]||p[4]||(m=(p[3]?"http://":"mailto:")+m),g=p.index,d(y.substr(0,g)),h(m,p[0].replace(i,"")),y=y.substring(g+p[0].length);return d(y),e($.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n="function"==typeof e,r="function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return S[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(S[t],n)):_[t]&&(n=_[t](n)),n||"items"!==t&&"ui-model-items"!==t||(n=e.items),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(S,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in C)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in C?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(C(e))for(o in e)"prototype"==o||"length"==o||"name"==o||e.hasOwnProperty&&!e.hasOwnProperty(o)||t.call(i,e[o],o,e);else if(Zr(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;o=0&&e.splice(n,1),n}function R(e,t){function n(e,t){var n,r=t.$$hashKey;if(Zr(e))for(var o=0,a=e.length;o2?z(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,V(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function Y(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:_(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function q(e,t){if(!v(e))return x(t)||(t=t?2:null),JSON.stringify(e,Y,t)}function W(e){return w(e)?JSON.parse(e):e}function B(e,t){e=e.replace(ti,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function G(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Z(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=B(t,r);return G(e,n*(i-r))}function Q(e){e=jr(e).clone();try{e.empty()}catch(t){}var n=jr("
").append(e).html();try{return e[0].nodeType===si?Fr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Fr(t)})}catch(t){return Fr(n)}}function J(e){try{return decodeURIComponent(e)}catch(t){}}function X(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),n!==-1&&(r=e.substring(0,n),i=e.substring(n+1)),r=J(r),y(r)&&(i=!y(i)||J(i),Or.call(t,r)?Zr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function K(e){var t=[];return r(e,function(e,n){Zr(e)?r(e,function(e){t.push(te(n,!0)+(e===!0?"":"="+te(e,!0)))}):t.push(te(n,!0)+(e===!0?"":"="+te(e,!0)))}),t.length?t.join("&"):""}function ee(e){return te(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function te(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 ne(e,t){var n,r,i=ni.length;for(r=0;r/,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=rt(n,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},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),Br.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(C(Br.resumeDeferredBootstrap)&&Br.resumeDeferredBootstrap()))}function oe(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ae(e){var t=Br.element(e).injector();if(!t)throw Wr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function se(e,t){return t=t||"_",e.replace(ri,function(e,n){return(n?t:"")+e.toLowerCase()})}function ue(){var t;if(!ii){var n=ei();Rr=v(n)?e.jQuery:n?e[n]:void 0,Rr&&Rr.fn.on?(jr=Rr,l(Rr.fn,{scope:_i.scope,isolateScope:_i.isolateScope,controller:_i.controller,injector:_i.injector,inheritedData:_i.inheritedData}),t=Rr.cleanData,Rr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Rr._data(r,"events"),n&&n.$destroy&&Rr(r).triggerHandler("$destroy");t(e)}):jr=Me,Br.element=jr,ii=!0}}function le(e,t,n){if(!e)throw Wr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ce(e,t,n){return n&&Zr(e)&&(e=e[e.length-1]),le(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function fe(e,t){if("hasOwnProperty"===e)throw Wr("badname","hasOwnProperty is not a valid {0} name",t)}function de(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s=0)return"...";t.push(n)}return n})}function ye(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?ve(e):e}function $e(n){l(n,{bootstrap:ie,copy:R,extend:l,merge:c,equals:U,element:jr,forEach:r,injector:rt,noop:h,bind:H,toJson:q,fromJson:W,identity:p,isUndefined:v,isDefined:y,isString:w,isFunction:C,isObject:$,isNumber:x,isElement:N,isArray:Zr,version:fi,isDate:k,lowercase:Fr,uppercase:Ir,callbacks:{$$counter:0},getTestability:ae,$$minErr:t,$$csp:Kr,reloadWithDebugInfo:oe}),(Ur=me(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Sn}),e.provider("$compile",pt).directive({a:No,input:ea,textarea:ea,form:Uo,script:Za,select:Xa,style:es,option:Ka,ngBind:ra,ngBindHtml:oa,ngBindTemplate:ia,ngClass:sa,ngClassEven:la,ngClassOdd:ua,ngCloak:ca,ngController:fa,ngForm:Vo,ngHide:za,ngIf:pa,ngInclude:ma,ngInit:va,ngNonBindable:Fa,ngPluralize:La,ngRepeat:ja,ngShow:Va,ngStyle:Ha,ngSwitch:Ya,ngSwitchWhen:qa,ngSwitchDefault:Wa,ngOptions:Pa,ngTransclude:Ga,ngModel:Ta,ngList:ya,ngChange:aa,pattern:ns,ngPattern:ns,required:ts,ngRequired:ts,minlength:is,ngMinlength:is,maxlength:rs,ngMaxlength:rs,ngValue:na,ngModelOptions:Oa}).directive({ngInclude:ga}).directive(Po).directive(da),e.provider({$anchorScroll:it,$animate:zi,$animateCss:qi,$$animateJs:Ui,$$animateQueue:Vi,$$AnimateRunner:Yi,$$animateAsyncRun:Hi,$browser:ct,$cacheFactory:ft,$controller:bt,$document:wt,$exceptionHandler:xt,$filter:Rn,$$forceReflow:Ji,$interpolate:Pt,$interval:Lt,$http:Ot,$httpParamSerializer:Ct,$httpParamSerializerJQLike:St,$httpBackend:It,$xhrFactory:Ft,$jsonpCallbacks:ao,$location:Xt,$log:Kt,$parse:$n,$rootScope:Cn,$q:bn,$$q:wn,$sce:Mn,$sceDelegate:Dn,$sniffer:Tn,$templateCache:dt,$templateRequest:An,$$testability:On,$timeout:Fn,$window:Pn,$$rAF:kn,$$jqLite:Qe,$$HashMap:Ti,$$cookieReader:jn})}])}function be(){return++hi}function we(e){return e.replace(gi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(vi,"Moz$1")}function xe(e){return!wi.test(e)}function ke(e){var t=e.nodeType;return t===oi||!t||t===li}function Ce(e){for(var t in di[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;t")+o[2],a=o[0];a--;)n=n.lastChild;u=V(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Ee(t,n){n=n||e.document;var r;return(r=bi.exec(t))?[n.createElement(r[1])]:(r=_e(t,n))?r.childNodes:[]}function De(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Me(e){if(e instanceof Me)return e;var t;if(w(e)&&(e=Jr(e),t=!0),!(this instanceof Me)){if(t&&"<"!=e.charAt(0))throw $i("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Me(e)}t?Re(this,Ee(e)):Re(this,e)}function Te(e){return e.cloneNode(!0)}function Ae(e,t){if(t||Fe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r0||(mi(e,t,s),delete a[t])};r(t.split(" "),function(e){u(e),yi[e]&&u(yi[e])})}else for(t in a)"$destroy"!==t&&mi(e,t,s),delete a[t]}function Fe(e,t){var n=e.ng339,r=n&&di[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Oe(e)),delete di[n],e.ng339=void 0}}function Ie(e,t){var n=e.ng339,r=n&&di[n];return t&&!r&&(e.ng339=n=be(),r=di[n]={events:{},data:{},handle:void 0}),r}function Ne(e,t,n){if(ke(e)){var r=y(n),i=!r&&t&&!$(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];l(s,t)}}}function Pe(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function Le(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",Jr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Jr(t)+" "," ")))})}function je(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=Jr(e),n.indexOf(" "+e+" ")===-1&&(n+=e+" ")}),e.setAttribute("class",Jr(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;r1&&(i=ge(i));for(var u=0;uc&&this.remove(h.key),t}},get:function(e){if(c";var r=we.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function P(e,t){try{e.addClass(t)}catch(n){}}function R(t,n,r,i,o){t instanceof jr||(t=jr(t));for(var a=/\S+/,s=0,u=t.length;s").append(t).html())):n?_i.clone.call(t):t,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return R.$$addScopeInfo(u,e),n&&n(u,e),c&&c(e,u,u,i),u}}function V(e){var t=e&&e[0];return t&&"foreignobject"!==L(t)&&Yr.call(t).match(/SVG/)?"svg":"html"}function Y(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;l0)}else r.push(e);return jr(r)}function Z(e,t,n){return function(r,i,o,a,s){return i=G(i[0],t,n),e(r,i,o,a,s)}}function J(e,t,n,r,i,o){var a;return e?R(t,n,r,i,o):function(){return a||(a=R(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function X(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=Z(e,n,r)),e.require=p.require,e.directiveName=m,(S===p||p.$$isolateScope)&&(e=ge(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=Z(t,n,r)),t.require=p.require,t.directiveName=m,(S===p||p.$$isolateScope)&&(t=ge(t,{isolateScope:!0})),c.push(t))}function h(e,o,a,s,f){function d(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),A&&(i=b),n||(n=A?D.parent():D),!r)return f(e,t,i,n,j);var o=f.$$slots[r];if(o)return o(e,t,i,n,j);if(v(o))throw Wi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,Q(D))}var h,p,m,g,y,b,w,D,M,T;t===a?(M=n,D=n.$$element):(D=jr(a),M=new I(D,n)),y=o,S?g=o.$new(!0):x&&(y=o.$parent),f&&(w=d,w.$$boundTransclude=f,w.isSlotFilled=function(e){return!!f.$$slots[e]}),k&&(b=ee(D,M,w,k,g,o,S)),S&&(R.$$addScopeInfo(D,g,!0,!(_&&(_===S||_===S.$$originalDirective))),R.$$addScopeClass(D,!0),g.$$isolateBindings=S.$$isolateBindings,T=ye(o,M,g,g.$$isolateBindings,S),T.removeWatches&&g.$on("$destroy",T.removeWatches));for(var O in b){var F=k[O],N=b[O],P=F.$$bindings.bindToController;N.identifier&&P?N.bindingInfo=ye(y,M,N.instance,P,F):N.bindingInfo={};var L=N();L!==N.instance&&(N.instance=L,D.data("$"+F.name+"Controller",L),N.bindingInfo.removeWatches&&N.bindingInfo.removeWatches(),N.bindingInfo=ye(y,M,N.instance,P,F))}for(r(k,function(e,t){var n=e.require;e.bindToController&&!Zr(n)&&$(n)&&l(b[t].instance,K(t,n,D,b))}),r(b,function(e){var t=e.instance;if(C(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(n){i(n)}if(C(t.$onInit))try{t.$onInit()}catch(n){i(n)}C(t.$doCheck)&&(y.$watch(function(){t.$doCheck()}),t.$doCheck()),C(t.$onDestroy)&&y.$on("$destroy",function(){t.$onDestroy()})}),h=0,p=u.length;h=0;h--)m=c[h],ve(m,m.isolateScope?g:o,D,M,m.require&&K(m.directiveName,m.require,D,b),w);r(b,function(e){var t=e.instance;C(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,y,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,S=f.newIsolateScopeDirective,_=f.templateDirective,D=f.nonTlbTranscludeDirective,M=!1,T=!1,A=f.hasElementTranscludeDirective,O=n.$$element=jr(t),F=s,N=o,P=!1,j=!1,U=0,V=e.length;Up.priority)break;if((b=p.scope)&&(p.templateUrl||($(b)?(ue("new/isolated scope",S||x,p,O),S=p):ue("new/isolated scope",S,p,O)),x=x||p),m=p.name,!P&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var B,X=U+1;B=e[X++];)if(B.transclude&&!B.$$tlb||B.replace&&(B.templateUrl||B.template)){j=!0;break}P=!0}if(!p.templateUrl&&p.controller&&(b=p.controller,k=k||pe(),ue("'"+m+"' controller",k[m],p,O),k[m]=p),b=p.transclude)if(M=!0,p.$$tlb||(ue("transclusion",D,p,O),D=p),"element"==b)A=!0,w=p.priority,g=O,O=n.$$element=jr(R.$$createComment(m,n[m])),t=O[0],me(a,z(g),t),g[0].$$parentNode=g[0].parentNode,N=J(j,g,o,w,F&&F.name,{nonTlbTranscludeDirective:D});else{var ne=pe();if(g=jr(Te(t)).contents(),$(b)){g=[];var re=pe(),ae=pe();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,re[e]=t,ne[t]=null,ae[t]=n}),r(O.contents(),function(e){var t=re[gt(L(e))];t?(ae[t]=!0,ne[t]=ne[t]||[],ne[t].push(e)):g.push(e)}),r(ae,function(e,t){if(!e)throw Wi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var se in ne)ne[se]&&(ne[se]=J(j,ne[se],o))}O.empty(),N=J(j,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),N.$$slots=ne}if(p.template)if(T=!0,ue("template",_,p,O),_=p,b=C(p.template)?p.template(O,n):p.template,b=_e(b),p.replace){if(F=p,g=xe(b)?[]:yt(fe(p.templateNamespace,Jr(b))),t=g[0],1!=g.length||t.nodeType!==oi)throw Wi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");me(a,O,t);var le={$attr:{}},ce=W(t,[],le),de=e.splice(U+1,e.length-(U+1));(S||x)&&te(ce,S,x),e=e.concat(ce).concat(de),ie(n,le),V=e.length}else O.html(b);if(p.templateUrl)T=!0,ue("template",_,p,O),_=p,p.replace&&(F=p),h=oe(e.splice(U,e.length-U),O,n,a,M&&N,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:S,templateDirective:_,nonTlbTranscludeDirective:D}),V=e.length;else if(p.compile)try{y=p.compile(O,n,N);var he=p.$$originalDirective||p;C(y)?d(null,H(he,y),Y,q):y&&d(H(he,y.pre),H(he,y.post),Y,q)}catch($e){i($e,Q(O))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=M,h.templateOnThisElement=T,h.transclude=N,f.hasElementTranscludeDirective=A,h}function K(e,t,n,i){var o;if(w(t)){var a=t.match(k),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Wi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Zr(t)){o=[];for(var f=0,d=t.length;fp.priority)&&p.restrict.indexOf(r)!=-1){if(u&&(p=d(p,{$$start:u,$$end:l})),!p.$$bindings){var b=p.$$bindings=a(p,p.name);$(b.isolateScope)&&(p.$$isolateBindings=b.isolateScope)}e.push(p),h=p}}catch(w){i(w)}return h}function re(e){if(c.hasOwnProperty(e))for(var n,r=t.get(e+f),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default:return n}}function de(e,t){if("srcdoc"==t)return _.HTML;var n=L(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?_.RESOURCE_URL:void 0}function he(e,t,r,i,o){var a=de(e,i);o=x[i]||o;var s=n(r,!0,a,o);if(s){if("multiple"===i&&"select"===L(e))throw Wi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",Q(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=pe());if(S.test(i))throw Wi("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!==r&&(s=c&&n(c,!0,a,o),r=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 me(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=vt(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=vt(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=qe(s,e),l=We(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=se(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&&y(t)){for(var f="",d=Jr(t),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,p=/\s/.test(d)?h:/(,)/,m=d.split(p),g=Math.floor(m.length/2),$=0;$0?" ":"")+a}return n}function yt(e){e=jr(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];n.nodeType===ui&&zr.call(e,t,1)}return e}function $t(e,t){if(t&&w(t))return t;if(w(e)){var n=Qi.exec(e);if(n)return n[3]}}function bt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){fe(t,"controller"),$(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!$(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(Qi),!f)throw Zi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:de(a.$scope,d,!0)||(n?de(i,d,!0):void 0),ce(t,d,!0)}if(s){var p=(Zr(t)?t[t.length-1]:t).prototype;c=Object.create(p||null),h&&o(a,h,c,d||t.name);var m;return m=l(function(){var e=r.invoke(t,c,a,d);return e!==c&&($(e)||C(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function wt(){this.$get=["$window",function(e){return jr(e.document)}]}function xt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function kt(e){return $(e)?k(e)?e.toISOString():q(e):e}function Ct(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(Zr(e)?r(e,function(e){t.push(te(n)+"="+te(kt(e)))}):t.push(te(n)+"="+te(kt(e))))}),t.join("&")}}}function St(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(Zr(e)?r(e,function(e,n){t(e,o+"["+($(e)?n:"")+"]")}):$(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(te(o)+"="+te(kt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function _t(e,t){if(w(e)){var n=e.replace(no,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Xi)||Et(n))&&(e=W(n))}}return e}function Et(e){var t=e.match(eo);return t&&to[t[0]].test(e)}function Dt(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=pe();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Fr(Jr(e.substr(0,n))),Jr(e.substr(n+1)))}):$(e)&&r(e,function(e,n){t(Fr(n),Jr(e))}),i}function Mt(e){var t;return function(n){if(t||(t=Dt(e)),n){var r=t[Fr(n)];return void 0===r&&(r=null),r}return t}}function Tt(e,t,n,i){return C(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function At(e){return 200<=e&&e<300}function Ot(){var e=this.defaults={transformResponse:[_t],transformRequest:[function(e){return!$(e)||D(e)||T(e)||M(e)?e:q(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ge(Ki),put:ge(Ki),patch:ge(Ki)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(e){return y(e)?(n=!!e,this):n};var i=!0;this.useLegacyPromiseExtensions=function(e){return y(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,s,u,c,f,d){function h(n){function o(e,t){for(var n=0,r=t.length;n=-1?n:0,(At(n)?w.resolve:w.reject)({data:e,status:n,headers:Mt(r),config:t,statusText:i})}function d(e){l(e.data,e.status,ge(e.headers()),e.statusText)}function p(){var e=h.pendingRequests.indexOf(t);e!==-1&&h.pendingRequests.splice(e,1)}var m,g,w=f.defer(),k=w.promise,C=t.headers,S=b(t.url,t.paramSerializer(t.params));if(h.pendingRequests.push(t),k.then(p,p),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(m=$(t.cache)?t.cache:$(e.cache)?e.cache:x),m&&(g=m.get(S),y(g)?O(g)?g.then(d,d):Zr(g)?l(g[1],g[0],ge(g[2]),g[3]):l(g,200,{},"OK"):m.put(S,k)),v(g)){var _=Nn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(C[t.xsrfHeaderName||e.xsrfHeaderName]=_),a(t.method,S,i,u,C,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return k}function b(e,t){return t.length>0&&(e+=(e.indexOf("?")==-1?"?":"&")+t),e}var x=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var k=[];return r(o,function(e){k.unshift(w(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],p("get","delete","head","jsonp"),m("post","put","patch"),h.defaults=e,h}]}function Ft(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function It(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Nt(e,r,e.defer,t,n[0])}]}function Nt(e,t,n,i,o){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){mi(r,"load",a),mi(r,"error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},pi(r,"load",a),pi(r,"error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,p,m,g){function $(){x&&x(),k&&k.abort()}function b(t,r,i,o,a){y(_)&&n.cancel(_),x=k=null,t(r,i,o,a),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"===Fr(o))var w=i.createCallback(s),x=a(s,w,function(e,t){var n=200===e&&i.getResponse(w);b(l,e,n,"",t),i.removeCallback(w)});else{var k=t(o,s);k.open(o,s,!0),r(c,function(e,t){y(e)&&k.setRequestHeader(t,e)}),k.onload=function(){var e=k.statusText||"",t="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status; -0===n&&(n=t?200:"file"==In(s).protocol?404:0),b(l,n,t,k.getAllResponseHeaders(),e)};var C=function(){b(l,-1,null,null,"")};if(k.onerror=C,k.onabort=C,r(m,function(e,t){k.addEventListener(t,e)}),r(g,function(e,t){k.upload.addEventListener(t,e)}),d&&(k.withCredentials=!0),p)try{k.responseType=p}catch(S){if("json"!==p)throw S}k.send(v(u)?null:u)}if(f>0)var _=n($,f);else O(f)&&f.then($)}}function Pt(){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(h,e).replace(p,t)}function s(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=q(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function c(o,c,h,p){function g(e){try{return e=O(e),p&&!y(e)?e:s(e)}catch(t){r(oo.interr(o,t))}}if(!o.length||o.indexOf(e)===-1){var $;if(!c){var b=a(o);$=m(b),$.exp=o,$.expressions=[],$.$$watchDelegate=u}return $}p=!!p;for(var w,x,k,S=0,_=[],E=[],D=o.length,M=[],T=[];S1&&oo.throwNoconcat(o),!c||_.length){var A=function(e){for(var t=0,n=_.length;t4,d=f?z(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=y(l)&&!l,v=(g?r:n).defer(),$=v.promise;return u=y(u)?u:0,$.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p($.$$intervalId),delete a[$.$$intervalId]),g||e.$apply()},s),a[$.$$intervalId]=v,$}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)},o}]}function jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ee(t[n]);return t.join("/")}function Rt(e,t){var n=In(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||uo[n.protocol]||null}function Ut(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=In(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=X(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Vt(e,t){return 0===e.lastIndexOf(t,0)}function zt(e,t){if(Vt(t,e))return t.substr(e.length)}function Ht(e){var t=e.indexOf("#");return t==-1?e:e.substr(0,t)}function Yt(e){return e.replace(/(#.+)|#$/,"$1")}function qt(e){return e.substr(0,Ht(e).lastIndexOf("/")+1)}function Wt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Bt(e,t,n){this.$$html5=!0,n=n||"",Rt(e,this),this.$$parse=function(e){var n=zt(t,e);if(!w(n))throw lo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Ut(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=K(this.$$search),n=this.$$hash?"#"+ee(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 y(o=zt(e,r))?(a=o,s=y(o=zt(n,o))?t+(zt("/",o)||o):e+a):y(o=zt(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Gt(e,t,n){Rt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return Vt(t,n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=zt(e,r)||zt(t,r);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=zt(n,a),v(o)&&(o=a)),Ut(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=K(this.$$search),r=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Ht(e)==Ht(t)&&(this.$$parse(t),!0)}}function Zt(e,t,n){this.$$html5=!0,Gt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Ht(r)?o=r:(a=zt(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=K(this.$$search),r=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Qt(e){return function(){return this[e]}}function Jt(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Xt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return y(t)?(e=t,this):e},this.html5Mode=function(e){return A(e)?(t.enabled=e,this):$(e)?(A(e.enabled)&&(t.enabled=e.enabled),A(e.requireBase)&&(t.requireBase=e.requireBase),A(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,d=r.baseHref(),h=r.url();if(t.enabled){if(!d&&t.requireBase)throw lo("nobase","$location in HTML5 mode requires a tag to be present!");f=Wt(h)+(d||"/"),c=i.history?Bt:Zt}else f=Ht(h),c=Gt;var p=qt(f);l=new c(f,p,"#"+e),l.$$parseLinkUrl(h,h),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=jr(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");$(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=In(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))}}),Yt(l.absUrl())!=Yt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return v(zt(p,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=Yt(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)):(g=!1,u(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var e=Yt(r.url()),t=Yt(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(g||c)&&(g=!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 Kt(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&e.stack.indexOf(e.message)===-1?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function en(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw fo("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function tn(e){return e+""}function nn(e,t){if(e){if(e.constructor===e)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw fo("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw fo("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw fo("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function rn(e,t){if(e){if(e.constructor===e)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===ho||e===po||e===mo)throw fo("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function on(e,t){if(e&&(e===(0).constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw fo("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function an(e,t){return"undefined"!=typeof e?e:t}function sn(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function un(e,t){var n=e(t);return!n.$stateful}function ln(e,t){var n,i;switch(e.type){case $o.Program:n=!0,r(e.body,function(e){ln(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case $o.Literal:e.constant=!0,e.toWatch=[];break;case $o.UnaryExpression:ln(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case $o.BinaryExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case $o.LogicalExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case $o.ConditionalExpression:ln(e.test,t),ln(e.alternate,t),ln(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case $o.Identifier:e.constant=!1,e.toWatch=[e];break;case $o.MemberExpression:ln(e.object,t),e.computed&&ln(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case $o.CallExpression:n=!!e.filter&&un(t,e.callee.name),i=[],r(e.arguments,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&un(t,e.callee.name)?i:[e];break;case $o.AssignmentExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case $o.ArrayExpression:n=!0,i=[],r(e.elements,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case $o.ObjectExpression:n=!0,i=[],r(e.properties,function(e){ln(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case $o.ThisExpression:e.constant=!1,e.toWatch=[];break;case $o.LocalsExpression:e.constant=!1,e.toWatch=[]}}function cn(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function fn(e){return e.type===$o.Identifier||e.type===$o.MemberExpression}function dn(e){if(1===e.body.length&&fn(e.body[0].expression))return{type:$o.AssignmentExpression,left:e.body[0].expression,right:{type:$o.NGValueParameter},operator:"="}}function hn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===$o.Literal||e.body[0].expression.type===$o.ArrayExpression||e.body[0].expression.type===$o.ObjectExpression)}function pn(e){return e.constant}function mn(e,t){this.astBuilder=e,this.$filter=t}function gn(e,t){this.astBuilder=e,this.$filter=t}function vn(e){return"constructor"==e}function yn(e){return C(e.valueOf)?e.valueOf():wo.call(e)}function $n(){var e,t,n=pe(),i=pe(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){o[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(a){function s(e,t,r){var o,s,l;switch(r=r||b,typeof e){case"string":e=e.trim(),l=e;var g=r?i:n;if(o=g[l],!o){":"===e.charAt(0)&&":"===e.charAt(1)&&(s=!0,e=e.substring(2));var y=r?$:v,w=new yo(y),x=new bo(w,a,y);o=x.parse(e),o.constant?o.$$watchDelegate=p:s?o.$$watchDelegate=o.literal?d:f:o.inputs&&(o.$$watchDelegate=c),r&&(o=u(o)),g[l]=o}return m(o,t);case"function":return m(e,t);default:return m(h,t)}}function u(e){function t(t,n,r,i){var o=b;b=!0;try{return e(t,n,r,i)}finally{b=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=u(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&n0&&s(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return g(t,!0,e)},function(t){return g(t,!1,e)},t)}}),l(u.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(d("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){function t(e){u||(u=!0,a.$$resolve(e))}function r(e){u||(u=!0,a.$$reject(e))}var i,a=this,u=!1;try{($(e)||C(e))&&(i=e&&e.then),C(i)?(this.promise.$$state.status=-1,i.call(e,t,r,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(l){r(l),n(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(t){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;o=0&&y(o,-1),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(o,o,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s,u;if(!v(o)){if($(o))if(n(o)){a!==h&&(a=h,g=a.length=0,f++),t=o.length,g!==t&&(f++,a.length=g=t);for(var l=0;lt){f++;for(r in a)Or.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if($(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,y,$,b=i,k=this,D=[];m("$digest"),c.$$checkUrlChange(),this===S&&null!==u&&(c.defer.cancel(u),x()),s=null;do{h=!1,v=k;for(var T=0;T<_.length;T++){try{$=_[T],$.scope.$eval($.expression,$.locals)}catch(A){t(A)}s=null}_.length=0;e:do{if(f=v.$$watchers)for(d=f.length;d--;)try{if(e=f[d])if(l=e.get,(n=l(v))===(r=e.last)||(e.eq?U(n,r):"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))){if(e===s){h=!1;break e}}else h=!0,s=e,e.last=e.eq?R(n,null):n,a=e.fn,a(n,r===w?n:r,v),b<5&&(y=4-b,D[y]||(D[y]=[]),D[y].push({msg:C(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(A){t(A)}if(!(p=v.$$watchersCount&&v.$$childHead||v!==k&&v.$$nextSibling))for(;v!==k&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((h||_.length)&&!b--)throw g(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,D)}while(h||_.length);for(g();M-1)throw xo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Xr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw xo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function En(e){var t=[];return y(e)&&r(e,function(e){t.push(_n(e))}),t}function Dn(){this.SCE_CONTEXTS=ko;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=En(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=En(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Nn(t):!!e.exec(t.href)}function i(n){var i,o,a=In(n.toString()),s=!1;for(i=0,o=e.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=ge(ko);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(ko,function(e,t){var n=Fr(t);i[we("parse_as_"+n)]=function(t){return o(e,t)},i[we("get_trusted_"+n)]=function(t){return a(e,t)},i[we("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Tn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,a=!o&&e.history&&e.history.pushState,s=f((/android (\d+)/.exec(Fr((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,d=l.body&&l.body.style,h=!1,p=!1;if(d){for(var m in d)if(r=c.exec(m)){n=r[0],n=n[0].toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),h=!!("transition"in d||n+"Transition"in d),p=!!("animation"in d||n+"Animation"in d),!s||h&&p||(h=w(d.webkitTransition),p=w(d.webkitAnimation))}return{history:!(!a||s<4||u),hasEvent:function(e){if("input"===e&&Lr<=11)return!1;if(v(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Kr(),vendorPrefix:n,transitions:h,animations:p,android:s}}]}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 Co("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,w(a)&&!v(t.get(a))||(a=i.getTrustedResourceUrl(a));var c=n.defaults&&n.defaults.transformResponse;return Zr(c)?c=c.filter(function(e){return e!==_t}):c===_t&&(c=null),n.get(a,l({cache:t,transformResponse:c},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function On(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=Br.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Xr(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else r.indexOf(t)!=-1&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=t(o.substring(0,s)),v(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function jn(){this.$get=Ln}function Rn(e){function t(i,o){if($(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Yn),t("date",or),t("filter",Un), -t("json",ar),t("limitTo",sr),t("lowercase",Fo),t("number",qn),t("orderBy",lr),t("uppercase",Io)}function Un(){return function(e,r,i,o){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}o=o||"$";var a,s,u=Hn(r);switch(u){case"function":a=r;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=Vn(r,i,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function Vn(e,t,n,r){var i,o=$(e)&&n in e;return t===!0?t=U:C(t)||(t=function(e,t){return!v(e)&&(null===e||null===t?e===t:!($(t)||$(e)&&!g(e))&&(e=Fr(""+e),t=Fr(""+t),e.indexOf(t)!==-1))}),i=function(i){return o&&!$(i)?zn(i,e[n],t,n,!1):zn(i,e,t,n,r)}}function zn(e,t,n,r,i,o){var a=Hn(e),s=Hn(t);if("string"===s&&"!"===t.charAt(0))return!zn(e,t.substring(1),n,r,i);if(Zr(e))return e.some(function(e){return zn(e,t,n,r,i)});switch(a){case"object":var u;if(i){for(u in e)if("$"!==u.charAt(0)&&zn(e[u],t,n,r,!0))return!0;return!o&&zn(e,t,n,r,!1)}if("object"===s){for(u in t){var l=t[u];if(!C(l)&&!v(l)){var c=u===r,f=c?e:e[u];if(!zn(f,l,n,r,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Hn(e){return null===e?"null":typeof e}function Yn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Gn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function qn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Gn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Wn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Do))>-1&&(e=e.replace(Do,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)==Mo;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==Mo;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>Eo&&(t=t.splice(0,Eo-1),a=n-1,n=1),{d:t,e:a,i:n}}function Bn(e,t,n,r){var i=e.d,o=i.length-e.i;t=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u=5)if(a-1<0){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o0?h=c.splice(f,c.length):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Zn(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&n==-12&&(a=12),Zn(a,t,r,i)}}function Jn(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Ir(a+e);return i[s][o]}}function Xn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Zn(Math[r>0?"floor":"ceil"](r/60),2)+Zn(Math.abs(r%60),2)}function Kn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function er(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function tr(e){return function(t){var n=Kn(t.getFullYear()),r=er(t),i=+r-+n,o=1+Math.round(i/6048e5);return Zn(o,e)}}function nr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function rr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function ir(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function or(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=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),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,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=Oo.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=Ao.exec(i),s?(l=V(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=B(o,c),n=Z(n,o,!0)),r(l,function(t){a=To[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ar(){return function(e,t){return v(t)&&(t=2),q(e,t)}}function sr(){return function(e,t,r){return t=Math.abs(Number(t))===1/0?Number(t):f(t),isNaN(t)?e:(x(e)&&(e=e.toString()),n(e)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,e.length+r):r,t>=0?ur(e,r,r+t):0===r?ur(e,t,e.length):ur(e,Math.max(0,r+t),r)):e)}}function ur(e,t,n){return w(e)?e.slice(t,n):Vr.call(e,t,n)}function lr(e){function r(t){return t.map(function(t){var n=1,r=p;if(C(t))r=t;else if(w(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(n="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant))){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return C(e.valueOf)&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:e}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=o(e)),{value:e,type:n,index:t}}function s(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&($(o)&&(o=e.index),$(a)&&(a=t.index)),o!==a&&(n=o=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if(y(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function $r(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=$(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(Ar)||{};return n.badInput||n.typeMismatch?void 0:e})}function br(e,t,n,r,i,o){if($r(e,t,n,r),mr(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:qo.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!x(e))throw Da("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),y(n.min)||n.ngMin){var a;r.$validators.min=function(e){return r.$isEmpty(e)||v(a)||e>=a},n.$observe("min",function(e){y(e)&&!x(e)&&(e=parseFloat(e)),a=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}if(y(n.max)||n.ngMax){var s;r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||e<=s},n.$observe("max",function(e){y(e)&&!x(e)&&(e=parseFloat(e)),s=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}}function wr(e,t,n,r,i,o){mr(e,t,n,r,i,o),hr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ho.test(n)}}function xr(e,t,n,r,i,o){mr(e,t,n,r,i,o),hr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Yo.test(n)}}function kr(e,t,n,r){v(n.name)&&t.attr("name",a());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 Cr(e,t,n,r,i){var o;if(y(r)){if(o=e(r),!o.constant)throw Da("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function Sr(e,t,n,r,i,o,a,s){var u=Cr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=Cr(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 _r(e,t){return e="ngClass"+e,["$animate",function(n){function i(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))}),s.data("$classCounts",n),i.join(" ")}function d(e,t){var r=i(t,e),o=i(e,t);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(s,r),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||(1&a.$index)===t){var n=o(e||[]);if(p){if(!U(e,p)){var r=o(p);d(r,n)}}else l(n)}p=Zr(e)?e.map(function(e){return ge(e)}):ge(e)}var p;a.$watch(u[e],h,!0),u.$observe("class",function(t){h(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var s=o(a.$eval(u[e]));i===t?l(s):c(s)}})}}}]}function Er(e){function t(e,t,s){v(t)?n("$pending",e,s):r("$pending",e,s),A(t)?t?(c(a.$error,e,s),l(a.$$success,e,s)):(l(a.$error,e,s),c(a.$$success,e,s)):(c(a.$error,e,s),c(a.$$success,e,s)),a.$pending?(i(Sa,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(Sa,!1),a.$valid=Dr(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var u;u=a.$pending&&a.$pending[e]?void 0:!a.$error[e]&&(!!a.$$success[e]||null),o(e,u),a.$$parentForm.$setValidity(e,u,a)}function n(e,t,n){a[e]||(a[e]={}),l(a[e],t,n)}function r(e,t,n){a[e]&&c(a[e],t,n),Dr(a[e])&&(a[e]=void 0)}function i(e,t){t&&!u[e]?(f.addClass(s,e),u[e]=!0):!t&&u[e]&&(f.removeClass(s,e),u[e]=!1)}function o(e,t){e=e?"-"+se(e,"-"):"",i($a+e,t===!0),i(ba+e,t===!1)}var a=e.ctrl,s=e.$element,u={},l=e.set,c=e.unset,f=e.$animate;u[ba]=!(u[$a]=s.hasClass($a)),a.$setValidity=t}function Dr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Mr(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Tr=/^\/(.+)\/([a-z]*)$/,Ar="validity",Or=Object.prototype.hasOwnProperty,Fr=function(e){return w(e)?e.toLowerCase():e},Ir=function(e){return w(e)?e.toUpperCase():e},Nr=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Pr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)&-33)}):e};"i"!=="I".toLowerCase()&&(Fr=Nr,Ir=Pr);var Lr,jr,Rr,Ur,Vr=[].slice,zr=[].splice,Hr=[].push,Yr=Object.prototype.toString,qr=Object.getPrototypeOf,Wr=t("ng"),Br=e.angular||(e.angular={}),Gr=0;Lr=e.document.documentMode,h.$inject=[],p.$inject=[];var Zr=Array.isArray,Qr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Jr=function(e){return w(e)?e.trim():e},Xr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/,wi=/<|&#?\w+;/,xi=/<([\w:-]+)/,ki=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ci={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};Ci.optgroup=Ci.option,Ci.tbody=Ci.tfoot=Ci.colgroup=Ci.caption=Ci.thead,Ci.th=Ci.td;var Si=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},_i=Me.prototype={ready:function(t){function n(){r||(r=!0,t())}var r=!1;"complete"===e.document.readyState?e.setTimeout(n):(this.on("DOMContentLoaded",n),Me(e).on("load",n))},toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return jr(e>=0?this[e]:this[this.length+e])},length:0,push:Hr,sort:[].sort,splice:[].splice},Ei={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ei[Fr(e)]=e});var Di={};r("input,select,option,textarea,button,form,details".split(","),function(e){Di[e]=!0});var Mi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Ne,removeData:Fe,hasData:Ce,cleanData:Se},function(e,t){Me[t]=e}),r({data:Ne,inheritedData:Ve,scope:function(e){return jr.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return jr.data(e,"$isolateScope")||jr.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){return t=we(t),y(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==si&&r!==ai&&r!==ui){var i=Fr(t);if(Ei[i]){if(!y(n))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if(y(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){return y(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===oi||n===si?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===L(e)){var n=[];return r(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 v(t)?e.innerHTML:(Ae(e,!0),void(e.innerHTML=t))},empty:ze},function(e,t){Me.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==ze&&v(2==e.length&&e!==Pe&&e!==Ue?t:n)){if($(t)){for(r=0;r=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||pi(e,t,a)),s.push(n)};u--;)t=s[u],yi[t]?(l(yi[t],Ze),l(t,void 0,!0)):l(t)}},off:Oe,one:function(e,t,n){e=jr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Ae(e),r(new Me(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===oi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===oi||n===ci){t=new Me(t);for(var r=0,i=t.length;r/,Oi=/^[^\(]*\(\s*([^\)]*)\)/m,Fi=/,/,Ii=/^\s*(_?)(\S+?)\1\s*$/,Ni=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Pi=t("$injector");rt.$$annotate=nt;var Li=t("$animate"),ji=1,Ri="ng-animate",Ui=function(){this.$get=h},Vi=function(){var e=new Xe,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):Zr(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=st(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&je(e,o),a&&Le(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,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}}}]},zi=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Li("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+|\\/)"+Ri+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Li("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ri)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=at(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&&jr(r),i=i&&jr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",ut(o))},move:function(n,r,i,o){return r=r&&jr(r),i=i&&jr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",ut(o))},leave:function(t,n){return e.push(t,"leave",ut(n),function(){t.remove()})},addClass:function(t,n,r){return r=ut(r),r.addClass=ot(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=ut(r),r.removeClass=ot(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=ut(i),i.addClass=ot(i.addClass,n),i.removeClass=ot(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=ut(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=ot(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Hi=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){go[e]=!0});var vo={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},yo=function(e){this.options=e};yo.prototype={constructor:yo,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){ -return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw fo("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:$o.Program,body:e}},expressionStatement:function(){return{type:$o.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:$o.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:$o.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:$o.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:$o.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:$o.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:$o.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:$o.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:$o.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:$o.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.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:$o.Literal,value:this.options.literals[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:$o.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:$o.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:$o.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:$o.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.filterChain());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:$o.Identifier,name:e.text}},constant:function(){return{type:$o.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:$o.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:$o.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:$o.ObjectExpression,properties:t}},throwError:function(e,t){throw fo("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 fo("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 fo("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)},selfReferential:{"this":{type:$o.ThisExpression},$locals:{type:$o.LocalsExpression}}},mn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},ln(i,n.$filter);var o,a="";if(this.stage="assign",o=dn(i)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=cn(i.body);n.stage="inputs",r(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,en,nn,rn,tn,on,an,sn,e);return this.state=this.stage=void 0,c.literal=hn(i),c.constant=pn(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(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 r(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,n,i,o,a){var s,u,l,c,f,d=this;if(i=i||h,!a&&y(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case $o.Program:r(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case $o.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case $o.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case $o.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case $o.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),i(t);break;case $o.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),i(t);break;case $o.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),en(e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&d.if_(d.not(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))),(d.state.expensiveChecks||vn(e.name))&&d.addEnsureSafeObject(t),i(t);break;case $o.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){o&&1!==o&&d.addEnsureSafeAssignContext(s),e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),d.addEnsureSafeMemberName(u),o&&1!==o&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),c=d.ensureSafeObject(d.computedMember(s,u)),d.assign(t,c),n&&(n.computed=!0,n.name=u)):(en(e.property.name),o&&1!==o&&d.if_(d.not(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),c=d.nonComputedMember(s,e.property.name),(d.state.expensiveChecks||vn(e.property.name))&&(c=d.ensureSafeObject(c)),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case $o.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),i(t)):(u=d.nextId(),s={},l=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){d.addEnsureSafeFunction(u),r(e.arguments,function(e){d.recurse(e,d.nextId(),void 0,function(e){l.push(d.ensureSafeObject(e))})}),s.name?(d.state.expensiveChecks||d.addEnsureSafeObject(s.context),c=d.member(s.context,s.name,s.computed)+"("+l.join(",")+")"):c=u+"("+l.join(",")+")",c=d.ensureSafeObject(c),d.assign(t,c)},function(){d.assign(t,"undefined")}),i(t)}));break;case $o.AssignmentExpression:if(u=this.nextId(),s={},!fn(e.left))throw fo("lval","Trying to assign a value to a non l-value");this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),d.addEnsureSafeObject(d.member(s.context,s.name,s.computed)),d.addEnsureSafeAssignContext(s.context),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),i(t||c)})},1);break;case $o.ArrayExpression:l=[],r(e.elements,function(e){d.recurse(e,d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case $o.ObjectExpression:l=[],f=!1,r(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),r(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===$o.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(r(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===$o.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),i(t||c);break;case $o.ThisExpression:this.assign(t,"s"),i("s");break;case $o.LocalsExpression:this.assign(t,"l"),i("l");break;case $o.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){if(e)return this.current().body.push(e,"=",t,";"),e},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){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},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+")")},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(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(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 fo("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]}},gn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,ln(i,n.$filter);var o,a;(o=dn(i))&&(a=this.recurse(o));var s,u=cn(i.body);u&&(s=[],r(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];r(i.body,function(e){l.push(n.recurse(e.expression))});var c=0===i.body.length?h:1===i.body.length?l[0]:function(e,t){var n;return r(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=hn(i),c.constant=pn(i),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case $o.Literal:return this.value(e.value,t);case $o.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case $o.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case $o.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case $o.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case $o.Identifier:return en(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||vn(e.name),t,n,s.expression);case $o.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(en(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n,s.expression):this.nonComputedMember(i,o,s.expensiveChecks,t,n,s.expression);case $o.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":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:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var l=a&&e in a?a:o;r&&1!==r&&l&&!l[e]&&(l[e]={});var c=l?l[e]:void 0;return t&&nn(c,i),n?{context:l,name:e,value:c}:c}},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=tn(l),en(l,i),r&&1!==r&&(on(f),f&&!f[l]&&(f[l]={})),c=f[l],nn(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,l){var c=e(a,s,u,l);i&&1!==i&&(on(c),c&&!c[t]&&(c[t]={}));var f=null!=c?c[t]:void 0;return(n||vn(t))&&nn(f,o),r?{context:c,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var bo=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new $o(e,n),this.astCompiler=n.csp?new gn(this.ast,t):new mn(this.ast,t)};bo.prototype={constructor:bo,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var wo=Object.prototype.valueOf,xo=t("$sce"),ko={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Co=t("$compile"),So=e.document.createElement("a"),_o=In(e.location.href);Ln.$inject=["$document"],Rn.$inject=["$provide"];var Eo=22,Do=".",Mo="0";Yn.$inject=["$locale"],qn.$inject=["$locale"];var To={yyyy:Qn("FullYear",4,0,!1,!0),yy:Qn("FullYear",2,0,!0,!0),y:Qn("FullYear",1,0,!1,!0),MMMM:Jn("Month"),MMM:Jn("Month",!0),MM:Qn("Month",2,1),M:Qn("Month",1,1),LLLL:Jn("Month",!1,!0),dd:Qn("Date",2),d:Qn("Date",1),HH:Qn("Hours",2),H:Qn("Hours",1),hh:Qn("Hours",2,-12),h:Qn("Hours",1,-12),mm:Qn("Minutes",2),m:Qn("Minutes",1),ss:Qn("Seconds",2),s:Qn("Seconds",1),sss:Qn("Milliseconds",3),EEEE:Jn("Day"),EEE:Jn("Day",!0),a:nr,Z:Xn,ww:tr(2),w:tr(1),G:rr,GG:rr,GGG:rr,GGGG:ir},Ao=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Oo=/^\-?\d+$/;or.$inject=["$locale"];var Fo=m(Fr),Io=m(Ir);lr.$inject=["$parse"];var No=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Yr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Po={};r(Ei,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=gt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Po[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Mi,function(e,t){Po[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Tr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=gt("ng-"+e);Po[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Yr.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(Lr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Lo={$addControl:h,$$renameControl:fr,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},jo="ng-submitted";dr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Ro=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:dr,compile:function(n,i){n.addClass(wa).addClass($a);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};pi(n[0],"submit",u),n.on("$destroy",function(){t(function(){mi(n[0],"submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,Lo)})}}}};return i}]},Uo=Ro(),Vo=Ro(!0),zo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ho=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Yo=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,qo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Wo=/^(\d{4,})-(\d{2})-(\d{2})$/,Bo=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Go=/^(\d{4,})-W(\d\d)$/,Zo=/^(\d{4,})-(\d\d)$/,Qo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Jo="keydown wheel mousedown",Xo=pe();r("date,datetime-local,month,time,week".split(","),function(e){Xo[e]=!0});var Ko={text:pr,date:yr("date",Wo,vr(Wo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":yr("datetimelocal",Bo,vr(Bo,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:yr("time",Qo,vr(Qo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:yr("week",Go,gr,"yyyy-Www"),month:yr("month",Zo,vr(Zo,["yyyy","MM"]),"yyyy-MM"),number:br,url:wr,email:xr,radio:kr,checkbox:Sr,hidden:h,button:h,submit:h,reset:h,file:h},ea=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Ko[Fr(a.type)]||Ko.text)(i,o,a,s[0],t,e,n,r)}}}}],ta=/^(true|false|\d+)$/,na=function(){return{restrict:"A",priority:100,compile:function(e,t){return ta.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)})}}}},ra=["$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=v(e)?"":e})}}}}],ia=["$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=v(e)?"":e})}}}}],oa=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],aa=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),sa=_r("",!0),ua=_r("Odd",0),la=_r("Even",1),ca=cr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),fa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],da={},ha={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=gt("ng-"+e);da[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})};ha[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var pa=["$animate","$compile",function(e,t){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=he(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],ma=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Br.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,d,h,p=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),h&&(n.leave(h).then(function(){d=null}),d=h,h=null)};r.$watch(o,function(o){var u=function(){!y(s)||s&&!r.$eval(s)||t()},d=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===p){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).then(u)});f=t,h=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],ga=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Yr.call(r[0]).match(/SVG/)?(r.empty(),void t(_e(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],va=cr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),ya=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Jr(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?Jr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){if(Zr(e))return e.join(o)}),i.$isEmpty=function(e){return!e||!e.length}}}},$a="ng-valid",ba="ng-invalid",wa="ng-pristine",xa="ng-dirty",ka="ng-untouched",Ca="ng-touched",Sa="ng-pending",_a="ng-empty",Ea="ng-not-empty",Da=t("ngModel"),Ma=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,o,a,s,u,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,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=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=Lo;var f,d=o(n.ngModel),p=d.assign,m=d,g=p,$=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");m=function(e){var n=d(e);return C(n)&&(n=t(e)),n},g=function(e,t){C(d(e))?r(e,{$$$p:t}):p(e,t)}}else if(!d.assign)throw Da("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,Q(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,Ea),a.addClass(i,_a)):(a.removeClass(i,_a),a.addClass(i,Ea))};var w=0;Er({ctrl:this,$element:i,set:function(e,t){e[t]=!0; -},unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,xa),a.addClass(i,wa)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,wa),a.addClass(i,xa),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,ka,Ca)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,Ca,ka)},this.$rollbackViewValue=function(){s.cancel($),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function i(){var e=b.$$parserName||"parse";return v(f)?(s(e,null),!0):(f||(r(b.$validators,function(e,t){s(t,null)}),r(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),!!n||(r(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw Da("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){c===w&&b.$setValidity(e,t)}function u(e){c===w&&n(e)}w++;var c=w;return i()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel($),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=!v(r)||void 0)for(var i=0;i=0;t--){var r=k.items[t];He(y(r.group)?r.element.parentNode:r.element)}k=C.getOptions();var i={};if(w&&n.prepend(h),k.items.forEach(function(e){var t;y(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),c(e,t)):c(e,S)}),n[0].appendChild(S),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=C.trackBy||g;(a?U(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h,p=s[0],m=s[1],g=o.multiple,v=0,$=n.children(),b=$.length;v0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,Q(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},rs=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},is=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void e.console:(ue(),$e(Br),Br.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return t==-1?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={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",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void jr(e.document).ready(function(){re(e.document,ie)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[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;i
'),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,d,h,p;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;o'+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),h=e.previewElement.querySelectorAll("[data-dz-remove]"),p=[],s=0,c=h.length;s\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;o'+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;i',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;n0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s=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;n0){for(o=0,a=n.length;o1024*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;n=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e=L;c=0<=L?++A:--A)o.append(this._getParamName(c),e[c],this._renameFilename(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;oc;)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){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):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(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function u(e,t){return e=e.source,t=t||"",function n(r,i){return r?(i=i.source||i,i=i.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(r,i),n):new RegExp(e,t)}}function l(){}function c(e){for(var t,n,r=1;rAn error occured:

"+a(d.message+"",!0)+"
";throw d}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:l,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:l,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:l,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=u(d.item,"gm")(/bull/g,d.bullet)(),d.list=u(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=u(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=u(d.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/])*?>/)(/tag/g,d._tag)(),d.paragraph=u(d.paragraph)("hr",d.hr)("heading",d.heading)("lheading",d.lheading)("blockquote",d.blockquote)("tag","<"+d._tag)("def",d.def)(),d.normal=c({},d),d.gfm=c({},d.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),d.gfm.paragraph=u(d.paragraph)("(?!","(?!"+d.gfm.fences.source.replace("\\1","\\2")+"|"+d.list.source.replace("\\1","\\3")+"|")(),d.tables=c({},d.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),e.rules=d,e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},e.prototype.token=function(e,t,n){for(var r,i,o,a,s,u,l,c,f,e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))){for(e=e.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/\n$/,"").split("\n")},c=0;c ?/gm,""),this.token(o,t,!0),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),a=o[2],this.tokens.push({type:"list_start",ordered:a.length>1}),o=o[0].match(this.rules.item),r=!1,f=o.length,c=0;c1&&s.length>1||(e=o.slice(c+1).join("\n")+e,c=f-1)),i=r||/\n\n(?!\s*$)/.test(u),c!==f-1&&(r="\n"===u.charAt(u.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(u,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(!n&&t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),this.tokens.links[o[1].toLowerCase()]={href:o[2],title:o[3]};else if(t&&(o=this.rules.table.exec(e))){for(e=e.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:l,tag:/^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:l,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/,h.link=u(h.link)("inside",h._inside)("href",h._href)(),h.reflink=u(h.reflink)("inside",h._inside)(),h.normal=c({},h),h.pedantic=c({},h.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),h.gfm=c({},h.normal,{escape:u(h.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:u(h.text)("]|","~]|")("|","|https?://|")()}),h.breaks=c({},h.gfm,{br:u(h.br)("{2,}","*")(),text:u(h.gfm.text)("{2,}","*")()}),r.rules=h,r.output=function(e,t,n){var i=new r(t,n);return i.output(e)},r.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=":"===i[1].charAt(6)?this.mangle(i[1].substring(7)):this.mangle(i[1]),r=this.mangle("mailto:")+n):(n=a(i[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):a(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),t=this.links[t.toLowerCase()],!t||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(a(i[2],!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(a(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(i[0].length),n=a(i[1]),r=n,o+=this.renderer.link(r,null,n);return o},r.prototype.outputLink=function(e,t){var n=a(t.href),r=t.title?a(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,a(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e; -},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
'+(n?e:a(e,!0))+"\n
\n":"
"+(n?e:a(e,!0))+"\n
"},i.prototype.blockquote=function(e){return"
\n"+e+"
\n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"'+e+"\n"},i.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},i.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"\n"},i.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},i.prototype.paragraph=function(e){return"

    "+e+"

    \n"},i.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},i.prototype.tablerow=function(e){return"\n"+e+"\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+"\n"},i.prototype.strong=function(e){return""+e+""},i.prototype.em=function(e){return""+e+""},i.prototype.codespan=function(e){return""+e+""},i.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},i.prototype.del=function(e){return""+e+""},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(s(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(i){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var o='
    "},i.prototype.image=function(e,t,n){var r=''+n+'":">"},i.prototype.text=function(e){return e},o.parse=function(e,t,n){var r=new o(t,n);return r.parse(e)},o.prototype.parse=function(e){this.inline=new r(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},o.prototype.next=function(){return this.token=this.tokens.pop()},o.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},o.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},o.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i,o="",a="";for(n="",e=0;e0)for(n in vr)r=vr[n],i=t[r],g(i)||(e[r]=i);return e}function y(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),yr===!1&&(yr=!0,n.updateOffset(this),yr=!1)}function $(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return _(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Dr[n]=Dr[n+"s"]=Dr[t]=e}function L(e){return"string"==typeof e?Dr[e]||Dr[e.toLowerCase()]:void 0}function j(e){var t,n,r={};for(n in e)l(e,n)&&(t=L(n),t&&(r[t]=e[n]));return r}function R(e,t){Mr[e]=t}function U(e){var t=[];for(var n in e)t.push({unit:n,priority:Mr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function V(e,t){return function(r){return null!=r?(H(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function Y(e){return e=L(e),_(this[e])?this[e]():this}function q(e,t){if("object"==typeof e){e=j(e);for(var n=U(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function B(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Fr[e]=i),t&&(Fr[t[0]]=function(){return W(i.apply(this,arguments),t[1],t[2])}),n&&(Fr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Tr);for(t=0,n=r.length;t=0&&Ar.test(e);)e=e.replace(Ar,n),Ar.lastIndex=0,r-=1;return e}function X(e,t,n){Jr[e]=_(t)?t:function(e,r){return e&&n?n:t}}function K(e,t){return l(Jr,e)?Jr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=w(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n,i=(7+be(e,0,r).getUTCDay()-t)%7;return-i+r-1}function xe(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=we(e,r,i),l=1+7*(t-1)+s+u;return l<=0?(o=e-1,a=ge(o)+l):l>ge(e)?(o=e+1,a=l-ge(e)):(o=e,a=l),{year:o,dayOfYear:a}}function ke(e,t,n){var r,i,o=we(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Ce(i,t,n)):a>Ce(e.year(),t,n)?(r=a-Ce(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ce(e,t,n){var r=we(e,t,n),i=we(e+1,t,n);return(ge(e)-r+i)/7}function Se(e){return ke(e,this._week.dow,this._week.doy).week}function _e(){return this._week.dow}function Ee(){return this._week.doy}function De(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Me(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ae(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Fe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ie(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Pe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Le(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function je(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ae(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ue(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=yi),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ve(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$i),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=bi),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=te(s[t]),u[t]=te(u[t]),l[t]=te(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ye(){return this.hours()%12||12}function qe(){return this.hours()||24}function We(e,t){B(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Be(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Si[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=wi._abbr,e("./locale/"+n),Ke(r)}catch(i){}return Si[n]}function Ke(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t),n&&(wi=n)),wi._abbr}function et(e,t){if(null!==t){var n=Ci;return t.abbr=e,null!=Si[e]?(S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Si[e]._config):null!=t.parentLocale&&(null!=Si[t.parentLocale]?n=Si[t.parentLocale]._config:S("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Si[e]=new M(D(n,t)),Ke(e),Si[e]}return delete Si[e],null}function tt(e,t){if(null!=t){var n,r=Ci;null!=Si[e]&&(r=Si[e]._config),t=D(r,t),n=new M(t),n.parentLocale=Si[e],Si[e]=n,Ke(e)}else null!=Si[e]&&(null!=Si[e].parentLocale?Si[e]=Si[e].parentLocale:null!=Si[e]&&delete Si[e]);return Si[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return wi;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Je(e)}function rt(){return br(Si)}function it(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[ei]<0||n[ei]>11?ei:n[ti]<1||n[ti]>oe(n[Kr],n[ei])?ti:n[ni]<0||n[ni]>24||24===n[ni]&&(0!==n[ri]||0!==n[ii]||0!==n[oi])?ni:n[ri]<0||n[ri]>59?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>999?oi:-1,h(e)._overflowDayOfYear&&(tti)&&(t=ti),h(e)._overflowWeeks&&t===-1&&(t=ai),h(e)._overflowWeekday&&t===-1&&(t=si),h(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,u=_i.exec(s)||Ei.exec(s);if(u){for(h(e).iso=!0,t=0,n=Mi.length;tge(i)&&(h(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[ei]=n.getUTCMonth(),e._a[ti]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ni]&&0===e._a[ri]&&0===e._a[ii]&&0===e._a[oi]&&(e._nextDay=!0,e._a[ni]=0),e._d=(e._useUTC?be:$e).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ni]=24)}}function ct(e){var t,n,r,i,o,a,s,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=st(t.GG,e._a[Kr],ke($t(),1,4).year),r=st(t.W,1),i=st(t.E,1),(i<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=st(t.gg,e._a[Kr],ke($t(),o,a).year),r=st(t.w,1),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=xe(n,r,i,o,a),e._a[Kr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=J(e._f,e._locale).match(Tr)||[],t=0;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Fr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),e._a[ni]<=12&&h(e).bigHour===!0&&e._a[ni]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ni]=dt(e._locale,e._a[ni],e._meridiem),lt(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Lt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):$t(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function jt(){return!!this.isValid()&&!this._isUTC}function Rt(){return!!this.isValid()&&this._isUTC}function Ut(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Vt(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=Pi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:w(a[ti])*n,h:w(a[ni])*n,m:w(a[ri])*n,s:w(a[ii])*n,ms:w(St(1e3*a[oi]))*n}):(a=Li.exec(e))?(n="-"===a[1]?-1:1,o={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Yt($t(o.from),$t(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),Ct(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ht(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Yt(e,t){var n;return e.isValid()&&t.isValid()?(t=Dt(t,e),e.isBefore(t)?n=Ht(e,t):(n=Ht(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function qt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n, -i=Vt(n,r),Wt(this,i,e),this}}function Wt(e,t,r,i){var o=t._milliseconds,a=St(t._days),s=St(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&H(e,"Date",z(e,"Date")+a*r),s&&ce(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Bt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||$t(),i=Dt(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(_(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,$t(r)))}function Zt(){return new y(this)}function Qt(e,t){var n=$(e)?e:$t(e);return!(!this.isValid()||!n.isValid())&&(t=L(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=xe(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function In(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Nn(e,t){t[oi]=w(1e3*("0."+e))}function Pn(){return this._isUTC?"UTC":""}function Ln(){return this._isUTC?"Coordinated Universal Time":""}function jn(e){return $t(1e3*e)}function Rn(){return $t.apply(null,arguments).parseZone()}function Un(e){return e}function Vn(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function zn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Vn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Vn(e,r,n,"month");return i}function Hn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Vn(t,(n+o)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=Vn(t,(a+o)%7,r,"day");return s}function Yn(e,t){return zn(e,t,"months")}function qn(e,t){return zn(e,t,"monthsShort")}function Wn(e,t,n){return Hn(e,t,n,"weekdays")}function Bn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function Gn(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Zn(){var e=this._data;return this._milliseconds=Zi(this._milliseconds),this._days=Zi(this._days),this._months=Zi(this._months),e.milliseconds=Zi(e.milliseconds),e.seconds=Zi(e.seconds),e.minutes=Zi(e.minutes),e.hours=Zi(e.hours),e.months=Zi(e.months),e.years=Zi(e.years),this}function Qn(e,t,n,r){var i=Vt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Jn(e,t){return Qn(this,e,t,1)}function Xn(e,t){return Qn(this,e,t,-1)}function Kn(e){return e<0?Math.floor(e):Math.ceil(e)}function er(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Kn(nr(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=b(o/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),i=b(tr(a)),s+=i,a-=Kn(nr(i)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function tr(e){return 4800*e/146097}function nr(e){return 146097*e/4800}function rr(e){var t,n,r=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+tr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(nr(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)}function or(e){return function(){return this.as(e)}}function ar(e){return e=L(e),this[e+"s"]()}function sr(e){return function(){return this._data[e]}}function ur(){return b(this.days()/7)}function lr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function cr(e,t,n){var r=Vt(e).abs(),i=fo(r.as("s")),o=fo(r.as("m")),a=fo(r.as("h")),s=fo(r.as("d")),u=fo(r.as("M")),l=fo(r.as("y")),c=i0,c[4]=n,lr.apply(null,c)}function fr(e){return void 0===e?fo:"function"==typeof e&&(fo=e,!0)}function dr(e,t){return void 0!==ho[e]&&(void 0===t?ho[e]:(ho[e]=t,!0))}function hr(e){var t=this.localeData(),n=cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function pr(){var e,t,n,r=po(this._milliseconds)/1e3,i=po(this._days),o=po(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||f?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(f?f+"S":""):"P0D"}var mr,gr;gr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var hi=V("FullYear",!0);B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),R("week",5),R("isoWeek",5),X("w",Rr),X("ww",Rr,Nr),X("W",Rr),X("WW",Rr,Nr),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});var pi={dow:0,doy:6};B("d",0,"do","day"),B("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),B("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),B("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),X("d",Rr),X("e",Rr),X("E",Rr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var mi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),vi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),yi=Qr,$i=Qr,bi=Qr;B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Ye),B("k",["kk",2],0,qe),B("hmm",0,0,function(){return""+Ye.apply(this)+W(this.minutes(),2)}),B("hmmss",0,0,function(){return""+Ye.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),We("a",!0),We("A",!1),P("hour","h"),R("hour",13),X("a",Be),X("A",Be),X("H",Rr),X("h",Rr),X("HH",Rr,Nr),X("hh",Rr,Nr),X("hmm",Ur),X("hmmss",Vr),X("Hmm",Ur),X("Hmmss",Vr),ne(["H","HH"],ni),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ni]=w(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i))});var wi,xi=/[ap]\.?m?\.?/i,ki=V("Hours",!0),Ci={calendar:xr,longDateFormat:kr,invalidDate:Cr,ordinal:Sr,ordinalParse:_r,relativeTime:Er,months:li,monthsShort:ci,week:pi,weekdays:mi,weekdaysMin:vi,weekdaysShort:gi,meridiemParse:xi},Si={},_i=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,Ei=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,Di=/Z|[+-]\d\d(?::?\d\d)?/,Mi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ti=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ai=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Oi=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$t.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),Ii=function(){return Date.now?Date.now():+new Date};_t("Z",":"),_t("ZZ",""),X("Z",Gr),X("ZZ",Gr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(Gr,e)});var Ni=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Pi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Li=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Vt.fn=kt.prototype;var ji=qt(1,"add"),Ri=qt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ui=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_n("gggg","weekYear"),_n("ggggg","weekYear"),_n("GGGG","isoWeekYear"),_n("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),X("G",Wr),X("g",Wr),X("GG",Rr,Nr),X("gg",Rr,Nr),X("GGGG",Hr,Lr),X("gggg",Hr,Lr),X("GGGGG",Yr,jr),X("ggggg",Yr,jr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),P("quarter","Q"),R("quarter",7),X("Q",Ir),ne("Q",function(e,t){t[ei]=3*(w(e)-1)}),B("D",["DD",2],"Do","date"),P("date","D"),R("date",9),X("D",Rr),X("DD",Rr,Nr),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ti),ne("Do",function(e,t){t[ti]=w(e.match(Rr)[0],10)});var Vi=V("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),R("dayOfYear",4),X("DDD",zr),X("DDDD",Pr),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),B("m",["mm",2],0,"minute"),P("minute","m"),R("minute",14),X("m",Rr),X("mm",Rr,Nr),ne(["m","mm"],ri);var zi=V("Minutes",!1);B("s",["ss",2],0,"second"),P("second","s"),R("second",15),X("s",Rr),X("ss",Rr,Nr),ne(["s","ss"],ii);var Hi=V("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),R("millisecond",16),X("S",zr,Ir),X("SS",zr,Nr),X("SSS",zr,Pr);var Yi;for(Yi="SSSS";Yi.length<=9;Yi+="S")X(Yi,qr);for(Yi="S";Yi.length<=9;Yi+="S")ne(Yi,Nn);var qi=V("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Wi=y.prototype;Wi.add=ji,Wi.calendar=Gt,Wi.clone=Zt,Wi.diff=nn,Wi.endOf=mn,Wi.format=sn,Wi.from=un,Wi.fromNow=ln,Wi.to=cn,Wi.toNow=fn,Wi.get=Y,Wi.invalidAt=Cn,Wi.isAfter=Qt,Wi.isBefore=Jt,Wi.isBetween=Xt,Wi.isSame=Kt,Wi.isSameOrAfter=en,Wi.isSameOrBefore=tn,Wi.isValid=xn,Wi.lang=Ui,Wi.locale=dn,Wi.localeData=hn,Wi.max=Fi,Wi.min=Oi,Wi.parsingFlags=kn,Wi.set=q,Wi.startOf=pn,Wi.subtract=Ri,Wi.toArray=$n,Wi.toObject=bn,Wi.toDate=yn,Wi.toISOString=an,Wi.toJSON=wn,Wi.toString=on,Wi.unix=vn,Wi.valueOf=gn,Wi.creationData=Sn,Wi.year=hi,Wi.isLeapYear=ye,Wi.weekYear=En,Wi.isoWeekYear=Dn,Wi.quarter=Wi.quarters=Fn,Wi.month=fe,Wi.daysInMonth=de,Wi.week=Wi.weeks=De,Wi.isoWeek=Wi.isoWeeks=Me,Wi.weeksInYear=Tn,Wi.isoWeeksInYear=Mn,Wi.date=Vi,Wi.day=Wi.days=Le,Wi.weekday=je,Wi.isoWeekday=Re,Wi.dayOfYear=In,Wi.hour=Wi.hours=ki,Wi.minute=Wi.minutes=zi,Wi.second=Wi.seconds=Hi,Wi.millisecond=Wi.milliseconds=qi,Wi.utcOffset=Tt,Wi.utc=Ot,Wi.local=Ft,Wi.parseZone=It,Wi.hasAlignedHourOffset=Nt,Wi.isDST=Pt,Wi.isLocal=jt,Wi.isUtcOffset=Rt,Wi.isUtc=Ut,Wi.isUTC=Ut,Wi.zoneAbbr=Pn,Wi.zoneName=Ln,Wi.dates=C("dates accessor is deprecated. Use date instead.",Vi),Wi.months=C("months accessor is deprecated. Use month instead",fe),Wi.years=C("years accessor is deprecated. Use year instead",hi),Wi.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",At),Wi.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Lt);var Bi=Wi,Gi=M.prototype;Gi.calendar=T,Gi.longDateFormat=A,Gi.invalidDate=O,Gi.ordinal=F,Gi.preparse=Un,Gi.postformat=Un,Gi.relativeTime=I,Gi.pastFuture=N,Gi.set=E,Gi.months=ae,Gi.monthsShort=se,Gi.monthsParse=le,Gi.monthsRegex=pe,Gi.monthsShortRegex=he,Gi.week=Se,Gi.firstDayOfYear=Ee,Gi.firstDayOfWeek=_e,Gi.weekdays=Oe,Gi.weekdaysMin=Ie,Gi.weekdaysShort=Fe,Gi.weekdaysParse=Pe,Gi.weekdaysRegex=Ue,Gi.weekdaysShortRegex=Ve,Gi.weekdaysMinRegex=ze,Gi.isPM=Ge,Gi.meridiem=Ze,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",Ke),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",nt);var Zi=Math.abs,Qi=or("ms"),Ji=or("s"),Xi=or("m"),Ki=or("h"),eo=or("d"),to=or("w"),no=or("M"),ro=or("y"),io=sr("milliseconds"),oo=sr("seconds"),ao=sr("minutes"),so=sr("hours"),uo=sr("days"),lo=sr("months"),co=sr("years"),fo=Math.round,ho={s:45,m:45,h:22,d:26,M:11},po=Math.abs,mo=kt.prototype;mo.abs=Zn,mo.add=Jn,mo.subtract=Xn,mo.as=rr,mo.asMilliseconds=Qi,mo.asSeconds=Ji,mo.asMinutes=Xi,mo.asHours=Ki,mo.asDays=eo,mo.asWeeks=to,mo.asMonths=no,mo.asYears=ro,mo.valueOf=ir,mo._bubble=er,mo.get=ar,mo.milliseconds=io,mo.seconds=oo,mo.minutes=ao,mo.hours=so,mo.days=uo,mo.weeks=ur,mo.months=lo,mo.years=co,mo.humanize=hr,mo.toISOString=pr,mo.toString=pr,mo.toJSON=pr,mo.locale=dn,mo.localeData=hn,mo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),mo.lang=Ui,B("X",0,0,"unix"),B("x",0,0,"valueOf"),X("x",Wr),X("X",Zr),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(w(e))}),n.version="2.15.2",r($t),n.fn=Bi,n.min=wt,n.max=xt,n.now=Ii,n.utc=f,n.unix=jn,n.months=Yn,n.isDate=s,n.locale=Ke,n.invalid=m,n.duration=Vt,n.isMoment=$,n.weekdays=Wn,n.parseZone=Rn,n.localeData=nt,n.isDuration=Ct,n.monthsShort=qn,n.weekdaysMin=Gn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Bn,n.normalizeUnits=L,n.relativeTimeRounding=fr,n.relativeTimeThreshold=dr,n.calendarFormat=Bt,n.prototype=Bi;var go=n;return go})},{}],14:[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,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,y=a.Number.parseFloat||a.parseFloat,$=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=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}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;e=0&&(q=l(function(){"boolean"!=typeof U.deactivated&&(U.deactivated=!0),U.deactivated===!0&&Ge.emit({type:"error",name:"flash-deactivated"})},t)),U.overdue=!1,De()}},se=function(){Ge.clearData(),Ge.blur(),Ge.emit("destroy"),Me(),Ge.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ge.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var r in n)"string"==typeof r&&r&&k.call(n,r)&&"string"==typeof n[r]&&n[r]&&(H[r]=n[r])},le=function(e){"undefined"==typeof e?(A(H),Y=null):"string"==typeof e&&k.call(H,e)&&delete H[e]},ce=function(e){return"undefined"==typeof e?D(H):"string"==typeof e&&k.call(H,e)?H[e]:void 0},fe=function(e){if(e&&1===e.nodeType){i&&(je(i,X.activeClass),i!==e&&je(i,X.hoverClass)),i=e,Le(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");Ye(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(je(i,X.hoverClass),je(i,X.activeClass),i=null)},he=function(){return i||null},pe=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),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null, -minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=Ae(e,Y)),e.target&&!e.relatedTarget&&(e.relatedTarget=ge(e.target)),ve(e)}},ge=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?s.getElementById(t):null},ve=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=Ue(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,d=o.left+("number"==typeof e._stageX?e._stageX:0),h=o.top+("number"==typeof e._stageY?e._stageY:0),p=d-c,m=h-f,g=u+p,v=l+m,y="number"==typeof e.movementX?e.movementX:0,$="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,E(e,{srcElement:t,fromElement:r,toElement:i,screenX:g,screenY:v,pageX:d,pageY:h,clientX:p,clientY:m,x:p,y:m,movementX:y,movementY:$,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)},$e=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=ye(e),n=z["*"]||[],r=z[e.type]||[],i=n.concat(r);if(i&&i.length){var o,s,u,l,c,f=this;for(o=0,s=i.length;o0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=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=E(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)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.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(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ne(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n);var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Me=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.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))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.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}}},Ae=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var r in e)if(k.call(e,r))if("errors"===r){n[r]=e[r]?e[r].slice():[];for(var i=0,o=n[r].length;i0){if(1===o&&"*"===i[0])return"always";if(i.indexOf(t)!==-1)return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},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)for(n=0,r=o.length;n0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;n0,r=y(t.width)>0,i=y(t.top)>=0,o=y(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(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},ze=function(){c(q),q=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+qe(X.zIndex)})}},Ye=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},qe=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||$(e)?"string"==typeof e&&(t=qe(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.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 U.sandboxed=a,o===a||t||Be(m),a},Be=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(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&y(f)0,i=!e.target||r&&n.indexOf(e.target)!==-1,o=e.relatedTarget&&r&&n.indexOf(e.relatedTarget)!==-1,a=e.client&&e.client===this;return!(!t||!(i||o||a))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=ye(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,d=this;for(s=0,u=o.length;s tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags},o=window.baseUrl("/ajax/tags/update/page/"+s);t.post(o,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}]),t.controller("PageAttachmentController",["$scope","$http","$attrs",function(e,t,r){function i(){return{page_id:l}}function o(r,i){var o=e.files.map(function(e){return e.id}).join(":");o!==c&&(c=o,t.put(window.baseUrl("/attachments/sort/page/"+l),{files:e.files}).then(function(e){n.emit("success",e.data.message)},u("sort")))}function a(){var n=window.baseUrl("/attachments/get/page/"+l);t.get(n).then(function(t){e.files=t.data,c=t.data.map(function(e){return e.id}).join(":")},u("get"))}function s(t){for(var n=0;n tr",containment:"parent",axis:"y",stop:o},e.getUploadUrl=function(e){var t="undefined"!=typeof e?"/"+e.id:"";return window.baseUrl("/attachments/upload"+t)},a(),e.uploadSuccess=function(t,r){e.$apply(function(){e.files.push(r)}),n.emit("success","File uploaded")},e.uploadSuccessUpdate=function(t,r){e.$apply(function(){var t=s(r);t!==-1&&(e.files[t]=r),e.editFile&&(e.editFile=angular.copy(r),r.link="")}),n.emit("success","File updated")},e.deleteFile=function(r){return r.deleting?void t["delete"](window.baseUrl("/attachments/"+r.id)).then(function(t){n.emit("success",t.data.message),e.files.splice(e.files.indexOf(r),1)},u("delete")):void(r.deleting=!0)},e.attachLinkSubmit=function(r){r.uploaded_to=l,t.post(window.baseUrl("/attachments/link"),r).then(function(t){e.files.push(t.data),n.emit("success","Link attached"),e.file=i()},u("link"))},e.startEdit=function(t){e.editFile=angular.copy(t),e.editFile.link=t.external?t.path:""},e.cancelEdit=function(){e.editFile=!1},e.updateFile=function(r){t.put(window.baseUrl("/attachments/"+r.id),r).then(function(t){var i=s(t.data);i!==-1&&(e.files[i]=t.data),e.editFile&&!r.external&&(e.editFile.link=""),e.editFile=!1,n.emit("success","Attachment details updated")},u("edit"))},e.getFileUrl=function(e){return window.baseUrl("/attachments/"+e.id)}}])};var i=e("moment"),o=r(i);e("moment/locale/en-gb"),o["default"].locale("en-gb")},{"./pages/page-form":18,moment:13,"moment/locale/en-gb":12}],16:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:'\n
    \n \n
    \n
    \n ',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("tabContainer",function(){return{restrict:"A",link:function(e,t,n){var r=t.find("[tab-content]"),i=t.find("[tab-button]");if(n.tabContainer){var o=n.tabContainer;i.filter('[tab-button="'+o+'"]').addClass("selected"),r.hide().filter('[tab-content="'+o+'"]').show()}else r.hide().first().show(),i.first().addClass("selected");i.click(function(){var e=$(this);i.removeClass("selected"),r.hide();var t=e.addClass("selected").attr("tab-button");r.filter('[tab-content="'+t+'"]').show()})}}}),e.directive("subForm",function(){return{restrict:"A",link:function(e,t,n){function r(t){t.preventDefault(),n.subForm&&e.$eval(n.subForm)}t.on("keypress",function(e){13===e.keyCode&&r(e)}),t.find('button[type="submit"]').click(r)}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:'\n
    \n
    \n Image Preview\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    \n ',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||"",a&&(n.value=n.currentId),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;a=window.baseUrl(a),e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:'\n
    \n
    Drop files or click here to upload
    \n
    \n ',scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){n.placeholder&&(t[0].querySelector(".dz-message").textContent=n.placeholder);new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o="undefined"==typeof e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),"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)}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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display),u.change()}else u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]'),d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,y=0;u.on("scroll",function(e){var t=Date.now();t-y>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),y=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[toolbox-tab-button="'+e+'"]').addClass("active"),o.filter('[toolbox-tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[toolbox-tab-button]"),o=t.find("[toolbox-tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("toolbox-tab-content"),!1),i.click(function(e){var t=$(this).attr("toolbox-tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=0}}),$(function(){var e=$(".notification"),t=e.filter(".pos"),n=e.filter(".neg"),r=e.filter(".warning");window.Events.listen("success",function(e){t.hide(),t.find("span").text(e),setTimeout(function(){t.show()},1)}),window.Events.listen("warning",function(e){r.find("span").text(e),r.show()}),window.Events.listen("error",function(e){n.find("span").text(e),n.show()}),e.click(function(){$(this).fadeOut(100)}),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)}),$("#back-to-top").click(function(){$("#header").smoothScrollTo()});var i=!1,o=document.getElementById("back-to-top"),a=1200;window.addEventListener("scroll",function(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!i&&e>a?(o.style.display="block",i=!0,setTimeout(function(){o.style.opacity=.4},1)):i&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")}),e("./pages/page-show")},{"./controllers":15,"./directives":16,"./pages/page-show":19,"./services":20,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],18:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="
    ",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+t.name+'',n+="",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){r(t,e)})}}},{}],19:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:window.baseUrl("/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()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.baseUrl("/link/"+e+"#"+r.attr("id"));0!==i.indexOf("http")&&(i=window.location.protocol+"//"+window.location.host+i),s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;o<0&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:14}],20:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[17]); \ 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 a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof ne)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===I)return e;break;default:return ne(u(e))}if(e.nodeType===I)return ne(e)}function u(e){if(!e[0])return e;for(var t=0;t=0)&&(n=M(n)),0===n&&(n=null),r[t]=n}}),r}function M(e){var t=0,n=e.split(/\s*,\s*/);return G(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 A(e){return 0===e||null!=e}function D(e,t){var n=F,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function T(){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 O(e,t,n){G(n,function(n){e[n]=Q(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,L,P,N,I=1,R="-add",U="-remove",j="ng-",V="-active",H="-prepare",z="ng-animate",q="$$ngAnimateChildren",Y="";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?(Y="-webkit-",F="WebkitTransition",L="webkitTransitionEnd transitionend"):(F="transition",L="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?(Y="-webkit-",P="WebkitAnimation",N="webkitAnimationEnd animationend"):(P="animation",N="animationend");var W,B,G,Z,Q,J,K,X,ee,te,ne,re,ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=P+ae,de=P+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$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=o(a,"-stagger");r.addClass(i,c),l=E(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 M(e){z.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=ne&&r>=ie&&(K=!0,g())}function z(){function t(){if(!Q){if(b(!1),G(le,function(e){var t=e[0],n=e[1];B.style[t]=n}),I(e,q),r.addClass(e,Ce),Ue.recalculateTimingStyles){if(_e=B.getAttribute("class")+" "+xe,Me=y(B,_e),Ie=T(B,_e,Me),Re=Ie.maxDelay,te=Math.max(Re,0),ie=Ie.maxDuration,0===ie)return void g();Ue.hasTransitions=Ie.transitionDuration>0,Ue.hasAnimations=Ie.animationDuration>0}if(Ue.applyAnimationDelay&&(Re="boolean"!=typeof q.delay&&A(q.delay)?parseFloat(q.delay):Re,te=Math.max(Re,0),Ie.animationDelay=Re,je=S(Re,!0),le.push(je),B.style[je[0]]=je[1]),ne=te*ye,ae=ie*ye,q.easing){var t,i=q.easing;Ue.hasTransitions&&(t=F+se,le.push([t,i]),B.style[t]=i),Ue.hasAnimations&&(t=P+se,le.push([t,i]),B.style[t]=i)}Ie.transitionDuration&&he.push(L),Ie.animationDuration&&he.push(N),ue=Date.now();var o=ne+we*ae,a=ue+o,s=e.data($e)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data($e,s)}he.length&&e.on(he.join(" "),H),q.to&&(q.cleanupStyles&&O(Y,B,Object.keys(q.to)),m(e,q))}}function n(){var t=e.data($e);if(t){for(var n=1;n0&&(Ie.transitionDuration&&0===Ae.transitionDuration||Ie.animationDuration&&0===Ae.animationDuration)&&Math.max(Ae.animationDelay,Ae.transitionDelay);o?u(t,Math.floor(o*Pe*ye),!1):t(),ee.resume=function(){i(!0)},ee.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=d(W(q)));var Y={},B=$(e);if(!B||!B.parentNode||!v.enabled())return E();var Q,J,K,X,ee,te,ne,ie,ae,ue,le=[],fe=e.attr("class"),de=i(q),he=[];if(0===q.duration||!c.animations&&!c.transitions)return E();var pe=q.event&&Z(q.event)?q.event.join(" "):q.event,me=pe&&q.structural,ge="",ve="";me?ge=o(pe,j,!0):pe&&(ge=pe),q.addClass&&(ve+=o(q.addClass,R)),q.removeClass&&(ve.length&&(ve+=" "),ve+=o(q.removeClass,U)),q.applyClassesEarly&&ve.length&&I(e,q);var xe=[ge,ve].join(" ").trim(),_e=fe+" "+xe,Ce=o(xe,V),Se=de.to&&Object.keys(de.to).length>0,Ee=(q.keyframeStyle||"").length>0;if(!Ee&&!Se&&!xe)return E();var Me,Ae;if(q.stagger>0){var De=parseFloat(q.stagger);Ae={transitionDelay:De,animationDelay:De,transitionDuration:0,animationDuration:0}}else Me=y(B,_e),Ae=_(B,xe,Me,ke);q.$$skipPreparationClasses||r.addClass(e,xe);var Te;if(q.transitionStyle){var Oe=[F,q.transitionStyle];k(B,Oe),le.push(Oe)}if(q.duration>=0){Te=B.style[F].length>0;var Fe=D(q.duration,Te);k(B,Fe),le.push(Fe)}if(q.keyframeStyle){var Le=[P,q.keyframeStyle];k(B,Le),le.push(Le)}var Pe=Ae?q.staggerIndex>=0?q.staggerIndex:t.count(Me):0,Ne=0===Pe;Ne&&!q.skipBlocking&&w(B,ce);var Ie=T(B,_e,Me),Re=Ie.maxDelay;te=Math.max(Re,0),ie=Ie.maxDuration;var Ue={};if(Ue.hasTransitions=Ie.transitionDuration>0,Ue.hasAnimations=Ie.animationDuration>0,Ue.hasTransitionAll=Ue.hasTransitions&&"all"===Ie.transitionProperty,Ue.applyTransitionDuration=Se&&(Ue.hasTransitions&&!Ue.hasTransitionAll||Ue.hasAnimations&&!Ue.hasTransitions),Ue.applyAnimationDuration=q.duration&&Ue.hasAnimations,Ue.applyTransitionDelay=A(q.delay)&&(Ue.applyTransitionDuration||Ue.hasTransitions),Ue.applyAnimationDelay=A(q.delay)&&Ue.hasAnimations,Ue.recalculateTimingStyles=ve.length>0,(Ue.applyTransitionDuration||Ue.applyAnimationDuration)&&(ie=q.duration?parseFloat(q.duration):ie,Ue.applyTransitionDuration&&(Ue.hasTransitions=!0,Ie.transitionDuration=ie,Te=B.style[F+oe].length>0,le.push(D(ie,Te))),Ue.applyAnimationDuration&&(Ue.hasAnimations=!0,Ie.animationDuration=ie,le.push(C(ie)))),0===ie&&!Ue.recalculateTimingStyles)return E();if(null!=q.delay){var je;"boolean"!=typeof q.delay&&(je=parseFloat(q.delay),te=Math.max(je,0)),Ue.applyTransitionDelay&&le.push(S(je)),Ue.applyAnimationDelay&&le.push(S(je,!0))}return null==q.duration&&Ie.transitionDuration>0&&(Ue.recalculateTimingStyles=Ue.recalculateTimingStyles||Ne),ne=te*ye,ae=ie*ye,q.skipBlocking||(Ue.blockTransition=Ie.transitionDuration>0,Ue.blockKeyframeAnimation=Ie.animationDuration>0&&Ae.animationDelay>0&&0===Ae.animationDuration),q.from&&(q.cleanupStyles&&O(Y,B,Object.keys(q.from)),p(e,q)),Ue.blockTransition||Ue.blockKeyframeAnimation?b(ie):q.skipBlocking||w(B,!1),{$$willAnimate:!0,end:l,start:function(){if(!Q)return ee={end:l,cancel:f,resume:null,pause:null},X=new s(ee),M(z),X}}}}]}],Ce=["$$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 ee(e)&&(e=e.split(" ")),ee(t)&&(t=t.split(" ")),e.filter(function(e){return t.indexOf(e)===-1}).join(" ")}function p(t,a,u){function l(e){var t={},n=$(e).getBoundingClientRect();return G(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=v.scrollTop;break;case"left":r+=v.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function c(){var t=e(g,{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,y),r=h(y,t),a=e(g,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function m(){g.remove(),a.removeClass(n),u.removeClass(n)}var g=ne($(a).cloneNode(!0)),y=d(f(g));a.addClass(n),u.addClass(n),g.addClass(r),b.append(g);var w,x=c();if(!x&&(w=p(),!w))return m();var k=x||w;return{start:function(){function e(){n&&n.end()}var t,n=k.start();return n.done(function(){return n=null,!w&&(w=p())?(n=w.start(),n.done(function(){n=null,m(),t.complete()}),n):(m(),void t.complete())}),t=new s({end:e,cancel:e})}}}function m(e,t,n,r){var i=g(e,re),o=g(t,re),a=[];if(G(r,function(e){var t=e.out,r=e["in"],i=p(n,t,r);i&&a.push(i)}),i||o||0!==a.length)return{start:function(){function e(){G(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),G(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}}}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=_(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return re;var v=f[0].body,y=$(u),b=ne(t(y)||v.contains(y)?y:v);return function(e){return e.from&&e.to?m(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=Z(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var l=1,c=2,p=" ",m=this.rules={skip:[],cancel:[],join:[]};m.join.push(function(e,t,n){return!t.structural&&a(t)}),m.skip.push(function(e,t,n){return!t.structural&&!a(t)}),m.skip.push(function(e,t,n){return"leave"===n.event&&t.structural}),m.skip.push(function(e,t,n){return n.structural&&n.state===c&&!t.structural}),m.cancel.push(function(e,t,n){return n.structural&&t.structural}),m.cancel.push(function(e,t,n){return n.state===c&&t.structural}),m.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,o=t.removeClass,a=n.addClass,s=n.removeClass;return!(te(r)&&te(o)||te(a)&&te(s))&&(i(r,s)||i(o,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow","$$isDocumentHidden",function(r,i,p,m,v,w,x,k,_,C,S){function E(){var e=!1;return function(t){e?t():i.$$postDigest(function(){e=!0,t()})}}function M(e,t){return g(e,t,{})}function A(e,t,n){var r=$(t),i=$(e),o=[],a=z[n];return a&&G(a,function(e){ie.call(e.node,r)?o.push(e.callback):"leave"===n&&ie.call(e.node,i)&&o.push(e.callback)}),o}function D(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function T(e,t){"close"!==e||t[0].parentNode||oe.off(t)}function O(e,t,n){function u(t,n,i,o){_(function(){var t=A(m,e,n);t.length?r(function(){G(t,function(t){t(e,i,o)}),T(i,e)}):T(i,e)}),t.progress(n,i,o)}function f(t){b(e,v),re(e,v),h(e,v),v.domOperation(),k.complete(!t)}var p,m,v=W(n);e=s(e),e&&(p=$(e),m=e.parent()),v=d(v);var k=new x,_=E();if(Z(v.addClass)&&(v.addClass=v.addClass.join(" ")),v.addClass&&!ee(v.addClass)&&(v.addClass=null),Z(v.removeClass)&&(v.removeClass=v.removeClass.join(" ")),v.removeClass&&!ee(v.removeClass)&&(v.removeClass=null),v.from&&!X(v.from)&&(v.from=null),v.to&&!X(v.to)&&(v.to=null),!p)return f(),k;var C=[p.getAttribute("class"),v.addClass,v.removeClass].join(" ");if(!K(C))return f(),k;var D=["enter","move","leave"].indexOf(t)>=0,O=S(),P=!V||O||j.get(p),I=!P&&U.get(p)||{},H=!!I.state;if(P||H&&I.state===l||(P=!N(e,m,t)),P)return O&&u(k,t,"start"),f(),O&&u(k,t,"close"),k;D&&F(e);var z={structural:D,element:e,event:t,addClass:v.addClass,removeClass:v.removeClass,close:f,options:v,runner:k};if(H){var q=o("skip",e,z,I);if(q)return I.state===c?(f(),k):(g(e,I,z),I.runner);var Y=o("cancel",e,z,I);if(Y)if(I.state===c)I.runner.end();else{if(!I.structural)return g(e,I,z),I.runner;I.close()}else{var B=o("join",e,z,I);if(B){if(I.state!==c)return y(e,D?t:null,v),t=z.event=I.event,v=g(e,I,z),I.runner;M(e,z)}}}else M(e,z);var Q=z.structural;if(Q||(Q="animate"===z.event&&Object.keys(z.options.to||{}).length>0||a(z)),!Q)return f(),L(e),k;var J=(I.counter||0)+1;return z.counter=J,R(e,l,z),i.$$postDigest(function(){var n=U.get(p),r=!n;n=n||{};var i=e.parent()||[],o=i.length>0&&("animate"===n.event||n.structural||a(n));if(r||n.counter!==J||!o)return r&&(re(e,v),h(e,v)),(r||D&&n.event!==t)&&(v.domOperation(),k.end()),void(o||L(e));t=!n.structural&&a(n,!0)?"setClass":n.event,R(e,c);var s=w(e,t,n.options);k.setHost(s),u(k,t,"start",{}),s.done(function(n){f(!n);var r=U.get(p);r&&r.counter===J&&L($(e)),u(k,t,"close",{})})}),k}function F(e){var t=$(e),n=t.querySelectorAll("["+Me+"]");G(n,function(e){var t=parseInt(e.getAttribute(Me),10),n=U.get(e);if(n)switch(t){case c:n.runner.end();case l:U.remove(e)}})}function L(e){var t=$(e);t.removeAttribute(Me),U.remove(t)}function P(e,t){return $(e)===$(t)}function N(e,t,n){var r,i=ne(m[0].body),o=P(e,i)||"HTML"===e[0].nodeName,a=P(e,p),s=!1,u=j.get($(e)),l=ne.data(e[0],Ae);for(l&&(t=l),t=$(t);t&&(a||(a=P(t,p)),t.nodeType===I);){var c=U.get(t)||{};if(!s){var f=j.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(te(r)||r===!0){var d=ne.data(t,q);Q(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=P(t,i)),o&&a)break;t=a||!(l=ne.data(t,Ae))?t.parentNode:$(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function R(e,t,n){n=n||{},n.state=t;var r=$(e);r.setAttribute(Me,t);var i=U.get(r),o=i?B(i,n):n;U.put(r,o)}var U=new v,j=new v,V=null,H=i.$watch(function(){return 0===k.totalPendingRequests},function(e){e&&(H(),i.$$postDigest(function(){i.$$postDigest(function(){null===V&&(V=!0)})}))}),z=Object.create(null),Y=t.classNameFilter(),K=Y?function(e){return Y.test(e)}:function(){return!0},re=f(_),ie=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},oe={on:function(e,t,n){var r=u(t);z[e]=z[e]||[],z[e].push({node:r,callback:n}),ne(t).on("$destroy",function(){var i=U.get(r);i||oe.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||ee(arguments[0])){var r=z[e];r&&(z[e]=1===arguments.length?null:D(r,t,n))}else{t=arguments[0];for(var i in z)z[i]=D(z[i],t)}},pin:function(e,t){n(J(e),"element","not an element"),n(J(t),"parentElement","not an element"),e.data(Ae,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,O(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!V;else{var r=J(e);if(r){var i=$(e);1===n?t=!j.get(i):j.put(i,!t)}else t=V=!!e}return t}};return oe}]}],Te=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(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,p){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=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";G(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:ne(e)}})}else t.push(e)});var r={},i={};return G(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],d=a.animationID.toString();if(!i[d]){var h=i[d]={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:[]};h.classes.length?t.push(h):(t.push(c),t.push(f))}i[d].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],r=u.get(n),i=r(e);if(i)return i}}function _(){c.addClass(z),T&&e.addClass(c,T),O&&(e.removeClass(c,O),O=null)}function C(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function S(){var e=i(c);!e||"leave"===f&&y.$$domOperationFired||e.end()}function E(t){c.off("$destroy",S),n(c),v(c,y),h(c,y),y.domOperation(),T&&e.removeClass(c,T),c.removeClass(z),A.complete(!t)}y=d(y);var M=["enter","move","leave"].indexOf(f)>=0,A=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),A;t(c,A);var D=r(c.attr("class"),r(y.addClass,y.removeClass)),T=y.tempClasses;T&&(D+=" "+T,y.tempClasses=null);var O;return M&&(O="ng-"+f+H,e.addClass(c,O)),g.push({element:c,classes:D,event:f,structural:M,options:y,beforeStart:_,close:E}),c.on("$destroy",S),g.length>1?A:(s.$$postDigest(function(){var e=[];G(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];G(t,function(e){n.push({domNode:$(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),C(e,a)}else n()}})}),p(m(n))}),A)}}]}],Oe=["$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",[],function(){re=t.noop,W=t.copy,B=t.extend,ne=t.element,G=t.forEach,Z=t.isArray,ee=t.isString,X=t.isObject,te=t.isUndefined,Q=t.isDefined,K=t.isFunction,J=t.isElement}).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",De).provider("$$animation",Te).provider("$animateCss",_e).provider("$$animateCssDriver",Ce).provider("$$animateJs",Se).provider("$$animateJsDriver",Ee)}(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){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;a/g,">")}function m(e,t){var n=!1,r=i(e,e.push);return{start:function(e,i){e=u(e),!n&&M[e]&&(n=e),n||A[e]!==!0||(r("<"),r(e),a(i,function(n,i){var o=u(i),a="img"===e&&"src"===o||"background"===o;F[o]!==!0||D[o]===!0&&!t(n,a)||(r(" "),r(i),r('="'),r(p(n)),r('"'))}),r(">"))},end:function(e){e=u(e),n||A[e]!==!0||w[e]===!0||(r("")),e==n&&(n=!1)},chars:function(e){n||r(p(e))}}}function g(t){for(;t;){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isDefined,s=t.isFunction,u=t.isObject,l=t.isString;return function(t,c,f){function d(e){e&&y.push(r(e))}function h(e,t){var n,r=v(e);y.push("'),d(t),y.push("")}if(null==t||""===t)return t;if(!l(t))throw o("notstring","Expected string but received: {0}",t);for(var p,m,g,v=s(f)?f:u(f)?function(){return f}:function(){return{}},$=t,y=[];p=$.match(n);)m=p[0],p[2]||p[4]||(m=(p[3]?"http://":"mailto:")+m),g=p.index,d($.substr(0,g)),h(m,p[0].replace(i,"")),$=$.substring(g+p[0].length);return d($),e(y.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n="function"==typeof e,r="function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return C[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(C[t],n)):S[t]&&(n=S[t](n)),n||"items"!==t&&"ui-model-items"!==t||(n=e.items),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(C,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in _)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in _?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(_(e))for(o in e)"prototype"!==o&&"length"!==o&&"name"!==o&&e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else if(li(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;o=0&&e.splice(n,1),n}function j(e,t){function n(e,t){var n,r=t.$$hashKey;if(li(e))for(var o=0,a=e.length;o2?z(arguments,2):[];return!_(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,H(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function Y(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:S(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function W(e,t){if(!v(e))return x(t)||(t=t?2:null),JSON.stringify(e,Y,t)}function B(e){return w(e)?JSON.parse(e):e}function G(e,t){e=e.replace(mi,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return ui(n)?t:n}function Z(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Q(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=G(t,r);return Z(e,n*(i-r))}function J(e){e=Jr(e).clone();try{e.empty()}catch(t){}var n=Jr("
    ").append(e).html();try{return e[0].nodeType===xi?Wr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+Wr(t)})}catch(t){return Wr(n)}}function K(e){try{return decodeURIComponent(e)}catch(t){}}function X(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),n!==-1&&(r=e.substring(0,n),i=e.substring(n+1)),r=K(r),$(r)&&(i=!$(i)||K(i),Yr.call(t,r)?li(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ee(e){var t=[];return r(e,function(e,n){li(e)?r(e,function(e){t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(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 re(e,t){var n,r,i=gi.length;for(r=0;r protocol indicates an extension, document.location.href does not match.");a.strictDi=null!==re(i,"strict-di"),n(i,o?[o]:[],a)}}function ae(t,n,i){y(i)||(i={});var o={strictDi:!1};i=l(o,i);var a=function(){if(t=Jr(t),t.injector()){var r=t[0]===e.document?"document":J(t);throw oi("btstrpd","App already bootstrapped with this element '{0}'",r.replace(//,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=lt(n,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},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),ai.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(_(ai.resumeDeferredBootstrap)&&ai.resumeDeferredBootstrap()))}function se(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ue(e){var t=ai.element(e).injector();if(!t)throw oi("test","no injector found for element argument to getTestability");return t.get("$$testability")}function le(e,t){return t=t||"_",e.replace($i,function(e,n){return(n?t:"")+e.toLowerCase()})}function ce(){var t;if(!yi){var n=pi();Kr=v(n)?e.jQuery:n?e[n]:void 0,Kr&&Kr.fn.on?(Jr=Kr,l(Kr.fn,{scope:Ui.scope,isolateScope:Ui.isolateScope,controller:Ui.controller,injector:Ui.injector,inheritedData:Ui.inheritedData}),t=Kr.cleanData,Kr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Kr._data(r,"events"),n&&n.$destroy&&Kr(r).triggerHandler("$destroy");t(e)}):Jr=Le,ai.element=Jr,yi=!0}}function fe(e,t,n){if(!e)throw oi("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function de(e,t,n){return n&&li(e)&&(e=e[e.length-1]),fe(_(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function he(e,t){if("hasOwnProperty"===e)throw oi("badname","hasOwnProperty is not a valid {0} name",t)}function pe(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s=0)return"...";t.push(n)}return n})}function we(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?be(e):e}function xe(n){l(n,{bootstrap:ae,copy:j,extend:l,merge:c,equals:V,element:Jr,forEach:r,injector:lt,noop:h,bind:q,toJson:W,fromJson:B,identity:p,isUndefined:v,isDefined:$,isString:w,isFunction:_,isObject:y,isNumber:x,isElement:P,isArray:li,version:Si,isDate:k,lowercase:Wr,uppercase:Br,callbacks:{$$counter:0},getTestability:ue,reloadWithDebugInfo:se,$$minErr:t,$$csp:hi,$$encodeUriSegment:te,$$encodeUriQuery:ne,$$stringify:ve}),(Xr=$e(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:En}),e.provider("$compile",bt).directive({a:Bo,input:ha,textarea:ha,form:Xo,script:ss,select:cs,option:fs,ngBind:ga,ngBindHtml:$a,ngBindTemplate:va,ngClass:ba,ngClassEven:xa,ngClassOdd:wa,ngCloak:ka,ngController:_a,ngForm:ea,ngHide:es,ngIf:Ea,ngInclude:Ma,ngInit:Da,ngNonBindable:Ya,ngPluralize:Za,ngRepeat:Qa,ngShow:Xa,ngStyle:ts,ngSwitch:ns,ngSwitchWhen:rs,ngSwitchDefault:is,ngOptions:Ga,ngTransclude:as,ngModel:Ha,ngList:Ta,ngChange:ya,pattern:hs,ngPattern:hs,required:ds,ngRequired:ds,minlength:ms,ngMinlength:ms,maxlength:ps,ngMaxlength:ps,ngValue:ma,ngModelOptions:qa}).directive({ngInclude:Aa}).directive(Go).directive(Ca),e.provider({$anchorScroll:ct,$animate:to,$animateCss:io,$$animateJs:Xi,$$animateQueue:eo,$$AnimateRunner:ro,$$animateAsyncRun:no,$browser:gt,$cacheFactory:vt,$controller:St,$document:Et,$$isDocumentHidden:Mt,$exceptionHandler:At,$filter:Hn,$$forceReflow:fo,$interpolate:zt,$interval:qt,$http:Ut,$httpParamSerializer:Tt,$httpParamSerializerJQLike:Ot,$httpBackend:Vt,$xhrFactory:jt,$jsonpCallbacks:bo,$location:an,$log:sn,$parse:wn,$rootScope:Sn,$q:xn,$$q:kn,$sce:On,$sceDelegate:Tn,$sniffer:Fn,$templateCache:$t,$templateRequest:Ln,$$testability:Pn,$timeout:Nn,$window:Un,$$rAF:Cn,$$jqLite:nt,$$HashMap:zi,$$cookieReader:Vn})}])}function ke(){return++Mi}function _e(e){return Se(e.replace(Di,"ms-"))}function Ce(e,t){return t.toUpperCase()}function Se(e){return e.replace(Ai,Ce)}function Ee(e){return!Li.test(e)}function Me(e){var t=e.nodeType;return t===bi||!t||t===_i}function Ae(e){for(var t in Ei[e.ng339])return!0;return!1}function De(e){for(var t=0,n=e.length;t")+o[2],a=o[0];a--;)n=n.lastChild;u=H(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Oe(t,n){n=n||e.document;var r;return(r=Fi.exec(t))?[n.createElement(r[1])]:(r=Te(t,n))?r.childNodes:[]}function Fe(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Le(e){if(e instanceof Le)return e;var t;if(w(e)&&(e=fi(e),t=!0),!(this instanceof Le)){if(t&&"<"!==e.charAt(0))throw Oi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Le(e)}t?qe(this,Oe(e)):_(e)?Qe(e):qe(this,e)}function Pe(e){return e.cloneNode(!0)}function Ne(e,t){if(t||Re(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r0||(e.removeEventListener(t,s),delete a[t])};r(t.split(" "),function(e){u(e),Ti[e]&&u(Ti[e])})}else for(t in a)"$destroy"!==t&&e.removeEventListener(t,s),delete a[t]}function Re(e,t){var n=e.ng339,r=n&&Ei[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Ie(e)),delete Ei[n],e.ng339=void 0}}function Ue(e,t){var n=e.ng339,r=n&&Ei[n];return t&&!r&&(e.ng339=n=ke(),r=Ei[n]={events:{},data:{},handle:void 0}),r}function je(e,t,n){if(Me(e)){var r,i=$(n),o=!i&&t&&!y(t),a=!t,s=Ue(e,!o),u=s&&s.data;if(i)u[Se(t)]=n;else{if(a)return u;if(o)return u&&u[Se(t)];for(r in t)u[Se(r)]=t[r]}}}function Ve(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function He(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",fi((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+fi(t)+" "," ")))})}function ze(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=fi(e),n.indexOf(" "+e+" ")===-1&&(n+=e+" ")}),e.setAttribute("class",fi(n))}}function qe(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;r1&&(i=ye(i));for(var u=0;uc&&this.remove(h.key),t}},get:function(e){if(c";var r=Ce.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function H(e,t){try{e.addClass(t)}catch(n){}}function Y(e,t,n,r,i){e instanceof Jr||(e=Jr(e));var o=B(e,t,e,n,r,i);Y.$$addScopeClass(e);var a=null;return function(t,n,r){if(!e)throw oo("multilink","This element has already been linked.");fe(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,u=r.transcludeControllers,l=r.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=W(l));var c;if(c="html"!==a?Jr(me(a,Jr("
    ").append(e).html())):n?Ui.clone.call(e):e,u)for(var f in u)c.data("$"+f+"Controller",u[f].instance);return Y.$$addScopeInfo(c,t),n&&n(c,t),o&&o(t,c,c,s),n||(e=o=null),c}}function W(e){var t=e&&e[0];return t&&"foreignobject"!==I(t)&&ri.call(t).match(/SVG/)?"svg":"html"}function B(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;l0)}else r.push(e);return Jr(r)}function ee(e,t,n){return function(r,i,o,a,s){return i=X(i[0],t,n),e(r,i,o,a,s)}}function te(e,t,n,r,i,o){var a;return e?Y(t,n,r,i,o):function(){return a||(a=Y(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function ne(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=ee(e,n,r)),e.require=p.require,e.directiveName=m,(C===p||p.$$isolateScope)&&(e=be(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=ee(t,n,r)),t.require=p.require,t.directiveName=m,(C===p||p.$$isolateScope)&&(t=be(t,{isolateScope:!0})),c.push(t))}function h(e,o,a,s,f){function d(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),O&&(i=b),n||(n=O?M.parent():M),!r)return f(e,t,i,n,U);var o=f.$$slots[r];if(o)return o(e,t,i,n,U);if(v(o))throw oo("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,J(M))}var h,p,m,g,$,b,w,M,A,T;t===a?(A=n,M=n.$$element):(M=Jr(a),A=new R(M,n)),$=o,C?g=o.$new(!0):x&&($=o.$parent),f&&(w=d,w.$$boundTransclude=f,w.isSlotFilled=function(e){return!!f.$$slots[e]}),k&&(b=ie(M,A,w,k,g,o,C)),C&&(Y.$$addScopeInfo(M,g,!0,!(S&&(S===C||S===C.$$originalDirective))),Y.$$addScopeClass(M,!0),g.$$isolateBindings=C.$$isolateBindings,T=xe(o,A,g,g.$$isolateBindings,C),T.removeWatches&&g.$on("$destroy",T.removeWatches));for(var F in b){var L=k[F],P=b[F],N=L.$$bindings.bindToController;if(D){N?P.bindingInfo=xe($,A,P.instance,N,L):P.bindingInfo={};var I=P();I!==P.instance&&(P.instance=I,M.data("$"+L.name+"Controller",I),P.bindingInfo.removeWatches&&P.bindingInfo.removeWatches(),P.bindingInfo=xe($,A,P.instance,N,L))}else P.instance=P(),M.data("$"+L.name+"Controller",P.instance),P.bindingInfo=xe($,A,P.instance,N,L)}for(r(k,function(e,t){var n=e.require;e.bindToController&&!li(n)&&y(n)&&l(b[t].instance,re(t,n,M,b))}),r(b,function(e){var t=e.instance;if(_(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(n){i(n)}if(_(t.$onInit))try{t.$onInit()}catch(n){i(n)}_(t.$doCheck)&&($.$watch(function(){t.$doCheck()}),t.$doCheck()),_(t.$onDestroy)&&$.$on("$destroy",function(){t.$onDestroy()})}),h=0,p=u.length;h=0;h--)m=c[h],we(m,m.isolateScope?g:o,M,A,m.require&&re(m.directiveName,m.require,M,b),w);r(b,function(e){var t=e.instance;_(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,$,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,C=f.newIsolateScopeDirective,S=f.templateDirective,M=f.nonTlbTranscludeDirective,A=!1,T=!1,O=f.hasElementTranscludeDirective,F=n.$$element=Jr(t),L=s,P=o,N=!1,U=!1,j=0,V=e.length;jp.priority)break;if(b=p.scope,b&&(p.templateUrl||(y(b)?(he("new/isolated scope",C||x,p,F),C=p):he("new/isolated scope",C,p,F)),x=x||p),m=p.name,!N&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var B,G=j+1;B=e[G++];)if(B.transclude&&!B.$$tlb||B.replace&&(B.templateUrl||B.template)){U=!0;break}N=!0}if(!p.templateUrl&&p.controller&&(k=k||ge(),he("'"+m+"' controller",k[m],p,F),k[m]=p),b=p.transclude)if(A=!0,p.$$tlb||(he("transclusion",M,p,F),M=p),"element"===b)O=!0,w=p.priority,g=F,F=n.$$element=Jr(Y.$$createComment(m,n[m])),t=F[0],ye(a,z(g),t),g[0].$$parentNode=g[0].parentNode,P=te(U,g,o,w,L&&L.name,{nonTlbTranscludeDirective:M});else{var Z=ge();if(y(b)){g=[];var K=ge(),ne=ge();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,K[e]=t,Z[t]=null,ne[t]=n}),r(F.contents(),function(e){var t=K[xt(I(e))];t?(ne[t]=!0,Z[t]=Z[t]||[],Z[t].push(e)):g.push(e)}),r(ne,function(e,t){if(!e)throw oo("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ae in Z)Z[ae]&&(Z[ae]=te(U,Z[ae],o))}else g=Jr(Pe(t)).contents();F.empty(),P=te(U,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),P.$$slots=Z}if(p.template)if(T=!0,he("template",S,p,F),S=p,b=_(p.template)?p.template(F,n):p.template,b=Oe(b),p.replace){if(L=p,g=Ee(b)?[]:_t(me(p.templateNamespace,fi(b))),t=g[0],1!==g.length||t.nodeType!==bi)throw oo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");ye(a,F,t);var se={$attr:{}},le=Q(t,[],se),fe=e.splice(j+1,e.length-(j+1));(C||x)&&oe(le,C,x),e=e.concat(le).concat(fe),ue(n,se),V=e.length}else F.html(b);if(p.templateUrl)T=!0,he("template",S,p,F),S=p,p.replace&&(L=p),h=ce(e.splice(j,e.length-j),F,n,a,A&&P,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:C,templateDirective:S,nonTlbTranscludeDirective:M}),V=e.length;else if(p.compile)try{$=p.compile(F,n,P);var de=p.$$originalDirective||p;_($)?d(null,q(de,$),H,W):$&&d(q(de,$.pre),q(de,$.post),H,W)}catch(pe){i(pe,J(F))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=A,h.templateOnThisElement=T,h.transclude=P,f.hasElementTranscludeDirective=O,h}function re(e,t,n,i){var o;if(w(t)){var a=t.match(C),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw oo("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(li(t)){o=[];for(var f=0,d=t.length;fc.priority)&&c.restrict.indexOf(r)!==-1){if(s&&(c=d(c,{$$start:s,$$end:u})),!c.$$bindings){var $=c.$$bindings=a(c,c.name);y($.isolateScope)&&(c.$$isolateBindings=$.isolateScope)}e.push(c),l=c}return l}function se(e){if(f.hasOwnProperty(e))for(var n,r=t.get(e+g),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default:return n}}function ve(e,t){if("srcdoc"===t)return m.HTML;var n=I(e);if("src"===t||"ngSrc"===t){if(["img","video","audio","source","track"].indexOf(n)===-1)return m.RESOURCE_URL}else if("xlinkHref"===t||"form"===n&&"action"===t||"link"===n&&"href"===t)return m.RESOURCE_URL}function $e(e,t,r,i,o){var a=ve(e,i),s=!o,u=k[i]||o,l=n(r,s,a,u);if(l){if("multiple"===i&&"select"===I(e))throw oo("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));if(S.test(i))throw oo("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var s=o.$$observers||(o.$$observers=ge()),c=o[i];c!==r&&(l=c&&n(c,!0,a,u),r=c),l&&(o[i]=l(e),(s[i]||(s[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(l,function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)}))}}}})}}function ye(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i0&&M.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&M.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=kt(e,t);n&&n.length&&M.addClass(this.$$element,n);var r=kt(t,e);r&&r.length&&M.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Je(s,e),l=Ke(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=le(e,"-"))),a=I(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=P(t,"src"===e);else if("img"===a&&"srcset"===e&&$(t)){for(var f="",d=fi(t),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,p=/\s/.test(d)?h:/(,)/,m=d.split(p),g=Math.floor(m.length/2),y=0;y0?" ":"")+a}return n}function _t(e){e=Jr(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===ki||n.nodeType===xi&&""===n.nodeValue.trim())&&ti.call(e,t,1)}return e}function Ct(e,t){if(t&&w(t))return t;if(w(e)){var n=co.exec(e);if(n)return n[3]}}function St(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){he(t,"controller"),y(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!y(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(co),!f)throw lo("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);if(d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:pe(a.$scope,d,!0)||(n?pe(i,d,!0):void 0),!t)throw lo("ctrlreg","The controller with the name '{0}' is not registered.",d);de(t,d,!0)}if(s){var p=(li(t)?t[t.length-1]:t).prototype;return c=Object.create(p||null),h&&o(a,h,c,d||t.name),l(function(){var e=r.invoke(t,c,a,d);return e!==c&&(y(e)||_(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function Et(){this.$get=["$window",function(e){return Jr(e.document)}]}function Mt(){this.$get=["$document","$rootScope",function(e,t){function n(){i=r.hidden}var r=e[0],i=r&&r.hidden;return e.on("visibilitychange",n),t.$on("$destroy",function(){e.off("visibilitychange",n)}),function(){return i}}]}function At(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function Dt(e){return y(e)?k(e)?e.toISOString():W(e):e}function Tt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(li(e)?r(e,function(e){t.push(ne(n)+"="+ne(Dt(e)))}):t.push(ne(n)+"="+ne(Dt(e))))}),t.join("&")}}}function Ot(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(li(e)?r(e,function(e,n){t(e,o+"["+(y(e)?n:"")+"]")}):y(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(o)+"="+ne(Dt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function Ft(e,t){if(w(e)){var n=e.replace(vo,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(ho)||Lt(n))&&(e=B(n))}}return e}function Lt(e){var t=e.match(mo);return t&&go[t[0]].test(e)}function Pt(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=ge();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Wr(fi(e.substr(0,n))),fi(e.substr(n+1)))}):y(e)&&r(e,function(e,n){t(Wr(n),fi(e))}),i}function Nt(e){var t;return function(n){if(t||(t=Pt(e)),n){var r=t[Wr(n)];return void 0===r&&(r=null),r}return t}}function It(e,t,n,i){return _(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function Rt(e){return 200<=e&&e<300}function Ut(){var e=this.defaults={transformResponse:[Ft],transformRequest:[function(e){return!y(e)||M(e)||D(e)||A(e)?e:W(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ye(po),put:ye(po),patch:ye(po)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},n=!1;this.useApplyAsync=function(e){return $(e)?(n=!!e,this):n};var i=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,a,s,u,c,f,d,p){function m(n){function i(e,t){for(var n=0,r=t.length;n=-1?n:0,(Rt(n)?x.resolve:x.reject)({data:e,status:n,headers:Nt(r),config:t,statusText:i})}function d(e){l(e.data,e.status,ye(e.headers()),e.statusText)}function h(){var e=m.pendingRequests.indexOf(t);e!==-1&&m.pendingRequests.splice(e,1)}var g,b,x=f.defer(),_=x.promise,E=t.headers,M="jsonp"===Wr(t.method),A=t.url; +if(M?A=p.getTrustedResourceUrl(A):w(A)||(A=p.valueOf(A)),A=k(A,t.paramSerializer(t.params)),M&&(A=C(A,t.jsonpCallbackParam)),m.pendingRequests.push(t),_.then(h,h),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(g=y(t.cache)?t.cache:y(e.cache)?e.cache:S),g&&(b=g.get(A),$(b)?O(b)?b.then(d,d):li(b)?l(b[1],b[0],ye(b[2]),b[3]):l(b,200,{},"OK"):g.put(A,_)),v(b)){var D=Rn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;D&&(E[t.xsrfHeaderName||e.xsrfHeaderName]=D),a(t.method,A,i,u,E,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return _}function k(e,t){return t.length>0&&(e+=(e.indexOf("?")===-1?"?":"&")+t),e}function C(e,t){if(/[&?][^=]+=JSON_CALLBACK/.test(e))throw $o("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);var n=new RegExp("[&?]"+t+"=");if(n.test(e))throw $o("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e);return e+=(e.indexOf("?")===-1?"?":"&")+t+"=JSON_CALLBACK"}var S=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var E=[];return r(i,function(e){E.unshift(w(e)?d.get(e):d.invoke(e))}),m.pendingRequests=[],g("get","delete","head","jsonp"),b("post","put","patch"),m.defaults=e,m}]}function jt(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Vt(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Ht(e,r,e.defer,t,n[0])}]}function Ht(e,t,n,i,o){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){r.removeEventListener("load",a),r.removeEventListener("error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},r.addEventListener("load",a),r.addEventListener("error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,h,p,m){function g(){w&&w(),x&&x.abort()}function y(e,t,r,i,o){$(C)&&n.cancel(C),w=x=null,e(t,r,i,o)}if(s=s||e.url(),"jsonp"===Wr(o))var b=i.createCallback(s),w=a(s,b,function(e,t){var n=200===e&&i.getResponse(b);y(l,e,n,"",t),i.removeCallback(b)});else{var x=t(o,s);x.open(o,s,!0),r(c,function(e,t){$(e)&&x.setRequestHeader(t,e)}),x.onload=function(){var e=x.statusText||"",t="response"in x?x.response:x.responseText,n=1223===x.status?204:x.status;0===n&&(n=t?200:"file"===In(s).protocol?404:0),y(l,n,t,x.getAllResponseHeaders(),e)};var k=function(){y(l,-1,null,null,"")};if(x.onerror=k,x.onabort=k,x.ontimeout=k,r(p,function(e,t){x.addEventListener(t,e)}),r(m,function(e,t){x.upload.addEventListener(t,e)}),d&&(x.withCredentials=!0),h)try{x.responseType=h}catch(_){if("json"!==h)throw _}x.send(v(u)?null:u)}if(f>0)var C=n(g,f);else O(f)&&f.then(g)}}function zt(){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,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function u(o,u,d,h){function p(e){try{return e=T(e),h&&!$(e)?e:ve(e)}catch(t){r(yo.interr(o,t))}}if(!o.length||o.indexOf(e)===-1){var g;if(!u){var y=a(o);g=m(y),g.exp=o,g.expressions=[],g.$$watchDelegate=s}return g}h=!!h;for(var b,w,x,k=0,C=[],S=[],E=o.length,M=[],A=[];k1&&yo.throwNoconcat(o),!u||C.length){var D=function(e){for(var t=0,n=C.length;t4,d=f?z(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=$(l)&&!l,v=(g?r:n).defer(),y=v.promise;return u=$(u)?u:0,y.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p(y.$$intervalId),delete a[y.$$intervalId]),g||e.$apply()},s),a[y.$$intervalId]=v,y}var a={};return o.cancel=function(e){return!!(e&&e.$$intervalId in a)&&(a[e.$$intervalId].promise["catch"](h),a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0)},o}]}function Yt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Wt(e,t){var n=In(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||xo[n.protocol]||null}function Bt(e,t){if(_o.test(e))throw ko("badpath",'Invalid url "{0}".',e);var n="/"!==e.charAt(0);n&&(e="/"+e);var r=In(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=X(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Gt(e,t){return e.slice(0,t.length)===t}function Zt(e,t){if(Gt(t,e))return t.substr(e.length)}function Qt(e){var t=e.indexOf("#");return t===-1?e:e.substr(0,t)}function Jt(e){return e.replace(/(#.+)|#$/,"$1")}function Kt(e){return e.substr(0,Qt(e).lastIndexOf("/")+1)}function Xt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function en(e,t,n){this.$$html5=!0,n=n||"",Wt(e,this),this.$$parse=function(e){var n=Zt(t,e);if(!w(n))throw ko("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Bt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),n=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Yt(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 $(o=Zt(e,r))?(a=o,s=n&&$(o=Zt(n,o))?t+(Zt("/",o)||o):e+a):$(o=Zt(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function tn(e,t,n){Wt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return Gt(t,n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=Zt(e,r)||Zt(t,r);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=Zt(n,a),v(o)&&(o=a)),Bt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Yt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Qt(e)===Qt(t)&&(this.$$parse(t),!0)}}function nn(e,t,n){this.$$html5=!0,tn.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e===Qt(r)?o=r:(a=Zt(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Yt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function rn(e){return function(){return this[e]}}function on(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function an(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return T(e)?(t.enabled=e,this):y(e)?(T(e.enabled)&&(t.enabled=e.enabled),T(e.requireBase)&&(t.requireBase=e.requireBase),(T(e.rewriteLinks)||w(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,d=r.baseHref(),h=r.url();if(t.enabled){if(!d&&t.requireBase)throw ko("nobase","$location in HTML5 mode requires a tag to be present!");f=Xt(h)+(d||"/"),c=i.history?en:nn}else f=Qt(h),c=tn;var p=Kt(f);l=new c(f,p,"#"+e),l.$$parseLinkUrl(h,h),l.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var s=Jr(e.target);"a"!==I(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!w(i)||!v(s.attr(i))){var u=s.prop("href"),c=s.attr("href")||s.attr("xlink:href");y(u)&&"[object SVGAnimatedString]"===u.toString()&&(u=In(u.animVal).href),m.test(u)||!u||s.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(u,c)&&(e.preventDefault(),l.absUrl()!==r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}}),Jt(l.absUrl())!==Jt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return Gt(e,p)?(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=Jt(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)):(g=!1,u(i,o)))}),void(n.$$phase||n.$digest())):void(a.location.href=e)}),n.$watch(function(){var e=Jt(r.url()),t=Jt(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(g||c)&&(g=!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 sn(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&e.stack.indexOf(e.message)===-1?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function un(e){return e+""}function ln(e,t){return"undefined"!=typeof e?e:t}function cn(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function fn(e,t){var n=e(t);return!n.$stateful}function dn(e,t){var n,i,o;switch(e.type){case To.Program:n=!0,r(e.body,function(e){dn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case To.Literal:e.constant=!0,e.toWatch=[];break;case To.UnaryExpression:dn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case To.BinaryExpression:dn(e.left,t),dn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case To.LogicalExpression:dn(e.left,t),dn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case To.ConditionalExpression:dn(e.test,t),dn(e.alternate,t),dn(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case To.Identifier:e.constant=!1,e.toWatch=[e];break;case To.MemberExpression:dn(e.object,t),e.computed&&dn(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case To.CallExpression:o=!!e.filter&&fn(t,e.callee.name),n=o,i=[],r(e.arguments,function(e){dn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=o?i:[e];break;case To.AssignmentExpression:dn(e.left,t),dn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case To.ArrayExpression:n=!0,i=[],r(e.elements,function(e){dn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case To.ObjectExpression:n=!0,i=[],r(e.properties,function(e){dn(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case To.ThisExpression:e.constant=!1,e.toWatch=[];break;case To.LocalsExpression:e.constant=!1,e.toWatch=[]}}function hn(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function pn(e){return e.type===To.Identifier||e.type===To.MemberExpression}function mn(e){if(1===e.body.length&&pn(e.body[0].expression))return{type:To.AssignmentExpression,left:e.body[0].expression,right:{type:To.NGValueParameter},operator:"="}}function gn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===To.Literal||e.body[0].expression.type===To.ArrayExpression||e.body[0].expression.type===To.ObjectExpression)}function vn(e){return e.constant}function $n(e,t){this.astBuilder=e,this.$filter=t}function yn(e,t){this.astBuilder=e,this.$filter=t}function bn(e){return _(e.valueOf)?e.valueOf():Eo.call(e)}function wn(){var e,t,n=ge(),i={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(o){function a(e,t){var r,i,a;switch(typeof e){case"string":if(e=e.trim(),a=e,r=n[a],!r){":"===e.charAt(0)&&":"===e.charAt(1)&&(i=!0,e=e.substring(2));var s=new Do(m),p=new Oo(s,o,m);r=p.parse(e),r.constant?r.$$watchDelegate=f:i?r.$$watchDelegate=r.literal?c:l:r.inputs&&(r.$$watchDelegate=u),n[a]=r}return d(r,t);case"function":return d(e,t);default:return d(h,t)}}function s(e,t){return null==e||null==t?e===t:("object"!=typeof e||(e=bn(e),"object"!=typeof e))&&(e===t||e!==e&&t!==t)}function u(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var u=s;return a=a[0],e.$watch(function(e){var t=a(e);return s(t,u)||(o=r(e,void 0,void 0,[t]),u=t&&bn(t)),o},t,n,i)}for(var l=[],c=[],f=0,d=a.length;f0&&f(this.$$state),r},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return b(t,A,e)},function(t){return b(t,$,e)},t)}});var A=w;return C.prototype=s.prototype,C.defer=o,C.reject=$,C.when=w,C.resolve=A,C.all=x,C.race=k,C}function Cn(){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 Sn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return t.prototype=e,t}var i=10,o=t("$rootScope"),s=null,u=null;this.digestTtl=function(e){return arguments.length&&(i=e),i},this.$get=["$exceptionHandler","$parse","$browser",function(t,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Qr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=a(),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 m(e){if(C.$$phase)throw o("inprog","{0} already in progress",C.$$phase);C.$$phase=e}function g(){C.$$phase=null}function $(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function b(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function w(){}function x(){for(;M.length;)try{M.shift()()}catch(e){t(e)}u=null}function k(){null===u&&(u=c.defer(function(){C.$apply(x)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,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,a=o.$$watchers,u={fn:t,last:w,get:i,exp:r||e,eq:!!n};return s=null,_(t)||(u.fn=h),a||(a=o.$$watchers=[],a.$$digestWatchIndex=-1),a.unshift(u),a.$$digestWatchIndex++,$(this,1),function(){var e=U(a,u);e>=0&&($(o,-1),et){f++;for(r in a)Yr.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(y(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,$,y=i,b=this,k=[];m("$digest"),c.$$checkUrlChange(),this===C&&null!==u&&(c.defer.cancel(u),x()),s=null;do{d=!1,p=b;for(var M=0;M-1)throw Fo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=di(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(C(e))return new RegExp("^"+e.source+"$");throw Fo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Dn(e){var t=[];return $(e)&&r(e,function(e){t.push(An(e))}),t}function Tn(){this.SCE_CONTEXTS=Lo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Dn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Dn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Rn(t):!!e.exec(t.href)}function i(n){var i,o,a=In(n.toString()),s=!1;for(i=0,o=e.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=ye(Lo);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(Lo,function(e,t){var n=Wr(t);i[Mn("parse_as_"+n)]=function(t){return o(e,t)},i[Mn("get_trusted_"+n)]=function(t){return a(e,t)},i[Mn("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Fn(){this.$get=["$window","$document",function(e,t){var n={},r=e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id),i=!r&&e.history&&e.history.pushState,o=f((/android (\d+)/.exec(Wr((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=s.body&&s.body.style,l=!1,c=!1;return u&&(l=!!("transition"in u||"webkitTransition"in u),c=!!("animation"in u||"webkitAnimation"in u)),{history:!(!i||o<4||a),hasEvent:function(e){if("input"===e&&Qr)return!1;if(v(n[e])){var t=s.createElement("div");n[e]="on"+e in t}return n[e]},csp:hi(),transitions:l,animations:c,android:o}}]}function Ln(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,o){function a(s,u){function c(e){return u||(e=No("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e)),i.reject(e)}a.totalPendingRequests++,w(s)&&!v(n.get(s))||(s=o.getTrustedResourceUrl(s));var f=r.defaults&&r.defaults.transformResponse;return li(f)?f=f.filter(function(e){return e!==Ft}):f===Ft&&(f=null),r.get(s,l({cache:n,transformResponse:f},e))["finally"](function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data),e.data},c)}return a.totalPendingRequests=0,a}]}function Pn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=ai.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+di(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else r.indexOf(t)!==-1&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(l=n(a.substring(0,u)),v(i[l])&&(i[l]=n(a.substring(u+1))));return i}}function Vn(){this.$get=jn}function Hn(e){function t(i,o){if(y(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Bn),t("date",ur),t("filter",zn),t("json",lr),t("limitTo",cr),t("lowercase",Yo),t("number",Gn),t("orderBy",dr),t("uppercase",Wo)}function zn(){return function(e,r,i,o){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}o=o||"$";var a,s,u=Wn(r);switch(u){case"function":a=r;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=qn(r,i,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function qn(e,t,n,r){var i,o=y(e)&&n in e;return t===!0?t=V:_(t)||(t=function(e,t){return!v(e)&&(null===e||null===t?e===t:!(y(t)||y(e)&&!g(e))&&(e=Wr(""+e),t=Wr(""+t),e.indexOf(t)!==-1))}),i=function(i){return o&&!y(i)?Yn(i,e[n],t,n,!1):Yn(i,e,t,n,r)}}function Yn(e,t,n,r,i,o){var a=Wn(e),s=Wn(t);if("string"===s&&"!"===t.charAt(0))return!Yn(e,t.substring(1),n,r,i);if(li(e))return e.some(function(e){return Yn(e,t,n,r,i)});switch(a){case"object":var u;if(i){for(u in e)if("$"!==u.charAt(0)&&Yn(e[u],t,n,r,!0))return!0;return!o&&Yn(e,t,n,r,!1)}if("object"===s){for(u in t){var l=t[u];if(!_(l)&&!v(l)){var c=u===r,f=c?e:e[u];if(!Yn(f,l,n,r,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Wn(e){return null===e?"null":typeof e}function Bn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Jn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Gn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Jn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Zn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(jo))>-1&&(e=e.replace(jo,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)===Vo;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===Vo;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>Uo&&(t=t.splice(0,Uo-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=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u=5)if(a-1<0){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o0?h=c.splice(f,c.length):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Kn(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&n===-12&&(a=12),Kn(a,t,r,i)}}function er(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Br(a+e);return i[s][o]}}function tr(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Kn(Math[r>0?"floor":"ceil"](r/60),2)+Kn(Math.abs(r%60),2)}function nr(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function rr(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function ir(e){return function(t){var n=nr(t.getFullYear()),r=rr(t),i=+r-+n,o=1+Math.round(i/6048e5);return Kn(o,e)}}function or(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function ar(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function sr(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function ur(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=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),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,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=qo.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=zo.exec(i),s?(l=H(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=G(o,c),n=Q(n,o,!0)),r(l,function(t){a=Ho[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function lr(){return function(e,t){return v(t)&&(t=2),W(e,t)}}function cr(){return function(e,t,r){return t=Math.abs(Number(t))===1/0?Number(t):f(t),ui(t)?e:(x(e)&&(e=e.toString()),n(e)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,e.length+r):r,t>=0?fr(e,r,r+t):0===r?fr(e,t,e.length):fr(e,Math.max(0,r+t),r)):e)}}function fr(e,t,n){return w(e)?e.slice(t,n):ei.call(e,t,n)}function dr(e){function r(t){return t.map(function(t){var n=1,r=p;if(_(t))r=t;else if(w(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant))){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return _(e.valueOf)&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:e}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=o(e)),{value:e,type:n,index:t}}function s(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(y(o)&&(o=e.index),y(a)&&(a=t.index)),o!==a&&(n=o=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if($(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function Cr(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(qr)||{};return n.badInput||n.typeMismatch?void 0:e})}function Sr(e){e.$$parserName="number",e.$parsers.push(function(t){return e.$isEmpty(t)?null:ia.test(t)?parseFloat(t):void 0}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!x(t))throw ja("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function Er(e){return $(e)&&!x(e)&&(e=parseFloat(e)),ui(e)?void 0:e}function Mr(e){return(0|e)===e}function Ar(e){var t=e.toString(),n=t.indexOf(".");if(n===-1){if(-1=a},n.$observe("min",function(e){a=Er(e),r.$validate()})),($(n.max)||n.ngMax)&&(r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||e<=s},n.$observe("max",function(e){s=Er(e),r.$validate()})),$(n.step)||n.ngStep){var u;r.$validators.step=function(e,t){return r.$isEmpty(t)||v(u)||Dr(t,a||0,u)},n.$observe("step",function(e){u=Er(e),r.$validate()})}}function Or(e,t,n,r,i,o){function a(e,r){t.attr(e,n[e]),n.$observe(e,r)}function s(e){if(f=Er(e),!ui(r.$modelValue))if(c){var n=t.val();f>n&&(n=f,t.val(n)),r.$setViewValue(n)}else r.$validate()}function u(e){if(d=Er(e),!ui(r.$modelValue))if(c){var n=t.val();d=f},a("min",s)),g&&(r.$validators.max=c?function(){return!0}:function(e,t){return r.$isEmpty(t)||v(d)||t<=d},a("max",u)),y&&(r.$validators.step=c?function(){return!p.stepMismatch}:function(e,t){return r.$isEmpty(t)||v(h)||Dr(t,f||0,h)},a("step",l))}function Fr(e,t,n,r,i,o){wr(e,t,n,r,i,o),yr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||na.test(n)}}function Lr(e,t,n,r,i,o){wr(e,t,n,r,i,o),yr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||ra.test(n)}}function Pr(e,t,n,r){var i=!n.ngTrim||"false"!==fi(n.ngTrim);v(n.name)&&t.attr("name",a());var o=function(e){var o;t[0].checked&&(o=n.value,i&&(o=fi(o)),r.$setViewValue(o,e&&e.type))};t.on("click",o),r.$render=function(){var e=n.value;i&&(e=fi(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)}function Nr(e,t,n,r,i){var o;if($(r)){if(o=e(r),!o.constant)throw ja("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function Ir(e,t,n,r,i,o,a,s){var u=Nr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=Nr(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 V(e,u)}),r.$parsers.push(function(e){return e?u:l})}function Rr(e,t){function n(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r0||C[e])&&(C[e]=(C[e]||0)+t,C[e]===+(t>0)&&n.push(e))}),n.join(" ")}function g(e){e===t?d(y):h(y),S=e}function v(e){var t=o(e);t!==y&&$(t)}function $(e){S===t&&p(y,e),y=e}var y,b=f[e].trim(),w=":"===b.charAt(0)&&":"===b.charAt(1),x=w?a:o,k=u(b,x),_=w?v:$,C=c.data("$classCounts"),S=!0;C||(C=ge(),c.data("$classCounts",C)),"ngClass"!==e&&(s||(s=u("$index",function(e){return 1&e})),l.$watch(s,g)),l.$watch(k,_,w)}}}]}function Ur(e,t,n,r,i,o,a,s,u){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,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=void 0,this.$name=u(n.name||"",!1)(e),this.$$parentForm=Zo,this.$options=Va,this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$currentValidationRunId=0,this.$$scope=e,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,gr(this),jr(this)}function jr(e){e.$$scope.$watch(function(){var t=e.$$ngModelGet(e.$$scope);if(t!==e.$modelValue&&(e.$modelValue===e.$modelValue||t===t)){e.$modelValue=e.$$rawModelValue=t,e.$$parserValid=void 0;for(var n=e.$formatters,r=n.length,i=t;r--;)i=n[r](i);e.$viewValue!==i&&(e.$$updateEmptyClasses(i),e.$viewValue=e.$$lastCommittedViewValue=i,e.$render(),e.$$runValidators(e.$modelValue,e.$viewValue,h))}return t})}function Vr(e){this.$$options=e}function Hr(e,t){r(t,function(t,n){$(e[n])||(e[n]=t)})}var zr=/^\/(.+)\/([a-z]*)$/,qr="validity",Yr=Object.prototype.hasOwnProperty,Wr=function(e){return w(e)?e.toLowerCase():e},Br=function(e){return w(e)?e.toUpperCase():e},Gr=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Zr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)&-33)}):e};"i"!=="I".toLowerCase()&&(Wr=Gr,Br=Zr);var Qr,Jr,Kr,Xr,ei=[].slice,ti=[].splice,ni=[].push,ri=Object.prototype.toString,ii=Object.getPrototypeOf,oi=t("ng"),ai=e.angular||(e.angular={}),si=0;Qr=e.document.documentMode;var ui=Number.isNaN||function(e){return e!==e};h.$inject=[],p.$inject=[];var li=Array.isArray,ci=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,fi=function(e){return w(e)?e.trim():e},di=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#(?:<\/\1>|)$/,Li=/<|&#?\w+;/,Pi=/<([\w:-]+)/,Ni=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ii={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};Ii.optgroup=Ii.option,Ii.tbody=Ii.tfoot=Ii.colgroup=Ii.caption=Ii.thead,Ii.th=Ii.td;var Ri=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},Ui=Le.prototype={ready:Qe,toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Jr(e>=0?this[e]:this[this.length+e])},length:0,push:ni,sort:[].sort,splice:[].splice},ji={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){ji[Wr(e)]=e});var Vi={};r("input,select,option,textarea,button,form,details".split(","),function(e){Vi[e]=!0});var Hi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};r({data:je,removeData:Re,hasData:Ae,cleanData:De},function(e,t){Le[t]=e}),r({data:je,inheritedData:We,scope:function(e){return Jr.data(e,"$scope")||We(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Jr.data(e,"$isolateScope")||Jr.data(e,"$isolateScopeNoTemplate")},controller:Ye,injector:function(e){return We(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Ve,css:function(e,t,n){return t=_e(t),$(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r,i=e.nodeType;if(i!==xi&&i!==wi&&i!==ki&&e.getAttribute){var o=Wr(t),a=ji[o];return $(n)?void(null===n||n===!1&&a?e.removeAttribute(t):e.setAttribute(t,a?o:n)):(r=e.getAttribute(t),a&&null!==r&&(r=o),null===r?void 0:r)}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===bi||n===xi?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===I(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Ne(e,!0),void(e.innerHTML=t))},empty:Be},function(e,t){Le.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Be&&v(2===e.length&&e!==Ve&&e!==Ye?t:n)){if(y(t)){for(r=0;r=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,a)),s.push(n)};u--;)t=s[u],Ti[t]?(l(Ti[t],tt),l(t,void 0,!0)):l(t)}},off:Ie,one:function(e,t,n){e=Jr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Ne(e),r(new Le(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===bi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===bi||n===Ci){t=new Le(t);for(var r=0,i=t.length;r/,Yi=/^[^(]*\(\s*([^)]*)\)/m,Wi=/,/,Bi=/^\s*(_?)(\S+?)\1\s*$/,Gi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Zi=t("$injector");lt.$$annotate=ut;var Qi=t("$animate"),Ji=1,Ki="ng-animate",Xi=function(){this.$get=h},eo=function(){var e=new it,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):li(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=ht(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&ze(e,o),a&&He(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,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}}}]},to=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Qi("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+|\\/)"+Ki+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Qi("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ki)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=dt(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&&Jr(r),i=i&&Jr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",pt(o))},move:function(n,r,i,o){return r=r&&Jr(r),i=i&&Jr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",pt(o))},leave:function(t,n){return e.push(t,"leave",pt(n),function(){t.remove()})},addClass:function(t,n,r){return r=pt(r),r.addClass=ft(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=pt(r),r.removeClass=ft(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=pt(i),i.addClass=ft(i.addClass,n),i.removeClass=ft(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=pt(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=ft(o.tempClasses,i),e.push(t,"animate",o)}}}]}],no=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){Mo[e]=!0});var Ao={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},Do=function(e){this.options=e};Do.prototype={constructor:Do,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw So("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:To.Program,body:e}},expressionStatement:function(){return{type:To.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!pn(e))throw So("lval","Trying to assign a value to a non l-value");e={type:To.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:To.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:To.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:To.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:To.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:To.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:To.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:To.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:To.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.selfReferential.hasOwnProperty(this.peek().text)?e=j(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:To.Literal,value:this.options.literals[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:To.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:To.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:To.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:To.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.filterChain());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:To.Identifier,name:e.text}},constant:function(){return{type:To.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:To.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:To.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:To.ObjectExpression,properties:t}},throwError:function(e,t){throw So("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 So("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 So("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)},selfReferential:{"this":{type:To.ThisExpression},$locals:{type:To.LocalsExpression}}},$n.prototype={compile:function(e){var t=this,n=this.astBuilder.ast(e);this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},dn(n,t.$filter);var i,o="";if(this.stage="assign",i=mn(n)){this.state.computing="assign";var a=this.nextId();this.recurse(i,a),this.return_(a),o="fn.assign="+this.generateFunction("assign","s,v,l")}var s=hn(n.body);t.stage="inputs",r(s,function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var i=t.nextId();t.recurse(e,i),t.return_(i),t.state.inputs.push(r),e.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(n);var u='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+o+this.watchFns()+"return fn;",l=new Function("$filter","getStringValue","ifDefined","plus",u)(this.$filter,un,ln,cn);return this.state=this.stage=void 0,l.literal=gn(n),l.constant=vn(n),l},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(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 r(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,n,i,o,a){var s,u,l,c,f,d=this;if(i=i||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case To.Program:r(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case To.Literal:c=this.escape(e.value),this.assign(t,c),i(t||c);break;case To.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case To.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case To.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),i(t);break;case To.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),i(t);break;case To.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&d.if_(d.isNull(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))),i(t);break;case To.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),o&&1!==o&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),c=d.computedMember(s,u),d.assign(t,c),n&&(n.computed=!0,n.name=u)):(o&&1!==o&&d.if_(d.isNull(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),c=d.nonComputedMember(s,e.property.name),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case To.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),i(t)):(u=d.nextId(),s={},l=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){r(e.arguments,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c=s.name?d.member(s.context,s.name,s.computed)+"("+l.join(",")+")":u+"("+l.join(",")+")",d.assign(t,c)},function(){d.assign(t,"undefined")}),i(t)}));break;case To.AssignmentExpression:u=this.nextId(),s={},this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),i(t||c)})},1);break;case To.ArrayExpression:l=[],r(e.elements,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(t||c);break;case To.ObjectExpression:l=[],f=!1,r(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),r(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===To.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(r(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===To.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),i(t||c);break;case To.ThisExpression:this.assign(t,"s"),i(t||"s");break;case To.LocalsExpression:this.assign(t,"l"),i(t||"l");break;case To.NGValueParameter:this.assign(t,"v"),i(t||"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){if(e)return this.current().body.push(e,"=",t,";"),e},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+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},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(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(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 So("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]}},yn.prototype={compile:function(e){var t=this,n=this.astBuilder.ast(e);dn(n,t.$filter);var i,o;(i=mn(n))&&(o=this.recurse(i));var a,s=hn(n.body);s&&(a=[],r(s,function(e,n){var r=t.recurse(e);e.input=r,a.push(r),e.watchId=n}));var u=[];r(n.body,function(e){u.push(t.recurse(e.expression))});var l=0===n.body.length?h:1===n.body.length?u[0]:function(e,t){var n;return r(u,function(r){n=r(e,t)}),n};return o&&(l.assign=function(e,t,n){return o(e,n,t)}),a&&(l.inputs=a),l.literal=gn(n),l.constant=vn(n),l},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case To.Literal:return this.value(e.value,t);case To.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case To.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case To.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case To.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case To.Identifier:return s.identifier(e.name,t,n);case To.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n):this.nonComputedMember(i,o,t,n);case To.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":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:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,o,a){var s=i&&e in i?i:r;n&&1!==n&&s&&null==s[e]&&(s[e]={});var u=s?s[e]:void 0;return t?{context:s,name:e,value:u}:u}},computedMember:function(e,t,n,r){return function(i,o,a,s){var u,l,c=e(i,o,a,s);return null!=c&&(u=t(i,o,a,s),u=un(u),r&&1!==r&&c&&!c[u]&&(c[u]={}),l=c[u]),n?{context:c,name:u,value:l}:l}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s);r&&1!==r&&u&&null==u[t]&&(u[t]={});var l=null!=u?u[t]:void 0;return n?{context:u,name:t,value:l}:l}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var Oo=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new To(e,n),this.astCompiler=n.csp?new yn(this.ast,t):new $n(this.ast,t)};Oo.prototype={constructor:Oo,parse:function(e){return this.astCompiler.compile(e)}};var Fo=t("$sce"),Lo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Po=/_([a-z])/g,No=t("$compile"),Io=e.document.createElement("a"),Ro=In(e.location.href);jn.$inject=["$document"],Hn.$inject=["$provide"];var Uo=22,jo=".",Vo="0";Bn.$inject=["$locale"],Gn.$inject=["$locale"];var Ho={yyyy:Xn("FullYear",4,0,!1,!0),yy:Xn("FullYear",2,0,!0,!0),y:Xn("FullYear",1,0,!1,!0),MMMM:er("Month"),MMM:er("Month",!0),MM:Xn("Month",2,1),M:Xn("Month",1,1),LLLL:er("Month",!1,!0),dd:Xn("Date",2),d:Xn("Date",1),HH:Xn("Hours",2),H:Xn("Hours",1),hh:Xn("Hours",2,-12),h:Xn("Hours",1,-12),mm:Xn("Minutes",2),m:Xn("Minutes",1),ss:Xn("Seconds",2),s:Xn("Seconds",1),sss:Xn("Milliseconds",3),EEEE:er("Day"),EEE:er("Day",!0),a:or,Z:tr,ww:ir(2),w:ir(1),G:ar,GG:ar,GGG:ar,GGGG:sr},zo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,qo=/^-?\d+$/;ur.$inject=["$locale"];var Yo=m(Wr),Wo=m(Br);dr.$inject=["$parse"];var Bo=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===ri.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Go={};r(ji,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!==e){var r=xt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Go[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Hi,function(e,t){Go[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(zr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=xt("ng-"+e);Go[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===ri.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(Qr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Zo={$addControl:h,$$renameControl:pr,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},Qo="ng-pending",Jo="ng-submitted";mr.$inject=["$element","$attrs","$scope","$animate","$interpolate"],mr.prototype={$rollbackViewValue:function(){r(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){r(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){he(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],r(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),r(this.$error,function(t,n){this.$setValidity(n,null,e)},this),r(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),U(this.$$controls,e),e.$$parentForm=Zo},$setDirty:function(){this.$$animate.removeClass(this.$$element,La),this.$$animate.addClass(this.$$element,Pa),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,La,Pa+" "+Jo),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,r(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){r(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,Jo),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},vr({clazz:mr,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);i===-1&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(U(r,n),0===r.length&&delete e[t])}});var Ko=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:mr,compile:function(n,i){n.addClass(La).addClass(Oa);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",u),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,Zo)})}}}};return i}]},Xo=Ko(),ea=Ko(!0),ta=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,na=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,ra=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,ia=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,oa=/^(\d{4,})-(\d{2})-(\d{2})$/,aa=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,sa=/^(\d{4,})-W(\d\d)$/,ua=/^(\d{4,})-(\d\d)$/,la=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ca="keydown wheel mousedown",fa=ge();r("date,datetime-local,month,time,week".split(","),function(e){fa[e]=!0});var da={text:br,date:_r("date",oa,kr(oa,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":_r("datetimelocal",aa,kr(aa,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:_r("time",la,kr(la,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:_r("week",sa,xr,"yyyy-Www"),month:_r("month",ua,kr(ua,["yyyy","MM"]),"yyyy-MM"),number:Tr,url:Fr,email:Lr,radio:Pr,range:Or,checkbox:Ir,hidden:h,button:h,submit:h,reset:h,file:h},ha=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(da[Wr(a.type)]||da.text)(i,o,a,s[0],t,e,n,r)}}}}],pa=/^(true|false|\d+)$/,ma=function(){function e(e,t,n){e.prop("value",n),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return pa.test(n.ngValue)?function(t,n,r){var i=t.$eval(r.ngValue);e(n,r,i)}:function(t,n,r){t.$watch(r.ngValue,function(t){e(n,r,t)})}}}},ga=["$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=ve(e)})}}}}],va=["$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=v(e)?"":e})}}}}],$a=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],ya=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),ba=Rr("",!0),wa=Rr("Odd",0),xa=Rr("Even",1),ka=hr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),_a=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Ca={},Sa={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=xt("ng-"+e);Ca[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})};Sa[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var Ea=["$animate","$compile",function(e,t){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).done(function(e){e!==!1&&(l=null)}),s=null))})}}}],Ma=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ai.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,d,h,p=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),h&&(n.leave(h).done(function(e){e!==!1&&(d=null)}),d=h,h=null)};r.$watch(o,function(o){var u=function(e){e===!1||!$(s)||s&&!r.$eval(s)||t()},d=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===p){ +var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).done(u)});f=t,h=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],Aa=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return ri.call(r[0]).match(/SVG/)?(r.empty(),void t(Te(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],Da=hr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Ta=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=n.ngList||", ",a="false"!==n.ngTrim,s=a?fi(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?fi(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){if(li(e))return e.join(o)}),i.$isEmpty=function(e){return!e||!e.length}}}},Oa="ng-valid",Fa="ng-invalid",La="ng-pristine",Pa="ng-dirty",Na="ng-untouched",Ia="ng-touched",Ra="ng-empty",Ua="ng-not-empty",ja=t("ngModel");Ur.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Ur.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return _(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){_(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw ja("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,J(this.$$element))},$render:h,$isEmpty:function(e){return v(e)||""===e||null===e||e!==e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,Ua),this.$$animate.addClass(this.$$element,Ra)):(this.$$animate.removeClass(this.$$element,Ra),this.$$animate.addClass(this.$$element,Ua))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Pa),this.$$animate.addClass(this.$$element,La)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,La),this.$$animate.addClass(this.$$element,Pa),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,Na,Ia)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,Ia,Na)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!ui(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())})}},$$runValidators:function(e,t,n){function i(){var e=c.$$parserName||"parse";return v(c.$$parserValid)?(s(e,null),!0):(c.$$parserValid||(r(c.$validators,function(e,t){s(t,null)}),r(c.$asyncValidators,function(e,t){s(t,null)})),s(e,c.$$parserValid),c.$$parserValid)}function o(){var n=!0;return r(c.$validators,function(r,i){var o=Boolean(r(e,t));n=n&&o,s(i,o)}),!!n||(r(c.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(c.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw ja("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?c.$$q.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){l===c.$$currentValidationRunId&&c.$setValidity(e,t)}function u(e){l===c.$$currentValidationRunId&&n(e)}this.$$currentValidationRunId++;var l=this.$$currentValidationRunId,c=this;return i()&&o()?void a():void u(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function e(){r.$modelValue!==o&&r.$$writeModelToScope()}var t=this.$$lastCommittedViewValue,n=t,r=this;if(this.$$parserValid=!v(n)||void 0,this.$$parserValid)for(var i=0;i0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})}},vr({clazz:Ur,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var Va,Ha=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Ur,priority:1,compile:function(t){return t.addClass(La).addClass(Na).addClass(Oa),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){function o(){a.$setTouched()}var a=i[0];a.$options.getOption("updateOn")&&n.on(a.$options.getOption("updateOn"),function(e){a.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(){a.$touched||(e.$$phase?t.$evalAsync(o):t.$apply(o))})}}}}}],za=/(\s+|^)default(\s+|$)/;Vr.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return e=l({},e),r(e,function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=fi(n.replace(za,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],Hr(e,this.$$options)),Hr(e,Va.$$options),new Vr(e)}},Va=new Vr({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var qa=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:Va,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},Ya=hr({terminal:!0,priority:1e3}),Wa=t("ngOptions"),Ba=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,Ga=["$compile","$document","$parse",function(t,i,o){function a(e,t,r){function i(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function a(e){var t;if(!l&&n(e))t=e;else{t=[];for(var r in e)e.hasOwnProperty(r)&&"$"!==r.charAt(0)&&t.push(r)}return t}var s=e.match(Ba);if(!s)throw Wa("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,J(t));var u=s[5]||s[7],l=s[6],c=/ as /.test(s[0])&&s[1],f=s[9],d=o(s[2]?s[1]:u),h=c&&o(c),p=h||d,m=f&&o(f),g=f?function(e,t){return m(r,t)}:function(e){return rt(e)},v=function(e,t){return g(e,k(e,t))},$=o(s[2]||s[1]),y=o(s[3]||""),b=o(s[4]||""),w=o(s[8]),x={},k=l?function(e,t){return x[l]=t,x[u]=e,x}:function(e){return x[u]=e,x};return{trackBy:f,getTrackByValue:v,getWatchables:o(w,function(e){var t=[];e=e||[];for(var n=a(e),i=n.length,o=0;o=0;t--){var r=k.items[t];Ge($(r.group)?r.element.parentNode:r.element)}k=_.getOptions();var i={};if(w&&n.prepend(p.emptyOption),k.items.forEach(function(e){var t;$(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),C.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),c(e,t)):c(e,C)}),n[0].appendChild(C),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=_.trackBy||g;(a?V(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var p=s[0],m=s[1],g=o.multiple,v=0,y=n.children(),b=y.length;v0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,J(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},ps=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=ui(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},ms=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void e.console:(ce(),xe(ai),ai.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return t==-1?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={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",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Jr(function(){oe(e.document,ae)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","select"],i);else if("undefined"!=typeof n)i(t,e("select"));else{var o={exports:{}};i(o,r.select),r.clipboardAction=o.exports}}(this,function(e,t){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=n(t),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.addEventListener("focus",window.scrollTo(0,n)),this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=(0,i["default"])(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,i["default"])(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==("undefined"==typeof e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=s})},{select:20}],11:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","./clipboard-action","tiny-emitter","good-listener"],i);else if("undefined"!=typeof n)i(t,e("./clipboard-action"),e("tiny-emitter"),e("good-listener"));else{var o={exports:{}};i(o,r.clipboardAction,r.tinyEmitter,r.goodListener),r.clipboard=o.exports}}(this,function(e,t,n,r){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}var l=i(t),c=i(n),f=i(r),d=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,f["default"])(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l["default"]({action:this.action(t),target:this.target(t),text:this.text(t),trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}]),t}(c["default"]);e.exports=h})},{"./clipboard-action":10,"good-listener":16,"tiny-emitter":21}],12:[function(e,t,n){function r(e,t){for(;e&&e.nodeType!==i;){if(e.matches(t))return e;e=e.parentNode}}var i=9;if(Element&&!Element.prototype.matches){var o=Element.prototype;o.matches=o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector}t.exports=r},{}],13:[function(e,t,n){function r(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,r){return function(n){n.delegateTarget=o(n.target,t),n.delegateTarget&&r.call(e,n)}}var o=e("./closest");t.exports=r},{"./closest":12}],14:[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;i
    '),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,d,h,p;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;o'+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),h=e.previewElement.querySelectorAll("[data-dz-remove]"),p=[],s=0,c=h.length;s\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;o'+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;i',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;n0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s=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;n0){for(o=0,a=n.length;o1024*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;n=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e=I;c=0<=I?++T:--T)o.append(this._getParamName(c),e[c],this._renameFilename(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;oc;)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){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):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(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],15:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},{}],16:[function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return i(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return a(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return u(document.body,e,t,n)}var s=e("./is"),u=e("delegate");t.exports=r},{"./is":15,delegate:13}],17:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function u(e,t){return e=e.source,t=t||"",function n(r,i){return r?(i=i.source||i,i=i.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(r,i),n):new RegExp(e,t)}}function l(){}function c(e){for(var t,n,r=1;rAn error occured:

    "+a(d.message+"",!0)+"
    ";throw d}}var d={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:l,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:l,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:l,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};d.bullet=/(?:[*+-]|\d+\.)/,d.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,d.item=u(d.item,"gm")(/bull/g,d.bullet)(),d.list=u(d.list)(/bull/g,d.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+d.def.source+")")(),d.blockquote=u(d.blockquote)("def",d.def)(),d._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",d.html=u(d.html)("comment",//)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/])*?>/)(/tag/g,d._tag)(),d.paragraph=u(d.paragraph)("hr",d.hr)("heading",d.heading)("lheading",d.lheading)("blockquote",d.blockquote)("tag","<"+d._tag)("def",d.def)(),d.normal=c({},d),d.gfm=c({},d.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),d.gfm.paragraph=u(d.paragraph)("(?!","(?!"+d.gfm.fences.source.replace("\\1","\\2")+"|"+d.list.source.replace("\\1","\\3")+"|")(),d.tables=c({},d.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),e.rules=d,e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},e.prototype.token=function(e,t,n){for(var r,i,o,a,s,u,l,c,f,e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))){for(e=e.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/\n$/,"").split("\n")},c=0;c ?/gm,""),this.token(o,t,!0),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),a=o[2],this.tokens.push({type:"list_start",ordered:a.length>1}),o=o[0].match(this.rules.item),r=!1,f=o.length,c=0;c1&&s.length>1||(e=o.slice(c+1).join("\n")+e,c=f-1)),i=r||/\n\n(?!\s*$)/.test(u),c!==f-1&&(r="\n"===u.charAt(u.length-1),i||(i=r)),this.tokens.push({type:i?"loose_item_start":"list_item_start"}),this.token(u,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(!n&&t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),this.tokens.links[o[1].toLowerCase()]={href:o[2],title:o[3]};else if(t&&(o=this.rules.table.exec(e))){for(e=e.substring(o[0].length),u={type:"table",header:o[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:l,tag:/^|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:l,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/,h.link=u(h.link)("inside",h._inside)("href",h._href)(),h.reflink=u(h.reflink)("inside",h._inside)(),h.normal=c({},h),h.pedantic=c({},h.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),h.gfm=c({},h.normal,{escape:u(h.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:u(h.text)("]|","~]|")("|","|https?://|")()}),h.breaks=c({},h.gfm,{br:u(h.br)("{2,}","*")(),text:u(h.gfm.text)("{2,}","*")()}),r.rules=h,r.output=function(e,t,n){var i=new r(t,n);return i.output(e)},r.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=":"===i[1].charAt(6)?this.mangle(i[1].substring(7)):this.mangle(i[1]),r=this.mangle("mailto:")+n):(n=a(i[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):a(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),t=this.links[t.toLowerCase()],!t||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(a(i[2],!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(a(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(i[0].length),n=a(i[1]),r=n,o+=this.renderer.link(r,null,n);return o},r.prototype.outputLink=function(e,t){var n=a(t.href),r=t.title?a(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,a(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
    '+(n?e:a(e,!0))+"\n
    \n":"
    "+(n?e:a(e,!0))+"\n
    "},i.prototype.blockquote=function(e){return"
    \n"+e+"
    \n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"'+e+"\n"},i.prototype.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},i.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"\n"},i.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},i.prototype.paragraph=function(e){return"

    "+e+"

    \n"},i.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},i.prototype.tablerow=function(e){return"\n"+e+"\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+"\n"},i.prototype.strong=function(e){return""+e+""},i.prototype.em=function(e){return""+e+""},i.prototype.codespan=function(e){return""+e+""},i.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},i.prototype.del=function(e){return""+e+""},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(s(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(i){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var o='
    "},i.prototype.image=function(e,t,n){var r=''+n+'":">"},i.prototype.text=function(e){return e},o.parse=function(e,t,n){var r=new o(t,n);return r.parse(e)},o.prototype.parse=function(e){this.inline=new r(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},o.prototype.next=function(){return this.token=this.tokens.pop()},o.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},o.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},o.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i,o="",a="";for(n="",e=0;e0)for(n in br)r=br[n],i=t[r],v(i)||(e[r]=i);return e}function y(e){$(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),wr===!1&&(wr=!0,n.updateOffset(this),wr=!1)}function b(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}function k(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}function I(e,t){var n=e.toLowerCase();Or[n]=Or[n+"s"]=Or[t]=e}function R(e){return"string"==typeof e?Or[e]||Or[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)c(e,n)&&(t=R(n),t&&(r[t]=e[n]));return r}function j(e,t){Fr[e]=t}function V(e){var t=[];for(var n in e)t.push({unit:n,priority:Fr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function H(e,t){return function(r){return null!=r?(q(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function Y(e){return e=R(e),E(this[e])?this[e]():this}function W(e,t){if("object"==typeof e){e=U(e);for(var n=V(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function G(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Ir[e]=i),t&&(Ir[t[0]]=function(){return B(i.apply(this,arguments),t[1],t[2])}),n&&(Ir[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Q(e){var t,n,r=e.match(Lr);for(t=0,n=r.length;t=0&&Pr.test(e);)e=e.replace(Pr,n),Pr.lastIndex=0,r-=1;return e}function X(e,t,n){ti[e]=E(t)?t:function(e,r){return e&&n?n:t}}function ee(e,t){return c(ti,e)?ti[e](t._strict,t._locale):new RegExp(te(e))}function te(e){return ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function we(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n,i=(7+we(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=xe(e,r,i),l=1+7*(t-1)+s+u;return l<=0?(o=e-1,a=ve(o)+l):l>ve(e)?(o=e+1,a=l-ve(e)):(o=e,a=l),{year:o,dayOfYear:a}}function _e(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Ce(i,t,n)):a>Ce(e.year(),t,n)?(r=a-Ce(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Ce(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ve(e)-r+i)/7}function Se(e){return _e(e,this._week.dow,this._week.doy).week}function Ee(){return this._week.dow}function Me(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function De(e){var t=_e(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Oe(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Fe(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Le(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(), +this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=di.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=di.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=di.call(this._weekdaysParse,a),i!==-1?i:(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:(i=di.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:(i=di.call(this._weekdaysParse,a),i!==-1?i:(i=di.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=di.call(this._minWeekdaysParse,a),i!==-1?i:(i=di.call(this._weekdaysParse,a),i!==-1?i:(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Ie(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Re(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Ue(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function je(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Oe(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ve(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=ki),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function He(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=_i),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ci),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qe(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=ne(s[t]),u[t]=ne(u[t]),l[t]=ne(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ye(){return this.hours()%12||12}function We(){return this.hours()||24}function Be(e,t){G(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ge(e,t){return t._meridiemParse}function Ze(e){return"p"===(e+"").toLowerCase().charAt(0)}function Qe(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Je(e){return e?e.toLowerCase().replace("_","-"):e}function Ke(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&k(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Di[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=Si._abbr,e("./locale/"+n),et(r)}catch(i){}return Di[n]}function et(e,t){var n;return e&&(n=v(t)?rt(e):tt(e,t),n&&(Si=n)),Si._abbr}function tt(e,t){if(null!==t){var n=Ai;if(t.abbr=e,null!=Di[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Di[e]._config;else if(null!=t.parentLocale){if(null==Di[t.parentLocale])return Ti[t.parentLocale]||(Ti[t.parentLocale]=[]),Ti[t.parentLocale].push({name:e,config:t}),null;n=Di[t.parentLocale]._config}return Di[e]=new D(A(n,t)),Ti[e]&&Ti[e].forEach(function(e){tt(e.name,e.config)}),et(e),Di[e]}return delete Di[e],null}function nt(e,t){if(null!=t){var n,r=Ai;null!=Di[e]&&(r=Di[e]._config),t=A(r,t),n=new D(t),n.parentLocale=Di[e],Di[e]=n,et(e)}else null!=Di[e]&&(null!=Di[e].parentLocale?Di[e]=Di[e].parentLocale:null!=Di[e]&&delete Di[e]);return Di[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Si;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Ke(e)}function it(){return Cr(Di)}function ot(e){var t,n=e._a;return n&&p(e).overflow===-2&&(t=n[ii]<0||n[ii]>11?ii:n[oi]<1||n[oi]>ae(n[ri],n[ii])?oi:n[ai]<0||n[ai]>24||24===n[ai]&&(0!==n[si]||0!==n[ui]||0!==n[li])?ai:n[si]<0||n[si]>59?si:n[ui]<0||n[ui]>59?ui:n[li]<0||n[li]>999?li:-1,p(e)._overflowDayOfYear&&(toi)&&(t=oi),p(e)._overflowWeeks&&t===-1&&(t=ci),p(e)._overflowWeekday&&t===-1&&(t=fi),p(e).overflow=t),e}function at(e){var t,n,r,i,o,a,s=e._i,u=Oi.exec(s)||Fi.exec(s);if(u){for(p(e).iso=!0,t=0,n=Pi.length;tve(i)&&(p(e)._overflowDayOfYear=!0),n=we(i,0,e._dayOfYear),e._a[ii]=n.getUTCMonth(),e._a[oi]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ai]&&0===e._a[si]&&0===e._a[ui]&&0===e._a[li]&&(e._nextDay=!0,e._a[ai]=0),e._d=(e._useUTC?we:be).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ai]=24)}}function ft(e){var t,n,r,i,o,a,s,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=ut(t.GG,e._a[ri],_e(bt(),1,4).year),r=ut(t.W,1),i=ut(t.E,1),(i<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=_e(bt(),o,a);n=ut(t.gg,e._a[ri],l.year),r=ut(t.w,l.week),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>Ce(n,o,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[ri]=s.year,e._dayOfYear=s.dayOfYear)}function dt(e){if(e._f===n.ISO_8601)return void at(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=K(e._f,e._locale).match(Lr)||[],t=0;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Ir[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),oe(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=u-l,s.length>0&&p(e).unusedInput.push(s),e._a[ai]<=12&&p(e).bigHour===!0&&e._a[ai]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[ai]=ht(e._locale,e._a[ai],e._meridiem),ct(e),ot(e)}function ht(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Rt(){if(!v(this._isDSTShifted))return this._isDSTShifted;var e={};if($(e,this),e=vt(e),e._a){var t=e._isUTC?d(e._a):bt(e._a);this._isDSTShifted=this.isValid()&&k(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ut(){return!!this.isValid()&&!this._isUTC}function jt(){return!!this.isValid()&&this._isUTC}function Vt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ht(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Hi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:x(a[oi])*n,h:x(a[ai])*n,m:x(a[si])*n,s:x(a[ui])*n,ms:x(St(1e3*a[li]))*n}):(a=zi.exec(e))?(n="-"===a[1]?-1:1,o={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Yt(bt(o.from),bt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new _t(o),Ct(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function qt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Yt(e,t){var n;return e.isValid()&&t.isValid()?(t=At(t,e),e.isBefore(t)?n=qt(e,t):(n=qt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Wt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ht(n,r),Bt(this,i,e),this}}function Bt(e,t,r,i){var o=t._milliseconds,a=St(t._days),s=St(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&q(e,"Date",z(e,"Date")+a*r),s&&fe(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Gt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Zt(e,t){var r=e||bt(),i=At(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(E(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,bt(r)))}function Qt(){return new y(this)}function Jt(e,t){var n=b(e)?e:bt(e);return!(!this.isValid()||!n.isValid())&&(t=R(v(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),Ln.call(this,e,t,n,r,i))}function Ln(e,t,n,r,i){var o=ke(e,t,n,r,i),a=we(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Pn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Nn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function In(e,t){t[li]=x(1e3*("0."+e))}function Rn(){return this._isUTC?"UTC":""}function Un(){return this._isUTC?"Coordinated Universal Time":""}function jn(e){return bt(1e3*e)}function Vn(){return bt.apply(null,arguments).parseZone()}function Hn(e){return e}function zn(e,t,n,r){var i=rt(),o=d().set(r,t);return i[n](o,e)}function qn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return zn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=zn(e,r,n,"month");return i}function Yn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),o=e?i._week.dow:0;if(null!=n)return zn(t,(n+o)%7,r,"day");var a,u=[];for(a=0;a<7;a++)u[a]=zn(t,(a+o)%7,r,"day");return u}function Wn(e,t){return qn(e,t,"months")}function Bn(e,t){return qn(e,t,"monthsShort")}function Gn(e,t,n){return Yn(e,t,n,"weekdays")}function Zn(e,t,n){return Yn(e,t,n,"weekdaysShort")}function Qn(e,t,n){return Yn(e,t,n,"weekdaysMin")}function Jn(){var e=this._data;return this._milliseconds=eo(this._milliseconds),this._days=eo(this._days),this._months=eo(this._months),e.milliseconds=eo(e.milliseconds),e.seconds=eo(e.seconds),e.minutes=eo(e.minutes),e.hours=eo(e.hours),e.months=eo(e.months),e.years=eo(e.years),this}function Kn(e,t,n,r){var i=Ht(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Xn(e,t){return Kn(this,e,t,1)}function er(e,t){return Kn(this,e,t,-1)}function tr(e){return e<0?Math.floor(e):Math.ceil(e)}function nr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*tr(ir(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=w(o/1e3),u.seconds=e%60,t=w(e/60),u.minutes=t%60,n=w(t/60),u.hours=n%24,a+=w(n/24),i=w(rr(a)),s+=i,a-=tr(ir(i)),r=w(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function rr(e){return 4800*e/146097}function ir(e){return 146097*e/4800}function or(e){var t,n,r=this._milliseconds;if(e=R(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+rr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ir(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function ar(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function sr(e){return function(){return this.as(e)}}function ur(e){return e=R(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return w(this.days()/7)}function fr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function dr(e,t,n){var r=Ht(e).abs(),i=vo(r.as("s")),o=vo(r.as("m")),a=vo(r.as("h")),s=vo(r.as("d")),u=vo(r.as("M")),l=vo(r.as("y")),c=i<$o.s&&["s",i]||o<=1&&["m"]||o<$o.m&&["mm",o]||a<=1&&["h"]||a<$o.h&&["hh",a]||s<=1&&["d"]||s<$o.d&&["dd",s]||u<=1&&["M"]||u<$o.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,fr.apply(null,c)}function hr(e){return void 0===e?vo:"function"==typeof e&&(vo=e,!0)}function pr(e,t){return void 0!==$o[e]&&(void 0===t?$o[e]:($o[e]=t,!0))}function mr(e){var t=this.localeData(),n=dr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function gr(){var e,t,n,r=yo(this._milliseconds)/1e3,i=yo(this._days),o=yo(this._months);e=w(r/60),t=w(e/60),r%=60,e%=60,n=w(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||f?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(f?f+"S":""):"P0D"}var vr,$r;$r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var $i=H("FullYear",!0);G("w",["ww",2],"wo","week"),G("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),j("week",5),j("isoWeek",5),X("w",zr),X("ww",zr,Ur),X("W",zr),X("WW",zr,Ur),ie(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var yi={dow:0,doy:6};G("d",0,"do","day"),G("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),G("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),G("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),G("e",0,0,"weekday"),G("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),X("d",zr),X("e",zr),X("E",zr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),ie(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),ie(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var bi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),wi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ki=ei,_i=ei,Ci=ei;G("H",["HH",2],0,"hour"),G("h",["hh",2],0,Ye),G("k",["kk",2],0,We),G("hmm",0,0,function(){return""+Ye.apply(this)+B(this.minutes(),2)}),G("hmmss",0,0,function(){return""+Ye.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),G("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),G("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),Be("a",!0),Be("A",!1),I("hour","h"),j("hour",13),X("a",Ge),X("A",Ge),X("H",zr),X("h",zr),X("HH",zr,Ur),X("hh",zr,Ur),X("hmm",qr),X("hmmss",Yr),X("Hmm",qr),X("Hmmss",Yr),re(["H","HH"],ai),re(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),re(["h","hh"],function(e,t,n){t[ai]=x(e),p(n).bigHour=!0}),re("hmm",function(e,t,n){var r=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r)),p(n).bigHour=!0}),re("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r,2)),t[ui]=x(e.substr(i)),p(n).bigHour=!0}),re("Hmm",function(e,t,n){var r=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r))}),re("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r,2)),t[ui]=x(e.substr(i))});var Si,Ei=/[ap]\.?m?\.?/i,Mi=H("Hours",!0),Ai={calendar:Sr,longDateFormat:Er,invalidDate:Mr,ordinal:Ar,ordinalParse:Dr,relativeTime:Tr,months:pi,monthsShort:mi,week:yi,weekdays:bi,weekdaysMin:xi,weekdaysShort:wi,meridiemParse:Ei},Di={},Ti={},Oi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Fi=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Li=/Z|[+-]\d\d(?::?\d\d)?/,Pi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Ni=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ii=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Ri=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=bt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:g()}),ji=function(){return Date.now?Date.now():+new Date};Et("Z",":"),Et("ZZ",""),X("Z",Kr),X("ZZ",Kr),re(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Mt(Kr,e)});var Vi=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Hi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,zi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ht.fn=_t.prototype;var qi=Wt(1,"add"),Yi=Wt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Wi=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});G(0,["gg",2],0,function(){return this.weekYear()%100}),G(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Mn("gggg","weekYear"),Mn("ggggg","weekYear"),Mn("GGGG","isoWeekYear"),Mn("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),X("G",Qr),X("g",Qr),X("GG",zr,Ur),X("gg",zr,Ur),X("GGGG",Br,Vr),X("gggg",Br,Vr),X("GGGGG",Gr,Hr),X("ggggg",Gr,Hr),ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),ie(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),G("Q",0,"Qo","quarter"),I("quarter","Q"),j("quarter",7),X("Q",Rr),re("Q",function(e,t){t[ii]=3*(x(e)-1)}),G("D",["DD",2],"Do","date"),I("date","D"),j("date",9),X("D",zr),X("DD",zr,Ur),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient; +}),re(["D","DD"],oi),re("Do",function(e,t){t[oi]=x(e.match(zr)[0],10)});var Bi=H("Date",!0);G("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),j("dayOfYear",4),X("DDD",Wr),X("DDDD",jr),re(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),G("m",["mm",2],0,"minute"),I("minute","m"),j("minute",14),X("m",zr),X("mm",zr,Ur),re(["m","mm"],si);var Gi=H("Minutes",!1);G("s",["ss",2],0,"second"),I("second","s"),j("second",15),X("s",zr),X("ss",zr,Ur),re(["s","ss"],ui);var Zi=H("Seconds",!1);G("S",0,0,function(){return~~(this.millisecond()/100)}),G(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),G(0,["SSS",3],0,"millisecond"),G(0,["SSSS",4],0,function(){return 10*this.millisecond()}),G(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),G(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),G(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),G(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),G(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),j("millisecond",16),X("S",Wr,Rr),X("SS",Wr,Ur),X("SSS",Wr,jr);var Qi;for(Qi="SSSS";Qi.length<=9;Qi+="S")X(Qi,Zr);for(Qi="S";Qi.length<=9;Qi+="S")re(Qi,In);var Ji=H("Milliseconds",!1);G("z",0,0,"zoneAbbr"),G("zz",0,0,"zoneName");var Ki=y.prototype;Ki.add=qi,Ki.calendar=Zt,Ki.clone=Qt,Ki.diff=rn,Ki.endOf=vn,Ki.format=ln,Ki.from=cn,Ki.fromNow=fn,Ki.to=dn,Ki.toNow=hn,Ki.get=Y,Ki.invalidAt=Sn,Ki.isAfter=Jt,Ki.isBefore=Kt,Ki.isBetween=Xt,Ki.isSame=en,Ki.isSameOrAfter=tn,Ki.isSameOrBefore=nn,Ki.isValid=_n,Ki.lang=Wi,Ki.locale=pn,Ki.localeData=mn,Ki.max=Ui,Ki.min=Ri,Ki.parsingFlags=Cn,Ki.set=W,Ki.startOf=gn,Ki.subtract=Yi,Ki.toArray=wn,Ki.toObject=xn,Ki.toDate=bn,Ki.toISOString=sn,Ki.inspect=un,Ki.toJSON=kn,Ki.toString=an,Ki.unix=yn,Ki.valueOf=$n,Ki.creationData=En,Ki.year=$i,Ki.isLeapYear=ye,Ki.weekYear=An,Ki.isoWeekYear=Dn,Ki.quarter=Ki.quarters=Pn,Ki.month=de,Ki.daysInMonth=he,Ki.week=Ki.weeks=Ae,Ki.isoWeek=Ki.isoWeeks=De,Ki.weeksInYear=On,Ki.isoWeeksInYear=Tn,Ki.date=Bi,Ki.day=Ki.days=Re,Ki.weekday=Ue,Ki.isoWeekday=je,Ki.dayOfYear=Nn,Ki.hour=Ki.hours=Mi,Ki.minute=Ki.minutes=Gi,Ki.second=Ki.seconds=Zi,Ki.millisecond=Ki.milliseconds=Ji,Ki.utcOffset=Tt,Ki.utc=Ft,Ki.local=Lt,Ki.parseZone=Pt,Ki.hasAlignedHourOffset=Nt,Ki.isDST=It,Ki.isLocal=Ut,Ki.isUtcOffset=jt,Ki.isUtc=Vt,Ki.isUTC=Vt,Ki.zoneAbbr=Rn,Ki.zoneName=Un,Ki.dates=C("dates accessor is deprecated. Use date instead.",Bi),Ki.months=C("months accessor is deprecated. Use month instead",de),Ki.years=C("years accessor is deprecated. Use year instead",$i),Ki.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ot),Ki.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Rt);var Xi=D.prototype;Xi.calendar=T,Xi.longDateFormat=O,Xi.invalidDate=F,Xi.ordinal=L,Xi.preparse=Hn,Xi.postformat=Hn,Xi.relativeTime=P,Xi.pastFuture=N,Xi.set=M,Xi.months=se,Xi.monthsShort=ue,Xi.monthsParse=ce,Xi.monthsRegex=me,Xi.monthsShortRegex=pe,Xi.week=Se,Xi.firstDayOfYear=Me,Xi.firstDayOfWeek=Ee,Xi.weekdays=Fe,Xi.weekdaysMin=Pe,Xi.weekdaysShort=Le,Xi.weekdaysParse=Ie,Xi.weekdaysRegex=Ve,Xi.weekdaysShortRegex=He,Xi.weekdaysMinRegex=ze,Xi.isPM=Ze,Xi.meridiem=Qe,et("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",et),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",rt);var eo=Math.abs,to=sr("ms"),no=sr("s"),ro=sr("m"),io=sr("h"),oo=sr("d"),ao=sr("w"),so=sr("M"),uo=sr("y"),lo=lr("milliseconds"),co=lr("seconds"),fo=lr("minutes"),ho=lr("hours"),po=lr("days"),mo=lr("months"),go=lr("years"),vo=Math.round,$o={s:45,m:45,h:22,d:26,M:11},yo=Math.abs,bo=_t.prototype;return bo.abs=Jn,bo.add=Xn,bo.subtract=er,bo.as=or,bo.asMilliseconds=to,bo.asSeconds=no,bo.asMinutes=ro,bo.asHours=io,bo.asDays=oo,bo.asWeeks=ao,bo.asMonths=so,bo.asYears=uo,bo.valueOf=ar,bo._bubble=nr,bo.get=ur,bo.milliseconds=lo,bo.seconds=co,bo.minutes=fo,bo.hours=ho,bo.days=po,bo.weeks=cr,bo.months=mo,bo.years=go,bo.humanize=mr,bo.toISOString=gr,bo.toString=gr,bo.toJSON=gr,bo.locale=pn,bo.localeData=mn,bo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",gr),bo.lang=Wi,G("X",0,0,"unix"),G("x",0,0,"valueOf"),X("x",Qr),X("X",Xr),re("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),re("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.17.1",r(bt),n.fn=Ki,n.min=xt,n.max=kt,n.now=ji,n.utc=d,n.unix=jn,n.months=Wn,n.isDate=u,n.locale=et,n.invalid=g,n.duration=Ht,n.isMoment=b,n.weekdays=Gn,n.parseZone=Vn,n.localeData=rt,n.isDuration=Ct,n.monthsShort=Bn,n.weekdaysMin=Qn,n.defineLocale=tt,n.updateLocale=nt,n.locales=it,n.weekdaysShort=Zn,n.normalizeUnits=R,n.relativeTimeRounding=hr,n.relativeTimeThreshold=pr,n.calendarFormat=Gt,n.prototype=Ki,n})},{}],20:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}t.exports=r},{}],21:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){i.off(e,r),t.apply(n,arguments)}var i=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r tr",containment:"parent",axis:"y"},e.addEmptyTag=r,i(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||r())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}]),e.controller("PageAttachmentController",["$scope","$http","$attrs",function(e,n,r){function i(){return{page_id:l}}function o(r,i){var o=e.files.map(function(e){return e.id}).join(":");o!==c&&(c=o,n.put(window.baseUrl("/attachments/sort/page/"+l),{files:e.files}).then(function(e){t.emit("success",e.data.message)},u("sort")))}function a(){var t=window.baseUrl("/attachments/get/page/"+l);n.get(t).then(function(t){e.files=t.data,c=t.data.map(function(e){return e.id}).join(":")},u("get"))}function s(t){for(var n=0;n tr",containment:"parent",axis:"y",stop:o},e.getUploadUrl=function(e){var t="undefined"!=typeof e?"/"+e.id:"";return window.baseUrl("/attachments/upload"+t)},a(),e.uploadSuccess=function(n,r){e.$apply(function(){e.files.push(r)}),t.emit("success",trans("entities.attachments_file_uploaded"))},e.uploadSuccessUpdate=function(n,r){e.$apply(function(){var t=s(r);t!==-1&&(e.files[t]=r),e.editFile&&(e.editFile=angular.copy(r),r.link="")}),t.emit("success",trans("entities.attachments_file_updated"))},e.deleteFile=function(r){return r.deleting?void n["delete"](window.baseUrl("/attachments/"+r.id)).then(function(n){t.emit("success",n.data.message),e.files.splice(e.files.indexOf(r),1)},u("delete")):void(r.deleting=!0)},e.attachLinkSubmit=function(r){r.uploaded_to=l,n.post(window.baseUrl("/attachments/link"),r).then(function(n){e.files.push(n.data),t.emit("success",trans("entities.attachments_link_attached")),e.file=i()},u("link"))},e.startEdit=function(t){e.editFile=angular.copy(t),e.editFile.link=t.external?t.path:""},e.cancelEdit=function(){e.editFile=!1},e.updateFile=function(r){n.put(window.baseUrl("/attachments/"+r.id),r).then(function(n){var i=s(n.data);i!==-1&&(e.files[i]=n.data),e.editFile&&!r.external&&(e.editFile.link=""),e.editFile=!1,t.emit("success",trans("entities.attachments_updated_success"))},u("edit"))},e.getFileUrl=function(e){return window.baseUrl("/attachments/"+e.id)}}])};var i=e("moment"),o=r(i);e("moment/locale/en-gb");var a=e("./pages/page-form"),s=r(a);o["default"].locale("en-gb")},{"./pages/page-form":25,moment:19,"moment/locale/en-gb":18}],23:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0}),n["default"]=function(e,t){e.directive("tabContainer",function(){return{restrict:"A",link:function(e,t,n){var r=t.find("[tab-content]"),i=t.find("[tab-button]");if(n.tabContainer){var o=n.tabContainer;i.filter('[tab-button="'+o+'"]').addClass("selected"),r.hide().filter('[tab-content="'+o+'"]').show()}else r.hide().first().show(),i.first().addClass("selected");i.click(function(){var e=$(this);i.removeClass("selected"),r.hide();var t=e.addClass("selected").attr("tab-button");r.filter('[tab-content="'+t+'"]').show()})}}}),e.directive("subForm",function(){return{restrict:"A",link:function(e,t,n){function r(t){t.preventDefault(),n.subForm&&e.$eval(n.subForm)}t.on("keypress",function(e){13===e.keyCode&&r(e)}),t.find('button[type="submit"]').click(r)}}}),e.directive("dropZone",[function(){return{restrict:"E",template:'\n
    \n
    {{message}}
    \n
    \n ',scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){e.message=n.message,n.placeholder&&(t[0].querySelector(".dz-message").textContent=n.placeholder);new o["default"](t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o="undefined"==typeof e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),"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)}413===n.status&&r(trans("errors.server_upload_limit")),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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var i=n.val();t.mdModel=i,t.mdChange((0,s["default"])(i)),n.on("change input",function(r){i=n.val(),e(function(){t.mdModel=i,t.mdChange((0,s["default"])(i))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange((0,s["default"])(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display),u.change()}else u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]');l.on("click","a",function(e){e.preventDefault(),window.open(this.getAttribute("href"))});var d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,$=0;u.on("scroll",function(e){var t=Date.now();t-$>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),$=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[toolbox-tab-button="'+e+'"]').addClass("active"),o.filter('[toolbox-tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[toolbox-tab-button]"),o=t.find("[toolbox-tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("toolbox-tab-content"),!1),i.click(function(e){var t=$(this).attr("toolbox-tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=0}});var b=$(".notification"),w=b.filter(".pos"),x=b.filter(".neg"),k=b.filter(".warning");window.Events.listen("success",function(e){w.hide(),w.find("span").text(e),setTimeout(function(){w.show()},1)}),window.Events.listen("warning",function(e){k.find("span").text(e),k.show()}),window.Events.listen("error",function(e){x.find("span").text(e),x.show()}),b.click(function(){$(this).fadeOut(100)}),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)}),$("#back-to-top").click(function(){$("#header").smoothScrollTo()});var _=!1,C=document.getElementById("back-to-top"),S=1200;window.addEventListener("scroll",function(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!_&&e>S?(C.style.display="block",_=!0,setTimeout(function(){C.style.opacity=.4},1)):_&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")},{"./controllers":22,"./directives":23,"./pages/page-show":26,"./services":27,"./translations":28,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],25:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="
    ",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+e.name+'',n+="",t.execCommand("mceInsertContent",!1,n)})}}),t.on("paste",function(e){r(e,t)})}};return e}},{}],26:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0});var i=e("clipboard"),o=r(i);n["default"]=window.setupPageShow=function(e){function t(){var t=d?window.baseUrl("/link/"+e+"#"+h):"{{@"+e+"#"+h+"}}";d&&0!==t.indexOf("http")&&(t=window.location.protocol+"//"+window.location.host+t),u.find("input").val(t)}function n(e){var t=document.getElementById(e);if($(".page-content [data-highlighted]").attr("data-highlighted","").css("background-color",""),null!==t){var n=$(t),r=$("#custom-styles").attr("data-color-light");n.css("background-color",r).attr("data-highlighted","true").smoothScrollTo()}else $(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function r(){g.width(v.width()+15),g.addClass("fixed"),w=!0}function i(){g.css("width","auto"),g.removeClass("fixed"),w=!1}function a(e){var t=m.scrollTop()>b;!t||w&&!e?t||!w&&!e||i():r()}function s(){a(!1)}var u=$("#pointer").detach(),l=!1,c=u.children("div.pointer").first(),f=!1,d=!0,h="";u.on("click","input",function(e){$(this).select(),e.stopPropagation()}),u.on("click","span.icon",function(e){var n=$(e.currentTarget);d=!d,n.html(d?'':''),t()});new o["default"]("#pointer button");if($(document.body).find("*").on("click focus",function(e){if(l&&!f){var t=$(e.target);t.is(".zmdi")||1===$(e.target).closest("#pointer").length||(u.detach(),l=!1)}}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(e){e.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this);h=r.attr("id"),t(),r.before(u),u.show(),l=!0;var i=e.pageX-r.offset().left-c.width()/2;i<0&&(i=0);var o=i/r.width()*100;c.css("left",o+"%"),f=!0,setTimeout(function(){f=!1},100)}}),window.location.hash){var p=window.location.hash.replace(/\%20/g," ").substr(1);n(p)}$(".sidebar-page-nav").on("click","a",function(e){n(e.target.getAttribute("href").substr(1))});var m=$(window),g=$(".book-tree"),v=g.parent(),y=$(document).height()>m.height()&&g.height()<$(".page-content").height(),b=$("#header").height()+$(".toolbar").height(),w=m.scrollTop()>b;y&&m.width()>1e3&&(m.on("scroll",s),a(!0)),m.on("resize",function(e){y&&m.width()>1e3?(m.on("scroll",s),a(!0)):(m.off("scroll",s),i())})}},{clipboard:11}],27:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}],28:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n