(function(){var C,a,s,x,d,w,e,f,n,j,y,k,o,m,p,t,v,c,i,q,r,h,l,B,A,z,g,u=[].slice,b=[].indexOf||function(F){for(var E=0,D=this.length;E=0||F.className.indexOf("dropbox-dropin-default")>=0||F.className.indexOf("dropbox-dropin-disabled")>=0)){return}H=(typeof D.files==="function"?D.files():void 0)||D.files;if(!(H!=null?H.length:void 0)){F.className="dropbox-dropin-btn dropbox-dropin-error";if(typeof D.error==="function"){D.error("Missing files")}return}Dropbox.save({files:H,success:function(){F.className="dropbox-dropin-btn dropbox-dropin-success";if(typeof D.success==="function"){D.success()}},progress:function(I){F.className="dropbox-dropin-btn dropbox-dropin-progress";if(typeof D.progress==="function"){D.progress(I)}},cancel:function(){if(typeof D.cancel==="function"){D.cancel()}},error:function(I){F.className="dropbox-dropin-btn dropbox-dropin-error";if(typeof D.error==="function"){D.error(I)}}})});return F};q=function(E,D){return"background: "+E+";\nbackground: -moz-linear-gradient(top, "+E+" 0%, "+D+" 100%);\nbackground: -webkit-linear-gradient(top, "+E+" 0%, "+D+" 100%);\nbackground: linear-gradient(to bottom, "+E+" 0%, "+D+" 100%);\nfilter: progid:DXImageTransform.Microsoft.gradient(startColorstr='"+E+"', endColorstr='"+D+"',GradientType=0);"};j=document.createElement("style");j.type="text/css";y='@-webkit-keyframes rotate {\n from { -webkit-transform: rotate(0deg); }\n to { -webkit-transform: rotate(360deg); }\n}\n\n@keyframes rotate {\n from { transform: rotate(0deg); }\n to { transform: rotate(360deg); }\n}\n\n.dropbox-dropin-btn, .dropbox-dropin-btn:link, .dropbox-dropin-btn:hover {\n display: inline-block;\n height: 14px;\n font-family: "Lucida Grande", "Segoe UI", "Tahoma", "Helvetica Neue", "Helvetica", sans-serif;\n font-size: 11px;\n font-weight: 600;\n color: #636363;\n text-decoration: none;\n padding: 1px 7px 5px 3px;\n border: 1px solid #ebebeb;\n border-radius: 2px;\n border-bottom-color: #d4d4d4;\n '+(q("#fcfcfc","#f5f5f5"))+"\n}\n\n.dropbox-dropin-default:hover, .dropbox-dropin-error:hover {\n border-color: #dedede;\n border-bottom-color: #cacaca;\n "+(q("#fdfdfd","#f5f5f5"))+"\n}\n\n.dropbox-dropin-default:active, .dropbox-dropin-error:active {\n border-color: #d1d1d1;\n box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);\n}\n\n.dropbox-dropin-btn .dropin-btn-status {\n display: inline-block;\n width: 15px;\n height: 14px;\n vertical-align: bottom;\n margin: 0 5px 0 2px;\n background: transparent url('/static/images/widgets/dbx-saver-status.png') no-repeat;\n position: relative;\n top: 2px;\n}\n\n.dropbox-dropin-default .dropin-btn-status {\n background-position: 0px 0px;\n}\n\n.dropbox-dropin-progress .dropin-btn-status {\n width: 18px;\n margin: 0 4px 0 0;\n background: url('/static/images/widgets/dbx-progress.png') no-repeat center center;\n -webkit-animation-name: rotate;\n -webkit-animation-duration: 1.7s;\n -webkit-animation-iteration-count: infinite;\n -webkit-animation-timing-function: linear;\n animation-name: rotate;\n animation-duration: 1.7s;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n}\n\n.dropbox-dropin-success .dropin-btn-status {\n background-position: -15px 0px;\n}\n\n.dropbox-dropin-disabled {\n background: #e0e0e0;\n border: 1px #dadada solid;\n border-bottom: 1px solid #ccc;\n box-shadow: none;\n}\n\n.dropbox-dropin-disabled .dropin-btn-status {\n background-position: -30px 0px;\n}\n\n.dropbox-dropin-error .dropin-btn-status {\n background-position: -45px 0px;\n}\n\n@media only screen and (-webkit-min-device-pixel-ratio: 1.4) {\n .dropbox-dropin-btn .dropin-btn-status {\n background-image: url('/static/images/widgets/dbx-saver-status-2x.png');\n background-size: 60px 14px;\n -webkit-background-size: 60px 14px;\n }\n\n .dropbox-dropin-progress .dropin-btn-status {\n background: url('/static/images/widgets/dbx-progress-2x.png') no-repeat center center;\n background-size: 20px 20px;\n -webkit-background-size: 20px 20px;\n }\n}\n\n.dropbox-saver:hover, .dropbox-chooser:hover {\n text-decoration: none;\n cursor: pointer;\n}\n\n.dropbox-chooser, .dropbox-dropin-btn {\n line-height: 11px !important;\n text-decoration: none !important;\n box-sizing: content-box !important;\n -webkit-box-sizing: content-box !important;\n -moz-box-sizing: content-box !important;\n}\n";if(j.styleSheet){j.styleSheet.cssText=y}else{j.textContent=y}document.getElementsByTagName("head")[0].appendChild(j);setTimeout(f,0);a=function(){if(document.removeEventListener){document.removeEventListener("DOMContentLoaded",a,false)}else{if(document.detachEvent){document.detachEvent("onreadystatechange",a)}}return v()};if(document.readyState==="complete"){setTimeout(a,0)}else{if(document.addEventListener){document.addEventListener("DOMContentLoaded",a,false)}else{document.attachEvent("onreadystatechange",a)}}Dropbox.VERSION="2";v=function(){var F,G,E,D;D=document.getElementsByTagName("a");for(G=0,E=D.length;G=0){(function(H){Dropbox.createSaveButton({files:function(){return[{url:H.getAttribute("data-url")||H.href,filename:H.getAttribute("data-filename")||k(H.pathname)}]}},H)})(F)}}}}).call(this);