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;font:inherit;vertical-align:baseline;border:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1;font-family:Arial,sans-serif}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}table td,table td img{vertical-align:top}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}*{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{-webkit-overflow-scrolling:touch}textarea[contenteditable]{-webkit-appearance:none;resize:none}.hidden{display:none;visibility:hidden}html.hidden{display:inherit;visibility:inherit}.ie6 legend,.ie7 legend{margin-left:-7px}.ie7 input[type=checkbox]{vertical-align:baseline}.ie6 input{vertical-align:text-bottom}button,input[type=button],input[type=submit],label{cursor:pointer}button,input,select,textarea{margin:0}button{width:auto;overflow:visible}.ie7 img{-ms-interpolation-mode:bicubic}input[type=radio]{vertical-align:text-bottom}input[type=checkbox]{vertical-align:bottom}input::-ms-clear{display:none}input[type=search]{-webkit-appearance:none}button:focus,input:focus,select:focus,textarea:focus{outline:0}button::-moz-focus-inner{padding:0;border:0}input[type=submit],input[type=text]{line-height:normal!important}::-webkit-search-cancel-button{-webkit-appearance:none}.login-page *{box-sizing:border-box}@media screen and (min-width:769px){.login-page{position:absolute;top:0;bottom:0;left:0;right:0;background:url("") center/cover no-repeat fixed;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover}}.login-page .login-panel{padding:50px 0 50px 5px;background:#fff}@media screen and (min-width:769px){.login-page .login-panel{position:fixed;top:0;bottom:0;right:0;width:420px;padding:90px 0;background:#fff;background:rgba(255,255,255,.95)}}@media screen and (min-width:769px){.login-page .login-panel .login-area{position:absolute;top:0;right:0;bottom:0;left:0;padding-top:90px;overflow-x:hidden;overflow-y:auto}}.login-page .login-panel .login-area .login-form{margin:0 auto}.login-page .login-panel .signup-area{position:relative;text-align:center}@media screen and (min-width:769px){.login-page .login-panel .signup-area{position:absolute;right:0;bottom:0;left:0;padding:20px}.login-page .login-panel .signup-area .button{width:100%;max-width:280px}}.login-page .login-panel .signup-area .button{min-width:180px}.login-page .login-panel .decorative-bar{position:fixed;top:0;bottom:0;left:0;width:5px;background:#f0f}@media screen and (min-width:769px){.login-page .login-panel .decorative-bar{right:415px;left:auto}}.login-page .login-panel .decorative-bar .type{display:block;height:25%}.login-page .login-panel .decorative-bar .type.type-01{background:#00acee}.login-page .login-panel .decorative-bar .type.type-02{background:#8dc63f}.login-page .login-panel .decorative-bar .type.type-03{background:#0e97b7}.login-page .login-panel .decorative-bar .type.type-04{background:#8dc63f}.login-page .login-panel-content{font-family:'Open Sans',Helvetica,Arial,sans-serif}.login-page h1{height:100px;margin-bottom:40px;background:url(//cdn2.thinqi.co.uk/thinqi-platform-client/2.16.1/img/login/csc/login-logo.png) 0 bottom no-repeat}@media screen and (min-width:769px){.login-page h1{margin-bottom:75px}}.login-page h1 span{position:absolute!important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);width:0;height:0;font-size:0}.login-page h2{margin-bottom:42px;padding-bottom:10px;font-size:30px;line-height:150%;font-weight:200;color:#4f4f4f;border-bottom:1px solid #e0e0e0}.login-page .field{margin-bottom:25px}.login-page .field label{display:block;margin-bottom:5px;font-size:14px;line-height:16px;font-weight:600;color:#363636}.login-page .field input[type=password],.login-page .field input[type=text]{padding:7px 8px 8px;width:100%;font-size:13px;line-height:16px;font-family:'Open Sans',Helvetica,Arial,sans-serif;color:#4f4f4f;border:1px solid #ccc;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#fcfcfc}.login-page .field input[type=password]:hover,.login-page .field input[type=text]:hover{border:1px solid #999}.login-page .field input[type=password]:active,.login-page .field input[type=password]:focus,.login-page .field input[type=text]:active,.login-page .field input[type=text]:focus{background-color:#fafafa;border:1px solid #999;outline:0}.login-page .field::-webkit-input-placeholder{font-style:italic}.login-page .field:-moz-placeholder{font-style:italic}.login-page .field::-moz-placeholder{font-style:italic}.login-page .field:-ms-input-placeholder{font-style:italic}.login-page .field.field-remember{margin-bottom:26px}.login-page .field.field-remember label{vertical-align:middle;margin:-5px 0 0 1px}.login-page .field.field-remember label input{position:relative;top:-2px;margin-right:5px;vertical-align:middle}.login-page .field.field-forgotten{margin-top:20px;padding-top:10px;border-top:1px solid #e0e0e0}.login-page .field.field-forgotten a{font-family:'Open Sans',Helvetica,Arial,sans-serif;color:#5a6770;font-size:14px;font-weight:600;text-decoration:none}.login-page .field.field-forgotten a:active,.login-page .field.field-forgotten a:focus,.login-page .field.field-forgotten a:hover{text-decoration:underline}.login-page .validation-error{padding:3px 5px 4px;display:block;margin:-20px 0 15px;font-family:'Open Sans',Helvetica,Arial,sans-serif;font-size:13px;line-height:16px;color:#fff;font-weight:400;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background:#e00000;text-shadow:1px 1px rgba(0,0,0,.3)}.login-page .field-submit{font-size:0}.login-page .field-submit .button{width:48%}.login-page .button{display:-moz-inline-stack;display:inline-block;zoom:1;height:35px;padding:0 20px;margin:0;min-width:120px;color:#fff;line-height:35px;font-family:'Open Sans',Helvetica,Arial,sans-serif;font-size:15px;text-decoration:none;text-align:center;vertical-align:top;border:0;background:#5a6770;-webkit-box-shadow:0 2px 0 rgba(56,64,70,.8);-moz-box-shadow:0 2px 0 rgba(56,64,70,.8);box-shadow:0 2px 0 rgba(56,64,70,.8);-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;cursor:pointer}.login-page .button:active,.login-page .button:focus,.login-page .button:hover{background:#4f5a62;-webkit-box-shadow:0 2px 0 rgba(45,51,55,.8);-moz-box-shadow:0 2px 0 rgba(45,51,55,.8);box-shadow:0 2px 0 rgba(45,51,55,.8)}.lt-ie9 .login-page .button{min-width:0}.login-page .button.disabled,.login-page .button[disabled]{color:#e6e6e6;background:#8d9aa3;-webkit-box-shadow:0 2px 0 rgba(56,64,70,.6);-moz-box-shadow:0 2px 0 rgba(56,64,70,.6);box-shadow:0 2px 0 rgba(56,64,70,.6);cursor:default}.login-page .button.disabled:active,.login-page .button.disabled:focus,.login-page .button.disabled:hover,.login-page .button[disabled]:active,.login-page .button[disabled]:focus,.login-page .button[disabled]:hover{background:#8d9aa3;-webkit-box-shadow:0 2px 0 rgba(56,64,70,.6);-moz-box-shadow:0 2px 0 rgba(56,64,70,.6);box-shadow:0 2px 0 rgba(56,64,70,.6)}.login-page .button.outline{height:37px;color:#2d3337;background:0 0;border:1px solid #5a6770;-webkit-box-shadow:0 0 0 transparent;-moz-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent}.login-page .button.outline:active,.login-page .button.outline:focus,.login-page .button.outline:hover{color:#65747e;border:1px solid #8d9aa3}.login-page .button.outline.disabled,.login-page .button.outline[disabled]{color:#71818c;background:0 0;border:1px solid #8d9aa3}.login-page .button.outline.disabled:active,.login-page .button.outline.disabled:focus,.login-page .button.outline.disabled:hover,.login-page .button.outline[disabled]:active,.login-page .button.outline[disabled]:focus,.login-page .button.outline[disabled]:hover{color:#71818c;border:1px solid #8d9aa3;-webkit-box-shadow:0 0 0 transparent;-moz-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent}.login-page .button.loading{min-height:35px;background-image:url(https://cdn2.thinqi.co.uk/thinqi-platform-client/2.4.3/img/loading/inlinie-loading-light.gif);background-position:12px 11px;background-repeat:no-repeat}.login-page .button.loading:active,.login-page .button.loading:focus,.login-page .button.loading:hover{cursor:default;background:url(https://cdn2.thinqi.co.uk/thinqi-platform-client/2.4.3/img/loading/inlinie-loading-light.gif) 12px 12px no-repeat #5a6770;-webkit-box-shadow:0 2px 0 rgba(56,64,70,.8);-moz-box-shadow:0 2px 0 rgba(56,64,70,.8);box-shadow:0 2px 0 rgba(56,64,70,.8)}.login-page .alt-login{position:relative;margin-top:20px;text-align:center}.login-page .alt-login>span{position:absolute;top:0;left:0;right:0;color:#6e6e6e;font-size:13px;line-height:15px;text-align:center;font-style:italic}.login-page .alt-login>span:after,.login-page .alt-login>span:before{content:'';position:absolute;top:8px;height:1px;background:#e0e0e0}.login-page .alt-login>span:before{left:0;width:45%}.login-page .alt-login>span:after{right:0;width:45%}.login-page .alt-login a{position:relative;text-decoration:none}.login-page .alt-login a:active,.login-page .alt-login a:focus,.login-page .alt-login a:hover{color:#555}.login-page .alt-login a .hwb{position:relative}.login-page .alt-login a .hwb:before{content:'';display:-moz-inline-stack;display:inline-block;zoom:1;width:38px;height:35px;margin-left:2px;font-size:0;vertical-align:bottom;background:url(https://cdn2.thinqi.co.uk/thinqi-platform-client/2.4.3/img/login/hwb.png) center no-repeat}.login-page{background:0 0!important}.login-page .alt-login{margin-bottom:12px;padding-top:0}.login-page .alt-login span{padding-left:4px}.login-page .alt-login a,.login-page .alt-login button,.login-page .show-login a,.login-page .show-login button{display:block;width:100%;font-family:'Open Sans',Helvetica,Arial,sans-serif;color:#3b3b3b;font-size:14px;font-style:italic;line-height:35px;font-weight:600;text-align:center;background:0 0;border:1px solid #ccc;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-webkit-transition-property:all;-moz-transition-property:all;transition-property:all;-webkit-transition-duration:.1s;-moz-transition-duration:.1s;transition-duration:.1s;-webkit-transition-timing-function:ease-in;-moz-transition-timing-function:ease-in;transition-timing-function:ease-in}.login-page .alt-login a:active,.login-page .alt-login a:focus,.login-page .alt-login a:hover,.login-page .alt-login button:active,.login-page .alt-login button:focus,.login-page .alt-login button:hover,.login-page .show-login a:active,.login-page .show-login a:focus,.login-page .show-login a:hover,.login-page .show-login button:active,.login-page .show-login button:focus,.login-page .show-login button:hover{border:1px solid #999}.login-page .alt-login button,.login-page .show-login button{margin-bottom:28px}.login-page .alt-login button span,.login-page .show-login button span{color:#18a1f1}.login-page .alt-login button span:after,.login-page .show-login button span:after{content:'';position:relative;top:-2px;width:0;height:0;display:-moz-inline-stack;display:inline-block;zoom:1;margin-left:8px;border-style:solid;border-width:4px 4px 0;border-color:#b3b3b3 transparent transparent}.login-page .alt-login button:active span:after,.login-page .alt-login button:focus span:after,.login-page .alt-login button:hover span:after,.login-page .show-login button:active span:after,.login-page .show-login button:focus span:after,.login-page .show-login button:hover span:after{border-color:#999 transparent transparent}.login-page .alt-login button.form-open span:after,.login-page .show-login button.form-open span:after{content:'';position:relative;top:-2px;width:0;height:0;display:-moz-inline-stack;display:inline-block;zoom:1;margin-left:8px;border-style:solid;border-width:0 4px 4px;border-color:transparent transparent #b3b3b3}.login-page .alt-login button.form-open:active span:after,.login-page .alt-login button.form-open:focus span:after,.login-page .alt-login button.form-open:hover span:after,.login-page .show-login button.form-open:active span:after,.login-page .show-login button.form-open:focus span:after,.login-page .show-login button.form-open:hover span:after{border-color:transparent transparent #999}.login-page .form-elements{padding:25px 20px 0;border-top:1px solid #e6e6e6}.login-page .login-panel{left:0;right:auto}.login-page .login-panel .login-area .login-form{width:360px;max-width:360px}@media screen and (min-width:480px){.login-page .login-panel .login-area .login-form{width:400px;max-width:400px}}@media screen and (min-width:769px){.login-page .login-panel{width:60%}.login-page .login-panel .login-area{bottom:0;padding-top:0;font-size:0;text-align:center}.login-page .login-panel .login-area:before{content:'';display:-moz-inline-stack;display:inline-block;zoom:1;height:100%;vertical-align:middle}.login-page .login-panel .login-area .login-form{width:100%;max-width:460px;display:-moz-inline-stack;display:inline-block;zoom:1;vertical-align:middle;text-align:left}.login-page .login-panel .login-area .login-form h1{margin-bottom:45px}.login-page .login-panel .login-area .login-form>h2{margin-bottom:30px;padding-bottom:12px}}@media screen and (min-width:1020px){.login-page .login-panel{width:60%}}@media screen and (min-width:1280px){.login-page .login-panel{width:70%}}.login-page .login-panel.full{width:100%}@media screen and (min-width:1020px){.login-page .login-panel.full{width:100%}}@media screen and (min-width:1280px){.login-page .login-panel.full{width:100%}}.login-page .login-panel.full h1{margin-left:auto;margin-right:auto}.login-page .login-panel.full .login-form{text-align:center}@media screen and (min-width:768px){.login-page .login-panel.full .login-form{max-width:520px;width:520px}}.login-page .login-panel.full .login-form h2{display:-moz-inline-stack;display:inline-block;zoom:1;padding-bottom:0;margin-bottom:25px;font-size:24px;border:0}@media screen and (min-width:768px){.login-page .login-panel.full .login-form h2{font-size:30px}}.login-page .login-panel.full .login-form p.message{margin-bottom:70px;font-size:14px;line-height:170%;color:#616161}.login-page .login-panel.full .login-form p.message strong{font-weight:600px}.login-page .login-panel.full .login-form p.message em{font-style:italic}.login-page .login-panel.full .login-form .alt-login{width:auto;max-width:316px;margin-left:auto;margin-right:auto}.login-page h1{width:100%;max-width:460px;background-size:100%}.login-page .field-submit .button:first-child{width:100%;margin-right:0;color:#18a1f1;border:1px solid #18a1f1}.login-page .field-submit .button:first-child:active,.login-page .field-submit .button:first-child:focus,.login-page .field-submit .button:first-child:hover{color:#0b74b2;border:1px solid #0b74b2}.login-page .decorative-bar{display:none}.login-page .stream-widget{padding:30px;text-align:center;background:#0e97b7}@media screen and (min-width:769px){.login-page .stream-widget{position:fixed;top:0;right:0;bottom:0;width:40%;border-left:4px solid #12bee6;overflow-x:hidden;overflow-y:auto}}@media screen and (min-width:1020px){.login-page .stream-widget{width:40%}}@media screen and (min-width:1280px){.login-page .stream-widget{width:30%}}.login-page .stream-widget>h3{display:block;margin:30px 0 40px;padding-bottom:10px;color:#fff;font-family:'Open Sans',Helvetica,Arial,sans-serif;font-size:26px;line-height:32px;font-weight:300;letter-spacing:-.5px;text-align:left;border-bottom:1px solid #fff}.login-page .stream-widget>ul{margin-bottom:10px}.login-page .stream-widget>ul li{position:relative;display:block;min-height:58px;margin-top:14px;padding:2px 0 25px 90px;text-align:left}.login-page .stream-widget>ul li:first-child{margin-top:0}.login-page .stream-widget>ul li a{display:block;text-decoration:none}.login-page .stream-widget>ul li a:active .title,.login-page .stream-widget>ul li a:focus .title,.login-page .stream-widget>ul li a:hover .title{text-decoration:underline}.login-page .stream-widget>ul li a:active .img-hold img,.login-page .stream-widget>ul li a:focus .img-hold img,.login-page .stream-widget>ul li a:hover .img-hold img{opacity:.9}.login-page .stream-widget>ul li .img-hold{position:absolute;top:0;left:0;width:75px;background:#10aed3}.login-page .stream-widget>ul li .img-hold:before{content:'';display:block;width:100%;padding-bottom:75%}.login-page .stream-widget>ul li .img-hold img{position:absolute;top:0;left:0;width:100%}.login-page .stream-widget>ul li .date,.login-page .stream-widget>ul li .details,.login-page .stream-widget>ul li .title{display:block;font-family:'Open Sans',Helvetica,Arial,sans-serif;color:#fff}.login-page .stream-widget>ul li .details,.login-page .stream-widget>ul li .title{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.login-page .stream-widget>ul li .title{font-size:15px;line-height:180%}.login-page .stream-widget>ul li .details{font-size:13px;line-height:15px;font-weight:300}.login-page .stream-widget>ul li .date{margin-top:6px;font-size:11px;line-height:13px}.login-page .stream-widget>ul li.loading-layout a{text-decoration:none;cursor:default}.login-page .stream-widget>ul li.loading-layout .date,.login-page .stream-widget>ul li.loading-layout .details,.login-page .stream-widget>ul li.loading-layout .title{font-family:BLOKKNeue-Regular;color:#10aed3}.login-page .stream-widget>ul li.loading-layout .title{margin-top:-10px}.login-page .stream-widget>a{display:-moz-inline-stack;display:inline-block;zoom:1;padding:8px 38px;font-family:'Open Sans',Helvetica,Arial,sans-serif;color:#fff;font-size:14px;line-height:15px;text-decoration:none;background:#08586b;border:2px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.login-page .stream-widget>a:active,.login-page .stream-widget>a:focus,.login-page .stream-widget>a:hover{background:#074958}.login-page .language-switcher{position:absolute;top:20px;left:20px;z-index:100}.login-page .language-switcher>button{margin:0;padding:0;font-family:'Open Sans',Helvetica,Arial,sans-serif;color:#3b3b3b;font-size:14px;line-height:16px;font-weight:600;background:0 0;border:0}.login-page .language-switcher>button:before{content:'';position:relative;top:-2px;display:-moz-inline-stack;display:inline-block;zoom:1;width:0;height:0;margin-right:8px;vertical-align:middle;border-style:solid;border-width:5px 4px 0;border-color:#3b3b3b transparent transparent}.login-page .language-switcher>button:active,.login-page .language-switcher>button:focus,.login-page .language-switcher>button:hover{color:#6e6e6e}.login-page .language-switcher>button:active:before,.login-page .language-switcher>button:focus:before,.login-page .language-switcher>button:hover:before{border-color:#6e6e6e transparent transparent}.login-page .language-switcher>button>span{position:absolute!important;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);width:0;height:0;font-size:0}.login-page .language-switcher>ul{position:relative;left:-8px;margin-top:10px;background:#fff;border:1px solid #ccc;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 0 2px 0 rgba(0,0,0,.1);-moz-box-shadow:0 0 2px 0 rgba(0,0,0,.1);box-shadow:0 0 2px 0 rgba(0,0,0,.1)}.login-page .language-switcher>ul:after,.login-page .language-switcher>ul:before{content:'';position:absolute;left:7px;width:0;height:0;border-style:solid}.login-page .language-switcher>ul:before{top:-6px;left:6px;border-width:0 5px 6px;border-color:transparent transparent #ccc}.login-page .language-switcher>ul:after{top:-5px;border-width:0 4px 5px;border-color:transparent transparent #fff}.login-page .language-switcher>ul li a{display:block;padding:6px 18px;color:#3b3b3b;font-size:13px;line-height:16px;text-decoration:none}.login-page .language-switcher>ul li a:active,.login-page .language-switcher>ul li a:focus,.login-page .language-switcher>ul li a:hover{text-decoration:underline}

Login

!function(){var t=function(){if(window.jQuery){!function(){"use strict";var t="undefined"==typeof window?global:window;if("function"!=typeof t.require){var e={},r={},n={},i={}.hasOwnProperty,o="components/",s=function(t,e){var r=0;e&&(0===e.indexOf(o)&&(r=o.length),e.indexOf("/",r)>0&&(e=e.substring(r,e.indexOf("/",r))));var i=n[t+"/index.js"]||n[e+"/deps/"+t+"/index.js"];return i?o+i.substring(0,i.length-".js".length):t},a=/^\.\.?(\/|$)/,l=function(t,e){for(var r,n=[],i=(a.test(e)?t+"/"+e:e).split("/"),o=0,s=i.length;s>o;o++)r=i[o],".."===r?n.pop():"."!==r&&""!==r&&n.push(r);return n.join("/")},u=function(t){return t.split("/").slice(0,-1).join("/")},p=function(e){return function(r){var n=l(u(e),r);return t.require(n,e)}},h=function(t,e){var n={id:t,exports:{}};return r[t]=n,e(n.exports,p(t),n),n.exports},c=function(t,n){var o=l(t,".");if(null===n&&(n="/"),o=s(t,n),i.call(r,o))return r[o].exports;if(i.call(e,o))return h(o,e[o]);var a=l(o,"./index");if(i.call(r,a))return r[a].exports;if(i.call(e,a))return h(a,e[a]);throw new Error('Cannot find module "'+t+'" from "'+n+'"')};c.alias=function(t,e){n[e]=t},c.register=c.define=function(t,r){if("object"==typeof t)for(var n in t)i.call(t,n)&&(e[n]=t[n]);else e[t]=r},c.list=function(){var t=[];for(var r in e)i.call(e,r)&&t.push(r);return t},c.brunch=!0,c._cache=r,t.require=c}}(),function(){var t,e;t=window.Handlebars,e=function(){function e(e){var r,n,i,o,s,a,l,u,p,h,c;if(s=e.el,null===s)throw new Error("el must be supplied");if(this.$el=$(s),this.url=this.$el.data("url"),!(null!==(p=this.url)?p.length:void 0))throw new Error("'data-url' not specified element");for(this.headers={},h=this.$el[0].attributes,l=0,u=h.length;u>l;l++)o=h[l],o.specified&&0===o.name.indexOf("data-header-")&&(this.headers[o.name.substr(12)]=o.value);if(i=this.$el.find(".item:not(.loading, .empty)"),!i.length)throw new Error("could not find '.item' element");this.template=t.compile(i[0].outerHTML),this.$list=i.parent(),i.remove(),r=this.$el.find(".empty"),r.length&&(r.remove(),a=r[0].outerHTML,this.emptyTemplate=function(){return a}),n=this.$el.find(".loading"),n.length&&(c=n.data("repeat"))&&(n.remove(),a=n[0].outerHTML,this.placeholderTemplate=function(){return a},this.placeholderCount=c,this.render()),this.fetch(function(t){return function(e){return t.dataLoaded(t.data),t.render()}}(this))}return e.prototype.$el=void 0,e.prototype.url=void 0,e.prototype.template=void 0,e.prototype.placeholderTemplate=void 0,e.prototype.emptyTemplate=void 0,e.prototype.placeholderCount=void 0,e.prototype.dataLoaded=function(){},e.prototype.fetch=function(t){var e,r;return r=function(t){var e;if(null!==t){if("number"==typeof t.length)return t;if("number"==typeof(null!==(e=t.results)?e.length:void 0))return t.results}throw new Error("Loaded data does not match expected signature")},(e=$('script[data-url="'+this.url+'"]')).length?(this.data=r(JSON.parse(e.html())),t(null)):$.ajax({headers:this.headers,success:function(e){return function(n){return e.data=r(n),t(null)}}(this),type:"GET",url:this.url})},e.prototype.render=function(){var t,e,r,n,i,o,s,a,l;if(null!==this.data){if(this.$list.empty(),this.data.length){for(i=this.data,s=[],e=0,n=i.length;n>e;e++)l=i[e],s.push(this.$list.append(this.createItem(l)));return s}if(null!==this.emptyTemplate)return this.$list.append(this.createEmptyMessage())}else if(null!==this.placeholderTemplate&&this.placeholderCount>1){for(a=[],t=r=0,o=this.placeholderCount;o>=0?o>r:r>o;t=o>=0?++r:--r)a.push(this.$list.append(this.createPlaceholder()));return a}},e.prototype.createPlaceholder=function(){var t;return t=$($.parseHTML(this.placeholderTemplate())),t.css("display",""),t},e.prototype.createEmptyMessage=function(){var t;return t=$($.parseHTML(this.emptyTemplate())),t.css("display",""),t},e.prototype.createItem=function(t){var e,r;return r=this.template(t),e=$($.parseHTML(r)),e.find("[data-src]").each(function(t,e){var r;return r=$(e),r.attr("src",r.attr("data-src")),r.removeAttr("data-src")}),e.css("display",""),e},e}(),require.define("stopgap/list",function(t,r,n){return void(n.exports=e)})}.call(this),function(){var t,e,r,n=function(t,e){function r(){this.constructor=t}for(var n in e)i.call(e,n)&&(t[n]=e[n]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},i={}.hasOwnProperty;e=require("stopgap/list"),t="a, button",r=function(e){function r(){var e;this.items=[],r.__super__.constructor.apply(this,arguments),(e=this.$el.data("tick-duration"))&&(this.tickDuration=e),this.$el.on("click",".next",function(t){return function(e){return t.stopTimer(),t.next()}}(this)),this.$el.on("click",".prev",function(t){return function(e){return t.stopTimer(),t.prev()}}(this)),this.$el.on("click",".pause",function(t){return function(e){return t.stopTimer()}}(this)),this.$el.on("click",".play",function(t){return function(e){return t.startTimer()}}(this)),this.$el.on("mouseenter",function(t){return function(e){return t.stopTimer(!1)}}(this)),this.$el.on("mouseleave",function(t){return function(e){return t.startTimer(!1)}}(this)),this.$el.on("focusin",t,function(t){return function(e,r){return r?void 0:t.stopTimer(!1)}}(this)),this.$el.on("focusout",t,function(t){return function(e,r){return r?void 0:t.startTimer(!1)}}(this))}return n(r,e),r.prototype.index=0,r.prototype.tickDuration=10,r.prototype.items=void 0,r.prototype._playing=!0,r.prototype.remove=function(){return this.stopTimer(),this.items=void 0,this.$el.off(),this.$el=void 0},r.prototype.render=function(){var t;return r.__super__.render.apply(this,arguments),this.$el.find(".prev,.next,.pause,.play").css("display","none"),null!==this.data&&(t=this.data.length)&&(this.show(this.index),t>1&&this.$el.find(".prev, .next").css("display","")),this},r.prototype.renderPlayPause=function(){var t,e;return t=this.$el.find(".play:focus, .pause:focus").length,e=this._playing,this.$el.find(".play").css("display",e?"none":""),this.$el.find(".pause").css("display",e?"":"none"),t?this.$el.find(".play:visible, .pause:visible").trigger("focus",!0):void 0},r.prototype.createItem=function(t){var e;return e=r.__super__.createItem.apply(this,arguments),this.items.push(e),this.hideItem(e),e},r.prototype.dataLoaded=function(){return this.startTimer()},r.prototype.hideItem=function(e){return e.removeClass("show").addClass("hide").find(t).attr("tabindex",-1),e},r.prototype.showItem=function(e){return e.removeClass("hide").addClass("show").find(t).attr("tabindex",""),e},r.prototype.startTimer=function(t){return null===t&&(t=!0),t&&(this._playing=!0),null!==this.interval==0&&this._playing&&(this.interval=window.setInterval(function(t){return function(){return t.next()}}(this),1e3*this.tickDuration)),this.renderPlayPause()},r.prototype.stopTimer=function(t){return null===t&&(t=!0),t&&(this._playing=!1),null!==this.interval&&(window.clearInterval(this.interval),delete this.interval),this.renderPlayPause()},r.prototype.prev=function(){return this.show(this.index-1)},r.prototype.next=function(){return this.show(this.index+1)},r.prototype.show=function(t){var e,r,n,i;this.data&&this.data.length&&this.items&&this.items.length&&(n=this.index-t,t>this.data.length-1?t=0:0>t&&(t=this.data.length-1),0===n?(e=this.items[t],this.showItem(e).removeClass("left right")):(i=n>0,e=this.items[t],this.showItem(e).toggleClass("left",i).toggleClass("right",!i),r=this.items[this.index],this.hideItem(r).toggleClass("left",!i).toggleClass("right",i)),this.index=t)},r}(e),require.define("stopgap/ticker",function(t,e,n){return void(n.exports=r)})}.call(this),function(){var t,e,r;t=require("stopgap/list"),e=require("stopgap/ticker"),r=function(){var r,n,i,o,s,a,l;if((n=$(".list[data-url]")).length)for(i=0,s=n.length;s>i;i++)r=n[i],new t({el:r});if((n=$(".ticker[data-url]")).length){for(l=[],o=0,a=n.length;a>o;o++)r=n[o],l.push(new e({el:r}));return l}},require.define("stopgap",function(t,e,n){return void(n.exports={initialize:r})})}.call(this),function(){$(function(){return require("stopgap").initialize()})}.call(this);var e=window.location.href;if(e.indexOf("redirectUrl=")>-1){var r=e.substring(e.indexOf("redirectUrl=")),n=$('[name="redirectUrl"]')[0].value;n.indexOf("redirectUrl=")<0&&($('[name="redirectUrl"]')[0].value=n+"?"+r)}var i=function(t,e){return function(){return t.apply(e,arguments)}};!function(){var t;return new(t=function(){function t(){this._onToggleBtnClick=i(this._onToggleBtnClick,this),this._rootEl=$("#maincontent"),this._attachEvents(),this._getParameterByName("invalid")&&this._rootEl.find("[data-toggle-btn]").click()}return t.prototype._attachEvents=function(){return this._rootEl.find("[data-toggle-btn]").on("click",this._onToggleBtnClick)},t.prototype._onToggleBtnClick=function(t){var e,r,n;return r=$(t.currentTarget),n=this._rootEl.find(r.data("toggleBtn")),e=n.is(":visible"),n.toggle(!e),r.toggleClass("form-closed",e).toggleClass("form-open",!e)},t.prototype._getParameterByName=function(t){var e,r;return t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),e=new RegExp("[\\?&]"+t+"=([^&#]*)"),r=e.exec(location.search),null===r?"":decodeURIComponent(r[1].replace(/\+/g," "))},t}())}()}else window.setTimeout(t,100)};t()}();