Asset fixes (#238)

* Fixed fonts

* Fixed assets

* Fixed logo in emails

* Switched to immediate email delivery

* Fixed prod emails and added deployment tasks

* Fixed deployments
This commit is contained in:
Godwin
2017-07-23 09:35:23 -07:00
committed by GitHub
parent a359aa23fb
commit 5ddea7550d
170 changed files with 89 additions and 3872 deletions
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 B

File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

-12
View File
@@ -1,12 +0,0 @@
/*!CK:3089063844!*//*1427208085,*/
if (self.CavalryLogger) { CavalryLogger.start_js(["hh6C7"]); }
__d("BrowseGroupResult",["Event"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();function h(){}h.toggle=function(i,j,k){g.listen(j,'click',function(){k.toggle();i.hideFlyout();});};e.exports=h;},null);
__d("GroupBrowseCompactHover",["CSS","Event","cx"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j={handle_hover:function(k){h.listen(k,'mouseover',function(){g.addClass(k,"_4awp");});h.listen(k,'mouseout',function(){g.removeClass(k,"_4awp");});}};e.exports=j;},null);
__d("AsyncDOM",["CSS","DOM"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={invoke:function(j,k){for(var l=0;l<j.length;++l){var m=j[l],n=m[0],o=m[1],p=m[2],q=m[3],r=(p&&k)||null;if(o)r=h.scry(r||document.documentElement,o)[0];switch(n){case 'eval':(new Function(q)).apply(r);break;case 'hide':g.hide(r);break;case 'show':g.show(r);break;case 'setContent':h.setContent(r,q);break;case 'appendContent':h.appendContent(r,q);break;case 'prependContent':h.prependContent(r,q);break;case 'insertAfter':h.insertAfter(r,q);break;case 'insertBefore':h.insertBefore(r,q);break;case 'remove':h.remove(r);break;case 'replace':h.replace(r,q);break;default:}}}};e.exports=i;},null);
__d("AsyncFormRequestUtils",["Arbiter"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={subscribe:function(i,j,k){g.subscribe('AsyncRequest/'+j,function(l,m){var n=m.request.relativeTo;if(n&&n===i)k(m);});}};e.exports=h;},null);
__d("EmbedLikeButton",["AsyncFormRequestUtils","ClientIDs","CSS","DOM","DOMQuery","Event","Form"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();window.resetConfirmStoryLike=function(o){i.show(k.find(document,'#likeStory_'+o));j.remove(k.find(document,'#confirmStory_'+o));};var n={addClientId:function(o){o.setAttribute('value',h.getNewClientID());},init:function(o,p,q,r){var s=function(t){return m.bootstrap(r);};l.listen(o,'click',s);l.listen(p,'click',s);g.subscribe(r,'send',function(t){var u=q.getAttribute('value')==='1';if(u){i.hide(o);i.show(p);}else{i.hide(p);i.show(o);}q.setAttribute('value',u?'':'1');});}};e.exports=n;},null);
__d("PluginEmbedConnectButton",["Arbiter","CSS","DOM","Plugin"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k={init:function(l,m){g.subscribe(j.ERROR,function(event,n){i.setContent(m,n.content);h.show(m);h.hide(l);});g.subscribe(j.CONNECT,function(event,n){h.show(l);h.hide(m);});},autoconnect:function(l,m){l.click();}};e.exports=k;},null);
__d("MorePagerFetchOnScroll",["AsyncRequest","DOMQuery","Event","Style","Vector","throttle"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();var m={};function n(o,p){"use strict";this._pager=o;this._offset=p||0;this._scrollParent=j.getScrollParent(o);this.setPagerInViewHandler(this._defaultPagerInViewHandler.bind(this));this._hasEventHandlers=false;if(!this.check()){this._scrollListener=i.listen(this._scrollParent,'scroll',l(function(){this.check();}.bind(this),50));this._clickListener=i.listen(this._scrollParent,'click',l(function(){this.check();}.bind(this),50));this._hasEventHandlers=true;}m[o.id]=this;}n.prototype.check=function(){"use strict";if(!h.contains(document.body,this._pager)){this.removeEventListeners();return true;}var o=k.getElementPosition(this._pager).y,p=this._scrollParent===window?k.getViewportDimensions().y:k.getElementDimensions(this._scrollParent).y,q=this._scrollParent===window?k.getScrollPosition().y+p:k.getElementPosition(this._scrollParent).y+p;if(o-this._offset<q){this._inViewHandler();this.removeEventListeners();return true;}return false;};n.prototype.removeEventListeners=function(){"use strict";if(this._hasEventHandlers){this._scrollListener&&this._scrollListener.remove();this._clickListener&&this._clickListener.remove();this._hasEventHandlers=false;}};n.prototype.setPagerInViewHandler=function(o){"use strict";this._inViewHandler=o;return this;};n.prototype._defaultPagerInViewHandler=function(){"use strict";var o=h.scry(this._pager,'a')[0];if(o)g.bootstrap(o.getAttribute('ajaxify')||o.href,o);};n.getInstance=function(o){"use strict";return m[o];};e.exports=n;},null);
__d("PluginLikebox",["AsyncDOM","AsyncRequest","CSS","DOMEvent","DOMEventListener","DOMQuery","EmbedLikeButton","Event","MorePagerFetchOnScroll","PlatformWidgetEndpoint","Popup","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){b.__markCompiled&&b.__markCompiled();var s=3;function t(u,v,w){this.stream_id=u;this.force_wall=v;this.width=w;this.retries=0;this.load();k.add(l.find(document.body,'.pluginLikeboxStream'),'click',function(x){var y=new j(x),z=y.target.parentNode;if(i.hasClass(z,'text_exposed_link')){y.kill();i.addClass(l.find(z,'^.text_exposed_root'),'text_exposed');}var aa=y.target.href?y.target:y.target.parentNode.href?y.target.parentNode:null;if(aa&&aa.pathname==='/sharer/sharer.php'){y.kill();q.open(aa.href,670,340);}});}r(t.prototype,{load:function(u){new h().setMethod('GET').setURI(p.plugins('likebox','stream')).setData({id:this.stream_id,dom:u?'pluginLikeboxMoreStories':'pluginLikeboxStream',force_wall:this.force_wall,nobootload:1,inlinecss:1,max_timestamp:u,width:this.width}).setReadOnly(true).setErrorHandler(function(){}).setHandler(this.handleResponse.bind(this)).setRequestHeader('X-ALT-REFERER',document.referrer).send();},handleResponse:function(u){if(u.inlinecss){var v=document.createElement('style');v.setAttribute("type","text/css");document.getElementsByTagName('head')[0].appendChild(v);if(v.styleSheet){v.styleSheet.cssText=u.inlinecss;}else v.appendChild(document.createTextNode(u.inlinecss));}g.invoke(u.domops);(function(){var z=l.scry(document.body,'.embeddedForm'),aa='embeddedProcessed';z.map(function(ba){if(!i.hasClass(ba,aa)){var ca=l.find(ba,'.embeddedLikeButton'),da=l.find(ba,'.embeddedUnlikeButton');l.scry(ca,'a').concat(l.scry(da,'a')).forEach(function(ea){n.listen(ea,'click',function(fa){fa.preventDefault();});});m.addClientId(l.find(ba,'input[name="client_id"]'));m.init(ca,da,l.find(ba,'input[name="like_action"]'),ba);i.addClass(ba,aa);}});})();var w=l.scry(document.body,"#pluginLikeboxMoreStories a");if(!w.length)return;w=w[0];var x=function(){this.load(parseInt(w.getAttribute('data-timestamp'),10));var z=l.find(w.parentNode,'.uiMorePagerLoader');i.addClass(z,'uiMorePagerPrimary');i.removeClass(z,'uiMorePagerLoader');i.hide(w);}.bind(this);k.add(w,'click',function(z){new j(z).kill();x();});new o(w,0).setPagerInViewHandler(x);var y=parseInt(w.getAttribute('data-storycount'),10);if(y===0){if(this.retries<=s){this.retries++;x();}else i.hide(w);}else this.retries=0;return h.suppressOnloadToken;}});e.exports=t;},null);
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1020 B

@@ -1,7 +0,0 @@
/*!CK:4026123917!*//*1421114453,*/
.fbFlyoutDialog .tickerDialogBody{width:413px}.fbFlyoutDialog .tickerDialogSmall{width:323px}.fbFlyoutDialog .uiScrollableArea.contentAfter:after{background-color:rgba(0, 0, 0, .12)}.fbFlyoutDialog .uiScrollableAreaContent{padding:2px}.fbFlyoutDialog .commentable_item .uiScrollableAreaContent{padding-bottom:0}.fbFlyoutDialog .fbUfi{padding-top:0;width:auto}.fbFlyoutDialog .tickerHide{float:right;margin:5px 10px 0 0}.fbFlyoutDialog .fbExpandedStreamAction .tickerHide{float:none;margin:5px 0 0 0}.fbFlyoutDialog .uiStream .tickerHide{margin:0 17px 0 0}.fbFlyoutDialog .fbExpandedStreamAction{margin-right:-2px;margin-top:-5px;text-align:right}.fbFlyoutDialog .tickerUfiAction{background-color:#e9eaed;border-bottom:1px solid #d2d9e7;margin-top:1px;padding:5px 8px}.fbFlyoutDialog .UIActionLinks_bottom a,.fbFlyoutDialog .UIActionLinks_bottom button.as_link,.fbFlyoutDialog .UIActionLinks_bottom .uiLinkButton input,.fbFlyoutDialog .UIActionLinks_bottom .uiLinkButton input:hover{color:#3b5998}.fbFlyoutDialog .tickerPhotoActionWrapper{position:absolute;right:5px;top:5px}div.tickerHide .uiSelectorButton{background-image:url(/rsrc.php/v2/yM/r/WsHJKsNy2lp.png);background-position:left top;border:0 !important;height:15px;left:-9999px;position:relative;width:17px}div.tickerHide .uiSelectorButton:hover{background-position:-17px top}div.tickerHide .uiSelectorButton:active,div.openToggler.tickerHide .uiSelectorButton{background-position:-34px top !important}div.openToggler.tickerHide .uiSelectorButton,.fbFlyoutDialog div.tickerHide .uiSelectorButton{left:auto}.fbFlyoutDialog .tickerDialogFooter{background-color:#e9eaed;border-top:1px solid #fff;padding:5px 5px 5px 8px}.fbFlyoutDialog .fbProfileByline{width:100%}.fbFlyoutDialog .fbProfileBylineFragment{display:block}.fbFlyoutDialog .tickerCheckinMap{margin-bottom:-3px}.fbFlyoutDialog .tickerCheckinMapBorder{width:376px}.fbFlyoutDialog .uiStreamInlineTextarea{height:14px;width:100%}.fbFlyoutDialog h2{font-size:14px}.fbFlyoutDialog .tickerFullPhoto i{width:409px}.fbFlyoutDialog .tickerFullPhoto,.fbFlyoutDialog .tickerFullPhoto:hover{background-color:#e9eaed;border:none;padding:0}.fbFlyoutDialog .photoWrapper{background-color:#e9eaed;border-bottom:1px solid #ccc;overflow:hidden;text-align:center}.fbFlyoutDialog .videoWrapper{background-color:#e9eaed;overflow:hidden;text-align:center}.fbFlyoutDialog .videoWrapper a{display:block;min-height:50px}.fbFlyoutDialog .tickerVideo{margin:0 auto}.fbFlyoutDialog .videoWrapper .uiVideoThumb img{background:no-repeat 50% 50%;max-height:310px;max-width:413px}.fbFlyoutDialog .songTitleWrapper{border-bottom:1px solid #e9e9e9;margin:0 8px;padding:5px 0}.fbFlyoutDialog .uiStreamStory .uiStreamAttachments,.fbFlyoutDialog .uiStreamStory .largePhoto img{max-width:266px;height:auto}.fbFlyoutDialog .fbQuestionsReplyComposer{width:298px}.fbFlyoutDialog .tickerQuestionsAnswers .fbEigenpollRow .fbEigenpollFacepile,.fbFlyoutDialog .tickerQuestionsAnswers .pollOptions .pollResultsFacepile{width:111px}.fbFlyoutDialog .tickerQuestionsAnswers .fbEigenpollRow{width:375px}.fbFlyoutDialog .tickerQuestionsAnswers .fbFlyoutDialog .fbEigenpollRow .fbEigenpollFacepile,.fbFlyoutDialog .tickerQuestionsAnswers .fbFlyoutDialog .pollOptions .pollResultsFacepile{width:112px}.fbFlyoutDialog li.ufiNub{display:none !important}.tickerDialogBody .uiUfi .ufiItem{padding:5px 8px}.tickerDialogBody .uiUfi .uiUfiUnseenItem{border-left:4px solid #a8b2ce;padding-left:4px}.fbFlyoutDialog .tickerDialogContent .nuxStoryTitle{margin-bottom:3px}.fbFlyoutDialog .tickerDialogContent .nuxStoryIcon{margin-top:3px}.flyoutChatButtonOnline,.flyoutChatButtonOffline{display:none}.chatOnline .flyoutChatButtonOnline,.chatOffline .flyoutChatButtonOffline{display:inline-block}.tickerDialogError{word-break:break-word}
.pymkAttachmentList>li{margin-top:2px}.pymkAttachment{display:inline;outline:none}.pymkAttachmentWithBorder{border-bottom:1px solid #e9e9e9;padding-bottom:15px}
#bootloader_M1hBo { height: 42px; }
.bootloader_M1hBo { display:block !important; }
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

File diff suppressed because one or more lines are too long
@@ -1,8 +0,0 @@
/*!CK:840576157!*//*1395021162,178158925*/
._gxb{position:relative}._3r8x._52nd,._gxb:hover ._5859,._gxa._52nd{opacity:1;visibility:visible}
._4q1{padding:10px}
._4q3{display:block;position:relative}._4q4{display:block;line-height:0}._5ok:after{border:1px solid rgba(0, 0, 0, .1);bottom:0;content:'';left:0;position:absolute;right:0;top:0}
#bootloader_tKv6W { height: 42px; }
.bootloader_tKv6W { display:block !important; }
File diff suppressed because one or more lines are too long
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1010 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

File diff suppressed because one or more lines are too long
-14
View File
@@ -1,14 +0,0 @@
/*!CK:744403774!*//*1427086740,*/
if (self.CavalryLogger) { CavalryLogger.start_js(["SrgWn"]); }
__d("StarsRatableBase",["Event","Arbiter","CSS","DOM","Parent","Run","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();function n(o,p,q,r){this.root=o;this.freezeOnClick=p;this.stars=j.scry(o,'a');this.listeners=[g.listen(this.root,'click',this._onClick.bind(this)),g.listen(this.root,'mousemove',this._onMouseMove.bind(this)),g.listen(this.root,'mouseout',this._onMouseOut.bind(this))];this.holdMouseMove=false;this.setRating(q);this.layerHides=0;if(r)h.subscribe('layer_hidden',function(){this.layerHides++;if(this.layerHides>=2)this.setRating(0);}.bind(this));l.onLeave(this.destroyListeners.bind(this));}n.init=function(o,p,q,r){return new n(o,p,q,r);};m(n.prototype,{_onClick:function(event){this.layerHides=0;var o=this._getStarIndexFromEvent(event);if(!o)return;this.setRating(o);if(this.freezeOnClick){this.freeze();}else this.holdMouseMove=true;event.prevent();},_onMouseMove:function(event){if(this.holdMouseMove)return;var o=this._getStarIndexFromEvent(event);if(!o)return;this.setStars(o,true);},_onMouseOut:function(event){this.holdMouseMove=false;this.updateStars();},_getStarIndexFromEvent:function(event){var o=k.byTag(event.getTarget(),'a');if(o)return this.stars.indexOf(o)+1;return 0;},setRating:function(o){this._rating=o;this.updateStars();},updateStars:function(){this.setStars(this._rating);},setStars:function(o,p){var q=p?'hoverStar':'fullStar',r=p?'fullStar':'hoverStar';for(var s=0;s<this.stars.length;++s){i.removeClass(this.stars[s],r);var t=(s>=o);i.conditionClass(this.stars[s],q,!t);i.conditionClass(this.stars[s],'emptyStar',t);}},freeze:function(){i.addClass(this.root,'uiStarsRated');this.destroyListeners();},destroyListeners:function(){this.listeners.forEach(function(o){o&&o.remove();});this.listeners=[];}});a.StarsRatableBase=e.exports=n;},null);
__d("TabBar",["ArbiterMixin","React","mixin"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=i(g);for(var k in j)if(j.hasOwnProperty(k))m[k]=j[k];var l=j===null?null:j.prototype;m.prototype=Object.create(l);m.prototype.constructor=m;m.__superConstructor__=j;function m(n,o,p){"use strict";o.props=Object.assign({},o.props,{onTabClick:function(q){return this.inform(m.TAB_CLICK,q);}.bind(this)});h.render(n(o),p);}m.TAB_CLICK='onTabClick';e.exports=m;},null);
__d("PageStars",["Event","Locale","Style","copyProperties"],function(a,b,c,d,e,f,g,h,i,j){b.__markCompiled&&b.__markCompiled();var k=5;function l(m,n,o,p,q,r,s,t){this.myRating=q;this.avgRating=p;this.avgStars=n;this.myStars=o;this.margin=t;this.width=r;this.height=s;for(var u=0;u<m.length;u++){var v=m[u],w=u+1;for(var x=0;x<v.length;x++){if(!v[x])continue;g.listen(v[x],'mouseenter',this._hover.bind(this,w));g.listen(v[x],'mouseleave',this._mouseout.bind(this,w));g.listen(v[x],'click',this._click.bind(this,w));}}}j(l.prototype,{onClick:function(m){this.callback=m;},_updateUI:function(){if(this.hovered||this.myRating){this.avgStars&&this._setClip(this.avgStars,0);this.myStars&&this._setClip(this.myStars,this.hovered||this.myRating);}else{this.myStars&&this._setClip(this.myStars,0);this.avgStars&&this._setClip(this.avgStars,this.avgRating||0);}},_setClip:function(m,n){var o=Math.round(n*this.width+Math.floor(n)*this.margin),p=0;if(h.isRTL()){p=Math.round((k-n)*this.width+Math.floor(k-n)*this.margin);o+=p;}var q='rect(0px, '+o+'px, '+this.height+'px, '+p+'px)';i.set(m,'clip',q);},_click:function(m){this.myRating=m;this._updateUI();return this.callback&&this.callback(m);},_hover:function(m){this.hovered=m;this._updateUI();},_mouseout:function(m){if(this.hovered===m){this.hovered=null;this._updateUI();}},setAverageRating:function(m){this.avgRating=m;this._updateUI();},setMyRating:function(m){this.myRating=m;this._updateUI();}});e.exports=l;},null);
__d("PlaceStarSurvey",["AsyncRequest","copyProperties"],function(a,b,c,d,e,f,g,h){b.__markCompiled&&b.__markCompiled();var i={};h(i,{register:function(j,k,l){j.onClick(function(m){(new g(l[m])).setMethod('POST').setRelativeTo(k).send();});}});e.exports=i;},null);
__d("ReviewsController",["Arbiter","Dialog","Event","React","Image.react","Run","DOM","csx","fbt","ix","ge"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){b.__markCompiled&&b.__markCompiled();var r={},s={},t={},u={},v={},w={registerRevealProfanity:function(x,y,z){i.listen(y,'click',function(){x.style.display='none';z.style.display='inline';});},registerButton:function(x,y){r[y]=r[y]||[];r[y].push(x);},registerViewerReview:function(x,y){s[y]=s[y]||[];s[y].push(x);},registerComposer:function(x,y){t[y]=t[y]||[];t[y].push(x);},registerToggle:function(x,y,z,aa){u[x]=u[x]||[];u[x].push([y,z,aa]);},addUserReview:function(x,y,z,aa,ba,ca){this._updateState(true,x,y,z,aa,ba,ca);},deleteUserReview:function(x,y,z){this._updateState(false,x,null,null,null,y,z);},_updateState:function(x,y,z,aa,ba,ca,da){var ea,fa=s[y]||[];for(ea=0;ea<fa.length;ea++)m.remove(fa[ea]);var ga=u[y]||[];for(ea=0;ea<ga.length;ea++){var ha=ga[ea],ia=ha[x?1:2];m.setContent(ha[0],ia);}var ja=t[y]||[];for(ea=0;ea<ja.length;ea++){var ka=ja[ea];if(x){ka.hide();}else{ka.clear();ka.show();}}var la=r[y]||[];for(ea=0;ea<la.length;ea++){var ma=la[ea],na=m.find(ma,'.uiButtonText'),oa=m.find(ma,'i'),pa,qa;if(x){pa=p('/images/icons/buttons/check.png');qa=o._("Reviewed");}else{pa=p('/images/icons/buttons/feature.png');qa=o._("Review");}var ra=m.create('span'),sa={"padding-right":"5px"};j.render(j.createElement("div",null,qa),na);j.render(j.createElement(k,{src:pa,style:sa}),ra);m.replace(oa,ra);}if(x){var ta=m.scry(document,'#page_recommendations_browse_list')[0];if(ta)m.prependContent(ta,z);var ua=q('page_reviews_tab_list');if(ua)m.prependContent(ua,aa);var va="ul._1rhx",wa=m.scry(document,va)[0];if(wa)m.prependContent(wa,ba);}if(ca){var xa=q('page_reviews_pill_and_histogram');if(xa)m.replace(xa,ca);}if(da){var ya=q('pages_inline_rating_summary');if(ya)m.replace(ya,da);}},registerPhotoUpload:function(x,y){g.subscribe('multi-upload/images-upload-completed/'+y,function(){v[y]=false;});g.subscribe('multi-upload/images-upload-start/'+y,function(){v[y]=true;});i.listen(x,'submit',function(){if(v[y]){new h().setTitle(o._("Photos Are Uploading")).setSemiModal(true).setButtons(h.OK).setBody(o._("Please wait until photo is uploaded before posting.")).show();return false;}return true;}.bind(this));}};l.onLeave(function(){r={};s={};t={};u={};v={};});e.exports=w;},null);
__d("PageReviewInlineComposer",["Arbiter","CSS","Event","Input","ReviewsController","Run","fbt"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();function n(o,p,q,r,s,t,u,v,w,x){"use strict";w=w.getInstance();w.subscribe('changed',function(){h.conditionShow(x,!w.getIsPublicSelected());});if(!v)s&&i.listen(s,'focus',function(){h.addClass(s,'expand');q&&h.show(q);s.setAttribute('rows',6);});l.onBeforeUnload(this.$PageReviewInlineComposer0.bind(this));u.onClick(function(y,z){y.setAttribute('value',z);s.focus();}.bind(null,r));this.$PageReviewInlineComposer1=p;this.$PageReviewInlineComposer2=u;this.$PageReviewInlineComposer3=s;this.$PageReviewInlineComposer4=t;this.$PageReviewInlineComposer5=r;k.registerComposer(this,o);k.registerPhotoUpload(p,t);}n.prototype.$PageReviewInlineComposer0=function(){"use strict";if(this.$PageReviewInlineComposer3.offsetParent!==null&&!j.isEmpty(this.$PageReviewInlineComposer3)&&!(a.Dialog&&a.Dialog.getCurrent()))return m._("You haven't finished your review yet. Do you want to leave without finishing?");};n.prototype.hide=function(){"use strict";h.hide(this.$PageReviewInlineComposer1);};n.prototype.show=function(){"use strict";h.show(this.$PageReviewInlineComposer1);};n.prototype.clear=function(){"use strict";this.$PageReviewInlineComposer2.setMyRating(0);this.$PageReviewInlineComposer3.value='';this.$PageReviewInlineComposer5.setAttribute('value',null);if(this.$PageReviewInlineComposer4!==null)g.inform('multi-upload/composer-reset/'+this.$PageReviewInlineComposer4,this,g.BEHAVIOUR_PERSISTENT);};e.exports=n;},null);
__d("ReviewPagingNotifier",["Arbiter"],function(a,b,c,d,e,f,g){b.__markCompiled&&b.__markCompiled();var h={PAGING_STATE:'paging_state',PAGING_FINISHED:'paging_finished',send_state:function(i,j){var k={context:i,state:j};g.inform(h.PAGING_STATE,k,g.BEHAVIOR_STATE);},paging_finished:function(i){h.send_state(i,h.PAGING_FINISHED);}};e.exports=h;},null);
__d("ReviewSortTabbing",["cx","Arbiter","CSS","ReviewPagingNotifier","Style","TabBar"],function(a,b,c,d,e,f,g,h,i,j,k,l){b.__markCompiled&&b.__markCompiled();function m(n,o,p,q){this.tab_bar=n;this.tabs=p;this.selected_tab=o;this.review_lists=q;this.loaded_tabs={star_rating:true};n.subscribe(l.TAB_CLICK,function(r,s){var t=this.review_lists[this.selected_tab],u=this.review_lists[s];if(!(s in this.loaded_tabs)){var v=k.get(t,'height');k.apply(u,{'min-height':v});}i.removeClass(this.review_lists[this.selected_tab],"_58z-");i.addClass(this.review_lists[s],"_58z-");this.selected_tab=s;}.bind(this));h.subscribe(j.PAGING_STATE,function(r,s){if(s.state===j.PAGING_FINISHED){k.apply(this.review_lists[s.context],{'min-height':0});this.loaded_tabs[s.context]=true;}return false;}.bind(this));}m.init=function(n,o,p,q){return new m(n,o,p,q);};e.exports=m;},null);
__d("TabBarShim",["DOMContainer.react","React","isNode"],function(a,b,c,d,e,f,g,h,i){b.__markCompiled&&b.__markCompiled();var j=function(k){var l;if(k.children)l=k.children.map(function(n){if(typeof n==='object'&&typeof n.ctor==='function'){return j(n);}else if(i(n)){return h.createElement(g,null,n);}else return n;});if(l.length===1)l=l[0];var m=k.ctor;return h.createElement(m,h.__spread({},k.props),l);};e.exports=j;},null);
__d("CovercardArrow",["ContextualDialogArrow","CSS","DOMQuery","Locale","Style","csx","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){b.__markCompiled&&b.__markCompiled();var n=-45,o=45,p=9;if(j.isRTL()){n=-n;o=-o;}function q(s){"use strict";this._layer=s;}q.prototype.enable=function(){"use strict";this._layer.enableBehavior(g);var s=this._layer.getContentRoot();this._arrowWrapper=i.scry(s,"._7lh")[0];if(!this._arrowWrapper)return;this._arrowShadow=i.scry(this._arrowWrapper,"._7li")[0];if(!this._arrowShadow)return;var t=null;if(r(this._arrowWrapper))t=this._renderArrowWithRotate.bind(this);if(!t)return;if(j.isRTL())h.addClass(s,"_7lf");this._subscription=this._layer.subscribe('reposition',function(u,v){var w=v.getPosition()=='below';h.conditionClass(s,"_53ih",w);w&&t(v);});};q.prototype.disable=function(){"use strict";this._subscription&&this._subscription.unsubscribe();this._subscription=null;};q.prototype._calculateArrowOffset=function(s){"use strict";var t=g.getOffsetPercent(s),u=g.getOffset(s,t,this._layer),v=k.get(this._layer.getContentRoot(),'width');return parseInt(v,10)*(t/100)+u;};q.prototype._renderArrowWithRotate=function(s){"use strict";var t=i.scry(this._arrowWrapper,"._7lj")[0];if(!t)return;var u=i.scry(this._arrowWrapper,"._1ubp")[0];if(!u)return;var v=r(this._arrowWrapper);if(!v)return;var w=this._calculateArrowOffset(s),x=p+w,y=-p;if(j.isRTL()){x=-x;y=-y;}this._arrowWrapper.style[v]='translate('+x+'px, -'+p+'px) '+'rotate('+o+'deg)';t.style[v]='rotate('+n+'deg) '+'translate('+(-x)+'px, '+(p-12)+'px)';u.style[v]='rotate('+n+'deg) '+'translate('+y+'px, 0)';};function r(s){if(!s)s=document.body;var t=['transform','WebkitTransform','msTransform','MozTransform','OTransform'],u;while(u=t.shift())if(s.style[u]!==(void 0))return u;return null;}e.exports=q;},null);

Some files were not shown because too many files have changed in this diff Show More