text: (window.webpackJsonp=window.webpackJsonp||[]).push([[58,78],{151:function(t,e,o){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}o.d(e,"a",(function(){return i}));var i=function(){function t(){var e=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n(this,t),this.utm=o.utm,this.area=o.area,this.shareUrl=o.shareUrl||window.location.href,this.outlets=o.outlets||["twitter","facebook","linkedin","pinterest","email"],this.attach=o.attach||!1,this.demo=o.demo||!1,this.trackShotShare=o.trackShotShare||null,this.trackCollectionShare=o.trackCollectionShare||null,this.container=o.container||document.querySelector(o.selector),this.delegateEvents=o.delegateEvents||!1,this.body={raw:o.body,encoded:encodeURIComponent(o.body)},o.imageUrl&&(this.imageUrl={raw:o.imageUrl,encoded:encodeURIComponent(o.imageUrl)}),this.bodies={},o.bodies&&Object.keys(o.bodies).forEach((function(t){e.bodies[t]={raw:o.bodies[t],encoded:encodeURIComponent(o.bodies[t])}})),this.clipboardLink=o.clipboardLink,this.attachShareSheet()}var e,o,i;return e=t,(o=[{key:"attachShareSheet",value:function(){this.attach.twitter&&this.outlets.indexOf("twitter")>-1&&this.attachAction("twitter"),this.attach.facebook&&this.outlets.indexOf("facebook")>-1&&this.attachAction("facebook"),this.attach.linkedin&&this.outlets.indexOf("linkedin")>-1&&this.attachAction("linkedin"),this.attach.pinterest&&this.outlets.indexOf("pinterest")>-1&&this.imageUrl&&this.attachAction("pinterest"),this.attach.email&&this.outlets.indexOf("email")>-1&&this.attachAction("email"),this.attach.clipboard&&this.outlets.indexOf("clipboard")>-1&&this.attachAction("clipboard")}},{key:"createAction",value:function(t,e){var o=document.createElement("a"),n=document.createTextNode(t);return o.appendChild(n),o.title=e,o.class="share-".concat(t),o.href="#",o.addEventListener("click",this.shareTo.bind(this,t)),o}},{key:"attachAction",value:function(t){var e=this;this.delegateEvents?(this["attach".concat(t)]&&this.container.removeEventListener("click",this.attach[t]),this["attach".concat(t)]=function(o){e.shareTo(t,o)},document.addEventListener("click",(function(o){var n=e.attach[t].substring(1);if(o.target.classList.contains(n))e["attach".concat(t)].call(o.target,o);else{var s=o.target.closest(e.attach[t]);s&&e["attach".concat(t)].call(s,o)}}),!1)):this.container.querySelector(this.attach[t]).addEventListener("click",this.shareTo.bind(this,t))}},{key:"shareTo",value:function(t,e){if(e.preventDefault(),this.demo)this.demo();else{var o=null,n=null;switch(t){case"twitter":var s=this.bodies.twitter?this.bodies.twitter.encoded:this.body.encoded;o="https://twitter.com/intent/tweet?url=".concat(this.url("Twitter",e.currentTarget).encoded,"&text=").concat(s),n="status=0,toolbar=0,height=250,width=600";break;case"facebook":o="https://www.facebook.com/sharer/sharer.php?u=".concat(this.url("Facebook",e.currentTarget).encoded),n="status=0,toolbar=0,height=350,width=600";break;case"linkedin":o="https://www.linkedin.com/shareArticle?mini=true&url=".concat(window.location.href,"&title=").concat(this.body.encoded,"&summary=").concat(this.body.encoded,"&source=Dribbble"),n="status=0,toolbar-0,height=350,width=600";break;case"pinterest":o="https://pinterest.com/pin/create/button/?url=".concat(this.url("Pinterest",e.currentTarget).encoded,"&description=").concat(this.body.encoded,"&media=").concat(this.imageUrl.encoded),n="status=0,toolbar=0,height=260,width=600";break;case"email":o="mailto:?&body=".concat(this.body.encoded).concat(encodeURIComponent("\n\n")).concat(this.url("Email",e.currentTarget).encoded);break;case"clipboard":var i=document.createElement("input");if(i.value=this.url("Clipboard",e.currentTarget).raw,i.style.position="fixed",i.style.top="0px",i.style.left="0px",i.style.zIndex="-1",document.body.appendChild(i),i.focus(),i.select(),document.execCommand("Copy")){var a="A link to this page has been copied to your clipboard!";Dribbble.EventBus?Dribbble.EventBus.$emit("siteNotifications:add",{title:"Link Copied",message:a,type:"success",id:"clipboard-copy-success".concat((new Date).getTime())}):alert(a)}else{var r='It looks like we couldn\'t copy this link. Please right click on the button and click "Copy Link Address".';Dribbble.EventBus?Dribbble.EventBus.$emit("siteNotifications:add",{title:"Error",messageText:r,id:"clipboard-copy-success".concat((new Date).getTime())}):alert(r)}document.body.removeChild(i);break;default:console.warn("".concat(t," does not have a handler"))}this.trackShotShare&&Dribbble.Itly.trackShotEvent({eventName:"shotShared",shotId:this.trackShotShare.shotId,additionalData:{social_platform:t}}),o&&(n?window.open(o,"",n):window.location.href=o)}}},{key:"url",value:function(t,e){var o,n,s=this.shareUrl;return this.utm&&(o=e&&e.dataset&&e.dataset.shareSource?e.dataset.shareSource:"".concat(t,"_").concat(this.utm.source),n=e&&e.dataset&&e.dataset.shareCampaign?e.dataset.shareCampaign:this.utm.campaign,s=Dribbble.Url.addParams(s,[["utm_source",o],["utm_campaign",n],["utm_content",this.utm.content],["utm_medium","Social_Share"]])),{raw:s,encoded:encodeURIComponent(s)}}}])&&s(e.prototype,o),i&&s(e,i),t}()},218:function(t,e,o){"use strict";var n={name:"LazyImg",props:{id:{type:[Number],required:!0},src:{type:String,required:!0},errorFallback:{type:String,required:!1,default:null},type:{type:String,required:!1,default:"image"},imgClass:{type:String,required:!1,default:""},alt:{type:String,required:!1,default:""}},data:function(){return{isLoaded:!1}},mounted:function(){this.$refs.lazyImg.addEventListener("lazyloaded",this.onLoaded)},beforeDestroy:function(){this.$refs.lazyImg.removeEventListener("lazyloaded",this.onLoaded)},methods:{onLoaded:function(t){this.isLoaded=!0,this.$emit("image-loaded",{id:this.id,el:t.target})}}},s=o(0),i=Object(s.a)(n,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"lazy-img-wrapper",class:{loaded:t.isLoaded}},["image"===t.type?[o("img",{ref:"lazyImg",staticClass:"lazyload",class:t.imgClass,attrs:{"data-src":t.src,"data-id":t.id,alt:t.alt}})]:t._e(),t._v(" "),"background"===t.type?[o("figure",{ref:"lazyImg",staticClass:"lazyload lazy-img-background",class:t.imgClass,attrs:{"data-bg":t.src,"data-id":t.id}},[t._t("img-content")],2)]:t._e(),t._v(" "),t.isLoaded?t._e():[t._t("default")]],2)}),[],!1,null,null,null);e.a=i.exports},254:function(t,e,o){"use strict";function n(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}o.r(e),o.d(e,"default",(function(){return s}));var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.actionsMenu=e}var e,o,s;return e=t,(o=[{key:"initialize",value:function(){this.actionsMenu&&(this.actionMenuTrigger=this.actionsMenu.querySelector(".action-menu-trigger"),this.menuLinks=this.actionsMenu.querySelectorAll(".action-menu-items a"),this.menuActive=!1,this.bindEvents())}},{key:"bindEvents",value:function(){var t=this;this.actionMenuTrigger.addEventListener("click",this.onClickMenuTrigger.bind(this)),this.menuLinks.forEach((function(e){e.addEventListener("click",t.onDropdownClick.bind(t))}));var e=document.querySelector(".overlay-content");e&&e.hasChildNodes()?e.addEventListener("click",this.onClickDocument.bind(this)):document.addEventListener("click",this.onClickDocument.bind(this))}},{key:"onClickMenuTrigger",value:function(t){t.preventDefault(),this.menuActive?this.hide():this.show()}},{key:"onDropdownClick",value:function(){this.hide()}},{key:"onClickDocument",value:function(t){!t.target.closest(".js-actions-menu")&&this.menuActive&&this.hide()}},{key:"show",value:function(){this.actionsMenu.classList.add("active"),this.menuActive=!0}},{key:"hide",value:function(){this.actionsMenu.classList.remove("active"),this.menuActive=!1}}])&&n(e.prototype,o),s&&n(e,s),t}()},34:function(t,e,o){"use strict";var n={name:"ActionIndicator",props:{type:{type:String,required:!1,default:"close"},size:{type:String,required:!1,default:"medium"},hoverType:{type:String,required:!1,default:""},tooltip:{type:String,required:!1,default:null},tooltipOptions:{type:Object,required:!1,default:function(){return{}}},extraClasses:{type:String,required:!1,default:""}},data:function(){return{hover:!1}},computed:{indicatorType:function(){return this.hover&&this.hoverType?this.hoverType:this.type}}},s=o(0),i=Object(s.a)(n,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return t.tooltip?o("a",{directives:[{name:"tippy",rawName:"v-tippy",value:t.tooltipOptions,expression:"tooltipOptions"}],staticClass:"action-indicator",class:"action-indicator-"+t.indicatorType+" action-indicator-"+t.size+" "+t.extraClasses,attrs:{href:"#",title:t.tooltip},on:{click:function(e){return e.preventDefault(),t.$emit("clicked",e)},mouseover:function(e){t.hover=!0},mouseleave:function(e){t.hover=!1}}},["delete"===t.indicatorType||"delete-alt"===t.indicatorType?o("svg",{attrs:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.667 2.917V3.5H2.333a.583.583 0 100 1.167h.584V10.5c0 .966.783 1.75 1.75 1.75h4.667a1.75 1.75 0 001.75-1.75V4.667h.583a.583.583 0 000-1.167H9.334v-.583a1.75 1.75 0 00-1.75-1.75H6.417a1.75 1.75 0 00-1.75 1.75zm1.75-.584a.583.583 0 00-.584.584V3.5h2.334v-.583a.583.583 0 00-.583-.584H6.417zm0 4.084a.583.583 0 00-1.167 0v2.916a.583.583 0 001.167 0V6.417zM8.75 9.333a.583.583 0 01-1.166 0V6.417a.583.583 0 011.166 0v2.916z",fill:"#fff"}})]):t._e(),t._v(" "),"close"===t.indicatorType?o("svg",{attrs:{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M6.768 5l2.866-2.866A1.25 1.25 0 107.866.366L5 3.232 2.134.366A1.25 1.25 0 10.366 2.134L3.232 5 .366 7.866a1.25 1.25 0 101.768 1.768L5 6.767l2.866 2.867c.244.244.564.366.884.366a1.25 1.25 0 00.884-2.134L6.768 5z",fill:"#fff"}})]):t._e(),t._v(" "),"error"===t.indicatorType?o("svg",{attrs:{width:"4",height:"14",viewBox:"0 0 4 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M1 1a1 1 0 012 0v7a1 1 0 01-1 1h-.001a1 1 0 01-1-1V1zM2 14a1.5 1.5 0 11.001-3.001A1.5 1.5 0 012 14z",fill:"#fff"}})]):t._e(),t._v(" "),"locked"===t.indicatorType?o("svg",{attrs:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M2.333 6.91c0-.594.523-1.077 1.167-1.077h7c.644 0 1.167.483 1.167 1.077v4.846c0 .595-.523 1.077-1.167 1.077h-7c-.644 0-1.167-.482-1.167-1.077V6.91z",fill:"#fff"}}),o("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 2.625c-.886 0-1.604.718-1.604 1.604v2.333H3.938V4.23a3.063 3.063 0 016.124 0v2.333H8.604V4.23c0-.886-.718-1.604-1.604-1.604z",fill:"#fff"}})]):t._e(),t._v(" "),"rebound"===t.indicatorType?o("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{"clip-rule":"evenodd",d:"M12 24C5.373 24 0 18.627 0 12S5.373 0 12 0s12 5.373 12 12-5.373 12-12 12zm.248-14.626V7.592a.895.895 0 00-.333-.686 1.275 1.275 0 00-1.605 0l-5.344 4.57 5.344 4.57c.222.189.512.284.802.284.291 0 .581-.095.803-.285a.896.896 0 00.333-.686v-1.887c3.988.196 6.067 2.706 6.067 2.706 0-4.152-2.54-6.53-6.067-6.804z"}})]):t._e()]):o("a",{staticClass:"action-indicator",class:"action-indicator-"+t.indicatorType+" action-indicator-"+t.size+" "+t.extraClasses,attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.$emit("clicked",e)},mouseover:function(e){t.hover=!0},mouseleave:function(e){t.hover=!1}}},["delete"===t.indicatorType||"delete-alt"===t.indicatorType?o("svg",{attrs:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.667 2.917V3.5H2.333a.583.583 0 100 1.167h.584V10.5c0 .966.783 1.75 1.75 1.75h4.667a1.75 1.75 0 001.75-1.75V4.667h.583a.583.583 0 000-1.167H9.334v-.583a1.75 1.75 0 00-1.75-1.75H6.417a1.75 1.75 0 00-1.75 1.75zm1.75-.584a.583.583 0 00-.584.584V3.5h2.334v-.583a.583.583 0 00-.583-.584H6.417zm0 4.084a.583.583 0 00-1.167 0v2.916a.583.583 0 001.167 0V6.417zM8.75 9.333a.583.583 0 01-1.166 0V6.417a.583.583 0 011.166 0v2.916z",fill:"#fff"}})]):t._e(),t._v(" "),"close"===t.indicatorType?o("svg",{attrs:{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M6.768 5l2.866-2.866A1.25 1.25 0 107.866.366L5 3.232 2.134.366A1.25 1.25 0 10.366 2.134L3.232 5 .366 7.866a1.25 1.25 0 101.768 1.768L5 6.767l2.866 2.867c.244.244.564.366.884.366a1.25 1.25 0 00.884-2.134L6.768 5z",fill:"#fff"}})]):t._e(),t._v(" "),"error"===t.indicatorType?o("svg",{attrs:{width:"4",height:"14",viewBox:"0 0 4 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M1 1a1 1 0 012 0v7a1 1 0 01-1 1h-.001a1 1 0 01-1-1V1zM2 14a1.5 1.5 0 11.001-3.001A1.5 1.5 0 012 14z",fill:"#fff"}})]):t._e(),t._v(" "),"locked"===t.indicatorType?o("svg",{attrs:{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M2.333 6.91c0-.594.523-1.077 1.167-1.077h7c.644 0 1.167.483 1.167 1.077v4.846c0 .595-.523 1.077-1.167 1.077h-7c-.644 0-1.167-.482-1.167-1.077V6.91z",fill:"#fff"}}),o("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 2.625c-.886 0-1.604.718-1.604 1.604v2.333H3.938V4.23a3.063 3.063 0 016.124 0v2.333H8.604V4.23c0-.886-.718-1.604-1.604-1.604z",fill:"#fff"}})]):t._e(),t._v(" "),"rebound"===t.indicatorType?o("svg",{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{"clip-rule":"evenodd",d:"M12 24C5.373 24 0 18.627 0 12S5.373 0 12 0s12 5.373 12 12-5.373 12-12 12zm.248-14.626V7.592a.895.895 0 00-.333-.686 1.275 1.275 0 00-1.605 0l-5.344 4.57 5.344 4.57c.222.189.512.284.802.284.291 0 .581-.095.803-.285a.896.896 0 00.333-.686v-1.887c3.988.196 6.067 2.706 6.067 2.706 0-4.152-2.54-6.53-6.067-6.804z"}})]):t._e()])}),[],!1,null,null,null);e.a=i.exports},36:function(t,e,o){"use strict";o.d(e,"c",(function(){return a})),o.d(e,"b",(function(){return r})),o.d(e,"a",(function(){return l}));var n=o(74),s=o.n(n),i=o(42),a=function(t){return function(t){return t.replace(/([^A-Z])([A-Z])/g,"$1 $2").replace(/[_\-]+/g," ").toLowerCase()}(t).replace(/(^\w|\b\w)/g,(function(t){return t.toUpperCase()}))},r=function(t,e){return"".concat(Object(i.a)(e)," ").concat(s()(t,e))},l=function(t){return"undefined"!==typeof t&&null!==t}},38:function(t,e,o){"use strict";o.d(e,"a",(function(){return n}));var n=function(t,e){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Dribbble;return t.reduce((function(t,o){return t&&(t[o]||0===t[o]||!1===t[o])?t[o]:e||null}),o)}},413:function(t,e,o){"use strict";var n={name:"ProgressRing",props:{radius:{type:Number,required:!0},progress:{type:Number,required:!0},stroke:{type:Number,required:!1,default:4},strokeColor:{type:String,required:!1,default:"#db5788"},fillColor:{type:String,required:!1,default:"transparent"},innerCircle:{type:Boolean,required:!1,default:!1},innerCircleSpacing:{type:Number,required:!1},innerCircleFillColor:{type:String,required:!1,default:"transparent"},hasBaseCircle:{type:Boolean,required:!1,default:!1},baseStrokeColor:{type:String,required:!1,default:"#E7E7E9"},rotateDegrees:{type:Number,required:!1,default:90}},data:function(){var t=this.radius-2*this.stroke,e=2*t*Math.PI;return{normalizedRadius:t,normalizedRadiusInner:this.radius-2*this.innerCircleSpacing,circumference:e}},computed:{strokeDashoffset:function(){return this.circumference-this.progress/100*this.circumference}}},s=o(0),i=Object(s.a)(n,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("svg",{staticClass:"progress-ring",attrs:{height:2*t.radius,width:2*t.radius}},[t.hasBaseCircle?o("circle",{attrs:{fill:"none",stroke:t.baseStrokeColor,"stroke-width":t.stroke,r:t.normalizedRadius,cx:t.radius,cy:t.radius}}):t._e(),t._v(" "),o("circle",{staticClass:"progress-ring-circle",style:{strokeDashoffset:t.strokeDashoffset},attrs:{stroke:t.strokeColor,"stroke-dasharray":t.circumference+" "+t.circumference,"stroke-width":t.stroke,fill:t.fillColor,r:t.normalizedRadius,cx:t.radius,cy:t.radius,transform:"rotate("+t.rotateDegrees+", "+t.radius+", "+t.radius+")"}}),t._v(" "),t.innerCircle?o("circle",{staticClass:"progress-ring-inner-circle",attrs:{r:t.normalizedRadiusInner,cx:t.radius,cy:t.radius,fill:t.innerCircleFillColor}}):t._e()])}),[],!1,null,null,null);e.a=i.exports},414:function(t,e,o){"use strict";var n={name:"DribbbleLoader",props:{color:{type:0,required:!1,default:"deepBlueSea"}},computed:{strokeColor:function(){switch(this.color){case"white":return"#ffffff";case"deepBlueSea":default:return"#0d0c22"}}}},s=o(0),i=Object(s.a)(n,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("svg",{staticClass:"dribbble-loader",attrs:{width:"53",height:"53",viewBox:"0 0 53 53",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[o("path",{attrs:{d:"M26.2739 50.14C39.5289 50.14 50.2743 39.3948 50.2743 26.14C50.2743 12.8851 39.5289 2.13995 26.2739 2.13995C13.0188 2.13995 2.2735 12.8851 2.2735 26.14C2.2735 39.3948 13.0188 50.14 26.2739 50.14Z","stroke-width":"3",stroke:t.strokeColor}}),t._v(" "),o("path",{attrs:{id:"dd-pl-path-1",d:"M36.9492 47.641C34.5295 31.1135 27.4759 16.091 17.1498 3.93506",stroke:t.strokeColor,"stroke-width":"3","stroke-dasharray":"96","stroke-dashoffset":"0"}}),t._v(" "),o("path",{attrs:{id:"dd-pl-path-2",d:"M2.39471 23.7131C4.30685 23.8299 6.27005 23.8732 8.27093 23.8372C26.1713 23.5146 40.828 16.9487 42.8353 8.76953",stroke:t.strokeColor,"stroke-width":"3","stroke-dasharray":"96","stroke-dashoffset":"0"}}),t._v(" "),o("path",{attrs:{id:"dd-pl-path-3",d:"M10.2392 43.998C15.2675 33.5505 25.9537 26.34 38.3241 26.34C42.5077 26.34 46.4988 27.1647 50.1436 28.6605",stroke:t.strokeColor,"stroke-width":"3","stroke-dasharray":"96","stroke-dashoffset":"0"}}),t._v(" "),o("animate",{attrs:{"xlink:href":"#dd-pl-path-1",attributeName:"stroke-dashoffset",from:"0",to:"192",dur:"1s",repeatCount:"indefinite"}}),t._v(" "),o("animate",{attrs:{"xlink:href":"#dd-pl-path-2",attributeName:"stroke-dashoffset",from:"0",to:"192",dur:"2s",begin:"1s",repeatCount:"indefinite"}}),t._v(" "),o("animate",{attrs:{"xlink:href":"#dd-pl-path-3",attributeName:"stroke-dashoffset",from:"0",to:"192",dur:"2.75",begin:"1.75s",repeatCount:"indefinite"}}),t._v(" "),o("defs",[o("linearGradient",{attrs:{id:"dd-radial",x1:"25.5",y1:"5.5",x2:"25.5",y2:"45.5",gradientUnits:"userSpaceOnUse"}},[o("stop",{attrs:{"stop-color":"currentColor",offset:"0","stop-opacity":"0"}}),t._v(" "),o("stop",{attrs:{"stop-color":"currentColor",offset:"0.33"}}),t._v(" "),o("stop",{attrs:{"stop-color":"currentColor",offset:"0.66"}}),t._v(" "),o("stop",{attrs:{"stop-color":"currentColor",offset:"1","stop-opacity":"0"}})],1)],1)])}),[],!1,null,null,null);e.a=i.exports},419:function(t,e,o){"use strict";var n=o(6),s=o.n(n),i={name:"VConfirmModal",components:{Modal:o(61).a},props:{show:{type:Boolean,default:!1},title:{type:String,required:!0},message:{type:String,required:!1,default:""},buttons:{type:Object,default:function(){return{no:"No",yes:"Yes"}}}},methods:{_emit:function(t,e){this.$root.$emit(t,e)},saveChanges:function(){this._emit("save",!0)}}},a=o(0),r=Object(a.a)(i,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("modal",{staticClass:"confirm-modal",class:{"confirm-modal-simple":!t.message},attrs:{id:"confirm-modal","show-modal":t.show,"without-sections-borders":!0,closeable:!1,"max-width":"450px"},on:{"modal-close":function(e){return t._emit("close")}}},[o("template",{slot:"header"},[o("h4",{domProps:{innerHTML:t._s(t.title)}})]),t._v(" "),t.message?o("p",{staticClass:"confirm-modal-message",domProps:{innerHTML:t._s(t.message)}}):t._e(),t._v(" "),o("template",{slot:"footer"},[o("div",{staticClass:"flex justify-end"},[o("button",{staticClass:"form-btn margin-r-16",on:{click:function(e){return e.preventDefault(),t._emit("close")}}},[t._v("\n        "+t._s(t.buttons.no)+"\n      ")]),t._v(" "),o("button",{staticClass:"form-sub",on:{click:function(e){return e.preventDefault(),t.saveChanges()}}},[t._v("\n        "+t._s(t.buttons.yes)+"\n      ")])])])],2)}),[],!1,null,null,null).exports,l={name:"VConfirmTemplate",components:{ConfirmModal:r},computed:{state:function(){return this.$root.state},modal:function(){return this.$root.modal}}},c=Object(a.a)(l,(function(){var t=this.$createElement;return(this._self._c||t)("v-confirm-modal",{attrs:{show:this.state.isShow,title:this.modal.title,message:this.modal.message,buttons:this.modal.buttons}})}),[],!1,null,null,null).exports;function d(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function u(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?d(Object(o),!0).forEach((function(e){h(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function h(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function m(t,e,o,n,s,i,a){try{var r=t[i](a),l=r.value}catch(c){return void o(c)}r.done?e(l):Promise.resolve(l).then(n,s)}function b(t){return function(){var e=this,o=arguments;return new Promise((function(n,s){var i=t.apply(e,o);function a(t){m(i,n,s,a,r,"next",t)}function r(t){m(i,n,s,a,r,"throw",t)}a(void 0)}))}}var p={data:{state:{isShow:!1,isConfirmed:!1,isNotConfirm:!1,time:0,interval:null},modal:{title:"",message:"",buttons:{no:"No",yes:"Yes"}},confirm:function(t,e){var o=this;return b(s.a.mark((function n(){return s.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o.state.isShow=!0,Object.keys(t).forEach((function(e){(t[e]||o.modal[e])&&(o.modal[e]=t[e])})),n.next=4,o.callback().then((function(t){"function"===typeof e&&(e(t),o.resetState())}));case 4:case"end":return n.stop()}}),n)})))()},callback:function(){var t=this;return b(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){t.state.interval=setInterval((function(){t.state.time+=1,t.state.isConfirmed&&(clearInterval(t.state.interval),e(!0)),t.state.isNotConfirm&&(clearInterval(t.state.interval),e(!1),t.close()),t.state.time>120&&(clearInterval(t.state.interval),e(!1),t.close())}),500)})));case 1:case"end":return e.stop()}}),e)})))()},resetState:function(){this.state={isConfirmed:!1,isNotConfirm:!1,isShow:!1,time:0}},close:function(){this.state.isNotConfirm=!0},_close:function(){clearInterval(this.state.interval),this.resetState()},updateConfirm:function(){this.state.isConfirmed=!0},isConfirm:function(){return this.state.isConfirmed}}};e.a={install:function(t,e){var o=u(u({},p),e);t.component(r.name,r);var n=new t({data:{state:o.data.state,modal:o.data.modal},render:function(t){return t(c)}});n.$mount(document.body.appendChild(document.createElement("div"))),n.callback=o.data.callback,n.isConfirm=o.data.isConfirm,n.resetState=o.data.resetState,n.confirm=o.data.confirm,n.close=o.data._close,n.$on("close",o.data.close),n.$on("save",o.data.updateConfirm),t.prototype.$vConfirm=n}}},42:function(t,e,o){"use strict";o.d(e,"a",(function(){return n})),o.d(e,"b",(function(){return s}));var n=function(t){return Number(t).toLocaleString()},s=function(t){return new Intl.NumberFormat("en-CA",{maximumSignificantDigits:3}).format(t)}},61:function(t,e,o){"use strict";var n={name:"Modal",components:{ActionIndicator:o(34).a},props:{id:{type:String,required:!0},showModal:{type:Boolean,required:!0},closeable:{type:Boolean,default:!0},backdropCloseable:{type:Boolean,default:!0},disableBodyScroll:{type:Boolean,default:!0},maxWidth:{type:String,required:!1,default:"480px"},maxHeight:{type:String,required:!1,default:""},isModalTopAligned:{type:Boolean,required:!1,default:!1},shouldScrollIntoView:{type:Boolean,required:!1,default:!1},withMainPadding:{type:Boolean,required:!1,default:!1},withSectionsPadding:{type:Boolean,required:!1,default:!0},withoutSectionsBorders:{type:Boolean,required:!1,default:!1},mobileFullScreen:{type:Boolean,required:!1,default:!1},shouldCloseOnEsc:{type:Boolean,required:!1,default:!1}},data:function(){return{headerSlot:!!this.$slots.header,footerSlot:!!this.$slots.footer}},computed:{styles:function(){return{maxWidth:this.maxWidth,maxHeight:this.maxHeight}},modalClass:function(){return{"is-small":this.isSmall,"mobile-full-screen":this.mobileFullScreen}},modalContainerClasses:function(){return{"constrain-height":""!==this.maxHeight}},modalContentClasses:function(){return{"with-main-padding":this.withMainPadding,"with-sections-padding":this.withSectionsPadding,"without-sections-borders":this.withoutSectionsBorders}}},watch:{showModal:function(t,e){t&&!e&&this.onOpened(),!t&&e&&this.onClosed()}},beforeDestroy:function(){this.onClosed()},mounted:function(){this.showModal&&this.onOpened(),this.shouldCloseOnEsc&&window.addEventListener("keyup",this.onKeyUp)},destroyed:function(){this.shouldCloseOnEsc&&window.removeEventListener("keyup",this.onKeyUp)},methods:{shouldTriggerClose:function(t){this.$refs.modal===t.target&&this.closeable&&this.backdropCloseable&&this.triggerClose()},triggerClose:function(){this.$emit("modal-close",{id:this.id})},onAfterLeave:function(){this.$emit("after-leave")},onKeyUp:function(t){"Escape"===t.key&&this.triggerClose()},onOpened:function(){this.shouldScrollIntoView&&this.scrollIntoView(),this.disableBodyScroll&&document.body.classList.add("noscroll"),this.$emit("modal-opened",{id:this.id})},onClosed:function(){this.disableBodyScroll&&document.body.classList.remove("noscroll")},scrollIntoView:function(){var t=this;this.$nextTick((function(){t.$refs.modal.scrollIntoView({behavior:"smooth"})}))}}},s=o(0),i=Object(s.a)(n,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("transition",{attrs:{name:"fade-in"},on:{afterLeave:t.onAfterLeave}},[t.showModal?o("section",{ref:"modal",staticClass:"modal",class:t.modalClass,attrs:{id:t.id},on:{click:t.shouldTriggerClose}},[o("div",{staticClass:"modal-inner",class:{"top-align":t.isModalTopAligned}},[o("div",{staticClass:"modal-container",class:t.modalContainerClasses,style:t.styles},[t.closeable?o("action-indicator",{attrs:{"extra-classes":"modal-action-indicator"},on:{clicked:t.triggerClose}}):t._e(),t._v(" "),o("div",{staticClass:"modal-content-wrapper",class:t.modalContentClasses},[t.headerSlot?o("header",{staticClass:"modal-header"},[t._t("header")],2):t._e(),t._v(" "),o("div",{staticClass:"modal-content"},[t._t("default")],2),t._v(" "),t.footerSlot?o("footer",{staticClass:"modal-footer"},[t._t("footer")],2):t._e()])],1)])]):t._e()])}),[],!1,null,null,null);e.a=i.exports},776:function(t,e,o){"use strict";var n=o(218),s=o(781),i={name:"Avatar",components:{LazyImg:n.a},props:{userId:{type:Number,required:!0},imageUrl:{type:String,required:!0},name:{type:String,required:!0},path:{type:String,required:!0},title:{type:String,required:!1,default:""},size:{type:String,required:!1,default:"regular",validator:function(t){return-1!==["tiny","small","regular","medium","large"].indexOf(t)}}},data:function(){return{imageSizes:{tiny:16,small:24,regular:32,medium:40,large:60}}},computed:{sizeClass:function(){return"avatar-".concat(this.size)},sizeParam:function(){var t=Object(s.a)()?2*this.imageSizes[this.size]:this.imageSizes[this.size],e=this.imageUrl.indexOf("?")>-1?"&":"?";return"".concat(e,"compress=1&resize=").concat(t,"x").concat(t)},imageSrc:function(){return"".concat(this.imageUrl).concat(this.sizeParam)}}},a=o(0),r=Object(a.a)(i,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("span",{staticClass:"profile-avatar"},[o("a",{staticClass:"avatar-link",attrs:{href:t.path,title:t.title}},[o("lazy-img",{key:t.imageUrl,class:"avatar-image-wrapper "+t.sizeClass,attrs:{id:t.userId,src:t.imageSrc,alt:t.name+"'s avatar","img-class":"avatar-image","error-fallback":"data:image/gif;base64,R0lGODlhoACgAMQAAPv7++Tk5Obm5vf396ioqHt7e7GxsZ2dnd3d3dra2sLCwu3t7fPz86Ojo/Hx8by8vOnp6eDg4NDQ0NbW1svLy8bGxsnJyaqqqq2trbe3t4eHh5OTk3Z2dv///+fn56GhoSH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS4zLWMwMTEgNjYuMTQ1NjYxLCAyMDEyLzAyLzA2LTE0OjU2OjI3ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXBSaWdodHM9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9yaWdodHMvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1wUmlnaHRzOk1hcmtlZD0iRmFsc2UiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0idXVpZDo0NkNCNENFMjBCMTBERDExQUNBMERCNjY5RkZCRTU2NyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpFNUU4M0NGQUYxNDcxMUUxOUVCOEM2MjYxRTIxRDc5RSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpFNUU4M0NGOUYxNDcxMUUxOUVCOEM2MjYxRTIxRDc5RSIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ1M2ICgxMy4wIDIwMTIwMzA1Lm0uNDE1IDIwMTIvMDMvMDU6MjE6MDA6MDApICAoTWFjaW50b3NoKSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjAxODAxMTc0MDcyMDY4MTE4MDgzRTM0NTZGODU2RTZFIiBzdFJlZjpkb2N1bWVudElEPSJ1dWlkOjQ2Q0I0Q0UyMEIxMEREMTFBQ0EwREI2NjlGRkJFNTY3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAAAAAAAsAAAAAKAAoAAABf8gRoxkaZ5oqq5s675wLJtY8914ru987//AoHBILBp1DdtxyWw6n9BfgxCtWq/Y5yjL7Xq72694TCaGy+g0+qxuu7Hst3y+jNPveJ89z+fv+4Bzf4GEaoOFPQ0GDwoWFBKQFBUKGTWIQoeXHwQPFAgCHqGio6IBExYGSpo6mYScE6CksrOhARIZqqutfQYUAbTAwREKVLrFqwYTwcvLARbHhbt0FxLM1s0KuYDSbw0Kv9fhwAgG0dCAGAni68EW2njcag/g7PWyCBjb53gNFPb/swJk6BOPTANlABOOEqDAzz5B6hRKFGUhT8EvBBBM3BiKAryHbjJyHFmRzkUuDSL/juRYwSTINA2qrVz5QNBLNBVmzhRQ7s3JKxl06oxwE2NRMRfoCR05wefRLwiXzmzY5meUB1KFBshn6CkXAkqzMq3qFUuFAQAGoFWbVq1btQzgDmBAt65dug7y6l3ggK/fBYADL4AAmDCEw4gTHw5VM41VJww6SJ5MubLly5gza958eeCaslYecB5NurRpyhAcg67i4bTr17A7cCXzeMmF2Lhza47wWU0C3cCDdwCwukltIw0ACF+Ouynt4k4qMJ/+esC7r9CbOKDO3TRVMceJGOhOfnTqMeGHICjPXnP2IumDJG9P37Jzo2UU1N8/eQD690YswN+AjXkR3w/jDcif/wDgAUhEBgvcNddbbLEFwIUYXiiZcgpydgF+6C2lWGKFCQZYX3rldZddclHYVoYAlASGg0MEJdaNtARwnRUH+pATjkCSMht2ZEQVZJAFEjmGRkce2ZKBNMoXS5NASgDiFxhQeSQCV3pho5Y4BtBlF1iBCeSOUfTIgwJmAvnhjGNY0CaOPSn5hT9ziuWZnV7IlKdUe2ah5g5+/ilUoHBECUShhs6UZKJjMNroSIheMagOeE46U6U8KvqDnJpuCuUYbIa6Up2CeupDmaZy9CafXXzZ6kRoQnFpDlnOOpGYo4rRwJS6ApTAmF0wGSxAVvYqhqTHrvMdrF2U2qw9Q6ZKhv8B09rDJbEohZWtNR5xy4WR31qDKrTRlhvOtuJmkau6zDwLZxnGwktLBLVWcesOoNpLi7zzXuvvvfnqq2oQKg0sCsABk8Gqwh4gULDBMHlrL6cNk/Gjwvc9Z4jF3wbwqsdqbGwvw+0aGIG/EnflxsPf8kTWGwlnG67LbmAA8qz4hnRwETAfe25vcmR6rIwzy3FQsy07RUdKwQpQLc5zQD3ro0k/zeyfydrEhwLA/pnAxA3ysrKhEYwsx7511AxmAEM7DUhMcwqAsc+FmNykAFh7XQjYWvbtdyHzHMl3IGxDkcHOMwnkys9ZGBC2UOSYs8oHBjA+0QSQU3x55kIxpEn/4lZgcDZTUyPeeRcXuA0QAoKrfnkODVgwOTsMkf3R7DqQa0/ciJCehevsAG857zicDpDxjyN/w68SMS+78xdMJL0+zmNuPfLCXxH079yv7oXe/1xPkPhXNJCBBcTXk8ADurt0iSIVJHC7RAFQYL78cxugwASa4wgCKqC28+FhAxswQAUACKYJPAB9dYBgDw6AQA1w4ILfo5It4HcAi0gQBxTUgAUvSEIObGBSAtgABzSwgQ6uDYIhHGEJZ8iB9mlJhSQsAAtdqJouUHADBaChEElIgEYJIIhCFOEGiFaFBmBAARSwwBCneMEC2PBIEqBiFTVAsic8kYGhyKIWh3gA/0NhYIwXTAAFFJCKjBmBAAqoF0XQOETyaUmGWoyKABIgATZ66icGkMD9PFABOiZReVoqJB2lRQoBTEABBTzCRZIRL0MKsYxtwiEasRUMAdzCCfEggCCt8QBLCvFdVFKAJT9wjQnsbwfcKNw1SmlKGmZQLBHA4xg1IA4JFGcXolxHBmopxFtK5QCmLMAgZxGBu/WgFReQo7mIecojGYCYV5wFBXSXCdCx44zUpOEBELmUYRKzX+Lg3BAOkYFlBoMA4UwiOnUitXDKShwIiCQsX/IAdwajAfEc4gey+Y8EaJKYDfhHBFLHCpC0EyAfCOgQCxDNkcANieE8oUIZioM96P8sIciU6EQ/QAF/MoMcGI1nARKSth/Y4QLkZEdIRTpFDRCgAjFdBgIUcICUSlSa60DAS+KwNIUclKZU5KL/KDABBIAjABHgIyU+oEukGs0eY3vmOexYj6Mi9atg5YAxw9G1huZAchOpaljXGtDqSYRhZ2gAUO2hVrbatZaYVIjMzHoDrtrDp3cNrCV5ORGh8vUCJg0HYAXL2DEGkKx83do/GktZQ0q2HknaAic3IoDKelaLjFRIAI6xBd+x9LOorSZHbjaCzW4EAamNLQnzOpG9juCyWJWtbAnLkayOILHp1K1sgRuOmnhjJmIULmpNy9IkzDUhyVWuZ/0KkApgIAQAOw=="}},[o("div",{staticClass:"loading-template avatar animate-translate",class:t.sizeClass})]),t._v(" "),o("span",{staticClass:"accessibility-text"},[t._v("\n      Link to "+t._s(t.name)+"'s profile'\n    ")])],1)])}),[],!1,null,null,null);e.a=r.exports},777:function(t,e,o){"use strict";var n=o(1);function s(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function i(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?s(Object(o),!0).forEach((function(e){a(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function a(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var r={name:"ActionButtonShare",props:{text:{type:String,required:!1,default:""}},methods:i(i({},Object(n.e)(["setShowShareModal"])),{},{onClickShare:function(){this.setShowShareModal(!0)}})},l=o(0),c=Object(l.a)(r,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("button",{staticClass:"btn-icon tertiary share-action",on:{click:t.onClickShare}},[o("svg",{class:"icon-16",attrs:{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M0 12.782c0 .85.1 1.65.3 2.45.1.45.35.45.5 0 1.05-2.65 2.75-5.15 5.55-5.65H8v2.2c0 1 .6 1.3 1.3.7l6.4-5.5c.35-.3.35-.8 0-1.15L9.3.332c-.7-.65-1.3-.3-1.3.65v2.35c-4.8.8-8 4.7-8 9.45z",fill:"currentColor"}})]),t._v(" "),o("span",{staticClass:"accessibility-text"},[t._v("\n    Share actions\n  ")]),t._v(" "),t.text?o("span",{staticClass:"btn-text-right"},[t._v("\n    "+t._s(t.text)+"\n  ")]):t._e()])}),[],!1,null,null,null);e.a=c.exports},778:function(t,e,o){"use strict";var n=o(1);function s(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function i(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?s(Object(o),!0).forEach((function(e){a(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function a(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var r={name:"ActionButtonShotDetails",props:{text:{type:String,required:!1,default:""}},methods:i(i({},Object(n.e)(["setShowShotDetailsModal"])),{},{onClickShotDetails:function(){this.setShowShotDetailsModal(!0)}})},l=o(0),c=Object(l.a)(r,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("button",{staticClass:"btn-icon tertiary",on:{click:t.onClickShotDetails}},[o("svg",{class:"icon-16",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M12 0C5.373 0 0 5.37 0 12c0 6.627 5.373 12 12 12s12-5.373 12-12c0-6.63-5.373-12-12-12zm1 18a1 1 0 01-2 0v-7a1 1 0 012 0zM12 8a1.5 1.5 0 11.001-3.001A1.5 1.5 0 0112 8z"}})]),t._v(" "),o("span",{staticClass:"accessibility-text"},[t._v("\n    Detail actions\n  ")]),t._v(" "),t.text?o("span",{staticClass:"btn-text-right"},[t._v("\n    "+t._s(t.text)+"\n  ")]):t._e()])}),[],!1,null,null,null);e.a=c.exports},779:function(t,e,o){"use strict";var n={name:"ActionButtonCollection",props:{isSaved:{type:Boolean,required:!0}},methods:{onClickButton:function(){var t=document.querySelector(".shot-header-content a.bucket-shot");t&&t.click()}}},s=o(0),i=Object(s.a)(n,(function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-icon collection-action",class:this.isSaved?"highlighted":"tertiary",on:{click:this.onClickButton}},[e("svg",{attrs:{width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[e("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.334 3.333h7.333c.736 0 1.333.598 1.333 1.334v8.666c0 .736-.597 1.334-1.333 1.334H1.333A1.334 1.334 0 010 13.334V2.667c0-.736.597-1.333 1.333-1.333H6l1.334 2zM8.667 10h2c.367 0 .667-.3.667-.666 0-.367-.3-.667-.667-.667h-2v-2C8.667 6.3 8.367 6 8 6c-.366 0-.666.3-.666.667v2h-2c-.367 0-.667.3-.667.667 0 .366.3.666.666.666h2v2c0 .367.3.667.667.667.367 0 .667-.3.667-.667v-2z",fill:"currentColor"}})]),this._v(" "),e("span",{staticClass:"accessibility-text"},[this._v("\n    Save this shot to a collection\n  ")])])}),[],!1,null,null,null);e.a=i.exports},780:function(t,e,o){"use strict";var n={name:"ActionButtonLike",props:{isLiked:{type:Boolean,required:!0},isLikeProcessing:{type:Boolean,required:!1,default:!1},hasText:{type:Boolean,required:!1,default:!1}},computed:{animationName:function(){return this.isLiked?"like-icon":"unlike-icon"}},methods:{onClickButton:function(){var t=document.querySelector(".shot-header-content a.like-shot");t&&t.click()}}},s=o(0),i=Object(s.a)(n,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("button",{staticClass:"btn-icon like-action like-button",class:t.isLiked?"is-liked highlighted":"tertiary",on:{click:function(e){return e.preventDefault(),t.onClickButton(e)}}},[o("span",{staticClass:"like-button-icon"},[t.isLikeProcessing?o("span",{staticClass:"like-button-icon-loading"}):t._e(),t._v(" "),o("transition",{attrs:{name:t.animationName}},[t.isLikeProcessing?t._e():o("svg",{class:"like-button-icon-heart",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M18.199 2.04c-2.606-.284-4.262.961-6.199 3.008C9.955 3.001 8.407 1.756 5.801 2.04 2.257 2.428-.52 6.47.083 10 1.049 15.659 6.027 19 12 22c5.973-3 10.951-6.341 11.917-12 .603-3.53-2.174-7.572-5.718-7.96z"}})])])],1),t._v(" "),t.hasText?o("span",{staticClass:"like-button-text"},[t._v("\n    "+t._s(t.isLiked?"Liked":"Like")+"\n  ")]):t._e(),t._v(" "),o("span",{staticClass:"accessibility-text"},[t._v("\n    Like this shot\n  ")])])}),[],!1,null,null,null);e.a=i.exports},781:function(t,e,o){"use strict";o.d(e,"a",(function(){return n}));var n=function(){return!!(window.devicePixelRatio>1||window.matchMedia&&window.matchMedia("(-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi), (-webkit-min-device-pixel-ratio: 1.3), (min-resolution: 124.8dpi), (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)").matches)}},817:function(t,e,o){"use strict";o.r(e);var n=o(10),s=o(410),i=o(4),a=o.n(i),r=o(8),l=o(776),c=o(218),d=o(11),u=o.n(d),h={name:"FollowButton",props:{username:{type:String,required:!0},isFollowing:{type:Boolean,required:!0},canFollow:{type:Boolean,required:!0},isBlocking:{type:Boolean,required:!1,default:!1}},data:function(){return{isProcessing:!1,isLoggedIn:u()(Dribbble,"JsConfig.user.isLoggedIn")}},methods:{onClick:function(){this.isLoggedIn&&(this.isProcessing=!0,this.isFollowing?this.unfollow():this.follow())},follow:function(){var t=this;a.a.post("/".concat(this.username,"/followers"),{},Object(r.axiosOptions)()).then((function(e){t.isProcessing=!1,t.$emit("userFollow",{isFollowing:!0,username:t.username});var o=u()(e,"response.data.data",null);o&&Dribbble.EventBus.$emit("track:userFollowed",o)})).catch((function(){t.isProcessing=!1,Dribbble.EventBus.$emit("siteNotifications:add",{title:"Error following ".concat(t.username),id:"follow-notification",isCloseable:!0,willAutoClose:!0,autoCloseDuration:5e3})}))},unfollow:function(){var t=this;a.a.delete("/".concat(this.username,"/followers/").concat(this.username),{headers:Object(r.axiosOptions)().headers}).then((function(){t.isProcessing=!1,t.$emit("userFollow",{isFollowing:!1,username:t.username})})).catch((function(){t.isProcessing=!1,Dribbble.EventBus.$emit("siteNotifications:add",{title:"Error unfollowing ".concat(t.username),id:"unfollow-notification",isCloseable:!0,willAutoClose:!0,autoCloseDuration:5e3})}))}}},m=o(0),b=Object(m.a)(h,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return t.canFollow&&t.isLoggedIn?o("button",{staticClass:"form-btn follow-btn",class:{outlined:t.isFollowing},on:{click:t.onClick}},[t.isProcessing?o("span",{staticClass:"spin-loading-icon dark"}):o("span",{staticClass:"follow-buttton-icon"},[t.isFollowing?o("svg",{class:"fill-current",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M21.28 4.473a1.973 1.973 0 00-2.817.262L9.614 15.57 5.11 12.506c-.918-.626-2.161-.372-2.773.566s-.364 2.205.555 2.83L10.386 21 21.537 7.347a2.069 2.069 0 00-.257-2.874z"}})]):t._e(),t._v(" "),t.isFollowing?t._e():o("svg",{class:"fill-current",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M20 10h-6V4a2 2 0 00-4 0v6H4a2 2 0 000 4h6v6a2 2 0 004 0v-6h6a2 2 0 000-4z"}})])]),t._v(" "),o("span",{staticClass:"follow-button-text"},[t._v("\n    "+t._s(t.isFollowing?"Following":"Follow")+"\n  ")])]):t._e()}),[],!1,null,null,null).exports,p=o(781),f={name:"DesignerHoverCard",components:{Avatar:l.a,LazyImg:c.a,FollowButton:b},props:{id:{type:[String,Number],required:!0},username:{type:String,required:!0},updateShotHeader:{type:Boolean,required:!1,default:!1},cardDelay:{type:Number,required:!1,default:200}},data:function(){return{isCardPendingDisplay:null,cardData:null,following:null,tippy:null}},computed:{isFollowing:function(){return null!==this.following?this.following:!!this.cardData.isFollowing},hasShots:function(){return this.cardData&&this.cardData.shots&&this.cardData.shots.length},hasTeams:function(){return this.cardData&&this.cardData.teams&&this.cardData.teams.length},headerClasses:function(){return{"margin-b-0":!this.hasShots&&!this.hasTeams,"margin-b-16":this.hasShots||this.hasTeams}}},mounted:function(){Dribbble.EventBus.$on("userFollow",this.updateCardDataFollowing)},destroyed:function(){Dribbble.EventBus.$off("userFollow",this.updateCardDataFollowing)},methods:{onTippyInit:function(t){this.tippy=t,this.tippy.options.hideOnClick=!0,this.tippy.options.wait=this.shouldShowCard,this.tippy.options.popperOptions={modifiers:{preventOverflow:{enabled:!1},hide:{enabled:!1}}}},shouldShowCard:function(t){var e=this;this.isCardPendingDisplay&&clearTimeout(this.isCardPendingDisplay),this.isCardPendingDisplay=setTimeout((function(){t(),e.$hoverCards.getCardData(e.username).then((function(t){e.cardData=t}))}),this.cardDelay)},onMouseLeave:function(){this.tippy.state.visible||(clearTimeout(this.isCardPendingDisplay),this.isCardPendingDisplay=null)},onUserFollow:function(t){var e=t.isFollowing,o=t.username;if(this.updateCardDataFollowing({isFollowing:e,username:o}),this.updateShotHeader){var n=document.querySelector(".js-shot-header-action-links");n&&(e?n.classList.add("followed-by-current-user"):n.classList.remove("followed-by-current-user"))}},updateCardDataFollowing:function(t){var e=t.username,o=t.isFollowing;this.cardData&&e===this.username&&(this.cardData.isFollowing=o,this.$hoverCards.updateCardDataFollowing({username:e,isFollowing:o}))},getShotSrc:function(t){var e=Object(p.a)()?"200x150":"140x105",o=t.indexOf("?")>-1?"&":"?";return"".concat(t).concat(o,"compress=1&resize=").concat(e)}}},v=Object(m.a)(f,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"designer-hovercard",attrs:{name:t.id},on:{mouseleave:t.onMouseLeave}},[o("tippy",{attrs:{to:t.id,reactive:!0,interactive:!0,arrow:!0,theme:"hover-card",distance:16,placement:"left-start"},on:{init:t.onTippyInit}},[o("div",{staticClass:"v-hover-card text-align-left"},[t.cardData?[o("div",{staticClass:"hover-card-header display-flex align-center",class:t.headerClasses},[o("div",{staticClass:"hover-card-avatar"},[o("avatar",{staticClass:"hover-card-user-avatar flex-grow-0",attrs:{"user-id":t.cardData.id,"image-url":t.cardData.avatarUrl,path:t.cardData.path,name:t.cardData.name,size:"large"}}),t._v(" "),t.cardData.isPro?o("a",{staticClass:"badge-link",attrs:{href:"/pro"}},[o("span",{staticClass:"badge badge-pro"},[t._v("Pro")])]):t._e(),t._v(" "),t.cardData.isDribbbleTeam?o("a",{staticClass:"badge-link",attrs:{href:"/dribbble/about"}},[o("span",{staticClass:"badge badge-pro"},[t._v("Dribbble")])]):t._e(),t._v(" "),t.cardData.isTeam?o("a",{staticClass:"badge-link",attrs:{href:"/teams"}},[o("span",{staticClass:"badge badge-pro"},[t._v("Team")])]):t._e()],1),t._v(" "),o("div",{staticClass:"hover-card-user-info flex-grow-1 padding-h-16"},[o("a",{staticClass:"hover-card-user-name font-label link-deep-blue-sea",attrs:{href:t.cardData.path}},[t._v("\n              "+t._s(t.cardData.name)+"\n            ")]),t._v(" "),o("p",{staticClass:"hover-card-user-location font-body-small color-deep-blue-sea-light-40"},[t._v("\n              "+t._s(t.cardData.location)+"\n            ")])]),t._v(" "),o("div",{staticClass:"hover-card-user-follow flex-grow-0 flex-shrink-0"},[o("follow-button",{attrs:{username:t.cardData.username,"is-following":t.isFollowing,"can-follow":t.cardData.canFollow,"is-blocking":t.cardData.isBlocking},on:{userFollow:t.onUserFollow}})],1)]),t._v(" "),t.hasShots?o("div",{staticClass:"hover-card-shots margin-b-16"},t._l(t.cardData.shots,(function(e,n){return o("div",{key:"item-"+n,staticClass:"hover-card-shot"},[o("a",{attrs:{href:e.path}},[o("lazy-img",{attrs:{id:n,src:t.getShotSrc(e.imageUrl),"img-class":"hover-card-shot-image"}},[o("div",{staticClass:"loading-template shot animate-translate"})])],1)])})),0):t._e(),t._v(" "),t.hasTeams?o("div",{staticClass:"hover-card-teams display-flex align-center"},[o("span",{staticClass:"hover-card-team-label font-sublabel-bold color-deep-blue-sea"},[t._v("\n            Teams:\n          ")]),t._v(" "),t._l(t.cardData.teams,(function(t){return o("avatar",{key:t.id,staticClass:"hover-card-team-avatar ml10",attrs:{"user-id":t.id,"image-url":t.avatarUrl,path:t.path,name:t.name,title:t.name}})}))],2):t._e()]:[o("div",{staticClass:"loading-template-hover-card display-flex align-center"},[o("div",{staticClass:"loading-template avatar large animate-translate flex-grow-0"}),t._v(" "),o("div",{staticClass:"flex-grow-1 padding-h-16"},[o("div",{staticClass:"loading-template bar h-medium margin-b-8 w-50 animate-translate"}),t._v(" "),o("div",{staticClass:"loading-template bar h-small w-75 animate-translate"})]),t._v(" "),o("div",{staticClass:"loading-template button animate-translate"})])]],2)]),t._v(" "),t._t("default")],2)}),[],!1,null,null,null).exports,g={loadedCardsData:{},fetchCardData:function(t){return new Promise((function(e,o){var n="/client_app/profile/hover_card/".concat(t);a.a.get(n,{params:{format:"json"}},Object(r.axiosOptions)()).then((function(t){if(t&&t.data){var o=t.data.data||t.data;e(o)}})).catch((function(t){o(t)}))}))},getCardData:function(t){var e=this;return new Promise((function(o){e.loadedCardsData[t]?o(e.loadedCardsData[t]):e.fetchCardData(t).then((function(n){e.loadedCardsData[t]=n,o(n)}))}))},updateCardDataFollowing:function(t){var e=t.username,o=t.isFollowing;this.loadedCardsData[e]&&(this.loadedCardsData[e].isFollowing=o)}},w={install:function(t){t.component("designer-hover-card",v),t.prototype.$hoverCards=g}},y=o(419),C=o(70),O=o(792),S=o.n(O),k=o(1),j={currentUser:{},shotId:0,showSidebar:!1,showSidebarFromServer:!1,showShareModal:!1,showShotDetailsModal:!1,comments:[],commentsCount:0,commentsTotalPages:1,commentsPage:1,commentsDisabled:!1,commentsLoading:!1,initialCommentsLoaded:!1,isFromModal:!1,isOwnedByCurrentUser:!1,shotUser:{},featureShotUrl:"",shareUtms:{},isLiked:!1,isLikeProcessing:!1,isSaved:!1,boost:{},likesCount:0,shotMediaPreview:{},isBoostCancellationModalVisible:!1,canCurrentUserComment:!1,tags:[],viewsCount:0,savesCount:0,postedOn:"",canCurrentUserRebound:!1,reboundPath:"",shotHasRebounds:!1},D={getShotId:function(t){return t.shotId},getHasComments:function(t){return t.commentsCount>0},getAreCommentsDisabled:function(t){return!t.canCurrentUserComment||t.commentsDisabled},getIsUserLoggedIn:function(t){return t.currentUser&&t.currentUser.isLoggedIn||!1},getCommentsReachedEnd:function(t){return t.commentsPage>t.commentsTotalPages}};function _(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function x(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?_(Object(o),!0).forEach((function(e){B(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):_(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function B(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function P(t){return function(t){if(Array.isArray(t))return A(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return A(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return A(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=new Array(e);o<e;o++)n[o]=t[o];return n}var E={setState:function(t,e){Object.assign(t,e)},setCurrentUser:function(t,e){t.currentUser=e},setShotId:function(t,e){t.shotId=e},setShowSidebar:function(t,e){t.showSidebar=e},setShowShareModal:function(t,e){t.showShareModal=e},setShowShotDetailsModal:function(t,e){t.showShotDetailsModal=e},setCommentsCount:function(t,e){t.commentsCount=e},setCommentsLoading:function(t,e){t.commentsLoading=e},setInitialCommentsLoaded:function(t,e){t.initialCommentsLoaded=e},setCommentsTotalPages:function(t,e){t.commentsTotalPages=e},setCommentsPage:function(t,e){t.commentsPage=e},setCommentsDisabled:function(t,e){t.commentsDisabled=e},setComments:function(t,e){t.comments=e},addComment:function(t,e){t.comments.unshift(e)},addComments:function(t,e){var o;(o=t.comments).push.apply(o,P(e))},editComment:function(t,e){var o=t.comments.findIndex((function(t){return t.id===e.id})),n=x(x({},t.comments[o]),e);t.comments.splice(o,1,n)},reportComment:function(t,e){var o=e.commentId,n=t.comments.findIndex((function(t){return t.id===o})),s=x(x({},t.comments[n]),{isFlagged:!0});t.comments.splice(n,1,s)},likeCommentToggle:function(t,e){var o=e.commentId,n=e.isLikedByUser,s=e.likeId,i=void 0===s?null:s,a=t.comments.findIndex((function(t){return t.id===o})),r=x(x({},t.comments[a]),{isLikedByUser:n,likeId:i});t.comments.splice(a,1,r)},deleteComment:function(t,e){var o=e.commentId,n=t.comments.findIndex((function(t){return t.id===o}));t.comments.splice(n,1)},setIsFromModal:function(t,e){t.isFromModal=e},setShotUser:function(t,e){t.shotUser=e},setFeatureShotUrl:function(t,e){t.featureShotUrl=e},setIsLiked:function(t,e){t.isLiked=e},setIsLikeProcessing:function(t,e){t.isLikeProcessing=e},setIsSaved:function(t,e){t.isSaved=e},setIsBoostCancellationModalVisible:function(t,e){t.isBoostCancellationModalVisible=e},resetState:function(t){t.shotId=0,t.showSidebar=!1,t.showShareModal=!1,t.comments=[],t.commentsCount=0,t.commentsTotalPages=1,t.commentsPage=1,t.commentsDisabled=!1,t.commentsLoading=!1,t.initialCommentsLoaded=!1,t.isFromModal=!1,t.shotUser={},t.shareUtms={},t.isLiked=!1,t.isLikeProcessing=!1,t.isSaved=!1,t.boost={},t.likesCount=0,t.shotMediaPreview={},t.showSidebarFromServer=!1,t.tags=[],t.viewsCount=0,t.savesCount=0,t.postedOn="",t.canCurrentUserRebound=!1,t.reboundPath="",t.shotHasRebounds=!1}},L=o(38),M=o(406),I={setCurrentUser:function(t){var e=t.commit,o=Object(L.a)(["JsConfig"]);o&&o.user&&e("setCurrentUser",o.user)},setState:function(t,e){var o=t.dispatch;(0,t.commit)("setState",e),e.showSidebarFromServer&&0!==e.commentsCount&&o("loadComments")},openShotSidebar:function(t){var e=t.state,o=t.dispatch;(0,t.commit)("setShowSidebar",!0),o("syncSidebarState"),e.comments.length||o("loadComments")},closeShotSidebar:function(t){var e=t.commit,o=t.dispatch;e("setShowSidebar",!1),o("syncSidebarState")},syncSidebarState:function(t){var e=t.state;Object(M.b)("comments_sidebar_open",e.showSidebar)},loadComments:function(t){var e=t.state,o=t.commit,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"recent";return o("setCommentsLoading",!0),new Promise((function(t,s){var i="/shots/".concat(e.shotId,"/comments"),l=e.commentsPage,c={page:l,sort:n,format:"json"};a.a.get(i,{params:c},Object(r.axiosOptions)()).then((function(e){if(e&&e.data){var n=e.data,s=n.comments,i=n.commentsCount,a=n.disabled,r=n.totalPages;1===l?(o("setComments",s),o("setCommentsCount",i),o("setCommentsDisabled",a),o("setCommentsTotalPages",r),o("setInitialCommentsLoaded",!0)):o("addComments",s),o("setCommentsLoading",!1),o("setCommentsPage",l+1),t()}})).catch((function(t){o("setCommentsLoading",!1),s(t)}))}))},addComment:function(t,e){var o=t.state,n=t.commit,s=e.text,i=e.mentionedUsers;return new Promise((function(t,e){var l="/shots/".concat(o.shotId,"/comments");a.a.post(l,{text:s,mentionedUsers:i},Object(r.axiosOptions)()).then((function(e){e&&e.data&&(n("addComment",e.data),n("setCommentsCount",o.commentsCount+1),Dribbble.Itly.trackShotEvent({eventName:"shotCommented",shotId:o.shotId,additionalData:{comment:s}}),t(e.data))})).catch((function(t){Dribbble.EventBus.$emit("siteNotifications:add",{title:"Error posting feedback",message:"Please try again later",id:"comment-add-error-".concat((new Date).getTime())}),e(t)}))}))},editComment:function(t,e){var o=t.state,n=t.commit,s=e.commentId,i=e.text,l=e.mentionedUsers;return new Promise((function(t,e){var c="/shots/".concat(o.shotId,"/comments/").concat(s);a.a.put(c,{text:i,mentionedUsers:l},Object(r.axiosOptions)()).then((function(e){e&&e.data&&(n("editComment",e.data),t())})).catch((function(t){Dribbble.EventBus.$emit("siteNotifications:add",{title:"Error editing feedback",message:"Please try again later",id:"comment-edit-error-".concat((new Date).getTime())}),e(t)}))}))},deleteComment:function(t,e){var o=t.state,n=t.commit,s=e.commentId;return new Promise((function(t,e){var i="/shots/".concat(o.shotId,"/comments/").concat(s);a.a.delete(i,{headers:Object(r.axiosOptions)().headers}).then((function(){n("deleteComment",{commentId:s}),n("setCommentsCount",o.commentsCount-1),t()})).catch((function(t){Dribbble.EventBus.$emit("siteNotifications:add",{title:"Error deleting feedback",message:"Please try again later",id:"comment-delete-error-".concat((new Date).getTime())}),e(t)}))}))},reportComment:function(t,e){var o=t.commit,n=e.commentId;return new Promise((function(t,e){var s="/comments/".concat(n,"/flags");a.a.post(s,{},Object(r.axiosOptions)()).then((function(){o("reportComment",{commentId:n}),Dribbble.EventBus.$emit("siteNotifications:add",{title:"Comment Reported",id:"comment-report",type:"success"}),t()})).catch((function(t){Dribbble.EventBus.$emit("siteNotifications:add",{title:"Error reporting feedback",message:"Please try again later",id:"comment-report-error"}),e(t)}))}))},likeComment:function(t,e){var o=t.commit,n=e.commentId,s="/comments/".concat(n,"/likes");a.a.post(s,{},Object(r.axiosOptions)()).then((function(t){if(t&&t.data){var e=t.data.likeId;o("likeCommentToggle",{isLikedByUser:!0,commentId:n,likeId:e})}})).catch((function(){Dribbble.EventBus.$emit("siteNotifications:add",{title:"Error liking comment!",message:"Please try again later",id:"comment-like-error"})}))},unLikeComment:function(t,e){var o=t.commit,n=e.commentId,s=e.likeId,i="/comments/".concat(n,"/likes/").concat(s);a.a.delete(i,{headers:Object(r.axiosOptions)().headers}).then((function(){o("likeCommentToggle",{isLikedByUser:!1,likeId:null,commentId:n})})).catch((function(){Dribbble.EventBus.$emit("siteNotifications:add",{title:"Error unliking comment!",message:"Please try again later",id:"uncomment-like-error"})}))},unReboundComment:function(t,e){var o=t.commit,n=t.state,s=e.commentId,i="/shots/".concat(n.shotId,"/rebounds/").concat(s);a.a.delete(i,{headers:Object(r.axiosOptions)().headers}).then((function(){o("deleteComment",{commentId:s}),o("setCommentsCount",n.commentsCount-1),Dribbble.EventBus.$emit("siteNotifications:add",{title:"Rebound unlinked",message:"",type:"success",id:"comment-unlinking-rebound-success-".concat((new Date).getTime())})})).catch((function(){Dribbble.EventBus.$emit("siteNotifications:add",{title:"Error unlinking rebound",message:"Please try again later",id:"comment-unlinking-rebound-error-".concat((new Date).getTime())})}))},openBoostedShotPurchaseModal:function(t,e){var o=t.state;e.preventDefault();var n={shotId:o.shotId,mediaType:o.shotMediaPreview.mediaType,shotImageUrl:o.shotMediaPreview.shotImageUrl,shotGifUrl:o.shotMediaPreview.shotGifUrl,shotVideoUrl:o.shotMediaPreview.shotVideoUrl,userDisplayName:o.currentUser.name,userAvatar:o.currentUser.avatarUrl,commentsCount:o.commentsCount,likesCount:o.likesCount};Dribbble.EventBus.$emit("openBoostedShotPurchaseModal",{shotData:n,isTriggeredByAdmin:!1,shouldShowSelectShotStep:!1,entryPoint:"Own shot details page",entryCtaText:"Boost shot icon"})}};n.default.use(k.b);var U=new k.b.Store({state:j,getters:D,mutations:E,actions:I});function z(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function T(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?z(Object(o),!0).forEach((function(e){q(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):z(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function q(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var F={name:"ShotSidebar",components:{ShotSidebarContent:function(){return Promise.all([o.e(75),o.e(68)]).then(o.bind(null,818))}},data:function(){return{showContent:!1}},computed:T(T(T({},Object(k.f)(["showSidebar","commentsLoading","showSidebarFromServer"])),Object(k.d)(["getHasComments","getCommentsReachedEnd"])),{},{infiniteScrollEnabled:function(){return this.getHasComments&&!this.commentsLoading&&this.showSidebar&&!this.getCommentsReachedEnd},shouldShowSidebarContent:function(){return this.showContent||this.showSidebarFromServer}}),methods:T(T({},Object(k.c)(["loadComments","closeShotSidebar"])),{},{onLoadMore:function(){this.infiniteScrollEnabled&&this.loadComments()},closeSidebar:function(){var t=this;setTimeout((function(){t.closeShotSidebar()}),150),this.showContent=!1},onEnterAnimation:function(){var t=this;document.body.classList.add("shot-sidebar-open"),document.querySelector(".js-shot-content").classList.add("sidebar-open"),Dribbble.EventBus.$emit("shot-sidebar:opening");var e=document.querySelector(".js-shot-overlay");e&&Dribbble.isMobile()&&e.scrollTo(0,0),setTimeout((function(){t.showContent=!0}),20)},onLeaveAnimation:function(){Dribbble.EventBus.$emit("shot-sidebar:closing"),document.body.classList.remove("shot-sidebar-open"),document.querySelector(".js-shot-content").classList.remove("sidebar-open")},onAfterEnterAnimation:function(){Dribbble.EventBus.$emit("shot-sidebar:opened")},onAfterLeaveAnimation:function(){Dribbble.EventBus.$emit("shot-sidebar:closed")}})},N=Object(m.a)(F,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("transition",{attrs:{name:"slide-sidebar"},on:{enter:t.onEnterAnimation,leave:t.onLeaveAnimation,"after-enter":t.onAfterEnterAnimation,"after-leave":t.onAfterLeaveAnimation}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.showSidebar,expression:"showSidebar"}],staticClass:"shot-sidebar",class:{"sidebar-open":t.showSidebar}},[o("div",{staticClass:"shot-sidebar-content"},[o("transition",{attrs:{name:"show-close"}},[t.shouldShowSidebarContent?o("a",{staticClass:"close-sidebar",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeSidebar(e)}}},[o("svg",{class:"close-icon-desktop",attrs:{viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M7.229 5.815a1 1 0 00-1.415 1.414L9.586 11l-3.772 3.771a1 1 0 101.415 1.414l3.77-3.77 3.772 3.77a1 1 0 101.414-1.414L12.414 11l3.771-3.771a1 1 0 00-1.414-1.414L11 9.585l-3.771-3.77z",fill:"currentColor"}})]),t._v(" "),o("svg",{class:"close-icon-mobile fill-current",attrs:{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M2.751 19.526c-.63.632-1.65.632-2.279 0a1.62 1.62 0 010-2.286L7.688 10 .472 2.76a1.62 1.62 0 010-2.286 1.608 1.608 0 012.28 0l8.331 8.36.024.022c.206.208.345.457.416.721l.005.02a1.62 1.62 0 01-.452 1.577L2.75 19.526z",fill:"currentColor"}})])]):t._e()]),t._v(" "),o("transition",{attrs:{name:"slide-sidebar-content"}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.shouldShowSidebarContent,expression:"shouldShowSidebarContent"},{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.onLoadMore,expression:"onLoadMore"}],staticClass:"sidebar-scrolling-container",attrs:{"infinite-scroll-disabled":t.infiniteScrollEnabled,"infinite-scroll-distance":10,"infinite-scroll-immediate-check":!1,"infinite-scroll-listen-for-event":"infiniteScroll"}},[t.showSidebar?o("shot-sidebar-content",{attrs:{"is-loading-comments":t.commentsLoading}}):t._e()],1)])],1)])])}),[],!1,null,null,null).exports;function R(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function $(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var H={name:"ActionButtonComments",props:{commentsDisabled:{type:Boolean,required:!0},commentsCount:{type:Number,required:!0}},methods:function(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?R(Object(o),!0).forEach((function(e){$(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):R(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}({},Object(k.c)(["openShotSidebar"]))},V=Object(m.a)(H,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("button",{staticClass:"btn-icon tertiary with-indicator comments-action",on:{click:function(e){return e.preventDefault(),t.openShotSidebar(e)}}},[o("svg",{class:"icon-16",attrs:{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M10 0H6a5.998 5.998 0 00-1.333 11.846V16l4.666-4H10a6 6 0 100-12z",fill:"currentColor"}})]),t._v(" "),o("span",{staticClass:"accessibility-text"},[t._v("\n    View comments\n  ")]),t._v(" "),t.commentsCount?o("span",{staticClass:"count-indicator"},[t._v("\n    "+t._s(t.commentsCount)+"\n  ")]):t._e()])}),[],!1,null,null,null).exports,G=o(777),Y=o(778),Z=o(779),J=o(780);function Q(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function W(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var X={name:"ActionButtonBoost",methods:function(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(o),!0).forEach((function(e){W(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Q(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}({},Object(k.c)(["openBoostedShotPurchaseModal"]))},K=Object(m.a)(X,(function(){var t=this.$createElement,e=this._self._c||t;return e("button",{staticClass:"btn-icon tertiary js-boost-shot-button",on:{click:this.openBoostedShotPurchaseModal}},[e("svg",{class:"icon-16",attrs:{width:"17",height:"16",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[e("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.665 3.702c0 .572.464 1.036 1.036 1.036h2.263L8.448 9.254a.622.622 0 01-.88 0L6.43 8.114a1.867 1.867 0 00-2.64 0L.803 11.1a1.036 1.036 0 001.465 1.464l2.4-2.401a.622.622 0 01.88 0l1.14 1.14c.73.728 1.911.728 2.64 0l5.1-5.1v2.263a1.036 1.036 0 102.072 0V3.289a.622.622 0 00-.622-.623H10.7c-.572 0-1.036.464-1.036 1.036z"}})])])}),[],!1,null,null,null).exports;function tt(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function et(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var ot={name:"ActionButtonBoosted",components:{ProgressRing:o(413).a},computed:function(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?tt(Object(o),!0).forEach((function(e){et(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):tt(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}({},Object(k.f)(["boost"]))},nt=Object(m.a)(ot,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("button",{staticClass:"btn-icon tertiary btn-custom-icon-size",class:{"js-boost-shot-button":"rejected"===t.boost.status}},["approved"===t.boost.status?o("div",{staticClass:"shot-action-button-boost-approved display-flex"},[o("progress-ring",{attrs:{"stroke-color":"#77E0B5",radius:14,progress:t.boost.impressionsCount/t.boost.totalImpressions*100,stroke:2,"has-base-circle":!0,"rotate-degrees":270}}),t._v(" "),o("svg",{class:"boost-approved-icon icon-12",attrs:{width:"17",height:"16",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.665 3.702c0 .572.464 1.036 1.036 1.036h2.263L8.448 9.254a.622.622 0 01-.88 0L6.43 8.114a1.867 1.867 0 00-2.64 0L.803 11.1a1.036 1.036 0 001.465 1.464l2.4-2.401a.622.622 0 01.88 0l1.14 1.14c.73.728 1.911.728 2.64 0l5.1-5.1v2.263a1.036 1.036 0 102.072 0V3.289a.622.622 0 00-.622-.623H10.7c-.572 0-1.036.464-1.036 1.036z"}})])],1):t._e(),t._v(" "),"pending"===t.boost.status?o("div",{staticClass:"color-deep-blue-sea-light-60 display-flex"},[o("svg",{class:"icon-16",attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M.001 12c0-6.627 5.373-12 12-12s12 5.373 12 12-5.373 12-12 12-12-5.373-12-12zm5 0a1.5 1.5 0 103.001-.001A1.5 1.5 0 005.001 12zm5.5 0a1.5 1.5 0 103.001-.001 1.5 1.5 0 00-3.001.001zm7 1.5a1.5 1.5 0 11.001-3.001 1.5 1.5 0 01-.001 3.001z",fill:"currentColor"}})])]):t._e(),t._v(" "),"rejected"===t.boost.status?o("div",{staticClass:"color-lobster display-flex"},[o("svg",{class:"icon-16 fill-current",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M23.512 17.5L15.178 2.852c-1.405-2.47-4.951-2.47-6.356 0L.488 17.5C-.907 19.951.855 23 3.666 23h16.668c2.811 0 4.573-3.049 3.178-5.5zM11 6.999a1 1 0 012 0V14a1 1 0 01-2 0zM12 20a1.5 1.5 0 11.001-3.001A1.5 1.5 0 0112 20z"}})])]):t._e()])}),[],!1,null,null,null).exports,st=o(36);function it(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function at(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?it(Object(o),!0).forEach((function(e){rt(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):it(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function rt(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var lt={name:"BoostedHoverCard",computed:at(at({},Object(k.f)(["boost"])),{},{numberOfImpressions:function(){return Object(st.b)("impression",this.boost.impressionsCount)},numberOfClicks:function(){return Object(st.b)("click",this.boost.clicksCount)}}),methods:at(at(at({},Object(k.e)(["setIsBoostCancellationModalVisible"])),Object(k.c)(["openBoostedShotPurchaseModal"])),{},{onClickCancelBoost:function(){this.setIsBoostCancellationModalVisible(!0)}})},ct=Object(m.a)(lt,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",["approved"===t.boost.status?o("div",[o("div",{staticClass:"flex justify-space-between color-seafoam-dream"},[o("div",{staticClass:"font-sublabel-bold color-deep-blue-sea"},[t._v("\n        Boosted stats\n      ")]),t._v(" "),o("svg",{class:"icon-20",attrs:{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 20.27c5.523 0 10-4.478 10-10 0-5.523-4.477-10-10-10s-10 4.477-10 10c0 5.522 4.477 10 10 10zm1.617-12.114a.693.693 0 010-1.386h3.467c.23 0 .416.186.416.416v3.466a.693.693 0 11-1.386 0V9.137l-3.415 3.415a1.25 1.25 0 01-1.768 0l-.763-.763a.417.417 0 00-.59 0l-1.607 1.607a.693.693 0 11-.98-.98l1.999-1.999a1.25 1.25 0 011.767 0l.763.763a.417.417 0 00.59 0l3.023-3.024h-1.515z",fill:"currentColor"}})])]),t._v(" "),o("div",{staticClass:"margin-t-8 flex align-center font-body-small color-deep-blue-sea-light-20"},[o("svg",{class:"icon-16 margin-r-8 fill-current",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 14 12",fill:"none","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M7 3.958a2.042 2.042 0 100 4.084 2.042 2.042 0 000-4.084zM7 .75C3.134.75 0 5.125 0 6s3.134 5.25 7 5.25S14 6.875 14 6 10.866.75 7 .75zm0 8.458a3.208 3.208 0 110-6.416 3.208 3.208 0 010 6.416z",fill:"#9E9EA7"}})]),t._v("\n      "+t._s(t.numberOfImpressions)+"\n    ")]),t._v(" "),o("div",{staticClass:"margin-t-8 flex align-center font-body-small color-deep-blue-sea-light-20"},[o("svg",{class:"icon-16 margin-r-8 fill-current",attrs:{width:"17",height:"16",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.202.156c.465.04.81.45.769.916l-.148 1.685a.846.846 0 01-1.685-.147L8.285.925a.846.846 0 01.917-.77zm-4.419 6.83a.846.846 0 01-.916.77l-1.685-.148a.846.846 0 11.147-1.686l1.685.148c.466.04.81.45.77.916zM6.13 4.402a.846.846 0 01-1.192-.104L3.85 3.002a.846.846 0 011.295-1.087L6.233 3.21c.3.357.254.891-.104 1.191zm5.362.47a.846.846 0 01.105-1.192l1.296-1.088a.846.846 0 111.087 1.296l-1.296 1.088a.846.846 0 01-1.192-.105zm-8.319 5.876a.846.846 0 001.088 1.296l1.295-1.088A.846.846 0 004.468 9.66l-1.296 1.088zm4.472-4.305a.5.5 0 01.744-.534l7.894 4.668a.5.5 0 01-.127.914l-3.423.909a.5.5 0 00-.286.203l-2.01 2.97a.5.5 0 01-.903-.176l-1.89-8.954z"}})]),t._v("\n      "+t._s(t.numberOfClicks)+"\n    ")]),t._v(" "),o("div",{staticClass:"color-deep-blue-sea-light-60 margin-t-8 font-body-small"},[t._v("\n      All stats attributed to boosting\n    ")])]):t._e(),t._v(" "),"pending"===t.boost.status?o("div",[o("div",{staticClass:"flex justify-space-between"},[o("div",{staticClass:"font-sublabel-bold color-deep-blue-sea"},[t._v("\n        Awaiting approval\n      ")]),t._v(" "),o("div",{staticClass:"color-deep-blue-sea-light-60"},[o("svg",{class:"icon-24",attrs:{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M.001 12c0-6.627 5.373-12 12-12s12 5.373 12 12-5.373 12-12 12-12-5.373-12-12zm5 0a1.5 1.5 0 103.001-.001A1.5 1.5 0 005.001 12zm5.5 0a1.5 1.5 0 103.001-.001 1.5 1.5 0 00-3.001.001zm7 1.5a1.5 1.5 0 11.001-3.001 1.5 1.5 0 01-.001 3.001z",fill:"currentColor"}})])])]),t._v(" "),o("div",{staticClass:"margin-t-8 font-body-small color-deep-blue-sea-light-20"},[t._v("\n      Your shot is queued for review. You will be notified as soon as it\u2019s approved.\n    ")]),t._v(" "),o("button",{staticClass:"form-btn margin-t-16",on:{click:t.onClickCancelBoost}},[t._v("\n      Cancel boost\n    ")])]):t._e(),t._v(" "),"rejected"===t.boost.status?o("div",[o("div",{staticClass:"flex justify-space-between"},[o("div",{staticClass:"font-sublabel-bold color-deep-blue-sea"},[t._v("\n        Boost denied\n      ")]),t._v(" "),o("div",{staticClass:"color-lobster"},[o("svg",{class:"icon-24 fill-current",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M23.512 17.5L15.178 2.852c-1.405-2.47-4.951-2.47-6.356 0L.488 17.5C-.907 19.951.855 23 3.666 23h16.668c2.811 0 4.573-3.049 3.178-5.5zM11 6.999a1 1 0 012 0V14a1 1 0 01-2 0zM12 20a1.5 1.5 0 11.001-3.001A1.5 1.5 0 0112 20z"}})])])]),t._v(" "),o("div",{staticClass:"margin-t-8 font-body-small color-deep-blue-sea-light-20"},["general"===t.boost.statusReason?o("span",[t._v("\n        Your shot boost was denied. You can resubmit your your shot boosting below.\n      ")]):o("span",[t._v("Your shot boost was denied because "+t._s(t.boost.statusReasonSentence)+". Fix the issue by boosting below.")])]),t._v(" "),o("a",{staticClass:"margin-t-16 display-flex align-center",attrs:{href:"#"},on:{click:t.openBoostedShotPurchaseModal}},[o("span",{staticClass:"color-deep-blue-sea-light-60 margin-r-8"},[o("svg",{class:"icon-16 fill-current",attrs:{width:"17",height:"16",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.665 3.702c0 .572.464 1.036 1.036 1.036h2.263L8.448 9.254a.622.622 0 01-.88 0L6.43 8.114a1.867 1.867 0 00-2.64 0L.803 11.1a1.036 1.036 0 001.465 1.464l2.4-2.401a.622.622 0 01.88 0l1.14 1.14c.73.728 1.911.728 2.64 0l5.1-5.1v2.263a1.036 1.036 0 102.072 0V3.289a.622.622 0 00-.622-.623H10.7c-.572 0-1.036.464-1.036 1.036z"}})])]),t._v(" "),o("span",{staticClass:"color-deep-blue-sea-light-60 font-body"},[t._v("Boost Shot")])])]):t._e()])}),[],!1,null,null,null).exports;function dt(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function ut(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?dt(Object(o),!0).forEach((function(e){ht(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):dt(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ht(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var mt={name:"ShotActionsToolbar",components:{ActionButtonComments:V,ActionButtonShare:G.a,ActionButtonShotDetails:Y.a,ActionButtonCollection:Z.a,ActionButtonLike:J.a,ActionButtonBoost:K,ActionButtonBoosted:nt,Avatar:l.a,BoostedHoverCard:ct},data:function(){return{buttonsTippyOptions:{placement:"left",distance:16,arrow:!0,arrowTransform:"scale(0.75)"},scrollingEl:null,showOnScroll:!1}},computed:ut(ut({},Object(k.f)(["shotId","shotUser","isFromModal","showSidebar","commentsCount","commentsDisabled","isLiked","isSaved","isLikeProcessing","boost","isOwnedByCurrentUser","isMultiShot"])),{},{isToolbarVisible:function(){return"small"===this.$mq||!this.showSidebar},canUserBoostShot:function(){return!this.boost.hasBoostedShots||this.boost.hasBoostedShots&&!["pending","approved","rejected"].includes(this.boost.status)},editPath:function(){return Dribbble.Globals.isFeatureGateEnabled("uploadFlow20")&&this.isMultiShot?"/uploads/".concat(this.shotId,"/edit"):"/shots/".concat(this.shotId,"/edit")}}),watch:{$mq:function(t){"small"===t&&this.scrollingEl&&this.removeCustomEvents(),"small"===t||this.scrollingEl||this.addCustomEvents()}},created:function(){this.addCustomEvents()},mounted:function(){"small"!==this.$mq&&this.checkShowOnScroll()},destroyed:function(){this.removeCustomEvents()},methods:{addCustomEvents:function(){"small"!==this.$mq&&(this.scrollingEl=this.isFromModal?document.querySelector(".js-shot-overlay .overlay-content"):window,this.scrollingEl.addEventListener("scroll",this.handleScroll))},removeCustomEvents:function(){this.scrollingEl.removeEventListener("scroll",this.handleScroll),this.scrollingEl=null},handleScroll:function(){this.checkShowOnScroll()},checkShowOnScroll:function(){var t=document.querySelector(".js-shot-header").getBoundingClientRect().bottom;this.showOnScroll=t<=0}}};function bt(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function pt(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?bt(Object(o),!0).forEach((function(e){ft(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):bt(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ft(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var vt={name:"ShotSidebarApp",components:{ShotSidebar:N,ShotActionsToolbar:Object(m.a)(mt,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"shot-actions-toolbar-wrapper"},[o("transition",{attrs:{name:"action-toolbar"}},[t.isToolbarVisible?o("div",{staticClass:"shot-actions-toolbar"},[o("designer-hover-card",{attrs:{id:"shot-actions-toolbar-avatar",username:t.shotUser.username,"update-shot-header":!0}},[o("avatar",{attrs:{"user-id":t.shotUser.id,"image-url":t.shotUser.avatarUrl,path:t.shotUser.url,name:t.shotUser.name,size:"medium"}})],1),t._v(" "),o("transition-group",{staticClass:"shot-actions-toolbar-buttons",attrs:{name:"button-group",tag:"div"}},[o("action-button-comments",{directives:[{name:"tippy",rawName:"v-tippy",value:t.buttonsTippyOptions,expression:"buttonsTippyOptions"}],key:"actionButtonComments",attrs:{title:"Feedback","comments-disabled":t.commentsDisabled,"comments-count":t.commentsCount}}),t._v(" "),o("action-button-share",{directives:[{name:"tippy",rawName:"v-tippy",value:t.buttonsTippyOptions,expression:"buttonsTippyOptions"}],key:"actionButtonShare",attrs:{title:"Share"}}),t._v(" "),o("action-button-shot-details",{directives:[{name:"tippy",rawName:"v-tippy",value:t.buttonsTippyOptions,expression:"buttonsTippyOptions"}],key:"actionButtonShotDetails",attrs:{title:"Shot details"}}),t._v(" "),t.showOnScroll?o("action-button-collection",{directives:[{name:"tippy",rawName:"v-tippy",value:t.buttonsTippyOptions,expression:"buttonsTippyOptions"}],key:"actionButtonCollection",attrs:{title:"Save","is-saved":t.isSaved}}):t._e(),t._v(" "),t.showOnScroll?o("action-button-like",{directives:[{name:"tippy",rawName:"v-tippy",value:t.buttonsTippyOptions,expression:"buttonsTippyOptions"}],key:"actionButtonLike",attrs:{title:t.isLiked?"Unlike":"Like","is-liked":t.isLiked,"is-like-processing":t.isLikeProcessing}}):t._e(),t._v(" "),t.isOwnedByCurrentUser?[o("div",{key:"actionButtonsDivider",staticClass:"action-buttons-divider"}),t._v(" "),o("a",{directives:[{name:"tippy",rawName:"v-tippy",value:t.buttonsTippyOptions,expression:"buttonsTippyOptions"}],key:"actionButtonEdit",staticClass:"btn-icon tertiary",attrs:{href:t.editPath,title:"Edit"}},[o("svg",{attrs:{viewBox:"0 0 24 24",width:"24",height:"24","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M2.526 15.046L0 24l8.954-2.526 10.035-10.035-6.428-6.428zM22.668 1.332A4.512 4.512 0 0019.454 0a4.513 4.513 0 00-3.214 1.332l-2.262 2.262 6.428 6.428 2.262-2.262c.859-.859 1.332-2 1.332-3.214a4.512 4.512 0 00-1.332-3.214z"}})])]),t._v(" "),t.canUserBoostShot?o("action-button-boost",{directives:[{name:"tippy",rawName:"v-tippy",value:t.buttonsTippyOptions,expression:"buttonsTippyOptions"}],key:"actionButtonBoost",attrs:{title:"Promote this shot"}}):o("action-button-boosted",{directives:[{name:"tippy",rawName:"v-tippy",value:{html:"#shot-actions-toolbar-boosted",reactive:!0,interactive:!0,theme:"hover-card",distance:16,delay:[200,null],placement:"left-start"},expression:"{\n              html: '#shot-actions-toolbar-boosted',\n              reactive: true,\n              interactive: true,\n              theme: 'hover-card',\n              distance: 16,\n              delay: [200, null],\n              placement: 'left-start'\n            }"}],key:"actionButtonBoosted"})]:t._e()],2),t._v(" "),t.boost.canBoostShot?o("boosted-hover-card",{attrs:{id:"shot-actions-toolbar-boosted"}}):t._e()],1):t._e()])],1)}),[],!1,null,null,null).exports},props:{shotData:{type:Object,required:!0}},computed:pt({},Object(k.f)(["showSidebar"])),mounted:function(){var t=this;Dribbble.EventBus.$on("shot-overlay:navigate",(function(){t.destroyApp()})),Dribbble.EventBus.$on("shot-overlay:hide",(function(){t.destroyApp()})),Dribbble.EventBus.$on("shotLike:processing",(function(){t.setIsLikeProcessing(!0)})),Dribbble.EventBus.$on("shotLike:done",(function(e){var o=e.isLike;t.setIsLikeProcessing(!1),t.setIsLiked(o)})),Dribbble.EventBus.$on("shotCollection:done",(function(e){var o=e.isSaved;t.setIsSaved(o)})),Dribbble.EventBus.$on("shot-sidebar:show",(function(){t.openShotSidebar()})),Dribbble.EventBus.$on("shot-sidebar:hide",(function(){t.closeShotSidebar()}))},created:function(){if(this.setCurrentUser(),this.shotData.showSidebarFromServer){var t="small"!==this.$mq;this.shotData.showSidebarFromServer=t,this.shotData.showSidebar=t}this.setState(this.shotData)},beforeDestroy:function(){Dribbble.EventBus.$off("shot-overlay:navigate"),Dribbble.EventBus.$off("shot-overlay:hide"),Dribbble.EventBus.$off("shotLike:processing"),Dribbble.EventBus.$off("shotLike:done"),Dribbble.EventBus.$off("shotCollection:done"),Dribbble.EventBus.$off("shot-sidebar:show"),Dribbble.EventBus.$off("shot-sidebar:hide")},methods:pt(pt(pt({},Object(k.c)(["setState","setCurrentUser","openShotSidebar","closeShotSidebar"])),Object(k.e)(["resetState","setIsLiked","setIsLikeProcessing","setIsSaved"])),{},{destroyApp:function(){this.showSidebar&&document.body.classList.remove("shot-sidebar-open"),this.resetState(),this.$destroy()}})},gt=Object(m.a)(vt,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"shot-sidebar-app",attrs:{id:"shot-sidebar-app"}},["small"!==this.$mq?e("shot-actions-toolbar"):this._e(),this._v(" "),e("shot-sidebar")],1)}),[],!1,null,null,null).exports;function wt(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function yt(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?wt(Object(o),!0).forEach((function(e){Ct(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):wt(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Ct(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var Ot={name:"ShotActionsMobileApp",components:{ActionButtonComments:V,ActionButtonShare:G.a,ActionButtonBoost:K,ActionButtonBoosted:nt,BoostedHoverCard:ct,ActionButtonLike:J.a,ActionButtonCollection:Z.a,ActionButtonShotDetails:Y.a},props:{shotData:{type:Object,required:!0}},computed:yt(yt({},Object(k.f)(["showSidebar","commentsCount","commentsDisabled","boost","isOwnedByCurrentUser","isLiked","isSaved","isLikeProcessing"])),{},{canUserBoostShot:function(){return!this.boost.hasBoostedShots||this.boost.hasBoostedShots&&!["pending","approved","rejected"].includes(this.boost.status)}}),mounted:function(){var t=this;Dribbble.EventBus.$on("shot-overlay:navigate",(function(){t.destroyApp()})),Dribbble.EventBus.$on("shot-overlay:hide",(function(){t.destroyApp()}))},beforeDestroy:function(){Dribbble.EventBus.$off("shot-overlay:navigate"),Dribbble.EventBus.$off("shot-overlay:hide")},methods:{destroyApp:function(){this.$destroy()}}},St=Object(m.a)(Ot,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return"small"===t.$mq?o("div",{staticClass:"shot-actions-mobile-app",attrs:{id:"shot-actions-mobile-app"}},[o("div",{staticClass:"display-flex"},[o("action-button-collection",{attrs:{"is-saved":t.isSaved}}),t._v(" "),o("action-button-like",{attrs:{"is-liked":t.isLiked,"is-like-processing":t.isLikeProcessing}})],1),t._v(" "),o("div",{staticClass:"display-flex"},[o("action-button-share"),t._v(" "),o("action-button-comments",{attrs:{"comments-disabled":t.commentsDisabled,"comments-count":t.commentsCount}}),t._v(" "),o("action-button-shot-details"),t._v(" "),t.isOwnedByCurrentUser?o("div",{staticClass:"boost-buttons"},[t.canUserBoostShot?o("action-button-boost"):o("action-button-boosted",{directives:[{name:"tippy",rawName:"v-tippy",value:{html:"#shot-actions-toolbar-boosted",reactive:!0,interactive:!0,theme:"hover-card-dynamic-width",distance:16,delay:[200,null],placement:"bottom-end",maxWidth:"320px"},expression:"{\n          html: '#shot-actions-toolbar-boosted',\n          reactive: true,\n          interactive: true,\n          theme: 'hover-card-dynamic-width',\n          distance: 16,\n          delay: [200, null],\n          placement: 'bottom-end',\n          maxWidth: '320px'\n        }"}]})],1):t._e(),t._v(" "),t.boost.canBoostShot?o("boosted-hover-card",{attrs:{id:"shot-actions-toolbar-boosted"}}):t._e()],1)]):t._e()}),[],!1,null,null,null).exports,kt=o(61),jt=o(414);function Dt(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function _t(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Dt(Object(o),!0).forEach((function(e){xt(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Dt(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function xt(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var Bt={name:"BoostCancellationModal",components:{Modal:kt.a,DribbbleLoader:jt.a},data:function(){return{isCancelBoostLoading:!1}},computed:_t({},Object(k.f)(["isBoostCancellationModalVisible","boost"])),methods:_t(_t({},Object(k.e)(["setIsBoostCancellationModalVisible"])),{},{onCloseModal:function(){this.setIsBoostCancellationModalVisible(!1)},onConfirmCancel:function(){var t=this;this.isCancelBoostLoading=!0,a.a.put("/client_app/screenshot_boosts/".concat(this.boost.id,"/cancel"),{},Object(r.axiosOptions)()).then((function(){window.location.reload()})).catch((function(){Dribbble.EventBus.$emit("siteNotifications:add",{title:"Sorry, there was a problem cancelling your boosted shot.",id:"cancel-boosted-shot-notification",isCloseable:!0,willAutoClose:!0,autoCloseDuration:5e3}),t.isCancelBoostLoading=!1}))}})},Pt=Object(m.a)(Bt,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("modal",{attrs:{id:"cancel-boost-confirmation-modal","show-modal":t.isBoostCancellationModalVisible,"max-width":"600px","should-close-on-esc":""},on:{"modal-close":t.onCloseModal}},[o("h4",[t._v("Are you sure you want to cancel this boost?")]),t._v(" "),o("div",{staticClass:"margin-t-16 font-body"},[t._v("\n    By cancelling this boost your shot will be taken out of the approval queue and you will not be charged. You can boost this shot again at anytime.\n  ")]),t._v(" "),o("div",{staticClass:"margin-t-24"},[o("button",{staticClass:"form-sub margin-r-8",on:{click:t.onCloseModal}},[t._v("\n      Nevermind\n    ")]),t._v(" "),o("button",{staticClass:"form-btn ",class:{loading:t.isCancelBoostLoading},on:{click:t.onConfirmCancel}},[t.isCancelBoostLoading?o("dribbble-loader"):o("div",[t._v("\n        Yes, I'm sure\n      ")])],1)])])}),[],!1,null,null,null).exports,At=o(151);function Et(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function Lt(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Et(Object(o),!0).forEach((function(e){Mt(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Et(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Mt(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var It={name:"ShotShareModal",components:{Modal:kt.a},props:{shotData:{type:Object,required:!0}},data:function(){return{shotUrl:window.location.href}},computed:Lt(Lt({},Object(k.f)(["showShareModal","featureShotUrl","shareUtms","shotId","shotUser"])),{},{clipboardShareUrl:function(){return Dribbble.Url.addParams(this.shotUrl,[["utm_source","Clipboard_".concat(this.shareUtms.source)],["utm_campaign",this.shareUtms.campaign],["utm_content",this.shareUtms.content],["utm_medium","Social_Share"]])}}),mounted:function(){this.setShareEvents()},methods:Lt(Lt({},Object(k.e)(["setShowShareModal"])),{},{onCloseModal:function(){this.setShowShareModal(!1)},onInputFocus:function(t){t.currentTarget.select()},setShareEvents:function(){new At.a({area:"Shot",trackShotShare:{shotId:this.shotId,shotUserId:this.shotUser.id,location:"shot_description"},selector:"body",body:"".concat(this.shotData.title," by ").concat(this.shotUser.name),bodies:{twitter:"".concat(this.shotData.title," by ").concat(this.shotUser.twitter_username?"@#".concat(this.shotUser.twitter_username):this.shotUser.name)},imageUrl:this.featureShotUrl,outlets:["pinterest","twitter","clipboard"],attach:{pinterest:".js-share-pinterest",twitter:".js-share-twitter",clipboard:".js-share-clipboard"},shareUrl:this.clipboardShareUrl,utm:{source:"Shot",campaign:this.shotUser.username,content:this.shotData.title},delegateEvents:!0})}})},Ut=Object(m.a)(It,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("modal",{staticClass:"shot-share-modal",attrs:{id:"shot-share-modal","show-modal":t.showShareModal,"max-width":"488px","with-sections-padding":!1,"should-close-on-esc":""},on:{"modal-close":t.onCloseModal}},[o("div",{staticClass:"shot-share-modal-header"},[o("div",{staticClass:"shot-share-image-placeholder"},[o("img",{staticClass:"shot-share-modal-image",attrs:{src:t.featureShotUrl,alt:"Shot image"}})])]),t._v(" "),o("div",{staticClass:"shot-share-modal-body"},[o("h3",{staticClass:"shot-share-modal-title"},[t._v("\n      Share this with your social Community\n    ")]),t._v(" "),o("div",{staticClass:"shot-share-modal-buttons"},[o("a",{staticClass:"share-button-round pinterest js-share-pinterest",attrs:{href:"#","data-share-source":"pinterest","data-share-campaign":"pinterest_shot",title:"Share on Pinterest"}},[o("svg",{class:"icon-24 fill-current",attrs:{"aria-labelledby":"simpleicons-pinterest-icon",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M12.017 0C5.396 0 .029 5.367.029 11.987c0 5.079 3.158 9.417 7.618 11.162-.105-.949-.199-2.403.041-3.439.219-.937 1.406-5.957 1.406-5.957s-.359-.72-.359-1.781c0-1.663.967-2.911 2.168-2.911 1.024 0 1.518.769 1.518 1.688 0 1.029-.653 2.567-.992 3.992-.285 1.193.6 2.165 1.775 2.165 2.128 0 3.768-2.245 3.768-5.487 0-2.861-2.063-4.869-5.008-4.869-3.41 0-5.409 2.562-5.409 5.199 0 1.033.394 2.143.889 2.741.099.12.112.225.085.345-.09.375-.293 1.199-.334 1.363-.053.225-.172.271-.401.165-1.495-.69-2.433-2.878-2.433-4.646 0-3.776 2.748-7.252 7.92-7.252 4.158 0 7.392 2.967 7.392 6.923 0 4.135-2.607 7.462-6.233 7.462-1.214 0-2.354-.629-2.758-1.379l-.749 2.848c-.269 1.045-1.004 2.352-1.498 3.146 1.123.345 2.306.535 3.55.535 6.607 0 11.985-5.365 11.985-11.987C23.97 5.39 18.592.026 11.985.026L12.017 0z"}})])]),t._v(" "),o("a",{staticClass:"share-button-round twitter js-share-twitter",attrs:{href:"#","data-share-source":"twitter","data-share-campaign":"twitter_shot",title:"Share on Twitter"}},[o("svg",{class:"icon-24 fill-current",attrs:{"aria-labelledby":"simpleicons-twitter-icon",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M23.954 4.569a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.691 8.094 4.066 6.13 1.64 3.161a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.061a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.937 4.937 0 004.604 3.417 9.868 9.868 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63a9.936 9.936 0 002.46-2.548l-.047-.02z"}})])])]),t._v(" "),o("div",{staticClass:"shot-share-modal-copy-action"},[o("label",{attrs:{for:"copy-url"}},[t._v("or copy link")]),t._v(" "),o("div",{staticClass:"shot-share-modal-copy-wrapper"},[o("input",{staticClass:"shot-share-modal-copy-input",attrs:{id:"copy-url",type:"text",readonly:""},domProps:{value:t.clipboardShareUrl},on:{focus:t.onInputFocus}}),t._v(" "),o("a",{staticClass:"shot-share-modal-copy-link js-share-clipboard",attrs:{href:"#"}},[t._v("\n          Copy\n        ")])])])])])}),[],!1,null,null,null).exports;function zt(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function Tt(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?zt(Object(o),!0).forEach((function(e){qt(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):zt(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function qt(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}var Ft={name:"ShotDetailsModal",components:{Modal:kt.a},computed:Tt({},Object(k.f)(["showShotDetailsModal","tags","viewsCount","likesCount","savesCount","postedOn","commentsCount","canCurrentUserRebound","reboundPath","shotId","showSidebar","shotHasRebounds"])),methods:Tt(Tt(Tt({},Object(k.c)(["openShotSidebar"])),Object(k.e)(["setShowShotDetailsModal"])),{},{closeDetailsModal:function(){this.setShowShotDetailsModal(!1)},onClickComments:function(){var t=this;this.closeDetailsModal(),this.showSidebar||setTimeout((function(){t.openShotSidebar()}),300)}})},Nt={name:"ShotModalsApp",components:{BoostCancellationModal:Pt,ShotShareModal:Ut,ShotDetailsModal:Object(m.a)(Ft,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("modal",{staticClass:"shot-details-modal",attrs:{id:"shot-details-modal","show-modal":t.showShotDetailsModal,"max-width":"488px","with-sections-padding":!1,"with-main-padding":"","should-close-on-esc":""},on:{"modal-close":t.closeDetailsModal}},[o("h3",[t._v("\n    Shot details\n  ")]),t._v(" "),o("div",{staticClass:"font-body-small margin-t-12 color-deep-blue-sea-light-20"},[t._v("\n    Posted "+t._s(t.postedOn)+"\n  ")]),t._v(" "),o("div",{staticClass:"margin-t-24 display-flex"},[o("div",[o("div",{staticClass:"font-sublabel"},[t._v("\n        Views\n      ")]),t._v(" "),o("div",{staticClass:"font-body-large margin-t-8"},[t._v("\n        "+t._s(t.viewsCount)+"\n      ")])]),t._v(" "),o("a",{staticClass:"link-deep-blue-sea margin-l-40",attrs:{href:"/shots/"+t.shotId+"/buckets"}},[o("div",{staticClass:"font-sublabel"},[t._v("\n        Saves\n      ")]),t._v(" "),o("div",{staticClass:"font-body-large margin-t-8"},[t._v("\n        "+t._s(t.savesCount)+"\n      ")])]),t._v(" "),o("a",{staticClass:"link-deep-blue-sea margin-l-40",attrs:{href:"/shots/"+t.shotId+"/fans"}},[o("div",{staticClass:"font-sublabel"},[t._v("\n        Likes\n      ")]),t._v(" "),o("div",{staticClass:"font-body-large margin-t-8"},[t._v("\n        "+t._s(t.likesCount)+"\n      ")])]),t._v(" "),o("a",{staticClass:"link-deep-blue-sea margin-l-40",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.onClickComments(e)}}},[o("div",{staticClass:"font-sublabel"},[t._v("\n        Comments\n      ")]),t._v(" "),o("div",{staticClass:"font-body-large margin-t-8"},[t._v("\n        "+t._s(t.commentsCount)+"\n      ")])])]),t._v(" "),t.tags.length?o("div",{staticClass:"margin-t-24"},[o("div",{staticClass:"font-sublabel"},[t._v("\n      Tags\n    ")]),t._v(" "),o("div",{staticClass:"margin-t-8 display-flex flex-wrap"},t._l(t.tags,(function(e){return o("a",{key:e,staticClass:"shot-tag",attrs:{href:"/tags/"+e}},[t._v("\n        "+t._s(e)+"\n      ")])})),0)]):t._e(),t._v(" "),t.shotHasRebounds||t.canCurrentUserRebound?[o("div",{staticClass:"divider"}),t._v(" "),o("div",{staticClass:"margin-t-24 font-label"},[t._v("\n      Community engagement\n    ")]),t._v(" "),o("div",{staticClass:"display-flex margin-t-16"},[t.shotHasRebounds?o("a",{staticClass:"form-btn margin-r-16",attrs:{href:"/shots/"+t.shotId+"/rebounds"}},[t._v("View rebounds")]):t._e(),t._v(" "),t.canCurrentUserRebound?o("a",{staticClass:"form-btn",attrs:{href:t.reboundPath}},[t._v("Rebound shot")]):t._e()])]:t._e()],2)}),[],!1,null,null,null).exports},props:{shotData:{type:Object,required:!0}},mounted:function(){var t=this;Dribbble.EventBus.$on("shot-overlay:navigate",(function(){t.destroyApp()})),Dribbble.EventBus.$on("shot-overlay:hide",(function(){t.destroyApp()}))},beforeDestroy:function(){Dribbble.EventBus.$off("shot-overlay:navigate"),Dribbble.EventBus.$off("shot-overlay:hide")},methods:{destroyApp:function(){this.$destroy()}}},Rt=Object(m.a)(Nt,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"shot-modals-app"}},[e("boost-cancellation-modal"),this._v(" "),e("shot-share-modal",{attrs:{"shot-data":this.shotData}}),this._v(" "),e("shot-details-modal")],1)}),[],!1,null,null,null).exports;n.default.use(C.a),n.default.use(s.a,{breakpoints:{small:920,medium:1200,large:1/0},defaultBreakpoint:"small"}),n.default.use(y.a),n.default.use(w),n.default.use(S.a);var $t={initialize:function(t){this.initApps(t)},initApps:function(t){this.shotSidebarApp=new n.default({el:"#shot-sidebar-app",name:"ShotSidebarAppMain",render:function(e){return e(gt,{props:{shotData:t}})},store:U}),this.shotActionsToolbarApp=new n.default({el:"#shot-actions-mobile-app",name:"ShotActionsMobileApp",render:function(e){return e(St,{props:{shotData:t}})},store:U}),this.shotModalsApp=new n.default({el:"#shot-modals-app",name:"ShotModalsApp",render:function(e){return e(Rt,{props:{shotData:t}})},store:U})}},Ht=o(254),Vt=(o(216),o(418)),Gt=o.n(Vt);function Yt(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function Zt(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?Yt(Object(o),!0).forEach((function(e){Jt(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):Yt(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function Jt(t,e,o){return e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function Qt(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}var Wt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,o,n;return e=t,n=[{key:"handleShotTags",value:function(){var t=document.querySelector(".js-shot-tags-expanding-wrapper"),e=document.querySelector(".js-shot-tags-container"),o=document.querySelector(".js-expand-tags-button");e&&e.clientHeight>86&&(t.classList.add("shot-tags-expanding-wrapper"),o.classList.add("expand-tags-button-visible")),o&&o.addEventListener("click",(function(){t.classList.add("shot-tags-wrapper-expanded"),o.classList.remove("expand-tags-button-visible")}))}},{key:"handleGoodCard",value:function(){var t=document.querySelector(".js-caret-down"),e=document.querySelector(".js-caret-up"),o=document.querySelector(".js-shot-container"),n=document.querySelector(".js-good-card-content-expanded"),s=document.querySelector(".js-good-card-content-collapsed");t&&t.addEventListener("click",(function(){o.classList.add("good-card-collapsed"),n.classList.add("hide"),s.classList.remove("hide")})),e&&e.addEventListener("click",(function(){o.classList.remove("good-card-collapsed"),s.classList.add("hide"),n.classList.remove("hide")}))}}],(o=[{key:"initialize",value:function(e){this.shotData=e,$t.initialize(this.shotData),this.similarShotSection=document.querySelector(".js-similar-work"),this.bindEventListeners(),t.handleShotTags(),t.handleGoodCard(),document.querySelectorAll(".js-actions-menu").forEach((function(t){new Ht.default(t).initialize()})),document.querySelector(".js-homespun-abs-unit")&&this.initializeHomespunAds(),Gt.a.polyfill()}},{key:"bindEventListeners",value:function(){this.similarShotSection&&this.similarShotSection.addEventListener("lazyincluded",this.onSimilarShotsLoaded.bind(this))}},{key:"initializeHomespunAds",value:function(){var t={impression_id:Dribbble.uuidv4(),placement:this.shotData.isFromModal?"Shot Modal":"Shot Page",provider:"Dribbble",unit_type:"Display"};Dribbble.Itly.adRequested(t);var e=[{id:"hotjar-ad-red-20210601",adLink:"https://www.hotjar.com/?utm_source=Dribbble&utm_medium=cpc&utm_campaign=HJ-DribbbleNative-Worldwide&utm_content=Image-logo-red-202103",imageUrl:"https://cdn.dribbble.com/uploads/20446/original/1dfe7c5658a77e90c9d5111d9f710b94.png?1614961363"},{id:"hotjar-ad-pink-20210601",adLink:"https://www.hotjar.com/?utm_source=Dribbble&utm_medium=cpc&utm_campaign=HJ-DribbbleNative-Worldwide&utm_content=Image-logo-pink-202103 ",imageUrl:"https://cdn.dribbble.com/uploads/20445/original/6f9d5a96c2f92310517e28983f96090e.png?1614961347"},{id:" hotjar-ad-purple-20210601",adLink:"https://www.hotjar.com/?utm_source=Dribbble&utm_medium=cpc&utm_campaign=HJ-DribbbleNative-Worldwide&utm_content=Image-logo-purple-202103 ",imageUrl:"https://cdn.dribbble.com/uploads/21795/original/972c0550f3889843617f75d2cf5a9d1c.png?1617721068"}],o=e[Math.floor(Math.random()*e.length)],n=document.querySelectorAll(".js-abs-link");document.querySelector(".js-abs-image").src=o.imageUrl,n.forEach((function(t){t.href=o.adLink})),document.querySelector(".js-homespun-abs-unit").classList.add("homespun-abs-unit-visible");var s={ad_id:o.id,ad_link:o.adLink,ad_link_type:"Custom URL",ad_text:document.querySelector(".js-abs-text").innerHTML,cta_text:document.querySelector(".js-cta-text").innerHTML,has_cta:!0};Dribbble.Itly.adServed(Zt(Zt({},t),s)),Dribbble.Itly.adImpressionViewed(Zt(Zt({},t),s)),n.forEach((function(e){e.addEventListener("click",(function(){Dribbble.Itly.adClicked(Zt(Zt({},t),s))}))}))}},{key:"onSimilarShotsLoaded",value:function(){this.shotData.shouldDisplayAds&&Dribbble.AdNetworks.Boost.load({context:"shot",placement:Dribbble.JsConfig.screenshot_boost.targetPlacements.similar_work,requestId:Dribbble.uuidv4()})}}])&&Qt(e.prototype,o),n&&Qt(e,n),t}();e.default=new Wt}}]);
  //# sourceMappingURL=58-6f90aeea60b40dbd4776.chunk.js.map