bplist00 '_WebSubresources_WebMainResource_WebSubframeArchives=#'+/37;?CGKOTY^chmty~  _WebResourceMIMEType^WebResourceURL_WebResourceResponse_WebResourceDataXtext/css_:https://cf.dropboxstatic.com/static/css/main-vflopVdkl.cssObplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ()$%&'(WNS.base[NS.relative_:https://cf.dropboxstatic.com/static/css/main-vflopVdkl.css+,-.Z$classnameX$classesUNSURL-/XNSObject#A456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-CacheXtext/cssQ*_Tue, 21 Apr 2015 00:40:45 GMT_8fGCkRnfMYXBqlPT6LNYhDHLKQpDBrGYRQbhCS1KVWhUeuTkvCsIy5w==TgzipUnginx_@1.1 cac0807f4e1bdd7cf57c08992aa341a5.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsU51542Zkeep-alive_"55359c8d-c956"_Miss from cloudfront+,vw\NSDictionaryv/+,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27dj).9BHKT]_ahp{"5<@HV[w Rr!$-2FJ^l~O@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700");@font-face{font-family:'ProximaNova';src:url("/static/fonts/proximanova/proxima_nova_regular-webfont-vflpJuDrC.eot");src:url("/static/fonts/proximanova/proxima_nova_regular-webfont.eot?#iefix") format("embedded-opentype"),url("/static/fonts/proximanova/proxima_nova_regular-webfont-vflChdvFQ.woff") format("woff"),url("/static/fonts/proximanova/proxima_nova_regular-webfont-vflnDDLzR.ttf") format("truetype"),url("/static/fonts/proximanova/proxima_nova_regular-webfont.svg#ProximaNovaRegular") format("svg");font-weight:normal;font-style:normal}@font-face{font-family:'ProximaNova';src:url("/static/fonts/proximanova/proxima_nova_bold-webfont-vfl9QdFLd.eot");src:url("/static/fonts/proximanova/proxima_nova_bold-webfont.eot?#iefix") format("embedded-opentype"),url("/static/fonts/proximanova/proxima_nova_bold-webfont-vfl2h_ZjQ.woff") format("woff"),url("/static/fonts/proximanova/proxima_nova_bold-webfont-vfloO-RZK.ttf") format("truetype"),url("/static/fonts/proximanova/proxima_nova_bold-webfont.svg#ProximaNovaBold") format("svg");font-weight:bold;font-style:normal}@font-face{font-family:'ProximaNova';src:url("/static/fonts/proximanova/proxima_nova_semibold-webfont-vfl4pONVd.eot");src:url("/static/fonts/proximanova/proxima_nova_semibold-webfont.eot?#iefix") format("embedded-opentype"),url("/static/fonts/proximanova/proxima_nova_semibold-webfont-vfl65WOQM.woff") format("woff"),url("/static/fonts/proximanova/proxima_nova_semibold-webfont-vflj52sIL.ttf") format("truetype"),url("/static/fonts/proximanova/proxima_nova_semibold-webfont.svg#ProximaNovaSemibold") format("svg");font-weight:semibold;font-style:normal}body,input,textarea,select,button,.normal{font-family:"Open Sans","lucida grande","Segoe UI",arial,verdana,"lucida sans unicode",tahoma,sans-serif;font-size:13px;color:#3d464d;font-weight:normal}body{background-color:#fff;min-height:100%;margin:0;padding:0}a,a *{cursor:pointer;outline:none}a{color:#2895F1;text-decoration:none}a img{border:0}p,h1,h2,h3,h4,h5{margin:0 0 1em 0;line-height:1.6em}h1{font-size:18pt;font-weight:normal;margin:10px 0}h2{padding-top:3px;padding-bottom:10px;margin-bottom:4px;font-size:10pt}h3{padding:0;margin:0;font-size:10pt}h4{margin:0 0 0.5em 0;font-weight:bold;font-size:14px}h5{margin:0 0 0.5em 0;font-weight:bold;font-size:12px}input[type=password]{font-family:arial, sans-serif}button{border:0;width:auto;overflow:visible;border-style:solid;outline:0}form{padding:0;margin:0}label{cursor:default}noscript{font-size:13px;font-weight:normal}.carousel *{font-family:"Gotham","lucida grande","Segoe UI",arial,verdana,"lucida sans unicode",tahoma,sans-serif}.carousel a{color:#0bacff}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.link-img{vertical-align:middle;background-color:#fff;margin:-2px 0 0 0;padding-right:4px;background-repeat:no-repeat}.teams-onboarding-banner{background:white;width:100%;border-bottom:solid 1px #d8dce0;height:252px;margin:0 auto}.teams-onboarding-banner__close-x{position:absolute;top:10px;right:14px;width:24px;height:24px;background-color:transparent;background-repeat:no-repeat;background-position:center right;background-image:url("/static/images/teams/onboarding/member-onboarding-dismiss-modal-default-vflJYky8E.png");background-size:24px 24px;-webkit-transition:background-image 0.25s ease-out 0s;-moz-transition:background-image 0.25s ease-out 0s;transition:background-image 0.25s ease-out 0s;cursor:pointer;font-size:0px;color:transparent}@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi){.teams-onboarding-banner__close-x{background-image:url("/static/images/teams/onboarding/member-onboarding-dismiss-modal-default@2x-vflg4PItq.png")}}.teams-onboarding-banner__inner{position:relative;background:transparent url("/static/images/teams/onboarding/member-onboarding-puzzle-background-vflh1GT1W.png") center center no-repeat;width:1020px;height:100%;margin:0 auto;white-space:nowrap}.teams-onboarding-banner__button{display:block;margin:0 auto}.teams-onboarding-banner__label{display:block;margin:0 auto;width:100%;text-align:center;background-color:transparent;background-repeat:no-repeat;background-position:center center}.teams-onboarding-banner__head,.teams-onboarding-banner__step{display:inline-block;position:relative;height:100%;box-sizing:border-box;background-color:transparent;background-repeat:no-repeat;background-position:center center;vertical-align:top}.teams-onboarding-banner__head{width:321px;padding-left:17px}.teams-onboarding-banner__head.is--completed .teams-onboarding-banner__head-wrapper{background:transparent url("/static/images/teams/onboarding/member-onboarding-puzzle-cupcake-vflUlC9Vy.png") no-repeat left center;left:20px;padding-left:120px}.teams-onboarding-banner__head.is--completed .teams-onboarding-banner__label{text-align:left;font-weight:normal;width:auto;font-size:16px}.teams-onboarding-banner__head.is--completed .teams-onboarding-banner__button{margin:20px 0 0 0}.teams-onboarding-banner__head-wrapper{position:relative;display:table-cell;width:304px;height:252px;vertical-align:middle;box-sizing:border-box}.teams-onboarding-banner__step{width:270px;margin-right:-55px;text-align:center}.teams-onboarding-banner__step.first-step{padding-left:0}.teams-onboarding-banner__step.first-puzzle-piece{width:223px;padding-left:0}.teams-onboarding-banner__step.first-puzzle-piece.is--completed{background-image:url("/static/images/teams/onboarding/member-onboarding-puzzle-piece-save-vflHABH1_.png")}.teams-onboarding-banner__step.second-puzzle-piece{width:293px;padding-left:51px}.teams-onboarding-banner__step.second-puzzle-piece.is--completed{background-image:url("/static/images/teams/onboarding/member-onboarding-puzzle-piece-share-vflU4451W.png")}.teams-onboarding-banner__step.third-puzzle-piece{width:286px;left:-5px;padding-left:56px}.teams-onboarding-banner__step.third-puzzle-piece.is--completed{background-image:url("/static/images/teams/onboarding/member-onboarding-puzzle-piece-sync-vflL-epfg.png")}.teams-onboarding-banner__step .teams-onboarding-banner__button{margin-top:160px;display:inline-block}.teams-onboarding-banner__step .teams-onboarding-banner__label{margin-top:118px;color:white;padding-top:50px;background-image:url("/static/images/teams/onboarding/member-onboarding-puzzle-check-vfl0yPbWC.png");background-position:top center}.teams-onboarding-banner--fixed{position:fixed;top:0;left:0;right:0;z-index:6}.top-notification-bar .teams-onboarding-banner--fixed{margin-top:51px}[draggable="true"]{-khtml-user-drag:element;-webkit-user-drag:element}.dragging .can_drop{background:#fcfff4}#browse-box #browse-files .browse-file.dragover{border-color:#76A477;background:#E5FDD0;position:relative;z-index:4}#browse-box{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none;margin-top:-1px;padding-top:0}#browse-location{-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-o-user-select:text;user-select:text;white-space:nowrap;width:400px}#browse-location a.dragover{color:#080;background:#e3f2ff}.sprite.icon.thumbnail{background:none}#drag-status{width:50px;height:50px;z-index:12;position:fixed;display:none}#drag-status .badge{position:absolute;left:0px;top:0px;background:#1d73cb url("/static/images/badgebg-vfltxisr9.png") repeat-x;font-size:10px;padding:2px 4px;line-height:12px;height:12px;font-weight:600;color:white;z-index:16;text-align:center;min-width:8px;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;box-shadow:1px 1px 1px rgba(0,0,0,0.2),inset 0 0 0 #000;text-shadow:#666 0 -1px 1px}#drag-status .icon{position:absolute;width:32px;height:32px;top:3px;transition:top 300ms ease-in 100ms, left 200ms ease-in 50ms}#drag-status .icon.thumbnail{border:1px solid #7c7c7c}#drag-status .icon0{left:3px;z-index:15}#drag-status .icon1{left:11px;top:6px;z-index:14}#drag-status .icon2{left:19px;top:9px;z-index:13}#drag-status .icon3{left:27px;top:12px;z-index:12}#drag-status #drag-selection-status,#drag-status.selection #drag-file-status{display:none}#drag-status.selection #drag-selection-status{display:block}body.dragging #drag-status.active{display:block}.title_bubble_container{position:fixed;font-size:11px;background:#4c545a;color:#fff;padding:7px 9px;white-space:pre;z-index:1001;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.title_bubble_container .tail{position:absolute;width:0;height:0;border:5px solid transparent;margin:0 auto;font-size:0px;line-height:0}.title_bubble_container.has-transition{-webkit-transition:opacity 0.2s ease-in 0s;-moz-transition:opacity 0.2s ease-in 0s;transition:opacity 0.2s ease-in 0s}.title_bubble_container.position-above .tail{top:100%;left:50%;border-top:5px solid #4c545a}.title_bubble_container.position-below .tail{top:-10px;left:50%;border-bottom:5px solid #4c545a}.title_bubble_container.position-left .tail{top:50%;left:100%;border-left:5px solid #4c545a}.title_bubble_container.position-right .tail{top:50%;left:-10px;border-right:5px solid #4c545a}.title_bubble_container.white{background:#fff;color:#3d464d}.title_bubble_container.white.position-above .tail{border-top-color:#fff}.title_bubble_container.white.position-below .tail{border-bottom-color:#fff}.title_bubble_container.white.position-left .tail{border-left-color:#fff}.title_bubble_container.white.position-right .tail{border-right-color:#fff}.title_bubble_container.black{background:#444;color:white;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:0.8}.title_bubble_container.black.position-above .tail{border-top-color:#444}.title_bubble_container.black.position-below .tail{border-bottom-color:#444}.title_bubble_container.black.position-left .tail{border-left-color:#444}.title_bubble_container.black.position-right .tail{border-right-color:#444}#browse-root-quick-send{background:#F6F9FC;border:1px solid #E5E5E5;margin-bottom:16px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#browse-root-quick-send.collapsed{height:70px}#browse-root-quick-send.collapsed #quick-send-left-part,#browse-root-quick-send.collapsed #quick-send-right-part{display:none}#browse-root-quick-send.expanded{height:252px}#browse-root-quick-send.expanded #quick-send-top-choose-button-send{display:none}#browse-root-quick-send.can_drop{background:#EEF7FF}#browse-root-quick-send.can_drop.dragover{background:#BCDBF2}#browse-root-quick-send #quick-send-top-part-confirm,#browse-root-quick-send #quick-send-top-part-send{height:55px}#browse-root-quick-send #quick-send-top-part-confirm img,#browse-root-quick-send #quick-send-top-part-send img{float:left;padding:16px 12px 0px 16px}#browse-root-quick-send #quick-send-top-part-confirm .send-text,#browse-root-quick-send #quick-send-top-part-send .send-text{float:left;padding-top:16px}#browse-root-quick-send #quick-send-top-part-confirm .send-text .send-text-context,#browse-root-quick-send #quick-send-top-part-send .send-text .send-text-context{color:#7B8994;font-size:12px}#browse-root-quick-send #quick-send-top-part-confirm .choose-file-button,#browse-root-quick-send #quick-send-top-part-send .choose-file-button{float:right;margin:16px}#browse-root-quick-send #quick-send-left-part{float:left;width:50%}#browse-root-quick-send #quick-send-left-part .tokenized_autocompleter_container{padding:16px 16px 0px;width:380px;z-index:100}#browse-root-quick-send #quick-send-left-part .tokenized_autocompleter_container .textinput{border-bottom-width:0px;max-height:30px}#browse-root-quick-send #quick-send-left-part #custom-message-container{padding:0px 16px;width:380px}#browse-root-quick-send #quick-send-left-part #custom-message-container #quick-send-textarea{box-sizing:border-box;height:121px;width:100%}#browse-root-quick-send #quick-send-left-part #custom-message-container label{left:23px}#browse-root-quick-send #quick-send-right-part{float:left;width:50%}#browse-root-quick-send #quick-send-right-part #quick-send-drop-area{border:2px dotted #6DB0EA;height:157px;margin:16px 16px 0px 16px;width:366px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#browse-root-quick-send #quick-send-right-part #quick-send-drop-area #quick-send-drop-label{font-size:15px;font-color:#7B8994;height:20px;margin-top:24px;margin-left:120px;width:140px;text-align:center;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}#browse-root-quick-send #quick-send-right-part #quick-send-drop-area #quick-send-file-box{clip:rect(0px, 100px, 5px, 95px);cursor:pointer;position:absolute;margin:0;width:100px;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}#browse-root-quick-send #quick-send-right-part #quick-send-drop-area #quick-send-choose-button{margin:54px 16px 16px;width:332px}#browse-root-quick-send #quick-send-right-part #quick-send-files-area #quick-send-upload-files-list{border:1px solid #bfbfbf;height:109px;margin:16px 12px;padding:0px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#browse-root-quick-send #quick-send-right-part #quick-send-files-area #quick-send-upload-files-list .upload-file.complete .upload-progress-bar{background:#fff}#browse-root-quick-send #quick-send-right-part #quick-send-files-area #quick-send-cancel{margin:0px 6px 0px 16px;width:176px}#browse-root-quick-send #quick-send-right-part #quick-send-files-area #quick-send-submit{margin:0px 16px 0px 6px;width:176px}#browse-root-actions{display:none;font-size:12px}#browse-root-actions ul{-webkit-padding-start:0px;white-space:nowrap}#browse-root-actions li{list-style-type:none;position:relative}#browse-root-actions li:hover{background-color:inherit}#browse-root-actions li.primary.active .secondary{display:block}#browse-root-actions li.primary.active .secondary.disabled{display:none}#browse-root-actions .action-bar{float:left;line-height:27px;margin-left:10px;padding:0;margin-top:0;margin-bottom:0;list-style-type:none}#browse-root-actions .action-bar .primary{float:left;margin:0;padding:0;margin-right:10px}#browse-root-actions .action-bar .primary .s_web_arrow-down-blue{position:relative;top:-4px;left:2px}#browse-root-actions .action-bar .primary .icon{display:inline-block;overflow:visible;width:19px;height:17px}#browse-root-actions .action-bar .primary .icon img{vertical-align:middle;margin-bottom:0px}#browse-root-actions .action-bar .primary .icon img.s_web_rainbow_16{margin-top:-2px}#browse-root-actions .action-bar .action button,#browse-root-actions .action-bar .action a{cursor:pointer;display:block;border:0;background-color:transparent;font-family:inherit;font-size:12px;color:#2895F1}#browse-root-actions .action-bar .action button span,#browse-root-actions .action-bar .action button img,#browse-root-actions .action-bar .action a span,#browse-root-actions .action-bar .action a img{cursor:pointer}#browse-root-actions .action-bar .action button.disabled,#browse-root-actions .action-bar .action a.disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4}#browse-root-actions .action-bar .action button{padding:0px 6px;height:29px}#browse-root-actions .action-bar .secondary{top:29px;position:absolute;display:none;right:-30px;min-width:150px;overflow:shown;background-color:#fff;padding:4px 0;line-height:normal}#browse-root-actions .action-bar .secondary ul{margin:0;padding:0}#browse-root-actions .action-bar .secondary div.icon-frame{width:19px;height:19px}#browse-root-actions .action-bar .secondary div.icon-frame img{display:block;margin:auto}#browse-root-actions .action-bar .secondary .action{background-color:#fff}#browse-root-actions .action-bar .secondary .action button{width:100%;padding:6px;padding-right:12px;margin:0;display:block;font-size:12px;color:#444;text-align:left;min-width:150px}#browse-root-actions .action-bar .secondary .action:hover{background:#e3f2ff}#browse-root-actions .action-bar .secondary .action:hover a:hover{text-decoration:none}#browse-root-actions .description,#browse-root-actions .filesize{-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-o-user-select:text;user-select:text;color:#3d464d;float:left;height:29px}#browse-root-actions .filesize{float:right}#browse-root-actions .detail-text{color:#999}#context-menu-container ul{margin:0px;padding:4px 0;list-style:none;min-width:160px;white-space:nowrap}#context-menu{position:fixed;z-index:501}#context-menu a{min-width:160px;margin:0;padding:8px 10px;display:block}#context-menu a:hover{text-decoration:none}#context-menu button{min-width:160px;height:100%;padding:8px 8px;margin:0;text-align:left;vertical-align:middle;background-color:transparent;border:none}#context-menu button.disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4}#context-menu a>img{margin-right:4px}#context-menu a,#context-menu button,#context-menu button div,#context-menu button img{cursor:pointer;color:#222}#context-menu .secondary{display:none;position:absolute;top:-5px;left:98%;z-index:20}#context-menu .secondary button{padding-right:12px}#context-menu li.primary{position:relative}#context-menu li.action{height:34px}#context-menu .hover .secondary{display:block}#context-menu.big{min-width:195px}#context-menu.big li.subheader{margin:10px 0px 7px 8px;font-size:11px;color:#666}#context-menu.big li.subheader:hover{background-color:#fff}#context-menu.big a,#context-menu.big button{min-width:195px;height:40px;line-height:32px;padding:4px 10px}#context-menu.big a>img,#context-menu.big button>img{float:left;width:32px;height:32px;margin-left:-2px;margin-right:9px;background-color:#e3f2ff}#context-menu.big a>img.context-menu-spacer,#context-menu.big button>img.context-menu-spacer{background-color:transparent}#browse-sort,#browse-root-actions,#browse-global-actions-bar,#browse-header-status{line-height:29px;padding:3px 2px;padding-right:5px;height:30px}.selected #browse-sort{display:none}.selected #browse-root-actions{display:block}#browse-sort,#browse-root-actions,#browse-header-wrapper{background:#fff;border-bottom:1px solid #e5e5e5}#browse-header-wrapper{overflow:hidden}ul.menu button span{vertical-align:top}ul.menu .detail-text{color:#999}ul.menu div.icon-frame{width:19px;height:19px;display:inline-block;vertical-align:top;margin-right:2px}ul.menu div.icon-frame img{display:block;margin:auto}ul.menu .secondary div.icon-frame{margin-left:4px;margin-right:8px}ul.menu .sprite{margin-bottom:-3px}ul.menu .s_web_send-to-contact{position:relative;top:-4px;left:-4px}ul.menu .s_web_open{margin-top:-3px;padding-right:3px}ul.menu li:hover{background-color:#e3f2ff}ul.menu li.subheader{margin-top:4px;padding-top:2px}ul.menu li.subheader:hover{background-color:transparent}ul.menu li.divider{margin:4px 0;border-bottom:1px solid #e5e5e5}#browse-global-actions-bar{margin-bottom:26px}#browse-global-actions-bar .inline-action-button{float:right;margin:-2px 5px 0 5px;min-height:31px;height:31px}#browse-header{position:fixed;top:50px;z-index:4;background:#fff;width:800px;min-height:98px}.top-notification-bar #browse-header{top:101px}.has-top-dashboard #browse-header{top:320px}.has-top-teams-onboarding-banner #browse-header{top:302px}.has-top-teams-onboarding-banner.top-notification-bar #browse-header{top:353px}.has-top-onboarding-progress-bar #browse-header{top:280px}.has-top-onboarding-progress-bar-collapsed #browse-header{top:110px}.has-top-onboarding-progress-bar.top-notification-bar #browse-header{top:331px}.has-top-onboarding-progress-bar-collapsed.top-notification-bar #browse-header{top:161px}.has-fastrack-survey-banner #browse-header{top:150px}.toggle-button{display:inline-block;padding:3px;border:1px solid #ccc;margin:0;margin-left:-1px}#browse-rightmenu{float:right;margin-top:5px;position:relative;margin-right:-2px}#browse-search{float:right;margin-top:-3px}#browse-search input{border-color:#bdc4c9;width:154px;padding-left:25px;padding-right:22px;background:#fff url("/static/images/sprites/web_core/mag_glass-vflyV-kBh.png") 4% center no-repeat;box-shadow:none}#browse-search label{color:#aaa;padding-left:21px;line-height:normal}#browse-search .search-loading-wheel{position:absolute;top:7px;left:5px}#browse-search.focused label{color:#ccc}#browse .search-loading-wheel{display:none}#browse.pending-search .search-loading-wheel{display:block}#browse.pending-search #browse-search input{background-image:none}#browse #browse-search label{margin-left:-1px}#browse.search #global-actions{display:none}#browse.inside_deleted_dir .upload,#browse.inside_deleted_dir .new{display:none}.gecko #browse-root-actions .action-bar li.primary.active .secondary{top:32px}.ie #browse-root-actions .action-bar{margin-top:-2px}.ie #browse-root-actions .action-bar li.primary.active .dropdown{margin:0 0 0 -3px;padding:0 6px 0 10px}.ie #browse-root-actions .action-bar li.primary.active .secondary{top:34px}.ie #browse-global-actions-bar .inline-action-button{min-height:18px}#advanced-search-box .text-input{width:388px}#advanced-search-link{float:right;margin:-1px 20px 0 0;padding:0;font-size:12px;text-align:left}#advanced-search-exit{cursor:pointer}#advanced-search-box{height:168px;margin-top:-16px}#advanced-search-box #table-container{margin:0 auto}#advanced-search-box #left-search-col{margin-right:30px}#advanced-search-box #advanced-search-submit{float:right}#advanced-search-box .search-loading-wheel{margin-top:26px;margin-right:9px;float:right}#advanced-search-box label{margin-right:17px}.xclose-sprite{cursor:pointer}#browse-box.account-sidebar .account-list-item:hover{background-color:#f7fbfe;text-decoration:none}#browse-box.account-sidebar .account-list-item{float:left;width:50%;padding:60px 0 30px 0;cursor:pointer;height:146px}#browse-box.account-sidebar .account-list-item .account-name a{font-size:16px;color:black}#browse-box.account-sidebar .account-list-item .filename-col{width:100%;text-align:center;cursor:pointer;float:none}#browse-box.account-sidebar .account-list-item .filename-col div{cursor:pointer}#browse-box.account-sidebar .account-list-item .filename-col .sign-in-text{line-height:12px}#browse-box.account-sidebar .account-list-item .filename-col .sign-in-text a{color:#007ee5}#browse-box.account-sidebar .account-list-item .filename-col .account-icon-div{display:inline-block}#browse-box.account-sidebar #browse-header{min-height:44px}#browse-box.account-sidebar #browse-files{margin-top:-36px}#browse-box.account-sidebar .account-list-item{border-top:1px solid #96c4ea}#browse-box.account-browse #browse-sort a{color:#999999;cursor:default}#browse-box.account-browse #browse-sort a span{cursor:default}#browse-box.account-browse .account-list-item:hover{background-color:#f7fbfe;text-decoration:none}#browse-box.account-browse .account-list-item{cursor:pointer;padding-top:30px;padding-bottom:30px;padding-left:30px}#browse-box.account-browse .account-list-item .filename-col{cursor:pointer}#browse-box.account-browse .account-list-item .filename-col .sign-in-button{float:right;margin-right:50px}#browse-box.account-browse .account-list-item .filename-col .account-icon{float:left}#browse-box.account-browse .account-list-item .filename-col .account-text{float:left;padding-left:10px;padding-top:21px}#browse-box.account-browse .account-list-item .filename-col .account-name{height:22px;line-height:22px}#browse-box.account-browse .account-list-item .filename-col .account-name a{font-size:18px}#browse-box.account-browse .account-list-item .double-col{padding-top:19px}#fulltext-search-loading{margin-top:76px;display:none}#fulltext-search-loading img{display:block;margin-left:auto;margin-right:auto}.search-all-link{display:none;padding:3px;line-height:29px;color:#2895f1;font-weight:lighter;cursor:pointer}#browse-files{margin:0;padding:0;-webkit-padding-start:0;padding-top:149px}#browse-files.quicksend-collapsed{padding-top:235px}#browse-files.quicksend-expanded{padding-top:417px}#browse-files.preview-sf-members{padding-top:248px}#browse-files .quota-text{color:#888;line-height:20px}#browse-files .quota_graph_container{margin:0;margin-top:16px;margin-bottom:2px;border-top:1px solid #ddd;background:#eee;height:5px;width:165px}#browse-files .quota_graph_container .quota_graph_bar{margin-top:-1px;background:#69b5f2;border:1px solid #5d9fd5;height:4px}.advanced-search #browse-files{padding-top:300px}li.browse-file,li.browse-new-folder{list-style:none;position:relative;border:1px solid #e5e5e5;border-width:1px 0;font-size:13px;zoom:1}li.browse-file input,li.browse-new-folder input{box-shadow:0 0 0 #000,inset 0 0 0 #000;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border:1px solid #e5e5e5;padding:4px 7px}#sharing-growth-experiments-dropdown-menu{display:none;position:absolute;width:228px;z-index:3;padding:0}#sharing-growth-experiments-dropdown-menu .chat-bubble-arrow,#sharing-growth-experiments-dropdown-menu .chat-bubble-arrow-border{right:12px}#sharing-growth-experiments-dropdown-menu ul{margin:4px 0;padding:0}#sharing-growth-experiments-dropdown-menu ul li{list-style-type:none;padding:8px 10px;cursor:pointer}#sharing-growth-experiments-dropdown-menu ul li:hover{background-color:#e3f2ff}#sharing-growth-experiments-dropdown-menu ul li .sprite-frame{vertical-align:top}#sharing-growth-experiments-dropdown-menu ul li .subtext{color:#aaa;font-size:12px}.list_view .browse-file,.list_view .browse-new-folder,#wizard-overlay .browse-file,#wizard-overlay .browse-new-folder{text-align:left;padding:7px 2px 6px;margin:0 0px -1px 0px;line-height:32px}.list_view .browse-file .shmodel-file,.list_view .browse-new-folder .shmodel-file,#wizard-overlay .browse-file .shmodel-file,#wizard-overlay .browse-new-folder .shmodel-file{display:none;position:absolute;right:15px;top:12px;padding:0;margin:0}.list_view .browse-file:hover .shmodel-file,.list_view .browse-file.shmodeled .shmodel-file,.list_view .browse-new-folder:hover .shmodel-file,.list_view .browse-new-folder.shmodeled .shmodel-file,#wizard-overlay .browse-file:hover .shmodel-file,#wizard-overlay .browse-file.shmodeled .shmodel-file,#wizard-overlay .browse-new-folder:hover .shmodel-file,#wizard-overlay .browse-new-folder.shmodeled .shmodel-file{display:block}.list_view .browse-file .inline-share-button,.list_view .browse-new-folder .inline-share-button,#wizard-overlay .browse-file .inline-share-button,#wizard-overlay .browse-new-folder .inline-share-button{display:none;position:absolute;right:8px;top:8px;height:28px;line-height:28px;padding:0px 10px;margin:0;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;background:#f4faff;background:-o-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-ms-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-moz-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-webkit-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fffffe), color-stop(100%, #f4faff));background:linear-gradient(to bottom, #fffffe 0%,#f4faff 100%);box-shadow:-10px 0px 8px #fff,inset 0 0 0 #000;border:1px solid #5eb0f0;color:#007ee5;text-decoration:none;font-weight:600;text-transform:none}.list_view .browse-file .inline-share-button.variant-DROPDOWN:hover,.list_view .browse-file .inline-share-button.variant-DROPDOWN.hovered,.list_view .browse-new-folder .inline-share-button.variant-DROPDOWN:hover,.list_view .browse-new-folder .inline-share-button.variant-DROPDOWN.hovered,#wizard-overlay .browse-file .inline-share-button.variant-DROPDOWN:hover,#wizard-overlay .browse-file .inline-share-button.variant-DROPDOWN.hovered,#wizard-overlay .browse-new-folder .inline-share-button.variant-DROPDOWN:hover,#wizard-overlay .browse-new-folder .inline-share-button.variant-DROPDOWN.hovered{background:#e5f3ff;background:-o-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-ms-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-moz-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-webkit-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fffffe), color-stop(100%, #e5f3ff));background:linear-gradient(to bottom, #fffffe 0%,#e5f3ff 100%)}.list_view .browse-file .inline-share-button.variant-DROPDOWN.extra-padding,.list_view .browse-new-folder .inline-share-button.variant-DROPDOWN.extra-padding,#wizard-overlay .browse-file .inline-share-button.variant-DROPDOWN.extra-padding,#wizard-overlay .browse-new-folder .inline-share-button.variant-DROPDOWN.extra-padding{padding:0 17px}.list_view .browse-file .inline-share-button.variant-DROPDOWN .s_web_arrow-down-blue,.list_view .browse-new-folder .inline-share-button.variant-DROPDOWN .s_web_arrow-down-blue,#wizard-overlay .browse-file .inline-share-button.variant-DROPDOWN .s_web_arrow-down-blue,#wizard-overlay .browse-new-folder .inline-share-button.variant-DROPDOWN .s_web_arrow-down-blue{margin-left:2px;vertical-align:middle}.list_view .browse-file.file-select-one .inline-share-button,.list_view .browse-file:hover .inline-share-button,.list_view .browse-new-folder.file-select-one .inline-share-button,.list_view .browse-new-folder:hover .inline-share-button,#wizard-overlay .browse-file.file-select-one .inline-share-button,#wizard-overlay .browse-file:hover .inline-share-button,#wizard-overlay .browse-new-folder.file-select-one .inline-share-button,#wizard-overlay .browse-new-folder:hover .inline-share-button{display:block;box-shadow:-10px 0px 8px #f5fafe,inset 0 0 0 #000}.list_view .browse-file.file-select-one .inline-share-button:active,.list_view .browse-file.file-select-one .inline-share-button.pressed,.list_view .browse-file:hover .inline-share-button:active,.list_view .browse-file:hover .inline-share-button.pressed,.list_view .browse-new-folder.file-select-one .inline-share-button:active,.list_view .browse-new-folder.file-select-one .inline-share-button.pressed,.list_view .browse-new-folder:hover .inline-share-button:active,.list_view .browse-new-folder:hover .inline-share-button.pressed,#wizard-overlay .browse-file.file-select-one .inline-share-button:active,#wizard-overlay .browse-file.file-select-one .inline-share-button.pressed,#wizard-overlay .browse-file:hover .inline-share-button:active,#wizard-overlay .browse-file:hover .inline-share-button.pressed,#wizard-overlay .browse-new-folder.file-select-one .inline-share-button:active,#wizard-overlay .browse-new-folder.file-select-one .inline-share-button.pressed,#wizard-overlay .browse-new-folder:hover .inline-share-button:active,#wizard-overlay .browse-new-folder:hover .inline-share-button.pressed{display:block;background:#e5f3ff;background:-o-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-ms-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-moz-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-webkit-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #edf6ff), color-stop(100%, #e5f3ff));background:linear-gradient(to bottom, #edf6ff 0%,#e5f3ff 100%)}.list_view .browse-file div,.list_view .browse-new-folder div,#wizard-overlay .browse-file div,#wizard-overlay .browse-new-folder div{display:block;cursor:default}.list_view .browse-file .check,.list_view .browse-new-folder .check,#wizard-overlay .browse-file .check,#wizard-overlay .browse-new-folder .check{float:left;width:16px;height:16px;padding:2px 5px 1px 2px}.list_view .browse-file img.icon,.list_view .browse-new-folder img.icon,#wizard-overlay .browse-file img.icon,#wizard-overlay .browse-new-folder img.icon{float:left;width:32px;height:32px;margin-top:-2px;margin-right:11px;margin-left:-1px;display:block;overflow:hidden;background-color:transparent;vertical-align:bottom;border:1px solid transparent;cursor:pointer}.list_view .browse-file img.thumbnail,.list_view .browse-new-folder img.thumbnail,#wizard-overlay .browse-file img.thumbnail,#wizard-overlay .browse-new-folder img.thumbnail{border:none;height:31px;width:31px;margin-top:0px;margin-right:13px;margin-left:1px}.list_view .browse-file .thumbnail-border,.list_view .browse-new-folder .thumbnail-border,#wizard-overlay .browse-file .thumbnail-border,#wizard-overlay .browse-new-folder .thumbnail-border{width:29px;height:29px;margin-top:0px;margin-left:1px;position:absolute;border:1px solid rgba(0,0,0,0.2);pointer-events:none}.list_view .browse-file.deleted,.list_view .browse-new-folder.deleted,#wizard-overlay .browse-file.deleted,#wizard-overlay .browse-new-folder.deleted{color:#aaa}.list_view .browse-file.deleted .filename-col a,.list_view .browse-new-folder.deleted .filename-col a,#wizard-overlay .browse-file.deleted .filename-col a,#wizard-overlay .browse-new-folder.deleted .filename-col a{color:#aaa}.list_view .browse-file.deleted .inline-share-button.variant-DROPDOWN,.list_view .browse-new-folder.deleted .inline-share-button.variant-DROPDOWN,#wizard-overlay .browse-file.deleted .inline-share-button.variant-DROPDOWN,#wizard-overlay .browse-new-folder.deleted .inline-share-button.variant-DROPDOWN{display:none}.list_view .browse-file.deleted .sharing-actions,.list_view .browse-new-folder.deleted .sharing-actions,#wizard-overlay .browse-file.deleted .sharing-actions,#wizard-overlay .browse-new-folder.deleted .sharing-actions{display:none !important}.list_view .browse-file .filename-col,.list_view .browse-new-folder .filename-col,#wizard-overlay .browse-file .filename-col,#wizard-overlay .browse-new-folder .filename-col{float:left;height:32px;width:47%}.list_view .browse-file .filename-col a,.list_view .browse-new-folder .filename-col a,#wizard-overlay .browse-file .filename-col a,#wizard-overlay .browse-new-folder .filename-col a{color:#3d464d;font-size:13px;white-space:pre}.list_view .browse-file .kind,.list_view .browse-new-folder .kind,#wizard-overlay .browse-file .kind,#wizard-overlay .browse-new-folder .kind{width:21%}.list_view .browse-file .double-col,.list_view .browse-new-folder .double-col,#wizard-overlay .browse-file .double-col,#wizard-overlay .browse-new-folder .double-col{width:40%}.list_view .browse-file .kind,.list_view .browse-file .double-col,.list_view .browse-new-folder .kind,.list_view .browse-new-folder .double-col,#wizard-overlay .browse-file .kind,#wizard-overlay .browse-file .double-col,#wizard-overlay .browse-new-folder .kind,#wizard-overlay .browse-new-folder .double-col{float:left}.list_view .browse-file .kind span,.list_view .browse-file .double-col span,.list_view .browse-new-folder .kind span,.list_view .browse-new-folder .double-col span,#wizard-overlay .browse-file .kind span,#wizard-overlay .browse-file .double-col span,#wizard-overlay .browse-new-folder .kind span,#wizard-overlay .browse-new-folder .double-col span{cursor:default}.list_view .browse-file .kind .secondary,.list_view .browse-file .double-col .secondary,.list_view .browse-new-folder .kind .secondary,.list_view .browse-new-folder .double-col .secondary,#wizard-overlay .browse-file .kind .secondary,#wizard-overlay .browse-file .double-col .secondary,#wizard-overlay .browse-new-folder .kind .secondary,#wizard-overlay .browse-new-folder .double-col .secondary{color:#999;margin-left:6px}.list_view .browse-file .modified,.list_view .browse-new-folder .modified,#wizard-overlay .browse-file .modified,#wizard-overlay .browse-new-folder .modified{float:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;width:32%}.list_view .browse-file .modified span,.list_view .browse-new-folder .modified span,#wizard-overlay .browse-file .modified span,#wizard-overlay .browse-new-folder .modified span{cursor:default}.list_view .browse-file .modified .modified-by,.list_view .browse-new-folder .modified .modified-by,#wizard-overlay .browse-file .modified .modified-by,#wizard-overlay .browse-new-folder .modified .modified-by{color:#999;margin-left:6px}.list_view .browse-file .sharing,.list_view .browse-new-folder .sharing,#wizard-overlay .browse-file .sharing,#wizard-overlay .browse-new-folder .sharing{display:none}.list_view .browse-file .sharing .sharers,.list_view .browse-file .sharing .share-status,.list_view .browse-new-folder .sharing .sharers,.list_view .browse-new-folder .sharing .share-status,#wizard-overlay .browse-file .sharing .sharers,#wizard-overlay .browse-file .sharing .share-status,#wizard-overlay .browse-new-folder .sharing .sharers,#wizard-overlay .browse-new-folder .sharing .share-status{display:none;overflow:hidden}.list_view .browse-file .sharing .share-status.success,.list_view .browse-new-folder .sharing .share-status.success,#wizard-overlay .browse-file .sharing .share-status.success,#wizard-overlay .browse-new-folder .sharing .share-status.success{color:green}.list_view .browse-file .sharing .share-status.error,.list_view .browse-new-folder .sharing .share-status.error,#wizard-overlay .browse-file .sharing .share-status.error,#wizard-overlay .browse-new-folder .sharing .share-status.error{color:red}.list_view .browse-file .sharing .sharing-actions,.list_view .browse-new-folder .sharing .sharing-actions,#wizard-overlay .browse-file .sharing .sharing-actions,#wizard-overlay .browse-new-folder .sharing .sharing-actions{display:none}.list_view .browse-file .sharing .sharing-actions .recipients,.list_view .browse-file .sharing .sharing-actions .link-field,.list_view .browse-file .sharing .sharing-actions #browse-inline-autocomplete,.list_view .browse-new-folder .sharing .sharing-actions .recipients,.list_view .browse-new-folder .sharing .sharing-actions .link-field,.list_view .browse-new-folder .sharing .sharing-actions #browse-inline-autocomplete,#wizard-overlay .browse-file .sharing .sharing-actions .recipients,#wizard-overlay .browse-file .sharing .sharing-actions .link-field,#wizard-overlay .browse-file .sharing .sharing-actions #browse-inline-autocomplete,#wizard-overlay .browse-new-folder .sharing .sharing-actions .recipients,#wizard-overlay .browse-new-folder .sharing .sharing-actions .link-field,#wizard-overlay .browse-new-folder .sharing .sharing-actions #browse-inline-autocomplete{position:absolute;right:75px;top:6px;width:355px}.list_view .browse-file .sharing .sharing-actions .recipients .tokenized_autocompleter_container,.list_view .browse-file .sharing .sharing-actions .link-field .tokenized_autocompleter_container,.list_view .browse-file .sharing .sharing-actions #browse-inline-autocomplete .tokenized_autocompleter_container,.list_view .browse-new-folder .sharing .sharing-actions .recipients .tokenized_autocompleter_container,.list_view .browse-new-folder .sharing .sharing-actions .link-field .tokenized_autocompleter_container,.list_view .browse-new-folder .sharing .sharing-actions #browse-inline-autocomplete .tokenized_autocompleter_container,#wizard-overlay .browse-file .sharing .sharing-actions .recipients .tokenized_autocompleter_container,#wizard-overlay .browse-file .sharing .sharing-actions .link-field .tokenized_autocompleter_container,#wizard-overlay .browse-file .sharing .sharing-actions #browse-inline-autocomplete .tokenized_autocompleter_container,#wizard-overlay .browse-new-folder .sharing .sharing-actions .recipients .tokenized_autocompleter_container,#wizard-overlay .browse-new-folder .sharing .sharing-actions .link-field .tokenized_autocompleter_container,#wizard-overlay .browse-new-folder .sharing .sharing-actions #browse-inline-autocomplete .tokenized_autocompleter_container{z-index:3}.list_view .browse-file .sharing .sharing-actions .recipients,.list_view .browse-new-folder .sharing .sharing-actions .recipients,#wizard-overlay .browse-file .sharing .sharing-actions .recipients,#wizard-overlay .browse-new-folder .sharing .sharing-actions .recipients{width:340px;top:8px}.list_view .browse-file .sharing .sharing-actions .link-field,.list_view .browse-new-folder .sharing .sharing-actions .link-field,#wizard-overlay .browse-file .sharing .sharing-actions .link-field,#wizard-overlay .browse-new-folder .sharing .sharing-actions .link-field{display:none}.list_view .browse-file .sharing .sharing-actions .send-button,.list_view .browse-new-folder .sharing .sharing-actions .send-button,#wizard-overlay .browse-file .sharing .sharing-actions .send-button,#wizard-overlay .browse-new-folder .sharing .sharing-actions .send-button{position:absolute;right:10px;top:8px;height:28px;line-height:28px;padding:0px 10px;margin:0;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;background:#f4faff;background:-o-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-ms-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-moz-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-webkit-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fffffe), color-stop(100%, #f4faff));background:linear-gradient(to bottom, #fffffe 0%,#f4faff 100%);box-shadow:-10px 0px 8px #fff,inset 0 0 0 #000;border:1px solid #5eb0f0;color:#007ee5;text-decoration:none;font-weight:600;text-transform:none}.list_view .browse-file .sharing .sharing-actions .send-button:hover,.list_view .browse-file .sharing .sharing-actions .send-button.hovered,.list_view .browse-new-folder .sharing .sharing-actions .send-button:hover,.list_view .browse-new-folder .sharing .sharing-actions .send-button.hovered,#wizard-overlay .browse-file .sharing .sharing-actions .send-button:hover,#wizard-overlay .browse-file .sharing .sharing-actions .send-button.hovered,#wizard-overlay .browse-new-folder .sharing .sharing-actions .send-button:hover,#wizard-overlay .browse-new-folder .sharing .sharing-actions .send-button.hovered{background:#e5f3ff;background:-o-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-ms-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-moz-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-webkit-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fffffe), color-stop(100%, #e5f3ff));background:linear-gradient(to bottom, #fffffe 0%,#e5f3ff 100%)}.list_view .browse-file .sharing .sharing-actions .get-link,.list_view .browse-new-folder .sharing .sharing-actions .get-link,#wizard-overlay .browse-file .sharing .sharing-actions .get-link,#wizard-overlay .browse-new-folder .sharing .sharing-actions .get-link{position:absolute;right:5px;top:8px;height:28px;line-height:28px;padding:0px 10px;margin:0;color:#2895f1;text-decoration:none;font-weight:bold;text-transform:none}.list_view .browse-file .sharing .sharing-actions .get-link:hover,.list_view .browse-file .sharing .sharing-actions .get-link.hovered,.list_view .browse-new-folder .sharing .sharing-actions .get-link:hover,.list_view .browse-new-folder .sharing .sharing-actions .get-link.hovered,#wizard-overlay .browse-file .sharing .sharing-actions .get-link:hover,#wizard-overlay .browse-file .sharing .sharing-actions .get-link.hovered,#wizard-overlay .browse-new-folder .sharing .sharing-actions .get-link:hover,#wizard-overlay .browse-new-folder .sharing .sharing-actions .get-link.hovered{color:#53AAF4}.list_view .browse-file .sharing .sharing-actions .send-button,.list_view .browse-new-folder .sharing .sharing-actions .send-button,#wizard-overlay .browse-file .sharing .sharing-actions .send-button,#wizard-overlay .browse-new-folder .sharing .sharing-actions .send-button{display:none}.list_view .browse-file .sharing .sharing-actions .more-link,.list_view .browse-new-folder .sharing .sharing-actions .more-link,#wizard-overlay .browse-file .sharing .sharing-actions .more-link,#wizard-overlay .browse-new-folder .sharing .sharing-actions .more-link{position:absolute;right:-5px;top:8px;padding:0px 10px;margin:0;text-decoration:none;font-weight:600}.list_view .browse-file .sharing .sharing-actions .more-link.extra-padding,.list_view .browse-new-folder .sharing .sharing-actions .more-link.extra-padding,#wizard-overlay .browse-file .sharing .sharing-actions .more-link.extra-padding,#wizard-overlay .browse-new-folder .sharing .sharing-actions .more-link.extra-padding{padding:0 25px 0 0}.list_view .browse-file .sharing .sharing-actions .more-link .s_web_arrow-down-blue,.list_view .browse-new-folder .sharing .sharing-actions .more-link .s_web_arrow-down-blue,#wizard-overlay .browse-file .sharing .sharing-actions .more-link .s_web_arrow-down-blue,#wizard-overlay .browse-new-folder .sharing .sharing-actions .more-link .s_web_arrow-down-blue{margin-left:2px;vertical-align:middle}.show-sharers.list_view .browse-file .kind,.show-sharers.list_view .browse-new-folder .kind{display:none}.show-sharers.list_view .browse-file .modified,.show-sharers.list_view .browse-new-folder .modified{width:25%}.show-sharers.list_view .browse-file .modified .inline-share-button,.show-sharers.list_view .browse-new-folder .modified .inline-share-button{display:none}.show-sharers.list_view .browse-file .sharing,.show-sharers.list_view .browse-new-folder .sharing{display:block;float:left;width:28%;height:20px;font-size:13px}.show-sharers.list_view .browse-file .sharing .sharers,.show-sharers.list_view .browse-new-folder .sharing .sharers{display:inline}.show-inline-share.list_view #browse-files .browse-file.file-select,.show-inline-share.list_view #browse-files .browse-file.context-select,.show-inline-share.list_view #browse-files .browse-new-folder.file-select,.show-inline-share.list_view #browse-files .browse-file:hover{z-index:auto}.show-inline-share.list_view .browse-file .sharing-actions.pressed .autocomplete{z-index:4}.show-inline-share.list_view .browse-file .modified .inline-share-button,.show-inline-share.list_view .browse-file .sharing .inline-share-button,.show-inline-share.list_view .browse-new-folder .modified .inline-share-button,.show-inline-share.list_view .browse-new-folder .sharing .inline-share-button{display:none}.show-inline-share.list_view .browse-file .sharing,.show-inline-share.list_view .browse-new-folder .sharing{display:block}.show-inline-share.list_view .browse-file:hover .sharing-actions,.show-inline-share.list_view .browse-new-folder:hover .sharing-actions{display:block}.show-inline-share.list_view .browse-file:hover .sharing .sharers,.show-inline-share.list_view .browse-new-folder:hover .sharing .sharers{display:none}.show-inline-share.list_view:not(.show-sharers) .browse-file .sharing,.show-inline-share.list_view:not(.show-sharers) .browse-new-folder .sharing{width:0px}.show-sharers.show-inline-share.list_view:not(.dropdown-menu-open) .browse-file:hover .sharing .sharers,.show-sharers.show-inline-share.list_view:not(.dropdown-menu-open) .browse-new-folder:hover .sharing .sharers{display:none}.show-sharers.show-inline-share.list_view:not(.dropdown-menu-open) .browse-file .sharing.complete .sharers,.show-sharers.show-inline-share.list_view:not(.dropdown-menu-open) .browse-new-folder .sharing.complete .sharers{display:inline !important}.show-sharers.show-inline-share.list_view:not(.dropdown-menu-open) .browse-file .sharing.complete .sharing-actions,.show-sharers.show-inline-share.list_view:not(.dropdown-menu-open) .browse-new-folder .sharing.complete .sharing-actions{display:none !important}.show-inline-share.list_view.dropdown-menu-open .browse-file:hover .sharing:not(.pressed) .sharers,.show-inline-share.list_view.dropdown-menu-open .browse-new-folder:hover .sharing:not(.pressed) .sharers{display:inline}.show-inline-share.list_view.dropdown-menu-open .browse-file .sharing.pressed .sharers,.show-inline-share.list_view.dropdown-menu-open .browse-new-folder .sharing.pressed .sharers{display:none}.show-inline-share.list_view.dropdown-menu-open .browse-file .sharing.pressed .sharing-actions,.show-inline-share.list_view.dropdown-menu-open .browse-new-folder .sharing.pressed .sharing-actions{display:block}.list_view.dropdown-menu-open .browse-file:hover .inline-share-button.variant-DROPDOWN,.list_view.dropdown-menu-open .browse-new-folder:hover .inline-share-button.variant-DROPDOWN{display:none}.list_view.dropdown-menu-open .browse-file .inline-share-button.variant-DROPDOWN.pressed,.list_view.dropdown-menu-open .browse-new-folder .inline-share-button.variant-DROPDOWN.pressed{display:block;background:#e5f3ff;background:-o-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-ms-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-moz-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-webkit-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #edf6ff), color-stop(100%, #e5f3ff));background:linear-gradient(to bottom, #edf6ff 0%,#e5f3ff 100%)}.list_view.dropdown-menu-open .browse-file:hover .sharing-actions,.list_view.dropdown-menu-open .browse-new-folder:hover .sharing-actions{display:none}.list_view.dropdown-menu-open .browse-file .sharing-actions.pressed,.list_view.dropdown-menu-open .browse-new-folder .sharing-actions.pressed{display:block}.list_view .browse-file.context-select .inline-share-button.variant-DROPDOWN,.list_view .browse-file.file-select .inline-share-button.variant-DROPDOWN,.list_view .browse-new-folder.context-select .inline-share-button.variant-DROPDOWN,.list_view .browse-new-folder.file-select .inline-share-button.variant-DROPDOWN{box-shadow:-10px 0px 8px #e3f2ff,inset 0 0 0 #000}.search .list_view .browse-file .filename-col,.search .list_view .browse-new-folder .filename-col,.compost .list_view .browse-file .filename-col,.compost .list_view .browse-new-folder .filename-col{width:39%}.search .list_view .browse-file .location,.search .list_view .browse-new-folder .location,.compost .list_view .browse-file .location,.compost .list_view .browse-new-folder .location{float:left;width:29%}.search .list_view .browse-file .modified,.search .list_view .browse-new-folder .modified,.compost .list_view .browse-file .modified,.compost .list_view .browse-new-folder .modified{font-size:15px;padding-top:1px}.mouse-active .browse-file:hover{background:#f5fafe;border-color:#e1eaf1;position:relative;z-index:1}#browse-files .browse-file.file-select,#browse-files .browse-file.context-select,#browse-files .browse-new-folder.file-select{background-color:#e3f2ff;border-color:#d3e4f3;position:relative;z-index:2}#browse-files .browse-file.context-select{background-color:#e3f2ff;border-color:#d3e4f3;position:relative;z-index:3}#browse-sort.search.fulltext_search{display:none}#browse-box.selected #browse-header-wrapper{display:none}#browse-files .browse-file.fulltext_search{background-color:#fff;line-height:normal;padding-top:8px;padding-bottom:8px}#browse-files .browse-file.fulltext_search:hover{background:#f5fafe}#browse-files .browse-file.fulltext_search.file-select{background-color:#e3f2ff}#browse-files .browse-file.fulltext_search img.icon,#browse-files .browse-file.fulltext_search .thumbnail-border{margin-top:3px}#browse-files .browse-file.fulltext_search .filename-col,#browse-files .browse-file.fulltext_search .location,#browse-files .browse-file.fulltext_search .modified{width:auto;height:auto}#browse-files .browse-file.fulltext_search .filename-col,#browse-files .browse-file.fulltext_search .location{float:none}#browse-files .browse-file.fulltext_search .filename-col{font-size:15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;height:20px}#browse-files .browse-file.fulltext_search .location,#browse-files .browse-file.fulltext_search .members{display:inline;color:#aaa;font-weight:lighter}#browse-files .browse-file.fulltext_search .modified,#browse-files .browse-file.fulltext_search .members{float:right;margin-right:5px;margin-left:2em}#browse-files .browse-file.fulltext_search .modified{height:20px;font-size:13px;padding-top:3px}#browse-files .browse-file.fulltext_search .members{clear:right}#browse-files .browse-file.fulltext_search .highlighted{font-weight:bold}#browse-header-status{color:#aaa;font-weight:lighter;display:none}#browse-header-status.search.fulltext_search{display:block;float:left}#browse-selection{border:1px solid #555;background:#ccc}#browse-sort a{color:#aaa}#browse-sort #name-sorter{width:47%}#browse-sort.search #name-sorter,#browse-sort.compost #name-sorter{width:39%}#browse-sort #kind-sorter{display:block;width:21%}#browse-sort.search #kind-sorter,#browse-sort.compost #kind-sorter{display:none}#browse-sort #location-sorter{display:none}#browse-sort.search #location-sorter,#browse-sort.compost #location-sorter{display:block;width:29%}#browse-sort #modified-sorter{display:block;width:19%}#browse-sort.search #modified-sorter,#browse-sort.compost #modified-sorter{display:block;width:21%}#browse-sort #sharing-heading{display:none}.show-sharers #browse-sort #kind-sorter{display:none}.show-sharers #browse-sort #modified-sorter{width:25%}.show-sharers #browse-sort #sharing-heading{display:block}.show-sharers #browse-sort #sharing-heading:hover{text-decoration:none}#exit-search-xclose{display:none;position:absolute;right:8px;top:-3px;z-index:10;width:12px}.search #exit-search-xclose{display:block}#browse-location,#search-location{position:relative;line-height:32px;float:left}#browse-location small,#search-location small{font-size:8pt;font-weight:normal}#browse-location .link-img,#search-location .link-img{margin-bottom:0px}#browse-location .breadcrumb_spacer,#search-location .breadcrumb_spacer{display:inline-block;margin:0 3px}#browse-location #breadcrumbs-box,#search-location #breadcrumbs-box{float:left;margin-top:-4px;margin-left:-5px;height:32px;width:32px;padding:2px 4px;position:relative !important;border:1px solid transparent;z-index:101;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#browse-location #breadcrumbs-box.down,#search-location #breadcrumbs-box.down{z-index:101 !important;box-shadow:0 0 0 transparent,inset 0 0 6px #ddd;border:1px solid #e2e2e2}#browse-location #web-search-results,#search-location #web-search-results{display:inline-block;max-width:580px;max-height:32px;overflow:hidden}#breadcrumb-dropdown{position:absolute;margin:11px 0 0 -6px;padding:5px 0;z-index:102;min-width:150px}#breadcrumb-dropdown ul,#breadcrumb-dropdown li{margin:0;padding:0;list-style:none}#breadcrumb-dropdown a{height:40px;line-height:40px;padding:1px 20px 1px 13px;display:block;font-size:13px}#breadcrumb-dropdown a img{margin-bottom:-10px;padding-right:8px;background-color:transparent}#breadcrumb-dropdown a:hover{background:#e3f2ff;text-decoration:none}#breadcrumb-dropdown .chat-bubble-arrow-border,#breadcrumb-dropdown .chat-bubble-arrow{left:13px;right:auto}#browse-location{display:block}#browse-location span{color:#aaa}.search #browse-location{display:none}#search-location,#advanced-search-link{display:none}.search #search-location,.search #advanced-search-link{display:block}.search #advanced-search-link.selected{display:none}.search.fulltext_search #advanced-search-link{display:none}#browse-rightmenu .action a,#browse-rightmenu .action .selectable,#global-actions .action a,#global-actions .action .selectable{border:1px solid #fff;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;display:inline-block;padding:3px 5px;margin:0;line-height:100%;background-color:transparent}#browse-rightmenu .action a.disabled,#browse-rightmenu .action .selectable.disabled,#global-actions .action a.disabled,#global-actions .action .selectable.disabled{cursor:default;background-color:transparent;border-color:#fff;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4}#browse-rightmenu .action a.disabled img,#browse-rightmenu .action .selectable.disabled img,#global-actions .action a.disabled img,#global-actions .action .selectable.disabled img{cursor:default}#global-actions{float:right;margin-top:-1px;margin-right:10px}#global-actions.reduced-margin{margin-right:10px}#global-actions .action{position:relative}#global-actions .action label{display:inline-block;line-height:100%}#global-actions .action button{cursor:pointer}#global-actions #secondary-actions{margin:0;padding:4px 0;position:absolute;right:0;top:18px;width:200px;background-color:#fff;border-top-right-radius:0;z-index:6}#global-actions #secondary-actions label{display:block;padding:3px 5px;color:#444}#global-actions #secondary-actions label:hover,#global-actions #secondary-actions label:hover a{background:#e3f3ff;text-decoration:none}#global-actions #secondary-actions label:active a{box-shadow:0 0 0 #000,inset 0 0 0 #000}#global-actions #secondary-actions a{border:0;line-height:normal;width:185px}#global-actions #secondary-actions img{margin-right:4px;margin-bottom:-2px}#browse-empty,#browse-empty-team-folder,#search-empty,#cu-empty,#albums-empty,#single-album-empty,#notification-empty{padding:40px 0 5px 0;text-align:center}#browse-empty h3,#browse-empty-team-folder h3,#search-empty h3,#cu-empty h3,#albums-empty h3,#single-album-empty h3,#notification-empty h3{font-size:18px;font-weight:normal;font-size:16px;margin-bottom:10px}#cu-empty img,#albums-empty img,#single-album-empty img{margin:50px 0}#browse-empty,#browse-empty-team-folder{margin-top:10px}#browse-empty img,#browse-empty-team-folder img{margin-bottom:20px}#search-empty img{margin:30px 0 30px 132px}.tutorial-bubble-x-link{float:right;padding:0px 0px 5px 5px}.fixed-header #top-notification-bar-container{position:fixed;top:0;left:0;z-index:9}#top-notification-bar-container{min-height:50px;width:100%}#top-notification-bar-container #install-bar{min-height:100%;margin:0 auto;width:990px}#top-notification-bar-container #install-bar div{display:inline-block}#top-notification-bar-container #install-bar #over-nav{position:absolute;min-height:44px;min-width:137px}#top-notification-bar-container #install-bar #over-content{position:absolute;padding-left:190px;width:800px;height:50px}#top-notification-bar-container #install-bar #over-content.clickable{cursor:pointer}#top-notification-bar-container #install-bar #install-bar-title{font-size:14px;font-weight:bold;padding-top:12px}#top-notification-bar-container #install-bar #install-bar-blurb{padding-left:10px}#top-notification-bar-container #install-bar #install-bar-dismiss-text{padding-left:10px}#top-notification-bar-container #install-bar #install-bar-button{float:right;padding-top:7px}#top-notification-bar-container #install-bar #install-bar-dismiss-x{position:absolute;right:0}#top-notification-bar-container #install-bar #install-bar-dismiss-x a{display:block;padding:19px;line-height:0}#top-notification-bar-container #quota-bar,#top-notification-bar-container #rebill-bar,#top-notification-bar-container #beta-locale-bar,#top-notification-bar-container #add-credit-card-bar,#top-notification-bar-container #two-account-admin-banner,#top-notification-bar-container #suggested-article-banner,#top-notification-bar-container #dfb-admin-early-access-sharing-controls-banner,#top-notification-bar-container #prompt-top-notification-bar,#top-notification-bar-container #locale-switch-banner{text-align:center;font-size:13px;padding-top:15px}#top-notification-bar-container #dfb-admin-early-access-fts-banner{text-align:center;font-size:13px;padding-top:15px}#top-notification-bar-container .top-notification-bar{margin:0px 30px}#top-notification-bar-container .top-notification-bar .top-notification-bar-dismiss{position:absolute;right:15px;top:17px;text-decoration:none;cursor:pointer}#top-notification-bar-container.lightred{background:#FBD6DC;border-bottom:1px solid #F2768B}#top-notification-bar-container.lightred #unsupported-browser{text-align:center;font-size:13px;padding-top:15px}#top-notification-bar-container.lightred #unsupported-browser #unsupported-browser-dismiss{color:#F05872}#top-notification-bar-container.lightred #dealpocalypse-bar{text-align:center;font-size:13px;padding-top:15px}#top-notification-bar-container.lightblue{background-color:#f0f9ff;border-bottom:1px solid #96c4ea;display:block}#top-notification-bar-container.orange{background-color:#fbf6eb;border-bottom:1px solid #d8b877;display:block}#top-notification-bar-container.orange #install-bar #over-nav{background-image:url("/static/images/growth/install-friends-orange-vflDxuZv_.png");background-repeat:no-repeat}#top-notification-bar-container.lightyellow{border-bottom:1px solid;background:#fffdec;border-color:#d8b877}#top-notification-bar-container.lightyellow #dealpocalypse-bar{text-align:center;font-size:13px;padding-top:15px}#top-notification-bar-container.dismiss #install-bar #over-content #complete-setup-blurb #complete-setup-blurb-period,#top-notification-bar-container.dismiss #install-bar #over-content #complete-setup-blurb #complete-setup-dismiss{display:inline}#modal.download-modal{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#modal.download-modal+#modal-overlay{opacity:.9 !important}#modal.download-modal #modal-box{background-image:url("/static/images/download_modal/modal-bg-vflRfNc-r.png");background-repeat:no-repeat;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:23px;height:200px}#modal.download-modal #modal-box #modal-x,#modal.download-modal #modal-box .db-modal .db-modal-box .db-modal-x,.db-modal .db-modal-box #modal.download-modal #modal-box .db-modal-x{display:none;background-size:100%;width:8px;height:8px}#modal.download-modal #modal-box #modal-content{background:none;text-align:center}#modal.download-modal #modal-box #modal-content p{margin:0}#modal.download-modal #modal-box #modal-content .dl-status{border:1px solid #b3d0ee;background:#f8f9fb;padding:10px 5px}#modal.download-modal #modal-box #modal-content .dl-status .dl-status-title{font-weight:bold;font-size:16px;color:#444}#modal.download-modal #modal-box #modal-content .dl-status .dl-status-subtitle{font-size:12px;color:#888}#modal.download-modal #modal-box #modal-content .dl-static-image{margin-right:-13px}#modal.download-modal #modal-box #modal-content .dl-restart{font-size:11px}#download-overlay{position:fixed !important;position:absolute;top:0;left:0;width:100%;height:100%;z-index:999;background-color:#222;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);opacity:0.9}#download-overlay #dl-arrow{position:absolute;bottom:10px;left:10px}#download-overlay .dl-status{position:absolute;bottom:90px;left:200px}#download-overlay .dl-status p{margin:0}#download-overlay .dl-status .dl-status-title{font-weight:bold;font-size:44px;color:#FFFFFF}#download-overlay .dl-status .dl-status-subtitle{font-size:13px;color:#FFFFFF}#modal.language-modal{-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}#modal.language-modal #modal-box{-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;text-align:center}#modal.language-modal #modal-box #modal-x,#modal.language-modal #modal-box .db-modal .db-modal-box .db-modal-x,.db-modal .db-modal-box #modal.language-modal #modal-box .db-modal-x{display:none}#modal.language-modal #modal-box #language-modal #lm-subtitle,#modal.language-modal #modal-box #language-modal-invite #lm-subtitle{font-size:14px;margin-bottom:20px;text-align:center}#modal.language-modal #modal-box #language-modal #lm-subtitle .lm-green,#modal.language-modal #modal-box #language-modal-invite #lm-subtitle .lm-green{font-weight:bold;color:green}#modal.language-modal #modal-box #language-modal #lm-buttons,#modal.language-modal #modal-box #language-modal-invite #lm-buttons{text-align:center}#modal.language-modal #modal-box #language-modal #lm-buttons a,#modal.language-modal #modal-box #language-modal-invite #lm-buttons a{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;margin:5px}#modal.language-modal #modal-box #language-modal #lm-splash img{margin-top:-75px}#undelete-modal .file-to-undelete{border:1px solid #e5e5e5;background:#fff;padding:3px 1px}#sharing-global-actions{display:none;float:right;margin-top:-3px;margin-right:8px}#sharing-global-actions .temp-disabled,#sharing-global-actions .folder-disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5;cursor:default}#sharing-global-actions .temp-disabled.action-link,#sharing-global-actions .folder-disabled.action-link{cursor:default}#sharing-global-actions .bubble-dropdown{padding:0}#sharing-global-actions .bubble-dropdown .list-item{padding:4px 12px 4px 8px}#sharing-global-actions .bubble-dropdown .bubble-arrow-border{border-width:11px 11px}#sharing-global-actions .bubble-dropdown .bubble-arrow{border-width:9px 9px}#sharing-global-actions .actions-container{padding-right:11px}#sharing-global-actions .actions-container .action-container{display:inline-block}#sharing-global-actions .actions-container .action-container.wide{padding-left:12px;padding-right:8px}#sharing-global-actions .actions-container .action-container.fixed{padding-left:12px;width:20px}#sharing-global-actions .upload-link .sprite-frame{padding-right:3px}#sharing-global-actions .subfolder-share .sprite-frame,#sharing-global-actions .folder-link-share .sprite-frame{padding-right:5px}#sharing-global-actions .share-folder.action-link .sprite-frame{padding-right:5px}#sharing-global-actions .dropdown-inner{padding:4px 0}#sharing-global-actions .action-link{color:#2895F1;cursor:pointer}#sharing-global-actions .dropdown-icon{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=25);opacity:0.25;margin-left:5px;vertical-align:middle}#sharing-global-actions .blue-text{color:#2895F1}#sharing-global-actions .share-list .list-item{line-height:normal;padding:8px 10px;cursor:pointer}#sharing-global-actions .share-list .list-item .sprite-frame{vertical-align:top}#sharing-global-actions .share-list .list-item .subtext{color:#aaa;font-size:12px}#browse.search #sharing-global-actions{display:none}.browse-file.fulltext_search a.inline-share-button.variant-DROPDOWN{top:50%;-ms-transform:translateY(-50%);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.browse-file.fulltext_search .ie8 a.inline-share-button.variant-DROPDOWN{top:12px}.browse-file.fulltext_search:hover.deleted .modified{display:block}.browse-file.fulltext_search:hover .modified{display:none}#account-header{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none;float:right;font-size:13px}#account-header.show-account-photo .header-nav-link{line-height:24px}#account-header.show-account-photo .header-nav-link .avatar-component{float:left;margin-right:10px}#account-header.show-account-photo .sub-nav .clickable{cursor:pointer}#account-header.show-account-photo .sub-nav .avatar-container{float:left;height:36px;width:32px}#account-header.show-account-photo .sub-nav .avatar-container .avatar-component{margin-top:4px}#account-header.show-account-photo .sub-nav .name-container{box-sizing:border-box;width:100%;padding-left:40px;line-height:35px}#account-header.show-account-photo .sub-nav .name-container .name{display:inline-block;vertical-align:middle;line-height:18px;word-wrap:break-word;width:100%}#account-header.show-account-photo .sub-nav #add-account-photo-link{display:block;box-sizing:border-box;width:100%;padding-left:40px;font-size:12px}#account-header.show-account-photo .sub-nav #add-account-photo-link.has-photo{display:none}#account-header p{font-size:13px}#account-header .nav{margin-top:0;list-style:none}#account-header .nav li:hover .account_dropdown{display:block}#account-header .nav li{float:left;list-style:none;position:relative;z-index:100;margin-left:10px}#account-header .nav li.top-level-nav-item{padding-left:20px}#account-header .nav li .header-nav-link{float:left;margin:0}#account-header .nav li .header-nav-link img.link-img{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=25);opacity:0.25;vertical-align:middle;background-color:#fff;margin:-1px 0 0 5px;padding-right:0px;background-repeat:no-repeat}div#account-header #header-account-menu .sub-nav{right:0px}div#account-header li.active .sub-nav{display:block}div#account-header .sub-nav{display:none;position:absolute;right:2px;top:100%;margin-top:12px;min-width:165px;max-width:195px;z-index:1;padding-bottom:12px}div#account-header .sub-nav .title{width:100%;font-size:14px;color:#000;margin:-7px 0 10px}div#account-header .sub-nav ul{margin:0;padding:0}div#account-header .sub-nav ul a:hover{text-decoration:none}div#account-header .sub-nav ul .role-title{vertical-align:top}div#account-header .sub-nav ul .subheader-gray-text{color:#aaa;font-size:12px;margin-top:2px}div#account-header .sub-nav ul .email{margin-bottom:6px}div#account-header .sub-nav ul li{margin:0 -20px;display:block;float:none}div#account-header .sub-nav ul li.user-list-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-right:0;padding:6px 20px}div#account-header .sub-nav ul li.user-list-item a{padding:0px}div#account-header .sub-nav ul li.user-list-item a:hover{background:#fff}div#account-header .sub-nav ul li.divider{border-top:1px solid #edf1f5;margin-top:10px;padding-top:10px}div#account-header .sub-nav ul li .sign-in-user-list{float:right;position:relative;top:-40px;right:10px;box-shadow:-10px 0px 15px 5px #FFFFFF}div#account-header .sub-nav ul li a{padding:5px 20px}div#account-header .sub-nav ul li a.standalone{display:block;zoom:1;min-width:165px}div#account-header .sub-nav ul li a.standalone img{margin-right:10px;margin-bottom:-3px}div#account-header .sub-nav ul li a:hover{background-color:#e3f2ff;cursor:pointer;text-decoration:none}div#account-header .sub-nav ul .quota_graph_container{margin:16px 0 12px 0;border-top:1px solid #ddd;background:#eee;height:5px;width:165px}div#account-header .sub-nav ul .quota_graph_container .quota_graph_bar{margin-top:-1px;background:#69b5f2;border:1px solid #5d9fd5;height:4px}div#account-header .sub-nav ul .quota_graph_container .quota_graph_bar.over{border-color:#c00;background:#e00}#page-footer .active .sub-nav,#page-full-footer .active .sub-nav{display:block}#page-footer .sub-nav,#page-full-footer .sub-nav{display:none;position:absolute;bottom:35px;background:#fff;background-clip:padding-box;border:1px solid rgba(61,70,77,0.1);cursor:default;padding:9px 15px;z-index:9999;border-radius:3px;box-shadow:0px 1px 2px rgba(0,0,0,0.1);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none;min-width:80px}#page-footer .sub-nav.locale-list,#page-full-footer .sub-nav.locale-list{z-index:1;min-width:150px}#page-footer .sub-nav ul,#page-footer .sub-nav li,#page-footer .sub-nav a,#page-full-footer .sub-nav ul,#page-full-footer .sub-nav li,#page-full-footer .sub-nav a{display:block;zoom:1;margin:0;padding:0;float:none}#page-footer .sub-nav a,#page-full-footer .sub-nav a{display:block;padding:6px 15px;margin:0 -15px;zoom:1;min-width:80px;font-size:13px;min-width:80px}#page-footer .sub-nav a:hover,#page-full-footer .sub-nav a:hover{background:#e3f2ff;text-decoration:none}#page-full-footer{clear:both;padding:0}#page-full-footer .sub-nav{right:-35px}#page-full-footer #footer-top-margin{height:6em}#page-full-footer #footer-border{width:100%;height:0;margin-bottom:2em;border-top:1px solid #e5e5e5}#page-full-footer .footer-col{float:left;max-width:200px;margin:15px 45px 20px 15px}#page-full-footer .footer-col ul{margin:0;padding:0}#page-full-footer .footer-col ul li{list-style:none;font-size:11px;margin:5px 0;padding:0}#page-full-footer .footer-col ul li.header{font-weight:600}#page-full-footer .footer-col ul li a,#page-full-footer .footer-col ul li.header{font-size:13px;color:#767676}#page-footer{position:fixed;bottom:10px;padding:0 6px;text-align:left;display:inline-block;background:#fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#page-footer .sub-nav{text-align:left;right:-15px}#page-footer ul,#page-footer li{display:inline;list-style:none;margin:0;padding:0}#page-footer ul a{display:inline-block;margin:0 5px 5px 0;font-size:12px}#page-footer .footer-link{margin-right:10px}#page-footer .s_web_more{position:relative;top:6px}#outer-frame{width:990px;margin:0 auto}#page-header{background:#fff;box-sizing:border-box;height:90px;padding:16px 0px;width:100%}#page-header #inner-page-header{margin:auto;width:990px}#page-header.minimal-header{height:50px}#page-header.blue-top-border{border-top:10px solid #007ee5}#page-header.page-header-border{height:73px;border-bottom:1px solid #e5e5e5;padding:19px 0;margin:0 auto 50px;width:990px}#page-header.page-header-border #account-header{margin-top:8px}#page-header.fixed-full-width-header{position:fixed;top:0;left:0;width:100%;height:59px;padding:12px 20px}#page-header.fixed-full-width-header #inner-page-header{width:auto}#page-header .home-icon-container #home-icon{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline}#page-header .home-icon-container .home-icon-title{color:#75828d;font-size:16px;margin-left:10px}.fixed-header #page-header{position:fixed;width:100%;top:0;left:0;z-index:5}.page-header-text{font-size:18px;font-weight:normal}#header-border-div{width:100%;height:0;margin:19px 0 0 0;border-top:1px solid #eaf2f8;border-bottom:1px solid #fafbfc}#page-logo-header{margin-bottom:30px}#page-logo-header.noborder{margin-bottom:24px}#page-logo-header #back-to-home{float:right;margin-top:30px}#page-logo-header #back-to-home img{margin-top:-4px}.earthrise body{background:#fff url("/static/images/earthrisechopped-vflv6G6su.jpg") no-repeat fixed center bottom}#page-sidebar{position:fixed;width:180px;z-index:6}.fixed-header .absolutize #page-sidebar,.fixed-header .absolutize #browse-header,.fixed-header .absolutize #page-header{position:absolute}.fixed-header .absolutize #cu-view #cu-header,.fixed-header .absolutize #cu-view #cu-header-background,.fixed-header .absolutize #cu-view #selected-actions-header,.fixed-header .absolutize #cu-view #drop-targets-header,.fixed-header .absolutize #cu-view #add-to-album-drop-desc{position:absolute}.fixed-header #page-sidebar{top:50px}.has_sidebar #page-content{padding-left:190px}#page-content{padding-bottom:2em;min-height:425px}#page-prefooter{clear:both}.fixed-header .top-notification-bar #page-header{top:51px}.fixed-header .top-notification-bar #page-sidebar{top:101px}.fixed-header .top-notification-bar #page-content{top:51px;position:relative}.fixed-header .has-top-dashboard #page-header{top:270px}.fixed-header .has-top-dashboard #page-sidebar{top:320px}.fixed-header .has-top-dashboard #page-content{top:270px;position:relative}.fixed-header .has-top-teams-onboarding-banner #page-header{top:252px}.fixed-header .has-top-teams-onboarding-banner #page-sidebar{top:302px}.fixed-header .has-top-teams-onboarding-banner #page-content{top:252px;position:relative}.fixed-header .has-top-teams-onboarding-banner.top-notification-bar #page-header{top:303px}.fixed-header .has-top-teams-onboarding-banner.top-notification-bar #page-sidebar{top:353px}.fixed-header .has-top-teams-onboarding-banner.top-notification-bar #page-content{top:303px;position:relative}.fixed-header .has-top-onboarding-progress-bar #page-header{top:230px}.fixed-header .has-top-onboarding-progress-bar #page-sidebar{top:280px}.fixed-header .has-top-onboarding-progress-bar #page-content{top:230px;position:relative}.fixed-header .has-top-onboarding-progress-bar-collapsed #page-header{top:60px}.fixed-header .has-top-onboarding-progress-bar-collapsed #page-sidebar{top:110px}.fixed-header .has-top-onboarding-progress-bar-collapsed #page-content{top:60px;position:relative}.fixed-header .has-top-onboarding-progress-bar.top-notification-bar #page-header{top:281px}.fixed-header .has-top-onboarding-progress-bar.top-notification-bar #page-sidebar{top:331px}.fixed-header .has-top-onboarding-progress-bar.top-notification-bar #page-content{top:281px;position:relative}.fixed-header .has-top-onboarding-progress-bar-collapsed.top-notification-bar #page-header{top:111px}.fixed-header .has-top-onboarding-progress-bar-collapsed.top-notification-bar #page-sidebar{top:161px}.fixed-header .has-top-onboarding-progress-bar-collapsed.top-notification-bar #page-content{top:111px;position:relative}.fixed-header .has-fastrack-survey-banner #page-header{top:100px}.fixed-header .has-fastrack-survey-banner #page-sidebar{top:150px}.fixed-header .has-fastrack-survey-banner #page-content{top:100px;position:relative}#main-nav,#main-nav li{margin:0;padding:0;list-style:none}#main-nav{margin-top:27px}#main-nav a{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;padding:5px 7px 5px 2px}#main-nav a:hover{text-decoration:none}#main-nav a.selected{font-weight:600;color:#3d464d}#main-nav .nav-icon{display:inline-block;height:15px}#main-nav .sub-nav .chat-bubble-arrow-border{right:130px}#main-nav .sub-nav .chat-bubble-arrow{right:130px}#main-nav .sub-nav.admin_console_options{display:none}#debug-panel-container{background-color:rgba(255,255,255,0.9);padding:5px;width:200px;z-index:10}#debug-panel-link{background-color:rgba(255,255,255,0.9);position:fixed;right:54px;bottom:10px;z-index:10}#debug-panel h1{font-size:13px;font-weight:bold;margin:0 4px 0 0;display:inline}#debug-panel hr{border:none;height:1px;background-color:#ccc;clear:both}#debug-panel .panel-input,#debug-panel .panel-button{margin:5px 0px;width:100%}#debug-panel label{font-size:12px;margin-right:4px}#debug-panel .button-primary{width:100%;margin:2px}#debug-panel .panel-select{width:140px}#debug-panel.content-flag #debug-panel-link{right:45px}#cprofile{right:2px;font-weight:bold;margin-bottom:10px;padding-bottom:5px}#cprofile .ajax{display:block;font-weight:normal}#gandalf_panel{max-height:500px;overflow-y:auto}#login-or-register-page-content{text-align:center}#login-or-register-page-content .login-or-register-img,#login-or-register-page-content .login-register-container{display:inline-block;vertical-align:middle}#login-or-register-page-content .login-or-register-img{margin-right:90px;margin-top:80px;margin-bottom:110px}#login-and-register-container #login-container{display:block}#login-and-register-container #register-container{display:none}#login-and-register-container.show-register #login-container{display:none}#login-and-register-container.show-register #register-container{display:block}#login-container,#register-container{width:100%;margin:0 auto;height:400px}#login-container>form,#register-container>form{display:inline-block;width:357px}#login-container .splash,#register-container .splash{float:left;padding-left:18px;margin-top:60px;width:464px;height:390px;text-align:center}#login-container #login_lhs h1,#register-container #login_lhs h1{font-size:20px;color:#000000;text-align:center;margin-top:22px}#login-container #login_lhs h3,#register-container #login_lhs h3{font-size:15px;font-weight:normal;color:#666;text-align:center;margin-top:6px}#login-container #login_lhs .login_lhs_action,#register-container #login_lhs .login_lhs_action{margin-top:20px;text-align:center}#login-container #login_lhs .login_lhs_teams_graphic,#register-container #login_lhs .login_lhs_teams_graphic{margin:40px 0 0 0}#login-container .title-text,#register-container .title-text{color:#222;font-size:22px;font-weight:600}#login-container .alternative-option,#register-container .alternative-option{float:right;margin-top:4px;color:#444;font-size:13px}#login-container #sso-login-description,#register-container #sso-login-description{margin:20px 0;font-size:14px}#login-container #sso_login_submit,#login-container #sso_login_cancel,#register-container #sso_login_submit,#register-container #sso_login_cancel{float:right}#login-container #sso_login_cancel,#register-container #sso_login_cancel{margin-right:10px}#login-container>form{margin-top:115px;margin-left:50px}#login-container #forgot-link{position:relative;top:15px;float:left}#login-partial,#register-partial{width:357px}#login-partial #email-field{margin-top:16px;margin-bottom:12px}#login-partial #login-footer{margin-top:20px}#login-partial #login-footer #remember-me{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;float:left}#login-partial #login-footer #remember-me label{cursor:pointer}#login-partial #login-footer #sso_description{float:left}#login-partial #login-footer #login_submit,#login-partial #login-footer .cancel-btn{float:right;margin-top:-6px}#register-container>form{margin-top:80px;margin-left:50px}#register-container>form #register-title{margin-bottom:16px}#register-partial #fname-field{margin-bottom:12px}#register-partial #lname-field{margin-bottom:12px}#register-partial .register-spacer{height:12px}#register-partial #new-email-field,#register-partial #email-field{margin-bottom:12px}#register-partial #new-email-field #email_check_warning,#register-partial #email-field #email_check_warning{float:right}#register-partial #new-email-field .email_warning_area,#register-partial #email-field .email_warning_area{font-weight:600}#register-partial #new-password-field,#register-partial #password-field{margin-bottom:12px}#register-partial .password_strength_icon{margin-top:6px}#register-partial .password_strength_desc{font-size:11px}#register-partial #tos-agree-field{position:relative;margin:25px 0 0 -3px;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;line-height:36px}#register-partial #tos-agree-field label{cursor:pointer}#register-partial #tos-agree-field .error-plain-text{padding-left:3px}#register-partial #register-submit,#register-partial .cancel-btn{margin-top:8px;float:right}.error-plain-text{color:#e82110;font-size:12px}.login-register-container-wrapper{display:inline-block;vertical-align:middle}.login-or-register-page-content--graphic{margin-top:100px}.login-or-register-page-content--graphic .login-register-container-wrapper{margin-top:26px;display:inline-block;vertical-align:middle}.login-promo-upgrade{margin:30px 0 15px;border-radius:5px;background-color:#fafbfc;border:1px solid #e1e1e1;padding:20px}.login-promo-upgrade--graphic{width:350px;padding:25px;display:inline-block;vertical-align:top;box-sizing:border-box;margin:0 0 0 30px;border-radius:5px;background-color:#fafbfc;border:1px solid #e1e1e1}.login-promo-upgrade--graphic .login-promo-upgrade__graphic{margin-bottom:15px}.login-promo-upgrade--testimonial{width:370px;padding:40px 20px 20px 20px;display:inline-block;vertical-align:top;box-sizing:border-box;margin:12px 0 0 55px;border-radius:5px;border:1px solid #e1e1e1}.login-promo-upgrade--testimonial .login-promo-upgrade__button{margin-left:10px}.login-promo-upgrade__header{font-size:20px;margin:0 0 15px}.login-promo-upgrade__button.button-secondary{margin-bottom:20px}body.ie .login-promo-upgrade__button.button-secondary{line-height:32px}.login-promo-upgrade__list{margin:0;padding:0}.login-promo-upgrade__list-item{list-style:none;line-height:25px}.login-promo-upgrade__blockquote{margin:0 20px 0 100px;text-align:left;font-size:11px;line-height:18px}.login-promo-upgrade__blockquote .blockquote__cite{font-style:italic}.login-promo-upgrade__avatar{-moz-border-radius:100%;-webkit-border-radius:100%;border-radius:100%;float:left;width:80px;height:80px;overflow:hidden}.token-container,.tokenized_autocompleter_container{display:block;position:relative;z-index:1}.token-container ::-webkit-scrollbar,.tokenized_autocompleter_container ::-webkit-scrollbar{-webkit-appearance:none;width:7px;height:7px}.token-container ::-webkit-scrollbar-thumb,.tokenized_autocompleter_container ::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,0.5);-webkit-box-shadow:0 0 1px rgba(255,255,255,0.5)}.token-container .tokenizer,.tokenized_autocompleter_container .tokenizer{background:#fff;min-height:23px;max-height:300px;padding:0px 0px 3px 3px;width:auto;font-size:13px;line-height:1.6em;cursor:default;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.token-container .tokenizer *,.tokenized_autocompleter_container .tokenizer *{cursor:default}.token-container .tokenizer input,.tokenized_autocompleter_container .tokenizer input{width:50%}.token-container .tokenizer .tokenizer_input,.token-container .tokenizer .token,.tokenized_autocompleter_container .tokenizer .tokenizer_input,.tokenized_autocompleter_container .tokenizer .token{float:left;margin-right:3px;margin-top:3px}.token-container .tokenizer .tokenizer_input,.tokenized_autocompleter_container .tokenizer .tokenizer_input{position:relative;max-width:450px;overflow:hidden;padding:1px 0px}.token-container .tokenizer .tokenizer_input .new-collab-input,.tokenized_autocompleter_container .tokenizer .tokenizer_input .new-collab-input{width:20px}.token-container .tokenizer .tokenizer_input input,.tokenized_autocompleter_container .tokenizer .tokenizer_input input{border:0px solid black;outline:0;font-size:13px;padding:0px 5px;margin:0 0 -1px 0;white-space:pre;cursor:text}.token-container .tokenizer .tokenizer_input label,.tokenized_autocompleter_container .tokenizer .tokenizer_input label{font-size:13px;position:absolute;left:2px;top:2px;cursor:text;pointer-events:none;color:#777;-webkit-transition:color 0.2s linear 0s;-moz-transition:color 0.2s linear 0s;transition:color 0.2s linear 0s}.token-container .tokenizer .tokenizer_input.focused label,.tokenized_autocompleter_container .tokenizer .tokenizer_input.focused label{color:#ccc;-webkit-transition:color 0.2s linear 0s;-moz-transition:color 0.2s linear 0s;transition:color 0.2s linear 0s}.token-container .tokenizer .tokenizer_input.populated label,.tokenized_autocompleter_container .tokenizer .tokenizer_input.populated label{display:none}.token-container .tokenizer .tokenizer_input_borderless,.tokenized_autocompleter_container .tokenizer .tokenizer_input_borderless{left:4px;margin-left:-1px;overflow:hidden;position:relative}.token-container .tokenizer .tokenizer_input_borderless .new-collab-input,.tokenized_autocompleter_container .tokenizer .tokenizer_input_borderless .new-collab-input{border:3px solid transparent !important;border-left:none;display:block;margin:-1px 3px 0px -2px;padding:0px !important}.token-container .tokenizer .tab_stop,.token-container .tokenizer .tokenizer_stretcher,.tokenized_autocompleter_container .tokenizer .tab_stop,.tokenized_autocompleter_container .tokenizer .tokenizer_stretcher{display:block;float:left;overflow:hidden;width:0px}.token-container .tokenizer .tab_stop,.tokenized_autocompleter_container .tokenizer .tab_stop{height:0px}.token-container .tokenizer .tab_stop input,.tokenized_autocompleter_container .tokenizer .tab_stop input{border:0px solid black;display:inline;position:relative;width:1px;height:1px;overflow:visible;left:-1500px}.token-container .tokenizer .tokenizer_stretcher,.tokenized_autocompleter_container .tokenizer .tokenizer_stretcher{padding-top:7px}.token-container .tokenizer div:-moz-first-node,.tokenized_autocompleter_container .tokenizer div:-moz-first-node{padding-top:1px !important}.token-container .import-contacts-link,.token-container .import-contacts-modal,.token-container .tokenizer-can-edit,.tokenized_autocompleter_container .import-contacts-link,.tokenized_autocompleter_container .import-contacts-modal,.tokenized_autocompleter_container .tokenizer-can-edit{background:none;height:21px;margin-top:-28px;position:absolute;right:10px}.token-container div.tokenizer-can-edit,.tokenized_autocompleter_container div.tokenizer-can-edit{margin-top:-32px}.carousel-app .token-container .tokenizer,.carousel-app .tokenized_autocompleter_container .tokenizer{padding:14px 24px 18px 24px;border:none;border-bottom:1px solid #e5e5e5;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.carousel-app .tokenized_autocompleter_container .import-contacts-link{margin-top:-41px;right:21px}.carousel-app .tokenized_autocompleter_container .tokenizer .tokenizer_input_borderless .new-collab-input{margin:1px 3px 0px -3px}.carousel-app .tokenized_autocompleter_container .tokenizer .tokenizer_input label{left:0px;top:3px;color:#929BA0}.carousel-app .tokenized_autocompleter_container .tokenizer{overflow-x:hidden;overflow-y:auto}body.gecko .tokenized_autocompleter_container .tokenizer_input label{left:6px}div.tokenizer .token{background-repeat:no-repeat;color:black;white-space:nowrap}div.tokenizer .token.token-valid,div.tokenizer .token.token-valid span{background-image:url("/static/images/tokens/token-vflrppjFm.png")}div.tokenizer .token.token-valid:hover,div.tokenizer .token.token-valid:hover span{background-image:url("/static/images/tokens/token_hover-vflBO4qD1.png")}div.tokenizer .token.token-valid span.x,div.tokenizer .token.token-valid span.x_hover,div.tokenizer .token.token-valid:hover span.x,div.tokenizer .token.token-valid:hover span.x_hover{background-image:url("/static/images/tokens/token_close-vflQfmPVE.png");cursor:pointer !important}div.tokenizer .token.token-error,div.tokenizer .token.token-error span{background-image:url("/static/images/tokens/er_token-vflniwpEy.png")}div.tokenizer .token.token-error:hover,div.tokenizer .token.token-error:hover span{background-image:url("/static/images/tokens/er_token_hover-vflXal_JN.png")}div.tokenizer .token.token-error span.x,div.tokenizer .token.token-error span.x_hover,div.tokenizer .token.token-error:hover span.x,div.tokenizer .token.token-error:hover span.x_hover{background-image:url("/static/images/tokens/er_token_close-vflw-1uHD.png");cursor:pointer !important}div.tokenizer .token.token-warn,div.tokenizer .token.token-warn span{background-image:url("/static/images/tokens/w_token-vfl9rjynV.png")}div.tokenizer .token.token-warn:hover,div.tokenizer .token.token-warn:hover span{background-image:url("/static/images/tokens/w_token_hover-vflTRtwW6.png")}div.tokenizer .token.token-warn span.x,div.tokenizer .token.token-warn span.x_hover,div.tokenizer .token.token-warn:hover span.x,div.tokenizer .token.token-warn:hover span.x_hover{background-image:url("/static/images/tokens/w_token_close-vfl57bsSl.png");cursor:pointer !important}div.tokenizer .token:hover,div.tokenizer .token:hover span{text-decoration:none}div.tokenizer .token span{background-position:top right;background-repeat:no-repeat;display:block}div.tokenizer .token span span{background-position:bottom right}div.tokenizer .token span span span{background-position:bottom left}div.tokenizer .token span span span span{background-image:none;padding:2px 3px 2px 5px}div.tokenizer .token span span span span span.hidden{display:none;margin:0;padding:0}div.tokenizer .token span span span span img{width:16px;margin:0 5px -3px 0}div.tokenizer .token span.x,div.tokenizer .token span.x_hover,div.tokenizer .token:hover span.x,div.tokenizer .token:hover span.x_hover{background-position:5px;cursor:pointer;display:inline;padding:0px 7px 0px 4px}div.tokenizer .token_selected,div.tokenizer .token_selected span,div.tokenizer .token_selected:hover,div.tokenizer .token_selected:hover span{color:white;text-decoration:none}div.tokenizer .token_selected.token-valid,div.tokenizer .token_selected.token-valid span,div.tokenizer .token_selected.token-valid:hover,div.tokenizer .token_selected.token-valid:hover span{background-image:url("/static/images/tokens/token_selected-vfl6BDgcp.png")}div.tokenizer .token_selected.token-error,div.tokenizer .token_selected.token-error span,div.tokenizer .token_selected.token-error:hover,div.tokenizer .token_selected.token-error:hover span{background-image:url("/static/images/tokens/er_token_selected-vflutxYy5.png")}div.tokenizer .token_selected.token-warn,div.tokenizer .token_selected.token-warn span,div.tokenizer .token_selected.token-warn:hover,div.tokenizer .token_selected.token-warn:hover span{background-image:url("/static/images/tokens/w_token_selected-vflbeHi5X.png")}div.autocomplete{position:absolute;margin:-1px 0 0 0;padding:0px;text-align:left;z-index:1}div.autocomplete ul{list-style-type:none;margin:0px;padding:0px;border:1px solid #e5e5e5;background-color:#f9fcff}div.autocomplete ul li{list-style-type:none;display:block;margin:0;padding:2px;height:44px;cursor:pointer;border-bottom:1px solid #e5e5e5}div.autocomplete ul li.selected{background-color:#d5ecff}.autocomplete-match{font-weight:bold}.autocomplete-secondary{color:#666666}.autocomplete-left,.import-contacts-autocomplete-item{float:left;padding:8px 8px 0px 8px;width:28px;height:28px;text-align:center}.autocomplete-left img,.import-contacts-autocomplete-item img{vertical-align:middle}.autocomplete-item-cancel-button{position:absolute;top:18px;right:18px;width:11px;height:11px;background-image:url("/static/images/x-small-inactive-vflYKfRuL.png")}.autocomplete-item-cancel-button:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.autocomplete-line{line-height:1.3em;margin-top:4px;min-height:5px}.autocomplete-line-center{line-height:1.3em;margin-top:14px}.contact-importer-img{margin-right:2px}.sf-name{width:300px}.sf-joined{width:170px}#sharing-header{display:inline-block;width:100%;padding:7px 2px 2px;margin-top:50px;line-height:normal}#sharing-header #role-selector select{margin-left:-5px;margin-bottom:-4px}#sharing-header #header-right{text-align:right}#sf-view{display:none;font-size:13px}#sf-view .freshbutton,#sf-view .freshbutton-blue{padding:7px 18px}#sf-view .freshbutton .s_web_folder_user_blue,#sf-view .freshbutton-blue .s_web_folder_user_blue{margin-bottom:-2px;margin-right:8px}#sf-view .new-share-tab-exp-footer{background-color:#F6F9FC;border:1px solid #E5E5E5;height:80px;margin-top:-35px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#sf-view .new-share-tab-exp-footer .new-share-tab-exp-img{float:left;padding:10px 10px 0px;width:10%}#sf-view .new-share-tab-exp-footer .new-share-tab-exp-middle{float:left;padding-top:13px;width:63%}#sf-view .new-share-tab-exp-footer .new-share-tab-exp-middle .new-share-tab-exp-title{font-size:12px}#sf-view .new-share-tab-exp-footer .new-share-tab-exp-middle .new-share-tab-exp-learn-more{color:#7B8994;font-size:12px}#sf-view .new-share-tab-exp-footer #share-button{float:right;padding:6px 3px;margin:18px 5px}#sf-view .empty-list{display:none}#sf-view hr{height:1px;background-color:#edf1f5;border-width:0px}#sf-view #sf-explanation{margin:30px 0 33px 0px}#sf-view #sf-explanation #learn-more{line-height:1.8em;margin-bottom:0px;float:left;width:570px}#sf-view #sf-explanation #share-button{text-align:right;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none}#sf-view #sf-explanation #share-button #create-share{display:inline-block;margin-top:5px}#sf-view #new-invites-link .link-img{background-color:transparent;padding-right:8px;margin-top:-8px;margin-bottom:-5px}#sf-view .hotbox,#sf-view .sf-list-container.sf-sort{margin-top:14px;margin-bottom:0}#sf-view .blueexplanation{background-color:#f7fbfe;border:1px solid #e5f2fc;line-height:1.8em}#sf-view #invites-box{padding:15px 0;font-weight:600;margin-bottom:27px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#sf-view .sf-list-container{margin-bottom:50px;margin-top:44px}#sf-view .sf-list-container .sf-list-title{margin-top:32px;font-weight:normal;font-size:16px}#sf-view .sf-list-container .sf-sort{height:10px;width:100%}#sf-view .sf-list-container .sf-sort a.sort-option{font-size:12px;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none;color:#aaa;text-decoration:none}#sf-view .sf-list-container .sf-sort a.sort-option span{margin-right:5px}#sf-view .sf-list-container .sf-sort a.sort-option.name-sorter span{margin-left:2px}#sf-view .sf-list-container .sf-sort .name-sorter{float:left;width:520px}#sf-view .sf-list-container .sf-sort .modified-sorter{float:left;width:160px}#sf-view .sf-list-container .sf-sort .sort-arrow{margin-bottom:1px}#sf-view .sf-list-container ol.sf-list{padding:0px;margin:0px}#sf-view .sf-list-container ol.sf-list li.sf-folder{list-style:none;width:100%;margin:0 0 -1px 0;padding:10px 0;border:solid #edf1f5;border-width:1px 0px}#sf-view .sf-list-container ol.sf-list li.sf-folder img,#sf-view .sf-list-container ol.sf-list li.sf-folder .filename-col,#sf-view .sf-list-container ol.sf-list li.sf-folder .modified-col,#sf-view .sf-list-container ol.sf-list li.sf-folder .options-col{float:left}#sf-view .sf-list-container ol.sf-list li.sf-folder .filename-col{width:510px;padding-right:10px}#sf-view .sf-list-container ol.sf-list li.sf-folder .filename-col .members{display:table;font-size:12px;max-width:450px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:inline-block}#sf-view .sf-list-container ol.sf-list li.sf-folder .filename-col img{margin:2px 11px 0 10px}#sf-view .sf-list-container ol.sf-list li.sf-folder .modified-col{width:155px;margin-top:9px}#sf-view .sf-list-container ol.sf-list li.sf-folder .options-col{width:125px;margin-top:9px;text-align:right}#sf-view .sf-list-container ol.sf-list li.sf-folder .options-col a.options-link,#sf-view .sf-list-container ol.sf-list li.sf-folder .options-col a{margin-right:15px}.no-shares #sharing-header{border-bottom:1px solid #e5e5e5;padding-bottom:20px}.no-shares #sf-view #empty-content{text-align:center}.no-shares #sf-view #empty-content.exp-new-share-look .exp-page-header-image{width:180px}.no-shares #sf-view #empty-content.exp-new-share-look .exp-page-header-text{color:#aaa;font-size:22px;margin:10px 156px}.no-shares #sf-view #empty-content.exp-new-share-look .exp-page-desc{color:#4c545a;font-size:14px;margin:20px 190px}.no-shares #sf-view #empty-content.exp-new-share-look #share-button{margin-top:30px}.no-shares #sf-view #empty-content.exp-new-share-look #share-button img{padding:0px}.no-shares #sf-view #learn-more{display:none}.no-shares #sf-view #share-button{margin-top:-90px}.no-shares .new-share-tab-exp-footer{display:none}.invite-more-form .allow_members_row{width:575px}.invite-more-form .allow_members_row .db-modal-buttons{white-space:nowrap}.sf-can-edit .bubble-picker-dropdown.chat-bubble .bubble-picker-option,.sf-invite-can-edit .bubble-picker-dropdown.chat-bubble .bubble-picker-option{white-space:nowrap;padding-right:15px}.sf-can-edit .bubble-picker-dropdown.chat-bubble .bubble-picker-option.disabled a,.sf-invite-can-edit .bubble-picker-dropdown.chat-bubble .bubble-picker-option.disabled a{color:#aaa;text-decoration:none}.sf-can-edit .bubble-picker-dropdown.chat-bubble .divider,.sf-invite-can-edit .bubble-picker-dropdown.chat-bubble .divider{height:1px;margin:3px 0;background-color:#bdc4c9}.sf-can-edit .bubble-picker-dropdown.chat-bubble .upsell,.sf-invite-can-edit .bubble-picker-dropdown.chat-bubble .upsell{text-align:center}.sf-can-edit .bubble-picker-dropdown.chat-bubble .upsell:hover,.sf-invite-can-edit .bubble-picker-dropdown.chat-bubble .upsell:hover{background:#e3f2ff}.sf-can-edit .bubble-picker-dropdown.chat-bubble .upsell a,.sf-invite-can-edit .bubble-picker-dropdown.chat-bubble .upsell a{width:130px;display:block;padding:5px;text-decoration:none}.warn-dot{background:#f8ca00;width:7px;height:7px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;display:inline-block}.sf-invite-can-edit{margin-top:5px}.invite-more-form .db-select.bubbly{background-color:transparent}.folder-settings{margin-bottom:5px}.folder-settings .share-team-only,.folder-settings .share-anyone{margin-right:5px}.folder-settings.team-only .share-team-only,.folder-settings .share-anyone{display:inline}.folder-settings.team-only .share-anyone,.folder-settings .share-team-only{display:none}.sf-display-name-tooltip{margin-top:2px;margin-bottom:2px}.sf-display-name-tooltip .sf-tooltip-row{line-height:16px}.sf-display-name-tooltip .sf-tooltip-warning{border-top:1px solid #e5e5e5;color:#aaa;font-size:11px;padding-top:10px;margin-top:10px}.share_show_modal ::-webkit-scrollbar{-webkit-appearance:none;width:7px;height:7px}.share_show_modal ::-webkit-scrollbar-thumb{border-radius:4px;background-color:rgba(0,0,0,0.5);-webkit-box-shadow:0 0 1px rgba(255,255,255,0.5)}.share_show_modal small{font-size:8pt;font-weight:normal}.share_show_modal .member-info{width:573px}.share_show_modal .inviting-not-permitted{background-color:#e5e5e5;border:1px solid rgba(170,170,170,0.5);margin-bottom:15px;padding:15px 5px;text-align:center;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.share_show_modal .action-panel{padding-top:20px}.share_show_modal .action-panel .email-not-verified{background-color:#fffdec;border:1px solid #d8b877;margin-top:-5px;margin-bottom:25px;padding:15px 5px;text-align:center;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.share_show_modal .action-panel .invite-more-form.collapsed{margin-bottom:20px}.share_show_modal .folder-management-buttons{height:36px;text-align:right}.share_show_modal .folder-management-buttons .sf-action-get-link{margin-right:8px}.share_show_modal .folder-management-buttons input[type=button]{float:right}.share_show_modal .folder-management-buttons input[type=button].sf-action{float:left;margin-right:8px}.share_show_modal .member-container{background:#fff;border:1px solid #e5e5e5;height:212px;overflow:auto;padding:5px;position:relative}.share_show_modal .member-container .avatars-enabled .tooltip-bubble{min-width:200px;max-width:300px;box-sizing:border-box;padding:10px}.share_show_modal .member-container .avatars-enabled .tooltip-bubble .avatar-wrapper{float:left}.share_show_modal .member-container .avatars-enabled .tooltip-bubble .avatar-wrapper:after{content:"";display:table;clear:both}.share_show_modal .member-container .avatars-enabled .tooltip-bubble .sf-display-name-tooltip{display:block;overflow:hidden}.share_show_modal .team-folder-member-container{background:#fff;border:1px solid #e5e5e5;margin-top:10px;padding:10px}.share_show_modal .team-folder-member-container img{margin-right:10px;position:relative;top:4px}.share_show_modal .share-actions-list{list-style:none;margin:0px;padding:0px}.share_show_modal .share-actions-list li{padding:-10px;text-align:left;white-space:nowrap}.share_show_modal a.sf-display-name{color:#3d464d;text-decoration:none}.share_show_modal a.sf-display-name.red-text{color:#e82110}.share_show_modal .remove-button img{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.share_show_modal .background-icon{padding:3px 0 2px 28px !important}.share_show_modal .bs-row .action-button{margin-right:5px}.share_show_modal .bs-row.selected .chat-bubble{display:block;z-index:1}.share_show_modal .bs-row.selected .chat-bubble img{margin:0 6px 0 0}.share_show_modal .bs-row em{color:#7B8994}.share_show_modal .bs-row.unjoined .sf-display-name{color:#7B8994}.share_show_modal .bs-row.unjoined .sf-tooltip-name{color:#7B8994}.share_show_modal .bs-row .avatar-component{display:inline-block;float:left;margin-right:8px}.share_show_modal .bs-row.group-member{cursor:pointer}.share_show_modal .bs-row.group-member .retract-button{display:none}.share_show_modal .bs-row.group-member .retract-button,.share_show_modal .bs-row.group-member .expand-button{margin:8px 0 0 5px}.share_show_modal .bs-row.group-member div{cursor:pointer}.share_show_modal .bs-row.group-member .bs-row{display:none}.share_show_modal .bs-row.group-member .group-users{padding-top:3px;float:none}.share_show_modal .bs-row.group-member.expanded{padding-left:5px;margin-right:1px;height:auto;background:#f9fcff;border:none;border-top:1px solid #e6e6e6;border-bottom:1px solid #e6e6e6}.share_show_modal .bs-row.group-member.expanded .bs-row{float:none;display:inherit;border:none;padding-left:23px;padding-right:0px}.share_show_modal .bs-row.group-member.expanded .bs-row .sf-name{width:277px}.share_show_modal .bs-row.group-member.expanded .bs-row:hover{background:#eaf4fc}.share_show_modal .bs-row.group-member.expanded .expand-button{display:none}.share_show_modal .bs-row.group-member.expanded .retract-button{display:inline}.share_show_modal .folder-management-buttons .sf-action{float:none}.share_show_modal .action-panel{padding-top:25px}.share_show_modal .action-panel .invite-more-form .custom-message-container{display:block}.share_show_modal .action-panel .invite-more-form.collapsed .tokenized_autocompleter_container .tokenizer{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.share_show_modal .action-panel .invite-more-form.collapsed .tokenized_autocompleter_container .tokenizer .tokenizer_input label{color:#7B8994}.share_show_modal .action-panel .invite-more-form.collapsed .custom-message-container{display:none}.share_show_modal.ajax-loading .ajax-loading-indicator{display:inline}.share_show_modal.ajax-loading .share-invite-button{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.invite-perm-input{text-align:right;padding:0px 5px 5px}.invite-more-form .tokenized_autocompleter_container .tokenizer{border:1px solid #e5e5e5;border-bottom-right-radius:0;border-bottom-left-radius:0;box-shadow:0 0 0 #000,inset 0 0 0 #000}.invite-more-form .custom-message-container textarea{box-shadow:0 0 0 #000,inset 0 0 0 #000;box-sizing:border-box;border-top-right-radius:0;border-top-left-radius:0;background:white;border-top:none;border-right:1px solid #ddd;border-bottom:1px solid #ddd;border-left:1px solid #ccc;height:58px;padding:7px;resize:vertical;width:100%}.invite-more-form .custom-message-container label{color:#ccc;top:3px}.invite-more-form .external-invite-message{vertical-align:middle}.invite-more-form .external-invite-message img{margin:-5px 5px 0px;vertical-align:middle}.invite-more-form .external-invite-message.team-only .external-forbidden,.invite-more-form .external-invite-message.single .external-warning-singular,.invite-more-form .external-invite-message .external-warning-plural{display:block;margin-top:20px}.invite-more-form .external-invite-message.team-only .external-warning-singular,.invite-more-form .external-invite-message.team-only .external-warning-plural,.invite-more-form .external-invite-message.single .external-warning-plural,.invite-more-form .external-invite-message .external-warning-singular,.invite-more-form .external-invite-message .external-forbidden{display:none}.invite-more-form #verify-email-reminder-container{vertical-align:bottom}.invite-more-form .email-verify-message{display:none}.invite-more-form.team-only div.tokenizer .token.token-warn,.invite-more-form.team-only div.tokenizer .token.token-warn span{background-image:url("/static/images/tokens/er_token-vflniwpEy.png")}.invite-more-form.team-only div.tokenizer .token.token-warn:hover,.invite-more-form.team-only div.tokenizer .token.token-warn:hover span{background-image:url("/static/images/tokens/er_token_hover-vflXal_JN.png")}.invite-more-form.team-only div.tokenizer .token.token-warn span.x,.invite-more-form.team-only div.tokenizer .token.token-warn span.x_hover,.invite-more-form.team-only div.tokenizer .token.token-warn:hover span.x,.invite-more-form.team-only div.tokenizer .token.token-warn:hover span.x_hover{background-image:url("/static/images/tokens/er_token_close-vflw-1uHD.png");cursor:pointer !important}.external_share_confirm .modal-buttons{margin-top:20px}.external_share_confirm .modal-buttons input[type="button"],.external_share_confirm .modal-buttons input[type="submit"]{margin-left:5px;float:right}.external_share_confirm .external_prompt{font-size:13px;padding-bottom:20px}.external_share_confirm .external_prompt .external_prompt_single{display:none}.external_share_confirm .external_prompt .external_prompt_multiple{display:inline}.external_share_confirm .external_prompt.single .external_prompt_single{display:inline}.external_share_confirm .external_prompt.single .external_prompt_multiple{display:none}.external_share_confirm .empty_state{display:none}.external_share_confirm.no-recipients .empty_state{display:block}.external_share_confirm.no-recipients .external_prompt,.external_share_confirm.no-recipients .token-container{display:none}.external_share_confirm.no-recipients .send{display:none}#invites-container .message-top{margin-bottom:20px}#invites-container .message-bottom{margin-top:20px}#invites-container .invites-message{padding:15px 10px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;background-color:#ffffff;border:1px solid #e5e5e5;line-height:1.8em;text-align:center}#invites-container .sign-in-message{cursor:pointer}#invites-container .sign-in-message .link-img{padding-right:8px;margin-top:-8px;margin-bottom:-5px}#invites-container .email-verification-warning,#invites-container .overquota-warning{background-color:#fffdeb;border-color:#eed9ae;margin-bottom:20px;cursor:pointer}#invites-container .invitation-table-container{max-height:250px;overflow-x:hidden;overflow-y:auto;border:1px solid #e5e5e5}#invites-container .invitation-table-container .invitation-table{border:none}#invites-container .invitation-table-container .invitation-table .invitation-row:last-child td{border-bottom:none}#invites-container .db-modal-buttons .cancel-button{margin-right:0px}#invites-container .invitation-table{background:#fff;border:1px solid #e5e5e5;border-bottom:none;border-collapse:collapse;clear:both;width:100%;white-space:nowrap}#invites-container .invitation-row{line-height:16px;height:56px}#invites-container .invitation-row td{padding:10px 0px;border-bottom:1px solid #e5e5e5;white-space:normal}#invites-container .invitation-row td.invitation-icon{padding:10px 5px 10px 10px;width:34px;vertical-align:top}#invites-container .invitation-row td.sf-invite-button-container{vertical-align:top;min-width:180px;padding:13px 12px 13px 5px;text-align:right}#invites-container .invitation-row td.sf-invite-button-container form.view-folder-form{display:none}#invites-container .invitation-row td.sf-invite-button-container .sf-accepted form{display:none}#invites-container .invitation-row td.sf-invite-button-container .sf-accepted form.view-folder-form{display:inline}#invites-container .invitation-row .invitation-header{font-size:13px}#invites-container .invitation-row .invitation-header .invitation-folder-name{font-weight:bold}#invites-container .invitation-row .invitation-details{font-size:12px;color:#aaa}.team-external-invite-accept .external-invite-description{padding:20px 0px}.team-external-invite-accept .single-invitation{border-spacing:0px;width:100%}.team-external-invite-accept .single-invitation td{border-bottom:none}.team-external-invite-accept .sf-action-buttons{text-align:right}.team-external-invite-accept .sf-action-buttons form{display:inline}.team-external-invite-accept .invitation-row td{padding:0px}.team-external-invite-accept .invitation-row td.invitation-icon{padding-right:10px}#new-shared-folder-name-input{width:100%}#new-or-existing-sf,#new-sf-or-shmodel,#shared-folder-type{padding:0px;margin-bottom:0px}#new-or-existing-sf li,#new-sf-or-shmodel li,#shared-folder-type li{background:#fff;list-style:none;padding:20px;border:1px solid #e5e5e5;cursor:pointer}#new-or-existing-sf li.top,#new-sf-or-shmodel li.top,#shared-folder-type li.top{-webkit-border-top-left-radius:3px;-ms-border-top-left-radius:3px;-o-border-top-left-radius:3px;border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-ms-border-top-right-radius:3px;-o-border-top-right-radius:3px;border-top-right-radius:3px}#new-or-existing-sf li.bottom,#new-sf-or-shmodel li.bottom,#shared-folder-type li.bottom{margin-top:-1px;-webkit-border-bottom-left-radius:3px;-ms-border-bottom-left-radius:3px;-o-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;-ms-border-bottom-right-radius:3px;-o-border-bottom-right-radius:3px;border-bottom-right-radius:3px}#new-or-existing-sf li label,#new-sf-or-shmodel li label,#shared-folder-type li label{margin-left:5px}#new-or-existing-sf li label:hover,#new-sf-or-shmodel li label:hover,#shared-folder-type li label:hover{cursor:pointer}#new-or-existing-sf li label.description,#new-sf-or-shmodel li label.description,#shared-folder-type li label.description{display:block;color:#999;margin-left:24px}#allow-other-members-to-share-container span.pre-share-upsell{display:inline-block;margin-top:35px}.sf-modal-footer a.back{margin-top:36px}#create-link-or-invite-wizard-modal .share-options{width:100%;background:#fff;border-collapse:collapse;border:2px solid #e5e5e5;margin-top:20px;text-align:center}#create-link-or-invite-wizard-modal .share-options .share-option{width:50%;border:2px solid #e5e5e5;cursor:pointer;vertical-align:top}#create-link-or-invite-wizard-modal .share-options .share-option:hover{background-color:#e3f2ff}#create-link-or-invite-wizard-modal .share-options .share-option .option-img{display:block;margin:0 auto 20px auto}#create-link-or-invite-wizard-modal .share-options .share-option.option-to-share-folder .option-img{margin-bottom:25px}#create-link-or-invite-wizard-modal .share-options .share-option .option-content{margin:25px 38px}#create-link-or-invite-wizard-modal .share-options .share-option .option-content .option-subtext{color:#aaa}#create-link-or-invite-wizard-modal .learn-more{margin-top:20px;margin-left:2px;display:block}.create-and-share-new-folder-modal #create-and-share-new-folder-header{font-size:14px}.create-and-share-new-folder-modal #create-and-share-new-folder-second-header{font-size:14px;margin-bottom:17px}.create-and-share-new-folder-modal .text-input{width:100%;margin-bottom:20px}.create-and-share-new-folder-modal .text-input .text-input-input{font-size:13px}.create-and-share-new-folder-modal .text-input .text-input-wrapper label{font-size:13px}body.pl #sf-view.sf-list-container .sf-list .sf-folder .filename-col{width:510px}body.pl #sf-view.sf-list-container .sf-list .sf-folder .modified-col{width:160px}body.pl #sf-view.sf-list-container .sf-list .sf-folder .options-col{width:130px}body.pl #sf-view.sf-list-container .sf-list-container.sf-sort .name-sorter{width:510px}body.pl #sf-view.sf-list-container .sf-list .sf-folder.past-folder .options-col,body.ms #sf-view.sf-list-container .sf-list .sf-folder.past-folder .options-col{margin-top:0px}body.pl #sf-view.sf-list-container .sf-list .sf-folder.past-folder .options-col .options-link,body.ms #sf-view.sf-list-container .sf-list .sf-folder.past-folder .options-col .options-link{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline}.access-request-feedback-link{position:absolute;left:33px;bottom:38px}@-webkit-keyframes lightbox-selection-wiggobble{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}33%{-webkit-transform:scale(1.25);-moz-transform:scale(1.25);-o-transform:scale(1.25);transform:scale(1.25)}67%{-webkit-transform:scale(0.85);-moz-transform:scale(0.85);-o-transform:scale(0.85);transform:scale(0.85)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@-moz-keyframes lightbox-selection-wiggobble{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}33%{-webkit-transform:scale(1.25);-moz-transform:scale(1.25);-o-transform:scale(1.25);transform:scale(1.25)}67%{-webkit-transform:scale(0.85);-moz-transform:scale(0.85);-o-transform:scale(0.85);transform:scale(0.85)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@-ms-keyframes lightbox-selection-wiggobble{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}33%{-webkit-transform:scale(1.25);-moz-transform:scale(1.25);-o-transform:scale(1.25);transform:scale(1.25)}67%{-webkit-transform:scale(0.85);-moz-transform:scale(0.85);-o-transform:scale(0.85);transform:scale(0.85)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@keyframes lightbox-selection-wiggobble{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}33%{-webkit-transform:scale(1.25);-moz-transform:scale(1.25);-o-transform:scale(1.25);transform:scale(1.25)}67%{-webkit-transform:scale(0.85);-moz-transform:scale(0.85);-o-transform:scale(0.85);transform:scale(0.85)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@-webkit-keyframes lightbox-selection-elbboggiw{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}33%{-webkit-transform:scale(0.75);-moz-transform:scale(0.75);-o-transform:scale(0.75);transform:scale(0.75)}67%{-webkit-transform:scale(1.2);-moz-transform:scale(1.2);-o-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@-moz-keyframes lightbox-selection-elbboggiw{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}33%{-webkit-transform:scale(0.75);-moz-transform:scale(0.75);-o-transform:scale(0.75);transform:scale(0.75)}67%{-webkit-transform:scale(1.2);-moz-transform:scale(1.2);-o-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@-ms-keyframes lightbox-selection-elbboggiw{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}33%{-webkit-transform:scale(0.75);-moz-transform:scale(0.75);-o-transform:scale(0.75);transform:scale(0.75)}67%{-webkit-transform:scale(1.2);-moz-transform:scale(1.2);-o-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@keyframes lightbox-selection-elbboggiw{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}33%{-webkit-transform:scale(0.75);-moz-transform:scale(0.75);-o-transform:scale(0.75);transform:scale(0.75)}67%{-webkit-transform:scale(1.2);-moz-transform:scale(1.2);-o-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@-webkit-keyframes wiggobble{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}25%{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1)}67%{-webkit-transform:scale(0.95);-moz-transform:scale(0.95);-o-transform:scale(0.95);transform:scale(0.95)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@-moz-keyframes wiggobble{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}25%{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1)}67%{-webkit-transform:scale(0.95);-moz-transform:scale(0.95);-o-transform:scale(0.95);transform:scale(0.95)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@-ms-keyframes wiggobble{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}25%{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1)}67%{-webkit-transform:scale(0.95);-moz-transform:scale(0.95);-o-transform:scale(0.95);transform:scale(0.95)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}@keyframes wiggobble{0%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}25%{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1)}67%{-webkit-transform:scale(0.95);-moz-transform:scale(0.95);-o-transform:scale(0.95);transform:scale(0.95)}100%{-webkit-transform:scale(1);-moz-transform:scale(1);-o-transform:scale(1);transform:scale(1)}}.shmodel-body .dropdown-menu-container{position:absolute}.shmodel-body .dropdown-menu-container .chat-bubble{display:none}.shmodel-body .dropdown-shown .chat-bubble{display:block}.shmodel-body .visibility-description{padding:6px}.shmodel-body .visibility-description .s_web_arrow-down-gray{vertical-align:1px;margin-left:5px}.shmodel-body .visibility-description{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}.shmodel-body .visibility-description .sprite-div{display:inline-block;vertical-align:top}.shmodel-body .dropdown-menu-trigger{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}.shmodel-body .dropdown-menu-trigger:hover{cursor:pointer;background-color:#f7f7f7;padding:5px;border:1px solid #ddd;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.shmodel-body .visibility-control-container{width:400px}.shmodel-body .visibility-container{position:relative;top:-27px;width:400px}.shmodel-body .visibility-container .chat-bubble{text-align:left;position:relative;padding:10px 0px;min-width:200px;right:10px;top:10px}.shmodel-body .visibility-container .chat-bubble .chat-bubble-arrow,.shmodel-body .visibility-container .chat-bubble .chat-bubble-arrow-border{left:40px}.shmodel-body .visibility-container .chat-bubble ul{margin:0;padding:0;list-style-type:none}.shmodel-body .visibility-container .chat-bubble ul li.unselectable-option{padding:5px 15px;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4}.shmodel-body .visibility-container .chat-bubble ul li.selectable-option{padding:0}.shmodel-body .visibility-container .chat-bubble ul li.selectable-option button{border:0;padding:5px 15px;width:100%;text-align:left;background-color:transparent}.shmodel-body .visibility-container .chat-bubble ul li.selectable-option button::-moz-focus-inner{border:0;padding:0}.shmodel-body .visibility-container .chat-bubble ul li.selectable-option button:hover{background-color:#e1f2ff;cursor:pointer}.shmodel-body .visibility-container .chat-bubble ul .sprite_web{margin-right:6px;margin-bottom:-3px}.shmodel-body #outer-frame,.shmodel-body #page-content{padding:0;margin:0;min-height:0;width:auto}.shmodel-body #outer-frame{padding-top:47px}.shmodel-body #page-content{position:relative}.shmodel-body #tabs-container,.shmodel-body #page-header{display:none}.shmodel-body #hotbox{border-collapse:collapse}.shmodel-body #kill_dl{background:#fff;position:absolute;width:60px;height:20px;z-index:10}.shmodel-body .err{max-width:700px;text-align:center;margin:50px auto}.shmodel-body .err h3{color:#3d464d;font-size:20px;margin-top:25px;font-weight:normal}.shmodel-body #register-partial{margin-left:auto;margin-right:auto}.shmodel-body #shmodel-status{position:relative;top:-2px;padding-right:5px}.shmodel-body .visibility-team-only-fixed{display:none}.shmodel-body .visibility-team-only{display:none}.shmodel-body .visibility-public{display:block}.shmodel-body #shmodel-status{display:none}body.team-only-shmodel .visibility-public{display:none}body.team-only-shmodel #shmodel-status{display:inline}body.team-only-shmodel .visibility-team-only{display:block}body.team-only-shmodel div.tokenizer .token.token-warn,body.team-only-shmodel div.tokenizer .token.token-warn span{background-image:url("/static/images/tokens/er_token-vflniwpEy.png")}body.team-only-shmodel div.tokenizer .token.token-warn:hover,body.team-only-shmodel div.tokenizer .token.token-warn:hover span{background-image:url("/static/images/tokens/er_token_hover-vflXal_JN.png")}body.team-only-shmodel div.tokenizer .token.token-warn span.x,body.team-only-shmodel div.tokenizer .token.token-warn span.x_hover,body.team-only-shmodel div.tokenizer .token.token-warn:hover span.x,body.team-only-shmodel div.tokenizer .token.token-warn:hover span.x_hover{background-image:url("/static/images/tokens/er_token_close-vflw-1uHD.png");cursor:pointer !important}body.team-only-shmodel-fixed .visibility-team-only{display:none}body.team-only-shmodel-fixed .visibility-team-only-fixed{float:left;display:block}#content-wrapper{position:relative;width:952px;margin:0 auto 40px;padding:0 10px}#content-wrapper #top-bar{position:relative}#content-wrapper #album-top-bar{padding:24px 0 26px 0}#content-wrapper #album-top-bar .album-info{float:left}#content-wrapper #album-top-bar .album-info .album-name{font-size:20px;font-weight:normal;padding-bottom:4px;line-height:normal}#content-wrapper #album-top-bar .album-info .album-desc{color:#888}#content-wrapper #album-top-bar .album-buttons{float:right;margin-top:8px;margin-right:4px}#content-wrapper #album-top-bar .album-buttons a.freshbutton-lightblue,#content-wrapper #album-top-bar .album-buttons a.freshbutton-blue{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;margin-left:8px}#content-wrapper #album-top-bar .album-buttons a.freshbutton-lightblue#owner-menu-button,#content-wrapper #album-top-bar .album-buttons a.freshbutton-lightblue#non-owner-menu-button,#content-wrapper #album-top-bar .album-buttons a.freshbutton-blue#owner-menu-button,#content-wrapper #album-top-bar .album-buttons a.freshbutton-blue#non-owner-menu-button{padding:4px 6px}#content-wrapper #album-top-bar .album-buttons a.freshbutton-lightblue#owner-menu-button .sprite,#content-wrapper #album-top-bar .album-buttons a.freshbutton-lightblue#non-owner-menu-button .sprite,#content-wrapper #album-top-bar .album-buttons a.freshbutton-blue#owner-menu-button .sprite,#content-wrapper #album-top-bar .album-buttons a.freshbutton-blue#non-owner-menu-button .sprite{margin-right:0}#content-wrapper #album-top-bar .album-buttons #owner-menu,#content-wrapper #album-top-bar .album-buttons #non-owner-menu{margin-top:3px;width:auto}#shmodel-content-area h1{font-size:18px}#shmodel-content-area .filename-below{margin-top:15px;text-align:center;font-size:16px;font-weight:600;display:none}#shmodel-content-area #default-content{width:400px;padding-bottom:10px;text-align:center;margin:100px auto 0}#shmodel-content-area #default-content .filename{padding-top:15px;text-align:center;color:#000;font-size:16px}#shmodel-content-area #default-content #shmodel-owner{margin-top:5px}#shmodel-content-area #default-content .meta{margin:5px 0 25px 0}#shmodel-content-area #default-content a.freshbutton-blue,#shmodel-content-area #default-content a.freshbutton-lightblue{margin:10px}#shmodel-content-area #video-preview-flash-message{display:none}#shmodel-content-area .content-flag{width:28px;height:28px;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;position:fixed;bottom:7px;right:18px;border:1px solid transparent;background-position:center;background-repeat:no-repeat;background-image:url("/static/images/contentflag-vfl6np-Y7.png");text-indent:-900px;overflow:hidden}#shmodel-content-area .content-flag:hover{background-color:#F2FAFE;border-top:1px solid #88CEFB;border-right:1px solid #69B9EC;border-bottom:1px solid #45A1DB;border-left:1px solid #69B9EC;box-shadow:0 1px 1px rgba(0,0,0,0.3),inset 0px 1px 0px #FFF}body.file-preview-body #shmodel-content-area #default-content,.preview-box{display:none}body.file-preview-body #shmodel-content-area .preview-box{display:block}body.file-preview-body #shmodel-content-area .preview-box .video-loading{margin:auto;width:18px}.shmodel-body.photo-zoom #file-comments{display:none;width:0px}.shmodel-body.photo-zoom #outer-frame{top:0px;padding:10px}.shmodel-body.photo-zoom .nav-header,.shmodel-body.photo-zoom .content-flag{display:none}.shmodel-body.photo-zoom #shmodel-content-area{top:0px}.shmodel-body.photo-zoom #shmodel-content-area .filename-below,.shmodel-body.photo-zoom #shmodel-content-area #preview-img{display:none}.shmodel-body.photo-zoom #shmodel-content-area #full-img{display:block}#download-menu-button .sprite{margin-left:3px;margin-right:-8px}#download-menu-button .s_web_arrow-down-blue{margin-bottom:2px;margin-left:6px;margin-right:-4px}.nav-header{height:46px;position:fixed;top:0px;right:0px;left:0px;background-color:#FFF;z-index:10;border-bottom:1px solid #e5e5e5}.top-notification-bar .nav-header{top:51px}.nav-header .logo{position:absolute;left:10px;top:11px}.nav-header .logo img{width:27px;height:25px}.nav-header .logo img.big{display:none}.nav-header .filename{display:none;font-size:14px;color:#444;margin-left:50px;line-height:46px}.nav-header #shmodel-owner{margin-left:5px;font-size:13px}.nav-header .buttons{position:absolute;right:29px;top:8px}.nav-header .buttons #account-header{padding-top:0px}.nav-header .buttons a.freshbutton-lightblue,.nav-header .buttons a.freshbutton-blue{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;margin-left:8px}.nav-header .buttons .link-wrapper{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border:1px solid #bfbfbf;top:-2px;position:relative}.nav-header .buttons .link-wrapper .copy-icon{height:18px;padding:5px;border-right:1px solid #bfbfbf;vertical-align:middle}.nav-header .buttons .link-wrapper .copy-icon img{vertical-align:-3px;margin-left:3px}.nav-header .buttons .link-wrapper .short-link{border-width:0px;width:120px;text-align:right;padding:5px;height:18px;box-shadow:0 0 0 #000,inset 0px 3px 3px #eee}.nav-header #account-header{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;float:none;vertical-align:top;line-height:30px}.nav-header #account-header ul.nav{-webkit-padding-start:0px;padding-left:0px}.nav-header #account-header ul.nav #notification-feed-nav-link .header-nav-link span.freshbubble#new-notification-count{top:0}.nav-header #account-header ul.nav a.header-nav-link{margin:0}.nav-header #account-header ul.nav #login-hover-link{padding:0px !important;margin:0 0 0 20px}.nav-header #account-header ul.nav #login-hover-cont{line-height:normal}.nav-header #account-header .sub-nav{right:10px;margin-top:20px;line-height:normal}.nav-header #account-header .sub-nav#notification-nav-link{margin-top:17px;right:0}.nav-header #owner-menu-button,.nav-header #non-owner-menu-button{padding:4px 6px}.nav-header #owner-menu-button .sprite,.nav-header #non-owner-menu-button .sprite{margin-right:0}.nav-header #owner-menu,.nav-header #download-menu{width:auto}body.empty-folder #top-bar,body.empty-folder #album-top-bar{display:none}body.empty-folder #content-wrapper{text-align:center}body.empty-folder #content-wrapper img{margin:80px 0 20px}body.empty-folder #content-wrapper h3{color:#777;font-size:24px;font-weight:normal}body.empty-folder .buttons a.a2md-button{display:none !important}.shmodel-body.shmodel-album{background:#fff}.shmodel-body.shmodel-album.anonymous-album #content-wrapper #album-top-bar .album-info .album-name{padding-bottom:0px;margin-top:2px}.shmodel-body.shmodel-album.anonymous-album #content-wrapper #album-top-bar .album-info .album-desc{display:none}.shmodel-body.shmodel-album.anonymous-album #content-wrapper #album-top-bar .album-buttons{margin-top:0px}.shmodel-body.shmodel-album #outer-frame{padding-top:0}.shmodel-body.shmodel-album #gallery-list-toggle{display:none}.shmodel-body.shmodel-album .nav-header{position:static;box-shadow:0 0 0 #000,inset 0 0 0 #000}.shmodel-body.shmodel-album .nav-header .buttons a.freshbutton-lightblue,.shmodel-body.shmodel-album .nav-header .buttons a.freshbutton-blue{display:none !important}.shmodel-body.shmodel-album .nav-header:before{display:none}.shmodel-body.shmodel-album #content-wrapper{width:100%;padding:0;margin:auto}.shmodel-body.shmodel-album .gallery-view-section{border:none;padding:0;margin:0}.shmodel-body.shmodel-album #gallery-view-media{padding:0}.shmodel-body.shmodel-album #gallery-view-media li{background-color:#fff;width:256px;height:256px;line-height:256px;border:none;-moz-box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1)}.shmodel-body.shmodel-album #gallery-view-media li img.thumbnail{width:256px;height:256px}.nav-header:before{content:"";display:block;position:absolute;bottom:-1px;left:0px;width:100%;zpadding-bottom:12px;height:1px;z-index:10}#shmodel-owner{color:#7b8994}.shmodel-body #page-content .folder_preview{margin:20px auto;width:800px;padding:5px 30px;background-color:#FFF}.shmodel-body #page-content #file-comments{position:fixed;right:0;top:47px;bottom:0}.shmodel-body #page-content .gremo{margin-top:9px;margin-bottom:20px;padding:10px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.shmodel-body #page-content .gallery-wrapper{position:relative}.shmodel-body #page-content #gallery-view{margin:2em 0 0}.shmodel-body #page-content .sh_header{padding:0 6px}.shmodel-body #page-content .sh_header *{float:left}.shmodel-body #page-content .sh_header .filename{width:53%}.shmodel-body #page-content .sh_header .filesize{width:23%}.shmodel-body #page-content ol.browse-files{-webkit-padding-start:0px;padding-left:0;margin-left:0}.shmodel-body #page-content #lightbox_delete_link{display:none}@media only screen and (-webkit-min-device-pixel-ratio: 1.1){.nav-header .logo img.small{display:none}.nav-header .logo img.big{display:inline}}.shmodel-body.mobile #modal-behind{width:460px !important}.shmodel-body.mobile #modal{width:440px !important;margin-left:-220px !important}.shmodel-body.mobile #page-content .nav-header .filename,.shmodel-body.mobile #page-content .nav-header #account-header{display:none}.shmodel-body.mobile #page-content #content-wrapper{width:400px}.shmodel-body.mobile #page-content #content-wrapper #list-view-container .browse-file:first-child,.shmodel-body.mobile #page-content #content-wrapper #gallery-view-container .browse-file:first-child{border-width:0 0 0 0}.shmodel-body.mobile #page-content #content-wrapper #list-view-container #list-view-header,.shmodel-body.mobile #page-content #content-wrapper #list-view-container .filesize-col,.shmodel-body.mobile #page-content #content-wrapper #list-view-container .modified-col,.shmodel-body.mobile #page-content #content-wrapper #gallery-view-container #list-view-header,.shmodel-body.mobile #page-content #content-wrapper #gallery-view-container .filesize-col,.shmodel-body.mobile #page-content #content-wrapper #gallery-view-container .modified-col{display:none}.shmodel-body.mobile #page-content #content-wrapper #list-view-container .filename-col,.shmodel-body.mobile #page-content #content-wrapper #gallery-view-container .filename-col{width:100%}.shmodel-body.mobile #page-content #file-preview-modal .menu,.shmodel-body.mobile #page-content #file-preview-modal .header{opacity:1 !important;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;filter:alpha(opacity=100) !important}.shmodel-body.mobile #page-content #file-preview-modal .menu .actions,.shmodel-body.mobile #page-content #file-preview-modal .menu .filename{display:none}.shmodel-body.mobile.file-preview-body .filename-below{display:block}@media only screen and (max-width: 700px){.nav-header .filename,.nav-header #account-header{display:none}}#shmodel-promo-modal{text-align:center}#shmodel-promo-modal #shmodel-promo-header{margin:0;font-size:26px;font-weight:bold}#shmodel-promo-modal #shmodel-promo-subheader{color:#888;font-size:18px;font-weight:normal}#shmodel-promo-modal #shmodel-promo-table{margin:auto}#shmodel-promo-modal #shmodel-promo-table td{padding:0 8px}#shmodel-promo-modal #shmodel-promo-table td .shmodel-promo-desc{margin:-15px auto 0 auto;width:200px}#modal #shmodal-title,.db-modal #shmodal-title{padding-right:39px;text-align:right}#modal #shmodal-title #shmodal-title-text,.db-modal #shmodal-title #shmodal-title-text{text-align:left;float:left}#modal #shmodal-title .freshtoggle,.db-modal #shmodal-title .freshtoggle{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;float:none}#modal #shmodal-title .freshtoggle img,#modal #shmodal-title .freshtoggle .sprite,.db-modal #shmodal-title .freshtoggle img,.db-modal #shmodal-title .freshtoggle .sprite{display:block}#modal .bottom-row,.db-modal .bottom-row{width:576px}#modal .shmodal-image,.db-modal .shmodal-image{display:block;width:98px;height:98px;line-height:98px;margin:1px 16px 0 1px;text-align:center;font-size:0}#modal .shmodal-image.thumbnail,.db-modal .shmodal-image.thumbnail{background-color:#f6f6f6;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;box-shadow:0 0 1px #000,inset 0 0 0 #000}#modal .shmodal-image img,.db-modal .shmodal-image img{max-width:98px;max-height:98px;vertical-align:middle;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}#modal #shmodal-send-content #shmodal-send-form table,.db-modal #shmodal-send-content #shmodal-send-form table{border-spacing:0px}#modal #shmodal-send-content #shmodal-send-form table td,.db-modal #shmodal-send-content #shmodal-send-form table td{padding:0;vertical-align:top}#modal #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs,.db-modal #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs{width:459px}#modal #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs .tokenizer,.db-modal #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs .tokenizer{border:1px solid #e5e5e5;border-bottom-right-radius:0;border-bottom-left-radius:0}#modal #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs .custom-message-container,.db-modal #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs .custom-message-container{z-index:0}#modal #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs .custom-message-container textarea,.db-modal #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs .custom-message-container textarea{height:58px;padding:5px 7px 3px 7px;border-top:none;border-right:1px solid #e5e5e5;border-left:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;border-top-right-radius:0;border-top-left-radius:0;box-shadow:0 0 0 #000,inset 0 0 0 #000}#modal #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs .custom-message-container label,.db-modal #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs .custom-message-container label{top:3px;color:#ccc}#modal #shmodal-send-content #shmodal-copy-link,.db-modal #shmodal-send-content #shmodal-copy-link{margin-left:7px}#modal #shmodal-fb-content .fb-post-sickinput input,.db-modal #shmodal-fb-content .fb-post-sickinput input{padding:4px 5px 5px 7px;width:560px;border-bottom-right-radius:0;border-bottom-left-radius:0}#modal #shmodal-fb-content .fb-post-sickinput label,.db-modal #shmodal-fb-content .fb-post-sickinput label{top:5px}#modal #shmodal-fb-content #shmodal-fb-post-preview,.db-modal #shmodal-fb-content #shmodal-fb-post-preview{background:#fff;width:566px;padding:3px;border:1px solid #e5e5e5;border-top:none;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border-top-right-radius:0;border-top-left-radius:0}#modal #shmodal-fb-content #shmodal-fb-post-preview .link-image,.db-modal #shmodal-fb-content #shmodal-fb-post-preview .link-image{height:54px;vertical-align:top}#modal #shmodal-fb-content #shmodal-fb-post-preview .link-image img,.db-modal #shmodal-fb-content #shmodal-fb-post-preview .link-image img{max-width:54px;max-height:54px;vertical-align:middle}#modal #shmodal-fb-content #shmodal-fb-post-preview .link-info,.db-modal #shmodal-fb-content #shmodal-fb-post-preview .link-info{padding-left:5px;color:#000;line-height:1.5em}#modal #shmodal-fb-content #shmodal-fb-post-preview .link-info .link-name,.db-modal #shmodal-fb-content #shmodal-fb-post-preview .link-info .link-name{font-weight:600;font-size:14px}#modal #shmodal-fb-content #shmodal-fb-post-preview .link-info .link-domain,.db-modal #shmodal-fb-content #shmodal-fb-post-preview .link-info .link-domain{font-size:12px}#modal #shmodal-twitter-content table,.db-modal #shmodal-twitter-content table{border-spacing:0px}#modal #shmodal-twitter-content table td,.db-modal #shmodal-twitter-content table td{padding:0;vertical-align:top}#modal #shmodal-twitter-content #shmodal-twitter-post-preview #shmodal-twitter-profile,.db-modal #shmodal-twitter-content #shmodal-twitter-post-preview #shmodal-twitter-profile{margin-top:-4px;margin-bottom:9px}#modal #shmodal-twitter-content #shmodal-twitter-post-preview .twitter-post-sickinput,.db-modal #shmodal-twitter-content #shmodal-twitter-post-preview .twitter-post-sickinput{height:100px}#modal #shmodal-twitter-content #shmodal-twitter-post-preview .twitter-post-sickinput textarea,.db-modal #shmodal-twitter-content #shmodal-twitter-post-preview .twitter-post-sickinput textarea{width:445px;height:86px;padding:6px}#modal #shmodal-twitter-content #shmodal-twitter-post-preview .twitter-post-sickinput label,.db-modal #shmodal-twitter-content #shmodal-twitter-post-preview .twitter-post-sickinput label{top:5px}#modal #shmodal-twitter-content #shmodal-twitter-post-preview .twitter-post-sickinput.shrank,.db-modal #shmodal-twitter-content #shmodal-twitter-post-preview .twitter-post-sickinput.shrank{padding-top:2px;height:53px}#modal #shmodal-twitter-content #shmodal-twitter-post-preview .twitter-post-sickinput.shrank textarea,.db-modal #shmodal-twitter-content #shmodal-twitter-post-preview .twitter-post-sickinput.shrank textarea{height:43px}#modal #shmodal-twitter-content #twitter-chars,.db-modal #shmodal-twitter-content #twitter-chars{padding-right:11px}body.photos-page #shmodal.saving-as-album .save-as-album{margin-top:16px}body.photos-page #shmodal.saving-as-album .save-as-album .save-as-album-checkbox{margin-right:12px}body.photos-page #shmodal.saving-as-album .save-as-album .save-as-album-label{display:none}body.photos-page #shmodal.saving-as-album .save-as-album .album-name-sickinput{display:inline}body.photos-page #shmodal.saving-as-album #shmodal-fb-content .save-as-album{height:31px}body.photos-page #shmodal.sharing-collection .save-as-album{display:none}body.photos-page #shmodal.sharing-collection #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs{margin-top:1px}body.photos-page #shmodal.sharing-collection #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs .custom-message-container textarea{height:112px}body.photos-page #shmodal.sharing-collection #shmodal-fb-content #shmodal-fb-post-input{margin-top:1px}body.photos-page #shmodal.sharing-collection #shmodal-fb-content #shmodal-fb-post-preview .link-image{height:108px}body.photos-page #shmodal.sharing-collection #shmodal-fb-content #shmodal-fb-post-preview .link-image img{max-width:108px;max-height:108px}body.photos-page #shmodal.sharing-collection #shmodal-twitter-content #shmodal-twitter-post-preview .twitter-post-sickinput{height:155px}body.photos-page #shmodal.sharing-collection #shmodal-twitter-content #shmodal-twitter-post-preview #shmodal-twitter-post-input{margin-top:1px;height:140px}body.photos-page #shmodal .shmodal-image{position:relative;width:154px;height:154px}body.photos-page #shmodal .shmodal-image img{max-width:154px;-moz-border-radius:0px;-webkit-border-radius:0px;border-radius:0px}body.photos-page #shmodal .shmodal-image img.link_image{background:#f6f6f6;max-height:154px}body.photos-page #shmodal .shmodal-image .inset-border{position:absolute;top:0px;left:0px;width:154px;height:154px;-moz-box-shadow:inset 0 0 0 1px rgba(0,0,0,0.25);-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,0.25);box-shadow:inset 0 0 0 1px rgba(0,0,0,0.25)}body.photos-page #shmodal .shmodal-image .share-file-count{position:absolute;bottom:0px;left:0px;width:154px;line-height:1.6em;text-align:right;font-size:16px;font-weight:600;color:#fff;background:rgba(0,0,0,0.6);background:-webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0,0,0,0.6)));background:-moz-linear-gradient(top, transparent, rgba(0,0,0,0.6));text-shadow:#000 0 1px 2px}body.photos-page #shmodal .shmodal-image .share-file-count span{padding-right:7px;padding-bottom:4px;display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline}body.photos-page #shmodal .collection-thumb-stack{position:absolute;top:154px;left:0px}body.photos-page #shmodal .save-as-album{margin-top:18px;margin-left:-4px}body.photos-page #shmodal .save-as-album .save-as-album-checkbox,body.photos-page #shmodal .save-as-album .save-as-album-label{vertical-align:middle;margin-right:9px;cursor:pointer}body.photos-page #shmodal .save-as-album .album-name-sickinput{display:none;vertical-align:middle}body.photos-page #shmodal .save-as-album .album-name-sickinput .album-name-input{padding-top:3px;padding-left:8px;width:363px;height:22px}body.photos-page #shmodal .album-name-subtitle{font-size:18px;font-weight:600;margin:4px 0 32px 0}body.photos-page #shmodal #shmodal-send-content{min-height:215px}body.photos-page #shmodal #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs{width:403px;margin-top:1px}body.photos-page #shmodal #shmodal-send-content #shmodal-send-form #shmodal-send-form-inputs .custom-message-container textarea{height:66px}body.photos-page #shmodal #shmodal-send-content .tokenizer-submit-button{margin-right:10px}body.photos-page #shmodal #shmodal-send-content #foshmodal-copy-link{margin-left:10px}body.photos-page #shmodal #shmodal-fb-content{min-height:215px}body.photos-page #shmodal #shmodal-fb-content .save-as-album{height:29px}body.photos-page #shmodal #shmodal-fb-content .save-as-album .album-name-input{width:534px}body.photos-page #shmodal #shmodal-fb-content #shmodal-fb-post-preview .link-image{height:62px}body.photos-page #shmodal #shmodal-fb-content #shmodal-fb-post-preview .link-image img{max-width:62px;max-height:62px}body.photos-page #shmodal #shmodal-twitter-content{min-height:215px}body.photos-page #shmodal #shmodal-twitter-content #shmodal-twitter-post-preview{margin-top:1px}body.photos-page #shmodal #shmodal-twitter-content #shmodal-twitter-post-preview .twitter-post-sickinput{height:108px}body.photos-page #shmodal #shmodal-twitter-content #shmodal-twitter-post-preview #shmodal-twitter-post-input{padding-left:8px;width:387px;height:94px}body.photos-page #get-link-modal .link-input{width:561px;color:#000}body.photos-page #get-link-modal .modal-buttons .view-button{margin-left:8px}body.photos-page.ie #shmodal .save-as-album .album-name-sickinput .album-name-input{width:359px}body.photos-page.ie #shmodal #shmodal-fb-content .save-as-album .album-name-input{width:530px}#shmodel-features{text-align:center}#shmodel-features h1{margin:0;color:#000;font-size:40px}#shmodel-features h2{padding:0;color:#888;font-size:17px;font-weight:normal}#shmodel-features #try-now{margin-top:36px;margin-bottom:-48px}#shmodel-features .amazingbox{width:835px;margin-top:60px}#shmodel-features #shmodel-feature-set{width:100%;margin-top:36px;text-align:center}#shmodel-features #shmodel-feature-set td{padding-left:23px}#shmodel-features #shmodel-feature-set .feature-image{float:left;margin:5px 9px 46px}#shmodel-features #shmodel-feature-set .feature-image.folderlink{padding-right:6px}#shmodel-features #shmodel-feature-set .feature-image.lightning{margin-right:2px}#shmodel-features #shmodel-feature-set .desc{text-align:left;line-height:1.6em;width:270px}#shmodel-features #shmodel-feature-set .desc h3{color:#000;font-size:16px;font-weight:normal}#shmodel-features #how-to{width:960px;margin-top:48px;margin-left:-1000px;padding-left:1000px;padding-right:1000px;text-align:left;line-height:1.6em}#shmodel-features #how-to h3{color:#000;font-size:22px;font-weight:normal}#shmodel-features #how-to #how-to-screenshots{width:100%;margin-top:24px}#shmodel-features #how-to #how-to-screenshots .shmodel-screenshot{width:274px;text-align:right}#shmodel-features #how-to #how-to-screenshots .shmodel-screenshot .caption{margin-top:-7px;font-size:11px;color:#8fa7ba}#shmodel-features #how-to #how-to-screenshots .shmodel-screenshot.left{float:left}#shmodel-features #how-to #how-to-screenshots .shmodel-screenshot.middle{margin:auto}#shmodel-features #how-to #how-to-screenshots .shmodel-screenshot.right{float:right}#shmodel-features #online-viewing{margin-top:50px}#shmodel-features #online-viewing #online-viewing-image{float:left}#shmodel-features #online-viewing #online-viewing-desc{text-align:left;line-height:1.8em;padding-top:40px;margin-left:715px}#shmodel-features #online-viewing #online-viewing-desc h3{color:#000;font-size:20px;font-weight:normal;margin-bottom:16px}div#folder-title{margin-top:32px}div#folder-title h3{font-size:18px;font-weight:normal;display:inline;margin-right:10px}#gallery-list-toggle{position:absolute;top:0;right:0}#gallery-list-toggle a{display:inline-block;zoom:1;padding:7px 9px;border:1px solid #79BCEA;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;background-color:#f3fafe;box-shadow:0px 1px 1px #ccc,inset -1px 1px 1px #fff;text-decoration:none}#gallery-list-toggle a div{width:14px;height:14px;float:left}#gallery-list-toggle a#gallery-toggle{-webkit-border-top-right-radius:0;-ms-border-top-right-radius:0;-o-border-top-right-radius:0;border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;border-bottom-right-radius:0}#gallery-list-toggle a#list-toggle{border-left:none;-webkit-border-top-left-radius:0;-ms-border-top-left-radius:0;-o-border-top-left-radius:0;border-top-left-radius:0;-webkit-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;border-bottom-left-radius:0}#gallery-list-toggle a.selected{background-color:#d9e7f0;box-shadow:inset 1px 1px 3px #c4d0d9}.gallery-view-section{background-color:#fff;border:1px solid #ccdbeb;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;padding-top:16px;padding-left:16px;margin-left:0px}#gallery-view-folders li{display:block;width:290px;float:left;line-height:32px;margin-bottom:16px;margin-right:16px;white-space:nowrap;overflow:hidden}#gallery-view-folders li img{vertical-align:bottom;margin-right:8px}#gallery-view-folders.one-folder-columns li{width:910px}#gallery-view-folders.two-folder-columns li{width:445px}#gallery-view-folders.three-folder-columns li{width:290px}#gallery-view-media{padding-bottom:12px}#gallery-view-media li{display:block;float:left;border:1px solid #e2edf5;background-color:#f6f6f6;margin-right:4px;margin-bottom:4px;width:178px;height:178px;line-height:178px;text-align:center;font-size:0}#gallery-view-media li.wiggobble{-webkit-animation:wiggobble 0.58s;-moz-animation:wiggobble 0.58s;animation:wiggobble 0.58s}#gallery-view-media a img{vertical-align:middle}#gallery-view-media img.video-overlay{position:absolute;bottom:5px;left:5px}#gallery-view-files{margin-top:24px}ol.browse-files{padding:0 0 9px}.gallery-list-view{margin:0}.gallery-list-view .browse-file{text-align:left;padding:7px 0;margin:0 0px;line-height:32px;color:#555;border-width:1px 0 0 0}.gallery-list-view .browse-file:first-child{border-width:0 0 0 0;padding-top:0}.gallery-list-view .browse-file div{display:block;cursor:default}.gallery-list-view .browse-file img.icon{float:left;width:32px;height:32px;margin-right:11px;display:block;overflow:hidden;background-color:transparent;vertical-align:bottom;border:1px solid transparent;cursor:pointer}.gallery-list-view .browse-file img.thumbnail{border-color:#B1B1B1;box-shadow:0 1px 1px rgba(0,0,0,0.2),inset 0 0 0 #000}#list-view-container{margin:13px 0;padding-right:16px}#list-view-container .browse-files .browse-file{border-width:1px 0 0 0}#list-view-container .browse-file:first-child{padding-top:7px}#list-view-container #list-view-header{color:#777;margin:4px 0 10px}.list-view-cols div{float:left;display:block}.list-view-cols .filename-col{width:558px}.list-view-cols .filesize-col{width:186px}.list-view-cols .modified-col{float:left}body.nonmedia-folder #gallery-view-media{display:none}body.nonmedia-folder #gallery-view-files{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}body.nonmedia-folder.file-preview-body .nav-header .filename,body.nonmedia-folder.file-preview-body #shmodel-content-area .filename-below,body.nonempty-folder.file-preview-body .nav-header .filename,body.nonempty-folder.file-preview-body #shmodel-content-area .filename-below{display:none}#c2d-modal #create-account-content p,#c2d-modal #login-account-content p,#c2d-modal-personal #create-account-content p,#c2d-modal-personal #login-account-content p,#c2d-modal-work #create-account-content p,#c2d-modal-work #login-account-content p{margin:0 15px}#c2d-modal #login-table,#c2d-modal-personal #login-table,#c2d-modal-work #login-table{margin:0 auto}#c2d-modal #login-table td,#c2d-modal-personal #login-table td,#c2d-modal-work #login-table td{width:210px}#c2d-modal #c2d-twofactor-login #sms-msg,#c2d-modal-personal #c2d-twofactor-login #sms-msg,#c2d-modal-work #c2d-twofactor-login #sms-msg{display:none}#c2d-modal #c2d-twofactor-login #offline-msg,#c2d-modal-personal #c2d-twofactor-login #offline-msg,#c2d-modal-work #c2d-twofactor-login #offline-msg{display:block}#c2d-modal #c2d-twofactor-login #c2d-resend-link,#c2d-modal-personal #c2d-twofactor-login #c2d-resend-link,#c2d-modal-work #c2d-twofactor-login #c2d-resend-link{display:none}#c2d-modal #c2d-twofactor-login.sms #sms-msg,#c2d-modal-personal #c2d-twofactor-login.sms #sms-msg,#c2d-modal-work #c2d-twofactor-login.sms #sms-msg{display:block}#c2d-modal #c2d-twofactor-login.sms #offline-msg,#c2d-modal-personal #c2d-twofactor-login.sms #offline-msg,#c2d-modal-work #c2d-twofactor-login.sms #offline-msg{display:none}#c2d-modal #c2d-twofactor-login.sms #c2d-resend-link,#c2d-modal-personal #c2d-twofactor-login.sms #c2d-resend-link,#c2d-modal-work #c2d-twofactor-login.sms #c2d-resend-link{display:inline}#c2d-modal #c2d-twofactor-login p.c2d-header,#c2d-modal-personal #c2d-twofactor-login p.c2d-header,#c2d-modal-work #c2d-twofactor-login p.c2d-header{margin:5px 15px;font-size:14px;font-weight:600}#c2d-modal #c2d-twofactor-login .last-four-digits,#c2d-modal-personal #c2d-twofactor-login .last-four-digits,#c2d-modal-work #c2d-twofactor-login .last-four-digits{font-weight:600}#c2d-modal #c2d-twofactor-login #c2d-twofactor-login-form,#c2d-modal-personal #c2d-twofactor-login #c2d-twofactor-login-form,#c2d-modal-work #c2d-twofactor-login #c2d-twofactor-login-form{width:330px;margin:auto}#c2d-modal #c2d-twofactor-login #c2d-twofactor-login-form .sick-input,#c2d-modal-personal #c2d-twofactor-login #c2d-twofactor-login-form .sick-input,#c2d-modal-work #c2d-twofactor-login #c2d-twofactor-login-form .sick-input{display:inline-block}#c2d-modal #c2d-twofactor-login #c2d-twofactor-login-form .sick-input input,#c2d-modal-personal #c2d-twofactor-login #c2d-twofactor-login-form .sick-input input,#c2d-modal-work #c2d-twofactor-login #c2d-twofactor-login-form .sick-input input{width:200px}#c2d-modal #c2d-twofactor-login #c2d-twofactor-login-form .resend-code,#c2d-modal-personal #c2d-twofactor-login #c2d-twofactor-login-form .resend-code,#c2d-modal-work #c2d-twofactor-login #c2d-twofactor-login-form .resend-code{margin:10px 0 0 0}#c2d-modal #c2d-twofactor-login #c2d-twofactor-login-form .resend-code #c2d-resend-link.resending,#c2d-modal-personal #c2d-twofactor-login #c2d-twofactor-login-form .resend-code #c2d-resend-link.resending,#c2d-modal-work #c2d-twofactor-login #c2d-twofactor-login-form .resend-code #c2d-resend-link.resending{color:#999}#c2d-modal #c2d-twofactor-login #c2d-twofactor-login-form .resend-code #c2d-resend-link.resending:hover,#c2d-modal-personal #c2d-twofactor-login #c2d-twofactor-login-form .resend-code #c2d-resend-link.resending:hover,#c2d-modal-work #c2d-twofactor-login #c2d-twofactor-login-form .resend-code #c2d-resend-link.resending:hover{text-decoration:none}#c2d-modal .login-register-container{margin:auto;width:400px}.shmodel-async-login-modal .db-login-container{margin-left:108px}.tutorial-bubble-x-link{float:right;padding:0px 0px 5px 5px}#shmodel-folder-tutorial-intro-bubble{position:fixed;margin-left:50%;left:-187.5px;top:90px}#shmodel-folder-tutorial-file-list-bubble{position:fixed;z-index:100}#shmodel-folder-tutorial-view-mode-bubble{position:absolute}#shmodel-folder-tutorial-download-bubble{position:absolute}#shmodel-folder-tutorial-share-bubble{position:absolute}#shmodel-folder-tutorial-signup-bubble{position:absolute}#htmlified{width:100%;border:0;overflow:hidden}.get-link-icon{margin-top:-1px;margin-right:10px}#get-link-input{width:510px}body.framed .nav-header .filename{display:block}.non-owner-remove-link-text{white-space:nowrap}#non-owner-menu .remove-link .sprite-div .sprite-frame{vertical-align:top;padding-top:2px}.db-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:999;background-color:#3d464d;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}html.boxshadow .db-modal{box-shadow:0 1px 2px rgba(0,0,0,0.1),inset 0 0 0 #000}.db-modal .sick-input input,.db-modal .sick-input textarea,#modal .sick-input input,#modal .sick-input textarea{border-color:#e5e5e5;background:#fff}.db-modal-wrapper.ajax-loading .ajax-loading-indicator{display:inline}.db-modal-wrapper.ajax-loading .confirm-button,.db-modal-wrapper.ajax-loading .share-invite-button{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.db-modal{z-index:1000;position:absolute;width:640px;left:50%;margin:0 0 0 50px;margin-left:-250px;border:0;background-color:#fff;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px}.db-modal .db-modal-box{background-color:#fff;height:100%;border:1px solid #7A858D;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;margin:0}.db-modal .db-modal-box .db-modal-title{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;font-size:18px;font-weight:normal;padding:20px 32px;line-height:normal;background:none;margin:0;min-height:24px}.db-modal .db-modal-box .db-modal-title .db-modal-h-img{display:none;padding-right:6px;vertical-align:middle}.db-modal .db-modal-box .db-modal-title .db-modal-title-text{display:inline}.db-modal .db-modal-box .db-modal-content{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;border-top:1px solid #e5e5e5;background:#f6f9fc;padding:32px;line-height:1.8em;font-size:13px;-webkit-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;border-bottom-left-radius:5px;-webkit-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;border-bottom-right-radius:5px}.db-modal .db-modal-box .db-modal-content .dynamic-content{margin:0px;padding:0px}.db-modal .db-modal-box .db-modal-content .dynamic-content .loading-spinner{text-align:center;margin:3em 0}.db-modal .db-modal-box .db-modal-content .db-modal-prompt-text{margin-bottom:20px}.db-modal .db-modal-box .db-modal-buttons{margin-top:20px;text-align:right}.db-modal .db-modal-box .db-modal-buttons .dbmodal-loading{margin-left:12px;vertical-align:middle}.db-modal .db-modal-box .db-modal-buttons .dbmodal-button{margin-left:12px}.db-modal .confirm-button,.db-modal .cancel-button{margin-left:12px}.db-modal--clean-style .db-modal{position:fixed;left:50%;margin-left:-320px}.db-modal--clean-style .db-modal .db-modal-box .db-modal-title{display:none}.db-modal--clean-style .db-modal .db-modal-box .db-modal-content{box-sizing:border-box;width:100%;background:#fff;border-top:1px solid transparent;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;text-align:center;padding:40px 40px 0}.db-modal--clean-style .db-modal .db-modal-box .db-modal-buttons{text-align:center;margin:20px 0 0 0;padding:0 0 40px}.db-modal--clean-style .db-modal .db-modal-box .db-modal-buttons .button-primary{display:inline-block;min-width:210px;line-height:36px}.db-modal--clean-style .db-modal .db-modal-box .db-modal-buttons .button-primary,.db-modal--clean-style .db-modal .db-modal-box .db-modal-buttons .button-secondary,.db-modal--clean-style .db-modal .db-modal-box .db-modal-buttons .button-tertiary{margin-top:0px}.db-modal--clean-style .db-modal__header{font-size:24px;margin:10px 0 4px}.db-modal--clean-style .db-modal__body{width:400px;margin:0 auto;font-size:14px;color:#7b8994}.db-modal--clean-style .db-modal__alt-action{display:block;width:auto;text-align:center;padding:0 20px 20px}.db-modal--normal-size-buttons .db-modal .db-modal-box{padding:40px}.db-modal--normal-size-buttons .db-modal .db-modal-box .db-modal-buttons{margin-top:40px;padding:0}.db-modal--normal-size-buttons .db-modal .db-modal-box .db-modal-buttons .button-primary,.db-modal--normal-size-buttons .db-modal .db-modal-box .db-modal-buttons .button-secondary,.db-modal--normal-size-buttons .db-modal .db-modal-box .db-modal-buttons .button-tertiary{min-width:0;margin:0 auto;line-height:normal}.db-modal--normal-size-buttons .db-modal .db-modal-box .db-modal__alt-action{margin-top:10px;padding:0}.carousel-app .db-modal{width:460px}.carousel-app .db-modal .db-modal-content{padding:0;background:#fff}.carousel-app .db-modal .db-modal-content .simple-modal-content{padding:20px 24px}.carousel-app .db-modal .db-modal-title{padding:20px 25px 16px}.carousel-app .db-modal .db-modal-box .db-modal-x{margin-top:26px;margin-right:23px}.carousel-app .db-modal .db-modal-buttons{padding:20px 24px;margin-top:0}.carousel-app .db-modal .db-modal-buttons .dbmodal-button{margin:0 0 0 12px}.carousel-app .db-modal--clean-style .db-modal .db-modal-buttons .dbmodal-button{margin:0}#modal{z-index:1000;width:500px;position:absolute;left:50%;margin:0 0 0 50px;margin-left:-250px;border:0;background-color:#fff;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px}#modal-box{background-color:#fff;height:100%;border:1px solid #7A858D;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#modal-box h2{font-size:18px;font-weight:normal;padding:20px 32px;background:none;margin:0}#modal-box h2 span.step-number{color:#888;font-weight:normal}#modal-box h2#modal-title{word-wrap:break-word}#modal-box h2#modal-title .sprite{display:none}#modal-box .ajax-loading .ajax-loading-indicator{display:inline;margin:4px}#modal-x,.db-modal .db-modal-box .db-modal-x{cursor:pointer;width:11px;height:11px;background-image:url("/static/images/x-vflYKfRuL.png");background-repeat:no-repeat;margin-top:30px;margin-right:30px;margin-left:30px;float:right;z-index:1005}div#modal-content{-webkit-border-bottom-left-radius:5px;-ms-border-bottom-left-radius:5px;-o-border-bottom-left-radius:5px;border-bottom-left-radius:5px;-webkit-border-bottom-right-radius:5px;-ms-border-bottom-right-radius:5px;-o-border-bottom-right-radius:5px;border-bottom-right-radius:5px;background:#f6f9fc;border-top:1px solid #e5e5e5;padding:32px;line-height:1.8em;font-size:13px;word-wrap:break-word;-webkit-nbsp-mode:space;-webkit-line-break:after-white-space}div#modal-content h5,div#modal-content p{line-height:1.8em;font-size:13px}div#modal-content h5{font-weight:600}.brodal-table{text-align:center;font-size:14pt}.brodal-table td{padding:10pt;text-align:center;line-height:1.8em}.brodal-header{text-align:center;font-size:22pt;color:#2281cf}div#modal-content .wide{margin-left:-10px;margin-right:-10px}div.modal-buttons{text-align:right;margin-top:20px}div.modal-buttons .freshbutton,div.modal-buttons .freshbutton-blue{margin-left:10px}html.boxshadow #modal{box-shadow:0 1px 2px rgba(0,0,0,0.1),inset 0 0 0 #000}#modal-behind{z-index:999;width:520px;position:absolute;left:50%;margin:0 0 0 0px;margin-left:-260px;border:0;background-color:#000}html.boxshadow #modal-behind{background-color:transparent}#modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;z-index:999;background-color:#3d464d;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=60);opacity:0.6}#modal-content ol{margin:0;padding:0}#modal-content ol li{margin:0 0 1.5em 20px;padding:0}.modal-tabs{background:#f4faff;border-top:1px solid #a8ceed;border-bottom:1px solid #a8ceed;list-style:none;padding:5px 8px;margin:5px 0px 1.5em 0px}.modal-tabs li{float:left;margin:0 10px 0 0}.modal-tabs li a{display:block;padding:3px 5px 4px 5px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;border:1px solid transparent}.modal-tabs li a:hover{text-decoration:none;background-color:#dfedff;border-color:#dfedff;color:#2895F1}.modal-tabs li a.selected{background:#358cd4;color:#fff;border-color:#358cd4;text-decoration:none}.modal-multi-select{overflow:auto;border:1px solid #78b0de;height:200px;position:relative}#modal-progress-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#fff;text-align:center;color:#616161;z-index:95}#modal-progress-content{position:fixed;left:50%;top:275px;margin:-42px 0 0 -102px;background:#fff;z-index:96;text-align:center;border:1px solid #7ad;padding:18px 25px 14px 25px}#modal-progress-text{margin-top:5px}.modal-h-img{padding-right:6px;margin-bottom:-8px}#contact-importer,#contact-importer-various{text-align:center}#contact-importer #contact-import-buttons,#contact-importer-various #contact-import-buttons{padding:26px 0 26px 0px}#contact-importer #contact-import-buttons .show-contact-importer-various-link,#contact-importer-various #contact-import-buttons .show-contact-importer-various-link{margin-top:15px}#contact-importer .import-contacts-title,#contact-importer-various .import-contacts-title{padding-bottom:10px;text-align:center;font-size:20px}#contact-importer .import-contacts-button,#contact-importer-various .import-contacts-button{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;font-size:23px;margin:10px 5px 0px 5px;width:225px;height:65px;border-color:#DADADA;border-width:1px}#contact-importer .import-contacts-button:hover,#contact-importer .import-contacts-button.hovered,#contact-importer-various .import-contacts-button:hover,#contact-importer-various .import-contacts-button.hovered{box-shadow:0 0 0 transparent,inset 0 0 0 transparent}#contact-importer .import-facebook-friends,#contact-importer-various .import-facebook-friends{background:#3b5998;padding:9px 0px 0px 11px}#contact-importer .import-gmail-contacts,#contact-importer-various .import-gmail-contacts{padding:9px 0px 0px 13px}#contact-importer .import-yahoo-contacts,#contact-importer-various .import-yahoo-contacts{padding:9px 0px 0px 10px}#modal #upload-quota-warning-bar-padding{height:41px}#modal #upload-quota-warning-bar{height:37px;padding-top:14px;text-align:center;font-size:13px;position:absolute;left:1px;right:1px;bottom:1px;-webkit-border-bottom-left-radius:2px;-ms-border-bottom-left-radius:2px;-o-border-bottom-left-radius:2px;border-bottom-left-radius:2px;-webkit-border-bottom-right-radius:2px;-ms-border-bottom-right-radius:2px;-o-border-bottom-right-radius:2px;border-bottom-right-radius:2px}#modal #upload-quota-warning-bar.lightyellow{border-top:1px solid;background:#fffdec;border-color:#d8b877}#modal #upload-quota-warning-bar.lightred{background-color:#FBD6DC;border-top:1px solid #F2768B}#modal #upload-quota-warning-bar{z-index:1002}#modal #invitations-quota-warning-bar-padding{height:50px}#modal #invitations-quota-warning-bar{height:42px;padding-top:18px;text-align:center;font-size:14px;position:absolute;left:1px;right:1px;bottom:1px;-webkit-border-bottom-left-radius:2px;-ms-border-bottom-left-radius:2px;-o-border-bottom-left-radius:2px;border-bottom-left-radius:2px;-webkit-border-bottom-right-radius:2px;-ms-border-bottom-right-radius:2px;-o-border-bottom-right-radius:2px;border-bottom-right-radius:2px}#modal #invitations-quota-warning-bar.lightyellow{border-top:1px solid;background:#fffdec;border-color:#d8b877}#modal #invitations-quota-warning-bar.lightred{background-color:#FBD6DC;border-top:1px solid #F2768B}.upload-file .upload-progress-bar,#bulk-upload-status .upload-progress-bar,#inline-upload-status .upload-progress-bar{background-color:#e9f4ff}.upload-file.complete .upload-progress-bar,#bulk-upload-status.complete .upload-progress-bar,#inline-upload-status.complete .upload-progress-bar{background-color:#ebffd9}.upload-file.error .upload-progress-bar,#bulk-upload-status.error .upload-progress-bar,#inline-upload-status.error .upload-progress-bar{background-color:#fce3e3}.upload-file.cancelled .upload-progress-bar,#bulk-upload-status.cancelled .upload-progress-bar,#inline-upload-status.cancelled .upload-progress-bar{background-color:#f8f8f8}.upload-file .small-x-button,#bulk-upload-status .small-x-button,#inline-upload-status .small-x-button{width:11px;height:11px;background-image:url("/static/images/x-small-inactive-vflYKfRuL.png")}.upload-file .small-x-button:hover,#bulk-upload-status .small-x-button:hover,#inline-upload-status .small-x-button:hover{background-image:url("/static/images/x-small-active-vflYKfRuL.png")}.upload-file .small-x-button:active,#bulk-upload-status .small-x-button:active,#inline-upload-status .small-x-button:active{background-image:url("/static/images/x-small-pressed-vflYKfRuL.png")}#quick-send-upload-files-list,#upload-files-list{border:1px solid #b9b9b9}#quick-send-upload-files-list.scroll,#upload-files-list.scroll{height:228px;overflow-y:scroll}#quick-send-upload-files-list .upload-file,#upload-files-list .upload-file{list-style:none;position:relative;margin:0;height:35px;line-height:35px;border-top:1px solid #ddd;vertical-align:bottom}#quick-send-upload-files-list .upload-file:first-child,#upload-files-list .upload-file:first-child{border-top:none}#quick-send-upload-files-list .upload-file .upload-progress-bar,#upload-files-list .upload-file .upload-progress-bar{height:35px}#quick-send-upload-files-list .upload-file .upload-file-info,#upload-files-list .upload-file .upload-file-info{vertical-align:baseline;border-collapse:collapse;width:100%;height:35px;position:absolute;top:0;left:0}#quick-send-upload-files-list .upload-file .upload-file-info div,#upload-files-list .upload-file .upload-file-info div{display:block}#quick-send-upload-files-list .upload-file .upload-file-info .filename-col,#upload-files-list .upload-file .upload-file-info .filename-col{float:left;width:300px}#quick-send-upload-files-list .upload-file .upload-file-info .filename-col img,#upload-files-list .upload-file .upload-file-info .filename-col img{margin:10px 3px -3px 8px}#quick-send-upload-files-list .upload-file .upload-file-info .filename-col .size,#upload-files-list .upload-file .upload-file-info .filename-col .size{color:#888}#quick-send-upload-files-list .upload-file .upload-file-info .dest-col,#upload-files-list .upload-file .upload-file-info .dest-col{float:left;width:170px}#quick-send-upload-files-list .upload-file .upload-file-info .error-col,#upload-files-list .upload-file .upload-file-info .error-col{float:left;width:170px}#quick-send-upload-files-list .upload-file .upload-file-info .error-col .error-msg,#upload-files-list .upload-file .upload-file-info .error-col .error-msg{color:#992826}#quick-send-upload-files-list .upload-file .upload-file-info .error-col .error-details img,#upload-files-list .upload-file .upload-file-info .error-col .error-details img{margin-bottom:-3px}#quick-send-upload-files-list .upload-file .upload-file-info .time-col,#upload-files-list .upload-file .upload-file-info .time-col{float:right;margin-right:28px}#quick-send-upload-files-list .upload-file .upload-file-info .status-col,#upload-files-list .upload-file .upload-file-info .status-col{float:right}#quick-send-upload-files-list .upload-file .upload-file-info .status-col img,#upload-files-list .upload-file .upload-file-info .status-col img{margin:9px 8px 0 0}#quick-send-upload-files-list .upload-file .upload-file-info .status-col .small-x-button,#upload-files-list .upload-file .upload-file-info .status-col .small-x-button{position:absolute;top:12px;right:10px}#quick-send-upload-files-list .upload-file .upload-file-info .remove-link,#upload-files-list .upload-file .upload-file-info .remove-link{color:#c30;cursor:pointer;float:right;font-size:9px;padding-right:7px}#quick-send-upload-files-list .upload-file .upload-file-info .share-link,#upload-files-list .upload-file .upload-file-info .share-link{color:#007ee5;cursor:pointer;float:right;padding-right:7px}#bulk-upload-status{position:relative;height:35px;line-height:35px;margin-top:20px;border:1px solid #b9b9b9}#bulk-upload-status .upload-progress-bar{height:35px}#bulk-upload-status .bulk-upload-info{border-collapse:collapse;width:100%;height:35px;position:absolute;top:0;left:0}#bulk-upload-status .bulk-upload-info div{display:block}#bulk-upload-status .bulk-upload-info .files-info{float:left;margin-left:10px}#bulk-upload-status .bulk-upload-info .files-info .num-files{font-weight:bold}#bulk-upload-status .bulk-upload-info .files-info .size{color:#888}#bulk-upload-status .bulk-upload-info .files-info .num-errors{color:#992826}#bulk-upload-status .bulk-upload-info .time-left{float:right;font-weight:bold;margin-right:31px}#bulk-upload-status .bulk-upload-info .status{float:right}#bulk-upload-status .bulk-upload-info .status img{margin:10px 8px 0 0}#bulk-upload-status .bulk-upload-info .status .small-x-button{position:absolute;top:12px;right:10px}#bulk-upload-status.error{color:#992826}#inline-upload-status{position:fixed;bottom:17px;margin:0;width:800px;z-index:5;background:#fff;border:1px solid #e5e5e5;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#inline-upload-status .inline-upload-info{height:36px;line-height:36px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#inline-upload-status .inline-upload-info div{display:block}#inline-upload-status .inline-upload-info .icon{float:left}#inline-upload-status .inline-upload-info .icon img{margin:10px 8px 0 11px}#inline-upload-status .inline-upload-info .files-info{float:left}#inline-upload-status .inline-upload-info .files-info .files{font-weight:bold}#inline-upload-status .inline-upload-info .files-info .num-errors{color:#992826}#inline-upload-status .inline-upload-info .status{color:#aaa;float:right;margin-right:14px}#inline-upload-status .inline-upload-info .status .small-x-button{position:absolute;top:14px;right:14px}#inline-upload-status .inline-upload-bar{background-color:#e2f0fc;height:5px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#inline-upload-status .inline-upload-bar .inline-upload-progress{background-color:#97c8f3;height:5px}#inline-upload-status.complete{border-color:#26b75d}#inline-upload-status.complete .inline-upload-info{background-color:#edfaf1}#inline-upload-status.complete .inline-upload-bar .inline-upload-progress{background-color:#63cb89}#inline-upload-status.error{border-color:#e3a8a7}#inline-upload-status.error .inline-upload-info{background-color:#fef1f1}#inline-upload-status.error .inline-upload-bar .inline-upload-progress{background-color:#e3a8a7}#basic-upload-modal #file-box{position:absolute;cursor:pointer;width:100px;margin:0;clip:rect(0px, 100px, 5px, 95px);filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}#basic-upload-modal #basic-upload-status{position:relative;height:35px;line-height:35px;margin-top:20px;border:1px solid #b9b9b9;background-color:#e9f4ff}#basic-upload-modal #basic-upload-status div{display:block}#basic-upload-modal #basic-upload-status .file-info{float:left}#basic-upload-modal #basic-upload-status .file-info .icon{margin:0px 3px 0px 8px}#basic-upload-modal #basic-upload-status .file-info .icon img{margin-bottom:-3px}#basic-upload-modal #basic-upload-status .status{float:right;padding:3px 8px}#upload-promo-modal{text-align:center}#upload-promo-modal .promo-header{margin-bottom:7px;color:#000;font-size:16px;font-weight:bold}#upload-promo-modal .promo-header .red{color:#c30}.uploader-footer-text{font-size:11px;line-height:32px;vertical-align:top}.uploader-footer-text a{vertical-align:top}.external-drop-indicator{position:fixed;background-color:#060;z-index:1000}.uploads-disabled .external-drop-indicator{background-color:#e82110}.external-drop-indicator.top{top:0px;left:6px;width:100%;height:6px}.external-drop-indicator.right{top:6px;right:0px;width:6px;height:100%}.external-drop-indicator.bottom{bottom:0px;right:6px;width:100%;height:6px}.external-drop-indicator.left{bottom:6px;left:0px;width:6px;height:100%}#upload-modal-dropzone{position:absolute;top:-1px;left:-1px;z-index:1001;color:#000;background-color:#fff;text-align:center;vertical-align:middle;font-size:20px;font-weight:bold;border:1px solid #78b0de;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#upload-modal-dropzone div{margin-top:100px}#upload-modal-dropzone #disabled-upload-message{padding-top:90px;line-height:30px}#modal-content #choose-button{margin-right:10px}.tabbing .button-primary:focus,.tabbing .button-secondary:focus,.tabbing .button-tertiary:focus{box-shadow:0px 0px 0px 2px #A0D1FA,inset 0 0 0 0 #000}.button-primary,.button-secondary,.button-tertiary{margin:2px 0 5px;min-height:34px;line-height:normal;box-sizing:border-box;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-webkit-appearance:none;margin-top:16px;padding:6px 16px}body.ie .button-primary,body.ie .button-secondary,body.ie .button-tertiary{padding-top:0;padding-bottom:0}.button-primary.button-small,.button-secondary.button-small,.button-tertiary.button-small{margin:0;padding:3px 10px;min-height:30px}.freshbutton,.freshbutton-red,.freshbutton-blue,.freshbutton-lightblue,.freshbutton-blue-on-gray,.freshbutton-gray,.freshbutton-silver,.freshbutton-green,.freshbutton-no-hover{padding:5px 16px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.freshbutton,.freshbutton-red,.freshbutton-blue,.freshbutton-lightblue,.freshbutton-blue-on-gray,.freshbutton-gray,.freshbutton-silver,.freshbutton-green,.freshbutton-no-hover,.button-primary,.button-secondary,.button-tertiary{display:inline-block;text-align:center;font-size:13px;font-weight:600;cursor:pointer;overflow:visible;text-decoration:none}.freshbutton.button-big,.freshbutton-red.button-big,.freshbutton-blue.button-big,.freshbutton-lightblue.button-big,.freshbutton-blue-on-gray.button-big,.freshbutton-gray.button-big,.freshbutton-silver.button-big,.freshbutton-green.button-big,.freshbutton-no-hover.button-big,.button-primary.button-big,.button-secondary.button-big,.button-tertiary.button-big{padding:10px 26px;min-width:180px;border-width:2px}.freshbutton:hover,.freshbutton-red:hover,.freshbutton-blue:hover,.freshbutton-lightblue:hover,.freshbutton-blue-on-gray:hover,.freshbutton-gray:hover,.freshbutton-silver:hover,.freshbutton-green:hover,.freshbutton-no-hover:hover,.button-primary:hover,.button-secondary:hover,.button-tertiary:hover{text-decoration:none}.freshbutton:active,.freshbutton.pressed,.freshbutton.touched,.freshbutton.touch,.freshbutton-red:active,.freshbutton-red.pressed,.freshbutton-red.touched,.freshbutton-red.touch,.freshbutton-blue:active,.freshbutton-blue.pressed,.freshbutton-blue.touched,.freshbutton-blue.touch,.freshbutton-lightblue:active,.freshbutton-lightblue.pressed,.freshbutton-lightblue.touched,.freshbutton-lightblue.touch,.freshbutton-blue-on-gray:active,.freshbutton-blue-on-gray.pressed,.freshbutton-blue-on-gray.touched,.freshbutton-blue-on-gray.touch,.freshbutton-gray:active,.freshbutton-gray.pressed,.freshbutton-gray.touched,.freshbutton-gray.touch,.freshbutton-silver:active,.freshbutton-silver.pressed,.freshbutton-silver.touched,.freshbutton-silver.touch,.freshbutton-green:active,.freshbutton-green.pressed,.freshbutton-green.touched,.freshbutton-green.touch,.freshbutton-no-hover:active,.freshbutton-no-hover.pressed,.freshbutton-no-hover.touched,.freshbutton-no-hover.touch,.button-primary:active,.button-primary.pressed,.button-primary.touched,.button-primary.touch,.button-secondary:active,.button-secondary.pressed,.button-secondary.touched,.button-secondary.touch,.button-tertiary:active,.button-tertiary.pressed,.button-tertiary.touched,.button-tertiary.touch{box-shadow:inset 0px 1px 0px rgba(61,70,71,0.1)}.freshbutton:focus,.freshbutton-red:focus,.freshbutton-blue:focus,.freshbutton-lightblue:focus,.freshbutton-blue-on-gray:focus,.freshbutton-gray:focus,.freshbutton-silver:focus,.freshbutton-green:focus,.freshbutton-no-hover:focus,.button-primary:focus,.button-secondary:focus,.button-tertiary:focus{box-shadow:0px 0px 0px 2px #a0d1fa,inset 0 0 0 0 #000}.freshbutton:disabled,.freshbutton.disabled,.freshbutton-red:disabled,.freshbutton-red.disabled,.freshbutton-blue:disabled,.freshbutton-blue.disabled,.freshbutton-lightblue:disabled,.freshbutton-lightblue.disabled,.freshbutton-blue-on-gray:disabled,.freshbutton-blue-on-gray.disabled,.freshbutton-gray:disabled,.freshbutton-gray.disabled,.freshbutton-silver:disabled,.freshbutton-silver.disabled,.freshbutton-green:disabled,.freshbutton-green.disabled,.freshbutton-no-hover:disabled,.freshbutton-no-hover.disabled,.button-primary:disabled,.button-primary.disabled,.button-secondary:disabled,.button-secondary.disabled,.button-tertiary:disabled,.button-tertiary.disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4;cursor:default}.freshbutton.split,.freshbutton-red.split,.freshbutton-blue.split,.freshbutton-lightblue.split,.freshbutton-blue-on-gray.split,.freshbutton-gray.split,.freshbutton-silver.split,.freshbutton-green.split,.freshbutton-no-hover.split,.button-primary.split,.button-secondary.split,.button-tertiary.split{padding:0}.freshbutton.split span.label,.freshbutton-red.split span.label,.freshbutton-blue.split span.label,.freshbutton-lightblue.split span.label,.freshbutton-blue-on-gray.split span.label,.freshbutton-gray.split span.label,.freshbutton-silver.split span.label,.freshbutton-green.split span.label,.freshbutton-no-hover.split span.label,.button-primary.split span.label,.button-secondary.split span.label,.button-tertiary.split span.label{display:inline-block;padding:6px 16px}.freshbutton.split span.more,.freshbutton-red.split span.more,.freshbutton-blue.split span.more,.freshbutton-lightblue.split span.more,.freshbutton-blue-on-gray.split span.more,.freshbutton-gray.split span.more,.freshbutton-silver.split span.more,.freshbutton-green.split span.more,.freshbutton-no-hover.split span.more,.button-primary.split span.more,.button-secondary.split span.more,.button-tertiary.split span.more{display:inline-block;padding:6px 16px}.button-tertiary:focus{border:1px solid #a0bacf}.freshbutton-blue,.button-primary,a.button-primary{background:#007ee5;background:-o-linear-gradient(top, #168add 0%,#007ee5 100%);background:-ms-linear-gradient(top, #168add 0%,#007ee5 100%);background:-moz-linear-gradient(top, #168add 0%,#007ee5 100%);background:-webkit-linear-gradient(top, #168add 0%,#007ee5 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #168add), color-stop(100%, #007ee5));background:linear-gradient(to bottom, #168add 0%,#007ee5 100%);border:1px solid #0c6ebe;color:white}.freshbutton-blue:hover,.freshbutton-blue.hovered,.button-primary:hover,.button-primary.hovered,a.button-primary:hover,a.button-primary.hovered{background:#007ee5;background:-o-linear-gradient(top, #168eef 0%,#007ee5 100%);background:-ms-linear-gradient(top, #168eef 0%,#007ee5 100%);background:-moz-linear-gradient(top, #168eef 0%,#007ee5 100%);background:-webkit-linear-gradient(top, #168eef 0%,#007ee5 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #168eef), color-stop(100%, #007ee5));background:linear-gradient(to bottom, #168eef 0%,#007ee5 100%)}.freshbutton-blue:active,.freshbutton-blue.pressed,.freshbutton-blue.touched,.freshbutton-blue.touch,.button-primary:active,.button-primary.pressed,.button-primary.touched,.button-primary.touch,a.button-primary:active,a.button-primary.pressed,a.button-primary.touched,a.button-primary.touch{background:#0a74cb;background:-o-linear-gradient(top, #1b80d3 0%,#0a74cb 100%);background:-ms-linear-gradient(top, #1b80d3 0%,#0a74cb 100%);background:-moz-linear-gradient(top, #1b80d3 0%,#0a74cb 100%);background:-webkit-linear-gradient(top, #1b80d3 0%,#0a74cb 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #1b80d3), color-stop(100%, #0a74cb));background:linear-gradient(to bottom, #1b80d3 0%,#0a74cb 100%)}.freshbutton-blue:disabled,.freshbutton-blue.disabled,.button-primary:disabled,.button-primary.disabled,a.button-primary:disabled,a.button-primary.disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4;cursor:default}.freshbutton-blue:disabled:hover,.freshbutton-blue:disabled.hovered,.freshbutton-blue:disabled:active,.freshbutton-blue:disabled.pressed,.freshbutton-blue:disabled.touched,.freshbutton-blue:disabled.touch,.freshbutton-blue.disabled:hover,.freshbutton-blue.disabled.hovered,.freshbutton-blue.disabled:active,.freshbutton-blue.disabled.pressed,.freshbutton-blue.disabled.touched,.freshbutton-blue.disabled.touch,.button-primary:disabled:hover,.button-primary:disabled.hovered,.button-primary:disabled:active,.button-primary:disabled.pressed,.button-primary:disabled.touched,.button-primary:disabled.touch,.button-primary.disabled:hover,.button-primary.disabled.hovered,.button-primary.disabled:active,.button-primary.disabled.pressed,.button-primary.disabled.touched,.button-primary.disabled.touch,a.button-primary:disabled:hover,a.button-primary:disabled.hovered,a.button-primary:disabled:active,a.button-primary:disabled.pressed,a.button-primary:disabled.touched,a.button-primary:disabled.touch,a.button-primary.disabled:hover,a.button-primary.disabled.hovered,a.button-primary.disabled:active,a.button-primary.disabled.pressed,a.button-primary.disabled.touched,a.button-primary.disabled.touch{background:#007ee5}.freshbutton-blue.split span.more,.button-primary.split span.more,a.button-primary.split span.more{border-left:1px solid #0c6ebe}.freshbutton-lightblue,.button-secondary,a.button-secondary{background:#f4faff;background:-o-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-ms-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-moz-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-webkit-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fffffe), color-stop(100%, #f4faff));background:linear-gradient(to bottom, #fffffe 0%,#f4faff 100%);border:1px solid #5eb0f0;color:#007ee5}.freshbutton-lightblue:hover,.freshbutton-lightblue.hovered,.button-secondary:hover,.button-secondary.hovered,a.button-secondary:hover,a.button-secondary.hovered{background:#e5f3ff;background:-o-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-ms-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-moz-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-webkit-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fffffe), color-stop(100%, #e5f3ff));background:linear-gradient(to bottom, #fffffe 0%,#e5f3ff 100%)}.freshbutton-lightblue:active,.freshbutton-lightblue.pressed,.button-secondary:active,.button-secondary.pressed,a.button-secondary:active,a.button-secondary.pressed{background:#e5f3ff;background:-o-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-ms-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-moz-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-webkit-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #edf6ff), color-stop(100%, #e5f3ff));background:linear-gradient(to bottom, #edf6ff 0%,#e5f3ff 100%)}.freshbutton-lightblue:disabled,.freshbutton-lightblue.disabled,.button-secondary:disabled,.button-secondary.disabled,a.button-secondary:disabled,a.button-secondary.disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4;cursor:default}.freshbutton-lightblue:disabled:hover,.freshbutton-lightblue:disabled.hovered,.freshbutton-lightblue:disabled:active,.freshbutton-lightblue:disabled.pressed,.freshbutton-lightblue:disabled.touched,.freshbutton-lightblue:disabled.touch,.freshbutton-lightblue.disabled:hover,.freshbutton-lightblue.disabled.hovered,.freshbutton-lightblue.disabled:active,.freshbutton-lightblue.disabled.pressed,.freshbutton-lightblue.disabled.touched,.freshbutton-lightblue.disabled.touch,.button-secondary:disabled:hover,.button-secondary:disabled.hovered,.button-secondary:disabled:active,.button-secondary:disabled.pressed,.button-secondary:disabled.touched,.button-secondary:disabled.touch,.button-secondary.disabled:hover,.button-secondary.disabled.hovered,.button-secondary.disabled:active,.button-secondary.disabled.pressed,.button-secondary.disabled.touched,.button-secondary.disabled.touch,a.button-secondary:disabled:hover,a.button-secondary:disabled.hovered,a.button-secondary:disabled:active,a.button-secondary:disabled.pressed,a.button-secondary:disabled.touched,a.button-secondary:disabled.touch,a.button-secondary.disabled:hover,a.button-secondary.disabled.hovered,a.button-secondary.disabled:active,a.button-secondary.disabled.pressed,a.button-secondary.disabled.touched,a.button-secondary.disabled.touch{background:#f4faff}.freshbutton-lightblue.split span.more,.button-secondary.split span.more,a.button-secondary.split span.more{border-left:1px solid #5eb0f0}.freshbutton,.freshbutton-silver,.freshbutton-gray,.freshbutton-blue-on-gray,.button-tertiary,a.button-tertiary{background:#fff;border:1px solid #bbb;color:#47525d}.freshbutton:hover,.freshbutton.hovered,.freshbutton-silver:hover,.freshbutton-silver.hovered,.freshbutton-gray:hover,.freshbutton-gray.hovered,.freshbutton-blue-on-gray:hover,.freshbutton-blue-on-gray.hovered,.button-tertiary:hover,.button-tertiary.hovered,a.button-tertiary:hover,a.button-tertiary.hovered{background:#f2f2f2;background:-o-linear-gradient(top, #fffffe 0%,#f2f2f2 100%);background:-ms-linear-gradient(top, #fffffe 0%,#f2f2f2 100%);background:-moz-linear-gradient(top, #fffffe 0%,#f2f2f2 100%);background:-webkit-linear-gradient(top, #fffffe 0%,#f2f2f2 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fffffe), color-stop(100%, #f2f2f2));background:linear-gradient(to bottom, #fffffe 0%,#f2f2f2 100%)}.freshbutton:active,.freshbutton.pressed,.freshbutton-silver:active,.freshbutton-silver.pressed,.freshbutton-gray:active,.freshbutton-gray.pressed,.freshbutton-blue-on-gray:active,.freshbutton-blue-on-gray.pressed,.button-tertiary:active,.button-tertiary.pressed,a.button-tertiary:active,a.button-tertiary.pressed{background:#f2f2f2;background:-o-linear-gradient(top, #f7f7f7 0%,#f2f2f2 100%);background:-ms-linear-gradient(top, #f7f7f7 0%,#f2f2f2 100%);background:-moz-linear-gradient(top, #f7f7f7 0%,#f2f2f2 100%);background:-webkit-linear-gradient(top, #f7f7f7 0%,#f2f2f2 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #f2f2f2));background:linear-gradient(to bottom, #f7f7f7 0%,#f2f2f2 100%)}.freshbutton:disabled,.freshbutton.disabled,.freshbutton-silver:disabled,.freshbutton-silver.disabled,.freshbutton-gray:disabled,.freshbutton-gray.disabled,.freshbutton-blue-on-gray:disabled,.freshbutton-blue-on-gray.disabled,.button-tertiary:disabled,.button-tertiary.disabled,a.button-tertiary:disabled,a.button-tertiary.disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4;cursor:default}.freshbutton:disabled:hover,.freshbutton:disabled.hovered,.freshbutton:disabled:active,.freshbutton:disabled.pressed,.freshbutton:disabled.touched,.freshbutton:disabled.touch,.freshbutton.disabled:hover,.freshbutton.disabled.hovered,.freshbutton.disabled:active,.freshbutton.disabled.pressed,.freshbutton.disabled.touched,.freshbutton.disabled.touch,.freshbutton-silver:disabled:hover,.freshbutton-silver:disabled.hovered,.freshbutton-silver:disabled:active,.freshbutton-silver:disabled.pressed,.freshbutton-silver:disabled.touched,.freshbutton-silver:disabled.touch,.freshbutton-silver.disabled:hover,.freshbutton-silver.disabled.hovered,.freshbutton-silver.disabled:active,.freshbutton-silver.disabled.pressed,.freshbutton-silver.disabled.touched,.freshbutton-silver.disabled.touch,.freshbutton-gray:disabled:hover,.freshbutton-gray:disabled.hovered,.freshbutton-gray:disabled:active,.freshbutton-gray:disabled.pressed,.freshbutton-gray:disabled.touched,.freshbutton-gray:disabled.touch,.freshbutton-gray.disabled:hover,.freshbutton-gray.disabled.hovered,.freshbutton-gray.disabled:active,.freshbutton-gray.disabled.pressed,.freshbutton-gray.disabled.touched,.freshbutton-gray.disabled.touch,.freshbutton-blue-on-gray:disabled:hover,.freshbutton-blue-on-gray:disabled.hovered,.freshbutton-blue-on-gray:disabled:active,.freshbutton-blue-on-gray:disabled.pressed,.freshbutton-blue-on-gray:disabled.touched,.freshbutton-blue-on-gray:disabled.touch,.freshbutton-blue-on-gray.disabled:hover,.freshbutton-blue-on-gray.disabled.hovered,.freshbutton-blue-on-gray.disabled:active,.freshbutton-blue-on-gray.disabled.pressed,.freshbutton-blue-on-gray.disabled.touched,.freshbutton-blue-on-gray.disabled.touch,.button-tertiary:disabled:hover,.button-tertiary:disabled.hovered,.button-tertiary:disabled:active,.button-tertiary:disabled.pressed,.button-tertiary:disabled.touched,.button-tertiary:disabled.touch,.button-tertiary.disabled:hover,.button-tertiary.disabled.hovered,.button-tertiary.disabled:active,.button-tertiary.disabled.pressed,.button-tertiary.disabled.touched,.button-tertiary.disabled.touch,a.button-tertiary:disabled:hover,a.button-tertiary:disabled.hovered,a.button-tertiary:disabled:active,a.button-tertiary:disabled.pressed,a.button-tertiary:disabled.touched,a.button-tertiary:disabled.touch,a.button-tertiary.disabled:hover,a.button-tertiary.disabled.hovered,a.button-tertiary.disabled:active,a.button-tertiary.disabled.pressed,a.button-tertiary.disabled.touched,a.button-tertiary.disabled.touch{background:#fff}.freshbutton.split span.more,.freshbutton-silver.split span.more,.freshbutton-gray.split span.more,.freshbutton-blue-on-gray.split span.more,.button-tertiary.split span.more,a.button-tertiary.split span.more{border-left:1px solid #bbb}.media-mobile .button-primary,.media-mobile .button-secondary,.media-mobile .button-tertiary{width:100%}.carousel .button-primary,.carousel .button-secondary,.carousel .button-tertiary{font-size:14px;font-weight:400;padding:11px 16px}.carousel .button-primary:active,.carousel .button-secondary:active,.carousel .button-tertiary:active{box-shadow:none}.carousel .button-primary{background:#0bacff;border-color:#0bacff}.carousel .button-primary:hover{background:#36BEFF;border-color:#36BEFF}.carousel .button-primary:active{background:#007EC1;border-color:#007EC1}.carousel .button-secondary{background:#fff;border-color:#36BEFF;color:#0bacff}.carousel .button-secondary:hover{background:#fff;color:#36BEFF}.carousel .button-secondary:active{background:#fff;color:#007EC1;border-color:#007EC1}.carousel .button-tertiary,.carousel .button-tertiary:hover,.carousel .button-tertiary:active{background:#fff}.business-theme .button-primary,.business-theme .button-secondary,.business-theme .button-tertiary{font-weight:normal;min-height:0;padding-top:8px;padding-bottom:8px}.business-theme .button-primary.button-big,.business-theme .button-secondary.button-big,.business-theme .button-tertiary.button-big{min-width:220px;min-height:50px;line-height:34px}.business-theme .button-primary{background:#007ee5;border-color:#007ee5;color:#fff}.business-theme .button-primary:hover,.business-theme .button-primary.hovered{background:#3398ea;border-color:#3398ea}.business-theme .button-primary:active,.business-theme .button-primary.pressed{background:#0c57bd;border-color:#0c57bd}.business-theme .button-primary:disabled,.business-theme .button-primary.disabled{color:#bcc3c8;border-color:#bcc3c8;background:#fff}.business-theme .button-primary:disabled,.business-theme .button-primary.disabled{color:#fff;background:#bdc4c9}.business-theme .button-secondary{background:#fff;border-color:#007ee5}.business-theme .button-secondary:hover,.business-theme .button-secondary.hovered{background:#f0f7fd;border-color:#007ee5}.business-theme .button-secondary:active,.business-theme .button-secondary.pressed{background:#e3f1fc;border-color:#007ee5}.business-theme .button-secondary:disabled,.business-theme .button-secondary.disabled{color:#bcc3c8;border-color:#bcc3c8;background:#fff}.business-theme .button-secondary.button-big{border-radius:5px}.business-theme .button-tertiary{background:#fff;border-color:#bcc3c8}.business-theme .button-tertiary:hover,.business-theme .button-tertiary.hovered{background:#f0f7fc;border-color:#bcc3c8}.business-theme .button-tertiary:active,.business-theme .button-tertiary.pressed{background:#cfe8fc;border-color:#bcc3c8}.business-theme .button-tertiary:disabled,.business-theme .button-tertiary.disabled{color:#bcc3c8;border-color:#bcc3c8;background:#fff}.business-theme .button-tertiary:active,.business-theme .button-tertiary:hover,.business-theme .button-tertiary.pressed,.business-theme .button-tertiary.hovered{border-color:#266cb9}.business-theme .ie8 .button-primary,.business-theme .ie8 .button-secondary,.business-theme .ie8 .button-tertiary{filter:'-'}.business-theme .ie8 .button-primary.button-big,.business-theme .ie8 .button-secondary.button-big,.business-theme .ie8 .button-tertiary.button-big{min-height:0;min-width:0;padding:6px 50px}.media-mobile.carousel .button-primary,.media-mobile.carousel .button-secondary,.media-mobile.carousel .button-tertiary{font-size:16px;font-weight:200;padding:12px 16px}.carousel-app .carousel .button-primary,.carousel-app .carousel .button-secondary,.carousel-app .carousel .button-tertiary{font-size:13px;padding:8px 18px 9px}.freshbutton img.sprite,.freshbutton-red img.sprite,.freshbutton-blue img.sprite,.freshbutton-lightblue img.sprite,.freshbutton-blue-on-gray img.sprite,.freshbutton-gray img.sprite,.freshbutton-silver img.sprite,.freshbutton-green img.sprite,.freshbutton-no-hover img.sprite{margin-bottom:-3px;margin-right:3px}.freshbutton.fb-large,.freshbutton-red.fb-large,.freshbutton-blue.fb-large,.freshbutton-lightblue.fb-large,.freshbutton-blue-on-gray.fb-large,.freshbutton-gray.fb-large,.freshbutton-silver.fb-large,.freshbutton-green.fb-large,.freshbutton-no-hover.fb-large{font-weight:normal;padding:6px 15px;font-size:16px}.freshbutton.fb-big,.freshbutton-red.fb-big,.freshbutton-blue.fb-big,.freshbutton-lightblue.fb-big,.freshbutton-blue-on-gray.fb-big,.freshbutton-gray.fb-big,.freshbutton-silver.fb-big,.freshbutton-green.fb-big,.freshbutton-no-hover.fb-big{padding:15px 40px;font-size:19px}.freshbutton.fb-medium,.freshbutton-red.fb-medium,.freshbutton-blue.fb-medium,.freshbutton-lightblue.fb-medium,.freshbutton-blue-on-gray.fb-medium,.freshbutton-gray.fb-medium,.freshbutton-silver.fb-medium,.freshbutton-green.fb-medium,.freshbutton-no-hover.fb-medium{font-size:14px;padding:10px 40px}.freshbutton.big-border,.freshbutton.fb-big,.freshbutton-blue.big-border,.freshbutton-blue.fb-big,.freshbutton-lightblue.big-border,.freshbutton-lightblue.fb-big,.freshbutton-silver.big-border,.freshbutton-silver.fb-big,.freshbutton-gray.big-border,.freshbutton-gray.fb-big{border-width:2px}.freshbutton-blue.mobile,.freshbutton-green.mobile{padding:12px;font-family:Helvetica, Arial, sans-serif;font-weight:600;font-size:16px;width:100%}.freshbutton-red{color:#fff;border-top:1px #A12B36 solid;border-right:1px #92222C solid;border-bottom:1px #821721 solid;border-left:1px #8F212B solid;background:#C32F39;background:-o-linear-gradient(top, #DB4457 0%,#C32F39 100%);background:-ms-linear-gradient(top, #DB4457 0%,#C32F39 100%);background:-moz-linear-gradient(top, #DB4457 0%,#C32F39 100%);background:-webkit-linear-gradient(top, #DB4457 0%,#C32F39 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #DB4457), color-stop(100%, #C32F39));background:linear-gradient(to bottom, #db4457 0%,#c32f39 100%);text-shadow:#355782 0 1px 2px;box-shadow:0 1px 1px rgba(0,0,0,0.3),inset 0px 1px 0px #E98A96}.freshbutton-red:hover,.freshbutton-red.hovered{border-top:1px #BD0E1B solid;border-right:1px #A60C17 solid;border-bottom:1px #9A0B16 solid;border-left:1px #AC0D19 solid;box-shadow:0 1px 1px rgba(0,0,0,0.3),inset 0 0 3px #F08EA5}.freshbutton-red:active,.freshbutton-red.pressed{border-top:1px #A12B36 solid;border-right:1px #8F212B solid;border-bottom:1px #821721 solid;border-left:1px #982631 solid;background:#CB3A4F;background:-o-linear-gradient(top, #A7242D 0%,#CB3A4F 100%);background:-ms-linear-gradient(top, #A7242D 0%,#CB3A4F 100%);background:-moz-linear-gradient(top, #A7242D 0%,#CB3A4F 100%);background:-webkit-linear-gradient(top, #A7242D 0%,#CB3A4F 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #A7242D), color-stop(100%, #CB3A4F));background:linear-gradient(to bottom, #a7242d 0%,#cb3a4f 100%);box-shadow:0 0 0 #000,inset 0 2px 2px #9C212A}.freshbutton-green{color:#fff;border-top:1px #028F05 solid;border-right:1px #056F08 solid;border-bottom:1px #056F08 solid;border-left:1px #056F08 solid;background:#069709;background:-o-linear-gradient(top, #06b00a 0%,#069709 100%);background:-ms-linear-gradient(top, #06b00a 0%,#069709 100%);background:-moz-linear-gradient(top, #06b00a 0%,#069709 100%);background:-webkit-linear-gradient(top, #06b00a 0%,#069709 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #06b00a), color-stop(100%, #069709));background:linear-gradient(to bottom, #06b00a 0%,#069709 100%);text-shadow:#056F08 0 1px 2px;box-shadow:0 1px 1px rgba(0,0,0,0.3),inset 0px 1px 0px #19ca1d}.freshbutton-green:active,.freshbutton-green.pressed{background:#06B00A;background:-o-linear-gradient(top, #069709 0%,#06B00A 100%);background:-ms-linear-gradient(top, #069709 0%,#06B00A 100%);background:-moz-linear-gradient(top, #069709 0%,#06B00A 100%);background:-webkit-linear-gradient(top, #069709 0%,#06B00A 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #069709), color-stop(100%, #06B00A));background:linear-gradient(to bottom, #069709 0%,#06b00a 100%);box-shadow:0 0 0 #000,inset 0 2px 2px #057707}.freshtoggle-container{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline}.freshtoggle{background:#fff;padding:4px;float:left;border:1px solid #e5e5e5}.freshtoggle.ft-left{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border-top-right-radius:0;border-bottom-right-radius:0}.freshtoggle.ft-middle,.freshtoggle.ft-right{border-left:none}.freshtoggle.ft-right{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;border-top-left-radius:0;border-bottom-left-radius:0}.freshtoggle:hover,.freshtoggle:active,.freshtoggle.toggled{background:#eff2f3;text-decoration:none}.freshtoggle img{float:left}.freshtoggle .label{color:black;margin-bottom:-3px;padding:0 2px 0 6px;text-decoration:none}.freshdropdown-menu.chat-bubble,.freshdropdown-menu.chat-bubble-bottom{position:absolute;right:0;z-index:10;padding:5px 0;margin:0;width:175px}.freshdropdown-menu.chat-bubble.wide,.freshdropdown-menu.chat-bubble-bottom.wide{width:203px}.freshdropdown-menu.chat-bubble ul,.freshdropdown-menu.chat-bubble-bottom ul{list-style:none;margin:0;padding:0}.freshdropdown-menu.chat-bubble ul li a,.freshdropdown-menu.chat-bubble-bottom ul li a{display:block;padding:8px 14px}.freshdropdown-menu.chat-bubble ul li a:hover,.freshdropdown-menu.chat-bubble-bottom ul li a:hover{text-decoration:none;background-color:#e3f2ff}.freshdropdown-menu.chat-bubble ul li span.disabled,.freshdropdown-menu.chat-bubble-bottom ul li span.disabled{display:block;padding:8px 14px;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4;cursor:default}.freshdropdown-menu.chat-bubble.big,.freshdropdown-menu.chat-bubble-bottom.big{padding:4px 0;width:195px}.freshdropdown-menu.chat-bubble.big ul li.subheader,.freshdropdown-menu.chat-bubble-bottom.big ul li.subheader{margin:10px 0px 7px 8px;font-size:11px;color:#666}.freshdropdown-menu.chat-bubble.big ul li.divider,.freshdropdown-menu.chat-bubble-bottom.big ul li.divider{height:0px;margin:4px 0;border-bottom:1px solid #d2e5f5}.freshdropdown-menu.chat-bubble.big ul li a,.freshdropdown-menu.chat-bubble-bottom.big ul li a{padding:4px 10px;height:32px;line-height:32px;color:#222}.freshdropdown-menu.chat-bubble.big ul li a img,.freshdropdown-menu.chat-bubble-bottom.big ul li a img{float:left;width:32px;height:32px;margin-left:-2px;margin-right:9px;background-color:#e3f2ff}.freshdropdown-menu.chat-bubble.big ul li a img.freshdropdown-spacer,.freshdropdown-menu.chat-bubble-bottom.big ul li a img.freshdropdown-spacer{background-color:transparent}.freshdropdown-menu.chat-bubble.black,.freshdropdown-menu.chat-bubble-bottom.black{border:1px solid #888;background:#000;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=90);opacity:0.9}.freshdropdown-menu.chat-bubble.black ul li.divider,.freshdropdown-menu.chat-bubble-bottom.black ul li.divider{border-bottom:1px solid #555}.freshdropdown-menu.chat-bubble.black ul li a,.freshdropdown-menu.chat-bubble-bottom.black ul li a{color:#fff}.freshdropdown-menu.chat-bubble.black ul li a img,.freshdropdown-menu.chat-bubble-bottom.black ul li a img{background-color:transparent}.freshdropdown-menu.chat-bubble.black ul li a:hover,.freshdropdown-menu.chat-bubble-bottom.black ul li a:hover{background-color:#222}.freshdropdown-menu.chat-bubble.black .chat-bubble-arrow-border,.freshdropdown-menu.chat-bubble-bottom.black .chat-bubble-arrow-border{border-top-color:#888}.freshbutton-no-hover{cursor:default}.error-bubble{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:7px 5px 7px 5px;margin:0 10px 0 0;text-align:right;position:absolute;top:1px;right:100%;color:red;background-color:#fff4f4;border:1px solid #d58a8a;font-size:13px;line-height:18px}.error-bubble .error-message{color:#d58a8a;font-size:inherit;line-height:inherit}.error-bubble .error-bubble-arrow-border{display:block;border-color:transparent transparent transparent #d58a8a;border-style:solid;border-width:6px;height:0;width:0;position:absolute;top:10px;right:-13px}.error-bubble .error-bubble-arrow{border-color:transparent transparent transparent #fff4f4;border-style:solid;border-width:6px;height:0;width:0;position:absolute;top:10px;right:-11px}.sick-input{position:relative}.sick-input input{width:345px;height:24px}.sick-input input,.sick-input textarea,.sick-input select{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;font-size:16px;border:1px solid #bfbfbf;padding:5px}.sick-input label{font-size:16px;position:absolute;left:8px;top:6px;cursor:text;pointer-events:none;color:#777;-webkit-transition:color 0.2s linear 0s;-moz-transition:color 0.2s linear 0s;transition:color 0.2s linear 0s}.sick-input.small input{width:199px;height:22px}.sick-input.small input,.sick-input.small textarea{padding:3px 5px 4px}.sick-input.small input,.sick-input.small textarea,.sick-input.small label{font-size:13px}.sick-input.focused label{color:#ccc;-webkit-transition:color 0.2s linear 0s;-moz-transition:color 0.2s linear 0s;transition:color 0.2s linear 0s}.sick-input.focused input::-webkit-input-placeholder{color:#ccc;-webkit-transition:color 0.2s linear 0s;-moz-transition:color 0.2s linear 0s;transition:color 0.2s linear 0s}.sick-input.focused input:-moz-placeholder{color:#ccc;-webkit-transition:color 0.2s linear 0s;-moz-transition:color 0.2s linear 0s;transition:color 0.2s linear 0s}.sick-input.focused input::-moz-placeholder{color:#ccc;-webkit-transition:color 0.2s linear 0s;-moz-transition:color 0.2s linear 0s;transition:color 0.2s linear 0s}.sick-input.focused input:-ms-input-placeholder{color:#ccc;-webkit-transition:color 0.2s linear 0s;-moz-transition:color 0.2s linear 0s;transition:color 0.2s linear 0s}.sick-input.populated label{display:none}.link-span,.link-span a,.link-span img{cursor:pointer}.link-span:hover a{text-decoration:underline}body.file-preview-body #outer-frame,body.file-preview-body #page-content{padding:0;margin:0;min-height:0;width:auto}body.file-preview-body #outer-frame{padding-top:47px}body.file-preview-body #page-content{position:relative}body.file-preview-body .nav-header .filename{display:block}body.file-preview-body .nav-header .buttons a.freshbutton-lightblue{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline}body.file-preview-body .preview-box{display:block}body.file-preview-body .content-shadow{box-shadow:0 0 5px #ccc,inset 0 0 0 #000;border:1px solid #ddd}body.file-preview-body #preview-img{display:block;margin:28px auto 0;cursor:hand;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;-ms-interpolation-mode:bicubic}body.file-preview-body #full-img{display:none;margin:0 auto;cursor:hand;cursor:-webkit-zoom-out;cursor:-moz-zoom-out}body.file-preview-body #video{margin:50px auto}body.file-preview-body #video object,body.file-preview-body #video video,body.file-preview-body #video .video-js{display:block;margin:0 auto}body.file-preview-body #code-wrapper,body.file-preview-body #htmlified-wrapper{background:#fff;padding:20px;font-size:12px;text-align:left;overflow:auto;max-width:900px;margin:30px auto;border:1px solid #BBB}body.file-preview-body #code{margin:0;padding:0}body.file-preview-body #code .syntaxhighlighter{overflow-y:hidden !important;margin:0 !important}body.file-preview-body pre#code{white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word}body.file-preview-body pre#code.plain-text{font-family:"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important}body.file-preview-body #code-loading{margin-top:1em}body.file-preview-body #code-wrapper .syntaxhighlighter .gutter .line{border-right:2px solid #fff !important}body.file-preview-body .font-preview{margin:0px auto;background-color:#FFF;text-align:center;padding-bottom:10px;width:400px;margin:50px auto 0}body.file-preview-body .font-preview textarea{resize:none;text-align:center;font-family:h;font-size:4em;padding:10px 10px 0;margin:0 0 10px 0;border:0px solid #FFF;width:380px}body.file-preview-body #pending-upload{width:600px;height:800px;margin:50px auto;text-align:center}body.file-preview-body #pending-upload #pendingfile-icon{background-repeat:no-repeat;width:64px;height:64px;margin:100px auto 0px auto;position:relative}body.file-preview-body #pending-upload #pendingfile-filename{font-weight:bold;margin:5px auto}body.file-preview-body #pending-upload #pendingfile-status{color:LightGray}body.file-preview-body #pending-upload #pendingfile-sync{width:16px;height:16px;position:absolute;bottom:-2px;right:2px}body.file-preview-body #pending-upload .pending-rotating{-webkit-animation:pending-spin 2s linear infinite;animation:pending-spin 2s linear infinite}@-webkit-keyframes pending-spin{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@-moz-keyframes pending-spin{from{-moz-transform:rotate(0deg)}to{-moz-transform:rotate(360deg)}}@keyframes pending-spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}body.preview-photo #page-content{position:static}body.preview-photo .preview-box{position:fixed;top:47px;left:0;right:0;bottom:0;padding:28px;height:100%;padding-bottom:75px;box-sizing:border-box}body.preview-photo #preview-img{max-width:100%;max-height:100%;margin:0px auto;padding:0px}.preview-box #pdf-embed-container[data-docpreview-ui-rams-enabled='True'].rams-fullscreen,.preview-box #html-container[data-docpreview-ui-rams-enabled='True'].rams-fullscreen{top:0px;z-index:10}.preview-box #pdf-embed-container[data-docpreview-ui-rams-enabled='True'].animate-fullscreen-transition,.preview-box #html-container[data-docpreview-ui-rams-enabled='True'].animate-fullscreen-transition{z-index:10}.preview-box #pdf-embed-container[data-docpreview-ui-rams-enabled='True'] iframe,.preview-box #html-container[data-docpreview-ui-rams-enabled='True'] iframe{border:0}#file-viewer.comments.no-preview #file-viewer-container #file-comments{position:fixed;top:0;right:0}#file-viewer.comments #file-viewer-container{width:1222px;margin-left:-610px}#file-viewer.comments #file-viewer-container .preview{float:left;width:900px}#file-viewer.comments #file-viewer-container #file-comments{position:relative;float:right}#file-preview-modal.comments{right:321px}#photo-comments{position:fixed;top:0;right:0;z-index:501;width:321px;background:white}#file-comments.hidden-comments,#photo-comments.hidden-comments{width:30px}.hide-button{position:absolute;top:5px;right:5%;color:#aaa;font-size:11px}#file-comments .show-button{position:relative;width:30px;height:100%;display:table}#file-comments .show-button.dark{background:#25282B;border-left:1px solid #F6F8FA}#file-comments .show-button.dark:hover{background:rgba(255,255,255,0.05);cursor:pointer}#file-comments .show-button.white{background:#fff;border-left:1px solid #E5E5E5}#file-comments .show-button.white:hover{background:#f3f4f4;cursor:pointer}#photo-comments .show-button{position:fixed;right:0px;width:30px;height:100%;display:table}#photo-comments .show-button.dark{background:#25282B;border-left:1px solid #F6F8FA}#photo-comments .show-button.dark:hover{background:rgba(255,255,255,0.05);cursor:pointer}#photo-comments .show-button.white{background:#fff;border-left:1px solid #E5E5E5}#photo-comments .show-button.white:hover{background:#f3f4f4;cursor:pointer}.show-button-sprite{display:table-cell;text-align:center;vertical-align:middle}#file-preview-modal{color:#fff;font-size:13px;position:fixed;top:0;right:0;bottom:0;left:0;z-index:500;background:#000}#file-preview-modal .preview{position:absolute;top:47px;bottom:47px;left:0;right:0;text-align:center}#file-preview-modal .preview .preview-container-parent{width:100%;height:100%;text-align:center;vertical-align:middle;border-collapse:collapse;margin:0;padding:0}#file-preview-modal .preview div.preview-container-parent{display:table}#file-preview-modal .preview div.preview-container{display:table-cell;vertical-align:middle}#file-preview-modal .preview .video-js{margin:0px auto}#file-preview-modal .header{text-align:right;height:17px;padding:15px;background:#000;filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1;-webkit-transition:opacity 1.5s ease-in 0s;-moz-transition:opacity 1.5s ease-in 0s;transition:opacity 1.5s ease-in 0s}#file-preview-modal .header .close{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=75);opacity:0.75;padding-right:1px;padding-top:1px}#file-preview-modal .header .close:hover{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}#file-preview-modal .header .close.opacity-zero{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;-webkit-transition:opacity 1s ease-in 0s;-moz-transition:opacity 1s ease-in 0s;transition:opacity 1s ease-in 0s}#file-preview-modal .menu{position:absolute;height:17px;line-height:17px;padding-bottom:15px;background:#000;margin-top:-51px;left:0;right:0;bottom:0;filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1;-webkit-transition:opacity 0s ease-in 0s;-moz-transition:opacity 0s ease-in 0s;transition:opacity 0s ease-in 0s}#file-preview-modal .menu .next,#file-preview-modal .menu .prev{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=75);opacity:0.75}#file-preview-modal .menu .next.opacity-zero,#file-preview-modal .menu .prev.opacity-zero{-webkit-transition:opacity 0s ease-in 0s;-moz-transition:opacity 0s ease-in 0s;transition:opacity 0s ease-in 0s;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}#file-preview-modal .menu .next.opacity-zero:hover,#file-preview-modal .menu .prev.opacity-zero:hover{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;cursor:default}#file-preview-modal .menu .next.opacity-zero:hover img,#file-preview-modal .menu .prev.opacity-zero:hover img{cursor:default}#file-preview-modal .menu .next:hover,#file-preview-modal .menu .prev:hover{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}#file-preview-modal .menu #lightbox-select-button{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=75);opacity:0.75;margin-right:5px}#file-preview-modal .menu #lightbox-select-button.wiggobble{-webkit-animation:lightbox-selection-wiggobble 0.54s;-moz-animation:lightbox-selection-wiggobble 0.54s;animation:lightbox-selection-wiggobble 0.54s}#file-preview-modal .menu #lightbox-select-button.elbboggiw{-webkit-animation:lightbox-selection-elbboggiw 0.54s;-moz-animation:lightbox-selection-elbboggiw 0.54s;animation:lightbox-selection-elbboggiw 0.54s}#file-preview-modal .menu #lightbox-select-button:hover,#file-preview-modal .menu #lightbox-select-button.selected{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}#file-preview-modal .opacity-zero{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;-webkit-transition:opacity 1s ease-in 0s;-moz-transition:opacity 1s ease-in 0s;transition:opacity 1s ease-in 0s}#file-preview-modal .file-title{position:absolute;left:15px;color:#CCC}#file-preview-modal .file-title .filename{float:left}#file-preview-modal .file-title .filename.faded{color:#999}#file-preview-modal .file-title .album-name{float:left;margin-right:20px}#file-preview-modal .file-title .added-by{float:left;color:#999}#file-preview-modal .file-title .filename,#file-preview-modal .file-title .album-name,#file-preview-modal .file-title .added-by{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}#file-preview-modal .actions{position:absolute;right:15px;z-index:1000;text-align:right}#file-preview-modal .actions a{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;height:18px;overflow:hidden;margin:0 4px;min-width:21px}#file-preview-modal .actions #lightbox_share_link{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=75);opacity:0.75}#file-preview-modal .actions #lightbox_share_link:hover{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}#file-preview-modal .actions .lightbox-action{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=75);opacity:0.75;display:inline-block;cursor:pointer;margin-left:20px}#file-preview-modal .actions .lightbox-action:hover{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}#file-preview-modal .actions,#file-preview-modal .file-title{min-width:150px;white-space:nowrap}#file-preview-modal .show-copyright-flag .actions{right:44px}#file-preview-modal .copyright-complaint-flag{right:8px;bottom:8px}#file-preview-modal .paging{text-align:center;position:absolute;width:100%}#file-preview-modal .paging .paging-block{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;margin:auto;min-width:150px}#file-preview-modal .paging .paging-block .lightbox-index-text-container{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;position:relative;top:-2px;color:#CCC;min-width:100px;margin:0px 4px}#file-preview-modal .paging .paging-block .lightbox-index-text-container .current_index,#file-preview-modal .paging .paging-block .lightbox-index-text-container .total{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;min-width:35px}#file-preview-modal .paging .paging-block .lightbox-index-text-container .current_index{text-align:right;margin-right:5px}#file-preview-modal .paging .paging-block .lightbox-index-text-container .total{text-align:left;margin-left:5px}#file-preview-modal .paging .paging-block a{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;margin:0 2px;vertical-align:text-top}#file-preview-modal #lightbox_share{margin:0;position:absolute;right:92px;top:-5px}#file-preview-modal .lightbox-button{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;border:none;color:white;background:#292929;padding:5px 10px 3px 10px;font-size:13px}#file-preview-modal .lightbox-button:hover{text-decoration:none;background:#333}#file-preview-modal #lightbox-more-actions-list .s_web_lightbox_open{height:16px;width:16px;margin:7px 14px 0 7px}#file-preview-modal #lightbox-more-actions-button.extra-margin{margin-right:1px;margin-left:3px;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=75);opacity:0.75}#file-preview-modal #lightbox-more-actions-button.extra-margin:hover{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}#file-preview-modal #lightbox-delete-button{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=75);opacity:0.75;margin-right:5px}#file-preview-modal #lightbox-delete-button:hover{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}#file-preview-modal #lightbox-actions-base{display:none}#file-preview-modal .freshdropdown-menu.chat-bubble.black,#file-preview-modal .freshdropdown-menu.chat-bubble-bottom.black{bottom:45px;right:5px}#file-preview-modal .freshdropdown-menu.chat-bubble.black ul li a,#file-preview-modal .freshdropdown-menu.chat-bubble-bottom.black ul li a{padding:3px 10px}#file-preview-modal .chat-bubble-arrow-border.black,#file-preview-modal .chat-bubble-arrow.black,#file-preview-modal .chat-bubble-bottom .chat-bubble-arrow-border.black,#file-preview-modal .chat-bubble-bottom .chat-bubble-arrow.black{right:10px}#file-preview-modal .delete-file-prompt{position:absolute;right:5px;border:1px solid #fff;background:#000;padding:5px 10px;bottom:45px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;z-index:1002;width:160px}#file-preview-modal .delete-file-prompt .freshbutton,#file-preview-modal .delete-file-prompt .freshbutton-blue{width:160px;margin:5px 0}#file-preview-modal .delete-file-prompt .chat-bubble-arrow-border.black,#file-preview-modal .delete-file-prompt .chat-bubble-arrow.black,#file-preview-modal .delete-file-prompt .chat-bubble-bottom .chat-bubble-arrow-border.black,#file-preview-modal .delete-file-prompt .chat-bubble-bottom .chat-bubble-arrow.black{right:38px}body.pdf-preview-pdf-native #page-content,body.pdf-preview-pdf-embedded #page-content,body.pdf-preview-pdf-js #page-content{position:static}body.pdf-preview-pdf-native #pdf-embed-container,body.pdf-preview-pdf-embedded #pdf-embed-container,body.pdf-preview-pdf-js #pdf-embed-container{position:fixed;top:47px;left:0;right:0;bottom:0;overflow:hidden}body.pdf-preview-pdf-native #pdf-embed-container iframe,body.pdf-preview-pdf-embedded #pdf-embed-container iframe,body.pdf-preview-pdf-js #pdf-embed-container iframe{width:100%;height:100%;visibility:hidden}body.pdf-preview-pdf-native #viewerContainer,body.pdf-preview-pdf-embedded #viewerContainer,body.pdf-preview-pdf-js #viewerContainer{top:0;padding-top:0px}body.pdf-preview-pdf-native #viewerContainer .page,body.pdf-preview-pdf-embedded #viewerContainer .page,body.pdf-preview-pdf-js #viewerContainer .page{margin:20px auto}body.excel-preview #page-content{position:static}body.excel-preview #html-container{position:fixed;top:47px;left:0;right:0;bottom:0;overflow:hidden}body.excel-preview #html-container iframe{width:100%;height:100%}#file-viewer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:500;background:rgba(0,0,0,0.7)}#file-viewer #file-viewer-container{position:absolute;top:4%;left:50%;margin-left:-450px;height:90%;min-height:300px;max-height:1000px;width:900px;box-shadow:0px 2px 4px 0px rgba(0,0,0,0.5);border:0;-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px;background:#fff;overflow:hidden;z-index:0}#file-viewer #file-viewer-container .title-bar{z-index:600;position:relative;height:50px;line-height:50px;background:#fff;font-size:14px;border-bottom:1px solid rgba(0,0,0,0.3);-webkit-border-top-left-radius:7px;-ms-border-top-left-radius:7px;-o-border-top-left-radius:7px;border-top-left-radius:7px;-webkit-border-top-right-radius:7px;-ms-border-top-right-radius:7px;-o-border-top-right-radius:7px;border-top-right-radius:7px}#file-viewer #file-viewer-container .title-bar .filename{position:absolute;width:100%;left:0px;top:0px;margin-left:0px}#file-viewer #file-viewer-container .title-bar .filename .sprite{position:absolute;top:8px;left:10px}#file-viewer #file-viewer-container .title-bar .filename .filename-text{position:absolute;left:51px}#file-viewer #file-viewer-container .title-bar .close-icon-container{display:block;width:35px;height:35px;position:absolute;top:8px;right:8px}#file-viewer #file-viewer-container .title-bar .close-icon{position:absolute;top:12px;left:12px}#file-viewer #file-viewer-container .loading{color:#444;text-align:center;font-size:16px;font-weight:600;margin-top:15%;width:100%;position:absolute}#file-viewer #file-viewer-container .loading img{margin-bottom:-2px}#file-viewer #file-viewer-container .preview{height:95%;height:-moz-calc(100% - 50px);height:-webkit-calc(100% - 50px);height:-o-calc(100% - 50px);height:calc(100% - 50px)}#file-viewer #file-viewer-container .preview #viewerContainer{top:0}#file-viewer #file-viewer-container .preview .preview-content-container{height:100%;width:100%}#file-viewer #file-viewer-container .preview iframe{width:100%;border:0;height:100%}#file-viewer.has-preview #file-viewer-container,#file-viewer.edit #file-viewer-container{top:2%;bottom:0;height:inherit;-webkit-border-bottom-left-radius:2px;-ms-border-bottom-left-radius:2px;-o-border-bottom-left-radius:2px;border-bottom-left-radius:2px;-webkit-border-bottom-right-radius:2px;-ms-border-bottom-right-radius:2px;-o-border-bottom-right-radius:2px;border-bottom-right-radius:2px}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu,#file-viewer.edit #file-viewer-container .title-bar .button-menu{position:absolute;width:400px;right:42px;height:34px;line-height:34px;text-align:right;top:8px}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .openwith-button,#file-viewer.edit #file-viewer-container .title-bar .button-menu .openwith-button{display:none}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .openwith-dropdown,#file-viewer.edit #file-viewer-container .title-bar .button-menu .openwith-dropdown{width:auto;display:none;font-size:13px;line-height:normal}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .split-button .button-elm.main-button,#file-viewer.edit #file-viewer-container .title-bar .button-menu .split-button .button-elm.main-button{display:inline-block}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .split-button .button-elm.more-button,#file-viewer.edit #file-viewer-container .title-bar .button-menu .split-button .button-elm.more-button{display:none}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .split-button.shown,#file-viewer.edit #file-viewer-container .title-bar .button-menu .split-button.shown{display:block}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .split-button.split,#file-viewer.edit #file-viewer-container .title-bar .button-menu .split-button.split{float:right;margin:0 8px 0 0}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .split-button.split .button-elm,#file-viewer.edit #file-viewer-container .title-bar .button-menu .split-button.split .button-elm{margin:0;float:left}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .split-button.split .button-elm.main-button,#file-viewer.edit #file-viewer-container .title-bar .button-menu .split-button.split .button-elm.main-button{display:inline-block;-webkit-border-top-right-radius:0;-ms-border-top-right-radius:0;-o-border-top-right-radius:0;border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;border-bottom-right-radius:0}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .split-button.split .button-elm.more-button,#file-viewer.edit #file-viewer-container .title-bar .button-menu .split-button.split .button-elm.more-button{display:inline-block;padding:6px 8px;border-left:0;-webkit-border-top-left-radius:0;-ms-border-top-left-radius:0;-o-border-top-left-radius:0;border-top-left-radius:0;-webkit-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;border-bottom-left-radius:0}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .button-elm,#file-viewer.edit #file-viewer-container .title-bar .button-menu .button-elm{margin:0 8px 0 0;float:right}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .more-options-button,#file-viewer.edit #file-viewer-container .title-bar .button-menu .more-options-button{display:none;padding:4px 6px}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .more-options-button .sprite,#file-viewer.edit #file-viewer-container .title-bar .button-menu .more-options-button .sprite{top:2px;position:relative}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .more-options-dropdown,#file-viewer.edit #file-viewer-container .title-bar .button-menu .more-options-dropdown{display:none;font-size:13px;line-height:normal}#file-viewer.has-preview #file-viewer-container .title-bar .button-menu .more-options-dropdown .download-button,#file-viewer.edit #file-viewer-container .title-bar .button-menu .more-options-dropdown .download-button{margin:0;padding-left:16px}#file-viewer.has-preview #file-viewer-container .file-info,#file-viewer.edit #file-viewer-container .file-info{display:none}#file-viewer.has-preview #file-viewer-container .preview #code-wrapper,#file-viewer.has-preview #file-viewer-container .preview #htmlified-wrapper,#file-viewer.edit #file-viewer-container .preview #code-wrapper,#file-viewer.edit #file-viewer-container .preview #htmlified-wrapper{background:#fff;color:#000;padding:0;font-size:12px;text-align:left;overflow:auto;min-height:400px;margin:0px auto}#file-viewer.has-preview #file-viewer-container .preview #code,#file-viewer.edit #file-viewer-container .preview #code{margin:0;padding:0 10px}#file-viewer.has-preview #file-viewer-container .preview #code.plain-text,#file-viewer.edit #file-viewer-container .preview #code.plain-text{padding:10px}#file-viewer.has-preview #file-viewer-container .preview pre#code,#file-viewer.edit #file-viewer-container .preview pre#code{white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;white-space:pre-wrap;word-wrap:break-word}#file-viewer.has-preview #file-viewer-container .preview pre#code.plain-text,#file-viewer.edit #file-viewer-container .preview pre#code.plain-text{font-family:"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important}#file-viewer.no-preview #file-viewer-container{position:absolute;width:400px;height:400px;top:50%;left:50%;margin-left:-200px;margin-top:-225px;overflow:visible}#file-viewer.no-preview #file-viewer-container .title-bar .filename{margin-left:15px}#file-viewer.no-preview #file-viewer-container .title-bar .button-menu{display:none}#file-viewer.no-preview #file-viewer-container .title-bar .download-img-button{display:none}#file-viewer.no-preview #file-viewer-container .title-bar .share-img-button{display:none}#file-viewer.no-preview #file-viewer-container .file-info{margin-top:60px;text-align:center}#file-viewer.no-preview #file-viewer-container .file-info .file-thumbnail{margin-bottom:8px;height:128px}#file-viewer.no-preview #file-viewer-container .file-info .file-type{font-size:16px;color:#000;margin-bottom:10px}#file-viewer.no-preview #file-viewer-container .file-info .file-extended-details{margin-bottom:15px}#file-viewer.no-preview #file-viewer-container .file-info .file-size,#file-viewer.no-preview #file-viewer-container .file-info .file-modified{color:#777}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .download-button{margin:0}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .openwith-button{display:none}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .openwith-dropdown{width:auto;display:none;font-size:13px;line-height:normal}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .split-button .button-elm.main-button{display:inline-block}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .split-button .button-elm.more-button{display:none}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .split-button.shown{display:block}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .split-button.split{float:right;margin:0 8px 0 0}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .split-button.split .button-elm{margin:0;float:left}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .split-button.split .button-elm.main-button{display:inline-block;-webkit-border-top-right-radius:0;-ms-border-top-right-radius:0;-o-border-top-right-radius:0;border-top-right-radius:0;-webkit-border-bottom-right-radius:0;-ms-border-bottom-right-radius:0;-o-border-bottom-right-radius:0;border-bottom-right-radius:0}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .split-button.split .button-elm.more-button{display:inline-block;padding:6px 8px;border-left:0;-webkit-border-top-left-radius:0;-ms-border-top-left-radius:0;-o-border-top-left-radius:0;border-top-left-radius:0;-webkit-border-bottom-left-radius:0;-ms-border-bottom-left-radius:0;-o-border-bottom-left-radius:0;border-bottom-left-radius:0}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .split-button.shown{display:inline-block}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .split-button.split{float:none;margin:0}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .split-button.split .button-elm{float:none}#file-viewer.no-preview #file-viewer-container .file-info .file-actions .split-button.split .button-elm.more-button{padding:3px 8px}#file-viewer .open-with-onboarding-tooltip{color:#fff;font-size:13px;line-height:normal;padding:0px;text-align:left;width:auto}#file-viewer .open-with-onboarding-tooltip li{padding:16px}#file-viewer .open-with-onboarding-tooltip li img{float:left}#file-viewer .open-with-onboarding-tooltip li .content-wrapper{display:table-cell;vertical-align:middle}#file-viewer .open-with-onboarding-tooltip li .text-wrapper{float:left;line-height:20px;margin-left:8px;width:200px}#file-viewer .open-with-onboarding-tooltip li .text-wrapper .tooltip-new{font-weight:bold}#file-viewer .open-with-onboarding-tooltip li .dismiss-button{background:#000;color:#fff;float:left;font-weight:200;margin-left:20px;margin-top:3px;padding:3px 15px}#file-viewer .open-with-onboarding-tooltip li .dismiss-button:focus{background:#fff;border:1px solid #bbb;color:#000}#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.doc-preview #file-viewer-container,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.html-preview #file-viewer-container,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.htmlified-preview #file-viewer-container,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.adobecs-preview #file-viewer-container,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.photo-preview #file-viewer-container{left:0;margin-left:0;width:100%;top:0;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;max-height:none}#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.doc-preview #file-viewer-container .title-bar,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.html-preview #file-viewer-container .title-bar,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.htmlified-preview #file-viewer-container .title-bar,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.adobecs-preview #file-viewer-container .title-bar,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.photo-preview #file-viewer-container .title-bar{border-bottom:1px solid #e5e5e5}#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.doc-preview #file-viewer-container .preview,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.html-preview #file-viewer-container .preview,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.htmlified-preview #file-viewer-container .preview,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.adobecs-preview #file-viewer-container .preview,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.photo-preview #file-viewer-container .preview{left:0;right:0;height:auto;top:51px;bottom:0;position:absolute}#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.doc-preview #file-viewer-container .preview.rams-fullscreen,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.html-preview #file-viewer-container .preview.rams-fullscreen,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.htmlified-preview #file-viewer-container .preview.rams-fullscreen,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.adobecs-preview #file-viewer-container .preview.rams-fullscreen,#file-viewer[data-docpreview-ui-rams-enabled='True'].has-preview.photo-preview #file-viewer-container .preview.rams-fullscreen{top:0;z-index:601}#file-viewer[data-docpreview-quality-popup-enabled='True'].has-preview.doc-preview .preview{position:relative}@-webkit-keyframes icondown{0%{-webkit-transform:translateY(-8px) rotate(8deg)}100%{-webkit-transform:translateY(0) rotate(0)}}@-webkit-keyframes iconup{0%{-webkit-transform:translateY(8px) rotate(-8deg)}100%{-webkit-transform:translateY(0) rotate(0)}}@-webkit-keyframes fadein{0%{opacity:0}100%{opacity:1}}@-moz-keyframes icondown{0%{-moz-transform:translateY(-8px) rotate(8deg)}100%{-moz-transform:translateY(0) rotate(0)}}@-moz-keyframes iconup{0%{-moz-transform:translateY(8px) rotate(-8deg)}100%{-moz-transform:translateY(0) rotate(0)}}@-moz-keyframes fadein{0%{opacity:0}100%{opacity:1}}@keyframes icondown{0%{transform:translateY(-8px) rotate(8deg)}100%{transform:translateY(0) rotate(0)}}@keyframes iconup{0%{transform:translateY(8px) rotate(-8deg)}100%{transform:translateY(0) rotate(0)}}@keyframes fadein{0%{opacity:0}100%{opacity:1}}#drag-status.rotatein .icon0,#drag-status .icon2{-webkit-animation:icondown 0.6s ease-out 0s 1;-moz-animation:icondown 0.6s ease-out 0s 1;animation:icondown 0.6s ease-out 0s 1}#drag-status.rotatein .icon1,#drag-status .icon3{-webkit-animation:iconup 0.6s ease-out 0s 1;-moz-animation:iconup 0.6s ease-out 0s 1;animation:iconup 0.6s ease-out 0s 1}#drag-status.fadein{-webkit-animation:fadein 0.6s ease-out 0s 1;-moz-animation:fadein 0.6s ease-out 0s 1;animation:fadein 0.6s ease-out 0s 1}.twofactor-login-form .loading-wheel,.twofactor-account-form .loading-wheel{display:none}.twofactor-login-form.loading .loading-wheel,.twofactor-account-form.loading .loading-wheel{display:inline}.twofactor-login-form.resending #resend-link,.twofactor-account-form.resending #resend-link{color:#999}.twofactor-login-form.resending #resend-link:hover,.twofactor-account-form.resending #resend-link:hover{text-decoration:none}.twofactor-login-form{width:310px;margin:50px auto}.twofactor-login-form #twofactor-title{font-size:20px;font-weight:600}.twofactor-login-form #twofactor-title .sprite{margin:0 6px -8px 0}.twofactor-login-form #desc{margin:10px 0 20px 0}.twofactor-login-form .sick-input{display:inline-block}.twofactor-login-form .sick-input label{font-size:15px;height:17px}.twofactor-login-form .sick-input input{font-size:15px;width:160px;height:20px}.twofactor-login-form .error-message{font-size:13px;margin-bottom:6px}.twofactor-login-form .last-four-digits{font-weight:600}.twofactor-login-form .freshbutton-blue{float:right;font-size:15px;padding:5px 16px;margin-top:-1px}.twofactor-login-form #trusted-div{margin:12px 0 15px 0;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.twofactor-login-form #trusted-div label{cursor:pointer}.twofactor-login-form #trusted-div input{margin:0 5px 0 0}.twofactor-login-form #resend-p{margin-bottom:5px}.twofactor-login-form .lost_phone{white-space:nowrap}.twofactor-login-form#twofactor-recover .sick-input input{width:297px}.twofactor-login-form#twofactor-recover #recover-footer{margin-top:10px}.twofactor-login-form#twofactor-recover .link-spacer{margin-bottom:5px}.twofactor-login-form#twofactor-recover #code-field{margin-bottom:9px}.twofactor-login-form#twofactor-recover .freshbutton-blue{float:none;margin:0 0 10px 0}.twofactor-account-form strong,.twofactor-account-form #phone-number-placeholder{color:black;font-weight:600}.twofactor-account-form .subtitle{margin-bottom:5px}.twofactor-account-form #phone-number-description,.twofactor-account-form #backup-phone-number-description{margin:-4px 0 14px;line-height:1.45em}.twofactor-account-form .sick-input{display:inline}.twofactor-account-form .sick-input label{font-size:12px;top:3px}.twofactor-account-form .sick-input input{font-size:12px;height:17px;margin-right:8px}.twofactor-account-form .freshbutton-blue,.twofactor-account-form .freshbutton{font-size:12px;padding:5px 16px 4px 16px;margin:0}.twofactor-account-form .align-right{text-align:right;margin-right:0px}.twofactor-account-form .error-message{font-size:12px;display:inline-block}.twofactor-account-form .loading-wheel{margin-bottom:-3px}.twofactor-account-form .learn-more,.twofactor-account-form .backbutton{display:block;float:left}.twofactor-account-form div.back-next img,.twofactor-account-form div.modal-buttons img{margin-top:7px;float:right}.twofactor-account-form input[type=submit]{float:right}.twofactor-account-form .input-row{margin-top:15px;margin-bottom:20px;position:relative}.twofactor-account-form .back-next{min-width:50px;text-align:right}#generate-new-recovery-code{margin-right:4px}#twofactor-start #safebox{text-align:center}#twofactor-start #safebox img{margin-top:10px}#twofactor-start .freshbutton-blue{margin-top:-4px}#twofactor-start .sick-input label{top:3px}#twofactor-enter-password #password-field,#twofactor-disable-enter-password #password-field{display:inline-block;margin-right:5px}#twofactor-enter-password #password-field input,#twofactor-disable-enter-password #password-field input{width:180px}#twofactor-enter-phone .texter-widget,#twofactor-enter-backup-phone .texter-widget{position:relative}#twofactor-enter-phone .texter-widget .styled-select,#twofactor-enter-backup-phone .texter-widget .styled-select{width:155px;display:inline;position:relative;overflow:hidden;margin-right:8px}#twofactor-enter-phone .texter-widget .styled-select #country-code,#twofactor-enter-backup-phone .texter-widget .styled-select #country-code{width:155px;background:transparent;white-space:nowrap;padding:5px;font-size:12px;height:30px;border:1px solid #BFBFBF}#twofactor-enter-phone .texter-widget .phone-input-background,#twofactor-enter-backup-phone .texter-widget .phone-input-background{position:absolute;background-image:url("/static/images/black_phone_icon-vflaxYjcX.png");background-size:11px 17px;background-repeat:no-repeat;background-position:0px 0px;top:6px;left:173px;height:17px;width:11px;z-index:10;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4}#twofactor-enter-phone .texter-widget #phone-number-field label,#twofactor-enter-phone .texter-widget #backup-phone-number-field label,#twofactor-enter-backup-phone .texter-widget #phone-number-field label,#twofactor-enter-backup-phone .texter-widget #backup-phone-number-field label{left:32px;top:-2px}#twofactor-enter-phone .texter-widget #phone-number-field input,#twofactor-enter-phone .texter-widget #backup-phone-number-field input,#twofactor-enter-backup-phone .texter-widget #phone-number-field input,#twofactor-enter-backup-phone .texter-widget #backup-phone-number-field input{padding-left:28px;width:170px}#twofactor-enter-phone .phone-number-error,#twofactor-enter-backup-phone .phone-number-error{display:none}.add-flow #twofactor-backup-next{display:none}#twofactor-backup-save{display:none}.add-flow #twofactor-backup-save{display:block}#twofactor-delivery-choice .delivery-choice{display:inline-block;zoom:1;width:235px;position:relative;margin-bottom:30px;padding:8px 15px;border:1px solid #d2e5f5;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#twofactor-delivery-choice .delivery-choice#sms-choice{float:left}#twofactor-delivery-choice .delivery-choice#app-choice{float:right}#twofactor-delivery-choice .delivery-choice.selected{background-color:#d2e5f5}#twofactor-delivery-choice .delivery-choice label{display:block;line-height:1.4em;padding-left:27px}#twofactor-delivery-choice .delivery-choice input{position:absolute;top:40%;margin:0}#twofactor-delivery-choice .error-message,#twofactor-delivery-choice .back-next{clear:both}#twofactor-delivery-choice .loading-wheel{margin-right:8px}#twofactor-offline-setup #hide-qr-span,#twofactor-offline-setup #qr-div{display:none}#twofactor-offline-setup #secret-div{text-align:center;font-size:20px;font-weight:600;margin:25px 0 20px 0}#twofactor-offline-setup p{margin:0;padding:0}#twofactor-offline-setup .desc{margin-bottom:10px}#twofactor-offline-setup .blue-bullets li{background:url("/static/images/icons/bullet_blue-vfleICrKj.gif") no-repeat 0px 3px}#twofactor-offline-setup #qr-div{text-align:center;margin:30px 0 20px 0}#twofactor-offline-setup.showing-qr #show-qr-span,#twofactor-offline-setup.showing-qr #secret-div{display:none}#twofactor-offline-setup.showing-qr #hide-qr-span{display:inline}#twofactor-offline-setup.showing-qr #qr-div{display:block}#twofactor-enable-confirm .sick-input label{top:-1px}#twofactor-enable-confirm .sick-input input{width:170px}#twofactor-enable-confirm #resend-link{font-size:12px;margin-right:10px}#twofactor-enable-confirm .error-message{margin-left:10px}#twofactor-enable-confirm #confirm-offline{display:none}#twofactor-enable-confirm.offline #confirm-offline{display:block}#twofactor-enable-confirm.offline #confirm-sms{display:none}#twofactor-enable-confirm.offline #resend-link{display:none}#twofactor-recovery .delivery-label,#twofactor-recovery-edit .delivery-label{font-weight:bold;color:#000;margin-bottom:12px}#twofactor-recovery .confirm-phones-outer,#twofactor-recovery-edit .confirm-phones-outer{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;width:100%}#twofactor-recovery .confirm-phones-inner,#twofactor-recovery-edit .confirm-phones-inner{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;width:50%}#twofactor-recovery .confirm-phone-label,#twofactor-recovery-edit .confirm-phone-label{display:block;color:#999;margin-bottom:-3px}#twofactor-recovery .confirm-phone-number,#twofactor-recovery-edit .confirm-phone-number{display:block;margin-bottom:20px}#twofactor-recovery .redbox,#twofactor-recovery-edit .redbox{padding:10px 15px;color:#ac0606;font-color:#ac0606;background-color:#fee5e9;border:1px solid #f39eaa;margin-bottom:20px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#twofactor-recovery .redbox p,#twofactor-recovery-edit .redbox p{margin:0;padding:0}#twofactor-recovery .redbox .desc,#twofactor-recovery-edit .redbox .desc{font-weight:600}#twofactor-recovery .redbox #backup-code-div,#twofactor-recovery .redbox #backup-code-div-edit,#twofactor-recovery-edit .redbox #backup-code-div,#twofactor-recovery-edit .redbox #backup-code-div-edit{color:#000;text-align:center;font-size:20px;font-weight:600;margin:15px 0 6px 0}#twofactor-recovery .redbox .sub-desc,#twofactor-recovery-edit .redbox .sub-desc{text-align:center;margin-bottom:3px}#twofactor-recovery .loading-wheel,#twofactor-recovery-edit .loading-wheel{margin-right:8px}#twofactor-recovery .display-for-edit,#twofactor-recovery-edit .display-for-edit{display:none}#twofactor-recovery.edit-mode .display-for-edit,#twofactor-recovery-edit.edit-mode .display-for-edit{display:inline}#twofactor-recovery.edit-mode .hide-for-edit,#twofactor-recovery-edit.edit-mode .hide-for-edit{display:none}#twofactor-disable .loading-wheel{margin-right:8px}.sms .app_desc,#resend-p,.sms_desc,.backup.sms .sms_desc,.backup_desc{display:none}.app_desc,.sms #resend-p,.sms .sms_desc,.backup .backup_desc{display:block}@-moz-document url-prefix(){.twofactor-login-form .sick-input input{height:23px}.twofactor-account-form .sick-input input{height:19px}#twofactor-enable-confirm .sick-input label{top:-2px}}.db-error-bubble{position:absolute;border:1px solid #d58a8a;background-color:#fff4f4;z-index:1;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:7px 5px 7px 5px;top:1px;color:red;font-size:13px;line-height:18px;white-space:nowrap}.db-error-bubble.db-left-arrow{margin-left:6px}.db-error-bubble.db-left-arrow .db-arrow-border{position:absolute;border:7px solid transparent;margin:-7px;height:0;width:0;pointer-events:none;border-right-color:#d58a8a;border-right-width:7px;margin-right:0;border-left-width:0;border-left-style:dashed;margin-left:0;right:100%;top:50%}.db-error-bubble.db-left-arrow .db-arrow{position:absolute;border:6px solid transparent;margin:-6px;height:0;width:0;pointer-events:none;border-right-color:#fff4f4;border-right-width:6px;margin-right:0;border-left-width:0;border-left-style:dashed;margin-left:0;right:100%;top:50%}.db-error-bubble.db-right-arrow{margin-right:6px}.db-error-bubble.db-right-arrow .db-arrow-border{position:absolute;border:7px solid transparent;margin:-7px;height:0;width:0;pointer-events:none;border-left-color:#d58a8a;border-left-width:7px;margin-left:0;border-right-width:0;border-right-style:dashed;margin-right:0;left:100%;top:50%}.db-error-bubble.db-right-arrow .db-arrow{position:absolute;border:6px solid transparent;margin:-6px;height:0;width:0;pointer-events:none;border-left-color:#fff4f4;border-left-width:6px;margin-left:0;border-right-width:0;border-right-style:dashed;margin-right:0;left:100%;top:50%}.db-error-bubble.db-left-arrow{left:100%}.db-error-bubble.db-right-arrow{right:100%}.db-error-bubble .error-message{color:#d58a8a;font-size:inherit;line-height:inherit}.db-bubble,.db-info-bubble{position:absolute;border:1px solid #35A0E7;background-color:#fff;z-index:1;box-shadow:0px 1px 5px #b8b8b8,inset 0 0 0 #000;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;padding:10px}.db-bubble.db-top-arrow,.db-top-arrow.db-info-bubble{margin-top:13px}.db-bubble.db-top-arrow .db-arrow-border,.db-top-arrow.db-info-bubble .db-arrow-border{position:absolute;border:8px solid transparent;margin:-8px;height:0;width:0;pointer-events:none;border-bottom-color:#35A0E7;border-bottom-width:14px;margin-bottom:0;border-top-width:0;border-top-style:dashed;margin-top:0;bottom:100%;left:50%}.db-bubble.db-top-arrow .db-arrow,.db-top-arrow.db-info-bubble .db-arrow{position:absolute;border:7px solid transparent;margin:-7px;height:0;width:0;pointer-events:none;border-bottom-color:#fff;border-bottom-width:12px;margin-bottom:0;border-top-width:0;border-top-style:dashed;margin-top:0;bottom:100%;left:50%}.db-bubble.db-left-arrow,.db-left-arrow.db-info-bubble{margin-left:13px}.db-bubble.db-left-arrow .db-arrow-border,.db-left-arrow.db-info-bubble .db-arrow-border{position:absolute;border:8px solid transparent;margin:-8px;height:0;width:0;pointer-events:none;border-right-color:#35A0E7;border-right-width:14px;margin-right:0;border-left-width:0;border-left-style:dashed;margin-left:0;right:100%;top:50%}.db-bubble.db-left-arrow .db-arrow,.db-left-arrow.db-info-bubble .db-arrow{position:absolute;border:7px solid transparent;margin:-7px;height:0;width:0;pointer-events:none;border-right-color:#fff;border-right-width:12px;margin-right:0;border-left-width:0;border-left-style:dashed;margin-left:0;right:100%;top:50%}.db-bubble.db-bottom-arrow,.db-bottom-arrow.db-info-bubble{margin-bottom:13px}.db-bubble.db-bottom-arrow .db-arrow-border,.db-bottom-arrow.db-info-bubble .db-arrow-border{position:absolute;border:8px solid transparent;margin:-8px;height:0;width:0;pointer-events:none;border-top-color:#35A0E7;border-top-width:14px;margin-top:0;border-bottom-width:0;border-bottom-style:dashed;margin-bottom:0;top:100%;left:50%}.db-bubble.db-bottom-arrow .db-arrow,.db-bottom-arrow.db-info-bubble .db-arrow{position:absolute;border:7px solid transparent;margin:-7px;height:0;width:0;pointer-events:none;border-top-color:#fff;border-top-width:12px;margin-top:0;border-bottom-width:0;border-bottom-style:dashed;margin-bottom:0;top:100%;left:50%}.db-bubble.db-right-arrow,.db-right-arrow.db-info-bubble{margin-right:13px}.db-bubble.db-right-arrow .db-arrow-border,.db-right-arrow.db-info-bubble .db-arrow-border{position:absolute;border:8px solid transparent;margin:-8px;height:0;width:0;pointer-events:none;border-left-color:#35A0E7;border-left-width:14px;margin-left:0;border-right-width:0;border-right-style:dashed;margin-right:0;left:100%;top:50%}.db-bubble.db-right-arrow .db-arrow,.db-right-arrow.db-info-bubble .db-arrow{position:absolute;border:7px solid transparent;margin:-7px;height:0;width:0;pointer-events:none;border-left-color:#fff;border-left-width:12px;margin-left:0;border-right-width:0;border-right-style:dashed;margin-right:0;left:100%;top:50%}.db-tutorial-bubble{position:absolute;border:1px solid #35A0E7;background-color:#fbfdff;z-index:1;box-shadow:0px 1px 5px #b8b8b8,inset 0 0 0 #000;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:9px 15px 9px 11px}.db-tutorial-bubble.db-top-arrow{margin-top:13px}.db-tutorial-bubble.db-top-arrow .db-arrow-border{position:absolute;border:8px solid transparent;margin:-8px;height:0;width:0;pointer-events:none;border-bottom-color:#35A0E7;border-bottom-width:14px;margin-bottom:0;border-top-width:0;border-top-style:dashed;margin-top:0;bottom:100%;left:50%}.db-tutorial-bubble.db-top-arrow .db-arrow{position:absolute;border:7px solid transparent;margin:-7px;height:0;width:0;pointer-events:none;border-bottom-color:#fbfdff;border-bottom-width:12px;margin-bottom:0;border-top-width:0;border-top-style:dashed;margin-top:0;bottom:100%;left:50%}.db-tutorial-bubble.db-left-arrow{margin-left:13px}.db-tutorial-bubble.db-left-arrow .db-arrow-border{position:absolute;border:8px solid transparent;margin:-8px;height:0;width:0;pointer-events:none;border-right-color:#35A0E7;border-right-width:14px;margin-right:0;border-left-width:0;border-left-style:dashed;margin-left:0;right:100%;top:50%}.db-tutorial-bubble.db-left-arrow .db-arrow{position:absolute;border:7px solid transparent;margin:-7px;height:0;width:0;pointer-events:none;border-right-color:#fbfdff;border-right-width:12px;margin-right:0;border-left-width:0;border-left-style:dashed;margin-left:0;right:100%;top:50%}.db-tutorial-bubble.db-bottom-arrow{margin-bottom:13px}.db-tutorial-bubble.db-bottom-arrow .db-arrow-border{position:absolute;border:8px solid transparent;margin:-8px;height:0;width:0;pointer-events:none;border-top-color:#35A0E7;border-top-width:14px;margin-top:0;border-bottom-width:0;border-bottom-style:dashed;margin-bottom:0;top:100%;left:50%}.db-tutorial-bubble.db-bottom-arrow .db-arrow{position:absolute;border:7px solid transparent;margin:-7px;height:0;width:0;pointer-events:none;border-top-color:#fbfdff;border-top-width:12px;margin-top:0;border-bottom-width:0;border-bottom-style:dashed;margin-bottom:0;top:100%;left:50%}.db-tutorial-bubble.db-right-arrow{margin-right:13px}.db-tutorial-bubble.db-right-arrow .db-arrow-border{position:absolute;border:8px solid transparent;margin:-8px;height:0;width:0;pointer-events:none;border-left-color:#35A0E7;border-left-width:14px;margin-left:0;border-right-width:0;border-right-style:dashed;margin-right:0;left:100%;top:50%}.db-tutorial-bubble.db-right-arrow .db-arrow{position:absolute;border:7px solid transparent;margin:-7px;height:0;width:0;pointer-events:none;border-left-color:#fbfdff;border-left-width:12px;margin-left:0;border-right-width:0;border-right-style:dashed;margin-right:0;left:100%;top:50%}.db-tutorial-bubble.db-top-arrow#add_files_get_started_action_bubble .db-arrow-border,.db-tutorial-bubble.db-top-arrow#add_files_get_started_action_bubble .db-arrow{left:75%}.db-password-bubble{position:absolute;border:1px solid #ccc;background-color:#fff;z-index:1;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:10px;width:120px;font-size:13px}.db-password-bubble.db-left-arrow{margin-left:8px}.db-password-bubble.db-left-arrow .db-arrow-border{position:absolute;border:9px solid transparent;margin:-9px;height:0;width:0;pointer-events:none;border-right-color:#ccc;border-right-width:9px;margin-right:0;border-left-width:0;border-left-style:dashed;margin-left:0;right:100%;top:50%}.db-password-bubble.db-left-arrow .db-arrow{position:absolute;border:8px solid transparent;margin:-8px;height:0;width:0;pointer-events:none;border-right-color:#fff;border-right-width:8px;margin-right:0;border-left-width:0;border-left-style:dashed;margin-left:0;right:100%;top:50%}.db-password-bubble .password-bubble-title{color:#007ee5}.db-password-bubble .password-bubble-desc{font-size:13px}html.animated-index-page{height:100%}html.animated-index-page body{height:100%;width:100%}html.animated-index-page body.ja .sign-in-modal #modal-box #modal-content #login-partial #login-footer #login_submit,html.animated-index-page body.zh_TW .sign-in-modal #modal-box #modal-content #login-partial #login-footer #login_submit,html.animated-index-page body.zh_CN .sign-in-modal #modal-box #modal-content #login-partial #login-footer #login_submit{font-weight:300}html.animated-index-page body.ja #outer-frame #page-content .top #signup-container .login-form-container.register.small .register-form,html.animated-index-page body.ja #outer-frame #page-content .top #signup-container #sign-in a,html.animated-index-page body.ja #outer-frame #page-content .bottom .buttons .call-to-action,html.animated-index-page body.ja #outer-frame #page-content .freshbutton-blue,html.animated-index-page body.zh_TW #outer-frame #page-content .top #signup-container .login-form-container.register.small .register-form,html.animated-index-page body.zh_TW #outer-frame #page-content .top #signup-container #sign-in a,html.animated-index-page body.zh_TW #outer-frame #page-content .bottom .buttons .call-to-action,html.animated-index-page body.zh_TW #outer-frame #page-content .freshbutton-blue,html.animated-index-page body.zh_CN #outer-frame #page-content .top #signup-container .login-form-container.register.small .register-form,html.animated-index-page body.zh_CN #outer-frame #page-content .top #signup-container #sign-in a,html.animated-index-page body.zh_CN #outer-frame #page-content .bottom .buttons .call-to-action,html.animated-index-page body.zh_CN #outer-frame #page-content .freshbutton-blue{font-weight:300}html.animated-index-page body.gecko #outer-frame #page-content .bottom .content,html.animated-index-page body.gecko #outer-frame #page-content .footer{font-weight:normal}html.animated-index-page body #top-notification-bar-container{position:relative;z-index:100}html.animated-index-page body #page-header{margin:0 auto;width:882px;padding:0 54px;height:0;overflow:visible;position:relative;z-index:99;padding-top:30px}html.animated-index-page body #page-header .dfb-link{float:left;margin-left:-42px}html.animated-index-page body #page-header .dfb-link .icon-left{padding-right:8px}html.animated-index-page body #page-header .dfb-link .sprite{margin-top:1px}html.animated-index-page body #page-header .downloading-link{float:right}html.animated-index-page body #page-header a{color:#91a8ba;font-size:14px}html.animated-index-page body #outer-frame{height:100%;width:100%}html.animated-index-page body #outer-frame #page-content{height:100%;width:100%;padding:0;position:relative;-webkit-transition:all 0.2s ease-in-out 0s;-moz-transition:all 0.2s ease-in-out 0s;transition:all 0.2s ease-in-out 0s}html.animated-index-page body #outer-frame #page-content .top{position:relative;height:100%;min-height:650px;margin:0 auto;width:882px;padding:0 54px}html.animated-index-page body #outer-frame #page-content .top #locale-container-index-page{z-index:10}html.animated-index-page body #outer-frame #page-content .top #locale-container-index-page img{vertical-align:middle}html.animated-index-page body #outer-frame #page-content .top #locale-container-index-page.top-left-small{position:relative;float:left;margin-top:27px}html.animated-index-page body #outer-frame #page-content .top #locale-container-index-page.bottom-right-small{position:absolute;bottom:50px;right:30px}html.animated-index-page body #outer-frame #page-content .top #locale-container-index-page.top-left-large{position:relative;float:left;margin-top:22px}html.animated-index-page body #outer-frame #page-content .top #locale-container-index-page.bottom-right-large{position:absolute;bottom:45px;right:30px}html.animated-index-page body #outer-frame #page-content .top #locale-container-index-page .locale-selector-arrow{margin-left:2px}html.animated-index-page body #outer-frame #page-content .top .devices{width:444px;height:460px;position:absolute;top:50%;left:64px;margin-top:-230px;overflow:hidden}html.animated-index-page body #outer-frame #page-content .top .devices .photo{margin:0}html.animated-index-page body #outer-frame #page-content .top .devices .comp,html.animated-index-page body #outer-frame #page-content .top .devices .tablet,html.animated-index-page body #outer-frame #page-content .top .devices .phone{position:absolute;display:none}html.animated-index-page body #outer-frame #page-content .top .devices .comp img,html.animated-index-page body #outer-frame #page-content .top .devices .tablet img,html.animated-index-page body #outer-frame #page-content .top .devices .phone img{position:relative;z-index:3}html.animated-index-page body #outer-frame #page-content .top .devices .comp svg,html.animated-index-page body #outer-frame #page-content .top .devices .tablet svg,html.animated-index-page body #outer-frame #page-content .top .devices .phone svg{z-index:4;position:absolute;left:0;top:0}html.animated-index-page body #outer-frame #page-content .top .devices .comp{left:100px;top:40px}html.animated-index-page body #outer-frame #page-content .top .devices .comp.doc{top:45px}html.animated-index-page body #outer-frame #page-content .top .devices .tablet{left:24px;top:265px}html.animated-index-page body #outer-frame #page-content .top .devices .tablet.graph img{-webkit-transform:rotateX(0deg)}html.animated-index-page body #outer-frame #page-content .top .devices .tablet.graph .graph-bg{position:absolute;z-index:1;top:0;left:0}html.animated-index-page body #outer-frame #page-content .top .devices .tablet.graph .graph-grid{position:absolute;z-index:2;top:27px;left:58px}html.animated-index-page body #outer-frame #page-content .top .devices .tablet.photo{left:23px;top:262px}html.animated-index-page body #outer-frame #page-content .top .devices .phone{left:338px;top:243px}html.animated-index-page body #outer-frame #page-content .top .devices .phone.photo{overflow:hidden;width:74px;height:76px}html.animated-index-page body #outer-frame #page-content .top .devices .phone.photo .photo-flash{display:none;position:absolute;top:-10px;left:-6px;z-index:5}html.animated-index-page body #outer-frame #page-content .top .devices #devices-background{position:relative;z-index:6}html.animated-index-page body #outer-frame #page-content .top #signup-container{text-align:center;position:absolute;top:50%;right:54px;width:456px;z-index:7}html.animated-index-page body #outer-frame #page-content .top #signup-container .subtitle{font-size:30px;color:#33536d;margin:11px 0 24px;line-height:41px}html.animated-index-page body #outer-frame #page-content .top #signup-container .tagline{color:#33536d;font-size:16px;width:330px;margin:15px auto 20px;display:block;line-height:25px}html.animated-index-page body #outer-frame #page-content .top #signup-container{margin-top:-149px}html.animated-index-page body #outer-frame #page-content .top #signup-container.form_shown{margin-top:-245px}html.animated-index-page body #outer-frame #page-content .top #signup-container #sign-in{margin-top:16px;font-size:14px;color:#c3c3c3;line-height:19px}html.animated-index-page body #outer-frame #page-content .top #signup-container #sign-in a{margin-right:9px}html.animated-index-page body #outer-frame #page-content .top #learn-more{position:absolute;bottom:50px;left:0;width:100%;text-align:center;cursor:pointer}html.animated-index-page body #outer-frame #page-content .top #learn-more a{text-decoration:none;font-size:14px;color:#91a8ba}html.animated-index-page body #outer-frame #page-content .top #learn-more img{width:9px;height:6px}html.animated-index-page body #outer-frame #page-content #divider{border-top:1px solid #a0afbb;margin:0 auto;min-width:990px}html.animated-index-page body #outer-frame #page-content .bottom{position:relative;margin:0 auto;width:882px;padding:0 54px;height:100%;min-height:1650px}html.animated-index-page body #outer-frame #page-content .bottom .headline{margin:0;font-size:30px;color:#222;padding-top:50px}html.animated-index-page body #outer-frame #page-content .bottom .deck{margin:0;font-size:20px;color:#c3c3c3;padding-top:12px}html.animated-index-page body #outer-frame #page-content .bottom .content{width:840px;margin:0 auto;margin-top:120px}html.animated-index-page body #outer-frame #page-content .bottom .content p{padding:0;margin:0}html.animated-index-page body #outer-frame #page-content .bottom .content .bullet-0 img{padding-right:80px;margin-top:-30px}html.animated-index-page body #outer-frame #page-content .bottom .content .bullet-1 img{padding-left:70px;margin-top:-34px}html.animated-index-page body #outer-frame #page-content .bottom .content .bullet-2 img{padding-right:94px;margin-top:-20px}html.animated-index-page body #outer-frame #page-content .bottom .content .bullet-3 img{margin-top:-20px;padding-left:30px}html.animated-index-page body #outer-frame #page-content .bottom .content .bullet-0 .bullet-image,html.animated-index-page body #outer-frame #page-content .bottom .content .bullet-2 .bullet-image{float:right}html.animated-index-page body #outer-frame #page-content .bottom .content .bullet-0 .bullet-content,html.animated-index-page body #outer-frame #page-content .bottom .content .bullet-2 .bullet-content{float:left}html.animated-index-page body #outer-frame #page-content .bottom .content .bullet-1 .bullet-image,html.animated-index-page body #outer-frame #page-content .bottom .content .bullet-3 .bullet-image{float:left}html.animated-index-page body #outer-frame #page-content .bottom .content .bullet-1 .bullet-content,html.animated-index-page body #outer-frame #page-content .bottom .content .bullet-3 .bullet-content{float:right}html.animated-index-page body #outer-frame #page-content .bottom .content .bullet{margin-bottom:154px;clear:both}html.animated-index-page body #outer-frame #page-content .bottom .content .bullet .bullet-content{width:420px}html.animated-index-page body #outer-frame #page-content .bottom .content .bullet .bullet-content .subline{font-size:30px;color:#33536d}html.animated-index-page body #outer-frame #page-content .bottom .content .bullet .bullet-content .description{padding-top:10px;font-size:16px;color:#748796;line-height:1.875em;font-weight:300}html.animated-index-page body #outer-frame #page-content .bottom .buttons{text-align:center}html.animated-index-page body #outer-frame #page-content .bottom .buttons .call-to-action{width:208px;height:18px;font-size:14px;font-weight:normal;padding:15px 0px;margin:0 5px}html.animated-index-page body #outer-frame #page-content .bottom .buttons .call-to-action.freshbutton-silver{color:#666}html.animated-index-page body #outer-frame #page-content .footer{padding-top:60px;width:100%;text-align:center}html.animated-index-page body #outer-frame #page-content .footer a{padding:0 20px 20px;color:#91a8ba;font-size:12px;font-weight:300;text-decoration:none;white-space:nowrap}html.animated-index-page body #outer-frame #page-content .footer a:hover{text-decoration:underline}.db-password-meter{position:absolute;top:50%;right:1px;padding:5px;margin-top:-16px}.db-password-meter .db-password-dot{height:3px;width:4px;margin:2px;background-color:#cce6f9}.top-nav{float:left;padding:0;margin:0 0 0 -30px;list-style:none}.top-nav li{display:inline-block;margin-left:50px}.top-nav li:first-child{margin-left:0}.sign-in-form-promo{border-top:1px solid #e5e5e5;margin:15px -32px -15px -32px;padding:15px 32px 0 32px;text-align:center}.dialog-menu,.chat-bubble,.chat-bubble-bottom{position:relative;padding:20px;background:#fff;border-radius:5px;background-clip:padding-box}.chat-bubble{box-shadow:0px 1px 2px rgba(0,0,0,0.1)}.chat-bubble,.chat-bubble-bottom{border:1px solid rgba(61,70,77,0.1)}.chat-bubble li.subheader{font-size:11px;border-top:1px solid #edf1f5;color:#999;text-transform:uppercase}.chat-bubble li.subheader span{padding:5px 8px 0px 8px;display:block;height:18px}.dialog-menu{border:1px solid #79bcea;border-top:none;border-top-right-radius:0;border-top-left-radius:0;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none}.chat-bubble-arrow-border{border-color:transparent transparent rgba(61,70,77,0.1) transparent;border-style:solid;border-width:9px;height:0;width:0;position:absolute;top:-19px;right:30px}.chat-bubble-arrow-border.black{border-color:transparent transparent #fff transparent}.chat-bubble-arrow{border-color:transparent transparent #fff transparent;border-style:solid;border-width:9px;height:0;width:0;position:absolute;top:-17px;right:30px}.chat-bubble-arrow.black{border-color:transparent transparent #000 transparent}.chat-bubble-bottom .chat-bubble-arrow-border{border-color:rgba(61,70,77,0.1) transparent transparent transparent;top:auto;bottom:-19px}.chat-bubble-bottom .chat-bubble-arrow-border.black{border-color:#fff transparent transparent transparent}.chat-bubble-bottom .chat-bubble-arrow{border-color:#fff transparent transparent transparent;top:auto;bottom:-17px}.chat-bubble-bottom .chat-bubble-arrow.black{border-color:#000 transparent transparent transparent}.circle-avatar{position:relative;display:inline-block}.circle-avatar img{-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.banner-yellow{padding:12px;border:1px solid;background:#fffdec;border-color:#d8b877}.manage-alias #alias-desc{margin-bottom:20px;padding:0px 4px}.manage-alias #alias-list-container{background:#fff;border:1px solid #bdc4c9;height:175px;overflow:auto;padding:5px;position:relative}.manage-alias #alias-list-container::-webkit-scrollbar{-webkit-appearance:none;width:7px;height:7px}.manage-alias #alias-list-container::-webkit-scrollbar-thumb{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;background-color:rgba(0,0,0,0.5);-webkit-box-shadow:0 0 1px rgba(255,255,255,0.5)}.manage-alias #alias-list-container #alias-list{padding-bottom:45px}.manage-alias #alias-list-container #alias-list .alias-row{font-weight:600}.manage-alias #alias-list-container #alias-list .alias-row .alias-entry{width:445px}.manage-alias #alias-list-container #alias-list .alias-row .alias-action{width:100px;text-align:right}.manage-alias #alias-list-container #alias-list .alias-row .alias-action .alias-verify{float:right;margin-right:15px}.manage-alias #alias-list-container #alias-list .alias-row .alias-action .alias-remove{background-image:url("/static/images/x-vflYKfRuL.png");width:11px;height:11px;margin-top:8px;margin-right:10px;float:right}.manage-alias .action-panels-container{margin-top:25px}.manage-alias .alias-action-panel .alias-action-inputs{margin-bottom:15px}.manage-alias .alias-action-panel .alias-action-inputs .email-input{width:100%}.manage-alias .alias-action-panel .alias-action-inputs .texter-widget{position:relative}.manage-alias .alias-action-panel .alias-action-inputs .texter-widget .styled-select{width:155px;display:inline;position:relative;overflow:hidden;margin-right:8px}.manage-alias .alias-action-panel .alias-action-inputs .texter-widget .styled-select #country-code{width:155px;background:transparent;white-space:nowrap;padding:5px;font-size:12px;height:34px;border:1px solid #BFBFBF;vertical-align:top;margin-top:19px}.manage-alias .alias-action-panel .alias-action-inputs .texter-widget #phone_alias-field{display:inline}.manage-alias .alias-action-panel .alias-action-inputs .texter-widget #phone_alias-field label{left:32px;top:-2px;font-size:12px}.manage-alias .alias-action-panel .alias-action-inputs .texter-widget #phone_alias-field input{padding-left:28px;width:376px;height:18px;font-size:13px}.manage-alias .alias-action-panel .alias-action-inputs .texter-widget #phone_alias-field .sick-input{display:inline}.manage-alias .alias-action-panel .alias-action-buttons{text-align:right}.manage-alias .alias-action-panel .alias-action-buttons .alias-action{float:left;margin-right:8px}.manage-alias .alias-action-panel .alias-action-buttons a{font-weight:bold;float:left;margin-top:15px;margin-left:4px;padding:5px}.verify-email-alias-flow{width:500px;margin:0px auto}.verify-email-alias-flow .bolded,.verify-email-alias-flow b{font-weight:bold}.verify-email-alias-flow .page-header-text{margin-bottom:30px}.verify-email-alias-flow p{margin-bottom:36px}.verify-email-alias-flow #password{width:100%}.verify-email-alias-flow #submit-button{margin-top:17px;float:right}.carousel .verify-email-alias-flow{overflow:hidden;padding:60px 0;font-size:14px}.carousel .verify-email-alias-flow div.page-header-text{font-size:18px;line-height:24px;color:#2E363C;font-weight:bold}.carousel .no-password{text-align:center}.carousel .no-password button#submit-button{margin:0 auto;float:none}.media-mobile .carousel .verify-email-alias-flow{width:initial;padding:0;margin:50px 30px}.media-mobile .carousel .verify-email-alias-flow *{line-height:20px}#notify-wrapper{width:100%;height:0px;left:0;top:0;text-align:center;position:fixed;z-index:1001}#notify{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;margin:9px;padding:8px 18px;font-size:12px;display:inline-block}.server-error{background-color:#fef1f1;border:1px solid #e2a8a8;color:#D46D6D}.server-warning{background-color:#FFFAE4;border:1px solid #F4CD33;color:#C39D02}.server-success{background-color:#e8f7ed;border:1px solid #30b661;color:#1BA84E}.server-info{border:1px solid #bdc4c9;color:#aaa}.clearfix:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.clearfix{display:inline-block}html[xmlns] .clearfix{display:block}body.deferred-resources{font-family:"lucida grande","Segoe UI",arial,verdana,"lucida sans unicode",tahoma,sans-serif}body.deferred-resources input,body.deferred-resources textarea,body.deferred-resources select,body.deferred-resources button,body.deferred-resources .normal{font-family:"lucida grande","Segoe UI",arial,verdana,"lucida sans unicode",tahoma,sans-serif}body.deferred-resources .sprite_web{background-image:none}body.unselectable{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none}body.no-x-overflow{overflow-x:hidden}wbr:after{content:"​"}.textinput{border-style:none solid solid;vertical-align:middle;border:1px solid #aaa;padding:4px;color:#555;width:160px;margin:0}.register-form .textinput{width:200px}.selinput{border:1px solid #aaa;color:#555}.widesel{width:170px}:focus{outline:none}.background-icon-swapless{position:relative;padding:11px 0 0 47px !important}.background-icon{position:relative;padding:2px 0 2px 30px !important}.background-icon img,.background-icon-swapless img{position:absolute;top:3px;left:4px}.dropdown .background-icon img{top:6px;left:4px}.background-icon-swapless{display:block}div#main-container{min-height:600px;background:#fff;width:866px;margin:0 auto;padding:5px 0 0 0}#db-logo{width:37px;height:35px}#tabs-container{min-height:29px;border-bottom:1px solid #ace}#tabs{margin:0 0 0 254px;padding:0}.tab{float:left;list-style:none;margin:0 4px -1px 0;border:1px solid #ace;background-color:#f4faff}.tab a{display:block;padding:7px 11px;font-size:13px;height:17px;font-weight:bold;position:relative;border-top:1px solid #fff}.tab a:hover{text-decoration:none}.rounded_tl{position:absolute;margin:0 !important;top:-2px;left:-1px;background-color:transparent}.rounded_tr{position:absolute;margin:0 !important;top:-2px;right:-1px;background-color:transparent}.tab .tab-icon{margin:0 0 -4px 0;padding-right:5px;background-color:#f4faff}.tab.selected{background-color:#fff;border-bottom:1px solid #fff}.tab.selected a{color:#222;background-color:#fff}.tab.selected .tab-icon{background-color:#fff}.bolded{font-weight:600}.offscreen{left:-9999px}#top-login-wrapper{position:relative}#login-hover-link{position:relative;display:block;margin-right:0}#login-hover-link:hover{text-decoration:none}#login-hover-cont{width:210px;position:absolute;right:0;top:40px;z-index:3;padding-bottom:10px}#login-hover-cont .sick-input{margin-bottom:10px}#login-hover-cont #toplogin-submit{margin-bottom:20px}#login-hover-cont .create-account{clear:both;margin:20px -20px 0 -20px;padding:5px;background-color:#ebf5fd;text-align:center}#login-hover-cont .textinput{width:200px}.down #login-hover-cont,.down #login-hover-link{left:auto}#toplogin-submit{padding:4px 10px;float:right;margin-right:0}textarea.textinput{width:100%}.link-img{vertical-align:middle;background-color:#fff;margin:-2px 0 0 0;padding-right:4px;background-repeat:no-repeat}html{overflow-y:scroll}html.no-overflow{overflow:hidden}html.no-scroll{position:fixed;width:100%}* html .clearfix{height:1%}#stop-acting{float:right;margin-right:4px}#top_notifier{padding:6px;background:#E9F4FF;border-bottom:1px solid #ace;border-right:1px solid #ace;text-align:center;font-size:11px;color:#000;z-index:10;position:fixed;top:0;display:block;width:700px;border-bottom-right-radius:10px}#top_notifier a{color:#1f45cc}#top_notifier.gremo{border:0;border-bottom:1px solid #8bd183;background:#f6fcf6;margin-bottom:1em}.purchase-subtext{padding-top:11px;font-size:11px}.blank{color:#000}.blank:hover{background:#fff;text-decoration:none}.no-border{border:0}.button{background-color:#348dd3;border-color:#a3c8e9 #4379c0 #4379c0 #a3c8e9;border-style:solid;border-width:1px;color:#fff;margin:0;padding:2px 7px}.grayed{background-color:#eee;border-color:#e5e5e5 #aaa #aaa #e5e5e5;border-style:solid;border-width:1px;color:#666}.gray{color:#aaa}.blocktext{font-size:13px;line-height:1.9em}.note{color:#222;margin-top:2px;font-size:8pt;line-height:150%}.note div{display:inline}a:hover{text-decoration:underline}.fieldset{border:1px dotted #ccc;_border:1px solid #e3e3e3;margin-bottom:1em;padding:15px;font-size:12px}.fieldset p{margin:0 0 0.75em 0}legend{margin-top:-2em;font-size:12px;font-weight:bold}#flash,.flash{border:1px solid #F0DE26;margin:0 0 5px 0;background-color:#fffcc9;padding:7px;font-size:11.5px}.flash{margin-bottom:10px}#flash.fail,.flash.fail{background:#fdd;border:1px solid #e66}#flash.okay,.flash.okay{background:#e5fdd0;border:1px solid #9dd07b}div.notice p{margin:0 0 5px 10px;padding:7px}div.notice span{color:#222}div#notice-container{margin:0 10px}.lined thead{font-weight:bold}.lined th{margin:0;color:#888;padding:8px;background:url("/static/images/dots-vflPwuWRn.gif") bottom repeat-x}.lined td{padding:8px;background:url("/static/images/skinny_dots-vfldI7ERm.gif") repeat-x bottom}#floaters .bubble{width:250px}#topnav{margin:0;padding:0;margin-top:18px;display:inline;float:right}#topnav ul{display:inline;font-size:8pt;list-style:none;padding-left:0;margin:0}#topnav li{display:inline}#topnav li a{padding:8px;margin:3px;display:block;float:left;overflow:visible;text-decoration:none}#topnav li a:hover{text-decoration:underline}div#feedback textarea{width:98%;height:12em;margin:6px 0;overflow:auto}div#feedback input[type=text]{margin:6px 0}.filebrowser td{padding-bottom:20px}.empty{padding:20px;color:#ccc;font-style:italic}#dropdown{position:absolute;left:0px;top:0px;margin:0;padding:0;z-index:2}#show-more-dropdown{top:-30px}UL.dropdown,UL.dropdown li,UL.dropdown a,UL.dropdown div{margin:0;padding:0}UL.dropdown{position:absolute;list-style-type:none;background-color:#fff;border:1px solid #0078cc}UL.dropdown-lite{border:1px solid #7ad;border-top:none;background-color:#f4faff}UL.dropdown li{border:none;position:relative}UL.dropdown a{padding:6px 4px;height:16px;line-height:16px;border:0;display:block !important;white-space:nowrap;padding-right:13px}.dropdown a:hover img{background-color:#f4faff}.error-message{color:#e82110;font-size:10px}.slide{display:none}img.tb{background:#ffffff;padding:7px;margin:7px;display:inline;border:1px solid #A2A2A2}img.tb:hover{border:1px solid #000000}.border{border:1px solid #808080}.clear{clear:both}pre{overflow:auto;padding:2px;display:block;margin:1em 0}pre:hover{overflow:auto}pre.command-line:before{content:"$ "}.panel{padding:4px}a.panel:hover img{background-color:#fff}.panel a{text-decoration:underline}.right{float:right}#treeview-loading{text-align:center;padding:1em 0}.treeview.default{font-size:1em;border:1px solid #0078CC;padding:7px;position:absolute;top:-1000px;left:-1000px;background-color:#f8fcff;z-index:2}.treeview-shared-folder:hover{text-decoration:none}.inplace{background:#fff;font-size:1em;border:1px solid #e5e5e5;padding:7px;overflow:auto;height:150px}.treeview a:hover{text-decoration:none}.treeview img{margin:0px 0px -3px 2px}.treeview .item{padding:3px 0 2px 0px}.treeview .highlight,.treeview .highlight .link-img{background-color:#e3f2ff !important}.treeview .highlight a{color:#3d464d}.treeview-new-folder{padding-bottom:6px;background:url("/static/images/dots-vflPwuWRn.gif") repeat-x bottom}.outer-progress-bar{border:1px solid #aaa;padding:1px;margin:0 auto;width:200px;text-align:left}.inner-progress-bar{margin:0;padding:0;vertical-align:middle;position:relative;width:200px;height:18px}.progress-bar{width:200px;height:18px;font-size:10px;position:absolute}.under-pb{background:white;color:#222}.over-pb{background:#348DD3;color:white}.pb-percentage{position:relative;text-align:center;margin:2px auto 0 auto}#pwd_cont{vertical-align:top;padding-top:5px}.download-button{margin-left:20px}.cool-ul{list-style-type:none;margin:0;padding:0;margin-left:15px;margin-top:0;margin-bottom:15px}.cool-ul li{background:#fff url("/static/images/icons/bullet_arrow_right-vflNKOadj.gif") no-repeat 0 50%;padding-left:20px;font-size:12pt;line-height:16pt}.graybox{background-color:#ddd;border:1px solid #222;padding:5px}.space-four-right{margin-right:4px}.data-table{margin-top:2px;border-width:0;border-spacing:0}.data-table td{padding:2px;padding-right:20px}.data-table th{padding-left:2px;padding-right:20px;border-bottom:1px solid #7ad;background-color:#d6e8fa;text-align:left}.data-table tr:hover{background-color:#fafafa}.data-table-overline{border-top:1px solid #999}.data-table-num-cell{text-align:right}.no-right-pad td{padding-right:0}.no-right-pad th{padding-right:0}td blockquote,.blockquote{margin:3px 0;padding:0;background:transparent url("/static/images/icons/lquote-vfleLEP9D.png") left top no-repeat;background-color:transparent;float:left}td blockquote p{padding:0 20px;margin:0;background:transparent url("/static/images/icons/rquote-vfl_1CBoV.png") right bottom no-repeat}#spinner-loading{position:absolute;background-color:white;text-align:center;font-size:21pt;color:#616161;z-index:300}.tooltip{background-color:#F4FAFF;border:1px solid #0078cc;padding:4px;z-index:500;max-width:200px}.copy-move-overlay{background-color:black}.copy-move-text{text-align:center;cursor:default}.copy-move-text a{display:block;color:#fff;text-align:center;cursor:default;text-decoration:none}.sortable-column-header{color:#aaa;float:left;margin-bottom:0px;text-align:left;font-size:12px}.sortable-column-header span{margin-right:5px}.sortable-column-header .s_web_arrow-up-gray,.sortable-column-header .s_web_arrow-down-gray{position:relative;top:-1px}.sortable-column-header:hover{text-decoration:none}#select-all-sorter{float:left;margin-left:7px}.browse-message{margin:30px auto;font-size:8pt;color:#666;text-align:center;display:block;width:380px}.browse-message h3{font-weight:normal;font-style:italic;font-size:13px;color:#666}.payment-option{border-top:1px solid #ccc;background-color:#fff}.payment-option *{cursor:pointer}.payment-option-selected{background-color:#eff8ff}.payment-option input{vertical-align:middle}.payment-option{font-size:25pt}.plan-desc{width:240px}.payment-option .plan-desc{font-size:8pt;color:#888}.payment-option .plan-desc b{color:#222}.cc-icon{width:50px;height:30px;margin-right:8px;float:left;background-position:0 0}.cc-icon-off{background-position:50px 0}.content-tab{margin:15px 0 0 25px}#full-content .content-tab{margin:15px 25px 0 25px}.link-as-button{padding:1px 9px}.link-as-button:hover{text-decoration:none}.bar-graph{height:20px;background:#fff;padding:1px;border:1px solid #aaa}.bar-graph-part{float:left;height:20px}.bar-graph-normal{background:#348dd3}.bar-graph-shared{background:#81cbf7}.bar-graph-datastores{background:#023f70}.over .bar-graph-normal{background:#e35959}.over .bar-graph-shared{background:#fcb8b8}.over .bar-graph-datastores{background:#700202}.bar-graph-free{background:#F4FAFF}.bar-graph-key{text-align:center;margin:1em 0}.bar-graph-key span{margin:0 0 0 4em}.bar-graph-legend{padding:0 6px;border:1px solid #888}.bar-graph{background:#f4faff;border:1px solid #aeceef;position:relative}.bar-graph-normal{overflow:hidden}#white-mask{position:absolute;left:0;top:0;bottom:0;overflow:hidden}#folder-contents{padding:20px 0px;border-bottom:1px solid #83a9d0}#folder-contents table{margin:auto}.folder-contents-title{font-size:14px}.folder-contents-file-img{padding-left:20px}.folder-contents-file-desc{font-size:14px}#events{width:100%;border-collapse:collapse;text-decoration:none}#event-table td{border-bottom:1px solid #edf1f5;padding:13px 0;font-size:13px}#event-table .icon{text-align:center}#event-table .icon img{margin-top:3px}#event-table .modified{padding-right:13px}img.mini{margin-left:8px}.button-container input{margin:0.5em 0.5em 0 0}.indent{margin-left:10px}table.spacing td,ul.spacing li{padding-top:4px;padding-bottom:3px}table.spacing td,ul.spacing li{padding-top:4px;padding-bottom:3px}table.spacing td,ul.spacing li{padding-top:4px;padding-bottom:3px}.button-container input{margin:0.5em 0.5em 0 0}.indent{margin-left:10px}table.spacing td,ul.spacing li{padding-top:4px;padding-bottom:3px}.code{background-color:#f4faff;border:1px solid #7ad;font-family:courier,monospace;padding:0.5em;white-space:pre-wrap}.account-table{width:100%;border:0;margin:0;padding:0;padding-bottom:3px}.account-table th{padding:8px;background:url("/static/images/skinny_dots-vfldI7ERm.gif") bottom repeat-x}.account-table td{padding:8px}.account-table{border-collapse:collapse}.account-table .icon-col{padding:4px 6px 0 4px;width:16px}#applications-table .icon-col{padding:2px 8px 0 4px}#applications-table td{padding:8px 8px 8px 0}.account-table th.email{width:348px}.account-table td.email{width:328px}.account-table .email{text-align:left}.account-table .sent,.account-table .status{width:125px;text-align:center}.account-table p{font-size:12px}#account-sign-in .row-header{vertical-align:top;width:200px;font-weight:bold}#account-sign-in #twofactor-row td{padding-top:15px}#referral-instructions{background:#e3f3fc;background:-o-linear-gradient(top, #edf5ff 0%,#e3f3fc 100%);background:-ms-linear-gradient(top, #edf5ff 0%,#e3f3fc 100%);background:-moz-linear-gradient(top, #edf5ff 0%,#e3f3fc 100%);background:-webkit-linear-gradient(top, #edf5ff 0%,#e3f3fc 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #edf5ff), color-stop(100%, #e3f3fc));background:linear-gradient(to bottom, #edf5ff 0%,#e3f3fc 100%);-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;height:80px;text-align:center}#bonus-loading img{margin-bottom:-10px}#bonus-loading{color:#adadad;text-align:center}#referral-instructions td img{vertical-align:middle;margin-bottom:3px}#bonus-text{margin-top:30px;color:#adadad;font-size:13px;text-align:center}#bonus-total{color:#6fbf00;font-size:32px;text-align:center;font-weight:200}#bonus-content{margin:0}#bonus-content table{width:100%;border-collapse:collapse}#bonus-content h4{text-align:center;font-size:13px;font-weight:600;margin-bottom:12px}#bonus-table th{color:#adadad;font-weight:normal;background:none;text-align:left;padding-bottom:13px;border-bottom:1px solid #dbdbdb}#bonus-table .bonus-row>td{border-bottom:1px solid #dbdbdb;padding:13px 0px}#bonus-table td .earned-space{width:70px;display:inline-block;font-weight:600;color:#000}.spaced-table{width:100%}.spaced-table td{padding:.2em 0}.account-subheader{color:#222}#search-results{margin:0px 0px 1em 7px;padding:0px}#search-results li{list-style:none;font-size:14px;margin:0px;padding:10px 0}#search-results li p{margin:2px 0px;font-size:14px}#search-results li p a{color:#888}.highlight{background:#ffa}.payment-option-selected{background:#fff}.payment-option-selected h2{color:#07c !important}.disabled-button{background:#ddd;border:1px solid #bbb;color:#999}#referral-status-container{width:500px;margin:0 auto}#referral-status-container h2{font-size:20px}#referral-status-container h2 img{margin:0 6px -6px 0}#referral-status-container>p{margin-top:-6px}#referral-status-container #button-p{text-align:right;margin-bottom:0}#referral-status-container .sick-input input{width:486px}.suggestion-input{color:#999}.suggestion-input-unfaded{color:#333}#login-page #login-container{width:470px;margin:30px auto 50px auto}#login-page #form-container{border:1px dotted #ccc;_border:1px solid #e0e0e0;border-top:0;padding:30px 70px;width:330px}#login-page .heading_text{text-align:center;margin-bottom:1em}#login-page table td.label,#login-page table div.label{text-align:right;vertical-align:top;padding-top:9px}#login-page table td{padding:3px 0px 3px 5px;color:#666;vertical-align:middle;font-size:11px}#login-page .textinput{width:200px}#login-page .content-tab{margin:0 auto}#login-page .spacer{font-size:8px}#login-page .error-message{display:block;text-align:left;margin-bottom:-1.8em}.opera #login-page .error-message{margin-bottom:-1.2em}#team-welcome-page .heading_text{text-align:center;margin-bottom:1em;font-size:16px}#team-welcome-page .textinput{width:180px}#team-welcome-page #register-submit{float:none}#team-confirm-migrate-page #team-confirm-migrate-container{width:550px;margin:0 auto}.salesforce-form input.error,.salesforce-form input.required{border:1px #d00 solid}ul.navlist{margin:0;padding:0}ul.navlist li{list-style:none;margin:0;padding-bottom:15px}ul.navlist a,ul.navlist span.fakelink{display:block;padding:5px 0;font-size:11px;margin:0}#admin_help_div{width:1000px;text-align:left}#admin_help_div input[type='text'],#admin_help_div textarea{width:100%}.emo{background:#f4faff;padding:20px;border:1px solid #ace}.emo ul{padding:0 1.5em}.emo ul li{list-style:none;margin:4px 0}.emo ul li img{margin-right:5px}.skinny-emo{padding:10px}.gremo{padding:20px;background-color:#e8f7ed;border:1px solid #30b661;color:#1BA84E;margin-bottom:1.6em}.gremo .link-img{background-color:#e8f7ed}.db-badge{display:inline-block;padding:0;margin:0;position:relative}.db-badge-image{position:absolute;top:49px;left:44px}.db-badge-content{position:absolute;top:52px;left:44px;width:47px;text-align:center;color:#fff;font-weight:bold;font-size:11px}.third-column{width:30%;float:left;min-height:10px}.half-column{width:48%}.half-column.left-column{float:left}.half-column.right-column{float:right;margin-right:0}.center-column{width:82%;margin:0 auto}.upgrade.half-column .fieldset{min-height:145px}.center{text-align:center}.clean{margin:0;padding:0}.rss-icon{margin:0;float:left}.rss-icon img{background-color:#fff;height:16px;width:16px}div#login-page table td.clean{padding:0 5px}div#events-container{height:auto;position:relative;font-size:12px;margin:-5px 0}div#events-content h2{margin-top:0;padding-top:0}.events_bubble_tail{position:absolute;left:50%;top:12px;margin:0 0 0 -3px !important;z-index:10}.ebubble{z-index:2;font-size:10px;font-weight:normal;font-size:11px}.ebubble,.ebubble td{border-collapse:collapse;margin:0;padding:0;color:#fff}.ebubble .tl{width:2px;height:2px;background:url("/static/images/events_bubble_tl-vfll9Oxtw.gif") no-repeat}.ebubble .t{height:2px;background:url("/static/images/events_bubble_t-vflGkZMxc.gif") repeat-x}.ebubble .tr{width:2px;height:2px;background:url("/static/images/events_bubble_tr-vfl8mUk3B.gif") no-repeat}.ebubble .l{width:2px;background:url("/static/images/events_bubble_l-vflGvJmjK.gif") repeat-y}.ebubble .c{background:#ff9c4b;padding:1px 2px;font-weight:bold;font-size:11px}.ebubble .r{width:2px;background:url("/static/images/events_bubble_r-vfl25pCNx.gif") repeat-y}.ebubble .bl{width:2px;height:2px;background:url("/static/images/events_bubble_bl-vflcO_DWx.gif") no-repeat}.ebubble .b{height:2px;line-height:2px;background:url("/static/images/events_bubble_b-vflK7Mihn.gif") repeat-x;text-align:center}.ebubble .br{width:2px;height:2px;background:url("/static/images/events_bubble_br-vflH2rVYW.gif") no-repeat}.ebubble .b .events_bubble_tail{position:static;margin-bottom:-3px}.freshbubble{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-shadow:rgba(0,0,0,0.2) 0px 1px 1px}#member-requests span.freshbubble,#main-nav span.freshbubble,#main-nav a.freshbubble,.header-nav-link span.freshbubble{margin:0;padding:0px 3px;position:relative;top:0;font-size:9px;line-height:15px;border:1px solid #f5bdbc;display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline;text-align:center;color:#ee908f;font-weight:bold;min-width:9px;height:15px;text-shadow:none;background:#fff}#main-nav span.freshbubble,#main-nav a.freshbubble{margin-left:6px}#member-requests span.freshbubble,#main-nav span.freshbubble,.header-nav-link span.freshbubble{top:-1px}.header-nav-link span.freshbubble{margin-right:5px}#member-requests span.freshbubble,#main-nav span.freshbubble#inbox-count,.header-nav-link span.freshbubble{display:none}#member-requests span.freshbubble.show,#main-nav span.freshbubble#inbox-count.show,.header-nav-link span.freshbubble.show{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline}#main-nav .custom-nav{margin:30px 0px 10px;padding:10px 0px}#main-nav .custom-nav .header{font-weight:600;font-size:13px;color:#aaa;margin-left:5px;margin-bottom:5px}.freshbutton-blue.fb-big .download-icon{margin:-13px 0 -18px 0}.switch_icon{float:left;width:29px}.switch_text{width:136px;float:left}.switch_text .switch_email{color:#777;font-size:13px;overflow:hidden;text-overflow:ellipsis}.filter-button.ui-button{position:relative;margin-left:10px;display:inline-block}.filter-button.ui-button.active .sub-nav{display:block}.filter-button.ui-button .sub-nav{text-align:left;display:none;position:absolute;top:25px;right:-21px;padding:5px 15px;width:162px;font-size:13px;color:#666;background-color:#f6f7f8;text-shadow:#cacaca 0 1px 1px}.filter-button.ui-button .sub-nav ul,.filter-button.ui-button .sub-nav li,.filter-button.ui-button .sub-nav a{display:block;margin:0;padding:0}.filter-button.ui-button .sub-nav a{display:block;padding:6px 15px;margin:0 -15px;font-size:13px;color:#333}.filter-button.ui-button .sub-nav a img{margin-right:5px;margin-bottom:-3px}.filter-button.ui-button .sub-nav a:hover{background:#e3f2ff;text-decoration:none}.filter-button.ui-button .freshbutton-lightblue{position:relative;width:160px;text-align:left;background:#f6f7f8;background:-o-linear-gradient(top, #f6f7f8 0%,#f6f7f8 100%);background:-ms-linear-gradient(top, #f6f7f8 0%,#f6f7f8 100%);background:-moz-linear-gradient(top, #f6f7f8 0%,#f6f7f8 100%);background:-webkit-linear-gradient(top, #f6f7f8 0%,#f6f7f8 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f6f7f8), color-stop(100%, #f6f7f8));background:linear-gradient(to bottom, #f6f7f8 0%,#f6f7f8 100%)}.filter-button.ui-button .freshbutton-lightblue .s_arrow-down-blue{position:absolute;right:5px;top:7px}.filter-button.ui-button.active:hover .freshbutton-lightblue{border:1px #79bcea solid;box-shadow:0 0 0 0,inset 0 0 0 #000}.filter-button.ui-button img.filter-arrow{float:right;margin-right:0px}.explanation{border:1px solid #e5f2fc;background-color:#f7fbfe;margin-bottom:18px;margin-top:10px;padding:18px 40px 18px 35px;line-height:1.8em;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.greexplanation{border-top:1px solid #a2d85d;border-bottom:1px solid #90c54c;border-left:1px solid #eaf9da;border-right:1px solid #eaf9da;background-color:#f6ffee;margin-bottom:18px;margin-top:10px;padding:18px 40px 18px 54px;line-height:1.8em}.index-plans{padding:10px 10px;position:relative;top:50px}.index-plans img{position:relative;top:3px}.link-span,.link-span a,.link-span img{cursor:pointer}.link-span:hover a{text-decoration:underline}#download-link{background:transparent url("/static/images/download_button-vflSjG2SU.png") no-repeat;width:334px;height:105px;display:block;position:relative}#download-link span{position:absolute;color:#fff;font-size:12px;top:60px;left:105px;width:224px;text-align:center}#download-link:hover{text-decoration:none}p#avail{margin:0;font-size:10px;margin-top:4px;width:244px;margin-left:80px;text-align:center;margin-bottom:-10px}fieldset{border:0;margin:0;padding:0}.hidden{display:none}.alt_row,.alt_row .sprite{background-color:#f4faff}.highlighted_row,.highlighted_row .sprite{background-color:#fef4ca}#invite-download.emo{padding:30px}#invite-download p{font-size:15px;margin:1em 0}#invite-download h1{margin:0;color:#2895F1;font-weight:bold;font-size:20pt}#invite-download #post-register-steps{margin:30px auto 0 auto;width:85%;padding:0 0 2em 0}#invite-download #post-register-steps td{padding-bottom:0.5em}#invite-download #post-register-steps #avail{font-size:11px}#invite-download #invite-download-button-container{width:355px;text-align:center;margin:0 auto 0px auto;padding-bottom:20px}#invite-download #invite-download-button-container #avail{text-align:center;width:auto}.hotbutton{display:-moz-inline-stack;display:inline-block !important;position:relative;background-color:#fafcff;margin:1px -1px 0 0;border:1px solid #aeceef;border-width:0 1px}.hotbutton-content{display:block;position:relative;margin:-1px 0px;border:1px solid #aeceef;border-width:1px 0;height:23px;line-height:23px;padding:0 5px;text-align:center}.hotbutton-content .sprite{margin:-4px 4px 0 0;vertical-align:middle}.hotbutton:hover{text-decoration:none}.hotbutton.over,.hotbutton.over .hotbutton-content,.hotbutton.down,.hotbutton.down .hotbutton-content,.hotbutton.selected,.hotbutton.selected .hotbutton-content{border-color:#4291df;position:relative;z-index:2}.hotbutton.down,.hotbutton.down .hotbutton-content,.hotbutton.selected,.hotbutton.selected .hotbutton-content{background-color:#4291df;color:#fff}.hotbutton .shadow{background-color:#e7ebef;display:block;position:absolute;bottom:-2px;left:1px;right:1px;height:1px}.rounded5{border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px}html.borderradius .hotbutton.rounded,html.borderradius .hotbutton.rounded span{border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin:0}.text-img{margin-bottom:-4px;padding-right:4px}.h2-img{margin-bottom:-3px;padding-right:6px}.blue-bullets{margin:0 0 0 0.5em;padding:0}.blue-bullets li{list-style:none;background:url("/static/images/icons/bullet_blue-vfleICrKj.gif") no-repeat;padding:0 0 0 18px;margin:5px 0px 5px 5px}.blue-bullets.unindented li{margin-left:-9px}.pseudo-p{margin:0.75em 0}.bubble,.bubble td{border-collapse:collapse;margin:0;padding:0;border:0;z-index:10;color:#222;line-height:1.5em;text-align:left}.bubble .tl,.bubble .tr,.bubble .bl,.bubble .br{width:13px;height:13px;overflow:hidden}.bubble .tl{background:url("/static/images/bubble_tl-vfl6cABbS.png") no-repeat bottom}.bubble .tr{background:url("/static/images/bubble_tr-vflrB536R.png") no-repeat left bottom}.bubble .bl{background:url("/static/images/bubble_bl-vflMdxQ1O.png") no-repeat}.bubble .br{background:url("/static/images/bubble_br-vflU2zuvO.png") no-repeat}.bubble .t,.bubble .b{height:13px;padding:0 10px}.bubble .t{background:url("/static/images/bubble_t-vflgeQa3q.png") repeat-x bottom}.bubble .b{background:url("/static/images/bubble_b-vflhe-s45.png") repeat-x}.bubble .l,.bubble .r{width:13px;padding:10px 0}.bubble .l{background:url("/static/images/bubble_l-vflk7FP1Z.png") left repeat-y}.bubble .r{background:url("/static/images/bubble_r-vfljSgzWm.png") left repeat-y}.bubble .c{background-color:#fff;padding:6px 8px}.bubble .arrow{display:block;position:relative;margin-left:-12px}.bubble .barrow{position:relative;margin-top:7px}.bubble .tarrow{position:relative;margin-bottom:2px}.bubble .rarrow{position:relative;margin-left:7px}.bluebubble,.bluebubble td{border-collapse:collapse;margin:0;padding:0;border:0;z-index:10;color:#222;line-height:9px;text-align:left;position:relative}.bluebubble .tl,.bluebubble .tr{width:15px;height:31px;overflow:hidden;position:relative}.bluebubble .bl,.bluebubble .br{width:15px;height:31px;overflow:hidden;position:relative}.bluebubble .tl{background:url("/static/images/bluebubble_tl-vfl4G9bEE.png") no-repeat bottom right}.bluebubble .tr{background:url("/static/images/bluebubble_tr-vfllJ3ZZm.png") no-repeat bottom left}.bluebubble .bl{background:url("/static/images/bluebubble_bl-vflYN_4x3.png") no-repeat top right}.bluebubble .br{background:url("/static/images/bluebubble_br-vflqKajGM.png") no-repeat top left}.bluebubble .t,.bluebubble .b{padding:0;position:relative}.bluebubble .t{height:31px;background:url("/static/images/bluebubble_t-vfli9iy8c.png") repeat-x bottom}.bluebubble .b{height:31px;background:url("/static/images/bluebubble_b-vflH9LDZ4.png") repeat-x top}.bluebubble .l,.bluebubble .r{width:15px;height:1px;padding:0;position:relative}.bluebubble .l{background:url("/static/images/bluebubble_l-vfljhAD5k.png") right repeat-y}.bluebubble .r{background:url("/static/images/bluebubble_r-vfllrpFJa.png") left repeat-y}.bluebubble .c{background-color:#fbfdff;padding:0px 5px 0px 5px;color:#222;position:relative;line-height:18px}.bluebubble .barrow{position:absolute;height:13px;width:22px;top:11px}.bluebubble .tarrow{position:absolute;height:31px;width:22px;top:0}.bluebubble .rarrow{margin-left:11px}.bluebubble .arrow{margin-right:11px}.bluebubble .arrow-container{position:relative;height:31px}.bluebubble h1{font-size:16px;font-weight:bold;top:0;margin-top:0;margin-bottom:5px}.step-number{color:#2895F1}.input-label,.input-content{margin-bottom:5px}.input-label{width:110px;height:22px;line-height:22px;float:left;clear:left}.input-content{width:220px;float:left}.emo .link-img{background-color:#f4faff;margin-bottom:-1px}.sharing-input{height:5em}ul.blocklist{margin:0;padding:0;list-style:none}ul.blocklist a{display:block;padding:6px 0}.no-tab-link{float:right;font-size:14px;margin-top:7px}.no-tab-link img{vertical-align:top;margin-top:-1px;padding-bottom:1px}.bottom-menu{position:absolute;bottom:0;background-color:#f6fbff;padding:20px;left:0;right:0;border-top:1px solid #ace;font-size:11px}.bottom-menu li a{padding-left:20px}.bottom-menu li a img.sprite{margin-left:-20px}div#left-content div.bottom-menu img.link-img{background-color:#f4faff}.searchbox{position:relative}.searchbox img{position:absolute;top:4px;left:4px}.searchbox input{padding-left:23px}.topround{position:absolute;left:-1px;top:-1px}.bs-row>div{display:inline-block}.bs-row .sf-name>img{vertical-align:top;margin:2px 1px 0 0;padding-right:4px;background-repeat:no-repeat}.bs-row{height:24px;position:relative;padding:4px;margin:1px 0;line-height:24px}.bs-row .action-button{cursor:pointer}.bs-row.noactions,.bs-row.noactions *{cursor:auto}.bs-row.noactions a{cursor:pointer}.bs-actions{text-align:right;width:79px;position:absolute;right:0;margin:2px 15px 0 0}.bs-row em{color:#888;font-size:11px;font-style:normal}.bs-row.hover{background:#f9fcff;border:1px solid #d4e5f6}#team-members-header{background:#fff url("/static/images/skinny_dots-vfldI7ERm.gif") repeat-x bottom;font-size:13px;font-weight:bold;padding-bottom:3px;margin:4px 0}#team-members-header div{float:left;padding-left:2px}#team-members-header div.team-user{padding-left:4px}#team-members-header div.team-usage{padding-left:0px}.team-user{width:447px}.team-join-state{width:160px}.team-usage{width:108px}.team-bubble-pad{padding-right:10px}#keys-chart{z-index:10}#keys-chart h2{color:#fff;margin-top:0;padding-top:0}#keys-chart div{background:#4c545a;color:#fff;padding:20px 20px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#keys-chart ul{list-style:none;width:45%;line-height:1.5em;padding:0}#keys-chart ul.keys-left{margin:0 5%;float:left}#keys-chart ul.keys-left span.key{width:52px}#keys-chart ul.keys-right{float:right;margin:0}#keys-chart ul.keys-right span.key{width:70px}#keys-chart ul span.key{color:#9cf;display:inline-block;margin-left:-60px}#keys-chart ul li{margin:0;padding:0;padding-left:45px}.horizontal_list{list-style:none;margin:0;padding:0}.horizontal_list li{float:left;margin:0 0 0 2em;padding:0}.invite{border:1px solid #ace;margin-bottom:0.5em;background-color:#f4faff}.invite.used{border:1px solid #aaa;background-color:#f8f8f8}.invite .invite-details{background:#fff url("/static/images/skinny_dots-vfldI7ERm.gif") repeat-x top}.invite-header{padding:7px 6px;margin:1px 0;display:block}.inviter{float:left;width:190px}.inviter a:hover{text-decoration:none}.inviter .text-img{padding-right:7px}.folder-name{float:left;width:266px}.treeview-folder .link-img{background-color:#fff;margin:-5px 0px 0px 0px}.highlight .treeview-folder .link-img{background-color:#f4faff}.treeview-folders .item.disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4}.calendar{text-align:center;width:18.5em;border:1px solid #ccc;padding:0.5em;font-size:11px;background-color:#f8f8f8}.calendar h5{font-size:13px}.calendar .changemonth{padding:3px 5px}.calendar .changemonth.prev{float:left}.calendar .changemonth.next{float:right}.calendar .days{width:18.5em;clear:both;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none}.calendar .date{display:-moz-inline-stack;display:inline-block;width:2.5em;height:2.5em;line-height:2.5em;text-align:center;margin:1px 1px 0 0;background-color:#fff;cursor:pointer}.calendar .date:hover{background-color:#e9f4ff;text-decoration:none}.calendar .date.selected{background:#2895F1;color:#fff}.calendar .date.inactive,.calendar .date.inactive:hover{color:#bbb;background:#fff;cursor:default}#cal_date{float:right;margin-left:7px;border-collapse:collapse}#cur_date{border:1px solid #dadada;padding:5px;color:#444;text-align:center;width:100px;display:block;float:right;margin-right:-1px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#cur_date img{float:right;margin:0 1px -1px 0}#cur_date:hover{text-decoration:none}#cur_date img{float:right}#cal_container{display:inline;z-index:1000;margin-top:-2px;padding-right:1px}#errorbox{line-height:1.6em}#errorbox.advanced{width:60%;margin:0 auto 0 auto;padding:20px;background-color:rgba(233,244,255,0.55);font-size:13px;line-height:1.6em}#errorbox.advanced h1{margin:0 0 4px 0;padding-top:3px;background:url("/static/images/dots-vflPwuWRn.gif") repeat-x bottom;padding-bottom:10px;font-size:18px;font-weight:bold}div#content.errorpage{background:url("/static/images/errorpagebox-vflWAw_ws.jpg") center 80px no-repeat !important;padding-top:180px;min-height:325px}.hotbox,.green-hotbox,.orange-hotbox{background:#f4faff url("/static/images/white_pixel-vfltEkXBV.gif") repeat-x;border:1px solid #ace;padding:20px}html.borderradius .hotbox,html.borderradius .green-hotbox,html.borderradius .orange-hotbox{border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px}.orange-hotbox{background-color:#fff8e3;border:1px solid #f6e2aa}.green-hotbox{background-color:#f4fdee;border:1px solid #d1f1ba}.green-hotbox img{background-color:#f4fdee}.hotbox.dark{background-color:#e9f4ff;border-color:#ace}.force-break{word-wrap:break-word;-webkit-nbsp-mode:space;-webkit-line-break:after-white-space}.force-no-break{white-space:nowrap}.bigger .hotbutton-content{font-weight:600;font-size:13px;padding:3px 15px 3px 15px}.form-label{text-align:right}.app-icon{max-height:16px;max-width:16px}.email-iframe-preview{width:680px;height:auto;border:1px solid #ddd;background:#fff}.green-hotbox{background-color:#f4fdee;border:1px solid #beddb9}.borderbox{border:1px solid #e4e4e4;padding:20px 10px 20px 40px}.borderbox{-moz-border-radius:18px;-webkit-border-radius:18px;border-radius:18px}.code-sample{border:1px solid #ccc;background:#fafafa;margin:0 auto;padding:15px}.ratingstars,.ratingstars *{cursor:pointer !important}.hotbox-inner{padding:16px;background:#fff}.hotbox-thin-border{padding:4px}.candybox{background:#fefeff url("/static/images/shadow_gradient-vfllopsMq.gif") bottom repeat-x;border:1px solid #c3c6ca;padding:10px 20px 20px 20px;margin:0 0 2em 0}.candybox{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;box-shadow:0px 1px 1px #dfdfdf;-webkit-box-shadow:0px 1px 1px #dfdfdf;-moz-box-shadow:0px 1px 1px #dfdfdf}.candybox h1{font-size:32px;color:#2895F1;margin:0;padding:0}.candybox h2{background:none;font-size:14px;margin:0;padding:0;font-weight:normal;color:#7a8b9a}.sf-invite-action form{display:inline}.sf-invite-action .ajax_submit_loading{display:none}.sf-invite-action.loading form{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4}.sf-invite-action.loading .ajax-loading-indicator{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline}.sf-invite-action .ajax-loading-indicator{margin:0 6px 0 6px}#downloading-container{border-bottom:1px solid #aaccee;margin:0 0 60px 0}#downloading-header{background:url("/static/images/dropboxlove-vflc5oKID.gif") no-repeat left top;padding:13px 0 25px 160px;width:561px;margin:0 auto}#downloading-header h1{font-weight:bold;margin:0;font-size:320%}#downloading-header p{font-size:130%}#steps-container{width:866px;margin:0 auto 50px auto;background:url("/static/images/arrows-vfldd2t3Y.gif") no-repeat -13px 45px}#steps-container table#steps{width:100%;border-collapse:collapse}#steps-container table#steps tr td{width:250px;vertical-align:top}#steps-container table#steps tr td.middle{padding:0 20px}#steps-container table#steps tr td .screenshot{margin:0 0 20px 0}#steps-container table#steps tr td .screenshot img{-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.3);-moz-box-shadow:0 1px 2px rgba(0,0,0,0.3);box-shadow:0 1px 2px rgba(0,0,0,0.3)}#steps-container table#steps tr td .screenshot.ie img{-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px}#more-help{text-align:center;color:#888}#locale-container{position:relative;float:right;margin-top:20px;margin-right:16px;min-width:50px;max-width:200px}#locale-container img{vertical-align:middle}#locale-container img.s_world_grey{margin:0 2px -3px 0}#locale-container .link-span a{margin-right:3px;font-size:13px;font-weight:600;color:#767676;vertical-align:middle}#locale-selector-modal .db-modal{width:550px}#locale-selector-modal table{margin-left:36px}#locale-selector-modal table td{vertical-align:top}#locale-selector-modal ul{font-size:15px;list-style:none;margin:0;padding:0 50px 0 0;line-height:1.8em}#locale-selector-modal ul li{line-height:1.8em}.modal-locale-link .spacer{margin-left:-5px}.modal-locale-link .arrow{margin-bottom:3px}.ul_select_menu{position:absolute;display:inline-block;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none;width:150px;border-radius:3px;border:1px solid #ccc;background:#fff;text-align:left}.ul_select_menu li{display:none;cursor:pointer;padding:5px 6px}.ul_select_menu li.selected{display:block;background-image:url("/static/images/icons/big-dropdown-gray-vflRwG4rA.gif");background-repeat:no-repeat;background-position:95% 5px}.ul_select_menu li.hover{background:#f6f6f6}.ul_select_menu.shown{z-index:1}.ul_select_menu.shown li{display:block}.ul_select_menu.shown li.selected{background-image:none}.ul_select_menu.one li.selected{background:transparent;cursor:default}.ul_select_menu .sprite{margin-bottom:-3px}#programming_language_selector_container{float:right}#namespace-list-container{float:right;margin-left:10px;margin-top:1px}#namespace-list-container ul.ul_select_menu{margin:0;padding:0;border-color:#dadada;width:173px}#namespace-list-container ul li{padding:5px;white-space:nowrap}#namespace-list-container ul img.sprite{margin-bottom:0;background-color:transparent}#namespace-list{max-height:400px;overflow-y:auto}#big_price_holder .freshbutton-blue{margin-top:-4px}#screencast-container{position:relative}#watch-text{position:absolute;width:100%;height:20px;top:210px;left:0;text-align:center;font-size:21px;font-weight:bold;margin-left:-4px}.download{text-align:center;margin:50px 0}a.cta{text-decoration:none;font-weight:bold;font-size:200%;padding:13px 20px 13px 60px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}a.cta.blue{color:#fff;text-shadow:0 -1px #16588d;border:1px solid #1d74b9;background:url("/static/images/cta_bg-vflM6j2h6.png") repeat-x 0 0;-webkit-box-shadow:inset 0 1px #92c5ee,0 1px 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0 1px #92c5ee,0 1px 2px rgba(0,0,0,0.3);box-shadow:inset 0 1px #92c5ee,0 1px 2px rgba(0,0,0,0.3)}a.cta.blue:hover{background-position:0 -56px}a.cta.blue:active{background-position:0 -112px}.data-table2{width:100%;font-size:12px}.data-table2 td{padding:5px}.data-table2 tr.inactive td{color:#888;background:#fafafa}.data-table2{margin-top:2px;border-width:0;border-spacing:0}.data-table2 th{border-bottom:1px solid #7ad;background-color:#d6e8fa;text-align:left}.data-table2 tr:hover{background-color:#fafafa}.house-ad-standard{border-top:1px solid #b3d0ee;border-bottom:1px solid #bdd5f1;background:#f8f9fb}.house-ad-aqua{background-color:#f6fdff;border-bottom:1px solid #cfeef7;border-top:1px solid #cfeef7}.house-ad-aqua .container{padding:0 0 30px 0}.house-ad-aqua .simplebutton{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;text-align:center;padding:5px 16px;font-size:13px !important;font-weight:600;cursor:pointer;overflow:visible;border:1px #a0cddc solid;background-color:white;color:#1d99c1}.house-ad-aqua .simplebutton:hover{text-decoration:none}.house-ad-aqua img{margin-top:30px}.house-ad-aqua p{padding:10px 0}.house-ad-orange{background-color:#c74c37}.house-ad-orange a{color:#f0cdc7;font-size:13px;font-weight:normal}.house-ad-orange a:hover{text-decoration:none}#ha-container .house-ad-lightblue,.admin_content .house-ad-lightblue{background-color:#f0f9ff}#ha-container .house-ad-lightblue .promo-title,.admin_content .house-ad-lightblue .promo-title{font-size:12px}#ha-container .house-ad-lightblue .promo-title a,.admin_content .house-ad-lightblue .promo-title a{padding:0;color:inherit}#ha-container .house-ad-lightblue p,.admin_content .house-ad-lightblue p{margin-top:0}#ha-container .house-ad-lightblue .freshbutton-blue,.admin_content .house-ad-lightblue .freshbutton-blue{margin:5px 0 15px 0;padding:5px 16px}.admin-liveops-pin-verification-error,.admin-liveops-pin-verification-success{width:90%;height:100px;line-height:100px;display:inline-block;margin:20px;padding:10px;font-size:28px;color:white}.admin-liveops-pin-verification-error{background-color:red}.admin-liveops-pin-verification-success{background-color:green}img.fromo{position:relative;left:-12px}.toggle-button{display:inline-block;padding:3px;border:1px solid #ccc;margin:0;margin-left:-1px}.password_strength_container{position:relative;width:100%;margin-top:2px;height:10px}.password_strength{height:4px;background-color:#c81818;width:0;position:absolute;left:0}.password_strength_bg{height:4px;background-color:#e8e8e8;width:100%;position:absolute;left:0}.password_strength_separator{height:4px;width:2px;background-color:#fff;position:absolute;left:0}.password_strength_desc{float:right;margin-top:6px;line-height:16px}.password_strength_icon{float:right;margin-top:5px;margin-left:3px}.trace_table{margin:-5px;background:#f4faff;width:100%}.trace_table td{border:none}#email-verify-view{margin:0 auto;width:70%;text-align:center;padding:40px}#email-verify-view h1{font-size:21px}#email-verify-view p{font-size:13px}.change-email .db-modal{width:550px}.change-email .sick-input{margin-left:63px;margin-bottom:10px}.change-email .sick-input .textinput{width:345px}.change-email .error-message{margin-left:63px;width:358px;line-height:1.6em;display:inline-block}.change-email .change-email-warning{display:none}.change-email.warnings-not-seen.has-warnings #warnings-title{background:white;position:absolute;top:20px;left:20px;width:450px;height:35px;padding:15px}.change-email.warnings-not-seen.has-warnings .change-email-warning{display:block}.change-email.warnings-not-seen.has-warnings #change-email-form{display:none}.twitter-profile .profile-pic{float:left;width:32px;height:32px;margin-top:2px;margin-right:8px}.twitter-profile .profile-pic img{width:32px;height:32px;margin-top:2px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.twitter-profile .name-info{line-height:1.6em}.twitter-profile .name-info .name{color:#000;font-weight:600}.twitter-profile .name-info .username{color:#888}#recover-form{width:500px;margin:0 auto}#recover-form .sick-input{margin-bottom:1em}#recover-form #error-messages{font-size:13px;height:30px}#recover-form input[type=email],#recover-form input[type=password]{width:487px}#recover-form input[type=submit]{float:right}#recover-form ul{margin:0;padding:0}#recover-form li{margin:1em 0 0 1em;padding:0;list-style:none}#recover-form li .sprite{margin-right:4px;margin-bottom:-2px}.typeahead-and-message .tokenized_autocompleter_container .tokenizer{-webkit-border-bottom-left-radius:0px;-ms-border-bottom-left-radius:0px;-o-border-bottom-left-radius:0px;border-bottom-left-radius:0px;-webkit-border-bottom-right-radius:0px;-ms-border-bottom-right-radius:0px;-o-border-bottom-right-radius:0px;border-bottom-right-radius:0px;-webkit-border-top-left-radius:3px;-ms-border-top-left-radius:3px;-o-border-top-left-radius:3px;border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-ms-border-top-right-radius:3px;-o-border-top-right-radius:3px;border-top-right-radius:3px}.typeahead-and-message .custom-message-container .textinput{-webkit-border-bottom-left-radius:3px;-ms-border-bottom-left-radius:3px;-o-border-bottom-left-radius:3px;border-bottom-left-radius:3px;-webkit-border-bottom-right-radius:3px;-ms-border-bottom-right-radius:3px;-o-border-bottom-right-radius:3px;border-bottom-right-radius:3px;-webkit-border-top-left-radius:0px;-ms-border-top-left-radius:0px;-o-border-top-left-radius:0px;border-top-left-radius:0px;-webkit-border-top-right-radius:0px;-ms-border-top-right-radius:0px;-o-border-top-right-radius:0px;border-top-right-radius:0px;box-shadow:0 0 0 0,inset 0 0 0 #000;background:none;height:72px;margin-top:-1px}.typeahead-and-message .custom-message-container textarea{padding:7px 8px}.ajax-loading-indicator{display:none}.ajax-loading-indicator img{vertical-align:text-bottom;padding:0 0 1px 0}.ajax-loading .ajax-loading-indicator{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline}.lfloat{float:left}.rfloat{float:right}.lr-container{overflow:hidden}.ui-link{display:inline-block;vertical-align:middle;*vertical-align:auto;*zoom:1;*display:inline}.new-indicator{font-size:9px;font-weight:600;color:#46cc6c;vertical-align:top}.tab-empty-state{text-align:center}.tab-empty-state img{padding:40px 0}.tab-empty-state .page-header-text{margin-bottom:20px;font-size:16px}.tab-empty-state .desc{margin:auto;width:600px}#multiaccount-login-modal.db-modal-wrapper .db-modal{width:416px}.switch-login-modal #modal-box .db-login-container{width:auto}.switch-login-modal #modal-box .db-login-container #login-partial{width:100%;margin-top:-10px}.switch-login-modal #modal-box .db-login-container .sick-input input{width:100%;height:34px;box-sizing:border-box}.switch-login-modal #modal-box h2{font-weight:normal;margin-bottom:19px;padding:24px 32px 4px}.switch-login-modal #modal-box .twofactor-login-form #desc{margin-top:0px;margin-bottom:20px}.switch-login-modal #modal-box .twofactor-login-form #twofactor-title{display:none}.switch-login-modal #modal-box #code-field,.switch-login-modal #modal-box #submit-code,.switch-login-modal #modal-box #trusted-div{display:block;width:50%;margin:10px auto}.switch-login-modal #modal-box #code-field{margin-top:25px}.switch-login-modal #modal-box #trusted-div{margin-bottom:25px}.s_web_menu-right-arrow{float:right;top:4px;position:relative}#pro-plan-notify{background:#FFFBD8;margin-bottom:10px;margin-top:10px;padding:15px;border:1px dotted #ccc}header,footer,section{display:block}body.whole-page-scrollable #page-header,body.whole-page-scrollable #browse-header,body.whole-page-scrollable #page-footer{position:relative}body.whole-page-scrollable #browse-header{top:inherit}body.whole-page-scrollable #page-footer{margin-top:30px;bottom:10px;position:fixed}body.whole-page-scrollable #browse-files{padding:0px}body.whole-page-scrollable #page-sidebar{position:absolute}body.whole-page-scrollable #browse-sort{border-bottom:0px}body.whole-page-scrollable .db-modal{top:90px}#lightbox{position:absolute;left:0;width:100%;z-index:100;text-align:center;line-height:0}#lightbox a img{border:none}#outerImageContainer{position:relative;background-color:#fff;width:250px;height:250px;margin:0 auto}#imageContainer{padding:0 10px 10px 10px;clear:both}#loading{position:absolute;top:40%;left:0%;height:25%;width:100%;text-align:center;line-height:0}#hoverNav{position:absolute;top:16px;left:0;height:80%;width:100%;z-index:10}#imageContainer>#hoverNav{left:0}#hoverNav a{outline:none}#prevLink,#nextLink{width:49%;height:100%;background:transparent url("/static/lbimages/blank-vfl_JT7DD.gif") no-repeat;display:block}#prevLink{left:0;float:left}#nextLink{right:0;float:right}#prevLink:hover,#prevLink:visited:hover{background:url("/static/lbimages/prevlabel-vflCtgTVg.gif") left 15% no-repeat}#nextLink:hover,#nextLink:visited:hover{background:url("/static/lbimages/nextlabel-vflHgc4RH.gif") right 15% no-repeat}#imageFileName{font-size:11px;float:left;font-weight:bold;padding:10px 8px}#imageDataContainer{font:10px Verdana, Helvetica, sans-serif;background-color:#fff;margin:0 auto;line-height:1.4em;overflow:auto;width:100%;padding-top:10px}#imageData{padding:0 10px;color:#666}#imageData #imageDetails{text-align:left}#imageData #caption{font-weight:bold;float:right}#imageData #numberDisplay{display:block;clear:left;padding-bottom:1.0em}#bottomNavClose{float:right;padding:8px 8px 4px 4px}#overlay{position:absolute;top:0;left:0;z-index:90;width:100%;height:500px;background-color:#000}.fb_button_simple,.fb_button_simple_rtl{background-image:url(/images/connect_favicon.png);background-repeat:no-repeat;cursor:pointer;outline:none;text-decoration:none}.fb_button_simple_rtl{background-position:right 0px}.fb_button_simple .fb_button_text{margin:0 0 0px 20px;padding-bottom:1px}.fb_button_simple_rtl .fb_button_text{margin:0px 10px 0px 0px}a.fb_button_simple:hover .fb_button_text,a.fb_button_simple_rtl:hover .fb_button_text,.fb_button_simple:hover .fb_button_text,.fb_button_simple_rtl:hover .fb_button_text{text-decoration:underline}.fb_button,.fb_button_rtl{background:#29447e url(/images/connect_sprite.png);background-repeat:no-repeat;cursor:pointer;display:inline-block;padding:0px 0px 0px 1px;text-decoration:none;outline:none}.fb_button .fb_button_text,.fb_button_rtl .fb_button_text{background:#5f78ab url(/images/connect_sprite.png);border-top:solid 1px #879ac0;border-bottom:solid 1px #1a356e;color:white;display:block;font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-weight:bold;padding:2px 6px 3px 6px;margin:1px 1px 0px 21px;text-shadow:none}a.fb_button,a.fb_button_rtl,.fb_button,.fb_button_rtl{text-decoration:none}a.fb_button:active .fb_button_text,a.fb_button_rtl:active .fb_button_text,.fb_button:active .fb_button_text,.fb_button_rtl:active .fb_button_text{border-bottom:solid 1px #29447e;border-top:solid 1px #45619d;background:#4f6aa3;text-shadow:none}.fb_button_xlarge,.fb_button_xlarge_rtl{background-position:left -60px;font-size:24px;line-height:30px}.fb_button_xlarge .fb_button_text{padding:3px 8px 3px 12px;margin-left:38px}a.fb_button_xlarge:active{background-position:left -99px}.fb_button_xlarge_rtl{background-position:right -268px}.fb_button_xlarge_rtl .fb_button_text{padding:3px 8px 3px 12px;margin-right:39px}a.fb_button_xlarge_rtl:active{background-position:right -307px}.fb_button_large,.fb_button_large_rtl{background-position:left -138px;font-size:13px;line-height:16px}.fb_button_large .fb_button_text{margin-left:24px;padding:2px 6px 4px 6px}a.fb_button_large:active{background-position:left -163px}.fb_button_large_rtl{background-position:right -346px}.fb_button_large_rtl .fb_button_text{margin-right:25px}a.fb_button_large_rtl:active{background-position:right -371px}.fb_button_medium,.fb_button_medium_rtl{background-position:left -188px;font-size:11px;line-height:14px}a.fb_button_medium:active{background-position:left -210px}.fb_button_medium_rtl{background-position:right -396px}.fb_button_text_rtl,.fb_button_medium_rtl .fb_button_text{padding:2px 6px 3px 6px;margin-right:22px}a.fb_button_medium_rtl:active{background-position:right -418px}.fb_button_small,.fb_button_small_rtl{background-position:left -232px;font-size:10px;line-height:10px}.fb_button_small .fb_button_text{padding:2px 6px 3px;margin-left:17px}a.fb_button_small:active,.fb_button_small:active{background-position:left -250px}.fb_button_small_rtl{background-position:right -440px}.fb_button_small_rtl .fb_button_text{padding:2px 6px;margin-right:18px}a.fb_button_small_rtl:active{background-position:right -458px}ul.horizontal{list-style:none;margin:0;padding:0;display:inline}ul.horizontal li{display:inline} /*# sourceMappingURL=main.css.map */  _Ahttps://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700Obplist00rsX$versionX$objectsY$archiverT$top$#)*0123QRSTUVWXYZ[\]^_`abcdefghilmU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 "#$%&'(WNS.base[NS.relative_Ahttps://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700+,-.Z$classnameX$classesUNSURL-/XNSObject#A456CPWNS.keysZNS.objects789:;<=>?@AB EFGHIJKLMNO !\Content-Type_alternate-protocol_Content-EncodingVServer_x-xss-protectionWExpires_timing-allow-origin]Cache-ControlTDate^Content-Length_x-content-type-options_x-frame-optionsXtext/css\443:quic,p=1TgzipSGSE]1; mode=block_Tue, 21 Apr 2015 05:09:17 GMTQ*_private, max-age=86400_Tue, 21 Apr 2015 05:09:17 GMTS340WnosniffZSAMEORIGIN+,jk\NSDictionaryj/+,no_NSHTTPURLResponsepq/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchivertu_WebResourceResponse#-27^d*/:CILU^`biq|5CHWp !&369>RVjxvO@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300; src: local('Open Sans Light'), local('OpenSans-Light'), url(https://fonts.gstatic.com/s/opensans/v10/DXI1ORHCpsQm3Vp6mXoaTZS3E-kSBmtLoNJPDtbj2Pk.ttf) format('truetype'); } @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v10/cJZKeOuBrn4kERxqtaUH3SZ2oysoEQEeKwjgmXLRnTc.ttf) format('truetype'); } @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(https://fonts.gstatic.com/s/opensans/v10/MTP_ySUJH_bn48VBG8sNSpS3E-kSBmtLoNJPDtbj2Pk.ttf) format('truetype'); } @font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; src: local('Open Sans Bold'), local('OpenSans-Bold'), url(https://fonts.gstatic.com/s/opensans/v10/k3k702ZOKiLJc3WVjuplzJS3E-kSBmtLoNJPDtbj2Pk.ttf) format('truetype'); }  Xfont/ttf_Xhttps://fonts.gstatic.com/s/opensans/v10/DXI1ORHCpsQm3Vp6mXoaTZS3E-kSBmtLoNJPDtbj2Pk.ttfOUbplist00}~X$versionX$objectsY$archiverT$top)#)*0123WXYZ[\]^_`abcdefghijklmnopqrstwxU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 '($%&'(WNS.base[NS.relative_Xhttps://fonts.gstatic.com/s/opensans/v10/DXI1ORHCpsQm3Vp6mXoaTZS3E-kSBmtLoNJPDtbj2Pk.ttf+,-.Z$classnameX$classesUNSURL-/XNSObject#A+Ln456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNHPQRSTU !"#$%&\Content-Type_Access-Control-Allow-Origin_alternate-protocol_Content-EncodingVServer_x-xss-protectionWExpiresSAge_timing-allow-origin]Cache-ControlTDate^Content-Length_x-content-type-optionsTVary]Last-ModifiedXfont/ttfQ*\443:quic,p=1TgzipTsffe]1; mode=block_Fri, 15 Apr 2016 20:36:59 GMTV376343_public, max-age=31536000_Thu, 16 Apr 2015 20:36:59 GMTU15037Wnosniff_Accept-Encoding_Thu, 21 Aug 2014 18:06:46 GMT+,uv\NSDictionaryu/+,yz_NSHTTPURLResponse{|/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiver_WebResourceResponse#-27ciFKV_ehqz|~%:MTgos'.Iiow13O^pGDEFGPOS GSUB tOS/2`cmapgaspglyf4Thead76hhea7T$hmtx7xhkern:locaYpmaxp[, name[LVpost\&   ,latnliga6 "(HNHKHNKH,33f @ [(1ASC X ?  *  HI~1S    " : D t " IJ1R    " 9 D t " l_#޾  !!7!!IhyJhF #3432#"=wPRRPy=bbbN#!#!=!!=!7!!#!#!5!!5!3!3!!!L/VZXVXV+L7V[YmXVXkNrO==OP::Pr '.#5&&'53.546753&'4&'66ƯQ\@KY@QŚ!ՠn~zr~wy)g$2,XxV| ?Z> BzUo() |Vn&xq  ,0324&#"#"&5463232#"#"&54632#Z`c^`ZݖwZ``Zݔ`+uܹrq'J{ +7467'&&546326673#'#"&2676654&#"{KB@=V `? \mǀgy7(Pp||jrslRGJik7HtZS,tWgHevOROkU_^ut#!=!R 73#&Rq0o1 ή3l= #'3ۛo0q1:͵1h%'%7w%u|}z'kh'G{GT'ho# !!#!5!3qNRPRRPRD3%#7' KcAM!\7R5!\RRD7432#"PRRPNbbb#h Js #"3232#"}v~pPIDP !#47'3b  9V)G)q!!5>54&#"'632!m>6߿ۓXZE̳^(!"'532654&##532654&#"'6632ӫߦT\ܞխmp1U{^Sc,2`z=JCGS+u ##!533!7#u^yguuC .%2#"&'532654&#"'!!6 mBl_‚<:-o+(g7+˭''`#&$32&#"36632#"2654&#"^NIg LmߤfhcoXbdSοZNoxm!!5!NZV`Iy$12#"&5467&&546632654&'"6654&F㍞즮j򻨤ȝบe?wϾpIOFLviV|UGyFkW:?kxo (#"'532##"&5432"326654&& hX+y  Inǐu#eg]J|VeV`gcչZMusD-7432#"432#"&PRRPPR/#".Nbbbbb5..LD-%#67432#"&/ KcABPR/#".a)lbb5..o #5#L7 =_ko#5!5!oLuRRhRRo #5o7Ljc_&=`9'546776654&#"'6632432#"%Ke[H>OP%nO$A\8@EsPRRPy%{YO=xN#'P0 ŬDfWQ/6Ybabbbq;5@#"&'##"&543232654$#"!267# $3232&#"Yo +lŠFQgۼN3]zKnwOrl]de)0hi$$4cPeZ#!#3#!&'qLA@s # D`>n`N! #!!2654&#!! !@fBλXT+uJ- !27# 4$32&?*=֩)o/Z3eTP\P%!!! !!3 %~^mo:= !!!!!!!Gn^^ !#!!!!5f!El^_)!! 4$32&# !27!U)B8ʍMeZfYX\X9 !#!#3!3gffVg1wH5 "'5323!\;NGfXJ !##373}ff=V33!f`!##333#47#Rbg F|JTt|!###33&53g bfa cvL ! ! ! ! _02ZTk^]mT=<Q? !##! 32654&##?ff ## ! ! ! M!_02ZT6J^]mT=<Q #! #%!2654&##5f\z}ʓ,f}Xo$# '532654&&'&&54$32&#"Fε%;Oy;fCSmZ4MNXLQhS:;o '!#!5!!Lg%%V``!"533265gNN 3#367/oZmpT;JqK3!#&'#363663\T(;VnkNq%3 ) ghYWR9aUO(wlH,N !##33NuPHqAsm;VrF93#3niu -RJ !!5!5!!JXqL `LZ!!!!ZTJ^##gJ3!!5!!3JT=^X193#XDdur1pNH!5!NRR! #&&'53E`!FO/0LbR$!'##"&54$7754&#"'632%2655JRv ~%'ɾ}iWHTVT-FDZk yfqL!2#"&'##3366"3265t6 >c>yT`XyXJUb\ZwT"32&#"327hhιh&-1X/5\3w 23&53#'##""!26554&DvDbA|ᲳgTVh~y즺 *Z2wT"32!3267"!4&mͿ]l\{$9P+Z(ý!##5754632&#"!JcʓZZPOta:%TȻVe-T)3?#"'332!"&5467&&547&&54632! 4&## 32654&#"ZѰJ;>O]w1;_jϰk;MS?EpT/40pM2mS'l bX~!4&#"#33663 õcc=rbXs9) !#3432#"ccq?##??.`2.-4) "'53253432#"%P7E7fi*_f;PkL9F:C3N?S ?b\l6V0e!RZ? !!5!5!!Zw?X?X="&54'5665%wåzlh|XbaYfe[QPbc^+Zjhς{X3#\\H4675&&54&'52#5665NYaaY{myÍy'{1gkZdaP[egoh#="56323267#"'&N1v8l}=le~^8k>0qIt|=;^n,:=@`1@H9HT 3#432#"&=wPR/#".ibb5..%&5475332&#"327###ZͺRgɴn R"+!7T3:\8N1!!5665#534632&#"!FN)n{ķ#t0`TR)DVBR ''#"''7&547'763272654&#"Z;nk;ZZ;gi;Ziӗi<]]467&&54632&&#"#"&'532654&&'&&76654&&'eXVNˮ#[M3xVV\V2Ȑe?RX@Qc-S&/nQu@P"YK6E>+@fe*lR%_Nc[7AB.IqANH?)r@>PJ2pPL4632#"%4632#"P @@?} @@?m.(VVV.(VVdD%5"327#"&54632&4$32#"$732$54$#"Trfj޺wl%b^^]0/͵ϲD+X-4S-^ZƲѲ0.N!D!'#"&5467754&#"'632%32655Tv_p_LDWm!urdF=ZiXtz-HTbZdg+MK1I8=6>d\@=R}- %R5>>h6==++++o#!5RR\7RdD%532654#####324$32#"$732$54$#"p[hnMHyҨeӏ^^]0/͵ϲ]YOy"whp|^ZƲѲ0.f!5! Ru 4632#"&732654&#"~~~ZzWV{xYZw[~|]\}o#'W5Ju!576654&#"'632!u}^]Mlm1w|6SJNyMGSRAgo/TW])9##"'532654&##532654&#"'632hXIxswwwij^Pv/Nk-bWSNTWMCQNF^x! 6673#I$hFO04W?32653#'##"&'#·bT2uc3c?@XM]79\Nb+qR####"&563!Rdd@RF3oD3+#"'532654'73yD>NR]`Bde X 84^u%LJ 3#47'^\b /#czMF! #"&54632324&#"dmmduH}# '7'7#>>5==5w+jk+yw+jk+y;p&z'? {&z's)&t'FJu%T(3277#"&54667>55432#"&9OaZI>}l@%oN(M@E/PR/#".%}UO=wO|.O0 ƪFl`o5[aa+bb5..s&$BRs&$uoRs&$R&$R&$iR&$!!!#!!!!!!#3%om@gd^^&&ys&(BRs&(uFRs&(R&(iR/% !!#53! !!!!3 %~^moj^:=^&0uRs&1BmRs&1u%Rs&1R&1R&1iRw '7H:h:ij9i9 :ih9h9:#!"''7&!27'3 &# VJZ_0lHooËkxx;q]y<;jT=ȫ fs&7B9Rs&7uRs&7R&7iR9s&;u)R? !##3! 32654&##?ff  D4#"&'532654&'&&54676654&#"#4632Q;JAj[-_/AEryNn`AJJAcϽo@I',0B-KckC%k&0mjSzKWxV9QELTyl璥̺&Pw9!&QBw9!&Qujw9!&Q w9&Qw9&Qi o# 5!432#"&432#"&oPR/#".PR/#".RRcc4..tbb5..w9h##"''7&5327&#"4'3269vVH]yz`JhpNbH^!bq:x )h|7zZwBR!&WB!&Wuf!&W&Wi!&[uL 632#"'##3265!"rsccsټTJXby&[i?!#3cc?!!# !2!!!!!27&#  Ld]2Niqh\mA>n_[^^wT ,3"&'#"&532!2!326732654&#"%"!4&7;ƙt9n!Ų]l\Ŵ )P+Z(5½+q! 6673#&'#+>)bDFzclqFCCxejr]s% #"&5463232654&#"%xaaxxaaxK>>KN;>Katta^uv]BKKB@KL"&'&&#"#663232673 $N> = -<I jT0P*"@.>Lj%5(EWo2",IStzRR5!R\RRRR5!R\RR '673) c+AE p[eX #67 KcA@`#rD3'8J'673!'673f "b*BBN c+AE x[bfp[eXJ#67!#67 KcA@ $b(BB`#rWb-fDq'87 4632#"&QIIQRHHRY[^VU`^R}R5>>++H}'7==5w+jk+y=#=^+JJX*"!!!!327#"#53&57#5332&#)E블QG*' XK'uRhARA^" R&KfR2"(VHo#5!oRR&HKf&HNfJ ##5!533#547Zc`;<E݄d /v&H'HfK&H'HfN;&HHf533fJ@s&B8R>s&u6R&s&R&iRSG_< BK b   +7uq{-R-=hhoD\sq^+myoLooo^9qjH\o1 #3N9R3XJ=bwwdwf/-wwT7R=THoN+T!PdNuRo\dmo5)=q+LFuH; )^Jujjjj/w9=b=b=b=b=b=bbwdwdwdwdwkuwwwwwow/w+sRR))DffD R HJo55 ~$q6)8)9);CEFGIOPQRSTUWqqqqqq $q 6) 8) 9) ; C E F G I O P Q R S T U W q q q q q q  ,&*136q789;6&*136q789;$q$ q$&$*$, $1$3$6q$8$9$;$$$$$$$$$$q$q%%%$%6%8%9%:%;%<%%%%%%%%%&&&*&1&3&&&&&&&&'''$'6'8'9':';'<'''''''''(,{)))"))$))))))))-&-*-1-3--------.\. \.&.*.1.3.6.7.8.9.;..............\.\111$1618191:1;1<111111111222$2:2<22222222333$3638393:3;3<3333333336666")6$q6&6*616366)6C\6Eq6Fq6Gq6Iq6O6P6Qq6R6Sq6T6U6W6X6Y6Z6[6\6q6q6q6q6q6q66666666q6\6\6\6\6\6\6q6q6q6q6q6q6q6q6q6q6q6666666q6666777$77777777888")8$8&8*81838C8E8F8G8I8O8P8Q8R8S8T8U8W888888888888888888888888888888888888888999")9$9&9*91939C9E9F9G9I9O9P9Q9R9S9T9U9W999999999999999999999999999999999999999:&:*:1:3::::::::;;;");$;&;*;1;3;C;E;F;G;I;O;P;Q;R;S;T;U;W;\;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<&<*<1<3<<<<<<<<=,CC CCDD DXDYDZD[D\DDDE)E )E)E)GG GXGYGZG[G\GGGH{H {H{H{JJ JJMEMFMGMQMSMMMMMMMMMMMMMOO OOPP PPQQ QXQYQZQ[Q\QQQRR RXRYRZR[R\RRRTRT RTCTETFTGTITQTSTTTTTTTTTTTTTTTTTTTTRTRV)V )V)V)XRX RXXX")XRXXRXYRY RYYY")YRYYRYZEZFZGZQZSZZZZZZZZZZZZZ[R[ R[[[")[R[[R[],q q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qq,{&*13,{,{,{,{$689:;<$689:;<$689:;<$689:;<$689:;<$689:;<$689:;<$$$$")$&*13CEFGIOPQRSTUW\$:<       XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\  XYZ[\R R")RR XYZ[\R R")RR,{.Dr,<j>|:\r>`H`xB2h   ( ` " F  & 2 f  8 n  $ P h DtNl.6,Bj$4D ".^jv&2>JpZfr~ ".:FRz,8D~@N\r(8z*X/\5Z   H,  t  TOpen Sans LightRegularAscender - Open Sans Light Build 100Version 1.10OpenSans-Lighthttp://www.apache.org/licenses/LICENSE-2.0ff  !"#$%&'()*+-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghjikmlnoqprsutvwxzy{}|~   ,nulluni00AD overscoreEurouniFB01uniFB02 foursuperioruniFB03uniFB04ff _Xhttps://fonts.gstatic.com/s/opensans/v10/cJZKeOuBrn4kERxqtaUH3SZ2oysoEQEeKwjgmXLRnTc.ttfOUbplist00}~X$versionX$objectsY$archiverT$top)#)*0123WXYZ[\]^_`abcdefghijklmnopqrstwxU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 '($%&'(WNS.base[NS.relative_Xhttps://fonts.gstatic.com/s/opensans/v10/cJZKeOuBrn4kERxqtaUH3SZ2oysoEQEeKwjgmXLRnTc.ttf+,-.Z$classnameX$classesUNSURL-/XNSObject#A*456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNHPQRSTU !"#$%&\Content-Type_Access-Control-Allow-Origin_alternate-protocol_Content-EncodingVServer_x-xss-protectionWExpiresSAge_timing-allow-origin]Cache-ControlTDate^Content-Length_x-content-type-optionsTVary]Last-ModifiedXfont/ttfQ*\443:quic,p=1TgzipTsffe]1; mode=block_Fri, 15 Apr 2016 20:36:32 GMTV376370_public, max-age=31536000_Thu, 16 Apr 2015 20:36:32 GMTU15157Wnosniff_Accept-Encoding_Thu, 21 Aug 2014 18:06:16 GMT+,uv\NSDictionaryu/+,yz_NSHTTPURLResponse{|/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiver_WebResourceResponse#-27ciFKV_ehqz|~%:MTgos'.Iiow13O^pGDEFGPOS GSUB tOS/2`cmapgaspglyf4head7X6hhea7$hmtx7hkern;locaYmaxp[h name[2post\&   ,latnliga6 "(HNHKHNKH33f @ [(1ASC@ X H  *  HI~1S    " : D t " IJ1R    " 9 D t " l_#޾  !!7!!IhyJh#3432#"&Fi3x:?@94D#FB@G?#!#?(i)+)h)3!!#!#!5!!5!3!3!!!BTTRPD+RR1TT/BRRTLLT  &-#5"&'53&&546753&'4&'6 ̷pCSYͥ˧4JYZocf#%/AE; N2_{eHY,{L\)]h- !-132#"#"&5463232654&#"#"&54632#JSSJʙJTTPPTTJ˙Փ+TR۫ Jq 56654&#"27%467.546326673#'#"&HWegVYoKo\,U=$į8CD+vE}XKSMa`DYfAuf_bj9k]y>cݲj\?#?(i)R! 73#&R1 ή26=  #654'3 1:1V%'%7++uo^j^Foh) !!#!5!3dfV?m%#67^b5}A drh2\T?q5!T٘ 74632#"&=9:AB93CjCEECAF?#ߦ!Jf- #"3232#"-ᖤr~r~';;% !#47'3ˢ4Xt.r+d%!!5>54&#"'632!%?p8~[dXSu9UlKHDJA,>85GF%267# #5773!!,Ri*F`>^u  OPE{cj9H32653#'##"&5Lz 3tH9@QVH !3363`P u̲`HvD5M0#H!&'##3366733663/4(ծjo 1ɴ8#;ѯ_HcPK95uu$'H 33##! ʼ1\DH33663#"'53277O S)FLJ7DI=H_3|  RmH !!5!5!!mV]qV=%&&54ᘡ463uq~xtض f\/hY\`2' '{3#H&54'52"5665467 vz~;otnq?''a[Yhљ\f)rxhP)T"56323267#"&'&&R56dDqYBb/66fH~HKZC6m&@9n! ^3##"&54632i3y<!3;?D2&#"!!!!5655#5346={}ZAJTM|d,/<{'47'76327'#"''7&732654&#"J^hf_JJ\fd\Jttrtzk\II\qvg\GI\k|pqrq3!!!!#!5!5!5!3H{`=ä<e {3#3# {1=467&&54632&&#"#"'532654&&'.7654&'VNJT^a5bLtt{RJڀNR0lsB1DU)V%(oUy'';@54&#"'632!YR!P?4bEBYJhVaL6DE&2XopP!9##"'53254##532654&#"'6632sRDt{uwgcPCBp8E?^Pg/8{DkOD=D+#Z-6w! 6673#0o ,@o>AA4DH32653#'##"'##3V oX }@\T4q`####"&563!`rs>T-P3LZ 4632#"&>8:AB93CBEEBAF?%#"'532654&'733--;OQOmXn7aj j(6+5s'LJ 3#47'R6CC[Z-_`B #"&5463232654&#"[hi\\ig\ozzzz{vvPu '7'7uuXuuuX iG_^EiiG_^EiK'&z.'?&zsN!&t'm3wT^(3267#"&54>76655#"&54632NKay=zPb;ƾ#@Y6eAy;>B73F3zTjKM8dq&0`FiYR/Xt]+EB@G@s&$BRs&$uRs&$#R/&$R%&$i7R&$9!!!#!!!!!!#DTv/)}&&ys&(BRs&(u?Rs&(R%&(iR/H !!#53! !#!!3 Hw{Q|{b@ ?/&0R}s&1ByR}s&1u R}s&1R}/&1R}%&1iR  '7`^`e^dacc_c``e}#!"''7&!27'32&#"exl`Dѝaxjn`s'ejndOme^PLR2*Is&7BFRs&7uRs&7}R%&7iR{s&;u1Ry !##33 32654&##yḪʾꏤ0#"'53254&'&&54676654&# #4632X8GNf³k?HSn`EGK@sFC! *93_eE'/KkFR{T?j59Z5PUL^!&CB^!&Cu+^!&C^&C½^&Ci^&C^s\)4;467754&#"'66326632!!267# '#"&732655"!4&^tw4Jb)5nC:[TVe}QņkXy /D{T)5W_X`ku#'&!j_Ycm2s\&EyFs!&GBs!&GuNs!&Gs&Gi c!&BQ2!&u U!&&iqb!&#"54327&''7&'774&# 326bd9I\^EfLϘ3 yֿl>1uIKkwr蓪D&Psb!&QBsb!&QuVsb!&Qsb&Qsb&Qih)5!4632#"&4632#"&h;64:;34=;64:;34=<=?:9@?<=?:9@?sb##"''7&327&#"4'326bpTr^ tTua5Kr3/Gq%EuN +LwLf5Ԥd}39!&WB9!&Wuq9!&W9&Wi!!&[uu"6632#"'##3%"3 4&XBjz H/YOӡ"M?5.4Z)&[iVH!#3VH}!!# !2!!!!!"327&f\\@fZ'MDpWWjh)!uqZ*1 '#"326632!!26732654&#"%"!4&}>щ>:~'J^WX!G  tw1 ,wrpyiw#'' 9ؤ !6673#&'# fm}wXSs)*74o- #"&546324&#"326-{fexyde|lB33B<94Abwubbsw^8==88==".#"#663232673+ROI"23b s[.VNH 10c q%-%<=y%-%;>yRq5!R\٘Rq5!R\٘D'673% b8{B%Z yD#75b5zF dr?m'63!'6738z{; b8{B%saZ y#7!#675b5zF '`8}B dr[zd4]8^ 4632#"&qlitsjkry~|{wRuRVw!w'EGPu'7uuX iG_^Eiy#yJ?& !!!!327#"#53'57#5332&OA%˪.'$ɥG5m9@-BA *,P$aVh)5!h&HK &HNJ ##5!533!547}n} eCÆK '--'H&HKm'H&HNm'HHs33ɪJs&B|R<s&u*Ris&R8%&iR_< 51LL b  { #5+3hq^R^=jVh?T!fd^+u^hj!!?hwho1y/ }s!}#`'9;};}djmh{R3V1s^ss}sb'3qssDj91'R=hHh#?{h!{5dFRhTdmh1!=q!%LBP=K=.=o3 }ssss/;};};};};};}{s^s^s^s^s^s^^s}s}s}s}sqssssshsb}q oRR\\?=oRoP y?huum; ~$q6)8)9);CEFGIOPQRSTUWqqqqqq $q 6) 8) 9) ; C E F G I O P Q R S T U W q q q q q q  ,&*136q789;6&*136q789;$q$ q$&$*$, $1$3$6q$8$9$;$$$$$$$$$$q$q%%%$%6%8%9%:%;%<%%%%%%%%%&&&*&1&3&&&&&&&&'''$'6'8'9':';'<'''''''''(,{)))"))$))))))))-&-*-1-3--------.\. \.&.*.1.3.6.7.8.9.;..............\.\111$1618191:1;1<111111111222$2:2<22222222333$3638393:3;3<3333333336666")6$q6&6*616366)6C\6Eq6Fq6Gq6Iq6O6P6Qq6R6Sq6T6U6W6X6Y6Z6[6\6q6q6q6q6q6q66666666q6\6\6\6\6\6\6q6q6q6q6q6q6q6q6q6q6q6666666q6666777$77777777888")8$8&8*81838C8E8F8G8I8O8P8Q8R8S8T8U8W888888888888888888888888888888888888888999")9$9&9*91939C9E9F9G9I9O9P9Q9R9S9T9U9W999999999999999999999999999999999999999:&:*:1:3::::::::;;;");$;&;*;1;3;C;E;F;G;I;O;P;Q;R;S;T;U;W;\;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<&<*<1<3<<<<<<<<=,CC CCDD DXDYDZD[D\DDDE)E )E)E)GG GXGYGZG[G\GGGH{H {H{H{JJ JJMEMFMGMQMSMMMMMMMMMMMMMOO OOPP PPQQ QXQYQZQ[Q\QQQRR RXRYRZR[R\RRRTRT RTCTETFTGTITQTSTTTTTTTTTTTTTTTTTTTTRTRV)V )V)V)XRX RXXX")XRXXRXYRY RYYY")YRYYRYZEZFZGZQZSZZZZZZZZZZZZZ[R[ R[[[")[R[[R[],q q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qq,{&*13,{,{,{,{$689:;<$689:;<$689:;<$689:;<$689:;<$689:;<$689:;<$$$$")$&*13CEFGIOPQRSTUW\$:<       XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\  XYZ[\R R")RR XYZ[\R R")RR,{2Hr4DrD:^t>bNf"F2d  $ ^  @  * 6 l $ B z  6 ^ v $P~T|.>FBX~:JZj$0<HT0<HT`l $~.:FR^jv Xdp>ft0HX $0<HV/\Z   <   \ t TOpen SansRegularAscender - Open Sans Build 100Version 1.10OpenSanshttp://www.apache.org/licenses/LICENSE-2.0ff  !"#$%&'()*+-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghjikmlnoqprsutvwxzy{}|~   ,nulluni00AD overscoreEurouniFB01uniFB02 foursuperioruniFB03uniFB04ff _Xhttps://fonts.gstatic.com/s/opensans/v10/MTP_ySUJH_bn48VBG8sNSpS3E-kSBmtLoNJPDtbj2Pk.ttfOUbplist00}~X$versionX$objectsY$archiverT$top)#)*0123WXYZ[\]^_`abcdefghijklmnopqrstwxU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 '($%&'(WNS.base[NS.relative_Xhttps://fonts.gstatic.com/s/opensans/v10/MTP_ySUJH_bn48VBG8sNSpS3E-kSBmtLoNJPDtbj2Pk.ttf+,-.Z$classnameX$classesUNSURL-/XNSObject#A.456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNHPQRSTU !"#$%&\Content-Type_Access-Control-Allow-Origin_alternate-protocol_Content-EncodingVServer_x-xss-protectionWExpiresSAge_timing-allow-origin]Cache-ControlTDate^Content-Length_x-content-type-optionsTVary]Last-ModifiedXfont/ttfQ*\443:quic,p=1TgzipTsffe]1; mode=block_Fri, 15 Apr 2016 20:36:32 GMTV376370_public, max-age=31536000_Thu, 16 Apr 2015 20:36:32 GMTU15234Wnosniff_Accept-Encoding_Thu, 21 Aug 2014 18:07:56 GMT+,uv\NSDictionaryu/+,yz_NSHTTPURLResponse{|/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiver_WebResourceResponse#-27ciFKV_ehqz|~%:MTgos'.Iiow13O_PpGDEFGPOS GSUB tOS/2`cmapgasp glyf4head76hhea7$hmtx7hkern;TlocaYmaxp[ name[hpost](&   ,latnliga6 "(HNHKHNKHX33f @ [(1ASC X R  *  HI~1S    " : D t " IJ1R    " 9 D t " l_#޾  !!7!!IhyJh#!4632#"&s4NHGLMFGOJMPGGSP#!#m))s))/!!####5!!5!33333#7PPPL9%PPPP9f^^ZZo' &-#5&'5'&&546753&'4&'6'ȅV[T׸˶ILQ_'G]PTőH*9v?K> I:K#9L%7 JT )-32#"#"&5!232#"#"&5!2#:BB:¥?;BB;¦@+''ڕ)%!J` 26654&#"27%467&&54632673!'#"$C54&#"'6632!9!ym2wiTgzG{~Hcr>QgVմc V-&!"'532654&##53 54&#"'6!2]`^zwSis f O.2~un^f/D'm ##!533!47#mdV <??Ho}B^u)2!"'53265!"'!!66JQZ/4i8!#eO.2 >^?$!2&#"36632#"&2654&#"^nLLd /sޝ}y{{LJoZQY!~Aq;J=!!5!BϤX9#02#"$5467&&54632654&''"6654&HrF}t dz,Tdxc{ɿVu̻zLPohswfQ9 :?cU4RC/5uNUcV7%!"'532##"&5432%"32654&&7:YZ ;pޜ~zy{wE|FPVZP}_YZj 74632#"&432#"&LHILMHHLKJMHHL}INQFGSRPGGSR?j%#7432#"&0E"#KJMHHLPGGSR`1%51/#yf)5!5!f=?q`15`#//XyRm&54676654&#"'632432#"&PdwEpi_MT,Ym]?HLMGGL@nN^hHTZ6&qKujUI`Q-OHGSQoV5?#"&'##"&543232654$#"!27# $32327&#"ZkOt 1ZLHhO]Ŧ6"bS ?HTHNNҳ/̞ZVeش%J!!#!&&'Lя##15 4jDd(({!! #!32654&##32654&#. |斊 Z_rg\1s|rny"3267# 4$32&&/]^h!!#367!5basFxo>33!k!##!3!#47#9XQR I9uJm^%=!!##!3&531" Ay!Qy ! ! 32#"eKFdtjjv  !##! 32654&##'~|y!# ! 32#"^'eKFdJHjjv  32654&###! !|z|l\tyHd $#"'532654&'&&54$32&#" da|ȤLÙtx0nFM/6l[RrNQВ\ReS9QH;Cth!#!5!!RKR;# 533 ;RN cc 3#366716 6JsA2L0 !!&&'!366736730 -1 ,#'9h9*@2͝UAVwR !!!!!: RR7V)<!#!^Z/BX !!5!5!!X3Cͨq!!!!q)g# J3!!5!!3+/3#yYJsH!5!swjP! &&'5!E0&,4:F3Zf&!'##"&546%754&#"'6632%2655\/PchUHLZ_XeI;ji2"/1`cfJQ2#"'##336"3265t+ p}}fї)ʵƻyff"!2&# 327fGaᏊ?%,A:N% fT"323&53#'#'26754&#"r ) q|,/wE쑥!Ѱɺf9f 32!3267"!&&baVp -6%+)"Ȏ#B!##5754632&#"!춶|x>WOPI`nHHĽ)ccHNf+8C#"'332!"&5467&&5467&&5463232654&##"3254&#"N"5+LG_t/=FEVk/g|gewekdegfiR##f9/?&&̠fY1>V*%p LRn[H=_Ghplutu!#4&#"#33663 ugp 0r~u_lPXk!#34632#"&E@>EE>@ER%?DD?EE>@Ec?DD?u#ʵȹfTf %26554&#""32373#467#^~hA h%ʹȻ-1MX,bNf2&#"#3366G.26 7f Rctbf!#"'53254&&'&&54632&#"݆è0nbîLza|<;CZ*8<&JvOJj4H?5Xs'H%27# #5773!!DVV'{BP;U`ThVUQmR!'##"&5332653! 1thoMXV'HR !33673\:  =ZR}dHsR!&#!33667!36733D :"0 )-7R+qRʐI/F18{!NR !!!!  5}bJR!3663!"'532773 0'NJ5DE)Rv7 hDR !!5!5!!/3 -4!5265463&&57rgfs[]7SR' $RT3#ٴ-56654675&54&'523"_jj{[n}{K\y ')RSdTUe`;1h"56323267#"&'&J2{=cBvXY4}:iA}T<=l%7>:o#7^3!#"&546323!KJHLLHHM8JNOIETQ%#5&54753&#"3267wΞFhKW; =;²%HV2&#"!!!!56655#5346µLzsBPb^RG[-pu'47'76327'#"''7&732654&#"@ydssby??wcr~Yw@^aa]mhw?Audswbw==wctbba}33!!!#5!5!5!533HAqv3#3#ٴEs#-9467&54632&&#"#"'53254&&'.7654&'MI۹[cDtx=nԆMQ*da=0mm|6E'P+S"*2m6O3DmYPG(3+66&7]ua-FD8AgKg5[% 4632#"&%4632#"&%C05?@40CC05@B30Cw>7>75@:;>7>76?:dD&6"3267#"&54632&4$32#"$732$54$#"}oxl{7~.sxĊAj^^{$$ۧ߬ 3F7^Zƪݨ!%9!'#"&546774&#"'63232655#.vGqqkEEZx6Gm`[\a76ijhoHH8sF}}A<@1XRR+Rh! %Rde1^a^a`1+#!5!1yHJdD%532654&#####!24$32#"$732$54$#"EJLIOCZ^^{$$ۧ߬FAH9}>sZ^Zƪݨ!%!5! m9 4632#"&&732654&#"mXXfJJfhHHhWYFhgGLfh`1 !5!3!!#5!rqrij3J!576654&#"'632!uA@3]l^\Jpj;46XywrS-9##"'53254##53254&#"'6632QO^_z}siE89a9T=bK_'nM>O}48(%r.;{jP! 5667!j9y#4GF==5uR32653#'##"'##3ڒ" 0hO'STZ$>qw####"&563!w>TD39j 4632#"&LHILMHHLINQFGSR!"'532654'73B76E6?T)PZ!-UX_TJ #77'%3/vXJg[,Yp= #"&5463232654&#"ϯNXXNNXXNdonnoqmmPh! '7'7!g=fQa\^^PQa\^^P<1'&z\.H'&zs7h''t 7w^'3267#"&546676655#"&54632Rf|>lkZRR*Vr^>KJHLLHHM?jPbbKN^7&nIrhZLaO-@JNOIETQJs&$BRJs&$uRJs&$;RJH&$-RJ>&$iFRJ &$Vm!!!#!!!!!!#/;7{jr5y&&ys&(BRs&(uNRs&(R>&(iR/^ !!#53! ##!!3 ^no[3͠o IZH&0Rys&1BwRys&1u'Rys&1RyH&1Ry>&1iR 7'}HI}E{}FF{}F}y#!"''7&!274'32&#"Ք^beKǛZcPaNK\tQ^yjR\<R;;s&7B7R;s&7uR;s&7R;>&7iRs&;uXR !##33 32654&## ~{3#"'53254&'&&54676654&#"#4$32}MBZ6-9_\W,̾m:CEywhDGK@oJ3E:3&@>_pGA%1=XJI|T?i57U3HQlisͨZ!&CBZ!&CuLZ!&CZ&CZ&CiZ&CZf&07467754#"'6632632!!27#"&'#"&732655"!4&ZɍJXccx8 #VnC^|p u=LR/1P)"mn}^`aff&Eydf9!&GBf9!&Gu`f9!&Gf9&Gi!&BQ!&u2!&X&if}!'#"54327&''7&'774&#"326}W>XVQTvX𗃗7 ow;+?Qqu&P!f}!&QBf}!&Quof}!&Q f}&Qf}&Qi`15!4632#"&4632#"&`?@=@D9=%%AXL`y1+5!`y#&HK#z&HNJ ##5!533!547}x}4$CͲadh6#q&H'HK#b&H'HN#)&HH33Js&BRs&uIRs&Rr>&iRW_< L}LxT d  T{ 5}+/oT`R=bJ`#?H3XZV'u^JXV39?`f`/oJHywByddVbDLyLyfd B3LojZfff#s;;;ffsb%'HhJD-h-`5Huhs%d9sR`Hdmm`3-j=q3T =sP<.77JJJJJJLywwww/DLyLyLyLyLyLyTZZZZZZZfffff;;;;ffffff`fJJ;yf`RR%?--+RP w?`#### # ##q ~$q6)8)9);CEFGIOPQRSTUWqqqqqq $q 6) 8) 9) ; C E F G I O P Q R S T U W q q q q q q  ,&*136q789;6&*136q789;$q$ q$&$*$, $1$3$6q$8$9$;$$$$$$$$$$q$q%%%$%6%8%9%:%;%<%%%%%%%%%&&&*&1&3&&&&&&&&'''$'6'8'9':';'<'''''''''(,{)))"))$))))))))-&-*-1-3--------.\. \.&.*.1.3.6.7.8.9.;..............\.\111$1618191:1;1<111111111222$2:2<22222222333$3638393:3;3<3333333336666")6$q6&6*616366)6C\6Eq6Fq6Gq6Iq6O6P6Qq6R6Sq6T6U6W6X6Y6Z6[6\6q6q6q6q6q6q66666666q6\6\6\6\6\6\6q6q6q6q6q6q6q6q6q6q6q6666666q6666777$77777777888")8$8&8*81838C8E8F8G8I8O8P8Q8R8S8T8U8W888888888888888888888888888888888888888999")9$9&9*91939C9E9F9G9I9O9P9Q9R9S9T9U9W999999999999999999999999999999999999999:&:*:1:3::::::::;;;");$;&;*;1;3;C;E;F;G;I;O;P;Q;R;S;T;U;W;\;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<&<*<1<3<<<<<<<<=,CC CCDD DXDYDZD[D\DDDE)E )E)E)GG GXGYGZG[G\GGGH{H {H{H{JJ JJMEMFMGMQMSMMMMMMMMMMMMMOO OOPP PPQQ QXQYQZQ[Q\QQQRR RXRYRZR[R\RRRTRT RTCTETFTGTITQTSTTTTTTTTTTTTTTTTTTTTRTRV)V )V)V)XRX RXXX")XRXXRXYRY RYYY")YRYYRYZEZFZGZQZSZZZZZZZZZZZZZ[R[ R[[[")[R[[R[],q q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qq,{&*13,{,{,{,{$689:;<$689:;<$689:;<$689:;<$689:;<$689:;<$689:;<$$$$")$&*13CEFGIOPQRSTUW\$:<       XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\  XYZ[\R R")RR XYZ[\R R")RR,{6Lp .>lB|>`v@fNf~*P >t  6 r 2 V  @ L  6 T " B h 0^Z8HP&Zp,Tdt0<HT`lHT`lx&2>BNZfr~(4lx &Lp~$:Phx*6BNZfW/\Z $ $ N2 $  " TOpen Sans SemiboldRegularAscender - Open Sans Semibold Build 100Version 1.10OpenSans-Semiboldhttp://www.apache.org/licenses/LICENSE-2.0ff  !"#$%&'()*+-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghjikmlnoqprsutvwxzy{}|~   ,nulluni00AD overscoreEurouniFB01uniFB02 foursuperioruniFB03uniFB04ff  !"_Xhttps://fonts.gstatic.com/s/opensans/v10/k3k702ZOKiLJc3WVjuplzJS3E-kSBmtLoNJPDtbj2Pk.ttfOUbplist00}~X$versionX$objectsY$archiverT$top)#)*0123WXYZ[\]^_`abcdefghijklmnopqrstwxU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 '($%&'(WNS.base[NS.relative_Xhttps://fonts.gstatic.com/s/opensans/v10/k3k702ZOKiLJc3WVjuplzJS3E-kSBmtLoNJPDtbj2Pk.ttf+,-.Z$classnameX$classesUNSURL-/XNSObject#A?#456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNHPQRSTU !"#$%&\Content-Type_Access-Control-Allow-Origin_alternate-protocol_Content-EncodingVServer_x-xss-protectionWExpiresSAge_timing-allow-origin]Cache-ControlTDate^Content-Length_x-content-type-optionsTVary]Last-ModifiedXfont/ttfQ*\443:quic,p=1TgzipTsffe]1; mode=block_Fri, 15 Apr 2016 20:36:54 GMTV376348_public, max-age=31536000_Thu, 16 Apr 2015 20:36:54 GMTU15077Wnosniff_Accept-Encoding_Thu, 21 Aug 2014 18:07:38 GMT+,uv\NSDictionaryu/+,yz_NSHTTPURLResponse{|/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiver_WebResourceResponse#-27ciFKV_ehqz|~%:MTgos'.Iiow13O_pGDEFGPOS GSUB tOS/2`cmapgasp glyf5$head76hhea8 $hmtx8Dhkern;locaZ<maxp[ name\\post]t&   ,latnliga6 "(HNHKHNKH33f @ [(1ASC X ^  *  HI~1S    " : D t " IJ1R    " 9 D t " l_#޾  !!7!!IhyJhu#!4632#"&3ZZVS[\RT\TVXRO[YB#!#))))-!!####5!7#5!333337#/MNLJ/!MMNN/LjjiiXD &,#5&''&&546753&'4&'65DωW`Cƥˉ^åMDDn=DɟQ+B6N R@Kng*:,9? "-3254#"#"&5!2%#3254#"#"&5!2;-2``2-Y+-2``2-Y}{}J}{}R&1!!'#"$5467&&5463267!%3274&#"66syKDúߊG4>$~Pe~e:CgH9CM_V\q࿉TV]wYucVf=J,`5=@;Xj0]#))Ry 73#&R1 ή27=d #654'3d1:1?V%'%7)u!㜉'm)hy9w)hpX9 !5!3!!#}}dz?%#7!4|A$ =V5!=u9 74632#"&uZVS[\RT\TVXRO[YD!D!JJH !"!2326&#"H5]nl`akm^|so  yN !!77'3NMNMwNP!!5>54&#"'>32!Pod,aQUWlhtG}sn;XVNH\L)dteNB&!"'32654&##532654#"'6!2UdoqH[o$O+6hsgVYl0;Ր#q #!!5!3!5467#q" %4//i>RNkd52!"'3 54!"'!!76fO^5({7#=O *5 BHP$!2&#"3632#"&2654&#"Hon}GYWd ccjcd^}m` {k{zQw7P3!!%/HJ".2#"$5467&&54$32654&'"6654&J|}nxhsrqOaMebNdɿpEXr̻}JOkV`cQCuBbQD<_2.`?EPBJ%!"'532667##"&5432%"32654&JCT\j :r `lbd^}FPV[ë^L|j|{Pwus 74632#"&4632#"&uZVS[\RT\ZVS[]QT\TVXRO[YTVXRQYX?s%#74632#"&4|A$/ZVS[]QT\ TVXRQYXX9%59TX95!5!X%}X95XT=J%54676654&#"'6324632#"&RmiC`Vmd`3ZVS[\RT\J`PK^:ADb}ƥndGJ<D?tg610&RB)=9Jb)y!!!!!sPs^# 5!3265^5N!}3 !!!67991 @JM(\!!&'!!667!667!H 50 11+%* ,1),63ݢ9B37QNHV !!!!!V:V;5N5)+!!!1NP\Z/1q !!5!!!qVDs!!#3s B!!!J33#5!!3qT=3#J}NH!5!NRL!&&'5!?DV?,BeV;u"!'##"&5467754#"'6323265f;M®evjaK 1QeXZze2#"'##!36"32654&p31 kpqhkt^opsЏ{E!\s !2&&#"3267f šZH|>XKJ=-L%/2/$\q"323&5!#'#'26754&#"o 2; hjumo}fqr23}bf쑥!\bs"!&& 32!3267oanr6/ebP{qq{R*3*.(')u!!#5754632&#"! ϨϞ{N\NA:yyRR/M1GO^} "'53265!432#"FuTFIMG1pSSVT)kGO7!!!!Ņ9XD1`TiJ!!!1Bs#!!4&#"!33663236632!4&#"QWuj)-nY-nQWpoyy^MWNV'yys!!4&#"!336632V^r)3ryy^QS\s 32654&#"!"&5!2m{zkl{zl1̍0s"'#!33632"324&p+kiqhkte;J!R\qs %26754&#""3237!!47#otlo{kj< 1ۅ%14PT=kQTws2&#"!3366>)%5-4s ^^s\s%#"&'53254&&'.54632&&#"zKUQ,lZy7ʿ\TLWz:L! (6`$-9&6\wWX$.I)<;5\x/7L%27#"&5#5773!!wPprX9I#3fA>^!'##"&5!3265!)1s1V^r1NUsyy^ !!367!V?$ (?V^yl`}^!#!!3677!3667!7Vt0 P  . +^LUVa]H, ^ !!!!ZZ};#d^!367!#"'532677N  G'AOL7AQy"^Rpg[u cd77^ !!5!5!!B Q4춯463"&5}~cKJdW\XR>}FDռ" # DF}/3#!R"#566554675&'4&'523"RcKvsJdQ{}-pr5DG+ Vk "+FD5sn TTRaX'9}"56323267#"&'&B7}6gIKb5~6eBxZC6m 7@9m%8u^3!#"&546323^ZVS[]QT\^1%TVXRQYX%$753&&#"3267#3\ӲZH|>ytRd; A$-= Rj2&#"!!!!56655#53546]sNTwgMR@YSۏN,rdq!'47'76327'#"''7&732654&#"6[ji[55}_esT}6mPQoqONof_57Ynk\}}33{}]hMonNPnp!3#3#!5#535#53!H9<\Zݲ/3#3#j)-8467&54632&&#"#"'53254&&'&&7654&'yH=߶RDNQJcr}>?˒QF%ZP߂tNe%5%O(TT 3.01J-@mS(iJO)9u'03"JCh.9YD^1O 4632#"&%4632#"&K@BKLA@KQ?^\X9 !5!3!!#5!}}}{/J!576654&#"'632!yf90(Qc{^i`JdY2&(XuUu_;9%#"'53254&##532654&#"'6632^h{XNp\SQ23/T9e>g7 nOyFZk5549&2&(/>L!567!L?V4Ge42^3265!#'##"&'!!X^~r1+*xX>h 1yyUU.,UJq####"&563!>T\P3u)} 4632#"&uZVS[]QT\TVXRQYX#"'53254'73ND[HNJXr>S=e\JH #77'%3H0Nm-Jp_$*=9 #"&5463232654&#"ᷟ#AHH??HHA\ŧŦdeeddccR^ '7'7ss#;w\\w9;w\\w9.&z'.&z'sZ&t'=y^'3267#"&54676655#"&54632Ylm9WYO`fbja_5(ZVS[]QT\^JbMNX?9J:*8EliFJ=;VTVXRQYXs&$BRs&$uRs&$VR`&$VRV&$iVR &$uX%!!!!!!!!!!#%3z\`Nw&&ys&(BRs&(u\Rs&(RV&(iR/u 3! !!#%4&##3#3 /fe|bңRdT`&0Rws&1BuRws&1uFRws&1Rw`&1RwV&1iR  7'՘-1-Ӗ-+ј-՘w"!"''7&!27&#"4'3 ŋZZiQƒTX8Ti3 LhszAlmF}ht-u'^s&7B+R^s&7uR^s&7R^V&7iRs&;uR !#!!3232654&##6 Dd|dt%&@aL:0*4([bzN"$2{)3<*HwQ@j17P.^;yxHN!R&[i^!!!1^wP#!!# !2!!!!!"3267&&P&-S>=#d3Az&# ik \{s+2 '#"&5!2632!326732654&#"%"!&&pGkdQfm{zkl{zl^| u-OM*.'(Esyo}! &'#567!TMN˽CeH]SQ_p4FTJ #"&546324&#"326Jppqn6**600*6lnli-33--44 "#663232673#".9 v)OMJ$9 t)OMJB56!' 46!'!R5!R\R5!R\'673'e5B#[q#72~E(?%#7!4|A$ w673!%673!e5B#e5B#[q[qw #7!#7!2~E2~E((? %#7!#7!4|A$4|A$  b) 4632#"&b욣R^Rs=wwR^'7s#;w\\w9w#+JB'"!!!!!27#"'#53&57#53632&&#z^c3t)vt%DbExɍ#/!9; '5R#Xd9?5!Xd)&HK)&HN J ##5!533!547}} 5ᗗAͤVbl)&H'HK/)&H'HN/)&HH3!6Js&BzRs&u[Rs&RV&iR_;_< BJ   y Ju+-X5?R!R=\?XR?=HuNJyNN#dH7HBHuR?XXX-f`w{dwhP^w^wHh^) 3V1N 3BJLV\\\)Bqq}qB\\\y/B 7'h'RXJuRqhjd/RX=dm\X/;LH=qHu\9R . . Z=w{{{{/^w^w^w^w^w^w    VVVVVVVV\\\\\qqqq\B\\\\\X\BBBBqw\TRRT?%?bRR wBX)) ))1) ~$q6)8)9);CEFGIOPQRSTUWqqqqqq $q 6) 8) 9) ; C E F G I O P Q R S T U W q q q q q q  ,&*136q789;6&*136q789;$q$ q$&$*$, $1$3$6q$8$9$;$$$$$$$$$$q$q%%%$%6%8%9%:%;%<%%%%%%%%%&&&*&1&3&&&&&&&&'''$'6'8'9':';'<'''''''''(,{)))"))$))))))))-&-*-1-3--------.\. \.&.*.1.3.6.7.8.9.;..............\.\111$1618191:1;1<111111111222$2:2<22222222333$3638393:3;3<3333333336666")6$q6&6*616366)6C\6Eq6Fq6Gq6Iq6O6P6Qq6R6Sq6T6U6W6X6Y6Z6[6\6q6q6q6q6q6q66666666q6\6\6\6\6\6\6q6q6q6q6q6q6q6q6q6q6q6666666q6666777$77777777888")8$8&8*81838C8E8F8G8I8O8P8Q8R8S8T8U8W888888888888888888888888888888888888888999")9$9&9*91939C9E9F9G9I9O9P9Q9R9S9T9U9W999999999999999999999999999999999999999:&:*:1:3::::::::;;;");$;&;*;1;3;C;E;F;G;I;O;P;Q;R;S;T;U;W;\;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<&<*<1<3<<<<<<<<=,CC CCDD DXDYDZD[D\DDDE)E )E)E)GG GXGYGZG[G\GGGH{H {H{H{JJ JJMEMFMGMQMSMMMMMMMMMMMMMOO OOPP PPQQ QXQYQZQ[Q\QQQRR RXRYRZR[R\RRRTRT RTCTETFTGTITQTSTTTTTTTTTTTTTTTTTTTTRTRV)V )V)V)XRX RXXX")XRXXRXYRY RYYY")YRYYRYZEZFZGZQZSZZZZZZZZZZZZZ[R[ R[[[")[R[[R[],q q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qqq q&*, 136q89;qq,{&*13,{,{,{,{$689:;<$689:;<$689:;<$689:;<$689:;<$689:;<$689:;<$$$$")$&*13CEFGIOPQRSTUW\$:<       XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\ XYZ[\  XYZ[\R R")RR XYZ[\R R")RR,{6Ldt$4bz :t4Xn6X :Tp<r2l  . d ( L 0 > t 0 P $ D n <jd@PX 2h~<dtBNZfr~Vbnz ,8DPVbnz $0<H(Dj.Ndz(8HTbnzX/\ Z   F ` |  TOpen SansBoldAscender - Open Sans Bold Build 100Open Sans BoldVersion 1.10OpenSans-Boldhttp://www.apache.org/licenses/LICENSE-2.0ff  !"#$%&'()*+-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghjikmlnoqprsutvwxzy{}|~   ,nulluni00AD overscoreEurouniFB01uniFB02 foursuperioruniFB03uniFB04ff $%&_Ahttps://cf.dropboxstatic.com/static/css/web_sprites-vflbwGSmv.cssObplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ()$%&'(WNS.base[NS.relative_Ahttps://cf.dropboxstatic.com/static/css/web_sprites-vflbwGSmv.css+,-.Z$classnameX$classesUNSURL-/XNSObject#A456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-CacheXtext/cssQ*_Tue, 21 Apr 2015 04:37:20 GMT_8Y1aQmh5ga1eOheuAfsQN-LlpfNk70zN8S8jipK1bt42htegqxPOBPw==TgzipUnginx_@1.1 ab125581acf8fb81cf04326a31a01b39.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:16 GMT_#max-age=15552000; includeSubDomainsT9441Zkeep-alive_"5535d400-24e1"_Miss from cloudfront+,vw\NSDictionaryv/+,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27dj05@IOR[dfhow)<CGO]b~ Yy'*/4HL`nO.sprite_web{width:16px;height:16px;background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-repeat:no-repeat;background-position:0 16px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.sprite_web{background-image:url(/static/images/sprites/web_2x_sprites-vflhelVVT.png);background-size:auto 5448.0px;-webkit-background-size:auto 5448.0px}}.s_web_osx{/*! @noflip */;background-position:left -7475px}.s_web_osx{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_device_mobile_android{/*! @noflip */;background-position:left -8204px}.s_web_s_device_mobile_android{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_app{/*! @noflip */;background-position:left -2666px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_app{/*! @noflip */;background-position:left -2119px}}.s_web_mp3{/*! @noflip */;background-position:left -90px}.s_web_mp3{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_api_python_disabled{/*! @noflip */;background-position:left -4092px}.s_web_api_python_disabled{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_email_go{/*! @noflip */;background-position:left -10416px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_email_go{/*! @noflip */;background-position:left -4169px}}.s_web_lightbox_add_to_album{/*! @noflip */;background-position:left -6757px;width:32px;height:32px}.s_web_lightbox_add_to_album{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_computer_add{/*! @noflip */;background-position:left -4903px}.s_web_computer_add{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_pro_upgrade_icon{/*! @noflip */;background-position:left -7723px}.s_web_pro_upgrade_icon{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_delete_32{/*! @noflip */;background-position:left -5470px;width:32px;height:32px}.s_web_folder_delete_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_pr_32{/*! @noflip */;background-position:left -2420px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_pr_32{/*! @noflip */;background-position:left -1914px}}.s_web_star_blue_on{/*! @noflip */;background-position:left -8705px;width:11px;height:11px}.s_web_star_blue_on{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_lightbox_view_original{/*! @noflip */;background-position:left -6947px;width:32px;height:32px}.s_web_lightbox_view_original{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_gray{/*! @noflip */;background-position:left -2726px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_gray{/*! @noflip */;background-position:left -2159px}}.s_web_facebook{/*! @noflip */;background-position:left -5344px}.s_web_facebook{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_user_locked_32{/*! @noflip */;background-position:left -1128px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_user_locked_32{/*! @noflip */;background-position:left -660px}}.s_web_ums_heart_active_icon{/*! @noflip */;background-position:left -9474px;width:14px;height:14px}.s_web_ums_heart_active_icon{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_word_gray_32{/*! @noflip */;background-position:left -2386px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_word_gray_32{/*! @noflip */;background-position:left -1881px}}.s_web_issue{/*! @noflip */;background-position:left -6599px;width:36px;height:36px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_issue{/*! @noflip */;background-position:left -3257px}}.s_web_s_greencheck{/*! @noflip */;background-position:left -11273px;width:20px;height:20px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_greencheck{/*! @noflip */;background-position:left -4985px}}.s_web_email_delete{/*! @noflip */;background-position:left -10395px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_email_delete{/*! @noflip */;background-position:left -4149px}}.s_web_help2{/*! @noflip */;background-position:left -6334px}.s_web_help2{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_application_double{/*! @noflip */;background-position:left -4200px}.s_web_application_double{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_music_20{/*! @noflip */;background-position:left -7333px;width:20px;height:20px}.s_web_music_20{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_browser_ie{/*! @noflip */;background-position:left -8114px}.s_web_s_browser_ie{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_api_js{/*! @noflip */;background-position:left -3966px}.s_web_api_js{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_package_gray_32{/*! @noflip */;background-position:left -1366px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_package_gray_32{/*! @noflip */;background-position:left -891px}}.s_web_timeline_dot{/*! @noflip */;background-position:left -9132px;width:4px;height:4px}.s_web_timeline_dot{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_user_go{/*! @noflip */;background-position:left -11704px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_user_go{/*! @noflip */;background-position:left -5376px}}.s_web_linux_gray{/*! @noflip */;background-position:left -7021px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_linux_gray{/*! @noflip */;background-position:left -3311px}}.s_web_basics_36{/*! @noflip */;background-position:left -4380px;width:36px;height:36px}.s_web_basics_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_download{/*! @noflip */;background-position:left -10195px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_download{/*! @noflip */;background-position:left -3994px}}.s_web_api_android_disabled{/*! @noflip */;background-position:left -3840px}.s_web_api_android_disabled{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_api_php_disabled{/*! @noflip */;background-position:left -4056px}.s_web_api_php_disabled{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_transmit_gray{/*! @noflip */;background-position:left -9254px}.s_web_transmit_gray{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_paint_32{/*! @noflip */;background-position:left -1944px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_paint_32{/*! @noflip */;background-position:left -1452px}}.s_web_ipad_small_32{/*! @noflip */;background-position:left -6490px;width:32px;height:32px}.s_web_ipad_small_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_Safari{/*! @noflip */;background-position:left -3609px}.s_web_Safari{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_new{/*! @noflip */;background-position:left -7389px}.s_web_new{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_public{/*! @noflip */;background-position:left -7741px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_public{/*! @noflip */;background-position:left -3373px}}.s_web_api_osx{/*! @noflip */;background-position:left -4002px}.s_web_api_osx{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_notifications_icon_white{/*! @noflip */;background-position:left -10902px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_notifications_icon_white{/*! @noflip */;background-position:left -4632px}}.s_web_api_android{/*! @noflip */;background-position:left -3822px}.s_web_api_android{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_photo_zoom_in{/*! @noflip */;background-position:left -3460px;width:9px;height:9px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_photo_zoom_in{/*! @noflip */;background-position:left -2697px}}.s_web_drops{/*! @noflip */;background-position:left -5096px;width:17px;height:17px}.s_web_drops{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_ums_heart_depressed_icon{/*! @noflip */;background-position:left -9490px;width:14px;height:14px}.s_web_ums_heart_depressed_icon{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_gs-complete{/*! @noflip */;background-position:left -10511px;width:24px;height:24px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_gs-complete{/*! @noflip */;background-position:left -4260px}}.s_web_s_carousel{/*! @noflip */;background-position:left -11106px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_carousel{/*! @noflip */;background-position:left -4826px}}.s_web_upload_16{/*! @noflip */;background-position:left -11620px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_upload_16{/*! @noflip */;background-position:left -5296px}}.s_web_s_notifications_on{/*! @noflip */;background-position:left -11438px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_notifications_on{/*! @noflip */;background-position:left -5123px}}.s_web_lightbox_remove_from_album{/*! @noflip */;background-position:left -6843px;width:32px;height:32px}.s_web_lightbox_remove_from_album{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_win{/*! @noflip */;background-position:left -9644px}.s_web_win{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_create-album{/*! @noflip */;background-position:left -10134px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_create-album{/*! @noflip */;background-position:left -3936px}}.s_web_redx{/*! @noflip */;background-position:left -7848px;width:15px;height:15px}.s_web_redx{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_api_js_disabled{/*! @noflip */;background-position:left -3984px}.s_web_api_js_disabled{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_windows_gray{/*! @noflip */;background-position:left -9680px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_windows_gray{/*! @noflip */;background-position:left -3628px}}.s_web_globe_blue_24x24{/*! @noflip */;background-position:left -5876px;width:24px;height:24px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_globe_blue_24x24{/*! @noflip */;background-position:left -2969px}}.s_web_mp3-playlist{/*! @noflip */;background-position:left -72px}.s_web_mp3-playlist{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_au_gray_32{/*! @noflip */;background-position:left -516px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_au_gray_32{/*! @noflip */;background-position:left -99px}}.s_web_page_white_gear{/*! @noflip */;background-position:left -252px}.s_web_page_white_gear{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_acrobat_32{/*! @noflip */;background-position:left -1434px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_acrobat_32{/*! @noflip */;background-position:left -957px}}.s_web_page_white_text_32{/*! @noflip */;background-position:left -2216px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_text_32{/*! @noflip */;background-position:left -1716px}}.s_web_page_white_stack{/*! @noflip */;background-position:left -7511px}.s_web_page_white_stack{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_coins{/*! @noflip */;background-position:left -4813px}.s_web_coins{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_show_comments_grey{/*! @noflip */;background-position:left -8294px;width:18px;height:18px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_show_comments_grey{/*! @noflip */;background-position:left -3433px}}.s_web_camera{/*! @noflip */;background-position:left -4673px}.s_web_camera{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_music{/*! @noflip */;background-position:left -7315px}.s_web_music{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_iphone{/*! @noflip */;background-position:left -6524px;width:14px;height:21px}.s_web_iphone{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_star_36{/*! @noflip */;background-position:left -8611px;width:36px;height:36px}.s_web_star_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_more{/*! @noflip */;background-position:left -10820px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_more{/*! @noflip */;background-position:left -4554px}}.s_web_pencil{/*! @noflip */;background-position:left -10962px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_pencil{/*! @noflip */;background-position:left -4689px}}.s_web_Opera{/*! @noflip */;background-position:left -3591px}.s_web_Opera{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_yahoo{/*! @noflip */;background-position:left -9809px}.s_web_yahoo{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_phone{/*! @noflip */;background-position:left -7547px}.s_web_phone{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_chevron_thin{/*! @noflip */;background-position:left -4767px;width:8px;height:12px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_chevron_thin{/*! @noflip */;background-position:left -2887px}}.s_web_word{/*! @noflip */;background-position:left -3306px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_word{/*! @noflip */;background-position:left -2550px}}.s_web_search-icon-filepicker{/*! @noflip */;background-position:left -8372px;width:10px;height:12px}.s_web_search-icon-filepicker{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_table_multiple{/*! @noflip */;background-position:left -8884px}.s_web_table_multiple{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_purge{/*! @noflip */;background-position:left -7762px}.s_web_purge{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_quota_full_32{/*! @noflip */;background-position:left -7814px;width:32px;height:32px}.s_web_quota_full_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_fla{/*! @noflip */;background-position:left -36px}.s_web_fla{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_emoticon_smile{/*! @noflip */;background-position:left -5149px}.s_web_emoticon_smile{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_heart{/*! @noflip */;background-position:left -10584px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_heart{/*! @noflip */;background-position:left -4330px}}.s_web_folder_user_delete{/*! @noflip */;background-position:left -5603px}.s_web_folder_user_delete{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_links{/*! @noflip */;background-position:left -6981px;width:20px;height:20px}.s_web_links{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_Chrome{/*! @noflip */;background-position:left -3537px}.s_web_Chrome{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_lock{/*! @noflip */;background-position:left -10741px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_lock{/*! @noflip */;background-position:left -4479px}}.s_web_team_reduce_user_32{/*! @noflip */;background-position:left -8936px;width:32px;height:32px}.s_web_team_reduce_user_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_calendar_view_month{/*! @noflip */;background-position:left -9984px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_calendar_view_month{/*! @noflip */;background-position:left -3807px}}.s_web_api_ios_disabled{/*! @noflip */;background-position:left -3912px}.s_web_api_ios_disabled{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_lightbox_selected{/*! @noflip */;background-position:left -6877px}.s_web_lightbox_selected{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_paint{/*! @noflip */;background-position:left -270px}.s_web_page_white_paint{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_send-to-contact{/*! @noflip */;background-position:left -8386px;width:24px;height:24px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_send-to-contact{/*! @noflip */;background-position:left -3471px}}.s_web_folder_user_delete_32{/*! @noflip */;background-position:left -1060px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_user_delete_32{/*! @noflip */;background-position:left -594px}}.s_web_mp3_gray_32{/*! @noflip */;background-position:left -1298px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_mp3_gray_32{/*! @noflip */;background-position:left -825px}}.s_web_information{/*! @noflip */;background-position:left -6436px}.s_web_information{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_sketch_32{/*! @noflip */;background-position:left -2522px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_sketch_32{/*! @noflip */;background-position:left -2013px}}.s_web_tweet_36{/*! @noflip */;background-position:left -9306px;width:36px;height:36px}.s_web_tweet_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_edit{/*! @noflip */;background-position:left -2708px}.s_web_folder_edit{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_mp3-playlist_gray_32{/*! @noflip */;background-position:left -1230px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_mp3-playlist_gray_32{/*! @noflip */;background-position:left -759px}}.s_web_chevron_thin_back{/*! @noflip */;background-position:left -4781px;width:7px;height:12px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_chevron_thin_back{/*! @noflip */;background-position:left -2900px}}.s_web_page_white_webcode{/*! @noflip */;background-position:left -360px}.s_web_page_white_webcode{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_mac{/*! @noflip */;background-position:left -7119px}.s_web_mac{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_clock{/*! @noflip */;background-position:left -11145px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_clock{/*! @noflip */;background-position:left -4863px}}.s_web_page_white_compressed{/*! @noflip */;background-position:left -180px}.s_web_page_white_compressed{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_remove_from_album_32_padded{/*! @noflip */;background-position:left -7918px;width:32px;height:32px}.s_web_remove_from_album_32_padded{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_photo{/*! @noflip */;background-position:left -11457px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_photo{/*! @noflip */;background-position:left -5141px}}.s_web_s_photo_zoom_out{/*! @noflip */;background-position:left -3471px;width:9px;height:1px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_photo_zoom_out{/*! @noflip */;background-position:left -2707px}}.s_web_api_ruby{/*! @noflip */;background-position:left -4110px}.s_web_api_ruby{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_cake_36{/*! @noflip */;background-position:left -4635px;width:36px;height:36px}.s_web_cake_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_android_small_32{/*! @noflip */;background-position:left -3788px;width:32px;height:32px}.s_web_android_small_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_world_link{/*! @noflip */;background-position:left -9752px}.s_web_world_link{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_gear_32{/*! @noflip */;background-position:left -1842px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_gear_32{/*! @noflip */;background-position:left -1353px}}.s_web_s_device_mac{/*! @noflip */;background-position:left -8186px}.s_web_s_device_mac{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_personal_icon{/*! @noflip */;background-position:left -2974px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_personal_icon{/*! @noflip */;background-position:left -2296px}}.s_web_s_disable{/*! @noflip */;background-position:left -11212px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_disable{/*! @noflip */;background-position:left -4927px}}.s_web_stacked-shared-folder_32{/*! @noflip */;background-position:left -2590px;width:32px;height:32px}.s_web_stacked-shared-folder_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_rename_icon{/*! @noflip */;background-position:left -7952px;width:32px;height:32px}.s_web_rename_icon{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_application_add{/*! @noflip */;background-position:left -4164px}.s_web_application_add{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_pr_gray_32{/*! @noflip */;background-position:left -2454px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_pr_gray_32{/*! @noflip */;background-position:left -1947px}}.s_web_help{/*! @noflip */;background-position:left -6316px}.s_web_help{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_share_get_link_icon{/*! @noflip */;background-position:left -8504px}.s_web_share_get_link_icon{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_ai_gray_32{/*! @noflip */;background-position:left -448px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_ai_gray_32{/*! @noflip */;background-position:left -33px}}.s_web_move{/*! @noflip */;background-position:left -7297px}.s_web_move{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_user_gray_32{/*! @noflip */;background-position:left -1094px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_user_gray_32{/*! @noflip */;background-position:left -627px}}.s_web_share_twitter_icon{/*! @noflip */;background-position:left -8522px}.s_web_share_twitter_icon{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_group{/*! @noflip */;background-position:left -6066px;width:19px;height:15px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_group{/*! @noflip */;background-position:left -3135px}}.s_web_bullet_minus{/*! @noflip */;background-position:left -9948px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_bullet_minus{/*! @noflip */;background-position:left -3773px}}.s_web_page_white_film_gray_32{/*! @noflip */;background-position:left -1808px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_film_gray_32{/*! @noflip */;background-position:left -1320px}}.s_web_event_share{/*! @noflip */;background-position:left -5277px;width:18px;height:18px}.s_web_event_share{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_lock32{/*! @noflip */;background-position:left -7057px;width:32px;height:32px}.s_web_lock32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_album_delete_16{/*! @noflip */;background-position:left -9885px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_album_delete_16{/*! @noflip */;background-position:left -3717px}}.s_web_page_white_dvd_32{/*! @noflip */;background-position:left -1638px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_dvd_32{/*! @noflip */;background-position:left -1155px}}.s_web_creditcards{/*! @noflip */;background-position:left -4975px}.s_web_creditcards{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_excel-40{/*! @noflip */;background-position:left -3110px;width:40px;height:40px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_excel-40{/*! @noflip */;background-position:left -2362px}}.s_web_folder_user_44{/*! @noflip */;background-position:left -5564px;width:43px;height:37px}.s_web_folder_user_44{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_arrow_32{/*! @noflip */;background-position:left -10459px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_arrow_32{/*! @noflip */;background-position:left -4210px}}.s_web_photos_drag_add{/*! @noflip */;background-position:left -7583px;width:32px;height:32px}.s_web_photos_drag_add{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_word_32{/*! @noflip */;background-position:left -2352px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_word_32{/*! @noflip */;background-position:left -1848px}}.s_web_album_photos{/*! @noflip */;background-position:left -3648px}.s_web_album_photos{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_notepad{/*! @noflip */;background-position:left -11399px;width:18px;height:18px}.s_web_s_notepad{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_word{/*! @noflip */;background-position:left -378px}.s_web_page_white_word{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_sound{/*! @noflip */;background-position:left -324px}.s_web_page_white_sound{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_lightbox_prev{/*! @noflip */;background-position:left -10702px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_lightbox_prev{/*! @noflip */;background-position:left -4442px}}.s_web_user_suit_minus{/*! @noflip */;background-position:left -9574px}.s_web_user_suit_minus{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_excel_gray_32{/*! @noflip */;background-position:left -1740px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_excel_gray_32{/*! @noflip */;background-position:left -1254px}}.s_web_admin_console_18{/*! @noflip */;background-position:left -3627px;width:18px;height:19px}.s_web_admin_console_18{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_icon_chat{/*! @noflip */;background-position:left -6370px;width:15px;height:14px}.s_web_icon_chat{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_exclamation{/*! @noflip */;background-position:left -5297px}.s_web_exclamation{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_heart_32{/*! @noflip */;background-position:left -6244px;width:32px;height:32px}.s_web_heart_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_ai_32{/*! @noflip */;background-position:left -414px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_ai_32{/*! @noflip */;background-position:left -0px}}.s_web_folder_user_36{/*! @noflip */;background-position:left -5526px;width:36px;height:36px}.s_web_folder_user_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_user_32{/*! @noflip */;background-position:left -992px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_user_32{/*! @noflip */;background-position:left -528px}}.s_web_s_browser_firefox{/*! @noflip */;background-position:left -8078px}.s_web_s_browser_firefox{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_star_blue_on_big{/*! @noflip */;background-position:left -8718px;width:14px;height:13px}.s_web_star_blue_on_big{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_api_java{/*! @noflip */;background-position:left -3930px}.s_web_api_java{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_print{/*! @noflip */;background-position:left -3387px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_print{/*! @noflip */;background-position:left -2627px}}.s_web_page_white_code_gray_32{/*! @noflip */;background-position:left -1536px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_code_gray_32{/*! @noflip */;background-position:left -1056px}}.s_web_music_32{/*! @noflip */;background-position:left -7355px;width:32px;height:32px}.s_web_music_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_user_add{/*! @noflip */;background-position:left -11662px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_user_add{/*! @noflip */;background-position:left -5336px}}.s_web_page_white_dvd_gray_32{/*! @noflip */;background-position:left -1672px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_dvd_gray_32{/*! @noflip */;background-position:left -1188px}}.s_web_x{/*! @noflip */;background-position:left -9799px;width:8px;height:8px}.s_web_x{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_gear{/*! @noflip */;background-position:left -11252px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_gear{/*! @noflip */;background-position:left -4965px}}.s_web_event_select{/*! @noflip */;background-position:left -5257px;width:18px;height:18px}.s_web_event_select{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_user_locked_gray_32{/*! @noflip */;background-position:left -1162px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_user_locked_gray_32{/*! @noflip */;background-position:left -693px}}.s_web_page_white_code_32{/*! @noflip */;background-position:left -1502px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_code_32{/*! @noflip */;background-position:left -1023px}}.s_web_dropbox-folder_32{/*! @noflip */;background-position:left -550px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_dropbox-folder_32{/*! @noflip */;background-position:left -132px}}.s_web_twitter_20{/*! @noflip */;background-position:left -9380px;width:20px;height:20px}.s_web_twitter_20{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_excel_32{/*! @noflip */;background-position:left -1706px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_excel_32{/*! @noflip */;background-position:left -1221px}}.s_web_emoticon_unhappy{/*! @noflip */;background-position:left -5167px}.s_web_emoticon_unhappy{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_file{/*! @noflip */;background-position:left -11231px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_file{/*! @noflip */;background-position:left -4945px}}.s_web_dropbox-folder_gray_32{/*! @noflip */;background-position:left -584px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_dropbox-folder_gray_32{/*! @noflip */;background-position:left -165px}}.s_web_feed{/*! @noflip */;background-position:left -5400px}.s_web_feed{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_dvd{/*! @noflip */;background-position:left -198px}.s_web_page_white_dvd{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_gray_32{/*! @noflip */;background-position:left -1910px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_gray_32{/*! @noflip */;background-position:left -1419px}}.s_web_toggle_grid{/*! @noflip */;background-position:left -9138px;width:14px;height:14px}.s_web_toggle_grid{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_api_ruby_disabled{/*! @noflip */;background-position:left -4128px}.s_web_api_ruby_disabled{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_lock_dark{/*! @noflip */;background-position:left -7091px;width:10px;height:12px}.s_web_lock_dark{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_chevron{/*! @noflip */;background-position:left -10066px;width:7px;height:11px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_chevron{/*! @noflip */;background-position:left -3872px}}.s_web_coins_add{/*! @noflip */;background-position:left -4831px}.s_web_coins_add{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_lightbox_download{/*! @noflip */;background-position:left -6791px;width:32px;height:32px}.s_web_lightbox_download{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_open{/*! @noflip */;background-position:left -10923px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_open{/*! @noflip */;background-position:left -4652px}}.s_web_page_white_sound_gray_32{/*! @noflip */;background-position:left -2182px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_sound_gray_32{/*! @noflip */;background-position:left -1683px}}.s_web_globe16{/*! @noflip */;background-position:left -5802px}.s_web_globe16{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_empty_album{/*! @noflip */;background-position:left -5185px;width:32px;height:32px}.s_web_empty_album{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_feed_32{/*! @noflip */;background-position:left -5418px;width:32px;height:32px}.s_web_feed_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_android_gray{/*! @noflip */;background-position:left -3752px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_android_gray{/*! @noflip */;background-position:left -2769px}}.s_web_bluestar{/*! @noflip */;background-position:left -4544px;width:13px;height:13px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_bluestar{/*! @noflip */;background-position:left -2873px}}.s_web_terms_teamsagreement{/*! @noflip */;background-position:left -9078px}.s_web_terms_teamsagreement{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_delete_16{/*! @noflip */;background-position:left -10174px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_delete_16{/*! @noflip */;background-position:left -3974px}}.s_web_banana{/*! @noflip */;background-position:left -4318px}.s_web_banana{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_arrow-up-gray{/*! @noflip */;background-position:left -9934px;width:9px;height:5px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_arrow-up-gray{/*! @noflip */;background-position:left -3761px}}.s_web_gear{/*! @noflip */;background-position:left -5743px;width:19px;height:19px}.s_web_gear{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_powerpoint_32{/*! @noflip */;background-position:left -2080px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_powerpoint_32{/*! @noflip */;background-position:left -1584px}}.s_web_trash-can-open{/*! @noflip */;background-position:left -11578px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_trash-can-open{/*! @noflip */;background-position:left -5256px}}.s_web_more-gray{/*! @noflip */;background-position:left -10799px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_more-gray{/*! @noflip */;background-position:left -4534px}}.s_web_lightbox_close{/*! @noflip */;background-position:left -10624px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_lightbox_close{/*! @noflip */;background-position:left -4368px}}.s_web_mp3_32{/*! @noflip */;background-position:left -1264px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_mp3_32{/*! @noflip */;background-position:left -792px}}.s_web_albums{/*! @noflip */;background-position:left -3684px;width:32px;height:32px}.s_web_albums{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_copy{/*! @noflip */;background-position:left -10113px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_copy{/*! @noflip */;background-position:left -3916px}}.s_web_s_blue_chat_bubble{/*! @noflip */;background-position:left -11042px;width:21px;height:20px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_blue_chat_bubble{/*! @noflip */;background-position:left -4765px}}.s_web_page_white_excel{/*! @noflip */;background-position:left -216px}.s_web_page_white_excel{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_zoomout{/*! @noflip */;background-position:left -3516px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_zoomout{/*! @noflip */;background-position:left -2749px}}.s_web_application_delete{/*! @noflip */;background-position:left -4182px}.s_web_application_delete{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_team_add_user_32{/*! @noflip */;background-position:left -8902px;width:32px;height:32px}.s_web_team_add_user_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_minus{/*! @noflip */;background-position:left -7205px}.s_web_minus{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_share-link-globe{/*! @noflip */;background-position:left -8468px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_share-link-globe{/*! @noflip */;background-position:left -3496px}}.s_web_s_photo_close{/*! @noflip */;background-position:left -3429px;width:28px;height:29px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_photo_close{/*! @noflip */;background-position:left -2667px}}.s_web_star_blue_half_big{/*! @noflip */;background-position:left -8662px;width:14px;height:13px}.s_web_star_blue_half_big{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_mailbox{/*! @noflip */;background-position:left -11378px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_mailbox{/*! @noflip */;background-position:left -5085px}}.s_web_blue_arrow_right_32{/*! @noflip */;background-position:left -4506px;width:24px;height:24px}.s_web_blue_arrow_right_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_work_icon{/*! @noflip */;background-position:left -3076px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_work_icon{/*! @noflip */;background-position:left -2329px}}.s_web_folder_public{/*! @noflip */;background-position:left -2765px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_public{/*! @noflip */;background-position:left -2179px}}.s_web_cashmunny{/*! @noflip */;background-position:left -4691px;width:36px;height:36px}.s_web_cashmunny{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_compressed_32{/*! @noflip */;background-position:left -1570px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_compressed_32{/*! @noflip */;background-position:left -1089px}}.s_web_s-folder-blue{/*! @noflip */;background-position:left -8018px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s-folder-blue{/*! @noflip */;background-position:left -3393px}}.s_web_folder_user_add_32{/*! @noflip */;background-position:left -1026px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_user_add_32{/*! @noflip */;background-position:left -561px}}.s_web_s_team{/*! @noflip */;background-position:left -11536px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_team{/*! @noflip */;background-position:left -5216px}}.s_web_event_add_to_album{/*! @noflip */;background-position:left -5237px;width:18px;height:18px}.s_web_event_add_to_album{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_transmit{/*! @noflip */;background-position:left -9236px}.s_web_transmit{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_picture{/*! @noflip */;background-position:left -288px}.s_web_page_white_picture{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_world_grey{/*! @noflip */;background-position:left -9734px}.s_web_world_grey{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_user_blue{/*! @noflip */;background-position:left -2846px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_user_blue{/*! @noflip */;background-position:left -2239px}}.s_web_wrench{/*! @noflip */;background-position:left -9770px}.s_web_wrench{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_blackberry_gray{/*! @noflip */;background-position:left -4470px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_blackberry_gray{/*! @noflip */;background-position:left -2856px}}.s_web_play{/*! @noflip */;background-position:left -7655px;width:7px;height:12px}.s_web_play{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_printer{/*! @noflip */;background-position:left -10983px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_printer{/*! @noflip */;background-position:left -4709px}}.s_web_fb_36{/*! @noflip */;background-position:left -5362px;width:36px;height:36px}.s_web_fb_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_sales_36{/*! @noflip */;background-position:left -8334px;width:36px;height:36px}.s_web_sales_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_cake{/*! @noflip */;background-position:left -11085px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_cake{/*! @noflip */;background-position:left -4806px}}.s_web_letter{/*! @noflip */;background-position:left -6691px;width:64px;height:64px}.s_web_letter{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_user_gray{/*! @noflip */;background-position:left -5621px}.s_web_folder_user_gray{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_caret_gray{/*! @noflip */;background-position:left -10043px;width:13px;height:8px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_caret_gray{/*! @noflip */;background-position:left -3863px}}.s_web_mobile{/*! @noflip */;background-position:left -7223px;width:36px;height:36px}.s_web_mobile{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white{/*! @noflip */;background-position:left -126px}.s_web_page_white{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_blue_x{/*! @noflip */;background-position:left -4532px;width:10px;height:10px}.s_web_blue_x{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_browser_generic{/*! @noflip */;background-position:left -8096px}.s_web_s_browser_generic{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_upload_32{/*! @noflip */;background-position:left -9522px;width:32px;height:32px}.s_web_upload_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_bomb{/*! @noflip */;background-position:left -4559px}.s_web_bomb{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_weather_clouds_white{/*! @noflip */;background-position:left -9626px}.s_web_weather_clouds_white{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_android_small{/*! @noflip */;background-position:left -3770px}.s_web_android_small{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_house{/*! @noflip */;background-position:left -11336px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_house{/*! @noflip */;background-position:left -5045px}}.s_web_globe_gray_24x24{/*! @noflip */;background-position:left -5956px;width:24px;height:24px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_globe_gray_24x24{/*! @noflip */;background-position:left -3046px}}.s_web_page_white_paint_gray_32{/*! @noflip */;background-position:left -1978px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_paint_gray_32{/*! @noflip */;background-position:left -1485px}}.s_web_lightbox_next{/*! @noflip */;background-position:left -10684px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_lightbox_next{/*! @noflip */;background-position:left -4425px}}.s_web_ums_heart_inactive_icon{/*! @noflip */;background-position:left -9506px;width:14px;height:14px}.s_web_ums_heart_inactive_icon{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_fla_32{/*! @noflip */;background-position:left -618px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_fla_32{/*! @noflip */;background-position:left -198px}}.s_web_layout{/*! @noflip */;background-position:left -6673px}.s_web_layout{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_copyright{/*! @noflip */;background-position:left -4957px}.s_web_copyright{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_star{/*! @noflip */;background-position:left -2786px}.s_web_folder_star{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_resolve{/*! @noflip */;background-position:left -11499px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_resolve{/*! @noflip */;background-position:left -5181px}}.s_web_rainbow_16{/*! @noflip */;background-position:left -2885px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_rainbow_16{/*! @noflip */;background-position:left -2276px}}.s_web_folder{/*! @noflip */;background-position:left -2624px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder{/*! @noflip */;background-position:left -2079px}}.s_web_mag_glass{/*! @noflip */;background-position:left -10759px;width:15px;height:15px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_mag_glass{/*! @noflip */;background-position:left -4496px}}.s_web_exclamation_32{/*! @noflip */;background-position:left -5315px;width:26px;height:27px}.s_web_exclamation_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_email_add_32{/*! @noflip */;background-position:left -5115px;width:32px;height:32px}.s_web_email_add_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_icon_checkmark{/*! @noflip */;background-position:left -6386px;width:20px;height:14px}.s_web_icon_checkmark{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_report{/*! @noflip */;background-position:left -7986px}.s_web_report{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_browser_opera{/*! @noflip */;background-position:left -8132px}.s_web_s_browser_opera{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_gray_32{/*! @noflip */;background-position:left -856px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_gray_32{/*! @noflip */;background-position:left -429px}}.s_web_s_comments_unlocked{/*! @noflip */;background-position:left -11189px;width:21px;height:21px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_comments_unlocked{/*! @noflip */;background-position:left -4905px}}.s_web_page_white_go{/*! @noflip */;background-position:left -10941px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_go{/*! @noflip */;background-position:left -4669px}}.s_web_teams{/*! @noflip */;background-position:left -9004px;width:36px;height:36px}.s_web_teams{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_app_32{/*! @noflip */;background-position:left -720px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_app_32{/*! @noflip */;background-position:left -297px}}.s_web_activity{/*! @noflip */;background-position:left -9827px}.s_web_activity{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_step-3{/*! @noflip */;background-position:left -8803px;width:24px;height:24px}.s_web_step-3{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_step-2{/*! @noflip */;background-position:left -8777px;width:24px;height:24px}.s_web_step-2{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_step-1{/*! @noflip */;background-position:left -8751px;width:24px;height:24px}.s_web_step-1{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_blackberry_32{/*! @noflip */;background-position:left -4436px;width:32px;height:32px}.s_web_blackberry_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_bullet_plus{/*! @noflip */;background-position:left -9966px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_bullet_plus{/*! @noflip */;background-position:left -3790px}}.s_web_lnx{/*! @noflip */;background-position:left -7039px}.s_web_lnx{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_computer{/*! @noflip */;background-position:left -4885px}.s_web_computer{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_lock_light{/*! @noflip */;background-position:left -7105px;width:10px;height:12px}.s_web_lock_light{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_close{/*! @noflip */;background-position:left -4795px}.s_web_close{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_text_gray_32{/*! @noflip */;background-position:left -2250px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_text_gray_32{/*! @noflip */;background-position:left -1749px}}.s_web_gmail{/*! @noflip */;background-position:left -6048px}.s_web_gmail{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_fullscreen{/*! @noflip */;background-position:left -3345px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_fullscreen{/*! @noflip */;background-position:left -2587px}}.s_web_s_check{/*! @noflip */;background-position:left -11127px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_check{/*! @noflip */;background-position:left -4846px}}.s_web_star_16{/*! @noflip */;background-position:left -11557px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_star_16{/*! @noflip */;background-position:left -5236px}}.s_web_user_suit{/*! @noflip */;background-position:left -9556px}.s_web_user_suit{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_star_blue_half{/*! @noflip */;background-position:left -8649px;width:11px;height:11px}.s_web_star_blue_half{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_team_shared_folder_32{/*! @noflip */;background-position:left -8970px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_team_shared_folder_32{/*! @noflip */;background-position:left -3595px}}.s_web_folder_app_gray_32{/*! @noflip */;background-position:left -754px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_app_gray_32{/*! @noflip */;background-position:left -330px}}.s_web_email{/*! @noflip */;background-position:left -10297px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_email{/*! @noflip */;background-position:left -4055px}}.s_web_jobs{/*! @noflip */;background-position:left -6637px}.s_web_jobs{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_arrow-up-white{/*! @noflip */;background-position:left -9941px;width:9px;height:5px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_arrow-up-white{/*! @noflip */;background-position:left -3767px}}.s_web_arrow-down-blue{/*! @noflip */;background-position:left -9906px;width:9px;height:5px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_arrow-down-blue{/*! @noflip */;background-position:left -3737px}}.s_web_page_white_powerpoint{/*! @noflip */;background-position:left -306px}.s_web_page_white_powerpoint{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_table_edit{/*! @noflip */;background-position:left -8866px}.s_web_table_edit{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_photos{/*! @noflip */;background-position:left -2747px}.s_web_folder_photos{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_add{/*! @noflip */;background-position:left -9845px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_add{/*! @noflip */;background-position:left -3679px}}.s_web_key{/*! @noflip */;background-position:left -6655px}.s_web_key{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_comments_locked{/*! @noflip */;background-position:left -11166px;width:21px;height:21px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_comments_locked{/*! @noflip */;background-position:left -4883px}}.s_web_page_white_webcode_gray_32{/*! @noflip */;background-position:left -2318px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_webcode_gray_32{/*! @noflip */;background-position:left -1815px}}.s_web_star_blue_off_big{/*! @noflip */;background-position:left -8690px;width:14px;height:13px}.s_web_star_blue_off_big{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_Firefox{/*! @noflip */;background-position:left -3555px}.s_web_Firefox{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_plugin{/*! @noflip */;background-position:left -7669px}.s_web_plugin{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_user_locked{/*! @noflip */;background-position:left -2864px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_user_locked{/*! @noflip */;background-position:left -2256px}}.s_web_s_device_mobile_blackberry{/*! @noflip */;background-position:left -8222px}.s_web_s_device_mobile_blackberry{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_tour{/*! @noflip */;background-position:left -9170px;width:64px;height:64px}.s_web_tour{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_cog{/*! @noflip */;background-position:left -10079px;width:15px;height:15px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_cog{/*! @noflip */;background-position:left -3884px}}.s_web_email_32{/*! @noflip */;background-position:left -10340px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_email_32{/*! @noflip */;background-position:left -4096px}}.s_web_folder_camera_gray_32{/*! @noflip */;background-position:left -822px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_camera_gray_32{/*! @noflip */;background-position:left -396px}}.s_web_comment{/*! @noflip */;background-position:left -4849px}.s_web_comment{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_terms_acceptableuse{/*! @noflip */;background-position:left -9060px}.s_web_terms_acceptableuse{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_arrow-down-white{/*! @noflip */;background-position:left -9920px;width:9px;height:5px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_arrow-down-white{/*! @noflip */;background-position:left -3749px}}.s_web_s_briefcase{/*! @noflip */;background-position:left -11064px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_briefcase{/*! @noflip */;background-position:left -4786px}}.s_web_invite_user{/*! @noflip */;background-position:left -6454px;width:22px;height:16px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_invite_user{/*! @noflip */;background-position:left -3240px}}.s_web_mailbox_36{/*! @noflip */;background-position:left -7155px;width:36px;height:36px}.s_web_mailbox_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_cancelsync{/*! @noflip */;background-position:left -10024px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_cancelsync{/*! @noflip */;background-position:left -3845px}}.s_web_package_32{/*! @noflip */;background-position:left -1332px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_package_32{/*! @noflip */;background-position:left -858px}}.s_web_linux{/*! @noflip */;background-position:left -7003px}.s_web_linux{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_cancel{/*! @noflip */;background-position:left -10005px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_cancel{/*! @noflip */;background-position:left -3827px}}.s_web_giftbox_36{/*! @noflip */;background-position:left -5764px;width:36px;height:36px}.s_web_giftbox_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_api_java_disabled{/*! @noflip */;background-position:left -3948px}.s_web_api_java_disabled{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_text{/*! @noflip */;background-position:left -342px}.s_web_page_white_text{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_image_placeholder{/*! @noflip */;background-position:left -6402px;width:32px;height:32px}.s_web_image_placeholder{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_add{/*! @noflip */;background-position:left -2645px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_add{/*! @noflip */;background-position:left -2099px}}.s_web_personal_44{/*! @noflip */;background-position:left -2928px;width:44px;height:44px}.s_web_personal_44{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_arrow-white{/*! @noflip */;background-position:left -4230px;width:8px;height:10px}.s_web_arrow-white{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_twitter_32{/*! @noflip */;background-position:left -9402px;width:32px;height:32px}.s_web_twitter_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_twitter_36{/*! @noflip */;background-position:left -9436px;width:36px;height:36px}.s_web_twitter_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_lightbox_show_in_folder{/*! @noflip */;background-position:left -6895px;width:32px;height:32px}.s_web_lightbox_show_in_folder{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_browser_safari{/*! @noflip */;background-position:left -8150px}.s_web_s_browser_safari{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_filter_down{/*! @noflip */;background-position:left -5452px}.s_web_filter_down{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_toggle_list{/*! @noflip */;background-position:left -9154px;width:14px;height:14px}.s_web_toggle_list{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_heart-broken{/*! @noflip */;background-position:left -10563px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_heart-broken{/*! @noflip */;background-position:left -4310px}}.s_web_page_white_compressed_gray_32{/*! @noflip */;background-position:left -1604px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_compressed_gray_32{/*! @noflip */;background-position:left -1122px}}.s_web_folder_public_gray_32{/*! @noflip */;background-position:left -958px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_public_gray_32{/*! @noflip */;background-position:left -495px}}.s_web_photos{/*! @noflip */;background-position:left -7565px}.s_web_photos{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_mag_glass_big{/*! @noflip */;background-position:left -10776px;width:20px;height:21px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_mag_glass_big{/*! @noflip */;background-position:left -4512px}}.s_web_folder_camera_32{/*! @noflip */;background-position:left -788px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_camera_32{/*! @noflip */;background-position:left -363px}}.s_web_album_16{/*! @noflip */;background-position:left -9864px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_album_16{/*! @noflip */;background-position:left -3697px}}.s_web_sound{/*! @noflip */;background-position:left -8578px}.s_web_sound{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_download_arrow{/*! @noflip */;background-position:left -10216px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_download_arrow{/*! @noflip */;background-position:left -4014px}}.s_web_fla_gray_32{/*! @noflip */;background-position:left -652px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_fla_gray_32{/*! @noflip */;background-position:left -231px}}.s_web_computer_edit{/*! @noflip */;background-position:left -4939px}.s_web_computer_edit{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_view_original{/*! @noflip */;background-position:left -9592px;width:14px;height:14px}.s_web_view_original{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_error{/*! @noflip */;background-position:left -5219px}.s_web_error{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_guide{/*! @noflip */;background-position:left -6170px;width:68px;height:72px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_guide{/*! @noflip */;background-position:left -3167px}}.s_web_rename{/*! @noflip */;background-position:left -11002px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_rename{/*! @noflip */;background-position:left -4727px}}.s_web_file{/*! @noflip */;background-position:left -2906px;width:20px;height:20px}.s_web_file{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_telephone{/*! @noflip */;background-position:left -9042px}.s_web_telephone{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_user_20{/*! @noflip */;background-position:left -5504px;width:20px;height:20px}.s_web_folder_user_20{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_camera{/*! @noflip */;background-position:left -2687px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_camera{/*! @noflip */;background-position:left -2139px}}.s_web_lightbox_open{/*! @noflip */;background-position:left -6825px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_lightbox_open{/*! @noflip */;background-position:left -3294px}}.s_web_follow_36{/*! @noflip */;background-position:left -5639px;width:36px;height:36px}.s_web_follow_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_public_32{/*! @noflip */;background-position:left -924px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_public_32{/*! @noflip */;background-position:left -462px}}.s_web_s_notifications_off{/*! @noflip */;background-position:left -11419px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_notifications_off{/*! @noflip */;background-position:left -5105px}}.s_web_ipad_small{/*! @noflip */;background-position:left -6472px}.s_web_ipad_small{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_banner_x{/*! @noflip */;background-position:left -4336px;width:20px;height:20px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_banner_x{/*! @noflip */;background-position:left -2814px}}.s_web_s_sync{/*! @noflip */;background-position:left -11518px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_sync{/*! @noflip */;background-position:left -5199px}}.s_web_wand{/*! @noflip */;background-position:left -9608px}.s_web_wand{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_user{/*! @noflip */;background-position:left -11641px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_user{/*! @noflip */;background-position:left -5316px}}.s_web_heart_36{/*! @noflip */;background-position:left -6278px;width:36px;height:36px}.s_web_heart_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_step-done{/*! @noflip */;background-position:left -8829px;width:24px;height:17px}.s_web_step-done{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_au_32{/*! @noflip */;background-position:left -482px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_au_32{/*! @noflip */;background-position:left -66px}}.s_web_xclose{/*! @noflip */;background-position:left -11767px;width:11px;height:11px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_xclose{/*! @noflip */;background-position:left -5436px}}.s_web_user_warn{/*! @noflip */;background-position:left -11746px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_user_warn{/*! @noflip */;background-position:left -5416px}}.s_web_menu-right-arrow{/*! @noflip */;background-position:left -7193px;width:7px;height:10px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_menu-right-arrow{/*! @noflip */;background-position:left -3328px}}.s_web_magnifier{/*! @noflip */;background-position:left -7137px}.s_web_magnifier{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_api_ios{/*! @noflip */;background-position:left -3894px}.s_web_api_ios{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_left{/*! @noflip */;background-position:left -3366px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_left{/*! @noflip */;background-position:left -2607px}}.s_web_restore{/*! @noflip */;background-position:left -11023px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_restore{/*! @noflip */;background-position:left -4747px}}.s_web_globe_gray_30x30{/*! @noflip */;background-position:left -5982px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_globe_gray_30x30{/*! @noflip */;background-position:left -3071px}}.s_web_arrow-up-blue{/*! @noflip */;background-position:left -9927px;width:9px;height:5px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_arrow-up-blue{/*! @noflip */;background-position:left -3755px}}.s_web_fb_20{/*! @noflip */;background-position:left -10437px;width:20px;height:20px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_fb_20{/*! @noflip */;background-position:left -4189px}}.s_web_money{/*! @noflip */;background-position:left -7279px}.s_web_money{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_folder_user_add{/*! @noflip */;background-position:left -2825px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_user_add{/*! @noflip */;background-position:left -2219px}}.s_web_gs-incomplete{/*! @noflip */;background-position:left -10537px;width:24px;height:24px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_gs-incomplete{/*! @noflip */;background-position:left -4285px}}.s_web_arrowright{/*! @noflip */;background-position:left -4292px;width:12px;height:12px}.s_web_arrowright{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_globe_blue_20x20{/*! @noflip */;background-position:left -5854px;width:20px;height:20px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_globe_blue_20x20{/*! @noflip */;background-position:left -2948px}}.s_web_s-link-blue{/*! @noflip */;background-position:left -8039px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s-link-blue{/*! @noflip */;background-position:left -3413px}}.s_web_api_php{/*! @noflip */;background-position:left -4038px}.s_web_api_php{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_desktop{/*! @noflip */;background-position:left -5027px;width:36px;height:36px}.s_web_desktop{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_blog{/*! @noflip */;background-position:left -4488px}.s_web_blog{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_settings_36{/*! @noflip */;background-position:left -8430px;width:36px;height:36px}.s_web_settings_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_picture_32{/*! @noflip */;background-position:left -2012px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_picture_32{/*! @noflip */;background-position:left -1518px}}.s_web_computer_delete{/*! @noflip */;background-position:left -4921px}.s_web_computer_delete{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_powerpoint-40{/*! @noflip */;background-position:left -3204px;width:40px;height:40px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_powerpoint-40{/*! @noflip */;background-position:left -2451px}}.s_web_banner_x_hover{/*! @noflip */;background-position:left -4358px;width:20px;height:20px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_banner_x_hover{/*! @noflip */;background-position:left -2835px}}.s_web_page_white_32{/*! @noflip */;background-position:left -1400px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_32{/*! @noflip */;background-position:left -924px}}.s_web_windows_xp_gray{/*! @noflip */;background-position:left -9698px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_windows_xp_gray{/*! @noflip */;background-position:left -3645px}}.s_web_world{/*! @noflip */;background-position:left -9716px}.s_web_world{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_tick{/*! @noflip */;background-position:left -9096px}.s_web_tick{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_user_delete{/*! @noflip */;background-position:left -11683px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_user_delete{/*! @noflip */;background-position:left -5356px}}.s_web_gift{/*! @noflip */;background-position:left -10493px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_gift{/*! @noflip */;background-position:left -4243px}}.s_web_apple_gray{/*! @noflip */;background-position:left -4146px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_apple_gray{/*! @noflip */;background-position:left -2786px}}.s_web_zoom{/*! @noflip */;background-position:left -3495px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_zoom{/*! @noflip */;background-position:left -2729px}}.s_web_s_greycheck{/*! @noflip */;background-position:left -11295px;width:20px;height:20px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_greycheck{/*! @noflip */;background-position:left -5006px}}.s_web_server{/*! @noflip */;background-position:left -8412px}.s_web_server{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_lightbox_more{/*! @noflip */;background-position:left -10663px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_lightbox_more{/*! @noflip */;background-position:left -4405px}}.s_web_work_44{/*! @noflip */;background-position:left -3030px;width:44px;height:44px}.s_web_work_44{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_numbers_gray_32{/*! @noflip */;background-position:left -7441px;width:32px;height:32px}.s_web_numbers_gray_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_arrow-down-gray{/*! @noflip */;background-position:left -9913px;width:9px;height:5px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_arrow-down-gray{/*! @noflip */;background-position:left -3743px}}.s_web_right{/*! @noflip */;background-position:left -3408px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_right{/*! @noflip */;background-position:left -2647px}}.s_web_move_16{/*! @noflip */;background-position:left -10841px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_move_16{/*! @noflip */;background-position:left -4574px}}.s_web_twitter{/*! @noflip */;background-position:left -9362px}.s_web_twitter{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_word-40{/*! @noflip */;background-position:left -3264px;width:40px;height:40px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_word-40{/*! @noflip */;background-position:left -2509px}}.s_web_dropbox21x20{/*! @noflip */;background-position:left -10237px;width:21px;height:20px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_dropbox21x20{/*! @noflip */;background-position:left -4034px}}.s_web_folder_photos_32{/*! @noflip */;background-position:left -890px;width:32px;height:32px}.s_web_folder_photos_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_pricing{/*! @noflip */;background-position:left -7705px}.s_web_pricing{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_table{/*! @noflip */;background-position:left -8848px}.s_web_table{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_home{/*! @noflip */;background-position:left -6352px}.s_web_home{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_check_36{/*! @noflip */;background-position:left -4729px;width:36px;height:36px}.s_web_check_36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_acrobat{/*! @noflip */;background-position:left -144px}.s_web_page_white_acrobat{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_glyph{/*! @noflip */;background-position:left -6014px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_glyph{/*! @noflip */;background-position:left -3102px}}.s_web_ow_desktop{/*! @noflip */;background-position:left -3188px;width:18px;height:14px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_ow_desktop{/*! @noflip */;background-position:left -2437px}}.s_web_s_browser_chrome{/*! @noflip */;background-position:left -8060px}.s_web_s_browser_chrome{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_link{/*! @noflip */;background-position:left -11357px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_link{/*! @noflip */;background-position:left -5065px}}.s_web_folder_32{/*! @noflip */;background-position:left -686px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_32{/*! @noflip */;background-position:left -264px}}.s_web_comments{/*! @noflip */;background-position:left -4867px}.s_web_comments{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_back_chevron{/*! @noflip */;background-position:left -4306px;width:6px;height:10px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_back_chevron{/*! @noflip */;background-position:left -2803px}}.s_web_dropbox_39x36{/*! @noflip */;background-position:left -10259px;width:39px;height:36px}.s_web_dropbox_39x36{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_powerpoint_gray_32{/*! @noflip */;background-position:left -2114px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_powerpoint_gray_32{/*! @noflip */;background-position:left -1617px}}.s_web_blackberry{/*! @noflip */;background-position:left -4418px}.s_web_blackberry{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_pr{/*! @noflip */;background-position:left -396px}.s_web_pr{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_sketch_gray_32{/*! @noflip */;background-position:left -2556px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_sketch_gray_32{/*! @noflip */;background-position:left -2046px}}.s_web_business{/*! @noflip */;background-position:left -4577px;width:34px;height:34px}.s_web_business{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_iphone_small{/*! @noflip */;background-position:left -6547px}.s_web_iphone_small{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_packrat{/*! @noflip */;background-position:left -7493px}.s_web_packrat{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_show_comments_white{/*! @noflip */;background-position:left -8314px;width:18px;height:18px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_show_comments_white{/*! @noflip */;background-position:left -3452px}}.s_web_groups_unsync{/*! @noflip */;background-position:left -6155px;width:15px;height:13px}.s_web_groups_unsync{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_api_python{/*! @noflip */;background-position:left -4074px}.s_web_api_python{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_onenote{/*! @noflip */;background-position:left -3170px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_onenote{/*! @noflip */;background-position:left -2420px}}.s_web_trash-can{/*! @noflip */;background-position:left -11599px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_trash-can{/*! @noflip */;background-position:left -5276px}}.s_web_numbers_32{/*! @noflip */;background-position:left -7407px;width:32px;height:32px}.s_web_numbers_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_package{/*! @noflip */;background-position:left -108px}.s_web_package{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_alert_32{/*! @noflip */;background-position:left -3718px;width:32px;height:32px}.s_web_alert_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_shield{/*! @noflip */;background-position:left -8540px;width:36px;height:36px}.s_web_shield{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_quota_almost_full_32{/*! @noflip */;background-position:left -7780px;width:32px;height:32px}.s_web_quota_almost_full_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_plus{/*! @noflip */;background-position:left -7687px}.s_web_plus{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_tweet_32{/*! @noflip */;background-position:left -9272px;width:32px;height:32px}.s_web_tweet_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_modal{/*! @noflip */;background-position:left -7261px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_modal{/*! @noflip */;background-position:left -3339px}}.s_web_powerpoint{/*! @noflip */;background-position:left -3246px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_powerpoint{/*! @noflip */;background-position:left -2492px}}.s_web_star_blue_off{/*! @noflip */;background-position:left -8677px;width:11px;height:11px}.s_web_star_blue_off{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_webcode_32{/*! @noflip */;background-position:left -2284px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_webcode_32{/*! @noflip */;background-position:left -1782px}}.s_web_page_white_code{/*! @noflip */;background-position:left -162px}.s_web_page_white_code{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_down{/*! @noflip */;background-position:left -3324px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_down{/*! @noflip */;background-position:left -2567px}}.s_web_api_http{/*! @noflip */;background-position:left -3858px}.s_web_api_http{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_device_mobile_ipad{/*! @noflip */;background-position:left -8240px}.s_web_s_device_mobile_ipad{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_groups_sync{/*! @noflip */;background-position:left -6140px;width:15px;height:13px}.s_web_groups_sync{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_cog_16{/*! @noflip */;background-position:left -10096px;width:15px;height:15px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_cog_16{/*! @noflip */;background-position:left -3900px}}.s_web_x-house-ad{/*! @noflip */;background-position:left -9788px;width:9px;height:9px}.s_web_x-house-ad{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_device_mobile_iphone{/*! @noflip */;background-position:left -8258px}.s_web_s_device_mobile_iphone{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_email_20{/*! @noflip */;background-position:left -10318px;width:20px;height:20px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_email_20{/*! @noflip */;background-position:left -4075px}}.s_web_arrow_refresh{/*! @noflip */;background-position:left -4242px}.s_web_arrow_refresh{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_lightbox_unselected{/*! @noflip */;background-position:left -6929px}.s_web_lightbox_unselected{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_api_osx_disabled{/*! @noflip */;background-position:left -4020px}.s_web_api_osx_disabled{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_rounded_tl{/*! @noflip */;background-position:left -8004px;width:5px;height:5px}.s_web_rounded_tl{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_paypal{/*! @noflip */;background-position:left -7529px}.s_web_paypal{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_tweet_small{/*! @noflip */;background-position:left -9344px}.s_web_tweet_small{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_photos_20{/*! @noflip */;background-position:left -3008px;width:20px;height:20px}.s_web_photos_20{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_globe_gray_20x20{/*! @noflip */;background-position:left -5934px;width:20px;height:20px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_globe_gray_20x20{/*! @noflip */;background-position:left -3025px}}.s_web_notifications_icon_blue{/*! @noflip */;background-position:left -10881px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_notifications_icon_blue{/*! @noflip */;background-position:left -4612px}}.s_web_rounded_tr{/*! @noflip */;background-position:left -8011px;width:5px;height:5px}.s_web_rounded_tr{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_film_32{/*! @noflip */;background-position:left -1774px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_film_32{/*! @noflip */;background-position:left -1287px}}.s_web_info{/*! @noflip */;background-position:left -10603px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_info{/*! @noflip */;background-position:left -4348px}}.s_web_arrowleft{/*! @noflip */;background-position:left -4278px;width:12px;height:12px}.s_web_arrowleft{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_downtick-spacer{/*! @noflip */;background-position:left -5065px;width:11px;height:11px}.s_web_downtick-spacer{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_share_facebook_icon{/*! @noflip */;background-position:left -8486px}.s_web_share_facebook_icon{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_up{/*! @noflip */;background-position:left -3474px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_up{/*! @noflip */;background-position:left -2709px}}.s_web_arrow_white{/*! @noflip */;background-position:left -4260px}.s_web_arrow_white{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_windows{/*! @noflip */;background-position:left -9662px}.s_web_windows{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_InternetExplorer{/*! @noflip */;background-position:left -3573px}.s_web_InternetExplorer{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_cake{/*! @noflip */;background-position:left -4613px;width:20px;height:20px}.s_web_cake{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_picture_gray_32{/*! @noflip */;background-position:left -2046px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_picture_gray_32{/*! @noflip */;background-position:left -1551px}}.s_web_delete{/*! @noflip */;background-position:left -10155px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_delete{/*! @noflip */;background-position:left -3956px}}.s_web_folder_user{/*! @noflip */;background-position:left -2804px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_folder_user{/*! @noflip */;background-position:left -2199px}}.s_web_lightbox_delete_16{/*! @noflip */;background-position:left -10642px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_lightbox_delete_16{/*! @noflip */;background-position:left -4385px}}.s_web_page_white_film{/*! @noflip */;background-position:left -234px}.s_web_page_white_film{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_ai{/*! @noflip */;background-position:left -0px}.s_web_ai{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_arrow-blue{/*! @noflip */;background-position:left -4218px;width:8px;height:10px}.s_web_arrow-blue{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_globe_blue_30x30{/*! @noflip */;background-position:left -5902px;width:30px;height:30px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_globe_blue_30x30{/*! @noflip */;background-position:left -2994px}}.s_web_au{/*! @noflip */;background-position:left -18px}.s_web_au{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_email_add{/*! @noflip */;background-position:left -10374px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_email_add{/*! @noflip */;background-position:left -4129px}}.s_web_referral_completed_32{/*! @noflip */;background-position:left -7865px;width:32px;height:32px}.s_web_referral_completed_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_acrobat_gray_32{/*! @noflip */;background-position:left -1468px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_acrobat_gray_32{/*! @noflip */;background-position:left -990px}}.s_web_check{/*! @noflip */;background-position:left -10053px;width:13px;height:11px}.s_web_check{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_link_white{/*! @noflip */;background-position:left -10720px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_link_white{/*! @noflip */;background-position:left -4459px}}.s_web_groupicon_20{/*! @noflip */;background-position:left -6118px;width:20px;height:20px}.s_web_groupicon_20{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_iphone_small_32{/*! @noflip */;background-position:left -6565px;width:32px;height:32px}.s_web_iphone_small_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_star_upgrade{/*! @noflip */;background-position:left -8733px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_star_upgrade{/*! @noflip */;background-position:left -3578px}}.s_web_excel{/*! @noflip */;background-position:left -3152px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_excel{/*! @noflip */;background-position:left -2403px}}.s_web_s_device_linux{/*! @noflip */;background-position:left -8168px}.s_web_s_device_linux{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_globe32{/*! @noflip */;background-position:left -5820px;width:32px;height:32px}.s_web_globe32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_page_white_sound_32{/*! @noflip */;background-position:left -2148px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_sound_32{/*! @noflip */;background-position:left -1650px}}.s_web_nosync{/*! @noflip */;background-position:left -10862px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_nosync{/*! @noflip */;background-position:left -4594px}}.s_web_delete_32{/*! @noflip */;background-position:left -4993px;width:32px;height:32px}.s_web_delete_32{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_api_http_disabled{/*! @noflip */;background-position:left -3876px}.s_web_api_http_disabled{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_album_videos{/*! @noflip */;background-position:left -3666px}.s_web_album_videos{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_picture{/*! @noflip */;background-position:left -7617px;width:36px;height:36px}.s_web_picture{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_star{/*! @noflip */;background-position:left -8596px;width:13px;height:13px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_star{/*! @noflip */;background-position:left -3564px}}.s_web_forums64{/*! @noflip */;background-position:left -5677px;width:64px;height:64px}.s_web_forums64{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_mp3-playlist_32{/*! @noflip */;background-position:left -1196px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_mp3-playlist_32{/*! @noflip */;background-position:left -726px}}.s_web_dropbox{/*! @noflip */;background-position:left -5078px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_dropbox{/*! @noflip */;background-position:left -2913px}}.s_web_page_white_gear_gray_32{/*! @noflip */;background-position:left -1876px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_page_white_gear_gray_32{/*! @noflip */;background-position:left -1386px}}.s_web_user_gray{/*! @noflip */;background-position:left -11725px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_user_gray{/*! @noflip */;background-position:left -5396px}}.s_web_s_device_windows{/*! @noflip */;background-position:left -8276px}.s_web_s_device_windows{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_referral_twitter{/*! @noflip */;background-position:left -7899px;width:20px;height:17px}.s_web_referral_twitter{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_s_hide{/*! @noflip */;background-position:left -11317px;width:17px;height:17px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_hide{/*! @noflip */;background-position:left -5027px}}.s_web_shared_folder_joined_32{/*! @noflip */;background-position:left -2488px;width:32px;height:32px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_shared_folder_joined_32{/*! @noflip */;background-position:left -1980px}}.s_web_s_rainbow{/*! @noflip */;background-position:left -11478px;width:19px;height:19px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_s_rainbow{/*! @noflip */;background-position:left -5161px}}.s_web_time{/*! @noflip */;background-position:left -9114px}.s_web_time{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto}.s_web_group_warn{/*! @noflip */;background-position:left -6101px;width:19px;height:15px}@media (-webkit-min-device-pixel-ratio: 1.1), (min-resolution: 192dpi){.s_web_group_warn{/*! @noflip */;background-position:left -3151px}}.s_web_group_add{/*! @noflip */;background-position:left -6083px}.s_web_group_add{background-image:url(/static/images/sprites/web_sprites-vflhcqZzv.png);background-size:auto auto;-webkit-background-size:auto auto} /*# sourceMappingURL=web_sprites.css.map */  ()*_>https://cf.dropboxstatic.com/static/css/comments-vflRScJMd.cssObplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ()$%&'(WNS.base[NS.relative_>https://cf.dropboxstatic.com/static/css/comments-vflRScJMd.css+,-.Z$classnameX$classesUNSURL-/XNSObject#A+456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-CacheXtext/cssQ*_Tue, 21 Apr 2015 04:35:10 GMT_8lIyQj5LG1dHPVfwtJoaR61hwFiUOkhGPVagG7Ta6dE2BPQRvb8eYJQ==TgzipUnginx_@1.1 30461cfb1f380050cb6053c478974973.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsT3315Zkeep-alive^"5535d37e-cf3"_Miss from cloudfront+,vw\NSDictionaryv/^+,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27dj-2=FLOXacelt &9@DLZ_{ Vv!$',@DXfx{O^.avatar-component{position:relative;text-align:center}.avatar-component.overflow-pill{color:#7b8994;display:inline-block;background:#e1e1e1;box-sizing:border-box;overflow:hidden;vertical-align:middle}.avatar-component.circle,.avatar-component.photo:after{overflow:hidden;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.avatar-component.initials{box-sizing:border-box}.avatar-component.photo:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;-moz-box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);pointer-events:none}.mentions-container{position:relative}.mentions-container .mentions-input .text-input.edit-mode{color:#3d464d}.mentions-container .mentions-input .text-input{left:0;right:0;width:inherit;min-height:32px;height:auto;border:0px;color:#aaa;border-style:solid;border-color:transparent;padding-top:5px;word-wrap:break-word}.mentions-container .mentions-input .text-input p{margin-bottom:0;line-height:normal}.mentions-container .mentions-input .text-input .new-mention{color:#007ee5;background-color:transparent;border:none;background:none;padding:0;white-space:pre-wrap;text-align:left;word-break:break-all;font-weight:normal;cursor:default}.mentions-container .mentions-input .text-input .new-mention.selected{font-weight:bold;background-color:#e3f2ff}.mentions-container .animating-down{-webkit-animation:contacts-list-animation-down 0.2s;-moz-animation:contacts-list-animation-down 0.2s;animation:contacts-list-animation-down 0.2s;-webkit-animation-fill-mode:forwards;-moz-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-timing-function:ease-out;-moz-animation-timing-function:ease-out;animation-timing-function:ease-out}.mentions-container .animating-up{-webkit-animation:contacts-list-animation-up 0.2s;-moz-animation:contacts-list-animation-up 0.2s;animation:contacts-list-animation-up 0.2s;-webkit-animation-fill-mode:forwards;-moz-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-timing-function:ease-out;-moz-animation-timing-function:ease-out;animation-timing-function:ease-out}.mentions-container .contacts-list-suggestions{height:auto;width:220px;margin-top:6px;margin-bottom:6px;position:absolute;z-index:1000;background-color:white;border:1px solid #e5e5e5;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.mentions-container.mentions-container-w-hint{width:100%}.mentions-container.mentions-container-w-hint .mentions-input{display:table;width:100%;table-layout:fixed}.mentions-container.mentions-container-w-hint .mentions-input .text-input{display:table-cell;vertical-align:top;width:99%}.mentions-container.mentions-container-w-hint .mentions-input .comment-mention-hint{display:table-cell;padding-top:5px;padding-right:5px;white-space:nowrap;width:20px}.contacts-list-suggestions{height:auto;min-width:120px}.contacts-list-suggestions .suggestion-row-top-divider{display:block;width:100%;border:0px;border-top:1px solid #e5e5e5}.contacts-list-suggestions .suggestion-row{padding:4px;overflow-wrap:break-word;word-wrap:break-word;position:relative}.contacts-list-suggestions .suggestion-row.empty-state-row,.contacts-list-suggestions .suggestion-row.no-results-row,.contacts-list-suggestions .suggestion-row .suggestion-identifier{color:#aaa}.contacts-list-suggestions .suggestion-row.empty-state-row,.contacts-list-suggestions .suggestion-row.no-results-row{font-size:12px;padding:13px 8px}.contacts-list-suggestions .suggestion-row .empty-state-row-text{max-width:175px}.contacts-list-suggestions .suggestion-row a.import-contacts{float:right;position:absolute;top:0px;right:8px;height:43px;line-height:43px;font-size:22px}.contacts-list-suggestions .suggestion-row.focused{background-color:#e3f2ff}.contacts-list-suggestions .suggestion-row .suggestion-wrapper{display:table;width:100%;margin-left:4px;margin-right:4px}.contacts-list-suggestions .suggestion-row .suggestion-wrapper .suggestion-avatar{display:table-cell;vertical-align:top;width:44px;position:relative}.contacts-list-suggestions .suggestion-row .suggestion-wrapper .suggestion-avatar .account-photo{margin-top:2px;display:block;width:32px;height:32px}.contacts-list-suggestions .suggestion-row .suggestion-wrapper .suggestion-info{display:table-cell;vertical-align:top}.contacts-list-suggestions .suggestion-row .suggestion-wrapper .suggestion-info .suggestion-name,.contacts-list-suggestions .suggestion-row .suggestion-wrapper .suggestion-info .suggestion-identifier{width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contacts-list-suggestions .suggestion-row.import-row .suggestion-avatar{text-align:center;vertical-align:middle;height:36px}.contacts-list-suggestions .suggestion-row.import-row .suggestion-avatar img{display:inline;max-width:28px;line-height:36px;vertical-align:middle}.contacts-list-suggestions .suggestion-row.import-row .suggestion-info .suggestion-name{line-height:36px}.contacts-selector-popup{width:260px}.contacts-selector-popup .contacts-selector-popup-input-wrapper{padding:10px 15px 15px 15px;margin:0px}.contacts-selector-popup .contacts-selector-popup-input-wrapper input{width:100%;border:0px;margin:0px;padding:0px}.contacts-selector-popup hr.separator{font-size:0px;height:0px;border:0px;border-bottom:1px solid #e5e5e5}@-webkit-keyframes like-star-animation{0%{-moz-transform:scale(0.75, 0.75);-ms-transform:scale(0.75, 0.75);-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75)}100%{-moz-transform:scale(1, 1);-ms-transform:scale(1, 1);-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@-moz-keyframes like-star-animation{0%{-moz-transform:scale(0.75, 0.75);-ms-transform:scale(0.75, 0.75);-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75)}100%{-moz-transform:scale(1, 1);-ms-transform:scale(1, 1);-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@-ms-keyframes like-star-animation{0%{-moz-transform:scale(0.75, 0.75);-ms-transform:scale(0.75, 0.75);-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75)}100%{-moz-transform:scale(1, 1);-ms-transform:scale(1, 1);-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@keyframes like-star-animation{0%{-moz-transform:scale(0.75, 0.75);-ms-transform:scale(0.75, 0.75);-webkit-transform:scale(0.75, 0.75);transform:scale(0.75, 0.75)}100%{-moz-transform:scale(1, 1);-ms-transform:scale(1, 1);-webkit-transform:scale(1, 1);transform:scale(1, 1)}}@-webkit-keyframes contacts-list-animation-down{0%{-moz-transform:translateY(-10px);-ms-transform:translateY(-10px);-webkit-transform:translateY(-10px);transform:translateY(-10px);filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}100%{-moz-transform:translateY(0px);-ms-transform:translateY(0px);-webkit-transform:translateY(0px);transform:translateY(0px);filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}}@-moz-keyframes contacts-list-animation-down{0%{-moz-transform:translateY(-10px);-ms-transform:translateY(-10px);-webkit-transform:translateY(-10px);transform:translateY(-10px);filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}100%{-moz-transform:translateY(0px);-ms-transform:translateY(0px);-webkit-transform:translateY(0px);transform:translateY(0px);filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}}@-ms-keyframes contacts-list-animation-down{0%{-moz-transform:translateY(-10px);-ms-transform:translateY(-10px);-webkit-transform:translateY(-10px);transform:translateY(-10px);filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}100%{-moz-transform:translateY(0px);-ms-transform:translateY(0px);-webkit-transform:translateY(0px);transform:translateY(0px);filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}}@keyframes contacts-list-animation-down{0%{-moz-transform:translateY(-10px);-ms-transform:translateY(-10px);-webkit-transform:translateY(-10px);transform:translateY(-10px);filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}100%{-moz-transform:translateY(0px);-ms-transform:translateY(0px);-webkit-transform:translateY(0px);transform:translateY(0px);filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}}@-webkit-keyframes contacts-list-animation-up{0%{-moz-transform:translateY(10px);-ms-transform:translateY(10px);-webkit-transform:translateY(10px);transform:translateY(10px);filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}100%{-moz-transform:translateY(0px);-ms-transform:translateY(0px);-webkit-transform:translateY(0px);transform:translateY(0px);filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}}@-moz-keyframes contacts-list-animation-up{0%{-moz-transform:translateY(10px);-ms-transform:translateY(10px);-webkit-transform:translateY(10px);transform:translateY(10px);filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}100%{-moz-transform:translateY(0px);-ms-transform:translateY(0px);-webkit-transform:translateY(0px);transform:translateY(0px);filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}}@-ms-keyframes contacts-list-animation-up{0%{-moz-transform:translateY(10px);-ms-transform:translateY(10px);-webkit-transform:translateY(10px);transform:translateY(10px);filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}100%{-moz-transform:translateY(0px);-ms-transform:translateY(0px);-webkit-transform:translateY(0px);transform:translateY(0px);filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}}@keyframes contacts-list-animation-up{0%{-moz-transform:translateY(10px);-ms-transform:translateY(10px);-webkit-transform:translateY(10px);transform:translateY(10px);filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}100%{-moz-transform:translateY(0px);-ms-transform:translateY(0px);-webkit-transform:translateY(0px);transform:translateY(0px);filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}}.comments-holder{box-sizing:border-box}.comments-holder .like-bar .like-sprite.animating{-webkit-animation:like-star-animation 0.2s;-moz-animation:like-star-animation 0.2s;animation:like-star-animation 0.2s;-webkit-animation-fill-mode:forwards;-moz-animation-fill-mode:forwards;animation-fill-mode:forwards;-webkit-animation-timing-function:cubic-bezier(0.1, 0.5, 0.9, 1.5);-moz-animation-timing-function:cubic-bezier(0.1, 0.5, 0.9, 1.5);animation-timing-function:cubic-bezier(0.1, 0.5, 0.9, 1.5)}.comments-holder .comments-loading{text-align:center;font-size:16px;padding-top:40px;border-left:none;height:100%}.comments-holder .comment{padding-left:16px}.comments-holder .comment-field{width:100%;padding:11px 15px 15px 15px;display:table;position:relative;table-layout:fixed;box-sizing:border-box}.comments-holder .comment-field .comment-show-new-comment{position:absolute;display:block;width:100%;height:90px;margin-top:-102px;text-align:center;background:linear-gradient(rgba(255,255,255,0) 15%,#ffffff);padding-top:40px;box-sizing:border-box;filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1;font-size:1px}.comments-holder .comment-field .comment-show-new-comment.comment-show-new-comment-enter{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;padding-top:43px;transition:opacity .3s;transition:padding-top 0.3s cubic-bezier(0, 1.8, 1, 1.8)}.comments-holder .comment-field .comment-show-new-comment.comment-show-new-comment-enter.comment-show-new-comment-enter-active{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1;padding-top:40px}.comments-holder .comment-field .comment-show-new-comment.comment-show-new-comment-leave{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1;transition:opacity .3s}.comments-holder .comment-field .comment-show-new-comment.comment-show-new-comment-leave.comment-show-new-comment-leave-active{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.comments-holder .comment-field .comment-show-new-comment .show-new-comment-button{display:inline-block;padding:4px;padding-right:8px;height:14px;background:#007ee5;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;color:white;font-size:0px;margin-top:0px}.comments-holder .comment-field .comment-show-new-comment .show-new-comment-button .show-new-comment-icon{display:inline-block;margin-right:4px;-moz-border-radius:13px;-webkit-border-radius:13px;border-radius:13px;font-size:5px;line-height:14px;height:14px;width:14px;border:1px solid white;box-sizing:border-box;vertical-align:top;text-align:center}.comments-holder .comment-field .comment-show-new-comment .show-new-comment-button .show-new-comment-icon:after{content:"\25BC"}.comments-holder .comment-field .comment-show-new-comment .show-new-comment-button .show-new-comment-text{font-size:11px;line-height:14px;vertical-align:top}.comments-holder .comment-field .comment-show-new-comment .show-new-comment-button:hover{text-decoration:none}.comments-holder .comment-field .commenter-photo{display:table-cell;vertical-align:top;padding-right:15px;white-space:nowrap;width:32px}.comments-holder .comment-field .commenter-photo .account-photo{width:32px;height:32px}.comments-holder .comment-field .comment-box{display:table-cell;vertical-align:top;width:99%}.comments-holder .comment-field .comment-box .toggle-show-resolved{margin-top:5px;color:#2895F1;cursor:pointer;padding-left:2px;font-size:10px}.comments-holder .comment-field .comment-box .notification-names-target{font-size:10px;padding-top:8px;padding-left:2px;padding-right:5px;color:#aaa;display:table-cell;vertical-align:top}.comments-holder .comment-field .comment-box .notification-names-target .blue{color:#2895F1}.comments-holder .comment-field .comment-box .post-area{display:table;width:100%}.comments-holder .comment-field .comment-box .post-area .tooltip-container{display:table-cell;vertical-align:top}.comments-holder .comment-field .comment-box .post-area .button-container{display:table-cell}.comments-holder .comment-field .comment-box .post-area .button-container[hidden]{display:none}.comments-holder .comment-field .comment-box .post-area .button-container .post-button{margin-top:9px;float:right;white-space:nowrap}.comments-holder .comment-field .comment-box .mentions-container .mentions-input{border:1px solid #e5e5e5;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.comments-holder .comment-field .comment-box .mentions-container .mentions-input .text-input{min-height:32px;max-height:250px;padding:6px 9px;overflow-y:auto;overflow-x:hidden;font-size:13px;box-sizing:border-box}.comments-holder .comment-field.comment-expanded .comment-box .text-input{min-height:70px}.comments-holder .comment-list{width:100%;overflow-y:auto;overflow-x:hidden;box-sizing:border-box}.comments-holder .comment-list .comment-list-header-container{padding-top:10px;padding-right:18px;padding-left:15px}.comments-holder .comment-list .comment-list-header-container .comment-list-facepile{margin-bottom:15px}.comments-holder .comment-list .comment-list-header-container .comment-list-facepile .title{margin-bottom:10px}.comments-holder .comment-list .comment-list-header-container .comment-list-facepile .notify-facepile-container{display:inline-block;vertical-align:top}.comments-holder .comment-list .comment-list-header-container .comment-list-facepile .notify-facepile-container>div{display:inline-block;vertical-align:top;margin-right:4px}.comments-holder .comment-list .comment-list-header-container .comment-list-facepile .notify-facepile-container .notify-facepile-more{width:32px;height:32px;border-radius:50%;box-sizing:border-box;border:2px solid #e5e5e5;color:#7b8994;background:#e5e5e5;font-size:13px;text-align:center;line-height:28px}.comments-holder .comment-list .comment-list-header-container .comment-list-facepile .comment-list-facepile-add{display:inline-block;width:32px;height:32px;border-radius:50%;box-sizing:border-box;border:2px solid #2895F1;color:#2895F1;font-size:22px;text-align:center;line-height:28px;vertical-align:top}.comments-holder .comment-list .comment-list-header-container .comment-list-facepile .comment-list-facepile-add:hover{text-decoration:none}.comments-holder .comment-list .comment-list-header-container .comment-list-header{padding:0px}.comments-holder .comment-list .comment-list-header-container .comment-list-header .comment-list-header-inner .options{display:table-cell;float:right}.comments-holder .comment-list .comment-list-header-container .comment-list-header .comment-list-header-inner .options .bubble-dropdown-target:hover{text-decoration:none}.comments-holder .comment-list .blank-state{text-align:center;padding-left:20px;padding-right:20px}.comments-holder .comment-list .blank-state .blank-state-icon{padding-top:15px}.comments-holder .comment-list .blank-state .blank-state-text{padding-top:10px;padding-bottom:10px;font-size:13px;color:#4c545a}.comments-holder .comment-list .blank-state .blank-state-text .blue{color:#2895F1}.comments-holder .comment-list.scrolled{border-bottom:1px solid #e5e5e5}.comments-holder .comment-list .loading-comment{text-align:center;padding-top:15px}.comments-holder .comment-list .comment-activity{padding-top:11px;padding-bottom:11px;width:100%;filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}.comments-holder .comment-list .comment-activity.comment-enter{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;transition:opacity .3s;transition:background-color 3s;background-color:#e3f2ff}.comments-holder .comment-list .comment-activity.comment-enter.comment-enter-active{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1;background-color:transparent}.comments-holder .comment-list .comment-activity.comment-leave{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1;transition:opacity .3s}.comments-holder .comment-list .comment-activity.comment-leave.comment-leave-active{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0}.comments-holder .comment-list .comment-activity .comment{display:table;table-layout:fixed;padding:0 15px;width:100%;box-sizing:border-box}.comments-holder .comment-list .comment-activity .comment>.commenter-photo{display:table-cell;vertical-align:top;padding-right:15px;white-space:nowrap;width:32px}.comments-holder .comment-list .comment-activity .comment>.comment-body{display:table-cell;vertical-align:top;width:99%}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-text{color:#4c545a;font-size:13px;line-height:18px;word-wrap:break-word;white-space:pre-wrap}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-text .comment-mention{color:#2895F1}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-top-bar{padding-top:1px;margin-bottom:0px;display:block;height:20px;width:100%}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-top-bar .commenter-name{width:140px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;margin-right:5px;font-size:13px;display:inline-block}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-top-bar .resolve-wrapper{float:right;width:80px;height:20px}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-top-bar .resolve-wrapper .unresolve-text{line-height:20px;color:#61d761;font-size:10px;float:right}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-top-bar .resolve-wrapper .resolve-text{line-height:20px;color:#aaa;font-size:10px;float:right}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-top-bar .resolve-wrapper .resolved-icon{margin-left:3px;height:20px;vertical-align:middle;float:right;cursor:pointer}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-bottom-bar{color:#aaa;font-size:11px;margin-top:6px;width:100%}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-bottom-bar .like-bar{float:left}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-bottom-bar .like-bar .like-sprite{float:left}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-bottom-bar .like-bar .like-sprite img{-moz-transform:scale(0.85, 0.85);-ms-transform:scale(0.85, 0.85);-webkit-transform:scale(0.85, 0.85);transform:scale(0.85, 0.85)}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-bottom-bar .like-bar .like-text{float:left;margin-left:3px;margin-top:-1px}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-bottom-bar .bottom-dot{float:left;margin-left:7px;margin-right:7px;margin-top:-1px;font-weight:900}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-bottom-bar .activity-time-ago{float:left;margin-top:-1px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-bottom-bar .delete-icon{float:left;margin-top:-1px;cursor:pointer}.comments-holder .comment-list .comment-activity .comment>.comment-body .comment-bottom-bar .second-bottom-dot{float:left;margin-right:7px;margin-left:7px;margin-top:-1px;font-weight:900}.comments-feedback-link{background-color:white;color:#3d464d;width:100%;border-left:1px solid #e5e5e5;border-top:1px solid #e5e5e5}.comments-feedback-link .comments-feedback-link-inner{padding-top:15px;padding-left:15px}.comments-feedback-link .comments-feedback-link-inner a:hover{text-decoration:none}.text-input.comment-feedback-input{width:575px;height:100px}.text-input.comment-feedback-input #comments-feedback-input{resize:none;height:100px}#tooltip-holder .like-tooltip,#tooltip-holder .notification-names-tooltip{border:none;padding:5px 10px;background:#3d464d;line-height:1.75;font-size:11px;color:white}#react-bubble-dropdown-root{z-index:1000000}#react-bubble-dropdown-root .bubble-dropdown.comments-header-bubble-dropdown.top-right{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#react-bubble-dropdown-root .bubble-dropdown.comments-header-bubble-dropdown.top-right .bubble-arrow-border{left:90%;border-width:10px 11px;margin-left:-11px}#react-bubble-dropdown-root .bubble-dropdown.comments-header-bubble-dropdown.top-right .bubble-arrow{left:90%;border-width:9px 9px;margin-left:-9px}#react-bubble-dropdown-root .bubble-dropdown.mentions-helper-bubble-dropdown{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}#react-bubble-dropdown-root .bubble-dropdown.mentions-helper-bubble-dropdown.bottom-right .bubble-arrow-border{left:90%;border-width:10px 11px;margin-left:-11px}#react-bubble-dropdown-root .bubble-dropdown.mentions-helper-bubble-dropdown.bottom-right .bubble-arrow{left:90%;border-width:9px 9px;margin-left:-9px}#react-bubble-dropdown-root .bubble-dropdown.mentions-helper-bubble-dropdown.top-right .bubble-arrow-border{left:90%;border-width:10px 11px;margin-left:-11px}#react-bubble-dropdown-root .bubble-dropdown.mentions-helper-bubble-dropdown.top-right .bubble-arrow{left:90%;border-width:9px 9px;margin-left:-9px}#react-bubble-dropdown-root a.comments-header-menu-option{white-space:nowrap;padding-top:5px;padding-bottom:5px;padding-left:16px;padding-right:12px;display:block}#react-bubble-dropdown-root a.comments-header-menu-option.disabled{cursor:default;color:#e5e5e5}#react-bubble-dropdown-root a.comments-header-menu-option.disabled *{cursor:default}#react-bubble-dropdown-root a.comments-header-menu-option.disabled .sprite{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=25);opacity:0.25}#react-bubble-dropdown-root a.comments-header-menu-option.disabled:hover{background-color:initial}#react-bubble-dropdown-root a.comments-header-menu-option:hover{text-decoration:none;background-color:#e3f2ff}#react-bubble-dropdown-root a.comments-header-menu-option .sprite-frame{padding-right:8px} /*# sourceMappingURL=comments.css.map */  ,-._Ghttps://cf.dropboxstatic.com/static/css/components/avatar-vflm4W-Bt.cssObplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ()$%&'(WNS.base[NS.relative_Ghttps://cf.dropboxstatic.com/static/css/components/avatar-vflm4W-Bt.css+,-.Z$classnameX$classesUNSURL-/XNSObject#A456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-CacheXtext/cssQ*_Tue, 21 Apr 2015 04:35:11 GMT_8NxROH2NT2w8w7EkoOWqG2LoqoftcbPTBLT40Ff_711WTqlhB69YAsQ==TgzipUnginx_@1.1 cac0807f4e1bdd7cf57c08992aa341a5.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsS363Zkeep-alive^"5535d37f-16b"_Miss from cloudfront+,vw\NSDictionaryv/+,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27dj6;FOUXajlnu}#/BIMUch_),/4HL`nO.avatar-component{position:relative;text-align:center}.avatar-component.overflow-pill{color:#7b8994;display:inline-block;background:#e1e1e1;box-sizing:border-box;overflow:hidden;vertical-align:middle}.avatar-component.circle,.avatar-component.photo:after{overflow:hidden;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%}.avatar-component.initials{box-sizing:border-box}.avatar-component.photo:after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;-moz-box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);-webkit-box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);box-shadow:inset 0 0 0 1px rgba(0,0,0,0.1);pointer-events:none} /*# sourceMappingURL=avatar.css.map */  012_Ihttps://cf.dropboxstatic.com/static/css/packaged/components-vflg-DQeh.cssObplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ()$%&'(WNS.base[NS.relative_Ihttps://cf.dropboxstatic.com/static/css/packaged/components-vflg-DQeh.css+,-.Z$classnameX$classesUNSURL-/XNSObject#A456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-CacheXtext/cssQ*_Mon, 20 Apr 2015 22:40:16 GMT_8-BZnXlj3wHhK-vPCmOdYCXIRQmwXSQ2iiXS4e_g6ZoL_LsX2EDb_Hw==TgzipUnginx_@1.1 934d01cc90863ea1f4d1873d7fd3db64.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsT6590Zkeep-alive_"55358050-19be"_Miss from cloudfront+,vw\NSDictionaryv/+,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27dj8=HQWZclnpw%1DKOWeja"/2;@TXlzOv.bubble-dropdown-container{position:relative}.bubble-dropdown-target{cursor:pointer}#react-bubble-dropdown-root .bubble-dropdown{padding:5px 0px}.bubble-dropdown{background:#fff;background-clip:padding-box;border:1px solid rgba(61,70,77,0.1);cursor:default;padding:9px 15px;z-index:9999;border-radius:3px;box-shadow:0px 1px 2px rgba(0,0,0,0.1);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none;display:none;position:absolute}.bubble-dropdown.no-padding{padding:0}.bubble-dropdown .bubble-arrow,.bubble-dropdown .bubble-arrow-border{border:solid transparent;height:0;width:0;position:absolute;pointer-events:none}.bubble-dropdown.left .bubble-arrow-border,.bubble-dropdown.left-top .bubble-arrow-border,.bubble-dropdown.left-bottom .bubble-arrow-border,.bubble-dropdown.right .bubble-arrow-border,.bubble-dropdown.right-top .bubble-arrow-border,.bubble-dropdown.right-bottom .bubble-arrow-border{border-width:11px 7px;margin-top:-11px}.bubble-dropdown.left .bubble-arrow,.bubble-dropdown.left-top .bubble-arrow,.bubble-dropdown.left-bottom .bubble-arrow,.bubble-dropdown.right .bubble-arrow,.bubble-dropdown.right-top .bubble-arrow,.bubble-dropdown.right-bottom .bubble-arrow{border-width:9px 6px;margin-top:-9px}.bubble-dropdown.top .bubble-arrow-border,.bubble-dropdown.top-left .bubble-arrow-border,.bubble-dropdown.top-right .bubble-arrow-border,.bubble-dropdown.bottom .bubble-arrow-border,.bubble-dropdown.bottom-left .bubble-arrow-border,.bubble-dropdown.bottom-right .bubble-arrow-border{border-width:7px 11px;margin-left:-11px}.bubble-dropdown.top .bubble-arrow,.bubble-dropdown.top-left .bubble-arrow,.bubble-dropdown.top-right .bubble-arrow,.bubble-dropdown.bottom .bubble-arrow,.bubble-dropdown.bottom-left .bubble-arrow,.bubble-dropdown.bottom-right .bubble-arrow{border-width:6px 9px;margin-left:-9px}.bubble-dropdown.left .bubble-arrow,.bubble-dropdown.left .bubble-arrow-border,.bubble-dropdown.left-top .bubble-arrow,.bubble-dropdown.left-top .bubble-arrow-border,.bubble-dropdown.left-bottom .bubble-arrow,.bubble-dropdown.left-bottom .bubble-arrow-border{right:100%}.bubble-dropdown.left .bubble-arrow-border,.bubble-dropdown.left-top .bubble-arrow-border,.bubble-dropdown.left-bottom .bubble-arrow-border{border-right-color:rgba(61,70,77,0.1)}.bubble-dropdown.left .bubble-arrow,.bubble-dropdown.left-top .bubble-arrow,.bubble-dropdown.left-bottom .bubble-arrow{border-right-color:#fff}.bubble-dropdown.right .bubble-arrow,.bubble-dropdown.right .bubble-arrow-border,.bubble-dropdown.right-top .bubble-arrow,.bubble-dropdown.right-top .bubble-arrow-border,.bubble-dropdown.right-bottom .bubble-arrow,.bubble-dropdown.right-bottom .bubble-arrow-border{left:100%}.bubble-dropdown.right .bubble-arrow-border,.bubble-dropdown.right-top .bubble-arrow-border,.bubble-dropdown.right-bottom .bubble-arrow-border{border-left-color:rgba(61,70,77,0.1)}.bubble-dropdown.right .bubble-arrow,.bubble-dropdown.right-top .bubble-arrow,.bubble-dropdown.right-bottom .bubble-arrow{border-left-color:#fff}.bubble-dropdown.top .bubble-arrow,.bubble-dropdown.top .bubble-arrow-border,.bubble-dropdown.top-left .bubble-arrow,.bubble-dropdown.top-left .bubble-arrow-border,.bubble-dropdown.top-right .bubble-arrow,.bubble-dropdown.top-right .bubble-arrow-border{bottom:100%}.bubble-dropdown.top .bubble-arrow-border,.bubble-dropdown.top-left .bubble-arrow-border,.bubble-dropdown.top-right .bubble-arrow-border{border-bottom-color:rgba(61,70,77,0.1)}.bubble-dropdown.top .bubble-arrow,.bubble-dropdown.top-left .bubble-arrow,.bubble-dropdown.top-right .bubble-arrow{border-bottom-color:#fff}.bubble-dropdown.bottom .bubble-arrow,.bubble-dropdown.bottom .bubble-arrow-border,.bubble-dropdown.bottom-left .bubble-arrow,.bubble-dropdown.bottom-left .bubble-arrow-border,.bubble-dropdown.bottom-right .bubble-arrow,.bubble-dropdown.bottom-right .bubble-arrow-border{top:100%}.bubble-dropdown.bottom .bubble-arrow-border,.bubble-dropdown.bottom-left .bubble-arrow-border,.bubble-dropdown.bottom-right .bubble-arrow-border{border-top-color:rgba(61,70,77,0.1)}.bubble-dropdown.bottom .bubble-arrow,.bubble-dropdown.bottom-left .bubble-arrow,.bubble-dropdown.bottom-right .bubble-arrow{border-top-color:#fff}.bubble-dropdown.top .bubble-arrow,.bubble-dropdown.top .bubble-arrow-border,.bubble-dropdown.bottom .bubble-arrow,.bubble-dropdown.bottom .bubble-arrow-border{left:50%}.bubble-dropdown.top-left .bubble-arrow,.bubble-dropdown.top-left .bubble-arrow-border,.bubble-dropdown.bottom-left .bubble-arrow,.bubble-dropdown.bottom-left .bubble-arrow-border{left:25%}.bubble-dropdown.top-right .bubble-arrow,.bubble-dropdown.top-right .bubble-arrow-border,.bubble-dropdown.bottom-right .bubble-arrow,.bubble-dropdown.bottom-right .bubble-arrow-border{left:75%}.bubble-dropdown.left .bubble-arrow,.bubble-dropdown.left .bubble-arrow-border,.bubble-dropdown.right .bubble-arrow,.bubble-dropdown.right .bubble-arrow-border{top:50%}.bubble-dropdown.left-top .bubble-arrow,.bubble-dropdown.left-top .bubble-arrow-border,.bubble-dropdown.right-top .bubble-arrow,.bubble-dropdown.right-top .bubble-arrow-border{top:25%}.bubble-dropdown.left-bottom .bubble-arrow,.bubble-dropdown.left-bottom .bubble-arrow-border,.bubble-dropdown.right-bottom .bubble-arrow,.bubble-dropdown.right-bottom .bubble-arrow-border{top:75%}.bubble-picker{cursor:pointer;display:inline-block;*display:inline;position:relative;vertical-align:bottom;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none}.bubble-picker.color-blue{color:#2895F1}.bubble-picker.color-gray{color:#3d464d}.bubble-picker .sprite-div .sprite-frame.small.icon-right{padding-left:0px;padding-top:3px}.bubble-picker .bubble-picker-option{height:22px}.bubble-picker .bubble-picker-dropdown{padding:3px 0;margin-bottom:10px;position:absolute;right:-30px;top:30px;z-index:2}.bubble-picker .bubble-picker-dropdown .bubble-picker-option{padding:5px 13px}.bubble-picker .bubble-picker-dropdown .bubble-picker-option:hover{background:#e3f2ff}.bubble-picker .bubble-picker-dropdown .bubble-picker-option.disabled{cursor:default;color:#aaa}.bubble-picker .bubble-picker-dropdown .bubble-picker-option.disabled:hover{background:inherit}.bubble-picker .bubble-picker-dropdown .bubble-picker-option.disabled .sprite-frame img{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=30);opacity:0.3}.tabbing .button-primary:focus,.tabbing .button-secondary:focus,.tabbing .button-tertiary:focus{box-shadow:0px 0px 0px 2px #A0D1FA,inset 0 0 0 0 #000}.button-primary,.button-secondary,.button-tertiary{margin:2px 0 5px;min-height:34px;line-height:normal;box-sizing:border-box;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-webkit-appearance:none;margin-top:16px;padding:6px 16px}body.ie .button-primary,body.ie .button-secondary,body.ie .button-tertiary{padding-top:0;padding-bottom:0}.button-primary.button-small,.button-secondary.button-small,.button-tertiary.button-small{margin:0;padding:3px 10px;min-height:30px}.freshbutton,.freshbutton-red,.freshbutton-blue,.freshbutton-lightblue,.freshbutton-blue-on-gray,.freshbutton-gray,.freshbutton-silver,.freshbutton-green,.freshbutton-no-hover{padding:5px 16px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.freshbutton,.freshbutton-red,.freshbutton-blue,.freshbutton-lightblue,.freshbutton-blue-on-gray,.freshbutton-gray,.freshbutton-silver,.freshbutton-green,.freshbutton-no-hover,.button-primary,.button-secondary,.button-tertiary{display:inline-block;text-align:center;font-size:13px;font-weight:600;cursor:pointer;overflow:visible;text-decoration:none}.freshbutton.button-big,.freshbutton-red.button-big,.freshbutton-blue.button-big,.freshbutton-lightblue.button-big,.freshbutton-blue-on-gray.button-big,.freshbutton-gray.button-big,.freshbutton-silver.button-big,.freshbutton-green.button-big,.freshbutton-no-hover.button-big,.button-primary.button-big,.button-secondary.button-big,.button-tertiary.button-big{padding:10px 26px;min-width:180px;border-width:2px}.freshbutton:hover,.freshbutton-red:hover,.freshbutton-blue:hover,.freshbutton-lightblue:hover,.freshbutton-blue-on-gray:hover,.freshbutton-gray:hover,.freshbutton-silver:hover,.freshbutton-green:hover,.freshbutton-no-hover:hover,.button-primary:hover,.button-secondary:hover,.button-tertiary:hover{text-decoration:none}.freshbutton:active,.freshbutton.pressed,.freshbutton.touched,.freshbutton.touch,.freshbutton-red:active,.freshbutton-red.pressed,.freshbutton-red.touched,.freshbutton-red.touch,.freshbutton-blue:active,.freshbutton-blue.pressed,.freshbutton-blue.touched,.freshbutton-blue.touch,.freshbutton-lightblue:active,.freshbutton-lightblue.pressed,.freshbutton-lightblue.touched,.freshbutton-lightblue.touch,.freshbutton-blue-on-gray:active,.freshbutton-blue-on-gray.pressed,.freshbutton-blue-on-gray.touched,.freshbutton-blue-on-gray.touch,.freshbutton-gray:active,.freshbutton-gray.pressed,.freshbutton-gray.touched,.freshbutton-gray.touch,.freshbutton-silver:active,.freshbutton-silver.pressed,.freshbutton-silver.touched,.freshbutton-silver.touch,.freshbutton-green:active,.freshbutton-green.pressed,.freshbutton-green.touched,.freshbutton-green.touch,.freshbutton-no-hover:active,.freshbutton-no-hover.pressed,.freshbutton-no-hover.touched,.freshbutton-no-hover.touch,.button-primary:active,.button-primary.pressed,.button-primary.touched,.button-primary.touch,.button-secondary:active,.button-secondary.pressed,.button-secondary.touched,.button-secondary.touch,.button-tertiary:active,.button-tertiary.pressed,.button-tertiary.touched,.button-tertiary.touch{box-shadow:inset 0px 1px 0px rgba(61,70,71,0.1)}.freshbutton:focus,.freshbutton-red:focus,.freshbutton-blue:focus,.freshbutton-lightblue:focus,.freshbutton-blue-on-gray:focus,.freshbutton-gray:focus,.freshbutton-silver:focus,.freshbutton-green:focus,.freshbutton-no-hover:focus,.button-primary:focus,.button-secondary:focus,.button-tertiary:focus{box-shadow:0px 0px 0px 2px #a0d1fa,inset 0 0 0 0 #000}.freshbutton:disabled,.freshbutton.disabled,.freshbutton-red:disabled,.freshbutton-red.disabled,.freshbutton-blue:disabled,.freshbutton-blue.disabled,.freshbutton-lightblue:disabled,.freshbutton-lightblue.disabled,.freshbutton-blue-on-gray:disabled,.freshbutton-blue-on-gray.disabled,.freshbutton-gray:disabled,.freshbutton-gray.disabled,.freshbutton-silver:disabled,.freshbutton-silver.disabled,.freshbutton-green:disabled,.freshbutton-green.disabled,.freshbutton-no-hover:disabled,.freshbutton-no-hover.disabled,.button-primary:disabled,.button-primary.disabled,.button-secondary:disabled,.button-secondary.disabled,.button-tertiary:disabled,.button-tertiary.disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4;cursor:default}.freshbutton.split,.freshbutton-red.split,.freshbutton-blue.split,.freshbutton-lightblue.split,.freshbutton-blue-on-gray.split,.freshbutton-gray.split,.freshbutton-silver.split,.freshbutton-green.split,.freshbutton-no-hover.split,.button-primary.split,.button-secondary.split,.button-tertiary.split{padding:0}.freshbutton.split span.label,.freshbutton-red.split span.label,.freshbutton-blue.split span.label,.freshbutton-lightblue.split span.label,.freshbutton-blue-on-gray.split span.label,.freshbutton-gray.split span.label,.freshbutton-silver.split span.label,.freshbutton-green.split span.label,.freshbutton-no-hover.split span.label,.button-primary.split span.label,.button-secondary.split span.label,.button-tertiary.split span.label{display:inline-block;padding:6px 16px}.freshbutton.split span.more,.freshbutton-red.split span.more,.freshbutton-blue.split span.more,.freshbutton-lightblue.split span.more,.freshbutton-blue-on-gray.split span.more,.freshbutton-gray.split span.more,.freshbutton-silver.split span.more,.freshbutton-green.split span.more,.freshbutton-no-hover.split span.more,.button-primary.split span.more,.button-secondary.split span.more,.button-tertiary.split span.more{display:inline-block;padding:6px 16px}.button-tertiary:focus{border:1px solid #a0bacf}.freshbutton-blue,.button-primary,a.button-primary{background:#007ee5;background:-o-linear-gradient(top, #168add 0%,#007ee5 100%);background:-ms-linear-gradient(top, #168add 0%,#007ee5 100%);background:-moz-linear-gradient(top, #168add 0%,#007ee5 100%);background:-webkit-linear-gradient(top, #168add 0%,#007ee5 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #168add), color-stop(100%, #007ee5));background:linear-gradient(to bottom, #168add 0%,#007ee5 100%);border:1px solid #0c6ebe;color:white}.freshbutton-blue:hover,.freshbutton-blue.hovered,.button-primary:hover,.button-primary.hovered,a.button-primary:hover,a.button-primary.hovered{background:#007ee5;background:-o-linear-gradient(top, #168eef 0%,#007ee5 100%);background:-ms-linear-gradient(top, #168eef 0%,#007ee5 100%);background:-moz-linear-gradient(top, #168eef 0%,#007ee5 100%);background:-webkit-linear-gradient(top, #168eef 0%,#007ee5 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #168eef), color-stop(100%, #007ee5));background:linear-gradient(to bottom, #168eef 0%,#007ee5 100%)}.freshbutton-blue:active,.freshbutton-blue.pressed,.freshbutton-blue.touched,.freshbutton-blue.touch,.button-primary:active,.button-primary.pressed,.button-primary.touched,.button-primary.touch,a.button-primary:active,a.button-primary.pressed,a.button-primary.touched,a.button-primary.touch{background:#0a74cb;background:-o-linear-gradient(top, #1b80d3 0%,#0a74cb 100%);background:-ms-linear-gradient(top, #1b80d3 0%,#0a74cb 100%);background:-moz-linear-gradient(top, #1b80d3 0%,#0a74cb 100%);background:-webkit-linear-gradient(top, #1b80d3 0%,#0a74cb 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #1b80d3), color-stop(100%, #0a74cb));background:linear-gradient(to bottom, #1b80d3 0%,#0a74cb 100%)}.freshbutton-blue:disabled,.freshbutton-blue.disabled,.button-primary:disabled,.button-primary.disabled,a.button-primary:disabled,a.button-primary.disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4;cursor:default}.freshbutton-blue:disabled:hover,.freshbutton-blue:disabled.hovered,.freshbutton-blue:disabled:active,.freshbutton-blue:disabled.pressed,.freshbutton-blue:disabled.touched,.freshbutton-blue:disabled.touch,.freshbutton-blue.disabled:hover,.freshbutton-blue.disabled.hovered,.freshbutton-blue.disabled:active,.freshbutton-blue.disabled.pressed,.freshbutton-blue.disabled.touched,.freshbutton-blue.disabled.touch,.button-primary:disabled:hover,.button-primary:disabled.hovered,.button-primary:disabled:active,.button-primary:disabled.pressed,.button-primary:disabled.touched,.button-primary:disabled.touch,.button-primary.disabled:hover,.button-primary.disabled.hovered,.button-primary.disabled:active,.button-primary.disabled.pressed,.button-primary.disabled.touched,.button-primary.disabled.touch,a.button-primary:disabled:hover,a.button-primary:disabled.hovered,a.button-primary:disabled:active,a.button-primary:disabled.pressed,a.button-primary:disabled.touched,a.button-primary:disabled.touch,a.button-primary.disabled:hover,a.button-primary.disabled.hovered,a.button-primary.disabled:active,a.button-primary.disabled.pressed,a.button-primary.disabled.touched,a.button-primary.disabled.touch{background:#007ee5}.freshbutton-blue.split span.more,.button-primary.split span.more,a.button-primary.split span.more{border-left:1px solid #0c6ebe}.freshbutton-lightblue,.button-secondary,a.button-secondary{background:#f4faff;background:-o-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-ms-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-moz-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-webkit-linear-gradient(top, #fffffe 0%,#f4faff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fffffe), color-stop(100%, #f4faff));background:linear-gradient(to bottom, #fffffe 0%,#f4faff 100%);border:1px solid #5eb0f0;color:#007ee5}.freshbutton-lightblue:hover,.freshbutton-lightblue.hovered,.button-secondary:hover,.button-secondary.hovered,a.button-secondary:hover,a.button-secondary.hovered{background:#e5f3ff;background:-o-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-ms-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-moz-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-webkit-linear-gradient(top, #fffffe 0%,#e5f3ff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fffffe), color-stop(100%, #e5f3ff));background:linear-gradient(to bottom, #fffffe 0%,#e5f3ff 100%)}.freshbutton-lightblue:active,.freshbutton-lightblue.pressed,.button-secondary:active,.button-secondary.pressed,a.button-secondary:active,a.button-secondary.pressed{background:#e5f3ff;background:-o-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-ms-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-moz-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-webkit-linear-gradient(top, #edf6ff 0%,#e5f3ff 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #edf6ff), color-stop(100%, #e5f3ff));background:linear-gradient(to bottom, #edf6ff 0%,#e5f3ff 100%)}.freshbutton-lightblue:disabled,.freshbutton-lightblue.disabled,.button-secondary:disabled,.button-secondary.disabled,a.button-secondary:disabled,a.button-secondary.disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4;cursor:default}.freshbutton-lightblue:disabled:hover,.freshbutton-lightblue:disabled.hovered,.freshbutton-lightblue:disabled:active,.freshbutton-lightblue:disabled.pressed,.freshbutton-lightblue:disabled.touched,.freshbutton-lightblue:disabled.touch,.freshbutton-lightblue.disabled:hover,.freshbutton-lightblue.disabled.hovered,.freshbutton-lightblue.disabled:active,.freshbutton-lightblue.disabled.pressed,.freshbutton-lightblue.disabled.touched,.freshbutton-lightblue.disabled.touch,.button-secondary:disabled:hover,.button-secondary:disabled.hovered,.button-secondary:disabled:active,.button-secondary:disabled.pressed,.button-secondary:disabled.touched,.button-secondary:disabled.touch,.button-secondary.disabled:hover,.button-secondary.disabled.hovered,.button-secondary.disabled:active,.button-secondary.disabled.pressed,.button-secondary.disabled.touched,.button-secondary.disabled.touch,a.button-secondary:disabled:hover,a.button-secondary:disabled.hovered,a.button-secondary:disabled:active,a.button-secondary:disabled.pressed,a.button-secondary:disabled.touched,a.button-secondary:disabled.touch,a.button-secondary.disabled:hover,a.button-secondary.disabled.hovered,a.button-secondary.disabled:active,a.button-secondary.disabled.pressed,a.button-secondary.disabled.touched,a.button-secondary.disabled.touch{background:#f4faff}.freshbutton-lightblue.split span.more,.button-secondary.split span.more,a.button-secondary.split span.more{border-left:1px solid #5eb0f0}.freshbutton,.freshbutton-silver,.freshbutton-gray,.freshbutton-blue-on-gray,.button-tertiary,a.button-tertiary{background:#fff;border:1px solid #bbb;color:#47525d}.freshbutton:hover,.freshbutton.hovered,.freshbutton-silver:hover,.freshbutton-silver.hovered,.freshbutton-gray:hover,.freshbutton-gray.hovered,.freshbutton-blue-on-gray:hover,.freshbutton-blue-on-gray.hovered,.button-tertiary:hover,.button-tertiary.hovered,a.button-tertiary:hover,a.button-tertiary.hovered{background:#f2f2f2;background:-o-linear-gradient(top, #fffffe 0%,#f2f2f2 100%);background:-ms-linear-gradient(top, #fffffe 0%,#f2f2f2 100%);background:-moz-linear-gradient(top, #fffffe 0%,#f2f2f2 100%);background:-webkit-linear-gradient(top, #fffffe 0%,#f2f2f2 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fffffe), color-stop(100%, #f2f2f2));background:linear-gradient(to bottom, #fffffe 0%,#f2f2f2 100%)}.freshbutton:active,.freshbutton.pressed,.freshbutton-silver:active,.freshbutton-silver.pressed,.freshbutton-gray:active,.freshbutton-gray.pressed,.freshbutton-blue-on-gray:active,.freshbutton-blue-on-gray.pressed,.button-tertiary:active,.button-tertiary.pressed,a.button-tertiary:active,a.button-tertiary.pressed{background:#f2f2f2;background:-o-linear-gradient(top, #f7f7f7 0%,#f2f2f2 100%);background:-ms-linear-gradient(top, #f7f7f7 0%,#f2f2f2 100%);background:-moz-linear-gradient(top, #f7f7f7 0%,#f2f2f2 100%);background:-webkit-linear-gradient(top, #f7f7f7 0%,#f2f2f2 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #f7f7f7), color-stop(100%, #f2f2f2));background:linear-gradient(to bottom, #f7f7f7 0%,#f2f2f2 100%)}.freshbutton:disabled,.freshbutton.disabled,.freshbutton-silver:disabled,.freshbutton-silver.disabled,.freshbutton-gray:disabled,.freshbutton-gray.disabled,.freshbutton-blue-on-gray:disabled,.freshbutton-blue-on-gray.disabled,.button-tertiary:disabled,.button-tertiary.disabled,a.button-tertiary:disabled,a.button-tertiary.disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=40);opacity:0.4;cursor:default}.freshbutton:disabled:hover,.freshbutton:disabled.hovered,.freshbutton:disabled:active,.freshbutton:disabled.pressed,.freshbutton:disabled.touched,.freshbutton:disabled.touch,.freshbutton.disabled:hover,.freshbutton.disabled.hovered,.freshbutton.disabled:active,.freshbutton.disabled.pressed,.freshbutton.disabled.touched,.freshbutton.disabled.touch,.freshbutton-silver:disabled:hover,.freshbutton-silver:disabled.hovered,.freshbutton-silver:disabled:active,.freshbutton-silver:disabled.pressed,.freshbutton-silver:disabled.touched,.freshbutton-silver:disabled.touch,.freshbutton-silver.disabled:hover,.freshbutton-silver.disabled.hovered,.freshbutton-silver.disabled:active,.freshbutton-silver.disabled.pressed,.freshbutton-silver.disabled.touched,.freshbutton-silver.disabled.touch,.freshbutton-gray:disabled:hover,.freshbutton-gray:disabled.hovered,.freshbutton-gray:disabled:active,.freshbutton-gray:disabled.pressed,.freshbutton-gray:disabled.touched,.freshbutton-gray:disabled.touch,.freshbutton-gray.disabled:hover,.freshbutton-gray.disabled.hovered,.freshbutton-gray.disabled:active,.freshbutton-gray.disabled.pressed,.freshbutton-gray.disabled.touched,.freshbutton-gray.disabled.touch,.freshbutton-blue-on-gray:disabled:hover,.freshbutton-blue-on-gray:disabled.hovered,.freshbutton-blue-on-gray:disabled:active,.freshbutton-blue-on-gray:disabled.pressed,.freshbutton-blue-on-gray:disabled.touched,.freshbutton-blue-on-gray:disabled.touch,.freshbutton-blue-on-gray.disabled:hover,.freshbutton-blue-on-gray.disabled.hovered,.freshbutton-blue-on-gray.disabled:active,.freshbutton-blue-on-gray.disabled.pressed,.freshbutton-blue-on-gray.disabled.touched,.freshbutton-blue-on-gray.disabled.touch,.button-tertiary:disabled:hover,.button-tertiary:disabled.hovered,.button-tertiary:disabled:active,.button-tertiary:disabled.pressed,.button-tertiary:disabled.touched,.button-tertiary:disabled.touch,.button-tertiary.disabled:hover,.button-tertiary.disabled.hovered,.button-tertiary.disabled:active,.button-tertiary.disabled.pressed,.button-tertiary.disabled.touched,.button-tertiary.disabled.touch,a.button-tertiary:disabled:hover,a.button-tertiary:disabled.hovered,a.button-tertiary:disabled:active,a.button-tertiary:disabled.pressed,a.button-tertiary:disabled.touched,a.button-tertiary:disabled.touch,a.button-tertiary.disabled:hover,a.button-tertiary.disabled.hovered,a.button-tertiary.disabled:active,a.button-tertiary.disabled.pressed,a.button-tertiary.disabled.touched,a.button-tertiary.disabled.touch{background:#fff}.freshbutton.split span.more,.freshbutton-silver.split span.more,.freshbutton-gray.split span.more,.freshbutton-blue-on-gray.split span.more,.button-tertiary.split span.more,a.button-tertiary.split span.more{border-left:1px solid #bbb}.media-mobile .button-primary,.media-mobile .button-secondary,.media-mobile .button-tertiary{width:100%}.carousel .button-primary,.carousel .button-secondary,.carousel .button-tertiary{font-size:14px;font-weight:400;padding:11px 16px}.carousel .button-primary:active,.carousel .button-secondary:active,.carousel .button-tertiary:active{box-shadow:none}.carousel .button-primary{background:#0bacff;border-color:#0bacff}.carousel .button-primary:hover{background:#36BEFF;border-color:#36BEFF}.carousel .button-primary:active{background:#007EC1;border-color:#007EC1}.carousel .button-secondary{background:#fff;border-color:#36BEFF;color:#0bacff}.carousel .button-secondary:hover{background:#fff;color:#36BEFF}.carousel .button-secondary:active{background:#fff;color:#007EC1;border-color:#007EC1}.carousel .button-tertiary,.carousel .button-tertiary:hover,.carousel .button-tertiary:active{background:#fff}.business-theme .button-primary,.business-theme .button-secondary,.business-theme .button-tertiary{font-weight:normal;min-height:0;padding-top:8px;padding-bottom:8px}.business-theme .button-primary.button-big,.business-theme .button-secondary.button-big,.business-theme .button-tertiary.button-big{min-width:220px;min-height:50px;line-height:34px}.business-theme .button-primary{background:#007ee5;border-color:#007ee5;color:#fff}.business-theme .button-primary:hover,.business-theme .button-primary.hovered{background:#3398ea;border-color:#3398ea}.business-theme .button-primary:active,.business-theme .button-primary.pressed{background:#0c57bd;border-color:#0c57bd}.business-theme .button-primary:disabled,.business-theme .button-primary.disabled{color:#bcc3c8;border-color:#bcc3c8;background:#fff}.business-theme .button-primary:disabled,.business-theme .button-primary.disabled{color:#fff;background:#bdc4c9}.business-theme .button-secondary{background:#fff;border-color:#007ee5}.business-theme .button-secondary:hover,.business-theme .button-secondary.hovered{background:#f0f7fd;border-color:#007ee5}.business-theme .button-secondary:active,.business-theme .button-secondary.pressed{background:#e3f1fc;border-color:#007ee5}.business-theme .button-secondary:disabled,.business-theme .button-secondary.disabled{color:#bcc3c8;border-color:#bcc3c8;background:#fff}.business-theme .button-secondary.button-big{border-radius:5px}.business-theme .button-tertiary{background:#fff;border-color:#bcc3c8}.business-theme .button-tertiary:hover,.business-theme .button-tertiary.hovered{background:#f0f7fc;border-color:#bcc3c8}.business-theme .button-tertiary:active,.business-theme .button-tertiary.pressed{background:#cfe8fc;border-color:#bcc3c8}.business-theme .button-tertiary:disabled,.business-theme .button-tertiary.disabled{color:#bcc3c8;border-color:#bcc3c8;background:#fff}.business-theme .button-tertiary:active,.business-theme .button-tertiary:hover,.business-theme .button-tertiary.pressed,.business-theme .button-tertiary.hovered{border-color:#266cb9}.business-theme .ie8 .button-primary,.business-theme .ie8 .button-secondary,.business-theme .ie8 .button-tertiary{filter:'-'}.business-theme .ie8 .button-primary.button-big,.business-theme .ie8 .button-secondary.button-big,.business-theme .ie8 .button-tertiary.button-big{min-height:0;min-width:0;padding:6px 50px}.media-mobile.carousel .button-primary,.media-mobile.carousel .button-secondary,.media-mobile.carousel .button-tertiary{font-size:16px;font-weight:200;padding:12px 16px}.carousel-app .carousel .button-primary,.carousel-app .carousel .button-secondary,.carousel-app .carousel .button-tertiary{font-size:13px;padding:8px 18px 9px}.tabbing .checkbox input:focus{box-shadow:0px 0px 0px 2px #A0D1FA,inset 0 0 0 0 #000}.checkbox{margin:2px 0 5px;min-height:34px;line-height:normal;box-sizing:border-box;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-webkit-appearance:none;padding:6px 0;height:auto}.checkbox.checkbox-inline{display:inline-block;*display:inline;margin-top:0px;vertical-align:bottom}.checkbox input{cursor:pointer;height:14px;width:14px;margin:0;padding:0;vertical-align:middle}.checkbox label{cursor:pointer;margin-left:7px;vertical-align:middle}.checkbox .text-input-error-wrapper{color:#e82110;font-size:12px;min-height:17px}.checkbox .text-input-error-wrapper span.error-message{color:#e82110;display:block;font-size:12px}.checkbox .text-input-error-wrapper br{display:none}.checkbox.small .text-input-error-wrapper{color:#e82110;font-size:12px;min-height:17px;font-size:11px;min-height:15px;margin-bottom:-2px}.checkbox.small .text-input-error-wrapper span.error-message{color:#e82110;display:block;font-size:12px}.checkbox.small .text-input-error-wrapper br{display:none}.checkbox.small .text-input-error-wrapper span.error-message{font-size:11px}.carousel .checkbox{padding:12px 0}.copyright-complaint-flag{width:28px;height:28px;position:fixed;bottom:4px;right:14px;background-position:center;background-repeat:no-repeat;background-image:url("/static/images/contentflag-vfl6np-Y7.png");text-indent:-900px;overflow:hidden}.tabbing .text-input textarea:focus,.tabbing .text-input input:focus,.tabbing .text-input select:focus{box-shadow:0px 0px 0px 2px #A0D1FA,inset 0 0 0 0 #000}.text-input{line-height:normal;width:250px}.text-input .text-input-wrapper{position:relative}.text-input .text-input-wrapper input,.text-input .text-input-wrapper textarea{border:1px solid #bdc4c9;font-size:16px;padding:5px 6px;width:100%;margin:2px 0 5px;min-height:34px;line-height:normal;box-sizing:border-box;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-webkit-appearance:none}.text-input .text-input-wrapper input:-webkit-autofill+label,.text-input .text-input-wrapper textarea:-webkit-autofill+label{display:none}.text-input .text-input-wrapper input:focus+label,.text-input .text-input-wrapper textarea:focus+label{color:#e5e5e5}.text-input .text-input-wrapper input.input-error,.text-input .text-input-wrapper textarea.input-error{border-color:#e3a8a7}.text-input .text-input-wrapper input.password-input,.text-input .text-input-wrapper textarea.password-input{font-size:20px}.text-input .text-input-wrapper textarea{resize:vertical;min-width:100%;max-width:100%;height:100%}.text-input .text-input-wrapper label{color:#aaa;cursor:text;font-size:16px;text-align:left;box-sizing:border-box;position:absolute;padding:8px;left:0;right:0;top:0;right:0;-webkit-transition:color 0.2s linear 0s;-moz-transition:color 0.2s linear 0s;transition:color 0.2s linear 0s;pointer-events:none}.text-input .text-input-wrapper .bubble-dropdown-container .bubble-dropdown{width:160px}.text-input .text-input-wrapper .bubble-dropdown-container .bubble-dropdown .password-bubble-title{color:#2895F1}.text-input .text-input-error-wrapper{color:#e82110;font-size:12px;min-height:17px}.text-input .text-input-error-wrapper span.error-message{color:#e82110;display:block;font-size:12px}.text-input .text-input-error-wrapper br{display:none}.text-input-inline{display:inline-block;margin-right:12px;vertical-align:bottom}.text-input.small input{font-size:14px;padding:3px 6px;min-height:30px;margin:0}.text-input.small label{font-size:14px;padding:6px 8px}.text-input.small .text-input-error-wrapper{color:#e82110;font-size:12px;min-height:17px;font-size:11px;min-height:15px}.text-input.small .text-input-error-wrapper span.error-message{color:#e82110;display:block;font-size:12px}.text-input.small .text-input-error-wrapper br{display:none}.text-input.small .text-input-error-wrapper span.error-message{font-size:11px}.text-input.label-hidden.text-input-inline{position:relative;top:17px}.text-input.label-hidden .text-input-wrapper{padding-top:0px}.text-input.label-hidden .text-input-wrapper label{display:none}.text-input.label-above.text-input-inline{position:relative;top:17px}.text-input.label-above .text-input-wrapper{padding-top:20px}.text-input.label-above .text-input-wrapper input:-webkit-autofill+label,.text-input.label-above .text-input-wrapper textarea:-webkit-autofill+label{display:block}.text-input.label-above .text-input-wrapper input:focus+label,.text-input.label-above .text-input-wrapper textarea:focus+label{color:#3d464d}.text-input.label-above .text-input-wrapper label{color:#3d464d;cursor:text;font-size:13px;box-sizing:border-box;position:absolute;padding:0;left:0;top:0;pointer-events:auto}.textarea-input .text-input-wrapper{height:100%}.carousel .text-input .text-input-wrapper input{height:40px;padding:12px;font-size:14px}.carousel .text-input .text-input-wrapper label{padding:13px;font-size:14px;top:2px}@-moz-document url-prefix(){.carousel .text-input .text-input-wrapper input{padding:0px 13px 4px 13px}.carousel .text-input .text-input-wrapper label{left:2px;top:-2px}}.password-input-meter{position:absolute;top:50%;right:1px;padding:4px 5px;margin-top:-16px;height:95%;background-color:white}.password-input-meter .password-input-dot{height:3px;width:4px;margin:2px;background-color:#e3f2ff}.password-input-meter .password-input-dot-selected{background-color:#2895F1}body.business-theme .text-input input.text-input-input,body.business-theme .text-input .text-input-wrapper textarea{padding:12px;font-size:13px;border-color:#3d464d}body.business-theme .text-input input.text-input-input:focus+label,body.business-theme .text-input .text-input-wrapper textarea:focus+label{color:inherit}body.business-theme .text-input input.text-input-input{height:39px}.list-menu{display:inline-block}.list-menu .list-item{display:block;cursor:pointer;padding:8px 10px}.list-menu-hover .list-item:hover{background:#e3f2ff}.carousel .list-menu .list-item{padding:12px 14px;font-size:13px}.login-form-container{position:relative;text-align:left;width:350px}.login-form-container .login-header{font-size:18px;font-weight:normal}.login-form-container .login-subheader{margin-top:12px;color:#4c545a;line-height:18px}.login-form-container .login-info{margin-top:12px}.login-form-container .login-button{float:right}.login-form-container .login-button .sso-text{display:none}.login-form-container .login-need-help,.login-form-container .two-factor-need-help{margin-top:13px}.login-form-container .login-need-help a,.login-form-container .two-factor-need-help a{display:block;margin-bottom:4px}.login-form-container.login-form-hide-remember-me .login-need-help{margin-top:25px}.login-form-container .info-icon{vertical-align:bottom}.login-form-container .text-input{width:100%}.login-form-container .email-suggestion{display:none}.login-form-container .last-four-digits{font-weight:bold}.login-form-container .hide-sms .two-factor-uses-sms{display:none}.login-form-container .hide-authenticator .two-factor-uses-authenticator{display:none}.login-form-container .login-loading-indicator{display:none;float:right;margin:25px 5px 0 0}.login-form-container .ajax-loading .login-loading-indicator{display:inline}.login-form-container .sso-description{display:none;text-align:center;margin-top:20px;margin-bottom:10px;color:#888;font-size:14px}.login-form-container .sso-description .sprite-div{display:inline-block}.login-form-container .sso-optout{display:none;text-align:center;margin-top:20px;color:#888}.login-form-container .sso-required .login-password,.login-form-container .sso-required .remember-me,.login-form-container .sso-required .login-need-help{display:none}.login-form-container .sso-required .login-button{width:100%;position:relative}.login-form-container .sso-required .login-button .sign-in-text{display:none}.login-form-container .sso-required .login-button .sso-text{display:block}.login-form-container .sso-required .sso-description{display:block}.login-form-container .sso-optional .sso-optout{display:block}.login-form-container.login-form--inline{width:100%}.login-form-container.login-form--inline .text-input,.login-form-container.login-form--inline .login-button,.login-form-container.login-form--inline .loading-indicator,.login-form-container.login-form--inline .login-need-help{display:inline-block;float:none;margin-right:15px}.login-form-container.login-form--inline .text-input{width:170px}.login-form-container.login-form--inline .login-button{width:auto}.login-form-container.login-form--inline .text-input-error-wrapper{position:absolute}.login-form-container.login-form--inline.login-form--right{text-align:right}.media-mobile .login-form-container,.login-form-container.small{width:100%}.media-mobile .login-form-container .remember-me,.media-mobile .login-form-container .agree,.login-form-container.small .remember-me,.login-form-container.small .agree{display:block;margin:0;padding:0}.media-mobile .login-form-container .login-button,.login-form-container.small .login-button{position:relative;width:100%}.media-mobile .login-form-container .two-factor-form .login-header,.login-form-container.small .two-factor-form .login-header{display:none}.media-mobile .login-form-container .sso-required .remember-me,.login-form-container.small .sso-required .remember-me{display:none}.media-mobile .login-form-container .login-loading-indicator,.login-form-container.small .login-loading-indicator{margin-top:-70px}.login-form-container.small .login-header{font-size:14px}.two-factor-trusted-info{width:200px}.login-form-container.register.small.index{width:225px;position:relative;margin:0 auto}.login-form-container.register.small.index .first{margin-top:-15px}.login-form-container.register.small.index .login-button{margin:15px auto auto auto;height:45px;font-size:14px;font-weight:normal}.login-form-container.register.small.index{height:45px;overflow:hidden}.login-form-container.register.small.index .register-form{position:absolute;left:0;bottom:0}.login-form-container.register.small.index.form_shown{overflow:visible;height:auto !important}.login-form-container.register.small.index.form_shown .register-form{position:relative}.login-register-container{width:350px}.login-register-container .login-form-container{width:100%}.login-register-container .login-register-header{float:left;font-size:18px;font-weight:normal}.login-register-container .login-register-switch{float:right;margin-top:5px;line-height:normal}.login-register-container .login-register-register-part{display:none}.login-register-container.default-register .login-register-login-part{display:none}.login-register-container.default-register .login-register-register-part{display:block}.login-register-container.small{width:100%}.login-register-container.small .login-register-header{font-size:14px}.login-register-container.small .login-register-switch{float:none;text-align:center}.media-mobile .phone-country{width:250px}.phone-country{margin-right:12px}.phone-number-error{color:#e82110;font-size:12px;min-height:17px;width:400px;text-align:left}.phone-number-error span.error-message{color:#e82110;display:block;font-size:12px}.phone-number-error br{display:none}.phone-number-input-inline{display:inline-block}.carousel .phone-country{width:180px}.tabbing .select-input-input:focus{box-shadow:0px 0px 0px 2px #A0D1FA,inset 0 0 0 0 #000}.tabbing .select-input-dropdown-shown .select-input-input:focus{box-shadow:none}.select-input{display:inline-block;width:140px;font-size:13px;position:relative;vertical-align:bottom;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none}.select-input .hidden-select-wrapper{position:absolute;left:-10000px;top:auto;height:1px;width:1px;overflow:hidden}.select-input.select-input-dropdown-shown .select-input-input{border-bottom-right-radius:0;border-bottom-left-radius:0}.select-input.select-input-dropdown-shown .select-input-dropdown{display:block}.select-input .select-input-error-wrapper{color:#e82110;font-size:12px;min-height:17px}.select-input .select-input-error-wrapper span.error-message{color:#e82110;display:block;font-size:12px}.select-input .select-input-error-wrapper br{display:none}.select-input .select-input-input{margin:2px 0 5px;min-height:34px;line-height:normal;box-sizing:border-box;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-webkit-appearance:none;box-sizing:content-box;min-height:0;background:#fff;border:1px solid #bdc4c9;cursor:pointer;position:relative;padding:7px 29px 3px 8px}.select-input .select-input-input .select-option{display:inline-block;width:100%}.select-input .select-input-input .select-input-dropdown-arrow{position:absolute;right:11px;top:50%}.select-input .select-input-input .select-input-dropdown-arrow img{vertical-align:top}.select-input .select-input-dropdown{background:#fff;display:none;width:100%;border:1px solid #bdc4c9;position:absolute;top:-6px;left:0;right:0;max-height:300px;overflow-y:auto;z-index:1;box-sizing:border-box}.select-input .select-option{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.select-input .select-option.focused-option{background:#e3f2ff}.select-input .select-option.select-option-disabled{cursor:default;color:#aaa}.select-input .select-option.select-option-disabled:hover{background:#fff}.select-input.small .select-input-input{font-size:14px;padding:5px 6px;height:30px;min-height:30px;margin:0}.select-input.small .select-input-input .select-input-dropdown-arrow{position:absolute;right:8px;top:2px}.select-input.small label{font-size:14px;padding:6px 8px}.select-input.small .select-input-error-wrapper{color:#e82110;font-size:12px;min-height:17px;font-size:11px;min-height:15px}.select-input.small .select-input-error-wrapper span.error-message{color:#e82110;display:block;font-size:12px}.select-input.small .select-input-error-wrapper br{display:none}.select-input.small .select-input-error-wrapper span.error-message{font-size:11px}.select-input-disabled{color:#aaa}.select-input-disabled .select-input-input{cursor:default}.carousel .select-input .select-input-input{font-size:15px;padding:11px 29px 5px 13px}body.business-theme .select-container label{top:-4px;left:1px;position:absolute;color:inherit;font-size:13px;display:block !important}body.business-theme .select-input .select-input-input{margin-top:3px;padding:12px 12px 9px 12px;font-size:13px;border-color:#3d464d}body.business-theme .select-input .select-input-input:focus+label{color:inherit}body.business-theme .select-input .select-input-input{line-height:1}body.business-theme .select-input .select-input-dropdown{border-color:#3d464d}.sprite-div{vertical-align:top}.sprite-div .sprite-frame{display:table-cell;vertical-align:middle}.sprite-div .sprite-frame img{display:block;margin:auto}.sprite-div .sprite-frame.small{width:19px}.sprite-div .sprite-frame.small.icon-left{padding-right:6px}.sprite-div .sprite-frame.small.icon-right{padding-left:6px}.sprite-div .sprite-frame.medium{width:32px}.sprite-div .sprite-frame.medium.icon-left{padding-right:12px}.sprite-div .sprite-frame.medium.icon-right{padding-left:12px}.sprite-div .sprite-frame.large{width:44px}.sprite-div .sprite-frame.large.icon-left{padding-right:16px}.sprite-div .sprite-frame.large.icon-right{padding-left:16px}.sprite-div .sprite-text{display:table-cell;vertical-align:middle}.tabs .tab-bar .tab-tab{border:1px solid #A0D1FA;border-bottom-color:#bdc4c9;border-right:none;color:#2895F1;cursor:pointer;display:table-cell;margin:0 0 -1px -1px;padding:11px 22px;position:relative;text-align:center;vertical-align:top;z-index:2}.tabs .tab-bar .tab-tab:first-child{margin-left:0;-webkit-border-top-left-radius:5px;-ms-border-top-left-radius:5px;-o-border-top-left-radius:5px;border-top-left-radius:5px}.tabs .tab-bar .tab-tab.rightmost-tab{border-right:1px solid #A0D1FA;-webkit-border-top-right-radius:5px;-ms-border-top-right-radius:5px;-o-border-top-right-radius:5px;border-top-right-radius:5px}.tabs .tab-bar .tab-tab.selected{border:1px solid #bdc4c9;border-bottom-color:#fff;color:#3d464d}.tabs .tab-bar .tab-tab.selected+.tab-tab{border-left:none}.tabs .tab-bar-border{border-top:1px solid #bdc4c9;margin:-1px 0 30px}.tabs .tab-bar-border.no-margin{margin-bottom:0}.tabs .tab-content{display:none}.tabs .tab-content.selected{display:block}.tabs--center{display:table;margin:0 auto}.tabs--center>.tab-bar{display:table;margin:0 auto}.tabs--center>.tab-bar .tab-tab{display:table-cell}.tabs--minimal .tab-bar .tab-tab{border:none;border-bottom-color:1px solid #bdc4c9;padding-bottom:30px;padding-top:0;vertical-align:middle}.tabs--minimal .tab-bar .tab-tab.rightmost-tab{border-right:none}.tabs--minimal .tab-bar .tab-tab.selected{border:none;border-bottom-color:1px solid #bdc4c9}.tabs--minimal .tab-bar .tab-tab.selected:after{content:'';position:absolute;border-style:solid;border-width:15px 15px 0;border-color:#fff transparent;bottom:-13px;left:50%;margin-left:-15px}.tabs--minimal .tab-bar .tab-tab.selected:before{content:'';position:absolute;border-style:solid;border-width:15px 15px 0;border-color:#bdc4c9 transparent;bottom:-15px;left:50%;margin-left:-15px}.tabs--minimal .tab-bar-border{border-top:1px solid #bdc4c9}.tooltip-wrapper{display:inline-block;position:relative}.tooltip-wrapper .tooltip-prompt{position:relative}.tooltip-wrapper .tooltip-prompt .sprite{cursor:pointer}.tooltip-bubble{display:none;font-size:13px;line-height:normal;position:absolute;background:#fff;background-clip:padding-box;border:1px solid rgba(61,70,77,0.1);cursor:default;padding:9px 15px;z-index:9999;border-radius:3px;box-shadow:0px 1px 2px rgba(0,0,0,0.1);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;-ms-user-select:none;user-select:none}.tooltip-bubble .tooltip-inner{position:relative}.tooltip-target{display:table} /*# sourceMappingURL=components.css.map */  456_Shttps://cf.dropboxstatic.com/static/css/file_feedback_sharing_section-vflW1m5_s.cssObplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ()$%&'(WNS.base[NS.relative_Shttps://cf.dropboxstatic.com/static/css/file_feedback_sharing_section-vflW1m5_s.css+,-.Z$classnameX$classesUNSURL-/XNSObject#Ah456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-CacheXtext/cssQ*_Tue, 21 Apr 2015 04:35:39 GMT_8bJSKVtvJHZg8abBy-sHSbRf0u2UzNM5ddVtiMsjm9ks6DVwxgavsHw==TgzipUnginx_@1.1 09fc52f58485a5da8e63d1ea27596895.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsS404Zkeep-alive^"5535d39b-194"_Miss from cloudfront+,vw\NSDictionaryv/+,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27djBGR[admvxz!/;NUYaot"(k #(58;@TXlzO.file-feedback-sharing-section .file-feedback-sharing-section-content{padding-top:3px;padding-left:15px;padding-right:15px}.file-feedback-sharing-section .file-feedback-sharing-section-content .inline-link-container{margin-bottom:5px}.file-feedback-sharing-section .file-feedback-sharing-section-content .inline-link-container .inline-link-desc{color:#aaa;margin-bottom:8px}.file-feedback-sharing-section .file-feedback-sharing-section-content .inline-link-container .inline-link-text{width:100%}.file-feedback-sharing-section .file-feedback-sharing-section-content .inline-link-container .inline-link-text input{font-size:13px}.file-feedback-sharing-section .file-feedback-sharing-section-content .share-button{display:inline-block;padding:7px 14px 7px 10px;color:#fff;cursor:pointer;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.file-feedback-sharing-section .file-feedback-sharing-section-content .share-facebook{background:#39579a;margin-top:5px}.file-feedback-sharing-section .file-feedback-sharing-section-content .share-twitter{background:#55acee;margin-left:8px}.file-feedback-sharing-section .file-feedback-sharing-section-content .share-link{background:#007ee5;margin-left:8px} /*# sourceMappingURL=file_feedback_sharing_section.css.map */  89:_Fhttps://cf.dropboxstatic.com/static/css/file_feedback_ui-vfltOAQlm.cssObplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ()$%&'(WNS.base[NS.relative_Fhttps://cf.dropboxstatic.com/static/css/file_feedback_ui-vfltOAQlm.css+,-.Z$classnameX$classesUNSURL-/XNSObject#A 456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-CacheXtext/cssQ*_Tue, 21 Apr 2015 04:35:39 GMT_8iIxqxYRuEV13qmHkXALuAE-DplL99aXtbSHQqBZ5ftTdDd0l4zWakw==TgzipUnginx_@1.1 ab125581acf8fb81cf04326a31a01b39.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsS505Zkeep-alive^"5535d39b-1f9"_Miss from cloudfront+,vw\NSDictionaryv/ +,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27dj5:ENTW`ikmt|".AHLTbg^~(+.3GK_mO .file-feedback .file-feedback-section,.file-feedback .comments-holder{background-color:white;color:#3d464d;width:320px;border-left:1px solid #e5e5e5}.file-feedback .file-feedback-section .file-feedback-section-header,.file-feedback .file-feedback-section .comment-list-header,.file-feedback .comments-holder .file-feedback-section-header,.file-feedback .comments-holder .comment-list-header{padding-top:10px;padding-right:18px;padding-left:15px}.file-feedback .file-feedback-section .file-feedback-section-header .file-feedback-section-header-inner,.file-feedback .file-feedback-section .file-feedback-section-header .comment-list-header-inner,.file-feedback .file-feedback-section .comment-list-header .file-feedback-section-header-inner,.file-feedback .file-feedback-section .comment-list-header .comment-list-header-inner,.file-feedback .comments-holder .file-feedback-section-header .file-feedback-section-header-inner,.file-feedback .comments-holder .file-feedback-section-header .comment-list-header-inner,.file-feedback .comments-holder .comment-list-header .file-feedback-section-header-inner,.file-feedback .comments-holder .comment-list-header .comment-list-header-inner{display:table;padding-bottom:5px;width:100%}.file-feedback .file-feedback-section .file-feedback-section-header .file-feedback-section-header-inner .title,.file-feedback .file-feedback-section .file-feedback-section-header .comment-list-header-inner .title,.file-feedback .file-feedback-section .comment-list-header .file-feedback-section-header-inner .title,.file-feedback .file-feedback-section .comment-list-header .comment-list-header-inner .title,.file-feedback .comments-holder .file-feedback-section-header .file-feedback-section-header-inner .title,.file-feedback .comments-holder .file-feedback-section-header .comment-list-header-inner .title,.file-feedback .comments-holder .comment-list-header .file-feedback-section-header-inner .title,.file-feedback .comments-holder .comment-list-header .comment-list-header-inner .title{display:table-cell;float:left}.file-feedback .file-feedback-section .file-feedback-section-header .separator,.file-feedback .file-feedback-section .comment-list-header .separator,.file-feedback .comments-holder .file-feedback-section-header .separator,.file-feedback .comments-holder .comment-list-header .separator{width:100%;height:0px;border-top:none;border-left:none;border-right:none;border-bottom:1px solid #e5e5e5}@media screen and (min-width: 1200px) and (max-width: 1400px){.file-feedback .comments-holder-responsive{width:380px}}@media screen and (min-width: 1400px) and (max-width: 1600px){.file-feedback .comments-holder-responsive{width:420px}}@media screen and (min-width: 1600px){.file-feedback .comments-holder-responsive{width:500px}} /*# sourceMappingURL=file_feedback_ui.css.map */  <=>_Ihttps://cf.dropboxstatic.com/static/css/growth/bright_modal-vflFgEIcB.cssObplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ()$%&'(WNS.base[NS.relative_Ihttps://cf.dropboxstatic.com/static/css/growth/bright_modal-vflFgEIcB.css+,-.Z$classnameX$classesUNSURL-/XNSObject#A456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-CacheXtext/cssQ*_Tue, 21 Apr 2015 04:35:45 GMT_88XE0yBklkqMmi_WrKRNH_CMO5goany6le1uo7oh831RDz9Vzv04zpA==TgzipUnginx_@1.1 ab125581acf8fb81cf04326a31a01b39.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsS559Zkeep-alive^"5535d3a1-22f"_Miss from cloudfront+,vw\NSDictionaryv/e+,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27dj8=HQWZclnpw%1DKOWeja+.16JNbpOe.db-bright-modal-wrapper{-webkit-font-smoothing:antialiased}.db-bright-modal-wrapper .db-modal-overlay{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:0.8}.db-bright-modal-wrapper .db-modal{width:400px}.db-bright-modal-wrapper .db-modal .db-modal-x{margin-top:16px;margin-right:16px;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=50);opacity:0.5}.db-bright-modal-wrapper .db-modal .db-modal-title{display:none}.db-bright-modal-wrapper .db-modal .db-modal-content{background:#fff;border-top:0;clear:both;max-height:none !important;padding:12px 0 0}.db-bright-modal-wrapper.hidden-x .db-modal-x{display:none}.db-bright-modal-wrapper.hidden-x .db-modal-content{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.db-bright-modal-wrapper.hidden-x .bright-modal-header{margin-top:22px}.db-bright-modal-wrapper .bright-modal-logo{text-align:center}.db-bright-modal-wrapper .bright-modal-header{font-size:18px;font-weight:600;margin-top:12px;padding:0 40px;text-align:center}.db-bright-modal-wrapper .bright-modal-header .secondary{margin-top:6px;font-size:12px;color:#7b8994}.db-bright-modal-wrapper .bright-modal-content{padding:0 48px}.db-bright-modal-wrapper .bright-modal-footer{background:#f6f9fc;-webkit-border-bottom-left-radius:6px;-ms-border-bottom-left-radius:6px;-o-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-ms-border-bottom-right-radius:6px;-o-border-bottom-right-radius:6px;border-bottom-right-radius:6px;border-top:1px solid #e5e5e5;margin-top:24px;padding:12px 0;text-align:center} /*# sourceMappingURL=bright_modal.css.map */  @AB_Ihttps://cf.dropboxstatic.com/static/css/growth/compact_form-vfla8f_Ja.cssObplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ()$%&'(WNS.base[NS.relative_Ihttps://cf.dropboxstatic.com/static/css/growth/compact_form-vfla8f_Ja.css+,-.Z$classnameX$classesUNSURL-/XNSObject#A 456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-CacheXtext/cssQ*_Tue, 21 Apr 2015 04:35:45 GMT_807dHxkBCCoxooP32rSqacRuASFba20NUT9iDAuRAsrJhH57xJFKqOQ==TgzipUnginx_@1.1 ab125581acf8fb81cf04326a31a01b39.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsS293Zkeep-alive^"5535d3a1-125"_Miss from cloudfront+,vw\NSDictionaryv/+,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27dj8=HQWZclnpw%1DKOWeja+.16JNbpO.compact-form .register-form .text-input-error-wrapper{min-height:12px}.compact-form .register-form .text-input.first{float:left;margin-top:12px;width:48%}.compact-form .register-form .text-input.first .error-message{margin-top:-3px;width:200%}.compact-form .register-form .text-input.second{float:right;margin-top:12px;width:48%}.compact-form .register-form .text-input.second .error-message{margin-top:-3px;width:120%}.compact-form .register-form .input-email{clear:both}.compact-form .login-form{margin-top:12px}.compact-form .login-form .text-input-error-wrapper{min-height:12px}.compact-form .login-form .login-need-help{margin-top:0;text-align:center}.compact-form .login-form .login-need-help a{margin-bottom:0} /*# sourceMappingURL=compact_form.css.map */  DEF_Vhttps://cf.dropboxstatic.com/static/css/growth/shared_link_signup_modals-vflH51RTW.cssObplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ()$%&'(WNS.base[NS.relative_Vhttps://cf.dropboxstatic.com/static/css/growth/shared_link_signup_modals-vflH51RTW.css+,-.Z$classnameX$classesUNSURL-/XNSObject#A#ޤ456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-CacheXtext/cssQ*_Tue, 21 Apr 2015 04:35:46 GMT_8SF0CRvm-7TgNtissGrF10GIZeSxaGmmYtAgensoVKf0ugzdVPugjJA==TgzipUnginx_@1.1 09fc52f58485a5da8e63d1ea27596895.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsS395Zkeep-alive^"5535d3a2-18b"_Miss from cloudfront+,vw\NSDictionaryv/+,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27djEJU^dgpy{}$2>QX\drw %+n&+8;>CW[o}O#shared-link-default-signup-modal .login-form-component,#shared-link-download-signup-modal .login-form-component{display:none}#shared-link-default-signup-modal .db-modal{width:372px}#shared-link-default-signup-modal .toggle-form-link{font-weight:600}#shared-link-download-signup-modal .db-modal{width:372px}#shared-link-download-signup-modal .close-link{font-weight:600}#shared-link-welcome-modal .db-modal{width:420px}#shared-link-welcome-modal .db-modal .db-modal-content{text-align:center}#shared-link-welcome-modal .bright-modal-header{font-size:22px}#shared-link-welcome-modal .welcome-modal-illo img{margin-top:30px}#shared-link-welcome-modal .welcome-modal-text{font-size:15px;margin-top:24px}#shared-link-welcome-modal .go-to-dropbox-button{display:block;font-size:14px;font-weight:700;line-height:24px;margin:24px auto 0}#shared-link-welcome-modal .welcome-modal-no-thanks{margin:6px 0 24px} /*# sourceMappingURL=shared_link_signup_modals.css.map */  HIJ_Ihttps://cf.dropboxstatic.com/static/css/recaptcha_challenge-vflu3kijK.cssObplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ()$%&'(WNS.base[NS.relative_Ihttps://cf.dropboxstatic.com/static/css/recaptcha_challenge-vflu3kijK.css+,-.Z$classnameX$classesUNSURL-/XNSObject#A$%}456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-CacheXtext/cssQ*_Tue, 21 Apr 2015 04:36:46 GMT_8nQWT8I3nUPmscbT_oZ4UHqUYM2Zi6-5BtjvhV89OeHY_o1b4UrxkLw==TgzipUnginx_@1.1 30461cfb1f380050cb6053c478974973.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsS641Zkeep-alive^"5535d3de-281"_Miss from cloudfront+,vw\NSDictionaryv/ P+,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27dj8=HQWZclnpw%1DKOWeja+.16JNbpO P.recaptcha-container{display:block}.recaptcha-container .text-input-error-wrapper{line-height:normal;color:#e82110;font-size:12px;min-height:17px}.recaptcha-container .text-input-error-wrapper span.error-message{color:#e82110;display:block;font-size:12px}.recaptcha-container .text-input-error-wrapper br{display:none}.recaptcha-container #recaptcha_response{margin-top:0px;min-height:36px;border-top-right-radius:0;border-top-left-radius:0}.recaptcha-container .text-input{-moz-border-radius:0px 0px 0px 3px;-webkit-border-radius:0px;border-radius:0px 0px 0px 3px;width:100%;float:left}.recaptcha-container .standard.recaptcha-buttons{position:absolute;right:1px}.recaptcha-container .standard.recaptcha-buttons .recaptcha-button img{border-left:1px solid #bdc4c9;width:34px;height:34px;margin-top:1px}.recaptcha-container .standard.recaptcha-buttons .recaptcha-button.recaptcha-show-help img{-moz-border-radius:0px 0px 3px 0px;-webkit-border-radius:0px;border-radius:0px 0px 3px 0px}.recaptcha-container .standard.login-recaptcha-challenge-container{position:relative;background:#fff;border:1px solid #bdc4c9;padding:12px;min-height:50px;height:auto !important;margin-top:2px;margin-bottom:-1px;width:auto !important;-moz-border-radius:3px 3px 0px 0px;-webkit-border-radius:3px;border-radius:3px 3px 0px 0px}.recaptcha-container .standard.login-recaptcha-challenge-container img{width:100%}.recaptcha-container .small.recaptcha-buttons{float:right;width:17%;top:2px}.recaptcha-container .small.recaptcha-buttons .recaptcha-button img{float:right;border-right:1px solid #bdc4c9;border-bottom:1px solid #bdc4c9;width:100%;height:34px}.recaptcha-container .small.recaptcha-buttons .recaptcha-button.recaptcha-reload img{border-top:1px solid #bdc4c9;-moz-border-radius:0px 3px 0px 0px;-webkit-border-radius:0px;border-radius:0px 3px 0px 0px}.recaptcha-container .small.recaptcha-buttons .recaptcha-button.recaptcha-show-help img{border-bottom:0px}.recaptcha-container .small.login-recaptcha-challenge-container{float:left;background:#fff;border:1px solid #bdc4c9;padding:24px 0px;margin-top:0px;margin-bottom:-2px;width:81.5% !important;-moz-border-radius:3px 0px 0px 0px;-webkit-border-radius:3px;border-radius:3px 0px 0px 0px}.recaptcha-container .small.login-recaptcha-challenge-container img{display:block;height:auto;width:100%} /*# sourceMappingURL=recaptcha_challenge.css.map */  LMN_>https://cf.dropboxstatic.com/static/css/video-js-vflpXRNNm.cssObplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ()$%&'(WNS.base[NS.relative_>https://cf.dropboxstatic.com/static/css/video-js-vflpXRNNm.css+,-.Z$classnameX$classesUNSURL-/XNSObject#A&F456FVWNS.keysZNS.objects789:;<=>?@ABCDE HIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-CacheXtext/cssQ*_Tue, 21 Apr 2015 04:40:28 GMT_8VgNM1HUbZZwrkLoGrwIwdFEohYKiL8novpzHiTxHNDNPgsZhbqmEqQ==TgzipUnginx_@1.1 934d01cc90863ea1f4d1873d7fd3db64.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsT3896Zkeep-alive^"5535d4bc-f38"_Miss from cloudfront+,vw\NSDictionaryv/J+,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27dj-2=FLOXacelt &9@DLZ_{ Vv!$',@DXfx{OJ/*! Video.js Default Styles (http://videojs.com) Version 4.12.4 Create your own skin at http://designer.videojs.com */.vjs-default-skin{color:#cccccc}@font-face{font-family:'VideoJS';src:url("/static/fonts/videojs/vjs-vflBi8GZw.eot");src:url("/static/fonts/videojs/vjs.eot?#iefix") format("embedded-opentype"),url("/static/fonts/videojs/vjs-vflASwOek.woff") format("woff"),url("/static/fonts/videojs/vjs-vflC_uxfm.ttf") format("truetype"),url("/static/fonts/videojs/vjs.svg#icomoon") format("svg");font-weight:normal;font-style:normal}.vjs-default-skin .vjs-slider{outline:0;position:relative;cursor:pointer;padding:0;background-color:#333333;background-color:rgba(51,51,51,0.9)}.vjs-default-skin .vjs-slider:focus{-webkit-box-shadow:0 0 2em #ffffff;-moz-box-shadow:0 0 2em #ffffff;box-shadow:0 0 2em #ffffff}.vjs-default-skin .vjs-slider-handle{position:absolute;left:0;top:0}.vjs-default-skin .vjs-slider-handle:before{content:"\e009";font-family:VideoJS;font-size:1em;line-height:1;text-align:center;text-shadow:0em 0em 1em #fff;position:absolute;top:0;left:0;-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg)}.vjs-default-skin .vjs-control-bar{display:none;position:absolute;bottom:0;left:0;right:0;height:3.0em;background-color:#07141e;background-color:rgba(7,20,30,0.7)}.vjs-default-skin.vjs-has-started .vjs-control-bar{display:block;visibility:visible;opacity:1;-webkit-transition:visibility 0.1s, opacity 0.1s;-moz-transition:visibility 0.1s, opacity 0.1s;-o-transition:visibility 0.1s, opacity 0.1s;transition:visibility 0.1s, opacity 0.1s}.vjs-default-skin.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{display:block;visibility:hidden;opacity:0;-webkit-transition:visibility 1s, opacity 1s;-moz-transition:visibility 1s, opacity 1s;-o-transition:visibility 1s, opacity 1s;transition:visibility 1s, opacity 1s}.vjs-default-skin.vjs-controls-disabled .vjs-control-bar{display:none}.vjs-default-skin.vjs-using-native-controls .vjs-control-bar{display:none}.vjs-default-skin.vjs-error .vjs-control-bar{display:none}.vjs-audio.vjs-default-skin.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:1;visibility:visible}@media \0screen{.vjs-default-skin.vjs-user-inactive.vjs-playing .vjs-control-bar :before{content:""}}.vjs-default-skin .vjs-control{outline:none;position:relative;float:left;text-align:center;margin:0;padding:0;height:3.0em;width:4em}.vjs-default-skin .vjs-control:before{font-family:VideoJS;font-size:1.5em;line-height:2;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;text-shadow:1px 1px 1px rgba(0,0,0,0.5)}.vjs-default-skin .vjs-control:focus:before,.vjs-default-skin .vjs-control:hover:before{text-shadow:0em 0em 1em #ffffff}.vjs-default-skin .vjs-control-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.vjs-default-skin .vjs-play-control{width:5em;cursor:pointer}.vjs-default-skin .vjs-play-control:before{content:"\e001"}.vjs-default-skin.vjs-playing .vjs-play-control:before{content:"\e002"}.vjs-default-skin .vjs-playback-rate .vjs-playback-rate-value{font-size:1.5em;line-height:2;position:absolute;top:0;left:0;width:100%;height:100%;text-align:center;text-shadow:1px 1px 1px rgba(0,0,0,0.5)}.vjs-default-skin .vjs-playback-rate.vjs-menu-button .vjs-menu .vjs-menu-content{width:4em;left:-2em;list-style:none}.vjs-default-skin .vjs-mute-control,.vjs-default-skin .vjs-volume-menu-button{cursor:pointer;float:right}.vjs-default-skin .vjs-mute-control:before,.vjs-default-skin .vjs-volume-menu-button:before{content:"\e006"}.vjs-default-skin .vjs-mute-control.vjs-vol-0:before,.vjs-default-skin .vjs-volume-menu-button.vjs-vol-0:before{content:"\e003"}.vjs-default-skin .vjs-mute-control.vjs-vol-1:before,.vjs-default-skin .vjs-volume-menu-button.vjs-vol-1:before{content:"\e004"}.vjs-default-skin .vjs-mute-control.vjs-vol-2:before,.vjs-default-skin .vjs-volume-menu-button.vjs-vol-2:before{content:"\e005"}.vjs-default-skin .vjs-volume-control{width:5em;float:right}.vjs-default-skin .vjs-volume-bar{width:5em;height:0.6em;margin:1.1em auto 0}.vjs-default-skin .vjs-volume-level{position:absolute;top:0;left:0;height:0.5em;width:100%;background:#66a8cc url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAP0lEQVQIHWWMAQoAIAgDR/QJ/Ub//04+w7ZICBwcOg5FZi5iBB82AGzixEglJrd4TVK5XUJpskSTEvpdFzX9AB2pGziSQcvAAAAAAElFTkSuQmCC) -50% 0 repeat}.vjs-default-skin .vjs-volume-bar .vjs-volume-handle{width:0.5em;height:0.5em;left:4.5em}.vjs-default-skin .vjs-volume-handle:before{font-size:0.9em;top:-0.2em;left:-0.2em;width:1em;height:1em}.vjs-default-skin .vjs-volume-menu-button .vjs-menu{display:block;width:0;height:0;border-top-color:transparent}.vjs-default-skin .vjs-volume-menu-button .vjs-menu .vjs-menu-content{height:0;width:0}.vjs-default-skin .vjs-volume-menu-button:hover .vjs-menu,.vjs-default-skin .vjs-volume-menu-button .vjs-menu.vjs-lock-showing{border-top-color:rgba(7,40,50,0.5)}.vjs-default-skin .vjs-volume-menu-button:hover .vjs-menu .vjs-menu-content,.vjs-default-skin .vjs-volume-menu-button .vjs-menu.vjs-lock-showing .vjs-menu-content{height:2.9em;width:10em}.vjs-default-skin .vjs-progress-control{position:absolute;left:0;right:0;width:auto;font-size:0.3em;height:1em;top:-1em;-webkit-transition:all 0.4s;-moz-transition:all 0.4s;-o-transition:all 0.4s;transition:all 0.4s}.vjs-default-skin:hover .vjs-progress-control{font-size:.9em;-webkit-transition:all 0.2s;-moz-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.vjs-default-skin .vjs-progress-holder{height:100%}.vjs-default-skin .vjs-progress-holder .vjs-play-progress,.vjs-default-skin .vjs-progress-holder .vjs-load-progress,.vjs-default-skin .vjs-progress-holder .vjs-load-progress div{position:absolute;display:block;height:100%;margin:0;padding:0;width:0;left:0;top:0}.vjs-default-skin .vjs-play-progress{background:#66a8cc url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAP0lEQVQIHWWMAQoAIAgDR/QJ/Ub//04+w7ZICBwcOg5FZi5iBB82AGzixEglJrd4TVK5XUJpskSTEvpdFzX9AB2pGziSQcvAAAAAAElFTkSuQmCC) -50% 0 repeat}.vjs-default-skin .vjs-load-progress{background:#646464;background:rgba(255,255,255,0.2)}.vjs-default-skin .vjs-load-progress div{background:#787878;background:rgba(255,255,255,0.1)}.vjs-default-skin .vjs-seek-handle{width:1.5em;height:100%}.vjs-default-skin .vjs-seek-handle:before{padding-top:0.1em}.vjs-default-skin.vjs-live .vjs-time-controls,.vjs-default-skin.vjs-live .vjs-time-divider,.vjs-default-skin.vjs-live .vjs-progress-control{display:none}.vjs-default-skin.vjs-live .vjs-live-display{display:block}.vjs-default-skin .vjs-live-display{display:none;font-size:1em;line-height:3em}.vjs-default-skin .vjs-time-controls{font-size:1em;line-height:3em}.vjs-default-skin .vjs-current-time{float:left}.vjs-default-skin .vjs-duration{float:left}.vjs-default-skin .vjs-remaining-time{display:none;float:left}.vjs-time-divider{float:left;line-height:3em}.vjs-default-skin .vjs-fullscreen-control{width:3.8em;cursor:pointer;float:right}.vjs-default-skin .vjs-fullscreen-control:before{content:"\e000"}.vjs-default-skin.vjs-fullscreen .vjs-fullscreen-control:before{content:"\e00b"}.vjs-default-skin .vjs-big-play-button{left:0.5em;top:0.5em;font-size:3em;display:block;z-index:2;position:absolute;width:4em;height:2.6em;text-align:center;vertical-align:middle;cursor:pointer;opacity:1;background-color:#07141e;background-color:rgba(7,20,30,0.7);border:0.1em solid #3b4249;-webkit-border-radius:0.8em;-moz-border-radius:0.8em;border-radius:0.8em;-webkit-box-shadow:0px 0px 1em rgba(255,255,255,0.25);-moz-box-shadow:0px 0px 1em rgba(255,255,255,0.25);box-shadow:0px 0px 1em rgba(255,255,255,0.25);-webkit-transition:all 0.4s;-moz-transition:all 0.4s;-o-transition:all 0.4s;transition:all 0.4s}.vjs-default-skin.vjs-big-play-centered .vjs-big-play-button{left:50%;margin-left:-2.1em;top:50%;margin-top:-1.4000000000000001em}.vjs-default-skin.vjs-controls-disabled .vjs-big-play-button{display:none}.vjs-default-skin.vjs-has-started .vjs-big-play-button{display:none}.vjs-default-skin.vjs-using-native-controls .vjs-big-play-button{display:none}.vjs-default-skin:hover .vjs-big-play-button,.vjs-default-skin .vjs-big-play-button:focus{outline:0;border-color:#fff;background-color:#505050;background-color:rgba(50,50,50,0.75);-webkit-box-shadow:0 0 3em #ffffff;-moz-box-shadow:0 0 3em #ffffff;box-shadow:0 0 3em #ffffff;-webkit-transition:all 0s;-moz-transition:all 0s;-o-transition:all 0s;transition:all 0s}.vjs-default-skin .vjs-big-play-button:before{content:"\e001";font-family:VideoJS;line-height:2.6em;text-shadow:0.05em 0.05em 0.1em #000;text-align:center;position:absolute;left:0;width:100%;height:100%}.vjs-error .vjs-big-play-button{display:none}.vjs-error-display{display:none}.vjs-error .vjs-error-display{display:block;position:absolute;left:0;top:0;width:100%;height:100%}.vjs-error .vjs-error-display:before{content:'X';font-family:Arial;font-size:4em;color:#666666;line-height:1;text-shadow:0.05em 0.05em 0.1em #000;text-align:center;vertical-align:middle;position:absolute;left:0;top:50%;margin-top:-0.5em;width:100%}.vjs-error-display div{position:absolute;bottom:1em;right:0;left:0;font-size:1.4em;text-align:center;padding:3px;background:#000000;background:rgba(0,0,0,0.5)}.vjs-error-display a,.vjs-error-display a:visited{color:#F4A460}.vjs-loading-spinner{display:none;position:absolute;top:50%;left:50%;font-size:4em;line-height:1;width:1em;height:1em;margin-left:-0.5em;margin-top:-0.5em;opacity:0.75}.vjs-waiting .vjs-loading-spinner,.vjs-seeking .vjs-loading-spinner{display:block;-webkit-animation:spin 1.5s infinite linear;-moz-animation:spin 1.5s infinite linear;-o-animation:spin 1.5s infinite linear;animation:spin 1.5s infinite linear}.vjs-error .vjs-loading-spinner{display:none;-webkit-animation:none;-moz-animation:none;-o-animation:none;animation:none}.vjs-default-skin .vjs-loading-spinner:before{content:"\e01e";font-family:VideoJS;position:absolute;top:0;left:0;width:1em;height:1em;text-align:center;text-shadow:0em 0em 0.1em #000}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}.vjs-default-skin .vjs-menu-button{float:right;cursor:pointer}.vjs-default-skin .vjs-menu{display:none;position:absolute;bottom:0;left:0em;width:0em;height:0em;margin-bottom:3em;border-left:2em solid transparent;border-right:2em solid transparent;border-top:1.55em solid #000000;border-top-color:rgba(7,40,50,0.5)}.vjs-default-skin .vjs-menu-button .vjs-menu .vjs-menu-content{display:block;padding:0;margin:0;position:absolute;width:10em;bottom:1.5em;max-height:15em;overflow:auto;left:-5em;background-color:#07141e;background-color:rgba(7,20,30,0.7);-webkit-box-shadow:-0.2em -0.2em 0.3em rgba(255,255,255,0.2);-moz-box-shadow:-0.2em -0.2em 0.3em rgba(255,255,255,0.2);box-shadow:-0.2em -0.2em 0.3em rgba(255,255,255,0.2)}.vjs-default-skin .vjs-menu-button:hover .vjs-control-content .vjs-menu,.vjs-default-skin .vjs-control-content .vjs-menu.vjs-lock-showing{display:block}.vjs-default-skin.vjs-scrubbing .vjs-menu-button:hover .vjs-control-content .vjs-menu{display:none}.vjs-default-skin .vjs-menu-button ul li{list-style:none;margin:0;padding:0.3em 0 0.3em 0;line-height:1.4em;font-size:1.2em;text-align:center;text-transform:lowercase}.vjs-default-skin .vjs-menu-button ul li.vjs-selected{background-color:#000}.vjs-default-skin .vjs-menu-button ul li:focus,.vjs-default-skin .vjs-menu-button ul li:hover,.vjs-default-skin .vjs-menu-button ul li.vjs-selected:focus,.vjs-default-skin .vjs-menu-button ul li.vjs-selected:hover{outline:0;color:#111;background-color:#ffffff;background-color:rgba(255,255,255,0.75);-webkit-box-shadow:0 0 1em #ffffff;-moz-box-shadow:0 0 1em #ffffff;box-shadow:0 0 1em #ffffff}.vjs-default-skin .vjs-menu-button ul li.vjs-menu-title{text-align:center;text-transform:uppercase;font-size:1em;line-height:2em;padding:0;margin:0 0 0.3em 0;font-weight:bold;cursor:default}.vjs-default-skin .vjs-subtitles-button:before{content:"\e00c"}.vjs-default-skin .vjs-captions-button:before{content:"\e008"}.vjs-default-skin .vjs-chapters-button:before{content:"\e00c"}.vjs-default-skin .vjs-chapters-button.vjs-menu-button .vjs-menu .vjs-menu-content{width:24em;left:-12em}.vjs-default-skin .vjs-captions-button:focus .vjs-control-content:before,.vjs-default-skin .vjs-captions-button:hover .vjs-control-content:before{-webkit-box-shadow:0 0 1em #ffffff;-moz-box-shadow:0 0 1em #ffffff;box-shadow:0 0 1em #ffffff}.video-js{background-color:#000;position:relative;padding:0;font-size:10px;vertical-align:middle;font-weight:normal;font-style:normal;font-family:Arial, sans-serif;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.video-js .vjs-tech{position:absolute;top:0;left:0;width:100%;height:100%}.video-js:-moz-full-screen{position:absolute}body.vjs-full-window{padding:0;margin:0;height:100%;overflow-y:auto}.video-js.vjs-fullscreen{position:fixed;overflow:hidden;z-index:1000;left:0;top:0;bottom:0;right:0;width:100% !important;height:100% !important;_position:absolute}.video-js:-webkit-full-screen{width:100% !important;height:100% !important}.video-js.vjs-fullscreen.vjs-user-inactive{cursor:none}.vjs-poster{background-repeat:no-repeat;background-position:50% 50%;background-size:contain;cursor:pointer;margin:0;padding:0;position:absolute;top:0;right:0;bottom:0;left:0}.vjs-poster img{display:block;margin:0 auto;max-height:100%;padding:0;width:100%}.video-js.vjs-has-started .vjs-poster{display:none}.video-js.vjs-audio.vjs-has-started .vjs-poster{display:block}.video-js.vjs-controls-disabled .vjs-poster{display:none}.video-js.vjs-using-native-controls .vjs-poster{display:none}.video-js .vjs-text-track-display{position:absolute;top:0;left:0;bottom:3em;right:0;pointer-events:none}.vjs-caption-settings{position:relative;top:1em;background-color:#000;opacity:0.75;color:#FFF;margin:0 auto;padding:0.5em;height:15em;font-family:Arial, Helvetica, sans-serif;font-size:12px;width:40em}.vjs-caption-settings .vjs-tracksettings{top:0;bottom:2em;left:0;right:0;position:absolute;overflow:auto}.vjs-caption-settings .vjs-tracksettings-colors,.vjs-caption-settings .vjs-tracksettings-font{float:left}.vjs-caption-settings .vjs-tracksettings-colors:after,.vjs-caption-settings .vjs-tracksettings-font:after,.vjs-caption-settings .vjs-tracksettings-controls:after{clear:both}.vjs-caption-settings .vjs-tracksettings-controls{position:absolute;bottom:1em;right:1em}.vjs-caption-settings .vjs-tracksetting{margin:5px;padding:3px;min-height:40px}.vjs-caption-settings .vjs-tracksetting label{display:block;width:100px;margin-bottom:5px}.vjs-caption-settings .vjs-tracksetting span{display:inline;margin-left:5px}.vjs-caption-settings .vjs-tracksetting>div{margin-bottom:5px;min-height:20px}.vjs-caption-settings .vjs-tracksetting>div:last-child{margin-bottom:0;padding-bottom:0;min-height:0}.vjs-caption-settings label>input{margin-right:10px}.vjs-caption-settings input[type="button"]{width:40px;height:40px}.vjs-hidden{display:none !important}.vjs-lock-showing{display:block !important;opacity:1;visibility:visible}.vjs-no-js{padding:2em;color:#ccc;background-color:#333;font-size:1.8em;font-family:Arial, sans-serif;text-align:center;width:30em;height:15em;margin:0 auto}.vjs-no-js a,.vjs-no-js a:visited{color:#F4A460}.video-js.vjs-fullscreen{z-index:10000}.vjs-default-skin .vjs-play-progress,.vjs-default-skin .vjs-volume-level{background:#379BEC}.vjs-default-skin .vjs-load-progress{background:rgba(255,255,255,0.9)}.vjs-default-skin .vjs-seek-handle{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;-webkit-transition:opacity 0.4s ease 0s;-moz-transition:opacity 0.4s ease 0s;transition:opacity 0.4s ease 0s;width:8px;height:8px;border:1px solid #1d1d1d;-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px;background-clip:padding-box;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.18),inset 0 2px 0 rgba(255,255,255,0.4);background-image:linear-gradient(to top, rgba(0,0,0,0.27) -25%,rgba(232,232,232,0.27) 125%);position:absolute;margin-top:-0.3em;left:-0.3em}.vjs-default-skin:hover .vjs-seek-handle{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1;width:13px;height:13px}.vjs-default-skin .vjs-seek-handle:before{content:normal}.vjs-default-skin .vjs-volume-control{width:7em}.vjs-default-skin .vjs-volume-bar{width:7em}.vjs-default-skin .vjs-volume-bar,.vjs-default-skin .vjs-volume-level{height:8px;-moz-border-radius:0.5em;-webkit-border-radius:0.5em;border-radius:0.5em}.vjs-default-skin .vjs-volume-bar .vjs-volume-handle{width:12px;height:12px;left:5.6em;border:1px solid #1d1d1d;-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;background-clip:padding-box;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.18),inset 0 2px 0 rgba(255,255,255,0.4);background-image:linear-gradient(to top, rgba(0,0,0,0.27) -25%,rgba(232,232,232,0.27) 125%);position:absolute;margin-top:-0.3em}.vjs-default-skin .vjs-volume-handle:before{content:normal}.vjs-default-skin .vjs-big-play-button{height:auto;z-index:2;position:absolute;width:128px;height:126px;margin:-63px 0 0 -64px;text-align:center;vertical-align:center;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80);opacity:0.8;-webkit-transition:opacity 0.3s linear 0s;-moz-transition:opacity 0.3s linear 0s;transition:opacity 0.3s linear 0s;background:transparent url("/static/images/play-hdpi-vfloP3Wee.png") no-repeat;border-style:none;box-shadow:none}.vjs-default-skin:hover .vjs-big-play-button,.vjs-default-skin .vjs-big-play-button:focus{box-shadow:none;background-color:transparent}.vjs-default-skin:hover .vjs-big-play-button{filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1}.vjs-default-skin .vjs-big-play-button:before{content:normal}.vjs-default-skin .vjs-time-controls,.vjs-default-skin .vjs-time-divider{font-size:1.3em;line-height:2.5em}.vjs-default-skin .truncated-bar{display:none;position:absolute;top:0;left:0;right:0;height:3.0em;background-color:#07141e;background-color:rgba(7,20,30,0.7);font-size:13px;font-weight:400;text-align:center;padding:19px 0 21px 0;height:auto}.vjs-default-skin.vjs-has-started.show-truncated-bar .truncated-bar{display:block;visibility:visible;filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);opacity:1;-webkit-transition:visibility 0.1s,opacity 0.1s;-moz-transition:visibility 0.1s,opacity 0.1s;transition:visibility 0.1s,opacity 0.1s}.vjs-default-skin.vjs-has-started.vjs-user-inactive.vjs-playing.show-truncated-bar .truncated-bar{display:block;visibility:hidden;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);opacity:0;-webkit-transition:visibility 1s,opacity 1s;-moz-transition:visibility 1s,opacity 1s;transition:visibility 1s,opacity 1s} /*# sourceMappingURL=video-js.css.map */  PQRS_application/x-javascript_Lhttps://cf.dropboxstatic.com/static/javascript/compiled/require-vflkd1lKK.jsObplist00X$versionX$objectsY$archiverT$top+#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyzU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 (*)$%&'(WNS.base[NS.relative_Lhttps://cf.dropboxstatic.com/static/javascript/compiled/require-vflkd1lKK.js+,-.Z$classnameX$classesUNSURL-/XNSObject#A-e,456FVWNS.keysZNS.objects789:;<=>?@ABCDE GHIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-Cache_application/x-javascriptQ*_Tue, 21 Apr 2015 04:39:22 GMT_8GZ_XPxeV4fwTTwq6B2au3JcgDWzWxWUej2aENkbPVK6pFzEzBpkrGQ==TgzipUnginx_@1.1 cac0807f4e1bdd7cf57c08992aa341a5.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsU14132Zkeep-alive_"5535d47a-3734"_Miss from cloudfront+,vw\NSDictionaryv/_application/x-javascript+,{|_NSHTTPURLResponse}~/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverс_WebResourceResponse#-27ek<ALU[^gprt{)5HOS[in).4w 49FIRmrO3/*! * https://github.com/es-shims/es5-shim * @license es5-shim Copyright 2009-2014 by contributors, MIT License * see https://github.com/es-shims/es5-shim/blob/v4.0.3/LICENSE */ (function(t,e){if(typeof define==="function"&&define.amd){define("es5-shim", e)}else if(typeof exports==="object"){module.exports=e()}else{t.returnExports=e()}})(this,function(){var t=Array.prototype;var e=Object.prototype;var r=Function.prototype;var n=String.prototype;var i=Number.prototype;var a=t.slice;var o=t.splice;var l=t.push;var u=t.unshift;var s=r.call;var f=e.toString;var c=function(t){return e.toString.call(t)==="[object Function]"};var h=function(t){return e.toString.call(t)==="[object RegExp]"};var p=function ve(t){return f.call(t)==="[object Array]"};var v=function ge(t){return f.call(t)==="[object String]"};var g=function ye(t){var e=f.call(t);var r=e==="[object Arguments]";if(!r){r=!p(t)&&t!==null&&typeof t==="object"&&typeof t.length==="number"&&t.length>=0&&c(t.callee)}return r};var y=Object.defineProperty&&function(){try{Object.defineProperty({},"x",{});return true}catch(t){return false}}();var d;if(y){d=function(t,e,r,n){if(!n&&e in t){return}Object.defineProperty(t,e,{configurable:true,enumerable:false,writable:true,value:r})}}else{d=function(t,e,r,n){if(!n&&e in t){return}t[e]=r}}var m=function(t,r,n){for(var i in r){if(e.hasOwnProperty.call(r,i)){d(t,i,r[i],n)}}};function w(t){t=+t;if(t!==t){t=0}else if(t!==0&&t!==1/0&&t!==-(1/0)){t=(t>0||-1)*Math.floor(Math.abs(t))}return t}function b(t){var e=typeof t;return t===null||e==="undefined"||e==="boolean"||e==="number"||e==="string"}function x(t){var e,r,n;if(b(t)){return t}r=t.valueOf;if(c(r)){e=r.call(t);if(b(e)){return e}}n=t.toString;if(c(n)){e=n.call(t);if(b(e)){return e}}throw new TypeError}var S=function(t){if(t==null){throw new TypeError("can't convert "+t+" to object")}return Object(t)};var O=function de(t){return t>>>0};function T(){}m(r,{bind:function me(t){var e=this;if(!c(e)){throw new TypeError("Function.prototype.bind called on incompatible "+e)}var r=a.call(arguments,1);var n=function(){if(this instanceof u){var n=e.apply(this,r.concat(a.call(arguments)));if(Object(n)===n){return n}return this}else{return e.apply(t,r.concat(a.call(arguments)))}};var i=Math.max(0,e.length-r.length);var o=[];for(var l=0;l0&&typeof e!=="number"){r=a.call(arguments);if(r.length<2){r.push(this.length-t)}else{r[1]=w(e)}}return o.apply(this,r)}},!F);var R=[].unshift(0)!==1;m(t,{unshift:function(){u.apply(this,arguments);return this.length}},R);m(Array,{isArray:p});var k=Object("a");var C=k[0]!=="a"||!(0 in k);var U=function xe(t){var e=true;var r=true;if(t){t.call("foo",function(t,r,n){if(typeof n!=="object"){e=false}});t.call([1],function(){"use strict";r=typeof this==="string"},"x")}return!!t&&e&&r};m(t,{forEach:function Se(t){var e=S(this),r=C&&v(this)?this.split(""):e,n=arguments[1],i=-1,a=r.length>>>0;if(!c(t)){throw new TypeError}while(++i>>0,i=Array(n),a=arguments[1];if(!c(t)){throw new TypeError(t+" is not a function")}for(var o=0;o>>0,i=[],a,o=arguments[1];if(!c(t)){throw new TypeError(t+" is not a function")}for(var l=0;l>>0,i=arguments[1];if(!c(t)){throw new TypeError(t+" is not a function")}for(var a=0;a>>0,i=arguments[1];if(!c(t)){throw new TypeError(t+" is not a function")}for(var a=0;a>>0;if(!c(t)){throw new TypeError(t+" is not a function")}if(!n&&arguments.length===1){throw new TypeError("reduce of empty array with no initial value")}var i=0;var a;if(arguments.length>=2){a=arguments[1]}else{do{if(i in r){a=r[i++];break}if(++i>=n){throw new TypeError("reduce of empty array with no initial value")}}while(true)}for(;i>>0;if(!c(t)){throw new TypeError(t+" is not a function")}if(!n&&arguments.length===1){throw new TypeError("reduceRight of empty array with no initial value")}var i,a=n-1;if(arguments.length>=2){i=arguments[1]}else{do{if(a in r){i=r[a--];break}if(--a<0){throw new TypeError("reduceRight of empty array with no initial value")}}while(true)}if(a<0){return i}do{if(a in r){i=t.call(void 0,i,r[a],a,e)}}while(a--);return i}},!P);var Z=Array.prototype.indexOf&&[0,1].indexOf(1,2)!==-1;m(t,{indexOf:function De(t){var e=C&&v(this)?this.split(""):S(this),r=e.length>>>0;if(!r){return-1}var n=0;if(arguments.length>1){n=w(arguments[1])}n=n>=0?n:Math.max(0,r+n);for(;n>>0;if(!r){return-1}var n=r-1;if(arguments.length>1){n=Math.min(n,w(arguments[1]))}n=n>=0?n:r-Math.abs(n);for(;n>=0;n--){if(n in e&&t===e[n]){return n}}return-1}},J);var z=!{toString:null}.propertyIsEnumerable("toString"),$=function(){}.propertyIsEnumerable("prototype"),G=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],B=G.length;m(Object,{keys:function Me(t){var e=c(t),r=g(t),n=t!==null&&typeof t==="object",i=n&&v(t);if(!n&&!e&&!r){throw new TypeError("Object.keys called on a non-object")}var a=[];var o=$&&e;if(i||r){for(var l=0;l9999?"+":"")+("00000"+Math.abs(n)).slice(0<=n&&n<=9999?-4:-6);e=t.length;while(e--){r=t[e];if(r<10){t[e]="0"+r}}return n+"-"+t.slice(0,2).join("-")+"T"+t.slice(2).join(":")+"."+("000"+this.getUTCMilliseconds()).slice(-3)+"Z"}},q);var K=false;try{K=Date.prototype.toJSON&&new Date(NaN).toJSON()===null&&new Date(X).toJSON().indexOf(Y)!==-1&&Date.prototype.toJSON.call({toISOString:function(){return true}})}catch(Q){}if(!K){Date.prototype.toJSON=function ke(t){var e=Object(this),r=x(e),n;if(typeof r==="number"&&!isFinite(r)){return null}n=e.toISOString;if(typeof n!=="function"){throw new TypeError("toISOString property is not callable")}return n.call(e)}}var V=Date.parse("+033658-09-27T01:46:40.000Z")===1e15;var W=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"));var te=isNaN(Date.parse("2000-01-01T00:00:00.000Z"));if(!Date.parse||te||W||!V){Date=function(t){function e(r,n,i,a,o,l,u){var s=arguments.length;if(this instanceof t){var f=s===1&&String(r)===r?new t(e.parse(r)):s>=7?new t(r,n,i,a,o,l,u):s>=6?new t(r,n,i,a,o,l):s>=5?new t(r,n,i,a,o):s>=4?new t(r,n,i,a):s>=3?new t(r,n,i):s>=2?new t(r,n):s>=1?new t(r):new t;f.constructor=e;return f}return t.apply(this,arguments)}var r=new RegExp("^"+"(\\d{4}|[+-]\\d{6})"+"(?:-(\\d{2})"+"(?:-(\\d{2})"+"(?:"+"T(\\d{2})"+":(\\d{2})"+"(?:"+":(\\d{2})"+"(?:(\\.\\d{1,}))?"+")?"+"("+"Z|"+"(?:"+"([-+])"+"(\\d{2})"+":(\\d{2})"+")"+")?)?)?)?"+"$");var n=[0,31,59,90,120,151,181,212,243,273,304,334,365];function i(t,e){var r=e>1?1:0;return n[e]+Math.floor((t-1969+r)/4)-Math.floor((t-1901+r)/100)+Math.floor((t-1601+r)/400)+365*(t-1970)}function a(e){return Number(new t(1970,0,1,0,0,0,e))}for(var o in t){e[o]=t[o]}e.now=t.now;e.UTC=t.UTC;e.prototype=t.prototype;e.prototype.constructor=e;e.parse=function l(e){var n=r.exec(e);if(n){var o=Number(n[1]),l=Number(n[2]||1)-1,u=Number(n[3]||1)-1,s=Number(n[4]||0),f=Number(n[5]||0),c=Number(n[6]||0),h=Math.floor(Number(n[7]||0)*1e3),p=Boolean(n[4]&&!n[8]),v=n[9]==="-"?1:-1,g=Number(n[10]||0),y=Number(n[11]||0),d;if(s<(f>0||c>0||h>0?24:25)&&f<60&&c<60&&h<1e3&&l>-1&&l<12&&g<24&&y<60&&u>-1&&u=0){r+=re.data[e];re.data[e]=Math.floor(r/t);r=r%t*re.base}},numToString:function Pe(){var t=re.size;var e="";while(--t>=0){if(e!==""||t===0||re.data[t]!==0){var r=String(re.data[t]);if(e===""){e=r}else{e+="0000000".slice(0,7-r.length)+r}}}return e},pow:function Ze(t,e,r){return e===0?r:e%2===1?Ze(t,e-1,r*t):Ze(t*t,e/2,r)},log:function Je(t){var e=0;while(t>=4096){e+=12;t/=4096}while(t>=2){e+=1;t/=2}return e}};m(i,{toFixed:function ze(t){var e,r,n,i,a,o,l,u;e=Number(t);e=e!==e?0:Math.floor(e);if(e<0||e>20){throw new RangeError("Number.toFixed called with invalid number of decimals")}r=Number(this);if(r!==r){return"NaN"}if(r<=-1e21||r>=1e21){return String(r)}n="";if(r<0){n="-";r=-r}i="0";if(r>1e-21){a=re.log(r*re.pow(2,69,1))-69;o=a<0?r*re.pow(2,-a,1):r/re.pow(2,a,1);o*=4503599627370496;a=52-a;if(a>0){re.multiply(0,o);l=e;while(l>=7){re.multiply(1e7,0);l-=7}re.multiply(re.pow(10,l,1),0);l=a-1;while(l>=23){re.divide(1<<23);l-=23}re.divide(1<0){u=i.length;if(u<=e){i=n+"0.0000000000000000000".slice(0,e-u+2)+i}else{i=n+i.slice(0,u-e)+"."+i.slice(u-e)}}else{i=n+i}return i}},ee);var ne=n.split;if("ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||"tesst".split(/(s)*/)[1]==="t"||"test".split(/(?:)/,-1).length!==4||"".split(/.?/).length||".".split(/()()/).length>1){(function(){var e=/()??/.exec("")[1]===void 0;n.split=function(r,n){var i=this;if(r===void 0&&n===0){return[]}if(f.call(r)!=="[object RegExp]"){return ne.call(this,r,n)}var a=[],o=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.extended?"x":"")+(r.sticky?"y":""),l=0,u,s,c,h;r=new RegExp(r.source,o+"g");i+="";if(!e){u=new RegExp("^"+r.source+"$(?!\\s)",o)}n=n===void 0?-1>>>0:O(n);while(s=r.exec(i)){c=s.index+s[0].length;if(c>l){a.push(i.slice(l,s.index));if(!e&&s.length>1){s[0].replace(u,function(){for(var t=1;t1&&s.index=n){break}}if(r.lastIndex===s.index){r.lastIndex++}}if(l===i.length){if(h||!r.test("")){a.push("")}}else{a.push(i.slice(l))}return a.length>n?a.slice(0,n):a}})()}else if("0".split(void 0,0).length){n.split=function $e(t,e){if(t===void 0&&e===0){return[]}return ne.call(this,t,e)}}var ie=n.replace;var ae=function(){var t=[];"x".replace(/x(.)?/g,function(e,r){t.push(r)});return t.length===1&&typeof t[0]==="undefined"}();if(!ae){n.replace=function Ge(t,e){var r=c(e);var n=h(t)&&/\)[*?]/.test(t.source);if(!r||!n){return ie.call(this,t,e)}else{var i=function(r){var n=arguments.length;var i=t.lastIndex;t.lastIndex=0;var a=t.exec(r);t.lastIndex=i;a.push(arguments[n-2],arguments[n-1]);return e.apply(this,a)};return ie.call(this,t,i)}}}var oe=n.substr;var le="".substr&&"0b".substr(-1)!=="b";m(n,{substr:function Be(t,e){return oe.call(this,t<0?(t=this.length+t)<0?0:t:t,e)}},le);var ue=" \n \f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003"+"\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028"+"\u2029\ufeff";var se="\u200b";var fe="["+ue+"]";var ce=new RegExp("^"+fe+fe+"*");var he=new RegExp(fe+fe+"*$");var pe=n.trim&&(ue.trim()||!se.trim());m(n,{trim:function He(){if(this===void 0||this===null){throw new TypeError("can't convert "+this+" to object")}return String(this).replace(ce,"").replace(he,"")}},pe);if(parseInt(ue+"08")!==8||parseInt(ue+"0x16")!==22){parseInt=function(t){var e=/^0[xX]/;return function r(n,i){n=String(n).trim();if(!Number(i)){i=e.test(n)?16:10}return t(n,i)}}(parseInt)}}); /*! * https://github.com/es-shims/es5-shim * @license es5-shim Copyright 2009-2014 by contributors, MIT License * see https://github.com/es-shims/es5-shim/blob/v4.0.3/LICENSE */ (function(e,t){if(typeof define==="function"&&define.amd){define("es5-sham.min", t)}else if(typeof exports==="object"){module.exports=t()}else{e.returnExports=t()}})(this,function(){var e=Function.prototype.call;var t=Object.prototype;var r=e.bind(t.hasOwnProperty);var n;var o;var i;var c;var f=r(t,"__defineGetter__");if(f){n=e.bind(t.__defineGetter__);o=e.bind(t.__defineSetter__);i=e.bind(t.__lookupGetter__);c=e.bind(t.__lookupSetter__)}if(!Object.getPrototypeOf){Object.getPrototypeOf=function g(e){var r=e.__proto__;if(r||r===null){return r}else if(e.constructor){return e.constructor.prototype}else{return t}}}function u(e){try{e.sentinel=0;return Object.getOwnPropertyDescriptor(e,"sentinel").value===0}catch(t){}}if(Object.defineProperty){var p=u({});var a=typeof document==="undefined"||u(document.createElement("div"));if(!a||!p){var l=Object.getOwnPropertyDescriptor}}if(!Object.getOwnPropertyDescriptor||l){var b="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function E(e,n){if(typeof e!=="object"&&typeof e!=="function"||e===null){throw new TypeError(b+e)}if(l){try{return l.call(Object,e,n)}catch(o){}}if(!r(e,n)){return}var u={enumerable:true,configurable:true};if(f){var p=e.__proto__;var a=e!==t;if(a){e.__proto__=t}var _=i(e,n);var s=c(e,n);if(a){e.__proto__=p}if(_||s){if(_){u.get=_}if(s){u.set=s}return u}}u.value=e[n];u.writable=true;return u}}if(!Object.getOwnPropertyNames){Object.getOwnPropertyNames=function x(e){return Object.keys(e)}}if(!Object.create){var _;var s=!({__proto__:null}instanceof Object);if(s||typeof document==="undefined"){_=function(){return{__proto__:null}}}else{_=function(){var e=document.createElement("iframe");var t=document.body||document.documentElement;e.style.display="none";t.appendChild(e);e.src="javascript:";var r=e.contentWindow.Object.prototype;t.removeChild(e);e=null;delete r.constructor;delete r.hasOwnProperty;delete r.propertyIsEnumerable;delete r.isPrototypeOf;delete r.toLocaleString;delete r.toString;delete r.valueOf;r.__proto__=null;function n(){}n.prototype=r;_=function(){return new n};return new n}}Object.create=function z(e,t){var r;function n(){}if(e===null){r=_()}else{if(typeof e!=="object"&&typeof e!=="function"){throw new TypeError("Object prototype may only be an Object or null")}n.prototype=e;r=new n;r.__proto__=e}if(t!==void 0){Object.defineProperties(r,t)}return r}}function d(e){try{Object.defineProperty(e,"sentinel",{});return"sentinel"in e}catch(t){}}if(Object.defineProperty){var y=d({});var O=typeof document==="undefined"||d(document.createElement("div"));if(!y||!O){var j=Object.defineProperty,v=Object.defineProperties}}if(!Object.defineProperty||j){var w="Property description must be an object: ";var P="Object.defineProperty called on non-object: ";var m="getters & setters can not be defined "+"on this javascript engine";Object.defineProperty=function S(e,u,p){if(typeof e!=="object"&&typeof e!=="function"||e===null){throw new TypeError(P+e)}if(typeof p!=="object"&&typeof p!=="function"||p===null){throw new TypeError(w+p)}if(j){try{return j.call(Object,e,u,p)}catch(a){}}if(r(p,"value")){if(f&&(i(e,u)||c(e,u))){var l=e.__proto__;e.__proto__=t;delete e[u];e[u]=p.value;e.__proto__=l}else{e[u]=p.value}}else{if(!f){throw new TypeError(m)}if(r(p,"get")){n(e,u,p.get)}if(r(p,"set")){o(e,u,p.set)}}return e}}if(!Object.defineProperties||v){Object.defineProperties=function T(e,t){if(v){try{return v.call(Object,e,t)}catch(n){}}for(var o in t){if(r(t,o)&&o!=="__proto__"){Object.defineProperty(e,o,t[o])}}return e}}if(!Object.seal){Object.seal=function D(e){return e}}if(!Object.freeze){Object.freeze=function k(e){return e}}try{Object.freeze(function(){})}catch(h){Object.freeze=function F(e){return function t(r){if(typeof r==="function"){return r}else{return e(r)}}}(Object.freeze)}if(!Object.preventExtensions){Object.preventExtensions=function G(e){return e}}if(!Object.isSealed){Object.isSealed=function C(e){return false}}if(!Object.isFrozen){Object.isFrozen=function N(e){return false}}if(!Object.isExtensible){Object.isExtensible=function I(e){if(Object(e)!==e){throw new TypeError}var t="";while(r(e,t)){t+="?"}e[t]=true;var n=r(e,t);delete e[t];return n}}}); /* RequireJS 2.1.8 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. Available via the MIT or new BSD license. see: http://github.com/jrburke/requirejs for details */ var requirejs,require,define; (function(Z){function H(b){return"[object Function]"===L.call(b)}function I(b){return"[object Array]"===L.call(b)}function y(b,c){if(b){var d;for(d=0;dthis.depCount&&!this.defined){if(H(m)){if(this.events.error&&this.map.isDefine||j.onError!==aa)try{e=i.execCb(c,m,b,e)}catch(d){a=d}else e=i.execCb(c,m,b,e);this.map.isDefine&&((b=this.module)&&void 0!==b.exports&&b.exports!== this.exports?e=b.exports:void 0===e&&this.usingExports&&(e=this.exports));if(a)return a.requireMap=this.map,a.requireModules=this.map.isDefine?[this.map.id]:null,a.requireType=this.map.isDefine?"define":"require",v(this.error=a)}else e=m;this.exports=e;if(this.map.isDefine&&!this.ignore&&(r[c]=e,j.onResourceLoad))j.onResourceLoad(i,this.map,this.depMaps);x(c);this.defined=!0}this.defining=!1;this.defined&&!this.defineEmitted&&(this.defineEmitted=!0,this.emit("defined",this.exports),this.defineEmitComplete= !0)}}else this.fetch()}},callPlugin:function(){var a=this.map,b=a.id,d=n(a.prefix);this.depMaps.push(d);t(d,"defined",u(this,function(e){var m,d;d=this.map.name;var g=this.map.parentMap?this.map.parentMap.name:null,h=i.makeRequire(a.parentMap,{enableBuildCallback:!0});if(this.map.unnormalized){if(e.normalize&&(d=e.normalize(d,function(a){return c(a,g,!0)})||""),e=n(a.prefix+"!"+d,this.map.parentMap),t(e,"defined",u(this,function(a){this.init([],function(){return a},null,{enabled:!0,ignore:!0})})), d=l(p,e.id)){this.depMaps.push(e);if(this.events.error)d.on("error",u(this,function(a){this.emit("error",a)}));d.enable()}}else m=u(this,function(a){this.init([],function(){return a},null,{enabled:!0})}),m.error=u(this,function(a){this.inited=!0;this.error=a;a.requireModules=[b];F(p,function(a){0===a.map.id.indexOf(b+"_unnormalized")&&x(a.map.id)});v(a)}),m.fromText=u(this,function(e,c){var d=a.name,g=n(d),B=O;c&&(e=c);B&&(O=!1);q(g);s(k.config,b)&&(k.config[d]=k.config[b]);try{j.exec(e)}catch(ca){return v(A("fromtexteval", "fromText eval for "+b+" failed: "+ca,ca,[b]))}B&&(O=!0);this.depMaps.push(g);i.completeLoad(d);h([d],m)}),e.load(a.name,h,m,k)}));i.enable(d,this);this.pluginMaps[d.id]=d},enable:function(){T[this.map.id]=this;this.enabling=this.enabled=!0;y(this.depMaps,u(this,function(a,b){var c,e;if("string"===typeof a){a=n(a,this.map.isDefine?this.map:this.map.parentMap,!1,!this.skipMap);this.depMaps[b]=a;if(c=l(N,a.id)){this.depExports[b]=c(this);return}this.depCount+=1;t(a,"defined",u(this,function(a){this.defineDep(b, a);this.check()}));this.errback&&t(a,"error",u(this,this.errback))}c=a.id;e=p[c];!s(N,c)&&(e&&!e.enabled)&&i.enable(a,this)}));F(this.pluginMaps,u(this,function(a){var b=l(p,a.id);b&&!b.enabled&&i.enable(a,this)}));this.enabling=!1;this.check()},on:function(a,b){var c=this.events[a];c||(c=this.events[a]=[]);c.push(b)},emit:function(a,b){y(this.events[a],function(a){a(b)});"error"===a&&delete this.events[a]}};i={config:k,contextName:b,registry:p,defined:r,urlFetched:S,defQueue:G,Module:X,makeModuleMap:n, nextTick:j.nextTick,onError:v,configure:function(a){a.baseUrl&&"/"!==a.baseUrl.charAt(a.baseUrl.length-1)&&(a.baseUrl+="/");var b=k.pkgs,c=k.shim,e={paths:!0,config:!0,map:!0};F(a,function(a,b){e[b]?"map"===b?(k.map||(k.map={}),Q(k[b],a,!0,!0)):Q(k[b],a,!0):k[b]=a});a.shim&&(F(a.shim,function(a,b){I(a)&&(a={deps:a});if((a.exports||a.init)&&!a.exportsFn)a.exportsFn=i.makeShimExports(a);c[b]=a}),k.shim=c);a.packages&&(y(a.packages,function(a){a="string"===typeof a?{name:a}:a;b[a.name]={name:a.name, location:a.location||a.name,main:(a.main||"main").replace(ja,"").replace(ea,"")}}),k.pkgs=b);F(p,function(a,b){!a.inited&&!a.map.unnormalized&&(a.map=n(b))});if(a.deps||a.callback)i.require(a.deps||[],a.callback)},makeShimExports:function(a){return function(){var b;a.init&&(b=a.init.apply(Z,arguments));return b||a.exports&&ba(a.exports)}},makeRequire:function(a,f){function d(e,c,h){var g,k;f.enableBuildCallback&&(c&&H(c))&&(c.__requireJsBuild=!0);if("string"===typeof e){if(H(c))return v(A("requireargs", "Invalid require call"),h);if(a&&s(N,e))return N[e](p[a.id]);if(j.get)return j.get(i,e,a,d);g=n(e,a,!1,!0);g=g.id;return!s(r,g)?v(A("notloaded",'Module name "'+g+'" has not been loaded yet for context: '+b+(a?"":". Use require([])"))):r[g]}K();i.nextTick(function(){K();k=q(n(null,a));k.skipMap=f.skipMap;k.init(e,c,h,{enabled:!0});C()});return d}f=f||{};Q(d,{isBrowser:z,toUrl:function(b){var d,f=b.lastIndexOf("."),g=b.split("/")[0];if(-1!==f&&(!("."===g||".."===g)||1h.attachEvent.toString().indexOf("[native code"))&&!W?(O=!0,h.attachEvent("onreadystatechange",b.onScriptLoad)):(h.addEventListener("load",b.onScriptLoad,!1),h.addEventListener("error", b.onScriptError,!1)),h.src=d,K=h,C?x.insertBefore(h,C):x.appendChild(h),K=null,h;if(da)try{importScripts(d),b.completeLoad(c)}catch(l){b.onError(A("importscripts","importScripts failed for "+c+" at "+d,l,[c]))}};z&&M(document.getElementsByTagName("script"),function(b){x||(x=b.parentNode);if(J=b.getAttribute("data-main"))return q=J,t.baseUrl||(D=q.split("/"),q=D.pop(),fa=D.length?D.join("/")+"/":"./",t.baseUrl=fa),q=q.replace(ea,""),j.jsExtRegExp.test(q)&&(q=J),t.deps=t.deps?t.deps.concat(q):[q],!0}); define=function(b,c,d){var h,j;"string"!==typeof b&&(d=c,c=b,b=null);I(c)||(d=c,c=null);!c&&H(d)&&(c=[],d.length&&(d.toString().replace(la,"").replace(ma,function(b,d){c.push(d)}),c=(1===d.length?["require"]:["require","exports","module"]).concat(c)));if(O){if(!(h=K))P&&"interactive"===P.readyState||M(document.getElementsByTagName("script"),function(b){if("interactive"===b.readyState)return P=b}),h=P;h&&(b||(b=h.getAttribute("data-requiremodule")),j=E[h.getAttribute("data-requirecontext")])}(j?j.defQueue: R).push([b,c,d])};define.amd={jQuery:!0};j.exec=function(b){return eval(b)};j(t)}})(this); // Generated by CoffeeScript 1.7.1 window.INLINE_JS = {}; window.DEBUG = {}; window.__CIRCULAR_DEPENDENCY__ = {}; window.__CONDITIONAL_JS__ = {}; window.__PARENT_SCOPE__ = {}; //# sourceMappingURL=global_objects.map // Generated by CoffeeScript 1.7.1 var k, v, _ref; window.external_shim = { 'external/highcharts': { 'deps': ['jquery'], 'exports': 'Highcharts' }, 'external/highstock': { 'deps': ['jquery'], 'exports': 'Highcharts' }, 'external/jquery_payment': { 'deps': ['jquery'] }, 'external/jquery.qrcode.min': { 'deps': ['jquery'] }, 'external/owl.carousel.min': { 'deps': ['jquery'] }, 'external/tablekit': { 'deps': ['libs'] }, 'external/bootstrap': { 'deps': ['jquery'] }, 'external/underscore': { 'exports': '$u' }, 'external/jasmine/jasmine-jquery': { deps: ['jquery'] }, 'external/videojs/videojs_media_sources': { deps: ['external/videojs/video'] }, 'external/videojs/videojs_hls': { deps: ['external/videojs/videojs_media_sources'] }, 'external/typeahead.bundle': { 'deps': ['jquery'] }, 'external/plupload_dev': { deps: ['external/moxie'] }, 'external/web_socket': { 'deps': ['modules/clean/unity/flash_config', 'external/swfobject'], 'exports': 'WebSocket' } }; _ref = window.REQUIREJS_PACKAGE_SHIM; for (k in _ref) { v = _ref[k]; external_shim[k] = v; } window.REQUIREJS_CONFIG['shim'] = external_shim; requirejs.config(window.REQUIREJS_CONFIG); window.REQUIRE_JS_USING_FALLBACK = false; requirejs.onError = function(err) { var module, _i, _len, _ref1; if (!(err.requireModules && err.requireType === 'timeout')) { if (err.stack) { console.log(err.stack); } if (__CONDITIONAL_JS__.JSException != null) { __CONDITIONAL_JS__.JSException.reportException(err.msg, window.location.href, 0, err.stack, err.stack); } return false; } if (window.REQUIRE_JS_USING_FALLBACK) { throw err; } _ref1 = err.requireModules; for (_i = 0, _len = _ref1.length; _i < _len; _i++) { module = _ref1[_i]; requirejs.undef(module); } requirejs.config({ baseUrl: window.REQUIREJS_FALLBACK_URL }); window.REQUIRE_JS_USING_FALLBACK = true; return require(err.requireModules); }; window.onerror = function(msg, url, line, col, error) { if (error != null) { console.log(error.stack); } if (__CONDITIONAL_JS__.JSException != null) { __CONDITIONAL_JS__.JSException.reportException(msg, url, line, error != null ? error.stack : void 0); } return false; }; window.monkey_error_module = null; window.monkey_check_line_ok_chrome = (function(_this) { return function(line) { var first, mod, path, second; if (/\s+at [a-zA-Z_0-9.]+ \(native\)?/.exec(line)) { return null; } first = /\s+at (new )?[$a-zA-Z_0-9.<>]+ (\[as [$a-zA-Z_0-9]+\] )?\((.*?)\:[0-9]+\)?/.exec(line); second = /\s+at ([^ ]*?)\:[0-9]+?/.exec(line); path = (first != null ? first[3] : void 0) || (second != null ? second[1] : void 0); mod = /com([./a-zA-Z0-9-_]+)(-vfl[a-zA-Z0-9_-]+)?\.js/.exec(path); if (mod !== null) { mod = mod[1]; } return monkey_check_mod(mod); }; })(this); window.monkey_check_line_ok_firefox = (function(_this) { return function(line) { var mod; if (line === "") { return true; } mod = /com([./a-zA-Z0-9-_]+)(-vfl[a-zA-Z0-9_-]+)?\.js/.exec(line.substring(line.indexOf("@"))); if (mod !== null) { mod = mod[1]; } return monkey_check_mod(mod); }; })(this); window.monkey_check_mod = (function(_this) { return function(mod) { if (mod === null) { return true; } if (mod.indexOf("/static/javascript/compiled") !== -1) { return true; } if (mod.indexOf("/external/") !== -1) { return true; } if (mod.indexOf("/dirty/") !== -1) { return true; } if (window.MONKEY_CHECK_OFF) { return true; } if (mod.indexOf("/clean/") !== -1) { window.monkey_error_module = mod; return false; } return null; }; })(this); window.monkey_check = (function(_this) { return function() { var failed; failed = false; return function() { var col, line, lines, pre, res, stack, text, where, _i, _len; if (Constants.IS_PROD) { return; } if (Math.random() > 0.05) { return; } stack = new Error().stack; if (!stack) { return; } lines = stack.split("\n"); if (window.chrome) { lines.shift(); } lines.shift(); lines.shift(); for (_i = 0, _len = lines.length; _i < _len; _i++) { line = lines[_i]; if (window.chrome) { res = monkey_check_line_ok_chrome(line); } else if (window.navigator.userAgent.indexOf("Firefox") !== -1) { res = monkey_check_line_ok_firefox(line); } else { res = true; } if (res === false) { if (!(typeof Constants !== "undefined" && Constants !== null ? Constants.IS_PROD : void 0) && window.sessionStorage) { if (!failed) { col = line.indexOf("/static/javascript/compiled"); where = "" + monkey_error_module + "\n\n" + stack + "\n\nl" + line + "\n\n||" + col + "||"; text = "Found usage of a monkey-patch added in dropbox.js in the clean module: " + where; window.sessionStorage.setItem('reported_exception', JSON.stringify({ e: "Illegal Monkey Patch!", msg: text, source: 'require_config.coffee' })); pre = $j("
");
              pre.text(text);
              pre.prependTo(document.body);
              console.log(text);
              failed = true;
            }
          }
        }
        if (res === true) {
          return;
        }
      }
    };
  };
})(this)();

//# sourceMappingURL=require_config.map
	UVWX_application/x-javascript_Ohttps://cf.dropboxstatic.com/static/coffee/compiled/packaged/pkg-a-vflFGPeZR.jsObplist00X$versionX$objectsY$archiverT$top+#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyzU$null	

 !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1	(*)$%&'(WNS.base[NS.relative_Ohttps://cf.dropboxstatic.com/static/coffee/compiled/packaged/pkg-a-vflFGPeZR.js+,-.Z$classnameX$classesUNSURL-/XNSObject#AG456FVWNS.keysZNS.objects789:;<=>?@ABCDE	

GHIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-Cache_application/x-javascriptQ*_Mon, 20 Apr 2015 22:39:27 GMT_8Anuu1zKeZqSjziUvWoQvPOIOXb2acYVjWkdmahUOgycHl8ACC-2pRw==TgzipUnginx_@1.1 30461cfb1f380050cb6053c478974973.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsV122096Zkeep-alive_"5535801f-1dcf0"_Miss from cloudfront+,vw\NSDictionaryv/_application/x-javascript+,{|_NSHTTPURLResponse}~/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverс_WebResourceResponse#-27ek?DOX^ajsuw~,8KRV^lq,17z"9>KNWrwO.define("modules/clean/account/change_email_modals",["jquery","external/react","modules/core/notify","modules/core/i18n","modules/clean/form","modules/clean/account/email_verify","modules/clean/react/bubble_dropdown","modules/clean/react/input","modules/clean/react/modal","modules/clean/react/sprite","modules/clean/viewer","modules/clean/ajax"],function(e,t,n,o,i,r,s,a,u,c,l,_){var d,h,p,f,m,g,v,y,b,w;return w=o._,y=o.render_sentences,b=o.ungettext,g=u.Modal,v=t.DOM,m=t.createClass({propTypes:{user:t.PropTypes.object,inboxCount:t.PropTypes.number,onContinue:t.PropTypes.func},render:function(){return g({title:w("Warning!"),acceptButtonText:w("Continue anyway"),dismissButtonText:w("Cancel"),onAccept:this.showChange,ref:"modal"},this.getSSOWarning(),this.getInboxWarning())},getSSOWarning:function(){var e,t,n;return e=l.get_viewer().is_paired,n=e&&this.props.user.role===Constants.ROLE_WORK,t=this.props.user.sso_required,n&&t?v.div({},w("Your %(team)s Dropbox uses single sign-on. If you change your email address you may not be able to sign in.").format({team:l.get_viewer().team_name})):null},getInboxWarning:function(){var e;return e=l.get_viewer().is_paired,0===this.props.inboxCount?null:e&&this.props.user.role===Constants.ROLE_PERSONAL?b("Your %(num)d existing shared folder invitation in your personal Dropbox will be removed if you change your email address.","Your %(num)d existing shared folder invitations in your personal Dropbox will be removed if you change your email address.",this.props.inboxCount).format({num:this.props.inboxCount}):e&&this.props.user.role===Constants.ROLE_WORK?b("Your %(num)d existing shared folder invitation in your %(team)s Dropbox will be removed if you change your email address.","Your %(num)d existing shared folder invitations in your %(team)s Dropbox will be removed if you change your email address.",this.props.inboxCount).format({num:this.props.inboxCount,team:l.get_viewer().team_name}):b("Your %(num)d existing shared folder invitation will be removed if you change your email address.","Your %(num)d existing shared folder invitations will be removed if you change your email address.",this.props.inboxCount).format({num:this.props.inboxCount})},showChange:function(e){var t,n;return e.preventDefault(),t=this.refs.modal,t.close(),"function"==typeof(n=this.props).onContinue?n.onContinue():void 0}}),h=t.createClass({propTypes:{user:t.PropTypes.object,onChange:t.PropTypes.func,onVerificationCheck:t.PropTypes.func},getInitialState:function(){return{submitting:!1,errors:{}}},render:function(){return g({title:w("Update '%(email)s'").format({email:this.props.user.email}),className:"change-email-modal",acceptButtonText:w("Update email"),dismissButtonText:w("Cancel"),onAccept:this.handleSubmit,submitting:this.state.submitting,ref:"modal"},v.form({action:"/account/change_email",className:"change-email-form",onSubmit:this.handleSubmit,onKeyDown:this.handleKey,ref:"form"},v.div({},this.getPrompt()),v.div({className:"change-email-inputs"},a.text({name:"email",label:w("New email"),error:this.state.errors.email,autoComplete:"off"}),a.text({name:"confirm_email",label:w("Confirm email"),error:this.state.errors.confirm_email,autoComplete:"off"}),a.password({name:"password",label:w("Dropbox password"),error:this.state.errors.password,autoComplete:"off"}),v.input({type:"hidden",name:Constants.UID_PARAM_NAME,value:this.props.user.id}))))},handleKey:function(e){var t;return 13===e.keyCode&&"INPUT"===(null!=(t=e.target)?t.tagName:void 0)?this.handleSubmit(e):void 0},handleSubmit:function(e){return e.preventDefault(),this.state.submitting?void 0:this.submit()},submit:function(){var t;return this.setState({submitting:!0,errors:{}}),t=e(this.refs.form.getDOMNode()),i.submit(t,this._success,this._error,this._complete)},_success:function(t){var n,o,i,r,s,a;return i=this.refs.modal,o=this.refs.form,n=e(o.getDOMNode()).find('input[name="email"]').val(),r="NEEDS_VERIFICATION"===t,i.close(),r?"function"==typeof(s=this.props).onVerificationCheck?s.onVerificationCheck(n):void 0:"function"==typeof(a=this.props).onChange?a.onChange(n):void 0},_error:function(e){return"string"==typeof e?n.error(e):e?this.setState({errors:e}):n.error()},_complete:function(){return this.isMounted()?this.setState({submitting:!1}):void 0},getPrompt:function(){var e,t,n;return e=l.get_viewer().is_paired,n=this.props.user.email_verified,t=[],e&&this.props.role===Constants.ROLE_PERSONAL?(t.push(w("Enter a new email address for your personal Dropbox.")),n&&t.push(w("You’ll need to verify your new email address in order to finish updating your personal email."))):e&&this.props.user.role===Constants.ROLE_WORK?(t.push(w("Enter a new email address for your %(team)s Dropbox.").format({team:l.get_viewer().team_name})),n&&t.push(w("You’ll need to verify your new email address in order to finish updating your %(team)s email.").format({team:l.get_viewer().team_name}))):n&&t.push(w("You’ll need to verify your new email address in order to finish updating your email.")),t.length?y(t):""}}),p=t.createClass({propTypes:{name:t.PropTypes.string.isRequired,address:t.PropTypes.string,verified:t.PropTypes.bool},render:function(){var e;return e=this.props.verified?"address verified":"address pending",v.div({className:"email-row bs-row clearfix clear","data-type":this.props.name.toLowerCase()},v.span({className:"type"},this.props.name),null!=this.props.address?v.span({className:e},this.props.address):void 0,null!=this.props.address?s({target:c({group:"web",name:"gear"}),arrow_position:"top-right"},v.div({className:"list-menu"},this.props.verified?void 0:v.div({className:"list-item",onClick:function(e){return function(){return r.send_verification_email(e.props.user,e.props.email,"generic",function(){return n.success(w("Verification email sent to %(email)s").format({email:e.props.address}))})}}(this)},w("Resend verification")),"Primary"===this.props.name?v.div({className:"list-item",onClick:this.props.changeAddress},w("Change email address")):(v.div({className:"list-item",onClick:this.props.makePrimary},w("Make primary")),v.div({className:"list-item",onClick:function(e){return function(){return e.props.deleteAlias(e.props.address)}}(this)},w("Delete email"))))):v.a({className:"address prompt",onClick:this.props.createAlias},"Add "+this.props.name.toLowerCase()+" email"))}}),d=t.createClass({propTypes:{user:t.PropTypes.object,onSuccess:t.PropTypes.func},getInitialState:function(){return{submitting:!1,errors:{}}},render:function(){return g({title:w("Add recovery email"),className:"change-email-modal",acceptButtonText:w("Add recovery email"),onAccept:this.handleSubmit,submitting:this.state.submitting,ref:"modal"},v.form({action:"/account/alias/add/recovery_email",className:"change-email-form",onSubmit:this.handleSubmit,onKeyDown:this.handleKey,ref:"form"},v.div({},w("If you request a password reset, we’ll send a link to both your primary and recovery emails.")),v.div({className:"change-email-inputs"},a.text({name:"email",label:w("New email"),error:this.state.errors.email,autoComplete:"off"}),a.password({name:"password",label:w("Dropbox password"),error:this.state.errors.password,autoComplete:"off"}),v.input({type:"hidden",name:Constants.UID_PARAM_NAME,value:this.props.user.id}))))},handleKey:function(e){var t;return 13===e.keyCode&&"INPUT"===(null!=(t=e.target)?t.tagName:void 0)?this.handleSubmit(e):void 0},handleSubmit:function(e){return e.preventDefault(),this.state.submitting?void 0:this.submit()},submit:function(){var t;return this.setState({submitting:!0,errors:{}}),t=e(this.refs.form.getDOMNode()),i.submit(t,this._success,this._error,this._complete)},_success:function(t){var o,i,r,s;return r=this.refs.modal,i=this.refs.form,o=e(i.getDOMNode()).find('input[name="email"]').val(),s="ok:NEEDS_VERIFICATION"===t,s&&n.success(w("Please check your email to verify your recovery email.")),r.close(),this.props.onSuccess(o,!s)},_error:function(e){return"string"==typeof e?n.error(e):e?this.setState({errors:e}):n.error()},_complete:function(){return this.isMounted()?this.setState({submitting:!1}):void 0},getPrompt:function(){var e,t,n;return e=l.get_viewer().is_paired,n=this.props.user.email_verified,t=[],e&&this.props.role===Constants.ROLE_PERSONAL?(t.push(w("Enter a new email address for your personal Dropbox.")),n&&t.push(w("You'll need to verify your new email address in order to finish updating your personal email."))):e&&this.props.user.role===Constants.ROLE_WORK?(t.push(w("Enter a new email address for your %(team)s Dropbox.").format({team:l.get_viewer().team_name})),n&&t.push(w("You'll need to verify your new email address in order to finish updating your %(team)s email.").format({team:l.get_viewer().team_name}))):n&&t.push(w("You'll need to verify your new email address in order to finish updating your email.")),t.length?y(t):""}}),f=t.createClass({propTypes:{initialAliases:t.PropTypes.array,user:t.PropTypes.object,onAliasChange:t.PropTypes.func,startChangePrimaryFlow:t.PropTypes.func},getInitialState:function(){return{aliases:this.props.initialAliases}},deleteAlias:function(e){return new _.WebRequest({url:"/account/alias/remove",type:"POST",subject_user:this.props.user,data:{alias_type:"recovery_email",alias:e},success:function(t){return function(){var n,o,i;i=t.state.aliases.slice();for(o in i)if(n=i[o],n.alias===e){i.splice(o,1);break}return t.setState({aliases:i}),t.props.onAliasChange(i)}}(this)})},createAlias:function(){return g.showInstance(new d({user:this.props.user,onSuccess:function(e){return function(t,n){var o;return g.showInstance(e),o=e.state.aliases.slice(),o.push({alias:t,type:"recovery_email",verified:n}),e.setState({aliases:o}),e.props.onAliasChange(o)}}(this)}))},render:function(){var e;return g({title:w("Change %(role)s emails").format({role:"personal"}),className:"change-email-options-modal",dismissButtonText:w("Cancel"),ref:"modal"},v.div({className:"email-list-container"},p({user:this.props.user,name:w("Primary",{comment:"Primary email address"}),address:this.props.user.email,verified:this.props.user.is_email_verified,changeAddress:function(e){return function(){return e.props.startChangePrimaryFlow()}}(this)}),function(){var t,n,o,i;for(o=this.state.aliases,i=[],t=0,n=o.length;n>t;t++)e=o[t],"recovery_email"===e.type&&i.push(p({user:this.props.user,name:w("Recovery",{comment:"Recovery email address; 'backup'"}),address:e.alias,verified:e.verified,deleteAlias:this.deleteAlias}));return i}.call(this),0===this.state.aliases.length?p({user:this.props.user,name:w("Recovery",{comment:"Recovery email address; 'backup'"}),createAlias:this.createAlias}):void 0))}}),{ChangeEmailWarningModal:m,ChangeEmailModal:h,ChangeEmailOptionsModal:f,AddRecoveryEmailModal:d}}),define("modules/clean/account/email",["jquery","external/react","modules/core/browser","modules/core/notify","modules/core/i18n","modules/core/uri","modules/clean/account/change_email_modals","modules/clean/account/email_verify","modules/clean/account/verify_email_modals","modules/clean/react/modal","modules/clean/react/react_i18n","modules/clean/viewer"],function(e,t,n,o,i,r,s,a,u,c,l,_){var d,h,p,f,m,g,v,y,b,w,E,S,T,C,k;return k=i._,f=s.ChangeEmailModal,m=s.ChangeEmailOptionsModal,g=s.ChangeEmailWarningModal,h=s.AddRecoveryEmailModal,S=u.VerifyEmailModal,E=u.ResendVerifyEmailModal,T=u.VerifyEmailSentModal,b=u.EmailVerifiedModal,v=u.ChangedEmailVerifiedModal,w=c.Modal,y=function(){function e(e){var t;this.role=e,this.user=this.role?_.get_viewer().get_user_by_role(this.role,!0):_.get_viewer().deprecated_first_user_in_the_cookie,this.email_to_verify=null!=(t=this.user)?t.email:void 0,this.verify_for_change=!1}return e.prototype.polling=!1,e.prototype.show_resend=!1,e.getForRole=function(t){return this.initalized||(this.legacy=new e(null),this.personal=new e("personal"),this.work=new e("work"),this.initalized=!0),"personal"===t?this.personal:"work"===t?this.work:this.legacy},e.get_for_user=function(e){return this.getForRole(e.role)},e.reset=function(){return this.initalized=!1},e.prototype.set_email_to_verify=function(e){return this.email_to_verify=e,this.verify_for_change=this.email_to_verify!==this.user.email},e.prototype.send_email=function(e,t){return a.send_verification_email(this.user,this.email_to_verify,e,t)},e.prototype.flash_email_sent_notification=function(){return o.success(k("Verification email sent to %(email)s").format({email:this.email_to_verify}))},e.prototype.ensure_polling=function(e){return a.listen_for_verification(this.user,this.email_to_verify,function(t){return function(){return null!=e?(t.user.is_email_verified=!0,e()):n.reload()}}(this))},e.prototype.email_sent=function(e){return this.show_resend=!0,this.show(),this.flash_email_sent_notification(),this.ensure_polling(e)},e.prototype.show=function(e,t){return this.show_resend?this.show_resend_verify_modal(t):this.show_verify_modal(e,t)},e.prototype.show_verify_modal=function(t,n){return null==n&&(n=this.verify_for_change?"change_email":e.REASON),w.showInstance(new S({user:this.user,reason:n,email:this.email_to_verify,onShowChange:function(e){return function(){return p.show(e.user)}}(this),onEmailSent:function(n){return function(){var o;return o=e.get_for_user(n.user),o.email_sent(t)}}(this)}))},e.prototype.show_resend_verify_modal=function(t){return null==t&&(t=this.verify_for_change?"change_email":e.REASON),w.showInstance(new E({user:this.user,email:this.email_to_verify,reason:t,onShowChange:function(e){return function(){return p.show(e.user)}}(this),onEmailSent:function(t){return function(){var n;return n=e.get_for_user(t.user),n.email_sent()}}(this)}))},e.prototype.verified_or_show=function(e){return this.user.is_email_verified?!0:(this.show(null,e),!1)},e.prototype.show_sent_modal=function(){return w.showInstance(new T({email:this.email_to_verify}))},e.prototype.show_verified_modal=function(){return w.showInstance(new b({reason:e.REASON,email:this.email_to_verify}))},e.prototype.show_verified_and_changed_modal=function(){return w.showInstance(new v({user:this.user,email:this.email_to_verify}))},e}(),p={inbox_counts:{},set_inbox_counts:function(t){return e.extend(this.inbox_counts,t)},show_options:function(e){var t,n,o,i;return i=e.user_id,t=e.aliases,n=e.on_alias_change,o=_.get_viewer().get_user_by_id(i),o.role===Constants.ROLE_WORK?p.show(i):w.showInstance(new m({user:o,initialAliases:t,onAliasChange:n,startChangePrimaryFlow:function(){return function(){return p.show(i)}}(this)}))},show:function(e){var t;return t=_.get_viewer().get_user_by_id(e),this._should_show_warning(t)?this._show_warning_modal(t):this._show_change_modal(t)},_should_show_warning:function(e){var t,n,o,i;return n=_.get_viewer().is_paired,i=n&&e.role===Constants.ROLE_WORK,o=i&&e.sso_required,t=this.inbox_counts[e.id]>0,o||t},_show_change_modal:function(){return function(e){return w.showInstance(new f({user:e,onChange:function(t){return p.trigger_change(e,t),"/account"!==r.parse(n.get_href()).path?n.redirect("/home?send_verification_email=1"):t!==e.email?n.reload():void 0},onVerificationCheck:function(t){var n;return p.trigger_change(e,t,!0),n=y.get_for_user(e),n.set_email_to_verify(t),n.email_sent()}}))}}(this),_show_warning_modal:function(e){return w.showInstance(new g({user:e,inboxCount:this.inbox_counts[e.id],onContinue:function(t){return function(){return t._show_change_modal(e)}}(this)}))},listen_for_change:function(t,n){var o;return o=this._email_change_event_for_user(t),e(document).on(o,n)},trigger_change:function(t,n,o){var i;return i=this._email_change_event_for_user(t),e(document).trigger(i,[n,o])},_email_change_event_for_user:function(e){return"db:email_changed:"+e.id}},INLINE_JS.ChangeEmail=p,C=t.DOM,d=t.createClass({propTypes:{userId:t.PropTypes.number,emailName:t.PropTypes.string,initialPendingEmail:t.PropTypes.string,initialAliases:t.PropTypes.array,showRecoveryEmailsGui:t.PropTypes.bool,showAliasGui:t.PropTypes.bool,showChangeEmail:t.PropTypes.bool},getInitialState:function(){return{pendingEmail:this.props.initialPendingEmail,aliases:void 0!==this.props.initialAliases?this.props.initialAliases:[]}},pendingVerifyLinkClick:function(e){return e.preventDefault(),y.get_for_user(this.user).show(),!1},pendingVerifyCancelClick:function(t){return t.preventDefault(),e.ajax("/cancelpendingemailchange",{type:"POST",success:function(e){return function(){return e.setState({pendingEmail:void 0})}}(this),subject_user:this.user.id}),!1},onAliasChange:function(e){return this.setState({aliases:e})},onUserAddressChange:function(e,t,n){return n?this.setState({pendingEmail:t}):this.forceUpdate()},componentDidMount:function(){return p.listen_for_change(this.user,this.onUserAddressChange)},render:function(){var e;return this.user=_.get_viewer().get_user_by_id(this.props.userId),C.div({className:"fieldset user-info"},C.div({},C.h3({},this.props.emailName,this.props.showRecoveryEmailsGui&&this.props.showChangeEmail&&this.user.is_email_verified?C.a({href:"#",className:"inline-change",onClick:function(e){return function(t){return t.preventDefault(),p.show_options({user_id:e.props.userId,aliases:e.state.aliases,on_alias_change:e.onAliasChange}),!1}}(this)},k("Change",{comment:"Change the user's contact methods (primary email, recovery email, maybe phone?)"})):void 0),this.props.showRecoveryEmailsGui?C.h4({className:"email-type-header"},k("Primary",{comment:"Primary email address"})):void 0,C.div({},this.user.email),this.user.is_email_verified?this.props.showChangeEmail?this.props.showRecoveryEmailsGui?void 0:C.a({href:"#",onClick:function(e){return function(t){return t.preventDefault(),p.show(e.props.userId,e.state.aliases),!1}}(this)},k("Change email")):C.a({href:"/account#work"},k("Contact your team admin to change email")):C.div({},C.a({href:"#",onClick:function(e){return function(t){return t.preventDefault(),"work"===e.user.role?y.getForRole(Constants.ROLE_WORK).verified_or_show():y.getForRole(Constants.ROLE_PERSONAL).verified_or_show(),!1}}(this)},k("Verify email"))),this.props.showAliasGui&&"work"!==this.user.role?C.div({},C.a({href:"#",onClick:function(e){return e.preventDefault(),!1}},k("Other ways to contact you"))):void 0),this.state.pendingEmail?C.div({className:"pending-unverified-email-container"},C.br({}),C.div({}),"work"===this.user.role?C.h3({},k("Pending %(team_name)s email change").format({team_name:_.get_viewer().team_name})):"personal"===this.user.role?C.h3({},k("Pending personal email change")):C.h3({},k("Pending email change")),C.div({className:"pending-unverified-email"},this.state.pendingEmail),C.div({},C.a({href:"#",onClick:this.pendingVerifyLinkClick},k("Verify email"))),C.div({}),C.a({href:"#",onClick:this.pendingVerifyCancelClick},k("Cancel"))):void 0,this.props.showRecoveryEmailsGui&&"work"!==this.user.role&&this.user.is_email_verified?C.div({},C.br({}),C.h4({className:"email-type-header"},k("Recovery",{comment:"Recovery email address; 'backup email'"})),function(){var t,n,o,i;if(0!==this.state.aliases.length){for(o=this.state.aliases,i=[],t=0,n=o.length;n>t;t++)e=o[t],"recovery_email"===e.type&&i.push(C.div({},C.span({},e.alias),e.verified?void 0:C.span({},k(" (pending)"))));return i}return C.a({href:"#",onClick:function(e){return function(t){return t.preventDefault(),w.showInstance(new h({user:e.user,onSuccess:function(t,n){var o;return o=e.state.aliases.slice(),o.push({alias:t,type:"recovery_email",verified:n}),e.setState({aliases:o})}})),!1}}(this)},k("Add a recovery email"))}.call(this)):void 0)}}),{EmailVerification:y,ChangeEmail:p,AccountPageEmailBlock:d}}),define("modules/clean/account/email_verify",["jquery","modules/clean/ajax"],function(e,t){var n;return n={_POLLING:{},send_verification_email:function(e,n,o,i){return t.WebRequest({url:"/sendverifyemail",data:{email:n,reason:o},success:function(){return i()},subject_user:e})},check_verification:function(e,n,o,i){return t.AuthenticatedRequest({url:"/isemailverified",data:{email:n},success:function(e){return"ok"===e?o():i()},subject_user:e})},listen_for_verification:function(e,t,n){var o;return o=""+e.id+":"+t,this._POLLING[o]?void 0:(this._POLLING[o]=!0,this._poll_for_verification(e,t,n))},_poll_for_verification:function(e,t,n){var o;return o=4e3,this.check_verification(e,t,n,function(i){return function(){return setTimeout(function(){return i._poll_for_verification(e,t,n)},o)}}(this))}}}),define("modules/clean/account/email_verify_reasons",[],function(){var e;return e={SHARE_FOLDER:"share_folder",CREATE_API_APP:"create_api_app",PUBLIC_FOLDER:"public_folder",GENERIC:"generic",SHMODAL:"shmodal",MOBILE_SHARE_FOLDER:"mobile_share_folder",EMAIL_ALIAS:"email_alias",CAROUSEL:"carousel",CHANGE_EMAIL:"change_email",CAROUSEL_EMAIL_ALIAS:"carousel_email_alias",PROMPT_CAMPAIGN:"prompt_campaign",ADD_COMMENT:"add_comment",SUBSCRIBE_TO_COMMENTS:"subscribe_to_comments"}}),define("modules/clean/account/verify_email_modals",["external/react","modules/core/i18n","modules/clean/account/email_verify","modules/clean/account/email_verify_reasons","modules/clean/analytics","modules/clean/react/button","modules/clean/react/modal","modules/clean/viewer","modules/clean/react/react_i18n"],function(e,t,n,o,i,r,s,a,u){var c,l,_,d,h,p,f,m,g,v;return v=t._,p=i.UserActivityLogger,_=s.Modal,g=e.DOM,d=u.R_,f=e.createClass({propTypes:{user:e.PropTypes.object,reason:e.PropTypes.string,email:e.PropTypes.string,onEmailSent:e.PropTypes.func,onShowChange:e.PropTypes.func},render:function(){var e;return e={reason:this.props.reason},p.log("web","email_verify_shown",e),_({title:v("Verify your email address"),className:"verify-email",acceptButtonText:v("Send email"),dismissButtonText:v("Cancel"),onAccept:this.sendEmail,ref:"modal"},g.div({},g.div({},this.getPrompt()),g.a({href:"#",className:"change-email-before-verify",onClick:this.showChangeEmail},v("Update email address"))))},sendEmail:function(e){return e.preventDefault(),n.send_verification_email(this.props.user,this.props.email,this.props.reason,this.emailSent)},close:function(){return this.refs.modal.close()},emailSent:function(){var e;return this.close(),"function"==typeof(e=this.props).onEmailSent?e.onEmailSent():void 0},showChangeEmail:function(e){var t,n;return t={reason:this.props.reason},p.log("web","email_verify_change_first",t),e.preventDefault(),this.close(),"function"==typeof(n=this.props).onShowChange?n.onShowChange():void 0},getPrompt:function(){var e;switch(this.props.reason){case o.ADD_COMMENT:return d({email:this.props.email},"Dropbox needs to verify your email address %(email)s before you can add comments. It's as simple as clicking the link in the verification email we send to you.");case o.SUBSCRIBE_TO_COMMENTS:return d({email:this.props.email},"Dropbox needs to verify your email address %(email)s before you can subscribe. It's as simple as clicking the link in the verification email we send to you.");case o.SHARE_FOLDER:return d({email:this.props.email},"Dropbox needs to verify your email address %(email)s to share folders. It's as simple as clicking the link in the verification email we send to you.");case o.SHMODAL:return d({email:this.props.email},"Dropbox needs to verify your email address %(email)s to share links. It's as simple as clicking the link in the verification email we send to you.");case o.CREATE_API_APP:return d({email:this.props.email},"Dropbox needs to verify your email address %(email)s before you can register an API app. It's as simple as clicking the link in the verification email we send to you.");case o.PUBLIC_FOLDER:return d({email:this.props.email},"Dropbox needs to verify your email address %(email)s to enable your Public folder. It's as simple as clicking the link in the verification email we send to you.");case o.CHANGE_EMAIL:return e=a.get_viewer().is_paired,e&&this.props.user.role===Constants.ROLE_PERSONAL?d({email:this.props.email},"Dropbox needs to verify your email address %(email)s to finish updating your personal email. It's as simple as clicking the link in the verification email we send to you."):e&&this.props.user.role===Constants.ROLE_WORK?d({email:this.props.email,team:a.get_viewer().team_name},"Dropbox needs to verify your email address %(email)s to finish updating your %(team)s email. It's as simple as clicking the link in the verification email we send to you."):d({email:this.props.email},"Dropbox needs to verify your email address %(email)s to finish updating your email. It's as simple as clicking the link in the verification email we send to you.");default:return d({email:this.props.email},"Verify your email address at %(email)s to share folders and ensure your account can be recovered.")}}}),h=e.createClass({propTypes:{user:e.PropTypes.object,email:e.PropTypes.string,reason:e.PropTypes.string,onEmailSent:e.PropTypes.func,onShowChange:e.PropTypes.func},render:function(){var e;return e={reason:this.props.reason},p.log("web","email_verify_resend_shown",e),_({title:v("Verify your email address"),buttonComponent:this.renderButtons(),ref:"modal"},g.div({},g.div({},this.getPrompt()),g.a({href:"#",className:"change-email-before-verify",onClick:this.showChangeEmail},v("Update email address"))))},renderButtons:function(){return g.div({className:"db-modal-buttons"},r.link_button({className:"dbmodal-button",importance:"primary",onClick:this.close},v("Done")),r.link_button({className:"dbmodal-button",importance:"tertiary",onClick:this.sendEmail},v("Resend email")))},close:function(){return this.refs.modal.close()},showChangeEmail:function(e){var t,n;return t={reason:this.props.reason},p.log("web","email_verify_resend_change_first",t),e.preventDefault(),this.close(),"function"==typeof(n=this.props).onShowChange?n.onShowChange():void 0},sendEmail:function(e){return e.preventDefault(),n.send_verification_email(this.props.user,this.props.email,this.props.reason,this.emailSent)},emailSent:function(){var e;return this.close(),"function"==typeof(e=this.props).onEmailSent?e.onEmailSent():void 0},getPrompt:function(){var e;return e=a.get_viewer().is_paired,this.props.reason!==o.CHANGE_EMAIL?d({email:this.props.email},"Dropbox has sent a verification email to %(email)s. Check your inbox and click on the link in the email to verify your address. If you can't find it, check your spam folder or click the button to resend the email."):e&&this.props.user.role===Constants.ROLE_PERSONAL?d({email:this.props.email},"Dropbox has sent a verification email to %(email)s. Check your inbox and click on the link in the email to finish updating your personal email. If you can't find it, check your spam folder or click the button to resend the email."):e&&this.props.user.role===Constants.ROLE_WORK?d({email:this.props.email,team:a.get_viewer().team_name},"Dropbox has sent a verification email to %(email)s. Check your inbox and click on the link in the email to finish updating your %(team)s email. If you can't find it, check your spam folder or click the button to resend the email."):d({email:this.props.email},"Dropbox has sent a verification email to %(email)s. Check your inbox and click on the link in the email to finish updating your email. If you can't find it, check your spam folder or click the button to resend the email.")}}),m=e.createClass({propTypes:{email:e.PropTypes.string},render:function(){var e;return e=d({email:this.props.email},"Dropbox has sent a verification email to %(email)s. Check your inbox and click on the link in the email to verify your address. If you can't find it, check your spam folder or click the button to resend the email."),_({title:v("Verification email sent!"),acceptButtonText:v("Done")},g.div({},e))}}),l=e.createClass({propTypes:{reason:e.PropTypes.string,email:e.PropTypes.string},render:function(){return _({title:v("Your email address has been verified"),acceptButtonText:v("Done")},g.div({},this.getPrompt()))},getPrompt:function(){switch(this.props.reason){case o.SHARE_FOLDER:return d({email:this.props.email},"Thanks for verifying your email address %(email)s. Now you can share folders with friends, family, or coworkers.");case o.CREATE_API_APP:return d({email:this.props.email},"Thanks for verifying your email address %(email)s. You can now register API apps.");case o.PUBLIC_FOLDER:return d({email:this.props.email},"Thanks for verifying your email address. You can now enable the Public folder for your %(email)s Dropbox.")}return""}}),c=e.createClass({propTypes:{email:e.PropTypes.string,user:e.PropTypes.object},render:function(){return _({title:v("Your email address has been verified"),acceptButtonText:v("Done")},g.div({},this.getPrompt()))},getPrompt:function(){var e;return e=a.get_viewer().is_paired,e&&this.props.user.role===Constants.ROLE_PERSONAL?d({email:this.props.email},"Thanks for verifying your email address %(email)s. Your personal account has successfully been changed."):e&&this.props.user.role===Constants.ROLE_WORK?d({email:this.props.email,team:a.get_viewer().team_name},"Thanks for verifying your email address %(email)s. Your %(team)s account has successfully been changed."):d({email:this.props.email},"Thanks for verifying your email address %(email)s. Your account has successfully been changed.")}}),{VerifyEmailModal:f,ResendVerifyEmailModal:h,VerifyEmailSentModal:m,EmailVerifiedModal:l,ChangedEmailVerifiedModal:c}}),define("modules/clean/account_photo_modal/account_header",["jquery","modules/clean/account_photo_modal/controller","modules/core/uri"],function(e,t){var n;return n=function(){function n(){}return n.init=function(n,o,i){return e(n).on("click",function(e){return e.preventDefault(),t.show()}),e(o).on("click",function(e){return e.preventDefault(),t.show()}),e(document).on("db:accountphoto:photo_set",function(){return e(o).addClass(i)}),e(document).on("db:accountphoto:photo_deleted",function(){return e(o).removeClass(i)})},n}()});var __indexOf=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};define("modules/clean/account_photo_modal/controller",["jquery","external/flash_detect","external/plupload_dev","modules/clean/account_photo_modal/mode_enum","modules/clean/account_photo_modal/ui","modules/clean/analytics","modules/clean/ajax","modules/clean/react/modal","modules/clean/viewer","modules/core/browser","modules/core/cookies","modules/core/dom","modules/core/i18n","modules/core/uri"],function(e,t,n,o,i,r,s,a,u,c,l,_,d,h){var p,f,m,g;return m=r.UserActivityLogger,f=a.Modal,g=d._,p=function(){function t(){}return t.ERROR_MESSAGES={DEFAULT:g("There was an error uploading your photo."),SIZE_TOO_LARGE:g("Your photo should be no more than 10 MB in size."),DIMENSIONS_TOO_SMALL:g("Your photo should be at least 256px by 256px."),INVALID:g("We couldn't process your photo."),MULTIPLE_FILES:g("You selected multiple files. Your photo should be a single file."),UNSUPPORTED_EXTENSION:g("This file type isn't supported. For best results, select a PNG or JPG file.")},t.PHOTO_SOURCE={UPLOADER:"uploader",CHOOSER:"chooser"},t.VALID_MIME_TYPES=["image/png","image/jpeg","image/tiff"],t.show=function(){var e;return t.upload_button_id="account-photo-upload-button",t.upload_container_id="account-photo-upload-container",t.runtime=c.msie_version_at_most(9)?"flash":"html5",t.can_dragdrop="html5"===t.runtime,t.can_upload=t.can_dragdrop||"flash"===t.runtime&&window.FlashDetect.versionAtLeast(9),e={can_upload:t.can_upload,can_dragdrop:t.can_dragdrop,upload_button_id:t.upload_button_id,upload_container_id:t.upload_container_id,chooser_button_click_handler:t.chooser_button_click_handler,save_button_click_handler:t.save_button_click_handler,start_over_button_click_handler:t.start_over_button_click_handler,dismiss_handler:t._enable_drag_drop_beyond_dropzone},t.modal=f.showInstance(i(e)),t.can_upload&&t._init_uploader(),
m.log("web","account_photo_modal_shown")},t.chooser_button_click_handler=function(){var e;return e={success:function(e){return t._show_loading(),s.WebRequest({url:"/account/set_account_photo",type:"POST",data:{selected_file:e[0].link},success:function(e){return t._show_photo_preview(e,t.PHOTO_SOURCE.CHOOSER)}})},linkType:"direct",multiselect:!1,extensions:["images"]},Dropbox.choose(e)},t.start_over_button_click_handler=function(){return t.can_upload&&t.uploader.disableBrowse(!1),t.modal.setState({mode:o.SELECT}),s.WebRequest({url:"/account/delete_account_photo",type:"POST",success:function(){},error:function(){return!1},timeout:function(){}}),e(document).trigger("db:accountphoto:photo_deleted"),m.log("web","account_photo_modal_start_over")},t.post_init_handler=function(){var n;return t.can_dragdrop?(n=e("#"+t.upload_button_id),n.on("dragenter",function(){return t._uploader_browse_button_disabled()?void 0:t.modal.setState({dragover:!0})}),n.on("dragleave drop",function(){return t.modal.setState({dragover:!1})}),t._disable_drag_drop_beyond_dropzone()):void 0},t.files_added_handler=function(e,n){var o,i,r,s,a,u,c,_,d;if(i=t.PHOTO_SOURCE.UPLOADER,t._uploader_browse_button_disabled()){for(_=[],r=0,a=n.length;a>r;r++)o=n[r],_.push(t.uploader.removeFile(o));return _}if(n.length>1){for(t._show_error(t.ERROR_MESSAGES.MULTIPLE_FILES,i),d=[],s=0,u=n.length;u>s;s++)o=n[s],d.push(t.uploader.removeFile(o));return d}return o=n[0],o.origSize>10*Math.pow(1024,2)?(t._show_error(t.ERROR_MESSAGES.SIZE_TOO_LARGE,i),t.uploader.removeFile(o)):(c=o.type,__indexOf.call(t.VALID_MIME_TYPES,c)<0?(t._show_error(t.ERROR_MESSAGES.UNSUPPORTED_EXTENSION,i),t.uploader.removeFile(o)):(t._show_loading("0"),t.uploader.settings.multipart_params.t=l.read(Constants.JS_CSRF_COOKIE),t.uploader.start()))},t.upload_progress_handler=function(e,n){return t._show_loading(n.percent)},t.error_handler=function(){return t._show_error(t.ERROR_MESSAGES.DEFAULT,t.PHOTO_SOURCE.UPLOADER)},t.file_uploaded_handler=function(e,n,o){var i,r;return r=JSON.parse(o.response),i=t.PHOTO_SOURCE.UPLOADER,null!=r.error_token&&r.error_token in t.ERROR_MESSAGES?t._show_error(t.ERROR_MESSAGES[r.error_token],i):null!=r.photo_url?t._show_photo_preview(r.photo_url,i):t._show_error(t.ERROR_MESSAGES.DEFAULT,i)},t.save_button_click_handler=function(){return e(document).trigger("db:accountphoto:flow_completed"),t._enable_drag_drop_beyond_dropzone(),m.log("web","account_photo_modal_save")},t._init_uploader=function(){var e,t;return e={t:l.read(Constants.JS_CSRF_COOKIE),is_xhr:!0},e[Constants.UID_PARAM_NAME]=u.get_viewer().get_users()[0].id,t={browse_button:this.upload_button_id,drop_element:this.upload_button_id,container:this.upload_container_id,url:"https://"+Constants.BLOCK_CLUSTER+"/upload_account_photo",file_data_name:"file",multipart_params:e,runtimes:this.runtime,flash_swf_url:Constants.static_url_moxie_swf,multi_selection:!1,init:{PostInit:this.post_init_handler,FilesAdded:this.files_added_handler,Error:this.error_handler,UploadProgress:this.upload_progress_handler,FileUploaded:this.file_uploaded_handler}},this.uploader=new window.plupload.Uploader(t),this.uploader.init()},t._show_loading=function(e){return t.can_upload&&t.uploader.disableBrowse(!0),t.modal.setState({mode:o.UPLOADING,percent_uploaded:e})},t._show_error=function(e,n){var i;return t.can_upload&&t.uploader.disableBrowse(!1),t.modal.setState({mode:o.ERROR,error_message:e}),i={source:n},m.log("web","account_photo_modal_error",i)},t._show_photo_preview=function(n,i){var r,s;return t.can_upload&&t.uploader.disableBrowse(!0),s=h.parse(n).updateQuery({size:"256x256"}).toString(),t.modal.setState({mode:o.CONFIRM,large_photo_url:s}),e(document).trigger("db:accountphoto:photo_set",{saved_photo_url:s}),r={source:i},m.log("web","account_photo_modal_photo_selected",r)},t._disable_event_propagation_and_behavior=function(e){return e.stopPropagation(),e.preventDefault()},t._disable_drag_drop_beyond_dropzone=function(){return e(document).on("dragenter dragover drop",t._disable_event_propagation_and_behavior)},t._enable_drag_drop_beyond_dropzone=function(){return e(document).off("dragenter dragover drop",t._disable_event_propagation_and_behavior)},t._uploader_browse_button_disabled=function(){return e('.moxie-shim input[type="file"]').prop("disabled")},t}()}),define("modules/clean/account_photo_modal/mode_enum",[],function(){var e;return e={SELECT:"select",ERROR:"error",UPLOADING:"uploading",CONFIRM:"confirm"}}),define("modules/clean/account_photo_modal/ui",["jquery","external/react","modules/clean/account_photo_modal/mode_enum","modules/clean/react/image","modules/clean/react/button","modules/clean/react/modal","modules/core/i18n"],function(e,t,n,o,i,r,s){var a,u,c,l,_;return c=i.button,u=r.Modal,_=s._,l=t.DOM,a=t.createClass({propTypes:{can_upload:t.PropTypes.bool,can_dragdrop:t.PropTypes.bool,upload_button_id:t.PropTypes.string,upload_container_id:t.PropTypes.string,chooser_button_click_handler:t.PropTypes.func,start_over_button_click_handler:t.PropTypes.func,save_button_click_handler:t.PropTypes.func,dismiss_handler:t.PropTypes.func},getInitialState:function(){return{mode:n.SELECT,error_message:null,percent_uploaded:null,large_photo_url:null,dragover:!1}},render:function(){return u({acceptButtonText:null,onDismiss:this.props.dismiss_handler,ref:"modal",style:"clean",width:700},l.div({id:this.props.upload_container_id,className:"add-account-photo-modal"},this.renderTopText(),this.renderCenterBox(),this.renderButtons()))},renderTopText:function(){var e;return e=function(){switch(!1){case this.state.mode!==n.CONFIRM:return l.span({},l.strong({},_("Looking good!"))," ",_("Your account photo has been set."));default:return _("Select an account photo so your friends and coworkers can recognize you around Dropbox.")}}.call(this),l.div({className:"top-text"},e)},renderCenterBox:function(){var e,t,i,r,s;switch(e=["center-box"],r="content",!1){case!this.state.dragover:e.push("green-box"),i=l.div({className:r},l.strong({},_("Drop file to upload")));break;case this.state.mode!==n.SELECT:e.push("gray-box"),this.props.can_dragdrop?(e.push("clickable"),t=l.div({},l.strong({},_("Drag and drop a photo")),l.br(),l.span({},_("Or click to choose from your computer")))):this.props.can_upload?(e.push("clickable"),t=_("Click to choose a photo from your computer")):t=_("Click an option below to choose a photo"),i=l.div({className:r},o({src:"account_photo/landscape.png",className:"landscape"}),l.br(),t);break;case this.state.mode!==n.ERROR:e.push("red-box"),this.props.can_upload&&e.push("clickable"),i=l.div({className:r},l.strong({},_("Error")),l.br(),this.state.error_message,l.br(),_("Please choose another photo."));break;case this.state.mode!==n.UPLOADING:e.push("gray-box"),s=this.state.percent_uploaded?_("%(percent_uploaded)s%(percent_symbol)s Uploading...",{comment:'"percent_symbol" will be substituted with an actual percent symbol'}).format({percent_symbol:"%",percent_uploaded:this.state.percent_uploaded}):_("Uploading..."),i=l.div({className:r},o({src:"icons/ajax-loading-small.gif",className:"loading"}),l.br(),s);break;case this.state.mode!==n.CONFIRM:e.push("white-box"),i=l.div({className:r},l.div({className:"avatar-component photo circle"},l.img({src:this.state.large_photo_url,className:"preview-photo"})))}return l.div({id:this.props.upload_button_id,className:e.join(" ")},l.div({className:"inner-container"},i))},renderButtons:function(){return this.state.mode===n.CONFIRM?l.div({},c({importance:"tertiary",id:this.props.upload_button_id,onClick:this.props.start_over_button_click_handler},_("Change photo")),c({importance:"primary",className:"left-margin",onClick:this.saveButtonClickHandler},_("Done"))):l.div({},c({importance:"tertiary",onClick:this.props.chooser_button_click_handler,disabled:this.state.mode===n.UPLOADING},_("Choose from Dropbox")))},saveButtonClickHandler:function(){return this.props.save_button_click_handler(),this.refs.modal.close()}})});var __hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};define("modules/clean/activity/activity",["modules/clean/activity/activity_user","modules/clean/activity/comment","modules/clean/activity/like","modules/clean/datetime","modules/core/exception"],function(e,t,n,o,i){var r,s,a,u,c,l;return a={ADD:0,EDIT:1,POST:2,FILE:3,COMMENT:4,NS_RELATED_EVENT:5},s={SHARED_LINK_VIEW:1,SHARED_LINK_LIGHTBOX:2,BROWSE_FILE_VIEWER:3,BROWSE_LIGHTBOX:4},l=function(e){return e===a.FILE?c:e===a.COMMENT?u:i.assert(!1,"Invalid activity type")},r=function(){function t(t){var o,i,r,s,a;this.activity_key=t.activity_key,this.activity_type=t.activity_type,this.activity_data=t.activity_data,this.when=t.when,this.feedback_off=t.feedback_off,i=t.comment_activity_dicts,s=t.like_dicts,a=t.owner,this.owner=new e(a),this.when_mses=1e3*this.when,this.comment_activities=function(){var e,t,n;for(n=[],e=0,t=i.length;t>e;e++)o=i[e],n.push(new u(o));return n}(),this.likes=function(){var e,t,o;for(o=[],e=0,t=s.length;t>e;e++)r=s[e],o.push(new n(r));return o}()}return t.prototype.when_pretty=function(){return o.ago(new Date(this.when_mses))},t.prototype._remove_comment_activity=function(e){return this.comment_activities=this.comment_activities.filter(function(t){return t.activity_key!==e.activity_key})},t.prototype._add_comment_activity=function(e){return this.comment_activities.push(e)},t.prototype._update_like=function(e,t){var o;return o=new n({liker_dict:e,when_mses:Date.now()}),t?this._add_like(o):this._remove_like(o)},t.prototype._remove_like=function(e){return this.likes=this.likes.filter(function(t){return t.liker.id!==e.liker.id})},t.prototype._add_like=function(e){return this.likes.push(e)},t}(),u=function(e){function n(e){n.__super__.constructor.call(this,e),this.comment=new t(e.comment)}return __extends(n,e),n}(r),c=function(t){function n(t){var o;n.__super__.constructor.call(this,t),this.ns_path=t.ns_path,this.file_icon=t.file_icon,this.users_to_notify=function(){var n,i,r,s;for(r=t.users_to_notify,s=[],n=0,i=r.length;i>n;n++)o=r[n],s.push(new e(o));return s}()}return __extends(n,t),n}(r),{ActivityType:a,ActivityContext:s,get_activity_class_by_type:l,Activity:r,CommentActivity:u,FileActivity:c}}),define("modules/clean/activity/activity_local_storage",["modules/clean/storage"],function(e){var t,n;return n="tmp-file-comments-",new(t=function(){function t(){}return t.prototype.get_store=function(t,o){var i;return i=e.SessionStorage.get(""+n+t),i&&i.activity_key===o&&(new Date).getTime()-i.time<3e5?i:null},t.prototype.clear_store=function(t){return e.SessionStorage.set(""+n+t,null)},t.prototype.set_store=function(t,o,i){return e.SessionStorage.set(""+n+t,{activity_key:o,comment_activity_key:i,time:(new Date).getTime()})},t}())});var __hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};define("modules/clean/activity/activity_store",["modules/clean/ajax","modules/clean/activity/activity","modules/clean/activity/like","modules/core/exception","modules/core/uri"],function(e,t,n,o){var i,r;return i=function(){function n(e,t){this.activity_context=e,this.activity_context_data=t}return n.prototype._activity_type=function(){return o.assert(!1,"Not implemented")},n.prototype._fetch_activity_url=function(){return o.assert(!1,"Not implemented")},n.prototype._comment_url=function(){return o.assert(!1,"Not implemented")},n.prototype._update_like_url=function(){return o.assert(!1,"Not implemented")},n.prototype._update_resolved_url=function(){return o.assert(!1,"Not implemented")},n.prototype._update_subscribe_url=function(){return o.assert(!1,"Not implemented")},n.prototype._update_feedback_setting_url=function(){return o.assert(!1,"Not implemented")},n.prototype._submit_product_feedback_url=function(){return o.assert(!1,"Not implemented")},n.prototype.gen_activities=function(e){var n,o,i,r,s;for(n=[],r=0,s=e.length;s>r;r++)i=e[r],o=t.get_activity_class_by_type(this._activity_type()),n.push(new o(i));return n},n.prototype._parse_activity=function(e,t){var n,o;return e=JSON.parse(e),o=e.payload,n=this.gen_activities([o]),1===(null!=n?n.length:void 0)&&"function"==typeof t?t(n[0]):void 0},n.prototype.fetch_activity=function(t,n,o){var i;return i=function(e){return function(t){return e._parse_activity(t,n)}}(this),e.WebRequestOref({url:this._fetch_activity_url(),type:"GET",data:{activity_context:this.activity_context,activity_context_data:this.activity_context_data,activity_type:this._activity_type()},success:i,error:o,subject_user:t.id})},n.prototype.add_comment=function(n,o,i,r,s,a){var u;return u=function(e){return e=JSON.parse(e),n._add_comment_activity(new t.CommentActivity(e.payload)),"function"==typeof s?s(e.payload):void 0},e.WebRequestOref({url:this._comment_url(),type:"POST",data:{activity_context:this.activity_context,activity_context_data:this.activity_context_data,comment_text:i,comment_meta_json:null!=r?JSON.stringify(r):null},success:u,error:a,subject_user:o.id})},n.prototype.delete_comment=function(n,o,i,r,s){var a;return a=function(e){e=JSON.parse(e),n._remove_comment_activity(new t.CommentActivity(e.payload)),"function"==typeof r&&r(e.payload)},e.WebRequestOref({url:"/file_activity/comment/delete",type:"POST",data:{comment_key:i,activity_context:this.activity_context,activity_context_data:this.activity_context_data},success:a,error:s,subject_user:o.id})},n.prototype.add_like=function(e,t,n,o){return this._update_like(e,t,!0,this._update_like_url(),n,o)},n.prototype.remove_like=function(e,t,n,o){return this._update_like(e,t,!1,this._update_like_url(),n,o)},n.prototype.add_comment_like=function(e,t,n,o){return this._update_like(e,t,!0,this._update_comment_like_url(),n,o)},n.prototype.remove_comment_like=function(e,t,n,o){return this._update_like(e,t,!1,this._update_comment_like_url(),n,o)},n.prototype._update_like=function(t,n,o,i,r,s){var a;return t._update_like(n,o),a=function(){return function(e){return t._update_like(n,!o),"function"==typeof s?s(e):void 0}}(this),e.WebRequestOref({url:i,type:"POST",data:{activity_key:t.activity_key,activity_context:this.activity_context,activity_context_data:this.activity_context_data,liked:o},success:r,error:a,subject_user:n.id})},n.prototype.update_subscribe=function(t,n,o,i,r,s){var a;return a=function(e){return function(t){return e._parse_activity(t,r)}}(this),e.WebRequestOref({url:this._update_subscribe_url(),type:"POST",data:{activity_context:this.activity_context,activity_context_data:this.activity_context_data,subscribed:o,target_user_identifier:i},success:a,error:s,subject_user:n.id})},n.prototype.update_feedback_setting=function(t,n,o,i,r,s){var a;return t.feedback_off=o,"function"==typeof i&&i(t),a=function(){return function(e){return t.feedback_off=!o,"function"==typeof i&&i(t),"function"==typeof s?s(e):void 0}}(this),e.WebRequestOref({url:this._update_feedback_setting_url(),type:"POST",data:{activity_context:this.activity_context,activity_context_data:this.activity_context_data,feedback_off:o},success:r,error:a,subject_user:n.id})},n.prototype.update_resolved=function(t,n,o,i,r){var s;return t.comment.resolved=o,s=function(){return function(e){return t.comment.resolved=!o,"function"==typeof r?r(e):void 0}}(this),e.WebRequestOref({url:this._update_resolved_url(),type:"POST",data:{activity_key:t.activity_key,activity_context:this.activity_context,activity_context_data:this.activity_context_data,resolved:o},success:i,error:s,subject_user:n.id})},n.prototype.submit_product_feedback=function(t,n,o,i){return e.WebRequestOref({url:this._submit_product_feedback_url(),type:"POST",data:{activity_context:this.activity_context,activity_context_data:this.activity_context_data,feedback_text:n},success:o,error:i,subject_user:t.id})},n}(),r=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return __extends(n,e),n.prototype._activity_type=function(){return t.ActivityType.FILE},n.prototype._fetch_activity_url=function(){return"/file_activity/file_activity"},n.prototype._comment_url=function(){return"/file_activity/comment"},n.prototype._update_like_url=function(){return"/file_activity/like"},n.prototype._update_comment_like_url=function(){return"/file_activity/comment/like"},n.prototype._update_resolved_url=function(){return"/file_activity/comment/resolve"},n.prototype._update_subscribe_url=function(){return"/file_activity/subscribe"},n.prototype._update_feedback_setting_url=function(){return"/file_activity/feedback_setting"},n.prototype._submit_product_feedback_url=function(){return"/file_activity/product_feedback"},n}(i),{ActivityStore:i,FileActivityStore:r}}),define("modules/clean/activity/activity_user",[],function(){var e;return e=function(){function e(e){e?(this.id=e.id,this.fname=e.fname,this.lname=e.lname,this.display_name=e.display_name,this.email=e.email,this.photo_url=e.photo_url,this.photo_circle_url=e.photo_circle_url,this.initials_url=e.initials_url,this.unique_id=e.unique_id,this.is_email_verified=e.is_email_verified,this.is_signed_in=!0):this.is_signed_in=!1}return e.prototype.get_display_identity=function(){return this.display_name?this.display_name:this.email},e.prototype.get_initials=function(){var e;return this.display_name?this.display_name.indexOf(" ")<0?this.display_name.substring(0,2):(e=this.display_name.split(" "),e.length>=3?e[0][0]+e[1][0]+e[2][0]:e[0][0]+e[e.length-1][0]):""},e.prototype.get_best_photo_url=function(){return this.is_signed_in?this.photo_circle_url?this.photo_circle_url:this.initials_url:"/static/images/avatar/faceholder-64@2x.png"},e}()}),define("modules/clean/activity/comment",["modules/clean/activity/activity_user","modules/clean/datetime"],function(e,t){var n;return n=function(){function n(t){var n;this.comment_gid=t.comment_gid,n=t.commenter_dict,this.comment_text=t.comment_text,this.raw_comment_text=t.raw_comment_text,this.when_mses=t.when_mses,this.resolved=t.resolved,this.comment_meta_json=t.comment_meta_json,this.commenter=new e(n)}return n.prototype.when_pretty=function(){return t.ago(new Date(this.when_mses))},n.prototype.has_metadata=function(){return null!=this.comment_meta_json},n.prototype.get_metadata_as_string=function(){var e;return e=JSON.parse(this.comment_meta_json),e.type+" "+e.index},n}()}),define("modules/clean/activity/file_viewer_state",["jquery","modules/clean/frame_messenger","modules/clean/activity/activity"],function(e,t,n){var o;return o=function(){function o(n){var o,i;o="pptx",i=document.title.length-o.length,this.isPptx=i>0&&document.title.lastIndexOf(o)===i,this.useInlineCommenting=this.isPptx&&"True"===e("#file-preview-modal").attr("data-is-pptx-commenting-allow"),this._currentContext=null,Object.defineProperty(this,"currentContext",{get:function(){return this._currentContext}}),this._frameMessenger=new t,this._frameMessenger.configureChildMessaging(this._getIframeQuery(n),e.proxy(this._handleMessageFromChild,this),["page-change"]),this._frameMessenger.startListening()}return o.prototype._updateCurrentContext=function(){return this._currentContext=this.useInlineCommenting&&this.currentPage>0?{type:"slide",index:""+this.currentPage}:null},o.prototype._getIframeQuery=function(e){switch(e){case n.BROWSE_FILE_VIEWER||n.BROWSE_LIGHTBOX:return".preview-content-container > iframe";case n.SHARED_LINK_VIEW||n.SHARED_LINK_LIGHTBOX:return".preview-box iframe";default:return null}},o.prototype._sanitizePageNumber=function(e){var t;return null==e?0:(t=parseInt(e),isNaN(t)?0:t)},o.prototype._handleMessageFromChild=function(e){var t,n;switch(e.action){case"page-change":if(t=this._sanitizePageNumber(e.parameters.current_page),n=this._sanitizePageNumber(e.parameters.pages_count),0>=t||0>=n)return;return this.currentPage=t,this._updateCurrentContext()}},o}()}),define("modules/clean/activity/like",["modules/clean/activity/activity_user","modules/clean/datetime"],function(e,t){var n;return n=function(){function n(t){var n;n=t.liker_dict,this.when_mses=t.when_mses,this.liker=new e(n)}return n.prototype.when_pretty=function(){return t.ago(new Date(this.when_mses))},n}()});var __hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},__bind=function(e,t){return function(){return e.apply(t,arguments)}};define("modules/clean/ajax",["jquery","external/underscore","modules/core/cookies","modules/core/exception","modules/core/html","modules/core/i18n","modules/core/notify","modules/core/uri","modules/clean/job_progress","modules/clean/storage","modules/clean/undo"],function(e,t,n,o,i,r,s,a,u,c,l){var _,d,h,p,f,m,g,v,y,b,w,E,S,T,C,k,O,x,A,R,N,I,P,L,M,D,U,B,F,q,H,j,W,G,$,V,K,z;return z=r._,P="err:",I="async_task_started:",N="async_task_err:",R="done:",x="oref",L=function(t,n){var o,i,r,s;return null==t&&(t={}),null==n&&(n=[]),null==t.type&&(null!=t.method?(("undefined"!=typeof Constants&&null!==Constants?Constants.IS_PROD:void 0)||console.log('Expected "type" attribute; received "method"'),r=t.method):r="POST",t.type=r),o=new f(t),i=V(o,n),s=e.ajax({url:i.url(),type:t.type,noDropboxDefaults:!0,data:i.data(),dataType:t.dataType||"text",traditional:!0,xhrFields:i.xhrFields(),success:function(e,t,n){return i.success(e,t,n)},error:function(e,t,n){return i.error(e,t,n)},complete:function(e,t){return i.complete(e,t)},ajax:t.ajax||!0}),i.request(s)},V=function(e,n){var o,i,r,s,a,u,c,l;for(i=[e],l=t(n.slice(0)).reverse(),s=0,u=l.length;u>s;s++)o=l[s],i.push(new o);for(r=null,a=0,c=i.length;c>a;a++)o=i[a],r&&(o.next=r),r=o;return r},f=function(){function e(e){null==e&&(e={}),this.options=function(){return e},this.url=function(){return String(e.url||"")},this.data=function(){return e.data||{}},this.xhrFields=function(){return e.xhrFields||{}},this.success=e.success||this.identity,this.error=e.error||this.identity,this.complete=e.complete||this.identity,this.request=this.identity}return e.prototype.identity=function(e){return e},e}(),v=function(){function e(){}return e.prototype.options=function(){return this.next.options()},e.prototype.url=function(){return this.next.url()},e.prototype.data=function(){return this.next.data()},e.prototype.xhrFields=function(){return this.next.xhrFields()},e.prototype.success=function(e,t,n){return this.next.success(e,t,n)},e.prototype.error=function(e,t,n){return this.next.error(e,t,n)},e.prototype.complete=function(e,t){return this.next.complete(e,t)},e.prototype.request=function(e){return this.next.request(e)},e}(),g=function(i){function r(){return r.__super__.constructor.apply(this,arguments)}return __extends(r,i),r.prototype.SUPPORTED_TLDS=["dropbox.com","carousel.com"],r.prototype.data=function(){var t;return o.assert(this._is_db_domain(),"injecting CSRF token into request to non-dropbox domain"),t={is_xhr:!0,t:n.read(Constants.JS_CSRF_COOKIE)||""},e.extend(t,this.next.data())},r.prototype._is_db_domain=function(){var e,n;return(e=a.parse(String(this.url())).authority)?(n=e.split("."),t.reduce(this.SUPPORTED_TLDS,function(e,t){var o,i;return i=t.split("."),o=n.slice(-1*i.length).join("."),e||t===o},!1)):!0},r}(v),U=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return __extends(t,e),t.prototype.data=function(){var e,t;return e=this.next.data(),t=this.options(),t.subject_user&&!e[Constants.UID_PARAM_NAME]&&(e[Constants.UID_PARAM_NAME]=String(t.subject_user)),e},t}(v),m=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return __extends(t,e),t.prototype.error=function(e,t,n){var o,i;return 403===e.status&&(o=c.SessionStorage.get("reload-timestamp"),i=(new Date).getTime(),(!o||i-o>3e4)&&(c.SessionStorage.set("reload-timestamp",i),window.location.reload(!0))),this.next.error(e,t,n)},t}(v),D=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return __extends(n,t),n.prototype.data=function(){var t;return t=this.next.data(),null!=e.ajaxSettings.restrict&&(t.restrict=e.ajaxSettings.restrict),t},n}(v),M=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return __extends(n,t),n.prototype.data=function(){var t,n;return t=this.next.data(),Constants.REQUEST_TRACING_ENABLED&&"post"===this.options().type.toLowerCase()?(n={parent_request_id:Constants.REQUEST_ID},e.extend(n,t)):t},n}(v),w=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return __extends(n,t),n.prototype.data=function(){var t,n;return t=this.next.data(),Constants.CPROFILE_ENABLED?(n={parent_request_id:Constants.REQUEST_ID,cProfile:Constants.CPROFILE_PARAMETER},e.extend(n,t)):t},n.prototype.success=function(e,t,n){return this._report_cprofile(e,t,n),this.next.success(e,t,n)},n.prototype._report_cprofile=function(t,n,o){var i,r,s;return i=e("#cprofile"),i.length?(r=this._build_cprofile_link(o),s=i.find(".ajax"),s.length>=10&&s.last().remove(),i.prepend(r)):void 0},n.prototype._build_cprofile_link=function(t){var n,o,i,r,s,u,c,l,_;if(o=t.getResponseHeader("X-Dropbox-Request-Id"),s=t.getResponseHeader("X-Server-Response-Time")||"-1",r={request_id:""+Constants.REQUEST_ID+"-"+o},u=this.url(),-1!==u.indexOf(Constants.BLOCK_CLUSTER))r.block=1;else for(_=Constants.BATCH_THUMB_ENDPOINTS,c=0,l=_.length;l>c;c++)if(n=_[c],-1!==u.indexOf(n)){r.block=1;break}return u=u.replace(/[^/]*\/\/[^/]+/,"").replace(/\?.*$/,""),i=e('').attr("href",String(a({path:"/profile/cprofile",query:r}))).text("Ajax: "+u+" ("+s+"ms)")},n}(v),E=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return __extends(n,t),n.prototype.data=function(){var t;return t=this.next.data(),Constants.GANDALF_PANEL?e.extend({gandalf_panel:1},t):t},n.prototype.success=function(e,t,n){return this._report_gandalf(e,t,n),this.next.success(e,t,n)},n.prototype._report_gandalf=function(t,n,o){var i;return e("#gandalf_panel").length&&"/gandalf_panel"!==this.url().substring(0,14)&&null!=(i=window.gandalf_panel)?i.add(this.url(),o.getResponseHeader("X-Dropbox-Request-Id")):void 0},n}(v),k=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return __extends(t,e),t.prototype.error=function(e,t,n){return this._log_error(e,t,n),this.next.error(e,t,n)},t.prototype._log_error=function(e,t){var n,o;if(!(0!==t&&400>t))return n={url:this.url(),response_code:e.status,source_type:"web",request_id:e.getResponseHeader("X-Dropbox-Request-Id")},o=a({path:"/web_response_code_log"}),h({url:o,data:n})},t}(v),b=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return __extends(n,t),n.prototype.error=function(e,t,n){return this._notify_dev(e,t,n),this.next.error(e,t,n)},n.prototype._notify_dev=function(t){var n,o,r;return!("undefined"!=typeof Constants&&null!==Constants?Constants.IS_PROD:void 0)&&500===t.status&&t.getResponseHeader("X-Debug-Url")?(r=t.getResponseHeader("X-Debug-Url"),n=e(""),n.text(s.DEFAULT_ERROR),o=e("",{href:r,target:"_blank"}).text(z("View debug")),n.append(" ").append(o),s.error(new i(n.html()))):void 0},n}(v),B=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return __extends(t,e),t.prototype.success=function(e,t,n){var o;return n.responseText.length?0===n.responseText.indexOf(P)?(o=n.responseText.substr(P.length),s.error(o),this.next.error(n,t,"server error response")):this.next.success(e,t,n):this.next.error(n,t,"empty response")},t}(v),F=function(e){function t(){return this._clear_working_msg=__bind(this._clear_working_msg,this),t.__super__.constructor.apply(this,arguments)}return __extends(t,e),t.prototype.request=function(e){return this.xhr=e,setTimeout(function(e){return function(){return e._request_finished()?void 0:e._should_show_working_msg()?(e._show_working_msg(),e.xhr.done(e._clear_working_msg)):void 0}}(this),4e3),this.next.request(this.xhr)},t.prototype._request_finished=function(){return 4===this.xhr.readyState},t.prototype._should_show_working_msg=function(){return s.isShown()&&s.current()!==l.undo_notification},t.prototype._show_working_msg=function(){return this.notification=s.success(z("Still working..."))},t.prototype._clear_working_msg=function(){return s.isShown()&&this.notification===s.current()?s.clear():void 0},t}(v),A=function(t){function n(){return this._watch=__bind(this._watch,this),n.__super__.constructor.apply(this,arguments)}return __extends(n,t),n.prototype.data=function(){var t,o;return this.job_id=n.generate_job_id(),t=this.next.data(),this.uid=t[Constants.UID_PARAM_NAME],o=this.options().subject_user,!this.uid&&o&&(this.uid=String(o)),e.extend({job_id:this.job_id},t)},n.prototype.request=function(e){return this._interval=1e3,this._failures=0,this._watch_count=0,this._watch_id=setInterval(this._watch,this._interval),this.next.request(e)},n.prototype.success=function(e,t,n){return this.next.success(e,t,n)},n.prototype.error=function(e,t,n){return this.next.error(e,t,n)},n.prototype.complete=function(e,t){return this._stop(),u.Job.handled(this.job_id),this.next.complete(e,t)},n.prototype._watch=function(){return u.Job.peek(this.job_id)?this._stop():(this._watch_count++,this._watch_count%10===0&&(clearInterval(this._watch_id),this._interval=Math.min(Math.floor(1.5*this._interval),3e4),this._watch_id=setInterval(this._watch,this._interval)),this._show_progress_modal(),this._fetch_progress())},n.prototype._stop=function(){return clearInterval(this._watch_id),u.ModalProgress.hide()},n.prototype._show_progress_modal=function(){return this._modal_shown?void 0:(this._modal_shown=!0,u.ModalProgress.show(this.options().progress_text))},n.prototype._fetch_progress=function(){var e;return e={},this.uid&&(e[Constants.UID_PARAM_NAME]=this.uid),p({url:"/job_status/"+this.job_id,data:e,success:function(){return function(e,t,n){var o;return o=0===n.responseText.indexOf("done")?"1/1":n.responseText,u.ModalProgress.update(o)}}(this),error:function(e){return function(t,n,o){return e._failures++,e._failures<3?void 0:(e._stop(),e.next.error(t,n,o))}}(this)})},n.generate_job_id=function(){var e,t,n;return e=new Date,n=e.getTime().toString(),t=Math.floor(1e6*Math.random()).toString().lpad(6),n+t},n}(v),d=function(e){function t(){return this._watch=__bind(this._watch,this),t.__super__.constructor.apply(this,arguments)}return __extends(t,e),t.prototype.data=function(){var e,t;return e=this.next.data(),this.uid=e[Constants.UID_PARAM_NAME],t=this.options().subject_user,!this.uid&&t&&(this.uid=String(t)),e},t.prototype.success=function(e,t,n){return this._is_async_job_response(n)?(this.job_id=n.responseText.split(":")[1],this._interval=1e3,this._failures=0,this._watch_count=0,this._watch_id=setInterval(this._watch,this._interval)):this.next.success(e,t,n)},t.prototype.complete=function(e,t){return this._is_async_job_response(e)?void 0:this.next.complete(e,t)},t.prototype._is_async_job_response=function(e){var t,n;return 0!==(null!=(n=e.responseText)?n.indexOf(I):void 0)?!1:(t=e.responseText.split(":")[1],t.match(/^[A-Za-z0-9_\-=]*$/))},t.prototype._watch=function(){return u.Job.peek(this.job_id)?this._stop():(this._watch_count++,this._watch_count%10===0&&(clearInterval(this._watch_id),this._interval=Math.min(Math.floor(1.5*this._interval),3e4),this._watch_id=setInterval(this._watch,this._interval)),this._show_progress_modal(),this._fetch_progress())},t.prototype._stop=function(){return clearInterval(this._watch_id),u.ModalProgress.hide()},t.prototype._show_progress_modal=function(){return this._modal_shown?void 0:(this._modal_shown=!0,u.ModalProgress.show(this.options().progress_text))},t.prototype._fetch_progress=function(){var e;return e={},this.uid&&(e[Constants.UID_PARAM_NAME]=this.uid),p({url:"/async_task_status/"+this.job_id,data:e,success:function(e){return function(t,n,o){var r,a,c;return c=o.responseText,0===c.indexOf(R)?(u.Job.handled(e.job_id),
e._stop(),c=c.substr(R.length),o.responseText=c,e.next.success(c,n,o),e.next.complete(o,n)):0===c.indexOf(P)?(u.Job.handled(e.job_id),e._stop(),r=c.substr(P.length),s.error(r),e.next.error(o,n,"server error response"),e.next.complete(o,n)):0===c.indexOf(N)?(u.Job.handled(e.job_id),e._stop(),a=c.substr(N.length),s.error(new i(a)),e.next.complete(o,n)):u.ModalProgress.update(c)}}(this),error:function(e){return function(t,n,o){return e._failures++,e._failures<3?void 0:(e._stop(),e.next.error(t,n,o),e.next.complete(t,n))}}(this)})},t}(v),_=[U,g,m,D],h=function(e){return null==e&&(e={}),L(e,_)},O=[F],y=[k,b,E,w,M],C=[d],H=[].concat(O,[B],y,_,C),G=function(e){return null==e&&(e={}),L(e,H)},$=function(e){var t;return null==e&&(e={}),t=a.parse(document.URL).getQuery()[x],t&&(e.data||(e.data={}),e.data[x]=t),L(e,H)},S=[].concat(O,y,_,C),T=function(e){return null==e&&(e={}),L(e,S)},j=[].concat(O,[B],y,_,[A],C),W=function(e){return null==e&&(e={}),L(e,j)},p=function(e){return null==e&&(e={}),L(e,[].concat(y,_))},q=function(t){var n,o,i;return null==t&&(t={}),n=new f(t),o=V(n,_),i=e.ajax({url:o.url(),type:"OPTIONS",noDropboxDefaults:!0,data:o.data(),success:function(e,t,n){return o.success(e,t,n)},error:function(e,t,n){return o.error(e,t,n)},complete:function(e,t){return o.complete(e,t)}}),o.request(i)},K={Request:L,AuthenticatedRequest:h,BackgroundRequest:p,WebRequest:G,WebRequestOref:$,FormWebRequest:T,WebProgressRequest:W,ValidationSchemaRequest:q}}),define("modules/clean/analytics",["jquery","modules/clean/viewer","modules/clean/ajax"],function(e,t,n){var o,i,r,s,a,u,c,l,_,d,h,p,f,m,g;return g=function(e){var n,o,i;return i=new t(Constants._viewer_properties),n=e?[e]:function(){var e,t,n,r;for(n=i.get_users(),r=[],e=0,t=n.length;t>e;e++)o=n[e],r.push(o.id);return r}()},o={log:function(e,t){var o,i,r,s,a;for(r=0,s=0,a=e.length;a>s;s++)o=e[s],o.dir&&r++;return i=e.length-r,n.AuthenticatedRequest({url:"/browse_actions_context_menu_logger",data:{file_count:i,folder_count:r,action:t}})}},i={log:function(e,t){return null==t&&(t={}),n.AuthenticatedRequest({url:"/preview_activity_log",data:{event_name:e,input_method:t.input_method,file_ext:t.file_ext,extra:t.extra}})}},r={log:function(e,t,o,i,r,s){return n.AuthenticatedRequest({url:"/preview_quality_popup_logger",subject_user:t,data:{event_name:e,file_nsid:o,file_sjid:i,extension:r,doc_preview_status:s}})}},s={log:function(e,t,o){return null==o&&(o={}),n.AuthenticatedRequest({url:"/searchclientlogger",subject_user:t,data:{event_name:e,action_type:o.action_type,displayed:o.displayed,failure_type:o.failure_type,file_nsid:o.file_nsid,file_sjid:o.file_sjid,firefly:o.firefly,infinite_scroll:o.infinite_scroll,latency:o.latency,match_type:o.match_type,path_scoped:o.path_scoped,position:o.position,query_string:o.query_string,request_id:o.request_id,result_count:o.result_count,search_type:o.search_type,viewport:o.viewport}})}},a={flow_id:null,log:function(e,t,o,i,r){var s;return null==o&&(o=null),null==i&&(i={}),null==r&&(r=!1),(r||null===this.flow_id)&&(s=new Date,this.flow_id=s.getTime().toString()+Math.random().toString(),this.flow_id=this.flow_id.replace(".","")),n.AuthenticatedRequest({url:"/sflogger",data:{platform:e,event_name:t,extra:JSON.stringify(i),active_uid:null!=o?o.id:null,flow_id:this.flow_id}})}},u={log:function(e,t,o){return new n.AuthenticatedRequest({url:"/shmuilog",data:{evt:e,origin:t,target_item:o}})},log_with_target_file:function(e,t,n){return this.log(e,t,this.get_target_item(n))},get_target_item:function(e){return e.dir?e.is_shared_folder()?"folder-is-sf":e.could_be_shared_folder()?"folder-can-sf":"folder-no-sf":"file"}},_={log:function(e,t,o,i){var r;return null==i&&(i=null),r=g(i),n.AuthenticatedRequest({url:"/teamswalogger",data:{event_name:e,extra:JSON.stringify(t),for_uids:JSON.stringify(r)},success:o?o:void 0,error:o?o:void 0})}},d={log:function(e,t,o,i){var r;return null==i&&(i=null),r=g(i),n.AuthenticatedRequest({url:"/ualogger",data:{platform:e,event_name:t,extra:JSON.stringify(o),for_uids:JSON.stringify(r)}})}},h={log:function(e,t,o,i){return n.AuthenticatedRequest({url:"/virallogger",data:{user_ids:JSON.stringify(e),viral_type:t,action:o,extra:JSON.stringify(i||{})}})}},c={log:function(e,t){return n.AuthenticatedRequest({url:"/simplesharinglogger",data:{active_uid:e,simple_sharing_action:t}})}},f={log:function(e,t,o){var i;return null==o&&(o=null),i=g(o),n.AuthenticatedRequest({url:"/misclogger",data:{event_name:e,extra:JSON.stringify(t),for_uids:JSON.stringify(i)}})}},l={_log:function(e,t){return null==t&&(t={}),n.AuthenticatedRequest({url:"/support_experiments_log",data:{event_name:e,extra:JSON.stringify(t)}})},log_file_restore:function(e){return this._log("file_restore",{ref:e})}},p={VIEW:"view",SOCIAL_SHARE_VIEW:"social_share_view",SOCIAL_SHARE_FACEBOOK:"social_share_facebook",SOCIAL_SHARE_TWITTER:"social_share_twitter",SOCIAL_SHARE_GET_LINK:"social_share_get_link",SOCIAL_SHARE_SELECT_INLINE_LINK:"social_share_select_inline_link",log:function(e,t,o){var i;return null==o&&(o=null),i=g(o),n.AuthenticatedRequest({url:"/web_lightbox_log",data:{event_name:e,extra:JSON.stringify(t),for_uids:JSON.stringify(i)}})}},m={BrowseActionsContextMenuLogger:o,PreviewQualityPopupLogger:r,PreviewActivityLogger:i,SearchClientActivityLogger:s,SharedFolderActivityLogger:a,ShmodelUILogger:u,SupportExperimentsWebLogger:l,TeamsWebActionsLogger:_,UserActivityLogger:d,ViralLogger:h,SimpleSharingLogger:c,WebLightboxLogger:p,WebMiscActivityLogger:f},INLINE_JS.TeamsWebActionsLogger=_,INLINE_JS.ShmodelUILogger=u,m}),define("modules/clean/avatar/size",[],function(){var e,t,n;return e={XSMALL:16,SMALL:24,MEDIUM:32,LARGE:48,XLARGE:64},t=function(){var t;t=[];for(n in e)t.push(e[n]);return t}(),{AVATAR_DIMENSION_BY_SIZE:e,VALID_AVATAR_DIMENSIONS:t}}),define("modules/clean/avatar/style",["modules/clean/avatar/size"],function(e){var t,n;return t=e.VALID_AVATAR_DIMENSIONS,n=function(e){var t,n;for(t=5381*e.length,n=0;nr;){if(t=a.charCodeAt(r),o=null,128>t)i++;else if(t>127&&2048>t)o=String.fromCharCode(t>>6|192,63&t|128);else if(t&!0)o=String.fromCharCode(t>>12|224,t>>6&63|128,63&t|128);else{if(t&!0)throw new RangeError("Unmatched trail surrogate at "+r);if(n=a.charCodeAt(++r),n&!0)throw new RangeError("Unmatched lead surrogate at "+(r-1));t=((1023&t)<<10)+(1023&n)+65536,o=String.fromCharCode(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}null!==o&&(i>s&&(c+=a.slice(s,i)),c+=o,s=i=r+1),r++}return i>s&&(c+=a.slice(s,u)),c},o=function(e){var t,n,o,i,r,s;for(s=[],r=0,t=0,n=0,o=0,i=0,e+="";rn?(s[t++]=String.fromCharCode(n),r++):n>191&&224>n?(o=e.charCodeAt(r+1),s[t++]=String.fromCharCode((31&n)<<6|63&o),r+=2):(o=e.charCodeAt(r+1),i=e.charCodeAt(r+2),s[t++]=String.fromCharCode((15&n)<<12|(63&o)<<6|63&i),r+=3);return s.join("")},t=function(e){var t,n,o,i,r,s,a,u,c,l,_,d,h,p;if(n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l=void 0,_=void 0,d=void 0,r=void 0,s=void 0,a=void 0,u=void 0,o=void 0,c=0,t=0,i="",p=[],!e)return e;for(;;)if(l=e.charCodeAt(c++),_=e.charCodeAt(c++),d=e.charCodeAt(c++),o=l<<16|_<<8|d,r=o>>18&63,s=o>>12&63,a=o>>6&63,u=63&o,p[t++]=n.charAt(r)+n.charAt(s)+n.charAt(a)+n.charAt(u),!(c>16&255,f=r>>8&255,m=255&r,g[n++]=64===l?String.fromCharCode(p):64===_?String.fromCharCode(p,f):String.fromCharCode(p,f,m),!(d",{id:"flash_copy_container"}).append(e("
",{id:_})).css({position:"absolute",zIndex:1}),r(c,o),u.append(c),t.clone_position(c,o,{}),l=s(_,a),window.copyLoaded=function(){return function(){var t;return t=e("#"+_)[0],t.setCopyText(n),t.setCallbackFunction(l)}}(this),window.swfobject.embedSWF(Constants.static_url_copy_clipboard_swf,_,"100%","100%","6.0.65",!1,!1,{wmode:"transparent",scale:"exactfit",allowScriptAccess:"always"}),c},o={clipboard_overlay:n}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}};define("modules/clean/components/ajax_form",["jquery","modules/core/dom","modules/core/exception","modules/core/html","modules/core/notify","modules/clean/ajax","modules/clean/validators/validators"],function(e,t,n,o,i,r,s){var a,u;return u=n.assert,a=function(){function n(e,n,o){this.$container=e,this.do_before_submitting=n,this._clear_pending=__bind(this._clear_pending,this),this._clear_errors=__bind(this._clear_errors,this),this._handle_errors=__bind(this._handle_errors,this),this._on_error=__bind(this._on_error,this),this._on_success=__bind(this._on_success,this),this._submit_form=__bind(this._submit_form,this),this._install_schema=__bind(this._install_schema,this),o=o||{},this.$form="FORM"===this.$container.prop("tagName")?this.$container:this.$container.find("form"),this.$form.submit(this._submit_form),this.$submit_button=this.$form.find("[type='submit']"),t.set_controller(this.$form,this),this.schema={},this.should_validate=o.client_side_validation,this.should_submit_once=o.should_submit_once,this.should_validate&&this._fetch_schema()}return n.SUCCESS_EVENT="db:ajaxform:success",n.ERROR_EVENT="db:ajaxform:error",n.extract_errors=function(e){var t,n;if(0!==e.indexOf("err:"))return!1;e=e.substr(4);try{return t=JSON.parse(e)}catch(o){return n=o,"string"==typeof e?e:i.DEFAULT_ERROR}},n.clear_errors=function(e){return e.find(".input-error").removeClass("input-error"),e.find(".error-message").remove()},n.fill_errors=function(t,n){var o,i,r,s;s=[];for(i in n)r=n[i],o=e("",{"class":"error-message"}),r.message_html?o.html(r.message_html):o.text(r.message_text),o.insertBefore(t.find("[data-error-field-name='"+i+"']")),s.push(t.find("input[name='"+i+"'], input[data-encrypted-name='"+i+"']").addClass("input-error"));return s},n.prototype._install_schema=function(t){var n,o;try{n=JSON.parse(t)}catch(i){o=i}return e.each(n,function(e){return function(t,n){return n?e.schema[t]=s.create(n):void 0}}(this))},n.prototype._fetch_schema=function(){return r.ValidationSchemaRequest({url:this.$form.attr("action"),success:function(e){return function(t){return e._install_schema(t)}}(this)})},n.prototype.reset=function(){var t,n,o,i,r;for(i=this.$form.find("input"),r=[],n=0,o=i.length;o>n;n++)t=i[n],r.push(e(t).closest(".text-input").val(t.defaultValue));return r},n.prototype.set_input_value=function(e,t){return this.$form.find("input[name='"+e+"']").closest(".text-input").val(t)},n.prototype._get_form_data=function(){var t,n,o,i,r,s,a;for(t={},a=this.$form.find("input, select, textarea"),r=0,s=a.length;s>r;r++)n=a[r],o=e(n).attr("name"),o&&(i="checkbox"===e(n).attr("type")?e(n).prop("checked")?"True":"":e(n).val(),u(!(o in t),"found multiple inputs with the same name"),t[o]=i);return t},n.prototype._validate=function(t){var n,o;return this.should_validate?(n={},o=!0,e.each(t,function(e){return function(i,r){var s;if(e.schema[i])try{return e.schema[i].validate(r,{field:i,data:t,errors:n})}catch(a){return s=a,o=!1,n[i]={message_text:s.message}}}}(this)),o?null:n):null},n.prototype._submit_form=function(e){var t;return e.preventDefault(),"function"==typeof this.do_before_submitting&&this.do_before_submitting(),this._clear_errors(),this.$form.prop("disabled",!0),this.$form.addClass("ajax-loading"),this.$submit_button.prop("disabled",!0),t=this._validate(this._get_form_data()),t?this._handle_errors(t):this.send_request()},n.prototype.send_request=function(){return r.FormWebRequest({url:this.$form.attr("action"),data:this._get_form_data(),success:this._on_success,error:this._on_error,complete:this._on_complete})},n.prototype._on_success=function(e,t,o){var r,s,a,u;if(a=o.responseText,r=n.extract_errors(a),r!==!1)return void this._handle_errors(r);try{s=JSON.parse(a)}catch(c){return u=c,this.$form.trigger(n.ERROR_EVENT),i.error(),void this._clear_pending(!0)}return this.$form.trigger(n.SUCCESS_EVENT,s),this._clear_pending(!this.should_submit_once)},n.prototype._on_error=function(){return i.error(),this._clear_pending(!0)},n.prototype._handle_errors=function(e){return"string"==typeof e?(i.error(new o(e)),void this._clear_pending(!0)):(n.fill_errors(this.$form,e),this._clear_pending(!0),this.$form.trigger(n.ERROR_EVENT,e))},n.prototype._clear_errors=function(){return this.$form.find(".error-message").remove(),this.$form.find("input").removeClass("input-error")},n.prototype._clear_pending=function(e){return this.$form.removeClass("ajax-loading"),e?(this.$form.prop("disabled",!1),this.$submit_button.prop("disabled",!1)):void 0},n}()});var __bind=function(e,t){return function(){return e.apply(t,arguments)}};define("modules/clean/components/bubble_dropdown",["jquery"],function(e){var t;return t=function(){function t(n,o,i,r){this.$root=n,this.arrow_direction=o,this.top_adjustment=null!=r?r:0,this._hide_bubble=__bind(this._hide_bubble,this),this._show_bubble=__bind(this._show_bubble,this),this._toggle_bubble=__bind(this._toggle_bubble,this),this._on_global_hover=__bind(this._on_global_hover,this),this._on_mouseout=__bind(this._on_mouseout,this),this._on_mouseover=__bind(this._on_mouseover,this),this.openDropdown=__bind(this.openDropdown,this),this.closeDropdown=__bind(this.closeDropdown,this),this.$target=this.$root.find(".bubble-dropdown-target"),this.$dropdown=this.$root.find(".bubble-dropdown"),this.$arrow_anchor=this.$root.find(".bubble-dropdown-arrow-anchor"),this.$arrow=this.$dropdown.find(".bubble-arrow"),this.target_position={top:"bottom",left:"right",bottom:"top",right:"left"}[this.arrow_direction],i?(this.$target.on("mouseover",this._on_mouseover),this.$dropdown.on("mouseover",this._on_mouseover),this.$target.on("mouseout",this._on_mouseout),this.$dropdown.on("mouseout",this._on_mouseout),e(document).on(t.HOVER_SHOWN,this._on_global_hover)):(this.$target.click(this._toggle_bubble),e("body").on("click",function(t){return function(n){var o;return e(n.target).is("select")?!0:(o=e(n.target).closest(t.$target).length||e(n.target).closest(t.$dropdown).length,o||t._hide_bubble(),!0)}}(this)))}return t.HOVER_SHOWN="bubble:hover:shown",t.prototype._dropdown_shown=!1,t.prototype.closeDropdown=function(){return this._dropdown_shown?this._hide_bubble():void 0},t.prototype.openDropdown=function(){return this._dropdown_shown?void 0:this._show_bubble()},t.prototype._on_mouseover=function(){return e(document).trigger(t.HOVER_SHOWN,this.$target),this._show_bubble(),clearTimeout(this.$dropdown.data("timeout_id"))},t.prototype._on_mouseout=function(){var e;return e=setTimeout(this._hide_bubble,200),this.$dropdown.data("timeout_id",e)},t.prototype._on_global_hover=function(e,t){return this._dropdown_shown&&t!==this.$target?(this._hide_bubble(),clearTimeout(this.$dropdown.data("timeout_id"))):void 0},t.prototype._toggle_bubble=function(){return this._dropdown_shown?this._hide_bubble():this._show_bubble(),!0},t.prototype._show_bubble=function(){var e,t,n,o,i,r;if(!this.$target.hasClass("disabled")){switch("right"===this.arrow_direction?this.$dropdown.css("display","block"):this.$dropdown.css("display","inline-block"),r=this.$arrow.outerWidth(),t=this.$arrow.outerHeight()-this.top_adjustment,i=this.$arrow.position().top,n=this.$arrow.position().left,this.arrow_direction){case"left":e="left+"+r+"px top-"+i+"px";break;case"right":e="right-"+r+"px top-"+i+"px";break;case"top":e="left-"+n+"px top+"+t+"px";break;case"bottom":e="left-"+n+"px bottom-"+t+"px"}return o={my:e,at:this.target_position,of:this.$arrow_anchor.length?this.$arrow_anchor:this.$target,collision:"none"},this.$dropdown.position(o),this.$dropdown.position(o),this._dropdown_shown=!0}},t.prototype._hide_bubble=function(){return this.$dropdown.hide(),this._dropdown_shown=!1},t}()});var __bind=function(e,t){return function(){return e.apply(t,arguments)}};define("modules/clean/components/bubble_picker",["jquery"],function(e){var t;return t=function(){function t(e){this.$bubble_picker=e,this.enable_option=__bind(this.enable_option,this),this.disable_option=__bind(this.disable_option,this),this.show_dropdown=__bind(this.show_dropdown,this),this.hide_dropdown=__bind(this.hide_dropdown,this),this.set_value=__bind(this.set_value,this),this._listen=__bind(this._listen,this),this.$label_wrapper=this.$bubble_picker.find(".bubble-picker-label-wrapper"),this.$label=this.$bubble_picker.find(".bubble-picker-label"),this.$dropdown=this.$bubble_picker.find(".bubble-picker-dropdown"),this._dropdown_shown=!1,this._listen()}return t.CHANGED="db:bubblepicker:changed",t.prototype._listen=function(){return e(document).click(function(t){return function(n){var o,i;return i=e(n.target).closest(t.$label_wrapper).length>0,o=e(n.target).closest(t.$dropdown).length>0,t._dropdown_shown&&!o?t.hide_dropdown():i?t.show_dropdown():void 0}}(this)),this.$dropdown.find(".bubble-picker-option:not('.disabled')").click(function(n){return function(o){var i,r;return i=e(o.currentTarget),i.hasClass("disabled")?void 0:(r=n.get_value(),n.set_value(i.data("value")),n.$bubble_picker.trigger(t.CHANGED,{clicked_val:i.data("value"),old_val:r}),n.hide_dropdown())}}(this))},t.prototype.get_value=function(){return this.$bubble_picker.attr("data-selected-value")},t.prototype.set_value=function(e){var t;return this.$bubble_picker.attr("data-selected-value",e),this.$label.empty(),t=this.$bubble_picker.find("[data-value='"+e+"']"),this.$label.html(t.clone().html())},t.prototype.hide_dropdown=function(){return this.$dropdown.hide(),this._dropdown_shown=!1},t.prototype.show_dropdown=function(){return this.$dropdown.show(),this._dropdown_shown=!0},t.prototype.disable_option=function(t,n){var o,i;return i=this.$bubble_picker.find(".bubble-picker-option[data-value="+t+"]:not('.disabled')"),i.length>0&&(o=e(i.find(".role-option")),o.attr("saved-title",o.attr("title")),o.attr("title",n)),i.addClass("disabled")},t.prototype.enable_option=function(t){var n,o;return o=this.$bubble_picker.find(".bubble-picker-option.disabled[data-value="+t+"]"),n=e(o.find(".role-option")),n.attr("saved-title")&&(n.attr("title",n.attr("saved-title")),n.removeAttr("saved-title")),o.removeClass("disabled")},t}()});var __bind=function(e,t){return function(){return e.apply(t,arguments)}},__hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};define("modules/clean/components/input",["jquery","modules/clean/components/tabbable","modules/core/i18n"],function(e,t,n){var o,i,r;return r=n._,i=function(t){function n(t){this.$text_input=t,this._on_change=__bind(this._on_change,this),this.persistent_label=this.$text_input.is(".label-above"),this.$input=this.$text_input.find(".text-input-input"),this.$text_input.data("input-element",this.$input),this.$label=this.$text_input.find("label"),this.$text_input.find(".error-message").length&&this.$input.addClass("input-error"),this.$text_input.each(function(){return this.type="textinput"}),e.valHooks.textinput={get:function(){return function(t){return e(t).data("input-element").val()}}(this),set:function(){return function(t,n){return e(t).data("input-element").val(n),e(t).data("input-element").trigger("input")}}(this)},this.$text_input.focus(function(e){return function(){return setTimeout(function(){return e.$input.focus()},0)}}(this)),e(".autofocus").first().focus(),this._listen(),this._on_change(),n.__super__.constructor.call(this)}return __extends(n,t),n.prototype._listen=function(){return this.$input.on("keydown keyup paste input blur",function(e){return function(){return e._on_change()}}(this)),this.$input.on("blur",function(e){return function(t){return e.$text_input.trigger(t)}}(this)),this.$input.on("focus",function(e){return function(){return e.$input.removeClass("input-error")}}(this))},n.prototype._on_change=function(){return this.persistent_label?void 0:this.$label.toggle(!this.$input.val())},n}(t),o=function(t){function n(e){this.$text_input=e,this._on_change=__bind(this._on_change,this),this.$bubble_title=this.$text_input.find(".password-bubble-title"),this.$bubble_desc=this.$text_input.find(".password-bubble-desc"),this.$meter=this.$text_input.find(".password-input-meter"),this.$default_bubble_text=this.$bubble_desc.text(),this.$last_pwd="",require(["external/zxcvbn"]),n.__super__.constructor.call(this,this.$text_input)}return __extends(n,t),n.prototype._on_change=function(){var e,t,o,i,s;return t=this.$input.val(),this.$last_pwd!==t?(this.$last_pwd=t,"correcthorsebatterystaple"===t||"Tr0ub4dour&3"===t||"Tr0ub4dor&3"===t?(o=0,i=r("lol",{comment:"'lol'='laugh out loud'"}),this.$bubble_title.text(i),"correcthorsebatterystaple"===t?(e=r("Whoa there, don't take advice from a webcomic too literally ;)",{comment:"This text is displayed rarely, whenever a user selects a password that is from this comic: http://imgs.xkcd.com/comics/password_strength.png"}),this.$bubble_desc.text(e)):(e=r("Guess again",{comment:"this text is displayed rarely, whenever a user selects a password that is from this comic: http://imgs.xkcd.com/comics/password_strength.png"}),this.$bubble_desc.text(e))):(s=["",r("Weak"),r("So-so"),r("Good"),r("Great!")],o=this._score(t),i=s[o],this.$bubble_title.text(i),this.$bubble_desc.text(this.$default_bubble_text)),this.$meter.find(".password-input-dot").removeClass("password-input-dot-selected"),this.$meter.find(".password-input-dot").slice(4-o,4).addClass("password-input-dot-selected"),n.__super__._on_change.apply(this,arguments)):void 0},n.prototype._get_user_inputs=function(){var t,n,o,i,r;for(n=["dropbox"],r=this.$text_input.closest("form").find("input[type=text], input[type=email]"),o=0,i=r.length;i>o;o++)t=r[o],n.push(e(t).val());return n},n.prototype._score=function(e){return window.zxcvbn&&e?Math.max(1,zxcvbn(e,this._get_user_inputs()).score):0},n}(i),{TextInput:i,PasswordWatchInput:o}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}};define("modules/clean/components/login_form",["jquery","modules/core/html","modules/core/i18n","modules/core/notify","modules/clean/ajax","modules/clean/captcha","modules/clean/components/ajax_form","modules/clean/sso_login_checks","modules/core/browser"],function(e,t,n,o,i,r,s,a,u){var c,l;return l=n._,c=function(){function n(e,t,n){if(this.multi_login=t,this.variant=n,this._finish_login=__bind(this._finish_login,this),this._fill_two_factor_error=__bind(this._fill_two_factor_error,this),this._fill_login_error=__bind(this._fill_login_error,this),this._resend_code=__bind(this._resend_code,this),this._resend_code_success=__bind(this._resend_code_success,this),this._two_factor_success=__bind(this._two_factor_success,this),this._login_success=__bind(this._login_success,this),this._show_two_factor=__bind(this._show_two_factor,this),this._show_login=__bind(this._show_login,this),this._hide_sso=__bind(this._hide_sso,this),this._show_sso=__bind(this._show_sso,this),this.$login_form=e.find(".login-form"),this.$two_factor_form=e.find(".two-factor-form"),this.login_controller=new s(this.$login_form),this.$captcha_component=new r(this.$login_form,"#react-login-recaptcha-challenge-div","#react-signup-recaptcha-challenge-div","/needs_captcha","login_email",this.variant),this.$login_form.on(s.SUCCESS_EVENT,this._login_success),this.$login_form.on(s.ERROR_EVENT,this.$captcha_component.captcha_display_handler),this.$login_form.is(":visible")&&this.$captcha_component.captcha_display_handler(),this.cont=this.$login_form.find("input[name='cont']").val(),this.two_factor_controller=new s(this.$two_factor_form),this.$two_factor_form.on(s.SUCCESS_EVENT,this._two_factor_success),this.$two_factor_form.find(".resend-two-factor-code").click(this._resend_code),this.$login_form.find(".sso-optout a").click(function(e){return function(){return e._hide_sso(!0)}}(this)),this.$login_form.find(".login-button").attr("disabled",!1),this.$login_form.find("input[name='login_email']")[0].value)try{this.$login_form.find("input[name='login_password']")[0].focus()}catch(o){}new a(this.$login_form.find("input[name='login_email']"),this._show_sso,this._hide_sso)}return n.LOGIN_SUCCESS="db:login:success",n.MULTI_LOGIN_SUCCESS="db:multilogin:success",n.prototype._show_sso=function(e){return this.$login_form.find("input[name='login_password']").val(""),this.$login_form.addClass("sso-required"),e?this.$login_form.addClass("sso-optional"):void 0},n.prototype._hide_sso=function(e){if(null==e&&(e=!1),this.$login_form.removeClass("sso-required sso-optional"),e)try{return this.$login_form.find("input[name='login_password']").focus()}catch(t){}},n.prototype._show_login=function(){return this.$two_factor_form.hide(),e(".login-register-header, .login-register-switch").show(),this.$login_form.show(),this.$login_form.find("input[name='login_password']").val("")},n.prototype._show_two_factor=function(){e(".login-register-header, .login-register-switch").hide(),this.$login_form.hide(),this.$two_factor_form.show();try{return this.$two_factor_form.find("input[name='code']").val("").focus()}catch(t){}},n.prototype._login_success=function(e,n){var i;switch(n.status){case"OK":return this._finish_login(n);case"TWOFACTOR":return n.last_four_digits?(this.$two_factor_form.addClass("hide-authenticator"),this.$two_factor_form.find(".last-four-digits").text(n.last_four_digits)):this.$two_factor_form.addClass("hide-sms"),this.$two_factor_form.find("input[name='remember_me']").val(n.remember_me),this._show_two_factor();case"TWOFACTOR_REQUIRED":return u.redirect(n.cont);case"SSO":return u.unsafeRedirect(n.sso_url);case"RATELIMIT":return this._fill_login_error(l("You've tried to log in too many times. Please try again in a few minutes."));case"ERROR":return i=n.html_response?new t(n.message):n.message,o.error(i);case"EXPIRED":return u.redirect(n.cont);default:return o.error()}},n.prototype._two_factor_success=function(e,t){switch(t.status){case"OK":return this._finish_login(t);case"REQUIRES_ROLE":return this._show_login(),this._fill_login_error(t.message);case"EXPIRED":return this._fill_two_factor_error(l("This code has expired"));case"RATELIMIT":return this._fill_two_factor_error(l("You've tried to log in too many times. Please try again in a few minutes."));case"INVALID":return this._fill_two_factor_error(l("Invalid code"));case"ERROR":return o.error(t.message);default:return o.error()}},n.prototype._resend_code_success=function(e){switch(e){case"OK":return o.success(l("We sent you another code. It may take a few minutes to arrive."));case"RATELIMIT":return this._fill_two_factor_error(l("You've tried to log in too many times. Please try again in a few minutes."));case"UNREACHABLE":return this._fill_two_factor_error(l("We couldn't reach your phone number. Are you sure it's correct?"));case"EXPIRED":return this._fill_two_factor_error(l("Sorry, your phone code has expired. Please log in again."));case"BADCARRIER":return this._fill_two_factor_error(l("Unfortunately, your carrier is not supported at this time."));case"INVALIDNUMBER":return this._fill_two_factor_error(l("That is not a valid phone number."));case"NOTAMOBILE":return this._fill_two_factor_error(l("That phone number does not appear to be a valid mobile number."));default:return o.error()}},n.prototype._resend_code=function(){return i.WebRequest({url:"/twofactor_resend",success:this._resend_code_success,error:function(){return o.error()}}),!1},n.prototype._fill_login_error=function(e){return s.fill_errors(this.$login_form,{login_email:{message_text:e}})},n.prototype._fill_two_factor_error=function(e){return s.fill_errors(this.$two_factor_form,{code:{message_text:e}})},n.prototype._finish_login=function(e){var t;return t=this.multi_login?n.MULTI_LOGIN_SUCCESS:n.LOGIN_SUCCESS,this.$login_form.trigger(t,e),this.cont?u.redirect(this.cont):void 0},n}(),__CONDITIONAL_JS__.LoginForm=c, c}),define("modules/clean/components/login_or_register",["jquery"],function(){var e;return e=function(){function e(e){var t,n;t=e.find(".login-register-login-part"),n=e.find(".login-register-register-part"),e.click(function(){return function(e){return e.target.hasClassName("login-register-switch-link")?(e.preventDefault(),t.toggle(),n.toggle()):void 0}}(this))}return e}()}),define("modules/clean/components/tabbable",["jquery"],function(e){var t;return t=function(){function t(){t.initialized||this.listen()}return t.initialized=!1,t.prototype.listen=function(){return t.initialized=!0,e(document).on("keydown",function(){return function(t){return 9===t.keyCode?e(document.body).addClass("tabbing"):void 0}}(this)),e(document).on("mousedown",function(){return function(){return e(document.body).removeClass("tabbing")}}(this))},t}()});var __hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};define("modules/clean/components/tooltip",["jquery","modules/core/dom"],function(e,t){var n,o,i;return i=[],n=function(){function e(e,n){var o;this.$wrapper=e,this.prompt=this.$wrapper.find(".tooltip-prompt"),this.tooltip=this.$wrapper.find(".tooltip-tooltip"),this.hover_target=this.find_hover_target(),this.position_global=n,this.listen(),o=t.clone(this.tooltip).appendTo("body"),o.css({position:"static",display:"inline-block"}),this.tooltip.css({width:o.width(),position:"absolute",display:"none"}),o.remove(),this.position_global&&this.tooltip.remove().appendTo("body")}return e.prototype.tooltip_shown=!1,e.prototype.position_global=!1,e.prototype.listen=function(){var e,t,n,o,i;for(o=[this.hover_target,this.tooltip],i=[],t=0,n=o.length;n>t;t++)e=o[t],e.mouseenter(function(e){return function(){return clearTimeout(e.tooltip.data("timeout_id")),e.show_tooltip()}}(this)),i.push(e.mouseleave(function(e){return function(){var t;return t=setTimeout(function(){return e.hide_tooltip()},200),e.tooltip.data("timeout_id",t)}}(this)));return i},e.prototype.find_hover_target=function(){return this.prompt},e.prototype.show_tooltip=function(){var e,t,n,o;if(!this.tooltip_shown){for(e=this.position_global?this.hover_target.offset():this.hover_target.position(),n=0,o=i.length;o>n;n++)t=i[n],t.hide_tooltip();return i.push(this),this.tooltip.css("top",e.top-this.tooltip.outerHeight()/2+this.hover_target.outerHeight()/2),this.tooltip.css("left",e.left+this.hover_target.width()+2),this.tooltip.show(),this.tooltip.animate({left:"+=7"},50),this.tooltip_shown=!0}},e.prototype.hide_tooltip=function(){var e;if(this.tooltip_shown)return clearTimeout(this.tooltip.data("timeout_id")),this.tooltip.hide(),this.tooltip_shown=!1,e=i.indexOf(this),-1!==e?i.splice(e,1):void 0},e}(),o=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return __extends(t,e),t.prototype.find_hover_target=function(){return this.prompt.find(".sprite")},t}(n),{DBTooltip:n,InfoTooltip:o}}),define("modules/clean/contacts/bloodhound_contacts",["jquery","external/typeahead.bundle","modules/clean/contacts/cache","modules/clean/viewer"],function(e,t,n,o){var i,r,s;return s=n.DefaultContactsCache,i=function(){function t(t){null==t&&(t=10),this.limit=t,this.contacts=new Bloodhound({datumTokenizer:function(e){return[e.name,e.email,e.fname,e.lname].concat(e.name_tokens)},queryTokenizer:function(t){return[e.trim(t)]},limit:this.limit,sorter:this._contacts_sorter,local:[]}),this.contacts.initialize(),this.sortedContacts=[],o.get_viewer().is_signed_in&&s.load_contacts(!1,!1,function(e){return function(t){return e._init_contacts(t)}}(this))}return t.prototype._contacts_sorter=function(e,t){return e.priority>t.priority?-1:e.priorityt;t++)if(t in this&&this[t]===e)return t;return-1};define("modules/clean/contacts/cache",["modules/core/exception","modules/clean/ajax","modules/clean/contacts/list"],function(e,t,n){var o,i,r;return r=e.assert,o=function(){function e(){this._update_loading_state=__bind(this._update_loading_state,this),this._invoke_callbacks=__bind(this._invoke_callbacks,this),this._invoke_all_callbacks=__bind(this._invoke_all_callbacks,this),this.unregister_for_updates=__bind(this.unregister_for_updates,this),this.register_for_updates=__bind(this.register_for_updates,this),this.loading_state=e.HAVENT_LOADED,this.callbacks={},this.one_time_callbacks=[]}return e.HAVENT_LOADED=0,e.LOADING_NONE_AVAILABLE=1,e.LOADING_STALE_AVAILABLE=2,e.LOADED=3,e.prototype.is_loaded=function(){return this.loading_state===e.LOADED||this.loading_state===e.LOADING_STALE_AVAILABLE},e.prototype.load_contacts=function(o,i,r){var s;if(null!=r&&__indexOf.call(this.one_time_callbacks,r)<0&&this.one_time_callbacks.push(r),o){if(this.loading_state===e.LOADING_STALE_AVAILABLE)return}else{if(this.loading_state===e.LOADING_NONE_AVAILABLE)return;if(this.loading_state!==e.HAVENT_LOADED)return void this._invoke_all_callbacks()}return this._update_loading_state(this.loading_state===e.LOADED?e.LOADING_STALE_AVAILABLE:e.LOADING_NONE_AVAILABLE),s=function(e){return function(t,o){var i;return e._update_loading_state(o),i=n.create_contacts_list(t),e.precached_contacts=i.contacts,e.cached_contacts=i,e._invoke_all_callbacks()}}(this),this.loading_state===e.LOADING_NONE_AVAILABLE&&t.BackgroundRequest({url:"/get_cached_contacts",data:{include_rooms:i},success:function(t){return function(n){var o;return t.loading_state===e.LOADING_NONE_AVAILABLE&&(o=JSON.parse(n),o.length)?s(o,e.LOADING_STALE_AVAILABLE):void 0}}(this)}),t.BackgroundRequest({url:"/get_refreshed_contacts?long_running=1",data:{include_rooms:i},success:function(){return function(t){var n;return n=JSON.parse(t),s(n,e.LOADED)}}(this)})},e.prototype.register_for_updates=function(e,t){return this.callbacks[e]=t},e.prototype.unregister_for_updates=function(e){return __indexOf.call(Object.keys(this.callbacks),e)>=0?delete this.callbacks[e]:void 0},e.prototype._invoke_all_callbacks=function(){return this._invoke_callbacks(this.one_time_callbacks,!0),this._invoke_callbacks(this.callbacks,!1)},e.prototype._invoke_callbacks=function(e,t){var n,o,i,r,s;for(r=Object.keys(e),s=[],o=0,i=r.length;i>o;o++)n=r[o],e[n](this.cached_contacts),s.push(t?delete e[n]:void 0);return s},e.prototype._update_loading_state=function(t){return r(t===e.LOADING_NONE_AVAILABLE||t===e.LOADING_STALE_AVAILABLE||t===e.LOADED),this.loading_state=t},e}(),i=new o,{ContactsCache:o,DefaultContactsCache:i}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}};define("modules/clean/contacts/data",["external/underscore","modules/core/exception","modules/clean/contacts/cache","modules/clean/contacts/types","modules/clean/fuzzy","modules/clean/viewer"],function(e,t,n,o,i,r){var s,a,u,c;return c=t.assert,u=n.DefaultContactsCache,s=function(){function e(e){this.type=e.type,this.name=e.name,this.email=e.email,this.fb_id=e.fb_id,this.group_id=e.group_id,this.members=e.members,this.group_avatar=e.group_avatar,this.avatar_url=e.avatar_url,this.invalid=e.invalid,this.on_team=e.on_team,this.nameMatch=e.nameMatch,this.emailMatch=e.emailMatch}return e.prototype.getKey=function(){var e;return this.type===o.FB?"contact-fb-"+this.fb_id:(e=this.type)===o.USER_GROUP||e===o.NEW_STYLE_GROUP?"contact-group-"+this.group_id:this.type===o.CAROUSEL_ROOM?"contact-room-"+this.members:"contact-email-"+this.email},e}(),a=function(){function t(e){var n;this.user=e.user,this.filterFunc=e.filterFunc,this._setContacts=__bind(this._setContacts,this),c(this.user,"must include user"),null==this.filterFunc&&(this.filterFunc=function(){return!0}),this._filteredContacts=[],this.user.is_team&&(this._teamContacts={}),this.instance=t.INSTANCE++,n="contacts-data-source:"+this.instance,u.register_for_updates(n,this._setContacts),u.load_contacts()}return t.INSTANCE=0,t.prototype.is_loaded=function(){return u.is_loaded()},t.prototype._setContacts=function(t){var n,o,i,s,a,u;if(this.user.is_team)for(this._teamContacts={},this._teamContacts[r.get_viewer().work_email]=1,o=t.sortByTeamFirst(),u=o.contacts,s=0,a=u.length;a>s;s++)n=u[s],n.team&&(this._teamContacts[n.email]=1);return i=t.includeForUser(this.user.id).contacts,this._filteredContacts=e.filter(i,this.filterFunc)},t.prototype.isTeamEmail=function(e){return this.user.is_team&&null!=this._teamContacts[e]},t.prototype.query=function(t,n){var r,a,u,c,l,_,d,h,p,f;for(u=[],f=this._filteredContacts,c=h=0,p=f.length;p>h;c=++h)d=f[c],a=i.match(t,d.email||""),l=i.match(t,d.name||""),(a||l)&&(_=d.type!==o.FB&&(d.type!==o.EMAIL||this.isTeamEmail(d.email)),u.push({contact:d,emailMatch:a,nameMatch:l,on_team:_,score:Math.max((null!=a?a.score:void 0)||0,(null!=l?l.score:void 0)||0),index:c}));return u.sort(function(e,t){var n;return n=t.score-e.score,n?n:e.index-t.index}),r=e.map(u,function(e){return d=e.contact,d.nameMatch=e.nameMatch,d.emailMatch=e.emailMatch,d.on_team=e.on_team,new s(d)}),n(r)},t}(),{Contact:s,ContactTypes:o,ContactsDataSource:a}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}},__hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};define("modules/clean/contacts/facebook_modal",["modules/clean/dbmodal"],function(e){var t,n;return t=e.DBUserModal,n=function(e){function t(e,n,o){this.show_hidden_modal=n,this.link_with_facebook=o,this.on_confirm_button_click=__bind(this.on_confirm_button_click,this),this.on_hide=__bind(this.on_hide,this),t.__super__.constructor.call(this,e,{element_id:"facebook-confirm-modal-user-"+e.id})}return __extends(t,e),t.prototype.on_hide=function(){return"function"==typeof this.show_hidden_modal?this.show_hidden_modal():void 0},t.prototype.on_confirm_button_click=function(){return this.hide(),this.link_with_facebook()},t}(t)}),define("modules/clean/contacts/facebook_oauth",["jquery","modules/core/exception","modules/core/uri","modules/clean/ajax","modules/clean/viewer"],function(e,t,n,o,i){var r,s;return s=t.assert,r={do_auth:function(e,t){var o;return s(null!=t,"user_id must be specified"),o=window.open(n({path:"/fb/access_token"}).updateQuery(Constants.UID_PARAM_NAME,t).toString(),"fb_auth","width=600,height=450"),e?r.onLoginSuccessCallback=e:void 0},post:function(e,t,a,u,c,l,_){return s(null!=_,"user_id must be specified!"),i.get_viewer().is_signed_in?("function"==typeof r.custom_show_posting&&r.custom_show_posting(),new o.WebRequest({url:"/fb/post",data:{message:e,link:t,link_name:a,description:u,from_referrals:r.from_referrals,from_getspace:r.from_getspace,picture:c?c:""},success:function(n,o,i){var s;return s=i.responseText,0===s.indexOf("ok")?"function"==typeof r.custom_show_complete?r.custom_show_complete():void 0:0===s.indexOf("auth")?r.do_auth(function(){return r.post(e,t,a,u,c,l,_)},_):void 0},error:function(){return"function"==typeof l?l():void 0},subject_user:_})):void window.open(n.parse("http://www.facebook.com/sharer.php").setQuery({u:t,t:a}).toString())}}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}};define("modules/clean/contacts/importer",["jquery","modules/core/exception","modules/core/i18n","modules/core/notify","modules/core/uri","modules/clean/ajax","modules/clean/analytics","modules/clean/contacts/cache","modules/clean/contacts/facebook_modal","modules/clean/contacts/facebook_oauth","modules/clean/profile_services/profile_services_constants","modules/clean/history","modules/clean/viewer"],function(e,t,n,o,i,r,s,a,u,c,l,_,d){var h,p,f,m,g;return m=t.assert,g=n._,f=s.SharedFolderActivityLogger,p=a.DefaultContactsCache,h=function(){function t(e,n,o,i){var s;return this.user=e,this.on_update_services=n,this.hide_containing_modal=o,this.show_containing_modal=i,this.update_contacts_to_import_from_email_address=__bind(this.update_contacts_to_import_from_email_address,this),this._get_content_tab_selector=__bind(this._get_content_tab_selector,this),this._finish_auth_failure=__bind(this._finish_auth_failure,this),this._finish_auth_success=__bind(this._finish_auth_success,this),this.yahoo_auth_complete=__bind(this.yahoo_auth_complete,this),this.facebook_auth_complete=__bind(this.facebook_auth_complete,this),this.google_auth_complete=__bind(this.google_auth_complete,this),this.auth_complete=__bind(this.auth_complete,this),this.deauth_import=__bind(this.deauth_import,this),this.auth_import=__bind(this.auth_import,this),this.has_connected_services=__bind(this.has_connected_services,this),this.has_unconnected_services=__bind(this.has_unconnected_services,this),this.paired_account_has_facebook=__bind(this.paired_account_has_facebook,this),m(null!=this.user,"invalid user"),s=function(){var e,t,n,o,i;for(e={},i=l.services(),n=0,o=i.length;o>n;n++)t=i[n],e[""+t]=!0;return e},this.contacts_to_import=l.NONE,this.connected_services=s(),this.suggestions_enabled=!1,this.photo_loaded_callback=null,this.photo_load_error=null,t.ever_updated||t.update_connection_state_from_server(),d.get_viewer().is_user_signed_in(this.user)&&r.WebRequest({url:"/contacts/get_importer_suggestions_pref",subject_user:this.user.id,success:function(e){return function(t,n,o){return e.suggestions_enabled=JSON.parse(o.responseText)}}(this)}),this}return t._USER_CACHE={},t.get_contacts_importer=function(e){var n,o,i;return null!=(null!=e?e.user:void 0)?i=e.user:null!=(null!=e?e.user_id:void 0)?i=d.get_viewer().get_user_by_id(e.user_id,n=!0):m(!1,"must pass a user= or user_id= in options"),null!=this._USER_CACHE[i.id]?(o=this._USER_CACHE[i.id],null!=(null!=e?e.on_update_services:void 0)&&(o.on_update_services=e.on_update_services),null!=(null!=e?e.hide_containing_modal:void 0)&&(o.hide_containing_modal=e.hide_containing_modal),null!=(null!=e?e.show_containing_modal:void 0)&&(o.show_containing_modal=e.show_containing_modal)):o=this._USER_CACHE[i.id]=new t(i,null!=e?e.on_update_services:void 0,null!=e?e.hide_containing_modal:void 0,null!=e?e.show_containing_modal:void 0),o},t.update_connection_state_from_server=function(){return this.ever_updated=!0,r.WebRequest({url:"/contacts/connected_services",success:function(e,n,o){var i,r,s,a,u;a=JSON.parse(o.responseText),u=[];for(s in a)i=a[s],r=t.get_contacts_importer({user_id:s}),r.connected_services=i,r.update_contacts_to_import_from_email_address(),u.push("function"==typeof r.on_update_services?r.on_update_services():void 0);return u}})},t.prototype.paired_account_has_facebook=function(){var e,n,o,i,r,s;for(s=d.get_viewer().get_users(e=!0),i=0,r=s.length;r>i;i++)if(o=s[i],o!==this.user&&(n=t.get_contacts_importer({user:o}),n.connected_services[l.FACEBOOK]))return!0;return!1},t.prototype.has_unconnected_services=function(){var e,t,n,o;e=!0,o=this.connected_services;for(t in o)n=o[t],e=e&&n;return!e},t.prototype.has_connected_services=function(){var e,t,n,o;e=!1,o=this.connected_services;for(t in o)n=o[t],e=e||n;return e},t.prototype.auth_import=function(e,t){var n,o;return null==t&&(t="none"),n=function(t){return function(){var n,o;switch(o=function(e,n){var o;return o={},o[Constants.UID_PARAM_NAME]=t.user.id,window.open(String(i.parse(e).setQuery(o)),n,"width=600,height=450")},e){case l.GOOGLE:o("/google/authentry","google_auth");break;case l.YAHOO:o("/yahoo/authentry","yahoo_auth");break;case l.FACEBOOK:o("/fb/access_token","fb_auth");break;default:m(!1,"Should never get here. Input should be an ProfileServicesConstants.")}return n={service:l.logging_identifiers(e)},f.log("web","import_contacts_from_service",t.user,n),"function"==typeof t.on_open_auth_popup?t.on_open_auth_popup():void 0}}(this),this.paired_account_has_facebook()&&e===l.FACEBOOK?("function"==typeof this.hide_containing_modal&&this.hide_containing_modal(),o=new u(this.user,this.show_containing_modal,n),o.show()):n()},t.prototype.deauth_import=function(t,n){var i;switch(i=this._get_content_tab_selector(),t){case l.GOOGLE:return r.WebRequest({url:"/google/remove_contacts",subject_user:this.user.id,data:{source_id:n},success:function(){return e(""+i+" .auth-gmail").show(),e(""+i+" .deauth-gmail").hide(),o.success(g("Successfully removed Gmail contacts"))},error:function(){return o.error(g("We were unable to remove your Gmail contacts"))}});case l.YAHOO:return r.WebRequest({url:"/yahoo/remove_contacts",subject_user:this.user.id,success:function(){return e(""+i+" .auth-yahoo-mail").show(),e(""+i+" .deauth-yahoo-mail").hide(),o.success(g("Successfully removed Yahoo! Mail contacts."))},error:function(){return o.error(g("We were unable to remove your Yahoo! Mail contacts."))}});default:return m(!1,"Should never get here. Input should be an ProfileServicesConstants.")}},t.prototype.auth_complete=function(e,t,n,o){var i;return null==o&&(o=null),i={},i[l.GOOGLE]=this.google_auth_complete,i[l.YAHOO]=this.yahoo_auth_complete,"function"==typeof i[e]?i[e](t,n,o):void 0},t.prototype.google_auth_complete=function(e,t,n){var o;return null==n&&(n=null),o={service:l.logging_identifiers(l.GOOGLE),success:e,error:t},f.log("web","import_contacts_auth_completed",this.user,o),e?this._finish_auth_success(l.GOOGLE,g("Imported Gmail contacts.")):this._finish_auth_failure(l.GOOGLE,t||g("We need your permission to import your Gmail contacts."))},t.prototype.facebook_auth_complete=function(e,t){var n;return n={service:l.logging_identifiers(l.FACEBOOK),success:e,error:t},f.log("web","import_contacts_auth_completed",this.user,n),e?(c.authed_user_id=this.user.id,null!=c.onLoginSuccessCallback&&(c.onLoginSuccessCallback(),c.onLoginSuccessCallback=null),this._finish_auth_success(l.FACEBOOK,g("Successfully connected to Facebook."))):this._finish_auth_failure(l.FACEBOOK,t||g("We need your permission to import your Facebook friends."))},t.prototype.yahoo_auth_complete=function(e,t){var n;return n={service:l.logging_identifiers(l.YAHOO),success:e,error:t},f.log("web","import_contacts_auth_completed",this.user,n),e?this._finish_auth_success(l.YAHOO,g("Imported Yahoo! Mail contacts.")):this._finish_auth_failure(l.YAHOO,t||g("We need your permission to import your Yahoo! Mail contacts."))},t.prototype._finish_auth_success=function(n,i){var s,a;switch(n){case l.GOOGLE:_.get_url().startsWith("/account")&&(a=this._get_content_tab_selector(),r.WebRequest({url:"/google/display_email",subject_user:this.user.id,dataType:"json",success:function(){return function(t){var n;return n=t.gmail_address,e(""+a+" .gmail-address").text(n)}}(this),error:function(){return function(){return e(""+a+" .gmail-address").text(g("Connected"))}}(this),complete:function(){return function(){return e(""+a+" .auth-gmail").hide(),e(""+a+" .deauth-gmail").show()}}(this)}));break;case l.FACEBOOK:0===_.get_url().indexOf("/account")&&(a=this._get_content_tab_selector(),r.WebRequest({url:"/fb/get_fb_profile",subject_user:this.user.id,dataType:"json",success:function(){return function(t){var n,o;return n=t,o=n.username?n.username:'"'+n.name+'"',e(""+a+" .facebook-username").text(o)}}(this),error:function(){return function(){return e(""+a+" .facebook-username").text(g("Connected"))}}(this),complete:function(){return function(){return e(".auth-facebook").show(),e(""+a+" .auth-facebook").hide(),e(".deauth-facebook").hide(),e(""+a+" .deauth-facebook").show()}}(this)}));break;case l.YAHOO:a=this._get_content_tab_selector(),e(""+a+" .auth-yahoo-mail").hide(),e(""+a+" .deauth-yahoo-mail").show()}return n===this.contacts_to_import&&(this.contacts_to_import=l.VARIOUS),this.connected_services[n]=!0,t.update_connection_state_from_server(),p.load_contacts(s=!0),o.success(i),"function"==typeof this.on_update_services&&this.on_update_services(),"function"==typeof this.on_auth_success?this.on_auth_success(n):void 0},t.prototype._finish_auth_failure=function(e,t){return o.error(t),"function"==typeof this.on_auth_failure?this.on_auth_failure(e):void 0},t.prototype._get_content_tab_selector=function(){return d.get_viewer().is_paired?"#"+this.user.role+"-content":""},t.prototype.update_contacts_to_import_from_email_address=function(){var e,t,n;return e=/@(.+?)\./g,t=e.exec(this.user.email),t&&t.length>1?this.contacts_to_import="gmail"!==t[1]||this.connected_services[l.GOOGLE]?"yahoo"!==(n=t[1])&&"ymail"!==n&&"rocketmail"!==n||this.connected_services[l.YAHOO]?l.VARIOUS:l.YAHOO:l.GOOGLE:void 0},t}(),INLINE_JS.ContactsImporter=h,h});var __bind=function(e,t){return function(){return e.apply(t,arguments)}},__indexOf=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};define("modules/clean/contacts/list",["jquery","modules/clean/em_string","modules/clean/contacts/types"],function(e,t,n){var o;return o=function(){function e(e){var t;this.contacts=e,this._lowercaseContact=__bind(this._lowercaseContact,this),this._excludeType=__bind(this._excludeType,this),this.sortByTeamFirst=__bind(this.sortByTeamFirst,this),this.excludeNonTeamActive=__bind(this.excludeNonTeamActive,this),this.excludeNonTeam=__bind(this.excludeNonTeam,this),this.excludePairedUserDuplicates=__bind(this.excludePairedUserDuplicates,this),this.excludeTeamMembers=__bind(this.excludeTeamMembers,this),this.excludeRooms=__bind(this.excludeRooms,this),this.excludeFacebook=__bind(this.excludeFacebook,this),this.excludeNewStyleGroups=__bind(this.excludeNewStyleGroups,this),this.excludeGroups=__bind(this.excludeGroups,this),this.excludeMe=__bind(this.excludeMe,this),this.excludeByEmail=__bind(this.excludeByEmail,this),this.includeForViewer=__bind(this.includeForViewer,this),this.includeForUser=__bind(this.includeForUser,this),this.slice=__bind(this.slice,this),this.length=__bind(this.length,this),this.filterContacts=__bind(this.filterContacts,this),this.lcontacts=function(){var e,n,o,i;for(o=this.contacts,i=[],e=0,n=o.length;n>e;e++)t=o[e],i.push(this._lowercaseContact(t));return i}.call(this)}return e._format_contact_array=function(e){var n,o,i,r;for(n=22,i=0,r=e.length;r>i;i++)o=e[i],null!=o.email&&(o.email_snippet=t.em_snippet(o.email,n)),null!=o.name&&(o.name=t.em_snippet(o.name,n));return e},e.create_contacts_list=function(t){return t=e._format_contact_array(t),new e(t)},e.prototype.filterContacts=function(t){var n;return n=this.contacts.filter(t),new e(n)},e.prototype.length=function(){return this.contacts.length},e.prototype.slice=function(t,n){return new e(this.contacts.slice(t,n))},e.prototype.includeForUser=function(e){return this.filterContacts(function(t){return t.owning_user_id===e})},e.prototype.includeForViewer=function(e){var t;return t=e.get_user_ids(),this.filterContacts(function(e){var n;return n=e.owning_user_id,__indexOf.call(t,n)>=0})},e.prototype.excludeByEmail=function(e){var t,n;return n=[function(){var n,o,i;for(i=[],n=0,o=e.length;o>n;n++)t=e[n],i.push(t.toLowerCase());return i}()],this.filterContacts(function(){return function(e){var t;return t=e.email.toLowerCase(),!(__indexOf.call(n,t)>=0)}}(this))},e.prototype.excludeMe=function(){return this.filterContacts(function(e){return!e.is_owner})},e.prototype.excludeGroups=function(){return this._excludeType(n.USER_GROUP)},e.prototype.excludeNewStyleGroups=function(){return this._excludeType(n.NEW_STYLE_GROUP)},e.prototype.excludeFacebook=function(){return this._excludeType(n.FB)},e.prototype.excludeRooms=function(){return this._excludeType(n.CAROUSEL_ROOM)},e.prototype.excludeTeamMembers=function(){return this.filterContacts(function(e){return!e.team})},e.prototype.excludePairedUserDuplicates=function(){return this.filterContacts(function(e){return!e.paired_user_duplicate})},e.prototype.excludeNonTeam=function(){return this.filterContacts(function(e){return e.team})},e.prototype.excludeNonTeamActive=function(){return this.filterContacts(function(e){return e.team&&"active"===e.join_state})},e.prototype.sortByTeamFirst=function(){var t,o,i,r,s,a;for(i=[],o=[],a=this.contacts,r=0,s=a.length;s>r;r++)t=a[r],t.team||t.type===n.USER_GROUP?i.push(t):o.push(t);return new e(i.concat(o))},e.prototype._excludeType=function(e){return this.filterContacts(function(t){return t.type!==e})},e.prototype._lowercaseContact=function(e){var t,n,o;n={};for(t in e)o=e[t],("string"==typeof o||o instanceof String)&&(o=o.toLowerCase()),n[t]=o;return n},e}()}),define("modules/clean/contacts/tokenizer",["external/react","modules/core/i18n","modules/clean/contacts/data","modules/clean/contacts/typeahead","modules/clean/contacts/types","modules/clean/react/sprite","modules/clean/tokenizer"],function(e,t,n,o,i,r,s){var a,u,c,l,_,d,h,p,f,m,g,v;return v=t._,a=n.Contact,l=n.ContactsDataSource,h=o.ContactsTypeaheadSelector,p=s.Tokenizer,f=e.DOM,u={invalid:"invalid",warn:"warn",ok:"ok"},_=e.createClass({propTypes:{customClass:e.PropTypes.string,contact:e.PropTypes.object.isRequired,onRemove:e.PropTypes.func,tokenState:e.PropTypes.oneOf(function(){var e;e=[];for(m in u)g=u[m],e.push(g);return e}()).isRequired},render:function(){var t,n,o,i;return n=this.props.contact.invalid||this.props.tokenState===u.invalid,i=!n&&this.props.tokenState===u.warn,o={"tokenizer-token":!0,"contact-token":!0,invalid:n,warned:i},o[this.props.customClass]=null!=this.props.customClass,t=e.addons.classSet(o),this.transferPropsTo(f.a({className:t,tabIndex:-1},this._renderInput(),this._renderIcon(),this._renderText(),this._makeCloseButton()))},_getTokenName:function(){switch(this.props.contact.type){case i.FB:return"fb_ids";case i.EMAIL:return"emails";case i.USER_GROUP:return"group_ids";case i.NEW_STYLE_GROUP:return"new_style_group_ids";case i.CAROUSEL_ROOM:return"carousel_rooms";default:return"invalids"}},_getTokenValue:function(){switch(this.props.contact.type){case i.FB:return this.props.contact.fb_id;case i.USER_GROUP:return this.props.contact.group_id;case i.NEW_STYLE_GROUP:return this.props.contact.group_id;case i.CAROUSEL_ROOM:return this.props.contact.members;default:return this.props.contact.email}},_renderIcon:function(){switch(this.props.contact.type){case i.FB:return f.img({src:"/static/images/icons/fb_16.png"});case i.EMAIL:return f.img({src:"/static/images/icons/email_16.png"});case i.USER_GROUP:return r({group:"groups",name:"group"});case i.NEW_STYLE_GROUP:return r({group:"groups",name:"group"});case i.CAROUSEL_ROOM:return f.img({src:"/static/images/carousel/icon-57px.png"});default:return""}},_renderInput:function(){return f.input({type:"hidden",name:this._getTokenName(),value:this._getTokenValue()})},_renderText:function(){return this.props.contact.name||this.props.contact.email},_makeCloseButton:function(){return this.props.onRemove?f.span({className:"tokenizer-token-close",onClick:function(e){return function(){return e.props.onRemove(e.props.contact),!1}}(this),dangerouslySetInnerHTML:{__html:" "}}):""}}),c={basic:function(){return u.ok},warn:function(e){return e.on_team?u.ok:u.warn},forbid:function(e){return e.on_team?u.ok:u.invalid}},d=e.createClass({propTypes:{customClass:e.PropTypes.string,user:e.PropTypes.object.isRequired,importer:e.PropTypes.object,onTokensChange:e.PropTypes.func,customContactFilter:e.PropTypes.func,customContactValidator:e.PropTypes.func},getDefaultProps:function(){return{customContactFilter:function(){return!0},customContactValidator:c.basic,onNumTokensChange:function(){}}},getInitialState:function(){var e;e={};for(m in u)g=u[m],e[m]=0;return{numTokens:e}},render:function(){return new p({ref:"tokenizer",dataSource:new l({user:this.props.user,filterFunc:this.props.customContactFilter}),customClass:this.props.customClass,placeholderText:this.props.placeholder||v("Invite more people"),renderSelector:function(e){return function(){return h({contactImporter:e.props.importer})}}(this),renderInput:function(){return f.textarea({rows:1})},renderToken:this._renderToken,onTokensChange:this.props.onTokensChange,stringTokenizer:this.tokenizeEmails},this.props.children)},_renderToken:function(e){return _({contact:e,tokenState:this.props.customContactValidator(e)})},tokenizeEmails:function(e,t){var n,o,r,s,u,c,l,_,d;for(null==t&&(t=!1),n=/[,|;\n]+/,o=/^['&A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,15}$/i,u=e.split(n),l="",t||(l=u.pop()),c=[],_=0,d=u.length;d>_;_++)s=u[_],r=s.trim(),""!==r&&c.push(new a({name:r,email:r,type:i.EMAIL,invalid:!o.test(r),on_team:this.refs.tokenizer.props.dataSource.isTeamEmail(r)}));return{tokens:c,value:l}},getContacts:function(){return this.refs.tokenizer.getAllTokens()}}),{ContactsTokenizer:d,ContactTokenValidator:c,ContactTokenState:u}});var __indexOf=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};define("modules/clean/contacts/typeahead",["jquery","external/react","external/underscore","modules/core/exception","modules/core/i18n","modules/core/notify","modules/clean/analytics","modules/clean/contacts/importer","modules/clean/profile_services/profile_services_constants","modules/clean/contacts/types","modules/clean/react/sprite","modules/clean/typeahead"],function(e,t,n,o,i,r,s,a,u,c,l,_){var d,h,p,f,m,g,v,y,b,w,E,S,T,C;return E=o.assert,C=i._,v=s.SharedFolderActivityLogger,w=_.TypeaheadSelectorMixin,S=t.DOM,T=function(t,n){return e.extend({},t,n)},h=T(w,{getOptions:function(){var e,t,n,o;return null==this.props.queryOptions?[]:this.state.importsExpanded?function(){var e,t,o,i;for(o=u.contact_services(),i=[],e=0,t=o.length;t>e;e++)n=o[e],i.push(new y({provider:n,connected:this.props.contactImporter.connected_services[n]}));return i}.call(this):(e=this.props.maxVisible||this.props.queryOptions.length,t=this.props.queryOptions.slice(0,e),(null!=(o=this.props.contactImporter)?o.has_unconnected_services():void 0)&&t.push(new f),t)},renderOption:function(e){return e instanceof f?m():e instanceof y?b({"import":e}):this.props.renderQueryOption(e)},onSelect:function(e){var t,n;return e instanceof f?this.setState({importsExpanded:!0,selectionIndex:0}):e instanceof y?(E((n=e.provider,__indexOf.call(u.contact_services(),n)>=0),"invalid party contact provider "+e.provider),this.props.contactImporter.connected_services[e.provider]?(t=C("You're already connected to %(service_name)s").format({service_name:u.to_name(e.provider)}),void r.success(t)):(this.reset(),this.props.contactImporter.auth_import(e.provider))):this.props.onSelect(e)},reset:function(){return this.setState({importsExpanded:!1,selectionIndex:0})}}),d=t.createClass({mixins:[h],propTypes:{contactImporter:t.PropTypes.object,customClass:t.PropTypes.string,maxVisible:t.PropTypes.number,onClose:t.PropTypes.func.isRequired,onSelect:t.PropTypes.func.isRequired,queryOptions:t.PropTypes.array,renderQueryOption:t.PropTypes.func.isRequired},getDefaultProps:function(){return{maxVisible:7,onSelect:function(){},renderQueryOption:function(e){return p({contact:e})}}},render:function(){var e;return this.getOptions().length?(e={"typeahead-selector":!0,"contacts-selector":!0},e[this.props.customClass]=null!=this.props.customClass,S.ul({className:t.addons.classSet(e)},this.renderOptions())):S.div({})}}),p=t.createClass({propTypes:{contact:t.PropTypes.object.isRequired,customClass:t.PropTypes.string},render:function(){var e;return e={"contacts-typeahead-option":!0},e[this.props.customClass]=null!=this.props.customClass,this.transferPropsTo(S.li({className:t.addons.classSet(e)},S.div({className:"option-left"},this._renderIcon()),S.div({className:"option-right" },S.div({className:"option-primary"},this._renderPrimary()),S.div({className:"option-secondary"},this._renderSecondary()))))},_renderPrimary:function(){return this._renderMatch(this.props.contact.name,this.props.contact.nameMatch)},_renderSecondary:function(){switch(this.props.contact.type){case c.EMAIL:return this.props.contact.email===this.props.contact.name?"":this._renderMatch(this.props.contact.email,this.props.contact.emailMatch);case c.FB:return C("Facebook message");case c.USER_GROUP:return this.props.contact.members;case c.NEW_STYLE_GROUP:return this.props.contact.members;default:return""}},_renderMatch:function(e,t){var n,o,i,r,s,a,u,c,l;if(!t)return e;for(i=0,s=[],c=t.highlighted,a=0,u=c.length;u>a;a++)l=c[a],o=l[0],r=l[1],o>i&&s.push(e.slice(i,o)),n=e.slice(o,o+r),s.push(S.strong({key:"highlight-"+n+"-"+o},n)),i=o+r;return i=3)return l(e.getMonth(),3===t.length);o=e.getMonth()+1;break;case"d":o=e.getDate();break;case"h":o=e.getHours()%12||12;break;case"k":o=e.getHours()%12+1;break;case"K":o=e.getHours()%12;break;case"H":o=e.getHours();break;case"m":o=e.getMinutes();break;case"s":o=e.getSeconds();break;case"S":o=e.getMilliseconds();break;case"a":return n[1*(e.getHours()>=12)]}return o=""+o,o.lengtha;t=++a)if(o=r[t],e>=o){s=parseInt(e/o,10)||0;break}return 1>e&&(s=0),t>=3?n=p("%d sec","%d secs",s).format(s):2===t?n=p("%d min","%d mins",s).format(s):1===t?n=p("%d hour","%d hours",s).format(s):0===t?n=p("%d day","%d days",s).format(s):i(!1,"Invalid time"),n},c=function(e,t){return f("%(month)s %(year)s",{comment:"Like Jun 2012"}).format({month:l(e,!0),year:t})},d=function(e,t,n,o){var i,r,s,a;return null==n&&(n=!1),null==o&&(o=!1),n?(i=e.getUTCDate(),r=e.getUTCMonth(),a=e.getUTCFullYear()):(i=e.getDate(),r=e.getMonth(),a=e.getFullYear()),s=l(r,!o),t?f("%(month)s %(date)s, %(year)s",{comment:"Like Jan 15, 2014"}).format({month:s,date:i,year:a}):f("%(month)s %(date)s",{comment:"Like Jan 15"}).format({month:s,date:i})},o=function(e,t){var n,o,i,r,s,a,u,c;return null==t&&(t=!1),s=new Date(Date.now()),a=(s.getTime()-e.getTime())/1e3,60>a?f("Just now"):3600>a?(i=parseInt(a/60,10),p("%d min ago","%d mins ago",i).format(i)):86400>a?(o=parseInt(a/3600,10),p("%d hour ago","%d hours ago",o).format(o)):2592e3>a?(n=parseInt(a/86400,10),p("%d day ago","%d days ago",n).format(n)):4838400>a?(u=parseInt(a/604800,10),p("%d week ago","%d weeks ago",u).format(u)):31536e3>a?(r=parseInt(a/2592e3,10),p("%d month ago","%d months ago",r).format(r)):(c=parseInt(a/31536e3,10),p("%d year ago","%d years ago",c).format(c))},u=function(e,t,n,o,i,r){return null==t&&(t=0),null==n&&(n=0),null==o&&(o=0),null==i&&(i=0),null==r&&(r=0),e.setFullYear(e.getFullYear()+t),e.setMonth(e.getMonth()+n),e.setDate(e.getDate()+o),e.setHours(e.getHours()+i),e.setMinutes(e.getMinutes()+r),e},h=function(){return(new Date).getTime()},r={abbr_month_names:n,ago:o,format_date:s,format_time:a,increment_date:u,month_abbr_with_year:c,month_name:l,month_names:_,nice_date_with_month_name:d,time:h}}),define("modules/clean/db_bubble",["jquery","modules/core/exception"],function(e,t){var n,o;return o=t.assert,n={position:function(t,n,i){var r,s,a,u,c,l,_;for(t=e(t).css({bottom:"auto",left:"auto",position:"absolute",right:"auto",top:"auto"}),o(t.find(".db-arrow").length,"db-arrow not found"),r=t.find(".db-arrow-border"),o(r.length,"db-arrow-border not found"),u=null,_=["top","right","bottom","left"],c=0,l=_.length;l>c;c++)if(a=_[c],t.hasClass("db-"+a+"-arrow")){u=a;break}return o(u,"No db-#{direction}-arrow class set"),"left"===u?s="left+"+r.outerWidth()+"px top-"+r.position().top+"px":"right"===u?s="right-"+r.outerWidth()+"px top-"+r.position().top+"px":"top"===u?s="left-"+r.position().left+"px top+"+r.outerHeight()+"px":"bottom"===u&&(s="left-"+r.position().left+"px bottom-"+r.outerHeight()+"px"),i||(i={top:"bottom",left:"right",bottom:"top",right:"left"}[u]),t.position({my:s,at:i,of:n,collision:"none"})}}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}},__hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};define("modules/clean/dbmodal",["jquery","external/keymaster","modules/core/browser","modules/core/dom","modules/core/exception","modules/clean/viewer"],function(e,t,n,o,i){var r,s,a,u;return u=i.assert,s=function(){function t(){}return t.__stack=[],t.CLEAR="dbmodal:clear",t.pop=function(n){var o;return null==n&&(n=null),null!=n?t.remove(n):n=t.__stack.pop(),null!=n&&n._hide(),o=t.top(),null!=o?o._show():e(document).trigger(t.CLEAR)},t.push=function(e){var n;return u(e instanceof r,"must pass in valid DBModal"),t.remove(e),n=t.top(),(null!=n?n.visible:void 0)&&n._hide(),t.__stack.push(e),e._show()},t.top=function(){var e;return e=t.__stack.length,e?t.__stack[e-1]:null},t.remove=function(e){var n,o,i,r,s;for(o=[],s=t.__stack,i=0,r=s.length;r>i;i++)n=s[i],n!==e&&o.push(n);t.__stack=o},t.clear=function(){var n,o,i,r;for(n=i=r=t.__stack.length-1;i>=0;n=i+=-1)o=t.__stack[n],o.visible&&o._hide();return e(document).trigger(t.CLEAR),t.__stack=[]},t.register=function(n,o){return e(document).on(n,o),e(document).on(t.CLEAR,function(){return e(document).off(n,o)})},t.unregister=function(t,n){return e(document).off(t,n)},t.trigger=function(t,n){return e(document).trigger(t,n)},t}(),r=function(){function t(e){var n;this.options=e,this.set_title=__bind(this.set_title,this),this._hide=__bind(this._hide,this),this.resize=__bind(this.resize,this),this._show=__bind(this._show,this),this.hide=__bind(this.hide,this),this.show=__bind(this.show,this),this.__focus=__bind(this.__focus,this),this.__unlisten=__bind(this.__unlisten,this),this.__listen_buttons=__bind(this.__listen_buttons,this),this.__listen=__bind(this.__listen,this),this.__overlay_click_handler=__bind(this.__overlay_click_handler,this),this.__fix_position=__bind(this.__fix_position,this),this.__keydown_handler=__bind(this.__keydown_handler,this),this.__tabbable_elements=__bind(this.__tabbable_elements,this),this.__x_click_handler=__bind(this.__x_click_handler,this),this.__show_modal=__bind(this.__show_modal,this),this.__clone_modal=__bind(this.__clone_modal,this),this.format=__bind(this.format,this),this.on_cancel_button_click=__bind(this.on_cancel_button_click,this),this.on_confirm_button_click=__bind(this.on_confirm_button_click,this),this.before_show=__bind(this.before_show,this),this.element_id=t.add_role_to_id(this.options.element_id,this.options.role),this.$template=t.get_template(this.options.element_id),n=this.$template.find(".db-modal"),u(this.$template.length,"Missing DBModal pyxl element for '"+this.element_id+"'"),this.options.focus&&("confirm"===this.options.focus?u(n.find(".confirm-button").length,"DBModal pyxl element is missing a confirm button to focus"):"cancel"===this.options.focus?u(n.find(".cancel-button").length,"DBModal pyxl element is missing a cancel button to focus"):u(n.find(this.options.focus).length,"DBModal pyxl element is missing focus element with selector '"+this.options.focus+"'")),null!=this.on_show&&u("function"==typeof this.on_show,"'on_show' must be a function"),null!=this.before_show&&u("function"==typeof this.before_show,"'before_show' must be a function"),null!=this.on_hide&&u("function"==typeof this.on_hide,"'on_hide' must be a function"),null!=this.on_confirm_button_click&&u("function"==typeof this.on_confirm_button_click,"'on_confirm_button_click' must be a function"),null!=this.on_cancel_button_click&&u("function"==typeof this.on_cancel_button_click,"'on_cancel_button_click' must be a function"),this.options.vars&&(this.vars=this.options.vars),this.click_out_to_close=!0,this.options.click_out_to_close===!1&&(this.click_out_to_close=!1),this.prev_key_scope=null,this.vertical_offset=90}return t.KEY_SCOPE="dbmodal",t.__stack=[],t.get_containing_modal=function(e){var n,i;return i=e.closest(".db-modal-wrapper"),n=o.controller(i),n&&u(n instanceof t,"controller of .db-modal-wrapper must be a DBModal object"),n},t.prototype.before_show=function(){return null!=this.options.title?this.set_title(this.options.title):void 0},t.prototype.on_confirm_button_click=function(e){return e.preventDefault(),s.pop()},t.prototype.on_cancel_button_click=function(e){return e.preventDefault(),s.pop()},t.prototype.on_show=null,t.prototype.on_hide=null,t.prototype.format=function(e){var t,n;for(t in e)__hasProp.call(e,t)&&(n=e[t],this.$modal_window.find(t).text(n));return this},t.prototype.__clone_modal=function(){return this.$modal_window||(this.$modal_window=o.clone(this.$template).attr("id",this.element_id),this.$overlay=this.$modal_window.find(".db-modal-overlay")),o.set_controller(this.$modal_window,this),o.bind_controllers(this.$modal_window),e("body").prepend(this.$modal_window)},t.prototype.__show_modal=function(){return this.$modal_window.show(),this.__fix_position()},t.prototype.__x_click_handler=function(e){return e.preventDefault(),s.clear()},t.prototype.__tabbable_elements=function(){var t,n,o,i,r,s,a,c,l,_;if(a=this.$modal_window.find(".db-modal").find(":tabbable"),u(a.length,'"dbmodal-x" should be in tabbable_elms'),c=function(){var t,n,i;for(i=[],t=0,n=a.length;n>t;t++)o=a[t],parseInt(e(o).attr("tabindex"))>-1&&i.push(o);return i}(),c.length){for(s=function(t,n){var o,i;return o=parseInt(e(t).attr("tabindex"),10),i=parseInt(e(n).attr("tabindex"),10),i>o?-1:o>i?1:0},c.sort(s),i=-1,l=0,_=c.length;_>l;l++)o=c[l],r=a.index(o),-1===i&&(i=r),a.splice(r,1);u(i>-1,"First index should be set"),n=a.slice(0,i),t=a.slice(i),a=e.merge(n,c),a=e.merge(a,t)}return a},t.prototype.__keydown_handler=function(t){var n,i,r,a;if((27===t.keyCode||8===t.keyCode&&!o.focus_in_input())&&(t.preventDefault(),s.clear()),9===t.keyCode){if(t.preventDefault(),n=this.__tabbable_elements(),i=n.index(e(t.target)),0>i)return this.focus_element?e(this.focus_element).focus():(a=t.shiftKey?n.last():n.first(),a.focus());if(i>-1)return r=t.shiftKey?-1:1,a=(i+r)%n.length,n.get(a).focus()}},t.prototype.__fix_position=function(){var e,t;return e=this.$modal_window.find(".db-modal"),t=e.width(),e.css({margin:"0 0 0 "+Math.floor(-t/2).toString()+"px",position:"fixed",top:this.vertical_offset})},t.prototype.__overlay_click_handler=function(e){return e.preventDefault(),s.clear()},t.prototype.__listen=function(){return this.click_out_to_close!==!1&&this.$overlay.on("click",this.__overlay_click_handler),this.$db_modal_x=this.$modal_window.find(".db-modal-x"),this.$db_modal_x.on("click",this.__x_click_handler),e(document).on("keydown",this.__keydown_handler),this.__listen_buttons()},t.prototype.__listen_buttons=function(){return null!=this.on_confirm_button_click&&(this.$confirm_button=this.$modal_window.find(".confirm-button"),this.$confirm_button.on("click",this.on_confirm_button_click)),null!=this.on_cancel_button_click?(this.$cancel_button=this.$modal_window.find(".cancel-button"),this.$cancel_button.on("click",this.on_cancel_button_click)):void 0},t.prototype.__unlisten=function(){return this.click_out_to_close!==!1&&this.$overlay.off("click"),this.$db_modal_x.off("click"),e(document).off("keydown",this.__keydown_handler),null!=this.on_confirm_button_click&&this.$confirm_button.off("click"),null!=this.on_cancel_button_click?this.$cancel_button.off("click"):void 0},t.prototype.__focus=function(){var e,t,o,i;return t=this.$modal_window.find(".db-modal"),"confirm"===this.options.focus?this.focus_element=t.find(".confirm-button").first():"cancel"===this.options.focus?this.focus_element=t.find(".cancel-button").first():this.options.focus?this.focus_element=t.find(this.options.focus).first():(this.focus_element=t,e=t.find("input[type=text], input[type=email]").first(),e.length?this.focus_element=e:n.msie||(o=t.find("input[type=button]").first(),o.length&&(this.focus_element=o),i=t.find("input[type=submit]").first(),i.length&&(this.focus_element=i))),this.focus_element.focus()},t.add_role_to_id=function(e,t){return t?""+e+"-"+t:e},t.get_template=function(n,o){var i;return i=t.add_role_to_id(n,o),e("#db-modal-"+i)},t.prototype.show=function(){return s.push(this)},t.prototype.hide=function(){return this!==s.top()?(s.remove(this),this._hide()):s.pop()},t.prototype._show=function(){return this.visible?void 0:(this.__clone_modal(),"function"==typeof this.before_show&&this.before_show(this.$modal_window),this.__show_modal(),this.resize(),this.__listen(),this.visible=!0,window.key.getScope()!==this.constructor.KEY_SCOPE&&(this.prev_key_scope=window.key.getScope()),window.key.setScope(this.constructor.KEY_SCOPE),e(document).trigger("modalOpened",[1]),o.scroll_lock_document(),"function"==typeof this.on_show&&this.on_show(),this.__focus(),this)},t.prototype.resize=function(){var t;return t=e(window).height()-220,this.$modal_window.find(".db-modal-content").css(this.$modal_window.find(".db-modal").height()>t?{"max-height":t+"px","overflow-y":"auto"}:{"max-height":"","overflow-y":""})},t.prototype._hide=function(){return this.visible?(this.__unlisten(),window.key.setScope(this.prev_key_scope),this.$modal_window.remove(),this.visible=!1,this.prev_key_scope=null,e(document).trigger("modalClosed",[1]),o.scroll_unlock_document(),"function"==typeof this.on_hide&&this.on_hide(),this):void 0},t.prototype.set_title=function(e){return this.$modal_window.find(".db-modal-title-text").text(e),this},t}(),a=function(t){function n(e,t){this.user=e,this.__inject_basic_user_properties=__bind(this.__inject_basic_user_properties,this),this.before_show=__bind(this.before_show,this),n.__super__.constructor.call(this,t)}return __extends(n,t),n.prototype.before_show=function(e){return n.__super__.before_show.call(this,e),this.__inject_basic_user_properties(e)},n.prototype.__inject_basic_user_properties=function(t){var n,o;return n=t.find("form"),n.find("input[name='"+Constants.UID_PARAM_NAME+"']").remove(),o=e('').attr({name:Constants.UID_PARAM_NAME,value:this.user.id}),n.append(o),t.find(".dbmodal-email-placeholder").text(this.user.email)},n}(r),__CONDITIONAL_JS__.DBModalStack=INLINE_JS.DBModalStack=s,INLINE_JS.DBModal=r,{DBModalStack:s,DBModal:r,DBUserModal:a}});var __hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};define("modules/clean/dbmodal_loading",["modules/clean/dbmodal","modules/clean/uirequest"],function(e,t){var n;return n=function(e){function n(e){n.__super__.constructor.call(this,e)}return __extends(n,e),n.prototype.on_show=function(){return this.fetch()},n.prototype.fetch=function(){return new t(this.$modal_window,this.options.endpoint_url,{data:this.options.parameters||{},subject_user:this.options.subject_user,html_in_error_msg:this.options.html_in_error_msg,success:function(e){return function(){return e.resize()}}(this),error:function(e){return function(){return e.hide()}}(this)})},n.prototype.on_confirm_button_click=null,n.prototype.on_cancel_button_click=null,n}(e.DBModal)}),define("modules/clean/display_format",["modules/core/i18n"],function(e){var t,n,o;return o=e._,n=function(t,n){var i,r,s;return null==n&&(n=2),t=parseFloat(t),i=Math.abs(t),1024>i?(n=0,r=t,s=e.ungettext("byte","bytes",t)):921600>i?(r=t/1024,s=o("KB")):943718400>i?(r=t/1048576,s=o("MB")):966367641600>i||0===n&&1099511627776>t?(r=t/1073741824,s=o("GB")):(r=t/1099511627776,s=o("TB")),r=Math.round(r*Math.pow(10,n))/parseFloat(Math.pow(10,n)),r=r.toFixed(n),""+r+" "+s},t={format_bytes:n}}),define("modules/clean/dropbox_nav",["jquery","modules/clean/analytics","modules/clean/photos/photos_engagement_logger"],function(e,t,n){var o;return o=function(){function o(){e(".carousel-nav-item").click(function(e){return function(){return e.log_click("carousel_nav_link_click")}}(this)),e(".composer-nav-item").click(function(e){return function(){return e.log_click("composer_nav_link_click")}}(this)),e(".mailbox-nav-item").click(function(e){return function(){return e.log_click("mailbox_nav_link_click")}}(this)),e(".carousel-nav-item").click(function(){return n.log_and_send(n.CAROUSEL_NAV_LINK_CLICK)}),e(".photos-nav-item").click(function(){return n.log_and_send(n.PHOTOS_NAV_LINK_CLICK)})}return o.prototype.log_click=function(e){return t.WebMiscActivityLogger.log(e)},o}()}),define("modules/clean/em_string",[],function(){var e;return e=function(){function e(t){return this instanceof e?(this.s=t,this.info=this.widthInfo(),void(this.length=t.length?this.info[this.s.length-1]:0)):new e(t)}return e.em_snippet=function(t,n,o){return null==n&&(n=50),null==o&&(o=.75),new e(t.toString()).snippet(n,o).toString()},e.prototype.widthInfo=function(){var e,t,n,o;for(t={},t[-1]=0,e=n=0,o=this.s.length;o>=0?o>n:n>o;e=o>=0?++n:--n)t[e]=t[e-1]+this.ems(this.s.charAt(e));return t},e.prototype.findSpot=function(e){var t,n,o,i;if(!e)return 0;for(i=0,n=this.s.length;n>=i;)if(o=Math.floor(i/2+n/2),t=this.info[o-1],t>e)n=o-1;else{if(!(e>t))return o;i=o+1}return i>o?i:o},e.prototype.ems=function(t){var n,o,i,r,s;return o=.65,n=1.08,i=.58,r=t.charCodeAt(0),s=e.CODEPOINT_TO_WIDTH[r],s?s/Math.pow(10,e.ACCURACY):r>=768&&879>=r?0:r>=65377&&65500>=r?i:r>=11904&&40911>=r||r>=44032&&55215>=r||r>=4352&&4607>=r||r>=63744&&64255>=r||r>=65280&&65535>=r||r>=131072&&196607>=r?n:o},e.prototype.substr=function(t,n){var o,i;return i=this.findSpot(t),null!=n?(o=this.findSpot(t+n),new e(this.s.substr(i,o-i))):new e(this.s.substr(i))},e.prototype.toString=function(){return this.s},e.prototype.snippet=function(t,n){var o,i,r,s,a;return null==t&&(t=50),null==n&&(n=.75),this.length<=t?this:(t-=e._ELLIPSIS_LENGTH,o=t*n,s=t-o,a=this.length-s,r=this.substr(0,o),i=this.substr(a),new e(r.toString()+"…"+i.toString()))},e.ACCURACY=2,e.CODEPOINT_TO_WIDTH={32:38,33:25,34:42,35:67,36:58,37:92,38:75,39:25,40:33,41:33,42:58,43:58,44:25,45:33,46:25,47:42,48:58,49:58,50:58,51:58,52:58,53:58,54:58,55:58,56:58,57:58,58:25,59:25,60:58,61:58,62:58,63:50,64:100,65:67,66:67,67:67,68:75,69:58,70:58,71:75,72:83,73:33,74:25,75:67,76:58,77:100,78:83,79:83,80:67,81:83,82:67,83:58,84:58,85:75,86:67,87:100,88:67,89:58,90:58,91:33,92:42,93:33,94:58,95:50,96:67,97:58,98:67,99:50,100:67,101:58,102:33,103:58,104:67,105:25,106:25,107:58,108:25,109:100,110:67,111:67,112:67,113:67,114:42,115:50,116:42,117:67,118:58,119:83,120:58,121:58,122:50,123:42,124:58,125:42,126:58,161:25,162:58,163:58,164:58,165:58,166:58,167:58,168:67,169:92,170:42,171:50,172:58,174:92,175:58,176:50,177:58,178:42,179:42,180:67,181:67,182:75,183:25,184:25,185:42,186:42,187:50,188:83,189:83,190:83,191:50,192:67,193:67,194:67,195:67,196:67,197:67,198:92,199:67,200:58,201:58,202:58,203:58,204:33,205:33,206:33,207:33,208:75,209:83,210:83,211:83,212:83,213:83,214:83,215:58,216:83,217:75,218:75,219:75,220:75,221:58,222:67,223:67,224:58,225:58,226:58,227:58,228:58,229:58,230:92,231:50,232:58,233:58,234:58,235:58,236:25,237:25,238:25,239:25,240:67,241:67,242:67,243:67,244:67,245:67,246:67,247:58,248:67,249:67,250:67,251:67,252:67,253:58,254:67,255:58,256:75,257:67,258:75,259:67,260:75,261:67,262:75,263:58,264:75,265:58,266:75,267:58,268:75,269:58,270:83,271:83,272:83,273:75,274:67,275:67,276:67,277:67,278:67,279:67,280:67,281:67,282:67,283:67,284:83,285:75,286:83,287:75,288:83,289:75,290:83,291:75,292:83,293:75,294:92,295:75,296:33,297:33,298:33,299:33,300:33,301:33,302:33,303:33,304:33,305:25,306:67,307:67,308:42,309:33,310:75,311:67,312:67,313:58,314:33,315:58,316:33,317:58,318:42,319:58,320:50,321:67,322:42,323:83,324:75,325:83,326:75,327:83,328:75,329:83,330:83,331:75,332:92,333:67,334:92,335:67,336:92,337:67,338:100,339:100,340:75,341:50,342:75,343:50,344:75,345:50,346:67,347:58,348:67,349:58,350:67,351:58,352:67,353:58,354:75,355:42,356:75,357:42,358:75,359:42,360:83,361:75,362:83,363:75,364:83,365:75,366:83,367:75,368:83,369:75,370:83,371:75,372:100,373:92,374:75,375:58,376:75,377:67,378:67,379:67,380:67,381:67,382:67,383:42,384:75,385:83,386:67,387:75,388:75,389:67,390:75,391:83,392:58,393:83,394:100,395:67,396:75,397:67,398:67,399:75,400:58,401:58,402:75,403:83,404:75,405:100,406:50,407:50,408:75,409:67,410:50,411:67,412:117,413:83,414:75,415:92,416:92,417:75,418:117,419:100,420:75,421:75,422:75,423:67,424:58,425:67,426:58,427:42,428:75,429:42,430:75,431:83,432:75,433:92,434:83,435:75,436:75,437:67,438:67,439:67,440:67,441:58,442:58,443:75,444:75,445:58,446:50,447:67,448:33,449:50,450:50,451:33,452:142,453:142,454:133,455:100,456:92,457:67,458:117,459:117,460:100,461:75,462:67,463:33,464:33,465:92,466:67,467:83,468:75,469:83,470:75,471:83,472:75,473:83,474:75,475:83,476:75,477:67,478:75,479:67,480:75,481:67,482:100,483:100,484:92,485:75,486:83,487:75,488:75,489:67,490:92,491:67,492:92,493:67,494:67,495:58,496:33,497:142,498:142,499:133,500:83,501:75,502:117,503:67,504:83,505:75,506:75,507:67,508:100,509:100,510:92,511:67,512:75,513:67,514:75,515:67,516:67,517:67,518:67,519:67,520:33,521:33,522:33,523:33,524:92,525:67,526:92,527:67,528:75,529:50,530:75,531:50,532:83,533:75,534:83,535:75,536:67,537:58,538:75,539:42,540:58,541:58,542:83,543:75,544:83,545:100,546:92,547:67,548:67,549:67,550:75,551:67,552:67,553:67,554:92,555:67,556:92,557:67,558:92,559:67,560:92,561:67,562:75,563:58,564:67,565:100,566:67,567:33,568:100,569:100,570:75,571:75,572:58,573:58,574:67,575:58,576:58,577:67,578:50,579:75,580:75,581:75,582:75,583:58,584:58,585:25,586:83,587:58,588:75,589:33,590:75,591:58,880:67,881:50,882:67,883:50,884:33,885:33,886:75,887:67,888:108,889:108,890:67,891:58,892:58,893:58,894:42,895:108,896:108,897:108,898:108,899:108,900:67,901:67,902:75,903:42,904:83,905:100,906:58,907:108,908:100,909:108,910:100,911:100,912:42,913:75,914:67,915:58,916:83,917:67,918:67,919:83,920:92,921:33,922:75,923:75,924:100,925:83,926:75,927:92,928:83,929:67,930:108,931:67,932:75,933:75,934:83,935:75,936:83,937:92,938:33,939:75,940:83,941:58,942:75,943:42,944:67,945:83,946:67,947:67,948:67,949:58,950:75,951:75,952:67,953:42,954:67,955:67,956:75,957:67,958:67,959:67,960:92,961:67,962:67,963:75,964:67,965:67,966:92,967:67,968:92,969:100,970:42,971:67,972:67,973:67,974:100,975:108,976:58,977:75,978:75,979:100,980:75,981:92,982:100,983:67,984:92,985:67,986:75,987:58,988:58,989:58,990:67,991:58,992:75,993:92,994:100,995:92,996:75,997:58,998:75,999:58,1e3:75,1001:75,1002:67,1003:67,1004:83,1005:58,1006:50,1007:42,1008:67,1009:67,1010:58,1011:33,1012:92,1013:58,1014:58,1015:67,1016:67,1017:75,1018:100,1019:83,1020:58,1021:75,1022:75,1023:75,1024:67,1025:67,1026:92,1027:58,1028:75,1029:67,1030:33,1031:33,1032:42,1033:108,1034:108,1035:83,1036:75,1037:83,1038:75,1039:83,1040:75,1041:67,1042:67,1043:58,1044:83,1045:67,1046:92,1047:67,1048:83,1049:83,1050:75,1051:83,1052:100,1053:83,1054:92,1055:83,1056:67,1057:75,1058:75,1059:75,1060:83,1061:75,1062:83,1063:75,1064:108,1065:108,1066:75,1067:92,1068:67,1069:75,1070:108,1071:75,1072:67,1073:67,1074:58,1075:58,1076:75,1077:67,1078:83,1079:58,1080:75,1081:75,1082:67,1083:67,1084:83,1085:75,1086:67,1087:75,1088:75,1089:58,1090:58,1091:58,1092:92,1093:67,1094:75,1095:58,1096:92,1097:100,1098:67,1099:83,1100:58,1101:58,1102:92,1103:58,1104:67,1105:67,1106:75,1107:58,1108:58,1109:58,1110:33,1111:33,1112:42,1113:92,1114:92,1115:75,1116:67,1117:75,1118:58,1119:75,1120:100,1121:75,1122:75,1123:67,1124:83,1125:83,1126:75,1127:67,1128:100,1129:92,1130:92,1131:83,1132:117,1133:108,1134:67,1135:67,1136:83,1137:83,1138:92,1139:67,1140:83,1141:67,1142:83,1143:67,1144:133,1145:125,1146:92,1147:67,1148:100,1149:75,1150:100,1151:75,1152:75,1153:58,1154:75,1155:0,1156:0,1157:0,1158:0,1159:108,1160:0,1161:0,1162:83,1163:75,1164:67,1165:58,1166:67,1167:75,1168:58,1169:58,1170:67,1171:58,1172:75,1173:67,1174:100,1175:92,1176:67,1177:58,1178:75,1179:67,1180:83,1181:75,1182:75,1183:67,1184:83,1185:75,1186:83,1187:75,1188:100,1189:83,1190:117,1191:100,1192:92,1193:75,1194:75,1195:58,1196:75,1197:58,1198:75,1199:58,1200:75,1201:58,1202:75,1203:75,1204:100,1205:83,1206:75,1207:67,1208:75,1209:67,1210:75,1211:58,1212:92,1213:75,1214:92,1215:75,1216:33,1217:92,1218:83,1219:75,1220:67,1221:83,1222:67,1223:83,1224:75,1225:83,1226:75,1227:75,1228:58,1229:100,1230:83,1231:25,1232:75,1233:67,1234:75,1235:67,1236:100,1237:100,1238:67,1239:67,1240:75,1241:67,1242:75,1243:67,1244:92,1245:83,1246:67,1247:58,1248:67,1249:58,1250:83,1251:75,1252:83,1253:75,1254:92,1255:67,1256:92,1257:67,1258:92,1259:67,1260:75,1261:58,1262:75,1263:58,1264:75,1265:58,1266:75,1267:58,1268:75,1269:58,1270:58,1271:42,1272:92,1273:83,1274:58,1275:42,1276:75,1277:58,1278:75,1279:58,2026:67,19977:108,65403:58},e._ELLIPSIS_LENGTH=new e("…").length,e}()}),define("modules/clean/event_load",["jquery"],function(){var e,t,n;return e=function(e){return window.setTimeout(function(){return e.apply(e)},0)},n=function(t){return"complete"===document.readyState?e(t):null!=window.attachEvent?window.attachEvent("onload",t):null!=window.addEventListener?window.addEventListener("load",t,!1):void 0},t={window_load:n}}),define("modules/clean/filepath",["modules/core/i18n"],function(e){var t,n,o,i,r,s,a,u,c,l,_;return _=e._,c=function(e){return e?("/"!==e.charAt(0)&&(e="/"+e),"/"===e.charAt(e.length-1)?e.substr(0,e.length-1):e):""},a=function(e,t){return e=c(e),e=e.split("/"),a=e.pop(),""===a?t||_("Dropbox"):a},u=function(e){return-1===e.indexOf(".")?e:e.split(".").slice(0,-1).join(".")},i=function(e){return e.split(".").pop()},r=function(e){return-1===e.indexOf(".")?"":i(e).toLowerCase()},t={_other:"page_white",log:"page_white",msg:"page_white",sln:"page_white",vcproj:"page_white",txt:"page_white_text",wps:"page_white_text",doc:"page_white_word",docx:"page_white_word",docm:"page_white_word",rtf:"page_white_word",pages:"page_white_word",wpd:"page_white_word",odt:"page_white_word",pdf:"page_white_acrobat",xls:"page_white_excel",xlsm:"page_white_excel",xlsx:"page_white_excel",xlsb:"page_white_excel",ods:"page_white_excel",ppt:"page_white_powerpoint",pptx:"page_white_powerpoint",pptm:"page_white_powerpoint",pps:"page_white_powerpoint",ppsx:"page_white_powerpoint",ppsm:"page_white_powerpoint",odp:"page_white_powerpoint",key:"page_white_keynote",css:"page_white_code",html:"page_white_code",htm:"page_white_code",xml:"page_white_code",php:"page_white_code",c:"page_white_code",h:"page_white_code",rb:"page_white_code",cpp:"page_white_code",java:"page_white_code",js:"page_white_code",json:"page_white_code",cs:"page_white_code",py:"page_white_code",exe:"page_white_gear",dll:"page_white_gear",app:"page_white_gear",mp3:"page_white_sound",m3u:"page_white_sound",wav:"page_white_sound",m4a:"page_white_sound",wma:"page_white_sound",aif:"page_white_sound",iff:"page_white_sound",mid:"page_white_sound",mpa:"page_white_sound",ra:"page_white_sound",aiff:"page_white_sound",amr:"page_white_sound",ogg:"page_white_sound",gif:"page_white_picture",png:"page_white_picture",jpg:"page_white_picture",jpeg:"page_white_picture",tiff:"page_white_picture",tif:"page_white_picture",bmp:"page_white_picture",odg:"page_white_picture",ari:"page_white_picture",arw:"page_white_picture",srf:"page_white_picture",sr2:"page_white_picture",bay:"page_white_picture",crw:"page_white_picture",cr2:"page_white_picture",cap:"page_white_picture",eip:"page_white_picture",dcs:"page_white_picture",dcr:"page_white_picture",drf:"page_white_picture",k25:"page_white_picture",kdc:"page_white_picture",dng:"page_white_picture",erf:"page_white_picture",fff:"page_white_picture",iiq:"page_white_picture",mef:"page_white_picture",mos:"page_white_picture",mrw:"page_white_picture",nef:"page_white_picture",nrw:"page_white_picture",orf:"page_white_picture",pef:"page_white_picture",ptx:"page_white_picture",pxn:"page_white_picture",r3d:"page_white_picture",raf:"page_white_picture",rw2:"page_white_picture",raw:"page_white_picture",rwl:"page_white_picture",rwz:"page_white_picture",obm:"page_white_picture",srw:"page_white_picture",x3f:"page_white_picture",avi:"page_white_film",mov:"page_white_film",mp4:"page_white_film",mkv:"page_white_film",wmv:"page_white_film",mpg:"page_white_film",m4v:"page_white_film",vob:"page_white_film",ogv:"page_white_film",gz:"page_white_compressed",tar:"page_white_compressed",rar:"page_white_compressed",zip:"page_white_compressed",tgz:"page_white_compressed",bz2:"page_white_compressed",iso:"page_white_dvd",dmg:"page_white_dvd",ai:"ai",psd:"page_white_paint",au:"page_white_sound",fla:"fla",swf:"fla"},o=function(e){return t[e]||"page_white"},s=function(e){var t;return t=i(e).toLowerCase(),o(t)},l=function(e){var t;return t=e.split("/").slice(0,-1).join("/"),t||"/"},n={filename:a,file_extension:i,filename_without_extension:u,file_extension_for_logging:r,file_icon:s,extension_icon:o,normalize:c,parent_dir:l}}),define("modules/clean/form",["jquery","modules/core/exception","modules/core/notify","modules/clean/ajax"],function(e,t,n,o){var i,r;return r=t.assert,i={submit:function(e,t,r,s){return o.FormWebRequest({url:e.attr("action"), data:this.collect_data(e),success:function(e,n,o){var s,a,u;return u=i.parse_response(o.responseText),a=u[0],s=u[1],a?t(s):r(s)},error:function(){return r(n.DEFAULT_ERROR)},complete:s})},collect_data:function(t){var n,o,i,r,s,a,u;for(n={},u=t.find("input, select, textarea"),s=0,a=u.length;a>s;s++)if(o=u[s],i=e(o).attr("name")){if("checkbox"===e(o).attr("type"))r=e(o).prop("checked")?"True":"";else if("radio"===e(o).attr("type")){if(!e(o).prop("checked"))continue;r=e(o).val()}else r=e(o).val();i in n?("string"==typeof n[i]&&(n[i]=[n[i]]),n[i].push(r)):n[i]=r}return n},parse_response:function(e){var t,o,i;if(0!==e.indexOf("err:"))return[!0,e];t=e.substr(4);try{return o=JSON.parse(t),[!1,o]}catch(r){return i=r,[!1,t||n.DEFAULT_ERROR]}}}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}},__indexOf=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};define("modules/clean/frame_messenger",["jquery"],function(e){var t;return t=function(){function t(){this.handleUntrustedMessage=__bind(this.handleUntrustedMessage,this),Object.defineProperty(this,"trustedParentOriginForPosting",{get:function(){return this._trustedParentOriginForPosting}}),Object.defineProperty(this,"trustedChildOriginForPosting",{get:function(){var t,n,o,i;if(null!=this._trustedChildOriginForPosting)return this._trustedChildOriginForPosting;for(t=e(this._childIframeQuery),o=0,i=t.length;i>o&&(n=t[o],!this._validateChildOriginForPosting(n.src));o++);return this._trustedChildOriginForPosting}})}return t._ALLOWED_CHILD_ORIGINS=["https://www.dropboxstatic.com","https://cf.dropboxstatic.com","https://www.dropbox.com","https://block-dbdev.dev.corp.dropbox.com","https://meta-dbdev.dev.corp.dropbox.com","https://dl-doc.dropbox.com","https://dl-web.dropbox.com"],t._ALLOWED_PARENT_ORIGINS=["https://www.dropbox.com","https://meta-dbdev.dev.corp.dropbox.com"],t.prototype._childIframeQuery=null,t.prototype._trustedChildOriginForPosting=null,t.prototype._trustedParentOriginForPosting=null,t.prototype._validActionsFromChild=[],t.prototype._validActionsFromParent=[],t.prototype._trustedMessageFromChildHandler=null,t.prototype._trustedMessageFromParentHandler=null,t.prototype._parentMessageQueue=[],t.prototype.resetOriginsForPosting=function(){return this._trustedChildOriginForPosting=null,this._trustedParentOriginForPosting=null},t.prototype.configureChildMessaging=function(e,t,n){return this._childIframeQuery=e,this._trustedChildOriginForPosting=null,this._validActionsFromChild=n,this._trustedMessageFromChildHandler=t},t.prototype.configureParentMessaging=function(e,t){return this._trustedParentOriginForPosting=null,this._validActionsFromParent=t,this._trustedMessageFromParentHandler=e},t.prototype.startListening=function(){return window.addEventListener("message",this.handleUntrustedMessage),null!=this._validActionsFromParent&&this._validActionsFromParent.length>0&&null!=this._trustedMessageFromParentHandler?this._requestParentOrigin():void 0},t.prototype.stopListening=function(){return window.removeEventListener("message",this.handleUntrustedMessage)},t.prototype._getOriginFromUrl=function(e){var t;return t=document.createElement("a"),t.href=e,"https://"+t.hostname},t.prototype._isChildOriginAllowed=function(e){return __indexOf.call(this.constructor._ALLOWED_CHILD_ORIGINS,e)>=0},t.prototype._isParentOriginAllowed=function(e){return __indexOf.call(this.constructor._ALLOWED_PARENT_ORIGINS,e)>=0},t.prototype._validateChildOriginForPosting=function(e){var t;return t=this._getOriginFromUrl(e),this._isChildOriginAllowed(t)?(this._trustedChildOriginForPosting=t,!0):(console.warn("Untrusted message from child blocked: "+e),!1)},t.prototype.childIsValidated=function(){return null!=this._trustedChildOriginForPosting},t.prototype._validateParentOriginForPosting=function(e){var t,n,o,i,r,s;if(o=this._getOriginFromUrl(e),!this._isParentOriginAllowed(o))return console.warn("Untrusted message from parent blocked: "+e),!1;if(this._trustedParentOriginForPosting=o,this._parentMessageQueue.length>0){for(s=this._parentMessageQueue,i=0,r=s.length;r>i;i++)t=s[i],n=JSON.parse(t),this.postMessageToParent(n.action,n.parameters);this._parentMessageQueue=[]}return!0},t.prototype.handleUntrustedMessage=function(e){var t,n,o;return this._isChildOriginAllowed(e.origin)||this._isParentOriginAllowed(e.origin)?(t=JSON.parse(e.data),null!=t.action?"child-requesting-parent-origin"===t.action?void(this._validateChildOriginForPosting(e.origin)&&this.postMessageToChildren("parent-origin-response")):"parent-origin-response"===t.action?void this._validateParentOriginForPosting(e.origin):(n=t.action,__indexOf.call(this._validActionsFromChild,n)>=0&&this._validateChildOriginForPosting(e.origin)&&null!=this._trustedMessageFromChildHandler?void this._trustedMessageFromChildHandler(t):(o=t.action,void(__indexOf.call(this._validActionsFromParent,o)>=0&&this._validateParentOriginForPosting(e.origin)&&null!=this._trustedMessageFromParentHandler&&this._trustedMessageFromParentHandler(t)))):void 0):void console.warn("Messsage received not in parent or child origin whitelist: "+e.origin)},t.prototype._packagePostMessage=function(e,t){var n,o;return o=this.trustedChildOriginForPosting,n={action:e,parameters:t},JSON.stringify(n)},t.prototype.postMessageToChildElements=function(e,t,n){var o,i,r,s,a;if(null==n&&(n={}),null!=this.trustedChildOriginForPosting){for(i=this._packagePostMessage(t,n),a=[],r=0,s=e.length;s>r;r++)o=e[r],a.push(o.contentWindow.postMessage(i,this.trustedChildOriginForPosting));return a}},t.prototype.postMessageToChildren=function(t,n,o){var i;return null==n&&(n={}),null==o&&(o=null),null==o&&(o=this._childIframeQuery),i=e(o),this.postMessageToChildElements(i,t,n)},t.prototype.postMessageToParent=function(e,t){var n;return null==t&&(t={}),n=this._packagePostMessage(e,t),null==this.trustedParentOriginForPosting?void this._parentMessageQueue.push(n):window.parent.postMessage(n,this.trustedParentOriginForPosting)},t.prototype._requestParentOrigin=function(){return window.parent.postMessage('{"action": "child-requesting-parent-origin"}',"*")},t}()}),define("modules/clean/fuzzy",["external/underscore"],function(e){var t;return t={simpleFilter:function(e,n){return n.filter(function(n){return t.test(e,n)})},test:function(e,n){return null!==t.match(e,n)},match:function(e,t,n){var o,i,r,s,a,u,c,l,_,d,h,p,f,m;for(n=n||{},_=0,f=[],l=t.length,m=0,u=0,h=n.pre||"",d=n.post||"",r=n.caseSensitive&&t||t.toLowerCase(),o=void 0,i=void 0,e=n.caseSensitive&&e||e.toLowerCase(),c=0,p=[],s=0,a=0;l>c;)o=t[c],r[c]===e[_]?(o=h+o+d,a?a+=1:(s=c,a=1),_+=1,u+=1+u):(u=0,a&&(p.push([s,a]),a=0)),m+=u,f[f.length]=o,c++;return a&&p.push([s,a]),_===e.length?{highlighted:p,rendered:f.join(""),score:m}:null},filter:function(t,n,o){var i,r;return null==o&&(o={}),r=[],i=this._reduce.bind(this,t,o),e.reduce(n,i,r).sort(this._sort)},_reduce:function(e,n,o,i,r){var s,a;return a=i,n.extract&&(a=n.extract(i)),s=t.match(e,a,n),null!=s&&o.push({string:s.rendered,score:s.score,index:r,original:i}),o},_sort:function(e,t){var n;return n=t.score-e.score,n?n:e.index-t.index}}}),define("modules/clean/hi_res",["jquery"],function(e){var t;return t=function(){function t(e){var t;this.constructor._show_hi_res()&&(t=e.attr("data-hi-res-no-resize"),this.constructor.set_src(e,e.attr("data-hi-res"),t),this.constructor.set_bg(e,e.attr("data-hi-res-background"),t))}return t.set_src=function(e,t,n){return this._show_hi_res()&&t&&t!==e.attr("src")?this._replace(e,t,!n,this._replace_img):void 0},t.set_bg=function(e,t,n){return this._show_hi_res()?this._replace(e,t,!n,this._replace_background):void 0},t._show_hi_res=function(){return"devicePixelRatio"in window&&window.devicePixelRatio>1},t._replace=function(t,n,o,i){var r;if(n)return r=new Image,r.src=n,e(r).on("load",function(){return i(t,n,o,r.width,r.height)})},t._replace_img=function(e,t,n,o,i){return e.attr("src",t),n?(e.width(o/2),e.height(i/2)):void 0},t._replace_background=function(e,t,n,o,i){var r;return r="url('%(src)s')".format({src:t}),e.css("backgroundImage",r),n?e.css("backgroundSize",""+o/2+"px "+i/2+"px"):void 0},t}()}),define("modules/clean/history",["external/modernizr","modules/core/browser","modules/core/exception","modules/core/uri"],function(e,t,n,o){var i,r;return r=n.assert,i=function(){var e,n,i,s,a,u,c,l,_,d,h,p,f;return e=new RegExp("#|;|\\?|:|@|&|=|\\+|\\$"),h=function(){var n,i,r;return r=void 0,Modernizr.history||-1===t.get_href().indexOf("#!")?(n=window.location.pathname,i=window.location.search,-1!==n.search(e)&&(n=String(o({path:n}))),r=n+i):r=t.get_href().split("#!").pop(),r},a=function(e,t){return String(o.parse(e).setQuery(t))},u=function(e){var t;return null==e&&(e=h()),t=e.split("?"),{url:e,path:t[0],qargs:o.parse(e).getQuery()}},n={},c={},p=h(),f=null,d=function(e){return"/"+e.split("/")[1]},l=function(){var e,t,o;return o=p,t=u(o),e=d(t.path),e in n?(n[e](t.path.substr(e.length+1),t.qargs),!0):!1},_=function(){var e,t,n;return n=p,t=u(n),e=d(t.path),e in c?c[e](t.path.substr(e.length+1),t.qargs):void 0},i=function(e,t){var n,o;return o=d(e),n=d(t),o!==n?_():void 0},s=function(){var e;return e=h(),e!==p?(i(p,e),p=e,l()):void 0},{init:function(){return f?void 0:(p=h(),f=setInterval(s,50))},add_callback:function(e,t,o){return this.init(),r("string"==typeof e,"DBHistory prefix is not a string"),r(0===e.indexOf("/"),"DBHistory prefix must be absolute"),r(1===e.count("/"),"multi-component prefixes arent supported"),n[e]=t,o?void 0:l()},add_exit_callback:function(e,t){return this.init(),r("string"==typeof e,"DBHistory prefix is not a string"),r(0===e.indexOf("/"),"DBHistory prefix must be absolute"),r(1===e.count("/"),"multi-component prefixes arent supported"),c[e]=t},fire_callbacks:function(){return l()},_build_url_for_state_change:function(e,t){var n;return r("string"==typeof e,"DBHistory path is not a string"),r(0===e.indexOf("/"),"DBHistory path must be absolute"),r(-1===e.indexOf("//"),"DBHistory path contains //"),n=a(e,t)},_pre_state_change:function(e){return e===p?!1:(i(p,e),!0)},_post_state_change:function(){return p=h(),l()},replace_state:function(e,t){var n;return n=this._build_url_for_state_change(e,t),this._pre_state_change(n)?(r(Modernizr.history,"replace_state is only available on modern browsers"),window.history.replaceState(null,null,n),this._post_state_change()):void 0},push_state:function(e,t){var n;return r(-1===e.indexOf("?"),"DBHistory path contains ?"),r(-1===e.indexOf("#"),"DBHistory path contains #"),n=this._build_url_for_state_change(e,t),this._pre_state_change(n)?(Modernizr.history?window.history.pushState(null,null,n):window.location.href="#!"+n,this._post_state_change()):void 0},remove_query_param:function(e){var t;if(Modernizr.history)return t=this.deconstruct_url(),delete t.qargs[e],this.replace_state(t.path,t.qargs)},get_url:h,construct_url:a,deconstruct_url:u,URL_ESCAPE_REGEX:e}}()}),define("modules/clean/image_size",[],function(){var e;return e=function(e,t){var n,o,i,r,s,a,u;for(i=[["480x320",480,320],["640x480",640,480],["800x600",800,600],["1024x768",1024,768],["1280x960",1280,960],["1600x1200",1600,1200],["2048x1536",2048,1536]],a=0,u=i.length;u>a;a++)if(r=i[a],o=r[0],s=r[1],n=r[2],s>=e||n>=t)return o;return i[i.length-1][0]},{image_best_fit_size:e}}),define("modules/clean/job_progress",["jquery"],function(e){var t,n,o;return o={make:function(t,n){var o,i,r,s,a,u,c;return null==n&&(n=300),c=n.toString()+"px",r=e("
",{"class":"outer-progress-bar"}).css({width:c}),o=e("
",{"class":"inner-progress-bar",id:"pb_"+t}).css({width:c}),a=e("
",{"class":"under-pb progress-bar"}).css({width:c}),s=e("
",{"class":"over-pb progress-bar",id:"pb_"+t+"_over"}).css({display:"none"}),u=e("
",{"class":"pb-percentage",id:"pb_"+t+"_upct"}).css({width:c}),i=e("
",{"class":"pb-percentage",id:"pb_"+t+"_opct"}).css({width:c}),a.append(u),s.append(i),o.append(a),o.append(s),r.append(o),s.data("progress-width",n),r},set:function(t,n){var o,i,r;return(o=e("#pb_"+t+"_over"))?(n=Math.min(n,1),i=o.data("progress-width"),r=String(i*n)+"px",o.show(),o.css({backgroundColor:"#348DD3",overflow:"hidden",width:r})):void 0}},t={complete:{},handled:function(e){var n;return e?(n=!!t.complete[e],t.complete[e]=!0,n):!1},peek:function(e){return e?!!t.complete[e]:!1}},n={show:function(t){var n,i,r,s,a,u,c,l;if(t&&(null!=(c=__CONDITIONAL_JS__.DBModalStack)&&null!=(l=c.top())&&l.hide(),n=e("body"),i=e("
",{id:"modal-progress-overlay"}),i.hide(),i.appendTo(n),e("#browse-box").length?i.clonePosition(e("#browse-box")):e("#gallery-view-media").length?i.clonePosition(e("#gallery-view-media")):i.css({position:"fixed",width:"100%",height:"100%"}),i.width()))return a=e("
",{id:"modal-progress-content"}),s=e("
",{id:"modal-progress-container"}),r=e("
",{id:"modal-progress-bar",opacity:1,html:o.make("modal-progress",150,"")}),u=e("
",{id:"modal-progress-text",text:t}),a.hide(),s.append(r,u),a.append(s),n.append(a),i.fadeTo(250,.7),a.fadeIn(250)},update:function(e){var t;if(!(e.indexOf("/")>0&&(t=e.split("/"),e=Number(t[0])/Number(t[1]),isNaN(e))))return o.set("modal-progress",e)},hide:function(){return e("#modal-progress-overlay").fadeOut(250,function(){return e("#modal-progress-overlay").remove()}),e("#modal-progress-content").fadeOut(250,function(){return e("#modal-progress-content").remove()})}},{ModalProgress:n,Job:t}}),define("modules/clean/keycode",[],function(){var e;return e=function(){function e(){}return e.BACKSPACE=8,e.TAB=9,e.ENTER=13,e.SHIFT=16,e.CONTROL=17,e.ALT=18,e.ESC=27,e.SPACE=32,e.PAGE_UP=33,e.PAGE_DOWN=34,e.END=35,e.HOME=36,e.LEFT=37,e.UP=38,e.RIGHT=39,e.DOWN=40,e.INSERT=45,e.DELETE=46,e.TWO_KEY=50,e.COMMAND=91,e.FORWORD_SLASH=191,e.AT_SIGN=64,e.PROCESSING=229,e}()}),define("modules/clean/mailcheck",["jquery","modules/core/html","modules/core/i18n"],function(e,t,n){var o,i;return i=n._,o=function(){function e(e,t){this.$input=e,this.$suggestion_container=t,this.watch()}return e.DOMAINS=["gmail.com","hotmail.com","yahoo.com","aol.com","web.de","gmx.de","googlemail.com","me.com","live.com","msn.com","mail.ru","comcast.net","google.com","mac.com"],e.WHITELIST_REGEXS=[/ymail.com/,/yahoo\.co\./,/yahoo\.com\./,/hotmail\.co\./,/hotmail\.com\./,/gmx\.net/,/gmx\.at/,/gmx\.ch/,/gmx\.com/,/mail\.com/,/web\.com/],e.THRESHOLD=2,e.prototype.watch=function(){return this.$input.on("blur",function(e){return function(){var t;return t=e.suggest(e.$input.val()),t?e.populate(t):e.clear()}}(this))},e.prototype.populate=function(e){var n,o,r;return n=t.escape(e.address).toHTML(),o=t.escape(e.domain).toHTML(),r=""+n+"@",this.$suggestion_container.html(new t(i("Did you mean %(suggested_email)s?").format({suggested_email:r})).toHTML()),this.$suggestion_container.show(),this.$suggestion_container.on("click",function(t){return function(){return t.$input.val(e.full),t.clear()}}(this))},e.prototype.clear=function(){return this.$suggestion_container.empty(),this.$suggestion_container.hide()},e.prototype.suggest=function(e){var t,n,o,i;return e=e.toLowerCase(),(i=this.splitEmail(e))?(o=i.domain,t=i.address,this.whitelistedDomain(o)?!1:(n=this.findClosestDomain(o),n?{address:t,domain:n,full:""+t+"@"+n}:!1)):!1},e.prototype.whitelistedDomain=function(t){var n,o,i,r;for(r=e.WHITELIST_REGEXS,o=0,i=r.length;i>o;o++)if(n=r[o],n.match(t))return!0;return!1},e.prototype.splitEmail=function(e){var t;return t=e.split("@"),t.length<2?void 0:{domain:t.pop(),address:t.join("@")}},e.prototype.findClosestDomain=function(t){var n,o,i,r,s,a,u;for(r=99,o=null,u=e.DOMAINS,s=0,a=u.length;a>s;s++)n=u[s],i=this.stringDistance(t,n),r>i&&(r=i,o=n);return o&&o!==t&&r<=e.THRESHOLD?o:!1},e.prototype.stringDistance=function(e,t){var n,o,i,r,s,a;if(null==e||0===e.length)return null==t||0===t.length?0:t.length;if(null==t||0===t.length)return e.length;for(n=0,s=0,a=0,i=0,r=5;n+so;){if(n+ot;t++)if(t in this&&this[t]===e)return t;return-1};define("modules/clean/open_with",["modules/clean/browse_interface","modules/clean/filepath","modules/core/uri"],function(e,t,n){var o;return o=function(){function o(){}var i;return o.MAX_SUPPORTED_FILE_SIZE_B=157286400,i=[{id:"excel",ext:["ods","xlsb","xlsm","xlsx"],icon:"excel",name:"Microsoft Excel Online"},{id:"powerpoint",ext:["odp","ppsx","pptx"],icon:"powerpoint",name:"Microsoft PowerPoint Online"},{id:"word",ext:["odt","docm","docx"],icon:"word",name:"Microsoft Word Online"}],o.SUPPORTED_APPS={word:!1,excel:!1,powerpoint:!1},o.get_open_handler_for=function(r,s){var a,u,c;return a=t.file_extension(r.filename).toLowerCase(),c=i.filter(function(e){return __indexOf.call(e.ext,a)>=0}),c.length&&o.SUPPORTED_APPS&&o.SUPPORTED_APPS[c[0].id]?(u=n.encode_parts(r.fq_path),{icon:c[0].icon,name:c[0].name,uri:"/ow/msft/edit"+e.get_browse_root(s)+u}):null},o.file_supported=function(e){var n,o;return n=t.file_extension(e.filename).toLowerCase(),o=i.filter(function(e){return __indexOf.call(e.ext,n)>=0}),o.length>0},o}(),__CONDITIONAL_JS__.OpenWith=o,o});var __hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};define("modules/clean/openwith/logger",["jquery","modules/clean/ajax"],function(e,t){var n,o;return n=function(){function e(){}return e.log=function(e,n,o){return o=o||{},o.vendor=e,t.WebRequest({url:"/ow/js_log",data:{evt:n,extra:JSON.stringify(o)}})},e}(),o=function(e){function n(){return n.__super__.constructor.apply(this,arguments)}return __extends(n,e),n.log=function(e,t){return n.__super__.constructor.log.call(this,"msft",e,t)},n.log_postmessage_received=function(e,t,o){var i,r,s,a,u;for(i={user_id:e,wopi_id:t},u=["origin","timeStamp","data"],s=0,a=u.length;a>s;s++)r=u[s],r in o&&(i[r]=o[r]);return n.log("postmessage_received",i)},n.log_postmessage_sent=function(e,t,o,i){var r,s,a,u,c;for(r={user_id:e,wopi_id:t,postmsg_url:o},c=["MessageId","SendTime","Values"],a=0,u=c.length;u>a;a++)s=c[a],s in i&&(r[s]=i[s]);return n.log("postmessage_sent",r)},n.log_conflict_modal_shown=function(e,t,o){var i;return i={user_id:e,wopi_id:t},n.log(o,i)},n.log_open_button_pressed=function(e,n,o,i){return t.WebRequest({url:"/ow/log_open_button_pressed",dataType:"json",data:{user_id:e,server_path:""+o+":"+i,file_extension:n}})},n}(n),__CONDITIONAL_JS__.OpenWithMicrosoftLogger=o,{OpenWithLogger:n,OpenWithMicrosoftLogger:o}}),define("modules/clean/payments/cash",[],function(){var e,t,n,o;return o=function(){function e(){}return e._groupSymbol=",",e._decimalSymbol=".",e._minusSignSymbol="-",e._currencyFormatMap={USD:"$%v"},e.set_locale_number_format=function(t,n,o){e._groupSymbol=null!=t?t:",",e._decimalSymbol=null!=n?n:".",e._minusSignSymbol=null!=o?o:"-"},e.set_currency_format_map=function(t){e._currencyFormatMap=t},e._formatAmountThousandsHelper=function(t){var n;return n=Math.abs(parseInt(t)).toFixed(0)+"",n.length<=3?n:e._formatAmountThousandsHelper(n.substr(0,n.length-3))+e._groupSymbol+n.substr(n.length-3)},e.roundCurrency=function(e,t,n){return null==t&&(t="USD"),null==n&&(n=2),e%1===0&&(n=0),this.formatCurrency(e,t,n)},e.formatCurrency=function(t,n,o,i){var r,s,a,u;return null==n&&(n="USD"),null==o&&(o=2),null==i&&(i=!1),"JPY"===n&&(o=0),s=e.formatNumber(t,o),a=(null!=(u=e._currencyFormatMap[n])?u.replace("%v",s):void 0)||s+" "+n,i?(r=a.indexOf(e._decimalSymbol),-1===r?[a,""]:[a.slice(0,r+1),a.slice(r+1)]):a},e.formatNumber=function(t,n){return null==n&&(n=2),(0>t?e._minusSignSymbol:"")+e._formatAmountThousandsHelper(t)+(n>0?e._decimalSymbol+t.toFixed(n).split(".")[1]:"")},e}(),t=function(){function e(e,t){this.cash1=e,this.cash2=t}return e}(),n=function(){function e(){}return e}(),e=function(){function e(e,t){if(this.currency=t,!e&&0!==e||!this.currency)throw new n;this.amount=parseFloat(e)}return e.prototype.add=function(n){if(this.currency!==n.currency)throw new t(self,n);return new e(this.amount+n.amount,this.currency)},e.prototype.subtract=function(t){return this.add(new e(-t.amount,t.currency))},e.prototype.multiply=function(t){return new e(this.amount*t,this.currency)},e.prototype.divide=function(t){return new e(this.amount/t,this.currency)},e.prototype.round=function(t){var n;return null==t&&(t=2),n=Math.pow(10,t),new e(Math.round(this.amount*n)/n,this.currency)},e.prototype.toString=function(e){return null==e&&(e=2),"JPY"===this.currency&&(e=0),o.roundCurrency(this.amount,this.currency,e)},e.fromObject=function(t){return new e(t.amount,t.currency)},e}(),{CashUtil:o,CashCurrenciesDoNotMatch:t,CashNeedsAmountAndCurrency:n,Cash:e}});var __indexOf=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};define("modules/clean/payments/credit_card_util",[],function(){var e;return e={_credit_card_info_map:null,setCreditCardInfoMap:function(e){this._credit_card_info_map=e},getAllTypes:function(){var e,t;return function(){var n,o;n=this._credit_card_info_map,o=[];for(t in n)e=n[t],o.push(t);return o}.call(this)},getValidCardTypesForCountryCode:function(e){var t,n,o,i;o=[],i=this._credit_card_info_map;for(n in i)t=i[n],(__indexOf.call(t.accepted_countries,"all")>=0||__indexOf.call(t.accepted_countries,e)>=0)&&o.push(n);return o},isValidCardTypeForCountryCode:function(e,t){return __indexOf.call(this.getValidCardTypesForCountryCode(t),e)>=0},getNameForType:function(e){return this._credit_card_info_map[e].name}}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}};define("modules/clean/payments/dfb_util",["jquery","external/underscore","modules/clean/payments/cash","modules/clean/payments/validation","modules/core/exception"],function(e,t,n,o,i){var r,s,a,u,c;return r=n.Cash,c=i.assert,u=function(){function e(e,t,n,o,i,r,s){this.plan_ids=e,this.schedule_ids=t,this.license_ids_and_counts=n,this.currencies=o,this.country_code=i,this.zip_code=r,this.vat_id=s,this.renew=!1}return e.prototype.set_only_license_count=function(e){var t;return t=Object.keys(this.license_ids_and_counts)[0],this.license_ids_and_counts[t]=e},e.prototype.get_only_license_count=function(){var e;return e=Object.keys(this.license_ids_and_counts)[0],this.license_ids_and_counts[e]},e.prototype.set_country_code=function(e){this.country_code=e},e.prototype.set_zip_code=function(e){this.zip_code=e},e.prototype.set_currencies=function(e){this.currencies=e},e.prototype.set_renew=function(e){this.renew=e},e.prototype.set_vat_id=function(e){return this.vat_id=""!==e&&o.validate_vat(this.country_code,e)?e:""},e.prototype.cache_key=function(){return[this.plan_ids.join(","),this.schedule_ids.join(","),this.get_only_license_count(),this.currencies.join(","),this.country_code,this.zip_code,this.vat_id].join(":")},e.prototype.to_json=function(){var e;return e=this.renew?{renew:1}:{},e=t.extend(e,{plan_ids:JSON.stringify(this.plan_ids),schedule_ids:JSON.stringify(this.schedule_ids),license_ids_and_counts:JSON.stringify(this.license_ids_and_counts),currencies:JSON.stringify(this.currencies),country_code:this.country_code,zip_code:this.zip_code,vat_id:this.vat_id})},e.from_transition_view_models=function(n){var o,i,r,s,a,u,l,_,d,h,p,f,m,g,v,y,b,w,E,S,T,C,k,O;for(a=[],u=[],r=[],s=!1,i=!1,_=!1,d=!1,h=0,m=n.length;m>h;h++)if(l=n[h],a.push(l.state.plan.id),u.push(l.state.schedule.id),r.push(l.state.currency),s===!1){for(s={},y=l.state.allocated_licenses,p=0,g=y.length;g>p;p++)o=y[p],s[o.license_id]=o.license_count;i=null!=(b=l.read_only_invoice)?b.tax_country_code:void 0,d=null!=(w=l.read_only_invoice)?w.tax_zip_code:void 0,_=null!=(E=l.read_only_invoice)?E.tax_exclusion_id:void 0,d=null!=(S=l.read_only_invoice)?S.tax_zip_code:void 0}else{for(c(l.state.allocated_licenses.length===Object.keys(s).length,"License sets differ"),T=l.state.allocated_licenses,f=0,v=T.length;v>f;f++)o=T[f],c(o.license_id in s,"License sets differ"),c(s[o.license_id]===o.license_count,"License count must match");c(i===(null!=(C=l.read_only_invoice)?C.tax_country_code:void 0),"country codes must match"),c(d===(null!=(k=l.read_only_invoice)?k.tax_zip_code:void 0),"zip codes must match"),c(_===(null!=(O=l.read_only_invoice)?O.tax_exclusion_id:void 0),"VAT IDs must match")}return new e(t.uniq(a),t.uniq(u),s,t.uniq(r),i,d,_)},e}(),s=function(){function e(e){this.transition_view_model=e,this.current_total=this.transition_view_model.read_only_invoice?r.fromObject(this.transition_view_model.read_only_invoice.total):new r(0,this.transition_view_model.state.currency),this.per_license_price=this.transition_view_model.state.per_license_prices.length?r.fromObject(this.transition_view_model.state.per_license_prices[0].price):new r(0,this.transition_view_model.state.currency),this.recurring_total=r.fromObject(this.transition_view_model.state.total_recurring_price)}return e}(),a=function(){function t(e){this.default_transition_view_models=e,this._get_transition_info_for=__bind(this._get_transition_info_for,this),this._add_to_cache=__bind(this._add_to_cache,this),this.has_inflight_request=__bind(this.has_inflight_request,this),this.transition_view_model_requests={},this.transition_info_cache={},this._add_to_cache(this.default_transition_view_models)}return t.prototype.get=function(t,n){var o,i,r;return r=u.from_transition_view_models(this.default_transition_view_models),n.total_users&&r.set_only_license_count(n.total_users),n.country_code&&r.set_country_code(n.country_code),n.currency&&r.set_currencies([n.currency]),n.zip_code&&r.set_zip_code(n.zip_code),n.renew&&r.set_renew(n.renew),n.vat_id&&r.set_vat_id(n.vat_id),o=r.cache_key(),(i=this._get_transition_info_for(o))?void t(i):this.transition_view_model_requests[o]?void 0:(this.transition_view_model_requests[o]=!0,e.ajax({url:"/business/transition-model",type:"GET",dataType:"json",data:r.to_json(),success:function(e){return function(n){var i;return delete e.transition_view_model_requests[o],i=e._add_to_cache(n),t(i)}}(this),error:function(e){return function(){return delete e.transition_view_model_requests[o]}}(this)}))},t.prototype.has_inflight_request=function(){return Object.keys(this.transition_view_model_requests).length},t.prototype._add_to_cache=function(e){var t,n,o;return t=u.from_transition_view_models(e).cache_key(),n=function(){var t,n,i;for(i=[],t=0,n=e.length;n>t;t++)o=e[t],i.push(new s(o));return i}(),this.transition_info_cache[t]=n,n},t.prototype._get_transition_info_for=function(e){return e in this.transition_info_cache?this.transition_info_cache[e]:null},t}(),{DfBTransitionInfo:s,DfBTransitionInfoFetcher:a}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}},__hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};define("modules/clean/payments/pro_trial_onboarding_tour",["jquery","modules/clean/ajax","modules/clean/dbmodal","modules/clean/dbmodal_loading"],function(e,t,n){var o,i,r,s;return o=n.DBModal,i=n.DBModalStack,r=function(n){function o(e){this.options=e,this._log=__bind(this._log,this),this._redraw=__bind(this._redraw,this),this._log_and_show_current_step=__bind(this._log_and_show_current_step,this),this._finish_tour=__bind(this._finish_tour,this),this._advance_tour=__bind(this._advance_tour,this),this._go_back_tour=__bind(this._go_back_tour,this),this._hide=__bind(this._hide,this),this._show=__bind(this._show,this),o.__super__.constructor.call(this,this.options),this.vertical_offset=200}return __extends(o,n),o.show=function(e){var t;return t=new this({element_id:"pro-trial-onboarding-tour",click_out_to_close:!1,vars:{trigger:e}}),t.show()},o.prototype._show=function(){return o.__super__._show.apply(this,arguments),this._listen(),this._current_step=0,this._log_and_show_current_step(this.vars.trigger)},o.prototype._hide=function(){return o.__super__._hide.apply(this,arguments),this._unlisten(),e("#pro-trial-tour-header-bubble").removeClass("force-hidden")},o.prototype._listen=function(){return e(document).on("click",".prev-step",this._go_back_tour),e(document).on("click","button.next-step",this._advance_tour), e(document).on("click","button.finish-tour",this._finish_tour)},o.prototype._unlisten=function(){return e(document).off("click",".prev-step",this._go_back_tour),e(document).off("click","button.next-step",this._advance_tour),e(document).on("click","button.finish-tour",this._finish_tour)},o.prototype._go_back_tour=function(e){return e.preventDefault(),this._current_step-=1,this._log_and_show_current_step()},o.prototype._advance_tour=function(e){return e.preventDefault(),this._current_step+=1,this._log_and_show_current_step()},o.prototype._finish_tour=function(){return this._log("finish_trial_onboarding"),this.hide()},o.prototype._log_and_show_current_step=function(e){var t;return t=e?{trigger:e}:{},this._log("view_trial_onboarding_"+this._current_step,t),this._redraw()},o.prototype._redraw=function(){var e,t;return this.$modal_window.find(".welcome, .tour-feature").hide(),t=this.$modal_window.find(".db-modal-x"),0===this._current_step?(this.$modal_window.find(".welcome").show(),t.hide()):(e=this._current_step,this.$modal_window.find('.tour-feature[data-step-num="'+e+'"]').show(),t.show())},o.prototype._log=function(e,n){return t.WebRequest({url:"/pro/trial_onboarding_tour_log",data:{evt:e,extra_data:JSON.stringify(n)}})},o}(o),s=function(){function e(e){this.$container=e,this._listen()}return e.prototype._listen=function(){return this.$container.find(".start-tour").on("click",function(){return function(e){return e.preventDefault(),r.show("restart_tour")}}(this))},e}(),{ProTrialOnboardingTour:r,ProTrialOnboardingTourHeaderLink:s}}),define("modules/clean/payments/validation",[],function(){var e,t;return e={AT:/^ATU[0-9]{8}$/,BE:/^BE(0?|1)[0-9]{9}$/,BG:/^BG[0-9]{9,10}$/,CH:/^CHE[0-9]{9}(TVA|MWST|IVA)$/,CY:/^CY[0-9]{8}[A-Z]$/,CZ:/^CZ[0-9]{8,10}$/,DE:/^DE[0-9]{9}$/,DK:/^DK[0-9]{8}$/,EE:/^EE[0-9]{9}$/,GR:/^EL[0-9]{9}$/,ES:/^ES([A-Z][0-9]{7}[0-9A-Z]|[0-9A-Z][0-9]{7}[A-Z])$/,FI:/^FI[0-9]{8}$/,FR:/^FR[0-9A-Z]{2}[0-9]{9}$/,GB:/^GB([0-9]{9}|[0-9]{12}|GD[0-9]{3}|HA[0-9]{3})$/,HR:/^HR[0-9]{11}$/,HU:/^HU[0-9]{8}$/,IE:/^IE([0-9][0-9A-Z+*][0-9]{5}[A-Z]|[0-9]{7}WI)$/,IT:/^IT[0-9]{11}$/,LT:/^LT([0-9]{9}|[0-9]{12})$/,LU:/^LU[0-9]{8}$/,LV:/^LV[0-9]{11}$/,MT:/^MT[0-9]{8}$/,NL:/^NL[0-9]{9}B[0-9]{2}$/,NO:/^NO[0-9]{9}(MVA)?$/,PL:/^PL[0-9]{10}$/,PT:/^PT[0-9]{9}$/,RO:/^RO[0-9]{2,10}$/,SE:/^SE[0-9]{12}$/,SI:/^SI[0-9]{8}$/,SK:/^SK[0-9]{10}$/},t=function(t,n){var o;return o=e[t],o&&o.test(n)},{validate_vat:t}}),define("modules/clean/photos/batch_thumb_loader",["jquery","modules/clean/ajax","modules/core/uri"],function(e,t,n){var o;return o=function(){function o(e){var t,n;t=e.batch_size,n=e.max_parallel_requests,this.on_batch=e.on_batch,this.batch_logger=e.batch_logger,this.on_batch_success=e.on_batch_success,this.batch_size=t||this.DEFAULT_BATCH_SIZE,this.max_parallel_requests=n||this.DEFAULT_MAX_PARALLEL_REQUESTS,this.thumb_url_queue=[],this.batch_queue=[],this.callback_by_id={},this.request_ids_by_url={},this.num_requests_in_flight=0,this.flushing=!1,this.next_thumb_request_id=0,this.next_batch_id=0,this.cancelled_urls={},this.outstanding_batches={}}return o.prototype.DEFAULT_BATCH_SIZE=16,o.prototype.DEFAULT_MAX_PARALLEL_REQUESTS=6,o.prototype.MAX_URL_LENGTH=6e3,o.prototype.queue_thumb=function(t,n,o){var i,r,s;return null==o&&(o={}),null==o.start_flushing&&(o.start_flushing=!0),null==o.prioritize_batch&&(o.prioritize_batch=!1),t?e.support.cors&&Constants.BATCH_THUMB_ENDPOINTS.length?(r=this.next_thumb_request_id,this.next_thumb_request_id++,(null!=(s=this.request_ids_by_url[t])?s.length:void 0)>0||(this.thumb_url_queue.push(t),this.request_ids_by_url[t]=[]),this.request_ids_by_url[t].push(r),this.callback_by_id[r]={url:t,callback:n},this.thumb_url_queue.length>=this.batch_size&&(o.prioritize_batch?this.batch_queue.unshift(this.thumb_url_queue.splice(0,this.batch_size)):this.batch_queue.push(this.thumb_url_queue.splice(0,this.batch_size)),o.start_flushing&&this._send_batch_requests()),r):(i=!0,"function"==typeof n&&n(t,i),null):null},o.prototype.cancel_thumb=function(e){var t,n,o,i,r,s,a,u,c,l,_,d,h,p,f,m,g,v,y,b,w,E,S,T,C;if(null!=this.callback_by_id[e]){for(c=this.callback_by_id[e].url,delete this.callback_by_id[e],w=this.request_ids_by_url[c],i=_=0,f=w.length;f>_;i=++_)if(r=w[i],r===e){this.request_ids_by_url[c].splice(i,1);break}if(0===this.request_ids_by_url[c].length){for(delete this.request_ids_by_url[c],E=this.thumb_url_queue,i=d=0,m=E.length;m>d;i=++d)if(u=E[i],u===c)return void this.thumb_url_queue.splice(i,1);for(S=this.batch_queue,i=h=0,g=S.length;g>h;i=++h)for(n=S[i],s=p=0,v=n.length;v>p;s=++p)if(u=n[s],u===c)return n.splice(s,1),void(0===n.length&&this.batch_queue.splice(i,1));this.cancelled_urls[c]=1,C=[];for(o in this.outstanding_batches){for(T=this.outstanding_batches[o],l=T.urls,a=T.request,t=!0,b=0,y=l.length;y>b;b++)c=l[b],t=null!=this.cancelled_urls[c]&&t;if(t){a.abort();break}C.push(void 0)}return C}}},o.prototype.prioritize_thumb=function(){},o.prototype.flush=function(){for(;this.thumb_url_queue.length;)this.batch_queue.push(this.thumb_url_queue.splice(0,this.batch_size));return this._send_batch_requests()},o.prototype.reset=function(e){var t;return t=e.batch_size,this.batch_logger=e.batch_logger,this.batch_size=t||this.DEFAULT_BATCH_SIZE},o.prototype.clear=function(){return this.thumb_url_queue=[]},o.prototype.pause=function(){return this.flushing=!1},o.prototype._send_batch_requests=function(){var e,n,o,i,r,s,a;if(!(0===this.batch_queue.length||this.num_requests_in_flight>=this.max_parallel_requests))return this.flushing=!0,s=this.batch_queue.shift(),a=this._generate_request_params(s),o=a[0],i=a[1],n=a[2],"function"==typeof this.on_batch&&this.on_batch(s),e=this.next_batch_id,this.next_batch_id++,this.num_requests_in_flight++,r=t.AuthenticatedRequest({xhrFields:{withCredentials:!0},url:o,type:i,data:n,success:this._success.bind(this,s),error:this._error.bind(this,s),complete:this._complete.bind(this,e)}),this.outstanding_batches[e]={urls:s,request:r},this._send_batch_requests()},o.prototype._success=function(e,t){var n,o,i,r,s,a,u,c,l,_,d,h,p,f,m,g,v;for(s=t.split("\n"),a={},_=0,p=e.length;p>_;_++)l=e[_],a[l]=!1;for(r=d=0,f=s.length;f>d;r=++d)i=s[r],u=i.indexOf(":"),-1!==u&&(c=i.substring(0,u).split("-"),o=parseInt(c[0],10),n=i.substring(u+1),l=e[o],a[l]=!0,this._call_callback(l,n),"function"==typeof this.batch_logger&&this.batch_logger(r,e.length));for("function"==typeof this.on_batch_success&&this.on_batch_success(e),g=e.filter(function(e){return!a[e]}),v=[],h=0,m=g.length;m>h;h++)l=g[h],v.push(null==this.cancelled_urls[l]?this._call_callback(l,l):void 0);return v},o.prototype._error=function(e){var t,n,o,i;for(i=[],n=0,o=e.length;o>n;n++)t=e[n],i.push(this._call_callback(t,t));return i},o.prototype._complete=function(e){var t,n,o,i,r,s;for(this.num_requests_in_flight--,s=this.outstanding_batches[e],o=s.urls,t=s.request,i=0,r=o.length;r>i;i++)n=o[i],delete this.cancelled_urls[n];return delete this.outstanding_batches[e],this.flushing?this._send_batch_requests():void 0},o.prototype._call_callback=function(e,t){var n,o,i,r,s;if(n=0===t.indexOf("data:image")?t:e,null!=this.request_ids_by_url[e])for(s=this.request_ids_by_url[e],i=0,r=s.length;r>i;i++)o=s[i],this.callback_by_id[o].callback(n,!1),delete this.callback_by_id[o];return delete this.request_ids_by_url[e]},o.prototype._generate_request_params=function(t){var o,i,r,s,a,u,c,l;return c=e.map(t,function(e){return n.parse(e).setScheme().setAuthority().toString()}),l=JSON.stringify(c),s=Math.abs(this._hash_string_to_int(l)),i=s%Constants.BATCH_THUMB_ENDPOINTS.length,o=Constants.BATCH_THUMB_ENDPOINTS[i],u={image_urls:l,parallel:!0},r=n.parse(o).setQuery(u).toString(),a=r.length>this.MAX_URL_LENGTH?"POST":"GET",[o,a,u]},o.prototype._hash_string_to_int=function(e){var t,n,o,i,r;if(n=0,0===e.length)return n;for(o=i=0,r=e.length;r>=0?r>i:i>r;o=r>=0?++i:--i)t=e.charCodeAt(o),n=(n<<5)-n+t;return n},o}()}),define("modules/clean/photos/legacy_thumb_loader",["jquery","modules/clean/photos/batch_thumb_loader","modules/clean/sprite"],function(e,t,n){var o;return o={MAX_THUMB_BATCH_REQUESTS:24,batch_load_thumbs:function(o,i,r,s){var a,u,c,l,_,d,h,p,f,m,g;for(d=e.grep(o,function(t){return e(t).data("src")}),this.img_map={},p=0,m=d.length;m>p;p++)u=d[p],l=String(e(u).data("src")),null==(h=this.img_map)[l]&&(h[l]=[]),this.img_map[l].push(u);for(this.instance?this.instance.reset({batch_size:i,batch_logger:s}):this.instance=new t({batch_size:i,max_parallel_requests:this.MAX_THUMB_BATCH_REQUESTS,on_batch:function(t){return function(n){var o,i,r,s,a;for(a=[],r=0,s=n.length;s>r;r++)i=n[r],o=e(t.img_map[i]),o.data("src",null),a.push(o.data("loading-src",i));return a}}(this),batch_logger:s}),c=[],f=0,g=d.length;g>f;f++)u=d[f],a=e(u),_=a.data("src"),this.instance.queue_thumb(_,function(e,t,o,i){return i||t.data("loading-src")?(t.data("loading-src",null),0===o.indexOf("data:image")?(t.attr("src",o),"function"==typeof r?r(t[0]):void 0):(t.error(function(){return t.attr("src",t.data("fail-src")||n.SPACER)}),t.load(function(){return"function"==typeof r?r(t[0]):void 0}),t.attr("src",o))):void 0}.bind(this,_,a));return this.instance.flush()},clear_all_pending_batches:function(){var e;return null!=(e=this.instance)?e.clear():void 0}}}),define("modules/clean/photos/photos_engagement_logger",["jquery","modules/clean/ajax"],function(e,t){var n;return n=function(){function e(){}return e.Platform={WEB:"web",WEB_CAROUSEL:"web_carousel"},e.PROMO_BANNER_CLICKED="promo_banner_clicked",e.PROMO_BANNER_BUTTON_CLICKED="promo_banner_button_clicked",e.PROMO_BANNER_SURVEY_RESPONSE="promo_banner_survey_response",e.CAROUSEL_WEB_PROMO_OPT_IN_MODAL_CONFIRM="carousel_web_promo_opt_in_modal_confirm",e.CAROUSEL_NAV_LINK_CLICK="carousel_nav_link_click",e.PHOTOS_NAV_LINK_CLICK="photos_nav_link_click",e.WEBAPP_LOGO_CLICKED="webapp_logo_clicked",e.WEBAPP_BACK_TO_DROPBOX_CLICKED="webapp_back_to_dropbox_clicked",e.WEBAPP_VIEW_GALLERY="webapp_view_gallery",e.WEBAPP_VIEW_CONVERSATIONS="webapp_view_conversations",e.WEBAPP_VIEW_ALBUMS="webapp_view_albums",e.WEBAPP_VIEW_FLASHBACK="webapp_view_flashback",e.WEBAPP_VIEW_SETTINGS="webapp_view_settings",e.WEBAPP_VIEW_DUPLICATES="webapp_view_duplicates",e.WEBAPP_VIEW_USER_SETTINGS="webapp_view_user_settings",e.WEBAPP_USER_SETTINGS_IOS="webapp_user_settings_ios",e.WEBAPP_USER_SETTINGS_ANDROID="webapp_user_settings_android",e.WEBAPP_USER_SETTINGS_HELP="webapp_user_settings_help",e.WEBAPP_USER_SETTINGS_LEGAL="webapp_user_settings_legal",e.WEBAPP_USER_SETTINGS_FEEDBACK="webapp_user_settings_feedback",e.WEBAPP_USER_SETTINGS_LOGOUT="webapp_user_settings_logout",e.WEBAPP_USER_SETTINGS_OPT_IN="webapp_user_settings_opt_in",e.WEBAPP_USER_SETTINGS_OPT_OUT="webapp_user_settings_opt_out",e.WEBAPP_ACTION_ADD_TO_ALBUM="webapp_action_add_to_album",e.WEBAPP_ACTION_REMOVE_FROM_ALBUM="webapp_action_remove_from_album",e.WEBAPP_ACTION_DOWNLOAD="webapp_action_download",e.WEBAPP_ACTION_SHOW_IN_FOLDER="webapp_action_show_in_folder",e.WEBAPP_ACTION_DELETE="webapp_action_delete",e.WEBAPP_SHOW_EXCLUDE_MODAL="webapp_show_exclude_modal",e.ATTEMPT_EXCLUDE_CAROUSEL_SUBFOLDER="attempt_exclude_carousel_subfolder",e.ATTEMPT_EXCLUDE_CU_FOLDER="attempt_exclude_cu_folder",e.ATTEMPT_EXCLUDE_CAROUSEL_FOLDER="attempt_exclude_carousel_folder",e.ATTEMPT_EXCLUDE_DROPBOX_ROOT="attempt_exclude_dropbox_root",e.WEBAPP_GALLERY_SELECT_EVENT="webapp_gallery_select_event",e.WEBAPP_GALLERY_DESELECT_EVENT="webapp_gallery_deselect_event",e.WEBAPP_GALLERY_SELECT_ITEM="webapp_gallery_select_item",e.WEBAPP_GALLERY_DESELECT_ITEM="webapp_gallery_deselect_item",e.WEBAPP_GALLERY_TIME_FIRST_ITEM="webapp_gallery_time_first_item",e.WEBAPP_GALLERY_TIME_EVENTS_OUTLINE="webapp_gallery_time_events_outline",e.WEBAPP_GALLERY_TIME_FIRST_VISIBLE_EVENTS="webapp_gallery_time_first_visible_events",e.WEBAPP_GALLERY_TIME_FIRST_VISIBLE_THUMBS_BATCH="webapp_gallery_time_first_visible_thumbs_batch",e.WEBAPP_GALLERY_EMPTY="webapp_gallery_empty",e.WEBAPP_GALLERY_CONTEXT_MENU_SHOWN="webapp_gallery_context_menu_shown",e.WEBAPP_LIGHTBOX_OPEN="webapp_lightbox_open",e.WEBAPP_LIGHTBOX_DOWNLOAD="webapp_lightbox_download",e.WEBAPP_LIGHTBOX_SELECT_ITEM="webapp_lightbox_select_item",e.WEBAPP_LIGHTBOX_DESELECT_ITEM="webapp_lightbox_deselect_item",e.WEBAPP_LIGHTBOX_FORWARD="webapp_lightbox_forward",e.WEBAPP_LIGHTBOX_BACK="webapp_lightbox_back",e.WEBAPP_LIGHTBOX_SHARE="webapp_lightbox_share",e.WEBAPP_LIGHTBOX_CLOSE_ICON="webapp_lightbox_close_icon",e.WEBAPP_LIGHTBOX_CLOSE_KEY="webapp_lightbox_close_key",e.WEBAPP_TIMELINE_NAVIGATION_SHOWN="webapp_timeline_navigation_shown",e.WEBAPP_TIMELINE_NAVIGATION_TRACK_CLICKED="webapp_timeline_navigation_track_clicked",e.WEBAPP_TIMELINE_NAVIGATION_SCRUBBER_DRAGGED="webapp_timeline_navigation_scrubber_dragged",e.WEBAPP_SHARE_CART_CANCEL="webapp_share_cart_cancel",e.WEBAPP_SHARE_CART_SHARE="webapp_share_cart_share",e.WEBAPP_SHARE_CART_SHARE_FACEBOOK="webapp_share_cart_share_facebook",e.WEBAPP_SHARE_CART_SHARE_TWITTER="webapp_share_cart_share_twitter",e.WEBAPP_SHARE_CART_ITEM_CLICKED="webapp_share_cart_item_clicked",e.WEBAPP_GALLERY_DELETE_MODAL_CONFIRMED="webapp_gallery_delete_modal_confirmed",e.WEBAPP_GALLERY_DELETE_MODAL_CANCELED="webapp_gallery_delete_modal_canceled",e.WEBAPP_GALLERY_REMOVE_FROM_ALBUM_MODAL_CONFIRMED="webapp_gallery_remove_from_album_modal_confirmed",e.WEBAPP_GALLERY_REMOVE_FROM_ALBUM_MODAL_CANCELED="webapp_gallery_remove_from_album_modal_canceled",e.WEBAPP_SHARE_COMPOSER_RECIPIENT="webapp_share_composer_recipient",e.WEBAPP_SHARE_COMPOSER_MESSAGE="webapp_share_composer_message",e.WEBAPP_SHARE_COMPOSER_SHARE="webapp_share_composer_share",e.WEBAPP_SHARE_COMPOSER_TWITTER="webapp_share_composer_twitter",e.WEBAPP_SHARE_COMPOSER_FACEBOOK="webapp_share_composer_facebook",e.WEBAPP_SHARE_COMPOSER_LINK="webapp_share_composer_link",e.WEBAPP_SHARE_WITH_SELF_ATTEMPT="webapp_share_with_self_attempt",e.WEBAPP_CONVERSATIONS_ROOM_CLICKED="webapp_conversations_room_clicked",e.WEBAPP_CONVERSATIONS_VIEW_SETTINGS="webapp_conversations_view_settings",e.WEBAPP_CONVERSATIONS_CLOSE_SETTINGS="webapp_conversations_close_settings",e.WEBAPP_CONVERSATIONS_TIME_FIRST_POST="webapp_conversations_time_first_post",e.WEBAPP_CONVERSATIONS_EMPTY="webapp_conversations_empty",e.WEBAPP_CONVERSATIONS_CHAT_VIEW_CLICKED="webapp_conversations_chat_view_clicked",e.WEBAPP_CONVERSATIONS_GALLERY_VIEW_CLICKED="webapp_conversations_gallery_view_clicked",e.WEBAPP_CONVERSATIONS_CHAT_VIEW_LOAD_MORE="webapp_conversations_chat_view_load_more",e.WEBAPP_CONVERSATIONS_GALLERY_VIEW_LOAD_MORE="webapp_conversations_gallery_view_load_more",e.WEBAPP_SHARING_COMMENT_SUBMIT="webapp_sharing_comment_submit",e.WEBAPP_SHARING_ADD_PHOTOS="webapp_sharing_add_photos",e.WEBAPP_SHARING_GALLERY_ADD_PHOTOS="webapp_sharing_gallery_add_photos",e.WEBAPP_SHARING_COPY_LINK="webapp_sharing_copy_link",e.WEBAPP_SHARING_LIKE_ITEM="webapp_sharing_like_item",e.WEBAPP_SHARING_UNLIKE_ITEM="webapp_sharing_unlike_item",e.WEBAPP_FLASHBACK_SELECT_EVENT="webapp_flashback_select_event",e.WEBAPP_FLASHBACK_SELECT_ITEM="webapp_flashback_select_item",e.WEBAPP_FLASHBACK_SURVEY_RESPONSE="webapp_flashback_survey_response",e.WEBAPP_FLASHBACK_SURVEY_FREE_RESPONSE="webapp_flashback_survey_free_response",e.WEBAPP_FLASHBACK_SHARE_ALL="webapp_flashback_share_all",e.WEBAPP_FLASHBACK_SHARE_SINGLE_ITEM_FACEBOOK="webapp_flashback_share_single_item_facebook",e.WEBAPP_FLASHBACK_SHARE_SINGLE_ITEM_TWITTER="webapp_flashback_share_single_item_twitter",e.WEBAPP_FLASHBACK_SHARE_SINGLE_ITEM_LINK="webapp_flashback_share_single_item_link",e.WEBAPP_REPLY_COMPOSER_CLICKED="webapp_reply_composer_clicked",e.WEBAPP_REPLY_COMPOSER_ADD_PHOTOS="webapp_reply_composer_add_photos",e.WEBAPP_REPLY_COMPOSER_SEND="webapp_reply_composer_send",e.WEBAPP_OPT_IN_BANNER_SHOWN="webapp_opt_in_banner_shown",e.WEBAPP_OPT_IN_BANNER_CONFIRM="webapp_opt_in_banner_confirm",e.WEBAPP_OPT_OUT_BANNER_SHOWN="webapp_opt_out_banner_shown",e.WEBAPP_OPT_OUT_BANNER_CONFIRM="webapp_opt_out_banner_confirm",e.WEBAPP_OPT_OUT_MODAL_CONFIRM="webapp_opt_out_modal_confirm",e.PUBLIC_LASS_INPUT_CLICK="public_lass_input_click",e.PUBLIC_LASS_INPUT_MESSAGE="public_lass_input_message",e.PUBLIC_LASS_INPUT_SUBMIT="public_lass_input_submit",e.PUBLIC_LASS_ADD_PHOTOS="public_lass_add_photos",e.PUBLIC_LASS_LIKE_CLICK="public_lass_like_click",e.PUBLIC_LASS_START_LOGIN="public_lass_start_login",e.PUBLIC_LASS_FINISH_LOGIN="public_lass_finish_login",e.PHOTO_SPACE_START_LOGIN="photo_space_start_login",e.PHOTO_SPACE_FINISH_LOGIN="photo_space_finish_login",e.MOBILE_DROPBOX_FLASHBACK_SHARE_CART_SHARE="share_cart_share",e.MOBILE_DROPBOX_FLASHBACK_SHARE_CART_CANCEL="share_cart_cancel",e.MOBILE_DROPBOX_FLASHBACK_LINK_GENERATED="link_generated",e.MOBILE_DROPBOX_FLASHBACK_SHARE_DONE="share_done",e.first_log_sent=!1,e.logs_queued=[],e.HACK_prefix_to_replace=null,e.HACK_prefix_replace_with=null,e.HACK_new_platform=null,e.hack_all_log_prefixes_and_platform=function(t){var n,o,i;return i=t.prefix_to_replace,o=t.prefix_replace_with,n=t.new_platform,e.HACK_prefix_to_replace=i,e.HACK_prefix_replace_with=o,e.HACK_new_platform=n},e.apply_hacky_log_overrides=function(t,n){var o;return e.HACK_prefix_to_replace?(o=0===t.indexOf(e.HACK_prefix_to_replace)?t.replace(e.HACK_prefix_to_replace,e.HACK_prefix_replace_with):0!==t.indexOf(e.HACK_prefix_replace_with)?e.HACK_prefix_replace_with+t:t,[o,e.HACK_new_platform]):[t,n]},e.log_and_send=function(n,o,i){var r;return null==o&&(o={}),null==i&&(i=e.Platform.WEB),r=e.apply_hacky_log_overrides(n,i),n=r[0],i=r[1],t.WebRequest({url:"/photos/photos_engagement_log",data:{event:n,extra:JSON.stringify(o),platform:i}})},e.log=function(t,n,o){var i,r;return e.first_log_sent?(null==n&&(n={}),null==o&&(o=e.Platform.WEB),r=e.apply_hacky_log_overrides(t,o),t=r[0],o=r[1],i={event:t,extra:n,platform:o},e.logs_queued.push(i)):(e.log_and_send(t,n,o),void(e.first_log_sent=!0))},e.log_carousel=function(t,n){return e.log(t,n,e.Platform.WEB_CAROUSEL)},e._send_log_batch=function(){return e.logs_queued.length?(t.WebRequest({url:"/photos/photos_engagement_batch_log",data:{events:JSON.stringify(e.logs_queued)}}),e.logs_queued=[]):void 0},e}(),setInterval(n._send_log_batch,1e4),e(window).unload(n._send_log_batch),n}),define("modules/clean/profile_services/profile_services_constants",["modules/core/exception","modules/core/i18n"],function(e,t){var n,o,i;return o=e.assert,i=t._,n={GOOGLE:"1",YAHOO:"2",FACEBOOK:"3",TWITTER:"4",VARIOUS:"-1",NONE:"-2",services:function(){return[this.GOOGLE,this.YAHOO,this.FACEBOOK,this.TWITTER]},contact_services:function(){return[this.GOOGLE,this.YAHOO,this.FACEBOOK]},to_img:function(e){switch(e){case this.GOOGLE:return"/static/images/icons/gmail_logo28.png";case this.YAHOO:return"/static/images/icons/yahoo_mail_logo28.png";case this.FACEBOOK:return"/static/images/icons/facebook_logo28.png";default:return o(!1,"Should never get ProfileServicesConstants.to_img with service: "+e)}},to_name:function(e){switch(e){case this.GOOGLE:return i("Gmail");case this.YAHOO:return i("Yahoo! Mail");case this.FACEBOOK:return i("Facebook");case this.VARIOUS:return i("Email");default:return o(!1,"Should never get ProfileServicesConstants.to_name with service: "+e)}},logging_identifiers:function(e){switch(e){case this.GOOGLE:return"google";case this.YAHOO:return"yahoo";case this.FACEBOOK:return"facebook";case this.VARIOUS:return"email";default:return o(!1,"Should never get ProfileServicesConstants.logging_identifiers with service: "+e)}}}}),define("modules/clean/react/activity/contacts_selector",["external/react","external/typeahead.bundle","jquery","modules/clean/keycode","modules/clean/ajax","modules/clean/viewer","modules/clean/activity/activity_user","modules/clean/contacts/bloodhound_contacts","modules/clean/contacts/importer","modules/clean/avatar/components","modules/clean/profile_services/profile_services_constants","modules/clean/react/sprite","modules/core/i18n","modules/core/exception"],function(e,t,n,o,i,r,s,a,u,c,l,_,d){var h,p,f,m,g,v,y,b,w,E,S,T;return h=c.AvatarWithDefault,y=c.InitialsAvatar,E=e.addons.classSet,S=e.DOM,T=r.get_viewer(),f=0,m=1,w=3,b=4,g=99,v=3,p=e.createClass({propTypes:{show_null_hint:e.PropTypes.bool,contactSelectedCallback:e.PropTypes.func,contactHighlightedCallback:e.PropTypes.func},render:function(){var t,n,o,i;return t=e.addons.classSet({"contacts-list-suggestions":!0,"animating-down":this.props.show_contacts&&!this.props.should_dropdown,"animating-up":this.props.show_contacts&&this.props.should_dropdown}),S.div({className:t,ref:"suggestionsContainer"},this.props.show_contacts&&this.props.user?this.props.user.is_signed_in?0===this.state.query.length&&this.props.show_null_hint&&!this.props.showContactsInNullState?S.div({className:"suggestion-row empty-state-row"},d._("Mention someone by name or email")):this.state.query.length||0===this.state.query.length&&this.props.showContactsInNullState?(i=S.div({ref:"suggestionsList"},function(){var e,n,i,r;for(i=this.state.suggestions,r=[],e=0,n=i.length;n>e;e++)o=i[e],r.push(function(e){return function(n){var o,i,r,a,u,c,l,_;return t={"import-row":n.type===g,"suggestion-row":!0,focused:null!=e.state.focused_row&&e.state.suggestions.indexOf(n)===e.state.focused_row},r=E(t),n.type===f?(c=n.email,a=n.email):n.type===m?(c="fb_"+n.fb_id,a="Facebook Contact"):(_=n.type)===w||_===b?(c=n.group_id,a="Group"):n.type===g&&(c="Import-"+n.name,i=S.img({src:n.photo_url})),null!=n.name&&n.name.length>0?l=n.name:null!=n.email&&(l=n.email.substring(0,n.email.indexOf("@")).replace(/[_-]/g," ")),n.type===g||null==n.photo_url&&null==l||(o=new s({display_name:l}),u=o.get_initials(),i=new h({dimension:32,photoUrl:n.photo_url,defaultAvatar:new y({dimension:32,shape:"CIRCLE",initials:u})})),S.div({key:c,className:r,"data-identifier":c,"data-name":l,"data-type":n.type,"data-photo-url":n.photo_url,"data-dbx-account-id":n.dbx_account_id||null,"data-provider":n.provider||null,onMouseDown:function(t){return e._mouse_down_select_suggestion(t)},onMouseEnter:function(t){return e._focus_suggestion_row_mouseover(t)}},S.div({className:"suggestion-wrapper"},i?S.div({className:"suggestion-avatar"},i):void 0,S.div({className:"suggestion-info"},null!=l?S.div({className:"suggestion-name"},l):void 0,null!=a?S.div({className:"suggestion-identifier"},a):void 0)))}}(this)(o));return r}.call(this)),this.state.show_no_results?S.div({},S.div({className:"suggestion-row empty-state-row"},S.div({className:"empty-state-row-text"},this.state.hover_import_contact||this.state.show_import_list?d._("Import Contacts"):this.props.noMatchesText),this.props.enable_import?(n={"import-contacts":!0,active:null!=this.state.show_import_list},S.a({className:E(n),onMouseDown:function(e){return function(t){return e._mouse_down_import_contacts(t)}}(this),onMouseEnter:function(e){return function(t){return e._import_contacts_mouseover(t)}}(this),onMouseLeave:function(e){return function(t){return e._import_contacts_mouseleave(t)}}(this)},_({group:"web",name:"user_add"}))):void 0),this.state.show_import_list?S.div({className:E({"suggestion-row-top-divider":!0,"animating-down":this.props.should_dropdown,"animating-up":!this.props.should_dropdown})},i):void 0):this._matches_count()>0?i:void 0):void 0:S.div({className:"suggestion-row empty-state-row"},d._("Login to @mention your contacts")):void 0)},getInitialState:function(){return this.contactSelectedCallback=this.props.contactSelectedCallback,this.props.user&&this.props.user.is_signed_in&&(this.contacts_importer=u.get_contacts_importer({user_id:this.props.user.id}),this.contacts_importer.on_auth_success=this._contacts_importer_auth_success),{suggestions:[],matches_count:0,focused_row:null,query:"",show_no_results:!1,hover_import_contact:!1,show_import_list:!1}},getDefaultProps:function(){return{contactSelectedCallback:void 0,should_dropdown:!0,show_contacts:!1,enable_import:!0,x_offset:0,y_offset:0,last_keydown:-1,show_null_hint:!0,showContactsInNullState:!1,noMatchesText:d._("No matches. Keep typing an email address."),matchFullQUery:!1}},componentWillMount:function(){return 0===this.state.query.length&&this.props.showContactsInNullState?this.get_suggestions(""):void 0},componentDidMount:function(){var e,t;return this.$typeahead_container=n(null!=(e=this.refs.suggestionsContainer)?e.getDOMNode():void 0),this.$typeahead_suggestions=n(null!=(t=this.refs.suggestionsList)?t.getDOMNode():void 0),this._position_contacts_list(),this._toggle_contacts_list(),this.state.show_contacts?void 0:this._reset_import_state()},componentDidUpdate:function(){var e,t,o;return this.$typeahead_container=n(null!=(t=this.refs.suggestionsContainer)?t.getDOMNode():void 0),this.$typeahead_suggestions=n(null!=(o=this.refs.suggestionsList)?o.getDOMNode():void 0),this._position_contacts_list(),this._toggle_contacts_list(),this.props.user&&this.props.user.is_signed_in&&this.props.show_contacts&&this.state.show_no_results&&this._start_import_list_timer(),"function"==typeof(e=this.props).contactHighlightedCallback?e.contactHighlightedCallback(this._get_suggestion_row(this.state.focused_row)):void 0},_reset_import_state:function(){return this._clear_import_list_timer(),this.setState({hover_import_contact:!1,show_import_list:!1})},_start_import_list_timer:function(){return this.props.enable_import?this._clear_import_list_timer():void 0},_clear_import_list_timer:function(){return this.show_import_list_timer?clearTimeout(this.show_import_list_timer):void 0},_contacts_importer_auth_success:function(){},_append_import_to_suggestions:function(e){return e.push(this._append_provider(l.FACEBOOK)),e.push(this._append_provider(l.GOOGLE)),e.push(this._append_provider(l.YAHOO)),e},_append_provider:function(e){return{type:g,provider:e,name:l.to_name(e),photo_url:l.to_img(e)}},_import_contacts_mouseover:function(){return this.setState({hover_import_contact:!0})},_import_contacts_mouseleave:function(){return this.setState({hover_import_contact:!1})},_mouse_down_import_contacts:function(e){return e.preventDefault(),this.setState({hover_import_contact:!this.state.hover_import_contact,show_import_list:!this.state.show_import_list})},_focus_suggestion_row:function(e){return null!=e&&this.state.focused_row!==e||null===e?this.setState({focused_row:e}):void 0},_focus_suggestion_row_mouseover:function(e){var t,o;return t=n(e.currentTarget),o=t.index(),o>-1?this._focus_suggestion_row(o):void 0},_get_suggestion_row:function(){return this.$typeahead_suggestions.find(".suggestion-row.focused")},_get_suggestions_callback:function(e){var t,n,i,r;return e=function(){var n,o,i,r;for(r=[],n=0,o=e.length;o>n;n++)t=e[n],(i=t.type)!==w&&i!==b&&r.push(t);return r}(),this._clear_import_list_timer(),n=e.length,i=0===n&&this.props.last_keydown!==o.SPACE&&this.state.query.indexOf(" ")<0||0===n&&this.props.matchFullQUery,this.props.enable_import&&0===n?e=this._append_import_to_suggestions(e):n>0&&this._reset_import_state(),this.props.should_dropdown?r=0:(r=e.length-1,e.reverse()),this.setState({suggestions:e,focused_row:r,show_no_results:i,matches_count:n})},_has_suggestion_row_at_index:function(e){return null!=e&&e>=0&&et.width()?this.$typeahead_container.css("left",t.width()-e):this.$typeahead_container.css("left",this.props.x_offset),this.props.should_dropdown?this.$typeahead_container.css("top",this.props.y_offset):this.$typeahead_container.css("top",this.props.y_offset-this.$typeahead_container.height()-12)},_toggle_contacts_list:function(){return this.props.show_contacts&&(this._matches_count()>0||0===this.state.query.length||this.state.show_no_results&&this.state.query.length)?this.$typeahead_container.show():this.$typeahead_container.hide()},_matches_count:function(){return this.state.matches_count},get_suggestions:function(e){return this._clear_import_list_timer(),this.props.user&&this.props.user.is_signed_in?(a.get(e,function(e){return function(t){return e._get_suggestions_callback(t)}}(this)),this.setState({query:e})):void 0},get_suggestions_count:function(){return this.props.show_contacts?this.$typeahead_suggestions.children().size():0},navigate_suggestions:function(e){var t,n,i,r;if(e.keyCode===o.ENTER||e.keyCode===o.TAB){if(e.preventDefault(),this._has_suggestion_row_at_index(this.state.focused_row))return i=this._get_suggestion_row(this.state.focused_row),this.select_suggestion(i)}else if(((r=e.keyCode)===o.UP||r===o.DOWN)&&(t=this.get_suggestions_count(),t>0))if(e.keyCode===o.UP){if(n=null!=this.state.focused_row?this.state.focused_row:t,0!==this.state.focused_row)return this._focus_suggestion_row((n-1)%t)}else if(e.keyCode===o.DOWN&&(n=null!=this.state.focused_row?this.state.focused_row:-1,this.state.focused_row!==t-1))return this._focus_suggestion_row((n+1)%t)},select_suggestion:function(e){var t;return t=n(e),t.data("type")===g?void this.contacts_importer.auth_import(""+t.data("provider"),"contact-importer-modal"):(null!=this.contactSelectedCallback&&this.contactSelectedCallback(t),this.isMounted()?this.setState({focused_row:null,suggestions:[]}):void 0)}})});var __indexOf=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};define("modules/clean/react/activity/like_bar",["external/react","modules/core/i18n","modules/core/notify","modules/clean/activity/activity","modules/clean/react/sprite","modules/clean/react/tooltip","modules/clean/viewer"],function(e,t,n,o,i,r,s){var a,u,c,l,_,d;return d=t._,l=e.DOM,_=s.get_viewer(),a=o.ActivityType,c=15,u=e.createClass({propTypes:{context_activity_store:e.PropTypes.object.isRequired,activity:e.PropTypes.object.isRequired,user:e.PropTypes.object.isRequired,add_like_callback:e.PropTypes.func},is_liked_by_viewing_user:function(){var e,t;return this.props.user.is_signed_in?(t=this.props.user.id,__indexOf.call(function(){var t,n,o,i;for(o=this.props.activity.likes,i=[],t=0,n=o.length;n>t;t++)e=o[t],i.push(e.liker.id);return i}.call(this),t)>=0):void 0},addLike:function(){var e,t,o;return e=this.props.activity,this.props.user.is_signed_in&&(t=function(e){return function(){return n.error(d("We weren't able to submit your like.")),e.forceUpdate()}}(this),e.activity_type===a.COMMENT?this.props.context_activity_store.add_comment_like(e,this.props.user,null,t):this.props.context_activity_store.add_like(e,this.props.user,null,t),this.setState({like_added:!0})),"function"==typeof(o=this.props).add_like_callback?o.add_like_callback():void 0},removeLike:function(){var e,t;return e=this.props.activity,t=function(e){return function(){return n.error(d("We weren't able to remove your like.")),e.forceUpdate()}}(this),e.activity_type===a.COMMENT?this.props.context_activity_store.remove_comment_like(e,this.props.user,null,t):this.props.context_activity_store.remove_like(e,this.props.user,null,t),this.forceUpdate()},getInitialState:function(){return{like_added:!1}},render:function(){var t,n,o,s,a,u,_,h,p;return u=this.props.activity.likes,p=this.is_liked_by_viewing_user()?"bluestar":"star",_=u.length,h=this.is_liked_by_viewing_user()?function(e){return function(){return e.removeLike()}}(this):function(e){return function(){return e.addLike()}}(this),t=e.addons.classSet({"like-sprite":!0,animating:this.is_liked_by_viewing_user()&&this.state.like_added}),a=function(){var e,t,o;for(o=[],e=0,t=u.length;t>e;e++)n=u[e],o.push(n.liker);return o}(),a=a.slice(0,c),u.length>c&&a.push({id:"extra",display_name:d("%(num_extra)d more...").format({num_extra:u.length-c})}),o=_>0?l.div({className:"liker-names"},function(){var e,t,n;for(n=[],e=0,t=a.length;t>e;e++)s=a[e],n.push(function(){return function(e){return l.div({key:e.id},e.display_name)}}(this)(s));return n}.call(this)):this.props.user.is_signed_in?l.span({},d("Like")):l.span({},d("Login to like comment")),l.div({className:"like-bar"},r.Tooltip({position:r.TooltipPosition.TOP,tooltip_contents:o, tooltip_classname:"like-tooltip"},l.div({},l.a({className:t,onMouseDown:h},i({group:"web",name:p})),_>0?l.div({className:"like-text"},_):void 0)))}})});var __indexOf=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};define("modules/clean/react/activity/mentions_controller",["jquery","external/react","external/purify","modules/core/browser","modules/core/exception","modules/clean/activity/activity_user","modules/clean/keycode","modules/clean/validators/validators","modules/clean/react/bubble_dropdown","modules/clean/react/input","modules/clean/react/sprite","modules/clean/react/activity/contacts_selector","modules/clean/react/activity/contacts_selector_popup"],function(e,t,n,o,i,r,s,a,u,c,l,_,d){var h,p,f,m,g,v,y,b,w,E;return g=t.addons.classSet,v=t.DOM,y="\ufeff",b=new RegExp(y,"g"),f=" ",m="‘",h="’",w=[s.UP,s.DOWN,s.ESC,s.ENTER,s.TAB],E=a.check(a.create(["EmailValidator"])),p=t.createClass({displayName:"MentionsController",propTypes:{contacts_should_dropdown:t.PropTypes.bool,showContactsInNullState:t.PropTypes.bool},getInitialState:function(){var e;return e=!1,this.props.initial_text&&this.props.initial_text.length>0&&(e=!0),{default_state:!0,x_offset:0,y_offset:0,in_edit_mode:e,mention_triggered:!1,search_end_position:-1,search_start_position:-1,show_contacts:!1,last_keydown:-1}},getDefaultProps:function(){return{contacts_should_dropdown:!0,initial_text:"",user:new r}},componentDidMount:function(){return this._componentSetup()},componentDidUpdate:function(e,t){var n,o;return this._componentSetup(),o=this._getCaretPosition(),t.show_contacts!==this.state.show_contacts&&((null!=o?o.left:void 0)!==this.state.x_offset||(null!=o?o.top:void 0)!==this.state.y_offset)&&(n={x_offset:o.left,y_offset:o.top},this.setState(n)),this.state.default_state&&this.props.initial_text.length>0?this._replaceInputWithText(this.props.initial_text):void 0},_resetInputToPlaceholderState:function(){return this.setState({in_edit_mode:!1,search_end_position:-1,search_start_position:-1})},_replaceInputWithText:function(e){var t,o,i,r,s,a;return e=n.sanitize(e),this._clearInputWithoutBlurring(),this.$text_input.focus(),a=this._extractCursorInfo(),o=a[0],i=a[1],s=a[2],r=document.createRange(),o&&(r.setStart(o,0),t=/@\[[^:^\[]+:[^:^\]]+\]/g,e=e.replace(t,function(e){return function(t){var n;return n=t.split(/\[|\]|:/),e._mentionWrapper(n[1],n[2])}}(this)),this.unsafeInsertHtmlAtRange(e,r,!0),!this.state.in_edit_mode)?this.setState({in_edit_mode:!0}):void 0},_componentSetup:function(){return this.contacts_selector=this.refs.contactSelector,this.$mentions_input=e(this.refs.input.getDOMNode()),this.$text_input=e(this.refs.textInput.getDOMNode())},_parseInputTextAndReplace:function(){var e,t;return e=0,t=new RegExp(/@[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/gi),this._parseInputTextWithRegex(t,function(t){return function(n,i){var r,s,a,u,c;return s=n[0],r=n.index,u=s.substring(1),E(u)&&null==o.msie?(c=document.createRange(),c.setStart(i,r),c.setEnd(i,r+s.length),a=t._createMentionObject(u,u),t._addMentionIntoInput(a,c),e++):void 0}}(this)),e>0?this.setCursorToEndOfInput():void 0},_parseInputTextWithRegex:function(t,n){var i,r,s,a,u,c,l,_;if(r=this.$text_input.html().replace(b,""),null!=r&&""!==r){for(l=this.$text_input[0].childNodes,_=[],u=0,c=l.length;c>u;u++)i=l[u],null!=o.msie&&e(i).is("p")||i.nodeType===Node.TEXT_NODE&&""!==i.nodeValue.trim()?(a=null!=o.msie?e(i).text():i.nodeValue,_.push(function(){var e;for(e=[];null!==(s=t.exec(a));)e.push(n(s,i));return e}())):_.push(void 0);return _}},refreshDropdownDirection:function(){var e;return"function"==typeof(e=this.props).position_contacts_callback?e.position_contacts_callback():void 0},_getEndRangeUnicodeIndex:function(){return this.$text_input.html().indexOf(h)},_getStartRangeUnicodeIndex:function(){return this.$text_input.html().indexOf(m)},_endRangeUnicodeExists:function(){return this._getEndRangeUnicodeIndex()>=0},_startRangeUnicodeExists:function(){return this._getStartRangeUnicodeIndex()>=0},_startAndEndRangeUnicodeExistsAndValid:function(){var e,t;return t=this._getStartRangeUnicodeIndex(),e=this._getEndRangeUnicodeIndex(),t>=0&&e>0&&e>t},_clearStartToEndRangeUnicode:function(){return this._replaceStartToEndRangeUnicode(""),this._clearRangeUnicode()},_replaceStartToEndRangeUnicode:function(e){var t,n,o,i,r;return this._startAndEndRangeUnicodeExistsAndValid()?(r=this._getStartRangeUnicodeIndex(),n=this._getEndRangeUnicodeIndex(),i=this.$text_input.html(),o=i.substr(0,r),t=i.substr(n),this.$text_input.html(""+o+m+e+h+t)):void 0},_clearRangeUnicode:function(){var e;return e=this.$text_input.html(),e=e.replace(/\u0091/g,""),e=e.replace(/\u0092/g,""),this.$text_input.html(e)},_insertLiveTextWithRangeUnicode:function(e){return this._getStartRangeUnicodeIndex()<0||this._getEndRangeUnicodeIndex()<0?(this._clearRangeUnicode(),this.$text_input.html(""+this.$text_input.html()+m+e+h)):this._replaceStartToEndRangeUnicode(e)},_getRangeBetweenStartEndRangeUnicode:function(){var t,n,i,r,s,a,u,c,l;if(n=this.$text_input.html().replace(b,""),null!=n&&""!==n)for(l=this.$text_input[0].childNodes,u=0,c=l.length;c>u;u++)if(t=l[u],a=null!=o.msie?e(t).text():t.nodeValue,null!=a&&a.length>0&&(s=a.indexOf(m),i=a.indexOf(h),s>=0&&i>0&&i>s))return r=document.createRange(),r.setStart(t,s),r.setEnd(t,i),r},_contactsSelectorPopupHidden:function(){return this.props.showMentionsHelper&&(this._clearStartToEndRangeUnicode(),0===this.$text_input.html().trim().length)?this._resetInputToPlaceholderState():void 0},_contactsSelectorPopupShown:function(){return this.props.showMentionsHelper?(this.state.in_edit_mode||this._clearDefaultState(),setTimeout(function(){return function(){return e(".contacts-selector-popup input").trigger("focus")}}(this),100)):void 0},_emailEnteredCallback:function(e){var t;return t=this._getRangeBetweenStartEndRangeUnicode(),t&&(this._addMentionIntoInput(this._createMentionObject(e),t),this._clearRangeUnicode()),this.refs.mentionsHintDropdown.hide()},_contactHighlightedCallback:function(e){var t,n;return n=(null!=e?e.data("name"):void 0)||"",t=(null!=e?e.data("identifier"):void 0)||"",this._insertLiveTextWithRangeUnicode("@"+n)},_contactPopupSelectedCallback:function(e){var t;return t=this._getRangeBetweenStartEndRangeUnicode(),t&&(this._addMentionIntoInput(this._createMentionObjectFromSuggestion(e),t),this._clearRangeUnicode()),this.refs.mentionsHintDropdown.hide()},_contactSelectedCallback:function(e){var t;return this._addMentionIntoInput(this._createMentionObjectFromSuggestion(e)),"function"==typeof(t=this.props)._contactSelectedCallback?t._contactSelectedCallback(e):void 0},setCursorToEndOfInput:function(){var e,t;return e=this.$text_input[0].lastChild,null!=e?(t=document.createRange(),t.selectNode(e),t=t.cloneRange(),t.setStartAfter(e),t.collapse(!0),this._selection().removeAllRanges(),this._selection().addRange(t)):void 0},_getCaretPosition:function(){var e,t,n;return t=this.refs.container.getDOMNode().getClientRects()[0],e={left:this.state.x_offset,top:this.state.y_offset},this._selection().rangeCount>0&&(n=this._selection().getRangeAt(0).getClientRects()[0],null!=n&&(e.left=n.left-t.left,e.top=this.props.contacts_should_dropdown?n.bottom-t.top:n.top-t.top)),e},unsafeInsertHtmlAtRange:function(t,n,o){var i,r,s,a;for(n.deleteContents(),a=e("").html(t)[0],i=document.createDocumentFragment();s=a.firstChild;)r=i.appendChild(s);return n.insertNode(i),r&&o&&(n=n.cloneRange(),n.setStartAfter(r),n.collapse(!0),this._selection().removeAllRanges(),this._selection().addRange(n)),r},_checkEndOfLine:function(){var t,n,r,s,a;return i.assert(null!=o.mozilla,"_checkEndOfLine called from non mozilla browser"),a=this._extractCursorInfo(),n=a[0],r=a[1],s=a[2],e(n).hasClass("text-input")&&e(this.$text_input.contents()[r]).is("br")&&r>0&&(t=this.$text_input.contents()[r-1],t.nodeType===Node.TEXT_NODE&&t.nodeValue===y)?this._setCursorLocation(t,0):void 0},_selection:function(){return window.getSelection()},_setCursorLocation:function(t,n){var o;if(null!=t){if(o=document.createRange(),t.nodeType===Node.TEXT_NODE)o.setStart(t,n);else{if(!e(t).hasClass("new-mention"))return;0===n?o.setStartBefore(t):o.setStartAfter(t)}return o.collapse(!0),this._selection().removeAllRanges(),this._selection().addRange(o)}},_cleanMentionHighlighting:function(t){var n,o,i,r,s;for(null==t&&(t=null),o=this.$text_input.children(),null!=t&&(o=[t]),s=[],i=0,r=o.length;r>i;i++)n=o[i],s.push(e(n).removeClass("selected"));return s},_cleanUpNbsp:function(){var e;return e=this.$text_input.html(),e=e.replace(/\u00a0/g," "),e=e.replace(/\s{2,}/g," "),this.$text_input.html(e)},_cleanUpDelimiters:function(){var t,r,s,a,u,c,l,_,d,h;for(i.assert(null==o.msie,"_cleanUpDelimiters() called from MSIE"),d=this._extractCursorInfo(),r=d[0],s=d[1],c=d[2],h=this.$text_input.contents(),l=0,_=h.length;_>l;l++)t=h[l],t.nodeType===Node.TEXT_NODE?(t.nodeValue=t.nodeValue.replace(b,""),""===t.nodeValue&&(t!==r?t.parentNode.removeChild(t):s=0)):e(t).hasClass("new-mention")&&(u=document.createTextNode(n.sanitize(y)),t.parentNode.insertBefore(u,t),a=document.createTextNode(n.sanitize(y)),t.parentNode.insertBefore(a,t.nextSibling));return null!=r&&r.nodeType===Node.TEXT_NODE&&r.nodeValue.length=0){if(n=e.slice(t-1,t)," "===n||""===n||" "===n)return!0}else if(0===t)return!0;return!1},_extractCursorInfo:function(){var e,t,n;return e=this._selection().focusNode,t=this._selection().focusOffset,n="",null!=e&&e.nodeType===Node.TEXT_NODE&&(n=e.nodeValue.length?e.nodeValue:""),[e,t,n]},_clearDefaultState:function(){return this.state.default_state&&this._clearInputWithoutBlurring(),this.state.in_edit_mode?void 0:this.setState({in_edit_mode:!0})},_clearInputWithoutBlurring:function(){return null!=o.msie?this.$text_input[0].innerText="":this.$text_input[0].textContent=""},clearTextField:function(){return this._clearInputWithoutBlurring(),this.setState({in_edit_mode:!1}),this.$text_input.blur()},_onInputKeydownMozilla:function(e){var t,n,r,a,u,c,l,_;if(i.assert(null!=o.mozilla,"_onInputKeydownMozilla called from non mozilla browser"),this._cleanUpDelimiters(),this._checkEndOfLine(),c=this._extractCursorInfo(),n=c[0],r=c[1],u=c[2],null!=n&&n.nodeType===Node.TEXT_NODE)if(a=n.previousSibling,t=n.nextSibling,(l=e.keyCode)===s.DELETE||l===s.RIGHT){if(u===y&&null!=t&&this._toggleMentionSelectState(t,e))return this._setCursorLocation(n,1);if(u.length!==r||null==t||t.nodeType!==Node.TEXT_NODE||t.nodeValue!==y)return this._cleanMentionHighlighting();if(null!=t.nextSibling&&this._toggleMentionSelectState(t.nextSibling,e))return this._setCursorLocation(t,1)}else if(((_=e.keyCode)===s.BACKSPACE||_===s.LEFT)&&0===r&&null!=a){if(u===y&&this._toggleMentionSelectState(a,e))return this._setCursorLocation(n,0);if(a.nodeType===Node.TEXT_NODE&&a.nodeValue===y&&null!=a.previousSibling&&this._toggleMentionSelectState(a.previousSibling,e))return this._setCursorLocation(a,0)}},_onInputKeydownMsie:function(t){var n,r,a,u,c,l,_,d,h,p,f;if(i.assert(null!=o.msie,"_onInputKeydownMsie called from non MSIE browser"),_=this._extractCursorInfo(),a=_[0],u=_[1],l=_[2],null!=a){if(e(a).hasClass("text-input")||e(a).is("p"))return n=e(a).contents(),((d=t.keyCode)===s.BACKSPACE||d===s.LEFT)&&u>0&&e(n[u-1]).hasClass("new-mention")?this._toggleMentionSelectState(n[u-1],t):(h=t.keyCode)!==s.DELETE&&h!==s.RIGHT||!e(n[u]).hasClass("new-mention")?this._cleanMentionHighlighting():this._toggleMentionSelectState(n[u],t);if(c=a.previousSibling,r=a.nextSibling,(p=t.keyCode)===s.BACKSPACE||p===s.LEFT){if(0===u&&null!=c&&e(c).hasClass("new-mention"))return this._toggleMentionSelectState(c,t)}else{if((f=t.keyCode)!==s.DELETE&&f!==s.RIGHT)return this._cleanMentionHighlighting();if(u===l.length&&null!=r&&e(r).hasClass("new-mention"))return this._toggleMentionSelectState(r,t)}}},_onInputKeydownWebkit:function(e){var t,n,r,a,u,c,l,_;if(i.assert(null!=o.webkit,"_onInputKeydownWebkit called from non webkit browser"),this._cleanUpDelimiters(),c=this._extractCursorInfo(),n=c[0],r=c[1],u=c[2],null!=n&&n.nodeType===Node.TEXT_NODE)if(a=n.previousSibling,t=n.nextSibling,(l=e.keyCode)===s.BACKSPACE||l===s.LEFT){if(null!=a&&u===y&&this._toggleMentionSelectState(a,e)){if(e.keyCode===s.BACKSPACE)return this._setCursorLocation(n,r-1);if(e.keyCode===s.LEFT)return this._setCursorLocation(a.previousSibling,1)}}else{if((_=e.keyCode)!==s.DELETE&&_!==s.RIGHT)return this._cleanMentionHighlighting();if(r!==u.length||null==t||t.nodeType!==Node.TEXT_NODE||t.nodeValue!==y&&0!==t.nodeValue.length){if(u===y&&0===r&&null!=t&&this._toggleMentionSelectState(t,e)){if(e.keyCode===s.DELETE)return this._setCursorLocation(n,1);if(e.keyCode===s.RIGHT)return this._setCursorLocation(t,1)}}else if(null!=t.nextSibling&&this._toggleMentionSelectState(t.nextSibling,e)){if(e.keyCode===s.DELETE)return this._setCursorLocation(t,1);if(e.keyCode===s.RIGHT)return this._setCursorLocation(t.nextSibling,1)}}},_onInputKeydown:function(e){var t,n,i,r,a,u,c,l;if(this.setState({default_state:!1}),this.setState({last_keydown:this._normalizeKeycode(e)}),this._normalizeKeycode(e)!==s.PROCESSING&&(!(this._selection().rangeCount>0&&this._selection().getRangeAt(0).collapsed||0===this._selection().rangeCount)||(u=e.keyCode)!==s.BACKSPACE&&u!==s.DELETE&&u!==s.LEFT&&u!==s.RIGHT?this._cleanMentionHighlighting():null!=o.webkit?this._onInputKeydownWebkit(e):null!=o.mozilla?this._onInputKeydownMozilla(e):null!=o.msie&&this._onInputKeydownMsie(e),"function"==typeof(a=this.props).onKeyDown&&a.onKeyDown(e),c=this._extractCursorInfo(),n=c[0],i=c[1],r=c[2],this.state.show_contacts))if(l=this._normalizeKeycode(e),__indexOf.call(w,l)>=0){if(this.contacts_selector.get_suggestions_count()>0){if(e.preventDefault(),this._normalizeKeycode(e)===s.ESC)return this.setState({show_contacts:!1})}else if(this._normalizeKeycode(e)===s.ENTER)return this.setState({show_contacts:!1})}else if(this._normalizeKeycode(e)===s.BACKSPACE&&(null!=n?n.nodeType:void 0)===Node.TEXT_NODE&&i>0&&(t=r.substr(i-1,1),"@"===t&&this._isCursorAfterSpaceOrBeginningOfLine(r,i-1)))return this.setState({show_contacts:!1})},_onInputKeypress:function(t){var n,i,r,a,u,c,l,_;return _=this._extractCursorInfo(),a=_[0],u=_[1],c=_[2],this._normalizeKeycode(t)===s.AT_SIGN&&!this.state.mention_triggered&&("function"==typeof(l=this.props).position_contacts_callback&&l.position_contacts_callback(),i=!1,a.nodeType===Node.TEXT_NODE?this._isCursorAfterSpaceOrBeginningOfLine(c,u)&&(i=!0,n=u):(e(a).hasClass("text-input")||null!=o.msie&&e(a).is("p"))&&(i=!0,n=0),i)?(r={search_start_position:n,search_end_position:n,mention_triggered:!0},this.setState(r)):void 0},_onInputKeyup:function(e){var t,n,r,a,u,c,l,_,d,h,p;if(this.state.last_keydown===s.PROCESSING)return void i.assert(null!=o.webkit,"PROCESSING keycode detected in non-webkit browser");if(null!=o.msie&&this._checkAndMergeAdjacentNodes(),d=this._extractCursorInfo(),a=d[0],u=d[1],l=d[2],r={},this.state.mention_triggered&&(r.mention_triggered=!1,r.show_contacts=!0,u-this.state.search_start_position>1&&(t=l.slice(this.state.search_start_position+1,u).indexOf("@"),r.show_contacts=-1===t?!0:!1)),this.state.show_contacts||r.show_contacts)if(h=e.keyCode,__indexOf.call(w,h)>=0&&this.contacts_selector.get_suggestions_count()>0)this.contacts_selector.navigate_suggestions(e);else if(u<=this.state.search_start_position||a.nodeType!==Node.TEXT_NODE)r.show_contacts=!1;else if(e.keyCode===s.SPACE)if(c=this._parseMentionQuery(l,this.state.search_end_position).trim(),0!==c.length){if(E(c))return n=this._createMentionObject(c),void this._addMentionIntoInput(n);this.contacts_selector.get_suggestions(c)}else this.setState({show_contacts:!1});else this.contacts_selector.get_suggestions(this._parseMentionQuery(l,u).trim());return(e.keyCode===s.ENTER||e.keyCode===s.TAB||e.keyCode===s.SPACE&&!this.state.show_contacts&&!r.show_contacts)&&this._parseInputTextAndReplace(),null==o.msie&&(this._selection().rangeCount>0&&this._selection().getRangeAt(0).collapsed||0===this._selection().rangeCount)&&this._cleanUpDelimiters(),"function"==typeof(_=this.props).onKeyUp&&_.onKeyUp(e),p=this._normalizeKeycode(e),__indexOf.call(w,p)>=0&&this.state.show_contacts?void 0:this.setState(r,function(e){return function(){var t;return"function"==typeof(t=e.props).resize_callback?t.resize_callback():void 0}}(this))},_normalizeKeycode:function(e){return e.keyCode||e.which||e.charCode},_onInputBlur:function(){var e,t;return this._parseInputTextAndReplace(),"function"==typeof(t=this.props).onBlur&&t.onBlur(),e={show_contacts:!1,default_state:!1},this.state.in_edit_mode&&!this.getEncodedMessage().length&&(e.in_edit_mode=!1,e.search_end_position=-1,e.search_start_position=-1),this.setState(e)},_onInputFocus:function(e){var t,n;return e.target===this.$text_input.get(0)?("function"==typeof(n=this.props).onFocus&&n.onFocus(),t={show_contacts:!1},this.state.in_edit_mode||(t.in_edit_mode=!0,t.search_end_position=-1,t.search_start_position=-1),setTimeout(function(e){return function(){return e.isMounted()?e.setState(t):void 0}}(this),0)):void 0},_onInputMouseDown:function(){return this.setState({default_state:!1}),this._cleanMentionHighlighting()},_onInputPaste:function(e){var t;return this.setState({default_state:!1}),"function"==typeof(t=this.props).onPaste?t.onPaste(e):void 0},_createMentionObjectFromSuggestion:function(e){var t,n,o;return o=e.data("name"),n=e.data("identifier"),t=e.data("dbx-account-id"),this._createMentionObject(n,o,t)},_createMentionObject:function(e,t,n){return null==t&&(t=null),null==n&&(n=null),t||(t=e),{name:t,identifier:e,dbx_account_id:n}},_toggleMentionSelectState:function(t,n){if(e(t).hasClass("new-mention")){if(e(t).hasClass("selected"))return this._cleanMentionHighlighting(t),!0;n.stopPropagation(),n.preventDefault(),e(t).addClass("selected")}return!1},_onMentionMouseDown:function(e){var t;return e.preventDefault(),e.stopPropagation(),0===e.button?(this._cleanMentionHighlighting(),this._toggleMentionSelectState(e.target,e),t=document.createRange(),t.selectNode(e.target),this._selection().removeAllRanges(),this._selection().addRange(t)):null!=o.mozilla&&2===e.button?this._setCursorLocation(e.target,1):void 0},_mentionWrapper:function(e,t,n){return null!=o.webkit?"'+t+"":''},_parseMentionQuery:function(e,t){var n;return t>this.state.search_end_position?this.setState({search_end_position:t}):t=this.state.search_end_position,n="",t<=e.length?n=e.slice(this.state.search_start_position,t):this.state.search_start_position<=e.length&&(this.setState({search_end_position:e.length}),n=e.slice(this.state.search_start_position)),n.replace("@","")},_addMentionIntoInput:function(t,i){var r,s,a,u,c,l,_,d,h,p;return u=this.refs.textInput.getDOMNode(),d=this._mentionWrapper(t.identifier,t.name,t.dbx_account_id),c=e(n.sanitize(d))[0],null!=o.webkit?c.setAttribute("contenteditable","false"):null!=o.mozilla&&c.setAttribute("style","margin-left:-3px; margin-right:-3px"),e(c).mousedown(function(e){return function(t){return e._onMentionMouseDown(t)}}(this)),null==i&&(p=this._extractCursorInfo(),s=p[0],a=p[1],_=p[2],i=document.createRange(),this.state.show_contacts||(this.setState({search_start_position:s.length}),this.setState({search_end_position:s.length})),i.setStart(s,this.state.search_start_position),i.setEnd(s,this.state.search_end_position)),c=this.unsafeInsertHtmlAtRange(c,i,!0),r=c.nextSibling,null!=r&&r.nodeType===Node.TEXT_NODE?(r.nodeValue=f+r.nodeValue,this._setCursorLocation(r,1)):(l=document.createTextNode(n.sanitize(f)),e(l).insertAfter(c),this._setCursorLocation(l,1)),"function"==typeof(h=this.props).onMention&&h.onMention(t),this.setState({show_contacts:!1})},focus:function(){var e;return this.setState({in_edit_mode:!0}),e=this.refs.textInput.getDOMNode(),e.focus()},disableMentions:function(){return this.state.show_contacts?this.setState({show_contacts:!1}):void 0},mentionsEnabled:function(){return this.state.show_contacts},_encodedMention:function(e){return"@[%(identifier)s:%(name)s]".format({identifier:e.identifier,name:e.name})},extractMentions:function(){var t,n,o,i,r,s,a,u;for(i=this.$text_input.find(".new-mention"),r=[],a=0,u=i.length;u>a;a++)o=i[a],n=e(o).data("id"),s=e(o).data("name"),t=e(o).data("dbx-account-id"),r.push(this._createMentionObject(n,s,t));return r},_encodeHtml:function(t){var n,o,i,r,s,a,u,c,l;if(i="",r=!1,t=t.replace(b,""),null!=t&&""!==t)for(l=e.parseHTML(t),u=0,c=l.length;c>u;u++)n=l[u],n.nodeType===Node.TEXT_NODE&&""!==n.nodeValue?(r=!0,i+=n.nodeValue):n instanceof HTMLParagraphElement?(r=!0,i=i+this._encodeHtml(e(n).html())+"\n"):e(n).hasClass("new-mention")?(r=!0,o=e(n).data(),s=this._createMentionObject(o.id,o.name),i+=this._encodedMention(s)):e(n).is("br")?i+="\n":e(n).is("div")?(a=e(n).text(),r=r||a.length>0,i=i+"\n"+a):(a=e(n).text(),r=r||a.length>0,i+=a);return i!==this.props.placeholder_text&&r?i:""},getEncodedMessage:function(){var e;return e=this.$text_input.html(),this._encodeHtml(e)},render:function(){var e,n,i,r,s,a,h,p,f;return s={"text-input":!0,"edit-mode":this.state.in_edit_mode},h=g(s),a=!0,null!=o.webkit&&(a="plaintext-only"),e={ref:"textInput",className:h,contentEditable:a,defaultValue:this.props.initial_text,onKeyPress:this._onInputKeypress,onKeyDown:this._onInputKeydown,onKeyUp:this._onInputKeyup,onFocus:this._onInputFocus,onBlur:this._onInputBlur,onPaste:this._onInputPaste,onMouseDown:this._onInputMouseDown},c=v.div(e,this.state.in_edit_mode?void 0:this.props.placeholder_text),f=_({ref:"contactSelector",contactSelectedCallback:this._contactSelectedCallback,show_contacts:this.state.show_contacts,should_dropdown:this.props.contacts_should_dropdown,y_offset:this.state.y_offset,x_offset:this.state.x_offset,user:this.props.user,last_keydown:this.state.last_keydown}),p=t.addons.classSet({"mentions-container":!0,"mentions-container-w-hint":this.props.showMentionsHelper}),v.div({className:p,ref:"container"},v.div({className:"mentions-input",ref:"input"},c,this.props.showMentionsHelper?(i=v.a({className:"comment-mention-hint-add",onMouseUp:this._contactsSelectorPopupShown},l({group:"web",name:"user_add"})),n=this.props.contacts_should_dropdown?"top":"bottom",r=this.props.contacts_should_dropdown?-20:-10,v.div({className:"comment-mention-hint",onMouseDown:this.refreshDropdownDirection},u({target:i,ref:"mentionsHintDropdown",arrow_position:""+n+"-right",vertical_displacement:r,anchor_bottom:!this.props.contacts_should_dropdown,show_arrow:!1,extra_css_class:"mentions-helper-bubble-dropdown",bubbleDropdownHidden:this._contactsSelectorPopupHidden},v.div({},d({key:"mentionsContactSelectorPopup",ref:"mentionsContactSelectorPopup",emailEnteredCallback:this._emailEnteredCallback,contactSelectedCallback:this._contactPopupSelectedCallback,contactHighlightedCallback:this._contactHighlightedCallback,should_dropdown:this.props.contacts_should_dropdown,user:this.props.user}))))):void 0),f)}})}),define("modules/clean/react/activity/resolve_button",["external/react","modules/core/i18n","modules/clean/react/sprite","modules/clean/react/tooltip"],function(e,t,n){var o,i;return i=e.DOM,o=e.createClass({propTypes:{resolved:e.PropTypes.bool.isRequired,update_resolved:e.PropTypes.func.isRequired},render:function(){var e;return e={className:"resolved-icon",onMouseDown:function(e){return function(){return e.props.update_resolved(!e.props.resolved)}}(this),onMouseEnter:function(e){return function(){return e.setState({hover:!0})}}(this),onMouseLeave:function(e){return function(){return e.setState({hover:!1})}}(this)},this.props.resolved?i.div({className:"resolve-wrapper"},i.div(e,n({group:"web",name:"s_greencheck"})),this.state.hover?i.div({className:"unresolve-text"},t._("Unresolve")):void 0):this.props.resolved?void 0:i.div({className:"resolve-wrapper"},i.div(e,n({group:"web",name:"s_greycheck"})),this.state.hover?i.div({className:"resolve-text"},t._("Resolve")):void 0)},getInitialState:function(){return{hover:!1}}})}),define("modules/clean/react/activity/users_to_notify",["external/react","modules/core/i18n","modules/clean/react/tooltip"],function(e,t,n){var o,i,r,s;return s=t._,r=t.ungettext,i=e.DOM,o=e.createClass({propTypes:{usersToNotify:e.PropTypes.array.isRequired,user:e.PropTypes.object.isRequired,show_extra_text:e.PropTypes.bool.isRequired},render:function(){var e,t,o,a,u,c;return e=function(){var e,t,n,o;for(n=this.props.usersToNotify,o=[],e=0,t=n.length;t>e;e++)c=n[e],c.id!==this.props.user.id&&o.push(c);return o}.call(this.props.user.is_signed_in?this:this),e.length>0?(u=i.div({className:"notification-names-container"},function(){var t,n,o;for(o=[],t=0,n=e.length;n>t;t++)c=e[t],o.push(function(){return function(e){return i.div({key:e.id},e.get_display_identity())}}(this)(c));return o}.call(this)),o=this.props.show_extra_text?r('Comments will notify %(num)s person. Anyone who can view this file can comment.','Comments will notify %(num)s people. Anyone who can view this file can comment.',e.length).format({num:e.length}):r('Comments will notify %(num)s person','Comments will notify %(num)s people',e.length).format({num:e.length}),t=i.div({dangerouslySetInnerHTML:{__html:o},className:"notification-names-target"}),n.Tooltip({position:n.TooltipPosition.TOP,tooltip_contents:u,tooltip_classname:"notification-names-tooltip"},t)):(a=s(this.props.show_extra_text?"Comments won't notify anyone yet. Anyone who can view this file can comment.":"Comments won't notify anyone yet"),i.div({dangerouslySetInnerHTML:{__html:a},className:"notification-names-target"}))}})}),define("modules/clean/react/bubble_dropdown",["jquery","external/keymaster","external/react"],function(e,t,n){var o,i,r,s,a;return s=n.DOM,r="react-bubble-dropdown-root",a=function(){var t;return t=e("#"+r),t.length||(t=e("
").attr({id:r}).prependTo("body")),t[0]},i=n.createClass({propTypes:{target:n.PropTypes.element.isRequired,arrow_position:n.PropTypes.oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","right","right-top","right-bottom","left","left-top","left-bottom"]).isRequired,vertical_displacement:n.PropTypes.number,horizontal_displacement:n.PropTypes.number},componentDidMount:function(){var t,n,o,i,s,a,u,c,l,_,d,h,p,f,m,g;switch(i=this._arrow_direction(),this.target_position={top:"bottom",left:"right",bottom:"top",right:"left"}[i],o=e(this.props.target.getDOMNode()),n=e(this.refs.dropdown.getDOMNode()),t=e(this.refs.arrow.getDOMNode()),d=e("#"+r).position().top,g=t.outerWidth(),u=t.outerHeight(),h=t.position().top,c=this.props.horizontal_displacement||0,l=t.position().left+c,m=this.props.vertical_displacement||0,p=u+d,this._arrow_direction()){case"left":s=0>p?"left+"+g+"px top+"+-p+"px":"left+"+g+"px top-"+p+"px";break;case"right":s=0>p?"right-"+g+"px top+"+-p+"px":"right-"+g+"px top-"+p+"px";break;case"top":p=u-d-m,s=0>p?"left-"+l+"px top-"+-p+"px":"left-"+l+"px top+"+p+"px";break;case"bottom":a=u+d-m,s=0>a?"left-"+l+"px bottom+"+-a+"px":"left-"+l+"px bottom-"+a+"px"}return f=function(e){return function(t){var n,i,r;return r=t.top,i=t.left,e.props.anchor_bottom?(n=document.documentElement.clientHeight-o.offset().top-m,e.setState({dropdown_style:{bottom:n,left:i}})):e.setState({dropdown_style:{top:r,left:i}})}}(this),_={my:s,at:this.target_position,of:o,collision:"none",using:f},n.position(_),n.position(_),this.props.show_arrow?void 0:(t.css("visibility","hidden"),e(".bubble-arrow-border").css("visibility","hidden"))},render:function(){return this.state.dropdown_style.display="right"===this._arrow_direction()?"block":"inline-block",s.div({className:"bubble-dropdown "+this.props.extra_css_class+" "+this.props.arrow_position,style:this.state.dropdown_style,ref:"dropdown"},this.props.children,s.div({className:"bubble-arrow-border"}),s.div({className:"bubble-arrow",ref:"arrow"}))},_arrow_direction:function(){var e;return"top"===this.props.arrow_position.substring(0,3)?e="top":"bottom"===this.props.arrow_position.substring(0,6)?e="bottom":"left"===this.props.arrow_position.substring(0,4)?e="left":"right"===this.props.arrow_position.substring(0,5)&&(e="right"),e},getInitialState:function(){return{dropdown_style:{}}}}),o=n.createClass({propTypes:{target:n.PropTypes.element.isRequired,arrow_position:n.PropTypes.oneOf(["top","top-left","top-right","bottom","bottom-left","bottom-right","right","right-top","right-bottom","left","left-top","left-bottom"]).isRequired,vertical_displacement:n.PropTypes.number,horizontal_displacement:n.PropTypes.number,show_arrow:n.PropTypes.bool,anchor_bottom:n.PropTypes.bool},getDefaultProps:function(){return{vertical_displacement:0,horizontal_displacement:0,anchor_bottom:!1,show_arrow:!0,extra_css_class:""}},render:function(){return s.span({className:"bubble-dropdown-container"},s.a({className:"bubble-dropdown-target",ref:"target",onMouseDown:this.preventSelection,onMouseUp:this.toggle},this.props.target))},render_tooltip:function(){var t,o;return o=a(),n.unmountComponentAtNode(o),this.shown?(this.props.anchor_bottom?(e("#"+r).css("position","fixed"),e("#"+r).css("bottom","0"),e("#"+r).css("top","auto")):(e("#"+r).css("top","0"),e("#"+r).css("bottom","auto")),t=i({target:this.refs.target,arrow_position:this.props.arrow_position,vertical_displacement:this.props.vertical_displacement,horizontal_displacement:this.props.horizontal_displacement,anchor_bottom:this.props.anchor_bottom,show_arrow:this.props.show_arrow,extra_css_class:this.props.extra_css_class},this.props.children),n.render(t,o)):void 0},preventSelection:function(e){return e.preventDefault()},componentDidMount:function(){return this.shown=!1,this.$target=e(this.refs.target.getDOMNode()),this.hideHandler=function(e){return function(){return e.shown?(e.hide(),!0):void 0}}(this),key("esc",this.hideHandler),e("*").on("scroll",this.hideHandler),e(window).on("resize",this.hideHandler),this.bodyClickHandler=function(t){return function(n){var o,i;if(t.shown)return o=e(n.target),o.is("select")?!0:(i=o.closest(t.$target).length||o.closest(e("#"+r)).length,i||t.hide(),!0)}}(this),e("body").on("mouseup",this.bodyClickHandler)},componentWillUnmount:function(){return e("body").off("mouseup",this.bodyClickHandler),e("*").off("scroll",this.hideHandler),e(window).off("resize",this.hideHandler),this.hide()},toggle:function(){return this.shown=!this.shown,this.render_tooltip()},show:function(){var e;return this.shown=!0,this.render_tooltip(),"function"==typeof(e=this.props).bubbleDropdownShown?e.bubbleDropdownShown():void 0},hide:function(){var e;return this.shown=!1,this.render_tooltip(),"function"==typeof(e=this.props).bubbleDropdownHidden?e.bubbleDropdownHidden():void 0}})}),define("modules/clean/react/button",["external/react"],function(e){var t,n;return n=e.DOM,t=function(t){return e.createClass({render:function(){var e,o,i,r;return i="", r=this.props.importance||"primary",i+=" button-"+r,this.props.variant&&"standard"!==this.props.variant&&(i+=" button-"+this.props.variant),this.props.className&&(i+=" "+this.props.className),o={className:i},this.props.disabled&&(o.disabled=!0),e=this.transferPropsTo(n[t](o,this.props.children))}})},{button:t("button"),link_button:t("a")}}),define("modules/clean/react/file_comments/comment_list_header",["jquery","external/react","modules/clean/activity/activity","modules/clean/gandalf_util","modules/clean/react/activity/contacts_selector_popup","modules/clean/react/activity/users_to_notify_facepile","modules/clean/react/bubble_dropdown","modules/clean/react/react_i18n","modules/clean/react/sprite_div"],function(e,t,n,o,i,r,s,a,u){var c,l,_,d;return d=t.DOM,_=a.R_,c=n.ActivityContext,l=t.createClass({propTypes:{activity:t.PropTypes.object,show_resolved:t.PropTypes.bool.isRequired,toggle_show_resolved_callback:t.PropTypes.func.isRequired,num_resolved:t.PropTypes.number.isRequired,hide_callback:t.PropTypes.func.isRequired,is_subscribed:t.PropTypes.bool.isRequired,toggle_subscribe_callback:t.PropTypes.func.isRequired,feedback_off:t.PropTypes.bool.isRequired,turn_off_feedback_callback:t.PropTypes.func.isRequired,activity_context:t.PropTypes.number.isRequired},_is_browse_view:function(){return this.props.activity_context===c.BROWSE_FILE_VIEWER||this.props.activity_context===c.BROWSE_LIGHTBOX},_hide_comments:function(e){return this.refs.dropdown.hide(),this.props.hide_callback(e)},_toggle_show_resolved:function(){return 0===this.props.num_resolved||this.props.feedback_off?void 0:(this.refs.dropdown.hide(),this.props.toggle_show_resolved_callback())},_toggle_subscribe:function(){return this.props.feedback_off?void 0:(this.refs.dropdown.hide(),this.props.toggle_subscribe_callback())},_turn_off_feedback:function(){return this.refs.dropdown.hide(),this.props.turn_off_feedback_callback()},contactSelectedCallback:function(e){var t;return this.refs.facepileContactSelectorDropdown.hide(),"function"==typeof(t=this.props).contactSelectedCallback?t.contactSelectedCallback(e):void 0},_contactsSelectorPopupShown:function(){return setTimeout(function(){return function(){return e(".contacts-selector-popup input").trigger("focus")}}(this),300)},render:function(){var e,n,a,c,l,h,p,f,m,g,v;return c=[],a=d.a({key:"hide",className:"comments-header-menu-option hide",onMouseUp:this._hide_comments},u({group:"web",name:"s_hide",text:_({},"Hide comments")})),c.push(a),p=this.props.show_resolved?_({},"Hide resolved comments"):_({},"Show resolved comments"),l=t.addons.classSet({"comments-header-menu-option":!0,"toggle-resolved":!0,disabled:0===this.props.num_resolved||this.props.feedback_off}),h=d.a({key:"resolved",className:l,onMouseUp:this._toggle_show_resolved},u({group:"web",name:"s_resolve",text:p})),c.push(h),this.props.is_subscribed?(v=_({},"Unsubscribe from notifications"),m="s_notifications_off"):(v=_({},"Subscribe to notifications"),m="s_notifications_on"),f=t.addons.classSet({"comments-header-menu-option":!0,"toggle-subscribe":!0,disabled:this.props.feedback_off}),g=d.a({key:"subscribe",className:f,onMouseUp:this._toggle_subscribe},u({group:"web",name:m,text:v})),c.push(g),this._is_browse_view()&&!this.props.feedback_off&&(n=d.a({key:"toggle-feedback-setting",className:"comments-header-menu-option toggle-feedback-setting",onMouseUp:this._turn_off_feedback},u({group:"web",name:"s_disable",text:_({},"Turn off comments")})),c.push(n)),d.div({className:"comment-list-header-container"},null!=this.props.activity&&o.getGandalfRule("dw-comments-notify-facepile")?(e=d.a({className:"comment-list-facepile-add",onMouseUp:this._contactsSelectorPopupShown},"+"),d.div({className:"comment-list-facepile"},d.div({className:"title"},"Subscribers"),d.div({},r({usersToNotify:this.props.activity.users_to_notify,user:this.props.user}),s({ref:"facepileContactSelectorDropdown",target:e,arrow_position:"top-right",vertical_displacement:-10,horizontal_displacement:-14},d.div({},i({ref:"facepileContactSelectorPopup",contactSelectedCallback:this.contactSelectedCallback,should_dropdown:!0,user:this.props.user,key:"facepileContactsPopup"})))))):void 0,d.div({className:"comment-list-header"},d.div({className:"comment-list-header-inner"},d.span({className:"title"},_({},"Comments")),d.span({className:"options"},s({ref:"dropdown",target:_({},"Options"),arrow_position:"top-right",vertical_displacement:8,extra_css_class:"comments-header-bubble-dropdown"},c))),d.hr({className:"separator"})))}})}),define("modules/clean/react/file_comments/logger",["modules/clean/ajax","modules/clean/activity/activity","modules/clean/activity/like","modules/clean/viewer","modules/core/exception"],function(e,t,n,o,i){var r,s;return r=function(){function t(){}return t.prototype.log_event=function(t,n,o,r,s){return i.assert(t,"event_type not provided"),i.assert(n,"file_activity_key not provided"),e.WebRequest({url:"/file_activity/client_log",type:"POST",data:{event_type:t,file_activity_key:n,comment_activity_key:o,client_origin_type:r},subject_user:s})},t}(),s=new r}),define("modules/clean/react/form_error_mixin",["external/react"],function(e){var t,n;return n=e.DOM,t={propTypes:{errorWrapperClassName:e.PropTypes.string,"disable-errors":e.PropTypes.bool,"error-after":e.PropTypes.bool,error:e.PropTypes.shape({message_text:e.PropTypes.string,message_html:e.PropTypes.string})},renderErrorIfEnabled:function(){return this.props["disable-errors"]?void 0:this.renderError()},renderError:function(){var e,t;return null!=(null!=(e=this.props.error)?e.message_html:void 0)?n.div({className:this.props.errorWrapperClassName,dangerouslySetInnerHTML:{__html:this.props.error.message_html}}):n.div({className:this.props.errorWrapperClassName},null!=(t=this.props.error)?t.message_text:void 0)}}}),define("modules/clean/react/help/bubble_picker",["jquery","external/react","modules/clean/react/sprite"],function(e,t,n){var o,i;return i=t.DOM,o=t.createClass({propTypes:{color:t.PropTypes.oneOf(["gray","blue"]),header:t.PropTypes.node,onPick:t.PropTypes.func,options:t.PropTypes.arrayOf(t.PropTypes.shape({value:t.PropTypes.any.isRequired,label:t.PropTypes.node.isRequired})),value:t.PropTypes.object},getDefaultProps:function(){return{color:"gray",options:[]}},getInitialState:function(){var e;return{value:null!=(e=this.props.value)?e:this.props.options[0].value,open:!1}},componentDidMount:function(){return this.globalMenuCloser=function(t){return function(n){var o;return t.state.open&&(o=e(n.target).closest(".bubble-picker-label"),!o.length||o[0]!==t.refs.label.getDOMNode())?t.setState({open:!1}):void 0}}(this),e(document).on("click",this.globalMenuCloser)},componentWillUnmount:function(){return e(document).off("click",this.globalMenuCloser)},selectedOption:function(){var e,t,n,o;for(o=this.props.options,t=0,n=o.length;n>t;t++)if(e=o[t],e.value===this.state.value)return e},render:function(){var e;return i.div({className:"bubble-picker color-"+this.props.color,onClick:function(e){return function(){return e.setState({open:!e.state.open})}}(this)},i.div({className:"bubble-picker-label",ref:"label"},null!=this.props.header?this.props.header:[this.state.selected.label,n({group:"web",name:"arrow-down-"+this.props.color})]),this.state.open?i.div({className:"bubble-picker-dropdown chat-bubble"},function(){var t,n,o,i;for(o=this.props.options,i=[],t=0,n=o.length;n>t;t++)e=o[t],i.push(function(e){return function(t){return e.renderOption(t)}}(this)(e));return i}.call(this),i.div({className:"chat-bubble-arrow-border"}),i.div({className:"chat-bubble-arrow"})):void 0)},renderOption:function(e){return i.div({className:"bubble-picker-option",onMouseDown:function(t){return function(){var n;return t.setState({value:e.value,open:!1}),"function"==typeof(n=t.props).onPick?n.onPick(e.value):void 0}}(this)},e.label)}})});var __hasProp={}.hasOwnProperty;define("modules/clean/react/image",["external/react","external/underscore","jquery","modules/clean/static_urls"],function(e,t,n,o){var i,r,s,a,u;return s=e.DOM,r=e.addons.classSet,u=function(e){var t;return t=e.lastIndexOf("."),-1!==t?[e.substring(0,t),e.substring(t+1)]:[e,""]},a=function(e){return!("/"===e[0]||0===e.indexOf("http:")||0===e.indexOf("https:"))},i=e.createClass({statics:{addStaticUrls:function(e){var n,i;return o.add_static_urls(t.object(function(){var t;t=[];for(n in e)__hasProp.call(e,n)&&(i=e[n],t.push([a(n)?"/images/"+n:n,i]));return t}()))}},propTypes:{alt:e.PropTypes.string,noHiRes:e.PropTypes.bool,src:e.PropTypes.string.isRequired,srcHiRes:e.PropTypes.string,onLoad:e.PropTypes.func},getDefaultProps:function(){return{alt:"",noHiRes:!1,_window:null}},getInitialState:function(){return{staticUrl:null,width:null,height:null}},render:function(){var e,n,o;return o=null!=this.state.staticUrl&&(!this.shouldUseHiRes()||null!=this.state.width&&null!=this.state.height),e={blankSrc:o},null!=this.props.className&&(e[this.props.className]=!0),n={alt:this.props.alt,className:r(e)},o&&t.extend(n,{src:this.state.staticUrl,width:this.state.width,height:this.state.height}),t.extend(n,t.pick(this.props,function(e,t){return t.match(/^(aria|data)-/)})),null!=this.props.id&&(n.id=this.props.id),s.img(n)},componentDidUpdate:function(e){return this.isMounted()&&this.props.src!==e.src?this.replaceState(this.getInitialState(),this.fetchStaticUrl):void 0},componentDidMount:function(){return this.fetchStaticUrl()},shouldUseHiRes:function(){var e,t;return e=null!=(t=this.props._window)?t:window,!this.props.noHiRes&&"devicePixelRatio"in e&&e.devicePixelRatio>1},getLocalImagePath:function(){var e,t,n,o;return n=this.shouldUseHiRes()?this.props.srcHiRes?this.props.srcHiRes:(o=u(this.props.src),e=o[0],t=o[1],o,""+e+"@2x."+t):this.props.src,a(n)?"/images/"+n:n},fetchStaticUrl:function(){var e,t,n;return null==this.state.staticUrl?(e=this.getLocalImagePath(),t=o.static_url(e),null!=t?this.setStaticUrl(t):o.multifetch_static_urls([e],function(t){return function(n){return t.setStaticUrl(n[e])}}(this))):null!=(n=this.props.onLoad)?n.apply(this.getDOMNode()):void 0},setStaticUrl:function(e){var t,o;return this.isMounted()?(o={staticUrl:e},this.shouldUseHiRes()?(t=new window.Image,n(t).on("load",function(e){return function(){return e.isMounted()?(o.width=t.width/2,o.height=t.height/2,e.setState(o,function(){var t;return null!=(t=e.props.onLoad)?t.apply(e.getDOMNode()):void 0})):void 0}}(this)),t.src=o.staticUrl):this.setState(o,function(e){return function(){var t;return null!=(t=e.props.onLoad)?t.apply(e.getDOMNode()):void 0}}(this))):void 0}})}),define("modules/clean/react/input",["external/react","external/underscore","jquery","modules/clean/react/form_error_mixin"],function(e,t,n,o){var i,r,s;return i=e.addons.classSet,r=e.DOM,s=function(s,a){return e.createClass({mixins:[o],getDefaultProps:function(){return{errorWrapperClassName:"text-input-error-wrapper"}},render:function(){var e,n,o,u,c,l,_,d,h,p,f;if(o={"text-input-input":!0,autofocus:this.props.autofocus,"password-input":"password"===a},u={"text-input":!0,"text-input-inline":this.props.inline,"textarea-input":"textarea"===s},u[this.props.variant||"standard"]=!0,null!=this.props.className)for(h=this.props.className.split(/\s/),_=0,d=h.length;d>_;_++)n=h[_],u[n]=!0;return e=t.omit(this.props,"className","onChange","value","valueLink","ref","defaultValue"),l=r[s](t.extend({className:i(o),type:a,value:this.props.value||(null!=(p=this.props.valueLink)?p.value:void 0)||this.state.value,onChange:this.onChangeInternal,ref:"inputComponent"},e)),c=this.renderErrorIfEnabled(),r.div({className:i(u)},this.props["error-after"]?void 0:c,r.div({className:"text-input-wrapper"},l,this.props.value||(null!=(f=this.props.valueLink)?f.value:void 0)||this.state.value?void 0:r.label({htmlFor:this.props.id},this.props.label)),this.props["error-after"]?c:void 0)},getValue:function(){return this.refs.inputComponent.getDOMNode().value},setValue:function(e){return this.refs.inputComponent.getDOMNode().value=e,this.setState({value:e})},resizeComponent:function(){var e,t;return t=this.refs.inputComponent.getDOMNode(),e=n(t),e.css("height","1px"),e.css("height",t.scrollHeight+"px")},_renderFinished:function(){var e;return this.props.autoresize&&this.resizeComponent(),"function"==typeof(e=this.props).afterRender?e.afterRender():void 0},componentDidMount:function(){return this._renderFinished()},componentDidUpdate:function(){return this._renderFinished()},getInitialState:function(){return{value:this.props.defaultValue}},onChangeInternal:function(e){var t;return"function"==typeof(t=this.props).onChange&&t.onChange(e),this.props.value?void 0:this.props.valueLink?this.props.valueLink.requestChange(e.target.value):this.setState({value:e.target.value})}})},{password:s("input","password"),text:s("input","text"),textarea:s("textarea","text")}}),define("modules/clean/react/modal",["external/react","jquery","modules/core/i18n","modules/core/dom","modules/clean/react/button","modules/clean/keycode"],function(e,t,n,o,i,r){var s,a,u,c,l,_;return l=n._,c=e.DOM,s="react-modal-root",_=function(e){var n,o;return null==e&&(e=!0),n=s,o=t("#"+n),!o.length&&e&&(o=t("
").attr({id:n}).prependTo("body")),o[0]},a=e.createClass({statics:{showInstance:function(t){var n;return n=_(),e.unmountComponentAtNode(n),e.render(t,n)},close:function(){var t;return t=_(),t?e.unmountComponentAtNode(t):void 0},unhide:function(){var e;return e=_(),e?t(e).show():void 0},hide:function(){var e;return e=_(),e?t(e).hide():void 0}},close:function(){return a.close()},_invokeCallbackAndClose:function(e,t,n){return null!=e&&"function"==typeof e.call&&e.call(this,t),t.isDefaultPrevented()?void 0:this.props.autoClose||n?this.close():void 0},_dismiss:function(e){return this._invokeCallbackAndClose(this.props.onDismiss,e,!0)},_accept:function(e){return this._invokeCallbackAndClose(this.props.onAccept,e,!1)},propTypes:{acceptButtonText:e.PropTypes.string,dismissButtonText:e.PropTypes.string,altAction:e.PropTypes.node,onAccept:e.PropTypes.func,onDismiss:e.PropTypes.func,onShow:e.PropTypes.func,buttonComponent:e.PropTypes.element,autoClose:e.PropTypes.bool,showX:e.PropTypes.bool,style:e.PropTypes.oneOf(["default","clean"])},getDefaultProps:function(){return{acceptButtonText:l("OK"),dismissButtonText:null,buttonComponent:null,onAccept:function(){},onDismiss:function(){},onShow:function(){},autoClose:!0,style:"default",showX:!0}},_fitInViewport:function(){var e,n,o,i,r,s,a;return e=90,a=t(window).height(),n=t(this.getDOMNode()),i=n.find(".db-modal"),o=n.find(".db-modal-content"),r=i.height(),i.css(this.props.width?{width:this.props.width,marginLeft:-this.props.width/2}:{marginLeft:-i.width()/2}),r>a?(s=r-a,o.css({maxHeight:Math.max(50,o.height()-s),overflowY:"auto"}),i.css({top:0})):i.css(2*e>a-r?{top:"50%",marginTop:-(.5*r)}:{top:e}),i.css({position:"fixed"})},_focus:function(){var e,n;return e=t(this.refs.modal.getDOMNode()),n=e.find("input").first(),n.length?e=n:this.refs.primaryButton?e=t(this.refs.primaryButton.getDOMNode()):this.refs.tertiaryButton&&(e=t(this.refs.tertiaryButton.getDOMNode())),e.focus()},_keyDown:function(e){return e.stopPropagation(),e.which===r.ESC&&this._dismiss(e),e.which!==r.BACKSPACE||o.focus_in_input()?void 0:(e.preventDefault(),this._dismiss(e))},_renderButtons:function(){var e;return this.props.buttonComponent?this.props.buttonComponent:(e=[],this.props.submitting&&e.push(c.span({className:"dbmodal-loading"},c.img({src:"/static/images/icons/ajax-loading-small.gif"}))),this.props.acceptButtonText&&e.push(i.button({ref:"primaryButton",className:"dbmodal-button",importance:"primary",onClick:this._accept},this.props.acceptButtonText)),this.props.dismissButtonText&&e.push(i.button({ref:"tertiaryButton",className:"dbmodal-button",importance:"tertiary",onClick:this._dismiss},this.props.dismissButtonText)),e.length?c.div({className:"db-modal-buttons"},e):void 0)},_renderAltAction:function(){return this.props.altAction?c.div({className:"db-modal__alt-action"},this.props.altAction):void 0},componentDidMount:function(){var e;return t(document).trigger("modalOpened",this),o.scroll_lock_document(),t(this.getDOMNode()).find("img").on("load",this._fitInViewport),this._fitInViewport(),t(this.refs.modal.getDOMNode()).on("keydown",this._keyDown),this._focus(),"function"==typeof(e=this.props).onShow?e.onShow():void 0},componentWillUnmount:function(){return t(document).trigger("modalClosed",this),o.scroll_unlock_document(),t(this.refs.modal.getDOMNode()).off("keydown",this._keyDown)},render:function(){var e;return e=this.props.className,"clean"===this.props.style&&(e+=" db-modal--clean-style"),c.div({className:e},c.div({className:"db-modal-overlay",onClick:this._dismiss}),c.div({ref:"modal",className:"db-modal",tabIndex:0},c.div({className:"db-modal-box"},this.props.showX?c.span({className:"db-modal-x",onClick:this._dismiss}):void 0,c.h2({className:"db-modal-title"},c.div({className:"db-modal-title-text"},this.props.title)),c.div({className:"db-modal-content"},this.props.children,this._renderButtons(),this._renderAltAction()))))}}),u={show:function(t){var n;return n={acceptButtonText:t.confirm_text,onAccept:t.confirm_callback,dismissButtonText:t.cancel_text,onDismiss:t.cancel_callback,title:t.title_text,width:t.width,className:"simple-modal",autoClose:t.autoclose},a.showInstance(new a(n,e.DOM.div({className:"simple-modal-content",dangerouslySetInnerHTML:{__html:t.body_html}})))}},{Modal:a,SimpleModal:u}});var __slice=[].slice;define("modules/clean/react/react_i18n",["external/react","external/underscore","modules/core/i18n","modules/clean/react/util"],function(e,t,n,o){var i,r,s,a;return s=e.DOM,a=n._,r=e.createClass({render:function(){var e,n,o;if(n=this.props.children,"string"!=typeof n)throw new Error("R_ can only take a single string child");return o=a(n),e=t.isEmpty(t.omit(this.props,"children"))?o:o.format(t.omit(this.props,"children")),s.span({dangerouslySetInnerHTML:{__html:e}})}}),i=e.createClass({render:function(){var i,r,a;if(r=[],"number"!=typeof this.props.n)throw new Error("RP_ requires a number prop for @props.n, got "+this.props.n);return e.Children.forEach(this.props.children,function(e){return r.push(o.getText(e))}),a=n.ungettext.apply(n,__slice.call(r).concat([this.props.n])),i=t.isEmpty(t.omit(this.props,"children","n"))?a:a.format(t.omit(this.props,"children","n")),s.span({dangerouslySetInnerHTML:{__html:i}})}}),{R_:r,RP_:i}}),define("modules/clean/react/recaptcha_challenge",["jquery","external/react","modules/clean/react/form_error_mixin","modules/clean/react/image","modules/clean/react/input","modules/clean/react/react_i18n"],function(e,t,n,o,i,r){var s,a,u;return u=t.DOM,s=r.R_,a=t.createClass({mixins:[n],getDefaultProps:function(){return{public_key:"",errorWrapperClassName:"text-input-error-wrapper",variant:"standard"}},componentDidMount:function(){var t;return t=this.props.public_key,e.getScript("https://www.google.com/recaptcha/api/js/recaptcha_ajax.js",function(){return Recaptcha.create(t,"recaptcha_widget",{theme:"custom"})})},handleReloadLinkClick:function(){return Recaptcha.reload()},handleSwitchTypeToAudioLinkClick:function(){return Recaptcha.switch_type("audio")},handleSwitchTypeToImageLinkClick:function(){return Recaptcha.switch_type("image")},handleHelpLinkClick:function(){return Recaptcha.showhelp()},_renderButtons:function(){return u.div({className:""+this.props.variant+" recaptcha-buttons"},u.a({className:"recaptcha-button recaptcha-reload",onClick:this.handleReloadLinkClick},o({src:"icons/captcha-reload.png",noHiRes:!0})),u.a({className:"recaptcha-button recaptcha_only_if_image",onClick:this.handleSwitchTypeToAudioLinkClick},o({src:"icons/captcha-audio.png",noHiRes:!0})),u.a({className:"recaptcha-button recaptcha_only_if_audio",onClick:this.handleSwitchTypeToImageLinkClick},o({src:"icons/captcha-words.png",noHiRes:!0})),u.a({className:"recaptcha-button recaptcha-show-help",onClick:this.handleHelpLinkClick},o({src:"icons/captcha-help.png",noHiRes:!0})))},_renderRecaptchaResponseInput:function(){return i.text({id:"recaptcha_response",name:"recaptcha_response",className:"login-text-input","disable-errors":!0,label:s({},"Type the text")})},_renderDummyInput:function(){return u.input({type:"hidden",id:"recaptcha_response_field"})},_renderStandard:function(){var e;return e=this.renderErrorIfEnabled(),u.div({id:"recaptcha_widget",className:"standard recaptcha-container"},e,u.div({id:"recaptcha_image",className:"standard login-recaptcha-challenge-container"}),this._renderRecaptchaResponseInput(),this._renderButtons(),this._renderDummyInput())},_renderSmall:function(){var e;return e=this.renderErrorIfEnabled(),u.div({id:"recaptcha_widget",className:"small recaptcha-container"},e,u.div({id:"recaptcha_image",className:"small login-recaptcha-challenge-container"}),this._renderButtons(),this._renderRecaptchaResponseInput(),this._renderDummyInput())},render:function(){return"standard"===this.props.variant?this._renderStandard():"small"===this.props.variant?this._renderSmall():void 0},reload:function(e){return this.setProps({error:e}),Recaptcha.reload()}})}),define("modules/clean/react/select",["external/react","external/underscore","jquery","modules/clean/keycode","modules/clean/react/form_error_mixin","modules/clean/react/sprite","modules/clean/react/util"],function(e,t,n,o,i,r,s){var a,u,c,l,_,d;return u=e.addons.classSet,a=e.addons.cloneWithProps,c=e.DOM,l=function(e,t){var n,o,i,r;return r=e.scrollTop(),i=r+e.height(),o=t.position().top+r,n=o+t.height(),r>o?e.scrollTop(o):n>i?e.scrollTop(n-e.height()):void 0},d=e.createClass({render:function(){var e;return e={"list-item":!0,"select-option":!0,"select-option-disabled":this.props.disabled},this.transferPropsTo(c.div({className:u(e),"data-value":this.props.value,title:this.props.title},this.props.children))}}),_=e.createClass({mixins:[i],mouseInput:!0,propTypes:{name:e.PropTypes.string,onChange:e.PropTypes.func,defaultValue:e.PropTypes.string,style:e.PropTypes.object,value:e.PropTypes.string,variant:e.PropTypes.string},getDefaultProps:function(){return{errorWrapperClassName:"select-input-error-wrapper",style:null}},getInitialState:function(){return{open:!1,focused:null,keyboarsSelectPrefix:"",value:this.props.defaultValue}},render:function(){var t,n;return t={"select-input":!0,"select-input-dropdown-shown":this.state.open},this.props.variant&&(t[this.props.variant]=!0),this.props.className&&(t[this.props.className]=!0),n={"list-menu":!0,"select-input-dropdown":!0,"select-input-disable-error":this.props["disable-errors"]},c.div({className:u(t),style:this.props.style},c.div({className:"hidden-select-wrapper"},c.select({tabIndex:-1,name:this.props.name,defaultValue:this.props.defaultValue,value:this.getValue()},e.Children.map(this.props.children,function(){return function(e){return c.option({value:e.props.value,disabled:e.props.disabled})}}(this)))),this.renderErrorIfEnabled(),c.div({className:"select-input-input",tabIndex:0,"aria-hidden":!0,onClick:this.toggle,onKeyDown:this.handleKeydown,onMouseMove:this.handleMouseMove,ref:"label"},this.selectedOption(),c.div({className:"select-input-dropdown-arrow"},r({group:"web",name:"arrow-down-gray"}))),c.div({style:{position:"relative"}},c.div({className:u(n),"aria-hidden":!0,ref:"dropdown"},this.menuChildren())))},handleMouseMove:function(e){var t,n;return(e.pageX!==t||e.pageY!==n)&&(this.mouseInput=!0),t=e.pageX,n=e.pageY},_commonPrefixLen:function(e,t){var o;for(e=n.trim(e).toLowerCase(),t=n.trim(t).toLowerCase(),o=0;o=o?{keyboarsSelectPrefix:e,focused:i.value}:{keyboarsSelectPrefix:e,focused:n.value})},handleKeydown:function(e){var n,i;switch(this.mouseInput=!1,e.keyCode){case o.TAB:return this.setState({open:!1,focused:null}),!0;case o.ENTER:this.state.open&&this.state.focused?(this.setValue(this.state.focused),this.setState({open:!1})):this.toggle();break;case o.UP:this.setState(this.state.open?{focused:this.prev(this.state.focused)}:{open:!0});break;case o.DOWN:this.setState(this.state.open?{focused:this.next(this.state.focused)}:{open:!0});break;default:if(!this.state.open)return!0;t.contains(t.values(o),e.keyCode)||(n=String.fromCharCode(e.which),i=this.state.keyboarsSelectPrefix+n,this._keyboardSelect(i),this._keyboardSelect_timeout&&clearTimeout(this._keyboardSelect_timeout),this._keyboardSelect_timeout=setTimeout(function(e){return function(){return e.setState({keyboarsSelectPrefix:""}),e._keyboardSelect_timeout=null}}(this),500))}return!1},prev:function(t){var n,o;return n=null,o=null,e.Children.forEach(this.props.children,function(){return function(e){return o||(o=e),e.props.value===t&&(n=o),o=e}}(this)),null!=n?n.props.value:void 0},next:function(t){var n,o,i;return n=null,o=null,e.Children.forEach(this.props.children,function(){return function(e){return(null!=o?o.props.value:void 0)===t&&(n=e),o=e}}(this)),null!=(i=n||o)?i.props.value:void 0},menuChildren:function(){var t,n;return n=this.getValue(),t=e.Children.map(this.props.children,function(e){return function(t){var o;return o=a(t,{onMouseEnter:function(){return e.mouseInput?e.setState({focused:t.props.value}):void 0},onClick:function(){return t.props.disabled?void 0:(e.setValue(t.props.value),e.setState({open:!1}))},className:u({"focused-option":e.state.focused===t.props.value,"selected-option":n===t.props.value})})}}(this))},componentWillMount:function(){var o;return o=e.Children.map(this.props.children,function(e){return{value:e.props.value,text:n.trim(s.getText(e).toLowerCase())}}),this.sortedOptions=t.sortBy(o,"text")},componentDidMount:function(){return this.globalMenuCloser=function(e){return function(t){var o;return e.state.open&&(o=n(t.target).closest(".select-input-input"),!o.length||o[0]!==e.refs.label.getDOMNode())?e.setState({open:!1,focused:null}):void 0}}(this),n(document).on("click",this.globalMenuCloser)},componentWillUnmount:function(){return n(document).off("click",this.globalMenuCloser)},componentDidUpdate:function(){var e,t;return this.state.open&&this.state.focused?(t=n(this.refs.dropdown.getDOMNode()),e=t.find("[data-value='"+this.state.focused+"']"),l(t,e)):void 0},selectedOption:function(){var t;return t=null,e.Children.forEach(this.props.children,function(e){return function(n){return t||(t=n),(null!=n?n.props.value:void 0)===e.getValue()?t=n:void 0}}(this)),t?a(t):null},toggle:function(){return this.setState({open:!this.state.open,focused:null})},getValue:function(){var e,t,n;return null!=(e=null!=(t=this.props.value)?t:null!=(n=this.props.valueLink)?n.value:void 0)?e:this.state.value},setValue:function(e){var t,n;return t=this.getValue(),t!==e&&"function"==typeof(n=this.props).onChange&&n.onChange(t,e),this.props.valueLink?this.props.valueLink.requestChange(e):this.setState({value:e})}}),{input:_,option:d,example:e.createClass({render:function(){return _({name:"field-name"},d({value:"0one"},"one"),d({value:"0two"},"twotwo"),d({value:"0three"},"threethreethree"),d({value:"1one"},"one"),d({value:"1two"},"twotwo"),d({value:"1three"},"threethreethree"),d({value:"2one"},"one"),d({value:"2two"},"twotwo"),d({value:"2three"},"threethreethree"),d({value:"3one"},"one"),d({value:"3two"},"twotwo"),d({value:"3three"},"threethreethree"))}})}}),define("modules/clean/react/sprite",["external/react"],function(e){var t,n;return n=e.DOM,t=e.createClass({render:function(){var e,t,o;return t=this.props.group,o=this.props.name,e=["sprite","sprite_"+t,"s_"+t+"_"+o],null!=this.props.className&&e.push(this.props.className),n.img({className:e.join(" "),src:"/static/images/icons/icon_spacer.gif","data-src":this.props["data-src"],onClick:this.props.onClick})}})}),define("modules/clean/react/sprite_div",["external/react"],function(e){var t;return t=e.DOM,e.createClass({render:function(){var e,n,o;return e=this.props.group,n=this.props.name,o=this.props.text,t.div({className:"sprite-div"},t.div({className:"sprite-frame small icon-left"},t.img({className:"sprite sprite_"+e+" s_"+e+"_"+n,src:"/static/images/icons/icon_spacer.gif"})),t.div({className:"sprite-text"},o))}})}),define("modules/clean/react/tooltip",["external/react","external/underscore","jquery"],function(e,t,n){var o,i,r,s,a,u,c,l;return a={TOP:0,BOTTOM:1,LEFT:2,RIGHT:3},u=e.DOM,i="tooltip-holder",o=7,l=function(){var e,t;return e=i,t=n("#"+e),t.length||(t=n("
").attr({id:e}).prependTo("body")),t[0]},s=e.createClass({propTypes:{position:e.PropTypes.oneOf(function(){var e;e=[];for(c in a)e.push(a[c]);return e}()),tooltip_target_ref:e.PropTypes.element,contents:e.PropTypes.oneOfType([e.PropTypes.element,e.PropTypes.string]),tooltip_classname:e.PropTypes.string},_getDimensionsOfElement:function(e){var t,n,o;return n=e.offset(),o=e.outerWidth(),t=e.outerHeight(),{left_x:n.left,right_x:n.left+o,top_y:n.top,bottom_y:n.top+t,width:o,height:t}},render:function(){var e,t,i;return t=this._getDimensionsOfElement(n(this.props.tooltip_target_ref.getDOMNode())),i=n(l()).offsetParent(),"static"===i.css("position")&&(i=n(window)),e=function(){switch(this.props.position){case a.TOP:return{bottom:i.height()-t.top_y+o};case a.BOTTOM:return{top:t.bottom_y+o};case a.LEFT:return{right:i.width()-t.left_x+o};case a.RIGHT:return{left:t.right_x+o}}}.call(this),u.div({className:"tooltip-bubble "+(this.props.className||""),ref:"tooltip",style:e},u.div({className:"tooltip-inner"},this.props.contents))},componentDidMount:function(){return this._centerAndShow()},componentDidUpdate:function(){return this._centerAndShow()},_centerAndShow:function(){var e,t,o,i,r,s,u;return e=n(this.refs.tooltip.getDOMNode()),o=this._getDimensionsOfElement(n(this.props.tooltip_target_ref.getDOMNode())),i=this._getDimensionsOfElement(e),(s=this.props.position)===a.TOP||s===a.BOTTOM?(t=o.left_x+o.width/2-i.width/2,e.css("left",""+t+"px")):((u=this.props.position)===a.LEFT||u===a.RIGHT)&&(r=o.top_y+o.height/2-i.height/2,e.css("top",""+r+"px")),e.show()}}),r=e.createClass({propTypes:{position:e.PropTypes.oneOf(function(){var e;e=[];for(c in a)e.push(a[c]);return e}()),tooltip_contents:e.PropTypes.element,tooltip_classname:e.PropTypes.string},render:function(){return u.div({className:"tooltip-target",onMouseMove:function(e){return function(t){return e._show(t)}}(this),onMouseLeave:function(e){return function(t){return e._hide(t)}}(this),id:this.state.tooltip_id,ref:"tooltipTarget"},this.props.children)},componentDidMount:function(){return n(document).bind("scroll."+this.state.event_id,function(e){return function(t){return e._hide(t)}}(this))},componentDidUpdate:function(){return this.state.visible?this._render_tooltip():void 0},componentWillUnmount:function(){var t;return n(document).unbind("scroll."+this.state.event_id),t=l(),e.unmountComponentAtNode(t)},_render_tooltip:function(){var t,n;return n=l(),t=s({position:this.props.position,contents:this.props.tooltip_contents,tooltip_target_ref:this.refs.tooltipTarget,className:this.props.tooltip_classname}),e.unmountComponentAtNode(n),e.render(t,n)},_show:function(){return this.state.visible?void 0:(this._render_tooltip(),this.setState({visible:!0}))},_hide:function(){var t;if(this.state.visible)return t=l(),e.unmountComponentAtNode(t),this.setState({visible:!1})},getInitialState:function(){return{visible:!1,event_id:t.uniqueId()}}}),{Tooltip:r,TooltipPosition:a}}),define("modules/clean/react/util",["external/react","external/underscore"],function(e){var t,n;return t=function(n){var o;return"string"==typeof n?n:"string"==typeof n.props?n.props:n.props.text?n.props.text:(o=[],e.Children.forEach(n.props.children,function(e){return o.push(t(e))}),o.join(""))},n=function(t,o,i){var r,s;return o(t)?i(t):(r=!1,s=[],e.Children.forEach(t.props.children,function(){return function(e){var t;return t=n(e,o,i),s.push(t), t!==e?r=!0:void 0}}(this)),r?e.addons.cloneWithProps(t,{children:s}):t)},{getText:t,replaceSubtree:n}}),define("modules/clean/referrer_cleansing_redirect",["external/sjcl","modules/core/browser","modules/core/cookies","modules/core/uri"],function(e,t,n,o){var i,r,s,a;return a=function(t){var o,i,r,s;return o=e.codec.utf8String.toBits(n.read(Constants.JS_CSRF_COOKIE)),s=e.codec.utf8String.toBits(t),i=new e.misc.hmac(o),r=i.encrypt(t),e.codec.base64.fromBits(r)},r=function(e){var t,n;return t=o.parse(e).scheme,t&&"http"!==t&&"https"!==t?"#":(n=new o({path:"/referrer_cleansing_redirect"}),n.setQuery({url:e,hmac:a(e)}),n)},s=function(e){return t.redirect(r(e))},i={get_redirect_uri:r,redirect:s}}),define("modules/clean/shared_link_error",["jquery","modules/clean/ajax"],function(e,t){var n;return n=function(){function n(){e("#broken-share-article").on("click",function(){return t.WebRequest({url:"/shared_link_error_log",data:{evt:o}})})}var o;return o="click-sharing-article",n}()}),define("modules/clean/sharing/namespace_conversion_alert_modal",["external/react","modules/clean/analytics","modules/clean/dbmodal","modules/clean/react/modal","modules/core/i18n"],function(e,t,n,o,i){var r,s,a,u,c;return r=n.DBModalStack,s=o.Modal,c=i._,u=e.DOM,a=e.createClass({statics:{showInstance:function(e){return s.showInstance(e)}},propTypes:{user:e.PropTypes.object.isRequired,confirm_callback:e.PropTypes.func.isRequired},render:function(){return s({title:c("Convert to shared folder?"),acceptButtonText:c("Continue"),dismissButtonText:c("Cancel"),autoClose:!1,onAccept:this._onAccept,onDismiss:this.close,ref:"modal"},u.div({},c("For other people to edit files in this folder, you have to convert it into a shared folder. Do you want to continue?")))},_onAccept:function(){return t.SimpleSharingLogger.log(this.props.user,24),this.props.confirm_callback()},close:function(){return this.refs.modal.close()},componentDidMount:function(){return t.SimpleSharingLogger.log(this.props.user,23)}})}),define("modules/clean/sharing/share_inband",["jquery","modules/clean/ajax","modules/clean/analytics","modules/clean/contacts/tokenizer","modules/clean/contacts/types","modules/clean/em_string","modules/clean/filepath","modules/clean/form","modules/clean/react/button","modules/clean/react/modal","modules/clean/react/select","modules/clean/react/sprite_div","modules/clean/sharing/namespace_conversion_alert_modal","modules/clean/sharing/shared_link_for_sf","modules/clean/viewer","modules/core/exception","modules/core/i18n","modules/core/notify","external/react"],function(e,t,n,o,i,r,s,a,u,c,l,_,d,h,p,f,m,g,v){var y,b,w,E,S,T,C,k,O,x,A;return w=o.ContactsTokenizer,b=o.ContactTokenValidator,y=o.ContactTokenState,E=c.Modal,C=f.assert,A=m._,x=m.ungettext,k=v.DOM,S=function(){function o(){}return o.createAndShowModal=function(o,u,c,l,_,h,p,f,m,v){var y,b,w,S,k,O,R;return O=r.em_snippet(s.filename(u),16),R=A("Share ‘%(filename)s’ with others").format({filename:O}),S=A(p?"Who do you want to share this folder with?":"Who do you want to share this file with?"),w=function(e,t){var n,i;return E.hide(t),i=function(e){return e?t.setFolderSettings(e):void 0},n=function(){return E.unhide(t)},_(o,u,f,e,i,n)},y=function(e){var t;return E.hide(e),t=function(){return E.unhide(e)},h(o,u,f,t)},b=function(e){return e.close(),n.SimpleSharingLogger.log(o.id,19,"viewed"),l(o,u)},k=function(n,r,s){var c,l,_,h,p,y;if(l=function(){var e,t,o;for(o=[],e=0,t=n.length;t>e;e++)c=n[e],c.type===i.EMAIL&&o.push(c.email);return o}(),_=function(){var e,t,o;for(o=[],e=0,t=n.length;t>e;e++)c=n[e],c.type===i.FB&&o.push(c.fb_id);return o}(),h=function(){var e,t,o;for(o=[],e=0,t=n.length;t>e;e++)c=n[e],c.type===i.NEW_STYLE_GROUP&&o.push(c.fb_id);return o}(),p=l.length+_.length+h.length,y=function(t){var n,o,i,r,s,u;if(u=a.parse_response(t),r=u[0],i=u[1],r)return s=x("Shared ‘%(filename)s’!","Shared ‘%(filename)s’ with %(num_recipients)s people!",p),g.success(s.format({filename:O,num_recipients:p})),e(document).trigger("db:sharing_api:request_succeeded",{request_url:"",ns_id:f}),E.close();for(o in i)if(n=i[o],"message_text"in n)return void g.error(n.message_text);return g.error()},"edit"===r)if(m)t.FormWebRequest({subject_user:o.id,url:"/share_ajax/invite_more",data:{ns_id:f,emails:l,fb_ids:_,new_style_group_ids:h,custom_message:"",access_type:2,is_simple_sharing:!0},success:y});else{if(!v)return C(!1,"Tried to share unshareable folder with edit access");d.showInstance(d({user:o,confirm_callback:function(){return function(){var e;e={path:u,emails:l,fb_ids:_,new_style_group_ids:h,custom_message:"",access_type:2,is_simple_sharing:!0,folder_settings:1,shared_link_policy:s.state.folderSettings.shared_link_policy,audience:s.state.folderSettings.audience,inviter:s.state.folderSettings.inviter},(e.audience||e.inviter)&&(e.custom_folder_settings=1),t.FormWebRequest({subject_user:o.id,url:"/share_ajax/existing",data:e,success:y})}}(this)}))}else t.FormWebRequest({subject_user:o.id,url:"/sm/share_inband",data:{fq_path:u,emails:l,fb_ids:_,new_style_group_ids:h,is_simple_sharing:!0},success:y})},E.showInstance(T({user:o,fq_path:u,title:R,recipientPrompt:S,sendHandler:k,membersHandler:b,newSettingsHandler:w,existingSettingsHandler:y,initialAccess:"view",allowsEdit:m||v,show_link_settings_modal:c,target_ns_id:f,is_shared_folder:m,could_be_shared_folder:v}))},o}(),O=function(e){var t;return(t=e.type)!==i.FB&&t!==i.USER_GROUP&&t!==i.NEW_STYLE_GROUP},T=v.createClass({propTypes:{title:v.PropTypes.string.isRequired,user:v.PropTypes.object.isRequired,fq_path:v.PropTypes.string.isRequired,recipientPrompt:v.PropTypes.string.isRequired,initialAccess:v.PropTypes.string.isRequired,allowsEdit:v.PropTypes.bool.isRequired,sendHandler:v.PropTypes.func.isRequired,membersHandler:v.PropTypes.func,newSettingsHandler:v.PropTypes.func,existingSettingsHandler:v.PropTypes.func,show_link_settings_modal:v.PropTypes.func.isRequired,target_ns_id:v.PropTypes.number,is_shared_folder:v.PropTypes.bool.isRequired,could_be_shared_folder:v.PropTypes.bool.isRequired},getInitialState:function(){var e;return e={audience:void 0,inviter:void 0,shared_link_policy:void 0},{access:this.props.initialAccess,folderSettings:e,tokens:[],numFolderMembers:void 0,customContactValidator:this._getCustomContactValidator(e,this.props.initialAccess)}},componentDidMount:function(){return n.SimpleSharingLogger.log(this.props.user,14),this.props.is_shared_folder&&null==this.state.numFolderMembers?t.WebRequest({url:"/share_ajax/preview_members/"+this.props.target_ns_id,subject_user:this.props.user.id,data:{max_results:0},dataType:"json",success:function(e){return function(t){return e.isMounted()?e.setState({numFolderMembers:t.num_users_and_invites}):void 0}}(this)}):void 0},render:function(){return E({autoClose:!1,title:this.props.title,ref:"modal",buttonComponent:this._renderButtons()},k.div({className:"share-inband-container"},k.div({className:"prompt-line"},this.props.recipientPrompt,this._renderFolderMembersLink(),this._renderSettingsLink()),k.div({},w({ref:"tokenizer",customClass:"recipients-tokenizer",user:this.props.user,onTokensChange:this._setTokens,customContactValidator:this.state.customContactValidator,customContactFilter:O},l.input({ref:"access",className:"invite-access",value:this.state.access,onChange:function(e){return function(t,n){return e.props.allowsEdit||"edit"!==n||(g.error(A("Can’t invite others to edit this folder.")),n="view"),e._setAccess(n)}}(this)},l.option({value:"view"},A("can view")),l.option({value:"edit"},A("can edit"))))),this._renderExternalTokenWarning()))},close:function(){return this.refs.modal.close()},setFolderSettings:function(e){var t;return t=this._getCustomContactValidator(e,this.state.access),this.setState({folderSettings:e,customContactValidator:t})},_setAccess:function(e){var t;return t=this._getCustomContactValidator(this.state.folderSettings,e),this.setState({access:e,customContactValidator:t})},_getCustomContactValidator:function(e,t){return this.props.user.is_team?"team"===e.audience&&"edit"===t?b.forbid:b.warn:b.basic},_renderButtons:function(){return k.div({className:"db-modal-buttons share-inband-buttons"},h({fq_path:this.props.fq_path,user:this.props.user,show_link_settings_modal:this.props.show_link_settings_modal,is_shared_folder:this.props.is_shared_folder,could_be_shared_folder:this.props.could_be_shared_folder}),u.link_button({className:"dbmodal-button send-button",importance:"primary",onClick:function(e){return function(){var t;return t=e._getRecipients(),0===t.length?void g.error(A("No one to share with! Please enter a valid recipient.")):e.props.sendHandler(t,e._getAccess(),e)}}(this)},A("Send")))},_setTokens:function(e){return this.setState({tokens:e})},_renderExternalTokenWarning:function(){var e,t,n,o,i,r,s;if(!this.props.user.is_team)return!1;for(t=0,s=this.state.tokens,i=0,r=s.length;r>i;i++)e=s[i],e.invalid||this.state.customContactValidator(e)!==y.warn||(t+=1);return t>0?(n=p.get_viewer().team_name,o=A("Sharing with %(warned_tokens)s people outside of %(team_name)s").format({warned_tokens:t,team_name:n}),1===t&&(o=A("Sharing with 1 person outside of %(team_name)s").format({team_name:n})),k.span({className:"external-token-warning"},k.img({src:"/static/images/teams/sharefolder_warning.png"}),o)):!1},_renderSettingsLink:function(){return this.props.could_be_shared_folder&&"edit"===this.state.access||this.props.is_shared_folder?u.link_button({className:"settings-link",importance:"standard",onClick:function(e){return function(){return e.props.is_shared_folder?e.props.existingSettingsHandler(e):e.props.newSettingsHandler(e.state.folderSettings,e)}}(this)},A("Settings")):void 0},_renderFolderMembersLink:function(){var e,t;return null!=this.state.numFolderMembers?(e=x("one person has access","%(num_members)d people have access",this.state.numFolderMembers),t=e.format({num_members:this.state.numFolderMembers}),k.span({className:"folder-members-link"},"(",u.link_button({importance:"standard",onClick:function(e){return function(){return e.props.membersHandler(e)}}(this)},t),")")):void 0},_getRecipients:function(){return this.refs.tokenizer.getContacts()},_getAccess:function(){return this.state.access}}),S}),define("modules/clean/sharing/shared_link",["external/react","external/flash_detect","jquery","modules/clean/ajax","modules/clean/analytics","modules/clean/clipboard","modules/core/i18n","modules/core/notify"],function(e,t,n,o,i,r,s,a){var u,c,l;return l=s._,c=e.DOM,u=e.createClass({propTypes:{user_id:e.PropTypes.number.isRequired,link:e.PropTypes.string.isRequired},render:function(){return c.div({className:"copy-link-input-container"},c.div({className:"text-input text-input-inline small"},c.div({className:"text-input-wrapper"},c.input({readOnly:!0,type:"text",value:this.props.link,className:"text-input-input"}))),this._can_copy_to_clipboard()?this._render_copy_link_button():void 0)},componentDidMount:function(){var e;return n(".copy-link-input-container input").on("click",this._select_all_text),this._can_copy_to_clipboard()?(e=n(".copy-link-input-container .copy-link"),n(".copy-link-input-container .text-input-inline").width(e.parent().width()-e.width()-.5),n(".text-input-wrapper input").addClass("with-button"),r.clipboard_overlay(n(".copy-link-input-container .text-input-wrapper input").val(),n(".copy-link-input-container .copy-link a"),function(e){return function(){return a.success(l("Link copied to clipboard")),i.SimpleSharingLogger.log(e.props.user_id,17)}}(this),n(".copy-link-input-container .text-input-inline"))):void 0},_render_copy_link_button:function(){return c.div({className:"copy-link"},c.a({href:"#",className:"copy-link-button freshbutton"},l("Copy link")))},_can_copy_to_clipboard:function(){return FlashDetect.installed},_select_all_text:function(e){return n(e.currentTarget)[0].select(),i.SimpleSharingLogger.log(this.props.user_id,18)}})}),define("modules/clean/sharing/shared_link_for_sf",["external/react","modules/clean/ajax","modules/clean/analytics","modules/clean/filepath","modules/clean/react/button","modules/clean/react/sprite_div","modules/clean/sharing/shared_link_modal","modules/core/i18n","modules/core/uri"],function(e,t,n,o,i,r,s,a,u){var c,l,_;return _=a._,l=e.DOM,c=e.createClass({statics:{showInstance:function(t,n){return e.render(t,n)}},propTypes:{fq_path:e.PropTypes.string.isRequired,user:e.PropTypes.object.isRequired,show_link_settings_modal:e.PropTypes.func.isRequired,is_shared_folder:e.PropTypes.bool.isRequired,could_be_shared_folder:e.PropTypes.bool.isRequired},render:function(){return i.link_button({className:"get-link-button",importance:"tertiary",onClick:function(e){return function(){return t.WebRequest({url:u({path:"/sm/token_for_sf"+o.normalize(e.props.fq_path)}),subject_user:e.props.user.id,type:"POST",dataType:"json",success:function(t){return s.showInstance(s({user:e.props.user,fq_path:e.props.fq_path,initial_editable:t.editable,visibility:t.visibility,link:t.link,can_reader_sync:!1,tkey:t.tkey,show_link_settings_modal:e.props.show_link_settings_modal,initial_is_shared_folder:e.props.is_shared_folder,initial_could_be_shared_folder:e.props.could_be_shared_folder}))},error:function(){}})}}(this)},r({group:"web",name:"s_link",text:_("Get link")}))}})}),define("modules/clean/sharing/shared_link_modal",["external/react","modules/clean/ajax","modules/clean/dbmodal","modules/clean/em_string","modules/clean/filepath","modules/clean/form","modules/clean/react/button","modules/clean/react/help/bubble_picker","modules/clean/react/sprite_div","modules/clean/react/modal","modules/clean/react/sprite","modules/clean/sharing/namespace_conversion_alert_modal","modules/clean/sharing/shared_link","modules/clean/viewer","modules/core/i18n","modules/core/notify","modules/core/uri"],function(e,t,n,o,i,r,s,a,u,c,l,_,d,h,p,f){var m,g,v,y,b,w;return m=n.DBModalStack,g=c.Modal,w=p._,v={PUBLIC:1,TEAM_ONLY:2,PASSWORD:3},b=e.DOM,y=e.createClass({statics:{showInstance:function(e){return m.pop(),g.showInstance(e)}},propTypes:{user:e.PropTypes.object.isRequired,fq_path:e.PropTypes.string.isRequired,initial_editable:e.PropTypes.bool.isRequired,link:e.PropTypes.string.isRequired,visibility:e.PropTypes.number.isRequired,can_reader_sync:e.PropTypes.bool.isRequired,tkey:e.PropTypes.string.isRequired,show_link_settings_modal:e.PropTypes.func.isRequired,initial_is_shared_folder:e.PropTypes.bool.isRequired,initial_could_be_shared_folder:e.PropTypes.bool.isRequired},getInitialState:function(){return{editable:this.props.initial_editable,is_shared_folder:this.props.initial_is_shared_folder,could_be_shared_folder:this.props.initial_could_be_shared_folder}},render:function(){var e;return e=o.em_snippet(i.filename(this.props.fq_path),16),g({title:w("Share ‘%(filename)s’ with others").format({filename:e}),acceptButtonText:null,ref:"modal"},b.div({className:"simple-sharing-link-container"},b.label({}),w("Link to this folder."),s.link_button({className:"settings-button",importance:"standard",onClick:this._settingsButtonClicked.bind(this)},w("Settings")),d({link:this.props.link,user_id:this.props.user.id}),a({header:b.div({className:"permission-title"},b.label({},w("%(who_can_access)s with the link %(capability)s").format({who_can_access:this._renderWhoCanAccessLabel(this.props.visibility),capability:this._renderEditableLabel(this.state.editable)})),l({group:"web",name:"arrow-down-gray"})),onPick:this._permissionChanged,options:this._renderOptions()})))},_settingsButtonClicked:function(){var e;return this.refs.modal.close(),"function"==typeof(e=this.props).show_link_settings_modal?e.show_link_settings_modal(this.props.user.id,this.props.tkey):void 0},_renderLabel:function(e,t){return e?b.div({className:"selected"},u({group:"web",name:"check",text:t})):b.div({className:"bubble-picker-dropdown-options-label"},t)},_renderWhoCanAccessLabel:function(e){return e===v.PUBLIC?w("Anyone"):e===v.TEAM_ONLY?w("%(team_name)s members").format({team_name:h.get_viewer().team_name}):e===v.PASSWORD?w("Anyone with the password"):void 0},_renderEditPermissionOption:function(e){return{label:this._renderLabel(this.state.editable===e,this._renderEditableLabel(e)),value:e}},_renderEditableLabel:function(e){return w(e?"can edit":"can view")},_renderOptions:function(){return this.state.could_be_shared_folder||this.state.is_shared_folder?[this._renderEditPermissionOption(!1),this._renderEditPermissionOption(!0)]:[this._renderEditPermissionOption(!1)]},_change_sf_access:function(e,n,o){return t.WebRequest({url:"/sm/change_sf_access",data:{link_url:this.props.link,editable:e,can_sync:this.props.can_reader_sync},subject_user:this.props.user.id,type:"POST",success:n,error:o})},_update_sf_access:function(e){return this._change_sf_access(e,function(t){return function(){return t.setState({editable:e})}}(this))},_restore_shared_link_modal:function(e,t){var n,o,i,r;return o=e&&t?!0:!1,i=e?!0:!1,n=!i,r=y({user:this.props.user,fq_path:this.props.fq_path,initial_editable:o,visibility:this.props.visibility,link:this.props.link,can_reader_sync:!1,tkey:this.props.tkey,show_link_settings_modal:this.props.show_link_settings_modal,initial_is_shared_folder:i,initial_could_be_shared_folder:n}),g.close(),y.showInstance(r)},_permissionChanged:function(e){if(this.state.editable||e!==!0){if(this.state.editable&&e===!1)return this._update_sf_access(e)}else{if(this.state.could_be_shared_folder)return _.showInstance(_({user:this.props.user,confirm_callback:function(n){return function(){return t.FormWebRequest({url:"/share_ajax/existing_no_recipient",data:{email:[],fb_id:[],group_ids:[],new_style_group_ids:[],custom_message:"",audience:void 0,inviter:void 0,shared_link_policy:void 0,access_type:2,folder_settings:1,path:n.props.fq_path},subject_user:n.props.user.id,type:"POST",success:function(t){var o,i,s,a,u,c,l,_;if(_=r.parse_response(String(t)),c=_[0],u=_[1],c)return l=function(){return n._restore_shared_link_modal(!0,!0),f.success(t.success_msg)},a=function(){return n._restore_shared_link_modal(!0,!1)},n._change_sf_access(e,l,a);n._restore_shared_link_modal(!1,!1),s=!1;for(i in u)o=u[i],"message_text"in o&&(f.error(o.message_text),s=!0);return s?void 0:f.error()}})}}(this)}));if(this.state.is_shared_folder)return this._update_sf_access(e)}}})}),define("modules/clean/sprite",["jquery","modules/core/html"],function(e,t){var n;return n={SPACER:"/static/images/icons/icon_spacer.gif",CLASS_PREFIX:"s_",_make_class:function(e,t){return this.CLASS_PREFIX+e+"_"+t},src:function(t,n,o){return this.clear(t),e(t).addClass(this._make_class(n,o))},replace:function(t,n,o,i){return e(t).removeClass(this._make_class(n,o)).addClass(this._make_class(n,i))},clear:function(t){var n;return n=t.className.split(" "),n=e.grep(n,function(e){return function(t){return t&&0!==t.indexOf(e.CLASS_PREFIX)}}(this)),t.className=n.join(" ")},make:function(t,n,o){var i;return o=this._prep_attrs(t,n,o),i=e("",o),i[0]},html:function(e,n,o){var i,r;o=this._prep_attrs(e,n,o),i=[""),new t(i.join(""))},_prep_attrs:function(e,t,n){var o;return null==n&&(n={}),n.src=n.src||this.SPACER,o=["sprite","sprite_"+e,this._make_class(e,t)],n["class"]&&o.push(n["class"]),n["class"]=o.join(" "),n},_get:function(e){return e.className},_set:function(e,t){return e.className=t,e.src=this.SPACER}}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}};define("modules/clean/sso_login_checks",["modules/clean/ajax"],function(e){var t;return t=function(){function t(e,t,n){this.$email_input=e,this.show_sso_fn=t,this.hide_sso_fn=n,this._check_sso_state=__bind(this._check_sso_state,this),e.on("input keyup change",this._check_sso_state)}return t._sso_check_in_flight={},t._sso_check_cache={},t.prototype._check_sso_state=function(){var n,o,i;return i=this.$email_input.val(),o=i.trim(),o.match(/^[^@\s]+@[^@\s]+\.[A-Za-z]{2,}$/)?(n=o.toLowerCase(),n in t._sso_check_cache?this._handle_sso_state(t._sso_check_cache[n]):t._sso_check_in_flight[n]?void 0:(t._sso_check_in_flight[n]=!0,e.WebRequest({url:"/sso_state",data:{email:o},success:function(e){return function(o){return o=JSON.parse(o),delete t._sso_check_in_flight[n],t._sso_check_cache[n]=o.user_sso_state,e.$email_input.val()!==i?e._check_sso_state():e._handle_sso_state(o.user_sso_state)}}(this),error:function(e){return function(){return delete t._sso_check_in_flight[n],e.hide_sso_fn()}}(this)}))):this.hide_sso_fn()},t.prototype._handle_sso_state=function(e){return"required"===e?this.show_sso_fn(!1):"optional"===e?this.show_sso_fn(!0):this.hide_sso_fn()},t}()}),define("modules/clean/static_resource_loader",["jquery"],function(e){var t,n,o,i,r;return r=function(){var e,t,n;return e=Array.prototype.slice.call(arguments),t=e.shift(),n=e.shift(),function(){return t.apply(n,e.concat(Array.prototype.slice.call(arguments)))}},t=function(t,n){return e.ajax({url:t,type:"get",success:function(t){return e("head").append(""),"function"==typeof n?n():void 0}})},n=function(t,n){return e.ajax({dataType:"script",cache:!0,url:t,success:function(){return"function"==typeof n?n():void 0}})},i=function(e,t,n){var o,i,s,a,u,c,l,_;if(i={},!e)return void("function"==typeof n&&n());for(a=0,c=e.length;c>a;a++)s=e[a],i[s]=!1;for(o=function(e){var t,o,r;i[e]=!0,o=!0;for(t in i)if(r=i[t],!r){o=!1;break}return o&&"function"==typeof n?n():void 0},_=[],u=0,l=e.length;l>u;u++)s=e[u],_.push(t(s,r(o,this,s)));return _},o=function(e,o,r){var s,a;return a={css:!e,js:!o},s=function(e){var t,n,o;a[e]=!0,n=!0;for(t in a)if(o=a[t],!o){n=!1;break}return n&&"function"==typeof r?r():void 0},i(e,t,function(){return s("css")}),i(o,n,function(){return s("js")})},{async_multiload:o}});var __hasProp={}.hasOwnProperty;define("modules/clean/static_urls",["external/underscore","modules/clean/ajax"],function(e,t){var n,o,i,r,s;return s={},o=function(){var e,t;t=[];for(e in s)__hasProp.call(s,e)&&t.push(delete s[e]);return t},n=function(e){var t,n;for(t in e)__hasProp.call(e,t)&&(n=e[t],s[t]=n);return e},i=function(o,i){var r,a;return null==i&&(i=null),a=function(){var e,t,n;for(n=[],e=0,t=o.length;t>e;e++)r=o[e],r in s||n.push(r);return n}(),a.length>0?t.BackgroundRequest({url:"/web_ajax/static_urls",data:{paths:JSON.stringify(a)},type:"POST",success:function(t,a,u){return u.responseText.length?(n(JSON.parse(u.responseText)),"function"==typeof i?i(e.object(function(){var e,t,n;for(n=[],e=0,t=o.length;t>e;e++)r=o[e],n.push([r,s[r]]);return n}())):void 0):void 0}}):"function"==typeof i?i(e.object(function(){var e,t,n;for(n=[],e=0,t=o.length;t>e;e++)r=o[e],n.push([r,s[r]]);return n}())):void 0},r=function(e){return s[e]},{add_static_urls:n,clear_static_urls:o,multifetch_static_urls:i,static_url:r}});var __hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};define("modules/clean/storage",[],function(){var e,t,n;return e=function(){function e(){}return e.storage=void 0,e.get=function(e){return this.storage&&window.JSON?JSON.parse(this.storage.getItem(e)):void 0},e.set=function(e,t){var n;if(this.storage&&window.JSON)try{return this.storage.setItem(e,JSON.stringify(t))}catch(o){if(n=o,!(n instanceof DOMException&&22===n.code))throw n}},e}(),n=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return __extends(t,e),t.storage=function(){try{return window.sessionStorage}catch(e){}}(),t}(e),t=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return __extends(t,e),t.storage=function(){try{return window.localStorage}catch(e){}}(),t}(e),{SessionStorage:n,LocalStorage:t}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}},__hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};define("modules/clean/teams/team_folder_modal",["modules/core/browser","modules/clean/components/ajax_form","modules/clean/dbmodal"],function(e,t,n){var o,i;return o=n.DBModal,i=function(n){function o(){return this.on_confirm_button_click=__bind(this.on_confirm_button_click,this),this._$form=__bind(this._$form,this),o.__super__.constructor.apply(this,arguments)}return __extends(o,n),o.prototype._$form=function(){return this.$modal_window.find(".new_team_folder_form")},o.prototype.on_confirm_button_click=function(e){return e.preventDefault(),this._$form().submit()},o.prototype.on_show=function(){var n;return n=this._$form(),new t(n),n.on(t.SUCCESS_EVENT,function(t){return function(n,o){return t.options.open_created_folder?e.redirect(o.sf_info.href):e.reload()}}(this)),this.options.back_fn?this.$modal_window.find("a.back").on("click",function(e){return function(t){return e.options.back_fn(t,e)}}(this)):void 0},o}(o)}),define("modules/clean/teams/trial_buy_now",["jquery","modules/clean/ajax","modules/clean/react/modal","modules/core/browser","modules/core/i18n"],function(e,t,n,o,i){var r,s,a;return a=i._,s=i.ungettext,r={showModal:function(e){var t,o;return o=a("Buy Dropbox for Business now"),t=s("You have %(days)s day remaining in your Dropbox for Business trial. Buy now to ensure that your team continues to work efficiently!","You have %(days)s days remaining in your Dropbox for Business trial. Buy now to ensure that your team continues to work efficiently!",e).format({days:e}),n.SimpleModal.show({title_text:o,body_html:t,confirm_text:a("Buy now"),confirm_callback:r._confirm,cancel_callback:r._cancel})},_confirm:function(){return e.ajax({type:"POST",url:"/team/setup/trial_buy_now/dismiss",success:function(){return function(){return o.redirect("/team/renew")}}(this)})},_cancel:function(){return e.post("/team/setup/trial_buy_now/dismiss")}}});var __indexOf=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};define("modules/clean/tokenizer",["external/react","jquery","external/underscore","modules/clean/keycode","modules/clean/typeahead"],function(e,t,n,o,i){var r,s,a,u;return a=i.TypeaheadSelector,u=e.DOM,r=e.createClass({propTypes:{data:e.PropTypes.any,onRemove:e.PropTypes.func},render:function(){return this.transferPropsTo(u.a({className:"tokenizer-token",tabIndex:-1},String(this.props.data),this._makeCloseButton()))},_makeCloseButton:function(){return this.props.onRemove?u.span({className:"tokenizer-token-close",onClick:function(e){return function(){return e.props.onRemove(),!1}}(this),dangerouslySetInnerHTML:{__html:" "}}):""}}),s=e.createClass({propTypes:{customClass:e.PropTypes.string,dataSource:e.PropTypes.object.isRequired,onTokenAdd:e.PropTypes.func,onTokenRemove:e.PropTypes.func,onTokensChange:e.PropTypes.func,placeholderText:e.PropTypes.string,populatedTokenData:e.PropTypes.array,renderToken:e.PropTypes.func.isRequired,renderInput:e.PropTypes.func.isRequired,renderSelector:e.PropTypes.func.isRequired,stringTokenizer:e.PropTypes.func.isRequired},getDefaultProps:function(){return{renderInput:function(){return u.input()},renderSelector:function(){return a()},renderToken:function(e){return r({data:e})},stringTokenizer:function(e,t){var n,o;return n=e.split(","),o=t?"":n.pop(),{tokens:n,value:o}},TOKEN_OFFSET:4,INPUT_OFFSET:16}},getInitialState:function(){return{queryResults:null,tokenData:this.props.populatedTokenData||[],selectedTokenIndex:null,inputWidth:150}},componentDidMount:function(){return this._resizeTokenizerInput(this.props.INPUT_OFFSET,this.props.TOKEN_OFFSET),t(this.refs.tokenizer_input.getDOMNode()).on("keydown",this._proxyKeys),t(document).on("click",this._closeSelectorOnClickAway)},componentWillUnmount:function(){return t(this.refs.tokenizer_input.getDOMNode()).off("keydown",this._proxyKeys),t(document).off("click",this._closeSelectorOnClickAway)},componentDidUpdate:function(){return this._resizeTokenizerInput(this.props.INPUT_OFFSET,this.props.TOKEN_OFFSET)},render:function(){var t;return t={"react-tokenizer":!0},null!=this.props.customClass&&(t[this.props.customClass]=null!=this.props.customClass),u.div({className:e.addons.classSet(t)},u.div({className:"tokenizer-input",ref:"tokenizer_input"},u.div({className:"token-container"},u.div({className:"tokenizer-accessory",ref:"tokenizer_accessory"},this.props.children),this._renderTokens(),this._renderInput())),this._renderSelector())},getAllTokens:function(){var e,t,n,o,i,r;return e=this.refs.input.getDOMNode(),i=this.props.stringTokenizer(e.value,!0),n=i.tokens,o=i.value,t=(null!=(r=this._pendingState)?r.tokenData:void 0)||this.state.tokenData,n.length>0&&(this.addTokens(n),t=t.concat(n)),e.value="",this.refs.selector.close(),t},addTokens:function(e){var t,o,i,r,s,a,u,c;if(o=function(e){return("function"==typeof e.getKey?e.getKey():void 0)||String(e)},s=n.map(this.state.tokenData,o),r=e.filter(function(e){var t;return t=o(e),__indexOf.call(s,t)<0}),null!=this.props.onTokenAdd)for(u=0,c=r.length;c>u;u++)t=r[u],this.props.onTokenAdd(t);return i=this.state.tokenData.concat(r),"function"==typeof(a=this.props).onTokensChange&&a.onTokensChange(i),this.setState({tokenData:i})},addToken:function(e){return this.addTokens([e])},removeTokens:function(e){var t,n,o,i,r,s,a,u,c;for(c=this.state,i=c.tokenData,o=c.selectedTokenIndex,a=0,u=e.length;u>a;a++)t=e[a],n=i.indexOf(t),-1!==n&&(o===n?o=null:o>n&&(o-=1),i.splice(n,1),"function"==typeof(r=this.props).onTokenRemove&&r.onTokenRemove(t));return this.refs.input.getDOMNode().focus(),this._setSelectedToken(o),"function"==typeof(s=this.props).onTokensChange&&s.onTokensChange(i),this.setState({tokenData:i,queryResults:null})},removeToken:function(e){return this.removeTokens([e])},_renderTokens:function(){var t,n,o,i,r,s,a,u,c;for(i=[],o=function(e){return("function"==typeof e.getKey?e.getKey():void 0)||String(e)},c=this.state.tokenData,n=a=0,u=c.length;u>a;n=++a)t=c[n],s=this.props.renderToken(t),r=this.state.selectedTokenIndex===n,i.push(e.addons.cloneWithProps(s,{ref:"token"+n,key:"token"+o(t),className:e.addons.classSet({selected:r}),onClick:this._setSelectedToken.bind(this,n),onRemove:this.removeToken.bind(this,t)}));return i},_renderSelector:function(){return e.addons.cloneWithProps(this.props.renderSelector(),{ref:"selector",queryOptions:this.state.queryResults,onSelect:this._onSelect,onClose:this._clearResults})},_renderInput:function(){var t;return t=this.state.tokenData.length?"":this.props.placeholderText,e.addons.cloneWithProps(this.props.renderInput(),{ref:"input",style:{width:this.state.inputWidth},onChange:this._query,placeholder:t,onClick:this._setSelectedToken.bind(this,null)})},_getTokenizerInput:function(){return this.refs.tokenizer_input},_getTokenizerAccessory:function(){return this.refs.tokenizer_accessory},_getTokenComponents:function(){var e;return function(){var t,n,o;for(o=[],e=t=0,n=this.state.tokenData.length;n>=0?n>t:t>n;e=n>=0?++t:--t)o.push(this.refs["token"+e]);return o}.call(this).filter(function(e){return e})},_setSelectedToken:function(e){return null!=e?(this.refs["token"+e].getDOMNode().focus(),this.refs.selector.close()):this.refs.input.getDOMNode().focus(),this.setState({selectedTokenIndex:e})},_resizeTokenizerInput:function(e,t){var n,o,i,r,s,a,u,c,l,_;for(n=80,u=this._getTokenizerInput().getDOMNode().offsetWidth,o=this._getTokenizerAccessory().getDOMNode().offsetWidth,r=0,c=this._getTokenComponents(),l=0,_=c.length;_>l;l++)s=c[l],a=s.getDOMNode().offsetWidth+t,r+a+e+o>u&&(r=0,o=0),r+=a;return i=u-r-e-o,n>i&&(i=u-e),i!==this.state.inputWidth?this.setState({inputWidth:i}):void 0},_onSelect:function(e){var t;return t=this.refs.input.getDOMNode(),t.focus(),t.value="",this.setState({queryResults:null}),this.addToken(e)},_closeSelectorOnClickAway:function(e){var n;return n=t.contains(this.refs.tokenizer_accessory.getDOMNode(),e.target),n||!t.contains(this.getDOMNode(),e.target)?this.refs.selector.close():void 0},_proxyKeys:function(e){return this._shouldListenForTokenNavigation()&&!this._onTokenNavigate(e)?!1:this.refs.selector.onKeyDown(e)?!0:!1; },_shouldListenForTokenNavigation:function(){var e;return this.state.tokenData.length?(e=this.refs.input.getDOMNode(),0===e.selectionStart&&0===e.selectionEnd):!1},_query:function(){var e,t,o,i,r;return e=this.refs.input.getDOMNode(),t=e.value,r=this.props.stringTokenizer(t),o=r.tokens,i=r.value,o.length>0&&this.addTokens(o),i!==t&&(e.value=i,i||this.refs.selector.close()),this.props.dataSource.query(i,function(e){return function(t){var o,r;return i||(t=null),o=function(e){return("function"==typeof e.getKey?e.getKey():void 0)||String(e)},r=n.map(e.state.tokenData,o),t=null!=t?t.filter(function(e){var t;return t=o(e),__indexOf.call(r,t)<0}):null,e.setState({queryResults:t})}}(this))},_clearResults:function(){return this.setState({queryResults:null})},_onTokenNavigate:function(e){var t;if(0===this.state.tokenData.length)return!0;switch(t=this.state.selectedTokenIndex,e.keyCode){case o.BACKSPACE:return null===t?this._setSelectedToken(this.state.tokenData.length-1):this.removeToken(this.state.tokenData[t]),!1;case o.LEFT:return null===t?this._setSelectedToken(this.state.tokenData.length-1):t>0&&this._setSelectedToken(t-1),!1;case o.RIGHT:return null===t?!0:(this._setSelectedToken(t>=this.state.tokenData.length-1?null:t+1),!1);case o.DELETE:if(null!==t)return this.removeToken(this.state.tokenData[t]),!1;break;default:return!0}}}),{Token:r,Tokenizer:s}}),define("modules/clean/top_notif",["jquery"],function(e){var t,n,o,i,r,s;return s={HIDE_EVENT:"db:topnotificationbar:hide",hide:function(){return e("#top-notification-bar-container").hide(),e("body").removeClass("top-notification-bar"),e(document).trigger(this.HIDE_EVENT)}},o={init:function(){return e(".eu-bar-dismiss").on("click",function(t){return t.preventDefault(),s.hide(),e.ajax({url:"/dismiss_eu_cookie_notification",type:"POST"})})}},i={init:function(){return e(".expired-ios-bar-dismiss").on("click",function(t){return t.preventDefault(),s.hide(),e.ajax({url:"/dismiss_expired_ios_notification",type:"POST"})})}},n={init:function(){return e("#early-admin-access-fts-and-link-controls-banner-dismiss").on("click",function(t){return t.preventDefault(),s.hide(),e.ajax({url:"/team/dismiss_sharing_controls_banner",type:"POST"})})}},t={init:function(){return e("#early-admin-access-fts-banner-dismiss").on("click",function(t){return t.preventDefault(),s.hide(),e.ajax({url:"/team/dismiss_fts_banner",type:"POST"})})}},r={init:function(){return e("#locale-switch-banner-dismiss").on("click",function(t){return t.preventDefault(),s.hide(),e.ajax({url:"/dismiss_locale_switch_banner",type:"POST"})})}},{TopNotificationBar:s,EUCookieNotificationBar:o,ExpiredIOSNotificationBar:i,DfBAdminEarlyAccessSharingControlsBar:n,DfBAdminEarlyAccessFtsBar:t,LocaleSwitchBar:r}}),define("modules/clean/typeahead",["external/react","external/underscore","modules/clean/fuzzy","modules/clean/keycode"],function(e,t,n,o){var i,r,s,a,u;return u=e.DOM,r=function(){function e(e){this.local=(null!=e?e:{}).local}return e.prototype.query=function(e,o){var i;return i=t.map(n.filter(e,this.local),function(e){return e.original}),o(i)},e}(),a={getInitialState:function(){return{selectionIndex:0}},getOptions:function(){var e;return this.props.queryOptions?(e=this.props.maxVisible||this.props.queryOptions.length,this.props.queryOptions.slice(0,e)):[]},renderOptions:function(){var t,n,o,i,r,s,a,u,c;for(a=[],s=this.getOptions(),i=function(e){return("function"==typeof e.getKey?e.getKey():void 0)||String(e)},o=u=0,c=s.length;c>u;o=++u)n=s[o],t={selected:this.state.selectionIndex===o,"typeahead-option":!0},r=this.renderOption(n),a.push(e.addons.cloneWithProps(r,{className:e.addons.classSet(t),key:"option"+i(n),onMouseEnter:this._hover.bind(this,o),onClick:this.onSelect.bind(this,n)}));return a},onSelect:function(e){return this.props.onSelect(e),this.reset()},renderOption:function(e){return this.props.renderQueryOption(e)},onKeyDown:function(e){var t;switch(e.keyCode){case o.UP:return this._navigate(-1),!1;case o.DOWN:return this._navigate(1),!1;case o.ENTER:return t=this.getOptions(),t.length?(this.onSelect(t[this.state.selectionIndex]),!1):!0;case o.ESC:return this.close(),!1;case o.TAB:return t=this.getOptions(),t.length?(this.onSelect(t[this.state.selectionIndex]),!1):!0;default:return this.reset(),!0}},reset:function(){return this.setState({selectionIndex:0})},close:function(){var e;return"function"==typeof(e=this.props).onClose&&e.onClose(),this.reset()},_hover:function(e){return this.setState({selectionIndex:e})},_navigate:function(e){var t,n;return(n=this.getOptions().length)?(t=this.state.selectionIndex+e,0>t?t+=n:t>=n&&(t-=n),this.setState({selectionIndex:t})):void 0}},i=e.createClass({propTypes:{customClass:e.PropTypes.string,dataSource:e.PropTypes.object.isRequired,renderCompletionText:e.PropTypes.func.isRequired,renderInput:e.PropTypes.func.isRequired,renderSelector:e.PropTypes.func.isRequired},getDefaultProps:function(){return{renderCompletionText:function(e){return String(e)},renderInput:function(){return u.input()},renderSelector:function(){return s()}}},getInitialState:function(){return{queryResults:null}},render:function(){var t;return t={},t[this.props.customClass]=null!=this.props.customClass,u.div({className:e.addons.classSet(t)},this._renderInput(),this._renderSelector())},_renderInput:function(){return e.addons.cloneWithProps(this.props.renderInput(),{ref:"input",onChange:this._inputChanged,onKeyDown:this._proxyKeys})},_renderSelector:function(){return e.addons.cloneWithProps(this.props.renderSelector(),{ref:"selector",queryOptions:this.state.queryResults,onSelect:this._autocomplete,onClose:this._clearResults})},_inputChanged:function(){var e;return e=this.refs.input.getDOMNode().value,this.props.dataSource.query(e,function(t){return function(n){return e||(n=[]),t.setState({queryResults:n})}}(this)),this.refs.selector.reset()},_proxyKeys:function(e){return this.refs.selector.onKeyDown(e)},_autocomplete:function(e){var t;return t=this.refs.input.getDOMNode(),t.focus(),t.value=this.props.renderCompletionText(e),this._clearResults()},_clearResults:function(){return this.setState({queryResults:null})}}),s=e.createClass({mixins:[a],propTypes:{customClass:e.PropTypes.string,maxVisible:e.PropTypes.number,onClose:e.PropTypes.func.isRequired,onSelect:e.PropTypes.func.isRequired,queryOptions:e.PropTypes.array,renderQueryOption:e.PropTypes.func.isRequired},getDefaultProps:function(){return{maxVisible:7,onClose:function(){},onSelect:function(){},renderQueryOption:function(e){return u.li({},String(e))}}},render:function(){var t;return this.getOptions().length?(t={"typeahead-selector":!0},t[this.props.customClass]=null!=this.props.customClass,u.ul({className:e.addons.classSet(t)},this.renderOptions())):u.div({})}}),{Autocomplete:i,DataSource:r,TypeaheadSelector:s,TypeaheadSelectorMixin:a}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}};define("modules/clean/uirequest",["jquery","modules/core/html","modules/core/notify","modules/clean/ajax","modules/clean/components/ajax_form","modules/clean/react/modal","modules/clean/static_resource_loader"],function(e,t,n,o,i,r,s){var a;return a=function(){function e(e,t,n){return this.$node=e,this.url=t,this.options=null!=n?n:{},this.complete=__bind(this.complete,this),this.handle_errors=__bind(this.handle_errors,this),this.error=__bind(this.error,this),this.perform_actions=__bind(this.perform_actions,this),this.success=__bind(this.success,this),this.shouldDelayComplete=!1,this.$node.hasClass("ajax-loading")?!1:(this.$node.addClass("ajax-loading"),void new o.WebRequest({url:this.url,data:this.options.data||{},success:this.success,error:this.error,complete:this.complete,subject_user:this.options.subject_user}))}return e.prototype.success=function(e,t,n){var o,r,a;return(o=i.extract_errors(n.responseText))?(this.handle_errors(o),void("function"==typeof(r=this.options).error&&r.error(n,t))):(e=JSON.parse(n.responseText),e.redirect?void(window.location.href=e.redirect):e.reload?void window.location.reload():(this.shouldDelayComplete=e.js||e.css,this.shouldDelayComplete?s.async_multiload(e.css,e.js,function(o){return function(){var i,r;return o.perform_actions(e.actions||[]),"function"==typeof(i=o.options).success&&i.success(e,t,n),o.$node.removeClass("ajax-loading"),"function"==typeof(r=o.options).complete?r.complete(n,t):void 0}}(this)):(this.perform_actions(e.actions||[]),void("function"==typeof(a=this.options).success&&a.success(e,t,n)))))},e.prototype.perform_actions=function(e){var o,i,s,a,u,c,l,_,d,h,p;for(p=[],d=0,h=e.length;h>d;d++)switch(i=e[d],a=i[0],s=i[1],l=i[2],o=this.$node,l&&"modal"!==a&&("^"===l.charAt(0)&&(c=l.split(" "),o=o.closest(c[0].substr(1)),l=c.slice(1).join(" ")),l&&(o=o.find(l).filter(":first"))),a){case"modal":u=new t(s).toHTML(),l&&(_=l),p.push(r.SimpleModal.show({title_text:_,body_html:u}));break;case"html":p.push(o.html(s));break;case"replaceWith":p.push(o.replaceWith(s));break;case"after":p.push(o.after(s));break;case"before":p.push(o.before(s));break;case"toggleClass":p.push(o.toggleClass(s));break;case"addClass":p.push(o.addClass(s));break;case"removeClass":p.push(o.removeClass(s));break;case"notify":p.push(n.success(s));break;case"notifyError":p.push(n.error(new t(s)));break;default:p.push(void 0)}return p},e.prototype.error=function(e,t){var n,o;return n=i.extract_errors(e.responseText),this.handle_errors(n),"function"==typeof(o=this.options).error?o.error(e,t):void 0},e.prototype.handle_errors=function(e){var o;return e===!1?n.error():"string"==typeof e?(o=this.options.html_in_error_msg?new t(e):e,n.error(o)):i.fill_errors(this.$node,e)},e.prototype.complete=function(e,t){var n;if(!this.shouldDelayComplete)return this.$node.removeClass("ajax-loading"),"function"==typeof(n=this.options).complete?n.complete(e,t):void 0},e}()}),define("modules/clean/undo",["jquery","modules/core/html","modules/core/i18n","modules/core/notify"],function(e,t,n,o){var i,r;return r=n._,i=function(){function t(){}return t.perform_undo=function(){return null!=this.undo_handler?(this.undo_handler(this.undo_info),this.undo_handler=this.undo_info=null):void 0},t.notifyWithUndo=function(n,i,s,a){var u,c;return a=a||30,i?(this.undo_info=i,this.undo_handler=s,u=e(""),null!=n.toHTML?u.html(n.toHTML()):u.text(n),c=e("",{href:"#"}).text(r("Undo")),c.on("click",function(){return t.perform_undo(),!1}),u.append(" ").append(c),this.undo_notification=o.success(u,a)):o.success(n)},t}()}),define("modules/clean/unity/check_file_cache",["modules/clean/unity/features"],function(e){var t;if(null!=e)return t=function(){function t(){}return t._cache={},t.get=function(t,n){return this._cache[e.server_path(t,n)]},t.set=function(e,t){return this._cache[e]=t},t.set_batch=function(e){var t,n,o;o=[];for(n in e)t=e[n],o.push(this._cache[n]=t);return o},t.clear=function(){return this._cache={}},t}(),__CONDITIONAL_JS__.UnityCheckFileCache=t,t});var __bind=function(e,t){return function(){return e.apply(t,arguments)}};define("modules/clean/unity/connection",["jquery","modules/core/exception","modules/core/uri","modules/clean/ajax","modules/clean/gandalf_util","modules/clean/unity/web_socket","modules/clean/viewer"],function(e,t,n,o,i,r){var s,a;if(null!=r)return s=function(){function s(){this._on_response_timeout=__bind(this._on_response_timeout,this),this._on_message=__bind(this._on_message,this);var e,o,i,u,c,l,_;this.client_version=null,this._pending_callbacks=[],this._allow_handshakes=!0,this._ws=null,this._response_callbacks={},this._current_message_id=1,this.logger=new a,this.logger.update({web_unity_version:s._LATEST_UNITY_VERSION}),this._routes={check_unity_version:this._check_unity_version.bind(this),fetch_unity_nonce:this._fetch_unity_nonce.bind(this),complete_handshake:this._complete_handshake.bind(this)};try{for(o=c=l=s._MIN_PORT,_=s._MAX_PORT;_>=l?_>=c:c>=_;o=_>=l?++c:--c)i={scheme:"ws",authority:"127.0.0.1:"+o.toString(),path:"/ws"},u=new r(n(i).toString()),u.onmessage=this._on_message({ws:u,port:o,state:s._CONNECTION_OPENED_STATE,client_version:null}),u.onerror=function(e){return function(t){return e.logger.report_event("unity_failure",{message:"WebSocket error. Message: "+t.data})}}(this)}catch(d){return e=d,void this.logger.report_event("unity_failure",{message:"WebSocket creation failed. Message: "+e.message,error_name:e.name,port:o,stack:t.stackTrace()})}this.logger.report_event("handshake_started")}return s._CONNECTION_OPENED_STATE=0,s._VERSION_CHECK_STATE=1,s._FETCHING_NONCE_STATE=2,s._NONCE_RETURNED_TO_CLIENT_STATE=3,s._HANDSHAKE_COMPLETED_STATE=4,s._LATEST_UNITY_VERSION=3,s._RESPONSE_TIMEOUT=5e3,s._MIN_PORT=17600,s._MAX_PORT=17602,s.prototype._on_message=function(e){return function(t){return function(n){var o,i,r,s,a,u;return i=JSON.parse(n.data),null==i.func||null==(null!=(s=i.header)?s.message_id:void 0)||null==(null!=(a=i.header)?a.should_respond:void 0)?void t._terminate_handshake(e.ws,"Malformed message from client: "+n.data):(null!=(null!=(u=i.header)?u.log_data:void 0)&&t.logger.update(i.header.log_data),t.logger.update({port:e.port}),"response"===i.func?t._on_response(i.header.message_id,i.data):(o=t._routes[i.func],null==o?void t._terminate_handshake(e.ws,"Unknown function "+i.func):(r=t.is_ready()?o(i.data):o(e,i.data),i.header.should_respond?t.send("response",r,null,null,i.header.message_id):void 0)))}}(this)},s.prototype.send=function(e,t,n,o,i){return null==t&&(t=null),null==n&&(n=null),null==o&&(o=null),null==i&&(i=null),this._send_with_ws(this._ws,e,t,n,o,i)},s.prototype._send_with_ws=function(e,n,o,i,r,a){var u,c;return null==o&&(o=null),null==i&&(i=null),null==r&&(r=null),null==a&&(a=null),null==a&&(a=this._current_message_id,t.assert(this._current_message_id%2===1,"Web-initiated message_ids should remain odd"),this._current_message_id+=2),null!==i&&(c=window.setTimeout(this._on_response_timeout(a,r),s._RESPONSE_TIMEOUT),this._response_callbacks[a]=[i,r,c]),u={func:n,header:{message_id:a,should_respond:null!==i,log_data:this.logger.get_log_data_for_client()}},null!=o&&(u.data=o),e.send(JSON.stringify(u))},s.prototype._on_response=function(e,t){var n,o,i,r;return e in this._response_callbacks?(r=this._response_callbacks[e],n=r[0],i=r[1],o=r[2],delete this._response_callbacks[e],window.clearTimeout(o),n(t)):void 0},s.prototype._on_response_timeout=function(e,t){return function(n){return function(){var o,i;return i=n._response_callbacks[e],o=i[0],t=i[1],o=i[2],delete n._response_callbacks[e],"function"==typeof t?t():void 0}}(this)},s.prototype._check_unity_version=function(e,t){return e.state===s._CONNECTION_OPENED_STATE?(e.state=s._VERSION_CHECK_STATE,e.client_version=t.client_version,t.client_version>=2?(this.logger.report_event("handshake_version_check"),this._send_with_ws(e.ws,"initiate_handshake")):e.state.close()):e.state.close()},s.prototype._fetch_unity_nonce=function(e,t){return e.state===s._VERSION_CHECK_STATE?(e.state=s._FETCHING_NONCE_STATE,this.logger.report_event("handshake_fetch_nonce"),this._retrieve_unity_nonce(e,t.nonce_key)):e.state.close()},s.prototype._retrieve_unity_nonce=function(e,t){return o.WebRequest({url:n({path:"/retrieve_unity_nonce"}),dataType:"json",data:{nonce_key:t},success:function(t){return function(n){switch(n.status){case"OK":return e.state=s._NONCE_RETURNED_TO_CLIENT_STATE,t.logger.report_event("handshake_nonce_sent_to_unity_server"),t._send_with_ws(e.ws,"verify_unity_nonce",{nonce:n.message});case"MISMATCHED_USER_IDS":return t._terminate_handshake(e.ws,"Mismatched user_ids. Client: "+n.message.client_user_ids+", Web: "+n.message.web_user_ids);case"INVALID":return t._terminate_handshake(e.ws,"Could not find nonce with given nonce_key.")}}}(this),error:function(t){return function(n,o,i){return t._terminate_handshake(e.ws,"Unable to retrieve nonce from server",{status:o,error_string:i})}}(this)})},s.prototype._complete_handshake=function(e,t){var n,o,i;if(e.state===s._NONCE_RETURNED_TO_CLIENT_STATE&&t.is_success){if(e.state=s._HANDSHAKE_COMPLETED_STATE,this._allow_handshakes){if(null!=this._ws)return n="Only one Unity handshake can succeed! There's likely a MITM attack, so close all connections.",this._terminate_handshake(e.ws,n),this._terminate_handshake(this._ws,n),this._ws=null,this._allow_handshakes=!1;if(this.logger.report_event("handshake_complete"),this.client_version=e.client_version,this._ws=e.ws,this.is_ready()){for(i=[];this._pending_callbacks.length;)o=this._pending_callbacks.pop(),i.push(o());return i}return this._pending_callbacks=[]}return this._terminate_handshake(e.ws,"No more handshakes are allowed to complete.")}return this._terminate_handshake(e.ws,"Unable to complete handshake.")},s.prototype._terminate_handshake=function(t,n,o){var r;return null==o&&(o=null),r={message:n},null!=o&&e.extend(r,o),i.getGandalfRule("unity-web-debug")&&console.error(r),this.logger.report_event("unity_failure",r),t.close()},s.prototype.call_when_ready=function(e){return this.is_ready()?e():this._pending_callbacks.push(e)},s.prototype.is_ready=function(){var e;return 1===(null!=(e=this._ws)?e.readyState:void 0)},s}(),a=function(){function t(){this._data={logging_source:"web"}}return t.prototype.update=function(t){return e.extend(this._data,t)},t.prototype.report_event=function(e,t){return null==t&&(t=null),this._data.event_name=e,this._data.local_ts=(new Date).getTime()/1e3,this._data.extra=JSON.stringify(t||{}),o.WebRequest({url:n({path:"/unity_connection_log"}),dataType:"json",data:this._data})},t.prototype.get_log_data_for_client=function(){return{web_unity_version:this._data.web_unity_version,user_agent:window.navigator.userAgent}},t.prototype.unity_session_id=function(){return this._data.unity_session_id},t}(),s}),define("modules/clean/unity/features",["modules/clean/filepath","modules/core/i18n","modules/core/notify","modules/core/uri","modules/clean/ajax","modules/clean/unity/connection"],function(e,t,n,o,i,r){var s,a;if(null!=r)return a=new r,s=function(){function r(){}return r.open_file=function(t,n,r,s,u){var c;return null==u&&(u=null),c=this.server_path(t,n),a.call_when_ready(function(){return a.client_version>=2?(a.logger.report_event("open_file",{user_id:r,path_id:c,file_extension:e.file_extension_for_logging(c)}),i.WebRequest({url:o({path:"/unity_open_log"}),dataType:"json",data:{user_id:r,server_path:c,file_extension:e.file_extension_for_logging(c),unity_session_id:a.logger.unity_session_id(),buildno:a.logger._data.buildno,host_id:a.logger._data.host_id}}),a.send("open_file",{server_path:c,user_id:r},s,u)):void 0})},r.standard_open_file_handler=function(e){return e?void 0:n.error(t._("Error opening file"))},r.check_file=function(t,n,o,i,r){var s;return null==r&&(r=null),s=this.server_path(t,n),a.call_when_ready(function(){return a.client_version>=2?(a.logger.report_event("check_file",{user_id:o,path_id:s,file_extension:e.file_extension_for_logging(s)}),a.send("check_file",{server_path:s,user_id:o},i,r)):void 0})},r.check_file_batch=function(t,n,o,i){var r,s;return null==i&&(i=null),s=function(){var e,n,o;for(o=[],e=0,n=t.length;n>e;e++)r=t[e],o.push(this.server_path(r.ns_id,r.ns_path));return o}.call(this),a.call_when_ready(function(){var t;return a.client_version>=2?(a.logger.report_event("check_file_batch",{user_id:n,path_ids:s,file_extensions:function(){var n,o,i;for(i=[],n=0,o=s.length;o>n;n++)t=s[n],i.push(e.file_extension_for_logging(t));return i}()}),a.send("check_file_batch",{server_paths:s,user_id:n},o,i)):void 0})},r.server_path=function(e,t){return""+e+":"+t},r}(),__CONDITIONAL_JS__.UnityFeatures=INLINE_JS.UnityFeatures=s,s}),define("modules/clean/unity/flash_config",["external/flash_detect","modules/clean/gandalf_util","modules/core/browser"],function(e,t){return window.DefaultWebSocket=window.WebSocket,window.FlashDetect.versionAtLeast(10,3)&&(window.WEB_SOCKET_FORCE_FLASH=!0),window.WEB_SOCKET_SWF_LOCATION=Constants.static_url_web_socket_swf,t.getGandalfRule("unity-web-debug")?void 0:window.WEB_SOCKET_LOGGER={log:function(){},error:function(){}}}),define("modules/clean/unity/web_socket",["modules/core/browser","external/web_socket"],function(e,t){var n;if(n=("undefined"!=typeof Constants&&null!==Constants?Constants.IS_PROD:void 0)?17603:17604,null!=(null!=t?t.loadFlashPolicyFile:void 0))t.loadFlashPolicyFile("xmlsocket://127.0.0.1:"+n);else if(null==e.safari)return void 0;return t}),define("modules/clean/upsell/ha_loader",["jquery","modules/clean/ajax"],function(e,t){var n;return n={init:function(n,o,i){return o?t.WebRequest({url:"/promo",data:{campaign_id:i,ha_location:n},subject_user:o,success:function(){return function(t){return t&&"no_ad"!==t?e("#ha-container").html(t):void 0}}(this)}):void 0}}});var __bind=function(e,t){return function(){return e.apply(t,arguments)}};define("modules/clean/upsell/upsell_controller",["jquery","modules/clean/dbmodal","modules/core/dom","modules/core/uri"],function(e,t,n,o){var i,r,s;return i=t.DBModal,r=t.DBModalStack,s=function(){function t(t,n,o){this.options=o,this.post_confirm=__bind(this.post_confirm,this),this.post_dismiss=__bind(this.post_dismiss,this),this.confirm=__bind(this.confirm,this),this.dismiss=__bind(this.dismiss,this),this._dismissUrl=__bind(this._dismissUrl,this),this._confirmUrl=__bind(this._confirmUrl,this),this._keydown=__bind(this._keydown,this),t.one("click",this.confirm),n.one("click",this.dismiss),this.options.dismissWithKeys&&e(document).on("keydown",this._keydown)}return t.ON_SHOW_EVENT_NAME="db:prompt:show",t.ON_CONFIRM_EVENT_NAME="db:prompt:confirm",t.ON_DISMISS_EVENT_NAME="db:prompt:dismiss",t.PRE_CONFIRM_EVENT_NAME="db:prompt:pre-confirm",t.PRE_DISMISS_EVENT_NAME="db:prompt:pre-dismiss",t.prototype._keydown=function(t){return 27===t.keyCode||8===t.keyCode&&!n.focus_in_input()?(t.preventDefault(),e(document).off("keydown",this._keydown),this.dismiss(t)):void 0},t.prototype._campaignUrl=function(e){var t;return this.options&&this.options.campaignId?(t=o({path:e}).updateQuery({campaign_id:this.options.campaignId}),t.toString()):void 0},t.prototype._confirmUrl=function(){return this._campaignUrl("/upsell/confirm")},t.prototype._dismissUrl=function(){return this._campaignUrl("/upsell/dismiss")},t.prototype._confirmOrDismiss=function(t,n,o,i){return"keydown"===t.type||o||(t.stopImmediatePropagation(),t.preventDefault()),e.ajax({type:"POST",url:n,success:function(n){return function(){return"keydown"===t.type||o||t.target.click(),e(document).trigger(i,{campaignName:n.options.campaignName})}}(this)})},t.prototype.dismiss=function(n){var o;return o=this._dismissUrl(),o&&this._confirmOrDismiss(n,o,!1,t.ON_DISMISS_EVENT_NAME),e(document).trigger(t.PRE_DISMISS_EVENT_NAME,{campaignName:this.options.campaignName})},t.prototype.confirm=function(n){var o;return o=this._confirmUrl(),o&&this._confirmOrDismiss(n,o,this.options.confirmInNewTab,t.ON_CONFIRM_EVENT_NAME),e(document).trigger(t.PRE_CONFIRM_EVENT_NAME,{campaignName:this.options.campaignName})},t.prototype.log_impression=function(){var t;return t=this._campaignUrl("/upsell/log_impression"),t?e.post(t):void 0},t.prototype.log_event=function(t){var n;return this.options&&this.options.campaignId?(n=o({path:"/upsell/log_event"}).updateQuery({event_name:t,campaign_id:this.options.campaignId}),e.post(n.toString())):void 0},t.prototype.post_dismiss=function(){var t;return t=this._dismissUrl(),t?e.post(t):void 0},t.prototype.post_confirm=function(){var t;return t=this._confirmUrl(),t?e.post(t):void 0},t.register_custom_controller=function(n,o,i,r,s){return e(document).on(t.ON_SHOW_EVENT_NAME,n),e(document).on(t.ON_CONFIRM_EVENT_NAME,o),e(document).on(t.ON_DISMISS_EVENT_NAME,i),e(document).on(t.PRE_CONFIRM_EVENT_NAME,r),e(document).on(t.PRE_DISMISS_EVENT_NAME,s)},t}()});var __hasProp={}.hasOwnProperty;define("modules/clean/user",[],function(){var e;return e=function(){function e(e){var t;for(t in e)__hasProp.call(e,t)&&"string"==typeof t&&"_"!==t[0]&&(this[t]=e[t])}return e.prototype.toString=function(){return String(this.id)},e}()});var __hasProp={}.hasOwnProperty,__extends=function(e,t){function n(){this.constructor=e}for(var o in t)__hasProp.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},__slice=[].slice;define("modules/clean/validators/validators",["jquery","external/underscore","modules/core/i18n","modules/core/instantiate"],function(e,t,n,o){var i,r,s,a,u,c,l,_,d,h,p,f,m;return f=n._,m={},h=function(e,t){return m[e]=t},d=function(e){var t,n;if(n=e[0],t=e.slice(1),!m[n])throw new Error("Cannot find validator of type "+n);return o.construct(m[n],t)},l=function(){function e(e){this.messages=t.extend({},this.constructor.messages,null!=e?e.messages:void 0)}return e}(),r=function(e){function n(){var e,o,i;i=1<=arguments.length?__slice.call(arguments,0):[],o=null,t.isArray(t.last(i))||(o=t.last(i),i=t.initial(i)),this.validators=function(){var t,n,o;for(o=[],t=0,n=i.length;n>t;t++)e=i[t],null!==e&&o.push(d(e));return o}(),n.__super__.constructor.call(this,o)}return __extends(n,e),n.prototype.validate=function(e,t){var n,o,i,r,s;for(r=this.validators,s=[],o=0,i=r.length;i>o;o++)n=r[o],s.push(n.validate(e,t));return s},n}(l),h("AllValidator",r),i=/^[\x00-\x7f]*$/,s=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return __extends(t,e),t.messages={asciiOnly:f("Only basic ASCII characters allowed")},t.prototype.validate=function(e){if(!i.test(e))throw new Error(this.messages.asciiOnly)},t}(l),h("AsciiOnlyValidator",s),c=function(t){function n(e){n.__super__.constructor.call(this,e),this.not_empty=e.not_empty,this.strip=e.strip}return __extends(n,t),n.messages={empty:f("Please enter a value for %(field)s")},n.prototype.validate=function(t,n){if(this.strip&&(t=e.trim(t)),this.not_empty&&!t)throw new Error(this.messages.empty.format({field:null!=n?n.field:void 0}))},n}(l),h("StringValidator",c),u=function(e){function t(e){t.__super__.constructor.call(this,e),this.lastname_goes_first=null!=e?e.lastname_goes_first:void 0}return __extends(t,e),t.messages={empty:f("Please enter your name")},t.prototype.validate=function(e,t){var n;if(!t.data.lname&&!t.data.fname)if(this.lastname_goes_first){if("lname"===t.field)throw new Error(this.messages.empty)}else if("fname"===t.field)throw new Error(this.messages.empty);return"fname"===t.field?(n=d(["StringValidator",{not_empty:!0,strip:!0,messages:{empty:f("Please enter your first name")}}]),n.validate(e,t)):void 0},t}(l),h("NameValidator",u),a=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return __extends(n,t),n.messages={empty:f("Please enter an email address"),noAt:f("An email address must contain a single @"),badUsername:f("The username portion of the email address is invalid (the portion before the @: %(username)s)"),badDomain:f("The domain portion of the email address is invalid (the portion after the @: %(domain)s)")},n.username_re=/^[\w!#$%&'*+\-\/=?^`{|}~.]+$/,n.domain_re=new RegExp("^([a-z0-9][a-z0-9\\-]*\\.)+([a-z]+|xn--[a-z0-9\\-]+)$","i"),n.prototype.validate=function(t){var o,r,s;if(t=e.trim(t),!t)throw new Error(this.messages.empty);if(r=t.split("@"),2!==r.length)throw new Error(this.messages.noAt);if(s=r[0],o=r[1],!n.username_re.test(s))throw new Error(this.messages.badUsername.format({username:s}));if(i.test(o)&&!n.domain_re.test(o))throw new Error(this.messages.badDomain.format({domain:o}))},n}(l),h("EmailValidator",a),_=function(e){return function(t,n){var o;o=!0;try{e.validate(t,n)}catch(i){o=!1}return o}},p={create:d,register:h,check:_}}),define("modules/clean/video_util",["jquery","modules/core/browser","modules/core/i18n","external/flash_detect","external/videojs/video","external/videojs/videojs_hls","modules/clean/ajax"],function(e,t,n,o,i,r,s){var a,u,c;return u=n._,a={_video_counter:0,embed:function(n,o){var i,r,a,l,_,d,h,p,f,m,g,v;if(null==o&&(o={}),!this.can_embed_type(o.type))return null!=o.onError&&setTimeout(function(){return o.onError("needflash")},0),document.createElement("div");for(o.preload="undefined"!=typeof o.preload?o.preload:!0,o.preload&&(o.preload="auto"),r="video-"+this._video_counter,this._video_counter+=1,p=e("
"); $j(document.body).append(safe_zoom_container); preview_image_zoom = PreviewImageZoom({ imageUrl: this.props.href, onClose: this.closeZoom }); return this.zoom = React.render(preview_image_zoom, safe_zoom_container.get(0)); }, closeZoom: function() { var parentNode; parentNode = this.zoom.getDOMNode().parentNode; React.unmountComponentAtNode(parentNode); $j(parentNode).remove(); return this.zoom = null; } }); return { PreviewImage: PreviewImage }; }); //# sourceMappingURL=preview_image.map  ijkl_application/x-javascript_phttps://cf.dropboxstatic.com/static/coffee/compiled/modules/clean/react/previews/preview_image_zoom-vflbqzDAQ.jsObplist00X$versionX$objectsY$archiverT$top+#)*0123WXYZ[\]^_`abcdefghijklmnopqrstuxyzU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 (*)$%&'(WNS.base[NS.relative_phttps://cf.dropboxstatic.com/static/coffee/compiled/modules/clean/react/previews/preview_image_zoom-vflbqzDAQ.js+,-.Z$classnameX$classesUNSURL-/XNSObject#Ar456FVWNS.keysZNS.objects789:;<=>?@ABCDE GHIJKLMNOPQRSTU !"#$%&'\Content-Type_Access-Control-Allow-Origin]Last-Modified[X-Amz-Cf-Id_Content-EncodingVServerSViaWExpires]Cache-ControlTDate_Strict-Transport-Security^Content-LengthZConnectionTEtagWX-Cache_application/x-javascriptQ*_Mon, 20 Apr 2015 23:38:55 GMT_8dgbiiMg3m7TGLEOnm9n9xorjO_KEXDL4Mx7RHR6l7brtoeKTHQmZug==TgzipUnginx_@1.1 cac0807f4e1bdd7cf57c08992aa341a5.cloudfront.net (CloudFront)_Thu, 31 Dec 2037 23:55:55 GMT_max-age=315360000, private_Tue, 21 Apr 2015 05:09:17 GMT_#max-age=15552000; includeSubDomainsS670Zkeep-alive^"55358e0f-29e"_Miss from cloudfront+,vw\NSDictionaryv/_application/x-javascript+,{|_NSHTTPURLResponse}~/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverс_WebResourceResponse#-27ek`epy  !?MYlswMRX"-<SXehkO// Generated by CoffeeScript 1.7.1 define(['external/jquery.fs.zoomer', 'external/react', 'jquery', 'modules/clean/react/sprite', 'modules/core/dom', 'modules/core/i18n'], function(Zoomer, React, $j, Sprite, dom, i18n) { var PreviewImageZoom, d, _; d = React.DOM; _ = i18n._; PreviewImageZoom = React.createClass({ propTypes: { "imageUrl": React.PropTypes.string, "onClose": React.PropTypes.func }, render: function() { return d.div({ className: "preview-zoomer-container" }, d.div({ className: "preview-zoomer", style: { textAlign: "center" } }, d.img({ className: "preview-zoom", src: this.props.imageUrl })), d.div({ className: "preview-zoomer-close" }, Sprite({ group: "web", name: "xclose" })), d.div({ className: "preview-zoomer-controls" }, d.div({ className: "preview-zoomer-out" }, Sprite({ group: "web", name: "s_photo_zoom_out" })), d.div({ className: "preview-zoomer-in" }, Sprite({ group: "web", name: "s_photo_zoom_in" })), d.div({ className: "preview-zoomer-label" }))); }, componentDidMount: function() { var zoom_close, zoom_container; zoom_container = $j(".preview-zoomer-container"); zoom_close = zoom_container.find(".preview-zoomer-close"); zoom_close.on("click", this.props.onClose); return zoomer(zoom_container.find(".preview-zoomer"), { controls: { zoomIn: zoom_container.find(".preview-zoomer-in"), zoomOut: zoom_container.find(".preview-zoomer-out"), zoomLabel: zoom_container.find(".preview-zoomer-label") }, customClass: "preview-zoomer-style" }); } }); return { PreviewImageZoom: PreviewImageZoom }; }); //# sourceMappingURL=preview_image_zoom.map n opqrs_WebResourceTextEncodingName_text/javascriptUutf-8_Ahttps://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.jsOkbplist00~X$versionX$objectsY$archiverT$top*#)*0123WXYZ[\]^_`abcdefghijklmnopqrstwxyU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ')($%&'(WNS.base[NS.relative_Ahttps://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js+,-.Z$classnameX$classesUNSURL-/XNSObject#Az456FVWNS.keysZNS.objects789:;<=>?@ABCDE GHIJKLMNHPQRSTU !"#$%&\Content-Type_Access-Control-Allow-Origin_alternate-protocol_Content-EncodingVServer_x-xss-protectionWExpiresSAge_timing-allow-origin]Cache-ControlTDate^Content-Length_x-content-type-optionsTVary]Last-Modified_text/javascript; charset=UTF-8Q*\443:quic,p=1TgzipTsffe]1; mode=block_Fri, 15 Apr 2016 19:56:53 GMTV378744_public, max-age=31536000_Thu, 16 Apr 2015 19:56:53 GMTU32822Wnosniff_Accept-Encoding_Tue, 09 Jul 2013 11:31:25 GMT+,uv\NSDictionaryu/_text/javascript+,z{_NSHTTPURLResponse|}/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverр_WebResourceResponse#-27dj05@IOR[dfhow$7>QY]s )0Kkqy ,/EGOk/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim,x=function(e,t){return new x.fn.init(e,t,r)},w=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,T=/\S+/g,C=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,k=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^[\],:{}\s]*$/,S=/(?:^|:|,)(?:\s*\[)+/g,A=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,j=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,D=/^-ms-/,L=/-([\da-z])/gi,H=function(e,t){return t.toUpperCase()},q=function(e){(a.addEventListener||"load"===e.type||"complete"===a.readyState)&&(_(),x.ready())},_=function(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",q,!1),e.removeEventListener("load",q,!1)):(a.detachEvent("onreadystatechange",q),e.detachEvent("onload",q))};x.fn=x.prototype={jquery:f,constructor:x,init:function(e,n,r){var i,o;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof x?n[0]:n,x.merge(this,x.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:a,!0)),k.test(i[1])&&x.isPlainObject(n))for(i in n)x.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(o=a.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return g.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(g.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},l=2),"object"==typeof s||x.isFunction(s)||(s={}),u===l&&(s=this,--l);u>l;l++)if(null!=(o=arguments[l]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(x.isPlainObject(r)||(n=x.isArray(r)))?(n?(n=!1,a=e&&x.isArray(e)?e:[]):a=e&&x.isPlainObject(e)?e:{},s[i]=x.extend(c,a,r)):r!==t&&(s[i]=r));return s},x.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=l),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){if(e===!0?!--x.readyWait:!x.isReady){if(!a.body)return setTimeout(x.ready);x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(a,[x]),x.fn.trigger&&x(a).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray||function(e){return"array"===x.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?c[y.call(e)]||"object":typeof e},isPlainObject:function(e){var n;if(!e||"object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!v.call(e,"constructor")&&!v.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}if(x.support.ownLast)for(n in e)return v.call(e,n);for(n in e);return n===t||v.call(e,n)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||a;var r=k.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=x.trim(n),n&&E.test(n.replace(A,"@").replace(j,"]").replace(S,"")))?Function("return "+n)():(x.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&x.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(D,"ms-").replace(L,H)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:b&&!b.call("\ufeff\u00a0")?function(e){return null==e?"":b.call(e)}:function(e){return null==e?"":(e+"").replace(C,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(m)return m.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return d.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),x.isFunction(e)?(r=g.call(arguments,2),i=function(){return e.apply(n||this,r.concat(g.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):t},access:function(e,n,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===x.type(r)){o=!0;for(l in r)x.access(e,n,l,r[l],!0,a,s)}else if(i!==t&&(o=!0,x.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(x(e),n)})),n))for(;u>l;l++)n(e[l],r,s?i:i.call(e[l],l,n(e[l],r)));return o?e:c?n.call(e):u?n(e[0],r):a},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),x.ready.promise=function(t){if(!n)if(n=x.Deferred(),"complete"===a.readyState)setTimeout(x.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",q,!1),e.addEventListener("load",q,!1);else{a.attachEvent("onreadystatechange",q),e.attachEvent("onload",q);var r=!1;try{r=null==e.frameElement&&a.documentElement}catch(i){}r&&r.doScroll&&function o(){if(!x.isReady){try{r.doScroll("left")}catch(e){return setTimeout(o,50)}_(),x.ready()}}()}return n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){c["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=x(a),function(e,t){var n,r,i,o,a,s,l,u,c,p,f,d,h,g,m,y,v,b="sizzle"+-new Date,w=e.document,T=0,C=0,N=st(),k=st(),E=st(),S=!1,A=function(e,t){return e===t?(S=!0,0):0},j=typeof t,D=1<<31,L={}.hasOwnProperty,H=[],q=H.pop,_=H.push,M=H.push,O=H.slice,F=H.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",W=R.replace("w","w#"),$="\\["+P+"*("+R+")"+P+"*(?:([*^$|!~]?=)"+P+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+W+")|)|)"+P+"*\\]",I=":("+R+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+$.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),X=RegExp("^"+P+"*,"+P+"*"),U=RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),V=RegExp(P+"*[+~]"),Y=RegExp("="+P+"*([^\\]'\"]*)"+P+"*\\]","g"),J=RegExp(I),G=RegExp("^"+W+"$"),Q={ID:RegExp("^#("+R+")"),CLASS:RegExp("^\\.("+R+")"),TAG:RegExp("^("+R.replace("w","w*")+")"),ATTR:RegExp("^"+$),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:RegExp("^(?:"+B+")$","i"),needsContext:RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/^(?:input|select|textarea|button)$/i,tt=/^h\d$/i,nt=/'|\\/g,rt=RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),it=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{M.apply(H=O.call(w.childNodes),w.childNodes),H[w.childNodes.length].nodeType}catch(ot){M={apply:H.length?function(e,t){_.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function at(e,t,n,i){var o,a,s,l,u,c,d,m,y,x;if((t?t.ownerDocument||t:w)!==f&&p(t),t=t||f,n=n||[],!e||"string"!=typeof e)return n;if(1!==(l=t.nodeType)&&9!==l)return[];if(h&&!i){if(o=Z.exec(e))if(s=o[1]){if(9===l){if(a=t.getElementById(s),!a||!a.parentNode)return n;if(a.id===s)return n.push(a),n}else if(t.ownerDocument&&(a=t.ownerDocument.getElementById(s))&&v(t,a)&&a.id===s)return n.push(a),n}else{if(o[2])return M.apply(n,t.getElementsByTagName(e)),n;if((s=o[3])&&r.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(s)),n}if(r.qsa&&(!g||!g.test(e))){if(m=d=b,y=t,x=9===l&&e,1===l&&"object"!==t.nodeName.toLowerCase()){c=mt(e),(d=t.getAttribute("id"))?m=d.replace(nt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",u=c.length;while(u--)c[u]=m+yt(c[u]);y=V.test(e)&&t.parentNode||t,x=c.join(",")}if(x)try{return M.apply(n,y.querySelectorAll(x)),n}catch(T){}finally{d||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,n,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>o.cacheLength&&delete t[e.shift()],t[n]=r}return t}function lt(e){return e[b]=!0,e}function ut(e){var t=f.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ct(e,t){var n=e.split("|"),r=e.length;while(r--)o.attrHandle[n[r]]=t}function pt(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function dt(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return lt(function(t){return t=+t,lt(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}s=at.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},r=at.support={},p=at.setDocument=function(e){var n=e?e.ownerDocument||e:w,i=n.defaultView;return n!==f&&9===n.nodeType&&n.documentElement?(f=n,d=n.documentElement,h=!s(n),i&&i.attachEvent&&i!==i.top&&i.attachEvent("onbeforeunload",function(){p()}),r.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),r.getElementsByTagName=ut(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),r.getElementsByClassName=ut(function(e){return e.innerHTML="
",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),r.getById=ut(function(e){return d.appendChild(e).id=b,!n.getElementsByName||!n.getElementsByName(b).length}),r.getById?(o.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){return e.getAttribute("id")===t}}):(delete o.find.ID,o.filter.ID=function(e){var t=e.replace(rt,it);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),o.find.TAG=r.getElementsByTagName?function(e,n){return typeof n.getElementsByTagName!==j?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},o.find.CLASS=r.getElementsByClassName&&function(e,n){return typeof n.getElementsByClassName!==j&&h?n.getElementsByClassName(e):t},m=[],g=[],(r.qsa=K.test(n.querySelectorAll))&&(ut(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+B+")"),e.querySelectorAll(":checked").length||g.push(":checked")}),ut(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(r.matchesSelector=K.test(y=d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(e){r.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),m.push("!=",I)}),g=g.length&&RegExp(g.join("|")),m=m.length&&RegExp(m.join("|")),v=K.test(d.contains)||d.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},A=d.compareDocumentPosition?function(e,t){if(e===t)return S=!0,0;var i=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return i?1&i||!r.sortDetached&&t.compareDocumentPosition(e)===i?e===n||v(w,e)?-1:t===n||v(w,t)?1:c?F.call(c,e)-F.call(c,t):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return S=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:c?F.call(c,e)-F.call(c,t):0;if(o===a)return pt(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?pt(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},n):f},at.matches=function(e,t){return at(e,null,null,t)},at.matchesSelector=function(e,t){if((e.ownerDocument||e)!==f&&p(e),t=t.replace(Y,"='$1']"),!(!r.matchesSelector||!h||m&&m.test(t)||g&&g.test(t)))try{var n=y.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(i){}return at(t,f,null,[e]).length>0},at.contains=function(e,t){return(e.ownerDocument||e)!==f&&p(e),v(e,t)},at.attr=function(e,n){(e.ownerDocument||e)!==f&&p(e);var i=o.attrHandle[n.toLowerCase()],a=i&&L.call(o.attrHandle,n.toLowerCase())?i(e,n,!h):t;return a===t?r.attributes||!h?e.getAttribute(n):(a=e.getAttributeNode(n))&&a.specified?a.value:null:a},at.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},at.uniqueSort=function(e){var t,n=[],i=0,o=0;if(S=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),S){while(t=e[o++])t===e[o]&&(i=n.push(o));while(i--)e.splice(n[i],1)}return e},a=at.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=a(t);return n},o=at.selectors={cacheLength:50,createPseudo:lt,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(rt,it),e[3]=(e[4]||e[5]||"").replace(rt,it),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||at.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&at.error(e[0]),e},PSEUDO:function(e){var n,r=!e[5]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]&&e[4]!==t?e[2]=e[4]:r&&J.test(r)&&(n=mt(r,!0))&&(n=r.indexOf(")",r.length-n)-r.length)&&(e[0]=e[0].slice(0,n),e[2]=r.slice(0,n)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(rt,it).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&N(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=at.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!l&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[b]||(m[b]={}),u=c[e]||[],d=u[0]===T&&u[1],f=u[0]===T&&u[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[T,d,f];break}}else if(v&&(u=(t[b]||(t[b]={}))[e])&&u[0]===T)f=u[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[b]||(p[b]={}))[e]=[T,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=o.pseudos[e]||o.setFilters[e.toLowerCase()]||at.error("unsupported pseudo: "+e);return r[b]?r(t):r.length>1?(n=[e,e,"",t],o.setFilters.hasOwnProperty(e.toLowerCase())?lt(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=F.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:lt(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[b]?lt(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:lt(function(e){return function(t){return at(e,t).length>0}}),contains:lt(function(e){return function(t){return(t.textContent||t.innerText||a(t)).indexOf(e)>-1}}),lang:lt(function(e){return G.test(e||"")||at.error("unsupported lang: "+e),e=e.replace(rt,it).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!o.pseudos.empty(e)},header:function(e){return tt.test(e.nodeName)},input:function(e){return et.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},o.pseudos.nth=o.pseudos.eq;for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})o.pseudos[n]=ft(n);for(n in{submit:!0,reset:!0})o.pseudos[n]=dt(n);function gt(){}gt.prototype=o.filters=o.pseudos,o.setFilters=new gt;function mt(e,t){var n,r,i,a,s,l,u,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,l=[],u=o.preFilter;while(s){(!n||(r=X.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),l.push(i=[])),n=!1,(r=U.exec(s))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),s=s.slice(n.length));for(a in o.filter)!(r=Q[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?at.error(e):k(e,l).slice(0)}function yt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function vt(e,t,n){var r=t.dir,o=n&&"parentNode"===r,a=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,s){var l,u,c,p=T+" "+a;if(s){while(t=t[r])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[r])if(1===t.nodeType||o)if(c=t[b]||(t[b]={}),(u=c[r])&&u[0]===p){if((l=u[1])===!0||l===i)return l===!0}else if(u=c[r]=[p],u[1]=e(t,n,s)||i,u[1]===!0)return!0}}function bt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,a=[],s=0,l=e.length,u=null!=t;for(;l>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),u&&t.push(s));return a}function wt(e,t,n,r,i,o){return r&&!r[b]&&(r=wt(r)),i&&!i[b]&&(i=wt(i,o)),lt(function(o,a,s,l){var u,c,p,f=[],d=[],h=a.length,g=o||Nt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:xt(g,f,e,s,l),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,l),r){u=xt(y,d),r(u,[],s,l),c=u.length;while(c--)(p=u[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){u=[],c=y.length;while(c--)(p=y[c])&&u.push(m[c]=p);i(null,y=[],u,l)}c=y.length;while(c--)(p=y[c])&&(u=i?F.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else y=xt(y===a?y.splice(h,y.length):y),i?i(null,a,y,l):M.apply(a,y)})}function Tt(e){var t,n,r,i=e.length,a=o.relative[e[0].type],s=a||o.relative[" "],l=a?1:0,c=vt(function(e){return e===t},s,!0),p=vt(function(e){return F.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;i>l;l++)if(n=o.relative[e[l].type])f=[vt(bt(f),n)];else{if(n=o.filter[e[l].type].apply(null,e[l].matches),n[b]){for(r=++l;i>r;r++)if(o.relative[e[r].type])break;return wt(l>1&&bt(f),l>1&&yt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&Tt(e.slice(l,r)),i>r&&Tt(e=e.slice(r)),i>r&&yt(e))}f.push(n)}return bt(f)}function Ct(e,t){var n=0,r=t.length>0,a=e.length>0,s=function(s,l,c,p,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,C=u,N=s||a&&o.find.TAG("*",d&&l.parentNode||l),k=T+=null==C?1:Math.random()||.1;for(w&&(u=l!==f&&l,i=n);null!=(h=N[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,l,c)){p.push(h);break}w&&(T=k,i=++n)}r&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,r&&b!==v){g=0;while(m=t[g++])m(x,y,l,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=q.call(p));y=xt(y)}M.apply(p,y),w&&!s&&y.length>0&&v+t.length>1&&at.uniqueSort(p)}return w&&(T=k,u=C),x};return r?lt(s):s}l=at.compile=function(e,t){var n,r=[],i=[],o=E[e+" "];if(!o){t||(t=mt(e)),n=t.length;while(n--)o=Tt(t[n]),o[b]?r.push(o):i.push(o);o=E(e,Ct(i,r))}return o};function Nt(e,t,n){var r=0,i=t.length;for(;i>r;r++)at(e,t[r],n);return n}function kt(e,t,n,i){var a,s,u,c,p,f=mt(e);if(!i&&1===f.length){if(s=f[0]=f[0].slice(0),s.length>2&&"ID"===(u=s[0]).type&&r.getById&&9===t.nodeType&&h&&o.relative[s[1].type]){if(t=(o.find.ID(u.matches[0].replace(rt,it),t)||[])[0],!t)return n;e=e.slice(s.shift().value.length)}a=Q.needsContext.test(e)?0:s.length;while(a--){if(u=s[a],o.relative[c=u.type])break;if((p=o.find[c])&&(i=p(u.matches[0].replace(rt,it),V.test(s[0].type)&&t.parentNode||t))){if(s.splice(a,1),e=i.length&&yt(s),!e)return M.apply(n,i),n;break}}}return l(e,f)(i,t,!h,n,V.test(e)),n}r.sortStable=b.split("").sort(A).join("")===b,r.detectDuplicates=S,p(),r.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(f.createElement("div"))}),ut(function(e){return e.innerHTML="
","#"===e.firstChild.getAttribute("href")})||ct("type|href|height|width",function(e,n,r){return r?t:e.getAttribute(n,"type"===n.toLowerCase()?1:2)}),r.attributes&&ut(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ct("value",function(e,n,r){return r||"input"!==e.nodeName.toLowerCase()?t:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||ct(B,function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&i.specified?i.value:e[n]===!0?n.toLowerCase():null}),x.find=at,x.expr=at.selectors,x.expr[":"]=x.expr.pseudos,x.unique=at.uniqueSort,x.text=at.getText,x.isXMLDoc=at.isXML,x.contains=at.contains}(e);var O={};function F(e){var t=O[e]={};return x.each(e.match(T)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?O[e]||F(e):x.extend({},e);var n,r,i,o,a,s,l=[],u=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=l.length,n=!0;l&&o>a;a++)if(l[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,l&&(u?u.length&&c(u.shift()):r?l=[]:p.disable())},p={add:function(){if(l){var t=l.length;(function i(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&p.has(n)||l.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=l.length:r&&(s=t,c(r))}return this},remove:function(){return l&&x.each(arguments,function(e,t){var r;while((r=x.inArray(t,l,r))>-1)l.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?x.inArray(e,l)>-1:!(!l||!l.length)},empty:function(){return l=[],o=0,this},disable:function(){return l=u=r=t,this},disabled:function(){return!l},lock:function(){return u=t,r||p.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||i&&!u||(t=t||[],t=[e,t.slice?t.slice():t],n?u.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var a=o[0],s=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=g.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?g.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,l,u;if(r>1)for(s=Array(r),l=Array(r),u=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(a(t,u,n)).fail(o.reject).progress(a(t,l,s)):--i;return i||o.resolveWith(u,n),o.promise()}}),x.support=function(t){var n,r,o,s,l,u,c,p,f,d=a.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="
a",n=d.getElementsByTagName("*")||[],r=d.getElementsByTagName("a")[0],!r||!r.style||!n.length)return t;s=a.createElement("select"),u=s.appendChild(a.createElement("option")),o=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t.getSetAttribute="t"!==d.className,t.leadingWhitespace=3===d.firstChild.nodeType,t.tbody=!d.getElementsByTagName("tbody").length,t.htmlSerialize=!!d.getElementsByTagName("link").length,t.style=/top/.test(r.getAttribute("style")),t.hrefNormalized="/a"===r.getAttribute("href"),t.opacity=/^0.5/.test(r.style.opacity),t.cssFloat=!!r.style.cssFloat,t.checkOn=!!o.value,t.optSelected=u.selected,t.enctype=!!a.createElement("form").enctype,t.html5Clone="<:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,t.inlineBlockNeedsLayout=!1,t.shrinkWrapBlocks=!1,t.pixelPosition=!1,t.deleteExpando=!0,t.noCloneEvent=!0,t.reliableMarginRight=!0,t.boxSizingReliable=!0,o.checked=!0,t.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!u.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}o=a.createElement("input"),o.setAttribute("value",""),t.input=""===o.getAttribute("value"),o.value="t",o.setAttribute("type","radio"),t.radioValue="t"===o.value,o.setAttribute("checked","t"),o.setAttribute("name","t"),l=a.createDocumentFragment(),l.appendChild(o),t.appendChecked=o.checked,t.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip;for(f in x(t))break;return t.ownLast="0"!==f,x(function(){var n,r,o,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",l=a.getElementsByTagName("body")[0];l&&(n=a.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",l.appendChild(n).appendChild(d),d.innerHTML="
t
",o=d.getElementsByTagName("td"),o[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===o[0].offsetHeight,o[0].style.display="",o[1].style.display="none",t.reliableHiddenOffsets=p&&0===o[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",x.swap(l,null!=l.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===d.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(a.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="
",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(l.style.zoom=1)),l.removeChild(n),n=d=o=r=null)}),n=s=l=u=r=o=null,t }({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){var o,a,s=x.expando,l=e.nodeType,u=l?x.cache:e,c=l?e[s]:e[s]&&s;if(c&&u[c]&&(i||u[c].data)||r!==t||"string"!=typeof n)return c||(c=l?e[s]=p.pop()||x.guid++:s),u[c]||(u[c]=l?{}:{toJSON:x.noop}),("object"==typeof n||"function"==typeof n)&&(i?u[c]=x.extend(u[c],n):u[c].data=x.extend(u[c].data,n)),a=u[c],i||(a.data||(a.data={}),a=a.data),r!==t&&(a[x.camelCase(n)]=r),"string"==typeof n?(o=a[n],null==o&&(o=a[x.camelCase(n)])):o=a,o}}function W(e,t,n){if(x.acceptData(e)){var r,i,o=e.nodeType,a=o?x.cache:e,s=o?e[x.expando]:x.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){x.isArray(t)?t=t.concat(x.map(t,x.camelCase)):t in r?t=[t]:(t=x.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!I(r):!x.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?x.cleanData([e],!0):x.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}x.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?x.cache[e[x.expando]]:e[x.expando],!!e&&!I(e)},data:function(e,t,n){return R(e,t,n)},removeData:function(e,t){return W(e,t)},_data:function(e,t,n){return R(e,t,n,!0)},_removeData:function(e,t){return W(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&x.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),x.fn.extend({data:function(e,n){var r,i,o=null,a=0,s=this[0];if(e===t){if(this.length&&(o=x.data(s),1===s.nodeType&&!x._data(s,"parsedAttrs"))){for(r=s.attributes;r.length>a;a++)i=r[a].name,0===i.indexOf("data-")&&(i=x.camelCase(i.slice(5)),$(s,i,o[i]));x._data(s,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){x.data(this,e)}):arguments.length>1?this.each(function(){x.data(this,e,n)}):s?$(s,e,x.data(s,e)):null},removeData:function(e){return this.each(function(){x.removeData(this,e)})}});function $(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(P,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:B.test(r)?x.parseJSON(r):r}catch(o){}x.data(e,n,r)}else r=t}return r}function I(e){var t;for(t in e)if(("data"!==t||!x.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}x.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=x._data(e,n),r&&(!i||x.isArray(r)?i=x._data(e,n,x.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),a=function(){x.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return x._data(e,n)||x._data(e,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(e,t+"queue"),x._removeData(e,n)})})}}),x.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?x.queue(this[0],e):n===t?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=x.Deferred(),a=this,s=this.length,l=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=x._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(l));return l(),o.promise(n)}});var z,X,U=/[\t\r\n\f]/g,V=/\r/g,Y=/^(?:input|select|textarea|button|object)$/i,J=/^(?:a|area)$/i,G=/^(?:checked|selected)$/i,Q=x.support.getSetAttribute,K=x.support.input;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return e=x.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,l="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(l)for(t=(e||"").match(T)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(U," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,r=0,o=x(this),a=e.match(T)||[];while(t=a[r++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===i||"boolean"===n)&&(this.className&&x._data(this,"__className__",this.className),this.className=this.className||e===!1?"":x._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(U," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=x.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=i?e.call(this,n,x(this).val()):e,null==o?o="":"number"==typeof o?o+="":x.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),r=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(V,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,l=0>i?s:o?i:0;for(;s>l;l++)if(n=r[l],!(!n.selected&&l!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),a=i.length;while(a--)r=i[a],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,n,r){var o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===i?x.prop(e,n,r):(1===s&&x.isXMLDoc(e)||(n=n.toLowerCase(),o=x.attrHooks[n]||(x.expr.match.bool.test(n)?X:z)),r===t?o&&"get"in o&&null!==(a=o.get(e,n))?a:(a=x.find.attr(e,n),null==a?t:a):null!==r?o&&"set"in o&&(a=o.set(e,r,n))!==t?a:(e.setAttribute(n,r+""),r):(x.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(T);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)?K&&Q||!G.test(n)?e[r]=!1:e[x.camelCase("default-"+n)]=e[r]=!1:x.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!x.isXMLDoc(e),a&&(n=x.propFix[n]||n,o=x.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var t=x.find.attr(e,"tabindex");return t?parseInt(t,10):Y.test(e.nodeName)||J.test(e.nodeName)&&e.href?0:-1}}}}),X={set:function(e,t,n){return t===!1?x.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&x.propFix[n]||n,n):e[x.camelCase("default-"+n)]=e[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,n){var r=x.expr.attrHandle[n]||x.find.attr;x.expr.attrHandle[n]=K&&Q||!G.test(n)?function(e,n,i){var o=x.expr.attrHandle[n],a=i?t:(x.expr.attrHandle[n]=t)!=r(e,n,i)?n.toLowerCase():null;return x.expr.attrHandle[n]=o,a}:function(e,n,r){return r?t:e[x.camelCase("default-"+n)]?n.toLowerCase():null}}),K&&Q||(x.attrHooks.value={set:function(e,n,r){return x.nodeName(e,"input")?(e.defaultValue=n,t):z&&z.set(e,n,r)}}),Q||(z={set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},x.expr.attrHandle.id=x.expr.attrHandle.name=x.expr.attrHandle.coords=function(e,n,r){var i;return r?t:(i=e.getAttributeNode(n))&&""!==i.value?i.value:null},x.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&r.specified?r.value:t},set:z.set},x.attrHooks.contenteditable={set:function(e,t,n){z.set(e,""===t?!1:t,n)}},x.each(["width","height"],function(e,n){x.attrHooks[n]={set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}}})),x.support.hrefNormalized||x.each(["href","src"],function(e,t){x.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),x.support.style||(x.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.support.enctype||(x.propFix.enctype="encoding"),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,n){return x.isArray(n)?e.checked=x.inArray(x(e).val(),n)>=0:t}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}function at(){try{return a.activeElement}catch(e){}}x.event={global:{},add:function(e,n,r,o,a){var s,l,u,c,p,f,d,h,g,m,y,v=x._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=x.guid++),(l=v.events)||(l=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof x===i||e&&x.event.triggered===e.type?t:x.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(T)||[""],u=n.length;while(u--)s=rt.exec(n[u])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),g&&(p=x.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=x.event.special[g]||{},d=x.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=l[g])||(h=l[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),x.event.global[g]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,f,d,h,g,m=x.hasData(e)&&x._data(e);if(m&&(c=m.events)){t=(t||"").match(T)||[""],u=t.length;while(u--)if(s=rt.exec(t[u])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=x.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));l&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||x.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)x.event.remove(e,d+t[u],n,r,!0);x.isEmptyObject(c)&&(delete m.handle,x._removeData(e,"events"))}},trigger:function(n,r,i,o){var s,l,u,c,p,f,d,h=[i||a],g=v.call(n,"type")?n.type:n,m=v.call(n,"namespace")?n.namespace.split("."):[];if(u=f=i=i||a,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+x.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),l=0>g.indexOf(":")&&"on"+g,n=n[x.expando]?n:new x.Event(g,"object"==typeof n&&n),n.isTrigger=o?2:3,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:x.makeArray(r,[n]),p=x.event.special[g]||{},o||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!o&&!p.noBubble&&!x.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(i.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((u=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(x._data(u,"events")||{})[n.type]&&x._data(u,"handle"),s&&s.apply(u,r),s=l&&u[l],s&&x.acceptData(u)&&s.apply&&s.apply(u,r)===!1&&n.preventDefault();if(n.type=g,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(h.pop(),r)===!1)&&x.acceptData(i)&&l&&i[g]&&!x.isWindow(i)){f=i[l],f&&(i[l]=null),x.event.triggered=g;try{i[g]()}catch(y){}x.event.triggered=t,f&&(i[l]=f)}return n.result}},dispatch:function(e){e=x.event.fix(e);var n,r,i,o,a,s=[],l=g.call(arguments),u=(x._data(this,"events")||{})[e.type]||[],c=x.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((x.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],l=n.delegateCount,u=e.target;if(l&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(o=[],a=0;l>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?x(r,this).index(u)>=0:x.find(r,this,null,[u]).length),o[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return n.length>l&&s.push({elem:this,handlers:n.slice(l)}),s},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,o=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new x.Event(o),t=r.length;while(t--)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||a),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,o,s=n.button,l=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||a,o=i.documentElement,r=i.body,e.pageX=n.clientX+(o&&o.scrollLeft||r&&r.scrollLeft||0)-(o&&o.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(o&&o.scrollTop||r&&r.scrollTop||0)-(o&&o.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&l&&(e.relatedTarget=l===e.target?n.toElement:l),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==at()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===at()&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=a.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},x.Event=function(e,n){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&x.extend(this,n),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,t):new x.Event(e,n)},x.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.submitBubbles||(x.event.special.submit={setup:function(){return x.nodeName(this,"form")?!1:(x.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=x.nodeName(n,"input")||x.nodeName(n,"button")?n.form:t;r&&!x._data(r,"submitBubbles")&&(x.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),x._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&x.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return x.nodeName(this,"form")?!1:(x.event.remove(this,"._submit"),t)}}),x.support.changeBubbles||(x.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(x.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,e,!0)})),!1):(x.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||x.event.simulate("change",this.parentNode,e,!0)}),x._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return x.event.remove(this,"._change"),!Z.test(this.nodeName)}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&a.addEventListener(e,r,!0)},teardown:function(){0===--n&&a.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return x().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=x.guid++)),this.each(function(){x.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,x(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){x.event.remove(this,e,r,n)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?x.event.trigger(e,n,r,!0):t}});var st=/^.[^:#\[\.,]*$/,lt=/^(?:parents|prev(?:Until|All))/,ut=x.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=x(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(x.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e||[],!0))},filter:function(e){return this.pushStack(ft(this,e||[],!1))},is:function(e){return!!ft(this,"string"==typeof e&&ut.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],a=ut.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?x.inArray(this[0],x(e)):x.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return x.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(ct[e]||(i=x.unique(i)),lt.test(e)&&(i=i.reverse())),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!x(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(st.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return x.inArray(e,t)>=0!==n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/\s*$/g,At={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:x.support.htmlSerialize?[0,"",""]:[1,"X
","
"]},jt=dt(a),Dt=jt.appendChild(a.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||a).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Lt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(Ft(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&_t(Ft(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&x.cleanData(Ft(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&x.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!x.support.htmlSerialize&&mt.test(e)||!x.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(x.cleanData(Ft(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=d.apply([],e);var r,i,o,a,s,l,u=0,c=this.length,p=this,f=c-1,h=e[0],g=x.isFunction(h);if(g||!(1>=c||"string"!=typeof h||x.support.checkClone)&&Nt.test(h))return this.each(function(r){var i=p.eq(r);g&&(e[0]=h.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(l=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),r=l.firstChild,1===l.childNodes.length&&(l=r),r)){for(a=x.map(Ft(l,"script"),Ht),o=a.length;c>u;u++)i=l,u!==f&&(i=x.clone(i,!0,!0),o&&x.merge(a,Ft(i,"script"))),t.call(this[u],i,u);if(o)for(s=a[a.length-1].ownerDocument,x.map(a,qt),u=0;o>u;u++)i=a[u],kt.test(i.type||"")&&!x._data(i,"globalEval")&&x.contains(s,i)&&(i.src?x._evalUrl(i.src):x.globalEval((i.text||i.textContent||i.innerHTML||"").replace(St,"")));l=r=null}return this}});function Lt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function Ht(e){return e.type=(null!==x.find.attr(e,"type"))+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function _t(e,t){var n,r=0;for(;null!=(n=e[r]);r++)x._data(n,"globalEval",!t||x._data(t[r],"globalEval"))}function Mt(e,t){if(1===t.nodeType&&x.hasData(e)){var n,r,i,o=x._data(e),a=x._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)x.event.add(t,n,s[n][r])}a.data&&(a.data=x.extend({},a.data))}}function Ot(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!x.support.noCloneEvent&&t[x.expando]){i=x._data(t);for(r in i.events)x.removeEvent(t,r,i.handle);t.removeAttribute(x.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),x.support.html5Clone&&e.innerHTML&&!x.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ct.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=0,i=[],o=x(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),x(o[r])[t](n),h.apply(i,n.get());return this.pushStack(i)}});function Ft(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||x.nodeName(o,n)?s.push(o):x.merge(s,Ft(o,n));return n===t||n&&x.nodeName(e,n)?x.merge([e],s):s}function Bt(e){Ct.test(e.type)&&(e.defaultChecked=e.checked)}x.extend({clone:function(e,t,n){var r,i,o,a,s,l=x.contains(e.ownerDocument,e);if(x.support.html5Clone||x.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(x.support.noCloneEvent&&x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(r=Ft(o),s=Ft(e),a=0;null!=(i=s[a]);++a)r[a]&&Ot(i,r[a]);if(t)if(n)for(s=s||Ft(e),r=r||Ft(o),a=0;null!=(i=s[a]);a++)Mt(i,r[a]);else Mt(e,o);return r=Ft(o,"script"),r.length>0&&_t(r,!l&&Ft(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,l,u,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===x.type(o))x.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),l=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[l]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!x.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!x.support.tbody){o="table"!==l||xt.test(o)?""!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)x.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u)}x.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),x.support.appendChecked||x.grep(Ft(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===x.inArray(o,r))&&(a=x.contains(o.ownerDocument,o),s=Ft(f.appendChild(o),"script"),a&&_t(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,l=x.expando,u=x.cache,c=x.support.deleteExpando,f=x.event.special;for(;null!=(n=e[s]);s++)if((t||x.acceptData(n))&&(o=n[l],a=o&&u[o])){if(a.events)for(r in a.events)f[r]?x.event.remove(n,r):x.removeEvent(n,r,a.handle); u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(l):n[l]=null,p.push(o))}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),x.fn.extend({wrapAll:function(e){if(x.isFunction(e))return this.each(function(t){x(this).wrapAll(e.call(this,t))});if(this[0]){var t=x(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+w+")(.*)$","i"),Yt=RegExp("^("+w+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+w+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=x._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=x._data(r,"olddisplay",ln(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&x._data(r,"olddisplay",i?n:x.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}x.fn.extend({css:function(e,n){return x.access(this,function(e,n,r){var i,o,a={},s=0;if(x.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=x.css(e,n[s],!1,o);return a}return r!==t?x.style(e,n,r):x.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){nn(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":x.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,l=x.camelCase(n),u=e.style;if(n=x.cssProps[l]||(x.cssProps[l]=tn(u,l)),s=x.cssHooks[n]||x.cssHooks[l],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:u[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(x.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||x.cssNumber[l]||(r+="px"),x.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(u[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{u[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,l=x.camelCase(n);return n=x.cssProps[l]||(x.cssProps[l]=tn(e.style,l)),s=x.cssHooks[n]||x.cssHooks[l],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||x.isNumeric(o)?o||0:a):a}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s.getPropertyValue(n)||s[n]:t,u=e.style;return s&&(""!==l||x.contains(e.ownerDocument,e)||(l=x.style(e,n)),Yt.test(l)&&Ut.test(n)&&(i=u.width,o=u.minWidth,a=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=s.width,u.width=i,u.minWidth=o,u.maxWidth=a)),l}):a.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),l=s?s[n]:t,u=e.style;return null==l&&u&&u[n]&&(l=u[n]),Yt.test(l)&&!zt.test(n)&&(i=u.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),u.left="fontSize"===n?"1em":l,l=u.pixelLeft+"px",u.left=i,a&&(o.left=a)),""===l?"auto":l});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=x.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=x.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=x.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=x.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=x.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function ln(e){var t=a,n=Gt[e];return n||(n=un(e,t),"none"!==n&&n||(Pt=(Pt||x("');this.iefix=$(this.update.id+"_iefix")}if(this.iefix){setTimeout(this.fixIEOverlapping.bind(this),50)}},fixIEOverlapping:function(){$j(this.iefix).clonePosition($j(this.update),{setTop:(!this.update.style.height)});this.iefix.style.zIndex=1;this.update.style.zIndex=2;Element.show(this.iefix)},hide:function(){this.stopIndicator();if(Element.getStyle(this.update,"display")!="none"){this.options.onHide(this.element,this.update)}if(this.iefix){Element.hide(this.iefix)}},startIndicator:function(){if(this.options.indicator){Element.show(this.options.indicator)}},stopIndicator:function(){if(this.options.indicator){Element.hide(this.options.indicator)}},onKeyPress:function(a){this.onObserverEvent();if(this.active){switch(a.keyCode){case Event.KEY_TAB:case Event.KEY_RETURN:this.selectEntry();Event.stop(a);case Event.KEY_ESC:this.hide();this.active=false;Event.stop(a);return;case Event.KEY_LEFT:case Event.KEY_RIGHT:return;case Event.KEY_UP:this.markPrevious();this.render();Event.stop(a);return;case Event.KEY_DOWN:this.markNext();this.render();Event.stop(a);return}}else{if(a.keyCode==Event.KEY_TAB||a.keyCode==Event.KEY_RETURN||(Prototype.Browser.WebKit>0&&a.keyCode==0)){return}}this.changed=true;this.hasFocus=true;if(this.observer){clearTimeout(this.observer)}this.observer=setTimeout(this.onObserverEvent.bind(this),this.options.frequency*1000)},activate:function(){this.changed=false;this.hasFocus=true;this.getUpdatedChoices()},onHover:function(b){var a=Event.findElement(b,"LI");if(this.index!=a.autocompleteIndex){this.index=a.autocompleteIndex;this.render()}Event.stop(b)},onClick:function(b){var a=Event.findElement(b,"LI");this.index=a.autocompleteIndex;this.selectEntry();this.hide()},onBlur:function(a){setTimeout(this.hide.bind(this),250);this.hasFocus=false;this.active=false},render:function(){if(this.entryCount>0){for(var a=0;a0){this.index--}else{this.index=this.entryCount-1}this.getEntry(this.index)},markNext:function(){if(this.index0){d=Element.collectTextNodes(a[0],this.options.select)}}else{d=Element.collectTextNodesIgnoreClass(f,"informal")}var c=this.getTokenBounds();if(c[0]!=-1){var e=this.element.value.substr(0,c[0]);var b=this.element.value.substr(c[0]).match(/^\s+/);if(b){e+=b[0]}this.element.value=e+d+this.element.value.substr(c[1])}else{this.element.value=d}this.oldElementValue=this.element.value;this.element.focus();if(this.options.afterUpdateElement){this.options.afterUpdateElement(this.element,f)}},updateChoices:function(c){if(!this.changed&&this.hasFocus){this.update.innerHTML=c;Element.cleanWhitespace(this.update);Element.cleanWhitespace(this.update.down());if(this.update.firstChild&&this.update.down().childNodes){this.entryCount=this.update.down().childNodes.length;for(var a=0;a=this.entryCount){this.index=0}}else{this.entryCount=0}this.stopIndicator();if(this.entryCount==1&&this.options.autoSelect){this.selectEntry();this.hide()}else{this.render()}}},addObservers:function(a){Event.observe(a,"mouseover",this.onHover.bindAsEventListener(this));Event.observe(a,"click",this.onClick.bindAsEventListener(this))},onObserverEvent:function(){this.changed=false;this.tokenBounds=null;if(this.getToken().length>=this.options.minChars){this.getUpdatedChoices()}else{this.active=false;this.hide()}this.oldElementValue=this.element.value},getToken:function(){var a=this.getTokenBounds();return this.element.value.substring(a[0],a[1]).strip()},getTokenBounds:function(){if(null!=this.tokenBounds){return this.tokenBounds}var e=this.element.value;if(e.strip().empty()){return[-1,0]}var f=arguments.callee.getFirstDifferencePos(e,this.oldElementValue);var h=(f==this.oldElementValue.length?1:0);var d=-1,c=e.length;var g;for(var b=0,a=this.options.tokens.length;bd){d=g}g=e.indexOf(this.options.tokens[b],f+h);if(-1!=g&&g"+f.substr(0,h.length)+""+f.substr(h.length)+"");break}else{if(h.length>=b.options.partialChars&&b.options.partialSearch&&j!=-1){if(b.options.fullSearch||/\s/.test(f.substr(j-1,1))){c.push("
  • "+f.substr(0,j)+""+f.substr(j,h.length)+""+f.substr(j+h.length)+"
  • ");break}}}j=b.options.ignoreCase?f.toLowerCase().indexOf(h.toLowerCase(),j+1):f.indexOf(h,j+1)}}if(c.length){d=d.concat(c.slice(0,b.options.choices-d.length))}return"
      "+d.join("")+"
    "}},a||{})}});Field.scrollFreeActivate=function(a){setTimeout(function(){Field.activate(a)},1)};Ajax.InPlaceEditor=Class.create({initialize:function(c,b,a){this.url=b;this.element=c=$(c);this.prepareOptions();this._controls={};arguments.callee.dealWithDeprecatedOptions(a);Object.extend(this.options,a||{});if(!this.options.formId&&this.element.id){this.options.formId=this.element.id+"-inplaceeditor";if($(this.options.formId)){this.options.formId=""}}if(this.options.externalControl){this.options.externalControl=$(this.options.externalControl)}if(!this.options.externalControl){this.options.externalControlOnly=false}this._originalBackground=this.element.getStyle("background-color")||"transparent";this.element.title=this.options.clickToEditText;this._boundCancelHandler=this.handleFormCancellation.bind(this);this._boundComplete=(this.options.onComplete||Prototype.emptyFunction).bind(this);this._boundCancel=(this.options.onCancel||Prototype.emptyFunction).bind(this);this._boundFailureHandler=this.handleAJAXFailure.bind(this);this._boundSubmitHandler=this.handleFormSubmission.bind(this);this._boundWrapperHandler=this.wrapUp.bind(this);this._keyHandler=this.checkForEscapeOrReturn.bind(this);if(this.options.clickToEdit){this.registerListeners()}},checkForEscapeOrReturn:function(a){if(!this._editing||a.ctrlKey||a.altKey||a.shiftKey){return}if(Event.KEY_ESC==a.keyCode){this.handleFormCancellation(a)}else{if(Event.KEY_RETURN==a.keyCode){this.handleFormSubmission(a)}}},createControl:function(g,c,b){var e=this.options[g+"Control"];var f=this.options[g+"Text"];if("button"==e){var a=document.createElement("input");a.type="submit";a.value=f;a.className="editor_"+g+"_button";if("cancel"==g){a.onclick=this._boundCancelHandler}this._form.appendChild(a);this._controls[g]=a}else{if("link"==e){var d=document.createElement("a");d.href="#";d.appendChild(document.createTextNode(f));d.onclick="cancel"==g?this._boundCancelHandler:this._boundSubmitHandler;d.className="editor_"+g+"_link";if(b){d.className+=" "+b}this._form.appendChild(d);this._controls[g]=d}}},createEditField:function(){var c=(this.options.loadTextURL?this.options.loadingText:this.getText());var b;if(1>=this.options.rows&&!/\r|\n/.test(this.getText())){b=document.createElement("input");b.type="text";var a=this.options.size||this.options.cols||0;if(0=this.options.rows?this.options.autoRows:this.options.rows);b.cols=this.options.cols||40}b.name=this.options.paramName;if(this.options.initialText!==undefined&&this.options.initialText!==null){this.initialValue=this.options.initialText}else{this.initialValue=c}b.value=this.initialValue;b.className="editor_field";if(this.options.submitOnBlur){b.onblur=this._boundSubmitHandler}Event.observe(b,"keydown",this._keyHandler);this._controls.editor=b;if(this.options.loadTextURL){this.loadExternalText()}this._form.appendChild(this._controls.editor)},createForm:function(){var b=this;function a(d,e){var c=b.options["text"+d+"Controls"];if(!c||e===false){return}b._form.appendChild(document.createTextNode(c))}this._form=$(document.createElement("form"));this._form.id=this.options.formId;this._form.addClassName(this.options.formClassName);this._form.onsubmit=this._boundSubmitHandler;this.createEditField();if("textarea"==this._controls.editor.tagName.toLowerCase()){this._form.appendChild(document.createElement("br"))}if(this.options.onFormCustomization){this.options.onFormCustomization(this,this._form)}a("Before",this.options.okControl||this.options.cancelControl);this.createControl("ok",this._boundSubmitHandler);a("Between",this.options.okControl&&this.options.cancelControl);this.createControl("cancel",this._boundCancelHandler,"editor_cancel");a("After",this.options.okControl||this.options.cancelControl)},destroy:function(){if(this._oldInnerHTML){this.element.innerHTML=this._oldInnerHTML}this.leaveEditMode();this.unregisterListeners()},enterEditMode:function(a){if(this._saving||this._editing){return}this._editing=true;this.triggerCallback("onEnterEditMode");if(this.options.externalControl){this.options.externalControl.hide()}this.element.hide();this.createForm();this.element.parentNode.insertBefore(this._form,this.element);if(!this.options.loadTextURL){this.postProcessEditField()}if(a){Event.stop(a)}},enterHover:function(a){if(this.options.hoverClassName){this.element.addClassName(this.options.hoverClassName)}if(this._saving){return}this.triggerCallback("onEnterHover")},getText:function(){return this.element.innerHTML.unescapeHTML()},handleAJAXFailure:function(a){this.triggerCallback("onFailure",a);if(this._oldInnerHTML){this.element.innerHTML=this._oldInnerHTML;this._oldInnerHTML=null}},handleFormCancellation:function(a){if(this._handling_form){return}this._handling_form=true;this.wrapUp();if(a){Event.stop(a)}this._boundCancel();this._handling_form=false},handleFormSubmission:function(c,g){if(this._handling_form){return}var d=this._form;var f=$F(this._controls.editor);if(this.options.cancelIfSame&&(f===this.initialValue)){this.handleFormCancellation(g);return}this._handling_form=true;this.prepareSubmission();var h=this.options.callback(d,f)||"";if(Object.isString(h)){h=h.toQueryParams()}h.editorId=this.element.id;if(this.options.htmlResponse){var b=Object.extend({evalScripts:true},this.options.ajaxOptions);Object.extend(b,{parameters:h,onComplete:this._boundWrapperHandler,onFailure:this._boundFailureHandler});new Ajax.Updater({success:this.element},this.url,b)}else{var b=Object.extend({method:"get"},this.options.ajaxOptions);Object.extend(b,{parameters:h,onComplete:this._boundWrapperHandler,onFailure:this._boundFailureHandler});var a=this.options.ajaxClass||Ajax.Request;new a(this.url,b)}if(g){Event.stop(g)}this._handling_form=false;return false},leaveEditMode:function(){this.element.removeClassName(this.options.savingClassName);this.removeForm();this.leaveHover();this.element.style.backgroundColor=this._originalBackground;this.element.show();if(this.options.externalControl){this.options.externalControl.show()}this._saving=false;this._editing=false;this._oldInnerHTML=null;this.triggerCallback("onLeaveEditMode")},leaveHover:function(a){if(this.options.hoverClassName){this.element.removeClassName(this.options.hoverClassName)}if(this._saving){return}this.triggerCallback("onLeaveHover")},loadExternalText:function(){this._form.addClassName(this.options.loadingClassName);this._controls.editor.disabled=true;var a=Object.extend({method:"get"},this.options.ajaxOptions);Object.extend(a,{parameters:"editorId="+encodeURIComponent(this.element.id),onComplete:Prototype.emptyFunction,onSuccess:function(c){this._form.removeClassName(this.options.loadingClassName);var b=c.responseText;if(this.options.stripLoadedTextTags){b=b.stripTags()}this._controls.editor.value=b;this._controls.editor.disabled=false;this.postProcessEditField()}.bind(this),onFailure:this._boundFailureHandler});new Ajax.Request(this.options.loadTextURL,a)},postProcessEditField:function(){var a=this.options.fieldPostCreation;if(a){$(this._controls.editor)["focus"==a?"focus":"activate"]()}},prepareOptions:function(){this.options=Object.clone(Ajax.InPlaceEditor.DefaultOptions);Object.extend(this.options,Ajax.InPlaceEditor.DefaultCallbacks);[this._extraDefaultOptions].flatten().compact().each(function(a){Object.extend(this.options,a)}.bind(this))},prepareSubmission:function(){this._saving=true;this.removeForm();this.leaveHover();this.showSaving()},registerListeners:function(){this._listeners={};var a;$H(Ajax.InPlaceEditor.Listeners).each(function(b){a=this[b.value].bind(this);this._listeners[b.key]=a;if(!this.options.externalControlOnly){this.element.observe(b.key,a)}if(this.options.externalControl){this.options.externalControl.observe(b.key,a)}}.bind(this))},removeForm:function(){if(!this._form){return}this._controls.editor.blur();this._form.remove();this._form=null;this._controls={}},showSaving:function(){this._oldInnerHTML=this.element.innerHTML;this.element.innerHTML=this.options.savingText;this.element.addClassName(this.options.savingClassName);this.element.style.backgroundColor=this._originalBackground;this.element.show()},triggerCallback:function(b,a){if("function"==typeof this.options[b]){this.options[b](this,a)}},unregisterListeners:function(){$H(this._listeners).each(function(a){if(!this.options.externalControlOnly){this.element.stopObserving(a.key,a.value)}if(this.options.externalControl){this.options.externalControl.stopObserving(a.key,a.value)}}.bind(this))},wrapUp:function(a){this.leaveEditMode();this._boundComplete(a,this.element)}});Object.extend(Ajax.InPlaceEditor.prototype,{dispose:Ajax.InPlaceEditor.prototype.destroy});Ajax.InPlaceCollectionEditor=Class.create(Ajax.InPlaceEditor,{initialize:function($super,c,b,a){this._extraDefaultOptions=Ajax.InPlaceCollectionEditor.DefaultOptions;$super(c,b,a)},createEditField:function(){var a=document.createElement("select");a.name=this.options.paramName;a.size=1;this._controls.editor=a;this._collection=this.options.collection||[];if(this.options.loadCollectionURL){this.loadCollection()}else{this.checkForExternalText()}this._form.appendChild(this._controls.editor)},loadCollection:function(){this._form.addClassName(this.options.loadingClassName);this.showLoadingText(this.options.loadingCollectionText);var options=Object.extend({method:"get"},this.options.ajaxOptions);Object.extend(options,{parameters:"editorId="+encodeURIComponent(this.element.id),onComplete:Prototype.emptyFunction,onSuccess:function(transport){var js=transport.responseText.strip();if(!/^\[.*\]$/.test(js)){throw ("Server returned an invalid collection representation.")}this._collection=eval(js);this.checkForExternalText()}.bind(this),onFailure:this.onFailure});new Ajax.Request(this.options.loadCollectionURL,options)},showLoadingText:function(b){this._controls.editor.disabled=true;var a=this._controls.editor.firstChild;if(!a){a=document.createElement("option");a.value="";this._controls.editor.appendChild(a);a.selected=true}a.update((b||"").stripScripts().stripTags())},checkForExternalText:function(){this._text=this.getText();if(this.options.loadTextURL){this.loadExternalText()}else{this.buildOptionList()}},loadExternalText:function(){this.showLoadingText(this.options.loadingText);var a=Object.extend({method:"get"},this.options.ajaxOptions);Object.extend(a,{parameters:"editorId="+encodeURIComponent(this.element.id),onComplete:Prototype.emptyFunction,onSuccess:function(b){this._text=b.responseText.strip();this.buildOptionList()}.bind(this),onFailure:this.onFailure});new Ajax.Request(this.options.loadTextURL,a)},buildOptionList:function(){this._form.removeClassName(this.options.loadingClassName);this._collection=this._collection.map(function(d){return 2===d.length?d:[d,d].flatten()});var b=("value" in this.options)?this.options.value:this._text;var a=this._collection.any(function(d){return d[0]==b}.bind(this));this._controls.editor.update("");var c;this._collection.each(function(e,d){c=document.createElement("option");c.value=e[0];c.selected=a?e[0]==b:0==d;c.appendChild(document.createTextNode(e[1]));this._controls.editor.appendChild(c)}.bind(this));this._controls.editor.disabled=false;Field.scrollFreeActivate(this._controls.editor)}});Ajax.InPlaceEditor.prototype.initialize.dealWithDeprecatedOptions=function(a){if(!a){return}function b(c,d){if(c in a||d===undefined){return}a[c]=d}b("cancelControl",(a.cancelLink?"link":(a.cancelButton?"button":a.cancelLink==a.cancelButton==false?false:undefined)));b("okControl",(a.okLink?"link":(a.okButton?"button":a.okLink==a.okButton==false?false:undefined)));b("highlightColor",a.highlightcolor);b("highlightEndColor",a.highlightendcolor)};Object.extend(Ajax.InPlaceEditor,{DefaultOptions:{ajaxOptions:{},autoRows:3,cancelControl:"link",cancelIfSame:false,cancelText:"cancel",clickToEdit:true,clickToEditText:"Click to edit",externalControl:null,externalControlOnly:false,fieldPostCreation:"activate",formClassName:"inplaceeditor-form",formId:null,highlightColor:"#ffff99",highlightEndColor:"#ffffff",hoverClassName:"",htmlResponse:true,initialText:"",loadingClassName:"inplaceeditor-loading",loadingText:"Loading...",okControl:"button",okText:"ok",paramName:"value",rows:1,savingClassName:"inplaceeditor-saving",savingText:"Saving...",size:0,stripLoadedTextTags:false,submitOnBlur:false,textAfterControls:"",textBeforeControls:"",textBetweenControls:""},DefaultCallbacks:{callback:function(a){return Form.serialize(a)},onComplete:function(b,a){new Effect.Highlight(a,{startcolor:this.options.highlightColor,keepBackgroundImage:true})},onEnterEditMode:null,onEnterHover:function(a){a.element.style.backgroundColor=a.options.highlightColor;if(a._effect){a._effect.cancel()}},onFailure:function(b,a){alert("Error communication with the server: "+b.responseText.stripTags())},onFormCustomization:null,onLeaveEditMode:null,onLeaveHover:function(a){a._effect=new Effect.Highlight(a.element,{startcolor:a.options.highlightColor,endcolor:a.options.highlightEndColor,restorecolor:a._originalBackground,keepBackgroundImage:true})}},Listeners:{click:"enterEditMode",keydown:"checkForEscapeOrReturn",mouseover:"enterHover",mouseout:"leaveHover"}});Ajax.InPlaceCollectionEditor.DefaultOptions={loadingCollectionText:"Loading options..."};Form.Element.DelayedObserver=Class.create({initialize:function(b,a,c){this.delay=a||0.5;this.element=$(b);this.callback=c;this.timer=null;this.lastValue=$F(this.element);Event.observe(this.element,"keyup",this.delayedListener.bindAsEventListener(this))},delayedListener:function(a){if(this.lastValue==$F(this.element)){return}if(this.timer){clearTimeout(this.timer)}this.timer=setTimeout(this.onTimerEvent.bind(this),this.delay*1000);this.lastValue=$F(this.element)},onTimerEvent:function(){this.timer=null;this.callback(this.element,$F(this.element))}}); /* SWFObject v2.2 is released under the MIT License */ var swfobject=function(){var E="undefined",s="object",T="Shockwave Flash",X="ShockwaveFlash.ShockwaveFlash",r="application/x-shockwave-flash",S="SWFObjectExprInst",y="onreadystatechange",P=window,k=document,u=navigator,U=false,V=[h],p=[],O=[],J=[],m,R,F,C,K=false,a=false,o,H,n=true,N=function(){var ab=typeof k.getElementById!=E&&typeof k.getElementsByTagName!=E&&typeof k.createElement!=E,ai=u.userAgent.toLowerCase(),Z=u.platform.toLowerCase(),af=Z?/win/.test(Z):/win/.test(ai),ad=Z?/mac/.test(Z):/mac/.test(ai),ag=/webkit/.test(ai)?parseFloat(ai.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,Y=!+"\v1",ah=[0,0,0],ac=null;if(typeof u.plugins!=E&&typeof u.plugins[T]==s){ac=u.plugins[T].description;if(ac&&!(typeof u.mimeTypes!=E&&u.mimeTypes[r]&&!u.mimeTypes[r].enabledPlugin)){U=true;Y=false;ac=ac.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ah[0]=parseInt(ac.replace(/^(.*)\..*$/,"$1"),10);ah[1]=parseInt(ac.replace(/^.*\.(.*)\s.*$/,"$1"),10);ah[2]=/[a-zA-Z]/.test(ac)?parseInt(ac.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof P.ActiveXObject!=E){try{var ae=new ActiveXObject(X);if(ae){ac=ae.GetVariable("$version");if(ac){Y=true;ac=ac.split(" ")[1].split(",");ah=[parseInt(ac[0],10),parseInt(ac[1],10),parseInt(ac[2],10)]}}}catch(aa){}}}return{w3:ab,pv:ah,wk:ag,ie:Y,win:af,mac:ad}}(),l=function(){if(!N.w3){return}if((typeof k.readyState!=E&&k.readyState=="complete")||(typeof k.readyState==E&&(k.getElementsByTagName("body")[0]||k.body))){f()}if(!K){if(typeof k.addEventListener!=E){k.addEventListener("DOMContentLoaded",f,false)}if(N.ie&&N.win){k.attachEvent(y,function(){if(k.readyState=="complete"){k.detachEvent(y,arguments.callee);f()}});if(P==top){(function(){if(K){return}try{k.documentElement.doScroll("left")}catch(Y){setTimeout(arguments.callee,0);return}f()})()}}if(N.wk){(function(){if(K){return}if(!/loaded|complete/.test(k.readyState)){setTimeout(arguments.callee,0);return}f()})()}t(f)}}();function f(){if(K){return}try{var aa=k.getElementsByTagName("body")[0].appendChild(D("span"));aa.parentNode.removeChild(aa)}catch(ab){return}K=true;var Y=V.length;for(var Z=0;Z0){for(var ag=0;ag0){var af=c(Z);if(af){if(G(p[ag].swfVersion)&&!(N.wk&&N.wk<312)){x(Z,true);if(ac){ab.success=true;ab.ref=A(Z);ac(ab)}}else{if(p[ag].expressInstall&&B()){var aj={};aj.data=p[ag].expressInstall;aj.width=af.getAttribute("width")||"0";aj.height=af.getAttribute("height")||"0";if(af.getAttribute("class")){aj.styleclass=af.getAttribute("class")}if(af.getAttribute("align")){aj.align=af.getAttribute("align")}var ai={};var Y=af.getElementsByTagName("param");var ad=Y.length;for(var ae=0;ae'}}ab.outerHTML='"+ag+"";O[O.length]=aj.id;Y=c(aj.id)}else{var aa=D(s);aa.setAttribute("type",r);for(var ad in aj){if(aj[ad]!=Object.prototype[ad]){if(ad.toLowerCase()=="styleclass"){aa.setAttribute("class",aj[ad])}else{if(ad.toLowerCase()!="classid"){aa.setAttribute(ad,aj[ad])}}}}for(var ac in ah){if(ah[ac]!=Object.prototype[ac]&&ac.toLowerCase()!="movie"){e(aa,ac,ah[ac])}}ab.parentNode.replaceChild(aa,ab);Y=aa}}return Y}function e(aa,Y,Z){var ab=D("param");ab.setAttribute("name",Y);ab.setAttribute("value",Z);aa.appendChild(ab)}function z(Z){var Y=c(Z);if(Y&&Y.nodeName=="OBJECT"){if(N.ie&&N.win){Y.style.display="none";(function(){if(Y.readyState==4){b(Z)}else{setTimeout(arguments.callee,10)}})()}else{Y.parentNode.removeChild(Y)}}}function b(aa){var Z=c(aa);if(Z){for(var Y in Z){if(typeof Z[Y]=="function"){Z[Y]=null}}Z.parentNode.removeChild(Z)}}function c(aa){var Y=null;try{Y=k.getElementById(aa)}catch(Z){}return Y}function D(Y){return k.createElement(Y)}function j(aa,Y,Z){aa.attachEvent(Y,Z);J[J.length]=[aa,Y,Z]}function G(aa){var Z=N.pv,Y=aa.split(".");Y[0]=parseInt(Y[0],10);Y[1]=parseInt(Y[1],10)||0;Y[2]=parseInt(Y[2],10)||0;return(Z[0]>Y[0]||(Z[0]==Y[0]&&Z[1]>Y[1])||(Z[0]==Y[0]&&Z[1]==Y[1]&&Z[2]>=Y[2]))?true:false}function w(ad,Z,ae,ac){if(N.ie&&N.mac){return}var ab=k.getElementsByTagName("head")[0];if(!ab){return}var Y=(ae&&typeof ae=="string")?ae:"screen";if(ac){o=null;H=null}if(!o||H!=Y){var aa=D("style");aa.setAttribute("type","text/css");aa.setAttribute("media",Y);o=ab.appendChild(aa);if(N.ie&&N.win&&typeof k.styleSheets!=E&&k.styleSheets.length>0){o=k.styleSheets[k.styleSheets.length-1]}H=Y}if(N.ie&&N.win){if(o&&typeof o.addRule==s){o.addRule(ad,Z)}}else{if(o&&typeof k.createTextNode!=E){o.appendChild(k.createTextNode(ad+" {"+Z+"}"))}}}function x(aa,Y){if(!n){return}var Z=Y?"visible":"hidden";if(K&&c(aa)){c(aa).style.visibility=Z}else{w("#"+aa,"visibility:"+Z)}}function M(Z){var aa=/[\\\"<>\.;]/;var Y=aa.exec(Z)!=null;return Y&&typeof encodeURIComponent!=E?encodeURIComponent(Z):Z}var d=function(){if(N.ie&&N.win){window.attachEvent("onunload",function(){var ad=J.length;for(var ac=0;ac=h};a.minorAtLeast=function(h){return a.minor>=h};a.revisionAtLeast=function(h){return a.revision>=h};a.versionAtLeast=function(j){var k=[a.major,a.minor,a.revision];var h=Math.min(k.length,arguments.length);for(i=0;i=arguments[i]){if(i+10){var l="application/x-shockwave-flash";var k=navigator.mimeTypes;if(k&&k[l]&&k[l].enabledPlugin&&k[l].enabledPlugin.description){var h=k[l].enabledPlugin.description;var m=f(h);a.raw=m.raw;a.major=m.major;a.minor=m.minor;a.revisionStr=m.revisionStr;a.revision=m.revision;a.installed=true}}else{if(navigator.appVersion.indexOf("Mac")==-1&&window.execScript){var h=-1;for(var j=0;j0;for(r in o){if((!o[r]&&m(v.mods,+r)>-1)||(o[r]&&m(v.mods,+r)==-1)){y=false}}if((v.mods.length==0&&!o[16]&&!o[18]&&!o[17]&&!o[91])||y){if(v.method(w,v)===false){if(w.preventDefault){w.preventDefault()}else{w.returnValue=false}if(w.stopPropagation){w.stopPropagation()}if(w.cancelBubble){w.cancelBubble=true}}}}}}function e(t){var s=t.keyCode,r;if(s==93||s==224){s=91}if(s in o){o[s]=false;for(r in a){if(a[r]==s){b[r]=false}}}}function q(){for(g in o){if(o.hasOwnProperty(g)){o[g]=false}}}function b(s,t,w){var v,u,r,k;if(w===undefined){w=t;t="all"}s=s.replace(/\s/g,"");v=s.split(",");if((v[v.length-1])==""){v[v.length-2]+=","}for(r=0;r1){u=s.slice(0,s.length-1);for(k=0;k',v,""].join(""),h.id=ao,(g?h:b).innerHTML+=r,b.appendChild(h),g||(b.style.background="",b.style.overflow="hidden",o=ap.style.overflow,ap.style.overflow="hidden",ap.appendChild(b)),q=u(h,v),g?h.parentNode.removeChild(h):(b.parentNode.removeChild(b),ap.style.overflow=o),!!q},W=function(){function c(h,g){g=g||av.createElement(b[h]||"div"),h="on"+h;var a=h in g;return a||(g.setAttribute||(g=av.createElement("div")),g.setAttribute&&g.removeAttribute&&(g.setAttribute(h,""),a=R(g[h],"function"),R(g[h],"undefined")||(g[h]=au),g.removeAttribute(h))),g=null,a}var b={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return c}(),V={}.hasOwnProperty,U;!R(V,"undefined")&&!R(V.call,"undefined")?U=function(d,c){return V.call(d,c)}:U=function(d,c){return c in d&&R(d.constructor.prototype[c],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(a){var h=this;if(typeof h!="function"){throw new TypeError}var g=Z.call(arguments,1),f=function(){if(this instanceof f){var b=function(){};b.prototype=h.prototype;var d=new b,c=h.apply(d,g.concat(Z.call(arguments)));return Object(c)===c?c:d}return h.apply(a,g.concat(Z.call(arguments)))};return f}),ad.flexbox=function(){return N("flexWrap")},ad.canvas=function(){var b=av.createElement("canvas");return !!b.getContext&&!!b.getContext("2d")},ad.canvastext=function(){return !!ar.canvas&&!!R(av.createElement("canvas").getContext("2d").fillText,"function")},ad.touch=function(){var a;return"ontouchstart" in aw||aw.DocumentTouch&&av instanceof DocumentTouch?a=!0:X(["@media (",ai.join("touch-enabled),("),ao,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(b){a=b.offsetTop===9}),a},ad.postmessage=function(){return !!aw.postMessage},ad.websqldatabase=function(){return !!aw.openDatabase},ad.indexedDB=function(){return !!N("indexedDB",aw)},ad.hashchange=function(){return W("hashchange",aw)&&(av.documentMode===au||av.documentMode>7)},ad.history=function(){return !!aw.history&&!!history.pushState},ad.draganddrop=function(){var b=av.createElement("div");return"draggable" in b||"ondragstart" in b&&"ondrop" in b},ad.websockets=function(){return"WebSocket" in aw||"MozWebSocket" in aw},ad.rgba=function(){return T("background-color:rgba(150,255,150,.5)"),Q(am.backgroundColor,"rgba")},ad.hsla=function(){return T("background-color:hsla(120,40%,100%,.5)"),Q(am.backgroundColor,"rgba")||Q(am.backgroundColor,"hsla")},ad.multiplebgs=function(){return T("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(am.background)},ad.backgroundsize=function(){return N("backgroundSize")},ad.borderimage=function(){return N("borderImage")},ad.borderradius=function(){return N("borderRadius")},ad.boxshadow=function(){return N("boxShadow")},ad.textshadow=function(){return av.createElement("div").style.textShadow===""},ad.opacity=function(){return S("opacity:.55"),/^0.55$/.test(am.opacity)},ad.cssanimations=function(){return N("animationName")},ad.csscolumns=function(){return N("columnCount")},ad.cssgradients=function(){var e="background-image:",d="gradient(linear,left top,right bottom,from(#9f9),to(white));",f="linear-gradient(left top,#9f9, white);";return T((e+"-webkit- ".split(" ").join(d+e)+ai.join(f+e)).slice(0,-e.length)),Q(am.backgroundImage,"gradient")},ad.cssreflections=function(){return N("boxReflect")},ad.csstransforms=function(){return !!N("transform")},ad.csstransforms3d=function(){var b=!!N("perspective");return b&&"webkitPerspective" in ap.style&&X("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(a,d){b=a.offsetLeft===9&&a.offsetHeight===3}),b},ad.csstransitions=function(){return N("transition")},ad.fontface=function(){var b;return X('@font-face {font-family:"font";src:url("https://")}',function(l,k){var j=av.getElementById("smodernizr"),h=j.sheet||j.styleSheet,a=h?h.cssRules&&h.cssRules[0]?h.cssRules[0].cssText:h.cssText||"":"";b=/src/i.test(a)&&a.indexOf(k.split(" ")[0])===0}),b},ad.generatedcontent=function(){var b;return X(["#",ao,"{font:0/0 a}#",ao,':after{content:"',ak,'";visibility:hidden;font:3px/1 a}'].join(""),function(a){b=a.offsetHeight>=3}),b},ad.video=function(){var b=av.createElement("video"),f=!1;try{if(f=!!b.canPlayType){f=new Boolean(f),f.ogg=b.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),f.h264=b.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),f.webm=b.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}}catch(e){}return f},ad.audio=function(){var b=av.createElement("audio"),f=!1;try{if(f=!!b.canPlayType){f=new Boolean(f),f.ogg=b.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),f.mp3=b.canPlayType("audio/mpeg;").replace(/^no$/,""),f.wav=b.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),f.m4a=(b.canPlayType("audio/x-m4a;")||b.canPlayType("audio/aac;")).replace(/^no$/,"")}}catch(e){}return f},ad.localstorage=function(){try{return localStorage.setItem(ao,ao),localStorage.removeItem(ao),!0}catch(b){return !1}},ad.sessionstorage=function(){try{return sessionStorage.setItem(ao,ao),sessionStorage.removeItem(ao),!0}catch(b){return !1}},ad.webworkers=function(){return !!aw.Worker},ad.applicationcache=function(){return !!aw.applicationCache},ad.svg=function(){return !!av.createElementNS&&!!av.createElementNS(ae.svg,"svg").createSVGRect};for(var L in ad){U(ad,L)&&(Y=L.toLowerCase(),ar[Y]=ad[L](),aa.push((ar[Y]?"":"no-")+Y))}return ar.input||M(),ar.addTest=function(e,c){if(typeof e=="object"){for(var f in e){U(e,f)&&ar.addTest(f,e[f])}}else{e=e.toLowerCase();if(ar[e]!==au){return ar}c=typeof c=="function"?c():c,typeof aq!="undefined"&&aq&&(ap.className+=" "+(c?"":"no-")+e),ar[e]=c}return ar},T(""),an=al=null,ar._version=at,ar._prefixes=ai,ar._domPrefixes=af,ar._cssomPrefixes=ag,ar.hasEvent=W,ar.testProp=function(b){return P([b])},ar.testAllProps=N,ar.testStyles=X,ap.className=ap.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(aq?" js "+aa.join(" "):""),ar}(this,this.document);(function(a,b){if(typeof define==="function"&&define.amd){define(["external/underscore","jquery","exports"],function(e,f,d){a.Backbone=b(a,d,e,f)})}else{if(typeof exports!=="undefined"){var c=require("underscore");b(a,exports,c)}else{a.Backbone=b(a,{},a._,(a.jQuery||a.Zepto||a.ender||a.$))}}}(this,function(w,C,O,A){var E=w.Backbone;var g=[];var G=g.push;var p=g.slice;var v=g.splice;C.VERSION="1.1.2";C.$=A;C.noConflict=function(){w.Backbone=E;return this};C.emulateHTTP=false;C.emulateJSON=false;var M=C.Events={on:function(P,S,R){if(!z(this,"on",P,[S,R])||!S){return this}this._events||(this._events={});var Q=this._events[P]||(this._events[P]=[]);Q.push({callback:S,context:R,ctx:R||this});return this},once:function(Q,T,R){if(!z(this,"once",Q,[T,R])||!T){return this}var P=this;var S=O.once(function(){P.off(Q,S);T.apply(this,arguments)});S._callback=T;return this.on(Q,S,R)},off:function(P,Y,Q){var W,X,Z,V,U,R,T,S;if(!this._events||!z(this,"off",P,[Y,Q])){return this}if(!P&&!Y&&!Q){this._events=void 0;return this}V=P?[P]:O.keys(this._events);for(U=0,R=V.length;U").attr(P);this.setElement(Q,false)}else{this.setElement(O.result(this,"el"),false)}}});C.sync=function(V,Q,P){var S=l[V];O.defaults(P||(P={}),{emulateHTTP:C.emulateHTTP,emulateJSON:C.emulateJSON});var U={type:S,dataType:"json"};if(!P.url){U.url=O.result(Q,"url")||t()}if(P.data==null&&Q&&(V==="create"||V==="update"||V==="patch")){U.contentType="application/json";U.data=JSON.stringify(P.attrs||Q.toJSON(P))}if(P.emulateJSON){U.contentType="application/x-www-form-urlencoded";U.data=U.data?{model:U.data}:{}}if(P.emulateHTTP&&(S==="PUT"||S==="DELETE"||S==="PATCH")){U.type="POST";if(P.emulateJSON){U.data._method=S}var R=P.beforeSend;P.beforeSend=function(W){W.setRequestHeader("X-HTTP-Method-Override",S);if(R){return R.apply(this,arguments)}}}if(U.type!=="GET"&&!P.emulateJSON){U.processData=false}if(U.type==="PATCH"&&k){U.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")}}var T=P.xhr=C.ajax(O.extend(U,P));Q.trigger("request",Q,T,P);return T};var k=typeof window!=="undefined"&&!!window.ActiveXObject&&!(window.XMLHttpRequest&&(new XMLHttpRequest).dispatchEvent);var l={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};C.ajax=function(){return C.$.ajax.apply(C.$,arguments)};var r=C.Router=function(P){P||(P={});if(P.routes){this.routes=P.routes}this._bindRoutes();this.initialize.apply(this,arguments)};var s=/\((.*?)\)/g;var u=/(\(\?)?:\w+/g;var d=/\*\w+/g;var h=/[\-{}\[\]+?.,\\\^$|#\s]/g;O.extend(r.prototype,M,{initialize:function(){},route:function(Q,R,S){if(!O.isRegExp(Q)){Q=this._routeToRegExp(Q)}if(O.isFunction(R)){S=R;R=""}if(!S){S=this[R]}var P=this;C.history.route(Q,function(U){var T=P._extractParameters(Q,U);P.execute(S,T);P.trigger.apply(P,["route:"+R].concat(T));P.trigger("route",R,T);C.history.trigger("route",P,R,T)});return this},execute:function(Q,P){if(Q){Q.apply(this,P)}},navigate:function(Q,P){C.history.navigate(Q,P);return this},_bindRoutes:function(){if(!this.routes){return}this.routes=O.result(this,"routes");var Q,P=O.keys(this.routes);while((Q=P.pop())!=null){this.route(Q,this.routes[Q])}},_routeToRegExp:function(P){P=P.replace(h,"\\$&").replace(s,"(?:$1)?").replace(u,function(R,Q){return Q?R:"([^/?]+)"}).replace(d,"([^?]*?)");return new RegExp("^"+P+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(P,Q){var R=P.exec(Q).slice(1);return O.map(R,function(T,S){if(S===R.length-1){return T||null}return T?decodeURIComponent(T):null})}});var j=C.History=function(){this.handlers=[];O.bindAll(this,"checkUrl");if(typeof window!=="undefined"){this.location=window.location;this.history=window.history}};var D=/^[#\/]|\s+$/g;var f=/^\/+|\/+$/g;var L=/msie [\w.]+/;var o=/\/$/;var I=/#.*$/;j.started=false;O.extend(j.prototype,M,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(Q){var P=(Q||this).location.href.match(/#(.*)$/);return P?P[1]:""},getFragment:function(R,Q){if(R==null){if(this._hasPushState||!this._wantsHashChange||Q){R=decodeURI(this.location.pathname+this.location.search);var P=this.root.replace(o,"");if(!R.indexOf(P)){R=R.slice(P.length)}}else{R=this.getHash()}}return R.replace(D,"")},start:function(R){if(j.started){throw new Error("Backbone.history has already been started")}j.started=true;this.options=O.extend({root:"/"},this.options,R);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._wantsPushState=!!this.options.pushState;this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var Q=this.getFragment();var P=document.documentMode;var S=(L.exec(navigator.userAgent.toLowerCase())&&(!P||P<=7));this.root=("/"+this.root+"/").replace(f,"/");if(S&&this._wantsHashChange){var U=C.$('';eX=e8.firstChild;e7.appendChild(eX);eS.addEvent(eX,"load",function(){var fa;try{fa=eX.contentWindow.document||eX.contentDocument||window.frames[eX.id].document;if(/^4\d{2}\s/.test(fa.title)&&fa.getElementsByTagName("address").length){eW=fa.title.replace(/^(\d+).*$/,"$1")}else{eW=200;eU=eL.trim(fa.body.innerHTML);e2.trigger({type:"progress",loaded:eU.length,total:eU.length});if(eY){e2.trigger({type:"uploadprogress",loaded:eY.size||1025,total:eY.size||1025})}}}catch(e9){if(eK.hasSameOrigin(e6.url)){eW=404}else{eV.call(e2,function(){e2.trigger("error")});return}}eV.call(e2,function(){e2.trigger("load")})},e2.uid)}if(e0 instanceof eT&&e0.hasBlob()){eY=e0.getBlob();e1=eY.uid;e4=eO.get(e1);eZ=eO.get(e1+"_form");if(!eZ){throw new eQ.DOMException(eQ.DOMException.NOT_FOUND_ERR)}}else{e1=eL.guid("uid_");eZ=document.createElement("form");eZ.setAttribute("id",e1+"_form");eZ.setAttribute("method",e6.method);eZ.setAttribute("enctype","multipart/form-data");eZ.setAttribute("encoding","multipart/form-data");eZ.setAttribute("target",e1+"_iframe");e5.getShimContainer().appendChild(eZ)}if(e0 instanceof eT){e0.each(function(e9,e7){if(e9 instanceof eN){if(e4){e4.setAttribute("name",e7)}}else{var e8=document.createElement("input");eL.extend(e8,{type:"hidden",name:e7,value:e9});eZ.appendChild(e8)}})}eZ.setAttribute("action",e6.url);e3();eZ.submit();e2.trigger("loadstart")},getStatus:function(){return eW},getResponse:function(eY){if("json"===eY){if(eL.typeOf(eU)==="string"){try{return eM(eU.replace(/^\s*]*>/,"").replace(/<\/pre>\s*$/,""))}catch(eZ){return null}}}else{if("document"===eY){}}return eU},abort:function(){var eY=this;if(eX&&eX.contentWindow){if(eX.contentWindow.stop){eX.contentWindow.stop()}else{if(eX.contentWindow.document.execCommand){eX.contentWindow.document.execCommand("Stop")}else{eX.src="about:blank"}}}eV.call(this,function(){eY.dispatchEvent("abort")})}})}return(eP.XMLHttpRequest=eR)});eJ("moxie/runtime/html4/image/Image",["moxie/runtime/html4/Runtime","moxie/runtime/html5/image/Image"],function(eL,eK){return(eL.Image=eK)});T(["moxie/core/utils/Basic","moxie/core/I18n","moxie/core/utils/Mime","moxie/core/utils/Env","moxie/core/utils/Dom","moxie/core/Exceptions","moxie/core/EventTarget","moxie/core/utils/Encode","moxie/runtime/Runtime","moxie/runtime/RuntimeClient","moxie/file/Blob","moxie/file/File","moxie/file/FileInput","moxie/file/FileDrop","moxie/runtime/RuntimeTarget","moxie/file/FileReader","moxie/core/utils/Url","moxie/file/FileReaderSync","moxie/xhr/FormData","moxie/xhr/XMLHttpRequest","moxie/runtime/Transporter","moxie/core/JSON","moxie/image/Image","moxie/core/utils/Events"])})(this);(function(){var eE={},eD=moxie.core.utils.Basic.inArray;(function T(eG){var eF,eH;for(eF in eG){eH=typeof(eG[eF]);if(eH==="object"&&!~eD(eF,["Exceptions","Env","Mime"])){T(eG[eF])}else{if(eH==="function"){eE[eF]=eG[eF]}}}})(window.moxie);eE.Env=window.moxie.core.utils.Env;eE.Mime=window.moxie.core.utils.Mime;eE.Exceptions=window.moxie.core.Exceptions;window.mOxie=eE;if(!window.o){window.o=eE}return eE})();(function(eG,eI,eF){var eE=eG.setTimeout,eH={};function T(eK){var eJ=eK.required_features,eL={};function eM(eO,eP,eN){var eQ={chunks:"slice_blob",resize:"send_binary_string",jpgresize:"send_binary_string",pngresize:"send_binary_string",progress:"report_upload_progress",multi_selection:"select_multiple",max_file_size:"access_binary",dragdrop:"drag_and_drop",drop_element:"drag_and_drop",headers:"send_custom_headers",canSendBinary:"send_binary",triggerDialog:"summon_file_dialog"};if(eQ[eO]){eL[eQ[eO]]=eP}else{if(!eN){eL[eO]=eP}}}if(typeof(eJ)==="string"){eD.each(eJ.split(/\s*,\s*/),function(eN){eM(eN,true)})}else{if(typeof(eJ)==="object"){eD.each(eJ,function(eO,eN){eM(eN,eO)})}else{if(eJ===true){if(!eK.multipart){eL.send_binary_string=true}if(eK.chunk_size>0){eL.slice_blob=true}eD.each(eK,function(eO,eN){eM(eN,!!eO,true)})}}}return eL}var eD={VERSION:"2.0.0beta",STOPPED:1,STARTED:2,QUEUED:1,UPLOADING:2,FAILED:4,DONE:5,GENERIC_ERROR:-100,HTTP_ERROR:-200,IO_ERROR:-300,SECURITY_ERROR:-400,INIT_ERROR:-500,FILE_SIZE_ERROR:-600,FILE_EXTENSION_ERROR:-601,FILE_DUPLICATE_ERROR:-602,IMAGE_FORMAT_ERROR:-700,IMAGE_MEMORY_ERROR:-701,IMAGE_DIMENSIONS_ERROR:-702,mimeTypes:eI.mimes,ua:eI.ua,typeOf:eI.typeOf,extend:eI.extend,guid:eI.guid,each:eI.each,getPos:eI.getPos,getSize:eI.getSize,xmlEncode:function(eK){var eL={"<":"lt",">":"gt","&":"amp",'"':"quot","'":"#39"},eJ=/[<>&\"\']/g;return eK?(""+eK).replace(eJ,function(eM){return eL[eM]?"&"+eL[eM]+";":eM}):eK},toArray:eI.toArray,inArray:eI.inArray,addI18n:eI.addI18n,translate:eI.translate,isEmptyObj:eI.isEmptyObj,hasClass:eI.hasClass,addClass:eI.addClass,removeClass:eI.removeClass,getStyle:eI.getStyle,addEvent:eI.addEvent,removeEvent:eI.removeEvent,removeAllEvents:eI.removeAllEvents,cleanName:function(eJ){var eK,eL;eL=[/[\300-\306]/g,"A",/[\340-\346]/g,"a",/\307/g,"C",/\347/g,"c",/[\310-\313]/g,"E",/[\350-\353]/g,"e",/[\314-\317]/g,"I",/[\354-\357]/g,"i",/\321/g,"N",/\361/g,"n",/[\322-\330]/g,"O",/[\362-\370]/g,"o",/[\331-\334]/g,"U",/[\371-\374]/g,"u"];for(eK=0;eK0?"&":"?")+eL}return eK},formatSize:function(eJ){if(eJ===eF||/\D/.test(eJ)){return eD.translate("N/A")}if(eJ>1099511627776){return Math.round(eJ/1099511627776,1)+" "+eD.translate("tb")}if(eJ>1073741824){return Math.round(eJ/1073741824,1)+" "+eD.translate("gb")}if(eJ>1048576){return Math.round(eJ/1048576,1)+" "+eD.translate("mb")}if(eJ>1024){return Math.round(eJ/1024,1)+" "+eD.translate("kb")}return eJ+" "+eD.translate("b")},parseSize:eI.parseSizeStr,predictRuntime:function(eL,eK){var eJ,eM;if(eK){eL.runtimes=eK}eJ=new eD.Uploader(eL);eM=eJ.runtime;eJ.destroy();return eM},addFileFilter:function(eK,eJ){eH[eK]=eJ}};eD.addFileFilter("mime_types",(function(){var eK,eL;function eJ(eM){var eN=[];eD.each(eM,function(eO){eD.each(eO.extensions.split(/,/),function(eP){if(/^\s*\*\s*$/.test(eP)){eN.push("\\.*")}else{eN.push("\\."+eP.replace(new RegExp("["+("/^$.*+?|()[]{}\\".replace(/./g,"\\$&"))+"]","g"),"\\$&"))}})});return new RegExp("("+eN.join("|")+")$","i")}return function(eO,eN,eM){if(!eL||eO!=eK){eL=eJ(eO);eK=[].slice.call(eO)}if(!eL.test(eN.name)){this.trigger("Error",{code:eD.FILE_EXTENSION_ERROR,message:eD.translate("File extension error."),file:eN});eM(false)}else{eM(true)}}}()));eD.addFileFilter("max_file_size",function(eM,eK,eJ){var eL;if(eK.size!==eL&&eM&&eK.size>eM){this.trigger("Error",{code:eD.FILE_SIZE_ERROR,message:eD.translate("File size error."),file:eK});eJ(false)}else{eJ(true)}});eD.addFileFilter("prevent_duplicates",function(eM,eK,eJ){if(eM){var eL=this.files.length;while(eL--){if(eK.name===this.files[eL].name&&eK.size===this.files[eL].size){this.trigger("Error",{code:eD.FILE_DUPLICATE_ERROR,message:eD.translate("Duplicate file error."),file:eK});eJ(false);return}}}eJ(true)});eD.Uploader=function(eN){var eK=[],eX={},eU={},eM,eS,eP=false,eQ,eR,eW;function eL(){var e0,e1=0,eZ;if(this.state==eD.STARTED){for(eZ=0;eZ0?Math.ceil(eZ.loaded/eZ.size*100):100;eO()}function eO(){var e0,eZ;eS.reset();for(e0=0;e00?Math.ceil(eS.uploaded/eK.length*100):0}else{eS.bytesPerSec=Math.ceil(eS.loaded/((+new Date()-eM||1)/1000));eS.percent=eS.size>0?Math.ceil(eS.loaded/eS.size*100):0}}function eJ(){var eZ=this,e1=0;var e0={accept:eN.filters.mime_types,runtime_order:eN.runtimes,required_caps:eU,swf_url:eN.flash_swf_url,xap_url:eN.silverlight_xap_url};eD.each(eN.runtimes.split(/\s*,\s*/),function(e2){if(eN[e2]){e0[e2]=eN[e2]}});eI.inSeries([function(e2){if(eN.browse_button){eQ=new eI.FileInput(eD.extend({},e0,{name:eN.file_data_name,multiple:eN.multi_selection,container:eN.container,browse_button:eN.browse_button}));eQ.onready=function(){var e3=eI.Runtime.getInfo(this.ruid);eI.extend(eZ.features,{chunks:e3.can("slice_blob"),multipart:e3.can("send_multipart"),multi_selection:e3.can("select_multiple")});e1++;e2()};eQ.onchange=function(){eZ.addFile(this.files)};eQ.bind("mouseenter mouseleave mousedown mouseup",function(e4){if(!eP){var e3=eI.get(eN.browse_button);if(e3){if(eN.browse_button_hover){if("mouseenter"===e4.type){eI.addClass(e3,eN.browse_button_hover)}else{if("mouseleave"===e4.type){eI.removeClass(e3,eN.browse_button_hover)}}}if(eN.browse_button_active){if("mousedown"===e4.type){eI.addClass(e3,eN.browse_button_active)}else{if("mouseup"===e4.type){eI.removeClass(e3,eN.browse_button_active)}}}e3=null}}});eQ.bind("error runtimeerror",function(){eQ=null;e2()});eQ.init()}else{e2()}},function(e2){if(eN.drop_element){eR=new eI.FileDrop(eD.extend({},e0,{drop_zone:eN.drop_element}));eR.onready=function(){var e3=eI.Runtime.getInfo(this.ruid);eZ.features.dragdrop=e3.can("drag_and_drop");e1++;e2()};eR.ondrop=function(){eZ.addFile(this.files)};eR.bind("error runtimeerror",function(){eR=null;e2()});eR.init()}else{e2()}}],function(){if(typeof(eN.init)=="function"){eN.init(eZ)}else{eD.each(eN.init,function(e3,e2){eZ.bind(e2,e3)})}if(e1){eZ.trigger("PostInit")}else{eZ.trigger("Error",{code:eD.INIT_ERROR,message:eD.translate("Init error.")})}})}function eY(e0,eZ){if(e0.ruid){var e1=eI.Runtime.getInfo(e0.ruid);if(e1){return e1.can(eZ)}}return false}function eT(e1,e3,eZ){var e0=new eI.Image();try{e0.onload=function(){e0.downsize(e3.width,e3.height,e3.crop,e3.preserve_headers)};e0.onresize=function(){eZ(this.getAsBlob(e1.type,e3.quality));this.destroy()};e0.onerror=function(){eZ(e1)};e0.load(e1)}catch(e2){eZ(e1)}}eS=new eD.QueueProgress();eN=eD.extend({runtimes:eI.Runtime.order,max_retries:0,multipart:true,multi_selection:true,file_data_name:"file",flash_swf_url:"js/Moxie.swf",silverlight_xap_url:"js/Moxie.xap",send_chunk_number:true},eN);if(eN.resize){eN.resize=eD.extend({preserve_headers:true,crop:false},eN.resize)}if(eD.typeOf(eN.filters)==="array"){eN.filters={mime_types:eN.filters}}eN.filters=eD.extend({mime_types:[],prevent_duplicates:!!eN.prevent_duplicates,max_file_size:eN.max_file_size},eN.filters);eN.filters.max_file_size=eD.parseSize(eN.filters.max_file_size)||0;eN.chunk_size=eD.parseSize(eN.chunk_size)||0;eN.required_features=eU=T(eD.extend({},eN));eD.extend(this,{id:eD.guid(),state:eD.STOPPED,features:{},runtime:eI.Runtime.thatCan(eU,eN.runtimes),files:eK,settings:eN,total:eS,init:function(){var eZ=this;eN.browse_button=eI.get(eN.browse_button);eN.drop_element=eI.get(eN.drop_element);if(typeof(eN.preinit)=="function"){eN.preinit(eZ)}else{eD.each(eN.preinit,function(e1,e0){eZ.bind(e0,e1)})}if(!eN.browse_button||!eN.url){this.trigger("Error",{code:eD.INIT_ERROR,message:eD.translate("Init error.")});return}eZ.bind("FilesAdded",function(e1,e0){[].push.apply(eK,e0);eE(function(){eZ.trigger("QueueChanged");eZ.refresh()},1)});eZ.bind("CancelUpload",function(){if(eW){eW.abort()}});if(eN.unique_names){eZ.bind("BeforeUpload",function(e0,e1){var e3=e1.name.match(/\.([^.]+)$/),e2="part";if(e3){e2=e3[1]}e1.target_name=e1.id+"."+e2})}eZ.bind("UploadFile",function(e8,e5){var e2=e8.settings.url,e3=e8.features,e6=eN.chunk_size,e9=eN.max_retries,e0,e7=0;if(e5.loaded){e7=e5.loaded=e6*Math.floor(e5.loaded/e6)}function e4(){if(e9-->0){eE(e1,1)}else{e5.loaded=e7;e8.trigger("Error",{code:eD.HTTP_ERROR,message:eD.translate("HTTP Error."),file:e5,response:eW.responseText,status:eW.status,responseHeaders:eW.getAllResponseHeaders()})}}function e1(){var fc,fb,fa,fd;if(e5.status==eD.DONE||e5.status==eD.FAILED||e8.state==eD.STOPPED){return}fa={name:e5.target_name||e5.name};if(e6&&e3.chunks&&e0.size>e6){fd=Math.min(e6,e0.size-e7);fc=e0.slice(e7,e7+fd)}else{fd=e0.size;fc=e0}if(e6&&e3.chunks){if(eN.send_chunk_number){fa.chunk=Math.ceil(e7/e6);fa.chunks=Math.ceil(e0.size/e6)}else{fa.offset=e7;fa.total=e0.size}}else{fa.chunk=0;fa.chunks=1}eW=new eI.XMLHttpRequest();eW.withCredentials=true;if(eW.upload){eW.upload.onprogress=function(fe){e5.loaded=Math.min(e5.size,e7+fe.loaded);e8.trigger("UploadProgress",e5)}}eW.onload=function(){if(eW.status>=400){e4();return}if(fd=e0.size){if(e5.size!=e5.origSize){e0.destroy();e0=null}e8.trigger("UploadProgress",e5);e5.status=eD.DONE;e8.trigger("FileUploaded",e5,{response:eW.responseText,status:eW.status,responseHeaders:eW.getAllResponseHeaders()})}else{e9=eN.max_retries;eE(e1,1)}};eW.onerror=function(){e4()};eW.onloadend=function(){this.destroy();eW=null};if(e8.settings.multipart&&e3.multipart){fa.name=e5.target_name||e5.name;eW.open("post",e2,true);eD.each(e8.settings.headers,function(ff,fe){eW.setRequestHeader(fe,ff)});fb=new eI.FormData();eD.each(eD.extend(fa,e8.settings.multipart_params),function(ff,fe){fb.append(fe,ff)});fb.append(e8.settings.file_data_name,fc);eW.send(fb,{runtime_order:e8.settings.runtimes,required_caps:eU,swf_url:e8.settings.flash_swf_url,xap_url:e8.settings.silverlight_xap_url})}else{e2=eD.buildUrl(e8.settings.url,eD.extend(fa,e8.settings.multipart_params));eW.open("post",e2,true);eW.setRequestHeader("Content-Type","application/octet-stream");eD.each(e8.settings.headers,function(ff,fe){eW.setRequestHeader(fe,ff)});eW.send(fc,{runtime_order:e8.settings.runtimes,required_caps:eU,swf_url:e8.settings.flash_swf_url,xap_url:e8.settings.silverlight_xap_url})}}e0=e5.getSource();if(!eI.isEmptyObj(e8.settings.resize)&&eY(e0,"send_binary_string")&&!!~eI.inArray(e0.type,["image/jpeg","image/png"])){eT.call(this,e0,e8.settings.resize,function(fa){e0=fa;e5.size=fa.size;e1()})}else{e1()}});eZ.bind("UploadProgress",function(e0,e1){eV(e1)});eZ.bind("StateChanged",function(e0){if(e0.state==eD.STARTED){eM=(+new Date())}else{if(e0.state==eD.STOPPED){for(var e1=e0.files.length-1;e1>=0;e1--){if(e0.files[e1].status==eD.UPLOADING){e0.files[e1].status=eD.QUEUED;eO()}}}}});eZ.bind("QueueChanged",eO);eZ.bind("Error",function(e0,e1){if(e1.file){e1.file.status=eD.FAILED;eV(e1.file);if(e0.state==eD.STARTED){eE(function(){eL.call(eZ)},1)}}});eZ.bind("FileUploaded",function(){eO();eE(function(){eL.call(eZ)},1)});eZ.trigger("Init",{runtime:this.runtime});eJ.call(this)},refresh:function(){if(eQ){eQ.trigger("Refresh")}this.trigger("Refresh")},start:function(){if(this.state!=eD.STARTED){this.state=eD.STARTED;this.trigger("StateChanged");eL.call(this)}},stop:function(){if(this.state!=eD.STOPPED){this.state=eD.STOPPED;this.trigger("StateChanged");this.trigger("CancelUpload")}},disableBrowse:function(){eP=arguments[0]!==eF?arguments[0]:true;if(eQ){eQ.disable(eP)}this.trigger("DisableBrowse",eP)},getFile:function(e0){var eZ;for(eZ=eK.length-1;eZ>=0;eZ--){if(eK[eZ].id===e0){return eK[eZ]}}},addFile:function(e0,e1){var e6=this,e3=[],eZ=[],e5;function e2(){var e8=eR||eQ;if(e8){return e8.getRuntime().uid}return false}function e4(fa,e9){var e8=[];eI.each(e6.settings.filters,function(fc,fb){if(eH[fb]){e8.push(function(fd){eH[fb].call(e6,fc,fa,function(fe){fd(!fe)})})}});eI.inSeries(e8,e9)}function e7(e8){var e9=eI.typeOf(e8);if(e8 instanceof eI.File){if(!e8.ruid&&!e8.isDetached()){if(!e5){return false}e8.ruid=e5;e8.connectRuntime(e5)}e7(new eD.File(e8))}else{if(e8 instanceof eI.Blob){e7(e8.getSource());e8.destroy()}else{if(e8 instanceof eD.File){if(e1){e8.name=e1}e3.push(function(fa){e4(e8,function(fb){if(!fb){eZ.push(e8)}fa()})})}else{if(eI.inArray(e9,["file","blob"])!==-1){e7(new eI.File(null,e8))}else{if(e9==="node"&&eI.typeOf(e8.files)==="filelist"){eI.each(e8.files,e7)}else{if(e9==="array"){e1=null;eI.each(e8,e7)}}}}}}}e5=e2();e7(e0);if(e3.length){eI.inSeries(e3,function(){if(eZ.length){e6.trigger("FilesAdded",eZ)}})}},removeFile:function(e0){var e1=typeof(e0)==="string"?e0:e0.id;for(var eZ=eK.length-1;eZ>=0;eZ--){if(eK[eZ].id===e1){return this.splice(eZ,1)[0]}}},splice:function(e1,eZ){var e0=eK.splice(e1===eF?0:e1,eZ===eF?eK.length:eZ);this.trigger("FilesRemoved",e0);this.trigger("QueueChanged");eD.each(e0,function(e2){e2.destroy()});return e0},trigger:function(e0){var e2=eX[e0.toLowerCase()],e1,eZ;if(e2){eZ=Array.prototype.slice.call(arguments);eZ[0]=this;for(e1=0;e1=0;e0--){if(e2[e0].func===e1){e2.splice(e0,1);break}}}else{e2=[]}if(!e2.length){delete eX[eZ]}}},unbindAll:function(){var eZ=this;eD.each(eX,function(e1,e0){eZ.unbind(e0)})},destroy:function(){this.stop();eD.each(eK,function(eZ){eZ.destroy()});eK=[];if(eQ){eQ.destroy();eQ=null}if(eR){eR.destroy();eR=null}eU={};eM=eS=eP=eW=null;this.trigger("Destroy");this.unbindAll();eX={}}})};eD.File=(function(){var eK={};function eJ(eL){eD.extend(this,{id:eD.guid(),name:eL.name||eL.fileName,type:eL.type||"",size:eL.size||eL.fileSize,origSize:eL.size||eL.fileSize,loaded:0,percent:0,status:eD.QUEUED,lastModifiedDate:eL.lastModifiedDate||(new Date()).toLocaleString(),getNative:function(){var eM=this.getSource().getSource();return eI.inArray(eI.typeOf(eM),["blob","file"])!==-1?eM:null},getSource:function(){if(!eK[this.id]){return null}return eK[this.id]},destroy:function(){var eM=this.getSource();if(eM){eM.destroy();delete eK[this.id]}}});eK[this.id]=eL}return eJ}());eD.QueueProgress=function(){var eJ=this;eJ.size=0;eJ.loaded=0;eJ.uploaded=0;eJ.failed=0;eJ.queued=0;eJ.percent=0;eJ.bytesPerSec=0;eJ.reset=function(){eJ.size=eJ.loaded=eJ.uploaded=eJ.failed=eJ.queued=eJ.percent=eJ.bytesPerSec=0}};eG.plupload=eD}(window,mOxie));var d5,ai,cA,dm,cd,dx,a5,bn=[].indexOf||function(eE){for(var eD=0,T=this.length;eD .moxie-shim").each(function(eH){if(eH.observe){dz.freshbutton_overlay(eH,$("choose-button"));return dz.freshbutton_overlay(eH,$("add-button"))}});return ai.clear()},init_basic:function(){dz.freshbutton_overlay($("file-box"),$("basic-choose-button"));$("file-box").observe("click",function(T){return document.fire(cd.CHOOSE_FILE_BASIC)});$("basic-choose-button").observe("mousemove",function(eE){var eD,T,eF;eD=$("modal").cumulativeOffset();eF=eE.clientY-eD.top-3;T=eE.clientX-eD.left-$("file-box").getWidth()+3;return $("file-box").setStyle({top:eF+"px",left:T+"px"})});return $("file-box").observe("change",function(){var eG,eE,eH,eF,T,eD;ex.hide=function(){};$("modal-x").hide();$("basic-upload-desc").hide();$("basic-upload-buttons").hide();$("file-box").hide();eE=$("file-box").getValue().split("\\").pop();eF=b9.make("web",ao.file_icon(eE));$("basic-upload-status").down(".icon").__date(eF);eG=d1("Uploading %(filename)s").format({filename:bw.em_snippet(eE,25)});$("basic-upload-status").down(".file-desc").__date(eG);$("basic-upload-status").show();$("basic-uploading-message").show();eH=$("file-box").files;eD=0;if(eH){T=eH[0].lastModifiedDate;if(T){eD=Math.round(Date.parse(T)/1000)||0}}if(!eD){eD=Math.round(Date.parse(new Date)/1000)}$("mtime-utc").value=eD;return $("basic-upload-form").submit()})},initPLU:function(eD,T){return(function(eE){return function(){var eG,eF;eG={url:"https://"+Constants.BLOCK_CLUSTER+"/chunked_upload",file_data_name:"file",runtimes:eE.runtimes,multipart_params:{},multipart:false,max_file_size:"10000mb",chunk_size:"8mb",max_retries:2,browse_button:eE.choose_button_id,container:"flash-upload-container",preinit:{PostInit:function(){if(eD){eD()}return eE.uploaderLoaded()},Error:eE.uploadError.bind(eE)},init:{FilesAdded:eE.fileQueued.bind(eE),UploadProgress:eE.uploadProgress.bind(eE),FileUploaded:eE.uploadSuccess.bind(eE),BeforeUpload:eE.prepareFileForUploading.bind(eE),ChunkUploaded:eE.chunkUploaded.bind(eE),UploadComplete:ai.finished.bind(ai),Refresh:function(){if(eE.PLU.runtime==="flash"&&$("upload-running-buttons").visible()){bi("#flash-upload-container").clonePosition(bi("#add-button"));bi("#flash-upload-container > .moxie-shim")[0].style.width="100%";return bi("#flash-upload-container > .moxie-shim")[0].style.height="100%"}}},flash_swf_url:Constants.static_url_moxie_swf};if(T!=null){bi.extend(eG,T)}eF=new plupload.Uploader(eG);eE.PLU=eF;return eE.PLU.init()}})(this)},reset:function(){if(ai.uploading&&ai.current_file){this.PLU.removeFile(ai.current_file)}return cA.hide()},show_upload:function(){$("upload-desc").hide();$("dnd-upload-desc").hide();$("upload-files-list").show();$("upload-start-buttons").hide();$("upload-running-buttons").show();$("hide-button").show();$("done-button").hide();if(!$("modal-overlay").visible()){return cA.show()}},updatePostParams:function(eE){var eD,T;T=this.PLU.settings.multipart_params;for(eD in eE){if(eE.hasOwnProperty(eD)){T[eD]=eE[eD]}}return this.PLU.settings.multipart_params=T},fileQueued:function(eD,eH){var eG,eF,T,eE;for(eF=0,T=eH.length;eFlearn more.'),response:"",responseHeaders:"",status:400};this.uploadError(this.PLU,eE);return false}eF={dest:ai.next().dest,t:bb.read(Constants.JS_CSRF_COOKIE)};eF[Constants.UID_PARAM_NAME]=b5.active_user;cd.updatePostParams(eF);this.PLU.start();ai.last_update_time=0;ai.last_update_size=0;return true},pause:function(){return cd.PLU.stop()},uploadProgress:function(eD,T){if(!ai.cancelled_files[T.id]){document.fire(this.UPDATE_EVT,{file:T,percent_complete:T.loaded/T.size});return bi(document).trigger(this.UPDATE_EVT,{file:T,percent_complete:T.loaded/T.size})}},generateUploadId:function(){var T,eD,eF,eE;T="";for(eD=eE=0;eE<=15;eD=++eE){T+=String.fromCharCode(Math.floor(Math.random()*256))}eF=ad.encode(T);eF=eF.replace(/\+/g,"-");eF=eF.replace(/\//g,"_");eF=eF.replace(/\=*$/,"");return eF},chunkUploaded:function(eD,eE,eF){var T;T=JSON.parse(eF.response||"");return this.updatePostParams({offset:T.offset})},prepareFileForUploading:function(){var T;T=ai.next();return this.updatePostParams({reported_total_size:T.size,dest:T.dest,t:bb.read(Constants.JS_CSRF_COOKIE),upload_id:this.generateUploadId(),offset:0})},uploadSuccess:function(eG,eF,eE){var eD,T;try{T=JSON.parse(eE.response)}catch(eH){eD=eH;T=null}if(eE.response==="{'error': 'quota'}"){document.fire(this.ERROR_EVT,{file:eF,message:d1("Quota exceeded"),tooltip_text:d1("Your upload failed because you are over quota.")});return bi(document).trigger(this.ERROR_EVT,{file:eF,message:d1("Quota exceeded"),tooltip_text:d1("Your upload failed because you are over quota.")})}else{if(eE.response==="{'error': 'empty'}"){document.fire(this.CANCEL_EVT,{file:eF,message:d1("Empty File")});return bi(document).trigger(this.CANCEL_EVT,{file:eF,message:d1("Empty File")})}else{if(eE.response==="{'error': 'ignored'}"){document.fire(this.CANCEL_EVT,{file:eF,message:d1("File Ignored")});return bi(document).trigger(this.CANCEL_EVT,{file:eF,message:d1("File Ignored")})}else{if((T!=null?T.status:void 0)==="complete"){document.fire(this.COMPLETE_EVT,{file:eF});return bi(document).trigger(this.COMPLETE_EVT,{file:eF})}else{document.fire(this.ERROR_EVT,{file:eF});return bi(document).trigger(this.ERROR_EVT,{file:eF})}}}}},uploadComplete:function(eD,T){document.fire(this.COMPLETE_EVT,{file:T});return bi(document).trigger(this.COMPLETE_EVT,{file:T})},uploadError:function(eG,T){var eF,eD,eE;if((eE=T.file.id,bn.call(ai.file_ids(),eE)<0)&&T.code!==cd.APPLE_PACKAGE_ERROR){document.fire(this.QUEUE_EVT,{files:[T.file]});bi(document).trigger(this.QUEUE_EVT,{files:[T.file]})}eD=(function(){switch(T.code){case plupload.FILE_SIZE_ERROR:return d1("File too large");default:return d1("Upload Error")}})();this.show_upload();eF={file:T.file,error_code:T.code,message:eD};if(T!=null?T.tooltip_text:void 0){eF.tooltip_text=T.tooltip_text}document.fire(this.ERROR_EVT,eF);return bi(document).trigger(this.ERROR_EVT,eF)},grabURL:function(){var T;T=$F("file-box");if(/(^http|^https|^ftp):\/\//.match(T)){$("url").value=T}return true},treeview_handler:function(eD,T){var eE;cY.fillVal(eD,"dest-folder");eE=$("basic-uploader-url");if(eE){eE.href=eE.href.replace(/(\/upload)(.*)(\?basic=1)/,function(eH,eG,eI,eF){return eG+dz.urlquote(eD)+eF})}return ai.clear()},new_folder:function(){bF.hide();ex.show(d1("Create new folder..."),cY.fromElm("create-folder"),{action:this.do_new_folder.bind(this,b5.active_user),wit_group:"new-folder-confirm"});if(!dz.ie){return bi("#first-treeview-link").trigger("click")}},do_new_folder:function(T){var eE,eD;if(!ex.vars.selected_path){Z.error(d1("Please select a parent folder."));return}eD=$F("entered-name");eE=ex.vars.selected_path;return new Ajax.DBRequest("/cmd/new"+dz.urlquote(eE)+"?to_path="+dz.urlquote(eD),{subject_user:T,onSuccess:(function(eF){return function(eG){eF.treeview_handler(ao.normalize(eE)+"/"+eD);return bF.schedule_reset()}})(this),cleanUp:function(){}})},uploaderLoaded:function(){$("upload-loading").hide();$("choose-button").show();if(cd.PLU.runtime==="flash"){bi("#flash-upload-container").clonePosition(bi("#choose-button"));bi("#flash-upload-container > .moxie-shim")[0].style.top="0px";bi("#flash-upload-container > .moxie-shim")[0].style.left="0px";bi("#flash-upload-container > .moxie-shim")[0].style.width="100%";return bi("#flash-upload-container > .moxie-shim")[0].style.height="100%"}else{bi("#"+this.choose_button_id).click((function(T){return function(eD){return bi("#"+T.PLU.id+"_html5").click()}})(this));return bi("#add-button").click((function(T){return function(eD){return bi("#choose-button").click()}})(this))}}};ai=B.FileQueue={init:function(){return ai._listen()},_listen:function(){document.observe(cd.QUEUE_EVT,ai._file_queued.bind(this));document.observe(cd.QUEUE_ERROR_EVT,ai._file_queue_errored.bind(this));document.observe(cd.UPDATE_EVT,ai._file_updated.bind(this));document.observe(cd.COMPLETE_EVT,ai._file_completed.bind(this));document.observe(cd.ERROR_EVT,ai._file_errored.bind(this));return document.observe(cd.CANCEL_EVT,ai._file_cancelled.bind(this))},_file_queued:function(eH){var eE,eG,eD,eF,T;eF=eH.memo.files;T=[];for(eG=0,eD=eF.length;eGbasic uploader to upload via the website.');bi(document).on("click","a#basic_link",function(){c7.show_basic_upload();return false})}eH.down(".error-msg").__date(eE);eF=eH.down(".error-details");eF.observe("mouseover",function(){return dN.show(eF,T)});return eH.down(".error-col").show()},_file_cancelled:function(eD){var T,eE;T=eD.memo.file;eE=$(T.id);eE.addClassName("cancelled");eE.down(".dest-col").__date(d1(eD.memo.message||"Canceled"));eE.down(".time-col").__date();eE.down(".status-col").__date(b9.make("web","cancelsync"));return eE.down(".upload-progress-bar").setStyle({width:"100%"})}};d5=B.BulkUpload={init:function(){this.elem=$("bulk-upload-status");return d5._listen()},_listen:function(){document.observe(cd.QUEUE_EVT,d5._file_queued.bind(this));return document.observe(cd.UPDATE_EVT,d5._file_updated.bind(this))},_file_queued:function(eD){var T;T=new Element("a",{"class":"small-x-button"});T.observe("click",function(){var eG,eI,eH,eF,eE;ai.all_cancelled=true;eG=ai.file_ids().slice(0);eE=[];for(eH=0,eF=eG.length;eH1){this.elem.removeClassName("error");this.elem.removeClassName("complete");this.elem.removeClassName("cancelled");eE=aT("%d file","%d files",ai.num_non_cancelled_files()).format(ai.num_non_cancelled_files());this.elem.down(".num-files").__date(eE);eD=d1("- %(size)s").format({size:au.format_bytes(cd.PLU.total.size)});this.elem.down(".size").__date(eD);if(ai.formatted_time){T=d1("%(time_left)s left").format({time_left:ai.formatted_time});this.elem.down(".time-left").__date(T)}this.elem.down(".upload-progress-bar").style.width=Math.min(100,(ai.totalPercentage()*100||0).toFixed(2))+"%";this.elem.show();if(cd.PLU.runtime==="flash"){return bi("#flash-upload-container").clonePosition(bi("#add-button"))}}},update_errors:function(){var T;T=aT("- %d error","- %d errors",ai.errors()).format(ai.errors());return $("bulk-upload-status").down(".num-errors").__date(T)},completed:function(){var eD,T;$("hide-button").hide();$("done-button").show();if(ai.num_files()>1){this.elem.addClassName("complete");eD=aT("Uploaded %d file","Uploaded %d files",ai.num_non_cancelled_files()).format(ai.num_non_cancelled_files());this.elem.down(".num-files").__date(eD);T=d1("- %(size)s").format({size:au.format_bytes(ai.completed_size())});this.elem.down(".size").__date(T);this.elem.down(".num-errors").__date();this.elem.down(".time-left").__date();this.elem.down(".status").__date(b9.make("web","s_check"));return this.elem.down(".upload-progress-bar").style.width="100%"}},errored:function(){var T;$("hide-button").hide();$("done-button").show();this.completed();T=aT("- %d error","- %d errors",ai.errors()).format(ai.errors());return this.elem.down(".num-errors").__date(T)},cancelled:function(){$("hide-button").hide();$("done-button").show();if(ai.num_files()>1){this.elem.addClassName("cancelled");this.elem.down(".num-files").__date(d1("All uploads canceled"));this.elem.down(".size").__date();this.elem.down(".num-errors").__date();this.elem.down(".time-left").__date();this.elem.down(".status").__date(b9.make("web","cancelsync"));return this.elem.down(".upload-progress-bar").style.width="100%"}}};cA=B.InlineUploadStatus={FILENAME_SNIPPET_LENGTH:30,init:function(){return this._listen()},_listen:function(){document.observe(cd.QUEUE_EVT,cA._file_queued.bind(this));return document.observe(cd.UPDATE_EVT,cA._file_updated.bind(this))},_file_queued:function(eE){var eD,T;eD=$("inline-upload-status");eD.removeClassName("error");eD.removeClassName("complete");eD.down(".icon").__date(b9.make("web","s_sync"));eD.down(".file-desc").__date(d1("Starting upload..."));eD.down(".num-errors").__date();T=aT("%d file","%d files",ai.num_left()).format(ai.num_left());eD.down(".view-details").__date(T);eD.down(".status").__date();return eD.down(".inline-upload-progress").style.width="0%"},_file_updated:function(eI){var eH,eE,eF,eG,eD,T;eH=$("inline-upload-status");eE=eI.memo.file;eH.down(".icon").__date(b9.make("web","s_sync"));eF=d1("Uploading %(filename)s").format({filename:bw.em_snippet(eE.name,this.FILENAME_SNIPPET_LENGTH)});eH.down(".file-desc").__date(eF);if(ai.num_left()>1){T=aT("%d file left","%d files left",ai.num_left()-1).format(ai.num_left()-1);eH.down(".view-details").__date(T)}else{eH.down(".view-details").__date(d1("View details"))}if(ai.formatted_time){eD=d1("%(time_left)s left").format({time_left:ai.formatted_time});eH.down(".status").__date(eD)}eG=eE.percent+"%";return eH.down(".inline-upload-progress").style.width=eG},update_errors:function(){var T,eD;T=$("inline-upload-status");eD=aT("- %d error","- %d errors",ai.errors()).format(ai.errors());return T.down(".num-errors").__date(eD)},add_x_button:function(){var T,eD;eD=new Element("a",{"class":"small-x-button"});eD.observe("click",function(){cA.hide();return cd.reset()});T=$("inline-upload-status");return T.down(".status").__date(eD)},completed:function(){var eD,T;eD=$("inline-upload-status");eD.addClassName("complete");eD.removeClassName("error");eD.down(".icon").__date(b9.make("web","s_check"));if(ai.num_files()>1){T=d1("Uploaded %(num_files)d files").format({num_files:ai.num_non_cancelled_files()})}else{T=d1("Uploaded %(filename)s").format({filename:bw.em_snippet(ai.current_file.name,this.FILENAME_SNIPPET_LENGTH)})}eD.down(".file-desc").__date(T);eD.down(".num-errors").__date();eD.down(".view-details").__date(d1("View details"));this.add_x_button();return eD.down(".inline-upload-progress").style.width="100%"},errored:function(){var eE,eD,T,eF;eE=$("inline-upload-status");eE.addClassName("error");eE.removeClassName("complete");eE.down(".icon").__date(b9.make("web","nosync"));eD=void 0;if(ai.num_files()>1){eD=d1("Uploaded %(num_completed)d of %(num_files)d files").format({num_completed:ai.num_non_cancelled_files()-ai.errors(),num_files:ai.num_non_cancelled_files()});eE.down(".file-desc").__date(eD);eF=aT("- %d error","- %d errors",ai.errors()).format(ai.errors());eE.down(".num-errors").__date(eF)}else{if(ai.current_file!=null){T=bw.em_snippet(ai.current_file.name,this.FILENAME_SNIPPET_LENGTH)}eD=T?d1("Unable to upload %(filename)s").format({filename:T}):d1("Unable to upload file");eE.down(".file-desc").__date(eD);eE.down(".num-errors").__date()}eE.down(".view-details").__date(d1("View details"));this.add_x_button();return eE.down(".inline-upload-progress").style.width="100%"},show:function(T){return $("inline-upload-status").show()},hide:function(){return $("inline-upload-status").hide()}};a5=B.UploadPrep={_drop_indicators:false,_drop_dest_folder:null,file_counter:0,current_req:null,_notifications_cleared:false,supported:function(){return Prototype.BrowserFeatures.DB_CORS},enabled:function(){return a5.supported()&&b5.inside_dir&&!(b5.in_search_mode()&&bM.fulltext_search_enabled)},browse_indicators_enabled:function(){var eF,eD,eE,T;if(!a5.enabled()){return false}eD=["file-preview-modal","modal-overlay"];if(cd.choose_button_id.startsWith("wizard-")){eD.push("wizard-overlay")}for(eE=0,T=eD.length;eE0},_show_border_drop_indicators:function(){return $$(".external-drop-indicator").each(function(T){return bi(T).css("opacity",0).fadeTo(500,0.6)})},_hide_border_drop_indicators:function(){return $$(".external-drop-indicator").invoke("hide")},show_drop_indicators:function(eD){var T;if(!a5._drop_indicators){if(a5.modal_indicators_enabled()){T=$("upload-modal-dropzone");bi(T).clonePosition(bi("#modal"),{setLeft:false,setTop:false});bi(T).fadeIn(500);a5._show_border_drop_indicators()}else{if(a5.browse_indicators_enabled()){bt._add_drop_indicators(eD)}else{return}}$("drag-status").removeClassName("active");return a5._drop_indicators=true}},hide_drop_indicators:function(){if(a5._drop_indicators){a5._hide_border_drop_indicators();bt._remove_drop_indicators();if(!a5._notifications_cleared){Z.clear()}$("upload-modal-dropzone").hide();$("drag-status").addClassName("active");setTimeout((function(){a5._drop_indicators=false;a5._drop_dest_folder=null;return a5._notifications_cleared=false}),500)}return a5._notifications_cleared=true},folder_dragover:function(T){var eD;if(a5.browse_indicators_enabled()&&a5._drop_indicators){if(dm.disabled){if(a5._drop_dest_folder==null){eD=d1("You can't upload files because you're out of space.");Z.error(eD,60);a5._notifications_cleared=false;a5._show_border_drop_indicators()}}else{if(T!==a5._drop_dest_folder){if(T===b5.containing_fq_path()){if(b5.inside_read_only_shared_folder){eD=d1("You don't have permission to add to this folder.");Z.error(eD,60)}else{eD=d1("Drop your file to %(upload_action)s",{comment:"upload_action is a phrase like 'upload to folder 'XYZ'"}).format({upload_action:c7.upload_plain_snippet()});Z.success(new eA(eD),60);a5._show_border_drop_indicators()}a5._notifications_cleared=false}else{Z.clear();a5._hide_border_drop_indicators()}}}return a5._drop_dest_folder=T}},supports_recursive_upload:function(T){var eD;return window.File&&window.FileReader&&window.FileList&&window.Blob&&(T!=null?(eD=T[0])!=null?eD.webkitGetAsEntry:void 0:void 0)},upload:function(eE,eG,eD){var eF,eI,eH,T;if(eD==null){eD=null}if(b5.inside_read_only_shared_folder){return}if(dm.disabled){eI=d1("You can't upload files because you're out of space.");return Z.error(eI)}else{if(a5.supports_recursive_upload(eD)){return a5._recursive_upload(eE,eD)}else{for(eH=0,T=eG.length;eH advanced uploader instead.').format({name:eT.name});Z.error(new eA(eS));return bi("#use-advanced-uploader").on("click",function(eU){eU.preventDefault();return c7.show_upload()})};eP=3000;eI=0;eE=function(){var eR;while(eH.length){eM=eH.pop();if(eM!==null){if(eM.isDirectory){(function(eT){var eS;eS=eT.createReader();eF+=1;return eS.readEntries(function(eU){var eX,eW,eV;if(eU.length!==0){for(eW=0,eV=eU.length;eWeP&&!eI){eI=1;Z.error(d1("The Dropbox website can't upload more than %(max_files)s files.").format({max_files:eP}));return}if(eF||eQ){return eE.defer()}else{if(eD.length){return a5._upload(eD)}}};return eE()},_upload:function(eF,eD){var T,eE;if(eD==null){eD=null}if(eD){T=this._parse_upload_items(eD)}eE=function(){var eI,eK,eH,eJ,eG;eG=[];for(eK=0,eH=eF.length;eK-1&&(T!=null?(eJ=T[eI.name])!=null?eJ.isDirectory:void 0:void 0)){eI.is_directory=true}eI.id=plupload.guid();eG.push(cd.PLU.addFile(eI))}return eG};if($("modal").visible()){return eE()}else{c7.show_upload(eE);return ex.hide(null,true)}},_parse_upload_items:function(eD){var eE,eF,eG,T;eE={};for(eG=0,T=eD.length;eG%(items)s from your Dropbox?").format({items:ao.filename(eE).escapeHTML()}),confirm_text:d1("Delete"),cancel_text:d1("Cancel"),confirm_callback:(function(eG){return function(){if(eD){return c7.do_nonbrowse_delete(T,[eE])}else{return c7.do_delete(T,eE)}}})(this)})},show_bulk_delete:function(T,eD){return dg.show({title_text:aT("Delete %(item_count)s item?","Delete %(item_count)s items?",eD.length).format({item_count:eD.length}),body_html:aT("Are you sure you want to delete %(item_count)s item from your Dropbox?","Are you sure you want to delete %(item_count)s items from your Dropbox?",eD.length).format({item_count:eD.length}),confirm_text:d1("Delete"),cancel_text:d1("Cancel"),confirm_callback:(function(eE){return function(){return c7.do_bulk_delete(T,eD)}})(this)})},show_purge:function(T,eD){return dg.show({title_text:eD?d1("Permanently delete folder?"):d1("Permanently delete file?"),body_html:d1("Are you sure you want to permanently delete %(items)s from your Dropbox?").format({items:ao.filename(T).escapeHTML()}),confirm_text:d1("Permanently delete"),cancel_text:d1("Cancel"),confirm_callback:(function(eE){return function(){return c7.do_purge(b5.find_file(T))}})(this)})},show_bulk_purge:function(T){return dg.show({title_text:aT("Permanently delete %d item?","Permanently delete %d items?",T.length).format(T.length),body_html:aT("Are you sure you want to permanently delete %(item_count)s item from your Dropbox?","Are you sure you want to permanently delete %(item_count)s items from your Dropbox?",T.length).format({item_count:T.length}),confirm_text:d1("Permanently delete"),cancel_text:d1("Cancel"),confirm_callback:(function(eD){return function(){return c7.do_bulk_purge(T)}})(this)})},show_bulk_restore:function(eD,T){return dg.show({title_text:aT("Restore %d item...","Restore %d items...",eD.length).format(eD.length),body_html:aT("Are you sure you want to restore %(item_count)s item?","Are you sure you want to restore %(item_count)s items?",eD.length).format({item_count:eD.length}),confirm_text:d1("Restore"),cancel_text:d1("Cancel"),confirm_callback:(function(eE){return function(){return c7.do_bulk_restore(eD)}})(this)})},wrap_strong:function(T){if(b5.containing_fq_path()===""){return T.escapeHTML()}else{return""+T.escapeHTML()+""}},upload_snippet:function(eE){var T,eD;if(eE==null){eE=1000}if(cn.get_viewer().is_paired&&b5.active_user.is_team){eD=bw.em_snippet(cn.get_viewer().team_name,eE).escapeHTML()}if(b5.containing_fq_path()===""){if(cn.get_viewer().is_paired){if(b5.active_user.is_team){return d1(" upload to your %(team_name)s Dropbox",{comment:"Used after the string 'drop your file to...' or 'choose a file to...'"}).format({team_name:eD})}else{return d1(" upload to your personal Dropbox",{comment:"Used after the string 'drop your file to...' or 'choose a file to...'"})}}else{return d1(" upload to your Dropbox")}}else{T=bw.em_snippet(ao.filename(b5.containing_fq_path()),eE).escapeHTML();if(cn.get_viewer().is_paired){if(b5.active_user.is_team){return d1(" upload to the folder %(folder)s in your %(team_name)s Dropbox",{comment:"Used after the string 'drop your file to...' or 'choose a file to...'"}).format({folder:T,team_name:eD})}else{return d1(" upload to the folder %(folder)s in your personal Dropbox",{comment:"Used after the string 'drop your file to...' or 'choose a file to...'"}).format({folder:T})}}else{return d1(" upload to the folder %(folder)s",{comment:"Used after the string 'drop your file to...' or 'choose a file to...'"}).format({folder:T})}}},upload_short_snippet:function(eE){var eD,T;if(eE==null){eE=1000}T=b5.containing_fq_path();if(!T){return d1("Upload to Dropbox",{comment:"Upload a file to the root Dropbox folder"})}eD=bw.em_snippet(ao.filename(T),eE);return d1("Upload to '%(folder_name)s'",{comment:"Upload a file to some folder on the website"}).format({folder_name:eD})},upload_plain_snippet:function(T){if(T==null){T=1000}return this.upload_snippet(T).replace("","'").replace("","'")},show_upload:function(eK,T,eH){var eE,eI,eD,eF,eJ,eG;eE=b5.containing_fq_path();if(dm.disabled){cY.fillVal(this.wrap_strong(ao.filename(eE)),"disabled-upload-foldername");eD=this.upload_short_snippet(20);ex.show(eD,$("disabled-upload-modal"),{},false);return}bi(document).trigger(this.SHOW_UPLOAD_EVT,{source:T,has_callback:eK!=null});if((!FlashDetect.versionAtLeast(9))&&cd.runtimes==="flash"){c7.show_basic_upload();$("enhanced-upload-toggle").hide();return}cY.fillVal(this.upload_snippet(20),"upload-foldername");cY.fillVal(this.upload_plain_snippet(10),"dnd-upload-foldername");if($("upload-desc").visible()&&a5.supported()){$("upload-desc").hide();$("dnd-upload-desc").show()}eD=this.upload_short_snippet(20);ex.show(eD,cY.fromElm("advanced-upload-modal"),{wit_group:"advanced-uploader"},false,false,ai.num_files());eG=[$("modal").down(".basic-link-start"),$("modal").down(".basic-link-running")];for(eF=0,eJ=eG.length;eF0,"Tried to copy 0 files");if(typeof eD==="undefined"){if(typeof ex.vars.selected_path==="undefined"){Z.error(d1("You need to select a destination for the file."));return}else{eD=ex.vars.selected_path}}eD=ao.normalize(eD);eE=0;for(eI=0,T=eH.length;eI%(location)s'.","Copied %(count)d items to '%(location)s'.",eP);eL=eL.format({count:eP,location:eR});R.notifyWithUndo(new eA(eL),eM,c7.do_rollback);eJ=[];eO=eQ.responseText.evalJSON().new_browse_files;for(eN=0,eK=eO.length;eN0&&eJ&&eJ!==Constants.root_ns){if(eG.sandboxes>0){if(eL.is_sandbox()){return d1("You're not allowed to put an application folder inside another application folder.")}else{if(eL.is_shared_folder()){return d1("You're not allowed to put an application folder inside a shared folder.")}}}else{if(eG.shared_folders>0){if(eL.is_sandbox()){return d1("You're not allowed to put a shared folder inside an application folder.")}else{if(eL.is_shared_folder()){return d1("You're not allowed to put a shared folder inside another shared folder.")}}}}return d1("You're not allowed to nest special folders.")}if(b5.public_folder_enabled){if(eE==="/Public"&&eG.target_namespaces>0){return d1("You're not allowed to move shared folders to your Public folder.")}}if(eG.public_folder>0){return d1("You're not allowed to move your Public folder.")}if(eG.deleted>0){return d1("Moving deleted folders or files is not allowed.")}},do_move:function(eE,eD){var T;eE=eE||ex.vars.fq_path;eD=eD||ex.vars.selected_path;T=b5.find_file(eE);cm(T,"Trying to move a file we couldn't find.");return c7.do_bulk_move([T],eD)},do_bulk_move:function(eG,eH){var eE,eF,T,eD;b5.pre_action_selection=em.get_selected_fq_paths();eG=eG||ex.vars.files;if(!eG){return}cm(eG.length>0,"Tried to move 0 files");T=eH||ex.vars.selected_path||"";T=ao.normalize(T);eE=c7.bulk_move_error(eG,T);if(eE){Z.error(eE);return}eF=eG.pluck("fq_path");Z.clear();eD="/cmd/move";return new Ajax.DBRequest(eD,{parameters:{files:eF,to_path:T},subject_user:b5.active_user,job:true,html_in_error_msg:true,progress_text:d1("Moving..."),onSuccess:function(eL){var eK,eJ,eI,eM;eK=eL.responseText.evalJSON().changesets;eJ=eF.length;eI=bw.em_snippet(ao.filename(T),c7.NOTIFICATION_SNIPPET_LEN).escapeHTML();eM=aT("Moved %(count)d item to '%(location)s'.","Moved %(count)d items to '%(location)s'.",eJ);eM=eM.format({count:eJ,location:eI});R.notifyWithUndo(new eA(eM),eK,c7.do_rollback);$("reload-link").observe("click",function(){return aP.set_path_url(null,T)});bF.schedule_reset();return document.fire(aw.MOVE,{files:eG,to_fq_path:T})}})},do_rollback:function(T){return new Ajax.DBRequest("/cmd/rollback",{parameters:{ns_to_cs:JSON.stringify(T)},subject_user:b5.active_user,job:true,html_in_error_msg:true,progress_text:d1("Undoing..."),onSuccess:function(eD){var eE;eE=d1("Undo complete.");Z.success(eE);cm(b5.pre_action_selection instanceof Array,"Expected a selection from before the action to be undone");if(b5.in_search_mode()){bM.select_fq_paths=b5.pre_action_selection;bM.force_reload()}else{if(ay.shown){b5.select_fq_paths=b5.pre_action_selection}else{b5.select_fq_paths=b5.pre_action_selection;b5.force_reload()}}return b5.pre_action_selection=false}})},do_bulk_delete:function(T,eF){var eD,eE;b5.pre_action_selection=em.get_selected_fq_paths();eF=eF||ex.vars.files;cm(eF.length>0,"Tried to delete 0 files");eE=(function(){var eI,eH,eG;eG=[];for(eI=0,eH=eF.length;eI0,"Tried to purge 0 files");T=eD.collect(function(eF){return eF.fq_path});eE=aT("Permanently deleted %d item","Permanently deleted %d items",T.length).format(T.length);return new Ajax.DBRequest("/cmd/purge",{parameters:{files:T},subject_user:b5.active_user,job:true,html_in_error_msg:true,progress_text:d1("Deleting..."),onSuccess:function(eF){Z.success(eE);bF.schedule_reset();return document.fire(aw.PURGE,{files:eD})}})},do_bulk_restore:function(eE){var eD,eF,T;eE=eE||ex.vars.files;T=ex.vars.user;cm(eE.length>0,"Tried to restore 0 files");eD=eE.collect(function(eG){return eG.fq_path});eF=aT("Restored %d item","Restored %d items",eD.length,{comment:"meaning, successfully restored x files and folders"}).format(eD.length);return new Ajax.DBRequest("/cmd/restore",{parameters:{files:eD},subject_user:b5.active_user,job:true,html_in_error_msg:true,progress_text:d1("Restoring..."),onSuccess:function(eG){Z.success(eF);bF.schedule_reset();return document.fire(aw.RESTORE,{files:eE})}})},do_folder_restore:function(eD,T){var eE;eE=function(eF){var eH,eG;eH=d1("Restoring '%(folder_name)s'").format({folder_name:ao.filename(eD)});eG=eF.responseText;if(eG.startsWith("err:")){eG=eG.substring(4);bi("#async-result").html(eG);Z.error(new eA(eG),60)}else{eH=d1("Restored '%(folder_name)s'").format({folder_name:ao.filename(eD)});bi("#status-of-files").text(d1("Restored files"));Z.success(eH,60)}bi("#restore-done-heading").text(eH);bi(".pre-restore").hide();return bi(".post-restore").show()};return new Ajax.DBRequest("/cmd/restore",{parameters:{files:[eD]},job:true,html_in_error_msg:true,progress_text:d1("Restoring..."),onSuccess:eE,onFailure:eE,subject_user:T})},do_bulk_download:function(eE){var eG,eD,eF,T;eG=new Element("form",{action:D({scheme:"https",authority:Constants.BLOCK_CLUSTER,path:"/zip_batch"}).updateQuery(Constants.UID_PARAM_NAME,b5.active_user.id).toString(),method:"post"});for(eF=0,T=eE.length;eF0){return eG.style.width=eD+"px"}}};var aV;aV=B.BrowseStyleRows={register_all:function(){var eF,eE,T,eD;eD=$$(".bs-row");for(eE=0,T=eD.length;eE",{action:this.action,method:"post"});bv.add_vars(eF[0],{locale:eE,locale_cont:eG||window.location.href,t:bb.read(Constants.JS_CSRF_COOKIE)});bi(document.body).append(eF);return eF.submit()};return T})(dB);a2=B.TeamLocaleSelectorModal=(function(T){cp(eD,T);function eD(){return eD.__super__.constructor.apply(this,arguments)}eD.prototype.action="https://"+Constants.WEBSERVER+"/team/admin/set_locale";return eD})(er);var dh;dh=B.LoginDropdown={init:function(){var T;T=bi("#login-hover-link");if(!(T.length>0)){return}this.login_link=T;return this.register()},register:function(T){this.login_link.on("click",this.click.bind(this));this.login_link.on("mousedown",this.mousedown.bind(this));this.login_link.on("focus",this.click.bind(this));return $(document.body).on("click",this.unclick.bind(this))},mousedown:function(T){return this.clicking=true},click:function(T){T.preventDefault();if(this.clicking&&T.type==="focus"){return}this.clicking=false;if(this.down){return this.unclick()}bi(document).trigger("dropdownOpened",[1]);this.down=true;this.login_link.parent().addClass("down");return bi("input[name='login_email']").focus()},unclick:function(eD){var T;if(eD){T=bi(eD.target);if(T[0].match("#top-login-wrapper, #top-login-wrapper *")){return}}if(this.down){bi(document).trigger("dropdownClosed",[1])}this.down=false;return this.login_link.parent().removeClass("down")}};var ex;ex=__CONDITIONAL_JS__.Modal=INLINE_JS.Modal=B.Modal={KEY_SCOPE:"modal",width:640,vertical_offset:90,show:function(eO,eK,eL,eQ,eE,eM,eI,eJ,eP){var eD,eG,eN,T,eF,eH;if(eL==null){eL=false}if(eQ==null){eQ=false}if(eE==null){eE=false}if(eM==null){eM=false}if(eI==null){eI=""}if(eJ==null){eJ=true}if(eP==null){eP=false}if(ex.shown()){ex._cleanup()}eE=eE||this.width;eG="#modal-content .error-message, #modal-content .error-removable, #modal-content .error-bubble";$$(eG).invoke("hide");if(ai.uploading&&!eM){bL(d1("You can't do this while uploading."));return false}cm(eK,"Missing modal content!");eF=this.vars._prev_scope;this.vars=eL||{};this.vars._prev_scope=eF;$("modal").setStyle({width:""+eE+"px",margin:"0 0 0 "+(Math.floor(-eE/2).toString())+"px"});this.vars.extra_class="";if(eI){$("modal").addClassName(eI);this.vars.extra_class=eI}if(!eM){if(ai.num_files()){cd.reset();ai.clear()}T=dz.childElement($("modal-content"),0);if(T&&T!==eK){$("grave-yard").__sert(T)}eD=new Element("div");eD.update(eK);$("modal-content").__sert(eD);if(eK.show){eK.show()}Element.show("modal")}bi("#modal-overlay").off("click");if(eJ){bi("#modal-overlay").on("click",function(eR){ex.hide(null,false,true);eR.preventDefault();return eR.stopPropagation()})}else{bi("#modal-overlay").on("click",function(eR){eR.preventDefault();return eR.stopPropagation()})}this.fix_position();$("modal-overlay").show();$("modal-behind").setStyle({width:""+(eE+20)+"px",margin:"0 0 0 "+(Math.floor(-eE/2-10).toString())+"px"});bi("#modal-behind").css("opacity",0.2);$("modal-behind").show();if(eQ){$("modal-content").select("#"+eQ.id).first().focus()}else{if(!dz.ie){eN=$("modal").down("input[type=submit]")||$("modal").down("input[type=button]");if(eN){eN.focus()}}}if(!this.track_id){this.track_resizes()}if(eO){if(dz.isElm(eO)){bi("#modal-title").html(eO)}else{bi("#modal-title").text(eO)}bi("#modal-title").show();eH=bi("#modal-title").text();d8("Modal.show:",eH)}else{bi("#modal-title").hide();d8("Modal.show")}P.register(false,"modal");this.keydownHandler=this.keydown.bind(this);document.observe("keydown",this.keydownHandler);$("modal-content").style.height="auto";if(key.getScope()!==this.KEY_SCOPE){this.vars._prev_scope=key.getScope()}key.setScope(this.KEY_SCOPE);this.prevent_hide_if_loading=eP;bi("#modal").find("input").filter(":visible:first").focus();if(this.in_viewport()){this.scroll_locked=true;z.scroll_lock_document()}bi(document).trigger("modalOpened",[1]);return false},in_viewport:function(){var eE,T,eD,eG,eF;eE=bi("#modal");T=eE.height();eF=eE.width();eD=z.viewport_dimensions();eG=z.viewport_offset(eE);return eG.left>0&&eG.top>0&&eG.left+eF",{id:eS,"class":"title_bubble_container"});if(!eM){eU.css({opacity:0});eU.addClass("has-transition")}if(eQ.hasClass("white")){eU.addClass("white")}if(eQ.hasClass("black")){eU.addClass("black")}eU.text(eQ.attr("data-title"));eR=eQ.attr("data-title-html");eU.html(eR);eK=eQ.attr("data-title-hide-tail")!=="yes";if(eK){eN=bi("
    ",{"class":"tail"});eU.append(eN)}bi(document.body).append(eU);eJ=eI(eQ[0],eU[0]);eL=eD(eJ,eU[0],eQ[0]);eU.clonePosition(eQ,{setWidth:false,setHeight:false,offsetTop:eL.top-eH,offsetLeft:eL.left});eU.addClass("position-"+eJ);if(eK){eN.clonePosition(eQ,{setWidth:false,setHeight:false,setTop:false,offsetLeft:eL.left+eL.tail_offset_left+(bi(eU).outerWidth()/2)})}eO=function(){var eV;if(!((eU.data("pending-delay"))&&(eQ.data("bubble-id")===eS))){return}eV=(parseInt(eQ.data("title-fade-time")))||400;return eU.fadeIn(eV)};if(eM){eU.hide();eU.data("pending-delay",true);return setTimeout(eO,eM)}else{return eU.css({opacity:""})}};eI=function(eN,eJ){var eM,eL,eK;eN=$(eN);eK=eN.getAttribute("data-title-position");eM=document.viewport.getDimensions();eL=eN.viewportOffset();if(!(eK==="above"||eK==="below"||eK==="right"||eK==="left")){eK="above"}if(eK==="left"){if(eL.lefteT.width){eR=eT.width-eP.left-eQ.width;eU=eJ-eR-5}else{eR=eJ;eU=-5}}if(eL==="left"||eL==="right"){if(eL==="right"){eR=eO.getWidth()+eM}else{eR=(-1*eQ.width)-eM}eV=eO.getHeight()/2-eQ.height/2;if(eP.top+eV+eQ.height>eT.height){eN=eT.height-eP.top-eQ.height;eK=eV-eN-5}else{eN=eV;eK=-5}}return{left:eR,top:eN,tail_offset_left:eU,tail_offset_top:eK}};eF=function(eK){var eJ,eL,eM;eM=bi(eK!=null?eK.currentTarget:void 0);eJ=bi("#"+eM.data("bubble-id"));if(eJ.data("pending-delay")){eJ.removeData("pending-delay");eL=(parseInt(eM.data("title-fade-time")))||400;return eJ.fadeOut(eL,function(){return eJ.remove()})}else{return eJ.remove()}};return{init:function(){bi(document).on("mouseenter",".title_bubble",eG);bi(document).on("mouseleave",".title_bubble",eF).on("mouseup",".title_bubble",eF);bi(document).on("mouseenter",".title_bubble_sticky",eG);return bi(document).on("mouseleave",".title_bubble_sticky",eF)},set_vertical_space:T,hide_all:function(){return bi(".title_bubble_container").remove()}}})();var dN;dN=INLINE_JS.Tooltip=B.Tooltip={attach:function(eH,eE,T,eD){var eG,eF;if(eD==null){eD={}}eH=$(eH);T=(T?$(T):null);eG=dQ.make(eE,eH.tail_position,eD.tail_position,eD.width,eD);eG.setStyle({display:"none",position:"absolute"});$("floaters").__sert(eG);if(eH.match("#modal-content *")||eH.match(".db-modal-content *")){eG.style.zIndex="13001"}else{eG.style.zIndex=""}if(eH.tail_position==="right"){eF=(dz.ie?32:12);eG.style.marginLeft=-(eG.getWidth()+eH.getWidth()+eF)+"px"}eH.tooltip=eG;eH.out_target=(T?true:false);eH.observe("mouseout",this.mouseout("target",eH));eH.observe("mouseover",this.mouseover("target",eH));eH.out_trigger=(T?false:true);if(T){T.observe("mouseout",this.mouseout("trigger",eH));T.observe("mouseover",this.mouseover("trigger",eH))}eH.out_tooltip=true;eG.observe("mouseout",this.mouseout("tooltip",eH));return eG.observe("mouseover",this.mouseover("tooltip",eH))},update:function(eD,T){if(eD.tooltip){return $(eD.tooltip).update(T)}},mouseover:function(T,eD){return function(){return eD["out_"+T]=false}},mouseout:function(T,eD){return function(){eD["out_"+T]=true;return dN.hide_if_out.defer(eD)}},show_by:function(eD){var eE,T;eE=bi(eD.tooltip);eD=bi(eD);eE.show();T=Math.floor(eE[0].offsetHeight/2);return eE.clonePosition(eD,{setWidth:false,setHeight:false,offsetTop:Math.floor(eD[0].offsetHeight/2)-T,offsetLeft:eD[0].offsetWidth+1})},hide_if_out:function(T){var eD;if(!T.out_target||!T.out_trigger||!T.out_tooltip){return}eD=$(T.tooltip);return eD.hide()},show:function(eG,eF,eD,T,eE){if(T==null){T="left"}eG=$(eG);if(!eG.tail_position){eG.tail_position=T}eD=(eD?$(eD):null);if(!eG.tooltip){this.attach(eG,eF,eD,eE)}return this.show_by(eG)}};var bF;bF=INLINE_JS.TreeView=B.TreeView={tv:{},loaded:false,set_params:function(T){return this.ajax_params=T},init:function(eE,T,eF){var eD;if(eF==null){eF="treeview"}this.tv[eF]={};eD=this.tv[eF];eD.autohide=(T===null?true:T);eD.handler=eE;eD.viewdiv=$(eF);eD.hidefunc=this.hide.bindAsEventListener(this);this.ajax_params={};document.observe(bh.ADD,(function(eG){return function(eH){return eG.schedule_reset()}})(this));document.observe(bh.REMOVE,(function(eG){return function(eH){return eG.schedule_reset()}})(this));return document.observe(bh.MOVE,(function(eG){return function(eH){return eG.schedule_reset()}})(this))},schedule_reset:function(){return this.loaded=false},reset:function(eF){var eD,eE,T;eD={url:"/ajax_subtreeview",type:"post",data:bi.extend({},this.ajax_params),success:(function(eG){return function(eI){var eJ,eH;eH=[];for(eJ in eG.tv){if(eG.tv.hasOwnProperty(eJ)){eG.tv[eJ].viewdiv.down(".treeview-folders").update(eI);if(eF&&eF.onSuccess){eH.push(eF.onSuccess(eI))}else{eH.push(void 0)}}else{eH.push(void 0)}}return eH}})(this)};if(eF!=null?eF.user:void 0){eD.subject_user=eF.user;T=cn.get_role_title(eF.user);if(cn.get_viewer().is_paired){if(eF.user.is_team){eE="s_briefcase"}else{eE="s_house"}}else{eE="dropbox"}if(!T){T=d1("Dropbox")}bi("#first-treeview-link span").text(T);b9.replace(bi("#root-img")[0],"web","dropbox",eE)}else{bi("#first-treeview-link span").text(d1("Dropbox"))}return bi.ajax(eD)},toggle:function(eE,eD){var T;Event.stop(eE);T=this.tv[eD||"treeview"];if(T.shown){T.shown=false;this.hide(eE,eD)}else{T.shown=true;this.show(eE.target,eD)}return false},hide:function(eE,eD){var T;T=this.tv[eD||"treeview"];if(!eE||!$(eE.target).descendantOf(T.viewdiv)){T.viewdiv.hide();Event.stopObserving(window,"click",T.hidefunc);return T.shown=false}},show:function(eE,eD){var eF,T;T=this.tv[eD||"treeview"];eE=$(eE);eE.blur();eF=eE.cumulativeOffset();T.viewdiv.setStyle({top:(eF.top+eE.getHeight())+"px",left:(eF.left-4)+"px"});T.viewdiv.show();return Event.observe(window,"click",T.hidefunc)},toggleNode:function(eD){var T;eD=$(eD);T=eD.down("img");if(T.className.match("bullet_plus")){b9.replace(T,"web","bullet_plus","bullet_minus")}else{b9.replace(T,"web","bullet_minus","bullet_plus")}eD.up().next("div").toggle();eD.blur();return false},toggleNodeAjax:function(eF,T,eD){var eE,eG;if(eF.fetched_children){return this.toggleNode(eF)}eF=$(eF);eE=eF.down("img");eG=b9._get(eE);eE.src="/static/images/icons/ajax-loading-small.gif";bi.ajax({url:"/ajax_subtreeview"+T,type:"post",data:bi.extend({},this.ajax_params),subject_user:eD,success:(function(eH){return function(eI){var eJ;eJ=new Element("div",{style:"display: none;"}).update(eI);eF.up().__sert({after:eJ});eF.fetched_children=true;b9._set(eE,eG);return eH.toggleNode(eF)}})(this),complete:function(){if(/loading/.match(eE.src)){return b9._set(eE,eG)}}});return false},handle:function(eE,eD){var eF,T;eF=$H(this.tv).keys();T=$(eD).ancestors().find(function(eG){return eF.include(eG.id)});if(!T){return}T=this.tv[T.id];bi(document).trigger("db:treeview_selected",[eE]);if(T.handler){T.handler(eE,eD)}if(T.autohide){this.hide(T.id)}return false},move:function(eE,eF,eD){var T;T=$(eE);if(!this.loaded){this.reset({onSuccess:(function(eG){return function(){eG.loaded=1;return eG.move(eE,eF,eD)}})(this),user:eD!=null?eD.user:void 0})}else{if(eD&&eD.onSuccess){eD.onSuccess()}}cm(T,"Couldn't find tree_id");cm($(eF),"Couldn't find location_id");$(eF).appendChild(T);return T.show()}};var aD;aD=B.ULSelectMenu=(function(){var eF,eJ,eE,eK,eL,eG,eI,T,eH,eD,eM;eF=function(eN){return eN.removeClassName("shown")};eM=function(eN){return eN.toggleClassName("shown")};eI=function(){return this.removeClassName("hover")};eG=function(){return this.addClassName("hover")};T=function(eR,eQ){var eN,eS,eP,eO;eO=[];for(eS=0,eP=eQ.length;eST){return false}if(eH<1||eH>12){return false}if(eF<=0){return false}if(eH===2){eD=((eG%4)===0)&&(((eG%100)!==0)||((eG%400)===0));if(eD){return eF<=29}else{return eF<=28}}else{if(eH===4||eH===6||eH===9||eH===11){return eF<=30}else{return eF<=31}}},change_date:function(T,eF,eD){var eE;if(!this.is_valid_date(T,eF,eD)){return}eE=eD!==this.view_date.getFullYear()||eF!==this.view_date.getMonth();this.selected_date.setDate(T);this.selected_date.setMonth(eF);this.selected_date.setFullYear(eD);if(eE){this.view_date.setMonth(eF);this.view_date.setFullYear(eD);this.render()}else{bi(this.container).find(".selected").removeClass("selected");bi(this.container).find("a#day"+T+"-"+eF).addClass("selected")}if(this.options.onDateChange){return this.options.onDateChange(this.selected_date)}},render:function(){var eF,eL,eJ,eH,eG,eD,eI,eE,eK,T;eL=this.render_days();eH=bi(".current-month",eL);eI=eH.first().data("date");eD=eH.last().data("date");T=eI<=this.options.first_day;eK=eD>=this.options.last_day;eF=new Element("div");eF.addClassName("calendar clearfix");if(!eK){this._next_month=(function(eM){return this._change_month(eM,this.view_date.getMonth()+1)}).bind(this);eG=new Element("a");eG.addClassName("changemonth next");eG.update(b9.make("web","arrowright",{}));Event.observe(eG,"click",this._next_month);eF.__sert(eG)}if(!T){this._prev_month=(function(eM){return this._change_month(eM,this.view_date.getMonth()-1)}).bind(this);eE=new Element("a");eE.addClassName("changemonth prev");eE.update(b9.make("web","arrowleft",{}));Event.observe(eE,"click",this._prev_month);eF.__sert(eE)}eJ=new Element("h5");eJ.update(d1("%(month)s %(year)s",{comment:"For example 'January 2010'. This is used as part of a calendar."}).format({month:bH.month_name(this.view_date.getMonth()),year:this.view_date.getFullYear()}));eF.__sert(eJ);eF.__sert(eL);return this.container.__date(eF)},render_days:function(){var eJ,eI,T,eH,eD,eG,eF,eE;eI=new Date(this.view_date.getFullYear(),this.view_date.getMonth(),1);eF=eI.getDay();eJ=new Element("div");eJ.addClassName("days");for(T=eE=eF;eF<=0?eE<0:eE>0;T=eF<=0?++eE:--eE){eG=new Date(eI.getFullYear(),eI.getMonth(),eI.getDate());eG.setDate(eG.getDate()-T);eJ.__sert(this.render_day(eG,true))}eH=new Date(this.view_date.getFullYear(),this.view_date.getMonth(),1);while(eH.getMonth()===this.view_date.getMonth()){eJ.__sert(this.render_day(eH));eH=new Date(this.view_date.getFullYear(),this.view_date.getMonth(),eH.getDate()+1)}eD=new Date(this.view_date.getFullYear(),this.view_date.getMonth()+1,0);while(eD.getDay()!==6){eD=new Date(eD.getFullYear(),eD.getMonth(),eD.getDate()+1);eJ.__sert(this.render_day(eD,true))}return eJ},render_day:function(eD,eF){var T,eE;eE=!eF;if(this.options.last_day){eF=eF||eD>this.options.last_day}if(this.options.first_day){eF=eF||eD=0;return s.change(eG,eH.target.getValue())})}return bi(".shared-additional-info").attr("name","shared_additional_info")},change:function(eE,T){var eD;bi(".downgrade-other-reason .error-message").hide();if(eE){return}eD="#downgrade-info-"+T;bi(".downgrade-info").hide();bi(eD).show();bi(".downgrade-info textarea").removeAttr("name");bi(eD+" textarea").attr("name","additional_info");return bi("input[name=other_reason_id]").removeAttr("checked")}};c=B.DowngradeSurvey={init:function(){var T;T="#downgrade-survey-form";return bi(""+T).on("submit",(function(eD){return function(eG){var eF,eE;eE=bi(""+T+" input[name=other_reason_id]:checked").length;eF=bi(""+T+" input[id=downgrade-radio-8]");if(eF.is(":checked")&&eE===0){bi(".downgrade-other-reason .error-message").show();return eG.preventDefault()}}})(this))}};var bO;bO=INLINE_JS.GetSpace=B.GetSpace={_current_space:null,_why_msg:null,_twitter_url:null,offer_highlight_color:"#ffa",init:function(eE,eD,eF){var T;bO._current_space=eE;bO._why_msg=eD;bO._twitter_url=eF;$("space-actions").on("click",".space-action",bO.perform_action);T=D.parse(window.location.href).fragment;if(T){return bO.highlight_offer(T)}},highlight_offer:function(eD){var T,eE;T=bi("#"+eD);eE=T.css("background-color");return T.css("background-color",bO.offer_highlight_color).delay(2000).animate({"background-color":eE}).queue(function(){return T.css("background-color","")})},perform_action:function(eD){var eE,T;T={contact_sales:bO._contact_sales,contact_support:bO._contact_support,teams:bO._teams,upgrade:bO._upgrade,plans:bO._plans,refer:bO._refer,get_started:bO._get_started,fb_link:bO._fb_link,twitter_link:bO._twitter_link,twitter_follow:bO._twitter_follow,why_like:bO._why_like,mailbox_link:bO._mailbox_link};eE=$(eD.target);if(!eE.hasClassName("space-action")){eE=eE.up(".space-action")}return T[eE.id]()},_teams:function(){return window.location.href="/business?tk=dropbox&ag=getspace&ad=v1"},_contact_sales:function(){return window.location.href="mailto:sales@dropbox.com"},_contact_support:function(){return window.location.href="/support"},_plans:function(){return window.location.href="/plans"},_upgrade:function(){return window.location.href="/upgrade"},_refer:function(){return window.location.href="/referrals"},_get_started:function(){return window.location.href="/gs"},_fb_link:function(){return dU.do_auth(function(){bO._refresh_link_bonuses();return bO._completed($("fb_link"))},cn.get_viewer().personal_user.id)},_twitter_link:function(){return cg.do_auth(function(){bO._refresh_link_bonuses();cg.set_is_authed(cn.get_viewer().personal_user.id,true);return bO._completed($("twitter_link"))},cn.get_viewer().personal_user.id)},_twitter_follow:function(){if(cg.is_authed(cn.get_viewer().personal_user.id)){return bO.follow_dropbox()}else{return cg.do_auth(bO.follow_dropbox,cn.get_viewer().personal_user.id)}},_why_like:function(){ex.show(d1("Tell us why you love Dropbox"),$("why-i-like-modal"));$("why-i-like-input").focus();return dz._track_twitter_chars_left("why-i-like-input",90)},_mailbox_link:function(){return window.location.href="http://www.mailboxapp.com/"},follow_dropbox:function(){if(!cg.is_authed(cn.get_viewer().personal_user.id)){bO._refresh_link_bonuses();cg.set_is_authed(cn.get_viewer().personal_user.id,true)}return cg.follow_dropbox({showWorking:function(){return $("twitter_follow").down(".title").__date(d1("Following Dropbox on Twitter..."))},onFailure:function(){return $("twitter_follow").down(".title").__date(d1("Follow Dropbox on Twitter"))},onSuccess:function(){if($("twitter_link")&&$("twitter_link").visible()){bO._completed($("twitter_link"))}return bO._completed($("twitter_follow"))}},cn.get_viewer().personal_user.id)},submit_why:function(){bO._why_msg=$F("why-i-like-input");return bv.ajax_submit($("why-i-like-form"),false,(function(){ex.hide();return bO._completed($("why_like"))}),false,$("why-i-like-submit"))},_completed:function(eD){var T;eD.addClassName("completed");eD.down(".icon-col").__date(b9.make("web","check_36"));bi(eD).css("opacity",0.5).fadeTo(500,1);setTimeout((function(){return bi(eD).css("opacity",1).slideUp().animate({opacity:0},{queue:false,duration:"normal"})}),1500);T=parseInt(eD.down(".space").readAttribute("data-space"),10);bO._current_space+=T;$("current-space").__date(au.format_bytes(bO._current_space));$("current-space").addClassName("updated");return setTimeout((function(){return $("current-space").removeClassName("updated")}),5000)},_refresh_link_bonuses:function(){return new Ajax.DBRequest("/social_recheck")}};var bd;bd=B.Help={toggle_more_help:false,show_os:function(eD,eE,T){eE=$(eE);$$(".os-filter").invoke("removeClassName","selected");eE.addClassName("selected");$$(".help-os-section").invoke("hide");$$(".help-os-"+T).invoke("show");return Event.stop(eD)},vote:function(T,eD){new Ajax.DBRequest("/help/"+T+"/vote/"+eD);bi("#help-vote-cont").fadeOut();return Z.success(d1("Thanks for your feedback!"))}};var dY,dp,Y,r,c0=function(T,eD){return function(){return T.apply(eD,arguments)}},an={}.hasOwnProperty,cp=function(eF,eD){for(var T in eD){if(an.call(eD,T)){eF[T]=eD[T]}}function eE(){this.constructor=eF}eE.prototype=eD.prototype;eF.prototype=new eE();eF.__super__=eD.prototype;return eF};dp=INLINE_JS.Hosts=B.Hosts={attach_host_listener:function(eG,eE){var eD,eF,eH,T;eD=bi("#"+eG);eH=eD.data("host-ids");eF=eD.data("display-name");T=function(){return new Y(eH,eF,eE,null,null).show()};return bi(".unlink-host-link",eD).on("click",T)},edit:function(eH,eE){var eD,eI,eJ,eG,eF,T;eJ=bi("#host-device-row-"+eE+" .host-item .sprite-text");if(eJ.data("editing")==="true"){return false}eJ.data("editing","true");eI=eJ.text();eJ.data("previous",eI);eH=$u.values(eH);eG=bi('').val(eI);T=bi('').val(d1("Save"));T.on("click",function(){return dp.doneEditing(eH,eE)});eD=bi('').val(d1("Cancel"));eD.on("click",function(){return dp.cancelEditing(eE)});eJ.empty();eJ.append(eG," ",T," ",eD);eF=bi("input",eJ);eF.on("keydown",function(){return dp.checkKey(eH,eE)});return eF.focus()},doneEditing:function(eE,eD){var eF,T;eF=bi("#host-device-row-"+eD+" .host-item .sprite-text");T=bi("input",eF).val();return bi.ajax({url:"/account/change_host_name",data:{host_ids:JSON.stringify(eE),name:T},type:"POST"}).success(function(eG){return dp.unedit(eF,JSON.parse(eG).display_name)})},cancelEditing:function(T){var eD;eD=bi("#host-device-row-"+T+" .host-item .sprite-text");return dp.unedit(eD,eD.data("previous"))},unedit:function(eD,T){eD.data("editing","false");return eD.text(T)},dismiss:function(eE,eD,eF,T,eG){new bi.ajax("/account/dismiss_unlink",{type:"POST",data:{host_id:eE,user_id:eD,team_id:eF},subject_user:eG,success:function(eH){return T.remove()}});return false},checkKey:function(eD,T){return function(eE){eE=eE||window.event;if(eE.keyCode===Event.KEY_RETURN){dp.doneEditing(eD,T)}if(eE.keyCode===Event.KEY_ESC){return dp.cancelEditing(T)}}},show_device_unlink_modal:function(eF,eG,eI,eE,eD,eK,T){var eJ,eH;eJ=bi("#unlink-device-modal-"+eK);eH={both:$u.values(eD),personal:[eD[Constants.ROLE_PERSONAL]],work:[eD[Constants.ROLE_WORK]]};ex.show(eE,eJ[0]);if($u.values(eD).length>1){eJ.addClass("show-selector")}return bi("form input[type=submit]",eJ).on("click",function(eL){eL.preventDefault();eD=eH[bi(".unlink-select select",eJ).val()];bv.add_vars(bi("form",eJ)[0],{user_ids:JSON.stringify(eD),app_id:eG,device_id:JSON.stringify(eF),device_name:T});return bi("form",eJ).submit()})}};dY=B.DeleteFailuresModal=(function(T){cp(eD,T);function eD(){this.on_show=c0(this.on_show,this);this.on_confirm_button_click=c0(this.on_confirm_button_click,this);return eD.__super__.constructor.apply(this,arguments)}eD.prototype.on_confirm_button_click=function(eE){eE.preventDefault();window.location.href="/delete_failures?host_id="+this.host_id;return this.hide()};eD.prototype.on_show=function(eF){var eE;eE=aT("Dropbox couldn't delete %(num_failures)d file from the computer %(host_name)s. You can download the name of this file and the reason why it couldn't be deleted.","Dropbox couldn't delete %(num_failures)d files from the computer %(host_name)s. You can download the names of these files and the reasons why they couldn't be deleted.",this.num_failures).format({host_name:this.name.escapeHTML(),num_failures:this.num_failures});return this.$modal_window.find(".failures_message").html(eE)};return eD})(dB);r=INLINE_JS.show_delete_failures_modal=B.show_delete_failures_modal=function(eE,eD,T){var eF;eF=new dY({element_id:"delete-failures-modal"});eF.host_id=eE;eF.name=eD;eF.num_failures=T;eF.show();return false};Y=INLINE_JS.UnlinkHostModal=B.UnlinkHostModal=(function(eD){cp(T,eD);function T(eI,eG,eE,eF,eH){this.host_ids=eI;this.name=eG;this.delete_support_type=eE;this.owner_id=eF;this.team_id=eH;this.on_show=c0(this.on_show,this);this._set_delete_text=c0(this._set_delete_text,this);this.fail_callback=c0(this.fail_callback,this);this.success_callback=c0(this.success_callback,this);this.on_confirm_button_click=c0(this.on_confirm_button_click,this);T.__super__.constructor.call(this,{element_id:"unlink-host-modal"});this.show_host_selector=$u(this.host_ids).values().length>1}T.prototype.on_confirm_button_click=function(eH){var eF,eG,eE;eH.preventDefault();eG=this.$modal_window.find(".unlink_host_form")[0];eF=$(this.$modal_window.find(".confirm-button")[0]);this.$modal_window.find("[type=button]").attr("disabled","");eE={host_ids:JSON.stringify(this.get_selected_hosts())};return bv.ajax_submit(eG,false,this.success_callback,this.fail_callback,eF,eE)};T.prototype.success_callback=function(){return window.location.reload()};T.prototype.fail_callback=function(){return this.$modal_window.find("[type=button]").removeAttr("disabled")};T.prototype._set_delete_text=function(eE){return this.$modal_window.find(".delete_data_label").text(eE)};T.prototype._get_unlink_select=function(){return this.$modal_window.find(".unlink-select select").val()};T.prototype._set_delete_checkbox=function(){return this.$modal_window.find(".delete_data").prop("checked",true)};T.prototype._clear_delete_checkbox=function(){return this.$modal_window.find(".delete_data").prop("checked",false)};T.prototype.on_show=function(eF){var eE;this._clear_delete_checkbox();if(this.delete_support_type===Constants.DELETE_ON_UNLINK_OLD_CLIENT){this.$modal_window.find(".unlink_host_modal_content").addClass("show_old_client_modal")}else{if(this.delete_support_type===Constants.DELETE_ON_UNLINK_UNSUPPORTED){this.$modal_window.find(".unlink_host_modal_content .unlink_host_form").addClass("hidden")}else{if(this.delete_support_type===Constants.DELETE_ON_UNLINK_SUPPORTED_TEAM_ONLY){this._set_delete_checkbox();this.$modal_window.find(".unlink-choice").change((function(eG){return function(eH){if(eG._get_unlink_select()===Constants.ROLE_PERSONAL){eG._clear_delete_checkbox();return eG.$modal_window.find(".new_client").hide()}else{eG._set_delete_checkbox();return eG.$modal_window.find(".new_client").show()}}})(this));this._set_delete_text(d1("Delete files from %(team_name)s Dropbox the next time this computer comes online.").format({team_name:cn.get_viewer().team_name}))}else{if(this.delete_support_type===Constants.DELETE_ON_UNLINK_SUPPORTED_PERSONAL_ONLY){this._set_delete_checkbox();this.$modal_window.find(".unlink-choice").change((function(eG){return function(eH){if(eG._get_unlink_select()===Constants.ROLE_WORK){eG._clear_delete_checkbox();return eG.$modal_window.find(".new_client").hide()}else{eG._set_delete_checkbox();return eG.$modal_window.find(".new_client").show()}}})(this));this._set_delete_text(d1("Delete files from my personal Dropbox the next time this computer comes online."))}else{if(this.delete_support_type===Constants.DELETE_ON_UNLINK_SUPPORTED){this._set_delete_checkbox();this._set_delete_text(d1("Delete files from these Dropboxes the next time this computer comes online."));this.$modal_window.find(".unlink-choice").change((function(eG){return function(eH){if(eG._get_unlink_select()===Constants.ROLE_PERSONAL){return eG._set_delete_text(d1("Delete files from my personal Dropbox the next time this computer comes online."))}else{if(eG._get_unlink_select()===Constants.ROLE_WORK){return eG._set_delete_text(d1("Delete files from %(team_name)s Dropbox the next time this computer comes online.").format({team_name:cn.get_viewer().team_name}))}else{return eG._set_delete_text(d1("Delete files from these Dropboxes the next time this computer comes online."))}}}})(this))}}}}}if(this.show_host_selector){eE="";this.$modal_window.find(".unlink-select").removeClass("hidden");this.$modal_window.find(".unlink-modal-text").html(d1("Which Dropboxes do you want to unlink from %(host_name)s? Any Dropbox you unlink will immediately stop syncing.").format({host_name:eE}))}this.$modal_window.find("[name=host_id]").attr("value",this.host_id);this.$modal_window.find("[name=team_id]").attr("value",this.team_id);this.$modal_window.find("[name=user_id]").attr("value",this.owner_id);return this.$modal_window.find(".host_name").text(this.name)};T.prototype.get_selected_hosts=function(){var eE;if($u.values(this.host_ids).length===1){return $u.values(this.host_ids)}eE=bi(".unlink-choice").val();if(eE==="both"){return $u.values(this.host_ids)}else{return[this.host_ids[eE]]}};return T})(dB);var eb;eb=B.News={DEFAULT_TAB:"recent-news",init:function(){$("news-home").on("click","#nav a",function(eD,eE){var T;if(eE.hasAttribute("data-div")){eD.preventDefault();T=eE.readAttribute("data-div");return d4.push_state("/news/"+T)}});return d4.add_callback("/news",eb.history_change)},change_tab:function(T){var eD;eD=$$("#nav a[data-div="+T+"]").first();if($(eD)){$$(".section").invoke("removeClassName","selected");$$("#nav a").invoke("removeClassName","selected");$(eD).addClassName("selected");return $(T).addClassName("selected")}},history_change:function(T){T=T||eb.DEFAULT_TAB;return eb.change_tab(T)}};var dc;dc=B.Recover={init:function(){var T;T=$("recover-form");return T.observe("submit",this.form_submit.bind(this))},form_submit:function(T){this.clear_error();T.preventDefault();return bv.ajax_submit($("recover-form"),null,this.submit_response.bind(this))},submit_response:function(eD){var T;T=JSON.parse(eD.responseText);if(T.status==="error"){this.show_error(T.msg)}if(T.status==="ok"){this.show_hosts(T)}if(T.status==="redirect"){return window.location.href=T.url}},show_hosts:function(eJ){var eG,eE,eF,T,eI,eD,eH;bv.add_vars($("recover-form"),{check_file:"true"});$("filename-to-create").update(eJ.filename);eE=$("trusted-hosts");eE.update();eH=eJ.hosts;for(eI=0,eD=eH.length;eI0,"Element is missing an id");T.push(eH.observe("click",(function(eI){return this.click(eI)}).bindAsEventListener(eE)))}return T},click:function(T){if(this.options.killEvent){Event.stop(T)}return this.toggle($(T.target))},toggle:function(eD){var eG,T,eF,eH,eE;eE=this.container.down("a.selected");if(eE){eH=$(eE.id+"-content");if(eH){eH.hide()}}this.container.select(".selected").invoke("removeClassName","selected");T=false;if(!eD){eD=this.container.down("a");T=true}eD.addClassName("selected");eG=$(eD.id+"-content");if(eG){eG.show()}if(this.options.onTabChange){this.options.onTabChange(eD,eE)}if(this.options.url_prefix){eF=this.options.url_prefix;if(!T){eF+="/"+eD.id}return d4.push_state(eF)}}});var dj;dj=B.InviteForm={initialized:false,init:function(){if(this.initialized){return}return bi((function(T){return function(){T.add_auto_completer=new Autocompleter.ContactsTokenizer(cn.get_viewer().get_user_by_role(Constants.ROLE_WORK),"team-invite-new-collab-input","team-invite-new-whobulk","team-invite-hidden-input",{tokens:[",",";"],hide_import_contacts:true,suggestions_disabled:true,contact_filter:function(eD){return eD.excludeTeamMembers().excludeFacebook().excludeGroups().excludeNewStyleGroups().excludeRooms().excludeMe()}});T.add_auto_completer.clearTokens();T.tokenAdd=bi.proxy(T._tokenAdd,T);T.tokenRemove=bi.proxy(T._tokenRemove,T);bi("#team-invite-new-collab-input")[0].on("token:add",T.tokenAdd);bi("#team-invite-new-collab-input")[0].on("token:remove",T.tokenRemove);T.reset_licenses();T.initialized=true;T.setup_tab_support(bi);return bV.init()}})(this))},set_emails:function(T){if(T==null){return}return bi((function(eD){return function(){var eG,eI,eH,eF,eE;eD.init();eE=[];for(eH=0,eF=T.length;eH0){this.total_licenses+=T;this.available_licenses+=T;this.update_license_count();if(__CIRCULAR_DEPENDENCY__.Dashboard!=null){return __CIRCULAR_DEPENDENCY__.Dashboard.add_licenses(T)}}},on_add_licenses_exit:function(eD,T){var eE;if((eE=this.invite_modal)!=null?eE.$modal_window:void 0){this.rebind_modal_submit_autocompleter()}return this.add_total_licenses(T)},reset_modal:function(){var T;T=this.invite_modal.$modal_window;cE.reset(T.find("#team-invite-message")[0]);if(this.add_auto_completer){this.add_auto_completer.clearTokens()}this.reset_modal_licenses();return T.find(".new-collab-input").val("")},on_add_licenses_click:function(eD){var T;eD.preventDefault();if(this.is_trial){if((T=this.invite_modal)!=null){T.hide()}return __CIRCULAR_DEPENDENCY__.add_more_licenses_to_trial()}else{if(this.add_licenses_cb!=null){dv.unregister(__CIRCULAR_DEPENDENCY__.AddLicensesModal.LICENSES_ADDED,this.add_licenses_cb)}this.add_licenses_cb=bi.proxy(this.on_add_licenses_exit,this);dv.register(__CIRCULAR_DEPENDENCY__.AddLicensesModal.LICENSES_ADDED,this.add_licenses_cb);return dv.push(new __CIRCULAR_DEPENDENCY__.AddLicensesModal())}}};var t,c0=function(T,eD){return function(){return T.apply(eD,arguments)}},an={}.hasOwnProperty,cp=function(eF,eD){for(var T in eD){if(an.call(eD,T)){eF[T]=eD[T]}}function eE(){this.constructor=eF}eE.prototype=eD.prototype;eF.prototype=new eE();eF.__super__=eD.prototype;return eF};t=B.InviteModal=(function(eD){cp(T,eD);function T(eE){this.transition_view_model=eE;this._reset=c0(this._reset,this);this._update_form_pricing_information=c0(this._update_form_pricing_information,this);this._update_remaining_licenses_message=c0(this._update_remaining_licenses_message,this);this._make_transition_info_request=c0(this._make_transition_info_request,this);this._handle_token_change=c0(this._handle_token_change,this);this._licenses_total=c0(this._licenses_total,this);this._licenses_to_add=c0(this._licenses_to_add,this);this.on_hide=c0(this.on_hide,this);this.on_show=c0(this.on_show,this);T.__super__.constructor.call(this,{element_id:"team-invite-wizard",focus:".new-collab-input"});this.inline_add_license=this.transition_view_model!=null;if(this.inline_add_license){this.transition_info_fetcher=new ez([eE]);this.probability=Math.random()}this.skip_reset=false}T.prototype.on_confirm_button_click=function(eE){return dn.add_users(eE,this.add_qty)};T.prototype.on_show=function(){var eE;this._reset();eE=bi("#team-invite-wizard .team-invite-add-licenses");eE.on("click",bi.proxy(dj.on_add_licenses_click,dj));bi(window).on("token:changed",this._handle_token_change);if(dj.initialized){dj.update_license_count()}return dv.register(dv.CLEAR,function(){return dj.reset_modal()})};T.prototype.on_hide=function(){return bi(window).off("token:changed",this._handle_token_change)};T.prototype._licenses_to_add=function(){return -1*dj.available_licenses};T.prototype._licenses_total=function(){return dj.total_licenses+this._licenses_to_add()};T.prototype._handle_token_change=function(eF,eE){this._update_remaining_licenses_message(eE.remaining_licenses);if(this.inline_add_license){clearTimeout(this.fetch_transition_timeout_id);return this.fetch_transition_timeout_id=setTimeout((function(eG){return function(){eG._make_transition_info_request();return eG.fetch_transition_timeout_id=null}})(this),100)}};T.prototype._make_transition_info_request=function(){var eG,eF,eE,eH;eF=Math.floor(Math.random()*1000000);this.current_callback_token=eF;eG=this._licenses_to_add();eE=this._licenses_total();eH=(function(eI){return function(eJ){return eI._update_form_pricing_information(eF,eG,eE,eJ[0])}})(this);if(eG>0){return this.transition_info_fetcher.get(eH,{total_users:this._licenses_total()})}else{return eH(null)}};T.prototype._update_remaining_licenses_message=function(eE){var eF;this.remaining_licenses=eE;eF=this._get_remaining_licenses_message(eE);return this.$modal_window.find("#license-count-message").text(eF)};T.prototype._get_remaining_licenses_message=function(eE){var eF;if(eE<0){eF=d1("You need more licenses for this invitation.")}else{if(eE===0){eF=d1("After this invitation, you'll have no remaining licenses.")}else{eF=aT("After this invitation, you'll have %(count)d remaining license.","After this invitation, you'll have %(count)d remaining licenses.",eE).format({count:eE})}}return eF};T.prototype._update_form_pricing_information=function(eH,eI,eE,eL){var eF,eK,eJ,eG;if(eH!==this.current_callback_token){return}if(eL&&eI>0){this.add_qty=eI;eF=this.transition_view_model.state.currency;eJ=eL.current_total.amount;eK=ey.formatCurrency(eJ,eF);eG=ey.formatCurrency(eL.recurring_total.amount,eF);bi(".new-amount").text(eK);bi(".add-qty").text(eI);bi(".recurring-amount").text(eG);bi(".total-qty").text(eE);bi(".charges-section").show();bi(".team-invite-buttons .confirm-button").val(d1("Invite and buy"));return bi("#expected_price").val(eJ)}else{return this._reset()}};T.prototype._reset=function(){this.add_qty=0;bi(".charges-section").hide();bi("#expected_price").val(0);return bi(".team-invite-buttons .confirm-button").val(d1("Invite to team"))};return T})(dB);var bl,am,ap,O,dH,en,ba,d9,dn,ew,b4,n,c0=function(T,eD){return function(){return T.apply(eD,arguments)}},an={}.hasOwnProperty,cp=function(eF,eD){for(var T in eD){if(an.call(eD,T)){eF[T]=eD[T]}}function eE(){this.constructor=eF}eE.prototype=eD.prototype;eF.prototype=new eE();eF.__super__=eD.prototype;return eF};dn=INLINE_JS.Team=B.Team={_use_async_reset:false,team_id:cn.get_viewer().team_id,set_team_id:function(T){this.team_id=T},setup_beta_modal_listeners:function(){var eH,eK,eI,T,eG,eF,eJ,eD,eE;eK=bi(".feature-list .enroll-button");T=bi(".feature-list .feedback-button");for(eG=0,eJ=eK.length;eG1){return Z.success(d1("Invited %(user_count)d people.").format({user_count:eK.length}))}else{return Z.error(aT("Skipped %(num_skipped)d person who is already a member of the team.","Skipped %(num_skipped)d people who are already members of the team.",eG.length).format({num_skipped:eG.length}))}}}else{return Z.error()}},onFailure:function(eJ){var eH,eI;if(eJ){if(eJ.responseText.indexOf("err:")===0){eH=eJ.responseText.substr(4);if(eH.indexOf("{")===0){eI=eH.evalJSON(true);bv.fill_errors(eD,eI)}else{eH=new eA(eH);Z.error(eH)}}else{Z.error()}}bv.remove_loading();return bi("input[type='submit']").prop("disabled",false)},cleanUp:function(){bv.remove_loading();dj.reset_modal();return dj.invite_modal.hide()}})},show_demo_signup_modal:function(eE,eF,eG,eD,eH){var T,eK,eJ,eI;this.webinar_key=eE;this.webinar_iso_datetime=eF;this.webinar_date=eG;this.webinar_title=eD;this.tab_url=eH;eI=d1("Register for a webinar on %(start_time)s").format({start_time:this.webinar_date});eK=new O({element_id:"demo-signup-modal",title:eI});eK.show();eK.$modal_window.find("input[name=webinar_key]").attr("value",this.webinar_key);eK.$modal_window.find("input[name=webinar_title]").attr("value",this.webinar_title);eK.$modal_window.find("input[name=Sales_Webinar_Topic__c]").attr("value",this.webinar_title);eK.$modal_window.find("input[name=Sales_webinar_date__c]").attr("value",this.webinar_iso_datetime);eJ=eK.$modal_window.find("input[name=retURL]");eJ.attr("value",eJ.val()+"#"+this.tab_url);T=eK.$modal_window.find("#demo-signup-form")[0];return T.on("submit",eK.on_confirm_button_click)},show_unsuspend_modal:function(eE,T,eD){var eF;eF=new ba({element_id:"dfe-unsuspend-modal",focus:"confirm"});eF.user_name=eE||eD;eF.email=eD;eF.user_id=T;eF.team_id=this.team_id;eF.show();return false},show_remove_or_deactivate_modal:function(eE,eG,T,eD,eH){var eF;eF=new dH({element_id:"dfe-remove-or-deactivate-user-modal",focus:".new-collab-input"});eF.user_name=eG||eD;eF.email=eD;eF.user_id=T;eF.team_id=this.team_id;eF.invited=eH;eF.show();return false},show_remove_modal:function(eE,eG,T,eD,eH){var eF;eF=new en({element_id:"dfe-remove-user-modal",focus:".new-collab-input"});eF.user_name=eG||eD;eF.email=eD;eF.user_id=T;eF.team_id=this.team_id;eF.invited=eH;eF.show();return false},remove_user:function(eF,eG){var eE,eD,T;alert("in remove_user");Event.stop(eF);eD=bi("input[type=submit]","#remove-user-modal");eD.attr("disabled",1);T=ex.vars.user_id;if(eG){eE=true}else{eE=bi("input[name=disable_if_joined]:checked","#remove-user-modal").val()}return new Ajax.DBRequest("/account/team/remove_user",{parameters:{team_id:this.team_id,user_id:T,disable_if_joined:eE},onSuccess:(function(eH){return function(eK){var eJ,eL,eI;eJ=JSON.parse(eK.responseText);if((eL=window.active_team_member_table)!=null){eL.remove_user(ex.vars.user_id)}if((eI=window.removed_team_member_table)!=null){eI.add_users(eJ)}eH.decrement_used_licenses();return Z.success(d1("User removed."))}})(this),cleanUp:function(){ex.hide();return eD.removeAttr("disabled")}})},show_reinvite_modal:function(eE,eF,T,eD){var eG;cY.fillVal(eD,"reinvite-user-email");cY.fillVal(eF,"reinvite-user-team");eG=d1("Resend invite to '%(email_address)s'").format({email_address:bw.em_snippet(eD,18)});return ex.show(eG,$("reinvite-user-modal"),{user_id:T,button:eE})},reinvite_user:function(eD){var T;Event.stop(eD);T=ex.vars.user_id;return new Ajax.DBRequest("/account/team/reinvite_user",{parameters:{team_id:this.team_id,user_id:T},onSuccess:function(eH){var eF,eG,eE,eI;Z.success(d1("Invite sent."));if((eI=$("team-member-info"))!=null){eI.update(eH.responseText)}eF=window.active_team_member_table;if(eF){eE=eF.data.users[T];eE.invite_expired=false;eG={};eG[T]=eE;return eF.update_user_data(eG)}},cleanUp:function(){return ex.hide()}})},show_user_activity_log_modal:function(T,eE,eF){var eD;eD=bi("#activity-log-modal");eD.find(".activity-log-email").text(eE);eD.find(".activity-log-name").text(eF);eD.find("#activity-log-user-message").show();return ex.show(d1("Create activity report"),eD[0],{user_id:T})},show_team_activity_log_modal:function(eD,eE){var T;T=bi("#activity-log-modal");T.find(".activity-log-email").text(eD);T.find(".activity-log-name").text(eE);T.find("#activity-log-team-message").show();return ex.show(d1("Create full activity report"),T[0])},generate_activity_log:function(eJ){var eH,eF,eI,eG,T,eE,eD;Event.stop(eJ);eF=bi("#activity-log-modal");eI=eF.find("input[name='from_date']").val();T=eF.find("input[name='to_date']").val();if(eI>T){Z.error(d1("Your start date is after your end date."));return}eG=this.team_id;eD=ex.vars.user_id;eE=new Date().getTimezoneOffset().toString();eH=bi(".activity-report-generator .freshbutton-blue");eH.prop("disabled",true);return new Ajax.DBRequest("/team/events_report/csv",{parameters:{from_date:eI,to_date:T,team_id:eG,user_id:eD,tzoffset:eE},onSuccess:function(eK){return Z.success(d1("Report started. We'll email you when it's ready."))},cleanUp:function(){ex.hide();return eH.prop("disabled",false)}})},show_reset_password_modal:function(eD,eE,T){var eF;bi("#reset-password-modal .member-name").text(eE);eF=d1("Reset password for '%(user_name)s'").format({user_name:eE});return ex.show(eF,$("reset-password-modal"),{user_id:T,button:eD})},reset_password:function(eD){var T;Event.stop(eD);T=ex.vars.user_id;return new Ajax.DBRequest("/account/team/reset_password",{parameters:{team_id:this.team_id,user_id:T},onSuccess:function(eE){return Z.success(d1("User's password reset."))},cleanUp:function(){return ex.hide()}})},show_reset_all_passwords_modal:function(){return ex.show(d1("Reset all passwords"),$("reset-all-passwords-modal"))},set_async_password_reset:function(T){return this._use_async_reset=T},reset_all_passwords:function(){return new Ajax.DBRequest("/account/team/reset_all_passwords",{parameters:{team_id:this.team_id},job:this._use_async_reset,subject_user:cn.get_viewer().work_user,progress_text:d1("Resetting all passwords..."),onSuccess:function(T){return Z.success(d1("All passwords reset."))},cleanUp:function(){return ex.hide()}})},show_admin_status_modal:function(eE,eK,eM,eG,eL,eH){var eD,eI,T,eF,eJ;T=eL.strip()||eG;eF=void 0;eD=void 0;eJ=void 0;eI=void 0;if(eH){eJ=d1("Add admin permissions for '%(person_name)s'").format({person_name:T.escapeHTML()});eF=d1("Are you sure you want to add admin permissions for %(person_name)s?").format({person_name:T.escapeHTML()});eD=d1("Add admin permissions",{comment:"make this user an admin; give them the permissions an admin has"});eI="alert_32"}else{eJ=d1("Remove admin privileges from '%(person_name)s'").format({person_name:T.escapeHTML()});eF=d1("Are you sure you want to remove admin permissions from %(person_name)s?").format({person_name:T.escapeHTML()});eD=d1("Remove admin permissions",{comment:"clicking this button completes the action: it removes a person's admin status"});eI="alert_32"}cY.fillVal(eG,"admin-status-email");cY.fillVal(eF,"admin-status-action");cY.fillVal(eD,"admin-status-button-action");return ex.show(eJ,$("admin-status-modal"),{user_id:eM,button:eE,admin_on:eH})},set_admin_status:function(eD){var T;Event.stop(eD);T=ex.vars.user_id;return new Ajax.DBRequest("/account/team/set_admin_status",{parameters:{team_id:this.team_id,user_id:T,on:(ex.vars.admin_on?"yes":"no")},onSuccess:function(eF){var eG,eE;eG=(ex.vars.admin_on?d1("User's admin status granted."):d1("User's admin status removed."));if(__CIRCULAR_DEPENDENCY__.MembersReact!=null){return __CIRCULAR_DEPENDENCY__.MembersReact.refresh_member_stats()}else{if(window.active_team_member_table){eE=JSON.parse(eF.responseText);window.active_team_member_table.update_user_data(eE);return Z.success(eG)}else{if(ex.vars.admin_on){return window.location="/team/admin/member?id=%d&msg=granted".format(ex.vars.user_id)}else{return window.location="/team/admin/member?id=%d&msg=removed".format(ex.vars.user_id)}}}},cleanUp:function(){return ex.hide()}})},show_disable_2fa_modal:function(eE,T,eD){bi("#disable-2fa-modal .member-name").text(eD);return ex.show(d1("Disable two-step verification"),$("disable-2fa-modal"),{user_id:T,elm:eE})},show_reset_2fa_modal:function(eE,T,eD){bi("#reset-2fa-modal .member-name").text(eD);return ex.show(d1("Reset two-step verification"),$("reset-2fa-modal"),{user_id:T,user_name:eD,elm:eE})},reset_2fa:function(){return new Ajax.DBRequest("/account/team/reset_2fa",{parameters:{team_id:this.team_id,user_id:ex.vars.user_id},onSuccess:function(eD){var T;bi(".tfa_enabled").replaceWith(d1("Disabled"));T=JSON.parse(eD.responseText);if(__CIRCULAR_DEPENDENCY__.MembersReact!=null){__CIRCULAR_DEPENDENCY__.MembersReact.refresh_member_stats()}else{if(window.active_team_member_table){window.active_team_member_table.update_user_data(T)}else{if(__CIRCULAR_DEPENDENCY__.MemberActionsMenu){__CIRCULAR_DEPENDENCY__.MemberActionsMenu.update_container_users(".buttons",T)}}}Z.success(d1("Two-step verification reset for %(user_name)s").format({user_name:ex.vars.user_name}));return ex.hide()}})},disable_2fa:function(){return new Ajax.DBRequest("/account/team/disable_2fa",{parameters:{team_id:this.team_id,user_id:ex.vars.user_id},onSuccess:function(eD){var T;bi(".tfa_enabled").replaceWith(d1("Disabled"));T=JSON.parse(eD.responseText);if(__CIRCULAR_DEPENDENCY__.MembersReact!=null){__CIRCULAR_DEPENDENCY__.MembersReact.refresh_member_stats()}else{if(window.active_team_member_table){window.active_team_member_table.update_user_data(T)}else{if(__CIRCULAR_DEPENDENCY__.MemberActionsMenu){__CIRCULAR_DEPENDENCY__.MemberActionsMenu.update_container_users(".buttons",T)}}}Z.success(d1("Two-step verification disabled."));return ex.hide()}})},show_sso_preview_email:function(T){return ex.show(d1("Email preview"),$(T))},show_sso_sample_email:function(T){return ex.show(d1("Sample email"),$(T))},show_user_message_modal:function(eE,eD,T){var eF;cY.fillVal(T,"user-message-email");eF=d1("Send email to '%(user_name)s'").format({user_name:eE});$("user-message").value="";ex.show(eF,$("user-message-modal"),{user_name:eE,user_id:eD});return dz.focus.defer("user-message")},send_user_message:function(){var eD,T;T=ex.vars.user_id;eD=$F("user-message").strip();return new Ajax.DBRequest("/account/team/send_user_message",{parameters:{user_id:T,team_id:this.team_id,message:eD},onSuccess:function(){var eE;eE=ex.vars.user_name;Z.success(d1("Message successfully sent to %(user_name)s.").format({user_name:eE}));return ex.hide()}})},hide_team_name_change_banner:function(){new Ajax.DBRequest("/account/team/name_change_notice_received",{parameters:{team_id:this.team_id}});bi(".team_name_change_notice").hide();return false},hide_pin_banner:function(){new Ajax.DBRequest("/team/invalidate_pin");return bi(".pin_notice").hide()},hide_pin_banner_with_user_id:function(T,eD){var eE;eE=function(eF){return bi(eD).closest("span").removeClass("on").addClass("off")};if(T===null){return new Ajax.DBRequest("/team/invalidate_pin",{onSuccess:eE})}else{return new Ajax.DBRequest("/team/invalidate_pin",{parameters:{user_id:T},onSuccess:eE})}},get_pin_with_user_id:function(T,eE,eD){var eF;if(eD==null){eD=null}if(eD===null){eD=function(eH,eG){bi(eG).closest("span").find(".pin-value").text(eH.pin+" -");return bi(eG).closest("span").removeClass("off").addClass("on")}}eF=function(eH){var eG;eG=JSON.parse(eH.responseText);return eD(eG,eE)};if(T===null){return new Ajax.DBRequest("/team/generate_pin",{onSuccess:eF})}else{return new Ajax.DBRequest("/team/generate_pin",{parameters:{user_id:T},onSuccess:eF})}},send_team_message:function(eD){var T;Event.stop(eD);T=$F("team-message").strip();if(T){return new Ajax.DBRequest("/account/team/send_team_message",{parameters:{team_id:this.team_id,message:T},onSuccess:function(eE){Z.success(d1("Message successfully sent to team."));return ex.hide()}})}},show_security_message_modal:function(){return new ew().show()},send_team_security_message:function(eE){var eD,T;Event.stop(eE);T=$F("team-security-message").strip();eD=$("team-security-message-form");return new Ajax.DBRequest("/account/team/send_team_message",{parameters:eD.serialize(true),onSuccess:function(eF){Z.success(d1("Message successfully sent."));return ex.hide()}})},used_licenses:0,total_licenses:0,set_used_licenses:function(T,eD){this.used_licenses=T;return this.total_licenses=eD},decrement_used_licenses:function(){return this.set_used_licenses(this.used_licenses-1,this.total_licenses)},show_migration_link:function(T,eD){$("migration-url").value=eD;ex.show(d1("Migration link for '%(email)s'").format({email:bw.em_snippet(T,18)}),$("migrate-url-modal"));return $("migration-url").select()},show_end_session_modal:function(eD,T,eE){a4.hide_all();bi("#end-session-modal .member-name").text(bi("#member-name").text());return ex.show(d1("Close web session",{comment:"Log out of your current Dropbox web session"}),$("end-session-modal"),{login_id:eD,user_id:T,elm:eE})},end_session:function(){return new Ajax.DBRequest("/logout_remote_session",{parameters:{remote_login_id:ex.vars.login_id,team_id:this.team_id,user_id:ex.vars.user_id},onSuccess:function(){ex.hide();dn.remove_closest_row(ex.vars.elm);return Z.success(d1("Web session closed."))}})},unlink_device:function(T,eF,eJ,eD,eK,eE,eG){var eI,eH;a4.hide_all();eI=$("unlink-device-modal-"+eE);eH=d1("Unlink %(device_name)s").format({device_name:eJ});return ex.show(eH,eI,{app_id:eF,user_id:eK,elm:eG,device_id:T,display_name:eJ})},unlink_device_submit:function(){return new Ajax.DBRequest("/account/unlink_team_device",{parameters:{app_id:ex.vars.app_id,team_id:this.team_id,user_id:ex.vars.user_id,device_id:JSON.stringify(ex.vars.device_id)},subject_user:cn.get_viewer().work_user,onSuccess:function(){ex.hide();dn.remove_closest_row(ex.vars.elm);return Z.success(d1("%(device_name)s unlinked.").format({device_name:ex.vars.display_name}))}})},disable_app:function(eD,eE,T,eF){a4.hide_all();bi("#disable-app-modal .app-name").text(eE);bi("#disable-app-modal .member-name").text(bi("#member-name").text());return ex.show(d1("Disable '%(app_name)s'?").format({app_name:eE}),$("disable-app-modal"),{app_id:eD,user_id:T,elm:eF})},disable_app_submit:function(){return new Ajax.DBRequest("/api/uninstall_app",{parameters:{app_id:ex.vars.app_id,keep_sandbox_files:true,team_id:this.team_id,user_id:ex.vars.user_id},subject_user:cn.get_viewer().work_user,onSuccess:function(T){ex.hide();dn.remove_closest_row(ex.vars.elm);return Z.success(T.responseText)}})},remove_closest_row:function(eF){var eE,eD,T;eE=bi(eF).closest(".team_admin_table_row");eD=bi(eE).closest(".team_admin_table");if(eD.find(".team_admin_table_row").length===1){T=eD.prev(".team_admin_table_title");if(!T.length){T=bi(".team_apps_table_panel")}T.remove();return eD.remove()}else{return eE.remove()}},submit_report_form:function(T){bi(T.target.elements.tzoffset).val(""+new Date().getTimezoneOffset());return true}};am=B.BetaEnrollConfirmationModal=(function(eD){cp(T,eD);function T(eE){this.feature_name=eE;this.on_confirm_button_click=c0(this.on_confirm_button_click,this);T.__super__.constructor.call(this,{element_id:"beta-enroll-confirmation-modal"})}T.prototype.on_confirm_button_click=function(eE){bi("").attr({type:"hidden",name:"feature_name",value:this.feature_name}).appendTo("#beta-enroll-confirmation-modal form");return this.$modal_window.addClass("ajax-loading")};return T})(dB);ap=B.BetaFeedbackModal=(function(eD){cp(T,eD);function T(eE){this.feature_name=eE;this.error=c0(this.error,this);this.success=c0(this.success,this);T.__super__.constructor.call(this,{element_id:"beta-feedback-modal"});this.on_confirm_button_click=(function(eF){return function(eJ){var eI,eH,eG;eJ.preventDefault();eI=bi(eJ.target);eH=eI.closest("form");eG={feature_name:eF.feature_name};return bv.ajax_submit(eH[0],false,eF.success,eF.error,eI[0],eG)}})(this)}T.prototype.success=function(eE){Z.success(d1("Thank you for your feedback."));return this.$modal_window.hide()};T.prototype.error=function(eE){if(eE.status!==200){return Z.error(d1("Failed to submit feedback. Please try again."))}};return T})(dB);O=B.DemoSignupModal=(function(T){cp(eD,T);function eD(){this.on_show=c0(this.on_show,this);this.on_confirm_button_click=c0(this.on_confirm_button_click,this);return eD.__super__.constructor.apply(this,arguments)}eD.prototype.on_confirm_button_click=function(eI){var eQ,eN,eJ,eE,eL,eG,eP,eO,eF,eM,eK,eH;eI.preventDefault();eK=$("demo-signup-form");eO=$("1210");eG=bi(eK).find("input[name='first_name']").val();bi(eO).find("input[name='FirstName']").attr("value",eG);eP=bi(eK).find("input[name='last_name']").val();bi(eO).find("input[name='LastName']").attr("value",eP);eL=bi(eK).find("input[name='email']").val();bi(eO).find("input[name='Email']").attr("value",eL);eM=bi(eK).find("input[name='phone_number']").val();bi(eO).find("input[name='Phone']").attr("value",eM);eQ=bi(eK).find("input[name='company_name']").val();bi(eO).find("input[name='Company']").attr("value",eQ);eJ=bi(eK).find("select[name='company_size']");eN=eJ.find("option:selected").val();bi(eO).find("input[name='Company_size__c']").attr("value",eN);eE=$(this.$modal_window.find(".confirm-button")[0]);eH=(function(eR){return function(eS){eR.$modal_window.hide();return eO.submit()}})(this);eF=bv.collect_form_vars(eK,true);return bv.ajax_submit(eK,false,eH,false,eE,eF,true)};eD.prototype.on_show=function(eE){this.$modal_window.find(".db-modal-content").css({"overflow-y":""});return bV.init()};return eD})(dB);bl=B.AccountTransferBaseModal=(function(eD){cp(T,eD);function T(eE,eG,eF){this.file_action_selector=eG;this.transfer_choice_selector=eF;this._clearInput=c0(this._clearInput,this);this._markInputInvalid=c0(this._markInputInvalid,this);this._markInputValid=c0(this._markInputValid,this);this._tokenRemove=c0(this._tokenRemove,this);this._tokenAdd=c0(this._tokenAdd,this);this._selectChange=c0(this._selectChange,this);this._isTransferSelected=c0(this._isTransferSelected,this);this.handleAjaxFailure=c0(this.handleAjaxFailure,this);T.__super__.constructor.call(this,eE,this.file_action_selector,this.transfer_choice_selector)}T.prototype.on_show=function(){if(this.$modal_window.find("#manage-files-new-collab-input").length===0){return}this.auto_completer=new Autocompleter.TeamTokenizer(cn.get_viewer().get_user_by_role(Constants.ROLE_WORK),"manage-files-new-collab-input","manage-files-new-whobulk","manage-files-hidden-input",{hide_import_contacts:true,suggestions_disabled:true,wrap_name:true,single_token:true,contact_filter:(function(eE){return function(eF){return eF.excludeNonTeamActive().excludeGroups().excludeNewStyleGroups().excludeRooms().excludeByEmail(eE.email?[eE.email.toLowerCase()]:[])}})(this)});this.tokenAdd=bi.proxy(this._tokenAdd,this);this.tokenRemove=bi.proxy(this._tokenRemove,this);this.$collab_input=this.$modal_window.find("#manage-files-new-collab-input")[0];this.$collab_input.on("token:add",this.tokenAdd);this.$collab_input.on("token:remove",this.tokenRemove);this.$textinput=this.$modal_window.find(".tokenized_autocompleter_container .textinput");this.selectChange=bi.proxy(this._selectChange,this);return this.$modal_window.find(this.file_action_selector).on("change",this.selectChange)};T.prototype.handleAjaxFailure=function(eE){if(eE.status===200&&this._isTransferSelected()){return this._markInputInvalid()}};T.prototype._isTransferSelected=function(){return bi(this.transfer_choice_selector).prop("checked")};T.prototype._selectChange=function(eE){if(this._isTransferSelected()){return this.$textinput.removeClass("unselected")}else{return this.$textinput.addClass("unselected")}};T.prototype._tokenAdd=function(eE){this.$collab_input.hide();if(eE.memo.valid){return this._markInputValid()}else{return this._markInputInvalid()}};T.prototype._tokenRemove=function(eE){this.$collab_input.show();return this._clearInput()};T.prototype._markInputValid=function(){this._clearInput();return this.$textinput.addClass("valid")};T.prototype._markInputInvalid=function(){this._clearInput();return this.$textinput.addClass("invalid")};T.prototype._clearInput=function(){this.$textinput.removeClass("valid");return this.$textinput.removeClass("invalid")};return T})(dB);ew=B.TwoFactorMessageModal=(function(eD){cp(T,eD);function T(){T.__super__.constructor.call(this,{element_id:"team-security-message-modal",focus:"#team-security-message"})}T.prototype.on_confirm_button_click=function(eE){dn.send_team_security_message(eE);return this.hide()};return T})(dB);ba=B.DfeUnsuspendUserModal=(function(T){cp(eD,T);function eD(eE){this.on_confirm_button_click=c0(this.on_confirm_button_click,this);this.success_callback=c0(this.success_callback,this);eD.__super__.constructor.call(this,eE)}eD.prototype.before_show=function(){var eE;eD.__super__.before_show.call(this);eE=d1("Un-suspend %(user_name)s").format({user_name:this.user_name});this.$modal_window.find(".db-modal-title-text").text(eE);this.$modal_window.find("[name=user_id]").attr("value",this.user_id);this.$modal_window.find("[name=team_id]").attr("value",this.team_id);this.$modal_window.find("[name=email]").attr("value",this.email);this.$modal_window.find(".unsuspended_name").text(this.user_name);return this.$modal_window.find(".unsuspended_email").text(this.email)};eD.prototype.success_callback=function(eE){var eF;Z.success("User un-suspended");if((eF=__CIRCULAR_DEPENDENCY__.MembersReact)!=null){eF.refresh_member_stats()}return this.hide()};eD.prototype.on_confirm_button_click=function(eG){var eE,eF;eG.preventDefault();eF=this.$modal_window.find(".dfe-unsuspend-modal")[0];eE=$(this.$modal_window.find(".confirm-button")[0]);return bv.ajax_submit(eF,false,this.success_callback,false,eE)};return eD})(dB);dH=B.DfeRemoveOrDeactivateUserModal=(function(eD){cp(T,eD);function T(eE){this.on_confirm_button_click=c0(this.on_confirm_button_click,this);this.success_callback=c0(this.success_callback,this);this.on_show=c0(this.on_show,this);this.handle_change_action=c0(this.handle_change_action,this);this.switch_to_uninvite_mode=c0(this.switch_to_uninvite_mode,this);this.switch_to_removal_mode=c0(this.switch_to_removal_mode,this);this.switch_to_deactivation_mode=c0(this.switch_to_deactivation_mode,this);this.show_removal_content=c0(this.show_removal_content,this);this.show_deactivation_content=c0(this.show_deactivation_content,this);this.set_modal_class=c0(this.set_modal_class,this);this.set_form_action_to_remove=c0(this.set_form_action_to_remove,this);this.set_form_action_to_deactivate=c0(this.set_form_action_to_deactivate,this);T.__super__.constructor.call(this,eE,"input[name=transfer_files]","#transfer_files_on")}T.prototype.set_form_action_to_deactivate=function(){return bi(".dfe-remove-or-deactivate-user-modal").attr("action","/account/team/deactivate_user")};T.prototype.set_form_action_to_remove=function(){return bi(".dfe-remove-or-deactivate-user-modal").attr("action","/account/team/remove_user")};T.prototype.set_modal_class=function(eG){var eF,eE;eF="invited suspending deleting";eE=this.$modal_window.find(".dfe-remove-or-deactivate-user-modal");eE.removeClass(eF);return eE.addClass(eG)};T.prototype.show_deactivation_content=function(){return this.set_modal_class("suspending")};T.prototype.show_removal_content=function(){return this.set_modal_class("deleting")};T.prototype.switch_to_deactivation_mode=function(){this.show_deactivation_content();return this.set_form_action_to_deactivate()};T.prototype.switch_to_removal_mode=function(){this.show_removal_content();return this.set_form_action_to_remove()};T.prototype.switch_to_uninvite_mode=function(){this.set_form_action_to_remove();this.set_modal_class("invited");this.$modal_window.find(".transfer_data_on_remove_setting").remove();return this.$modal_window.find(".remote_wipe_setting").remove()};T.prototype.handle_change_action=function(eE){eE.preventDefault();if(bi("#deactivate_option").is(":checked")){return this.switch_to_deactivation_mode()}else{return this.switch_to_removal_mode()}};T.prototype.on_show=function(eE){var eF;T.__super__.on_show.call(this);bi("input[name=deactivate_or_remove]").on("change",this.handle_change_action);this.$modal_window.find(".deleted_user_name").text(this.user_name);if(this.invited){eF=d1("Uninvite %(user_name)s").format({user_name:this.user_name});this.switch_to_uninvite_mode()}else{eF=d1("Delete %(user_name)s").format({user_name:this.user_name});bi("#deactivate_option").attr("checked","checked");this.switch_to_deactivation_mode()}this.$modal_window.find(".db-modal-title-text").text(eF);this.$modal_window.find("[name=user_id]").attr("value",this.user_id);return this.$modal_window.find("[name=team_id]").attr("value",this.team_id)};T.prototype.success_callback=function(eE){if(__CIRCULAR_DEPENDENCY__.MembersReact!=null){__CIRCULAR_DEPENDENCY__.MembersReact.refresh_member_stats()}if(this.invited){Z.success(d1("User uninvited"))}else{if(bi("#deactivate_option").is(":checked")){Z.success(d1("User suspended"))}else{Z.success(d1("User deleted"))}}return this.hide()};T.prototype.on_confirm_button_click=function(eG){var eE,eF;eG.preventDefault();eF=this.$modal_window.find(".dfe-remove-or-deactivate-user-modal")[0];eE=$(this.$modal_window.find(".confirm-button")[0]);return bv.ajax_submit(eF,false,this.success_callback,this.handleAjaxFailure,eE)};return T})(bl);en=B.DfeRemoveUserModal=(function(T){cp(eD,T);function eD(eE){this.on_confirm_button_click=c0(this.on_confirm_button_click,this);this.success_callback=c0(this.success_callback,this);this.on_show=c0(this.on_show,this);eD.__super__.constructor.call(this,eE,"input[name=transfer_files]","#transfer_files_on")}eD.prototype.on_show=function(eE){var eF;eD.__super__.on_show.call(this);this.$modal_window.find(".remove_user_name").text(this.user_name);if(this.invited){eF=d1("Uninvite %(user_name)s").format({user_name:this.user_name})}else{eF=d1("Delete %(user_name)s").format({user_name:this.user_name})}this.$modal_window.find(".db-modal-title-text").text(eF);this.$modal_window.find("[name=user_id]").attr("value",this.user_id);this.$modal_window.find("[name=team_id]").attr("value",this.team_id);if(this.invited){this.$modal_window.find(".active_user_remove_setting").remove();return this.$modal_window.find(".dfe-remove-user-modal").addClass("invited")}};eD.prototype.success_callback=function(eG){var eF,eH,eE;eF=JSON.parse(eG.responseText);if(__CIRCULAR_DEPENDENCY__.MembersReact!=null){__CIRCULAR_DEPENDENCY__.MembersReact.refresh_member_stats()}else{if((eH=window.active_team_member_table)!=null){eH.remove_user(this.user_id)}if((eE=window.removed_team_member_table)!=null){eE.add_users(eF)}}if(this.invited){Z.success(d1("User uninvited."))}else{Z.success(d1("User removed."))}dn.decrement_used_licenses();return this.hide()};eD.prototype.on_confirm_button_click=function(eG){var eE,eF;eG.preventDefault();eF=this.$modal_window.find(".dfe-remove-user-modal")[0];eE=$(this.$modal_window.find(".confirm-button")[0]);return bv.ajax_submit(eF,false,this.success_callback,this.handleAjaxFailure,eE)};return eD})(bl);d9=B.ManageFilesModal=(function(eD){cp(T,eD);function T(eF,eG,eE){this.source_user_id=eF;this.source_user_name=eG;this.options=eE;this.on_confirm_button_click=c0(this.on_confirm_button_click,this);T.__super__.constructor.call(this,this.options,"input[name=file_action]","#move-files")}T.prototype.get_form=function(){return this.$modal_window.find("form")[0]};T.prototype.on_show=function(){var eE;T.__super__.on_show.call(this);this.$modal_window.find("[name='source_user_id']").attr("value",this.source_user_id);this.$modal_window.find(".source-user-name").text(this.source_user_name);eE=d1("Manage %(team_member)s's files").format({team_member:this.source_user_name});this.$modal_window.find(".db-modal-title-text").text(eE);return this.get_form().on("submit",this.on_confirm_button_click)};T.prototype.on_confirm_button_click=function(eG){var eE,eF,eH;eG.preventDefault();eF=this.get_form();eE=$(this.$modal_window.find(".confirm-button")[0]);eH=(function(eI){return function(eK){var eJ;eJ=JSON.parse(eK.responseText);if(__CIRCULAR_DEPENDENCY__.MembersReact!=null){__CIRCULAR_DEPENDENCY__.MembersReact.refresh_member_stats()}else{if(window.removed_team_member_table){window.removed_team_member_table.update_user_data(eJ)}else{if(__CIRCULAR_DEPENDENCY__.MemberActionsMenu!=null){__CIRCULAR_DEPENDENCY__.MemberActionsMenu.update_container_users(".buttons",eJ)}}}if(bi("#move-files").prop("checked")){Z.success(d1("Transfer started",{comment:"This refers to the start of a file transfer from one Dropbox to another"}))}else{Z.success(d1("Permanently deleted files"))}return eI.$modal_window.hide()}})(this);return bv.ajax_submit(eF,false,eH,this.handleAjaxFailure,eE)};return T})(bl);b4=B.show_manage_files_modal=function(T,eD){var eE;eE=new d9(T,eD,{element_id:"manage-files-modal",focus:".new-collab-input"});return eE.show()};n=function(){var T;T=function(eF,eE){var eD,eG;bi(eE).css("display","none");eD=bi(eE).closest("#user_generate_liveops_pin");eG=eD.find(".user_generate_liveops_pin_value");eG.text(eF.pin);bi(eE).addClass("liveops_pin_elem_invisible");return eD.find(".user_generate_liveops_pin_text").removeClass("liveops_pin_elem_invisible")};dn.get_pin_with_user_id(null,this,T);return false};bi("#user_generate_liveops_pin_button").click(n);var N,b,dC,aZ,ag,bn=[].indexOf||function(eE){for(var eD=0,T=this.length;eD0};eZ=function(fg){return $u.isNumber(fg)&&fg%1===0&&fg>=0};cm(eT(eU),"user_id must be a positive integer");eH=function(){var fg;fg=1<=arguments.length?cD.call(arguments,0):[];if(b){return console.log.apply(console,fg)}};e8=90000;eN=8096;eV="user";eK="list";eF=false;fa=1000;eL=5*60*1000;ff=0;eW=function(){var fg;if(eG===0){fg=0}else{fg=Math.min(fa*Math.pow(2,eG-1),eL)}return Math.max(fg,ff)};e9=null;e7={};fd={};eR=1;fe=false;eI=false;fb=null;e3=false;e4=[];eJ=null;T=null;e1=null;eM={};eQ=false;eG=0;fc=0;eX=function(fk,fi){var fh,fg,fj;fj=[];for(fh in fi){fg=fi[fh];fh=parseInt(fh,10);cm(eT(fh),"ns_ids must be positive integers: "+fh);cm(eZ(fg),"sjids must be nonnegative integers: "+fg);if(fk[fh]!=null){fj.push(fk[fh]=Math.min(fk[fh],fg))}else{fj.push(fk[fh]=fg)}}return fj};eE=function(){var fi,fh,fj,fg;cm((e9!=null)&&!$u.isEmpty(e7),"expected nid and ns_map");fj={host_int:0,trace:window.location.pathname,rev:Constants.SVN_REV};fi=$u.pluck($u.values(fd),"type");if(bn.call(fi,eV)>=0){fj.user_id=eU;fj.nid=e9!=null?e9.replace(/^0+(.)/,"$1"):void 0}if(bn.call(fi,eK)>=0){fj.ns_map=((function(){var fk;fk=[];for(fh in e7){fg=e7[fh];fk.push(""+fh+"_"+fg)}return fk})()).join(",")}if(D.parse(dC).updateQuery(fj).toString().length>eN){delete fj.ns_map}return fj};eP=function(){var fg;if(!eF){return}fg=eW();if(fg>0){return T=window.setTimeout(e2,fg)}else{return e2()}};e2=function(){var fg;cm(!fe&&!eI,"connect: invalid state");cm(e9>=0||!$u.isEmpty(e7),"notclient: called connect with nothing to subscribe to");eH("###########################");fg=eE();if((fg.nid==null)&&!fg.ns_map){eH("nothing to subscribe to. skipping notserver connection.");return}eH("connecting to notserver...");fe=true;fc+=1;return fb=bi.ajax(dC,{data:fg,dataType:"json",noDropboxDefaults:true,error:function(){if(e3){e3=false;return}eG+=1;eH("error connecting to notserver. bad rounds="+eG+".");fe=false;return eP()},success:function(fh){eH("notserver connection closed. response:",fh);fe=false;if(fh.chillout!=null){ff=parseInt(fh.chillout,10)*1000;eH("notserver told us to chill for "+ff+"ms")}else{if(ff>0){eH("setting notserver chillout back to 0ms");ff=0}}if(fh.ret==="punt"){return eP()}else{cm(fh.ret==="new","unknown notserver ret: "+fh.ret);cm("refresh" in fh,"expected notserver ret:new to have refresh keyword");return e5(fh.refresh)}}})};eS=function(){if(fb!=null){e3=true;fb.abort();return fb=null}};e6=function(){ff=0;fe=false;eI=false;eS();e4=[];window.clearTimeout(eJ);window.clearTimeout(T);eJ=null;T=null;e1=null;eM={};eQ=false;eG=0;return eP()};e0=function(){var fg;eF=false;ff=0;e9=null;e7={};fd={};fg=0;eR=1;fe=false;eI=false;fb=null;e3=false;e4=[];window.clearTimeout(eJ);window.clearTimeout(T);eJ=null;T=null;e1=null;eM={};eQ=false;eG=0;return fc=0};e5=function(fl){var fo,fk,fg,fh,fm,fi,fn,fj;cm(!eI&&!fe,"run_handlers: invalid state");cm(e1===null,"run_handlers: new_nid must start at null");cm($u.isEqual(eM,{}),"run_handlers: new_ns_map must start at {}");cm(!eQ,"expected one_or_more_handler_failures=false");eI=true;eH("running handlers...");fh=$u.filter($u.values(fd),function(fq){var fp;return fp=fq.type,bn.call(fl,fp)>=0});cm(!$u.isEmpty(fh),"notserver sent a ping for unsubscribed activity");e4=$u.pluck(fh,"handler_id");for(fi=0,fn=fh.length;fi0){eK=0;eG=T-eJ;eI=eG/eD}else{eK=Math.abs(eJ/eD);eI=Math.abs(T-eJ)/eD}}else{eH=bi("#browse-files");if(!eH.length){return[0,b5.files.length-1]}eF=parseInt(eH.css("padding-top"));eK=eL/eD;eG=T-eF;eI=(eG+eL)/eD}eK=Math.max(Math.floor(eK),0);eI=Math.min(Math.floor(eI),b5.files.length-1);return[eK,eI]},_get_elm_height:function(){var eD,T;if(b5.files.length>=3&&b5.files[1].get_div()){eD=bi(b5.files[1].get_div());T=eD.outerHeight()+parseInt(eD.css("margin-bottom"))+parseInt(eD.css("margin-top"));return T}else{return null}},append_ellipsis:function(T){return d1("%(action_text)s\u2026","web","action which requires further user interaction").format({action_text:T})},_show_blue_sharing_icons:function(){return b5.sharing_icons_experiment_variant&&b5.sharing_icons_experiment_variant==="BLUE_ICONS"},get_shared_folder_icon:function(){if(this._show_blue_sharing_icons()){return"s-folder-blue"}else{return"rainbow_16"}},get_shared_link_icon:function(){if(this._show_blue_sharing_icons()){return"s-link-blue"}else{return"s_link"}}};var a6;a6=B.Sort=(function(){var eI,T,eF,eH,eG,eE,eD;eF=function(eK){var eJ;eJ=eK?1:-1;return function(eL,eM){return eJ*dz.sort_by_rank_or_key(eL,eM)}};eH=function(eK){var eJ;eJ=eK?1:-1;return function(eL,eM){if(eL.bytes>eM.bytes){return eJ}else{if(eL.byteseM.fq_path.toLowerCase()?1:-1)}};T=function(eK){var eJ;eJ=eK?1:-1;return function(eM,eN){var eL;eL=eM.ts===eN.ts?0:eM.ts>eN.ts?1:-1;return eJ*eL}};eE=function(eJ){return function(eM){var eL,eK;eK=eJ(eM);eL=eF(true);return function(eN,eO){if(eN.dir^eO.dir){return(eN.dir?1:0)-(eO.dir?1:0)}else{return eK(eN,eO)||eL(eN,eO)}}}};eG=function(eJ){return function(eM){var eK,eL;if(!a6.FOLDERS_FIRST){return eJ(eM)}eL=eJ(eM);eK=eM?1:-1;return function(eO,eP){var eN;if(eO.dir^eP.dir){eN=(eO.dir?0:1)-(eP.dir?0:1);return eK*eN}else{return eL(eO,eP)}}}};eD=function(eJ){return function(eM){var eK,eL;eL=a6.FILES_BY_NAME(eM);eK=eM?1:-1;return function(eO,eP){var eN;if(eO.is_deleted^eP.is_deleted){return(eO.is_deleted?1:0)-(eP.is_deleted?1:0)}eN=0;if(eJ){if(eO.get_category()!==eP.get_category()){eN=eO.get_category()this.CACHE_TIME){eF.push(eH)}}T=[];for(eG=0,eD=eF.length;eG0?true:false,path_scoped:false,search_type:eL,query_string:T.query};aS.SearchClientActivityLogger.log("query_started",b5.active_user.id,eH);cm(!T.is_advanced,"expected to be in basic search mode");if(!eE){bi("#web-search-results").html(d1("Searching..."))}bi("#browse").addClass("pending-search");eM={query:T.query};if(this.sparky_search_ui_enabled){if(eE){eM.start=eE}if(eJ){eM.max_results=eJ}if(eG){eM.deleted=eG}if(this.scoped_search){eM.fq_path=this.last_fq_path}if(!eI){this.last_fulltext_query=T.query}}if(eI){eM.filename_only=true}eK=false;return new Ajax.DBRequest(eD,{no_watch:true,evalJSON:false,parameters:eM,log_timing:true,onSuccess:(function(eN){return function(eP){var eQ,eO,eS,eR;if(!b5.in_search_mode()){return}eS=eP.request.parameters.parent_request_id;eQ=JSON.parse(eP.responseText);eR=eQ.file_info.length;if(eN.sparky_search_ui_enabled){if(T.query===eN.last_fulltext_query&&eF>=eN.last_new_search_ts){eN.search_pos=eN.search_pos+eR;if(eN.end_of_active_results){eN.deleted_search_pos=eN.deleted_search_pos+eR}if(eR0){eO=eQ.file_info[0]}else{eO=null}eH=eN.create_completion_log_dict(eH,eS,eP.request.start_time,T,eR,null,eO);return aS.SearchClientActivityLogger.log("query_completed",b5.active_user.id,eH)}})(this),onFailure:(function(eN){return function(eO){eH=eN.create_completion_log_dict(eH,eO.request.parameters.parent_request_id,eO.request.start_time,T,null,eO.status);return aS.SearchClientActivityLogger.log("query_failed",b5.active_user.id,eH)}})(this),cleanUp:(function(eN){return function(){if(eK){return eN.load_more_results()}else{return bi("#browse").removeClass("pending-search")}}})(this),subject_user:b5.active_user})},ask_server_advanced:function(){var T,eD;eD=this.get_state();T={firefly:this.firefly_enabled,query_string:eD.query};aS.SearchClientActivityLogger.log("query_started",b5.active_user.id,T);cm(eD.is_advanced,"expected to be in advanced search mode");cm(!eD.query,"expected advanced search params only");delete eD.is_advanced;$("web-search-results").__date(d1("Searching..."));$("browse").addClassName("pending-search");return new Ajax.DBRequest("/ajax_advanced_search",{no_watch:true,evalJSON:false,parameters:eD,log_timing:true,onSuccess:(function(eE){return function(eG){var eF,eH;if(!b5.in_search_mode()){return}eH=eG.request.parameters.parent_request_id;eE.advanced_results=JSON.parse(eG.responseText);eE.update_results(null,false,eH);if(eE.advanced_results.file_info.length>0){eF=eE.advanced_results.file_info[0]}else{eF=null}T=eE.create_completion_log_dict(T,eG.request.parameters.parent_request_id,eG.request.start_time,eD,eE.advanced_results.file_info.length,null,eF);return aS.SearchClientActivityLogger.log("query_completed",b5.active_user.id,T)}})(this),onFailure:(function(eE){return function(eF){T=eE.create_completion_log_dict(T,eF.request.parameters.parent_request_id,eF.request.start_time,eD,null,eF.status);return aS.SearchClientActivityLogger.log("query_failed",b5.active_user.id,T)}})(this),cleanUp:(function(eE){return function(eF){return $("browse").removeClassName("pending-search")}})(this),subject_user:b5.active_user})},attempt_cache_filter:function(){var T,eF,eD,eJ,eE,eI,eH,eG;eI=this.get_state().query;eJ=this._query_to_regex(eI);eD=function(eK){return eJ.match(ao.filename(eK.ns_path).toLowerCase())};if(eI.length<=1){return false}for(eE=eH=eG=eI.length-1;eG<=1?eH<=1:eH>=1;eE=eG<=1?++eH:--eH){eF=eI.substr(0,eE).strip();if(eF in this._cache){if(this._cache[eF].file_info.length=this.MAX_RESULTS){eD=eD+"+"}T=aT("%(num_results)s result","%(num_results)s results",eD).format({num_results:eD})}}eE=d1("Search")+" - "+T;if(this.sparky_search_ui_enabled){b5.update_header_status(T);eE=d1("Results for '%(query)s'").format({query:this.get_state().query});if(this.scoped_search){eE=d1("Results for '%(query)s' in '%(path)s'").format({query:this.get_state().query,path:ao.filename(this.last_fq_path+"'")})}}bi("#web-search-results").text(eE);if(this.sparky_search_ui_enabled&&this.scoped_search){return bi("#fulltext-search-all-link").show()}},show_advanced:function(){$("browse").addClassName("advanced-search");$("browse-search").hide();$("advanced-search-link").__date(d1("Basic search"));$("advanced-search-box").show();return $("all_terms").focus()},show_basic:function(T){$("browse").removeClassName("advanced-search");$("advanced-search-box").hide();$("advanced-search-link").__date(d1("Advanced search"));if($("browse-search")){$("browse-search").show();if(!T){return $("browse-search-input").focus()}}},toggle_advanced:function(){var T,eD;eD=$("advanced-search-link");eD.toggleClassName("selected");if(eD.hasClassName("selected")){bi("#all_terms").val(this.get_basic_query());return this.show_advanced()}else{T=bi("#all_terms").val();if(T){this.set_basic_query(T);return this.show_basic()}else{return this.exit_search()}}},history_change_handler:function(T,eD){var eE;if(this.sparky_search_ui_enabled&&(eD!=null)){this.last_state=eD;this.last_state.is_advanced=false}if(!this.last_state){aP.set_path_url(Constants.root_ns,"");return}if(this.state_changed()){this.set_state(this.last_state)}if(!l.shown()){key.setScope(b5.KEY_SCOPE)}if(em.get_selected_files().length){eE=em.get_selected_files()[0].get_div();return b5.scrollToWithPadding(eE,eE.getHeight()*2)}},clear_searchbox:function(){return this._get_browse_search_input().val("")},_get_browse_search_input:function(){if(this.sparky_search_ui_enabled){return bi("#browse-search-input input")}else{return bi("#browse-search-input")}}};var dR;dR=B.BrowseKeys={_handlers:{},init:function(){},init_advanced:function(){var eE,T,eD;eD=this.advanced_dict;for(T in eD){eE=eD[T];key(eE.key,b5.KEY_SCOPE,eE.onPress)}this.customize_chart();if(dz.is_mac()&&Prototype.Browser.Gecko){return document.observe("keypress",(function(eF){return function(eG){if(eG.charCode===63&&!z.focus_in_input()){return eF.advanced_dict.help.onPress()}}})(this))}},customize_chart:function(){var eF,eD,eE,T;eF=(dz.is_mac()?".key-windows":".key-macos");eE=0;eD=void 0;T=[];while(true){eD=$("keys-chart").down(eF,eE++);if(!eD){break}T.push(eD.hide())}return T},toggle_chart:function(){if($("keys-chart").style.display==="none"){return this.show_chart()}else{return this.hide_chart()}},show_chart:function(){var T,eD;T=$("keys-chart");T.style.position="fixed";eD=$("browse-sort");if(bM.sparky_search_ui_enabled&&b5.in_search_mode()){eD=$("browse-header-wrapper")}else{if(eD.getStyle("display")==="none"){eD=$("browse-root-actions")}}bi(T).clonePosition(bi(eD),{setHeight:false});T.style.top=eD.cumulativeOffset()[1]+eD.getHeight()+"px";T.setOpacity(0.9);return T.show()},hide_chart:function(){return $("keys-chart").hide()},advanced_dict:{rename:{title:d1("Rename selected files",{comment:"'selected' means files that have been highlighted by the user to be acted upon"}),key:"f2",onPress:function(eD,eE){var T;T=em.get_selected_files();if(T.length){return T.first().edit()}}},"delete":{title:d1("Delete selected files",{comment:"'selected' means files that have been highlighted by the user to be acted upon"}),key:"delete, command+backspace, backspace",onPress:function(eF,eG){var T,eE,eD;Event.stop(eF);if(b5.inside_read_only_shared_folder){Z.warning(d1("You don't have permission to delete files in this folder."))}eD=em.get_selected_files();if(eD.length===1){T=eD.first();if(T.is_deleted){return c7.show_purge(T.fq_path,T.dir)}else{return c7.show_delete(b5.active_user,T.fq_path,T.dir)}}else{if(eD.length>1){eE=aQ.profile_files(eD);if(eE.deleted===eD.length){return c7.show_bulk_purge(eD)}else{if(eE.deleted===0){return c7.show_bulk_delete(b5.active_user,eD)}}}}}},help:{title:d1("Show/hide keyboard shorcuts"),key:"shift+/, "+(key.main_modifier())+"+/",onPress:function(){return dR.toggle_chart()}},close_help:{title:d1("Hide keyboard shorcuts"),key:"escape",onPress:function(){return dR.hide_chart()}},up_dir:{title:d1("Up a folder",{comment:"meaning, go from the current folder to its containing (parent) folder. this is one step up only -- the parent, not the root."}),key:"left",onPress:function(){var T,eD;b5.keyboard_nav=true;if(!b5.reloading){if(b5.inside_dir){if(!b5.containing_ns_path()&&b5.containing_ns_id()!==Constants.root_ns){eD=Constants.root_ns;T=ao.normalize(ao.parent_dir(b5.containing_fq_path()))}else{eD=b5.containing_ns_id();T=ao.normalize(ao.parent_dir(b5.containing_ns_path()))}if(b5.containing_ns_path()!==T||b5.containing_ns_id()!==eD){b5.select_fq_paths=[b5.containing_fq_path()];return aP.set_path_url(eD,T)}else{return em.flicker_selected()}}else{return em.flicker_selected()}}}},open_file:{title:d1("Open highlighted file"),key:"enter",onPress:function(){var T,eD;eD=em.get_selected_files();if(eD.length===1){T=eD[0];b5.open_file(T,false)}return false}},open_dir:{title:d1("Open highlighted folder"),key:"right",onPress:function(){var T,eD;b5.keyboard_nav=true;eD=em.get_selected_files();if(eD.length===1){T=eD[0];if(T.dir){b5.select_index=0;b5.open_folder(T)}else{em.flicker_selected()}}return false}},undo:{title:d1("Undo recent move/copy/rename/delete"),key:""+(key.main_modifier())+"+z",onPress:function(){R.perform_undo();return false}},search:{title:d1("Search"),key:"/",onPress:function(){var eD,T;if((eD=__CIRCULAR_DEPENDENCY__.SearchBar)!=null){if((T=eD.getInstancesWithHolderClass("top-search-bar")[0])!=null){T.focus()}}return false}}}};var ab;ab=B.BrowseSharedLink={store_shared_link_info:function(eE,T,eD){if(eE.charAt(0)==="/"){eE=eE.substring(1)}this._shared_link_fq_dir=eE;this._shared_link_file=eD;return this._shared_link_url=T},shared_link_handler:function(T,eD){if(ab._shared_link_url==="/s/"+T){aP.load_browse_view(void 0,encodeURIComponent(ab._shared_link_fq_dir));b5.open_preview(ab._shared_link_file)}else{if(ab._shared_link_url==="/sh/"+T){aP.load_browse_view(void 0,encodeURIComponent(ab._shared_link_fq_dir));if(ab._shared_link_file){b5.open_preview(ab._shared_link_file)}else{ay.init([],{include_delete:true,keep_url:true,filename_in_url:true,enable_sublinks:true,share_button_experiment_variant:b5.lightbox_share_button_experiment_variant})}}else{location.reload()}}return ab.highlight_user()},close_shared_link_view:function(){if(window.location.pathname===this._shared_link_url){return aP.set_path_url(null,"/"+this._shared_link_fq_dir)}},highlight_user:function(){if(b5.active_user.role===Constants.ROLE_WORK){bi("#work-nav-item").addClass("selected");return bi("#personal-nav-item").removeClass("selected")}else{bi("#personal-nav-item").addClass("selected");return bi("#work-nav-item").removeClass("selected")}}};var aP;aP=B.BrowseURL={_DEFAULTS:{d:false,select:false,open_preview:false},_get_helper:function(T){var eD;eD=d4.deconstruct_url().qargs;if(T in eD){return !!eD[T]}else{cm(T in this._DEFAULTS,"bad query param in BrowseURL");return this._DEFAULTS[T]}},get_del:function(){return this._get_helper("d")},ns_to_fq_path:function(T,eE){var eD;if(T!==b5.active_user.root_ns&&(!(T in b5.ns_id_to_mount_point))){T=b5.active_user.root_ns}if(T===b5.active_user.root_ns){return eE}else{eD=b5.ns_id_to_mount_point[T];return eD+eE}},_make_url:function(T,eH,eI){var eJ,eG,eD,eF,eE;if(eI==null){eI={}}if(!T){T=b5.active_user.root_ns}cm(typeof T==="number","expected ns_id as a number");cm(typeof eH==="string","expected explicit ns_path string");eJ=this.ns_to_fq_path(T,eH);eF=D({path:eC.get_browse_root(b5.active_user)+eJ});eD=d4.deconstruct_url().qargs;for(eG in eI){eE=eI[eG];if(eG in this._DEFAULTS&&!!eE!==this._DEFAULTS[eG]){eD[eG]=eE}}for(eG in eD){if(!(eG in this._DEFAULTS)){delete eD[eG]}}return d4.construct_url(String(eF),eD)},set_path_url:function(T,eH,eF){var eG,eE,eD;if(!T){T=b5.active_user.root_ns}else{eE=parseInt(T,10);T=!isNaN(eE)?eE:Constants.root_ns}eH=ao.normalize(eH);eD=eF!=null?this._make_url(T,eH,{d:eF?1:0}):this._make_url(T,eH);eG=d4.deconstruct_url(eD);return d4.push_state(eG.path,eG.qargs)},set_del_url:function(T){var eE,eF,eD;eD=d4.deconstruct_url();eE=eD.path;eF=eD.qargs;if(T){eF.d="1"}else{delete eF.d}return d4.push_state(eE,eF)},_first_load:true,_last_ns_dir:null,_last_ns_id:null,load_browse_view:function(T,eF,eD){var eG,eH,eE;if(eD==null){eD=false}key.setScope(b5.KEY_SCOPE);eF=ao.normalize(eF);eE=false;if(!this._first_load){eE=(!b5.inside_dir)||(eF!==this._last_ns_dir)||(T!==this._last_ns_id)||(b5.in_search_mode()&&bM.sparky_search_ui_enabled)}eG=eD!==b5.deleted_shown;b5.deleted_shown=eD;if(this._first_load||eE||eG){b5.reload(T,eF,true)}bM.show_basic(true);this._first_load=false;this._last_ns_dir=eF;this._last_ns_id=T;if(em.get_selected_files().length){eH=em.get_selected_files()[0].get_div();if(eH){return b5.scrollToWithPadding(eH,eH.getHeight()*2)}}},history_change_handler:function(eH,eI){var eE,eG,T,eD,eF;if(b5.growth_browse_experiment_rule==="sharing-on-browse-experiment"&&((eF=b5.growth_browse_experiment_variant)==="INLINE_SHARE"||eF==="BOTH")){b5.reset_browse_exp()}T=eI.ns;eD=eI.d==="1";this.load_browse_view(T,eH,eD);if(eI.preview!=null){eG="/"+D.encode(eI.preview);if(!!eH){eG="/"+eH+eG}eE=b5.find_file(D.decode(eG));if(eE!=null){return b5.open_preview(eE,false,false,true)}else{return d4.replace_state(eC.get_browse_root(b5.active_user))}}else{if(l.shown()){return l.hide()}}},parse_b2_hash:function(eG){var eE,eD,eF,T,eH;T=eG.split(":");if(T.length!==4){return false}eF=T[0];eE=T[2]==="1";eD=T[3];eH=!eD||dz.isNumber(eD);if(!eH){return false}eD=parseInt(eD,10)||Constants.root_ns;return{ns_id:eD,ns_path:eF,deleted:eE}}};var cs;cs=B.BrowseFile=Class.create({initialize:function(eE){var eG,eD,eF,T,eH;eG=b5.inside_dir?cT:bY;eD=ao.filename(eE.fq_path);this.icon=eE.icon;this.filename=eD;this.filename_highlights=(eF=eE.filename_highlights)!=null?eF:[];this.caption=bw.em_snippet(eD,eG);this.ns_id=eE.ns_id;this.ns_path=eE.ns_path;this.fq_path=eE.fq_path;this.mount_point=eE.mount_point;this.hash=eE.hash;this.href=eE.href;this.size=eE.size!=="None"?eE.size:"";this.bytes=eE.bytes;this.is_deleted=this.bytes===-1;this.ago=eE.ago;this.ts=eE.ts;this.dir=eE.is_dir?1:0;this.target_ns=eE.target_ns;this.sort_rank=eE.sort_rank||0;this.sort_key=eE.sort_key||[""];this.sjid=eE.sjid;this.tkey=void 0;this.thumbnail_url_tmpl=eE.thumbnail_url_tmpl;this.large_thumbnail_url_tmpl=eE.large_thumbnail_url_tmpl;this.type=eE.type;this.preview_type=eE.preview_type;if(eE.last_modified_fname){this.last_modified_fname=bw.em_snippet(eE.last_modified_fname,cu)}this.htmlified_link=eE.htmlified_link;this.doc_preview_status=eE.doc_preview_status;this.in_root_coll=eE.in_root_coll;this.user_id=eE.user_id;this.fulltext_search=eE.fulltext_search;this.read_only=eE.read_only?true:false;this.is_read_only_mount=eE.is_read_only_mount?true:false;this.request_id=(T=eE.request_id)!=null?T:null;return this.match_type=(eH=eE.match_type)!=null?eH:"UNKNOWN_MATCH"},track_in_browse:function(){if(!(this.to_key() in cs._file_index)){b5.add_file(this);return cs._file_index[this.to_key()]=this}},is_shared_folder:function(){return this.type===bK.SHARED_FOLDER},could_be_shared_folder:function(){var eE,eF,T,eD;eF=b5.public_folder_enabled&&this.fq_path.toLowerCase().startsWith("/public/");eD=b5.public_folder_enabled&&this.fq_path.toLowerCase()==="/public";T=this.target_ns;eE=this.ns_id!==Constants.root_ns;return this.type===bK.FOLDER&&!T&&!eF&&!eD&&!this.is_sandbox()&&(b5.bypass_nested_sharing_checks||!eE)},is_shared_single_file:function(){var T;T=this.ns_id!==Constants.root_ns;return this.type===bK.FILE&&T},could_be_shared_single_file:function(){var eD,eE,T;eE=b5.public_folder_enabled&&this.fq_path.toLowerCase().startsWith("/public/");T=b5.public_folder_enabled&&this.fq_path.toLowerCase()==="/public";eD=this.ns_id!==Constants.root_ns;return this.type===bK.FILE&&!(eD||eE||T)},is_sandbox:function(){return this.type===bK.SANDBOX},video_transcode_url:function(){var T;cm(this.fq_path,"video_transcode_url: expected a non-root fq_path");if(Constants.transcoder_hls4web){T=D({path:"/playlist"+this.fq_path})}else{T=D({scheme:"https",authority:Constants.LIVE_TRANSCODE_SERVER,path:"/transcode_video/w/"+(this.hash+this.fq_path)})}return T.updateQuery(Constants.UID_PARAM_NAME,b5.active_user.id).toString()},get_div:function(){return $("f_"+(this.to_key()))},rename:function(eH,eJ,eF,eG,eI,eK){var eD,eL,T,eE;eD=b5.inside_dir?cT:bY;T=this.fq_path;b5.pre_action_selection=[T];eL=b5.find_file(eH);if(eL){b5.remove_file(eL)}this.filename=ao.filename(eH);this.caption=bw.em_snippet(this.filename,eD);this.fq_path=eH;this.ns_path=eJ;this.htmlified_link=eK;this.hash=eF;this.sort_key=eG;this.sort_rank=null;this.last_modified_fname=null;if(!this.dir){eE=this.href.split("/");eE[eE.length-1]=dz.urlquote(this.filename)+("?w="+eF);this.href=eE.join("/");this.icon=eI}else{this.href="/home"+dz.urlquote(eH);if(this.target_ns){b5.ns_id_to_mount_point[this.target_ns]=eH}}if(b5.in_search_mode()&&bM.sparky_search_ui_enabled){this.filename_highlights=[]}cs._file_index[this.to_key()]=this;b5.update_file_pos(this);return document.fire(aw.RENAME,{old_fq_path:T,file:this})},edit:function(){var eE,T,eF,eD,eG;this.editing=true;b5.selectable();eG=(function(eH){return function(eP){var eJ,eI,eM,eR,eO,eL,eS,eQ,eN,eK;eK=eP.responseText.evalJSON(true);cm(eK.new_browse_files.length===1,"No new file data returned.");eM=eK.new_browse_files.first();eR=eM.fq_path;eO=eM.hash;eN=dz.decode_sort_key(eM.sort_key);eS=eM.icon;eQ=eM.ns_path;eL=eM.htmlified_link;eJ=eK.changesets;eI=d1("Rename complete.");R.notifyWithUndo(eI,eJ,c7.do_rollback);eH.rename(eR,eQ,eO,eN,eS,eL);em.set_selected_files([eH]);eH.get_div().smoothScrollIntoView();aQ.load_visible_thumbs();return b5.fire_visible_change_callbacks()}})(this);T=D({path:"/cmd/rename"+this.fq_path}).updateQuery(Constants.UID_PARAM_NAME,b5.active_user).toString();eF=bM.sparky_search_ui_enabled&&b5.in_search_mode()?".filename-col":".filename-col a";eE=new Ajax.InPlaceEditor(this.get_div().down(eF),T,{htmlResponse:false,okControl:false,cancelControl:false,highlightColor:"transparent",highlightEndColor:"transparent",clickToEditText:"",cols:25,ajaxClass:Ajax.DBRequest,submitOnBlur:true,initialText:this.filename,cancelIfSame:true,clickToEdit:false,onComplete:(function(eH){return function(){return eH.editing=false}})(this),onFailure:function(){},savingText:d1("Saving..."),ajaxOptions:{job:true,subject_user:b5.active_user,html_in_error_msg:true,progress_text:d1("Renaming..."),method:"POST",onCreate:Z.clear,onSuccess:eG,onUninitialized:b5.unselectable},callback:(function(eH){return function(eI,eJ){return{to_path:eJ||"",folder:(eH.dir?"yes":"")}}})(this)});eE.enterEditMode();eD=this.get_div().down(".editor_field");if("selectionEnd" in eD&&this.filename.lastIndexOf(".")>-1){return eD.selectionEnd=this.filename.lastIndexOf(".")}},to_key:function(){return""+this.ns_id+"_"+this.sjid},get_category:function(){var eD,T;if(this.dir){if(b5.inside_dir&&b5.containing_fq_path()===""){if(this.filename.toLowerCase()==="public"&&b5.public_folder_enabled){eD="PUBLIC_FOLDER"}}if(eD==null){if(this.type===bK.FOLDER){eD="FOLDER"}else{if(this.type===bK.PACKAGE){eD="FOLDER"}else{if(this.type===bK.TEAM_SHARED_FOLDER){eD="TEAM_SHARED_FOLDER"}else{if(this.type===bK.SHARED_FOLDER){eD="SHARED_FOLDER"}else{if(this.type===bK.SANDBOX){eD="SANDBOX"}else{if(this.target_ns){eD="SHARED_FOLDER"}else{eD="FOLDER"}}}}}}}}if(eD==null){eD=cs.EXTENSION_TO_CATEGORY[this.get_extension()]||"FILE"}T=this.is_deleted?cs.CATEGORY_TO_DELETED_TRANSLATION[eD]:cs.CATEGORY_TO_TRANSLATION[eD];cm(T,"CATEGORY MISSING FOR "+eD);return T},get_extension:function(){if(this.dir||this.filename.indexOf(".")===-1){return}return ao.file_extension(this.filename).toLowerCase()},is_shmodelable:function(){return !this.is_deleted&&b5.is_shmodelable_path(this.fq_path)}});cs._CATEGORIES={IMAGE:"bmp cr2 gif ico jpeg jpg nef png psd tif tiff svg svgz",VIDEO:"3gp 3gpp 3gpp2 avi dv flv m2t m4v mkv mov mp4 mpeg mpg mts ts vob wmv",AUDIO:"aif flac m4a m4p mp3 ogg wav wma",DOCUMENT:"ai cdr csv dbxlink doc docx docm eps fla indd keynote numbers otf pages pdf ppt pptx pptm pps ppsx ppsm ps rtf swf txt wpd xls xlsx xlsm",COMPRESSED_FILE:"7z bz2 gz gzip rar tar zip",CODE:"as as3 c coffee cpp cs css cxx h html html java js less php py rb sass scss sh sql vb xhtml xml",DISK_IMAGE:"dmg iso",EXECUTABLE:"exe",SHORTCUT:"lnk",LINK:"url webloc",FONT:"ttf"};cs.EXTENSION_TO_CATEGORY={};cs.CATEGORY_TO_TRANSLATION={FILE:d1("file"),FOLDER:d1("folder"),SHARED_FOLDER:d1("shared folder"),TEAM_SHARED_FOLDER:d1("team folder"),PUBLIC_FOLDER:d1("folder"),IMAGE:d1("image"),VIDEO:d1("video"),AUDIO:d1("audio"),DOCUMENT:d1("document"),COMPRESSED_FILE:d1("archive"),CODE:d1("code"),DISK_IMAGE:d1("disk image"),EXECUTABLE:d1("executable"),SHORTCUT:d1("shortcut"),LINK:d1("link"),FONT:d1("font"),SANDBOX:d1("app folder")};cs.CATEGORY_TO_DELETED_TRANSLATION={FILE:d1("deleted file"),FOLDER:d1("deleted folder"),SHARED_FOLDER:d1("deleted shared folder"),TEAM_SHARED_FOLDER:d1("deleted team folder"),PUBLIC_FOLDER:d1("deleted folder"),IMAGE:d1("deleted image"),VIDEO:d1("deleted video"),AUDIO:d1("deleted audio"),DOCUMENT:d1("deleted document"),COMPRESSED_FILE:d1("deleted archive"),CODE:d1("deleted code"),DISK_IMAGE:d1("deleted disk image"),EXECUTABLE:d1("deleted executable"),SHORTCUT:d1("deleted shortcut"),LINK:d1("deleted link"),FONT:d1("deleted font"),SANDBOX:d1("deleted app folder")};(function(){var eE,eG,eD,eF,T;eF=cs._CATEGORIES;T=[];for(eE in eF){eD=eF[eE];T.push((function(){var eK,eI,eH,eJ;eH=eD.trim().split(" ");eJ=[];for(eK=0,eI=eH.length;eK0){T=eD.first();this._log_extras={path:T.fq_path,ns_id:T.ns_id};return this._firefly_log_values={file_nsid:T.ns_id,file_sjid:T.sjid,firefly:bM.firefly_enabled,match_type:T.match_type,position:T.sort_rank,request_id:T.request_id,viewport:"full-view"}}},_get_actions_single:function(eS){var eI,eL,eM,eP,eE,eF,eU,eJ,eO,eG,eH,eQ,eR,eN,T,eT,eK,eD;eL=[];if(!eS){return[]}eP=b5.public_folder_enabled&&eS.fq_path.toLowerCase().startsWith("/public/");eO=b5.public_folder_enabled&&eS.fq_path.toLowerCase()==="/public";eU=eS.target_ns;eM=eS.ns_id!==Constants.root_ns;eH=eS.type===bK.SHARED_FOLDER;eG=eS.type===bK.SANDBOX;eJ=eS.type===bK.PACKAGE;eF=eS.in_root_coll;if(eS.is_deleted){eL=eL.concat(["restore"]);eL.push("purge");if(!eS.dir){eL.push("revisions")}}else{eN=(__CONDITIONAL_JS__.UnityFeatures!=null)&&((eK=__CONDITIONAL_JS__.UnityCheckFileCache)!=null?eK.get(eS.ns_id,eS.ns_path):void 0);eQ=eN?"open":"download";if(eS.dir){if(eG){eL.push("app_info")}else{if(b5.simple_sharing_enabled){eL.push("share_folder_and_token")}else{if(eH){eL.push("sharing_options")}else{if(!(eM||eU||eP||eO)){eL.push("share")}}}}if(eS.is_shmodelable()&&!b5.simple_sharing_enabled){eL.push("token_share")}eL.push(eQ);if(!eO){eL=eL.concat(["delete","rename","move"]);if(!(eJ||eU)){eL.push("copy")}}if(b5.can_use_photos_features){if(b5.can_use_photos_features){eL.push("album_from_folder")}}}else{if(eS.is_shmodelable()){eL.push("token_share")}if(eP||b5.public_app_token){eL.push("copy_url")}eL.push(eQ);eL=eL.concat(["delete","rename","move","copy","revisions"]);if(eF&&b5.can_jump_to_photo){eL.push("view_in_photos")}}if(b5.sharing_growth_experiments_variant&&b5.sharing_growth_experiments_variant==="DROPDOWN"&&!b5.simple_sharing_enabled){eR=false;eD=["sharing_options","share","token_share"];for(T=0,eT=eD.length;T-1){eL.splice(eE,1);eR=true}}if(eS.is_shared_folder()||eS.could_be_shared_folder()){eL.unshift("single_entry_share_dropdown_variant_menu")}else{eL.unshift("single_entry_share_dropdown_variant_token_share_only")}}}return eL},_get_actions_multi:function(eE){var T,eD,eF;if(Constants.send_a_copy_enabled){T=["send_copy","download"]}else{T=["download"]}T=T.concat(["delete","move","copy","restore","purge","view_in_photos"]);eD=aQ.profile_files(eE);if(eD.deleted>0||eD.public_folder>0){T.removeItem("move");T.removeItem("copy");T.removeItem("delete")}if(eD.shared_folders>0){T.removeItem("copy")}if(eD.deleted>0){T.removeItem("send_copy");T.removeItem("delete");T.removeItem("download")}if(!b5.inside_dir){T.removeItem("download")}if(!(eD.deleted===eE.length&&(eD.shared_folders===0||((eD.shared_folders===(eF=eE.length)&&eF===1))))){T.removeItem("restore");if(eD.deleted!==eE.length){T.removeItem("purge")}}if(eD.in_root_coll!==eE.length||!b5.can_use_jump_to_photo){T.removeItem("view_in_photos")}return T},_show_appropriate_sharing_modals:function(eD,T){var eE;if(b5.simple_sharing_enabled&&eD.dir){if(dy.get_for_user(b5.active_user).verified_or_show()){d6.createAndShowInbandModalFromBrowseFile(b5.active_user,eD)}return}if(eD.is_shared_folder()){aS.ShmodelUILogger.log_with_target_file("sf_options",T,eD);return p.show_shared_folder_options_modal(eD.fq_path,b5.active_user)}else{if(eD.could_be_shared_folder()){aS.ShmodelUILogger.log_with_target_file("sf_invite",T,eD);return p.show_share_existing_modal(eD.fq_path,b5.active_user)}else{aS.ShmodelUILogger.log_with_target_file("token_share",T,eD);eE=eD.fq_path;cm(eE,"token_share: expected non-root fq_path");return c1.shmodel(eE,T+"_token_share")}}},get_disabled_action_names:function(){var T,eE,eG,eD,eF;T=false;eF=this.get_files();for(eG=0,eD=eF.length;eG1){return c7.show_copy_bulk(eD)}}}},move:{icon:"move_16",text:aQ.append_ellipsis(d1("Move",{comment:"BUTTON"})),click_handler:function(eE){var T,eD;eD=this.get_files();if(eD.length===1){T=eD.first();return c7.show_move(T.fq_path,T.dir)}else{if(eD.length>1){return c7.show_move_bulk(eD)}}}},rename:{icon:"rename",text:d1("Rename",{comment:"BUTTON"}),click_handler:function(){return this.get_files().first().edit()}},"delete":{icon:"delete_16",text:aQ.append_ellipsis(d1("Delete",{comment:"BUTTON"})),click_handler:function(eE){var T,eD;eD=this.get_files();if(eD.length>1){return c7.show_bulk_delete(b5.active_user,eD)}else{if(eD.length===1){T=eD.first();return c7.show_delete(b5.active_user,T.fq_path,T.dir)}}}},global_purge:{icon:"cancel",text:aQ.append_ellipsis(d1("Permanently delete folder")),click_handler:function(){return c7.show_purge(b5.containing_fq_path(),true)}},purge:{icon:"cancel",text:aQ.append_ellipsis(d1("Permanently delete",{comment:"BUTTON"})),click_handler:function(eE){var T,eD;eD=this.get_files();if(eD.length===1){T=eD.first();return c7.show_purge(T.fq_path,T.dir)}else{return c7.show_bulk_purge(eD)}}},upload:{icon:"upload_16",text:aQ.append_ellipsis(d1("Upload")),click_handler:function(T){return c7.show_upload()}},app_info:{icon:"application_double",text:aQ.append_ellipsis(d1("Application info")),click_handler:function(T){return window.location.href="/account/security"}},more_actions:{is_dropdown:true,text:d1("More",{comment:"Show more options"}),click_handler:Prototype.emptyFunction},more_global_actions:{text:d1("More actions"),click_handler:function(){bq.show_secondary();return document.body.observe("click",bq.hide_secondary)}},view_in_photos:{icon:"s_photo",text:function(){return d1("View in Photos")},click_handler:function(){var T;T=this.get_files();return c7.do_bulk_photo_view(T)}},album_from_folder:{icon:"create-album",text:function(){return d1("Create album")},click_handler:function(){var eD,T;eD=this.get_files();T=eD.first();return c7.create_album_from_folder(T.fq_path,T.filename)}},open:{icon:"open",text:function(){return d1("Open")},click_handler:function(){var T;T=this.get_files().first();return __CONDITIONAL_JS__.UnityFeatures.open_file(T.ns_id,T.ns_path,T.user_id,__CONDITIONAL_JS__.UnityFeatures.standard_open_file_handler)}},single_entry_share_dropdown_variant_token_share_only:{icon:"s_rainbow",text:aQ.append_ellipsis(d1("Share")),click_handler:function(eE,T){var eD;eD=this.get_files().first();aS.ShmodelUILogger.log_with_target_file("single_entry_share_click",T,eD);return c1.shmodel(eD.fq_path,T)}},single_entry_share_dropdown_variant_menu:{icon:"s_rainbow",text:aQ.append_ellipsis(d1("Share")),is_dropdown:true,subactions:["single_entry_share_dropdown_variant_menu_invite_option","single_entry_share_dropdown_variant_menu_token_share_option"],click_handler:function(){},hover_handler:function(eE,T){var eD;eD=this.get_files().first();return aS.ShmodelUILogger.log_with_target_file("single_entry_share_hover",T,eD)}},single_entry_share_dropdown_variant_menu_invite_option:{icon:"user_add",text:aQ.append_ellipsis(d1("Invite people to collaborate")),click_handler:function(eH,T){var eE,eF,eG,eD;eE=this.get_files().first();if(eE.is_shared_folder()){if(dy.get_for_user(b5.active_user).verified_or_show()){aS.ShmodelUILogger.log_with_target_file("sf_options",T,eE);eF=new cM(b5.active_user,eE.fq_path);return eF.show()}}else{eD=b5.verify_email_after_share_experiment_variant;eG=eD&&eD==="VERIFY_LAST";if(eG){aS.UserActivityLogger.log("web","email_verify_last_experiment_shown")}else{if(eD){aS.UserActivityLogger.log("web","email_verify_last_experiment_not_shown")}}if(eG||dy.get_for_user(b5.active_user).verified_or_show()){aS.ShmodelUILogger.log_with_target_file("sf_invite",T,eE);eF=new b1(b5.active_user,{folder_name:eE.fq_path,element_id:"invite-to-new-sf-wizard-modal-"+b5.active_user.id,must_check_verified:eG});return eF.show()}}}},single_entry_share_dropdown_variant_menu_token_share_option:{icon:"s_link",text:aQ.append_ellipsis(d1("Send link")),click_handler:function(eE,T){var eD;eD=this.get_files().first();aS.ShmodelUILogger.log_with_target_file("token_share",T,eD);return c1.shmodel(eD.fq_path,T)}}}});ac=B.BrowseActionsContext=Class.create(a,{initialize:function($super,T){$super(T);return this._listen()},_listen:function(){$("context-menu-container").stopObserving("click");$("context-menu-container").stopObserving("contextmenu");bi("#context-menu-container").off("mouseenter");$("context-menu-container").on("click",".action button",this._click.bind(this));$("context-menu-container").on("contextmenu",".action button",this._click.bind(this));bi("#context-menu-container").on("mouseover","li.primary",this._over.bind(this));bi("#context-menu-container").on("mouseout","li.primary",this._out.bind(this));return bi("#context-menu-container").on("mouseenter",".action button",this._enter.bind(this))},_click:function(eF,eD){var eE,T;eE=eD.readAttribute("data-value");this.firefly_logging_helper(eE);T=a.option_dict[eE];aS.BrowseActionsContextMenuLogger.log(this.get_files(),eE);if(!T.is_dropdown||eD.hasAttribute("submenu-index")){a3.hide()}eF.preventDefault();T.click_handler.call(this,eF,"browse_actions_context");if(eE==="sharing_options"){aS.SharedFolderActivityLogger.log("web","browse_view_options",b5.active_user,this._log_extra,true)}if(eE==="share"){return aS.SharedFolderActivityLogger.log("web","browse_view_share_existing",b5.active_user,this._log_extras,true)}},_reset_all_submenus:function(){return bi("#context-menu-container .hover").removeClass("hover")},_reset_submenu:function(T){return bi(T).removeClass("hover")},_enter:function(eF){var eE,T,eD;eE=bi(eF.currentTarget).data("value");cm(eE);T=a.option_dict[eE];cm(T,"Action info is missing for "+eE);return(eD=T.hover_handler)!=null?eD.call(this,eF,"browse_actions_context"):void 0},_over:function(T){if(bi(T.currentTarget).children(".secondary").length){clearTimeout(this.timeoutID);this._reset_all_submenus();return bi(T.currentTarget).addClass("hover")}},_out:function(T){if(bi(T.currentTarget).children(".secondary").length){return this.timeoutID=setTimeout((function(eD){return function(){return eD._reset_submenu(T.currentTarget)}})(this),300)}}});d7=B.BrowseActionsBasic=Class.create(a,{initialize:function($super){var T;T=em.get_selected_files();$super(T);this._render();return this._listen()},_listen:function(){var T;this.bound_update=this._update.bind(this);this.bound_disable=this._disable.bind(this);this.bound_enable=this._enable.bind(this);this.bound_click=this._click.bind(this);document.observe(em.UPDATED_EVT,this.bound_update);document.observe(a3.SHOW_EVT,this.bound_disable);document.observe(a3.HIDE_EVT,this.bound_enable);T=$("browse-root-actions");T.stopObserving("click");return T.on("click",".action button",this.bound_click)},unlisten:function(){document.stopObserving(em.UPDATED_EVT,this.bound_update);document.stopObserving(a3.SHOW_EVT,this.bound_disable);document.stopObserving(a3.HIDE_EVT,this.bound_enable);return $("browse-root-actions").stopObserving("click",this.bound_click)},_update:function(){this._set_files(em.get_selected_files());return this._render()},_disable:function(){$("browse-root-actions").stopObserving("click");if($("browse-root-actions").down(".secondary")){$("browse-root-actions").down(".secondary").addClassName("disabled")}return $$("#browse-root-actions .action *").invoke("setStyle",{cursor:"default"})},_disable_action:function(eE){var eD,T;T="#browse-root-actions #"+eE+"_action_button";eD=bi(T);eD.addClass("disabled");return eD.click((function(eF){return function(eG){eF.show_disabled_action_warning(eE);return false}})(this))},_enable:function(){$("browse-root-actions").stopObserving("click");$("browse-root-actions").on("click",".action button",this._click.bind(this));if($("browse-root-actions").down(".secondary")){$("browse-root-actions").down(".secondary").removeClassName("disabled")}return $$("#browse-root-actions .action *").invoke("setStyle",{cursor:"pointer"})},_render:function(){var e3,eW,eY,eO,e0,e4,e6,eV,eX,eR,T,eK,eL,eN,eM,eZ,eJ,e7,eT,eH,eQ,eP,eS,eU,eI,eG,eE,eD,e1,e5,e2,eF;eK=this.get_files();eY=this.get_action_names();if(b5.sharing_growth_experiments_variant&&b5.sharing_growth_experiments_variant==="DROPDOWN"&&!b5.simple_sharing_enabled){eP=["single_entry_share_dropdown_variant_token_share_only","single_entry_share_dropdown_variant_menu"];for(eG=0,e1=eP.length;eG-1){eY.splice(eM,1);break}}}e3=13.5;eX="";eL="";if(eK.length===1){eX=bw.em_snippet(eK[0].filename,e3);if(!eK[0].dir&&eK[0].bytes>=0){eL=eK[0].size}}else{if(1e6){eU.push(e7)}else{if(eQ.length===0){eT=eU.pop();eQ.push(eT)}eQ.push(e7)}e0-=e6}if(eQ.length){eU.push("more_actions")}eO=(function(){var fa,e8,e9;e9=[];for(fa=0,e8=eU.length;fa=0,"anchor_index: "+fg+" "+eS);cm(fd=0,"target_index: "+fd);ff=b5.files.slice(Math.min(fg,fd),Math.max(fg,fd)+1);fe=eN.slice(0);for(fh=0,fk=ff.length;fh0){fk=b5.files.indexOf(e4.last());fd=b5.files.indexOf(eO);if(eO===e4.last()||fd>fk){if(fk>0){ff=[];for(fj=fh=fi=fk-1;fi<=0?fh<=0:fh>=0;fj=fi<=0?++fh:--fh){fe=b5.files[fj];fg=e4.indexOf(fe);eG(fe,eO);if(fg!==-1){ff.push(e4.splice(fg,1))}else{b5.scrollTo(fe.get_div());break}}return ff}}else{e3(e4.last());return b5.scrollTo(e4.last().get_div())}}else{return e8()}};eI=function(fm){var fd,fe,fk,fl,fh,fi,fj,fg,ff;if(typeof K!=="undefined"&&K!==null){K.reset()}eV();if(fm){Event.extend(fm).preventDefault()}if(e4.length>0){fl=b5.files.indexOf(e4.last());fd=b5.files.indexOf(eO);if(eO===e4.last()||fdfg;fk=fj<=fg?++fi:--fi){fe=b5.files[fk];fh=e4.indexOf(fe);eG(fe,eO);if(fh!==-1){ff.push(e4.splice(fh,1))}else{b5.scrollTo(fe.get_div());break}}return ff}else{e3(e4.last());return b5.scrollTo(e4.last().get_div())}}else{return eT()}};e9=function(){if(typeof K!=="undefined"&&K!==null){K.reset()}eU(b5.files);return false};e5=function(){if(typeof K!=="undefined"&&K!==null){K.reset()}return eU(null,null,null)};eM=function(fd){return eU(b5.find_file(fd.memo.fq_path))};eP=function(){$$(".file-select").invoke("removeClassName","file-select").invoke("removeClassName","file-select-one");return setTimeout(eL,100)};e0=function(fd){return fd.memo.files.each(function(fe){var ff;ff=e4.indexOf(fe[0]);if(ff!==-1){e4.splice(ff,1);return eG(fe[1])}})};eJ=function(fd,fe){var ff;if(b5.in_search_mode()&&fd&&fe){ff={file_nsid:fd.ns_id,file_sjid:fd.file_sjid,firefly:bM.firefly_enabled,match_type:fd.match_type,position:fd.sort_rank,request_id:fd.request_id,viewport:"full-view",action_type:fe};return aS.SearchClientActivityLogger.log("result_action",b5.active_user.id,ff)}};eR=function(fe,fd,ff,fh,fl){var fk,fj,fi,fg;fj="file_row_sharing_menu";if(fd){if(dy.get_for_user(fe).verified_or_show()){aS.ShmodelUILogger.log("sf_options",fj,ff);eJ("single_entry_share_button_folder_options");fk=new cM(fe,fh);if(typeof fl==="function"){fl()}return fk.show()}}else{fg=b5.verify_email_after_share_experiment_variant;fi=fg&&fg==="VERIFY_LAST";if(fi){aS.UserActivityLogger.log("web","email_verify_last_experiment_shown")}else{if(fg){aS.UserActivityLogger.log("web","email_verify_last_experiment_not_shown")}}if(fi||dy.get_for_user(fe).verified_or_show()){aS.ShmodelUILogger.log("sf_invite",fj,ff);eJ("single_entry_share_button_folder_invite");fk=new b1(fe,{folder_name:fh,element_id:"invite-to-new-sf-wizard-modal-"+fe.id,must_check_verified:fi});if(typeof fl==="function"){fl()}return fk.show()}}};document.observe(bh.REMOVE,function(fd){return fd.memo.files.each(e3)});document.observe(bh.MOVE,e0);return{UPDATED_EVT:"db:select:updated",LIGHTBOX_EXIT_SELECT_EVT:"db:filepreview:exitselect",init:function(){var fd;document.observe("click",e2);document.observe("mousedown",eF);document.observe("mouseup",fa);document.observe("dragend",fa);document.observe("mouseup",eD);$("browse-files").on("mouseover","li.browse-file",eY);$("browse-files").on("click",".shmodel-file",eE);$("browse-files").on("click",".inline-share-button",e7);$("browse-files").on("click",".more-link",e7);document.observe(em.UPDATED_EVT,eL);document.observe(em.UPDATED_EVT,eD);document.observe(b5.RENDER_EVT,eL);document.observe(b5.RENDER_EVT,eD);document.observe(b5.UPDATE_EVT,eU.bind(null,null,null));document.observe(em.LIGHTBOX_EXIT_SELECT_EVT,eM);fd=key.main_modifier();key("up",b5.KEY_SCOPE,e8);key("down",b5.KEY_SCOPE,eT);key(fd+"+a",b5.KEY_SCOPE,e9);key("escape",b5.KEY_SCOPE,e5);key("shift+up",b5.KEY_SCOPE,eZ);return key("shift+down",b5.KEY_SCOPE,eI)},set_selected_files:function(fd){return eU(fd)},get_selected_files:function(){return e4.slice(0)},get_selected_fq_paths:function(){return e4.map(function(fd){return fd.fq_path})},has_selected_files:function(){return e4.length},is_selected:function(fd){return e4.indexOf(fd)!==-1},is_selecting:function(){return !!eS},deselect_all:e1,set_context_selected:function(fd){return fc(fd)},flicker_selected:eP,firefly_logging_helper:function(fd,fe){return eJ(fd,fe)},show_share_modal_if_email_verified:eR,recipients_click:function(fd){return eH(fd)},link_click:function(fd){return eK(fd)}}})();at=B.SharingGrowthExperimentsDropdown={open:function(eH,eE,eF,eD,eI,eJ,eG){var T;this.fq_path=eH;this.existing_sf=eE;this.button=eF;this.user=eD;this.target_item=eI;this.is_file=eJ;this.mount_point=eG;this.$menu=bi("#sharing-growth-experiments-dropdown-menu");T=this.$button&&this.$button.length;if(T){if(this.$button[0]===this.button){this._hide();return}else{this._hide()}}return this._show()},_show:function(){var T,eD;this.$menu.show();this.$button=bi(this.button);this.$button.addClass("pressed");if(b5.growth_browse_experiment_rule==="sharing-on-browse-experiment"&&((eD=b5.growth_browse_experiment_variant)==="INLINE_SHARE"||eD==="BOTH")){this.$button.parent(".sharing-actions").addClass("pressed")}T={offsetLeft:-1*Math.abs(this.$button.outerWidth()-this.$menu.outerWidth())+6,offsetTop:46,setWidth:false,setHeight:false};z.clone_position(this.$menu,this.$button,T);bi("#browse-box").addClass("dropdown-menu-open");if(this.is_file){this._add_share_file_logging("single_file_shared_entry_button_displayed","single_file_unshared_entry_button_displayed")}return this._listen()},_listen:function(){this.$menu.on("click dblclick",function(T){return T.stopPropagation()});bi(document).on("mousedown",bi.proxy(this._click_outside_menu_callback,this));this.$menu.find(".option-to-share-folder").on("click",bi.proxy(this._sf_click,this));return this.$menu.find(".option-to-share-link").on("click",bi.proxy(this._share_link_click,this))},_unlisten:function(){this.$menu.hide().off("click dblclick");bi(document).off("mousedown",this._click_outside_menu_callback);this.$menu.find(".option-to-share-folder").off("click",bi.proxy(this._sf_click,this));return this.$menu.find(".option-to-share-link").off("click",bi.proxy(this._share_link_click,this))},_add_share_file_logging:function(eE,eF){var eD,T;T={path:this.fq_path};eD=this.existing_sf?eE:eF;return aS.SharedFolderActivityLogger.log("web",eD,this.user,T)},_sf_click:function(eD){var T;if(this.is_file){if(dy.get_for_user(this.user).verified_or_show()){this._add_share_file_logging("single_file_shared_collaboration_clicked","single_file_unshared_collaboration_clicked");if(this.existing_sf){T=new dA(this.user,{folder_name:ao.filename(this.mount_point),folder_path:this.mount_point,element_id:"confirm-share-existing-file-wizard-modal"})}else{T=new b1(this.user,{folder_name:this.fq_path,is_file:true,element_id:"invite-to-new-share-file-wizard-modal-"+this.user.id})}this._hide();return T.show()}}else{return em.show_share_modal_if_email_verified(this.user,this.existing_sf,this.target_item,this.fq_path,this._hide.bind(this))}},_share_link_click:function(eD){var T;T="file_row_sharing_menu";aS.ShmodelUILogger.log("token_share",T,this.target_item);this._firefly_logging_helper("single_entry_share_button_folder_link");c1.shmodel(this.fq_path,T);if(this.is_file){this._add_share_file_logging("single_file_shared_link_clicked","single_file_unshared_link_clicked")}return this._hide()},_firefly_logging_helper:function(T){return em.firefly_logging_helper(b5.find_file(this.fq_path),T)},_clicked:function(T,eD){return T.is(eD.target)||T.has(eD.target).length},_click_outside_menu_callback:function(T){if(!(this._clicked(this.$menu,T)||this._clicked(this.$button,T))){return this._hide()}},_hide:function(T){this._unlisten();bi("#browse-box").removeClass("dropdown-menu-open");this.$button.removeClass("pressed");if(b5.growth_browse_experiment_rule==="sharing-on-browse-experiment"&&b5.growth_browse_experiment_variant===["INLINE_SHARE","BOTH"]){this.$button.parent(".sharing-actions").removeClass("pressed")}return this.$button=null}};aK=B.SharingGrowthExperimentsAutocomplete={init:function(){return this.autocomplete=new Autocompleter.ContactsTokenizer(b5.active_user,"growth-browse-inline-new-collab-input","growth-browse-inline-new-whobulk","growth-browse-inline-hidden-input",{tokens:[",",";"],include_fb:false,include_team:false,hide_import_contacts:false,suggestions_disabled:true})},recipients_click:function(eD,T){var eE;this.file=eD;this.user=T;this.mode="recipients";this._activate();this.$sharing_actions.find(".get-link").hide();this.$sharing_actions.find(".send-button").show();eE=this._autocomplete_div();this.$sharing_actions.prepend(eE);eE.show();this.autocomplete.dynamically_resize_input();bi(this.autocomplete.element).val("");this.autocomplete.clearTokens();bi(this.autocomplete.get_entry_container()).hide();bi(this.autocomplete.element).focus();return false},link_click:function(eE,eD){var T;this.file=eE;this.user=eD;if(!dy.get_for_user(this.user).verified_or_show(dV.SHMODAL)){return}T="file_row_sharing_menu";aS.ShmodelUILogger.log("token_share",T,this.target_item);return c1.shmodel(this.file.fq_path,T)},_activate:function(){this.$sharing_div=bi(this.file.get_div()).find(".sharing");this.$sharing_actions=this.$sharing_div.find(".sharing-actions");this.$sharing_actions.find(".recipients").hide();this.$sharing_div.addClass("pressed");bi("#browse-box").addClass("dropdown-menu-open");return this._listen()},_send:function(){var eD,eI,eJ,eL,eO,eF,eE,eG,eK,eN,eH,T,eM;this.sharing_api=new a1(this.user);this.autocomplete.tokenize_emails_input(true);eL=this.emails=this.autocomplete.getEmails().split(", ");eO=this.file.fq_path;T={emails:eL};eJ="";eI="";eD="";eG=this.file.target_ns;eE="";eM="";eD="";eF=false;this._hide();eN=(function(eP){return function(){return eP._complete(d1("Sent!"),"success")}})(this);eK=(function(eP){return function(eU){var eT,eS,eR,eQ;eQ=eU.responseText.substr(4);if(eQ[0]==="{"){eT=JSON.parse(eQ);if(eT.emails){eS=eT.emails["message_text"]}if(eT.path){eS=eT.path["message_text"]}}else{eS=eQ}if(!eS){eS="Unknown"}eR=d1("Error: %(msg)s").format({msg:eS});return eP._complete(eR,"error")}})(this);if(!dy.get_for_user(this.user).verified_or_show(dV.SHMODAL)){return}eH=this.file.read_only||this.file.is_read_only_mount;if(this.file.is_shared_folder()&&!eH){return this.sharing_api.invite_more_to_folder(eG,T,eJ,eD,eN,eK)}else{if(this.file.could_be_shared_folder()&&!eH){return this.sharing_api.share_folder(false,eO,T,eJ,eI,eE,eM,eD,eF,eN,eK)}else{return this._get_shmodel_link(function(eQ){var eP;eP=D.parse(eQ);return cf.WebRequest({url:"/sm/share",data:{emails:eL,shmodel_path:eP.path},subject_user:b5.active_user.id,success:eN,error:eK})})}}},_get_shmodel_link:function(T){return cf.WebRequest({url:"/growth/find_or_create_shmodel_link",data:{path:this.file.fq_path},subject_user:b5.active_user.id,dataType:"json",success:(function(eD){return function(eE){if(eE.error!=null){return eD._complete(d1("Error"),"error")}else{return T(eE.shmodel_link)}}})(this),error:(function(eD){return function(){return eD._complete(d1("Error"),"error")}})(this)})},_complete:function(eD,eI){var T,eH,eJ,eK,eF,eG,eE;this.$sharing_div.addClass("complete");T=this.$sharing_div.find(".sharers");if(eI==="success"&&this.emails){eG=aT("Sent to %(number)d person","Sent to %(number)d people",this.emails.length).format({number:this.emails.length});Z.success(eG);eH=T.text();if(eH==="--"){eH=""}if(eH.length===""||eH.length+this.emails.join(", ").length<28){eJ=[];eE=0;eF=0;while(eFeJ.length){eJ.push("+"+(this.emails.length-eJ.length))}if(eH!==""){eJ.push(eH)}eK=eJ.join(", ");T.text(eK);b5.update_file_to_sharers(this.file,eJ)}}else{if(eI==="error"){Z.error(eD)}}return setTimeout(this._removeComplete,2000)},_removeComplete:function(){return bi("div.sharing.complete").removeClass("complete")},_autocomplete_div:function(){return bi("#browse-inline-autocomplete")},_listen:function(){if(this.mode==="recipients"){this._autocomplete_div().on("click dblclick",function(T){return T.stopPropagation()});this.$sharing_actions.find(".send-button").on("click",bi.proxy(this._send,this))}return bi(document).on("mousedown",bi.proxy(this._click_outside_autocompleter_callback,this))},_unlisten:function(){if(this.mode==="recipients"){this._autocomplete_div().off("click dblclick");this.$sharing_actions.find(".send-button").off("click",bi.proxy(this._send,this))}return bi(document).off("mousedown",this._click_outside_autocompleter_callback)},_click_outside_autocompleter_callback:function(T){if(!(this.$sharing_actions.is(T.target)||bi(T.target).parents(".sharing-actions").length)){return this._hide()}},_hide:function(T){var eD;this._unlisten();bi("#browse-box").removeClass("dropdown-menu-open");this.$sharing_actions.find(".recipients, .get-link").show();this.$sharing_actions.find(".send-button, .link-field").hide();this.$sharing_div.removeClass("pressed");eD=this._autocomplete_div().hide();return bi("#browse-sort").append(eD)}};var y;y=B.DragScroll={_timer:null,_mouse_y:0,_initial_mouse_y:null,_scroll_amount:40,_scroll_window:50,_min_drag_distance:20,_exclude_move_event:null,init:function(T,eD){this._exclude_move_event=T;if(eD!=null){return this._scroll_window=eD}},start:function(){this._initial_mouse_y=null;this._listen();return this._timer=setInterval(this._check_for_scroll.bind(this),100)},end:function(){this._unlisten();return clearInterval(this._timer)},_mousemove:function(eD){var T;if(typeof this._exclude_move_event==="function"?this._exclude_move_event(eD):void 0){return this._mouse_y=0}else{T=eD.pointerY();return this._mouse_y=T-z.scroll_offsets().top}},_listen:function(){document.observe("mousemove",this._mousemove.bind(this));return document.observe("dragover",this._mousemove.bind(this))},_unlisten:function(){document.stopObserving("mousemove",this._mousemove.bind(this));return document.stopObserving("dragover",this._mousemove.bind(this))},_check_for_scroll:function(){var T;if(this._initial_mouse_y===null){this._initial_mouse_y=this._mouse_y}if(Math.abs(this._mouse_y-this._initial_mouse_y)z.viewport_dimensions().height-this._scroll_window){T=this._scroll_amount}}if(T){return z.scroll_to(z.scroll_offsets().left,z.scroll_offsets().top+T)}}};var bt;bt=B.BrowseDrag={_BODY_DRAG_CLASS:"external_drag",_STATUS_CLASS:"dragging",_STATUS_OFFSET:10,_SELECTION_CONST:"SELECTION",_current_item_key:null,_drag_from_window:false,init:function(){var T;if(!Modernizr.draganddrop){return}this.listen();T=function(eE){var eD;eD=bi(eE.target);return eD.closest("#browse-location").length||eD.attr("id")==="browse-location"};return y.init(T,bi("#browse-header").height())},listen:function(){var T;T=$(document.body);document.observe(b5.UPDATE_EVT,this._update_body_data.bind(this));T.on("dragleave","[dropzone]",this._dropzone_dragleave.bind(this));T.on("dragend",this._body_dragend.bind(this));T.on("dragover","[dropzone]",this._dropzone_dragover.bind(this));if(Prototype.Browser.IE){T.on("dragenter","[dropzone]",this._dropzone_dragover.bind(this));T.on("mousedown",this._ie_start_drags.bind(this));T.on("mouseover","a.filename-link",this._ie_mouseover.bind(this))}T.observe("dragover",this._body_dragover.bind(this));T.observe("dragleave",this._body_dragleave.bind(this));T.observe("dragstart",this._body_dragstart.bind(this));T.observe("mousemove",this._body_mousemove.bind(this));T.on("dragstart","li.browse-file",this._file_dragstart.bind(this));document.observe(em.UPDATED_EVT,this._build_selected_drag_icon.bind(this));document.observe(b5.RENDER_EVT,this._build_selected_drag_icon.bind(this));T.on("mousedown","li.browse-file",this._build_file_drag_icon.bind(this));return T.on("drop","[dropzone]",this._drop.bind(this))},_file_mousemove:function(eD){var T;if(!window.event||window.event.button!==1){return}T=eD.findElement("[draggable]");if(T&&T!==document&&T.dragDrop){T.dragDrop();return bt._ie_end_drags()}},_ie_start_drags:function(T,eD){if(eD.tagName!=="OBJECT"&&$(eD).match("[draggable]")){return $("browse-files").observe("mousemove",this._file_mousemove)}},_ie_end_drags:function(){return $("browse-files").stopObserving("mousemove")},_update_body_data:function(){var eD,T;eD=b5.inside_dir?"copy move":false;T=b5.inside_dir?b5.containing_fq_path():false;$(document.documentElement).writeAttribute("dropzone",eD);return $(document.documentElement).writeAttribute("data-fq_path",T)},_body_dragover:function(eF){var eD,eE,T;eD=this._get_event_browse_files();if(eD.length){return this._update_status_position(eF,eD)}else{if(!this._drag_from_window&&((eE=eF.dataTransfer)!=null?(T=eE.types)!=null?T.contains("Files"):void 0:void 0)){return a5.show_drop_indicators(eF)}}},_body_dragleave:function(eE){var eD,T,eF;T=eE.x||eE.clientX;eF=eE.y||eE.clientY;eD=z.viewport_dimensions();if(!((01){T.addClassName("rotatein")}if(this._is_dragging_selection()){T.addClassName("selection")}return T.addClassName("fadein")}},_add_drop_indicators:function(eG){var eH,eF,eD,eE,T;$(document.body).addClassName(this._STATUS_CLASS);if(!dm.disabled){eE=$$('[dropzone="copy move"]');T=[];for(eF=0,eD=eE.length;eF","|"].map(function(T){return T.charCodeAt(0)}),update:function(){var eE,eH,eD,eG,T,eF;if(!K._listening){K.listen();K._listening=true}eE=[];eF=b5.files;for(eG=0,T=eF.length;eG0&&eF.length>0,"bad input to cmp_codepoints");for(T=eE=0,eD=eG.length;0<=eD?eEeD;T=0<=eD?++eE:--eE){if(eF[T]==null){return 1}if(eG[T]!==eF[T]){return(eG[T]eG.length){return -1}else{return 0}},to_codepoint_list:function(eD){var eE,T,eG,eF;eD=eD.toLowerCase();T=[];for(eE=eG=0,eF=eD.length;0<=eF?eGeF;eE=0<=eF?++eG:--eG){T.push(eD.charCodeAt(eE))}return T}};var a3;a3=B.ContextMenu={KEY_SCOPE:"context",SHOW_EVT:"db:contextmenu:show",HIDE_EVT:"db:contextmenu:hide",_prev_key_scope:null,listen:function(){bi(document).click(this.hide_on_click);bi(document).on(b5.UPDATE_EVT,this.hide_on_click);return key("esc",this.KEY_SCOPE,(function(T){return function(eD){return a3.hide()}})(this))},unlisten:function(){bi(document).off("click",this.hide_on_click);return bi(document).off(b5.UPDATE_EVT,this.hide_on_click)},hide_on_click:function(T){if(!(T.which===3||bi(T.target).parents("#context-menu").length)){return a3.hide()}},show_for_file:function(T,eF,eE){var eG,eD;b5.keyboard_nav=false;this.hide();eG=cs.from_elem(eE);eD=em.is_selected(eG)?em.get_selected_files():(em.deselect_all(),[eG]);em.set_context_selected(eD);return this._show(eF,new T(eD))},show_global:function(T,eD){this.hide();return this._show(eD,new T())},show_shmodel:function(eI){var eH,eD,T,eE,eF,eG;eH=["get_original"];eF=eI.findElement("img");if((eF.readAttribute("enable-download"))==="true"){eE=eF.readAttribute("data-original-href");eD=[]}else{eE="";eD=["get_original"]}this.hide();eG={get_original:{icon:"download",text:d1("Download original"),href:eE}};T=Class.create({get_action_names:function(){return eH},get_disabled_action_names:function(){return eD},get_action_by_name:function(eJ){var eK;eK=eG[eJ];eK.name=eJ;return eK}});return this._show(eI,new T())},show_for_lightbox:function(eJ){var eI,eD,T,eG,eE,eH,eF;eI=["download","view_original"];this.hide();eE=eJ.findElement("img");if((eE.readAttribute("enable-download"))==="false"){eD=["download","view_original"];eG="";eF=""}else{eD=[];eG=D.parse(eE.readAttribute("data-original-href")).updateQuery({dl:1}).toString();eF=eE.readAttribute("data-original-href")}eH={download:{icon:"download",text:d1("Download"),href:eG},view_original:{icon:"view_original",text:aQ.append_ellipsis(d1("View original")),href:eF,target:"_blank"}};T=Class.create({initialize:function(){return this._listen()},_listen:function(){var eK;eK=$("context-menu-container");eK.stopObserving("click");eK.stopObserving("contextmenu");eK.on("click",".action button",this._click.bind(this));return eK.on("contextmenu",".action button",this._click.bind(this))},_click:function(eO,eL){var eN,eK,eM;eN=eL.readAttribute("data-value");eK=eH[eN];a3.hide();eO.preventDefault();return(eM=eK.click_handler)!=null?eM.call(this,eO):void 0},get_action_names:function(){return eI},get_disabled_action_names:function(){return eD},get_action_by_name:function(eK){var eL;eL=eH[eK];eL.name=eK;return eL}});return this._show(eJ,new T())},show_photos:function(eK,eO){var eN,eD,eH,eF,eM,eL,T,eE,eI,eJ,eG;this.hide();eF={divider:{type:"divider"},choose_album:{icon:"album_16",text:aQ.append_ellipsis(d1("Add %(num_photos)s to album").format({num_photos:eO.length})),click_handler:function(eP){cj.show_add_to_album_modal(eP,eO);return h.log_interaction(dP.ADD_TO_OTHER_ALBUM,cI.PCM,{num_photos:eO.length})}},remove:{icon:"album_delete_16",text:d1("Remove %(num_photos)s from album").format({num_photos:eO.length}),click_handler:function(){cj.show_remove_photos_modal(bs.get_current_collection(),eO);return h.log_interaction(dP.REMOVE,cI.PCM,{num_photos:eO.length})}},set_cover:{icon:"album_16",text:d1("Set as cover"),click_handler:function(){bs.get_current_collection().set_cover(eO[0]);return h.log_interaction(dP.SET_AS_COVER,cI.PCM,{num_photos:1})}},edit_timestamp:{text:"Edit timestamp",click_handler:function(){return bs.show_timestamps_modal(eO)}}};if(bs.in_single_collection_view()){eN=["share","choose_album","remove"];if(eO.length===1){eN.unshift("divider");eN.unshift("set_cover")}}else{eN=["share","choose_album"];eN.push("divider");eN.push("delete");if(bs.timestamp_edit_enabled){eM=(function(){var eR,eQ,eP;eP=[];for(eR=0,eQ=eO.length;eReG.width-eF){$("context-menu").setStyle({left:(eG.width-T-eF)+"px"})}else{$("context-menu").setStyle({left:eE+"px"})}if(eH+eD>eG.height-eF){return $("context-menu").setStyle({top:(eG.height-eD-eF)+"px"})}else{return $("context-menu").setStyle({top:eH+"px"})}},hide:function(){if(!$("context-menu-container").empty()){this.unlisten();em.set_context_selected([]);$("context-menu-container").__date();if(key.getScope()===this.KEY_SCOPE){key.setScope(this._prev_key_scope)}return document.fire(this.HIDE_EVT)}}};var cT,b5,j,cu,bY;cT=B.BROWSE_SNIPPET_LEN=25;bY=B.SEARCH_SNIPPET_LEN=20;cu=B.LAST_MODIFIED_FNAME_SNIPPET=4;b5=INLINE_JS.Browse=B.Browse={KEY_SCOPE:"browse",RENDER_EVT:"db:browse:render",UPDATE_EVT:"db:browse:update",SCROLL_DURATION:0.5,msg:false,files:[],reloading:false,creating_folder:false,first_load:true,last_sort:[a6.FILES_BY_NAME,true],folder_loading_notification:null,folder_loading_timeout:null,keyboard_nav:false,init:function(eD,eI,eF,eH,T,eG,eE){this.browse_actions_ctor=eI;this.global_actions_ctor=eF;this.browse_actions_context_ctor=eH;this.global_actions_context_ctor=T;this.ns_id_to_mount_point=eG;cm(typeof eE==="number","a user_id was not passed into Browse.init",true,[],false);this.active_user=cn.get_viewer().get_user_by_id(eE);__CIRCULAR_DEPENDENCY__.active_user_loaded=true;cm(this.active_user,"No active_user was found in Browse.init",true,[],false);this.unselectable();this.listen();z.viewport_dimensions();if(bE.chrome){this.browser_supports_previews=eD&&dz.pdf_plugins().length}else{this.browser_supports_previews=eD}if(cn.get_viewer().is_paired){c9.set_role(this.active_user.role)}this.subscribe_sfj_callbacks={};this.compiled_search_tmpl=eA.tmpl("search_list_item_tmpl");this.add_visible_change_callback((function(eJ){return function(){return eJ.show_sharing_on_browse_exp()}})(this));cf.WebRequest({url:D({path:"/flash_detect_log"}),dataType:"json",data:{installed:FlashDetect.installed,major:FlashDetect.major,minor:FlashDetect.minor,revision:FlashDetect.revision,revisionStr:FlashDetect.revisionStr,raw:FlashDetect.raw}});return this._started_darklaunch_allocation=false},setup:function(eD,eI){var eH,eG,eF,T,eE;if(eI==null){eI=null}this.ns_id_to_mount_point=eD.ns_id_to_mount_point;this.old_path_to_ns_id=eD.old_path_to_ns_id;this.compiled_tmpl=eA.tmpl("list_item_tmpl");this.render_timeout=null;this.inside_root_folder=eD.containing_fq_path==="";this.inside_dir=eD.inside_dir;this.inside_deleted_dir=eD.inside_deleted_dir;this.inside_shared_folder=eD.inside_shared_folder;this.inside_read_only_shared_folder=eD.inside_read_only_shared_folder;this.inside_sandbox=eD.inside_sandbox;this.public_app_token=eD.public_app_token;this.public_folder_enabled=eD.public_folder_enabled;this.inside_deleted_sandbox=eD.inside_deleted_sandbox;this.inside_deleted_shared_folder=eD.inside_deleted_shared_folder;this.inside_team_folder=eD.inside_team_folder;this.bypass_nested_sharing_checks=eD.bypass_nested_sharing_checks;this.is_read_only=eD.is_read_only;this.ns_map=eD.ns_map;this.contents_cache_key=eD.contents_cache_key;this._eventbus_darklaunch_enabled=eD.eventbus_darklaunch_enabled;this._eventbus_darklaunch_num_queues=eD.eventbus_darklaunch_num_queues;eG="inside_deleted_dir";if(this.inside_deleted_dir){$("browse").addClassName(eG)}else{$("browse").removeClassName(eG)}this.block_hash=eD.block_hash;this.block_hash_param=eD.block_hash_param;if(this.inside_dir){$("advanced-search-box").hide();$("advanced-search-link").removeClassName("selected");this._containing_ns_id=eD.containing_ns_id;this._containing_ns_path=eD.containing_ns_path;this._containing_fq_path=eD.containing_fq_path;this._containing_mount_point=eD.containing_mount_point;this.breadcrumb();eE=[this.browse_actions,this.global_actions];for(eF=0,T=eE.length;eFThis folder is empty Add files using the desktop application or the upload button above.'))}}this._push_files(eD.file_info,eI);if(this._eventbus_darklaunch_enabled&&!this._started_darklaunch_allocation){this._started_darklaunch_allocation=true;return this._start_darklaunch_event_queues()}},_start_darklaunch_event_queues:function(){var T,eF,eE,eD;if(this._eventbus_darklaunch_num_queues<=0){return}eD=[];for(T=eF=1,eE=this._eventbus_darklaunch_num_queues;1<=eE?eF<=eE:eF>=eE;T=1<=eE?++eF:--eF){eD.push(__CIRCULAR_DEPENDENCY__.UserQueue.get_user_queue(b5.active_user.id,"/eventbus/darklaunch",{queue_num:T}))}return eD},_push_files:function(eE,eH){var eD,eF,eG,T;if(eH==null){eH=null}for(eG=0,T=eE.length;eG=0;eZ=eW<=0?++eY:--eY){if(e0.memo.files.indexOf(eR.files[eZ])===-1){eT=eR.files[eZ]}else{break}}em.deselect_all();eU=e0.memo.files;for(eV=0,eS=eU.length;eV=0){eW.push(eR.update_file_pos(e1,eZ))}else{eW.push(void 0)}}return eW}})(this));eN=this.fire_visible_change_callbacks.bind(this);bi(window).on("resize",eN);this._last_visible_change_timeout_id=null;eD=(function(eR){return function(eS){clearTimeout(eR._last_visible_change_timeout_id);return eR._last_visible_change_timeout_id=setTimeout(eN,250)}})(this);return bi(window).on("scroll",eD)},add_subscribe_sfj_callback:function(T){return this.subscribe_sfj_callbacks[this.subsribe_sfj_count]=T},remove_sfj_callback:function(T){return delete this.subscribe_sfj_callbacks[T]},disable_sorting:function(){$("browse-sort").stopObserving("click");return $$("#browse-sort *").invoke("setStyle",{cursor:"default"})},enable_sorting:function(){$("browse-sort").stopObserving("click");$("browse-sort").on("click","#browse-sort a.sortable-column-header",this.sort_handler.bind(this));return $$("#browse-sort *").invoke("setStyle",{cursor:"pointer"})},click:function(eE,eG){var T,eF,eD;eD=$(eE.target);if(eD.match("a.filename-link")||eD.match("img.icon")||eD.up("a.filename-link")){this._click(eE,eG)}if(eD.match("a.parent-dir")){T=cs.from_elem(eG);if(T){eF={file_nsid:T.ns_id,file_sjid:T.sjid,firefly:bM.firefly_enabled,match_type:T.match_type,position:T.sort_rank,request_id:T.request_id,viewport:"full-view",action_type:"click_path_link"};return aS.SearchClientActivityLogger.log("result_action",b5.active_user.id,eF)}}},dblclick:function(T,eD){if($(T.target).match("a")){return}return this._click(T,eD)},open_file:function(eF,T,eD){var eH,eE,eG;if(eD==null){eD=false}eE={mode:"get",file_ext:ao.file_extension_for_logging(eF.filename),file_bytes:eF.bytes};eH={file_nsid:eF.ns_id,file_sjid:eF.sjid,firefly:bM.firefly_enabled,match_type:eF.match_type,position:eF.sort_rank,request_id:eF.request_id,viewport:eD?"dropdown-view":"full-view"};if(eF.dir){if(this.in_search_mode()||eD){eH.action_type="folder_open";aS.SearchClientActivityLogger.log("result_action",b5.active_user.id,eH)}if(T){return this.open_folder_in_new_window(eF)}else{return this.open_folder(eF)}}else{if(!T&&!((eF.preview_type==="video")&&Constants.DISABLE_VIDEOS_IN_LIGHTBOX)){if(this.browser_supports_previews||((eG=eF.preview_type)==="photo"||eG==="video")){if(this.in_search_mode()||eD){eH.action_type="file_view";aS.SearchClientActivityLogger.log("result_action",b5.active_user.id,eH)}return this.open_preview(eF,true,eD,eD)}else{if(this.in_search_mode()||eD){eH.action_type="file_view";aS.SearchClientActivityLogger.log("result_action",b5.active_user.id,eH)}aS.UserActivityLogger.log("web","file_view",eE);return window.open(eF.href,"_blank")}}else{if(this.in_search_mode()||eD){eH.action_type="file_view";aS.SearchClientActivityLogger.log("result_action",b5.active_user.id,eH)}aS.UserActivityLogger.log("web","file_view",eE);return window.open(eF.href,"_blank")}}},close_preview_callback:function(){bi(document).off("db:filepreview:close",this.close_preview_callback);document.stopObserving(ay.EXIT_SELECT_EVT,this.close_preview_callback);ab.close_shared_link_view();return b5.set_title()},open_preview:function(eD,eF,eG,eE){var T,eI,eH;if(eF==null){eF=false}if(eG==null){eG=false}if(eE==null){eE=false}eI=eD.preview_type==="video"&&Constants.DISABLE_VIDEOS_IN_LIGHTBOX;T=this.browser_supports_previews||((eH=eD.preview_type)==="photo"||eH==="video");if(!eI&&T){aQ.filepreview_from_selected("fileclick",eD,!eF,eG,eE,this.photopreview_ui_zoomzoom_enabled);bi(document).on("db:filepreview:close",this.close_preview_callback);return document.observe(ay.EXIT_SELECT_EVT,this.close_preview_callback)}},_click:function(eE,eF){var eD,T;this.keyboard_nav=false;eD=cs.from_elem(eF);if(eD.editing){return}T=(eE.which===2)||(dz.is_mac()&&eE.metaKey);b5.open_file(eD,T);eE.preventDefault()},crumb_click:function(eF,T){var eE,eD;this.keyboard_nav=false;eF.preventDefault();eD=T.readAttribute("data-fq_path");eE=this.details_from_fq_path(eD);return aP.set_path_url(eE.ns_id,eE.ns_path)},parent_click:function(eG,eF){var eE,eH,T,eD;this.keyboard_nav=false;eG.preventDefault();eD=eF.readAttribute("data-parent_ns_path");T=parseInt(eF.readAttribute("data-parent_ns_id"),10);aP.set_path_url(T,eD);eE=cs.from_elem(eF);if(eE){eH={file_nsid:eE.ns_id,file_sjid:eE.sjid,firefly:bM.firefly_enabled,match_type:eE.match_type,position:eE.sort_rank,request_id:eE.request_id,viewport:"full-view",action_type:"click_path_link"};return aS.SearchClientActivityLogger.log("result_action",b5.active_user.id,eH)}},selection_handler:function(){if(em.get_selected_files().length){return $("browse-box").addClassName("selected")}else{return $("browse-box").removeClassName("selected")}},POST_SCROLL_WAIT:100,_last_scroll_timeout:null,window_scroll:function(){var T,eD,eF,eE;if(bM.sparky_search_ui_enabled&&this.in_search_mode()&&!bM.end_of_results){eE=aQ.get_files_in_view(),eF=eE[0],eD=eE[1];T=this.files.length-(eF+eD);if(T<=50&&!$("browse").hasClassName("pending-search")){bM.load_more_results()}}clearTimeout(this._last_scroll_timeout);return this._last_scroll_timeout=setTimeout(aQ.load_visible_thumbs.bind(aQ),this.POST_SCROLL_WAIT)},unscoped_search:function(){return bM.search(false)},updateOffset:function(){if(!this.div_parent){return}this._cumulativeOffset=this.div_parent.cumulativeOffset();return this.viewportOffset()},reset_sort:function(){var eD,T;this.last_sort=[a6.FILES_BY_NAME,true];T="#browse-sort a.sortable-column-header";eD=$$(T)[0];dz.add_sort_arrow_mouseover(eD,true,T,false);$("kind-sorter-label").__date(cV.DISPLAY.FILES_BY_KIND);return b9.src(eD.down("img"),"web","arrow-up-gray")},sort_handler:function(eI,eJ,eF){var eG,T,eH,eD,eK,eE;eJ=$(eJ);eJ.blur();eG=eJ.readAttribute("data-sort");if(eF!=null){}else{if(this.last_sort[0]===a6[eG]){eF=eJ.readAttribute("data-ascending")==="false"}else{eF=eG!=="FILES_BY_MODIFIED"}}if(cV.LABELS.indexOf(eG)!==-1){eK=cV.SORT_FUNCTIONS.indexOf(this.last_sort[0])!==-1;if(eK){eH=(cV.LABELS.indexOf(eG)+1)%cV.LABELS.length;eG=cV.LABELS[eH];T=cV.DISPLAY[eG];$("kind-sorter-label").__date(T)}eJ.writeAttribute("data-sort",eG);eF=cV.IS_ASC[eG]}else{eJ.writeAttribute("data-ascending",(eF?"true":"false"))}eE="#browse-sort a.sortable-column-header";dz.add_sort_arrow_mouseover(eJ,eF,eE,true);eD=a6[eG];this.sort(eD,eF);if(eI){return eI.stop()}},toggle_deleted:function(){var T;T=!aP.get_del();return aP.set_del_url(T)},new_folder:function(){var eH,eT,eJ,eD,eI,eQ,eM,eO,eG,eL,eP,eE,eR,eN,eK,T,eS,eF;if(this.reloading||this.creating_folder){return}if(b5.sharing_create_and_share_new_folder_enabled&&!this.inside_shared_folder){eO=new aN(b5.active_user,{element_id:"create-and-share-new-folder-modal-"+b5.active_user.id,destination_dir:this.containing_fq_path()});eO.show();return}this.hide_empty();this.selectable();eT=d1("New folder");eI=[];eF=this.files;for(T=0,eS=eF.length;T0){eR=this.files[0].get_div().getLayout().get("margin-box-height");eM=Math.floor(eN.top/eR)}}if(eM>0){this.files[eM].get_div().__sert({after:eK})}else{$("browse-files").__sert({top:eK})}eL=$$("#browse-files .browse-new-folder .name").first();cm(eL!=null,"expected new_folder_name to be defined");eJ=this.containing_fq_path();eE=(function(eU){return function(eX){var eW,eV,eY;eY=eX.responseText.evalJSON(true);cm(eY.new_browse_files.length===1,"No new file data returned.");eW=ao.filename(eY.new_browse_files.first().fq_path);eV=d1("Created folder '%(folder_name)s'");eV=eV.format({folder_name:bw.em_snippet(eW,25)});Z.success(eV);eU.select_fq_paths=[eY.new_browse_files.first().fq_path];return eU.force_reload()}})(this);eP=(function(eU){return function(eW){var eV;eV=$$("#browse-files li.browse-new-folder").first();if(eV){eV.remove()}return eU.creating_folder=false}})(this);eD=new Ajax.InPlaceEditor(eL,"/cmd/new"+(dz.urlquote(eJ)),{htmlResponse:false,okControl:false,cancelControl:false,highlightColor:"transparent",highlightEndColor:"transparent",clickToEditText:"",cols:25,ajaxClass:Ajax.DBRequest,submitOnBlur:true,onFailure:function(){},onComplete:eP,savingText:d1("Creating folder..."),onLeaveEditMode:this.unselectable,ajaxOptions:{method:"POST",onSuccess:eE,subject_user:b5.active_user},callback:(function(eU){return function(eV,eW){eU.creating_folder=true;return{to_path:eW||"",folder:"yes"}}})(this)});return eD.enterEditMode()},open_folder:function(eD){var eF,T,eE;cm(eD.dir,"Only open directories, not files");if(b5.inside_dir&&b5.containing_ns_path()===eD.ns_path&&!(this.in_search_mode()&&bM.sparky_search_ui_enabled)){return}if(!(em.get_selected_files().length===1&&em.get_selected_files().indexOf(eD)===0)){em.deselect_all();eF=eD.get_div();if(eF){eF.addClassName("file-select")}}clearTimeout(this.folder_loading_timeout);this.folder_loading_timeout=setTimeout((function(eG){return function(){var eH;eH=d1("Loading %(filename)s...");eH=eH.format({filename:bw.em_snippet(eD.filename,50)});return eG.folder_loading_notification=Z.success(eH,60,true)}})(this),1000);if(eD.target_ns){T=eD.target_ns;eE=""}else{T=eD.ns_id;eE=eD.ns_path}if(eD.is_deleted){return aP.set_path_url(T,eE,true)}else{return aP.set_path_url(T,eE)}},open_folder_in_new_window:function(T){return window.open(aP._make_url(T.ns_id,T.ns_path),"_blank")},show_message:function(eE){var eD,T;if((typeof eE)!==(typeof"string")){T=$("browse-files").down(".browse-message");if(T){T.show()}return}this.msg=eE;eD=new Element("div",{"class":"browse-message"});eD.__date(eE);return $("browse-files").__sert(eD)},sort:function(T,eF,eE){var eD;if(!eE&&T===this.last_sort[0]&&eF===this.last_sort[1]){return}this.last_sort=[T,eF];eD=T(eF);this.files.sort(eD);this.smartfill();aQ.load_visible_thumbs();return this.fire_visible_change_callbacks()},resort:function(){var eE,T,eD;T=this.last_sort;eD=T[0];eE=T[1];return this.sort(eD,eE,true)},in_search_mode:function(){return bi("#browse").hasClass("search")},flex_column:function(){return $("kind-sorter").readAttribute("data-sort")},smartfill:function(){var eD,eG,eE,eH,eF,eJ,T,eI;eD=$("browse-files");eF=[];eH=this.in_search_mode();eI=this.files;for(eJ=0,T=eI.length;eJ=0){eK=eJ}eG=this.in_search_mode()&&bM.sparky_search_ui_enabled?eK:dz.bsearch(this.files,eH,eE(eI),true);this.files.splice(eG,0,eH);eF=eH.get_div();T=$("browse-files");if(eF){eF.remove()}if(this.in_search_mode()&&bM.sparky_search_ui_enabled){eD=this.compiled_search_tmpl({file:eH,Browse:b5,BrowseInterface:eC,Constants:Constants,Emstring:bw,FilePath:ao,HTML:eA,Search:__CIRCULAR_DEPENDENCY__.Search,Sprite:b9,Util:dz,_:d1})}else{eD=this.compiled_tmpl({file:eH,in_search_mode:this.in_search_mode(),flex_column:this.flex_column(),sharing_growth_experiments_variant:b5.sharing_growth_experiments_variant,share_link_icon_src:aQ.get_shared_link_icon(),Browse:b5,Constants:Constants,Emstring:bw,FilePath:ao,Sprite:b9,_:d1})}eL=T.childElements();if(eG0){(eS=eP.file_to_sharers)[eQ=eU.mount_point]||(eS[eQ]={});eP.file_to_sharers[eU.mount_point]["sf_names"]=eU.other_names}}return eK()}})}})(this);eO=(function(eP){return function(){var eQ,eR;eR=(function(){var eU,eT,eV,eS;eV=b5.files.slice(0,100);eS=[];for(eU=0,eT=eV.length;eU-1){eD=[];if(T){for(eG=0,eJ=T.length;eG-1){eE=this.files[eF];if(eE){eD.push(eE)}}if(eD.length){em.set_selected_files(eD);this.scrollToWithPadding(eD.first().get_div(),100)}eK.select_fq_paths=false;return eK.select_index=-1}else{if(!bM.sparky_search_ui_enabled){return window.scrollTo(0,0)}}},set_selection_from_item_counters:function(){var eD,eJ,eG,eL,eH,eF,eK,T,eI,eE;if(this.select_item_counters!=null){eG={};eI=this.select_item_counters;for(eH=0,eK=eI.length;eHeE;eD=0<=eE?++eF:--eF){eG=ao.normalize(T.slice(0,eD+1).join("/"));eH.push(this.details_from_fq_path(eG))}return eH},_get_root_icon:function(){if(!cn.get_viewer().is_paired){return"glyph"}if(b5.active_user.role===Constants.ROLE_WORK){return"work_icon"}else{if(b5.active_user.role===Constants.ROLE_PERSONAL){return"personal_icon"}}},_get_root_name:function(){return cn.get_root_name(b5.active_user)},_get_max_breadcrumb_width:function(eF){var eD,eE,T;eE=eF?this._DROPDOWN_WIDTH:new bw(this._get_root_name()).length;if(this.use_shorter_breadcrumbs){eD=bi("#browse-rightmenu").width();T=bi("#browse-global-actions-bar").width();return((T-eD)*this._FUDGE_FACTOR/this._PX_TO_EM)-eE}else{return this._MAX_BREADCRUMB_WIDTH-eE}},_PX_TO_EM:16,_FUDGE_FACTOR:0.75,_DROPDOWN_WIDTH:2.625,_MAX_BREADCRUMB_WIDTH:20,_CONNECT_WIDTH:1.64,breadcrumb:function(){var eL,eD,eF,eM,eI,eK,T,eN,eJ,eE,eG,eH;eD=this._make_breadcrumbs_data();eE=eD.collect(function(eO){return new bw(eO.fq_path?eO.folder_name:"").length});eJ=0;eF=0;cm(eD.length>0,"expected at least one breadcrumb");eN=this._get_max_breadcrumb_width();for(eI=eG=eH=eD.length-1;eH<=0?eG<=0:eG>=0;eI=eH<=0?++eG:--eG){eJ+=eE[eI];if(eJ>eN){break}eF+=1;eJ+=this._CONNECT_WIDTH}eM=eD.slice(0,eD.length-Math.max(1,eF));eD=eD.slice(eM.length,eD.length);if(!eM.length&&eD.length>1){eD.shift()}eK=eD.pop();eL=eA.tmpl("breadcrumb_tmpl",{breadcrumbs:eD,dropdown:eM,containing_fq_path:this.containing_fq_path(),url_root:eC.get_browse_root(b5.active_user),root_name:this._get_root_name(),Sprite:b9});T=eK.folder_name;if(eK.fq_path!==""){T=bw.em_snippet(T,this._get_max_breadcrumb_width(eM.length>1))}$("browse-location").__date(eL);$("browse-location").__sert(" "+T);if(eM.length>1){return this._render_breadcrumbs_dropdown(eM)}},_render_breadcrumbs_dropdown:function(eG){var T,eE,eD,eF;T=$("breadcrumbs-box");eG.reverse();eD=eA.tmpl("breadcrumb_li_tmpl",{breadcrumbs:eG,Sprite:b9,Emstring:bw});$("browse-location").__sert(eD);eE=$("breadcrumb-dropdown");eF=(function(eH){return function(eJ){var eI;eJ.stopPropagation();eE.show();eI=bi(T);return bi(eE).clonePosition(eI,{setWidth:0,setHeight:0,offsetTop:eI[0].offsetHeight,offsetLeft:parseInt(eI.css("padding-left"),10)})}})(this);T.observe("click",eF);T.observe("dragover",eF);return document.observe("click",(function(eH){return function(){T.removeClassName("down");return eE.hide()}})(this))},viewportOffset:function(){var T,eE,eD;if(!this.files.length){return}if(!this.div_parent){eE=this.files[0].get_div().offsetParent;if(!eE){return}this._viewportOffset={};this.div_parent=$(eE);this._cumulativeOffset=this.div_parent.cumulativeOffset()}T=dz.scrollLeft(this.div_parent);eD=dz.scrollTop(this.div_parent);if(!this.scrollTop||!this.scrollLeft||this.scrollTop!==eD||this.scrollLeft!==T){this._viewportOffset.top=this._cumulativeOffset.top-eD;this._viewportOffset.left=this._cumulativeOffset.left-T;this.scrollLeft=T;this.scrollTop=eD}return this._viewportOffset},selectable:function(){return dz.enableSelection($("browse-files"))},unselectable:function(){return dz.disableSelection($("browse-files"))},_header_offset:(function(){var T;T=$("browse-header");return T.getHeight()+T.cumulativeOffset().top}).cached(1000),scrollTo:function(T){return this.scrollToWithPadding(T,3)},scrollToWithPadding:function(eF,eH){var eE,eI,eD,eG,T;if(!eF){return}eG=z.viewport_dimensions();T=z.scroll_offsets();eI=eF.cumulativeOffset().top-T.top;eE=eF.getHeight();eD=this._header_offset();if(eIeG.height){z.scroll_to(0,T.top+eI+eE-eG.height+eH)}}if($("modal-overlay").visible()&&$("modal").getStyle("position")==="absolute"){return ex.fix_position()}},_visible_change_callbacks:{},_next_visible_change_callback_id:0,add_visible_change_callback:function(T){this._visible_change_callbacks[this._next_visible_change_callback_id]=T;return this._next_visible_change_callback_id++},remove_visible_change_callback:function(T){return delete this._visible_change_callbacks[T]},fire_visible_change_callbacks:function(){var eE,eI,eF,eH,eG,T,eD;if(!bi.isEmptyObject(this._visible_change_callbacks)){eG=aQ.get_files_in_view(),eH=eG[0],eE=eG[1];T=this._visible_change_callbacks;eD=[];for(eF in T){eI=T[eF];eD.push(eI(this.files,this.active_user.id,eH,eE))}return eD}}};j=B.BrowseUpdate=(function(){var T,eJ,eI,eF,eH,eG,eE,eD;eE=function(eL){var eM,eN,eK;if(!b5.inside_dir){return}eN=eL.parent_changes;if(eN.change_to_fq_path!=null){if(eN.change_type==="moved"){if(eN.is_changing_view){eM=d1("The folder '%s' has been moved. View");eM=eM.format(eN.old_fq_path.escapeHTML(),dz.urlquote(eN.new_fq_path))}else{eM=d1("This folder has been moved")}}else{if(eN.change_type==="renamed"){if(eN.is_changing_view){eM=d1("The folder '%s' has been renamed. View");eM=eM.format(eN.old_fq_path.escapeHTML(),dz.urlquote(eN.new_fq_path))}else{eM=d1("This folder has been renamed to '%s'.");eK=eN.change_to_fq_path.split("/");eM=eM.format(eK[eK.length-1].escapeHTML())}}else{eM=d1("The folder '%s' has been deleted.");eM=eM.format(eN.old_fq_path.escapeHTML())}}if(eN.is_changing_view){Z.error(new eA(eM))}else{if(eN.old_fq_path===b5.containing_fq_path()){Z.success(new eA(eM))}}b5.reload_fqpath(eN.change_to_fq_path);return}return eG(eL)};eD=function(eP){var eL,eS,eR,eK,eU,eQ,eN,eT,eO,eM;eS=[];eQ=[];if(!b5.in_search_mode()){return}bM.clear_cache();for(eK in b5.ns_id_to_mount_point){if(!(eK in eP.mount_points)){eP.mount_points[eK]=null}}eO=eP.mount_points;for(eK in eO){eR=eO[eK];eK=parseInt(eK,10);eU=b5.ns_id_to_mount_point[eK];if(eR===eU){continue}if(eR){b5.ns_id_to_mount_point[eK]=eR}else{delete b5.ns_id_to_mount_point[eK]}eM=b5.files;for(eN=0,eT=eM.length;eNdF.MODAL_WAIT_MS){T=eD.req.options;d2.show(T.progress_text);T.onProgress=d2.update;if(T.on_modal_shown!=null){T.on_modal_shown()}eD.modaled=true}if(eD.is_async_task){return dF.get_async_task_status(eE)}else{return dF.get_job_status(eE)}},get_job_status:function(T){return new Ajax.DBRequest("/job_status/"+T,{method:"post",subject_user:dF.job_info[T].subject_user,onSuccess:function(eE){var eF,eD;eF=dF.job_info[T];eD=eE.responseText;if(eD.indexOf("err")===0){dF.done(T);if(eF.req.options.onFailure&&!cQ.handled(T)){eF.req.options.onFailure(eE)}return}if(eD.indexOf("done")===0){eF.req.options.job=false;if(!cQ.peek(T)){new Ajax.Request("/job_results/"+T,{method:"post",parameters:{t:bb.read(Constants.JS_CSRF_COOKIE)},onSuccess:function(eH){if(cQ.handled(T)){return}aj.clearWorkingMessage();if(eF.req.options.onSuccess){return eF.req.options.onSuccess(eH)}},onFailure:function(eH){if(cQ.handled(T)){return}aj.clearWorkingMessage();if(eF.req.options.onFailure){return eF.req.options.onFailure(eH)}}})}return dF.done(T)}else{try{if(eF.req.options.onProgress){return eF.req.options.onProgress(eE.responseText)}}catch(eG){}}},onFailure:function(eD){var eE;eE=dF.job_info[T];eE.failures++;if(eE.failures>=dF.FAILS_MEAN_FAIL){if(eE.req.options.onFailure){eE.req.options.onFailure(eD,true)}aj.remove(eE.req);return dF.done(T)}}})},get_async_task_status:function(T){return new Ajax.DBRequest("/async_task_status/"+T,{method:"post",subject_user:dF.job_info[T].subject_user,onSuccess:function(eE){var eF,eD;eF=dF.job_info[T];eD=eE.responseText;if(eD.indexOf("done:")===0||eD.indexOf("err:")===0){cQ.handled(T);aj.clearWorkingMessage();if(eD.indexOf("done:")===0){eE.responseText=eD.substr(5)}if(eF.req.options.onSuccess){eF.req.options.onSuccess(eE)}if(eF.req.options.onComplete){eF.req.options.onComplete(eE)}return dF.done(T)}else{if(eD.indexOf("async_task_err:")===0){Z.error(new eA(eD.substr(15)));cQ.handled(T);aj.clearWorkingMessage();dF.done(T);return b5.force_reload()}else{try{if(eF.req.options.onProgress){return eF.req.options.onProgress(eE.responseText)}}catch(eG){}}}},onFailure:function(eD){var eE;eE=dF.job_info[T];eE.failures++;if(eE.failures>=dF.FAILS_MEAN_FAIL){try{if(eE.req.options.onFailure){eE.req.options.onFailure(eD,true)}}catch(eF){}aj.remove(eE.req);return dF.done(T)}}})},done:function(eD){var T;T=dF.job_info[eD];clearInterval(T.int_id);if(!T.dont_hide){delete dF.job_info[eD];if(!(T.req.async_task_id&&T.req.async_task_id!==eD)){return d2.hide(eD)}}else{return d2.update("1/1")}}};var cW,bB,bg,bn=[].indexOf||function(eE){for(var eD=0,T=this.length;eD0){return}bi("#cal_container").hide();this.shown=false;return true};return T})();bB=INLINE_JS.Events=B.Events={ns:null,role:"all",now:Number(new Date()),timestamp:dz.start_of_day(new Date(Number(new Date())+60*60*24*1000)),request_in_flight:false,one_day:60*60*24*1000,user_navigated_away:false,init:function(T,eH,eJ,eE,eI){var eF,eG,eD;if(eI==null){eI=false}eD=d4.deconstruct_url();this.first_event_map=T;this.roles=eH;this.rss_data=eJ;this.role_has_events=eE;this.for_deleted_files_page=eI;this.role_picker=bi("#role-selector").controller();if(this.roles.length===1){this.role=this.roles[0].role}else{if(eD.qargs.role){this.role=eD.qargs.role;this.role_picker.set_state(this.role)}}this.date_picker=new cW((function(eK){return function(eL){eK.change_date(eL);eK.set_url();return aS.WebMiscActivityLogger.log("filter_events_date")}})(this));this._init_state();this.role_picker.on_state_change=(function(eK){return function(){eK.role=eK.role_picker.get_state();if(eK.ns&&!$u(eK.valid_roles()).any(function(eL){return eL.ns_ids.contains(eK.ns.ns_id)})){eK.ns=null;aD.set_selected_by_value(bi("#namespace-list")[0],"false")}eK.set_url();return eK.get_more(true)}})(this);br.set_during_login_callback((function(eK){return function(eM,eL){return window.location.reload()}})(this));bi(window).bind("beforeunload",(function(eK){return function(){eK.user_navigated_away=true;return void 0}})(this));if(bi("#namespace-list-container")[0]){bi("#namespace-list-container")[0].observe("db:change",(function(eK){return function(eL){eK.ns=eK.namespaces[JSON.parse(eL.memo)];eK.set_url();eK.get_more(true);return aS.WebMiscActivityLogger.log("filter_events_shared_folder")}})(this))}bi(window).on("scroll",(function(eK){return function(){document.body.scrollTop=Math.min(document.body.scrollTop,document.body.scrollHeight-z.viewport_dimensions().height-10);return eK.get_more()}})(this));if(eD.qargs.ns){aD.set_selected_by_value(bi("#namespace-list")[0],eD.qargs.ns);this.ns=this.namespaces[eD.qargs.ns]}if(eD.qargs.date){eG=eD.qargs.date.split("-").map(Number);eF=new Date(eG[2],eG[1]-1,eG[0]);this.date_picker.calendar.selected_date=eF;this.change_date(eF)}this.update_calendar_first_day();return this.get_more()},_init_state:function(){var eD,eG,eJ,eH,eF,eE,eI,T;this.namespaces={};eI=$u(this.roles).values();for(eJ=0,eF=eI.length;eJthis.latest){this.latest=this.timestamp;this._init_state()}bi("#cur_date_text").text(J.localize(T));return this.get_more(true)},is_scrolled_down:function(){var T,eE,eD;eD=z.scroll_offsets().top;eE=z.viewport_dimensions().height;T=bi("#events").height();return eD+eE+50>=T},get_more:function(eF){var T,eD,eE;if(this.request_in_flight){return}if($u(this.valid_nss()).all(function(eG){return eG.done})){this.render();return}if(!(eF||this.is_scrolled_down())){this.render();return}this.request_in_flight=true;this.render();eD=(function(eG){return function(){return $u(eG.valid_nss()).map(function(eH){return eH.ns_id}).join(",")}})(this);T=Math.min(this.earliest(),this.timestamp/1000,Math.floor(this.now/1000));eE={page_size:25,ns_ids:eD(),timestamp:T};if(this.for_deleted_files_page){eE.for_deleted_files_page=true}return new Ajax.DBRequest("/events/ajax",{method:"POST",parameters:eE,onSuccess:(function(eG){return function(eU){var eS,eI,eV,eK,eT,eQ,eP,eM,eW,eJ,eH,eR,eO,eL,eN;eS=JSON.parse(eU.responseText);eG.request_in_flight=false;eR=eS.events;for(eQ=0,eW=eR.length;eQ0){eO=eS.ns_ids;for(eP=0,eJ=eO.length;eP0;eE={};if(this.ns){eE.ns=this.ns.ns_id}if(this.role!=="all"){eE.role=this.role}if(eF){eE.date=""+(eD.getDate())+"-"+(eD.getMonth()+1)+"-"+(eD.getFullYear())}T=this.for_deleted_files_page?"/deleted_files":"/events";return d4.push_state(T,eE)},on_preview_open:function(eE){var eD,T;T=cn.get_viewer().get_user_by_id(eE.user_id);if(eE.preview_type==="photo"&&eE.large_thumbnail_url_tmpl){eD={filename:eE.filename,fq_path:eE.fq_path,thumbnail_url_tmpl:eE.large_thumbnail_url_tmpl,original_url:eE.href,ns_id:eE.ns_id,ns_path:eE.ns_path};ay.init([new U(eD)],{start_index:0})}else{bi(document).on("db:filepreview:close",this.on_preview_close);l.show(eE,T,false)}return false},on_preview_close:function(){bi(document).off("db:filepreview:close",this.on_preview_close);return document.title=d1("Recent events - Dropbox")},render:function(){var T,eS,eU,eT,eM,eV,eL,eY,eQ,eE,eK,eO,eJ,eP,eR,eD,eI,eG,eF,eW,eX,eN,eH;if(this.role_has_events[this.role]){this.update_calendar_first_day()}T=$u(this.valid_nss()).map((function(eZ){return function(e0){return e0.events}})(this)).flatten();eS=this.earliest();eD=$u(T).sortBy(function(eZ){return -eZ.timestamp});eM=$u(eD).filter((function(eZ){return function(e0){return e0.timestamp>=eS&&e0.timestamp span").text(eO);bi("#event-table").append(eU);if(eK.preview_jsinfo!=null){eT=eK.preview_jsinfo;eL=eU.find("#prev_link");eL.on("click",this.on_preview_open.bind(this,eT));eR=eU.find(".inline-button");eR.on("click",this._inline_share_button.bind(this,eT))}}bi("#events-container").show();bi("#events-sub-header").show();bi("#events-sub-header").css("visibility","visible");bi("#events-empty-state").hide();bi(".empty-explanation").hide()}else{if(!this.request_in_flight){bi("#events-container").hide();bi("#events-sub-header").hide();bi("#events-empty-state").show();bi(".empty-explanation").show()}}if(!this.request_in_flight){bi("#more-loading").hide()}else{bi("#more-loading").show()}bi("#more-loading").css("marginTop",this.earliest()===Number.MAX_VALUE?"140px":"20px");eN=bi("#namespace-list > li");for(eF=0,eX=eN.length;eF1)}return e1}).call(this),true)>=0;if(!this.request_in_flight){if(eP){bi("#namespace-list-container").css("visibility","visible");bi("#namespace-list-container").show()}else{bi("#namespace-list-container").hide()}eJ=this.rss_data[(eH=this.ns)!=null?eH.ns_id:void 0]||this.rss_data[this.role];if(eJ&&this.role_has_events[this.role]){bi("#rss-feed a").attr("data-title",eJ.title);bi("#rss_url").val(eJ.url);bi("#reset-rss-link").on("click",(function(eZ){return function(e0){new Ajax.DBRequest("/reset_rss",{parameters:{ns_id:eJ.ns_id},onSuccess:function(){Z.success(d1("RSS feed url successfully reset."));return bE.redirect("/events")}});return false}})(this));bi("#rss_url").focus();bi("#rss-feed").show();return bi("#rss-feed").css("visibility","visible")}else{return bi("#rss-feed").hide()}}},show_rss_modal:function(){var T,eD;ex.show(d1("Subscribe to this RSS feed"),bi("#rss-modal")[0]);eD=bi("#rss_url").val();T=q.clipboard_overlay(eD,bi("#real_copy"),function(){Z.success(d1("Link copied to clipboard!"));return ex.hide()},bi(".modal-buttons"));return T.css({zIndex:1001})},_inline_share_button:function(eD,eF){var T,eE;eF.preventDefault();T="events_table_row";eE=aS.ShmodelUILogger.get_target_item(eD);aS.ShmodelUILogger.log("single_entry_share",T,eE);return new cN(eD.user_id,eD.fq_path,T).show()}};var J;J=B.DateUtil={fromSecondsSinceEpochUTC:function(T){var eD;eD=new Date(1970,0,1);eD.setSeconds(T);return eD},applyTimezoneOffset:function(eD,eF){var T,eE;T=parseInt(eF,10);eE=60*(eF-T);eD.setHours(eD.getHours()+T);return eD.setMinutes(eD.getMinutes()+eE)},contextualFormat:function(eD){var eF,eH,T,eE,eG;T=new Date(Date.now());eE=(T.getTime()-eD.getTime())/1000;eF=0;if(eE<8*3600){return bH.ago(eD)}this.applyTimezoneOffset(T,Constants.TIMEZONE_OFFSET);this.applyTimezoneOffset(eD,Constants.TIMEZONE_OFFSET);eG=new Date(Date.now());this.applyTimezoneOffset(eG,Constants.TIMEZONE_OFFSET);eG.setDate(eG.getDate()-1);if(eD.getYear()===T.getYear()&&eD.getMonth()===T.getMonth()&&eD.getDate()===T.getDate()){eH=d1("Today %(time)s");return eH.format({time:J.format(eD,Constants.time_format)})}else{if(eD.getYear()===eG.getYear()&&eD.getMonth()===eG.getMonth()&&eD.getDate()===eG.getDate()){eH=d1("Yesterday %(time)s");return eH.format({time:J.format(eD,Constants.time_format)})}else{return J.format(eD,Constants.datetime_format)}}},toUTCDate:function(T){return new Date(T.getUTCFullYear(),T.getUTCMonth(),T.getUTCDate(),T.getUTCHours(),T.getUTCMinutes(),T.getUTCSeconds(),T.getUTCMilliseconds())},differenceStr:function(eF,eI){var eK,eJ,eD,eE,eG,T,eH;eG=(eF.getTime()-eI.getTime())/1000;if(eG<60){return aT("%d sec","%d secs",eG).format(eG)}else{if(eG<3600){eD=parseInt(eG/60,10);return aT("%d min","%d mins",eD).format(eD)}else{if(eG<86400){eJ=parseInt(eG/3600,10);return aT("%d hour","%d hours",eJ).format(eJ)}else{if(eG<2592000){eK=parseInt(eG/(60*60*24),10);return aT("%d day","%d days",eK).format(eK)}else{if(eG<4838400){T=parseInt(eG/(60*60*24*7),10);return aT("%d week","%d weeks",T).format(T)}else{if(eG<31536000){eE=parseInt(eG/(60*60*24*30),10);return aT("%d month","%d months",eE).format(eE)}else{eH=parseInt(eG/(60*60*24*365),10);return aT("%d year","%d years",eH).format(eH)}}}}}}},localize:function(T){cm(Constants.date_format!=null,"Date format missing.");return J.format(T,Constants.date_format)},format:function(T,eD){var eE;cm(typeof eD==="string","Date format requires a format string");eE={yy:(function(eF){return function(){return T.getFullYear().toString().substring(2)}})(this),yyyy:(function(eF){return function(){return T.getFullYear().toString()}})(this),M:(function(eF){return function(){return(T.getMonth()+1).toString()}})(this),MM:(function(eF){return function(){return(T.getMonth()+1).toString().lpad(2)}})(this),d:(function(eF){return function(){return T.getDate().toString()}})(this),dd:(function(eF){return function(){return T.getDate().toString().lpad(2)}})(this),h:(function(eF){return function(){return(T.getHours()%12||12).toString()}})(this),H:(function(eF){return function(){return T.getHours().toString()}})(this),HH:(function(eF){return function(){return T.getHours().toString().lpad(2)}})(this),m:(function(eF){return function(){return T.getMinutes().toString()}})(this),mm:(function(eF){return function(){return T.getMinutes().toString().lpad(2)}})(this),a:(function(eF){return function(){if(T.getHours()>11){return d1("PM",{comment:"PM as in evening"})}else{return d1("AM",{comment:"AM as in morning"})}}})(this)};return eD.replace(/([a-zA-Z]+)/g,function(eF){if(eE[eF]!=null){return eE[eF]()}else{return eF}})}};var eh;eh=INLINE_JS.Timezone=B.Timezone={check_timezone:function(){var T;if(!cn.get_viewer().is_signed_in){return}T=eh.get_current_timezone();if((Constants.auto_timezone_offset==null)||Constants.auto_timezone_offset!==T){return eh.update(T)}},get_current_timezone:function(){var eF,eE,T,eD;eE=new Date();eE.setSeconds(0);eE.setMilliseconds(0);eD=eE.toGMTString();eF=new Date(eD.substring(0,eD.lastIndexOf(" ")));T=(eE-eF)/(1000*60*60);return T},update:function(T){cm(typeof T==="number","Timezone offset was not a number: "+T);return new Ajax.DBRequest("/set_timezone",{parameters:{offset:T},noAutonotify:true})},update_timezones_dropdown:function(eD,eF){var eE,T;if(eF==null){eF=null}T=eh.timezones_by_country[eD];bi("#timezone_id").empty();bi("#timezone_id").append((function(){var eI,eH,eG;eG=[];for(eI=0,eH=T.length;eI'+eE.name+"").prop("selected",eE.id===eF))}return eG})());return dz.syncHeight()},auto:function(){var T;T=$F("timezone_auto");if(T){bi("#tz").hide()}else{if(eh.default_country){bi("#timezone_country").val(eh.default_country);eh.update_timezones_dropdown(eh.default_country)}bi("#tz").show()}return dz.syncHeight()},load_data:function(eD,T){eh.timezones_by_country=eD;return eh.default_country=T}};var aX,bm;bm=B.CreateApp={init:function(eF,eD){var eE,eG,T;this.accepted_tos_by_uid=eF;this.form=eE=bi("#create-app-form");this.email_verification=null;if(!cn.get_viewer().is_paired){T=cn.get_viewer().get_users()[0];this.select_user(T.id)}eG=(function(eH){return function(eI){var eJ;eJ=eI.target.name;return eE.find("input[name="+eJ+"]").each(function(){bi(this).parents("label").removeClass("active");return eE.removeClass(bi(this).data("next"))})}})(this);eE.find("input[type=radio]").change(function(eH){eG(eH);bi(eH.target).parents("label").addClass("active");return eE.addClass(bi(this).data("next"))});eE.find("input[type=checkbox]").change(function(eH){var eI;if(bi(this).filter("#accept-tos").length){return}bi(eH.target).parents("label").toggleClass("active");eI=eE.find("input[name="+(bi(this).attr("name"))+"]:checked");eE.toggleClass(bi(this).data("next"),eI.length!==0)});eE.find(".role-choice input").change((function(eH){return function(eJ){var eI,eK;eI=eE.find(".role-choice input:checked");eK=eI.val();if(!cn.get_viewer().is_uid_signed_in(eK)){eI.prop("checked",false);eG(eJ);br.show_modal({user_id:eK,on_success:function(){return eI.prop("checked",true).trigger("change")}});return false}else{return eH.select_user(eK)}}})(this));eE.find("input:checked").trigger("change");eE.find("input[name=tos_accept]").change((function(eH){return function(eI){return eH.update_submit_enabled()}})(this));eE.find("#send-verify-email, #resend-verify-email").click((function(eH){return function(eI){eH.email_verification.send_email(eD,function(){eE.addClass("verify-email-sent");eH.email_verification.flash_email_sent_notification();return eH.email_verification.ensure_polling(function(){if(!eH.email_verification.user.is_email_verified){return}eE.addClass("email-verified");eE.removeClass("verifiy-email-sent");return eH.update_submit_enabled()})});return false}})(this));return eE.submit(function(eH){eE=bi(eH.target);bv.ajax_submit(eE[0],false,(function(eI){return window.location.href=eI.responseText}));return false})},select_user:function(T){this.email_verification=dy.get_for_user(cn.get_viewer().get_user_by_id(T));this.form.find("#accept-tos-wrapper").toggle(!this.accepted_tos_by_uid[T]);this.form.find("input[name=tos_accept]").prop("checked",false);this.form.removeClass("verify-email-sent");this.form.find("#verify-email-wrapper").toggle(!this.email_verification.user.is_email_verified);this.form.toggleClass("email-verified",this.email_verification.user.is_email_verified);return this.update_submit_enabled()},update_submit_enabled:function(){var eD,T;T=this.email_verification.user;eD=this.accepted_tos_by_uid[T.id]||this.form.find("input[name=tos_accept]").prop("checked");return this.form.find("#create-button").prop("disabled",!eD)}};aX=INLINE_JS.Apps=B.Apps={init_apps:function(){return bi("#show-disabled-apps").click(function(){bi(this).parent().hide();bi("#disabled-apps").show();return false})},init_app_info:function(eD,eE,T){this.user_email=T;bi("#app-info .icon-container").each(function(eG,eH){var eF;eF=bi(eH);return eF.append(Dropbox.createChooseButton({success:function(eI){eF.find(".icon").attr("src",eI[0].thumbnailLink);return eF.find("input[type=hidden]").val(eI[0].link)},linkType:"direct",extensions:["images"]}))});this._hoverable_tmpl=eA.tmpl("hoverable_tmpl");this._webhook_info_row_tmpl=eA.tmpl("webhook_info_row_tmpl");bi("#domain-list").on("click",".img-container",function(eF){aX.remove_domain(eF.currentTarget.parentNode,eD)});bi("#oauth-uri-list").on("click",".img-container",function(eF){aX.remove_oauth_uri(eF.currentTarget.parentNode,eD)});bi("#webhook-list").on("click",".img-container",function(eF){aX.remove_webhook(eF.currentTarget.parentNode,eD)});bi("#webhook-list").on("click",".webhook-actions.enabled .webhook_disable",function(eF){aX.update_webhook_url(eF.currentTarget,eD,false)});bi("#webhook-list").on("click",".webhook-actions.disabled .webhook_enable",function(eF){aX.update_webhook_url(eF.currentTarget,eD,true)});bi("#generate-token-button").on("click",function(eF){aX.generate_access_token(eD)});bi("#delete-app-button").on("click",function(eF){aX.confirm_disable(eE,eD,0)});bi("#webhook_url").on("click change paste focus",function(eF){bi("#webhook-form").removeClass("error")});this.init_app_info_add_redirect_uri();return bi("#oauth2-allow-implicit-grant").on("change",function(eF){return aX.set_oauth2_allow_implicit_grant(eF.currentTarget,eD)})},init_app_info_add_redirect_uri:function(){var T,eD,eE,eF;eD=/^\#?add_redirect_uri=(.*)$/.exec(window.location.hash||"");if(!eD){return}eF=window.decodeURIComponent(eD[1]);T=bi("#oauth-add-uri-form");bi("input[name=oauth_uri]",T).val(eF);eE=bi("#add-redirect-uri-modal")[0];bi("#add-redirect-uri-modal-uri").text(eF);ex.show(d1("Add OAuth redirect URI"),eE,{doit:function(){var eG;if(window.history&&window.history.replaceState){eG=window.location.href;eG=eG.substring(0,eG.indexOf("#"));window.history.replaceState({},document.title,eG)}else{window.location.hash=""}ex.hide();return aX.submit_new_oauth_uri(bi("#oauth-add-uri-form")[0])}})},init_app_datastores_browse:function(T){this.ds_info=T;if(cn.get_viewer().is_paired){this.role_picker=bi("#role-selector").controller();this.role_picker.on_state_change=this.app_datastores_browse_render.bind(this);return br.set_during_login_callback((function(eD){return function(eF,eE){return eD.app_datastores_browse_reload_info(function(){return eE()},function(){eE("Error displaying datastores");return window.location.reload()})}})(this))}},app_datastores_browse_reload_info:function(eD,T){bi.ajax({url:"/developers/apps/datastores/info",success:(function(eE){return function(eF){eE.ds_info=eF;eE.app_datastores_browse_render();return typeof eD==="function"?eD():void 0}})(this),error:(function(eE){return function(eF){return typeof T==="function"?T(eF):void 0}})(this)});return false},app_datastores_browse_render:function(){this.app_datastores_browse_render_id("#apps_developed_container");this.app_datastores_browse_render_id("#apps_used_container");return this.app_datastores_browse_render_empty()},app_datastores_browse_render_empty:function(){var eE,eD,T,eF;eD=bi("#no_apps_container").empty();if(bi("#apps_developed_container").children().length!==0||bi("#apps_used_container").children().length!==0){return}eE=bi("
    ").appendTo(eD);switch((eF=this.role_picker)!=null?eF.get_state():void 0){case dw.PERSONAL:case dw.WORK:T=cn.get_viewer().get_user_by_role(this.role_picker.get_state());return eE.append("You don't have any datastores in your "+cn.get_role_title(T)+" Dropbox.");default:return eE.append("You don't have any datastores in your Dropbox.")}},app_datastores_browse_render_id:function(eJ){var eD,eI,eF,eH,eG,eE,T;eH=this.app_datastores_browse_get_id_info(eJ);eI=bi(eJ);eI.empty();eD="";for(eE=0,T=eH.length;eE").appendTo(eI);return eG.html(eD)}},app_datastores_should_render:function(eD){var T;if(this.role_picker!=null){T=cn.get_viewer().get_user_by_id(eD);return this.role_picker.is_role_visible(T.role)}else{return true}},app_datastores_browse_get_id_info:function(T){switch(T){case"#apps_developed_container":return this.ds_info.apps_developed;case"#apps_used_container":return this.ds_info.apps_used;default:return cm(false,"invalid ds group id")}},app_datastores_browse_get_id_header:function(T){switch(T){case"#apps_developed_container":return bi("

    Apps you develop

    ");case"#apps_used_container":return bi("

    Apps you use

    ");default:return cm(false,"invalid ds group id")}},generate_access_token:function(eD){var eF,eE,T;T=this;eF=bi("#generate-token-button");eE=bi("").attr("src","/static/images/icons/ajax-loading-small.gif").css("vertical-align","middle");eF.replaceWith(eE);return bi.ajax({url:"/developers/apps/generate_access_token",type:"POST",data:{app_id:eD},dataType:"json",success:function(eH){var eG;if(eH.status==="ok"){eG=bi("
    ").append(bi("
    ").attr("id","generated-token").addClass("text").css("padding-top",0).text(eH.token));eG.append(bi("
    ").addClass("detail-text").text(eH.warning))}else{if(eH.status==="error"){eG=bi("
    ").addClass("detail-text").addClass("error").text(eH.msg)}}return eE.replaceWith(eG)},error:function(){return Z.error("Unable to complete your request.")}})},confirm_disable:function(eF,eE,eD){var eG,T;eG=(eD?d1("Are you sure you want to disable '%(app_name)s'?"):d1("Are you sure you want to delete '%(app_name)s'?"));cY.fillVal(eG.format({app_name:eF.escapeHTML()}),"app-disable-text");ex.show((eD?d1("Confirm disable"):d1("Confirm delete")),$("app-disable-modal"));T="/developers/disable_app/"+eE;$("app-disable-modal").down("form").action=T;return $("disable-app-button").setValue((eD?d1("Disable"):d1("Delete")))},enable_app:function(eD){var T;T="/developers/enable_app/"+eD;return window.location.href=T},show_uninstall:function(eH,eG,eE,eD,eF,T){var eI;if(eH){Event.stop(eH)}ex.vars={app_id:eE,user_id:T};eI=bi("#delete-"+eD+"-app-confirm");if(eD==="sandbox"){if(!eF){aX.do_uninstall();return}bi(".app_folder",eI).text(eF)}bi(".app_name",eI).text(eG);ex.show(d1("Remove %(app_name)s?").format({app_name:bw.em_snippet(eG,22)}),eI[0],ex.vars);return null},do_uninstall:function(){var T;T=ex.vars.user_id;new Ajax.DBRequest("/api/uninstall_app",{parameters:{app_id:ex.vars.app_id,keep_sandbox_files:$F("keep_sandbox_files")},onSuccess:function(eD){var eE;Z.success(eD.responseText);eE=bi(".apps-"+T);bi("#inst-app-"+ex.vars.app_id+"-row",eE).hide().removeClass("active_app");if(bi(".active_app",eE).length===0){eE.hide()}if(bi(".active_app").length===0){bi("#empty-explanation").text(d1("You have no apps linked to your Dropbox."));return bi("#applications-explanation",eE).remove()}},subject_user:T});return ex.hide()},enable_users_in_dev:function(T,eD){new Ajax.DBRequest("/developers/enable_users_in_dev/"+T,{onSuccess:function(eE){ex.show(d1("Limit raised to %d users").format(eD),$("increased-dev-user-limit-modal"));bi("#users-in-dev-none, #users-in-dev-some").hide();return bi("#users-in-dev-max").show()}});return false},unlink_all_users_in_dev:function(T){ex.show(d1("Unlink all users"),$("confirm-unlink-all-users"),{doit:function(){return new Ajax.DBRequest("/developers/unlink_all_users/"+T,{onSuccess:function(eD){bi("#current-app-users-1, #current-app-users-2").text("0");return ex.hide()}})}});return false},unlink_all_teams_in_dev:function(T){ex.show(d1("Unlink all teams"),$("confirm-unlink-all-teams"),{doit:function(){return bi.ajax({url:"/developers/unlink_all_teams/"+T,type:"POST",success:function(eD){bi("#current-app-teams").text("0");return ex.hide()}})}});return false},restore_sandbox:function(eD,eF,T){var eH,eE,eG;eH=bi("#restore-sandbox")[0];ex.show(d1("Restore app folder '%(filename)s'").format({filename:bw.em_snippet(ao.filename(eF),17)}),eH);eG=bi("#restore-sandbox-form")[0];eE={ns_id:T};eE[Constants.UID_PARAM_NAME]=eD.id;return bv.add_vars(eG,eE)},submit_restore_sandbox:function(eD){var T;T=$("restore-sandbox-form");bv.ajax_submit(T,false,(function(eE){ex.hide();Z.success(d1("Restored app folder"));if(eE.responseText.length){return b5.reload_fqpath(eE.responseText)}else{return b5.reload("","",true)}}),false,eD.target);return false},submit_app_info:function(T){var eD;eD=bi(T).find("input[name=name]").val();bv.clear_errors(T);return bv.ajax_submit(T,false,(function(){Z.success("App info updated.");if(eD){return bi("#app-info h1").text(eD)}}))},submit_folder_name:function(T){var eD;eD=bi(T).find("input[name=folder]").val();bv.clear_errors(T);return bv.ajax_submit(T,false,(function(){Z.success("App folder name updated.");bi("#folder-name .text").text(eD);return aX.hide_folder_input()}))},submit_new_webhook:function(eD){var eE,eO,eM,eH,eK,eJ,eN,eL,eF,T,eI,eG;eO=bi(eD);eK=bi("#webhook-list");eH=bi("").attr("src","/static/images/icons/ajax-loading-small.gif").css("vertical-align","middle");eM=eO.find("input[name=webhook_url]");eF=function(eQ,eP){if(eP){eP.remove()}if(eK.find(".hoverable-url").length===0){eK.addClass("hide-status")}bi("#webhook-form-error").text(eQ);return bi("#webhook-form").addClass("error")};eN=eM.val();if(eN===""){eF("Empty URI");return}eL=D.parse(eN);if((eI=eL.scheme)!=="http"&&eI!=="https"){eF("URI scheme must be http or https");return}if(!eL.authority){eF("Improperly formatted URI (typo maybe?)");return}if((eG=eL.authority)==="localhost"||eG==="127.0.0.1"){eF("Webhooks doesn't support localhost as Dropbox can't contact your local server. Please use an internet accessible URI.");return}if(eK.find("tbody").length>=Constants.MAX_WEBHOOKS_PER_APP){eF("You can register a maximum of %d webhook URIs per app.".format(Constants.MAX_WEBHOOKS_PER_APP));return}eE=bi(this._webhook_info_row_tmpl({url:eN,status:"Verifying"}).toHTML());eE.find(".status").append(eH);eK.append(eE);eK.removeClass("hide-status");bi("#webhook-form").removeClass("error");eJ=bv.collect_form_vars(eD);eM.val("");T=new Date().getTime();return bi.ajax({url:"/developers/apps/update/add_webhook",type:"POST",dataType:"json",data:eJ,success:function(eR){var eP,eQ;if(eR.status==="invalid"){eF(eR.failure_text,eE);return eM.val(eN)}else{eQ=new Date().getTime()-T;eP=Math.max(0,1000-eQ);return setTimeout((function(){if(eR.status==="ok"){return eE.find(".status").text("Enabled")}else{if(eR.status==="error"){eE.find("textarea").text(eR.failure_text);eE.find(".status").text(eR.status_text).addClass("error");eE.find(".timestamp").text("Just now");return eE.find(".webhook-failure-info").css("display","")}}}),eP)}},error:function(){Z.error("Unable to complete your request.");eE.remove();return eM.val(eN)}})},remove_webhook:function(eE,eD){var eF,T;bi("#webhook-form").removeClass("error");T=bi(eE).find(".value").text();eF=bi("").attr("src","/static/images/icons/ajax-loading-small.gif").css("vertical-align","middle");bi(eE).find(".status").text("Removing").removeClass("error").append(eF);return bi.ajax({url:"/developers/apps/update/remove_webhook",type:"POST",data:{app_id:eD,webhook_url:T},dataType:"json",success:function(eI){var eG,eH;eG=eE.parentNode;eH=eG.parentNode;eH.removeChild(eG);if(eH.getElementsByClassName("hoverable-url").length===0){bi(eH).addClass("hide-status")}if(!bi("#webhook_url").val()){return bi("#webhook_url").val(T)}},error:function(){return Z.error("Unable to complete your request.")}})},update_webhook_url:function(eH,eF,eE){var eI,T,eG,eJ,eD;eD=bi(eH.parentNode.parentNode).find(".value").text();bi("#webhook-form").removeClass("error");eG=eH.parentNode.parentNode.parentNode;eI=bi("").attr("src","/static/images/icons/ajax-loading-small.gif").css("vertical-align","middle");T=bi(eG).find(".status").text();eE=T==="Disabled";eJ=eE?"Enabling":"Disabling";bi(eG).find(".status").text(eJ).removeClass("error").append(eI);return bi.ajax({url:"/developers/apps/update/update_webhook_url",type:"POST",data:{app_id:eF,webhook_url:eD,enable:eE},dataType:"json",success:function(eL){var eK;T=bi(eG).find(".status").text();eK=T==="Disabling"?"Disabled":"Enabled";bi(eG).find(".status").text(eK).removeClass("error").removeClass("img");if(T==="Disabling"){return bi(eG).find(".webhook-actions").removeClass("enabled").addClass("disabled")}else{return bi(eG).find(".webhook-actions").removeClass("disabled").addClass("enabled")}},error:function(eK){return Z.error("Unable to complete your request.")}})},set_oauth2_allow_implicit_grant:function(eD,T){return bi.ajax({url:"/developers/apps/update/oauth2_allow_implicit_grant",type:"POST",data:{app_id:T,allow:bi(eD).val()},dataType:"json",success:function(eE){return Z.success("OAuth 2 allow implicit grant updated.")},error:function(){return Z.error("Error updating OAuth 2 allow implicit grant.")}})},submit_new_oauth_uri:function(eD){var T;T=bi(eD).find("input[name=oauth_uri]").val();bv.clear_errors(eD);return bv.ajax_submit(eD,false,(function(){Z.success("OAuth URI added.");aX.add_oauth_uri(T);return bi(eD).find("input[name=oauth_uri]").val("")}))},add_oauth_uri:function(eD){var T;T=bi("#oauth-uri-list");T.append(this._hoverable_tmpl({value:eD}).toHTML());return T.show()},remove_oauth_uri:function(eD,T){var eF,eE;eF=bi(eD).find(".value").text();eE=function(eH){var eG;Z.success("OAuth URI removed.");eG=eD.parentNode;eG.removeChild(eD);if(eG.getElementsByTagName("div").length===0){return eG.hide()}};return bi.ajax({url:"/developers/apps/update/remove_oauth_uri",type:"POST",data:{app_id:T,oauth_uri:eF},dataType:"json",success:eE,error:function(){return Z.error("Unable to complete your request.")}})},submit_new_domain:function(T){var eD;eD=bi(T).find("input[name=domain_name]").val();bv.clear_errors(T);return bv.ajax_submit(T,false,(function(){Z.success("Domain added.");aX.add_domain(eD);return bi(T).find("input[name=domain_name]").val("")}))},add_domain:function(eD){var T;T=bi("#domain-list");T.append(this._hoverable_tmpl({value:eD}).toHTML());return T.show()},remove_domain:function(eD,T){var eF,eE;eF=bi(eD).find(".value").text();eE=function(eH){var eG;Z.success("Domain removed.");eG=eD.parentNode;eG.removeChild(eD);if(eG.getElementsByTagName("div").length===0){return eG.hide()}};return bi.ajax({url:"/developers/apps/update/remove_domain",type:"POST",data:{app_id:T,domain_name:eF},dataType:"json",success:eE,error:function(){return Z.error("Unable to complete your request.")}})},show_need_users_modal:function(T){ex.show(d1("Please test this app",{comment:"Error message"}),$("app-need-users-modal"));return false},show_need_teams_modal:function(T){return ex.show(d1("Please test this app",{comment:"Error message"}),$("app-need-teams-modal"))},show_name_branding_modal:function(T){ex.show(d1("Please rename this app",{comment:"Error message"}),$("app-name-branding-modal"));return false},show_need_icon_modal:function(T){ex.show(d1("Please add an icon for this app",{comment:"Error message"}),$("app-need-icon-modal"));return false},hide_folder_input:function(){bi("#folder-name").show();return bi("#folder-input").hide()},show_folder_input:function(){bi("#folder-name").hide();bi("#folder-input").show();return bi("#folder-input input[name=folder]").focus()}};var cg,da;da=INLINE_JS.twitter_auth_complete=function(T){cm(T!=null,"user_id must be provided");if(cg.onLoginSuccessCallback){cg.onLoginSuccessCallback(T)}else{window.location.reload()}return false};cg=B.Twitter={is_authed:function(T){T=parseInt(T);if(cg._authed_users==null){cg._authed_users={}}return cg._authed_users[T]},set_is_authed:function(T,eD){T=parseInt(T);if(cg._authed_users==null){cg._authed_users={}}return cg._authed_users[T]=eD},get_progress_container:function(){var T;cm(cg.progress_container,"Twitter is missing progress_container");T=$(cg.progress_container);cm(T,"Missing progress_container elm");return T},follow_dropbox:function(eD,T){var eE;cm(T!=null,"user_id must be provided");if(eD.showWorking){eD.showWorking()}eE=function(){if(eD.onFailure){return eD.onFailure()}else{return window.location.reload()}};return new Ajax.DBRequest("/twitter/follow_us",{onSuccess:function(eF){if(!eF.responseText.startsWith("ok")){return eE()}else{if(eD.onSuccess){return eD.onSuccess()}}},onFailure:function(){return eE()},subject_user:T})},do_auth:function(eF,T){var eE,eD;cm(T!=null,"user_id must be provided");eD=D({path:"/twitter/request_token"}).updateQuery(Constants.UID_PARAM_NAME,T).toString();window.open(eD,"twitter_auth","width=800,height=400");eE=function(eG){cg.set_is_authed(eG,true);return typeof eF==="function"?eF(eG):void 0};return cg.onLoginSuccessCallback=eE},show_auth:function(T){if(T){cg.onLoginSuccessCallback=T}return cY.updateFromElm(cg.get_progress_container(),"inline-twitter-auth")},show_posting:function(){if(cg.should_hide_modal()){ex.hide()}return cg.get_progress_container().update(cY.fromElm("sharing-progress"))},show_complete:function(eD){var T;T=cg.get_progress_container();T.update(cY.fromElm("sharing-posted"));return cg.show_complete_into(eD,T)},show_complete_into:function(eI,T){var eF,eG,eE,eH,eD;eF="twitter";eH=d1("View tweet");eD=void 0;if(eI.startsWith("ok")){eD="http://www.twitter.com/"}else{eD=eI}eG=T.down("#view-post");eG.href=eD;eG.update(eH);eE=b9.make("web",eF);return eG.__sert({top:eE})},post:function(eF,eH,eE,T){var eG,eD;cm(T!=null,"user_id must be provided");cm(eF,"Twitter message is empty");eG={message:eF,from_referrals:cg.from_referrals,from_getspace:cg.from_getspace};new Ajax.DBRequest("/twitter_post",{parameters:eG,onSuccess:function(eI){var eJ,eK;if(eI.responseText==="login"){cg.onLoginSuccessCallback=function(){return cg.post(eF,null,null,T)};eJ=cg.custom_show_auth||cg.show_auth;return eJ()}else{if(cg.should_hide_modal()){ex.hide()}eK=cg.onPostSuccessCallback||cg.show_complete;return eK(eI.responseText)}},subject_user:T});eD=cg.custom_show_posting||cg.show_posting;return eD()},custom_post:function(eD,eE,T){cm(T!=null,"user_id must be provided");if(eE){cg.onPostSuccessCallback=eE}if(!eD){return}cm(eD,"Twitter message doesn't exist");if(!cn.get_viewer().is_signed_in){return window.open("http://www.twitter.com/home?status="+encodeURI(eD))}else{return cg.post(eD,null,null,T)}},get_user_info:function(eD,T){cm(T!=null,"user_id must be provided");return new Ajax.DBRequest("/twitter/user_info",{noAutonotify:1,parameters:{},onSuccess:function(eE){return eD(JSON.parse(eE.responseText))},subject_user:T})},should_hide_modal:function(){if(typeof cg.hide_modal==="undefined"){return true}else{return cg.hide_modal}}};var cX,ep,c8,U,ei,al,bk,ah,v,dO,an={}.hasOwnProperty,cp=function(eF,eD){for(var T in eD){if(an.call(eD,T)){eF[T]=eD[T]}}function eE(){this.constructor=eF}eE.prototype=eD.prototype;eF.prototype=new eE();eF.__super__=eD.prototype;return eF},c0=function(T,eD){return function(){return T.apply(eD,arguments)}};c8=B.LightboxPreviewBase=(function(){function T(eD){this.link_hash=eD.link_hash;this.filename=eD.filename;this.fq_path=eD.fq_path;this.thumbnail_url_tmpl=eD.thumbnail_url_tmpl;this.dl_url=eD.dl_url;this.ns_id=eD.ns_id;this.ns_path=eD.ns_path;this.display_time=eD.display_time||null;this.more_actions_item_tmpl=eA.tmpl("lightbox_more_actions_item_tmpl")}T.prototype.shutdown=function(){};T.prototype.preload=function(){};T.prototype.render=function(){};T.prototype.image_size=function(){var eD;eD=document.viewport.getDimensions();return av(eD.width,eD.height)};T.prototype.get_more_actions_above_divider=function(eE){var eF,eD;eD=[];eF=this.more_actions_item_tmpl({_id:"lightbox_download_link",_href:this.dl_url,_ns_id:this.ns_id,_ns_path:this.ns_path,sprite_name:"lightbox_download",item_text:d1("Download"),more_classes:"more-actions-item",Sprite:b9});eD.push(eF);return eD};T.prototype.get_more_actions_below_divider=function(eD){return[]};T.prototype.is_a_timeline_preview=function(){return this instanceof ei||this instanceof cX||this instanceof al||this instanceof ep};T.prototype.is_an_album_preview=function(){return this instanceof ei||this instanceof al};T.prototype.is_a_photo_preview=function(){return this instanceof U};T.prototype.is_a_video_preview=function(){return this instanceof bk};T.prototype.get_actions=function(eF){var eH,eJ,eK,eE,eI,eD,eG;eE=[];if(!this.is_a_timeline_preview()&&eF.enable_sublinks){if(eF.share_button_experiment_variant==="WHITE_BUTTON"){eK=bi("#lightbox-share-action-base").clone().attr("id","lightbox-share-button");if(this.shmodel_link){eG=(function(eL){return function(eM){aS.ShmodelUILogger.log("via-shmodel-lightbox");return window.open(D.parse(eL.shmodel_link).updateQuery("m","1"))}})(this)}else{eG=(function(eL){return function(eM){eM.preventDefault();aS.ShmodelUILogger.log("via-browse-lightbox");return c1.shmodel(eL.fq_path,"browse_lightbox")}})(this)}}else{eK=bi("",{id:"lightbox_share_link","class":"title_bubble black"});eK.html(b9.make("web","link_white"));if(this.is_a_photo_preview()){eK.attr("title",d1("Share link to photo"))}else{if(this.is_a_video_preview()){eK.attr("title",d1("Share link to video"))}else{cm(false,"preview needs to be a photo or video")}}if(this.shmodel_link){eK.attr("href",D.parse(this.shmodel_link).updateQuery("m","1"));eK.attr("target","_blank");eG=(function(eL){return function(eM){return aS.ShmodelUILogger.log("via-shmodel-lightbox")}})(this)}else{eK.attr("href","#");eG=(function(eL){return function(eM){eM.preventDefault();aS.ShmodelUILogger.log("via-browse-lightbox");return c1.shmodel(eL.fq_path,"browse_lightbox")}})(this)}}eK.on("click",eG);eE.push(eK[0])}if(eF.include_delete){eI=bs.in_single_collection_view()?d1("Remove"):d1("Delete");if(eF.share_button_experiment_variant==="WHITE_BUTTON"){eH=bi("#lightbox-delete-action-base").clone().attr("id","lightbox-delete-link");eH.find(".sprite-text-inner").text(eI);eH.on("click",(function(eL){eL.preventDefault();return ay.delete_current()}))}else{eH=bi("",{id:"lightbox-delete-button",href:"#","class":"title_bubble black",title:eI});eH.html(b9.make("web","lightbox_delete_16"));eH.on("click",(function(eL){eL.preventDefault();return ay.toggle_delete()}))}eE.push(eH[0])}if(eF.share_button_experiment_variant==="WHITE_BUTTON"){eD=(function(eL){return function(eM){eM.preventDefault();return ay.toggle_more_actions_menu()}})(this);eJ=bi("#lightbox-more-actions-base").clone().attr("id","lightbox-more-actions-button").on("click",eD);eE.push(eJ[0])}else{cm(ay.more_actions_button!=null,"Lightbox should have a more_actions_button added on init");eE.push(ay.more_actions_button)}return eE};T.prototype.delete_pressed=function(){var eD;eD=d1("Deleting...");if(this.is_a_timeline_preview()){if(bs.in_single_collection_view()){eD=d1("Removing...");bs.get_current_collection().remove_photos([this.photo])}else{bs._delete_photos([this.photo])}}else{document.fire(ay.PHOTO_DELETE_EVT,this)}return Z.success(eD)};T.prototype.set_more_actions_event_handlers=function(eD){};T.prototype.replace_dl_action_with_open_action_if_file_available=function(){var eE,eF,eD,eG;if(__CONDITIONAL_JS__.UnityFeatures==null){return}eD=b5.active_user.id;eF=(function(eH){return function(eI,eL,eJ){var eM,eK;eM=bi("#lightbox_download_link");if(!(eM.data("ns-id")===eI&&eM.data("ns-path")===eL)){return}eK=bi(eH.more_actions_item_tmpl({_id:"unity_open_action",_href:"#",_ns_id:eI,_ns_path:eL,sprite_name:"lightbox_open",item_text:d1("Open"),more_classes:"more-actions-item",Sprite:b9}).toHTML());eM.replaceWith(eK);return eK.on("click",function(eN){return __CONDITIONAL_JS__.UnityFeatures.open_file(eI,eL,eJ,__CONDITIONAL_JS__.UnityFeatures.standard_open_file_handler)})}})(this);if((eG=__CONDITIONAL_JS__.UnityCheckFileCache)!=null?eG.get(this.ns_id,this.ns_path):void 0){return eF(this.ns_id,this.ns_path,eD)}else{eE=(function(eH){return function(eI){if(eI){return eF(eH.ns_id,eH.ns_path,eD)}}})(this);return __CONDITIONAL_JS__.UnityFeatures.check_file(this.ns_id,this.ns_path,eD,eE)}};return T})();U=INLINE_JS.PhotoPreview=B.PhotoPreview=(function(eD){cp(T,eD);function T(eE){T.__super__.constructor.call(this,eE);this.original_url=String(D.parse(eE.original_url).updateQuery(Constants.UID_PARAM_NAME,b5.active_user));this.shmodel_link=eE.shmodel_link;this.fail_image_src="/static/images/preview_fail.png";if(this.is_gif()){this.thumbnail_url_tmpl=this.original_url}this.loaded=false;this.enable_download=eE.enable_download}T.prototype.show_fail=function(eF){var eE;return eE=bi(eF).find(".lightbox_fail_text").text(d1("Unable to preview this item."))};T.prototype.fallback=function(eF){var eE,eG;eE=$(eF.target);eE.writeAttribute({src:this.fail_image_src,width:128,height:128});eG=eE.up("div.content-item");if(eG){return this.show_fail(eG)}};T.prototype.is_gif=function(){return"gif"===ao.file_extension(this.filename).toLowerCase()};T.prototype.preload=function(eG){var eF,eH,eE;eE=D.parse(this.thumbnail_url_tmpl).updateQuery({size:this.image_size()}).toString();if(this.is_gif()){eE=this.thumbnail_url_tmpl}eH=(function(eI){return function(){if(typeof eG==="function"){eG()}return eI.loaded=true}})(this);dz.preload_image(eE,this.fallback.bind(this),eH);eF=$(dz.preloaded_images[eE]);eF.writeAttribute("data-original-href",this.original_url);eF.setAttribute("enable-download",this.enable_download);eF.writeAttribute("class","thumbnail");return eF};T.prototype.render=function(eJ,eG){var eH,eF,eI,eE,eK;if(this.loaded){eG()}eF=this.preload(eG);eK=bi("
    ",{"class":"content-item"}).append(eF);eH=bi("
    ",{"class":"lightbox_fail_text"});eK.append(eH);eI=eF.getAttribute("src").length;eE=eF.getAttribute("src").substring(eI-this.fail_image_src.length,eI);if(eE===this.fail_image_src){this.show_fail(eK)}eJ.appendChild(eK[0]);return eK[0]};T.prototype.advance_on_click=true;T.prototype.get_more_actions_above_divider=function(eG){var eF,eE;eE=T.__super__.get_more_actions_above_divider.call(this,eG);eF=this.more_actions_item_tmpl({_id:"view_original",_href:this.original_url,_target:"_blank",sprite_name:"lightbox_view_original",item_text:d1("View original"),more_classes:"more-actions-item",Sprite:b9});eE.push(eF);return eE};return T})(c8);bk=B.VideoPreview=(function(T){cp(eD,T);function eD(eE){this._player_error=c0(this._player_error,this);this._player_ready=c0(this._player_ready,this);eD.__super__.constructor.call(this,eE);this.preview_url=eE.preview_url;this.shmodel_link=eE.shmodel_link;this.thumbnail_div=null;this.metadata_link=eE.metadata_link!=null?eE.metadata_link:void 0;this.metadata=null;this.player=null}eD.prototype.render_error=function(eH){var eJ,eF,eE,eG,eI;eF=bi("
    ");eE=bi("",{src:"/static/images/preview_fail.png","class":"video-preview-fail"});eG=bi("
    ",{"class":"video-preview-fail"});if(eH==="needflash"){eG.html(d1('Install Adobe Flash Player to view this video.'))}else{eG.text(d1("Unable to preview this item.",eI="web",eJ="preview means showing the item in the same browser window without downloading a copy."))}eF.append(eE,eG);return eF[0]};eD.prototype._player_ready=function(){var eE;eE=function(){bi(".vjs-poster").show();bi(".vjs-big-play-button").show();return bi(".vjs-big-play-button").focus()};return eE.defer()};eD.prototype._onPlay=function(){bi(".vjs-poster").hide();return bi(".vjs-big-play-button").hide()};eD.prototype._onEnded=function(){bi(".vjs-poster").show();bi(".vjs-big-play-button").show();return bi(".vjs-loading-spinner").hide()};eD.prototype._player_error=function(eE){this.shutdown();this.div=this.render_error(eE);return bi("#file-preview-modal .content-item").html(this.div)};eD.prototype.preload=function(){};eD.prototype.render=function(eF,eE){this.div=this.render_video(eF);return this.div};eD.prototype.render_video=function(eK){var eE,eI,eG,eF,eJ,eH;eH=new Element("div",{"class":"video-player content-item"});eJ=this.image_size().split("x")[0]*0.8;eF=parseInt(eJ*0.55,10);eI=false;eG=D.parse(this.thumbnail_url_tmpl).updateQuery({size:this.image_size()}).toString();eE=(function(eL){return function(eM){return eL.metadata=eM}})(this);this.player=a9.embed(eH,{src:this.preview_url,type:Constants.transcoder_hls4web?"application/vnd.apple.mpegurl":"video/flv",width:eJ,height:eF,controls:true,preload:"auto",poster:eG,onError:this._player_error,onReady:this._player_ready,metadata:this.metadata,metadata_link:this.metadata_link,metadata_cb:eE});eK.appendChild(eH);bi(".vjs-poster").hide();bi(".vjs-big-play-button").hide();this.player.on("play",this._onPlay);this.player.on("ended",this._onEnded);return eH};eD.prototype.shutdown=function(){var eF,eE;bi(".vjs-big-play-button").blur();if(this.player){try{this.player.trigger("shutdown");if(this.player.techName==="Hls"){if((eE=this.player.tech.sourceBuffer)!=null){eE.abort()}}this.player.dispose()}catch(eG){eF=eG}return this.player=null}};return eD})(c8);ah=function(eE){var T,eD;T=(function(eG){cp(eF,eG);function eF(eH){eH.ns_id=eH.photo.ns_id;eH.ns_path=eH.photo.ns_path;eF.__super__.constructor.call(this,eH);this.photo=eH.photo;a4.set_vertical_space(3);if(bs.in_single_collection_view()){bi("#lightbox-delete-photo").val(d1("Remove"))}else{bi("#lightbox-delete-photo").val(d1("Delete"))}}eF.prototype.get_more_actions_above_divider=function(eJ){var eI,eH;eH=eF.__super__.get_more_actions_above_divider.call(this,eJ);eI=this.more_actions_item_tmpl({_id:"lightbox_add_to_album",sprite_name:"lightbox_add_to_album",item_text:d1("Add to album"),more_classes:"more-actions-item",Sprite:b9});eH.push(eI);return eH};eF.prototype.toggle_select_button_off=function(eH){if(this.is_a_photo_preview()){eH.attr("title",d1("Select photo"))}else{if(this.is_a_video_preview()){eH.attr("title",d1("Select video"))}}eH.html(b9.make("web","lightbox_unselected"));eH.removeClass("selected");eH.addClass("elbboggiw");return setTimeout((function(){return eH.removeClass("elbboggiw")}),540)};eF.prototype.toggle_select_button_on=function(eH){if(this.is_a_photo_preview()){eH.attr("title",d1("Un-select photo"))}else{if(this.is_a_video_preview()){eH.attr("title",d1("Un-select video"))}}eH.html(b9.make("web","lightbox_selected"));eH.addClass("selected");eH.addClass("wiggobble");return setTimeout((function(){return eH.removeClass("wiggobble")}),540)};eF.prototype.toggle_select=function(eI){var eH;eI.preventDefault();eH=bi("#lightbox-select-button");a4.hide_all();if(el.contains(this.photo)){el._remove(this.photo);return this.toggle_select_button_off(eH)}else{el._add(this.photo);return this.toggle_select_button_on(eH)}};eF.prototype.get_actions=function(eJ){var eI,eH,eK;eI=[];eK=bi("",{id:"lightbox_share",href:"#","class":"lightbox-button lightbox-not-important"});ay.update_share_button_text(null,bi(eK));eK.on("click",((function(eL){return function(eN){var eM;eN.preventDefault();eM=el.get();if(eM.length===0){return d0.show([eL.photo],false)}else{return d0.show(el.get(),false)}}})(this)));eH=bi("",{id:"lightbox-select-button",href:"#","class":"title_bubble black",title:d1("Select this photo")});if(el.contains(this.photo)){eH.html(b9.make("web","lightbox_selected"))}else{eH.html(b9.make("web","lightbox_unselected"))}eH.on("click",this.toggle_select.bind(this));eI.push(eK[0]);eI.push(eH[0]);return eI.concat(eF.__super__.get_actions.call(this,eJ))};eF.prototype.set_more_actions_event_handlers=function(eH){$("lightbox_add_to_album").observe("click",((function(eI){return function(eJ){eJ.preventDefault();return cj.show_add_to_album_modal(eJ,[eI.photo])}})(this)));$("lightbox_show_in_folder").observe("click",((function(eI){return function(eJ){eJ.preventDefault();return bs.show_in_folder(eI.photo)}})(this)));return eF.__super__.set_more_actions_event_handlers.call(this,eH)};eF.prototype.get_more_actions_below_divider=function(eJ){var eI,eH;eI=[];eH=this.more_actions_item_tmpl({_id:"lightbox_show_in_folder",sprite_name:"lightbox_show_in_folder",item_text:d1("Show in folder"),more_classes:"more-actions-item",Sprite:b9});eI.push(eH);eI=eI.concat(eF.__super__.get_more_actions_below_divider.call(this,eJ));return eI};return eF})(eE);eD=(function(eG){cp(eF,eG);function eF(){return eF.__super__.constructor.apply(this,arguments)}eF.prototype.get_more_actions_below_divider=function(eJ){var eH,eI;eI=[];eH=this.more_actions_item_tmpl({_id:"lightbox_remove_from_album",sprite_name:"lightbox_remove_from_album",item_text:d1("Remove from album"),more_classes:"more-actions-item",Sprite:b9});eI.push(eH);eI=eI.concat(eF.__super__.get_more_actions_below_divider.call(this,eJ));return eI};eF.prototype.set_more_actions_event_handlers=function(eH){$("lightbox_remove_from_album").observe("click",((function(eI){return function(eJ){eJ.preventDefault();return cj.show_remove_photos_modal(bs.get_current_collection(),[eI.photo])}})(this)));return eF.__super__.set_more_actions_event_handlers.call(this,eH)};return eF})(T);return[T,eD]};v=ah(U),cX=v[0],ei=v[1];dO=ah(bk),ep=dO[0],al=dO[1];var ay;ay=INLINE_JS.Lightbox=B.Lightbox=(function(){var eW,eU,fs,fr,fe,eK,eD,e1,fa,fw,fq,eJ,e9,fl,eR,fk,e6,ff,fv,eQ,e7,eO,fj,fn,eI,fm,eH,eZ,fp,eT,e8,eL,e2,fg,e3,fc,eF,eV,T,fb,fo,fu,fi,eS,eY,eG,eX,fd,eE,eM,fh,e4,e5,eP,e0,eN,ft;fr=[];eW=0;fe=false;fs=true;e4=void 0;eD=/^\d+\-\d+\-\d+\s+\d+\.\d+\.\d+/;eK=false;fp=void 0;fl=void 0;fd=-1;eE=null;ff=null;e7=false;T=false;eI=false;eO=null;eQ=function(fx){return fx.complete!==false};eG=function(){var fx;if($$("#file-preview-modal .loading-image").length){return}fx=new Element("img",{"class":"loading-image",src:"/static/images/icons/ajax-loader-black.gif"});return $$("#file-preview-modal .preview-content").first().__sert(fx)};e6=function(){return $$("#file-preview-modal .loading-image").invoke("remove")};e3=function(){var fD,fC,fz,fx,fB,fA,fy;fC=$$("#file-preview-modal .content-item").first().down("img.thumbnail");if(!fC||!eQ(fC)){return}fx=$$("#file-preview-modal .preview").first().getDimensions();fD=void 0;if(!fC.naturalHeight){fD=fC.getDimensions();fC.naturalHeight=fD.height;fC.naturalWidth=fD.width}else{fD={width:fC.naturalWidth,height:fC.naturalHeight}}fz=fD.width/fx.width;fy=fD.height/fx.height;fA=Math.max(fz,fy);fC.style.visibility="";if(fA<1){fC.style.width="";fC.style.height=""}else{fC.style.width=Math.floor(fD.width/fA)+"px";fC.style.height=Math.floor(fD.height/fA)+"px"}fB=bi("#file-preview-modal .paging-block").position().left-16;return bi("#file-preview-modal .filename").css("max-width",fB)};e9=void 0;fm=function(){var fE,fz,fD,fC,fB,fy,fA,fx;fz=$("file-preview-modal");fC=fz.down(".menu");fD=fz.down(".header");fA=$$(".lightbox-not-important");fx=[];for(fB=0,fy=fA.length;fB1&&(((fC=fK.photo)!=null?fC.item_owner_fname:void 0)!=null)){fO="  ·  ";fO+=d1("Added by %(fname)s").format({fname:bw.em_snippet(fK.photo.item_owner_fname,7)});fQ.down(".added-by").__date(new eA(fO));fQ.down(".added-by").show()}else{fQ.down(".added-by").hide()}fF=eA.tmpl("lightbox_more_actions_item_tmpl");fM=fK.get_more_actions_above_divider(fp);fJ=fK.get_more_actions_below_divider(fp);if(fJ.length){fM.push(fF({divider:true,Sprite:b9}));fM=fM.concat(fJ)}$("lightbox-more-actions-list").__date(fM);fK.set_more_actions_event_handlers(fp);if(bi(fQ).data("is-unity-allowed")==="True"&&(__CONDITIONAL_JS__.UnityFeatures!=null)){fK.replace_dl_action_with_open_action_if_file_available()}fI=fK.get_actions(fp);fx=document.createDocumentFragment();for(fy=0,fT=fI.length;fy",{id:"lightbox-click-catcher",style:"position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; z-index: 2;"});fy.appendTo("#file-preview-modal .modal-preview-content");if(bE.msie_version_at_most(10)){fy.css("background","black");fy.fadeTo(0,0)}}fy.off("click");fy.on("click",(function(fz){fz.preventDefault();return fx()}));return fy.show()};eR=function(){return bi("#lightbox-click-catcher").hide()};fw=function(){var fx;fx=bi("#lightbox-more-actions-button");if(fx.hasClass("toggled")){eR();fx.removeClass("toggled");$("lightbox-more-actions-menu").hide();bi(document).trigger("dropdownClosed",[1]);eM();return true}return false};eZ=function(){var fx;fx=bi("#lightbox-more-actions-button");if(!fx.hasClass("toggled")){fk();fx.addClass("toggled");a4.hide_all();bi("#lightbox-more-actions-menu").show();bi(document).trigger("dropdownOpened",[1]);fh();return fo(ay.close_more_actions_menu)}};eP=function(){if(bi("#lightbox-more-actions-button").hasClass("toggled")){return fw()}else{return eZ()}};eH=function(fy){var fx;if(e7){T=true;fg()}fw();if(fy){fy.preventDefault()}if(eW===fr.length-1&&fp.no_wrap){return}if((fx=fr[eW])!=null){fx.shutdown()}eW=fv(1);if(eW===0){fc()}return fb(null,ay.NEXT)};e2=function(fy){var fx;if(e7){T=true;fg()}fw();if(fy){fy.preventDefault()}if(eW===0&&fp.no_wrap){return}if((fx=fr[eW])!=null){fx.shutdown()}eW=fv(-1);return fb(null,ay.PREV)};fa=function(fx){if(fx){fx.preventDefault()}if(fr[eW].advance_on_click){if(fx.clientXeP;eW=0<=eP?++eU:--eU){eQ=new Element("img",{src:"/static/images/page-left.png","class":"page-end-left page-end"});eQ.style.left=(28-eW*5)+"px";eQ.style.zIndex=eE-eW;eX.appendChild(eQ)}for(eV=eS=0;0<=eT?eSeT;eV=0<=eT?++eS:--eS){eR=new Element("img",{src:"/static/images/page-right.png","class":"page-end-right page-end"});eR.style.right=(31-eV*5)+"px";eR.style.zIndex=eE-eV;eX.appendChild(eR)}return $("book").appendChild(eX)};T=function(eO){(eO>0?Element.show:Element.hide)("tour-page-back");return(eO+1=eE){return}eH(eO);return d4.push_state("/tour/"+eO)};eN=function(eP,eQ){var eO;eP.preventDefault();eO=parseInt(eQ.href.split("/").last(),10);eH(eO);return d4.push_state("/tour/"+eO)};eM=function(){$("tour-page-back").observe("click",eJ);$("tour-page-forward").observe("click",eK);key("right",eK);key("left",eJ);return $("toc").on("click","a",eN)};eI=function(eP,eQ){var eO;eO=parseInt(eP,10)||0;return eH(eO)};eL=function(){var eS,eR,eP,eQ,eO;eQ=$$(".page-right img");eO=[];for(eR=0,eP=eQ.length;eR%(items)s from your Dropbox?").format({items:cG.file_desc(eK)}),confirm_text:d1("Delete"),cancel_text:d1("Cancel"),confirm_callback:(function(eM){return function(){return eM._delete_photos(eK)}})(this)})},_delete_photos:function(eR){var eN,eL,eF,eO,T,eD,eQ,eK,eI,eH,eP,eE,eJ,eG,eM;eR=eR.slice(0);eQ=[];for(eI=0,eP=eR.length;eIbs.NUM_PHOTOS_LONG_RUNNING_DELETES,job_user:cn.get_viewer().photos_user,progress_text:eL,onSuccess:function(eW){var eU,eX,eV;eX=eW.responseText.evalJSON();eV=bs.undo_enabled&&(bs._all_photos_timeline!=null);eU=eV?eX.changesets:null;R.notifyWithUndo(eL,eU,eM);bs.get_timeline().remove_photos(eR);if(eT.length>0){return cj.refresh_album_views(eT)}},subject_user:cn.get_viewer().photos_user})}})(this);return new Ajax.DBRequest("/collections_from_paths",{parameters:{fq_paths:JSON.stringify(eQ)},onSuccess:(function(eS){return function(eV){var eU,eT,eW,eX;eT=JSON.parse(eV.responseText);eW=[];for(eX in eT){eU=eT[eX];eW=eW.concat(eU)}return eK(eW)}})(this)})},_preview:function(T){return ay.show(T)},_lightbox_delete:function(T){var eD;eD=T.memo.photo;h.log_interaction(dP.DELETE,cI.LIGHTBOX);return this.show_delete_photos_modal([eD])},_lightbox_remove:function(eD){var T;T=eD.memo.photo;this.get_current_collection().remove_photos([T]);return h.log_interaction(dP.REMOVE,cI.LIGHTBOX)},_show_duplicates_modal:function(eD,eS){var eK,eR,eI,eM,eL,eF,eO,eE,eJ,eN,T,eQ,eG,eP,eH;eL=eD.duplicates_info.slice(0);eL.push(eD);eL.sort(function(eU,eT){return eT.mtime-eU.mtime});eM=$("cu-duplicate-files");eF=[];for(eG=0,eP=eL.length;eG=5){eM.addClassName("scroll")}else{eM.removeClassName("scroll")}eH=cG.categorize_files([eD]),eN=eH[0],T=eH[1];if(eN){eE=d1("There are multiple copies of this photo.");eJ=d1("Delete all copies of this photo?")}else{eE=d1("There are multiple copies of this video.");eJ=d1("Delete all copies of this video?")}if(eS){eO="delete_32";eQ=eJ;eK=eE+" "+d1("Would you like to delete them all?");$("cu-delete-all-duplicates").show()}else{eO="folder_32";eQ=d1("Show in folder");eK=eE+" "+d1("Which folder would you like to view?");$("cu-delete-all-duplicates").hide()}cY.fillVal(eK,"cu-duplicates-desc");return ex.show(eQ,$("cu-duplicates-modal"),{action:this._delete_photos.curry([eD])})},_show_delete_multiple_duplicates_modal:function(eP,eK){var eO,eI,eL,eE,eD,eJ,eH,eM,T,eF,eN,eG;eL=$("cu-multiple-duplicate-files");eE=[];for(eF=0,eN=eK.length;eF=5){eL.addClassName("scroll")}else{eL.removeClassName("scroll")}eG=cG.categorize_files(eP),eM=eG[0],T=eG[1];if(eM&&T){eD=d1("Delete %(num_files)s files and all copies?").format({num_files:eP.length});eJ=d1("There are multiple copies of these files in your Dropbox.");eH=d1("Show files with multiple copies")}else{if(eM){eD=d1("Delete %(num_photos)s photos and all copies?").format({num_photos:eP.length});eJ=d1("There are multiple copies of these photos in your Dropbox.");eH=d1("Show photos with multiple copies")}else{eD=d1("Delete %(num_videos)s videos and all copies?").format({num_videos:eP.length});eJ=d1("There are multiple copies of these videos in your Dropbox.");eH=d1("Show videos with multiple copies")}}cY.fillVal(eJ,"cu-multiple-duplicates-desc");cY.fillVal(eH,"cu-multiple-duplicates-show");$("cu-multiple-duplicates-modal").removeClassName("show-duplicates");return ex.show(eD,$("cu-multiple-duplicates-modal"),{action:this._delete_photos.curry(eP)})},show_timestamps_modal:function(eH){var eD,eE,eF,T,eG;eH.sort_by_key((function(eI){return eI.time_taken}),true);T=(function(){var eK,eJ,eI;eI=[];for(eK=0,eJ=eH.length;eKeR;eK=0<=eR?++eS:--eS){eQ.push(eN)}return eQ})();eJ={};for(eL=eM=0,eI=T.length;eMeL.NUM_PHOTOS_LONG_RUNNING_EDIT_TIMESTAMP,job_user:cn.get_viewer().photos_user,onSuccess:function(eY){d2.update("1/3");return eL._scroll_to_photo_after_timestamp_edit(eK[0],eN[0])}})}})(this)})},_preload_file_previews:function(eF){var eL,eJ,eE,T,eQ,eP,eM,eK,eN,eI,eH,eO,eD,eG;eN=this.get_timeline().get_photos();if(eF[0]<=eF[eF.length-1]){eK=null;for(eI=0,eO=eF.length;eI=eM;eJ<=eM?eN++:eN--){eE.push(eN)}return eE}).apply(this))}else{if(eK.memo.direction===ay.PREV){eL=Math.max(T-this.LIGHTBOX_OFFSET*this.get_timeline().THUMBS_PER_ROW,0);return this._preload_file_previews((function(){eD=[];for(var eN=eF=T-1;eF<=eL?eN<=eL:eN>=eL;eF<=eL?eN++:eN--){eD.push(eN)}return eD}).apply(this))}}},_lightbox_exit:function(T){return key.setScope(this.KEY_SCOPE)},_window_resize:function(){var eE,eD,eF,T;eD=$("cu-view").cumulativeOffset().top+$("photos-list").getLayout().get("margin-top")+$("photos-list").getLayout().get("padding-top");if(bi("#carousel-promo-banner").outerHeight()){eD+=bi("#carousel-promo-banner").outerHeight()-$("cu-view").cumulativeOffset().top}eE=$("cu-view").cumulativeOffset().left+$("photos-list").getLayout().get("margin-left")+$("photos-list").getLayout().get("padding-left");if((eF=this._all_photos_timeline)!=null){eF.update_offsets(eD,eE)}return(T=this._single_collection_timeline)!=null?T.update_offsets(eD,eE):void 0},_history_change_handler:function(eP,eO){var eK,eL,eM,eH,eF,eI,eN,eJ,eG,eE,eD,T;if(this._init_finished){if(ex.shown()){ex.hide()}}$("photos-nav-item").removeClassName("selected");$$(".sidebar-album.selected").invoke("removeClassName","selected");if((eJ=this.get_timeline())!=null){eJ.unlisten()}if(eP==="all_albums"){cj.load_collections(null);this._in_all_collections_view=true;$("cu-view").removeClassName("single-collection");$("cu-view").addClassName("all-collections");if((eG=$("all-albums-sidebar"))!=null){eG.addClassName("selected")}el.clear();document.title=d1("Albums")+" - Dropbox";cj.restore_all_albums_scroll_position();this._current_collection_gid=null;return}else{this._in_all_collections_view=false;$("cu-view").removeClassName("all-collections")}if(eP.startsWith("album/")){eK=cj.get_from_url("/photos/"+eP);eE=$$(".sidebar-album");for(eI=0,eN=eE.length;eI1){eL=d1("%(photo_video_desc)s from %(album_members)s",{comment:'for example: "3 photos and 1 video from Peter, Boris, and Ryan"'}).format({photo_video_desc:cG.album_desc(eK),album_members:dz.nice_list(eK.member_fnames)});$("single-collection-share-status").__date(eL)}else{$("single-collection-share-status").__date(d1("Shared"))}}else{$("single-collection-share-status").__date()}$("cu-view").addClassName("single-collection");if(!eK.is_creator){$("cu-view").addClassName("not-collection-creator")}document.title=""+eK.name+" - Dropbox";cb.log_event("show_collection",eK.gid,eK.num_photos,eK.is_anonymous)}else{eK=null;$("cu-view").removeClassName("single-collection");$("photos-nav-item").addClassName("selected");document.title=d1("Photos")+" - Dropbox"}eH=false;if(eK!=null){if(eK.gid!==this._current_collection_gid){eH=true}}else{if(this._all_photos_timeline==null){eH=true}}this._current_collection_gid=eK!=null?eK.gid:null;if(eH){this._refresh_view()}else{this._init_lightbox();this.get_timeline().init_timeline_nav();this.get_timeline().restore_scroll_position();this.get_timeline().listen()}if((this._last_lightbox_photo!=null)&&this.get_timeline().num_photos()){eF=this._last_lightbox_photo.uniqueness_key;this.get_timeline().scroll_to_photo_with_key(eF);if((T=$(eF))!=null){T.addClassName("wiggobble")}setTimeout((function(){return $(eF).removeClassName("wiggobble")}),1000);return this._last_lightbox_photo=null}}};var az;az=INLINE_JS.PhotosTour=B.PhotosTour={_frame:0,next:function(){var T;ex.show("",bi("#photos-tour-"+(this._frame+1))[0],null,null,700,null,null,false);T=this._frame;h.log_interaction(aR.SHOW_MODAL,"",{frame:T});bi("#modal-x").off("click");bi("#modal-x").on("click",((function(eD){return function(){return h.log_interaction(aR.EXIT_MODAL,"",{frame:T})}})(this)));return this._frame=(this._frame+1)%4},hide:function(T){h.log_interaction(T,"");return ex.hide()}};var cG;cG=B.PhotosUtil={categorize_files:function(eD){var eE,T;eE=eD.filter(function(eF){return eF.preview_type==="photo"});T=eD.filter(function(eF){return eF.preview_type==="video"});return[eE.length,T.length]},file_desc:function(eH,eE,T){var eD,eG,eF;if(eE==null){eE=false}if(T==null){T=false}eF=this.categorize_files(eH),eD=eF[0],eG=eF[1];return this._photo_video_desc(eD,eG,eE,T)},album_desc:function(eE,eD,T){if(eD==null){eD=false}if(T==null){T=false}return this._photo_video_desc(eE.num_photos,eE.num_videos,eD,T)},_photo_video_desc:function(eD,eI,eE,T){var eF,eH,eG;eH=aT("%d photo","%d photos",eD,{comment:"This will be used in a phrase such as 'x photos and y videos'"}).format(eD);eG=aT("%d video","%d videos",eI,{comment:"This will be used in a phrase such as 'x photos and y videos'"}).format(eI);if(eD&&eI){if(eE){eF=eD+eI;return aT("%d item","%d items",eF).format(eF)}else{if(T){return new eA(""+eH+"
    "+eG)}else{return d1("%(num_photos)s and %(num_videos)s",{comment:"num_photos and num_videos may be like either '1 photo' or '%d photos'"}).format({num_photos:eH,num_videos:eG})}}}else{if(eD){return eH}else{if(eI){return eG}else{return""}}}}};var el,bn=[].indexOf||function(eE){for(var eD=0,T=this.length;eD=0},clear:function(){this._selected=[];this._last_selected=null;$$(".cu-thumb.selected").invoke("removeClassName","selected");$("cu-view").removeClassName("photos-selected");$("page-sidebar").removeClassName("photos-selected");ej.hide_all();return document.fire(el.CHANGE_EVT)},clear_highlighted:function(){this._highlighted=[];this._dehighlighted=[];if(!this._select_highlighted_waiting){$$(".cu-thumb.highlighted").invoke("removeClassName","highlighted");$$(".cu-thumb.dehighlighted").invoke("removeClassName","dehighlighted");this._last_highlight_from_photo=null;return this._last_highlight_to_photo=null}},photo_click:function(eD,T){if(eD.isRightClick()&&!eD.shiftKey){return}if(eD.shiftKey){return this._select_highlighted()}else{if(this.contains(T)){return this._remove(T)}else{return this._add(T)}}},num_selected:function(){return this._selected.length},refresh:function(eF){var eH,eI,eE,eJ,eG,eD,T;eJ=(function(){var eN,eL,eM,eK;eM=this._selected;eK=[];for(eN=0,eL=eM.length;eN=0){T.push(this._selected[eH]=eI)}else{T.push(void 0)}}return T},inc_num_loading_events_before_select:function(T){if(!this._show_share_after_loading_selected){d2.show(d1("Loading photos..."))}this._show_share_after_loading_selected=T;this._num_pending_events_with_selections++;if(this._num_pending_events_with_selections>this._max_num_pending_events_with_selections){return this._max_num_pending_events_with_selections=this._num_pending_events_with_selections}},dec_num_loading_events_before_select:function(){this._num_pending_events_with_selections--;d2.update(""+(this._max_num_pending_events_with_selections-this._num_pending_events_with_selections)+"/"+this._max_num_pending_events_with_selections);if(this._num_pending_events_with_selections===0){d2.hide();if(this._show_share_after_loading_selected){this._show_share_after_loading_selected=false;if(this.num_selected()>0){return bs._share_selected()}}}},_photo_mouseover:function(T){this._last_mouseover=bs.get_timeline().get_photo_for_thumb_elm($(T.target));if(T.shiftKey){return this._highlight_range(this._last_selected,this._last_mouseover)}else{if(this._drag_select.active){return this._highlight_range(this._drag_select.anchor,this._last_mouseover,true)}}},_photo_mouseout:function(T){if(!this._marquee.active){this.clear_highlighted();return this._last_mouseover=null}},_body_mousedown:function(eF){var T,eD,eE;if(bs.in_all_collections_view()||eF.isRightClick()||this._invalid_mouse_target($(eF.target))){return}a3.hide();ej.hide_all();T=(eE=bs.get_timeline())!=null?eE.get_photo_for_thumb_elm($(eF.target)):void 0;if(T!=null){if(this.contains(T)||!el.drag_select_enabled){eD=z.scroll_offsets();this._drag_drop.active=true;this._drag_drop.start_x=eF.clientX+eD.left;this._drag_drop.start_y=eF.clientY+eD.top;this._drag_drop.anchor=$(eF.target);this._drag_drop.single_photo=this.contains(T)?null:T;this._build_drag_status(T);this._update_drag_status_position(eF)}else{this._drag_select.active=true;this._drag_select.anchor=T}}else{eD=z.scroll_offsets();if((eF.clientX+eD.left)>=($(document.body).getWidth()-this.SCROLL_BAR_WIDTH)){return}this._marquee.active=true;this._marquee.start_x=eF.clientX+eD.left;this._marquee.start_y=eF.clientY+eD.top;this._marquee.x_max_boundary=-1;this._marquee.y_max_boundary=-1}return y.start()},_body_mousemove:function(eF){var eD,T,eG,eE;eD=z.scroll_offsets();T=eF.clientX+eD.left;eG=eF.clientY+eD.top;if(this._marquee.active){if(!$("marquee").visible()){if(Math.abs(T-this._marquee.start_x)=this._marquee.x_max_boundary||this._marquee.end_x<=this._marquee.x_min_boundary){this._update_marquee_x_bounds(this._marquee.end_x);eE=true}if(this._marquee.end_y>=this._marquee.y_max_boundary||this._marquee.end_y<=this._marquee.y_min_boundary){this._update_marquee_y_bounds(this._marquee.end_y);eE=true}if(eE){return this._update_marquee_highlight(eF,eG,eD,T)}}},_update_marquee_highlight:function(eN,eE,T,eP){var eL,eM,eJ,eD,eI,eH,eO,eK,eG,eF;this.clear_highlighted();eD=[];eM=bs.get_timeline().grid.photo_col_offsets.length;eK=bs.get_timeline().grid.photo_col_offsets.slice(0,eM-1);for(eL=eI=0,eO=eK.length;eI=eE){eD.push(eL)}}eF=[];for(eL=eH=0,eG=bs.get_timeline().events.length();0<=eG?eHeG;eL=0<=eG?++eH:--eH){eF.push(bs.get_timeline().events.valueAtIndex(eL).marquee_highlight(eN,eN+eP,eD))}return eF},_update_marquee_x_bounds:function(T){var eF,eI,eJ,eH,eE,eG,eD;eI=$(document.body).getWidth();if(Tbs.get_timeline().grid.photo_col_offsets.last()){this._marquee.x_min_boundary=bs.get_timeline().grid.photo_col_offsets.last();return this._marquee.x_max_boundary=eI}else{eG=bs.get_timeline().grid.photo_col_offsets;eD=[];for(eF=eH=0,eE=eG.length;eHT){this._marquee.x_min_boundary=bs.get_timeline().grid.photo_col_offsets[eF-1];this._marquee.x_max_boundary=eJ;break}else{eD.push(void 0)}}return eD}}},_update_marquee_y_bounds:function(eJ){var T,eG,eF,eI,eE,eH,eD;eF=$(document.body).getHeight();if(eJbs.get_timeline().grid.photo_row_offsets.last()){this._marquee.y_min_boundary=bs.get_timeline().grid.photo_row_offsets.last();return this._marquee.y_max_boundary=eF}else{eH=bs.get_timeline().grid.photo_row_offsets;eD=[];for(eG=eI=0,eE=eH.length;eIeJ){this._marquee.y_min_boundary=bs.get_timeline().grid.photo_row_offsets[eG-1];this._marquee.y_max_boundary=T;break}else{eD.push(void 0)}}return eD}}},_build_drag_status:function(eF){var eE,T,eD;T=bs.get_timeline().get_thumb_elm_for_photo(eF);eD=T.down("img.thumb-content").cloneNode(false);$("photos-drag-status").down(".thumb").__date(eD);eE=this._drag_drop.single_photo?[this._drag_drop.single_photo]:this._selected;return $("photos-drag-status").down(".count").__date(cG.file_desc(eE,false,true))},_update_drag_status_position:function(T){return $("photos-drag-status").setStyle({left:(T.pointerX()-z.scroll_offsets().left+this.DRAG_STATUS_OFFSET)+"px",top:(T.pointerY()-z.scroll_offsets().top+this.DRAG_STATUS_OFFSET)+"px"})},_highlight_range:function(eO,eN,eE){var eM,T,eF,eJ,eL,eK,eD,eH,eI,eG;if(eE==null){eE=false}this.clear_highlighted();this._events_highlighting=[];this._last_highlight_from_photo=eO;this._last_highlight_to_photo=eN;eF=bs.get_timeline().index_of_photo(eO);eD=bs.get_timeline().index_of_photo(eN);eM=!eE&&this.contains(eN)&&!this.contains(eO);eG=[];for(eJ=eH=eF;eF<=eD?eH<=eD:eH>=eD;eJ=eF<=eD?++eH:--eH){eK=bs.get_timeline().photo_at_index(eJ);if(eK.status===G.PLACEHOLDER){if(eK.event!==eL){T=eK.event;if(!T.has_loaded_metadata()){T.on_load_all_metadata=this._highlight_range_incremental.bind(this);T.load_metadata();if(eI=T.unique_id,bn.call(this._events_highlighting,eI)<0){this._events_highlighting.push(T.unique_id)}eG.push(eL=T)}else{eG.push(void 0)}}else{eG.push(void 0)}}else{if(this.contains(eK)){if(eM){eG.push(this._dehighlight(eK))}else{eG.push(void 0)}}else{if(!eM){eG.push(this._highlight(eK))}else{eG.push(void 0)}}}}return eG},_highlight_range_incremental:function(T){var eJ,eE,eK,eG,eH,eD,eI,eF;eK=this._last_highlight_from_photo;eI=this._last_highlight_to_photo;if(!((eK!=null)&&(eI!=null))){return}eE=bs.get_timeline().index_of_photo(eK);eD=bs.get_timeline().index_of_photo(eI);for(eG=eF=eE;eE<=eD?eF<=eD:eF>=eD;eG=eE<=eD?++eF:--eF){eH=bs.get_timeline().photo_at_index(eG);if(eH.status!==G.PLACEHOLDER&&!this.contains(eH)&&this._highlighted.indexOf(eH)===-1){this._highlight(eH)}}eJ=this._events_highlighting.indexOf(T.unique_id);if(eJ>=0){this._events_highlighting.splice(eJ,1)}if(this._select_highlighted_waiting){d2.update(""+(this._select_highlighted_waiting-this._events_highlighting.length)+"/"+this._select_highlighted_waiting);if(this._events_highlighting.length===0){return this._select_highlighted()}}},_highlight_list:function(eF){var eE,eG,eD,T;this.clear_highlighted();T=[];for(eG=0,eD=eF.length;eG0){d2.show(d1("Selecting photos..."));this._select_highlighted_waiting=this._events_highlighting.length;return}eH=this._highlighted;for(eI=0,eE=eH.length;eI=0)||(bn.call(eD,"freshbutton-blue")>=0)||(bn.call(eD,"freshbutton-lightblue")>=0)||(bn.call(eD,"freshbutton-blue-on-gray")>=0)||(bn.call(eD,"timeline-elm")>=0)||(eF.up(".no-marquee")!=null)||(eF.up("#context-menu")!=null)||(eF.up(".freshdropdown-menu")!=null)||eF.nodeName==="A"||((eE=eF.tagName.toUpperCase())==="INPUT"||eE==="TEXTAREA"||eE==="SELECT")||ex.shown()||((T=$("modal-progress-content"))!=null?T.visible():void 0)||ay.shown},_check_for_single_selection:function(){if(this._selected.length===1){return $("cu-view").addClassName("single-selection")}else{return $("cu-view").removeClassName("single-selection")}}};var cj,bn=[].indexOf||function(eE){for(var eD=0,T=this.length;eD
    '),_collections:[],_gid_to_collection:{},_url_to_collection:{},_collection_list_item_tmpl:null,_albums_sidebar_tmpl:null,_all_collections_loaded:false,_removed_pre_load:[],_all_albums_scroll_position:0,_num_loading_collections:0,init:function(eD,T){this._collections=eD;this._gid_to_collection=eD.dict_by("gid");this._url_to_collection=eD.dict_by("url");this._collection_list_item_tmpl=eA.tmpl("collection_list_item_tmpl");this._albums_sidebar_tmpl=eA.tmpl("albums_sidebar_tmpl");this._all_collections_loaded=false;this._sidebar_collections_loaded=false;this._num_loading_collections=0;this.refresh_album_views();return this._init_collections()},_init_collections:function(){var T;T=d4.deconstruct_url();if(T.path!=="/photos/all_albums"){return this.load_collections(5)}},load_collections:function(T){if(this._num_loading_collections!==null&&(this._num_loading_collections=0)){eK=new X(eJ,false);eD._collections.push(eK);eD._gid_to_collection[eK.gid]=eK;eD._url_to_collection[eK.url]=eK}}if(T===null||eF.length=5){eD._sidebar_collections_loaded=true}return eD.refresh_album_views()}})(this)})}},reload:function(){this._collections=[];this._gid_to_collection={};this._url_to_collection={};this._all_collections_loaded=false;this.refresh_album_views();return this._init_collections()},listen:function(){$("single-collection-title").observe("click",(function(T){return function(eD){if(!bs.get_current_collection().is_creator){return}T.header_rename();return h.log_interaction(dP.RENAME_ALBUM,cI.CLICK_TITLE)}})(this));$(document.body).on("contextmenu",".albums-list-item",this._albums_list_item_contextmenu.bind(this));$(document.body).on("click",".show-collection-target",this._show_collection_click.bind(this));$(document.body).on("click",".collection-shmodel-target",this._collection_shmodel_click.bind(this));$(document.body).on("click",".add-to-album-target",this._add_to_album_click.bind(this));$(document.body).on("mouseover",".add-to-album-drop-target",this._drop_target_mouseover.bind(this));$(document.body).on("mouseup",".add-to-album-drop-target",this._drop_target_mouseup.bind(this));$(document.body).on("mouseout",".add-to-album-drop-target",this._drop_target_mouseout.bind(this));$(document.body).on("click",".create-album-target",this._create_album_click.bind(this));document.observe(a3.HIDE_EVT,(function(){return $$(".albums-list-item.context-selected").invoke("removeClassName","context-selected")}));Event.observe(window,"scroll",this._window_scroll.bind(this));document.observe(X.CREATE_EVT,this._collection_created.bind(this));document.observe(X.ADD_EVT,this._collection_photos_added.bind(this));document.observe(X.REMOVE_EVT,this._collection_photos_removed.bind(this));document.observe(X.UNDO_REMOVE_EVT,this._collection_undid_remove.bind(this));document.observe(X.RENAME_EVT,this._collection_renamed.bind(this));document.observe(X.DELETE_EVT,this._collection_deleted.bind(this));document.observe(X.SHARE_EVT,this._collection_shared.bind(this));document.observe(X.UNSHARE_EVT,this._collection_unshared.bind(this));return document.observe(X.COVER_CHANGE_EVT,this._collection_cover_changed.bind(this))},render_all_albums_view:function(){var eG,eD,eF,T,eE;if(this._collections.length||!this._all_collections_loaded){$("albums-empty").hide()}else{$("albums-empty").show()}eD=[];eE=this._collections;for(eF=0,T=eE.length;eF0){return $("add-to-album-modal-list").__sert(this.LOADING_SPINNER)}},render_albums_sidebar:function(){var eI,eK,eG,eJ,eH,eF,eD,T,eE;if(!this._sidebar_collections_loaded){return}if(!this._collections.length){$("albums-sidebar").hide();$("main-nav-bottom").show();return}$("main-nav-bottom").hide();$("albums-sidebar").show();eK=this._albums_sidebar_tmpl({collections:this._collections.slice(0,5),_:d1,Sprite:b9,PhotosCollections:cj});if((eH=$("albums-sidebar"))!=null){eH.__date(eK)}if((eF=$("all-albums-sidebar"))!=null){eF.observe("click",bs.show_all_collections)}if((eD=$("all-albums-sidebar"))!=null){eD.observe("mouseup",(function(eL){return function(eM){var eN;if(!el._drag_drop.active){return}if(el._drag_drop.single_photo!=null){eN=[el._drag_drop.single_photo]}else{eN=el.get()}eL.show_add_to_album_modal(eM,eN);return h.log_interaction(dP.ADD_TO_OTHER_ALBUM,cI.DROP_TARGET,{num_photos:el.get().length})}})(this))}if(bs.in_all_collections_view()){return $("all-albums-sidebar").addClassName("selected")}else{if(bs.in_single_collection_view()){T=$$(".sidebar-album");eE=[];for(eG=0,eJ=T.length;eGthis.NUM_PHOTOS_LONG_RUNNING_ADDS;Z.success(d1("Adding to album..."));return eE.add_photos(eG,eF,T,eD)},show_remove_photos_modal:function(eF,eH){var eE,T,eG,eD;eD=cG.categorize_files(eH),T=eD[0],eG=eD[1];if(T&&eG){eE=aT("Remove %(file_count)s item?","Remove %(file_count)s items?",eH.length)}else{if(T){eE=aT("Remove %(file_count)s photo?","Remove %(file_count)s photos?",eH.length)}else{eE=aT("Remove %(file_count)s video?","Remove %(file_count)s videos?",eH.length)}}eE=eE.format({file_count:eH.length});cY.fillVal(cG.file_desc(eH),"collection-remove-files");cY.fillVal(eF.name.escapeHTML(),"collection-remove-name");return ex.show(eE,cY.fromElm("collection-remove-modal"),{action:(function(eI){return function(){var eJ;eH=eH.slice(0);eJ=eH.length>eI.NUM_PHOTOS_LONG_RUNNING_REMOVES;return eF.remove_photos(eH,eJ)}})(this)})},header_rename:function(){if(bi("#single-collection-title-container").hasClass("editing")){return}bi("#single-collection-title-container").addClass("editing");return bs.get_current_collection().rename($("single-collection-title"))},show_delete_modal:function(eD){var T;cY.fillVal(eD.name.escapeHTML(),"collection-delete-name");T=d1("Delete album?");return ex.show(T,cY.fromElm("collection-delete-modal"),{action:function(){if(eD.num_items>this.NUM_PHOTOS_LONG_RUNNING_COLLECTION_DELETES){Z.success(d1("Deleting '%(collection_name)s'...").format({collection_name:eD.name}),100)}return eD["delete"]()}})},show_unshare_modal:function(eD){var T;cY.fillVal(eD.name.escapeHTML(),"collection-unshare-name");T=d1("Unshare album?");return ex.show(T,cY.fromElm("collection-unshare-modal"),{action:function(){return eD.unshare()}})},create:function(eK,eJ,eO,eD){var eF,eG,eE,eH,eM,eN,eL,T,eI;if(eD==null){eD=false}if(eK){Event.extend(eK).preventDefault();eI=$(eK.target);if(eI.hasClassName("inplaceeditor-form")||(eI.up(".inplaceeditor-form")!=null)){return}if(eI.up("#context-menu")){eF=true}else{if(eI.up(".freshdropdown-menu")){eE=true}}}bs.enable_selection();if(!eO){eO=el.get()}eH=(function(){var eR,eQ,eP;eP=[];for(eR=0,eQ=eO.length;eRthis.NUM_PHOTOS_LONG_RUNNING_ADDS;eL=(function(eP){return function(eR){var eU,eS,eQ,eT;eS=JSON.parse(eR.responseText);eU=new X(eS);el.clear();ej.hide_all();a3.hide();ex.hide();bs.disable_selection();eT=d1("Created '%(collection_name)s'");eQ=eU.name.escapeHTML();eT=eT.format({collection_name:"
    "+eQ+""});Z.success(new eA(eT));return eP.flash_sidebar_album(eU.gid)}})(this);eN=function(){if(!eE){ej.hide_all()}if(!eF){a3.hide()}cj.render_albums_sidebar();return bs.disable_selection()};eG=new Ajax.InPlaceEditor(eJ,"/collection_create",{htmlResponse:false,okControl:false,cancelControl:false,highlightColor:"transparent",highlightEndColor:"transparent",clickToEditText:"",cols:11,ajaxClass:Ajax.DBRequest,submitOnBlur:eD,initialText:"",cancelIfSame:true,clickToEdit:false,onCancel:eN,onFailure:function(){},savingText:d1("Creating..."),onLeaveEditMode:bs.disable_selection(),onLeaveHover:function(){},ajaxOptions:{method:"POST",onSuccess:eL,job:eM,job_user:cn.get_viewer().photos_user,progress_text:d1("Creating album...")},callback:function(eP,eR){var eQ;Z.success(d1("Creating album..."));eQ={collection_name:eR,item_counters:JSON.stringify(eH)};if(bs.in_single_collection_view()){eQ.source_collection_gid=bs.get_current_collection().gid}return eQ}});eG.enterEditMode();if(!eD){return eG._controls.editor.observe("blur",eN)}},toggle_more_selected_actions:function(T){if(T){Event.extend(T).preventDefault()}if(!$("more-selected-actions-menu").visible()){return ej.show($("more-selected-actions-menu"),$("more-selected-actions-button"))}},toggle_more_actions:function(T){var eD;if(T){Event.extend(T).preventDefault()}if(!$("more-collection-actions-menu").visible()){if(bs.get_current_collection().share_tkey!=null){$("unshare-album").show()}else{$("unshare-album").hide()}if(bE.msie_version_at_most(10)){eD=bi("#more-collection-actions-menu");if(!eD.parent().is("body")){bi(document.body).append(eD.remove())}}return ej.show($("more-collection-actions-menu"),$("more-collection-actions-button"))}},_collection_created:function(T){var eD;eD=T.memo.collection;if(!eD.is_anonymous){this._collections.unshift(eD)}this._gid_to_collection[eD.gid]=eD;this._url_to_collection[eD.url]=eD;return this.refresh_album_views()},_collection_changed:function(T){this._collections.removeItem(T);this._collections.unshift(T);return this.refresh_album_views()},_collection_photos_added:function(eJ){var eI,eG,eF,eK,eL,eE,T,eD,eM,eH;eI=eJ.memo.collection;eM=eJ.memo.photos;eK=eJ.memo.num_items_added;eE=eJ.memo.num_photos_added;eD=eJ.memo.num_videos_added;if(eJ.memo.promote_collection&&eK>0){this._collection_changed(eI)}else{this.refresh_album_views()}if(eM===el.get()){el.clear()}if(eK<1){eH=cG.categorize_files(eM),eL=eH[0],T=eH[1];if(eL&&T){eF=aT("That item is already in '%(collection_name)s'","Those items are already in '%(collection_name)s'",eM.length)}else{if(eL){eF=aT("That photo is already in '%(collection_name)s'","Those photos are already in '%(collection_name)s'",eM.length)}else{eF=aT("That video is already in '%(collection_name)s'","Those videos are already in '%(collection_name)s'",eM.length)}}}else{if(eE&&eD){eF=aT("Added item to '%(collection_name)s'","Added items to '%(collection_name)s'",eM.length)}else{if(eE){eF=aT("Added photo to '%(collection_name)s'","Added photos to '%(collection_name)s'",eM.length)}else{eF=aT("Added video to '%(collection_name)s'","Added videos to '%(collection_name)s'",eM.length)}}}eG=eI.name.escapeHTML();eF=eF.format({collection_name:""+eG+""});return Z.success(new eA(eF))},_collection_photos_removed:function(eD){var eE,eF,T;eE=eD.memo.collection;eF=eD.memo.photos;T=bs.undo_enabled?eD.memo.undo_changeset:null;bs.get_timeline().remove_photos(eF);this._collection_changed(eE);return Z.success(d1("Removed %(files_desc)s from '%(collection_name)s'").format({files_desc:cG.file_desc(eF),collection_name:eE.name}),null,null,T,(function(){return eE.undo_remove(T)}))},_collection_undid_remove:function(T){var eD;eD=T.memo.collection;bs.get_timeline().restore_removed_photos();cj.refresh_album_views([eD.gid]);return Z.success(d1("Undo complete"))},_collection_renamed:function(eD){var eE,T;eE=eD.memo.collection;if(((T=bs.get_current_collection())!=null?T.gid:void 0)===eE.gid){bi("#single-collection-title").text(bw.em_snippet(eE.name,this.HEADER_COLLECTION_SNIPPET_LENGTH,1));document.title=""+eE.name+" - Dropbox"}this._collection_changed(eE);return Z.success(d1("Renamed '%(collection_name)s'").format({collection_name:eE.name}))},_collection_deleted:function(eD){var eE,T;eE=eD.memo.collection;this._collections.removeItem(eE);if(!this._all_collections_loaded){this._removed_pre_load.push(eE.gid)}this.refresh_album_views();if(((T=bs.get_current_collection())!=null?T.gid:void 0)===eE.gid){bs.show_all_collections()}delete this._gid_to_collection[eE.gid];delete this._url_to_collection[eE.url];return Z.success(d1("Deleted '%(collection_name)s'").format({collection_name:eE.name}))},_collection_shared:function(eD){var eE,T;eE=eD.memo.collection;this._collection_changed(eE);if(((T=bs.get_current_collection())!=null?T.gid:void 0)===eE.gid){bi("#single-collection-share-status").text(d1("Shared"));return bi("#single-collection-share-status").attr("href",eE.shmodel_url)}},_collection_unshared:function(eD){var eE,T;eE=eD.memo.collection;if(((T=bs.get_current_collection())!=null?T.gid:void 0)===eE.gid){bi("#single-collection-share-status").text("")}return Z.success(d1("Unshared '%(collection_name)s'").format({collection_name:eE.name}))},_collection_cover_changed:function(T){var eE,eD;eE=T.memo.collection;this._collection_changed(eE);eD=d1("Changed cover photo for '%(collection_name)s'");eD=eD.format({collection_name:eE.name.escapeHTML()});return Z.success(eD)},_albums_list_item_contextmenu:function(eD,T){a3.show_photo_collection(eD,this.get(T.readAttribute("data-gid")),T);T.removeClassName("album-flash");return T.addClassName("context-selected")},_show_collection_click:function(eE,T){var eD;eD=$(eE.target);if(eD.hasClassName("inplaceeditor-form")||(eD.up(".inplaceeditor-form")!=null)){return}return bs.show_collection(T.readAttribute("data-gid"))},_collection_shmodel_click:function(eD,T){return this.go_to_link(this.get(T.readAttribute("data-gid")))},_add_to_album_click:function(eD,T){if(el._context_selected){this.add_photos(this.get(T.readAttribute("data-gid")),el._context_selected);el._context_selected=null}else{this.add_photos(this.get(T.readAttribute("data-gid")),el.get())}delete ex.onHide;ex.hide();return h.log_interaction(dP.ADD_TO_RECENT_ALBUM,cI.SAH,{num_photos:el.get().length})},_drop_target_mouseover:function(eD,T){if(el._drag_drop.active){T.addClassName("hovered");return $("photos-drag-status").addClassName("hovering")}},_drop_target_mouseout:function(eD,T){if(el._drag_drop.active){T.removeClassName("hovered");return $("photos-drag-status").removeClassName("hovering")}},_drop_target_mouseup:function(eD,T){var eE;if(T.hasClassName("hovered")){T.removeClassName("hovered");$("photos-drag-status").removeClassName("hovering");if(el._drag_drop.single_photo!=null){eE=[el._drag_drop.single_photo]}else{eE=el.get()}if(T.readAttribute("data-gid")!=null){this.add_photos(this.get(T.readAttribute("data-gid")),eE,false)}if(T.identify()==="add-to-album-sidebar-new"){return h.log_interaction(dP.ADD_TO_NEW_ALBUM,cI.DROP_TARGET,{num_photos:el.get().length})}else{if(T.identify()==="all-albums-sidebar"){return h.log_interaction(dP.ADD_TO_OTHER_ALBUM,cI.DROP_TARGET,{num_photos:el.get().length})}else{return h.log_interaction(dP.ADD_TO_RECENT_ALBUM,cI.DROP_TARGET,{num_photos:el.get().length})}}}},_create_album_click:function(T,eD){if(el._context_selected){this.create(T,eD.down(".collection-name"),el._context_selected,true);return el._context_selected=null}else{return this.create(T,eD.down(".collection-name"),el.get(),true)}},_window_scroll:function(){if(bs.in_all_collections_view()){return this._all_albums_scroll_position=z.scroll_offsets().top}},get_all:function(){return this._collections},get_from_url:function(T){return this._url_to_collection[T]},get:function(T){return this._gid_to_collection[T]},go_to_link:function(T){return window.open(T.shmodel_url,"_blank")},restore_all_albums_scroll_position:function(){if(this._all_albums_scroll_position!=null){return window.scrollTo(0,this._all_albums_scroll_position)}else{return window.scrollTo(0,0)}},two_line_snippet:function(eE,eD){var T,eG,eF;T=bw.em_snippet(eE,eD,1);eG=T.lastIndexOf(" ");if(eG===-1){return T}else{T=T.slice(0,+eG+1||9000000000);eF=bw.em_snippet(eE.slice(eG+1),eD,1);return T+eF}},get_default_album_name:function(){var T;T=d1("Untitled album");return this.increment_collection_name_until_valid(T)},collection_name_in_use:function(eD){var eG,eF,T,eE;eE=this.get_all();for(eF=0,T=eE.length;eF0,"Invalid THUMBS_PER_ROW: "+this.THUMBS_PER_ROW);this.top_offset=eF;this.refresh_row_offsets();this.left_offset=eE;this.grid.photo_col_offsets=[];eD=[];for(eG=eI=0,eH=this.THUMBS_PER_ROW;0<=eH?eI<=eH:eI>=eH;eG=0<=eH?++eI:--eI){eD.push(this.grid.photo_col_offsets.push(this.left_offset+this.THUMB_SIZE*eG))}return eD};T.prototype.refresh_row_offsets=function(){var eK,eH,eF,eJ,eG,eE,eI,eD;this.grid.photo_row_offsets=[];eK=this.top_offset;eI=this.events.getValues();for(eJ=0,eE=eI.length;eJeD;eF=0<=eD?++eG:--eG){eK+=this.THUMB_SIZE;this.grid.photo_row_offsets.push(eK)}}};T.prototype._render_empty_grid=function(){var eE,eH,eG,eD,eF;this.container.__date();eF=this.events.getValues();for(eG=0,eD=eF.length;eG1)){eE.add_html_elements_to(this.container)}}if(this.has_missing_timestamp_bucket()&&this.events.length()>1){eH=bi('
    ').addClass("freshbutton-silver").text(d1("Show photos with missing dates"));return bi(this.container).append(eH)}};T.prototype._render_viewport=function(eG){var eE,eP,eH,eO,eR,eM,eL,eJ,eQ,eF,eD,eN,eK,eI;if(eG==null){eG=false}this.start_render_scroll_time=-1;eR=this.get_viewport_info();eP=[];eN=this.events.getValues();for(eM=0,eQ=eN.length;eM=($(document.body).getWidth()-this.TIMELINE_NAV_MOUSE_THRESHOLD)){return $("timeline-nav").addClassName("mouse-active")}else{return $("timeline-nav").removeClassName("mouse-active")}};T.prototype._timeline_elm_click=function(eG,eF){var eD,eE;eE=eF.readAttribute("data-event-id");if(eE){eD=this.events.valueFromKey(eE)}this._update_timeline_position(eD);if(eD.is_missing_timestamp_bucket()){h.log_interaction(bZ.MISSING_TIMESTAMPS_VIEW);if(!this.is_missing_timestamp_bucket_shown()){this._show_missing_timestamp_bucket(false)}}return this._scroll_to_event(eD)};T.prototype._scroll_to_event=function(eF,eD){var eE;if(eD==null){eD=false}eE=eF.top_offset-this.top_offset;if(eF&&(z.scroll_offsets().top!==eE)){if(eD){return bi("html, body").animate({scrollTop:eE},200)}else{this._skip_scroll_update=true;return window.scrollTo(z.scroll_offsets().left,eE)}}};T.prototype._window_scroll=function(){var eG,eF,eJ,eI,eE,eH,eD;eF=bH.time();a8.clear_all_pending_batches();if(this.start_render_scroll_time===-1||eF-this.start_render_scroll_timeeN){break}eJ=eD}}if((eJ==null)||eJ===this.current_event){return}$$(".timeline-elm.current").invoke("removeClassName","current");eF=$$(".timeline-elm");for(eG=0,eE=eF.length;eGeO){eG=eO;eN=eP.removed_photos_and_indexes[0].photo}}this.event_remove_info=[];this.init_timeline_nav();if(eN!=null){this.scroll_to_photo_with_key(eN.uniqueness_key)}this.refresh_row_offsets();this._load_visible_photos();return $(document).fire(T.PHOTOS_ADDED_EVT,this)};T.prototype.get_photos=function(){var eE,eH,eG,eD,eF;eH=[];eF=this.events.getValues();for(eG=0,eD=eF.length;eGeF){return eG.photos[eF-eD]}else{eD+=eG.photos.length}}return null};T.prototype.get_thumb_elm_for_photo=function(eD){return $(eD.uniqueness_key)};T.prototype.get_photo_for_thumb_elm=function(eD){if(!eD.hasClassName("cu-thumb")){eD=eD.up(".cu-thumb")}if(eD){return this.key_to_photo[eD.identify()]}else{return null}};T.prototype.get_viewport_info=function(){var eD,eE;if(this.scroll_container!=null){eE=this.scroll_container.scrollTop;eD=this.scroll_container.getHeight()}else{eE=z.scroll_offsets().top;eD=z.viewport_dimensions().height}return{top:eE,height:eD,bottom:eE+eD}};T.prototype.scroll_to_photo_with_key=function(eE){var eI,eF,eD,eH,eG;z.scroll_unlock_document();eI=$(eE);if(eI!=null?eI.visible():void 0){dz.scroll_to_thumb(eI)}else{eD=this.key_to_photo[eE];eF=eD.event;if(eD.event!=null){eH=Math.floor(eF.photos.indexOf(eD)/this.THUMBS_PER_ROW);eG=this.get_viewport_info().height;z.scroll_to(0,eF.top_offset+this.HEADER_HEIGHT+eH*this.THUMB_SIZE-eG/2)}}return this._load_visible_photos()};T.prototype.restore_scroll_position=function(){z.scroll_unlock_document();if(this.last_scroll_position!=null){window.scrollTo(0,this.last_scroll_position)}else{window.scrollTo(0,0)}if(Prototype.Browser.IE&&Prototype.Browser.IEV<9){return this._load_visible_photos()}};T.prototype.visible_thumbs_loaded=function(){var eE,eG,eD,eF;eF=this.events.getValues();for(eG=0,eD=eF.length;eG0};T.prototype._show_missing_timestamp_bucket=function(eD,eG){var eF,eE;if(eD==null){eD=true}if(eG==null){eG=false}if(!(this.has_missing_timestamp_bucket()&&!this.is_missing_timestamp_bucket_shown())){return}eE=this.events.getValues();eF=eE[eE.length-1];bi("#show-missing-timestamps-button").hide();eF.add_html_elements_to(this.container);if(!eG){if(this.opts.uses_timeline_nav){$("timeline-nav").addClassName("mouse-active")}this._scroll_to_event(eF,eD);this._render_viewport()}return this.init_timeline_nav()};return T})();var cJ;cJ=B.PhotoEvent=(function(){T.EVENT_MISCOUNT_EVT="db:photoevent:miscount";T.PHOTOS_LOADED_EVT="db:photoevent:photos_loaded";T.prototype.MONTH_PREFIX="m_";T.prototype.COLLECTION_PREFIX="c_";T.prototype.EVENT_PREFIX="e_";T.prototype.MISSING_TIMESTAMP_PREFIX="a_";T.prototype.NUM_LIGHTBOX_PHOTOS_TO_PRELOAD=5;T.prototype.MAX_PHOTOS_PER_METADATA_REQUEST=500;T.timeline;T.unique_id;T.name;T.init_num_photos;T.photos;T.header_html;T.placeholder_html;T.top_offset;T.loading_metadata;T.cursor;T.num_photos_loaded;T.prototype.LOADING_ORDER_NOT_DECIDED=-1;T.prototype.LOADING_ORDER_TOP_DOWN=0;T.prototype.LOADING_ORDER_BOTTOM_UP=1;T.loading_order;T.num_photos_to_load;T.on_load_all_metadata;T.init_sel_items;T.scroll_to_first_sel;T.num_to_select;T.logged_thumbs_arrived;T.timing_metadata_received;T.timing_stopped_scrolling_on_event;T.scroll_count;function T(eL,eI,eE,eJ,eD,eH){var eG,eM,eF,eK;this.timeline=eL;this.unique_id=eI;this.name=eE;this.init_num_photos=eJ;this.photos=(function(){var eO,eN;eN=[];for(eG=eO=0;0<=eJ?eOeJ;eG=0<=eJ?++eO:--eO){eN.push(new G(this))}return eN}).call(this);this.init_sel_items={};for(eF=0,eK=eD.length;eF"+eJ+"")}eE=this.get_content_height();eF=this.photos.length%this.timeline.THUMBS_PER_ROW;eH=eF===0?0:(this.timeline.THUMBS_PER_ROW-eF)*this.timeline.THUMB_SIZE;return this.placeholder_html=new eA('
    \n
    \n
    \n
    \n
    ')};T.prototype.add_html_elements_to=function(eE){var eD;if(this.is_event()){eD=new Element("div",{"class":"photo-event"});eD.__sert(this.header_html);eD.__sert(this.placeholder_html);return eE.__sert(eD)}else{eE.__sert(this.header_html);return eE.__sert(this.placeholder_html)}};T.prototype.remove=function(){$("h-"+this.unique_id).hide();$("p-"+this.unique_id).hide();return this.timeline.events.remove(this.unique_id)};T.prototype.restore=function(){$("h-"+this.unique_id).show();return $("p-"+this.unique_id).show()};T.prototype.add_to_timeline_nav=function(eK){var eD,eI,eL,eE,eM,eH,eG,eJ,eF;if(eK==null){eK=false}if(!(this.is_month()||this.is_event()||this.is_missing_timestamp_bucket())){return}eF=this.timeline.get_viewport_info().height;eM=this.timeline.TIMELINE_NAV_ELM_HEIGHT;eH=$(document.body).getHeight();eG=this.top_offset/eH*100;if(this.is_event()){eE=this.name}else{if(this.is_missing_timestamp_bucket()){eE=d1("Missing dates")}else{eE=bH.month_abbr_with_year(this.get_month()-1,this.get_year())}}eL=false;for(eJ in this.timeline.grid.side_nav){eD=Math.abs(this.timeline.events.valueFromKey(eJ).top_offset-this.top_offset);if(eD/eH*eF");eI.addClass("timeline-elm");eI.attr({"data-event-id":this.unique_id.toString(),id:"timeline-nav-"+this.unique_id});eI.css("top",""+eG+"%");eI.text(eE);bi("#timeline-nav").append(eI)}return this.timeline.grid.side_nav[this.unique_id]=eG}else{if(eI.length){return eI.remove()}}};T.prototype.marquee_highlight=function(eD,eK,eH){var eF,eL,eE,eM,eO,eG,eJ,eI,eN;if(this.top_offset>eK||this.top_offset+this.get_height()this.top_offset+this.get_height()){eD-=this.top_offset;eO=Math.ceil(this.photos.length/this.timeline.THUMBS_PER_ROW);if(eD=eO;eM=eG<=eO?++eJ:--eJ){for(eI=0,eN=eH.length;eI=G.LOADED){eE.status=G.LOADED;this.num_photos_loaded++;this.num_photos_to_load=Math.max(this.num_photos_to_load,this.num_photos_loaded)}}return this._num_photos_changed()};T.prototype.remove_photos=function(eL){var eI,eD,eH,eJ,eE,eF,eK,eG;eI=this.timeline.events.indexOfKey(this.unique_id);eE=[];for(eF=0,eK=eL.length;eF-1,"Photo not found in the photos array!");this.photos.splice(eH,1);if(eD.status>=G.LOADED){this.num_photos_loaded--;if((eG=$(eD.uniqueness_key))!=null){eG.remove()}eD.status=G.LOADED}el._remove(eD);eE.push({photo:eD,index:eH})}this._num_photos_changed();eJ={removed_photos_and_indexes:eE};if(this.photos.length===0){eJ.removed_event_index=eI}return eJ};T.prototype._num_photos_changed=function(){if(this.photos.length===0){return this.remove()}else{return this._update_placeholder_container()}};T.prototype.update_placeholders=function(){if($("p-"+this.unique_id)!=null){this._update_placeholder_container();$("p-top-"+this.unique_id).setStyle({height:""+(this.get_content_height())+"px"});return $("p-bottom-"+this.unique_id).setStyle({height:"0px"})}else{return this._generate_container_html()}};T.prototype._update_placeholder_container=function(){var eE,eD;$("p-"+this.unique_id).setStyle({height:""+(this.get_content_height())+"px"});eD=this.photos.length%this.timeline.THUMBS_PER_ROW;eE=eD!==0?(this.timeline.THUMBS_PER_ROW-eD)*this.timeline.THUMB_SIZE:0;return $("p-cover-"+this.unique_id).setStyle({width:""+eE+"px"})};T.prototype.load_metadata=function(eK){var eF,eE,eJ,eD,eH,eI,eG;eD=0;if((!this._is_valid_photo_index(eK))||(this.num_to_select>0)){if(this.loading_order===this.LOADING_ORDER_NOT_DECIDED){this.loading_order=this.LOADING_ORDER_TOP_DOWN}eD=this.photos.length}else{if(this.loading_order===this.LOADING_ORDER_NOT_DECIDED){this.loading_order=eK*2<=this.photos.length?this.LOADING_ORDER_TOP_DOWN:this.LOADING_ORDER_BOTTOM_UP}eD=this._is_loading_from_bottom()?this.photos.length-eK:eK+1}this.num_photos_to_load=Math.max(this.num_photos_to_load,eD);if(this.has_loaded_metadata()||(this.num_photos_loaded>=this.num_photos_to_load)){return}if(this.loading_metadata){return}if(this.load_cached_metadata()){return}this.loading_metadata=true;eH={show_hidden:bs.show_hidden};if(this.cursor!=null){eH.cursor=this.cursor}if(this._is_loading_from_bottom()){eH.chron_order=true}eH.limit=Math.max(this.num_photos_to_load-this.num_photos_loaded,0);if(eH.limit>this.MAX_PHOTOS_PER_METADATA_REQUEST){eH.limit=this.MAX_PHOTOS_PER_METADATA_REQUEST}if(this.is_event()){eI=this.unique_id.split("_");eF=eI[2];eE=eI[1];eH.filters=JSON.stringify({date_begin:eF,date_end:eE},{event_id:this.unique_id})}else{if(this.is_missing_timestamp_bucket()){eH.filters=JSON.stringify({other:true})}else{if(this.is_month()){eG=this.get_year();eJ=this.get_month();eF=dz.to_iso8601_date(new Date(eG,eJ-1,1,0,0,0,0),false,true);eE=dz.to_iso8601_date(new Date(eG,eJ,1,0,0,0),false,true);eH.filters=JSON.stringify({date_begin:eF,date_end:eE},{year:eG,month:eJ})}else{if(this.is_collection()){eH.filters=JSON.stringify({collection_gid:this.get_collection_gid()})}else{cm(false,"invalid photo event id: "+this.unique_id)}}}}return new Ajax.DBRequest("/photos_event_metadata",{parameters:eH,allow_retries:true,onSuccess:(function(eL){return function(eM){var eN;eN=JSON.parse(eM.responseText);eL.timing_metadata_received=bH.time();eL.cursor=eN.cursor;return eL._load_metadata_callback(eN.photos,eN.key_to_duplicates,(eN.more!=null)&&eN.more)}})(this)})};T.prototype.load_metadata_range=function(eE,eD){if(!(this._is_valid_photo_index(eE)&&this._is_valid_photo_index(eD))){this.load_metadata();return}if(this.loading_order===this.LOADING_ORDER_NOT_DECIDED){this.loading_order=eE*2<=this.photos.length?this.LOADING_ORDER_TOP_DOWN:this.LOADING_ORDER_BOTTOM_UP}if(this._is_loading_from_bottom()){return this.load_metadata(eE)}else{return this.load_metadata(eD)}};T.prototype.load_cached_metadata=function(){var eD,eE;if(this.loading_metadata||this._is_loading_from_bottom()||this.num_photos_loaded>0||(((eE=bs.event_metadata_cache)!=null?eE[this.unique_id]:void 0)==null)){return false}eD=bs.event_metadata_cache[this.unique_id];this.cursor=eD.cursor;this._load_metadata_callback(eD.photos,eD.key_to_duplicates,eD.more);return true};T.prototype._load_metadata_callback=function(eP,eI,eJ){var eO,eK,eU,eL,eV,eF,eM,eS,eH,eQ,eG,eN,eE,eD,eR,eT;eL=[];eH=[];eN=false;for(eO=eE=0,eR=eP.length;eEthis.num_photos_loaded){eS=this._is_loading_from_bottom()?this.photos.length-this.num_photos_to_load:this.num_photos_to_load-1;return this.load_metadata(eS)}};T.prototype._fix_photo_miscount=function(){var eF,eE,eD;eF=Math.ceil(this.init_num_photos/this.timeline.THUMBS_PER_ROW);eE=this.get_num_rows()-eF;if(typeof h!=="undefined"&&h!==null){h.log("event_miscount",null,null,null,{event_id:this.unique_id,false_count:this.init_num_photos,true_count:this.photos.length,count_delta:this.photos.length-this.init_num_photos})}eD=z.scroll_offsets().top;if(this.top_offset+this.get_height()=eI;eD=eJ<=eI?++eH:--eH){eE=this.photos[eD];if((eE==null)||!(eE.status>=G.RENDERED)){return false}}return true};T.prototype._is_loaded=function(eD){var eE,eF;if(this._is_loading_from_bottom()){eF=this.photos.length-this.num_photos_loaded;eE=this.photos.length-1}else{eF=0;eE=this.num_photos_loaded-1}return(eF<=eD&&eD<=eE)};T.prototype._is_loading_from_bottom=function(){return this.loading_order===this.LOADING_ORDER_BOTTOM_UP};T.prototype._is_valid_photo_index=function(eD){return(eD!=null)&&(eD>=0)&&(eD<=this.photos.length-1)};T.prototype.update_photo_divs=function(){var eF,eE,eU,eT,eY,e1,eV,eQ,eK,e2,eS,eZ,eO,eL,eI,eG,e3,e4,eD,e0,eR,eP,eN,eJ,eH,eM,eX,eW;if(!this.num_photos_loaded){return}eZ=this.timeline.get_viewport_info();if(this.hide_photos_if_not_in_current_viewport(eZ)){return}e0=this.get_photo_range_to_render(eZ),eU=e0[0],eT=e0[1];cm((eU!=null)&&(eT!=null),"This line is after @hide_photos_if_not_in_ current_viewport, so first_photo_to_render and last_photo_to_render shouldn't be null.");if(!this.has_loaded_metadata()&&((!this._is_loaded(eU))||(!this._is_loaded(eT)))){this.load_metadata_range(eU,eT);if(this._is_loading_from_bottom()){eU=Math.max(eU,this.photos.length-this.num_photos_loaded)}else{eT=Math.min(eT,this.num_photos_loaded-1)}if(eU>eT){return}}e1=Math.floor(eU/this.timeline.THUMBS_PER_ROW);eS=e1*this.timeline.THUMB_SIZE;$("p-top-"+this.unique_id).setStyle({height:eS+"px"});eY=Math.floor((this.photos.length-1)/this.timeline.THUMBS_PER_ROW)-Math.floor(eT/this.timeline.THUMBS_PER_ROW);eE=eY*this.timeline.THUMB_SIZE;$("p-bottom-"+this.unique_id).setStyle({height:eE+"px"});this._hide_photos((function(){eM=[];for(var e5=0;0<=eU?e5eU;0<=eU?e5++:e5--){eM.push(e5)}return eM}).apply(this));this._hide_photos((function(){eX=[];for(var e5=eR=eT+1,e6=this.photos.length;eR<=e6?e5e6;eR<=e6?e5++:e5--){eX.push(e5)}return eX}).apply(this));this._show_photos((function(){eW=[];for(var e5=eU;eU<=eT?e5<=eT:e5>=eT;eU<=eT?e5++:e5--){eW.push(e5)}return eW}).apply(this));eN=el.get();for(eG=0,e3=eN.length;eG=G.RENDERED){e2=$(eQ.uniqueness_key);if((e2!=null?e2.down("img"):void 0)!=null){eF.push(e2.down("img"))}}}eV=function(e5){return e5.up(".cu-thumb").addClassName("thumb-loaded")};return a8.batch_load_thumbs(eF,this.timeline.THUMBS_BATCH_SIZE,eV,this.log_thumb_load.bind(this))};T.prototype._hide_photos=function(eH){var eF,eG,eE,eD;eD=[];for(eG=0,eE=eH.length;eG=0;eG=eI<=0?++eJ:--eJ){eK=this.photos[eG];if((eK!=null)&&eK.status>=G.RENDERED){eH=$(eK.uniqueness_key);cm(eH!=null,"photo "+eG+" was marked as rendered, but its thumb elm doesn't exist");eE=eH;break}}}return[eE,eF.thumb_html]}};T.prototype.in_y_range=function(eE,eD){return !(this.top_offset+this.timeline.HEADER_HEIGHT>eD||this.top_offset+this.get_height()eD;eE=eH<=eD?++eI:--eI){this._hide_photo(eE)}}else{for(eE=eF=0,eJ=this.num_photos_loaded;0<=eJ?eFeJ;eE=0<=eJ?++eF:--eF){this._hide_photo(eE)}}$("p-top-"+this.unique_id).setStyle({height:this.get_content_height()+"px"});$("p-bottom-"+this.unique_id).setStyle({height:"0px"});return true}return false};T.prototype._blur_range=function(eG,eD,eI){var eF,eE,eH;if(eI==null){eI=this.timeline.get_viewport_info()}eH=c4.get();if(eH>=0){eE=this.timeline.VIEWPORT_SCALE_OTHER_DIRECTION;eF=this.timeline.VIEWPORT_SCALE_SCROLL_DIRECTION}else{if(eH<0){eE=this.timeline.VIEWPORT_SCALE_SCROLL_DIRECTION;eF=this.timeline.VIEWPORT_SCALE_OTHER_DIRECTION}}eG-=eE*eI.height;eD+=eF*eI.height;return[eG,eD]};T.prototype.get_photo_range_to_render=function(eL,eF){var eJ,eE,eI,eK,eH,eD,eG;if(eF==null){eF=true}eD=eL.top;eH=eL.bottom;if(eF){eG=this._blur_range(eD,eH,eL),eD=eG[0],eH=eG[1]}if(!this.in_y_range(eD,eH)){return[null,null]}eK=Math.floor((eD-this.top_offset-this.timeline.HEADER_HEIGHT)/this.timeline.THUMB_SIZE);eJ=Math.floor((eH-this.top_offset-this.timeline.HEADER_HEIGHT)/this.timeline.THUMB_SIZE);eE=Math.min(this.photos.length-1,eK*this.timeline.THUMBS_PER_ROW);eI=Math.min(this.photos.length-1,(eJ+1)*this.timeline.THUMBS_PER_ROW-1);cm(!isNaN(eI),"Last photo to render should not be NaN. "+("viewport_data.bottom="+eL.bottom+" ")+("viewport_data.height="+eL.height+" ")+("photos.length="+this.photos.length+" ")+("top_offset="+this.top_offset+" ")+("bottom_row_to_render="+eJ+" "),true,["photo_event_nan_limit"]);return[Math.max(0,eE),eI]};T.prototype.get_photo_range_to_render_with_blur=function(eG){var eE,eJ,eF,eI,eH,eD;eH=this.get_photo_range_to_render(eG,true),eJ=eH[0],eI=eH[1];eD=this.get_photo_range_to_render(eG,false),eE=eD[0],eF=eD[1];return[eJ,eE,eF,eI]};T.prototype.get_thumb_indexes_to_load=function(eQ){var eX,eN,eL,eK,eU,eW,eT,eV,eR,eH,eF,eE,eD,eS,eJ,eI,eG,eP,eO,eM;eS=this.get_photo_range_to_render_with_blur(eQ),eN=eS[0],eX=eS[1],eL=eS[2],eK=eS[3];if(eX==null){eU=(function(){eG=[];for(var eY=eN;eN<=eK?eY<=eK:eY>=eK;eN<=eK?eY++:eY--){eG.push(eY)}return eG}).apply(this);if(this.top_offset>eQ.bottom){return eU}else{return eU.reverse()}}eV=(function(){eP=[];for(var eY=eX;eX<=eL?eY<=eL:eY>=eL;eX<=eL?eY++:eY--){eP.push(eY)}return eP}).apply(this);eW=[];eT=[];if(eN=eN;eJ<=eN?eY++:eY--){eO.push(eY)}return eO}).apply(this)}if(eK>eL){eT=(function(){eM=[];for(var eY=eI=eL+1;eI<=eK?eY<=eK:eY>=eK;eI<=eK?eY++:eY--){eM.push(eY)}return eM}).apply(this)}eR=c4.get();if(eR>=0){return eV.concat(eT).concat(eW)}else{return eV.concat(eW).concat(eT)}};T.prototype.log_thumb_load=function(eE,eF){var eH,eD,eG;if(!this.timeline.opts.log_thumb_loading){return}if(this.scroll_count===bs.scroll_count&&!this.logged_thumbs_arrived){if((eE+1)%this.timeline.THUMBS_PER_ROW===0||eE+1===eF){if(this.visible_thumbs_loaded()){eD=this.timeline.get_viewport_info();eH=this.timeline.events.indexOfKey(this.unique_id)===(this.timeline.events.length()-1);if((this.top_offset0){this.fontSize=parseFloat(eM);this.fontSizeType=eR}}this.factor=(this.options.scaleTo-this.options.scaleFrom)/100;if(this.options.scaleMode==="box"){this.dims={height:this.element.offsetHeight,width:this.element.offsetWidth}}if(/^content/.test(this.options.scaleMode)){this.dims={height:this.element.scrollHeight,width:this.element.scrollWidth}}if(!this.dims){this.dims={height:this.options.scaleMode.originalHeight,width:this.options.scaleMode.originalWidth}}this.full_height=this.dims.height;this.full_width=this.dims.width;eQ=["border%sWidth","margin%s","padding%s"];for(eE=0,e2=eQ.length;eE2)){eE=Math.round(eE)}eI.push(eE)}if(this._supports_alpha){return this.element.setStyle({backgroundColor:"rgba("+(eI.join(", "))+")"})}else{return this.element.setStyle({backgroundColor:"rgb("+(eI.slice(0,3).join(", "))+")"})}}});dI=function(eE){var eF,eI,eH,eG,T,eD,eJ,eL,eK;eD=/^rgb\((\d{1,3}), ?(\d{1,3}), ?(\d{1,3})\)$/;T=/^rgba\((\d{1,3}), ?(\d{1,3}), ?(\d{1,3}), ?(\d+?\.?\d*)\)$/;eG=/^#([0-9A-F])([0-9A-F])([0-9A-F])$/i;eI=/^#([0-9A-F])([0-9A-F])([0-9A-F])([0-9A-F])$/i;eH=/^#([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])$/i;eF=/^#([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])$/i;if(eL=eE.match(eD)){eK=(function(){var eP,eN,eO,eM;eO=eL.slice(1);eM=[];for(eP=0,eN=eO.length;eP1){eK[eJ-1]=eK[eJ-1]/255}}return eK};var ar;ar=B.ClientDownload=(function(){function T(){}T.prototype.show_download_modal=function(){return new Ajax.DBRequest("/download_modal_view",{onSuccess:function(eD){var eE;eE=bi(" input").prop("checked",true)}})(this),contents:bi("#twofactor-delivery-choice"),onSubmit:(function(eN){return function(eO,eP,eQ){eO.vars.sms=!!(bi("#use-sms")[0].getValue()==="on");if(!eO.vars.sms){return eN.fetch_offline_key(eO,eP)}else{return eP.next()}}})(this)};eH={name:"enter_phone_number",enter:(function(eN){return function(eP){var eQ,eO;eN.hide_error();eN._is_offline_setup=false;eN._phone_number=null;eQ=$("twofactor-enter-phone");eO=eN.fill_phone_number_for_edit(eQ,bi("#twofactor-row-"+eN._user.role+" #twofactor-sms-number").text());return eO.focus()}})(this),contents:bi("#twofactor-enter-phone"),onSubmit:this.submit_phone_number.bind(this)};eJ={name:"offline_setup",enter:(function(eN){return function(eO){eN.hide_error();eN._is_offline_setup=true;return eN._phone_number=null}})(this),contents:bi("#twofactor-offline-setup")};eE={name:"confirm_phone",enter:(function(eN){return function(eO){var eP;eN._invalid_code_count=0;if(eN._is_offline_setup){$("twofactor-enable-confirm").addClassName("offline")}else{eP=eO.vars.phone_number;cm(eP,"expected a display_phone argument");$("phone-number-placeholder").__date(eP);$("twofactor-enable-confirm").removeClassName("offline")}eN.hide_error();$("phone-code").clear().focus();return eN.fill_delivery_choice(eP)}})(this),onSubmit:this.submit_phone_code.bind(this),contents:bi("#twofactor-enable-confirm")};eM={name:"backup_phone",enter:this.enter_backup_phone_number_shown.bind(this,"back_next"),onSubmit:this.submit_backup_phone_number.bind(this,false,"save_none"),contents:bi("#twofactor-enter-backup-phone")};eG=new e(this.DEFAULT_ENABLE_TITLE,this.LOCK_ICON,[{name:"enable_start",enter:this.hide_error.bind(this),contents:bi("#twofactor-start")},{name:"password",enter:this.enter_password_shown.bind(this),onSubmit:this.submit_password.bind(this,this.ENABLE_CONFIRM_HREF,(function(eN){return function(eO,eP){eN.successfully_enabled=false;eO.vars.mode="ENABLE";eO.vars.passed_password=true;return eP.next()}})(this)),contents:bi("#twofactor-enter-password")},eK,eH,eJ,eE,eM,{name:"recovery_code",enter:(function(eN){return function(){eN.fill_backup_phone(eN._backup_phone);return eN.hide_error.bind(eN)}})(this),onSubmit:this.submit_finish.bind(this),contents:bi("#twofactor-recovery")},{name:"congrats_done",enter:this.after_enabled.bind(this),title:d1("Congrats! You've enabled two-step verification!"),contents:bi("#twofactor-done")}],{enable_start:function(){return"password"},password:function(){return"delivery_choice"},delivery_choice:((function(eN){return function(eO){if(eO.vars.sms){return"enter_phone_number"}else{return"offline_setup"}}})(this)),enter_phone_number:function(){return"confirm_phone"},confirm_phone:function(){return"backup_phone"},backup_phone:function(){return"recovery_code"},recovery_code:function(){return"congrats_done"},congrats_done:function(){return"__exit__"},offline_setup:function(){return"confirm_phone"}},{enable_start:function(){return null},password:function(){return null},delivery_choice:function(){return null},enter_phone_number:function(){return"delivery_choice"},offline_setup:function(){return"delivery_choice"},confirm_phone:function(eN){if(eN.vars.sms){return"enter_phone_number"}else{return"offline_setup"}},backup_phone:function(){return"delivery_choice"},recovery_code:function(){return"backup_phone"},congrats_done:function(){return null}},"enable_start",function(){return this.vars.passed_password=false});eG.addExitListener((function(eN){return function(eO){if(eG.vars.passed_password&&eO&&!eN.successfully_enabled){return Z.error(d1("Two-step verification is not enabled"))}}})(this));eF=new e(this.DEFAULT_EDIT_TITLE,this.LOCK_ICON,[{name:"password",enter:this.enter_password_shown.bind(this),onSubmit:this.submit_password.bind(this,this.EDIT_CONFIRM_HREF,(function(eN){return function(eP,eQ){var eO;eN.successfully_enabled=false;bi(".delivery-choice").removeClass("selected");eO=!bi("#twofactor-row").hasClass("with-sms");bi(eO?"#app-choice":"#sms-choice").addClass("selected");bi("#twofactor-recovery").addClass("edit-mode");eP.vars.passed_password=true;return eQ.next()}})(this)),contents:bi("#twofactor-enter-password")},eK,eH,eJ,eE,{name:"backup_phone",enter:this.enter_backup_phone_number_shown.bind(this,"back_save"),onSubmit:this.submit_backup_phone_number.bind(this,false,"save_everything"),contents:bi("#twofactor-enter-backup-phone")}],{password:function(){return"delivery_choice"},delivery_choice:((function(eN){return function(eO){if(eO.vars.sms){return"enter_phone_number"}else{return"offline_setup"}}})(this)),enter_phone_number:function(){return"confirm_phone"},confirm_phone:function(){return"backup_phone"},backup_phone:function(){return"__exit__"},offline_setup:function(){return"confirm_phone"}},{password:function(){return null},delivery_choice:function(){return null},enter_phone_number:function(){return"delivery_choice"},offline_setup:function(){return"delivery_choice"},confirm_phone:function(eN){if(eN.vars.sms){return"enter_phone_number"}else{return"offline_setup"}},backup_phone:function(){return"delivery_choice"}},"password",function(){return this.vars.passed_password=false});eF.addExitListener((function(eN){return function(eO){if(eF.vars.passed_password&&eO&&!eN.successfully_enabled){return Z.error(d1("Two-step verification has not been changed"))}}})(this));T=new e(this.DEFAULT_DISABLE_TITLE,this.LOCK_ICON,[{name:"password",enter:this.enter_password_shown.bind(this),onSubmit:this.submit_password.bind(this,this.DISABLE_CONFIRM_HREF,(function(eN){return function(eO,eP){eN.successfully_disabled=false;eO.vars.passed_password=true;return eP.next()}})(this)),contents:bi("#twofactor-enter-password")},{name:"disable",enter:this.hide_error.bind(this),contents:bi("#twofactor-disable"),onSubmit:this.disable_submit.bind(this)}],{password:function(){return"disable"},disable:function(){return"__exit__"}},{password:function(){return null},disable:function(){return"__cancel__"}},"password",function(){return this.vars.passed_password=false});T.addExitListener((function(eN){return function(eO){if(T.vars.passed_password&&eO&&!eN.successfully_disabled){return Z.error(d1("Two-step verification is still enabled"))}}})(this));eI=new e(this.ADD_BACKUP_TITLE,this.LOCK_ICON,[{name:"password",enter:this.enter_password_shown.bind(this),onSubmit:this.submit_password.bind(this,this.EDIT_CONFIRM_HREF,(function(eN){return function(eO,eP){return eP.next()}})(this)),contents:bi("#twofactor-enter-password")},{name:"backup_phone",enter:this.enter_backup_phone_number_shown.bind(this,"cancel_save"),onSubmit:this.submit_backup_phone_number.bind(this,true,"save_backup_phone"),contents:bi("#twofactor-enter-backup-phone")}],{password:function(){return"backup_phone"},backup_phone:function(){return"__exit__"}},{password:function(){return null},backup_phone:function(){return"__cancel__"}},"password");eD=new e(this.EDIT_BACKUP_TITLE,this.LOCK_ICON,[{name:"password",enter:this.enter_password_shown.bind(this),onSubmit:this.submit_password.bind(this,this.EDIT_CONFIRM_HREF,(function(eN){return function(eO,eP){return eP.next()}})(this)),contents:bi("#twofactor-enter-password")},{name:"backup_phone",enter:this.enter_backup_phone_number_shown.bind(this,"cancel_save"),onSubmit:this.submit_backup_phone_number.bind(this,false,"save_backup_phone"),contents:bi("#twofactor-enter-backup-phone")}],{password:function(){return"backup_phone"},backup_phone:function(){return"__exit__"}},{password:function(){return null},backup_phone:function(){return"__cancel__"}},"password");eL=new e(this.EDIT_RECOVERY_TITLE,this.LOCK_ICON,[{name:"password",enter:this.enter_password_shown.bind(this),onSubmit:this.submit_password.bind(this,this.EDIT_CONFIRM_HREF,(function(eN){return function(eO,eP){return new Ajax.DBRequest(eN.RECOVERY_CODE_HREF,{parameters:{checkpoint_token:eN._checkpoint_token},onSuccess:function(eQ){var eR;eR=eQ.responseText.strip();if(eR.startsWith("OK:")){eN.fill_recovery_code(eR.substr(3),"backup-code-div-edit");return eP.next()}else{switch(eR){case"EXPIRED":return eN.show_error_expired();case"ALREADY_DISABLED":bi("#twofactor-row").removeClass("twofactor-enabled");Z.success(d1("Two-step verification is already disabled. Did you maybe disable it in another window?"));return ex.hide()}}},onFailure:eN.show_error500.bind(eN),cleanUp:eN.hide_loading.bind(eN),subject_user:eN._user})}})(this)),contents:bi("#twofactor-enter-password")},{name:"recovery_code",enter:this.hide_error.bind(this),contents:bi("#twofactor-recovery-edit"),onSubmit:(function(eN){return function(eO,eP){eN._checkpoint_token=null;return eP.next()}})(this)}],{password:function(){return"recovery_code"},recovery_code:function(){return"__exit__"}},{password:function(){return null},recovery_code:function(){return null}},"password");bi(".enable-twofactor").on("click",(function(eN){return function(eO){return eN.start_flow(eO,eG)}})(this));bi(".disable-twofactor").on("click",(function(eN){return function(eO){return eN.start_flow(eO,T)}})(this));bi(".add-twofactor-backup-link").on("click",(function(eN){return function(eO){return eN.start_flow(eO,eI)}})(this));bi(".edit-twofactor-backup").on("click",(function(eN){return function(eO){return eN.start_flow(eO,eD)}})(this));bi(".edit-twofactor-recovery").on("click",(function(eN){return function(eO){return eN.start_flow(eO,eL)}})(this));bi(".edit-twofactor-sms, .edit-twofactor-offline").on("click",(function(eN){return function(eO){return eN.start_flow(eO,eF)}})(this));bi("#generate-new-recovery-code").on("click",(function(eN){return function(eO){eN.show_loading();return new Ajax.DBRequest(eN.NEW_RECOVERY_CODE_HREF,{parameters:{checkpoint_token:eN._checkpoint_token},onSuccess:function(eP){var eQ;eQ=eP.responseText.strip();if(eQ.startsWith("OK:")){return eN.fill_recovery_code(eQ.substr(3),"backup-code-div-edit")}else{switch(eQ){case"EXPIRED":eL.to_state("password");return eN.show_error_expired();case"ALREADY_DISABLED":$("twofactor-row").removeClassName("twofactor-enabled");Z.success(d1("Two-step verification is disabled. Did you maybe disable it in another window?"));return ex.hide()}}},onFailure:eN.show_error500.bind(eN),cleanUp:eN.hide_loading.bind(eN),subject_user:eN._user})}})(this));bi("#twofactor-enter-backup-phone #country-code").on("change",this.reset_phone_field.bind(this));bi("#resend-link").on("click",this.enable_resend_phone_code.bind(this));bi("#twofactor-delivery-choice input").change(function(){bi(".delivery-choice").removeClass("selected");return bi(this).parents(".delivery-choice").addClass("selected")});bi("#show-qr").on("click",(function(eN){return function(eO){bi("#twofactor-offline-setup").addClass("showing-qr");return false}})(this));bi("#hide-qr").on("click",(function(eN){return function(eO){bi("#twofactor-offline-setup").removeClass("showing-qr");return false}})(this));if(window.location.hash==="#backup2fa"&&bi("#twofactor-row").hasClass("allow-autopop")){return this.start_flow(eI)}},start_flow:function(eE,eD){var T;eE.preventDefault();T=bi(eE.target).data("uid");ch.set_user(cn.get_viewer().get_user_by_id(T));this._current_flow=eD;eD.start();return false},connect_login_init:function(){this._container_selector="#twofactor-form";this._error_selector="#twofactor-form .error";return bi("#resend-link").on("click",this.connect_resend_phone_code.bind(this))},resend_phone_code:function(eD){var T;if(this.is_resending()){return}this.show_resending();T="/twofactor_resend";if(bi("#twofactor-confirm").hasClass("backup")){T=D.parse(T).updateQuery({backup:true}).toString()}new Ajax.DBRequest(T,{onSuccess:(function(eE){return function(eF){switch(eF.responseText.strip()){case"OK":eE.hide_error();return eE.notify_resent();case"UNREACHABLE":return eE.show_error_unreachable(true);case"BADCARRIER":return eE.show_error_bad_carrier();case"INVALIDNUMBER":return eE.show_error_invalid_number();case"NOTAMOBILE":return eE.show_error_not_a_mobile();case"RATELIMIT":return Z.error(d1("You've asked for too many SMS messages. Please try again in a few minutes."));case"EXPIRED":return $("twofactor-confirm").submit()}}})(this),onFailure:this.show_error500.bind(this),cleanUp:this.hide_resending_with_delay.bind(this)});return false},connect_resend_phone_code:function(T){if(this.is_resending()){return}this.show_resending();new Ajax.DBRequest("/twofactor_resend",{onSuccess:(function(eD){return function(eE){switch(eE.responseText.strip()){case"OK":eD.hide_error();return eD.notify_resent();case"UNREACHABLE":return Z.error(error_unreachable(true));case"BADCARRIER":return Z.error(error_bad_carrier());case"INVALIDNUMBER":return eD.show_error_invalid_number();case"NOTAMOBILE":return Z.error(error_not_a_mobile());case"RATELIMIT":return Z.error(d1("You've asked for too many SMS messages. Please try again in a few minutes."));case"EXPIRED":return $("twofactor-form").submit()}}})(this),onFailure:(function(eD){return function(eE){return Z.error(eD.error500())}})(this),cleanUp:this.hide_resending_with_delay.bind(this)});return false},enable_resend_phone_code:function(T){if(this.is_resending()){return}this.show_resending();new Ajax.DBRequest("/twofactor_resend",{onSuccess:(function(eD){return function(eE){switch(eE.responseText.strip()){case"OK":eD.hide_error();return eD.notify_resent();case"UNREACHABLE":return eD.show_error_unreachable();case"BADCARRIER":return eD.show_error_bad_carrier();case"INVALIDNUMBER":return eD.show_error_invalid_number();case"NOTAMOBILE":return eD.show_error_not_a_mobile();case"RATELIMIT":return Z.error("You've asked for too many SMS messages. Please try again in a few minutes.");case"EXPIRED":eD._current_flow.to_state("password");return eD.show_error_expired()}}})(this),onFailure:this.show_error500.bind(this),cleanUp:this.hide_resending_with_delay.bind(this)});return false},DEFAULT_ENABLE_TITLE:d1("Enable two-step verification"),DEFAULT_EDIT_TITLE:d1("Edit two-step verification"),DEFAULT_DISABLE_TITLE:d1("Disable two-step verification"),ADD_BACKUP_TITLE:d1("Add a backup phone number"),EDIT_BACKUP_TITLE:d1("Edit backup phone number"),EDIT_RECOVERY_TITLE:d1("View recovery code"),LOCK_ICON:"lock32",ENABLE_CONFIRM_HREF:"/account/twofactor/confirm_password",DISABLE_CONFIRM_HREF:"/account/twofactor/disable_confirm_password",EDIT_CONFIRM_HREF:"/account/twofactor/edit_confirm_password",RECOVERY_CODE_HREF:"/account/twofactor/get_rescue_code",NEW_RECOVERY_CODE_HREF:"/account/twofactor/new_rescue_code",enter_password_shown:function(){var T;this.hide_error();bi("#twofactor-recovery").removeClass("edit-mode");T=$("twofactor-enter-password");bi("#password",T).val("").focus();return false},submit_password:function(eE,eH,T,eF,eG){var eD;eD=$("password").getValue();if(!eD){this.show_error(d1("Please enter your password"));return}this.show_loading();return new Ajax.DBRequest(eE,{parameters:{password:eD},onSuccess:(function(eI){return function(eJ){var eK;eK=eJ.responseText.strip();if(eK.startsWith("OK:")){eI._checkpoint_token=eK.substr(3);return eH(T,eF)}else{switch(eK){case"EXPIRED_PASSWORD":return eI.show_error_expired_password();case"INVALID":return eI.show_error(d1("Invalid password"));case"RATELIMIT":return eI.show_error(d1("Too many incorrect passwords. Please try again in a few minutes."));case"ALREADY_ENABLED":$("twofactor-row").addClassName("twofactor-enabled");Z.success(d1("Two-step verification is already enabled. Did you maybe enable it in another window?"));return ex.hide();case"ALREADY_DISABLED":$("twofactor-row").removeClassName("twofactor-enabled");Z.success(d1("Two-step verification is already disabled. Did you maybe disable it in another window?"));return ex.hide()}}}})(this),onFailure:this.show_error500.bind(this),cleanUp:this.hide_loading.bind(this),subject_user:this._user})},fetch_offline_key:function(T,eD){this.show_loading();return new Ajax.DBRequest("/account/twofactor/add_phone",{parameters:{checkpoint_token:this._checkpoint_token,offline:true},onSuccess:(function(eE){return function(eF){var eG;eG=eF.responseText.strip();if(eG.startsWith("OK:")){eE.fill_key(eG.substr(3));return eD.next()}else{switch(eG){case"EXPIRED":T.to_state("password");return eE.show_error_expired()}}}})(this),onFailure:this.show_error500.bind(this),cleanUp:this.hide_loading.bind(this),subject_user:this._user})},fill_key:function(eD){var T,eF,eE;eD=eD.replace(new RegExp("=+$"),"");T=eD.toLowerCase().replace(/(.{4})/g,"$1 ");$("secret-div").__date(T);$("qr-div").__date();eE=Constants.IS_PROD?"Dropbox":"DropboxDev";eF={text:"otpauth://totp/"+eE+":"+this._user.email+"?secret="+eD+"&issuer="+eE,width:200,height:200};if(!Modernizr.canvas){eF.render="table"}bi("#qr-div").qrcode(eF);if(!Modernizr.canvas){return bi("#qr-div > table").css("margin","0 auto")}},submit_phone_number:function(eD,eF,eG){var T,eE;T=bi("#twofactor-enter-phone .twofactor-phone-number");if(!T.controller().validate_on_submit()){return}eE=T.val();this.show_loading();return new Ajax.DBRequest("/account/twofactor/add_phone",{parameters:{checkpoint_token:this._checkpoint_token,phone_number:eE},onSuccess:(function(eH){return function(eI){switch(eI.responseText.strip()){case"OK":eH._phone_number=eE;eD.vars.phone_number=eE;return eF.next();case"EXPIRED":eD.to_state("password");return eH.show_error_expired();case"UNREACHABLE":return eH.show_error_unreachable(T);case"BADCARRIER":return eH.show_error_bad_carrier(T);case"INVALIDNUMBER":return eH.show_error_invalid_number(T);case"NOTAMOBILE":return eH.show_error_not_a_mobile(T);case"RATELIMIT":return eH.show_error(d1("You've added too many phone numbers. Please try again in a few minutes."))}}})(this),onFailure:this.show_error500.bind(this),cleanUp:this.hide_loading.bind(this),subject_user:this._user})},submit_phone_code:function(T,eD,eF){var eE;eE=$("phone-code").getValue().strip();if(!eE){this.show_error(d1("Please enter the security code"));return}if(eE.search(/^\d{6}$/)===-1){this.show_error(d1("Invalid security code"));return}this.show_loading();return new Ajax.DBRequest("/account/twofactor/confirm_phone",{parameters:{checkpoint_token:this._checkpoint_token,twofactor_code:eE},onSuccess:(function(eG){return function(eH){var eJ,eI;eI=eH.responseText.strip();if(eI.startsWith("OK:")){eG.fill_recovery_code(eI.substr(3),"backup-code-div");return eD.next()}else{switch(eI){case"INVALID":eG._invalid_code_count+=1;eJ=eG._invalid_code_count<=2?d1("Invalid code"):eG._is_offline_setup?d1("Invalid code. Check the clock on your phone: it must be accurate to the minute."):d1("Invalid code");return eG.show_error(eJ);case"EXPIRED":T.to_state("password");return eG.show_error_expired();case"RATELIMIT":return eG.show_error(d1("Too many invalid codes. Try again in a few minutes."))}}}})(this),onFailure:this.show_error500.bind(this),cleanUp:this.hide_loading.bind(this),subject_user:this._user})},enter_backup_phone_number_shown:function(eF,eD){var eE,T;this.hide_error();eE=$("twofactor-enter-backup-phone");T=this.fill_phone_number_for_edit(eE,bi("#twofactor-row-"+this._user.role+" #twofactor-backup-number").text());T.focus();if(eF==="back_next"){bi("#twofactor-backup-back-next").show();bi("#twofactor-backup-cancel-save").hide();return bi("#twofactor-backup-back-save").hide()}else{if(eF==="cancel_save"){bi("#twofactor-backup-back-next").hide();bi("#twofactor-backup-cancel-save").show();return bi("#twofactor-backup-back-save").hide()}else{if(eF==="back_save"){bi("#twofactor-backup-back-next").hide();bi("#twofactor-backup-cancel-save").hide();return bi("#twofactor-backup-back-save").show()}}}},submit_backup_phone_number:function(eG,eF,eD,eH,eI){var T,eE;T=bi("#twofactor-enter-backup-phone .twofactor-backup-phone-number");if(!T.controller().validate_on_blur()){return}eE=T.val();if(eE){if(this.is_primary_number(eE)){T.controller().show_error(d1("You can't use your primary phone as your backup",T));return}}else{if(eG){T.controller().show_error(d1("Please enter phone number",T));return}}this._backup_phone=eE;if(eF==="save_backup_phone"){this.save_added_backup_phone(eD,eG,eE)}else{if(eF==="save_everything"){this.submit_finish(eD,eH,eI)}else{if(eF==="save_none"){return eH.next()}}}},is_same_phone_number:function(eD,T){if(!eD||!T){return false}return eD.replace(/\D+/g,"")===T.replace(/\D+/g,"")},is_primary_number:function(T){var eD;eD=bi("#twofactor-row-"+this._user.role);if(this._is_offline_setup){return false}if(this.is_same_phone_number(T,eD.data("primary_phone"))){return true}if(this.is_same_phone_number(T,bi("#twofactor-sms-number",eD).text())){return true}return false},save_added_backup_phone:function(T,eE,eD){this.show_loading();return new Ajax.DBRequest("/account/twofactor/set_backup_phone",{parameters:{checkpoint_token:this._checkpoint_token,backup_phone_number:eD},onSuccess:(function(eF){return function(eG){var eH;switch(eG.responseText.strip()){case"OK":eF.hide_error();eH="#twofactor-row-"+eF._user.role;bi(""+eH+" #twofactor-backup-number").text(eD);bi(eH).toggleClass("with-backup",!!eD);dz.syncHeight();if(!eD){Z.success(d1("Backup phone number removed"))}else{if(!eE){Z.success(d1("Backup phone number updated"))}else{Z.success(d1("Backup phone number added"))}}return ex.hide();case"EXPIRED":T.to_state("password");return eF.show_error_expired()}}})(this),onFailure:this.show_error500.bind(this),cleanUp:this.hide_loading.bind(this),subject_user:this._user})},fill_phone_number_for_edit:function(eF,eH){var eG,eD,eE,T;eD=bi(".sick-input > input",eF);if(!eH){return eD.val("")}T=bi('select[name="country_code"]',eF);eG=/^\+\d+/.exec(eH);eG=eG?eG[0]:"";eE=this.option_for_country_code(T,eG);if(eE!=null){eE.selected=true}eD.val(bi.trim(eH.slice(eG.length)));if(eD.length){eD[0].select()}return eD},option_for_country_code:function(T,eE){var eD;if(eE){eD=bi('option[value="'+eE+'"]',T);if(eD.length>1){eD=eD.filter("[selected]")}if(eD.length){return eD[0]}}return bi("option[selected]",T)[0]},fill_delivery_choice:function(T){bi("#twofactor-delivery-phone-label,#confirm-phone-primary").toggle(!!T);bi("#twofactor-delivery-offline-label").toggle(!T);bi("#confirm-phone-primary-number").text(T);return bi("#twofactor-row-"+this._user.role).data("primary_phone",T)},fill_backup_phone:function(T){bi("#confirm-phone-backup").toggle(!!T);return bi("#confirm-phone-backup-number").text(T)},fill_recovery_code:function(eD,T){eD=eD.toLowerCase().replace(/(.{4})/g,"$1 ");return $(T).__date(eD)},submit_finish:function(T,eD,eE){var eF;this.show_loading();eF={checkpoint_token:this._checkpoint_token};if(this._backup_phone){eF.backup_phone_number=this._backup_phone}return new Ajax.DBRequest("/account/twofactor/enable_finish",{parameters:eF,onSuccess:(function(eG){return function(eH){switch(eH.responseText.strip()){case"OK":eG.successfully_enabled=true;if(T.vars.mode!=="ENABLE"){return eG.after_enabled(T,eD)}else{return eD.next()}break;case"EXPIRED":T.to_state("password");return eG.show_error_expired()}}})(this),onFailure:this.show_error500.bind(this),cleanUp:this.hide_loading.bind(this),subject_user:this._user})},after_enabled:function(eD,eE){var T;this._checkpoint_token=null;this.hide_error();T=bi("#twofactor-row-"+this._user.role);T.toggleClass("with-sms",!!this._phone_number);bi("#twofactor-sms-number",T).text(this._phone_number||"");T.toggleClass("with-backup",!!this._backup_phone);bi("#twofactor-backup-number",T).text(this._backup_phone||"");T.addClass("twofactor-enabled");dz.syncHeight();if(eD.vars.mode!=="ENABLE"){Z.success(d1("Two-step verification updated"));return eE!=null?eE.next():void 0}},disable_submit:function(T,eD){this.show_loading();return new Ajax.DBRequest("/account/twofactor/disable",{parameters:{checkpoint_token:this._checkpoint_token},onSuccess:(function(eE){return function(eG){var eF;switch(eG.responseText.strip()){case"OK":eE.successfully_disabled=true;eE._checkpoint_token=null;eF=bi("#twofactor-row-"+eE._user.role);eF.removeClass("twofactor-enabled with-sms with-backup");bi("#twofactor-sms-number, #twofactor-backup-number",eF).text("");dz.syncHeight();Z.success(d1("Two-step verification is now disabled."));return eD.next();case"EXPIRED":T.to_state("password");return eE.show_error_expired()}}})(this),onFailure:this.show_error500.bind(this),cleanUp:this.hide_loading.bind(this),subject_user:this._user})},show_error:function(eE,T){var eD;if(T){T.controller().show_error(eE);return}eD=$$(this._error_selector);if(eE===this.error_expired_password()||eE===this.error_unreachable(true)){eD.invoke("update",eE)}else{eD.invoke("__date",eE)}return eD.invoke("show")},show_error500:function(){return this.show_error(this.error_500())},show_error_bad_carrier:function(T){return this.show_error(this.error_bad_carrier(),T)},show_error_invalid_number:function(T){return this.show_error(this.error_invalid_number(),T)},show_error_not_a_mobile:function(T){return this.show_error(this.error_not_a_mobile(),T)},show_error_unreachable:function(T,eD){if(eD==null){eD=false}return this.show_error(this.error_unreachable(eD),T)},show_error_expired:function(T){return this.show_error(this.error_expired(),T)},show_error_expired_password:function(T){return this.show_error(this.error_expired_password(),T)},error_500:function(){return d1("Sorry, an error occurred. Please try again later.")},error_bad_carrier:function(){return d1("Unfortunately, your carrier is not supported at this time.")},error_invalid_number:function(){return d1("That is not a valid phone number.")},error_not_a_mobile:function(){return d1("That phone number does not appear to be a valid mobile number.")},error_unreachable:function(T){if(T==null){T=false}if(T){return d1('We couldn\'t reach your phone number. If this has happened before click here.')}else{return d1("We couldn't reach your phone number. Are you sure it's correct?")}},error_expired:function(){return d1("Since it's been a while, please enter your password again.")},error_expired_password:function(){return d1('Your password has expired. Please create a new password here.')},hide_error:function(){return $$(this._error_selector).invoke("__date")},show_loading:function(){this.hide_error();return $$(this._container_selector).invoke("addClassName","loading")},hide_loading:function(){return $$(this._container_selector).invoke("removeClassName","loading")},is_resending:function(){return $$(this._container_selector)[0].hasClassName("resending")},show_resending:function(){return $$(this._container_selector).invoke("addClassName","resending")},hide_resending:function(){return $$(this._container_selector).invoke("removeClassName","resending")},hide_resending_with_delay:function(){return setTimeout(this.hide_resending.bind(this),3000)},notify_resent:function(){return Z.success(d1("We sent you another code. It may take a few minutes to arrive."))},reset_phone_field:function(eD){var T,eE;T=eD.element();eE=bi(".sick-input",T.form);bi("input",eE).val("").focus();return this.fill_example_phone_number(T,eE)},fill_example_phone_number:function(T,eF){var eE,eD;if(typeof phone_helpers!=="undefined"&&phone_helpers!==null){eE=bi(T).val().substr(1);eD=phone_helpers.get_example_mobile_number(eE);return bi("label",eF).text(d1("Example: ")+eD)}},reset_phone_field_and_backup_country:function(eD){var T;this.reset_phone_field(eD);if(bi("#backup-phone-number").val()===""){T=bi("#twofactor-enter-backup-phone #country-code");T.val(eD.element().getValue());return this.fill_example_phone_number(T,bi(".sick-input",T[0].form))}}};var bN;bN=B.PseudoLocalStorage={_store:{},getItem:function(T){return this._store[T]},setItem:function(T,eD){return this._store[T]=eD},removeItem:function(T){return delete this._store[T]},clear:function(){return this._store={}}};var bx;bx=B.FileViewRamsCommon={RAMS_FULLSCREEN_TRANSITION_TIME_MSEC:1000,enter_rams_fullscreen:function(T){T.addClass("rams-fullscreen").data("rams-fullscreen",true);return bi(window).resize()},exit_rams_fullscreen:function(T){T.removeClass("rams-fullscreen").removeData("rams-fullscreen");return bi(window).resize()},is_rams_fullscreen_active:function(eD){var T;T=eD.data("rams-fullscreen");return(T!=null)&&T}};var l;l=__PARENT_SCOPE__.FileViewer=INLINE_JS.FileViewer=B.FileViewer={KEY_SCOPE:"fileviewer",_MODAL_FILEINFO:0,_MODAL_PREVIEW:1,MAX_CHECK_LOCK_TRIES:8,file:null,has_preview:false,preview_locked:false,preview_lock_listener:null,modal_type:this._MODAL_FILEINFO,is_loaded:false,has_key_listener:false,history_length:null,preview_status_timeout_obj:null,preview_status_request:null,_non_fullscreen_vert_overflow:null,hiding:false,check_lock_request:null,check_lock_timeout:null,file_locked:false,active_user:null,in_browse:true,preview_image_react:null,globalPreviewStateModel:new Backbone.Model({state:"closed",file_obj:null}),globalOpenWithWebButtonStateModel:new Backbone.Model({state:"hidden",file_extension:null}),_get_extension:function(eD){var T;T=eD.lastIndexOf(".");return(T===-1?"":eD.substr(T+1))},show:function(eD,T,eE){this.file=eD;this.active_user=T;this.in_browse=eE;if(this.shown()){this.prev_scope=key.getScope();key.setScope(this.KEY_SCOPE);return}this._start_time=Date.now();this.history_length=window.history.length;if(this.file.preview_type==="download"){window.location.href=this.file.href}else{document.title=this.file.filename;if(__CONDITIONAL_JS__.OpenWith.file_supported(this.file)){this.file_locked=true;this.check_lock()}this._render_viewer();return bi("#file-viewer").show().trigger("db:filepreview:open",[this.file])}},cancel_check_lock:function(){this.file_locked=false;if(this.check_lock_request!=null){this.check_lock_request.abort();this.check_lock_request=null}if(this.check_lock_timeout!=null){clearTimeout(this.check_lock_timeout);return this.check_lock_timeout=null}},check_lock:function(){var eF,eE,eI,T,eJ,eG,eD,eH;if(this.check_lock_request!=null){return}this.check_lock_timeout=null;eF=0;T=this.active_user.id;eI=this.file.fq_path;eE=1000;eH=(function(eK){return function(){eF++;if(eF",{"class":"filename-text"}).text(eS);eT.html(eU).append(eV);eD.addClass("has-preview");if(eQ.file.htmlified_link){eD.addClass("htmlified-preview")}else{if(eQ.file.preview_type==="excel"){eD.addClass("html-preview");eD.find(".loading").css("z-index","-1")}else{eD.addClass(""+eQ.file.preview_type+"-preview")}}if(eX){eD.find(".loading").show()}eI.on("click",function(eY){eY.preventDefault();return window.location.href=eM});if(eQ.file.tkey===void 0&&l.active_user.is_email_verified){eR=function(eY){this.file.tkey=eY.tkey;return this._update_title_bar_buttons()};cf.WebRequest({url:"/sm/get_token",type:"POST",data:{path:eQ.file.fq_path},dataType:"json",subject_user:eQ.active_user.id,success:eR.bind(eQ)})}else{eQ._update_title_bar_buttons()}eQ.modal_type=eQ._MODAL_PREVIEW;eQ._first_render_completed=false;return eQ._listen()}})(this);eO=(function(eQ){return function(){eD.removeClass();eD.find(".loading").hide();return eQ._unlisten()}})(this);eG=(function(eQ){return function(eR,eW,eU,eT,eS){var eV;if(eR==null){eR=false}if(eW==null){eW=true}if(eU==null){eU=false}if(eT==null){eT=false}if(eS==null){eS=true}eQ._log_view(Date.now()-eQ._start_time,eT);eV=eQ._get_extension(eQ.file.filename);if(eV==="doc"||eV==="docx"||eV==="ppt"||eV==="pptx"||eV==="xls"||eV==="xlsx"||eV==="pdf"){eQ.globalPreviewStateModel.set({state:"open",file_obj:eQ.file})}if(!eR){eJ(eW);eQ._update_title_bar_buttons()}eQ._render_preview(eU,eS);return eQ._initial_resize()}})(this);eE=(function(eQ){return function(eS){var eR,eU,eV,eT;if(eS==null){eS=false}eR=eQ.file.filename.indexOf(".");eU=eQ.file.filename.substring(eR+1);if(eU==="key"&&eQ.file.preview_type===null){eT="/static/images/icons128/"+(ao.file_icon("_other"))+".png"}else{eT="/static/images/icons128/"+(ao.file_icon(eQ.file.filename))+".png"}eQ.globalPreviewStateModel.set({state:"closed",file_obj:null});eV=bw.em_snippet(eQ.file.filename,20);eD.find(".title-bar .filename").text(eV);eD.addClass("no-preview");eD.find(".file-thumbnail img").attr({src:eT});eD.find(".file-type").text(eV);eD.find(".file-size").text(eQ.file.size);eD.find(".file-modified").text(eQ.file.ago||"");eI.on("click",function(){return bE.redirect(eM)});eQ.modal_type=eQ._MODAL_FILEINFO;eQ._listen();eQ._log_view(Date.now()-eQ._start_time,eS);eQ._update_title_bar_buttons();return eQ._initial_resize()}})(this);eF=this._get_extension(this.file.fq_path);eP=(this.file.preview_type==="doc"||this.file.preview_type==="excel"||this.file.preview_type==="keynote"||this.file.preview_type==="adobecs")&&(this.file.bytes=5000){eO();return eE(true)}return eQ.preview_status_request=bi.ajax(eK,{success:function(eS){if(eQ.file){return eQ.file.doc_preview_status=parseInt(eS,10)}},complete:function(eS,eT){if(eT==="abort"){return}if(eQ.file_locked){return}if(eQ.file.doc_preview_status===Constants.DOC_PREVIEW_AVAILABLE){eQ.has_preview=true;return eG(true,false,true,true)}else{if(eQ.file.doc_preview_status===Constants.DOC_PREVIEW_IN_PROGRESS){return eQ.preview_status_timeout_obj=setTimeout(eL,1000)}else{eO();return eE(true)}}},timeout:5000-(eR-eH),subject_user:eQ.active_user})}})(this))()},_remove_loading:function(T){var eD;if(T==null){T=true}eD=bi("#file-viewer .loading");eD.hide();eD.css("z-index","");return this.is_loaded=T},_update_title_bar_buttons:function(){var eE,eD,eI,eQ,eH,eU,eJ,eK,eG,eF,T,eO,eS,eT,eP,eR,eV,eM,eN,eL;eH=bi("#file-viewer");eE=eH.find(".download-button");eD=eH.find(".split-button.openwith");eQ=eD!=null?eD.find(".main-button"):void 0;eI=eD!=null?eD.find(".more-button"):void 0;eU=d1("Open",{comment:"Open a file natively on the user's computer"});eN=function(){return eH.data("is-unity-allowed")==="True"&&(__CONDITIONAL_JS__.UnityFeatures!=null)};eM=(function(eW){return function(eY){var eZ,eX;return eH.data("is-openwith-allowed")==="True"&&((eZ=__CONDITIONAL_JS__.OpenWith)!=null?eZ.get_open_handler_for(eY,eW.active_user):void 0)&&eY.bytes<((eX=__CONDITIONAL_JS__.OpenWith)!=null?eX.MAX_SUPPORTED_FILE_SIZE_B:void 0)&&eY.doc_preview_status!==Constants.DOC_PREVIEW_UNAVAILABLE_PROTECTED_DOC}})(this);eS=(function(eW){return function(){return __CONDITIONAL_JS__.UnityFeatures.open_file(eW.file.ns_id,eW.file.ns_path,eW.file.user_id,__CONDITIONAL_JS__.UnityFeatures.standard_open_file_handler)}})(this);eT=(function(eW){return function(){var eX,eY;eX=__CONDITIONAL_JS__.OpenWith.get_open_handler_for(eW.file,eW.active_user);if(eX){if((eY=__CONDITIONAL_JS__.OpenWithMicrosoftLogger)!=null){eY.log_open_button_pressed(eW.active_user,ao.file_extension(eW.file.filename).toLowerCase(),eW.file.ns_id,eW.file.ns_path)}return bE.redirect(eX.uri)}}})(this);eV=(function(eW){return function(eY,eX,e2){var eZ,e0,e1;if(!eY&&!eX){eP(false)}else{if(eY&&eX){eF(eU,eW.file,eS,eT)}else{if(eY){eG(eU,eT)}else{eG(eU,eS)}}}if(!eY&&!eX){e0=false}else{if(eX){e0=false}else{e0=true}}if(!e0&&!e2){eW._hide_more_button()}else{eW._show_more_button(e2,e0)}eZ=function(e3,e5,e6,e4){if(eW._open_button_update_state_timeout){clearTimeout(eW._open_button_update_state_timeout)}return eW._open_button_update_state_timeout=setTimeout((function(){eW.globalOpenWithWebButtonStateModel.set({user_id:e3,state:e5,file_extension:e6,target_button:e4});return eW._open_button_update_state_timeout=null}),200)};if(eY){e1=ao.file_extension(eW.file.filename).toLowerCase();if(eX){return eZ(eW.active_user.id,"visible",e1,eI)}else{return eZ(eW.active_user.id,"visible",e1,eQ)}}else{return eZ(null,"hidden",null,null)}}})(this);eP=function(eW){if(eD!=null){eD.toggleClass("shown",eW)}return eE.toggle(!eW)};eG=function(eW,eX){if((eD==null)&&(eQ==null)){return}eP(true);eD.removeClass("split");eQ.text(eW);return eQ.off("click").on("click",eX)};eF=(function(eW){return function(e2,eX,e1,e0){var eZ,eY;if((eD==null)&&(eQ==null)&&(eI==null)){return}eP(true);eD.addClass("split");eQ.text(e2);eZ=eH.find(".openwith-dropdown");eQ.off("click").on("click",function(e3){return e1(e3)});eI.off("click").on("click",function(e4){var e3;e3=bi(this).parent().siblings(".openwith-dropdown");if(e3.is(":visible")){return}ej.show(e3,this,null,true);return e4.stopPropagation()});eZ.find(".openwith-desktop-link").off("click").on("click",function(e3){e3.preventDefault();return e1(e3)});eY=__CONDITIONAL_JS__.OpenWith.get_open_handler_for(eX,eW.active_user);eZ.each(function(){return b9.src(bi(this).find(".openwith-link .sprite")[0],"web",eY.icon)});eZ.find(".openwith-link .sprite-text-inner").text(eY.name);eZ.find(".openwith-link").off("click").on("click",function(e3){e3.preventDefault();return e0(e3)});return bi("#file-viewer-container").off("click",ej.hide_all).on("click",ej.hide_all)}})(this);eR=!!eN();eJ=!!eM(this.file);eK=!!this.file.tkey;eV(eJ,false,eK);if(eR){T=(function(eW){return function(){return eV(eJ,true,eK)}})(this);if((eL=__CONDITIONAL_JS__.UnityCheckFileCache)!=null?eL.get(this.file.ns_id,this.file.ns_path):void 0){return T()}else{eO=(function(eW){return function(eX){if(eX){return T()}}})(this);return __CONDITIONAL_JS__.UnityFeatures.check_file(this.file.ns_id,this.file.ns_path,this.file.user_id,eO)}}},_show_more_button:function(eI,eD){var eG,eH,eE,eF,T;T=bi("#file-viewer");eG=T.find(".more-options-button");eG.show();eE=T.find(".more-options-dropdown");eG.on("click",(function(eJ){return function(eK){if(eE.is(":visible")){return}ej.show(eE,eG,null,true);return eK.stopPropagation()}})(this));bi("#file-viewer-container").on("click",ej.hide_all);eF=eE.find(".remove-link");eF.off("click");if(eI){eF.show();eF.on("click",(function(eJ){return function(eK){ej.hide_all();return ae.confirm_remove(eJ.file.filename,eJ.file.tkey,0,0,0,eJ.file.user_id)}})(this))}else{eF.hide()}eH=eE.find(".download-button");return eH.toggle(eD)},_hide_more_button:function(){var eD,T;T=bi("#file-viewer");eD=T.find(".more-options-button");eD.off("click").hide();bi("#file-viewer-container").off("click",ej.hide_all);return T.find(".remove-link").off("click")},_initial_resize:function(){var T;if(this.is_loaded){return}T=function(){return bi("window").trigger("resize")};return setTimeout(T,0)},_get_progressive_url:function(eG,eF){var eH,T,eE,eD;eD=this.active_user;eG=eG.substring(0,3).replace("rtf","doc").replace("pps","ppt");eE=D.parse(eF);T=false;if((eG==="doc"&&eD.progressive_previews_doc)||(eG==="key")||(eG==="keynote")||(eG==="adobecs")){if(!(Constants.PDF_PREVIEW_MODE==="pdf-js")){eE=eE.updateQuery({post_message_on_failure:1})}}else{if(eG==="ppt"&&eD.progressive_previews_ppt){eH="private_progressive_viewer";T=true}else{if(eG==="xls"&&eD.progressive_previews_xls){if(eD.xls_edit){eH="xls/edit"}else{eH="xls/preview"}}}}if(eH){if(T){eE.setAuthority(Constants.WEBSERVER)}else{eE.setAuthority(eE.getAuthority().replace("dl-web","dl-doc"))}eE.setPath(eE.getPath().replace("/get/","/"+eH+"/"))}eE=eE.updateQuery({get_preview:1,rams_ui:this._is_rams_ui()?1:0});return eE},_get_pdf_js_url:function(T){var eD;if(Constants.PDF_PREVIEW_MODE==="pdf-js"){eD=T.toString();T=D.parse(Constants.static_url_pdfjs_viewer);T.setQuery({file:eD})}return T},_preview_is_progressive:function(eD){var T;eD=eD.substring(0,3).replace("rtf","doc").replace("pps","ppt");T=this.active_user;return(eD==="doc"&&T.progressive_previews_doc)||(eD==="ppt"&&T.progressive_previews_ppt)||(eD==="xls"&&T.progressive_previews_xls)||(eD==="key"||eD==="keynote")},_preview_progressive_try:function(T){if(!this._preview_is_progressive(T)){return false}if(this.file.doc_preview_status===Constants.DOC_PREVIEW_IN_PROGRESS){return true}T=T.substring(0,3).replace("rtf","doc").replace("pps","ppt");return this.file.doc_preview_status===Constants.DOC_PREVIEW_UNAVAILABLE_FAILED&&(((T==="ppt")&&this.active_user.progressive_previews_ppt_try_failed)||((T==="doc")&&this.active_user.progressive_previews_doc_try_failed)||((T==="xls")&&this.active_user.progressive_previews_xls_try_failed))||(T==="key")||(T==="keynote")},_set_previews_sandbox_params:function(eD,T){eD=eD.substring(0,3).replace("rtf","doc").replace("pps","ppt");if(eD!=="xls"){return""}else{return null}},_render_preview:function(eH,eI){var eD,eG,eE,eF,eK,T,eJ;if(eH==null){eH=false}if(eI==null){eI=true}if(eH){this._remove_loading(false)}eF=bi("#file-viewer .preview-content-container");if(eF.find("iframe").length>0){return}if(this.file.htmlified_link){eE=bi("()*/49>CHMRW\afjnrvz +,-._application/javascript_https://bat.bing.com/bat.jsO$bplist00opX$versionX$objectsY$archiverT$top##)*0123OPQRSTUVWXYZ[\]^_`abcdehijU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1  "!$%&'(WNS.base[NS.relative_https://bat.bing.com/bat.js+,-.Z$classnameX$classesUNSURL-/XNSObject#A"456BNWNS.keysZNS.objects789:;<=>?@A CDEFGHIJKLMVServerZSet-Cookie\Content-Type]Last-ModifiedTVaryTEtag]Accept-RangesTDate_Content-Encoding^Content-Length_Access-Control-Allow-Origin_Microsoft-IIS/8.5_MUID=2DE9F55278126E6D1AA1F2C27C126DB2; domain=.bing.com; expires=Thu, 20-Apr-2017 05:09:20 GMT; path=/;, MR=0; domain=bat.bing.com; expires=Sun, 18-Oct-2015 05:09:20 GMT; path=/;_application/javascript_Fri, 10 Apr 2015 09:00:35 GMT_Accept-Encoding_"80fb62ce6c73d01:0"Ubytes_Tue, 21 Apr 2015 05:09:20 GMTTgzipT2713Q*+,fg\NSDictionaryf/_application/javascript+,kl_NSHTTPURLResponsemn/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverqr_WebResourceResponse#-27]c~"%.79;BJUacegikmoqsuw%9'9OUuzsOfunction UET(o){var n,i,t;this.stringExists=function(n){return n&&n.length>0},this.domain="bat.bing.com",this.secondaryDomain="bat.r.msn.com",this.URLLENGTHLIMIT=2048,this.pageLoadEvt="pageLoad",this.customEvt="custom",o.Ver=o.Ver!==undefined&&(o.Ver==="1"||o.Ver===1)?1:2,this.supportsCORS=this.supportsXDR=!1,this.validKeyNames={ec:1,el:1,ev:1,ea:1},this.validCustomEventKeyNames={ec:1,el:1,ev:1,ea:1,gv:1},this.invalidKeyException="Invalid data: Key Name: ",this.invalidEventException="Invalid event type: Event Type: ",this.evq=o.q||[],delete o.q,this.evqDispatch=!1,this.pageLoadDispatch=!1,this.documentLoaded=!1,this.eventPushQueue=[],n=this,this.checkuetHostdocumentload=function(){if(document.readyState==="complete"){n.documentLoaded=!0,n.readyStateUetCheckInterval&&clearInterval(n.readyStateUetCheckInterval);if(n.eventPushQueue.length>0){for(var t=0;tt.name?1:n.name9999999)throw n+" cannot be greater than 9999999";return r},this.validateDataObject=function(n,t){var r,i;if(!n)throw this.invalidEventException+"undefined event.";if(n!==this.pageLoadEvt&&n!==this.customEvt)throw this.invalidEventException+n;if(!t)throw"undefined data object passed to validate";if(typeof t!="object")return;r=this.validKeyNames,n!==this.pageLoadEvt&&(r=this.validCustomEventKeyNames);for(i in t)if(!r[i])throw this.invalidKeyException+i;t.hasOwnProperty("ev")>0&&(t.ev=this.validateValue("ev",t.ev,!0)),t.hasOwnProperty("gv")>0&&(t.gv=this.validateValue("gv",t.gv,!1))},this.evt=function(n,t){var i,r;if(n===this.pageLoadEvt&&this.pageLoadDispatch===!0)return;t=t||{};if(t instanceof Array)if(t.length>0)t=t[0];else return;if(typeof t!="object")return;this.validateDataObject(n,t);if(n===this.customEvt){i=[];for(r in t)i.push(r);if(i.length===0)return}this.invisibleDiv||this.createInvisibleDiv(document.body),t.evt=n,window.self!=window.top&&(t.ifm=1),n===this.pageLoadEvt&&(t=this.addPageData(t),this.fireBeacon(t,!0),this.pageLoadDispatch=!0),this.fireBeacon(t),t.abf=!0,n===this.pageLoadEvt&&this.evqDispatch===!1&&this.dispatchq()},this.createIframe=function(n){return this.invisibleFrame=this.createInvisibleElement(n,"iframe"),this.invisibleFrame.src="",this.invisibleFrame.name=this.invisibleFrame.id,this.invisibleFrame.id},this.clone=function(n,t){t===undefined&&(t={});for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i]);return t},this.combine=function(n,t){var i=this.clone(n);return i=this.clone(t,i)},this.addHiddenFields=function(n,t,i,r){var e="",u,f;r&&(e=r+".");for(u in n)n.hasOwnProperty(u)&&(typeof n[u]=="object"?this.addHiddenFields(n[u],t,i,e+u):(f=i.createElement("input"),f.setAttribute("type","hidden"),f.setAttribute("name",e+u),f.setAttribute("value",n[u]),t.appendChild(f)))},this.fireBeacon=function(n,t){var u=this.urlPrefix,f=this.postURL;t&&(u=this.secondUrlPrefix,f=this.secondPostURL);var i=this.combine(o,n),e=this.stringifyToRequest(i),r=this.removeTrailingAmp(u+e);r.length>this.URLLENGTHLIMIT?this.supportsCORS||this.supportsXDR?this.fireBeaconCORS(i,f):this.fireBeaconForm(i):this.fireBeaconImg(r)},this.createCORSRequest=function(n,t){var i=null;return this.supportsCORS?(i=new XMLHttpRequest,i.withCredentials=!0,i.open(n,t,!0),i.setRequestHeader("Content-Type","application/x-www-form-urlencoded")):this.supportsXDR&&(i=new XDomainRequest,i.open(n,t)),i},this.fireBeaconCORS=function(n,t){var i=this.createCORSRequest("post",t);i.send(this.removeTrailingAmp(this.stringifyToRequest(n)))},this.createForm=function(n){var t=document.createElement("form");return t.method="post",t.action=this.postURL,t.target=this.invisibleFrame.name,n.fp="1",this.addHiddenFields(n,t,document),t},this.fireBeaconForm=function(n){var i=document.getElementById(this.createIframe(document.body)),t;i.onload=function(){document.body.removeChild(i)},t=this.createForm(n,i.name),document.body.appendChild(t),t.submit(),document.body.removeChild(t)}} 0123_text/javascript_5https://www.google-analytics.com/plugins/ua/linkid.jsObplist00wxX$versionX$objectsY$archiverT$top'#)*0123STUVWXYZ[\]^_`abcdefghijklmpqrU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 $&%$%&'(WNS.base[NS.relative_5https://www.google-analytics.com/plugins/ua/linkid.js+,-.Z$classnameX$classesUNSURL-/XNSObject#AK3456DRWNS.keysZNS.objects789:;<=>?@ABC EFGHIJKLMNOPQ !"#\Content-Type_alternate-protocol_Content-EncodingVServer_x-xss-protectionWExpiresSAge]Cache-ControlTDate^Content-Length_x-content-type-optionsTVary]Last-Modified_text/javascript\443:quic,p=1TgzipTsffe]1; mode=block_Tue, 21 Apr 2015 05:56:58 GMTS742_public, max-age=3600_Tue, 21 Apr 2015 04:56:58 GMTS852Wnosniff_Accept-Encoding_Thu, 06 Nov 2014 23:19:05 GMT+,no\NSDictionaryn/!_text/javascript+,st_NSHTTPURLResponseuv/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiveryz_WebResourceResponse#-27ag!&1:@CLUWY`hs .3B[`n >CPSVhm{O!(function(){var e=window,h=document,k="replace";var m=function(a,c,d,b,g){c=encodeURIComponent(c)[k](/\(/g,"%28")[k](/\)/g,"%29");a=a+"="+c+"; path="+(d||"/")+"; ";g&&(a+="expires="+(new Date((new Date).getTime()+g)).toGMTString()+"; ");b&&"none"!=b&&(a+="domain="+b+";");b=h.cookie;h.cookie=a;return b!=h.cookie},p=function(a){var c=h.body;try{c.addEventListener?c.addEventListener("click",a,!1):c.attachEvent&&c.attachEvent("onclick",a)}catch(d){}};var q=function(a,c,d,b){this.get=function(){for(var b=void 0,c=[],d=h.cookie.split(";"),l=new RegExp("^\\s*"+a+"=\\s*(.*?)\\s*$"),f=0;f?@AB DEFGHIJKLMNO !\Content-Type]Last-Modified[X-Amz-Cf-IdSAgeSViaVServerTDate^Content-LengthZConnection]Accept-RangesTEtagWX-Cache_application/x-javascript_Sat, 18 Apr 2015 01:29:56 GMT_8XKd90Wo-NTwrpHwELvmGgum3GNOEJOfzjhAw4_PinrMl5vv-LgLpog==U30527_@1.1 9aa63176da96af27728ba1a5368ddfdd.cloudfront.net (CloudFront)XAmazonS3_Sat, 18 Apr 2015 01:46:52 GMTU10192Zkeep-aliveUbytes_""ee088c7176ca20c67c0c941f5df19a8e"_Hit from cloudfront+,jk\NSDictionaryj/'_application/x-javascript+,op_NSHTTPURLResponseqr/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiveruv_WebResourceResponse#-27_e"'2;ADMVXZait #(0Kk)/Tjo|w O'(function(e,n){function t(e){var n,t="";for(n=0;3>=n;n++)t+=V.charAt(15&e>>8*n+4)+V.charAt(15&e>>8*n);return t}function r(e){var n,t=(e.length+8>>6)+1,r=Array(16*t);for(n=0;16*t>n;n++)r[n]=0;for(n=0;e.length>n;n++)r[n>>2]|=e.charCodeAt(n)<<8*(n%4);return r[n>>2]|=128<<8*(n%4),r[16*t-2]=8*e.length,r}function o(e,n){var t=(65535&e)+(65535&n),r=(e>>16)+(n>>16)+(t>>16);return r<<16|65535&t}function u(e,n){return e<>>32-n}function i(e,n,t,r,i,l){return o(u(o(o(n,e),o(r,l)),i),t)}function l(e,n,t,r,o,u,l){return i(n&t|~n&r,e,n,o,u,l)}function a(e,n,t,r,o,u,l){return i(n&r|t&~r,e,n,o,u,l)}function c(e,n,t,r,o,u,l){return i(n^t^r,e,n,o,u,l)}function s(e,n,t,r,o,u,l){return i(t^(n|~r),e,n,o,u,l)}function f(e){var n,u=r(e),i=1732584193,f=-271733879,d=-1732584194,m=271733878;for(n=0;u.length>n;n+=16){var g=i,h=f,p=d,v=m;i=l(i,f,d,m,u[n+0],7,-680876936),m=l(m,i,f,d,u[n+1],12,-389564586),d=l(d,m,i,f,u[n+2],17,606105819),f=l(f,d,m,i,u[n+3],22,-1044525330),i=l(i,f,d,m,u[n+4],7,-176418897),m=l(m,i,f,d,u[n+5],12,1200080426),d=l(d,m,i,f,u[n+6],17,-1473231341),f=l(f,d,m,i,u[n+7],22,-45705983),i=l(i,f,d,m,u[n+8],7,1770035416),m=l(m,i,f,d,u[n+9],12,-1958414417),d=l(d,m,i,f,u[n+10],17,-42063),f=l(f,d,m,i,u[n+11],22,-1990404162),i=l(i,f,d,m,u[n+12],7,1804603682),m=l(m,i,f,d,u[n+13],12,-40341101),d=l(d,m,i,f,u[n+14],17,-1502002290),f=l(f,d,m,i,u[n+15],22,1236535329),i=a(i,f,d,m,u[n+1],5,-165796510),m=a(m,i,f,d,u[n+6],9,-1069501632),d=a(d,m,i,f,u[n+11],14,643717713),f=a(f,d,m,i,u[n+0],20,-373897302),i=a(i,f,d,m,u[n+5],5,-701558691),m=a(m,i,f,d,u[n+10],9,38016083),d=a(d,m,i,f,u[n+15],14,-660478335),f=a(f,d,m,i,u[n+4],20,-405537848),i=a(i,f,d,m,u[n+9],5,568446438),m=a(m,i,f,d,u[n+14],9,-1019803690),d=a(d,m,i,f,u[n+3],14,-187363961),f=a(f,d,m,i,u[n+8],20,1163531501),i=a(i,f,d,m,u[n+13],5,-1444681467),m=a(m,i,f,d,u[n+2],9,-51403784),d=a(d,m,i,f,u[n+7],14,1735328473),f=a(f,d,m,i,u[n+12],20,-1926607734),i=c(i,f,d,m,u[n+5],4,-378558),m=c(m,i,f,d,u[n+8],11,-2022574463),d=c(d,m,i,f,u[n+11],16,1839030562),f=c(f,d,m,i,u[n+14],23,-35309556),i=c(i,f,d,m,u[n+1],4,-1530992060),m=c(m,i,f,d,u[n+4],11,1272893353),d=c(d,m,i,f,u[n+7],16,-155497632),f=c(f,d,m,i,u[n+10],23,-1094730640),i=c(i,f,d,m,u[n+13],4,681279174),m=c(m,i,f,d,u[n+0],11,-358537222),d=c(d,m,i,f,u[n+3],16,-722521979),f=c(f,d,m,i,u[n+6],23,76029189),i=c(i,f,d,m,u[n+9],4,-640364487),m=c(m,i,f,d,u[n+12],11,-421815835),d=c(d,m,i,f,u[n+15],16,530742520),f=c(f,d,m,i,u[n+2],23,-995338651),i=s(i,f,d,m,u[n+0],6,-198630844),m=s(m,i,f,d,u[n+7],10,1126891415),d=s(d,m,i,f,u[n+14],15,-1416354905),f=s(f,d,m,i,u[n+5],21,-57434055),i=s(i,f,d,m,u[n+12],6,1700485571),m=s(m,i,f,d,u[n+3],10,-1894986606),d=s(d,m,i,f,u[n+10],15,-1051523),f=s(f,d,m,i,u[n+1],21,-2054922799),i=s(i,f,d,m,u[n+8],6,1873313359),m=s(m,i,f,d,u[n+15],10,-30611744),d=s(d,m,i,f,u[n+6],15,-1560198380),f=s(f,d,m,i,u[n+13],21,1309151649),i=s(i,f,d,m,u[n+4],6,-145523070),m=s(m,i,f,d,u[n+11],10,-1120210379),d=s(d,m,i,f,u[n+2],15,718787259),f=s(f,d,m,i,u[n+9],21,-343485551),i=o(i,g),f=o(f,h),d=o(d,p),m=o(m,v)}return t(i)+t(f)+t(d)+t(m)}n["true"]=e;var d={};d.hash=function(e){e=e.utf8Encode();var n=[1518500249,1859775393,2400959708,3395469782];e+=String.fromCharCode(128);for(var t=e.length/4+2,r=Math.ceil(t/16),o=Array(r),u=0;r>u;u++){o[u]=Array(16);for(var i=0;16>i;i++)o[u][i]=e.charCodeAt(64*u+4*i)<<24|e.charCodeAt(64*u+4*i+1)<<16|e.charCodeAt(64*u+4*i+2)<<8|e.charCodeAt(64*u+4*i+3)}o[r-1][14]=8*(e.length-1)/Math.pow(2,32),o[r-1][14]=Math.floor(o[r-1][14]),o[r-1][15]=4294967295&8*(e.length-1);var l,a,c,s,f,m=1732584193,g=4023233417,h=2562383102,p=271733878,v=3285377520,y=Array(80);for(u=0;r>u;u++){for(var E=0;16>E;E++)y[E]=o[u][E];for(E=16;80>E;E++)y[E]=d.ROTL(y[E-3]^y[E-8]^y[E-14]^y[E-16],1);for(l=m,a=g,c=h,s=p,f=v,E=0;80>E;E++){var b=Math.floor(E/20),S=4294967295&d.ROTL(l,5)+d.f(b,a,c,s)+f+n[b]+y[E];f=s,s=c,c=d.ROTL(a,30),a=l,l=S}m=4294967295&m+l,g=4294967295&g+a,h=4294967295&h+c,p=4294967295&p+s,v=4294967295&v+f}return d.toHexStr(m)+d.toHexStr(g)+d.toHexStr(h)+d.toHexStr(p)+d.toHexStr(v)},d.f=function(e,n,t,r){switch(e){case 0:return n&t^~n&r;case 1:return n^t^r;case 2:return n&t^n&r^t&r;case 3:return n^t^r}},d.ROTL=function(e,n){return e<>>32-n},d.toHexStr=function(e){for(var n,t="",r=7;r>=0;r--)n=15&e>>>4*r,t+=n.toString(16);return t},String.prototype.utf8Encode===void 0&&(String.prototype.utf8Encode=function(){return unescape(encodeURIComponent(this))}),String.prototype.utf8Decode===void 0&&(String.prototype.utf8Decode=function(){try{return decodeURIComponent(escape(this))}catch(e){return this}}),"undefined"!=typeof module&&module.exports&&(module.exports=d),"function"==typeof define&&define.amd&&define([],function(){return d});var m,g,h,p,v,y,E,b,S,w,A,N,T,_,C,R,x,O,I,B,U,k,M,D,L,H,j,J,P,q,z,Z,Q,F,G,V="0123456789abcdef";k=window._6si=window._6si||[],z="",L=!1,J=[],j="",H={},v=[],B="http://","https:"==document.location.protocol&&(B="https://"),("undefined"==typeof JSON||null==JSON)&&(O=document.createElement("script"),O.type="text/javascript",O.async=!0,O.src=B+"d1lm7kd3bd3yo9.cloudfront.net/json2.min.js",O.onload=function(){return window._6si.push(["clearQueue"])},I=document.getElementsByTagName("script")[0],I.parentNode.insertBefore(O,I)),Z=B+"b.6si.com"+"/v1/img.gif",Q=null,F=31536e7,P=null,q=144e5,U=function(e,n,t){var r;r=new Date,r.setTime(r.getTime()+t),n=encodeURIComponent(n),document.cookie=[e,"=",n,";expires=",r.toGMTString()].join("")},S=function(e){var n,t;return t=RegExp("(?:^|;)\\s?"+e+"(.*?)(?:;|$)","i"),n=t.exec(document.cookie),null==n?null:decodeURIComponent(n[1].substring(1))},N=function(){return j=encodeURIComponent(document.referrer)},_=function(){return(""+1e7+-1e3+-4e3+-8e3+-1e11).replace(/1|0/g,function(){return(0|16*Math.random()).toString(16)})},p=function(){return Q=_(),U("_gd_visitor",Q,F),Q},h=function(){return P=_(),U("_gd_session",P,q),P},C=function(){return null==Q&&(Q=S("_gd_visitor")),null==Q&&(Q=p()),Q},T=function(){return null==P&&(P=S("_gd_session")),null==P&&(P=h()),P},R=function(){var e;return e="undefined"!=typeof JSON&&null!==JSON,e=e&&z.length>0},w=function(){var e=document.getElementsByTagName("title"),n="";return e.length>0&&(n=e[0].innerHTML),n},A=function(e){var n,t;for(t=document.getElementsByTagName("meta"),n=0;t.length>n;){if(t[n].getAttribute("name")==e)return t[n].getAttribute("content");n++}return""},g=function(e){var n;return n=/^([a-zA-Z0-9_.-])+@([a-zA-Z0-9_.-])+\.([a-zA-Z])+([a-zA-Z])+/,e=n.test(e)?!0:!1},m=function(){for(var e={description:A("description"),keywords:A("keywords"),title:w()},n=0;v.length>n;n++){var t=v[n].name;e[t]=A(t)}return e},b=function(e){var n,t,r,o;for(r=0,o="";e.elements.length>r;){n=encodeURIComponent(e.elements[r].name);var u="",i="";g(e.elements[r].value)?(t=d.hash(e.elements[r].value),u=n+"_emaildomain="+e.elements[r].value.split("@")[1],i=n+"_MD5="+f(e.elements[r].value)):t=e.elements[r].value,t=E(t),t=encodeURIComponent(t),"button"!==e.elements[r].type&&"submit"!==e.elements[r].type&&(""!=u?(o+=n+"_Hash"+"="+t,o+=" & "+i,o+=" & "+u):o+=n+"="+t,e.elements.length-2>r&&(o+=" & ")),r++}return o},E=function(e){var n,t,r;return r=RegExp("\\ ","g"),n=RegExp("\\n","g"),t=RegExp("\\r","g"),e=e.replace(r,"").replace(n,"").replace(t,"")},y=function(e){null!=e.href?window.location=e.href:(null!=e.length||null!=e.method||null!=e.elements)&&e.submit()};var Y={setToken:function(e){z=e,Y.clearQueue.apply()},setEndpoint:function(e){Z=B+e+"/v1/beacon/img.gif",G=B+e+"/v1/beacon"},clearQueue:function(){var e,n,t;if(R()){for(n=0,t=J.length;t>n;n++)e=J[n],Y.send.apply(this,e);return J=[]}},setPageAttributes:function(e){H=e},setSessionTimeout:function(e){q=e},enableEventTracking:function(e){L=e},setCustomMetatags:function(e){v=e},send:function(e,n){var t,r,o,u,i,l,a,c;if(!R())return J.push([e,n]),void 0;a=C(),i=T(),u=N();var s=m();o=encodeURIComponent(JSON.stringify(n)),c=encodeURIComponent(JSON.stringify(s)),t=(""+ +new Date).substring(5),l=[Z,"?token=",z,"&visitor=",a,"&session=",i,"&event=",e,"&q=",o,"&m=",c,"&cb=",t,"&r=",u].join(""),r=new Image,r.src=l;var f=document.getElementById(n.id);null==f||null==f.href&&null==f.length&&null==f.method&&null==f.elements||(r.onload=function(){y(f)},r.onerror=function(){y(f)})}},$={push:function(){var e,n,t,r,o;for(r=0,o=arguments.length;o>r;r++){t=arguments[r],e=t.shift();try{if("sendPost"===e&&null===Y.sendPost)throw Error("sendPost is not available in current version");Y[e].apply(this,t)}catch(u){throw"non_object_property_call"==u.type?(n="Command could not be resolved.",Error(n)):u}}},init:function(){for(M=0,D=k.length;D>M;M++)x=k[M],this.push(x);if(this.push(["send","a_pageload",H]),1==L){var e=this,n=document.querySelector("body");if(null!=n){n.addEventListener("click",function(n){n=n||window.event;var t=n.srcElement||n.target;"BODY"==t.parentNode.nodeName&&("FORM"==t.tagName||"VIDEO"==t.tagName||"A"==t.tagName||"OBJECT"==t.tagName||"BUTTON"==t.tagName||"INPUT"==t.tagName)&&e.send(n)},!1);var t=document.querySelectorAll("form");if(null!=t)for(var r=0;t.length>r;r++)t[r].onsubmit=function(n){n?e.send(n):e.send(this)}}var o=document.querySelectorAll("object");if(null!=o)for(var u=0;o.length>u;u++)o[u].addEventListener("mousedown",function(n){e.send(n)},!1);var i=document.querySelectorAll("video");if(null!=i)for(var l=0;i.length>l;l++)i[l].addEventListener("play",function(n){e.send(n)},!1),i[l].addEventListener("loadeddata",function(n){e.send(n)},!1)}},send:function(){var e,n,t,r,o,u=arguments[0];if(u=u||window.event,void 0!=u.type?(n=u.srcElement||u.target,e=n.getAttribute("id"),r=u.type):(e=u.getAttribute("id"),n=u,r="submit"),t="",o="send",null!=n.length||null!=n.method||null!=n.elements)"submit"==r&&u.type&&u.preventDefault(),t=b(n),Y.sendPost&&(o="sendPost");else if(null!=n.href)"click"==u.type&&u.preventDefault(),t=n.href;else if(null!=n.data)t=n.data;else if(null!=n.src||null!=n.controls)if(null==n.src||""==n.src)for(var i=0;n.getElementsByTagName("source").length>i;i++){var l=n.getElementsByTagName("source");t+=l[i].src,n.getElementsByTagName("source").length-1>i&&(t+=",")}else t=n.src;return null==e&&(e=""),this.push([o,r,{id:e,value:t}]),!1}};$.init(),window._6si=$})({},function(){return this}());n :p;<=_text/javascript_https://com-dbox.netmng.com/?aid=3808&siclientid=&ref=http%3A%2F%2Fwww.securusgps.com%2Fgpsaas%2Fpersinfocenter%2Fpershome.aspxObplist00noX$versionX$objectsY$archiverT$top"#)*0123OPQRSTUVWXYZ[\]^_`abcdehiU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 ! $%'(WNS.base[NS.relative_https://com-dbox.netmng.com/?aid=3808&siclientid=&ref=http%3A%2F%2Fwww.securusgps.com%2Fgpsaas%2Fpersinfocenter%2Fpershome.aspx+,-.Z$classnameX$classesUNSURL-/XNSObject#A%%456BNWNS.keysZNS.objects789:;<=>?@A CDEFGHIJKLMVServer\Content-TypeVPragma]Last-ModifiedZSet-CookieWExpiresTDate_Transfer-EncodingSP3P]Cache-ControlZConnectionUnginx_text/javascript; charset=UTF-8Xno-cache_Sun, 19 Apr 2015 05:09:20 GMT_\evo5=wlzsmwqqvdskh%7CFTWMXwOiLD9OOoCBtxMgfaRMfkeWuJ85%2FLDGhwiJopPTlSkyG9OQV2%2F1%2FnE3bCKEff%2BcWM0P%2BYnMOy6Mv6VSSyk2ZBtoff7UgD4GZRqrMMSzV34BVbgWrZcZO4q05u%2FyZpJrOsUVYGgILo1hhr2%2FxD9odcckylWhJt8lultgD%2FkUZbCceCPVkL4ttxJVAVvCr7V%2BlJ8N1jH9jyL4A6mio%2Bts423Rb2%2B9otq6lU9i0a0io6JnZCHLnNNS9uZbEODIVfd0k9r9zPMD1TAPIDU5CnXxUWrImHSoBp8xl6Uxzlv6zdAMxymtb40ihg3QiZdObUMXx1%2FR4jeKFTCIyne%2Fuhrb9MoWEKs110vw9PYkQozcbJ94mBCb3ajRtsbX6gNyQ7oZYXwfD0x%2FDhf2vBTCBBlcU8rM3iKYavD12MhOu66wxMhw70HFXKyNbJuXKIyl64cOl%2FTTP7CK39CEB1l4w8ExItKKxzXJgAzRaelyYc9EGr9bJy1EvZUgatbCII6TfculLSM4X1Z%2FWgzWTsgl5EmPf3kBaN8M4O67nZmgKk7MpDQ63I%2FpGQ4lQjXybuVyBOU%2FHvJNyEpKNVmNJWa1iHidIfjq5ukvAjKifP9xdh3Z9SXEzWDdlIvWLcomTh1xRCsI8pAwg0xVFIpxHmRIjl3Bn%2B9JbXGViiS0Vy0Mty48a8XyoDmNJilGWcMwmURFJ9QaubxUY%2FvcolZUFdHD9Q%3D%3D; expires=Wed, 21-Oct-2015 05:09:20 GMT; path=/; domain=.netmng.com_Sun, 19 Apr 2015 05:09:20 GMT_Tue, 21 Apr 2015 05:09:20 GMTXIdentity_Dpolicyref="/w3c/p3p.xml", CP="NOI DSP COR DEVa PSAa OUR BUS COM NAV"_>no-store, no-cache, must-revalidate, post-check=0, pre-check=0Zkeep-alive+,fg\NSDictionaryf/_text/javascript+,jk_NSHTTPURLResponselm/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverpq_WebResourceResponse#-27\b}fkv'2:?SWepv @`i#(<@TbtwrO~ var nm_mt_rand = '337925386'; var nm_tag_uri = 'https://'; var nm_query_str = 'aid=3808&siclientid=&ref=http%3A%2F%2Fwww.securusgps.com%2Fgpsaas%2Fpersinfocenter%2Fpershome.aspx'; if (document.getElementById && document.createElement && document.body) { var i=document.createElement('IFRAME'); var axel = Math.random() + ''; var a = axel * 10000000000000; i.src='//4727608.fls.doubleclick.net/activityi;src=4727608;type=invmedia;cat=7ltetgda;ord=' + a + '?'; i.width=1; i.height=1; i.frameBorder=0; document.body.appendChild(i); } var i=document.createElement('IMG'); i.src='//cm.g.doubleclick.net/pixel?google_nid=netmng&google_cm&google_sc&google_hm=d2x6c213cXF2ZHNraA==&vid=wlzsmwqqvdskh'; i.width=1; i.height=1; document.body.appendChild(i); var i=document.createElement('IMG'); i.src="https://secure.adnxs.com/pxj?bidder=72&seg=188087&action=setuid('wlzsmwqqvdskh')"; i.width=1; i.height=1; document.body.appendChild(i); var i=document.createElement('IMG'); i.src='//dis.criteo.com/pump/match.aspx?c=10&uid=wlzsmwqqvdskh'; i.width=1; i.height=1; document.body.appendChild(i); var NMFbPb = document.createElement('iframe'); NMFbPb.src = '//com-dbox.netmng.com/piggybacks/fb/'; NMFbPb.width=1; NMFbPb.height=1; NMFbPb.frameBorder=0; document.body.appendChild(NMFbPb); var i=document.createElement('IMG'); i.src='//ums.adtechus.com/mapuser?providerid=1024;userid=wlzsmwqqvdskh'; i.width=1; i.height=1; document.body.appendChild(i); var i=document.createElement('IMG'); i.src='//x.bidswitch.net/sync?dsp_id=14&user_id=wlzsmwqqvdskh&expires=30'; i.width=1; i.height=1; document.body.appendChild(i); var i=document.createElement('IMG'); i.src='https://tapestry.tapad.com/tapestry/1?ta_partner_id=1265&ta_partner_did=wlzsmwqqvdskh&ta_redirect=https%3A%2F%2Ftapad2waycm-atl.netmng.com%2F%3Fid%3D%24%7BIDS%3Akey%7D'; i.width=1; i.height=1; document.body.appendChild(i); n ?p@AB_application/x-javascript_*https://connect.facebook.net/en_US/fbds.jsO0bplist00stX$versionX$objectsY$archiverT$top%#)*0123QRSTUVWXYZ[\]^_`abcdefghilmnU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 "$#$%&'(WNS.base[NS.relative_*https://connect.facebook.net/en_US/fbds.js+,-.Z$classnameX$classesUNSURL-/XNSObject#AH456CPWNS.keysZNS.objects789:;<=>?@AB DEFGHIJKLMNO !\Content-TypeZX-FB-Debug_Content-Encoding[Content-MD5WExpires_Timing-Allow-Origin]Cache-ControlTDate^Content-LengthZConnectionTEtagTVary_'application/x-javascript; charset=utf-8_XtoDIMvlkuLLKI/uKtuB56atKZLAPKxGdkaLPwQFzNPQKSiO+ZIT2owZ5Ho4TW+hX4nwsJ2c71Do1pxw1kc/d1g==Tgzip_6WtfbEc8NnBBGBRUmpJHCg==_Tue, 21 Apr 2015 05:29:19 GMTQ*_public, max-age=1200_Tue, 21 Apr 2015 05:09:19 GMTT1562Zkeep-alive_""995c993dcb5fd314348d99933b200511"_Accept-Encoding+,jk\NSDictionaryj/ _application/x-javascript+,op_NSHTTPURLResponseqr/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiveruv_WebResourceResponse#-27_e$-36?HJLS[fsuwy{})49>h<ALq  w"O /*1429590060,,JIT Construction: v1699252,en_US*/ /** * Copyright Facebook Inc. * * Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ try {(function(a,b,c,d){var e=a._fbq||(a._fbq=[]);if(e.push!==Array.prototype.push)return;var f=/^\d+$/,g='https://www.facebook.com/tr/',h={},i=[],j=c.href,k=b.referrer,l=a.top!==a;function m(v){var w=[];for(var x=0,y=v.length;x':'iframe',ba=b.createElement(aa);ba.src='javascript:false';ba.id=x;ba.name=x;y.appendChild(ba);n(ba,function(){for(var ca=0,da=w.length;ca0;};function p(v,w,x){var y=[];y.push(['id',v]);y.push(['ev',w]);y.push(['dl',j]);y.push(['rl',k]);y.push(['if',l]);y.push(['ts',new Date().valueOf()]);if(x&&typeof x==='object')for(var z in x)if(x.hasOwnProperty(z)){var aa=x[z],ba=(aa===null)?'null':typeof aa;if(ba in {number:1,string:1,boolean:1}){y.push(['cd['+encodeURIComponent(z)+']',aa]);}else if(ba==='object'){aa=(typeof JSON==='undefined')?String(aa):JSON.stringify(aa);y.push(['cd['+encodeURIComponent(z)+']',aa]);}}var ca=m(y);if(1024>(g+'?'+ca).length){var da=new Image();da.src=g+'?'+ca;}else o(g,y);}var q=function(v){if(Object.prototype.toString.call(v)!=='[object Array]')return false;var w=v.shift();if(!w)return false;var x=h[w];if(typeof x!=='function')return false;if(a._fbds){var y=a._fbds.pixelId;if(f.test(y)){i.push(y);delete a._fbds.pixelId;}}return x.apply(h,v);};for(var r=0,s=e.length;r?@ABC EFGHIJKLMNOPQ !"#\Content-Type]Last-Modified[X-Amz-Cf-IdSAgeSViaVServer]Cache-ControlTDate^Content-LengthZConnection]Accept-RangesTEtagWX-Cache_application/x-javascript_Mon, 06 Apr 2015 18:03:29 GMT_8snHzrRTyrGJOd6Xqlse3Y_hXnUEs9Z4UM4GPDaRk4qMge130diIk4A==U56468_@1.1 7627a1aebebf79f7eabcd3e9151af32b.cloudfront.net (CloudFront)XAmazonS3]max-age=86400_Tue, 07 Apr 2015 13:28:07 GMTU23880Zkeep-aliveUbytes_""33d42e9889af541320c0008ffe784790"_Hit from cloudfront+,no\NSDictionaryn/]H_application/x-javascript+,st_NSHTTPURLResponseuv/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiveryz_WebResourceResponse#-27ag'069BKMOV^iwy{},19Tt/5@Fk{ O]H(function(){var TagSettings; TagSettings=function(){function e(a){var b;this.context=a;this.data={};this.cookie_manager=new CookieManager(this.context);this._set_window_options();this._set_cookie_options();a=this.data.custom_group_id;b=this.data.custom_user_id;if(a!=null&&b!=null)this.data.custom_tracking_id=""+a+"="+b;this.data.protocol=this.context.win.location.protocol;this.data.page_url=this.context.win.location.href;this.data.hostname=this.context.win.location.hostname;this.data.referrer=this.context.doc.referrer;this.data.loaded_in_iframe= window.self!==this.context.win.top?true:false}e.options={partner_id:"_bizo_data_partner_id",custom_channel_id:"_bizo_data_partner_channel_id",custom_group_id:"_bizo_data_partner_custom_group_id",custom_user_id:"_bizo_data_partner_custom_user_id",zoom_info_id:"_bizo_data_zi_person_id",title:"_bizo_data_partner_title",domain:"_bizo_data_partner_domain",company:"_bizo_data_partner_company",gender:"_bizo_data_partner_gender",location:"_bizo_data_partner_location",education:"_bizo_data_partner_education", email:"_bizo_data_partner_email",email_sha256:"_bizo_data_partner_email_sha256",email_sha512:"_bizo_data_partner_email_sha512",raw_data:"_bizo_data_partner_raw_data",raw_data_overwrite:"_bizo_data_partner_raw_data_overwrite",encrypted_data:"_bizo_data_partner_encrypted_data",partner_data:"_bizo_data_partner_data",sic_codes:"_bizo_data_partner_sics",employee_range:"_bizo_data_partner_employee_range",default_keywords:"_bizo_ad_default_keywords",order_id:"_bizo_order_id",async_target:"_bizo_data_async_target", use_iframe:"_bizo_data_use_iframe",use_callback:"_bizo_data_partner_use_callback",test_url:"_bizo_data_test_base_url"};e.cookie_options={bizo_id:"_bizo_bzid",bizographics:"BizographicData",checksum:"_bizo_cksm"};e.prototype._set_window_options=function(){return this._set_options(e.options,function(a){return function(b){return a.context.win[b]}}(this))};e.prototype._set_cookie_options=function(){return this._set_options(e.cookie_options,function(a){return function(b){return a.cookie_manager.get(b)}}(this))}; e.prototype._set_option=function(a,b){var c,d;c=ArrayUtil.is_array;return c(b)?this.data[a]=function(){var f,g,h;h=[];f=0;for(g=b.length;f0};return e}();var SiteCodes; SiteCodes=function(){function e(){}e.generate=function(a,b,c){var d,f,g,h,i,j;if(c==null)c=void 0;d=c;b=c!=null&&c.length>0?d.replace(/http:\/\//,""):b;b=b.split(".");h=[];d=b.length;if(d>1){c=i=0;for(j=b.length;id)return true;return false};return a}();var BaseLogger,ConsoleLogger,ErrorLog,LocalLogger,PixelLogger,__slice=[].slice,__hasProp={}.hasOwnProperty,__extends=function(e,a){function b(){this.constructor=e}for(var c in a)if(__hasProp.call(a,c))e[c]=a[c];b.prototype=a.prototype;e.prototype=new b;e.__super__=a.prototype;return e}; ErrorLog=function(){function e(){}e.log=function(){var a,b,c,d,f,g,h;a=arguments[0];b=arguments[1];d=3<=arguments.length?__slice.call(arguments,2):[];h=[];f=0;for(g=d.length;f";return c};e.prototype.to_element=function(){var a,b,c,d;b=this.doc.createElement(this.type);d=this.attributes;for(a in d){c=d[a];this.set_property(b,a,c)}return b};e.prototype.set_invisible= function(){var a;if((a=this.attributes).style==null)a.style={};return this.attributes.style.display="none"};e.prototype.set_property=function(a,b,c){return(!this._is_object(c)?this._set_single_property:this._set_multiple_properties)(a,b,c)};e.prototype._get_style_string=function(a){var b,c,d;c="";for(b in a){d=a[b];c+=""+b+": "+d+"; "}return c};e.prototype._is_object=function(a){return typeof a==="object"};e.prototype._set_single_property=function(a,b,c){return a[b]=c};e.prototype._set_multiple_properties= function(a,b,c){var d,f,g;g=[];for(d in c){f=c[d];g.push(a[b][d]=f)}return g};return e}();var HashUtil;HashUtil=function(){function e(){}e.clone=function(a){return this.merge(a,{})};e.merge=function(a,b){var c;for(c in a)if(a.hasOwnProperty(c)&&b[c]==null)b[c]=a[c];return b};e.merge_copy=function(a,b){return this.merge(a,this.clone(b))};return e}();var CookieManager; CookieManager=function(){function e(a){this.context=a;this.one_day=864E5}e.prototype.get=function(a){var b,c,d,f,g;g=this.context.doc.cookie.split("; ");d=0;for(f=g.length;d0?b.substring(0,Math.min(b.length,c)):b;return this.params[a]=b}};e.prototype.add_all=function(a,b){var c,d,f,g,h;h=[];c=f=0;for(g=b.length;f=d;f=1<=d?++h:--h)i.push("0");return i}());return g};b=function(d,f){if(f==null)f=8;return""+c(f-d.length).join("")+d};e={};e.to_crc32=function(d){var f,g,h,i;if(!(d!=null&& d.length>0))return"";g=0;g=~g;f=h=0;for(i=d.length;h>>8}g=~g;if(g<0)g=4294967295+g+1;return g};e.to_crc32_string=function(d){return b(e.to_crc32(d).toString(16).toUpperCase())};e.generate_checksum=function(d){var f,g,h;f=[];for(g in d){h=d[g];f.push(""+g+"="+h)}return e.to_crc32_string(f.sort().join("&"))};return e}();var PartnerTags; PartnerTags=function(){function e(){}e.fire_partners=function(a,b,c,d,f){var g,h,i,j;if(!(a!=null&&a.length&&a.length>0))return null;j=[];h=0;for(i=a.length;h0)d=f(b);f=d.length;h=[];if(f>1){b=i=0;for(j=d.length;i?@ABCD FGHIJKLMNOPQRS !"#$%\Content-TypeSp3p_Content-Disposition_alternate-protocol_Content-EncodingVServer_x-xss-protectionWExpiresSAge]Cache-ControlTDate^Content-Length_x-content-type-optionsTEtag_text/javascript; charset=UTF-8_mpolicyref="https://www.googleadservices.com/pagead/p3p.xml", CP="NOI DEV PSA PSD IVA IVD OTP OUR OTR IND OTC"_attachment; filename="f.txt"\443:quic,p=1TgzipTcafe]1; mode=block_Tue, 21 Apr 2015 20:36:40 GMTU30760_public, max-age=86400_Mon, 20 Apr 2015 20:36:40 GMTT2955Wnosniff_5399909606642304841+,rs\NSDictionaryr/_text/javascript+,wx_NSHTTPURLResponseyz/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiver}~_WebResourceResponse#-27ci).9BHKT]_ahp{")<DHV[j8EJO]}'+?M_bxzO(function(){var f=this,k=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var e=Object.prototype.toString.call(a);if("[object Window]"==e)return"object";if("[object Array]"==e||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==e||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==b&&"undefined"==typeof a.call)return"object";return b};var l=function(a){l[" "](a);return a};l[" "]=function(){};var m=function(a,b){for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&b.call(void 0,a[e],e,a)};var n=window;var p;a:{var u=f.navigator;if(u){var y=u.userAgent;if(y){p=y;break a}}p=""}var z=function(a){return-1!=p.indexOf(a)};var A=z("Opera")||z("OPR"),C=z("Edge")||z("Trident")||z("MSIE"),D=z("Gecko")&&!(-1!=p.toLowerCase().indexOf("webkit")&&!z("Edge"))&&!(z("Trident")||z("MSIE"))&&!z("Edge"),E=-1!=p.toLowerCase().indexOf("webkit")&&!z("Edge"),F=function(){var a=p;if(D)return/rv\:([^\);]+)(\)|;)/.exec(a);if(C&&z("Edge"))return/Edge\/([\d\.]+)/.exec(a);if(C)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(E)return/WebKit\/(\S+)/.exec(a)}; (function(){if(A&&f.opera){var a=f.opera.version;return"function"==k(a)?a():a}var a="",b=F();b&&(a=b?b[1]:"");return C&&!z("Edge")&&(b=(b=f.document)?b.documentMode:void 0,b>parseFloat(a))?String(b):a})();var G=function(a){this.b=[];this.a={};for(var b=0,e=arguments.length;bMath.random())){var v= Math.random();if(0>v){try{var J=new Uint16Array(1);window.crypto.getRandomValues(J);v=J[0]/65536}catch(ca){v=Math.random()}r=B[Math.floor(v*B.length)];break c}}r=null}r&&""!=r&&q.a.hasOwnProperty(2)&&(q.a[2]=r)}}h=!0}if(h){h="/?";"landing"==a.google_conversion_type&&(h="/extclk?");var K;K=W(e)+"//"+(a.google_remarketing_only?"googleads.g.doubleclick.net":a.google_conversion_domain||"www.googleadservices.com")+"/pagead/"+[a.google_remarketing_only?"viewthroughconversion/":"conversion/",N(a.google_conversion_id), h,"random=",N(a.google_conversion_time)].join("");var ba=d?{visible:1,hidden:2,prerender:3,preview:4}[d.webkitVisibilityState||d.mozVisibilityState||d.visibilityState||""]||0:"0",w;b:{var L=a.google_conversion_language;if(null!=L){var t=L.toString();if(2==t.length){w=P("hl",t);break b}if(5==t.length){w=P("hl",t.substring(0,2))+P("gl",t.substring(3,5));break b}}w=""}b=[P("cv",a.google_conversion_js_version),P("fst",a.google_conversion_first_time),P("num",a.google_conversion_snippets),P("fmt",a.google_conversion_format), P("value",a.google_conversion_value),P("currency_code",a.google_conversion_currency),P("label",a.google_conversion_label),P("oid",a.google_conversion_order_id),P("bg",a.google_conversion_color),w,P("guid","ON"),P("disvt",a.google_disable_viewthrough),P("is_call",a.google_is_call),P("eid",I().join()),T(a),U(e,c,a.google_conversion_date),R(a),V(e,d,a.google_conversion_page_url),a.google_remarketing_for_search&&!a.google_conversion_domain?"&srr=n":"",P("vis",ba)].join("");Z(a,K+b,!0);if(a.google_remarketing_for_search&& !a.google_conversion_domain){var x;x=W(e)+"//www.google.com/ads/user-lists/"+[N(a.google_conversion_id),"/?random=",Math.floor(1E9*Math.random())].join("");x+=[P("label",a.google_conversion_label),P("fmt","3"),V(e,d,a.google_conversion_page_url)].join("");Z(a,x,!1)}g=!0}}catch(da){}b=g}else b=!1;return b};})();  NOPQ_text/javascript_-https://www.google-analytics.com/analytics.jsObplist00stX$versionX$objectsY$archiverT$top%#)*0123QRSTUVWXYZ[\]^_`abcdefghilmnU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1 "$#$%&'(WNS.base[NS.relative_-https://www.google-analytics.com/analytics.js+,-.Z$classnameX$classesUNSURL-/XNSObject#A3*456CPWNS.keysZNS.objects789:;<=>?@AB DEFGHIJKLMNO !\Content-TypeSAge_Content-EncodingVServer_alternate-protocolWExpires]Cache-ControlTDate^Content-Length_x-content-type-optionsTVary]Last-Modified_text/javascriptT1026TgzipVGolfe2\443:quic,p=1_Tue, 21 Apr 2015 06:52:14 GMT_public, max-age=7200_Tue, 21 Apr 2015 04:52:14 GMTU11178Wnosniff_Accept-Encoding_Wed, 08 Apr 2015 20:30:30 GMT+,jk\NSDictionaryj/_text/javascript+,op_NSHTTPURLResponseqr/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiveruv_WebResourceResponse#-27_e'069BKMOV^ivxz|~ 8=K]bgn{$'0BG[_swOc(function(){var aa=encodeURIComponent,f=window,n=Math;function Pc(a,b){return a.href=b} var Qc="replace",q="data",m="match",ja="port",u="createElement",id="setAttribute",da="getTime",A="split",B="location",ra="hasOwnProperty",ma="hostname",ga="search",E="protocol",Ab="href",kd="action",G="apply",p="push",h="hash",pa="test",ha="slice",r="cookie",t="indexOf",ia="defaultValue",v="name",y="length",Ga="sendBeacon",z="prototype",la="clientWidth",jd="target",C="call",na="clientHeight",F="substring",oa="navigator",H="join",I="toLowerCase";var $c=function(a){this.w=a||[]};$c[z].set=function(a){this.w[a]=!0};$c[z].encode=function(){for(var a=[],b=0;b=b[y])wc(a,b,c);else if(8192>=b[y])x(a,b,c)||wd(a,b,c)||wc(a,b,c);else throw ge("len",b[y]),new Da(b[y]);},wc=function(a,b,c){var d=ta(a+"?"+b);d.onload=d.onerror=function(){d.onload=null;d.onerror=null;c()}},wd=function(a,b,c){var d=O.XMLHttpRequest;if(!d)return!1;var e=new d;if(!("withCredentials"in e))return!1;e.open("POST", a,!0);e.withCredentials=!0;e.setRequestHeader("Content-Type","text/plain");e.onreadystatechange=function(){4==e.readyState&&(c(),e=null)};e.send(b);return!0},x=function(a,b,c){if(!O[oa][Ga])return!1;2036>=b[y]&&(a+="?"+b,b="");return O[oa][Ga](a,b)?(c(),!0):!1},ge=function(a,b,c){1<=100*n.random()||Aa("?")||(a=["t=error","_e="+a,"_v=j35","sr=1"],b&&a[p]("_f="+b),c&&a[p]("_m="+K(c[F](0,100))),a[p]("aip=1"),a[p]("z="+fe()),wc(oc()+"/collect",a[H]("&"),ua))};var Ha=function(){this.t=[]};Ha[z].add=function(a){this.t[p](a)};Ha[z].D=function(a){try{for(var b=0;b=100*R(a,Ka))throw"abort";}function Ma(a){if(Aa(P(a,Na)))throw"abort";}function Oa(){var a=M[B][E];if("http:"!=a&&"https:"!=a)throw"abort";} function Pa(a){try{O[oa][Ga]?J(42):O.XMLHttpRequest&&"withCredentials"in new O.XMLHttpRequest&&J(40)}catch(b){}a.set(ld,Td(a),!0);a.set(Ac,R(a,Ac)+1);var c=[];Qa.map(function(b,e){if(e.p){var g=a.get(b);void 0!=g&&g!=e[ia]&&("boolean"==typeof g&&(g*=1),c[p](e.p+"="+K(""+g)))}});c[p]("z="+Bd());a.set(Ra,c[H]("&"),!0)} function Sa(a){var b=P(a,gd)||oc()+"/collect",c=P(a,fa);!c&&a.get(Vd)&&(c="beacon");if(c){var d=P(a,Ra),e=a.get(Ia),e=e||ua;"image"==c?wc(b,d,e):"xhr"==c&&wd(b,d,e)||"beacon"==c&&x(b,d,e)||ba(b,d,e)}else ba(b,P(a,Ra),a.get(Ia));a.set(Ia,ua,!0)}function Hc(a){var b=O.gaData;b&&(b.expId&&a.set(Nc,b.expId),b.expVar&&a.set(Oc,b.expVar))}function cd(){if(O[oa]&&"preview"==O[oa].loadPurpose)throw"abort";}function yd(a){var b=O.gaDevIds;ka(b)&&0!=b[y]&&a.set("&did",b[H](","),!0)} function vb(a){if(!a.get(Na))throw"abort";};var hd=function(){return n.round(2147483647*n.random())},Bd=function(){try{var a=new Uint32Array(1);O.crypto.getRandomValues(a);return a[0]&2147483647}catch(b){return hd()}},fe=hd;function Ta(a){var b=R(a,Ua);500<=b&&J(15);var c=P(a,Va);if("transaction"!=c&&"item"!=c){var c=R(a,Wa),d=(new Date)[da](),e=R(a,Xa);0==e&&a.set(Xa,d);e=n.round(2*(d-e)/1E3);0=c)throw"abort";a.set(Wa,--c)}a.set(Ua,++b)};var Ya=function(){this.data=new ee},Qa=new ee,Za=[];Ya[z].get=function(a){var b=$a(a),c=this[q].get(a);b&&void 0==c&&(c=ea(b[ia])?b[ia]():b[ia]);return b&&b.n?b.n(this,a,c):c};var P=function(a,b){var c=a.get(b);return void 0==c?"":""+c},R=function(a,b){var c=a.get(b);return void 0==c||""===c?0:1*c};Ya[z].set=function(a,b,c){if(a)if("object"==typeof a)for(var d in a)a[ra](d)&&ab(this,d,a[d],c);else ab(this,a,b,c)}; var ab=function(a,b,c,d){if(void 0!=c)switch(b){case Na:wb[pa](c)}var e=$a(b);e&&e.o?e.o(a,b,c,d):a[q].set(b,c,d)},bb=function(a,b,c,d,e){this.name=a;this.p=b;this.n=d;this.o=e;this.defaultValue=c},$a=function(a){var b=Qa.get(a);if(!b)for(var c=0;c=b)){var c=(new Date).getHours(),d=[Bd(),Bd(),Bd()][H](".");a=(3==b||5==b?"https:":"http:")+"//www.google-analytics.com/collect?z=br.";a+=[b,"A",c,d][H](".");var e=1!=b%3?"https:":"http:",e=e+"//www.google-analytics.com/collect?z=br.",e=e+[b,"B",c,d][H](".");7==b&&(e=e[Qc]("//www.","//ssl."));c=function(){4<=b&&6>=b?O[oa][Ga](e,""):ta(e)};Bd()%2?(ta(a),c()):(c(),ta(a))}}};function fc(){var a,b,c;if((c=(c=O[oa])?c.plugins:null)&&c[y])for(var d=0;d=c)&&(c={},Ec(c)||Fc(c))){var d=c[Eb];void 0==d||Infinity==d||isNaN(d)||(0c)a[b]=void 0},Fd=function(a){return function(b){"pageview"!=b.get(Va)||a.I||(a.I=!0,gc(b,function(b){a.send("timing",b)}))}};var hc=!1,mc=function(a){if("cookie"==P(a,ac)){var b=P(a,U),c=nd(a),d=kc(P(a,Yb)),e=lc(P(a,W)),g=1E3*R(a,Zb),ca=P(a,Na);if("auto"!=e)zc(b,c,d,e,ca,g)&&(hc=!0);else{J(32);var l;a:{c=[];e=xa()[A](".");if(4==e[y]&&(l=e[e[y]-1],parseInt(l,10)==l)){l=["none"];break a}for(l=e[y]-2;0<=l;l--)c[p](e[ha](l)[H]("."));c[p]("none");l=c}for(var k=0;k=a&&d[p]({hash:ca[0],R:e[g],O:ca})}return 0==d[y]?void 0:1==d[y]?d[0]:Zc(b,d)||Zc(c,d)||Zc(null,d)||d[0]}function Zc(a,b){var c,d;null==a?c=d=1:(c=La(a),d=La(D(a,".")?a[F](1):"."+a));for(var e=0;ed[y])){c=[];for(var e=0;e=ca[0]||0>=ca[1]?"":ca[H]("x");a.set(rb,c);a.set(tb,fc());a.set(ob,M.characterSet||M.charset);a.set(sb,b&&"function"===typeof b.javaEnabled&&b.javaEnabled()||!1);a.set(nb,(b&&(b.language||b.browserLanguage)||"")[I]());if(d&&a.get(cc)&&(b=M[B][h])){b=b[A](/[?&#]+/);d=[];for(c=0;carguments[y])){var b,c;"string"===typeof arguments[0]?(b=arguments[0],c=[][ha][C](arguments,1)):(b=arguments[0]&&arguments[0][Va],c=arguments);b&&(c=za(qc[b]||[],c),c[Va]=b,this.b.set(c,void 0,!0),this.filters.D(this.b),this.b[q].m={},je(this.b))}};var rc=function(a){if("prerender"==M.visibilityState)return!1;a();return!0};var td=/^(?:(\w+)\.)?(?:(\w+):)?(\w+)$/,sc=function(a){if(ea(a[0]))this.u=a[0];else{var b=td.exec(a[0]);null!=b&&4==b[y]&&(this.c=b[1]||"t0",this.e=b[2]||"",this.d=b[3],this.a=[][ha][C](a,1),this.e||(this.A="create"==this.d,this.i="require"==this.d,this.g="provide"==this.d,this.ba="remove"==this.d),this.i&&(3<=this.a[y]?(this.X=this.a[1],this.W=this.a[2]):this.a[1]&&(qa(this.a[1])?this.X=this.a[1]:this.W=this.a[1])));b=a[1];a=a[2];if(!this.d)throw"abort";if(this.i&&(!qa(b)||""==b))throw"abort";if(this.g&& (!qa(b)||""==b||!ea(a)))throw"abort";if(ud(this.c)||ud(this.e))throw"abort";if(this.g&&"t0"!=this.c)throw"abort";}};function ud(a){return 0<=a[t](".")||0<=a[t](":")};var Yd,Zd,$d;Yd=new ee;$d=new ee;Zd={ec:45,ecommerce:46,linkid:47}; var tc=function(a,b,c){b==N||b.get(V);var d=Yd.get(a);if(!ea(d))return!1;b.plugins_=b.plugins_||new ee;if(b.plugins_.get(a))return!0;b.plugins_.set(a,new d(b,c||{}));return!0},ae=function(a){function b(a){var b=(a[ma]||"")[A](":")[0][I](),c=(a[E]||"")[I](),c=1*a[ja]||("http:"==c?80:"https:"==c?443:"");a=a.pathname||"";D(a,"/")||(a="/"+a);return[b,""+c,a]}var c=M[u]("a");Pc(c,M[B][Ab]);var d=(c[E]||"")[I](),e=b(c),g=c[ga]||"",ca=d+"//"+e[0]+(e[1]?":"+e[1]:"");D(a,"//")?a=d+a:D(a,"/")?a=ca+a:!a||D(a, "?")?a=ca+e[2]+(a||g):0>a[A]("/")[0][t](":")&&(a=ca+e[2][F](0,e[2].lastIndexOf("/"))+"/"+a);Pc(c,a);d=b(c);return{protocol:(c[E]||"")[I](),host:d[0],port:d[1],path:d[2],G:c[ga]||"",url:a||""}};var Z={ga:function(){Z.f=[]}};Z.ga();Z.D=function(a){var b=Z.J[G](Z,arguments),b=Z.f.concat(b);for(Z.f=[];0c;c++){var d=b[c].src;if(d&&0==d[t]("https://www.google-analytics.com/analytics")){J(33);b=!0;break a}}b=!1}b&&(Ba=!0)}Ud()|| Ba||!Ed(new Od)||(J(36),Ba=!0);(O.gaplugins=O.gaplugins||{}).Linker=Dc;b=Dc[z];Yd.set("linker",Dc);X("decorate",b,b.Q,20);X("autoLink",b,b.S,25);Yd.set("displayfeatures",fd);Yd.set("adfeatures",Kd);a=a&&a.q;ka(a)?Z.D[G](N,a):J(50)}};N.k=function(){for(var a=N.getAll(),b=0;b>21:b;return b};})(window); n SpTUV_text/javascript_5https://www.googletagmanager.com/gtm.js?id=GTM-K8WT2RObplist00klX$versionX$objectsY$archiverT$top!#)*0123MNOPQRSTUVWXYZ[\]^_`adefU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1  $%&'(WNS.base[NS.relative_5https://www.googletagmanager.com/gtm.js?id=GTM-K8WT2R+,-.Z$classnameX$classesUNSURL-/XNSObject#Ak 456ALWNS.keysZNS.objects789:;<=>?@ BCDEFGHIJKVServer\Content-Type_alternate-protocolTVaryTDate_Content-Encoding_x-xss-protection^Content-LengthWExpires]Cache-Control_HTTP server (unknown)_text/javascript; charset=UTF-8\443:quic,p=1_Accept-Encoding_Tue, 21 Apr 2015 05:09:19 GMTTgzip]1; mode=blockU24589_Tue, 21 Apr 2015 05:09:19 GMT_private, max-age=914+,bc\NSDictionaryb/_text/javascript+,gh_NSHTTPURLResponseij/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchivermn_WebResourceResponse#-27[a| +4:=FOQSZbmxz|~+Cdq#(<@TbtwoOEz// Copyright 2012 Google Inc. All rights reserved. // Container Version: 151 (function(w,g){w[g]=w[g]||{};w[g].e=function(s){return eval(s);};})(window,'google_tag_manager');(function(){ var P=this,pa=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var d=Object.prototype.toString.call(a);if("[object Window]"==d)return"object";if("[object Array]"==d||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==d||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==b&&"undefined"==typeof a.call)return"object";return b},ra=function(a,b){var d=Array.prototype.slice.call(arguments,1);return function(){var b=d.slice();b.push.apply(b,arguments);return a.apply(this,b)}},sa=null;/* jQuery v1.9.1 (c) 2005, 2012 jQuery Foundation, Inc. jquery.org/license. */ var ta=/\[object (Boolean|Number|String|Function|Array|Date|RegExp)\]/,ua=function(a){if(null==a)return String(a);var b=ta.exec(Object.prototype.toString.call(Object(a)));return b?b[1].toLowerCase():"object"},va=function(a,b){return Object.prototype.hasOwnProperty.call(Object(a),b)},ea=function(a){if(!a||"object"!=ua(a)||a.nodeType||a==a.window)return!1;try{if(a.constructor&&!va(a,"constructor")&&!va(a.constructor.prototype,"isPrototypeOf"))return!1}catch(b){return!1}for(var d in a);return void 0=== d||va(a,d)},wa=function(a,b){var d=b||("array"==ua(a)?[]:{}),c;for(c in a)if(va(a,c)){var e=a[c];"array"==ua(e)?("array"!=ua(d[c])&&(d[c]=[]),d[c]=wa(e,d[c])):ea(e)?(ea(d[c])||(d[c]={}),d[c]=wa(e,d[c])):d[c]=e}return d};var xa=function(){},I=function(a){return"function"==typeof a},Q=function(a){return"[object Array]"==Object.prototype.toString.call(Object(a))},ya=function(a){return"number"==ua(a)&&!isNaN(a)},za=function(a,b){if(Array.prototype.indexOf){var d=a.indexOf(b);return"number"==typeof d?d:-1}for(var c=0;cb)a=0,b=2147483647;return Math.round(Math.random()*(b-a)+a)},Da=function(){this.prefix="gtm.";this.values={}};Da.prototype.set=function(a,b){this.values[this.prefix+a]=b};Da.prototype.get=function(a){return this.values[this.prefix+a]};Da.prototype.contains=function(a){return void 0!==this.get(a)}; var Fa=function(a,b,d){try{return a["25"](a,b||xa,d||xa)}catch(c){}return!1},Ga=function(a,b){function d(b,c){a.contains(b)||a.set(b,[]);a.get(b).push(c)}for(var c=Aa(b).split("&"),e=0;ef?d(c[e],"1"):d(c[e].substring(0,f),c[e].substring(f+1))}},Ha=function(a){var b=a?a.length:0;return 0Oa){Oa++;try{O.documentElement.doScroll("left"),Na()}catch(a){A.setTimeout(Pa,50)}}},Ra=function(a){var b=O.getElementById(a);if(b&&Qa(b,"id")!=a)for(var d=1;d"+a+"
    ";for(var b=b.lastChild,d=[];b.firstChild;)d.push(b.removeChild(b.firstChild));return d},Va=function(a,b){for(var d={},c=0;cc;c++)e=e.parentElement;e&&!d[String(e.tagName).toLowerCase()]&&(e=null);return e},Wa=!1,Xa=[],Ya=function(){if(!Wa){Wa=!0;for(var a=0;ad?"":b.substring(d+1)},ma=function(a){window.console&&window.console.log&&window.console.log(a)};var $a=new Da,ab={},cb={set:function(a,b){wa(bb(a,b),ab)},get:function(a){return G(a,2)},reset:function(){$a=new Da;ab={}}},G=function(a,b){if(2==b){for(var d=ab,c=a.split("."),e=0;eza(b,g.a))if(g.b&&0za(b,g.b[l])){h= !1;break a}}else{h=!1;break a}h=!0}var m=!1;if(d){var k;if(!(k=0<=za(c,g.a)))a:{for(var p=g.b||[],r=new Da,t=0;t=lb){jb=!1;break a}}jb=!!O.querySelectorAll}var ib=jb;var mb=function(a,b,d,c,e){var f,g=(a.protocol.replace(":","")||A.location.protocol.replace(":","")).toLowerCase();switch(b){case "protocol":f=g;break;case "host":f=(a.hostname||A.location.hostname).split(":")[0].toLowerCase();if(d){var h=/^www\d*\./.exec(f);h&&h[0]&&(f=f.substr(h[0].length))}break;case "port":f=String(1*(a.hostname?a.port:A.location.port)||("http"==g?80:"https"==g?443:""));break;case "path":f="/"==a.pathname.substr(0,1)?a.pathname:"/"+a.pathname;var l=f.split("/");0<=za(c||[],l[l.length- 1])&&(l[l.length-1]="");f=l.join("/");break;case "query":f=a.search.replace("?","");if(e)a:{for(var m=f.split("&"),k=0;kF().getTime()-d&&A.setTimeout(Ub(a,b,d),25)))}},Wb=function(a,b,d){return function(){if(b.simulateDefault)if(b.targetWindow){var c; b.targetWindowName&&(c=a.target,a.target=b.targetWindowName);O.gtmSubmitFormNow=!0;Yb(a).call(a);b.targetWindowName&&(a.target=c)}else d=d||F().getTime(),500>F().getTime()-d&&A.setTimeout(Wb(a,b,d),25)}},Pb=function(a,b){for(var d=[],c=0;cc)&&(a.wt=c);a[b?d?"wc":"wnc":d?"nwc":"nwnc"][f]=!0},Rb=function(a,b){if(b.wnc["0"]|| b.wc["0"])return!0;for(var d=0;d<$b.length;d++)if(a.passingRules[d]){var c=$b[d],e=ac[d],f=e&&e[0]&&e[0][0]||e[1]&&e[1][0];if(f&&"0"!=f&&(b.wc[f]||b.wnc[f]))for(var g=c[1],h=0;hb)return!1;if(0==b)return!0;var d=ob(a);return Kb==nb(d)},Yb=function(a){try{if(a.constructor&&a.constructor.prototype)return a.constructor.prototype.submit}catch(b){}if(a.gtmReplacedFormSubmit)return a.gtmReplacedFormSubmit; O.gtmFormElementSubmitter||(O.gtmFormElementSubmitter=O.createElement("form"));return O.gtmFormElementSubmitter.submit.call?O.gtmFormElementSubmitter.submit:a.submit};var jc=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},kc=function(a,b){return ab?1:0};var W;a:{var lc=P.navigator;if(lc){var mc=lc.userAgent;if(mc){W=mc;break a}}W=""};var nc=function(){return-1!=W.indexOf("Edge")};var oc=-1!=W.indexOf("Opera")||-1!=W.indexOf("OPR"),X=-1!=W.indexOf("Edge")||-1!=W.indexOf("Trident")||-1!=W.indexOf("MSIE"),pc=-1!=W.indexOf("Gecko")&&!(-1!=W.toLowerCase().indexOf("webkit")&&!nc())&&!(-1!=W.indexOf("Trident")||-1!=W.indexOf("MSIE"))&&!nc(),qc=-1!=W.toLowerCase().indexOf("webkit")&&!nc(),rc=function(){var a=W;if(pc)return/rv\:([^\);]+)(\)|;)/.exec(a);if(X&&nc())return/Edge\/([\d\.]+)/.exec(a);if(X)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(qc)return/WebKit\/(\S+)/.exec(a)}, sc=function(){var a=P.document;return a?a.documentMode:void 0},tc=function(){if(oc&&P.opera){var a=P.opera.version;return"function"==pa(a)?a():a}var b="",d=rc();d&&(b=d?d[1]:"");if(X&&!nc()){var c=sc();if(c>parseFloat(b))return String(c)}return b}(),uc={},vc=function(a){var b;if(!(b=uc[a])){for(var d=0,c=jc(String(tc)).split("."),e=jc(String(a)).split("."),f=Math.max(c.length,e.length),g=0;0==d&&g'+d);var c=" n! "#_A/-->_khttps://4727608.fls.doubleclick.net/activityi;src=4727608;type=invmedia;cat=7ltetgda;ord=3580993206705.898?O _Mhttps://www.facebook.com/fr/u.php?p=161118757345490&m=wlzsmwqqvdskh&t=1296000Obplist00noX$versionX$objectsY$archiverT$top"#)*0123OPQRSTUVWXYZ[\]^_`abcdehiU$null  !"R$6S$10R$2R$7R$3S$11R$8V$classR$4R$9R$0R$5R$1  !$%&'(WNS.base[NS.relative_Mhttps://www.facebook.com/fr/u.php?p=161118757345490&m=wlzsmwqqvdskh&t=1296000+,-.Z$classnameX$classesUNSURL-/XNSObject#ASq456BNWNS.keysZNS.objects789:;<=>?@A CEFGHIJKLM_x-content-type-options\Content-TypeVPragma_Strict-Transport-SecurityTVaryTDate_Content-EncodingZx-fb-debug_x-xss-protection]Cache-ControlWExpiresWnosniffYimage/gifVpublic_max-age=15552000; preload_Accept-Encoding_Mon, 20 Apr 2015 22:09:20 PDTTgzip_XWnmcVugtFOwbm82sC5usKOBeVr8wc7ldRMdQATKRT+H0weHgc7Z8+a2QqmMwLshZaGmV0DKFeXzMOFk5ODanWw==Q0_public, max-age=0_Mon, 20 Apr 2015 22:09:20 PDT+,fg\NSDictionaryf/++,jk_NSHTTPURLResponselm/_NSHTTPURLResponse]NSURLResponse_NSKeyedArchiverpq_WebResourceResponse#-27\b}49DMSV_hjls{2=P^fnx-/CchuxzrO+GIF89a!,D;n! "#_A/-->_*https://com-dbox.netmng.com/piggybacks/fb/Ofb'9O*3p1Z   ) mmnsrZk7s77=8-g gg[m"3}@G  A  o ǐ ǡ Ͳ   X  ( (" (= ( . D L*;V)))*J0E{H{Y{t{ ~3Hfx~1a`LRLcL~LR4E`TTTU[rrs s]y^arrL,L=LXLRUUUV:\0pppppwxqxxy73D_izfwʒ+a+r+,2=VVVWS]X~~~AG"}"""" #3#4 #4'#4#:%"4%"E%"`%"%(3333U3Y>2>2>2>3 >8>G~>G>G>G>M>M>M>NI>T>Z>Z>d?'?s?s??@@@RAyAAB{C$DJDJDD2E E )Ep[E|F#QF#bF|FG8G8GpGGԫGԼGGHH&"H&3H&}H+5HBHBHCHI5JJJJuJJJJJJJJJJJQkQkQkQlQl'Ql@Ql^QqQcQtQQQQQQQ8QSQ'Q<QNQQgQQQQFQzQkQ|QQQRMKRM`RMrRMRSLRrRr%Rr7RrgRw'RR+R=RuRT%T%T%T%T+T/XT/mT/T/T5GT^T^T_T_&TdTTTT>TkT|TT9TgTxTTTTTHT;TiTzT$TTTTTTT;TPTbT TTTTT T:TOTԅTT|TTTTTMTTTT/TTmTTTU!U@